/* Base layout */
.hhf-form-app {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #111827;
  line-height: 1.65;
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
  background: transparent;
}

.hhf-form-app *,
.hhf-form-app *::before,
.hhf-form-app *::after {
  box-sizing: border-box;
}

.hhf-form-app h2,
.hhf-form-app h3,
.hhf-form-app h4 {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.75rem;
}

.hhf-form-app p {
  margin: 0 0 1rem;
}

.hhf-form-app ul,
.hhf-form-app ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

@media (min-width: 768px) {
  .hhf-form-app {
    padding: 2rem 1.5rem 3rem;
  }
}

.hhf-noscript {
  background: #fef3c7;
  border: 1px solid #facc15;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  color: #854d0e;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Stepper */
.hhf-stepper {
  margin-bottom: 1.5rem;
}

.hhf-stepper__list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
  counter-reset: hhf-step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hhf-stepper__list li {
  counter-increment: hhf-step;
  position: relative;
  flex: 1 1 160px;
  padding: 0.75rem 0.9rem 0.75rem 3rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px #bfdbfe;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.hhf-stepper__list li::before {
  content: counter(hhf-step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e3a8a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.15);
}

.hhf-stepper__list li.is-current {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.hhf-stepper__list li.is-current::before {
  background: #1d4ed8;
  color: #fff;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.35);
}

@media (max-width: 640px) {
  .hhf-stepper__list li {
    flex: 1 1 100%;
  }
}

/* Alert */
.hhf-alert {
  margin-bottom: 1.5rem;
  border-radius: 0.85rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.hhf-alert:empty {
  display: none;
}

.hhf-alert:not(:empty) {
  display: block;
}

.hhf-alert.is-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.hhf-alert.is-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.hhf-alert:not(.is-info):not(.is-error) {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

/* Panels */
.hhf-step-panels {
  display: grid;
  gap: 1.5rem;
}

.hhf-step-panel[hidden] {
  display: none !important;
}

.hhf-panel-root {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .hhf-panel-root {
    padding: 2rem 2.25rem;
    gap: 1.5rem;
  }
}

.hhf-panel-root h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.hhf-step1-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hhf-service-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.hhf-service-tabs > * {
  width: 100%;
}

@media (min-width: 768px) {
  .hhf-service-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hhf-service-tab {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid #c7d2fe;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hhf-service-tab:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.18);
}

.hhf-service-tab.is-active,
.hhf-service-tab[aria-selected="true"],
.hhf-service-tab[aria-pressed="true"] {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

.hhf-service-tab:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.45);
  outline-offset: 2px;
}

.hhf-service-tab[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.hhf-service-groups {
  display: grid;
  gap: 1.5rem;
}

.hhf-service-group {
  display: grid;
  gap: 0.75rem;
}

.hhf-service-group[hidden] {
  display: none !important;
}

.hhf-service-group > h3 {
  margin: 0 0 0.35rem;
}

.hhf-service-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.hhf-service-options {
  border-top: 1px dashed #d1d5db;
  padding-top: 0.75rem;
  display: grid;
  gap: 0.75rem;
}

.hhf-service-options[hidden] {
  display: none !important;
}

.hhf-service-options__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.hhf-service-options__list {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .hhf-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Service & option cards */
.hhf-service-card,
.hhf-option-card {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  background: #f9fafb;
  display: grid;
  gap: 0.55rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hhf-service-card:hover,
.hhf-option-card:hover {
  background: #ffffff;
  border-color: #c7d2fe;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15);
}

.hhf-option-card.is-active {
  border-color: #93c5fd;
  background: #f8fbff;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.18);
}

.hhf-option-card:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.hhf-service-name,
.hhf-option-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.hhf-option-card .hhf-option-name {
  margin: 0;
}

.hhf-service-meta,
.hhf-option-meta {
  font-size: 0.9rem;
  color: #4b5563;
}

.hhf-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hhf-option-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
}

.hhf-option-toggle input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #2563eb;
  flex-shrink: 0;
}

.hhf-option-toggle input[type="checkbox"]:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.hhf-option-toggle label {
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

.hhf-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #1f2937;
  flex-wrap: nowrap;
}

.hhf-option-card .hhf-qty-control {
  margin-left: auto;
  flex: 0 0 auto;
}

.hhf-option-card .hhf-option-qty-control.is-disabled {
  opacity: 0.75;
}

@media (max-width: 640px) {
  .hhf-option-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .hhf-option-card .hhf-option-qty-control {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
  }
}

.hhf-qty-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b5563;
  margin-right: 0.35rem;
}

.hhf-option-card .hhf-qty-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hhf-qty-btn {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #1f2937;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.hhf-qty-btn:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
}

.hhf-qty-btn:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.hhf-qty-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background: #f3f4f6;
  color: #9ca3af;
  border-color: #e5e7eb;
}

.hhf-qty-control input[type="number"] {
  width: 4.5rem;
  min-width: 4rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  padding: 0.45rem 0.65rem;
  background: #fff;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hhf-qty-control input[type="number"]:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.hhf-qty-control.is-disabled input[type="number"] {
  background: #f3f4f6;
  color: #9ca3af;
}

.hhf-standalone-options {
  display: grid;
  gap: 0.75rem;
}

.hhf-standalone-options > h3 {
  margin: 0;
  font-size: 1.05rem;
}

.hhf-service-desc,
.hhf-option-desc {
  font-size: 0.9rem;
  color: #374151;
  background: #f8fafc;
  border-left: 4px solid #dbeafe;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
}

/* Inputs */
.hhf-form-app input[type="text"],
.hhf-form-app input[type="email"],
.hhf-form-app input[type="tel"],
.hhf-form-app input[type="number"],
.hhf-form-app input[type="password"],
.hhf-form-app select,
.hhf-form-app textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hhf-form-app input[type="text"]:focus,
.hhf-form-app input[type="email"]:focus,
.hhf-form-app input[type="tel"]:focus,
.hhf-form-app input[type="number"]:focus,
.hhf-form-app input[type="password"]:focus,
.hhf-form-app select:focus,
.hhf-form-app textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.hhf-form-app textarea {
  min-height: 140px;
  resize: vertical;
}

.hhf-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* STEP2é¡§å®¢æƒE ±ã‚³ãƒ³ãƒEƒŠEˆãƒ¬ã‚¹ãƒãƒ³ã‚·ãƒ–ã‚°ãƒªãƒEƒ‰EE*/
.hhf-step2-customer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

/* åˆE‰²æ•°ãŒè¤E•°ã®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ãEå°ç”»é¢ã§ã¯æ¨ªå¹E„ã£ã±ãE«é…ç½®ã™ã‚‹ */
@media (max-width: 767px) {
  .hhf-step2-customer-grid .hhf-field[data-split]:not([data-split="1"]) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  .hhf-step2-customer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hhf-field label {
  font-weight: 600;
  color: #1f2937;
}

.hhf-field-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hhf-field-group input,
.hhf-field-group select,
.hhf-field-group textarea {
  flex: 1 1 220px;
  min-width: min(220px, 100%);
}

.hhf-field[data-split] .hhf-field-group {
  display: grid;
  gap: 0.6rem;
}

.hhf-field[data-split="2"] .hhf-field-group {
  grid-template-columns: repeat(2, minmax(90px, 1fr));
}

.hhf-field[data-split="3"] .hhf-field-group {
  grid-template-columns: repeat(3, minmax(72px, 1fr));
}

.hhf-field[data-split="4"] .hhf-field-group {
  grid-template-columns: repeat(4, minmax(64px, 1fr));
}

@media (max-width: 480px) {
  .hhf-field[data-split="4"] .hhf-field-group {
    grid-template-columns: repeat(2, minmax(72px, 1fr));
  }
}

.hhf-field[data-split] .hhf-field-group input,
.hhf-field[data-split] .hhf-field-group select,
.hhf-field[data-split] .hhf-field-group textarea {
  flex: initial;
  min-width: 0;
}

.hhf-field[data-split] .hhf-field-group input {
  text-align: center;
}

.hhf-field.has-error label,
.hhf-field.has-error p {
  color: #b91c1c;
}

.hhf-field.has-error input,
.hhf-field.has-error textarea,
.hhf-field.has-error select {
  border-color: #f87171;
  background: #fef2f2;
}

.hhf-field-error {
  margin: -0.25rem 0 0;
  font-size: 0.9rem;
  color: #b91c1c;
}

/* Coupon & totals */
.hhf-coupon-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 0.9rem;
  border: 1px dashed #cbd5f5;
  background: #f5f7ff;
}

.hhf-coupon-wrap label {
  font-weight: 600;
  color: #1f2937;
}

.hhf-totals-box {
  display: grid;
  gap: 0.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.hhf-totals-box .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #374151;
  font-size: 0.95rem;
}

.hhf-totals-box .row strong {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}

.hhf-totals-box .row.total {
  font-size: 1.05rem;
}

/* å‰²å¼•ã‚µãƒžãƒªãƒ¼ */
.hhf-discount-summary {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.hhf-discount-summary h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: #111827;
}

.hhf-discount-summary__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hhf-discount-summary__item {
  padding: 0.75rem 0;
  border-top: 1px solid #e5e7eb;
}

.hhf-discount-summary__item:first-child {
  border-top: none;
}

.hhf-discount-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.hhf-discount-summary__label {
  font-weight: 600;
  color: #1f2937;
  flex: 1;
}

.hhf-discount-summary__amount {
  font-weight: 600;
  color: #b91c1c;
  white-space: nowrap;
}

.hhf-discount-summary__item.is-coupon .hhf-discount-summary__amount {
  color: #c2410c;
}

.hhf-discount-summary__detail {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.5;
}

.hhf-discount-summary__empty {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.hhf-discount-summary[data-has-items="true"] .hhf-discount-summary__empty {
  display: none;
}

/* Notes */
.hhf-note {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

/* Buttons */
.hhf-btn-primary,
.hhf-step-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  /* äºŒé‡è¡ŒãEã‚¿ãƒ³ã§ã‚‚é«˜ã•ã‚’æƒãˆã‚‹ãŸã‚æœ€å°é«˜ã•ã‚’åEé€šåŒ– */
  min-height: 2.8rem;
  box-sizing: border-box;
  border-radius: 999px;
  border: none;
  background-color: #2563eb;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.hhf-btn-primary--compact {
  padding: 0.45rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.25;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.hhf-btn-primary:hover:not(:disabled),
.hhf-step-next:hover:not(:disabled) {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

.hhf-btn-primary:focus-visible,
.hhf-step-next:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.4);
  outline-offset: 2px;
}

.hhf-btn-primary:disabled,
.hhf-btn-primary[disabled],
.hhf-step-next:disabled,
.hhf-step-next[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.hhf-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: calc(0.7rem - 1px) 1.6rem;
  min-height: 2.8rem;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid #c7d2fe;
  background: #ffffff;
  color: #1d4ed8;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 767px) {
  .hhf-btn-primary,
  .hhf-step-next {
    /* ãƒ¢ãƒã‚¤ãƒ«ã§ãƒE‚­ã‚¹ãƒˆé«˜ã•ã®ç´Eå€ã«ãªã‚‹ã‚ˆãE«ä½™ç™½ã¨è¡ŒãEé«˜ã•ã‚’èª¿æ•´ */
    padding: 0.6rem 1.6rem;
    min-height: 2.6rem;
    line-height: 1.25;
  }

  .hhf-btn-secondary {
    padding: calc(0.6rem - 1px) 1.6rem;
    min-height: 2.6rem;
    line-height: 1.25;
  }

  .hhf-btn-primary--compact {
    padding: 0.45rem 1rem;
    font-size: 0.88rem;
  }
}

.hhf-btn-secondary:hover:not(:disabled) {
  background: #eff6ff;
  border-color: #93c5fd;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.18);
}

.hhf-btn-secondary:focus-visible {
  outline: 3px solid rgba(147, 197, 253, 0.6);
  outline-offset: 2px;
}

.hhf-btn-secondary:disabled,
.hhf-btn-secondary[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.hhf-step-footer {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.6rem;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 0.5rem;
}

.hhf-step-footer > * {
  flex: 1 1 0;
  min-width: 0;
}

/* Step 2 payment */
.hhf-payment-wrap {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hhf-payment-wrap > p {
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.hhf-payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.hhf-payment-option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #d1d5db;
  border-radius: 0.85rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hhf-payment-option:hover {
  border-color: #93c5fd;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.18);
}

.hhf-payment-option input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: #2563eb;
}

.hhf-payment-option input[type="radio"]:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.45);
  outline-offset: 3px;
}

.hhf-payment-option input[type="radio"]:checked + span {
  font-weight: 700;
  color: #1d4ed8;
}

/* Step 3 schedule */
.hhf-week-controls {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hhf-week-controls button {
  appearance: none;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2937;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hhf-week-controls button:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.hhf-week-controls button:focus-visible {
  outline: 2px solid rgba(147, 197, 253, 0.8);
  outline-offset: 2px;
}

.hhf-grid-wrap {
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.03);
}

.hhf-slot-toggle {
  display: flex;
  justify-content: flex-start;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.hhf-slot-toggle--bottom {
  border-bottom: 0;
  border-top: 1px solid #e5e7eb;
}

.hhf-slot-toggle__btn {
  appearance: none;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2937;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hhf-slot-toggle__btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.hhf-slot-toggle__btn:focus-visible {
  outline: 2px solid rgba(147, 197, 253, 0.8);
  outline-offset: 2px;
}

.hhf-slot-toggle__btn.is-active {
  background: #bfdbfe;
  border-color: #60a5fa;
  color: #1d4ed8;
}

.hhf-slot-grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 0;
  table-layout: fixed;
}

.hhf-slot-grid th,
.hhf-slot-grid td {
  border: 1px solid #e5e7eb;
  padding: 0.6rem;
  text-align: center;
  font-size: 0.95rem;
}

.hhf-slot-grid thead th {
  background: #f8fafc;
  font-weight: 700;
  color: #1f2937;
}

.hhf-slot-grid thead th.is-holiday {
  color: #b91c1c;
  background: #fef2f2;
}

.hhf-slot-grid td.is-open {
  cursor: pointer;
  background: #ecfdf5;
  color: #047857;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hhf-slot-grid td.is-open:hover {
  background: #d1fae5;
}

.hhf-slot-grid td.is-selected {
  background: #bfdbfe;
  color: #1d4ed8;
}

.hhf-slot-grid td.is-after-hours::after {
  content: attr(data-after-hours-label);
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.7rem;
  font-weight: 700;
}

.hhf-slot-grid td.is-closed {
  background: #f9fafb;
  color: #9ca3af;
}

.hhf-slot-grid td.is-closed.is-blocked {
  color: #b91c1c;
  font-weight: 700;
}

@media (max-width: 767px) {
  .hhf-grid-wrap {
    border-radius: 0.75rem;
  }

  .hhf-slot-grid th,
  .hhf-slot-grid td {
    padding: 0.45rem;
    font-size: 0.85rem;
  }

  .hhf-slot-grid td.is-open {
    font-weight: 600;
  }
}

.hhf-selected-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #f9fafb;
  padding: 1rem 1.25rem;
}

.hhf-selected-wrap h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.hhf-selected-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.hhf-selected-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #1f2937;
}

.hhf-selected-list button {
  appearance: none;
  border: 1px solid #fecaca;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hhf-selected-list button:hover {
  background: #fecaca;
  border-color: #f87171;
}

.hhf-selected-list button:focus-visible {
  outline: 2px solid rgba(248, 113, 113, 0.65);
  outline-offset: 2px;
}

.hhf-modal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
}

.hhf-modal {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(30, 64, 175, 0.45);
  max-width: 420px;
  width: 100%;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.hhf-modal__message {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 600;
  color: #1f2937;
}

.hhf-modal__note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
}

.hhf-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.hhf-terms-wrap {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hhf-terms-content {
  border: 1px solid #d1d5db;
  border-radius: 0.85rem;
  padding: 1rem;
  background: #fff;
  max-height: 240px;
  overflow-y: auto;
  color: #1f2937;
}

.hhf-terms-wrap label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #1f2937;
}

.hhf-terms-wrap input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #2563eb;
}

/* Step 4 summary */
.hhf-summary-block {
  display: grid;
  gap: 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.hhf-summary-block--customer {
  gap: 1.5rem;
}

.hhf-customer-summary {
  margin: 0;
  display: grid;
  gap: 0.75rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hhf-customer-summary__row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  background: #f9fafb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hhf-customer-summary__row dt {
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.hhf-customer-summary__row dd {
  margin: 0;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.6;
  word-break: break-word;
}

.hhf-service-summary {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hhf-service-summary {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.hhf-service-summary__item {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.95rem;
  background: #f9fafb;
}

.hhf-service-summary__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
}

.hhf-service-summary__name {
  flex: 1 1 auto;
  font-weight: 700;
  color: #111827;
}

.hhf-service-summary__qty {
  font-weight: 600;
  color: #2563eb;
}

.hhf-service-summary__amount {
  font-weight: 700;
  color: #111827;
  margin-left: auto;
}

.hhf-service-summary__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.9rem;
  color: #374151;
}

.hhf-service-summary__duration {
  font-weight: 500;
}

.hhf-option-summary {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.hhf-option-summary__item {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  background: #ffffff;
}

.hhf-option-summary__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.hhf-option-summary__name {
  font-weight: 600;
  color: #1f2937;
  flex: 1 1 auto;
}

.hhf-option-summary__qty {
  font-weight: 600;
  color: #2563eb;
}

.hhf-option-summary__amount {
  font-weight: 700;
  color: #111827;
}

.hhf-option-summary__meta {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #4b5563;
}

.hhf-service-summary__global {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}

.hhf-service-summary__subheading {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: #1f2937;
  font-weight: 700;
}

.hhf-option-summary--global .hhf-option-summary__item {
  background: #f3f4f6;
}

.hhf-duration-total {
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: 0.9rem;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  font-weight: 700;
  color: #1d4ed8;
  text-align: center;
}

.hhf-summary-block h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.hhf-summary-block ul,
.hhf-summary-block ol {
  margin: 0;
  padding-left: 1.35rem;
  color: #1f2937;
  line-height: 1.6;
}

.hhf-summary-block li + li {
  margin-top: 0.25rem;
}

.hhf-range-wrap {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 0.9rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: #1e3a8a;
}

/* å¸Œæœ›æ—¥æ™‚ã”ã¨ã®æ¦‚ç®—è¡¨ç¤º */
.hhf-wish-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.hhf-wish-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  background: #f9fafb;
}

.hhf-wish-slot {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 180px;
}

.hhf-wish-rank {
  font-weight: 700;
  color: #1d4ed8;
  font-size: 0.95rem;
}

.hhf-wish-datetime {
  font-weight: 600;
  color: #111827;
}

.hhf-wish-detail {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-width: 220px;
}

.hhf-wish-amount {
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.hhf-wish-amount span {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.95rem;
}

.hhf-wish-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  color: #374151;
  font-size: 0.9rem;
}

.hhf-wish-factor {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #eef2ff;
  line-height: 1.4;
}

.hhf-wish-factor.is-base {
  background: #e0f2fe;
  color: #075985;
}

.hhf-wish-factor.is-minus {
  background: #fef2f2;
  color: #b91c1c;
}

.hhf-wish-factor.is-plus {
  background: #ecfdf5;
  color: #047857;
}

.hhf-wish-factor.is-after-hours {
  background: #fef3c7;
  color: #92400e;
}

@media (max-width: 640px) {
  .hhf-wish-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .hhf-wish-slot,
  .hhf-wish-detail {
    width: 100%;
    min-width: 0;
  }

  .hhf-wish-amount {
    font-size: 1.05rem;
  }
}

/* Step 5 */
.hhf-complete-message {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0c4a6e;
  box-shadow: 0 15px 30px rgba(12, 74, 110, 0.2);
}

.hhf-complete-message h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.hhf-complete-summary {
  margin-top: 1.5rem;
  text-align: center;
  display: inline-block;
  padding: 1.25rem 1.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.hhf-complete-summary h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

/* Utility */
.hhf-panel-root a {
  color: #2563eb;
  text-decoration: underline;
}

.hhf-panel-root a:hover {
  color: #1d4ed8;
}

@media (max-width: 599px) {
  .hhf-service-card,
  .hhf-option-card {
    padding: 0.9rem 1rem;
  }

  .hhf-step-footer {
    justify-content: center;
    gap: 0.5rem;
  }

  .hhf-step-footer > * {
    flex: 1 1 0;
  }
}

/* ãƒ¢ãƒã‚¤ãƒ«ã§ã®ãƒœã‚¿ãƒ³ã‚¿ãƒEEé ˜åŸŸã¨è¦–è¦šãƒãƒ©ãƒ³ã‚¹ã‚’æœ€é©åŒE*/
@media (max-width: 600px) {
  .hhf-week-controls button {
    padding: 0.4rem 0.85rem;
    line-height: 1.25;
    border-radius: 0.75rem;
    box-shadow: none;
  }

  .hhf-selected-list button {
    padding: 0.4rem 0.85rem;
    line-height: 1.25;
    border-radius: 0.7rem;
    box-shadow: none;
  }
}

/* Base layout */
.hhf-form-app {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #111827;
  line-height: 1.65;
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
  background: transparent;
}

.hhf-form-app *,
.hhf-form-app *::before,
.hhf-form-app *::after {
  box-sizing: border-box;
}

.hhf-form-app h2,
.hhf-form-app h3,
.hhf-form-app h4 {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.75rem;
}

.hhf-form-app p {
  margin: 0 0 1rem;
}

.hhf-form-app ul,
.hhf-form-app ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

@media (min-width: 768px) {
  .hhf-form-app {
    padding: 2rem 1.5rem 3rem;
  }
}

.hhf-noscript {
  background: #fef3c7;
  border: 1px solid #facc15;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  color: #854d0e;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Stepper */
.hhf-stepper {
  margin-bottom: 1.5rem;
}

.hhf-stepper__list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
  counter-reset: hhf-step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hhf-stepper__list li {
  counter-increment: hhf-step;
  position: relative;
  flex: 1 1 160px;
  padding: 0.75rem 0.9rem 0.75rem 3rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px #bfdbfe;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.hhf-stepper__list li::before {
  content: counter(hhf-step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e3a8a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.15);
}

.hhf-stepper__list li.is-current {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.hhf-stepper__list li.is-current::before {
  background: #1d4ed8;
  color: #fff;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.35);
}

@media (max-width: 640px) {
  .hhf-stepper__list li {
    flex: 1 1 100%;
  }
}

/* Alert */
.hhf-alert {
  margin-bottom: 1.5rem;
  border-radius: 0.85rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.hhf-alert:empty {
  display: none;
}

.hhf-alert:not(:empty) {
  display: block;
}

.hhf-alert.is-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.hhf-alert.is-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.hhf-alert:not(.is-info):not(.is-error) {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

/* Panels */
.hhf-step-panels {
  display: grid;
  gap: 1.5rem;
}

.hhf-step-panel[hidden] {
  display: none !important;
}

.hhf-panel-root {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .hhf-panel-root {
    padding: 2rem 2.25rem;
    gap: 1.5rem;
  }
}

.hhf-panel-root h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.hhf-step1-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Legacy / asset-driven Step 1 shell */
#hhf-step1 {
  display: grid;
  gap: 1.5rem;
}

#hhf-step1 h3,
#hhf-step1 h4 {
  margin: 0;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.4;
}

#hhf-step1 p {
  margin: 0;
}

#hhf-step1 [hidden] {
  display: none !important;
}

#hhf-step1 :is(.hhf-tablist, .hhf-tabs, .hhf-step1-tabs, .hhf-category-tabs, [role="tablist"]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#hhf-step1 :is(.hhf-tablist, .hhf-tabs, .hhf-step1-tabs, .hhf-category-tabs, [role="tablist"]) > * {
  list-style: none;
}

@media (min-width: 768px) {
  #hhf-step1 :is(.hhf-tablist, .hhf-tabs, .hhf-step1-tabs, .hhf-category-tabs, [role="tablist"]) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#hhf-step1 .hhf-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid #c7d2fe;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#hhf-step1 .hhf-tab:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.18);
}

#hhf-step1 .hhf-tab.is-active,
#hhf-step1 .hhf-tab[aria-selected="true"] {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

#hhf-step1 .hhf-tab:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.45);
  outline-offset: 2px;
}

#hhf-step1 .hhf-tab[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

#hhf-step1 :is(.hhf-cat-block, .hhf-opt-block) {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  #hhf-step1 .hhf-cat-block {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#hhf-step1 .hhf-cat-block + .hhf-cat-block {
  margin-top: 0.5rem;
}

/* Service cards (inline + legacy) */
.hhf-service-card,
#hhf-step1 .hhf-card.hhf-svc {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  background: #f9fafb;
  display: grid;
  gap: 0.55rem;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hhf-service-card:hover,
#hhf-step1 .hhf-card.hhf-svc:hover {
  background: #ffffff;
  border-color: #c7d2fe;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15);
}

/* Option rows/cards */
.hhf-option-card,
#hhf-step1 .hhf-opt {
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  display: grid;
  gap: 0.6rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hhf-option-card:hover,
#hhf-step1 .hhf-opt:hover {
  background: #ffffff;
  border-color: #c7d2fe;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.14);
}

.hhf-service-name,
.hhf-option-name,
#hhf-step1 .hhf-svc-name,
#hhf-step1 .hhf-opt-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.hhf-service-meta,
.hhf-option-meta,
#hhf-step1 .hhf-svc-unit,
#hhf-step1 .hhf-opt-meta,
#hhf-step1 .hhf-opt-price {
  font-size: 0.9rem;
  color: #4b5563;
}

.hhf-qty-control,
#hhf-step1 .hhf-svc-qty,
#hhf-step1 .hhf-opt-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #1f2937;
}

#hhf-step1 .hhf-svc-qty {
  justify-content: space-between;
  width: 100%;
}

.hhf-qty-control input[type="number"],
#hhf-step1 .hhf-qty,
#hhf-step1 .hhf-opt-qty-input {
  width: 5.5rem;
  min-width: 4.5rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  padding: 0.45rem 0.65rem;
  background: #fff;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hhf-qty-control input[type="number"]:focus,
#hhf-step1 .hhf-qty:focus,
#hhf-step1 .hhf-opt-qty-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

#hhf-step1 .hhf-opt-qty-input[disabled] {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

#hhf-step1 .qty-inc,
#hhf-step1 .qty-dec,
#hhf-step1 .opt-inc,
#hhf-step1 .opt-dec {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid #c7d2fe;
  background: #ffffff;
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#hhf-step1 .qty-inc:hover,
#hhf-step1 .qty-dec:hover,
#hhf-step1 .opt-inc:hover,
#hhf-step1 .opt-dec:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.18);
  transform: translateY(-1px);
}

#hhf-step1 .qty-inc:focus-visible,
#hhf-step1 .qty-dec:focus-visible,
#hhf-step1 .opt-inc:focus-visible,
#hhf-step1 .opt-dec:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.45);
  outline-offset: 2px;
}

#hhf-step1 .qty-inc[disabled],
#hhf-step1 .qty-dec[disabled],
#hhf-step1 .opt-inc[disabled],
#hhf-step1 .opt-dec[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

#hhf-step1 .hhf-opt {
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

#hhf-step1 .hhf-opt + .hhf-opt {
  margin-top: 0.75rem;
}

#hhf-step1 .hhf-opt > *:nth-child(2) {
  display: grid;
  gap: 0.25rem;
}

#hhf-step1 .hhf-opt-check {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #2563eb;
  cursor: pointer;
}

#hhf-step1 .hhf-opt-check:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.45);
  outline-offset: 2px;
}

#hhf-opt-wrapper {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #f8fafc;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

#hhf-opt-wrapper > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#hhf-opt-wrapper > summary::-webkit-details-marker {
  display: none;
}

#hhf-opt-wrapper > summary::marker {
  display: none;
}

#hhf-opt-wrapper[open] > summary {
  color: #1d4ed8;
}

#hhf-opt-wrapper :is(.hhf-opt-list, .hhf-opt-block, .hhf-opt-group) {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.75rem;
}

/* Inputs */
.hhf-form-app input[type="text"],
.hhf-form-app input[type="email"],
.hhf-form-app input[type="tel"],
.hhf-form-app input[type="number"],
.hhf-form-app input[type="password"],
.hhf-form-app select,
.hhf-form-app textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hhf-form-app input[type="text"]:focus,
.hhf-form-app input[type="email"]:focus,
.hhf-form-app input[type="tel"]:focus,
.hhf-form-app input[type="number"]:focus,
.hhf-form-app input[type="password"]:focus,
.hhf-form-app select:focus,
.hhf-form-app textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.hhf-form-app textarea {
  min-height: 140px;
  resize: vertical;
}

.hhf-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hhf-field label {
  font-weight: 600;
  color: #1f2937;
}

.hhf-field-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hhf-field-group input,
.hhf-field-group select,
.hhf-field-group textarea {
  flex: 1 1 220px;
  min-width: min(220px, 100%);
}

.hhf-field.has-error label,
.hhf-field.has-error p {
  color: #b91c1c;
}

.hhf-field.has-error input,
.hhf-field.has-error textarea,
.hhf-field.has-error select {
  border-color: #f87171;
  background: #fef2f2;
}

.hhf-field-error {
  margin: -0.25rem 0 0;
  font-size: 0.9rem;
  color: #b91c1c;
}

/* Coupon & totals */
.hhf-coupon-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 0.9rem;
  border: 1px dashed #cbd5f5;
  background: #f5f7ff;
}

.hhf-coupon-wrap label {
  font-weight: 600;
  color: #1f2937;
}

#hhf-step1 .hhf-coupon-wrap {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  #hhf-step1 .hhf-coupon-wrap {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  #hhf-step1 .hhf-coupon-wrap label {
    margin: 0;
  }
}

#hhf-step1 #hhf-coupon-code {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #111827;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#hhf-step1 #hhf-coupon-code:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

#hhf-step1 #hhf-coupon-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  border: 1px solid #2563eb;
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.2);
}

#hhf-step1 #hhf-coupon-apply:hover:not([disabled]) {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
}

#hhf-step1 #hhf-coupon-apply:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}

#hhf-step1 #hhf-coupon-apply[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

#hhf-step1 #hhf-coupon-msg {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1d4ed8;
}

#hhf-step1 #hhf-coupon-msg.is-success,
#hhf-step1 #hhf-coupon-msg[data-state="success"] {
  color: #047857;
}

#hhf-step1 #hhf-coupon-msg.is-error,
#hhf-step1 #hhf-coupon-msg[data-state="error"] {
  color: #b91c1c;
}

#hhf-step1 #hhf-applied-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #1f2937;
}

#hhf-step1 #hhf-applied-list li {
  position: relative;
  padding-left: 1.1rem;
}

#hhf-step1 #hhf-applied-list li::before {
  content: 'â€¢';
  position: absolute;
  left: 0;
  top: 0;
  color: #2563eb;
  font-size: 1.1rem;
  line-height: 1;
}

#hhf-duration-note {
  margin: 0;
  padding: 0.6rem 0.85rem;
  border-radius: 0.85rem;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
  font-size: 0.9rem;
}

#hhf-duration-note.is-error {
  background: #fee2e2;
  color: #b91c1c;
}

#hhf-step1 :is(#hhf-subtotal, #hhf-discount, #hhf-coupon, #hhf-tax, #hhf-total) {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  text-align: right;
}

#hhf-step1 #hhf-total {
  font-size: 1.15rem;
  color: #1d4ed8;
}

#hhf-step1-fallback {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hhf-totals-box {
  display: grid;
  gap: 0.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.hhf-totals-box .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #374151;
  font-size: 0.95rem;
}

.hhf-totals-box .row strong {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}

.hhf-totals-box .row.total {
  font-size: 1.05rem;
}

/* Step 2 payment */
.hhf-payment-wrap {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hhf-payment-wrap > p {
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.hhf-payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.hhf-payment-option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #d1d5db;
  border-radius: 0.85rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hhf-payment-option:hover {
  border-color: #93c5fd;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.18);
}

.hhf-payment-option input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: #2563eb;
}

.hhf-payment-option input[type="radio"]:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.45);
  outline-offset: 3px;
}

.hhf-payment-option input[type="radio"]:checked + span {
  font-weight: 700;
  color: #1d4ed8;
}

/* Step 3 schedule */
.hhf-week-controls {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hhf-week-controls button {
  appearance: none;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2937;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hhf-week-controls button:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.hhf-week-controls button:focus-visible {
  outline: 2px solid rgba(147, 197, 253, 0.8);
  outline-offset: 2px;
}

.hhf-grid-wrap {
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.03);
  padding: 0.75rem;
}

.hhf-grid-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

/* ãƒ¢ãƒã‚¤ãƒ«å°‚ç”¨ã®3æ—¥ã‚¹ãƒ©ã‚¤ãƒ‰ãƒŠãƒ“ã‚²ãƒ¼ã‚·ãƒ§ãƒ³ */
.hhf-slot-view-nav {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.hhf-slot-view-nav__btn {
  appearance: none;
  flex: 1 1 auto;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #f1f5f9;
  color: #1f2937;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hhf-slot-view-nav__btn:hover:not(:disabled) {
  background: #e2e8f0;
  border-color: #94a3b8;
}

.hhf-slot-view-nav__btn:focus-visible {
  outline: 2px solid rgba(148, 163, 184, 0.8);
  outline-offset: 2px;
}

.hhf-slot-view-nav__btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 640px) {
  .hhf-slot-view-nav {
    display: flex;
  }
}

.hhf-slot-range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.hhf-slot-range__btn {
  appearance: none;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #f1f5f9;
  color: #1f2937;
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hhf-slot-range__btn:hover:not(:disabled) {
  background: #e2e8f0;
  border-color: #94a3b8;
}

.hhf-slot-range__btn:disabled,
.hhf-slot-range__btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}

.hhf-week-range {
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f172a;
  white-space: nowrap;
}

.hhf-slot-grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 0;
  table-layout: fixed;
}

.hhf-slot-grid th,
.hhf-slot-grid td {
  border: 1px solid #e5e7eb;
  padding: 0.6rem;
  text-align: center;
  font-size: 0.95rem;
}

.hhf-slot-grid thead th {
  background: #f8fafc;
  font-weight: 700;
  color: #1f2937;
}

.hhf-slot-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  white-space: nowrap;
}

/* å¤œé–“æž ãŒã‚ã‚‹æ—¥ä»˜ãEãƒEƒ€ãƒ¼ç”¨ã®å¼·èª¿ã¨ãƒãƒƒã‚¸ã€ã‚¢ã‚¯ã‚»ã‚·ãƒ“ãƒªãƒE‚£å¯¾å¿E*/
.hhf-slot-grid thead th[data-has-after-hours="true"]:not(.is-holiday) {
  background: #fff7ed;
  border-color: #fbbf24;
}

.hhf-slot-head--after-hours[data-late-surcharge="true"] .hhf-slot-weekday:not(.is-holiday) {
  color: #92400e;
}

.hhf-slot-head__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.1rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.7rem;
  font-weight: 700;
}

.hhf-slot-head__badge-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.hhf-slot-head__badge-text {
  line-height: 1;
}

.hhf-slot-head--interactive {
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hhf-slot-head--interactive:hover {
  box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.55) inset;
}

.hhf-slot-head--interactive[data-late-visible="true"] .hhf-slot-head__badge {
  background: #dbeafe;
  color: #1d4ed8;
}

.hhf-slot-head--interactive[data-late-acknowledged="true"][data-late-visible="false"] .hhf-slot-head__badge {
  background: #fef9c3;
  color: #b45309;
}

.hhf-slot-head--interactive:focus,
.hhf-slot-head--interactive:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.hhf-slot-head--interactive:focus:not(:focus-visible) {
  outline: none;
}

.hhf-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  /* å°ç”»é¢ã§ã¯æ—¥ä»˜ã¨æ›œæ—¥ã‚’æ¨ªä¸¦ã³ã«ã—ã¦é«˜ã•ã‚’åœ§ç¸®ã™ã‚‹ */
  .hhf-slot-head {
    flex-direction: row;
    gap: 0.2rem;
  }

  .hhf-slot-grid thead th .hhf-slot-weekday {
    display: inline-flex;
    align-items: baseline;
    gap: 0.15rem;
  }

  .hhf-slot-grid thead th .hhf-slot-weekday br {
    display: none;
  }
}

.hhf-slot-grid thead th.is-holiday {
  color: #b91c1c;
  background: #fef2f2;
}

.hhf-slot-date {
  font-size: 1rem;
}

.hhf-slot-weekday {
  font-size: 0.85rem;
  color: #4b5563;
  white-space: pre-line;
}

.hhf-slot-weekday.is-holiday {
  color: #b91c1c;
}

.hhf-slot-grid td.is-open {
  cursor: pointer;
  background: #ecfdf5;
  color: #047857;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hhf-slot-grid td.is-open:hover {
  background: #d1fae5;
}

.hhf-slot-grid td.is-selected {
  background: #bfdbfe;
  color: #1d4ed8;
}

.hhf-slot-grid td.is-after-hours::after {
  content: attr(data-after-hours-label);
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.7rem;
  font-weight: 700;
}

.hhf-slot-grid td.is-closed {
  background: #f9fafb;
  color: #9ca3af;
}

.hhf-selected-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #f9fafb;
  padding: 1rem 1.25rem;
}

.hhf-selected-wrap h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.hhf-selected-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.hhf-selected-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #1f2937;
}

.hhf-selected-list button {
  appearance: none;
  border: 1px solid #fecaca;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hhf-selected-list button:hover {
  background: #fecaca;
  border-color: #f87171;
}

.hhf-selected-list button:focus-visible {
  outline: 2px solid rgba(248, 113, 113, 0.65);
  outline-offset: 2px;
}

.hhf-terms-wrap {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hhf-terms-content {
  border: 1px solid #d1d5db;
  border-radius: 0.85rem;
  padding: 1rem;
  background: #fff;
  max-height: 240px;
  overflow-y: auto;
  color: #1f2937;
}

.hhf-terms-wrap label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #1f2937;
}

.hhf-terms-wrap input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #2563eb;
}

/* Step 4 summary */
.hhf-summary-block {
  display: grid;
  gap: 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.hhf-summary-block h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.hhf-summary-block ul,
.hhf-summary-block ol {
  margin: 0;
  padding-left: 1.35rem;
  color: #1f2937;
  line-height: 1.6;
}

.hhf-summary-block li + li {
  margin-top: 0.25rem;
}

.hhf-range-wrap {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 0.9rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: #1e3a8a;
}

/* Step 5 */
.hhf-complete-message {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0c4a6e;
  box-shadow: 0 15px 30px rgba(12, 74, 110, 0.2);
}

.hhf-complete-message h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.hhf-complete-summary {
  margin-top: 1.5rem;
  text-align: center;
  display: inline-block;
  padding: 1.25rem 1.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.hhf-complete-summary h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

/* Utility */
.hhf-panel-root a {
  color: #2563eb;
  text-decoration: underline;
}

.hhf-panel-root a:hover {
  color: #1d4ed8;
}

@media (max-width: 599px) {
  .hhf-service-card,
  .hhf-option-card {
    padding: 0.9rem 1rem;
  }

  .hhf-step-footer {
    justify-content: center;
    gap: 0.5rem;
  }

  .hhf-step-footer > * {
    flex: 1 1 0;
  }
}

/* ===== Calendar ===== */
.hhf-calendar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem;
}

.hhf-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hhf-calendar__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.hhf-calendar__prev,
.hhf-calendar__next {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
  color: #374151;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.hhf-calendar__prev:hover,
.hhf-calendar__next:hover {
  background: #f3f4f6;
  color: #2563eb;
}

.hhf-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 0.5rem;
}

.hhf-calendar__weekdays > span {
  text-align: center;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
}

.hhf-calendar__weekdays > span:first-child {
  color: #dc2626;
}

.hhf-calendar__weekdays > span:last-child {
  color: #2563eb;
}

.hhf-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.hhf-calendar__cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0.25rem;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
  cursor: pointer;
}

.hhf-calendar__cell.is-empty {
  background: transparent;
  border-color: transparent;
  cursor: default;
}

.hhf-calendar__cell.is-past {
  opacity: 0.4;
  cursor: not-allowed;
}

.hhf-calendar__cell.is-unavailable:not(.is-past) {
  background: #f3f4f6;
  cursor: not-allowed;
}

.hhf-calendar__cell.is-available {
  background: #eff6ff;
  border-color: #93c5fd;
}

.hhf-calendar__cell.is-available:hover {
  background: #dbeafe;
  border-color: #60a5fa;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.hhf-calendar__cell.is-selected {
  background: #2563eb !important;
  border-color: #1d4ed8 !important;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.hhf-calendar__cell.is-sunday .hhf-calendar__day {
  color: #dc2626;
}

.hhf-calendar__cell.is-saturday .hhf-calendar__day {
  color: #2563eb;
}

.hhf-calendar__cell.is-selected .hhf-calendar__day {
  color: inherit;
}

.hhf-calendar__day {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

.hhf-calendar__status {
  font-size: 0.7rem;
  color: #16a34a;
  line-height: 1;
}

.hhf-calendar__cell.is-selected .hhf-calendar__status {
  color: #bbf7d0;
}

/* Timeslots */
.hhf-timeslots {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
}

.hhf-timeslots h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: #111827;
}

.hhf-timeslots__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hhf-timeslot {
  padding: 0.6rem 1.2rem;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
}

.hhf-timeslot:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #2563eb;
}

.hhf-timeslot.is-selected {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.hhf-selected-datetime {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-align: center;
}

.hhf-selected-datetime strong {
  color: #2563eb;
}

/* ===== Weekly Calendar ===== */
.hhf-week-calendar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem;
  overflow-x: auto;
}

.hhf-week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hhf-week-nav__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.hhf-week-nav__buttons {
  display: flex;
  gap: 0.5rem;
}

.hhf-week-nav button {
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 0.9rem;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
}

.hhf-week-nav button:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.hhf-week-nav button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Week Table */
.hhf-week-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 2px;
  table-layout: fixed;
}

.hhf-week-table th,
.hhf-week-table td {
  padding: 0;
  text-align: center;
}

/* Date Header */
.hhf-time-header,
.hhf-date-header {
  padding: 0.75rem 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  background: #f9fafb;
  border-radius: 0.5rem;
}

.hhf-time-header {
  width: 60px;
  min-width: 60px;
}

.hhf-date-header {
  min-width: 50px;
}

.hhf-date-header .hhf-date-num {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

.hhf-date-header .hhf-weekday {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
}

.hhf-date-header.is-sunday {
  color: #dc2626;
}

.hhf-date-header.is-sunday .hhf-weekday {
  color: #dc2626;
}

.hhf-date-header.is-saturday {
  color: #2563eb;
}

.hhf-date-header.is-saturday .hhf-weekday {
  color: #2563eb;
}

/* Time Cell */
.hhf-time-cell {
  padding: 0.5rem 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  background: #f9fafb;
  border-radius: 0.5rem;
}

/* Slot Cell */
.hhf-slot-cell {
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  transition: all 0.15s;
  min-height: 40px;
}

.hhf-slot-cell .hhf-slot-marker {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

/* Open slot */
.hhf-slot-cell.is-open {
  background: #fff;
  border-color: #f97316;
  cursor: pointer;
}

.hhf-slot-cell.is-open .hhf-slot-marker {
  color: #f97316;
}

.hhf-slot-cell.is-open:hover {
  background: #fff7ed;
  border-color: #ea580c;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.2);
}

.hhf-slot-cell.is-open:focus {
  outline: 2px solid #f97316;
  outline-offset: 2px;
}

/* Closed slot */
.hhf-slot-cell.is-closed {
  background: #f9fafb;
  border-color: #e5e7eb;
}

.hhf-slot-cell.is-closed .hhf-slot-marker {
  color: #9ca3af;
}

/* After hours slot */
.hhf-slot-cell.is-after-hours.is-open {
  background: #fefce8;
  border-color: #eab308;
}

.hhf-slot-cell.is-after-hours.is-open .hhf-slot-marker {
  color: #ca8a04;
}

/* Selected slot */
.hhf-slot-cell.is-selected {
  background: #f97316 !important;
  border-color: #ea580c !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.hhf-slot-cell.is-selected .hhf-slot-marker {
  color: #fff !important;
}

/* Selected Display */
#hhf-selected-datetime {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 0.75rem;
  text-align: center;
  font-size: 1rem;
}

#hhf-selected-datetime strong {
  color: #ea580c;
}

/* Loading */
.hhf-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  gap: 1rem;
  color: #6b7280;
}

.hhf-loading__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #f97316;
  border-radius: 50%;
  animation: hhf-spin 0.8s linear infinite;
}

@keyframes hhf-spin {
  to { transform: rotate(360deg); }
}

/* Error */
.hhf-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.75rem;
  color: #dc2626;
}

/* Modal */
.hhf-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hhf-modal__backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hhf-modal__content {
  position: relative;
  max-width: 400px;
  width: 90%;
  padding: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.hhf-modal__content h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: #ca8a04;
}

.hhf-modal__content p {
  margin: 0 0 0.75rem;
  color: #374151;
}

.hhf-modal__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.hhf-btn {
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.hhf-btn--primary {
  background: #f97316;
  color: #fff;
}

.hhf-btn--primary:hover {
  background: #ea580c;
}

.hhf-btn--secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.hhf-btn--secondary:hover {
  background: #e5e7eb;
}

/* Responsive */
@media (max-width: 599px) {
  .hhf-week-table {
    font-size: 0.85rem;
  }
  
  .hhf-time-header,
  .hhf-time-cell {
    width: 50px;
    min-width: 50px;
    font-size: 0.75rem;
  }
  
  .hhf-date-header .hhf-date-num {
    font-size: 0.95rem;
  }
  
  .hhf-slot-cell {
    padding: 0.35rem;
    min-height: 32px;
  }
  
  .hhf-slot-cell .hhf-slot-marker {
    font-size: 0.9rem;
  }
}

/* ========================================
   æ–°æ©Ÿèƒ½è¿½åŠ ã‚¹ã‚¿ã‚¤ãƒ« (v5.1.0)
   ======================================== */

/* ã‚¹ãƒ†ãƒƒãƒ‘ãƒ¼ï¼ˆ5ã‚¹ãƒ†ãƒƒãƒ—å¯¾å¿œï¼‰ */
.hhf-stepper__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
}

.hhf-stepper__label {
  display: block;
  font-size: 0.9rem;
}

.hhf-stepper__list li.is-completed {
  background: #dcfce7;
  color: #166534;
}

.hhf-stepper__list li.is-completed::before {
  content: "âœ“";
  background: #22c55e;
  color: #fff;
}

/* ã‚¹ãƒ†ãƒƒãƒ—ã‚¿ã‚¤ãƒˆãƒ« */
.hhf-step-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.hhf-step-subtitle {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: #6b7280;
}

/* æ–™é‡‘ã‚µãƒžãƒªè©³ç´°ç‰ˆ */
.hhf-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #e5e7eb;
}

.hhf-totals-row:last-child {
  border-bottom: none;
}

.hhf-totals-row--total {
  border-bottom: none;
  border-top: 2px solid #2563eb;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.hhf-totals-row--total strong {
  font-size: 1.15rem;
  color: #1e40af;
}

.hhf-totals-row--duration {
  color: #6b7280;
  font-size: 0.9rem;
}

/* ã‚¯ãƒ¼ãƒãƒ³ã‚»ã‚¯ã‚·ãƒ§ãƒ³ */
.hhf-coupon-section {
  margin: 1.5rem 0;
  padding: 1rem;
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: 0.75rem;
}

.hhf-coupon-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hhf-coupon-input-wrap {
  display: flex;
  gap: 0.5rem;
}

.hhf-coupon-message {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

.hhf-coupon-message.is-success {
  color: #16a34a;
}

.hhf-coupon-message.is-error {
  color: #dc2626;
}

/* ãƒ•ã‚©ãƒ¼ãƒ ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ */
.hhf-field-row {
  margin-bottom: 1rem;
}

.hhf-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.hhf-required {
  color: #dc2626;
}

.hhf-field-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hhf-field-group--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.hhf-field-group--phone,
.hhf-field-group--zip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hhf-separator {
  color: #9ca3af;
}

.hhf-input--small {
  width: 80px;
  text-align: center;
}

/* å…¥åŠ›ã‚¨ãƒ©ãƒ¼çŠ¶æ…‹ */
.hhf-field-row.has-error .hhf-input,
.hhf-input.has-error {
  border-color: #dc2626;
  background: #fef2f2;
}

/* æ”¯æ‰•ã„æ–¹æ³• */
.hhf-payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hhf-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.15s;
}

.hhf-radio:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.hhf-radio input:checked + .hhf-radio__mark + .hhf-radio__label {
  color: #1d4ed8;
  font-weight: 600;
}

.hhf-radio__mark {
  width: 18px;
  height: 18px;
  border: 2px solid #9ca3af;
  border-radius: 50%;
  position: relative;
}

.hhf-radio input:checked + .hhf-radio__mark {
  border-color: #2563eb;
  background: #2563eb;
}

.hhf-radio input:checked + .hhf-radio__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

.hhf-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* æ™‚é–“å¸¯ãƒˆã‚°ãƒ« */
.hhf-time-toggles {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.hhf-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
}

/* é¸æŠžä¸­ã®å¸Œæœ›æ—¥æ™‚ */
.hhf-selected-slots-section {
  margin: 1.5rem 0;
}

.hhf-selected-slots-section h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.hhf-selected-slots {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hhf-selected-slot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.5rem;
}

.hhf-selected-slot__order {
  font-weight: 700;
  color: #1d4ed8;
  font-size: 0.85rem;
}

.hhf-selected-slot__datetime {
  flex: 1;
}

.hhf-selected-slot__remove {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: #fecaca;
  color: #b91c1c;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hhf-selected-slot__remove:hover {
  background: #fca5a5;
}

.hhf-no-selection {
  color: #9ca3af;
  font-size: 0.9rem;
  padding: 1rem;
  text-align: center;
  background: #f9fafb;
  border-radius: 0.5rem;
}

/* åˆ©ç”¨è¦ç´„ */
.hhf-terms-section {
  margin: 1.5rem 0;
}

.hhf-terms-scroll {
  max-height: 200px;
  overflow-y: auto;
  padding: 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.hhf-terms-scroll h4 {
  margin: 0 0 0.5rem;
}

.hhf-terms-scroll h5 {
  margin: 1rem 0 0.25rem;
  font-size: 0.9rem;
}

.hhf-terms-scroll ul {
  margin: 0;
  padding-left: 1.25rem;
}

.hhf-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.hhf-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hhf-checkbox__mark {
  width: 20px;
  height: 20px;
  border: 2px solid #9ca3af;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.hhf-checkbox input:checked + .hhf-checkbox__mark {
  background: #2563eb;
  border-color: #2563eb;
}

.hhf-checkbox input:checked + .hhf-checkbox__mark::after {
  content: "âœ“";
  color: #fff;
  font-size: 0.75rem;
}

/* ç¢ºèªç”»é¢ */
.hhf-confirm-section {
  margin-bottom: 1.5rem;
}

.hhf-confirm-section h4 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
  font-size: 1rem;
}

.hhf-confirm-dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
}

.hhf-confirm-dl dt {
  font-weight: 600;
  color: #6b7280;
}

.hhf-confirm-dl dd {
  margin: 0;
}

.hhf-confirm-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #e5e7eb;
}

.hhf-confirm-item__name {
  flex: 1;
}

.hhf-confirm-item__qty {
  color: #6b7280;
  margin-right: 1rem;
}

.hhf-confirm-item__price {
  font-weight: 600;
}

/* ãƒŠãƒ“ã‚²ãƒ¼ã‚·ãƒ§ãƒ³ */
.hhf-step-nav--dual {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.hhf-btn--large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.hhf-btn--icon {
  padding: 0.5rem 1rem;
}

/* ãƒ¢ãƒ¼ãƒ€ãƒ« */
.hhf-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hhf-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hhf-modal__content {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 480px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hhf-modal__content h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.hhf-modal__body {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.hhf-modal__body ul {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}

.hhf-modal__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* å®Œäº†ç”»é¢ */
.hhf-complete-message {
  text-align: center;
  padding: 2rem;
}

.hhf-complete-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: #22c55e;
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hhf-complete-message h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  color: #111827;
}

.hhf-complete-note {
  margin-top: 2rem;
  padding: 1rem;
  background: #fef9c3;
  border-radius: 0.5rem;
  text-align: left;
  font-size: 0.9rem;
}

.hhf-complete-note ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

/* ã‚µãƒ¼ãƒ“ã‚¹ã‚«ãƒ¼ãƒ‰è©³ç´°è¡¨ç¤º */
.hhf-service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.hhf-service-price {
  font-weight: 600;
  color: #dc2626;
}

.hhf-service-header {
  margin-bottom: 0.5rem;
}


/* ========================================
   æ—§ãƒ—ãƒ©ã‚°ã‚¤ãƒ³UIå†ç¾ï¼š2ã‚«ãƒ©ãƒ ãƒ¬ã‚¤ã‚¢ã‚¦ãƒˆ (v5.1.1)
   ======================================== */

/* STEP2: 2ã‚«ãƒ©ãƒ ã‚°ãƒªãƒƒãƒ‰ */
.hhf-customer-2col {
  padding: 0;
}

.hhf-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

@media (max-width: 768px) {
  .hhf-form-grid {
    grid-template-columns: 1fr;
  }
}

.hhf-form-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰å…±é€š */
.hhf-field {
  margin-bottom: 0.5rem;
}

.hhf-field__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.35rem;
}

.hhf-required {
  color: #dc2626;
  margin-left: 0.15rem;
}

.hhf-field__input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hhf-field__input-group--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.hhf-field__input-group--phone,
.hhf-field__input-group--zip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hhf-field__input-group--phone input,
.hhf-field__input-group--zip input {
  flex: 1;
  min-width: 60px;
  text-align: center;
}

.hhf-field__sep {
  color: #9ca3af;
  font-size: 1rem;
}

.hhf-field--wide {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

/* å…¥åŠ›ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ */
.hhf-input,
.hhf-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.15s;
  background: #ffffff;
}

.hhf-input:focus,
.hhf-textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.hhf-input.has-error,
.hhf-field.has-error .hhf-input {
  border-color: #dc2626;
  background: #fef2f2;
}

.hhf-textarea {
  resize: vertical;
  min-height: 80px;
}

/* æ”¯æ‰•ã„æ–¹æ³•ï¼šæ¨ªä¸¦ã³ã‚«ãƒ¼ãƒ‰åž‹ï¼ˆæ—§ãƒ—ãƒ©ã‚°ã‚¤ãƒ³é¢¨ï¼‰ */
.hhf-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hhf-payment-card {
  display: flex;
  cursor: pointer;
}

.hhf-payment-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hhf-payment-card__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.9rem;
  transition: all 0.15s;
}

.hhf-payment-card__inner::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #9ca3af;
  border-radius: 50%;
  flex-shrink: 0;
}

.hhf-payment-card input:checked + .hhf-payment-card__inner {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

.hhf-payment-card input:checked + .hhf-payment-card__inner::before {
  border-color: #2563eb;
  background: #2563eb;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.hhf-payment-card:hover .hhf-payment-card__inner {
  border-color: #93c5fd;
  background: #f8fafc;
}

/* å°ã•ã„ãƒœã‚¿ãƒ³ */
.hhf-btn--small {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
}


/* ========================================
   STEP3: ã‚«ãƒ¬ãƒ³ãƒ€ãƒ¼ãƒ†ãƒ¼ãƒ–ãƒ«å½¢å¼ï¼ˆæ—§ãƒ—ãƒ©ã‚°ã‚¤ãƒ³é¢¨ï¼‰
   ======================================== */

.hhf-calendar-table-wrap {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 1rem;
}

/* ã‚«ãƒ¬ãƒ³ãƒ€ãƒ¼ãƒŠãƒ“ */
.hhf-calendar-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hhf-calendar-nav__sep {
  display: none;
}

.hhf-calendar-nav__range {
  margin-left: auto;
  font-weight: 600;
  color: #1e40af;
}

.hhf-btn--outline {
  background: transparent;
  border: 1px solid #3b82f6;
  color: #3b82f6;
  padding: 0.4rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s;
}

.hhf-btn--outline:hover {
  background: #3b82f6;
  color: #ffffff;
}

/* æ™‚é–“ãƒˆã‚°ãƒ«ãƒãƒ¼ */
.hhf-time-toggle-bar {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.hhf-toggle-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #4b5563;
}

.hhf-toggle-inline input {
  accent-color: #3b82f6;
}

/* ã‚«ãƒ¬ãƒ³ãƒ€ãƒ¼ãƒ†ãƒ¼ãƒ–ãƒ« */
.hhf-calendar-table-container {
  overflow-x: auto;
  margin: 1rem 0;
}

.hhf-calendar-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 600px;
}

.hhf-calendar-table th,
.hhf-calendar-table td {
  border: 1px solid #e5e7eb;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
}

.hhf-calendar-table th {
  background: #f8fafc;
  color: #374151;
  font-weight: 600;
}

.hhf-calendar-table th:first-child {
  width: 70px;
  background: #f1f5f9;
}

/* æ—¥ä»˜ãƒ˜ãƒƒãƒ€ãƒ¼ */
.hhf-calendar-table th.hhf-date-header {
  min-width: 80px;
}

.hhf-calendar-table th.is-sun {
  color: #dc2626;
}

.hhf-calendar-table th.is-sat {
  color: #2563eb;
}

/* ã‚¹ãƒ­ãƒƒãƒˆã‚»ãƒ« */
.hhf-calendar-table td.hhf-slot {
  cursor: pointer;
  transition: all 0.15s;
}

.hhf-calendar-table td.hhf-slot:hover {
  background: #eff6ff;
}

.hhf-calendar-table td.hhf-slot.is-available {
  color: #059669;
}

.hhf-calendar-table td.hhf-slot.is-selected {
  background: #3b82f6;
  color: #ffffff;
  font-weight: 600;
}

.hhf-calendar-table td.hhf-slot.is-unavailable {
  color: #d1d5db;
  cursor: not-allowed;
}

.hhf-calendar-table td.hhf-slot.is-unavailable:hover {
  background: transparent;
}

/* é¸æŠžã—ãŸå¸Œæœ›æ—¥æ™‚ã‚»ã‚¯ã‚·ãƒ§ãƒ³ */
.hhf-selected-section {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 0.5rem;
}

.hhf-selected-title {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
}

.hhf-selected-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hhf-no-selection {
  color: #9ca3af;
  font-size: 0.9rem;
}

.hhf-selected-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
}

.hhf-selected-item__label {
  font-weight: 600;
  color: #1e40af;
  min-width: 60px;
}

.hhf-selected-item__datetime {
  flex: 1;
  margin-left: 1rem;
  color: #374151;
}

.hhf-selected-item__remove {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.25rem;
  line-height: 1;
}

.hhf-selected-item__remove:hover {
  color: #dc2626;
}

/* åˆ©ç”¨è¦ç´„ãƒœãƒƒã‚¯ã‚¹ */
.hhf-terms-box {
  margin-top: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
  background: #ffffff;
}

.hhf-terms-title {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
}

.hhf-terms-content {
  max-height: 200px;
  overflow-y: auto;
  padding: 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  font-size: 0.85rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

.hhf-terms-content h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #374151;
}

.hhf-terms-content ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

.hhf-agree-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: #374151;
}

.hhf-agree-row input {
  accent-color: #3b82f6;
  width: 18px;
  height: 18px;
}

/* ========================================
   STEP4: ç¢ºèªç”»é¢ï¼ˆ4ã‚«ãƒ©ãƒ ã‚«ãƒ¼ãƒ‰åž‹ï¼‰
   ======================================== */

.hhf-confirm-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.hhf-confirm-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #3b82f6;
}

/* ãŠå®¢æ§˜æƒ…å ±: 4ã‚«ãƒ©ãƒ ã‚°ãƒªãƒƒãƒ‰ */
.hhf-confirm-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .hhf-confirm-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hhf-confirm-grid-4col .hhf-confirm-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hhf-confirm-field__label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

.hhf-confirm-field__value {
  font-size: 0.95rem;
  color: #111827;
}

/* ã”åˆ©ç”¨å†…å®¹: ãƒ„ãƒªãƒ¼å½¢å¼ */
.hhf-confirm-services-tree {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hhf-service-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 0.375rem;
}

.hhf-service-item__name {
  font-weight: 500;
  color: #374151;
}

.hhf-service-item__meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.hhf-service-item__price {
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
}

.hhf-service-option {
  margin-left: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid #e5e7eb;
}

.hhf-confirm-duration {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
  color: #374151;
}

.hhf-confirm-duration strong {
  color: #1e40af;
}

/* æ¦‚ç®—é‡‘é¡ */
.hhf-confirm-estimate {
  display: flex;
  align-items: baseline;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.hhf-confirm-estimate__label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.hhf-confirm-estimate__value {
  color: #ffffff;
  font-size: 1.5rem;
  margin: 0 0.5rem;
}

.hhf-confirm-estimate__note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.hhf-confirm-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* å¸Œæœ›æ—¥æ™‚è©³ç´°ï¼ˆãƒãƒƒã‚¸ä»˜ãï¼‰ */
.hhf-confirm-slots-detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hhf-slot-detail-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
  background: #f8fafc;
}

.hhf-slot-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.hhf-slot-detail-label {
  font-weight: 600;
  color: #1e40af;
}

.hhf-slot-detail-datetime {
  color: #374151;
}

.hhf-slot-detail-price {
  font-weight: 700;
  color: #111827;
  font-size: 1.1rem;
}

.hhf-slot-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.hhf-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.hhf-badge--price {
  background: #dbeafe;
  color: #1e40af;
}

.hhf-badge--time {
  background: #fef3c7;
  color: #b45309;
}

.hhf-badge--discount {
  background: #dcfce7;
  color: #166534;
}

.hhf-badge--surcharge {
  background: #fee2e2;
  color: #991b1b;
}

.hhf-badge--coupon {
  background: #f3e8ff;
  color: #7c3aed;
}

/* å‰²å¼•ã‚¢ã‚¤ãƒ†ãƒ  */
.hhf-discount-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.hhf-discount-total {
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
  font-weight: 600;
}

.hhf-discount-total strong {
  color: #10b981;
}


/* =============================================
   ã‚«ãƒ¬ãƒ³ãƒ€ãƒ¼ãƒ†ãƒ¼ãƒ–ãƒ«ï¼ˆæ—§ãƒ—ãƒ©ã‚°ã‚¤ãƒ³å½¢å¼ï¼‰
   30åˆ†é–“éš”ã®ã‚¹ãƒ­ãƒƒãƒˆã€æ—©æœ/å¤œé–“ãƒˆã‚°ãƒ«å¯¾å¿œ
   ============================================= */

/* ã‚«ãƒ¬ãƒ³ãƒ€ãƒ¼ãƒŠãƒ“ã‚²ãƒ¼ã‚·ãƒ§ãƒ³ */
.hhf-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.hhf-calendar-nav__sep {
  display: none;
}

.hhf-calendar-nav__range {
  font-size: 1rem;
  font-weight: 600;
  color: #1e3a8a;
}

/* ãƒˆã‚°ãƒ«ãƒãƒ¼ */
.hhf-time-toggle-bar {
  padding: 0.75rem 0;
}

.hhf-toggle-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #4b5563;
}

.hhf-toggle-inline input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: #3b82f6;
}

/* ã‚«ãƒ¬ãƒ³ãƒ€ãƒ¼ãƒ†ãƒ¼ãƒ–ãƒ«ã‚³ãƒ³ãƒ†ãƒŠ */
.hhf-calendar-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.5rem;
  padding: 0 0.5rem;
}

/* ã‚«ãƒ¬ãƒ³ãƒ€ãƒ¼ãƒ†ãƒ¼ãƒ–ãƒ« */
.hhf-calendar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 600px;
}

/* ãƒ˜ãƒƒãƒ€ãƒ¼ï¼ˆæ—¥ä»˜è¡Œï¼‰ */
.hhf-calendar-table thead tr {
  background: #f1f5f9;
}

.hhf-cal-corner {
  padding: 0.5rem;
  text-align: center;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  background: #e2e8f0;
  min-width: 60px;
}

.hhf-cal-header {
  padding: 0.5rem 0.35rem;
  text-align: center;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  min-width: 80px;
}

.hhf-cal-header.is-sunday {
  color: #dc2626;
  background: #fef2f2;
}

.hhf-cal-header.is-saturday {
  color: #2563eb;
  background: #eff6ff;
}

.hhf-cal-date-num {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.hhf-cal-weekday {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.8;
}

/* æ™‚é–“ã‚»ãƒ« */
.hhf-cal-time {
  padding: 0.35rem 0.5rem;
  text-align: center;
  font-weight: 600;
  background: #f9fafb;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

/* ã‚¹ãƒ­ãƒƒãƒˆã‚»ãƒ« */
.hhf-cal-cell {
  padding: 0.35rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  cursor: default;
  transition: background 0.15s, transform 0.1s;
}

.hhf-cal-cell.is-available {
  cursor: pointer;
  background: #ffffff;
}

.hhf-cal-cell.is-available:hover {
  background: #dbeafe;
  transform: scale(1.02);
}

.hhf-cal-cell.is-unavailable {
  background: #f3f4f6;
  color: #9ca3af;
}

.hhf-cal-cell.is-after-hours {
  background: #fef9c3;
}

.hhf-cal-cell.is-after-hours.is-available:hover {
  background: #fef08a;
}

.hhf-cal-cell.is-selected {
  background: #3b82f6 !important;
  color: #ffffff;
}

.hhf-cal-cell.is-selected .hhf-cal-marker {
  color: inherit;
}

/* ãƒžãƒ¼ã‚«ãƒ¼ï¼ˆâ—‹/Ã—ï¼‰ */
.hhf-cal-marker {
  font-size: 1.1rem;
  font-weight: 700;
}

.hhf-cal-cell.is-available .hhf-cal-marker {
  color: #22c55e;
}

.hhf-cal-cell.is-unavailable .hhf-cal-marker {
  color: #d4d4d4;
}

/* æ™‚é–“å¤–è¡Œã®ã‚¹ã‚¿ã‚¤ãƒ« */
.is-after-hours-row .hhf-cal-time {
  background: #fefce8;
}

/* ãƒ­ãƒ¼ãƒ‡ã‚£ãƒ³ã‚° */
.hhf-cal-loading {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b7280;
}

/* é¸æŠžã‚»ã‚¯ã‚·ãƒ§ãƒ³ */
.hhf-selected-section {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
}

.hhf-selected-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1e3a8a;
}

.hhf-selected-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hhf-selected-slot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 0.5rem;
  flex-wrap: wrap;
}

.hhf-selected-slot__order {
  background: #3b82f6;
  color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.hhf-selected-slot__datetime {
  flex: 1 1 auto;
  font-weight: 500;
}

.hhf-selected-slot__badge {
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.hhf-selected-slot__badge.is-after-hours {
  background: #fef3c7;
  color: #b45309;
}

.hhf-selected-slot__remove {
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hhf-selected-slot__remove:hover {
  background: #fecaca;
}

.hhf-no-selection {
  color: #9ca3af;
  font-size: 0.9rem;
  margin: 0;
}

/* ãƒ­ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã‚¹ãƒ”ãƒŠãƒ¼ */
.hhf-loading__spinner {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 1rem;
  border: 3px solid #e2e8f0;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: hhf-spin 0.8s linear infinite;
}

@keyframes hhf-spin {
  to { transform: rotate(360deg); }
}


/* =============================================
   ãƒ¢ãƒ¼ãƒ€ãƒ«ï¼ˆãƒãƒƒãƒ—ã‚¢ãƒƒãƒ—ï¼‰ - ç”»é¢ä¸­å¤®è¡¨ç¤º
   ============================================= */

.hhf-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hhf-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hhf-modal__content {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: hhf-modal-fade-in 0.2s ease-out;
}

@keyframes hhf-modal-fade-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hhf-modal__content h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e3a8a;
}

.hhf-modal__content p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: #374151;
}

.hhf-modal__content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.hhf-modal__content li {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.hhf-modal__body {
  margin-bottom: 1rem;
}

.hhf-modal__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.hhf-modal__actions .hhf-btn {
  min-width: 100px;
}


/* =============================================
   ãƒ¢ãƒ¼ãƒ€ãƒ«ä¸­å¤®è¡¨ç¤º - å¼·åˆ¶ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰
   ============================================= */

.hhf-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10000 !important;
  padding: 1rem !important;
  box-sizing: border-box !important;
}

.hhf-modal__backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.5) !important;
  z-index: 0 !important;
}

.hhf-modal__content {
  position: relative !important;
  z-index: 1 !important;
  background: #ffffff !important;
  border-radius: 1rem !important;
  padding: 1.5rem !important;
  max-width: 420px !important;
  width: calc(100% - 2rem) !important;
  margin: 0 auto !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
  animation: hhf-modal-appear 0.25s ease-out !important;
}

@keyframes hhf-modal-appear {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* =============================================
   ãƒ¢ãƒ¼ãƒ€ãƒ«ä¸­å¤®è¡¨ç¤º - å®Œå…¨ã‚ªãƒ¼ãƒãƒ¼ãƒ©ã‚¤ãƒ‰ v2
   å•é¡Œ: width: 420px ãŒä¸­å¤®è¡¨ç¤ºã‚’é˜»å®³ã—ã¦ã„ãŸ
   è§£æ±º: width: 100% ã‚’å¼·åˆ¶ã—ã€Flexboxä¸­å¤®æƒãˆã‚’å¾¹åº•
   ============================================= */

.hhf-modal,
#hhf-after-hours-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10000 !important;
  padding: 1rem !important;
  box-sizing: border-box !important;
  pointer-events: auto !important;
}

.hhf-modal .hhf-modal__backdrop,
#hhf-after-hours-modal .hhf-modal__backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.5) !important;
  z-index: -1 !important;
}

.hhf-modal .hhf-modal__content,
#hhf-after-hours-modal .hhf-modal__content {
  position: relative !important;
  z-index: 1 !important;
  background: #ffffff !important;
  border-radius: 1rem !important;
  padding: 1.5rem !important;
  max-width: 420px !important;
  width: calc(100% - 2rem) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
  animation: hhf-modal-center-appear 0.25s ease-out !important;
}

@keyframes hhf-modal-center-appear {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* =============================================
   ãƒ¢ãƒ¼ãƒ€ãƒ«èƒŒæ™¯ã‚’é€æ˜Žã«å¤‰æ›´
   ============================================= */

.hhf-modal .hhf-modal__backdrop,
#hhf-after-hours-modal .hhf-modal__backdrop {
  background: transparent !important;
}


/* =============================================
   æ™‚é–“å¤–ãƒ©ãƒ™ãƒ«ï¼ˆã‚»ãƒ«å†…ï¼‰
   ============================================= */

.hhf-cal-after-hours-label {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0.1rem 0.25rem;
  margin-left: 0.2rem;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  border-radius: 0.25rem;
  white-space: nowrap;
}

/* æ™‚é–“å¤–ã‚»ãƒ«ã®é»„è‰²èƒŒæ™¯ã‚’å‰Šé™¤ */
.hhf-cal-cell.is-after-hours {
  background-color: transparent !important;
}

/* ===== 2026-01-21 UIC³ ===== */

/* ŽžŠÔŠOƒZƒ‹‚Ì‘I‘ðŽž‚ÉÂ”wŒi‚ð‹­§ */
.hhf-cal-cell.is-after-hours.is-selected,
.hhf-cal-cell.is-after-hours.is-available.is-selected {
  background: #3b82f6 !important;
  color: #ffffff !important;
}

.hhf-cal-cell.is-after-hours.is-selected .hhf-cal-marker {
  color: #ffffff !important;
}

.hhf-cal-cell.is-after-hours.is-selected .hhf-cal-after-hours-label {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* ƒ‚[ƒ_ƒ‹”wŒi‚ð”¼“§–¾‚É */
.hhf-modal__backdrop {
  background: rgba(0, 0, 0, 0.5) !important;
}

/* —˜—p‹K–ñƒ`ƒFƒbƒNƒ{ƒbƒNƒX‚ÌƒGƒ‰[•\Ž¦ */
.hhf-field--terms .hhf-field__error {
  display: block !important;
  margin-top: 0.5rem;
  color: #dc2626;
  font-size: 0.875rem;
}

.hhf-terms-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
}

/* ========================================
   STEP4: ‹Œƒvƒ‰ƒOƒCƒ“UIÄŒ»ƒXƒ^ƒCƒ‹
======================================== */

/* ‚¨‹q—lî•ñ 4ƒJƒ‰ƒ€~2sƒOƒŠƒbƒh */
.hhf-confirm-grid-4col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hhf-confirm-grid-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #e5e7eb;
  border-top: none;
}

.hhf-confirm-grid-row:first-child {
  border-top: 1px solid #e5e7eb;
  border-radius: 0.5rem 0.5rem 0 0;
}

.hhf-confirm-grid-row:last-child {
  border-radius: 0 0 0.5rem 0.5rem;
}

.hhf-confirm-cell {
  padding: 0.75rem 1rem;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hhf-confirm-cell:last-child {
  border-right: none;
}

.hhf-confirm-cell__label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

.hhf-confirm-cell__value {
  font-size: 0.95rem;
  color: #111827;
  font-weight: 600;
  word-break: break-word;
}

/* ƒT[ƒrƒXƒcƒŠ[•\Ž¦ */
.hhf-confirm-services-tree {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hhf-confirm-service-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  align-items: center;
}

.hhf-confirm-service-row:first-child {
  border-top: 1px solid #e5e7eb;
}

.hhf-confirm-service-row--option {
  padding-left: 2.5rem;
  background: #f8fafc;
}

.hhf-confirm-service-name {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hhf-confirm-service-duration {
  font-size: 0.85rem;
  color: #6b7280;
}

.hhf-confirm-service-qty {
  font-size: 0.9rem;
  color: #4b5563;
  white-space: nowrap;
}

.hhf-confirm-service-price {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  text-align: right;
}

/* Š—vŽžŠÔ ‰©Fƒoƒi[ */
.hhf-confirm-duration-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 0.5rem;
  margin-top: 1rem;
}

.hhf-confirm-duration-banner span {
  font-size: 0.95rem;
  color: #92400e;
}

.hhf-confirm-duration-banner strong {
  font-size: 1.1rem;
  color: #92400e;
  font-weight: 700;
}

/* ŠTŽZ‹àŠz ƒIƒŒƒ“ƒWƒoƒi[ */
.hhf-confirm-estimate-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
  border-radius: 0.5rem;
  margin: 1.5rem 0 1rem;
}

.hhf-confirm-estimate-banner .hhf-confirm-estimate__label {
  font-size: 1rem;
  color: #9a3412;
  font-weight: 600;
}

.hhf-confirm-estimate-banner .hhf-confirm-estimate__value {
  font-size: 1.5rem;
  color: #c2410c;
  font-weight: 700;
}

.hhf-confirm-estimate-banner .hhf-confirm-estimate__note {
  font-size: 0.85rem;
  color: #9a3412;
}

/* Šó–]“úŽžƒJ[ƒh */
.hhf-confirm-slots-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hhf-confirm-slot-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
}

.hhf-confirm-slot-header {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #eff6ff;
  border-bottom: 1px solid #dbeafe;
}

.hhf-confirm-slot-order {
  font-weight: 700;
  color: #1d4ed8;
  white-space: nowrap;
}

.hhf-confirm-slot-date {
  font-weight: 600;
  color: #1e40af;
}

.hhf-confirm-slot-body {
  padding: 1rem;
}

.hhf-confirm-slot-estimate {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.hhf-confirm-slot-estimate__label {
  font-size: 0.95rem;
  color: #374151;
}

.hhf-confirm-slot-estimate__value {
  font-size: 1.25rem;
  color: #111827;
  font-weight: 700;
}

.hhf-confirm-slot-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hhf-confirm-slot-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  background: #f3f4f6;
  border-radius: 0.35rem;
  color: #4b5563;
}

.hhf-confirm-slot-badge--highlight {
  background: #fef3c7;
  color: #b45309;
}

/* Š„ˆøƒZƒNƒVƒ‡ƒ“ */
.hhf-discount-item-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #e5e7eb;
}

.hhf-discount-item-row:last-child {
  border-bottom: none;
}

.hhf-discount-item-name {
  color: #374151;
}

.hhf-discount-item-amount {
  color: #dc2626;
  font-weight: 600;
}

.hhf-discount-total-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-top: 1px solid #e5e7eb;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* ƒŒƒXƒ|ƒ“ƒVƒu‘Î‰ž */
@media (max-width: 768px) {
  .hhf-confirm-grid-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hhf-confirm-service-row {
    grid-template-columns: 1fr auto;
  }
  
  .hhf-confirm-service-qty {
    display: none;
  }
  
  .hhf-confirm-slot-header {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .hhf-confirm-slot-details {
    flex-direction: column;
  }
}

/* ========================================
   C³: ƒ|ƒbƒvƒAƒbƒv”wŒi“§–¾‰» + ŠTŽZƒoƒi[íœ
======================================== */

/* ŽžŠÔŠOEƒRƒ“ƒrƒjŠm”Fƒ‚[ƒ_ƒ‹‚Ì”wŒi‚ð”¼“§–¾‚É */
.hhf-modal,
#hhf-after-hours-modal,
#hhf-konbini-modal {
  background: rgba(0, 0, 0, 0.5) !important;
}

.hhf-modal-overlay {
  background: rgba(0, 0, 0, 0.5) !important;
}

/* STEP4‚ÌŠTŽZ‹àŠzƒoƒi[‚ð”ñ•\Ž¦ */
.hhf-confirm-estimate-banner {
  display: none !important;
}

/* ========================================
   —˜—p‹K–ñƒCƒ“ƒ‰ƒCƒ“ƒGƒ‰[ƒƒbƒZ[ƒW
======================================== */

/* —˜—p‹K–ñƒ`ƒFƒbƒN‰¡‚ÌƒGƒ‰[ƒƒbƒZ[ƒW */
.hhf-inline-error {
  display: block;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
}

/* —˜—p‹K–ñƒ‰ƒxƒ‹‚ÉƒGƒ‰[ó‘Ô */
.hhf-agree-row.has-error {
  color: #dc2626;
}

.hhf-agree-row.has-error input[type="checkbox"] {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}
