@layer components {
  .brand { display: flex; gap: 12px; align-items: center; text-decoration: none; }
  .brand img { width: 52px; height: 49px; object-fit: contain; }
  .brand-name { display: block; font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: .08em; }
  .brand-en { display: block; font-size: 13px; line-height: 1.6; letter-spacing: .015em; }
  .site-nav a { text-decoration: none; font-size: 16px; }
  .site-nav a:hover { color: var(--rose); }
  .button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 50px; padding: 12px 24px; border: 0; border-radius: 0; background: var(--rose); color: var(--white); text-decoration: none; font-size: 16px; font-weight: 500; line-height: 1.5; transition: background .2s, transform .2s; }
  .button:hover { background: #563e45; transform: translateY(-2px); }
  .button:active { transform: translateY(1px); }
  .button svg { width: 20px; height: 20px; flex: none; }
  .button--small { min-height: 46px; padding: 10px 20px; }
  .button--light { background: var(--paper); color: var(--rose); }
  .text-link { font-size: 16px; text-decoration-thickness: 1px; }
  .text-link:hover { color: var(--rose); }
  .menu-toggle { display: none; border: 0; background: transparent; padding: 12px 0 12px 12px; min-height: 48px; }
  .credential strong { display: block; font-family: var(--display); font-size: clamp(32px, 2.7vw, 40px); font-weight: 500; line-height: 1.3; }
  .credential strong span { font: 400 17px var(--body); margin-left: 4px; }
  .credential > span { display: block; margin-top: 8px; font-size: 16px; font-weight: 600; }
  .credential:first-child strong { font-family: var(--body); font-size: 19px; font-weight: 600; line-height: 1.4; }
  .credential-note { font-size: 14px; color: var(--muted); }
  .credential-note summary { display: inline-block; text-decoration: underline; text-underline-offset: 4px; margin-top: 8px; }
  .credential-note p { margin-top: 12px; }
  .stage-tabs { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
  .stage-tab { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; text-decoration: none; background: var(--sand); transition: background .2s, color .2s; min-height: 62px; }
  .stage-tab span { font-size: 14px; }
  .stage-tab strong { font-weight: 500; font-size: 19px; }
  .stage-tab[aria-selected="true"], .stage-tab:hover { background: var(--rose); color: var(--white); }
  .stage-panel + .stage-panel { margin-top: 40px; }
  .stage-copy ul { padding: 0; list-style: none; margin: 0; }
  .stage-copy li + li { margin-top: 8px; }
  .stage-copy li::before { content: "·"; margin-right: 10px; }
  .stage-copy .text-link { display: inline-block; margin-top: 18px; }
  .method-list h3 { color: var(--teal); font-size: 20px; }
  .method-list p { font-size: 16px; }
  .method-note { margin-top: 32px; font-size: 14px; }
  .comparison summary { font-size: 18px; padding: 18px 22px; background: var(--sand); }
  .table-scroll { overflow-x: auto; }
  table { width: 100%; border-collapse: collapse; font-size: 16px; text-align: left; }
  caption { text-align: left; padding: 20px 16px; font-weight: 500; }
  th, td { padding: 16px; vertical-align: top; border-bottom: 1px solid #d9d6cf; }
  th { font-weight: 500; }
  thead { background: var(--sand); }
  .master small { display: block; margin-top: 6px; }
  .quote { container-type: inline-size; background: var(--paper); padding: 32px; }
  .quote label { display: block; font-size: 15px; }
  .quote label > span { display: block; margin-bottom: 8px; }
  select { width: 100%; min-width: 0; min-height: 52px; border: 1px solid var(--field-border); border-radius: 0; background: var(--white); color: var(--ink); padding: 12px 32px 12px 14px; font-size: 16px; }
  select:hover { border-color: var(--rose); }
  .quote:has(select:focus-visible) { outline: 2px solid var(--teal); outline-offset: 6px; }
  .quote-result { margin-top: 26px; }
  .quote-selection { font-size: 15px; }
  .quote-original { margin-top: 16px; color: var(--muted); font-size: 18px; }
  .quote-price { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.2; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--rose); margin-top: 6px; }
  .quote-price small { font-size: 16px; margin-left: 10px; }
  .quote-tax { margin-top: 12px; font-size: 15px; }
  .quote-total { display: block; font-size: 20px; color: var(--ink); }
  .quote .button { width: 100%; margin-top: 24px; }
  .quote .note { margin-top: 16px; }
  .price-conditions { margin-top: 28px; font-size: 14px; }
  .price-conditions summary { font-size: 16px; }
  .price-conditions ul { margin-bottom: 0; }
  .price-table { margin-top: 24px; }
  .price-table summary { padding-block: 14px; }
  .price-table table { min-width: 560px; font-size: 14px; background: var(--paper); }
  .price-table td, .price-table th { padding: 12px 16px; }
  .price-table del { color: var(--muted); margin-right: 8px; }
  .price-table ins { text-decoration: none; font-weight: 500; }
  .process-list li::marker { color: var(--rose); font-size: 18px; }
  .process-list h3 { display: inline; font-size: 20px; }
  .process-list p { margin-top: 12px; font-size: 16px; }
  .faq-list details { padding: 20px 24px; }
  .faq-list details:nth-child(odd) { background: var(--sand); }
  .faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 19px; list-style: none; min-height: 30px; }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary::after { content: "+"; font: 400 24px var(--body); flex-shrink: 0; }
  .faq-list details[open] summary::after { content: "−"; }
  .faq-list details[open] { background: var(--teal-soft); }
  .faq-list details:has(summary:hover) { background: var(--teal-soft); }
  .faq-list details > p { margin-top: 18px; font-size: 16px; }
  .outlet { container-type: inline-size; }
  .outlet h3 { margin-bottom: 22px; }
  .outlet address { font-style: normal; }
  .outlet p { margin-top: 12px; }
  .outlet .phone { display: inline-block; min-height: 44px; padding-block: 8px; text-decoration: none; }
  .outlet .phone + .phone { margin-left: 8px; }
  .outlet .text-link { display: inline-block; margin-top: 14px; min-height: 44px; padding-block: 8px; }
  .hq h3 { font-size: 18px; }
  .hq p { font-size: 15px; }
  .site-footer .note { color: #dedbd5; }
  .footer-wordmark { mix-blend-mode: screen; }
  .review-intro { margin-top: 20px; max-width: 38em; }
  .review-controls { display: flex; align-items: center; gap: 18px; }
  .review-controls button { display: grid; place-items: center; min-width: 48px; min-height: 48px; border: 0; background: var(--rose); color: var(--white); transition: background .2s; }
  .review-controls button:hover { background: var(--ink); }
  .review-controls button:disabled { background: var(--sand); color: var(--muted); cursor: default; }
  .review-status { min-width: 3em; text-align: center; font-variant-numeric: tabular-nums; }
  .review-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
  .review-track.is-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: var(--rose) var(--sand); padding-bottom: 12px; }
  .review-card { position: relative; padding: 32px; background: var(--sand); min-width: 0; }
  .is-carousel .review-card { flex: 0 0 calc((100% - 24px) / 2); scroll-snap-align: start; }
  .review-card figure { display: flex; flex-direction: column; height: 100%; }
  .review-card h3 { font-size: 23px; }
  .review-card blockquote { margin: 24px 0 28px; }
  .review-card blockquote p { max-width: 30em; font-size: 18px; line-height: 1.8; }
  .review-card figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: auto; font-size: 14px; }
  .review-card cite { width: 100%; color: var(--ink); font-size: 17px; font-style: normal; font-weight: 600; }
  .value-title { font-size: 22px; font-weight: 600; margin-bottom: 28px; }
  .service-value ul { margin: 0; padding: 0; list-style: none; }
  .service-value strong { display: block; font-size: 20px; font-weight: 600; margin-bottom: 10px; }
  .service-value li span { display: block; font-size: 16px; max-width: 26em; }
  .pricing-from strong { font-size: 30px; color: var(--rose); font-weight: 600; }
  .pricing-from span { display: block; margin-top: 8px; font-size: 15px; }
  .assurance { background: var(--teal-soft); padding: 48px; }
  .assurance-grid h3 { font-size: 22px; }
  .assurance-grid p { margin-top: 16px; font-size: 16px; max-width: 26em; }
  .assurance-note { margin-top: 32px; }
  .floating-consult { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 16px 24px; background: var(--rose); color: var(--white); font-weight: 600; text-decoration: none; transition: background .2s, transform .2s; }
  .floating-consult:hover { background: var(--ink); transform: translateY(-2px); }
  .floating-consult.is-hidden { visibility: hidden; pointer-events: none; }

  @container (max-width: 350px) {
    .quote-fields { grid-template-columns: 1fr; }
    .quote-price { font-size: 38px; }
    .quote-price small { display: block; margin: 8px 0 0; }
    .outlet-body { grid-template-columns: 1fr; }
  }
  @media (max-width: 767px) {
    .brand img { width: 42px; height: 40px; }
    .brand-name { font-size: 20px; }
    .brand-en { font-size: 13px; }
    .menu-toggle { display: inline-flex; gap: 8px; align-items: center; }
    .site-nav { display: flex; flex-wrap: wrap; width: 100%; padding-bottom: 20px; }
    .header-inner { flex-wrap: wrap; }
    .js .site-nav { display: none; }
    .js .site-nav.is-open { display: flex; }
    .site-nav a { padding-block: 8px; font-size: 16px; }
    .credential strong { font-size: 32px; }
    .credential:first-child strong { font-size: 17px; }
    .credential > span { font-size: 15px; margin-top: 4px; }
    .stage-tab { padding: 16px 18px; }
    .quote { padding: 24px 20px; }
    .faq-list details { padding: 20px; }
    .faq-list summary { font-size: 17px; gap: 12px; }
    .review-controls { margin-top: 24px; }
    .review-track { grid-template-columns: 1fr; }
    .is-carousel .review-card { flex-basis: 100%; }
    .review-card { padding: 24px; }
    .review-card h3 { font-size: 21px; }
    .review-card blockquote p { font-size: 17px; }
    .assurance { padding: 32px 24px; }
    .floating-consult { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); min-height: 50px; padding: 12px 18px; }

  }

  @media (max-height: 480px) { .floating-consult { position: static; margin: 20px var(--gutter); } }
}

@layer components {
  .brief-offer { padding: clamp(24px, 4vw, 48px); margin-bottom: 48px; background: var(--teal-surface, #E9F1F0); border-left: 3px solid var(--teal, #2E6F73); }
  .brief-offer h3 { margin-bottom: 16px; font-size: clamp(22px, 2.5vw, 30px); }
  .brief-offer p { max-width: 52em; }
  .brief-offer .button { margin-block: 20px 12px; }
  .booking-deposit { margin: 24px 0; padding: 24px 0; border-block: 1px solid var(--line, #d9cfca); }
  .deposit-label { font-weight: 600; }
  .deposit-amount { font-size: clamp(42px, 5vw, 64px); line-height: 1.2; color: var(--rose); font-variant-numeric: tabular-nums; margin: 8px 0 16px; }
}

@layer components {
  .service-analysis { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line, #d9cfca); }
  .service-analysis h3 { font-size: 22px; margin-bottom: 12px; }
  .service-value .service-analysis ul { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-block: 20px; }
  .service-analysis li { font-weight: 600; }
}

@layer components {
  .service-switch { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px 36px; }
  .service-switch a { padding: 12px 18px; border: 1px solid var(--rose); text-decoration: none; }
  .service-switch a[aria-current] { background: var(--rose); color: white; }
  .booking-summary { padding: 24px; background: #E9F1F0; margin-top: 24px; }
  #booking-selection { font-weight: 600; margin-top: 8px; }
  #booking-total { font-weight: 600; font-size: 22px; margin-block: 8px 16px; }
  [data-service-panel][hidden] { display: none; }
}

@layer components {
  #booking.contact-top { align-items: start; }
}

@layer components {
  .report-samples-intro { max-width: 48em; margin-block: 24px 32px; }
  .report-samples-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .report-samples-grid img { width: 100%; height: auto; border: 1px solid var(--line, #d9cfca); }
  .report-samples-grid a { display: block; }
  .report-samples-grid figcaption { margin-block: 18px 28px; }
  .report-samples-grid strong, .report-samples-grid span { display: block; }
  .report-samples-grid strong { font-size: 20px; margin-bottom: 8px; }
  .report-samples > .note { margin-bottom: 24px; }
  @media (max-width: 767px) { .report-samples-grid { grid-template-columns: 1fr; gap: 24px; } }
}

@layer components {
  @media (max-width: 767px) {
    .service-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .service-switch a { min-width: 0; padding: 12px 2px; font-size: clamp(11px, 3.1vw, 14px); text-align: center; white-space: nowrap; }
  }
}

@layer components {
  .master-highlights { margin: 18px 0 24px; padding-left: 1.2em; }
  .master-highlights li { margin-block: 10px; font-size: 15px; line-height: 1.75; }
}

/* Master profiles share a clear reading order and a direct booking action. */
@layer components {
  .masters-grid { gap: 40px; align-items: start; }
  .master { grid-template-columns: minmax(140px, 32%) minmax(0, 1fr); gap: 24px; align-items: start; }
  .master:nth-child(2) { padding-top: 0; }
  .master-photo { max-width: none; }
  .master-photo img { aspect-ratio: 4 / 5; }
  .master h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.3; }
  .master small { font-size: 13px; color: var(--muted); margin-top: 8px; }
  .master p { font-size: 15px; line-height: 1.8; margin-top: 16px; }
  .master p strong { display: block; font-size: 17px; line-height: 1.65; }
  .master-highlights { margin-block: 18px 24px; }
  .master-highlights li { font-size: 14px; line-height: 1.8; margin-block: 8px; }
  .master-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
  .master-actions .button { padding: 13px 18px; font-size: 15px; }
  .master .master-actions .text-link { margin-top: 0; font-size: 14px; }
  @media (min-width: 768px) and (max-width: 1100px) {
    .masters-grid { grid-template-columns: 1fr; gap: 48px; }
    .master { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
  }
  @media (max-width: 767px) {
    .masters-grid { gap: 48px; }
    .master { grid-template-columns: 1fr; gap: 24px; }
    .master-photo { width: min(68%, 260px); max-width: none; }
  }
}

@layer components {
  @media (max-width: 767px) {
    #booking.contact-top { row-gap: 16px; }
    #booking .booking-summary { margin-top: 0; }
  }
}
