:root {
  --background: #fff8f8;
  --surface: #ffffff;
  --rose: #93495e;
  --text: #49383e;
  --muted: #756169;
  --border: #e8d5dc;
  --tint: #f8ecf0;
  font-family: system-ui, "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.85;
}

* { box-sizing: border-box; }
body { margin: 0; }
p { margin: 0.5rem 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.5rem, 6vw, 2.1rem); line-height: 1.5; letter-spacing: 0.03em; margin: 1.5rem 0 0.5rem; }
h2 { font-size: 1.15rem; line-height: 1.6; margin: 0 0 0.5rem; }
h3 { font-size: 1rem; margin: 0 0 0.25rem; }
button, input, select { font: inherit; }
img, video { max-width: 100%; height: auto; }

/* タップ範囲は48px以上を確保する */
a, summary, input, select, button { min-height: 48px; }
a { color: var(--rose); text-underline-offset: 0.25em; display: inline-flex; align-items: center; }
:focus-visible { outline: 3px solid #71394b; outline-offset: 3px; }
section:focus, main:focus, h1:focus { outline: none; }

.skip { position: absolute; top: -100px; left: 1rem; background: var(--surface); padding: 0 1rem; z-index: 5; }
.skip:focus { top: 0; }

.shell { max-width: 720px; margin: auto; padding: 0 1.1rem 7rem; }

header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; border-bottom: 1px solid var(--border); padding: 0.4rem 0; }
.brand { letter-spacing: 0.18em; font-weight: 700; text-decoration: none; }
.menu { text-align: right; }
.menu summary { cursor: pointer; display: inline-flex; align-items: center; padding: 0 0.5rem; color: var(--rose); font-weight: 600; }
.menu nav { display: grid; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0.4rem 1rem; }
.menu nav a { text-decoration: none; }

.intro { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 1.5rem 0; }
.home-card { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.15rem; padding: 1rem; min-height: 96px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; text-decoration: none; }
.home-card-icon { flex: none; width: 56px; height: 56px; object-fit: contain; margin-bottom: 0.2rem; }
.home-card-title { font-weight: 700; }
.home-card-text { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0; }
.chip { padding: 0 1.1rem; border: 1px solid var(--rose); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 600; }

.section, .faq-card, .asset { padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; margin: 1rem 0; scroll-margin-top: 1rem; }
.policy { margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px solid var(--border); }
.policy-text { white-space: pre-line; }
.pending-note { margin-top: 0.8rem; padding: 0.7rem 0.9rem; background: var(--tint); border-radius: 12px; font-size: 0.92rem; }
.notice { padding: 1rem; background: var(--tint); border-radius: 12px; }

.template ul { margin: 0.5rem 0 1rem; padding-left: 1.3rem; }
.template-status { color: var(--muted); font-size: 0.92rem; min-height: 1.5em; }

.related { margin: 2rem 0 1rem; }
.faq-card summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; }
.faq-answer { font-weight: 600; }
.faq-card .button { margin-top: 0.8rem; }
.faq-links { display: flex; flex-wrap: wrap; column-gap: 1.2rem; }

.search { display: grid; gap: 0.4rem; padding: 1rem 0 0.5rem; }
.search label { font-weight: 600; }
.search input, .search select { width: 100%; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 0 0.9rem; color: var(--text); }
.search-status { color: var(--muted); }

.actions { margin: 2rem 0; }
.action-buttons { display: grid; gap: 0.7rem; }
.action-links { display: flex; flex-wrap: wrap; column-gap: 1.2rem; margin-top: 0.6rem; }
.button { justify-content: center; text-align: center; border-radius: 999px; padding: 0.6rem 1.3rem; text-decoration: none; font-weight: 600; border: 1px solid var(--rose); cursor: pointer; line-height: 1.5; }
.button.primary { background: var(--rose); color: #fff; }
.button.secondary { background: var(--surface); color: var(--rose); }

figure { margin-inline: 0; }
figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }

.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); display: flex; justify-content: space-around; padding: 0.3rem 0.5rem max(0.3rem, env(safe-area-inset-bottom)); z-index: 2; }
.bottom-nav a { flex: 1; justify-content: center; max-width: 220px; text-decoration: none; }
[aria-current="page"] { font-weight: 700; text-decoration: underline; }

@media (min-width: 560px) {
  .action-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 340px) {
  .grid { grid-template-columns: 1fr; }
  .shell { padding-inline: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}

/* 施術選び：図付きの入口から、必要な説明だけ表示。 */
.guide-shell { padding-bottom: 12rem; }
.guide-shell h1 { margin-top: .9rem; font-size: 1.55rem; }
.guide-shell .intro { font-size: .9rem; }
.guide-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; margin-top: 1rem; }
.guide-choice { border: 1px solid var(--border); background: var(--surface); border-radius: 18px; color: var(--text); padding: .6rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .2rem; font-weight: 600; line-height: 1.5; }
.guide-choice svg { width: 120px; max-width: 100%; height: 68px; }
.guide-choice[aria-expanded="true"] { border: 2px solid var(--rose); background: var(--tint); padding: calc(.6rem - 1px); }
.guide-image-note { font-size: .73rem; color: var(--muted); margin: .5rem 0; }
.guide-panel { margin: .8rem 0; padding: .9rem; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.guide-panel[hidden] { display: none; }
.guide-summary { font-weight: 600; margin: 0; }
.guide-details summary,.guide-faqs > summary { cursor: pointer; padding: .5rem 0; color: var(--rose); }
.guide-details .section { border: 0; padding: 0; margin: .5rem 0; }
.guide-faqs .related { margin-top: .5rem; }
.guide-cta { position: fixed; bottom: calc(58px + env(safe-area-inset-bottom)); left: 0; right: 0; padding: .5rem 1rem; display: flex; flex-direction: column; align-items: stretch; background: var(--background); border-top: 1px solid var(--border); z-index: 2; }
.guide-cta > a { max-width: 680px; width: 100%; margin: auto; justify-content: center; }
.guide-cta .text-link { font-size: .88rem; min-height: 38px; }
@media (min-width:560px) { .guide-choices { grid-template-columns:repeat(4,minmax(0,1fr)); } }

/* 右手親指で届きやすい下部の主CTAと右寄せ開閉。 */
.bottom-nav { min-height: 64px; align-items: stretch; }
.bottom-nav > a { min-width: 0; font-size: .9rem; }
.bottom-menu { position: relative; flex: 1; max-width: 220px; text-align: right; }
.bottom-menu > summary { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 52px; cursor: pointer; color: var(--rose); font-size: .9rem; font-weight: 600; }
.bottom-menu > summary::-webkit-details-marker { display: none; }
.bottom-menu nav { position: absolute; bottom: calc(100% + .8rem); right: 0; width: min(290px,calc(100vw - 2rem)); max-height: 60dvh; overflow-y: auto; display: grid; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: .5rem 1rem; box-shadow: 0 6px 24px #49383e20; text-align: left; }
.bottom-menu nav a { min-height: 48px; text-decoration: none; }
.guide-cta { bottom: calc(64px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.7fr); gap: .6rem; max-width: 720px; margin-inline: auto; }
.guide-cta > a { width: 100%; margin: 0; min-height: 56px; }
.guide-cta .text-link { min-height: 56px; font-size: .85rem; line-height: 1.5; text-align: center; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: .5rem; }
.guide-cta .button { border-radius: 16px; padding: .65rem .75rem; }
.guide-details > summary,.guide-faqs > summary,.guide-close { display: flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; min-height: 52px; margin: .55rem 0 .2rem auto; padding: .6rem 1rem; border: 1px solid var(--border); border-radius: 14px; background: var(--tint); color: var(--rose); font-weight: 600; line-height: 1.5; cursor: pointer; }
.guide-details > summary::after,.guide-faqs > summary::after { content: '＋'; padding-left: .7rem; }
.guide-details[open] > summary::after,.guide-faqs[open] > summary::after { content: '−'; }
.guide-close { background: var(--surface); font-size: .85rem; }
.guide-shell { padding-bottom: 11rem; }

/* 文字拡大でも固定ボタンが本文と重ならない余白。 */
.guide-cta { bottom: var(--bottom-nav-height, 64px); }
.guide-shell { padding-bottom: calc(var(--bottom-nav-height, 64px) + var(--guide-cta-height, 90px) + 2rem); }

/* 片手操作（右手親指）向けの調整。 */
html { scroll-padding-bottom: calc(var(--bottom-nav-height, 64px) + 5rem); }
.shell { padding-bottom: calc(var(--bottom-nav-height, 64px) + 3rem); }
.bottom-nav { padding-inline: max(.5rem, env(safe-area-inset-left)) max(.5rem, env(safe-area-inset-right)); }

/* 長いページの主CTA。画面下に固定し、ページ末尾のCTAが見えたら隠す。 */
.page-cta { position: fixed; bottom: var(--bottom-nav-height, 64px); left: 0; right: 0; z-index: 2; padding: .45rem 1rem; background: var(--background); border-top: 1px solid var(--border); }
.page-cta[hidden] { display: none; }
.page-cta .button { display: flex; width: 100%; max-width: 688px; margin-inline: auto; min-height: 52px; border-radius: 16px; }

/* 回答カードは見出し全体をタップ範囲にし、開閉の印を右端に置く。 */
.faq-card > summary { justify-content: space-between; gap: .8rem; margin: -1.1rem -1.2rem; padding: 1.1rem 1.2rem; min-height: 64px; }
.faq-card[open] > summary { margin-bottom: 0; padding-bottom: .5rem; }
.faq-card > summary::-webkit-details-marker { display: none; }
.faq-card > summary::after { content: '＋'; flex: none; color: var(--rose); font-weight: 400; }
.faq-card[open] > summary::after { content: '−'; }

/* カード内のボタンは幅いっぱいにして、右手側からも押せるようにする。 */
.faq-card .button, .template .button { display: flex; width: 100%; }

/* 下部メニューは全項目がスクロールなしで収まる高さまで広げる。 */
.bottom-menu nav { max-height: calc(100dvh - var(--bottom-nav-height, 64px) - 5rem); }

/* 症例。写真は縦横比を保ち、読み込み前から場所を確保する。 */
.case-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1.2rem 0; }
.case-card { flex-direction: column; align-items: stretch; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; text-decoration: none; }
.case-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tint); }
.case-card-text { display: flex; flex-direction: column; gap: .1rem; padding: .7rem .9rem .9rem; }
.case-card-title { font-weight: 700; line-height: 1.5; }
.case-card-menu { color: var(--muted); font-size: .85rem; line-height: 1.5; }
.case-detail { padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; margin: 1rem 0; }
.case-menu { color: var(--muted); font-size: .9rem; margin-top: 0; }
.case-photos { display: grid; gap: .75rem; margin: 1rem 0; }
.case-photo { margin: 0; }
.case-photo img { display: block; width: 100%; border-radius: 12px; background: var(--tint); }
.case-facts { margin: 1rem 0 0; }
.case-facts dt { font-weight: 700; margin-top: .8rem; }
.case-facts dd { margin: .2rem 0 0; }
.site-footer { margin: 1.5rem 0 0; font-size: .85rem; }
.privacy-controls .button { display: flex; width: 100%; }
@media (max-width: 340px) { .case-list { grid-template-columns: 1fr; } }
@media (min-width: 560px) { .case-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* HOMEの予約ボタンは、どの幅でも横幅いっぱい（ボタンが1つだけのため、2列に分けない）。 */
.actions-full .action-buttons { grid-template-columns: 1fr; }

/* 現行情報の段階表示。経過は1段階ずつのカード、過ごし方は行動ごとに並べる。 */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: .6rem 0; }
.fact { padding: .55rem .7rem; background: var(--tint); border-radius: 12px; }
.fact dt { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.fact dd { margin: 0; color: var(--rose); font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }

.steps { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .6rem; }
.step { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); }
.step-image { display: block; width: 100%; height: auto; background: var(--tint); }
.step-body { display: grid; gap: .15rem; padding: .7rem .9rem .8rem; }
.step-when { justify-self: start; padding: 0 .7rem; border-radius: 999px; background: var(--rose); color: #fff; font-size: .82rem; font-weight: 600; }
.step-title { line-height: 1.6; }
.step-body p { margin: 0; font-size: .92rem; }
.step-note { color: var(--muted); font-size: .78rem; }

.tiers { list-style: none; margin: .6rem 0; padding: 0; display: grid; gap: .5rem; }
.tier { display: grid; gap: .1rem; padding: .65rem .8rem; border: 1px solid var(--border); border-radius: 12px; }
.tier-when { font-size: .9rem; line-height: 1.6; }
.tier-value { color: var(--rose); font-size: 1.05rem; line-height: 1.5; }
.policy-note { padding: .7rem .9rem; background: var(--tint); border-radius: 12px; font-size: .92rem; }

.rules { margin-top: .9rem; }
.rules h4 { margin: 0 0 .3rem; font-size: .92rem; color: var(--muted); }
.rules ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.rule { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .7rem; align-items: start; padding: .6rem .7rem; border: 1px solid var(--border); border-radius: 12px; }
.rule strong { display: block; line-height: 1.6; }
.rule p { margin: 0; font-size: .92rem; }
.rule-icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--rose); }
.rule-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* 控えることは、枠の色と斜線で見分けられるようにする。 */
.rules-avoid .rule { border-color: var(--rose); }
.rules-avoid .rule-icon::after { content: ''; position: absolute; inset: 20px -1px auto; height: 2px; background: var(--rose); transform: rotate(-45deg); }
.rules-avoid strong::before { content: '控える　'; color: var(--rose); font-size: .78rem; }
.rules-resume .rule { background: var(--tint); }
.rules-resume .rule-icon { background: var(--surface); }

.policy-more { border-top: 1px solid var(--border); }
.policy-more > summary, .policy-choice > summary { display: flex; align-items: center; justify-content: space-between; gap: .8rem; cursor: pointer; color: var(--rose); font-weight: 600; line-height: 1.6; padding: .4rem 0; }
.policy-more > summary::-webkit-details-marker, .policy-choice > summary::-webkit-details-marker { display: none; }
.policy-more > summary::after, .policy-choice > summary::after { content: '＋'; flex: none; font-weight: 400; }
.policy-more[open] > summary::after, .policy-choice[open] > summary::after { content: '−'; }
.policy-more p { margin-top: 0; font-size: .92rem; }
@media (min-width: 560px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- 操作への反応。短く、控えめに。 ---- */
a, button, summary { -webkit-tap-highlight-color: transparent; }
.home-card, .case-card, .button, .chip, .guide-choice, .category-chip, .switcher button, .guide-close {
  transition: transform .14s ease, background-color .14s ease, border-color .14s ease, color .14s ease, box-shadow .14s ease;
}
.home-card:active, .case-card:active, .button:active, .chip:active, .guide-choice:active, .category-chip:active, .guide-close:active { transform: scale(.98); }
.home-card:active, .case-card:active, .button.secondary:active, .chip:active, .guide-choice:active, .category-chip:active, .guide-close:active, .guide-cta .text-link:active { background-color: var(--tint); }
.button.primary:active { background-color: #7d3c50; }
summary, .bottom-nav a, .menu nav a, .bottom-menu nav a { transition: background-color .14s ease; }
.faq-card > summary { border-radius: 17px; }
.faq-card > summary:active, .policy-more > summary:active, .policy-choice > summary:active, .bottom-nav a:active, .bottom-menu > summary:active, .bottom-menu nav a:active, .guide-details > summary:active, .guide-faqs > summary:active { background-color: var(--tint); }

/* HOMEの入口カード：押せることを小さな矢印で示す。 */
.home-card { position: relative; padding-right: 1.6rem; }
.home-card::after { content: '›'; position: absolute; top: .55rem; right: .8rem; color: var(--rose); font-size: 1.25rem; line-height: 1; opacity: .6; transition: transform .14s ease, opacity .14s ease; }
.home-card:active::after { transform: translateX(2px); opacity: 1; }

/* 下部ナビ：いまのページを上の線でも示す。 */
.bottom-nav > a[aria-current="page"] { text-decoration: none; color: var(--rose); box-shadow: inset 0 2px 0 var(--rose); }

/* 開閉：中身は短く現れ、印（＋／−）は縦線の伸び縮みで切り替える。 */
@keyframes reveal { from { opacity: 0; transform: translateY(-4px); } }
.faq-card[open] > :not(summary), .policy-more[open] > :not(summary), .policy-choice[open] > :not(summary),
.guide-details[open] > :not(summary), .guide-faqs[open] > :not(summary), .bottom-menu[open] > nav, .menu[open] > nav,
.guide-panel:not([hidden]) { animation: reveal .18s ease-out; }
.faq-card > summary::after, .policy-more > summary::after, .policy-choice > summary::after, .guide-details > summary::after, .guide-faqs > summary::after,
.faq-card[open] > summary::after, .policy-more[open] > summary::after, .policy-choice[open] > summary::after, .guide-details[open] > summary::after, .guide-faqs[open] > summary::after {
  content: ''; flex: none; width: 14px; height: 14px; padding: 0;
  background: linear-gradient(var(--rose), var(--rose)) center / 100% 1.5px no-repeat, linear-gradient(var(--rose), var(--rose)) center / 1.5px 100% no-repeat;
  transition: background-size .18s ease;
}
.faq-card[open] > summary::after, .policy-more[open] > summary::after, .policy-choice[open] > summary::after, .guide-details[open] > summary::after, .guide-faqs[open] > summary::after { background-size: 100% 1.5px, 1.5px 0; }
.guide-details > summary::after, .guide-faqs > summary::after { margin-left: .7rem; }
.guide-choice { transition: transform .14s ease, background-color .18s ease, border-color .18s ease; }

/* ページ内で移動した先を、短い色の変化で示す。 */
@keyframes landed { from { background-color: var(--tint); border-color: var(--rose); } }
.landed { animation: landed .7s ease-out; }

/* 固定CTA：出入りを短いスライドにする。下部ナビとの間隔も少し広げる。 */
.page-cta { padding: .5rem 1rem .7rem; transition: transform .18s ease, opacity .18s ease, visibility .18s; }
.page-cta[hidden] { display: block; transform: translateY(100%); opacity: 0; visibility: hidden; pointer-events: none; }

/* Q&Aのカテゴリ：横に並べ、収まらない分は横スクロール。本文より目立たせない。 */
.search { grid-template-columns: minmax(0, 1fr); }
.category-chips { display: flex; gap: .5rem; min-width: 0; margin: .4rem -1.1rem 0; padding: .1rem 1.1rem .3rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.category-chips::-webkit-scrollbar { display: none; }
.category-chip { flex: none; padding: 0 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .9rem; white-space: nowrap; cursor: pointer; }
.category-chip[aria-pressed="true"] { border-color: var(--rose); background: var(--tint); color: var(--rose); font-weight: 700; }
@media (max-width: 340px) { .category-chips { margin-inline: -.8rem; padding-inline: .8rem; } }

/* 表示する施術の切替。 */
.switcher { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem; padding: .3rem; margin: 1.2rem 0 0; background: var(--tint); border-radius: 999px; }
.switcher button { border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 600; line-height: 1.4; padding: 0 .5rem; cursor: pointer; }
.switcher button[aria-pressed="true"] { background: var(--surface); color: var(--rose); box-shadow: 0 1px 3px rgb(73 56 62 / .14); }

/* 経過の縦タイムライン：左に線、各段階に点と日付。画像は、ある段階だけ見出しの下に入る。 */
.steps { gap: 0; margin-top: 1rem; }
.step { position: relative; display: grid; gap: .25rem; padding: 0 0 1.3rem 1.9rem; border: 0; border-radius: 0; overflow: visible; background: none; }
.step:last-child { padding-bottom: .2rem; }
.step::before { content: ''; position: absolute; left: 6px; top: .9rem; bottom: -.4rem; width: 2px; background: var(--border); }
.step:last-child::before { display: none; }
.step::after { content: ''; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border: 3px solid var(--rose); border-radius: 50%; background: var(--surface); }
.step-image { max-width: min(100%, 420px); margin: .3rem 0 .2rem; border-radius: 12px; }
.step > p { margin: 0; font-size: .92rem; }
@media (min-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* 動きを減らす設定では、動きを止める。 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 案内文の下の外部リンク（行き方の動画、駐車場の地図）。 */
.policy-links { list-style: none; margin: .6rem 0 0; padding: 0; border-top: 1px solid var(--border); }
.policy-links li { border-bottom: 1px solid var(--border); }
.policy-links li:last-child { border-bottom: 0; }
.policy-links a { display: flex; justify-content: space-between; gap: .8rem; padding: .5rem 0; text-decoration: none; line-height: 1.6; font-size: .95rem; transition: background-color .14s ease; }
.policy-links a::after { content: '›'; flex: none; }
.policy-links a:active { background-color: var(--tint); }

/* 現行情報をそのまま回答にする場合に、改行を保つ。 */
.faq-answer { white-space: pre-line; }

/* ---- 情報の強弱：数字を強く、補足を弱く。カードの間隔を広げる。 ---- */
h2 { font-size: 1.2rem; }
.section, .asset { margin: 1.5rem 0; padding: 1.3rem 1.2rem; }
.section-step { display: inline-block; margin-bottom: .4rem; padding: 0 .75rem; border-radius: 999px; background: var(--tint); color: var(--rose); font-size: .78rem; font-weight: 700; line-height: 1.9; }
.section-body { margin: 0; }
.policy-bare { margin-top: .7rem; padding-top: 0; border-top: 0; }
.visual-lead { margin: .6rem 0 0; color: var(--muted); font-size: .85rem; }
.pending-note { color: var(--muted); font-size: .85rem; }

/* 要点：値を大きく、ラベルと補足は小さく。3つのときは最後の1つを横いっぱいにする。 */
.facts { gap: .6rem; margin: .7rem 0 0; }
.fact { padding: .7rem .8rem; border-radius: 14px; }
.fact dd { color: var(--text); font-size: 1.2rem; line-height: 1.45; }
.fact dd.fact-note { margin-top: .15rem; color: var(--muted); font-size: .78rem; font-weight: 400; line-height: 1.55; }
.facts > .fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 560px) { .facts > .fact:last-child:nth-child(odd) { grid-column: auto; } }

/* 料金：金額を最も強く。段（初回→2回目→合計）、2つの比較、縦の一覧。 */
.price-block { margin-top: 1.1rem; }
.price-title { margin: 0 0 .45rem; color: var(--muted); font-size: .85rem; font-weight: 700; }
.price-rows { list-style: none; margin: 0; padding: 0; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.price-name { display: grid; min-width: 0; }
.price-label { font-weight: 600; line-height: 1.5; }
.price-note { color: var(--muted); font-size: .8rem; line-height: 1.55; }
.price-value { flex: none; font-size: 1.45rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
.price-value-text { font-size: .95rem; color: var(--rose); }
.price-ladder { padding: 1rem 1rem .9rem; border: 1px solid var(--border); border-radius: 16px; }
.price-ladder .price-title { color: var(--text); font-size: .95rem; }
.price-ladder .price-row { position: relative; }
.price-ladder .price-row:not(:last-child) { margin-bottom: 1.7rem; }
.price-ladder .price-row:not(:last-child)::after { content: '↓'; position: absolute; left: .1rem; bottom: -1.6rem; color: var(--rose); font-size: .9rem; line-height: 1.5; opacity: .7; }
.price-total { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; margin: .9rem 0 0; padding-top: .8rem; border-top: 1px solid var(--border); }
.price-total .price-value { font-size: 1.6rem; }
.price-after { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; margin: .8rem 0 0; padding-top: .7rem; border-top: 1px dashed var(--border); color: var(--muted); font-size: .85rem; line-height: 1.6; }
.price-after strong { flex: none; color: var(--text); font-size: 1rem; }
.price-pair .price-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.price-pair .price-row { flex-direction: column; align-items: flex-start; gap: .2rem; padding: .8rem .85rem; background: var(--tint); border-radius: 14px; }
.price-pair .price-label { font-size: .9rem; }
.price-pair .price-value { font-size: 1.35rem; }
.price-list .price-row { padding: .75rem 0; border-top: 1px solid var(--border); }
.price-list .price-row:last-child { padding-bottom: 0; }
@media (max-width: 340px) { .price-pair .price-value { font-size: 1.15rem; } .price-value { font-size: 1.3rem; } }
.meta { display: grid; gap: .3rem; margin: 1rem 0 0; }
.meta > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .85rem; }
.meta dd { margin: 0; color: var(--text); font-size: 1rem; font-weight: 700; }

/* チェックリスト・語の並び・順番。 */
.checks { list-style: none; display: grid; gap: .75rem; margin: .7rem 0 0; padding: 0; }
.checks li { position: relative; display: grid; padding-left: 1.7rem; line-height: 1.6; }
.checks li::before { content: '✓'; position: absolute; left: .1rem; top: 0; color: var(--rose); font-weight: 700; }
.checks li.arrow::before { content: '→'; }
.checks strong { font-weight: 600; }
.checks span { color: var(--muted); font-size: .85rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: .7rem 0 0; padding: 0; }
.tags li { padding: .2rem .8rem; border: 1px solid var(--border); border-radius: 999px; background: var(--tint); font-size: .9rem; line-height: 1.65; }
.flow { list-style: none; counter-reset: flow; display: grid; gap: .55rem; margin: .7rem 0 0; padding: 0; }
.flow li { counter-increment: flow; display: flex; align-items: center; gap: .65rem; line-height: 1.6; }
.flow li::before { content: counter(flow); flex: none; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--tint); color: var(--rose); font-size: .85rem; font-weight: 700; }

/* 来院先と行き方。 */
.place-name { display: block; font-size: 1.3rem; line-height: 1.5; }
.place-address { margin: .2rem 0 0; }
.place-access { margin: .3rem 0 0; color: var(--muted); font-size: .85rem; }
.route { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.route h3 { font-size: 1.05rem; }
.route-note { margin: .1rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.7; }
.route-links { margin-top: .5rem; }
.route-links a { align-items: center; padding: .55rem 0; }
.route-links a::before { flex: none; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--tint); color: var(--rose); font-size: .7rem; font-weight: 700; }
.route-video a::before { content: '▶'; }
.route-map a::before { content: 'P'; font-size: .85rem; }
.link-text { flex: 1; display: grid; min-width: 0; color: var(--text); font-weight: 600; }
.link-note { color: var(--muted); font-size: .8rem; font-weight: 400; }

/* 「詳しく見る」などの折りたたみ。初期表示より一段弱くする。 */
.fold > summary { display: flex; align-items: center; justify-content: space-between; gap: .8rem; cursor: pointer; color: var(--rose); font-weight: 600; line-height: 1.6; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--rose), var(--rose)) center / 100% 1.5px no-repeat, linear-gradient(var(--rose), var(--rose)) center / 1.5px 100% no-repeat; transition: background-size .18s ease; }
.fold[open] > summary::after { background-size: 100% 1.5px, 1.5px 0; }
.fold[open] > :not(summary) { animation: reveal .18s ease-out; }
.fold > summary:active { background-color: var(--tint); }
.section-more { margin-top: 1rem; border-top: 1px solid var(--border); }
.section-more > summary { font-size: .9rem; }
.section-more > p { margin: 0 0 .5rem; color: var(--muted); font-size: .88rem; }
.template.fold > summary { color: var(--text); font-size: 1.05rem; font-weight: 700; margin: -1.3rem -1.2rem; padding: 1.3rem 1.2rem; min-height: 64px; border-radius: 17px; }
.template.fold[open] > summary { margin-bottom: 0; padding-bottom: .5rem; }
.template-note { color: var(--muted); font-size: .85rem; }

/* 経過のタイムライン：線と点を細く、段の間隔を広く。日付を最も強く、説明は弱く。 */
.step { gap: .2rem; padding: 0 0 2rem 1.75rem; }
.step::before { left: 6px; top: 1.1rem; width: 1px; }
.step::after { top: 7px; width: 13px; height: 13px; border-width: 2px; }
.step-when { padding: 0; border-radius: 0; background: none; color: var(--rose); font-size: 1.1rem; font-weight: 700; line-height: 1.5; }
.step-title { font-size: 1rem; font-weight: 600; line-height: 1.6; }
.step > p { color: var(--muted); font-size: .88rem; line-height: 1.75; }
.step-image { margin: .5rem 0 .3rem; }

/* Q&A：質問の一覧を主役に。カテゴリの小見出しで区切り、開いた回答は結論を強く、続きを弱くする。 */
.faq-card { margin: .7rem 0; }
.faq-group { margin: 1.7rem 0 .3rem; color: var(--muted); font-size: .85rem; font-weight: 700; letter-spacing: .06em; }
.faq-card .policy-text { color: var(--muted); font-size: .9rem; }

/* ---- 章：枠付きのカードを並べず、章番号・余白・背景の切替で区切る。カードは比べるもの・選ぶものだけ。 ---- */
.shell { --gutter: 1.1rem; }
@media (max-width: 340px) { .shell { --gutter: .8rem; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.chapter { margin: 0 calc(-1 * var(--gutter)); padding: 2.8rem var(--gutter) 2.6rem; border: 0; border-radius: 0; background: var(--surface); scroll-margin-top: 0; }
.chapter-tint { background: var(--background); }
.chapter-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: end; margin-bottom: .9rem; }
.chapter-no { grid-column: 1; color: var(--rose); font-size: 2.3rem; font-weight: 300; line-height: 1; letter-spacing: .04em; opacity: .38; }
.chapter-head h2 { grid-column: 1; margin: .5rem 0 0; font-size: 1.4rem; line-height: 1.45; }
.chapter-icon { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: block; width: 52px; height: 52px; color: var(--rose); opacity: .55; }
.chapter-icon svg { width: 100%; height: 100%; stroke-width: 1.1; }
.ui-icon svg, .chapter-icon svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.ui-icon { display: inline-block; width: 14px; height: 14px; margin-right: .3rem; vertical-align: -2px; }
.ui-icon svg { display: block; width: 100%; height: 100%; stroke-width: 1.8; }
.chapter .section-body { color: var(--text); }
.chapter .policy-bare { margin-top: 1.1rem; }
.chapter .policy:not(.policy-bare) { margin-top: 1.4rem; padding-top: 0; border-top: 0; }
.chapter .policy h3 { color: var(--muted); font-size: .85rem; font-weight: 700; }
.chapter .section-more { margin-top: 1.5rem; }
.chapter-cta { margin: 1.3rem 0 0; }
.chapter-cta .button { display: flex; width: 100%; min-height: 56px; border-radius: 16px; }
.chapter-cta .text-link { font-weight: 600; }
.chapter-cta .text-link::after { content: '›'; margin-left: .4rem; }
.chapter + .template, .switch-other + .template, .chapter + .related { margin-top: 2.2rem; }

/* 料金フロー：初回 → 2回目 → 合計 を、丸と1本の線でつなぐ。金額は最初から見えていて、線と丸だけが1回つながる。 */
.price-ladder { padding: 0; border: 0; border-radius: 0; }
.price-ladder .price-rows { position: relative; }
.price-ladder .price-rows::before { content: ''; position: absolute; left: 6px; top: .95rem; bottom: 1.25rem; width: 1.5px; background: var(--rose); transform-origin: top; transition: transform .4s ease; }
.price-ladder .price-row { padding-left: 2.1rem; }
.price-ladder .price-row:not(:last-child)::after { content: none; }
.price-ladder .price-row::before { content: ''; position: absolute; left: 0; top: .5rem; width: 13px; height: 13px; border: 2px solid var(--rose); border-radius: 50%; background: var(--rose); transition: background-color .2s ease, border-color .2s ease; }
.price-ladder .price-row:nth-child(2)::before { transition-delay: .15s; }
.price-ladder .price-row:nth-child(3)::before { transition-delay: .3s; }
.price-ladder .price-total { margin: 0; padding-top: 0; border-top: 0; }
.price-ladder .price-total::before { top: .65rem; box-shadow: 0 0 0 4px var(--tint); }
.price-ladder .price-value { font-size: 1.6rem; }
.price-ladder .price-total .price-value { font-size: 1.85rem; }
.price-ladder .price-after { margin-top: 1.4rem; }
.price-ladder.anim:not(.in) .price-rows::before { transform: scaleY(0); }
.price-ladder.anim:not(.in) .price-row:not(:first-child)::before { border-color: var(--border); background: var(--surface); }
@media (max-width: 340px) { .price-ladder .price-value { font-size: 1.4rem; } .price-ladder .price-total .price-value { font-size: 1.6rem; } }
.chapter .price-title { display: none; }
.chapter .price-block { margin-top: 0; }
.chapter .meta { margin-top: 1.3rem; }
.meta dt { display: flex; align-items: center; }

/* チェックが上から順に付く（章の中だけ）。 */
.chapter .checks li::before { transition: opacity .2s ease; }
.chapter .checks li:nth-child(2)::before { transition-delay: .08s; }
.chapter .checks li:nth-child(3)::before { transition-delay: .16s; }
.chapter .checks li:nth-child(4)::before { transition-delay: .24s; }
.chapter .checks.anim:not(.in) li::before { opacity: .15; }

/* 経過：スクロールに合わせて線が進み、通過した段の丸が塗られる。文と画像は最初から見えている。 */
.steps { position: relative; }
.steps-progress { position: absolute; left: 6px; top: .9rem; width: 1.5px; height: calc((100% - 2rem) * var(--progress, 1)); background: var(--rose); pointer-events: none; }
.step::after { background: var(--rose); transition: background-color .25s ease; }
.steps.live .step:not(.passed)::after { background: var(--surface); }
.chapter .facts { margin-top: 0; }

/* 切替：選んでいる印が短く横へ移る。もう一方への入口を、内容の終わりにも置く。 */
.switcher { position: relative; margin: 1.2rem 0 1.4rem; }
.switcher::before { content: ''; position: absolute; top: .3rem; bottom: .3rem; left: .3rem; width: calc(50% - .45rem); border-radius: 999px; background: var(--surface); box-shadow: 0 1px 3px rgb(73 56 62 / .14); transition: transform .25s ease; }
.switcher[data-index="1"]::before { transform: translateX(calc(100% + .3rem)); }
.switcher button { position: relative; min-height: 48px; }
.switcher button[aria-pressed="true"] { background: transparent; box-shadow: none; }
.switch-other { display: flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; min-height: 52px; margin: 1.4rem 0 1.6rem; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: var(--rose); font-weight: 600; line-height: 1.5; cursor: pointer; transition: background-color .14s ease; }
.switch-other::after { content: '›'; }
.switch-other:active { background-color: var(--tint); }

/* 進み具合：予約前 → 来院前 → 当日。スクロールに合わせて、いまいる章まで塗られる。 */
.stepper { position: sticky; top: 0; z-index: 1; margin: .6rem calc(-1 * var(--gutter)) 0; padding: .35rem var(--gutter) .2rem; background: var(--background); border-bottom: 1px solid var(--border); }
.stepper ol { list-style: none; display: flex; margin: 0; padding: 0; counter-reset: stepper; }
.stepper li { position: relative; flex: 1; min-width: 0; counter-increment: stepper; }
.stepper li + li::before { content: ''; position: absolute; top: 1.1rem; left: calc(-50% + .95rem); right: calc(50% + .95rem); height: 1.5px; background: var(--border); transition: background-color .3s ease; }
.stepper li:has(> a.done) + li::before { background: var(--rose); }
.stepper a { flex-direction: column; justify-content: flex-start; gap: .15rem; width: 100%; min-height: 56px; padding-top: .35rem; color: var(--muted); font-size: .8rem; line-height: 1.5; text-decoration: none; }
.stepper a::before { content: counter(stepper); display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border: 1.5px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--muted); font-size: .75rem; font-weight: 700; transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.stepper a.done::before, .stepper a[aria-current="step"]::before { border-color: var(--rose); background: var(--rose); color: #fff; }
.stepper a[aria-current="step"] { color: var(--rose); font-weight: 700; }

/* アクセス：来院先を大きく。行き方は1件ずつ押せる行にする。 */
.chapter .place-name { font-size: 1.55rem; }
.chapter .route { margin-top: 0; padding-top: 0; border-top: 0; }
.chapter .route-links { margin-top: .8rem; border-top: 0; }
.chapter .route-links li { margin-bottom: .6rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.chapter .route-links li:last-child { border-bottom: 1px solid var(--border); margin-bottom: 0; }
.chapter .route-links a { gap: .8rem; padding: .7rem .9rem; }
.chapter .route-video a::after { content: '動画 ›'; color: var(--rose); font-size: .8rem; white-space: nowrap; }
.chapter .route-map a::after { content: '地図 ›'; color: var(--rose); font-size: .8rem; white-space: nowrap; }
.chapter .route-note { margin: 0; font-size: .85rem; }

/* Q&A：検索とカテゴリを上部に残し、いつでも探し直せるようにする。 */
.search { position: sticky; top: 0; z-index: 1; margin: 0 calc(-1 * var(--gutter)); padding: .6rem var(--gutter) .3rem; background: var(--background); }
.search .category-chips { margin: .3rem calc(-1 * var(--gutter)) 0; padding-inline: var(--gutter); }

/* 回答へ直接移動したとき、上部に残る検索の下に先頭が来るようにする。 */
.search ~ .related .faq-card { scroll-margin-top: 8.6rem; }

/* ---- 親しみ：やわらかい形と、説明としての図。動くのは線・丸・印だけ。 ---- */
/* 章の帯は上端を丸くし、紙が重なるように見せる。 */
.chapter { --band: var(--surface); --sheet: 26px; border-radius: var(--sheet) var(--sheet) 0 0; background: var(--band); }
.chapter-tint { --band: var(--background); background: var(--band); }
.chapter + .chapter { margin-top: calc(-1 * var(--sheet)); padding-top: calc(2.8rem + var(--sheet)); }
.chapter:has(+ .chapter) { padding-bottom: calc(2.6rem + var(--sheet)); }
/* 章番号の後ろに、淡い丸を1つ置く。 */
.chapter-no { position: relative; z-index: 0; justify-self: start; color: rgb(147 73 94 / .5); opacity: 1; }
.chapter-no::before { content: ''; position: absolute; z-index: -1; left: -.55rem; top: -.5rem; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--tint); }
.chapter-icon { opacity: .7; }
.shell > main > .intro { font-size: .82rem; }

/* 料金フロー：丸の中に 1 → 2 → ＝ を入れ、金額を読まなくても「1回目と2回目で合計」と分かるようにする。 */
.price-ladder .price-rows { counter-reset: flow; }
.price-ladder .price-rows::before { left: 11px; top: 1.1rem; bottom: 1.5rem; }
.price-ladder .price-row { padding-left: 2.6rem; }
.price-ladder .price-row::before { counter-increment: flow; content: counter(flow); display: grid; place-items: center; top: .28rem; width: 24px; height: 24px; border-width: 1.5px; color: #fff; font-size: .72rem; font-weight: 700; line-height: 1; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.price-ladder .price-total::before { content: '＝'; top: .45rem; }
.price-ladder.anim:not(.in) .price-row:not(:first-child)::before { color: var(--muted); }
/* 縦に並べる料金は、枠を使わず細い線で区切る。 */
.chapter .price-list .price-row { padding: 1rem 0; border-top: 1px solid var(--border); }
.chapter .price-list .price-row:last-child { padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.chapter .price-list .price-label { font-size: 1rem; }

/* 経過：小さな時間軸が上に残り、いま見ている時期が進む。 */
.time-rail { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: .9rem; margin: 0 calc(-1 * var(--gutter)); padding: .55rem var(--gutter); background: var(--band); border-bottom: 1px solid var(--border); }
.time-now { flex: none; min-width: 4.6rem; color: var(--rose); font-size: .95rem; font-weight: 700; line-height: 1.5; }
.time-dots { position: relative; flex: 1; display: flex; align-items: center; justify-content: space-between; }
.time-dots::before { content: ''; position: absolute; left: 4px; right: 4px; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--border); }
.time-dots i { position: relative; width: 9px; height: 9px; border: 1.5px solid var(--border); border-radius: 50%; background: var(--band); transition: background-color .25s ease, border-color .25s ease, transform .25s ease; }
.time-dots i.on { border-color: var(--rose); background: var(--rose); }
.steps { margin-top: 1.6rem; }
.steps.live .step.current::after { box-shadow: 0 0 0 4px var(--tint); }
.step::after { transition: background-color .25s ease, box-shadow .25s ease; }
/* 画像はイラスト。実際の経過写真と取り違えないよう、画像の隅に札を付ける。 */
.step-figure { position: relative; max-width: min(100%, 420px); margin: .5rem 0 .3rem; }
.step-figure .step-image { margin: 0; }
.step-tag { position: absolute; left: .5rem; bottom: .5rem; padding: 0 .55rem; border-radius: 999px; background: rgb(255 255 255 / .88); color: var(--muted); font-size: .68rem; line-height: 1.8; }

/* 施術前：予約前 → 来院前 → 当日 を1本の道すじでつなぐ。通ってきた章の節が塗られる。 */
.stepper.rail ~ .chapter { position: relative; padding-left: calc(var(--gutter) + 2.5rem); }
.stepper.rail ~ .chapter::before { content: ''; position: absolute; left: calc(var(--gutter) + .7rem); top: 0; bottom: 0; border-left: 1.5px dashed var(--border); transition: border-color .3s ease; }
.stepper.rail ~ .chapter.reached::before { border-left-color: var(--rose); }
.stepper.rail ~ .chapter .chapter-no { position: absolute; left: var(--gutter); top: calc(2.8rem + var(--sheet) - .2rem); display: grid; place-items: center; width: calc(1.4rem + 3px); height: calc(1.4rem + 3px); border: 1.5px solid var(--border); border-radius: 50%; background: var(--band); color: var(--muted); font-size: .66rem; font-weight: 700; letter-spacing: 0; transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
.stepper.rail + .chapter .chapter-no { top: 2.6rem; }
.stepper.rail ~ .chapter .chapter-no::before { content: none; }
.stepper.rail ~ .chapter.reached .chapter-no { border-color: var(--rose); background: var(--rose); color: #fff; }
.stepper.rail ~ .chapter .chapter-head h2 { margin-top: 0; }
.stepper a::before { content: none; }
.stepper-mark { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border: 1.5px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--muted); transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.stepper-mark svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stepper-count::before { content: counter(stepper); font-size: .75rem; font-weight: 700; }
.stepper a.done .stepper-mark, .stepper a[aria-current="step"] .stepper-mark { border-color: var(--rose); background: var(--rose); color: #fff; }

/* 駅から：3つの出口を1本の線でつなぎ、その先に来院先を置く（関係を示す図で、地図ではない）。 */
.chapter .route-walk { padding-left: 1.8rem; }
.route-walk .route-links li { position: relative; }
.route-walk .route-links li::before { content: ''; position: absolute; left: -1.3rem; top: 0; bottom: -.7rem; width: 1.5px; background: var(--rose); transition: background-color .3s ease; }
.route-walk .route-links li:first-child::before { top: 50%; }
.route-walk .route-links li::after { content: ''; position: absolute; left: calc(-1.3rem - 5px); top: 50%; width: 12px; height: 12px; margin-top: -6px; border: 1.5px solid var(--rose); border-radius: 50%; background: var(--band); box-sizing: border-box; }
.route-walk .route-links li:nth-child(2)::before { transition-delay: .1s; }
.route-walk .route-links li:nth-child(3)::before { transition-delay: .2s; }
.route-goal { position: relative; display: flex; align-items: center; margin: .7rem 0 0; min-height: 2rem; font-weight: 700; line-height: 1.5; }
.route-goal::before { content: ''; position: absolute; left: -1.3rem; top: -.1rem; height: .6rem; width: 1.5px; background: var(--rose); transition: background-color .3s ease .3s; }
.route-goal .ui-icon { position: absolute; left: calc(-1.3rem - 11px); top: 50%; width: 24px; height: 24px; margin: -10px 0 0; color: var(--rose); background: var(--band); transition: color .3s ease .3s; }
.route-goal .ui-icon svg { stroke-width: 1.5; }
.route-walk.anim:not(.in) .route-links li::before, .route-walk.anim:not(.in) .route-goal::before { background: var(--border); }
.route-walk.anim:not(.in) .route-goal .ui-icon { color: var(--border); }

/* Q&A：カテゴリの見出しに小さな丸と細い線。開いた回答は、結論を淡い背景と左の線で示す。 */
.faq-group { display: flex; align-items: center; gap: .6rem; margin: 2.1rem 0 .5rem; color: var(--rose); }
.faq-group::before { content: ''; flex: none; width: 8px; height: 8px; border: 1.5px solid var(--rose); border-radius: 50%; }
.faq-group::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.faq-card[open] > .faq-answer { margin: .2rem 0 .7rem; padding: .7rem .9rem; border-left: 3px solid var(--rose); border-radius: 4px 12px 12px 4px; background: var(--tint); }

/* ---- どちらの施術の話か：ラベルの文字と、背景の色の両方で示す ---- */
.kind-label { display: inline-block; margin-bottom: .55rem; padding: 0 .7rem; border-radius: 999px; background: var(--tint); color: var(--rose); font-size: .74rem; font-weight: 700; line-height: 1.9; }
.kind-dullness { --tint: #e9e5f1; }
.chapter.kind-dullness { --band: #f7f5fb; }
.chapter-tint.kind-dullness { --band: #f1eef7; }
.kind-dullness .kind-label, .kind-label-dullness { background: #e9e5f1; color: #5f5475; }
.section:not(.chapter).kind-dullness { background: #f7f5fb; }
.faq-question { display: grid; justify-items: start; min-width: 0; }
.faq-question .kind-label { margin-bottom: .2rem; font-size: .68rem; }

/* 守ってほしい注意。 */
.policy-alert { position: relative; margin: 1rem 0 0; padding: .8rem .9rem .8rem 2.7rem; border: 1.5px solid var(--rose); border-radius: 14px; background: var(--surface); font-weight: 700; line-height: 1.6; }
.policy-alert::before { content: '!'; position: absolute; left: .8rem; top: .8rem; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--rose); color: #fff; font-size: .85rem; }

/* 日付の計算：選んだ日（または今日）から、目安の日付までを1本の線でつなぐ。 */
.calc { margin: 1.3rem 0 0; padding: 1rem 1rem 1.1rem; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.calc-question { margin: 0 0 .6rem; font-weight: 700; }
.calc-pick { display: block; color: var(--muted); font-size: .82rem; }
.calc input[type="date"] { display: block; width: 100%; min-height: 48px; margin: .2rem 0 .9rem; padding: 0 .8rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; }
.calc-flow { list-style: none; margin: 0; padding: 0; }
.calc-flow li { position: relative; display: grid; padding: 0 0 1.1rem 1.7rem; }
.calc-flow li:last-child { padding-bottom: 0; }
.calc-flow li::before { content: ''; position: absolute; left: 5px; top: .9rem; bottom: -.5rem; width: 1.5px; background: var(--rose); }
.calc-flow li:last-child::before { display: none; }
.calc-flow li::after { content: ''; position: absolute; left: 0; top: .5rem; width: 11px; height: 11px; border: 1.5px solid var(--rose); border-radius: 50%; background: var(--surface); box-sizing: border-box; }
.calc-to::after { background: var(--rose) !important; }
.calc-label { color: var(--muted); font-size: .82rem; line-height: 1.6; }
.calc-span { justify-self: start; margin-bottom: .1rem; padding: 0 .55rem; border-radius: 999px; background: var(--tint); color: var(--rose); font-size: .72rem; font-weight: 700; line-height: 1.8; }
.calc-date { font-size: 1.3rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.calc-note { color: var(--muted); font-size: .78rem; }
.calc-empty .calc-date { color: var(--border); }

/* 前後に空ける期間の図。 */
.gap-figure { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr) auto minmax(0, 1fr); align-items: center; gap: .3rem; margin: .9rem 0 0; text-align: center; }
.gap-side { padding: .5rem .3rem; border: 1px dashed var(--border); border-radius: 12px; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.gap-center { padding: .7rem .3rem; border-radius: 12px; background: var(--rose); color: #fff; font-size: .8rem; line-height: 1.5; }
.gap-span { position: relative; padding: 0 .1rem 1rem; color: var(--rose); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.gap-span::after { content: '←→'; position: absolute; left: 0; right: 0; bottom: 0; font-weight: 400; line-height: 1; letter-spacing: -.1em; }

/* 表面の層の厚みを比べる模式図。 */
.layers { margin: 1.2rem 0 0; }
.layers-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.layer { display: grid; gap: .35rem; justify-items: center; text-align: center; }
.layer strong { font-size: .9rem; }
.layer-stack { display: block; width: 100%; height: 56px; border-radius: 10px; background: var(--tint); overflow: hidden; }
.layer-stack i { display: block; height: calc(var(--thick) * 8px); background: var(--rose); opacity: .75; }
.layer-note { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.layers figcaption { margin-top: .7rem; font-size: .82rem; }

/* 地図の埋め込み。幅に合わせて縮む。 */
.map-embed { margin: 1rem 0 0; aspect-ratio: 4 / 3; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--tint); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

/* 料金が当てはまる条件。 */
.price-for { margin: 0 0 .5rem; color: var(--muted); font-size: .85rem; }

/* ==== 色と形の決まり（全ページ共通） ====
   色：ローズ＝リップアートメイク、セージ＝くすみ薬剤除去、オフホワイト＝共通の情報。
   形：塗りつぶしのローズ・輪郭のある丸い形＝押せるもの／選択中。角ばった淡い面・線・小さな点＝読むだけの情報。
   --info / --info-tint は「読むだけの情報」の色。ボタンやリンクは、どの施術の中でも --rose のまま。 */
:root { --info: #6f5c63; --info-tint: #f3efeb; --band-plain: #ffffff; --band-alt: #faf8f5; }
.kind-color, [data-kind="color"] { --info: #93495e; --info-tint: #f7e4ea; --band-plain: #fdf3f5; --band-alt: #fbeaef; }
.kind-dullness, [data-kind="dullness"] { --info: #4a6652; --info-tint: #dde8dc; --band-plain: #f2f6f1; --band-alt: #e8efe7; --tint: #f8ecf0; }
.chapter.chapter-plain { --band: var(--band-plain); }
.chapter.chapter-tint { --band: var(--band-alt); }
.section:not(.chapter).kind-color, .section:not(.chapter).kind-dullness { background: var(--band-plain); }

/* 施術名のラベル：角ばった札。押せるチップ（丸い形・輪郭あり）と形を変える。 */
.section .kind-label, .faq-card .kind-label, .policy .kind-label { padding: 0 .55rem 0 .5rem; border-left: 3px solid var(--info); border-radius: 3px; background: var(--info-tint); color: var(--info); }
.faq-card.kind-color, .faq-card.kind-dullness { border-left: 3px solid var(--info); }
.choice-title { display: grid; justify-items: start; }
.policy-choice.kind-color, .policy-choice.kind-dullness { margin-top: .8rem; padding: .3rem .9rem .6rem; border: 0; border-left: 3px solid var(--info); border-radius: 4px 14px 14px 4px; background: var(--band-plain); }
.kind-block { padding: .9rem; border-top: 0; border-left: 3px solid var(--info); border-radius: 4px 14px 14px 4px; background: var(--band-plain); }

/* 読むだけの情報：施術の色に従う。 */
.chapter-no { color: var(--info); font-weight: 200; }
.chapter-no::before { background: var(--info-tint); }
.chapter-icon { color: var(--info); }
.fact, .price-pair .price-row, .policy-note, .pending-note, .layer-stack { background: var(--info-tint); }
.fact dt .ui-icon, .meta dt .ui-icon, .price-value-text, .gap-span { color: var(--info); }
.checks li::before { color: var(--info); }
.tags li { border: 0; border-radius: 6px; background: var(--info-tint); }
.flow li::before, .rule-icon { background: var(--info-tint); color: var(--info); }
.rules-resume .rule { background: var(--info-tint); }
.step-when { color: var(--info); }
.steps-progress { background: var(--info); }
.step::after { border-color: var(--info); background: var(--info); }
.steps.live .step.current::after { box-shadow: 0 0 0 4px var(--info-tint); }
.layer-stack i { background: var(--info); }
.calc-flow li::before { background: var(--info); }
.calc-flow li::after { border-color: var(--info); }
.calc-to::after { background: var(--info) !important; }
.calc-span { border-radius: 3px; background: var(--info-tint); color: var(--info); }
.route-walk .route-links li::before, .route-goal::before { background: var(--info); }
.route-walk .route-links li::after { border-color: var(--info); }
.route-goal .ui-icon { color: var(--info); }
/* 説明用の図は塗りつぶさない（塗りつぶしのローズは、押せるもの・選択中のもの）。 */
.price-ladder .price-rows::before { background: var(--info); }
.price-ladder .price-row::before { border-color: var(--info); background: var(--info-tint); color: var(--info); }
.price-ladder .price-total::before { box-shadow: none; }
.gap-center { border: 1.5px solid var(--info); background: var(--info-tint); color: var(--text); }

/* 別のページへ移るリンク：ローズの太字と「›」。 */
.text-link { font-weight: 600; text-decoration: none; }
.text-link::after { content: '›'; margin-left: .35rem; }
.text-link:active { background-color: var(--tint); }

/* 画面内の切替：選択中は白い面＋太字＋施術の色。各タブに施術の色の印を付ける。 */
.switcher button[class*="kind-"]::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: .4rem; border-radius: 2px; background: var(--info); }
.switcher button[aria-pressed="true"] { color: var(--info); font-weight: 700; }
.switcher button[aria-pressed="false"] { text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: .3em; }
.switch-other::after { content: '⇄'; }
.stepper a { border-radius: 12px; transition: background-color .14s ease; }
.stepper a:active { background-color: var(--tint); }

/* 上部の細い帯：どちらの施術の、何の話を見ているか。施術別の内容を読んでいるあいだだけ出る。 */
.context-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 30px; padding: .2rem max(1.1rem, calc((100% - 720px) / 2 + 1.1rem)); border-bottom: 1px solid var(--border); background: var(--band-alt); color: var(--info); font-size: .76rem; font-weight: 700; line-height: 1.5; }
.context-bar[hidden] { display: none; }
.context-name { position: relative; min-width: 0; padding-left: .7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.context-name::before { content: ''; position: absolute; left: 0; top: .15em; bottom: .15em; width: 3px; border-radius: 2px; background: var(--info); }
.context-stage { flex: none; color: var(--text); font-weight: 400; }

/* 日付を選ぶ前の「—」は、読める濃さの弱い色にする。 */
.calc-empty .calc-date { color: var(--muted); font-weight: 400; }

/* 読むだけの枠は、輪郭のある丸いカードにしない（押せるカードと取り違えないため）。 */
.rule { border: 0; border-radius: 4px 12px 12px 4px; background: var(--surface); }
.rules-avoid .rule { border-left: 3px solid var(--rose); }
.rules-do .rule { border-left: 3px solid var(--info); }
.rules-resume .rule { border-left: 3px solid var(--info); }
.tier { border: 0; border-left: 3px solid var(--info); border-radius: 4px 12px 12px 4px; background: var(--info-tint); }
.policy-alert { border-radius: 6px; }

/* 施術の切替ボタン：移動先の施術の色で塗る（リップアートメイク＝ローズ、くすみ薬剤除去＝セージ）。 */
.switch-other { border-color: var(--info); background: var(--info); color: #fff; font-weight: 700; }
.switch-other:active { background: var(--info); opacity: .85; }
/* 上部の帯の中の切替。見た目は帯に収め、押せる範囲だけを帯の下へ広げて44pxを確保する。 */
.context-bar.has-switch { gap: .5rem; padding-left: max(.6rem, calc((100% - 720px) / 2 + .6rem)); padding-right: max(.6rem, calc((100% - 720px) / 2 + .6rem)); }
.context-switch { flex: none; display: flex; align-items: flex-start; height: 48px; min-height: 48px; min-width: 44px; margin: 0 0 -24px; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.context-switch[hidden] { display: none; }
.context-switch span { display: inline-flex; align-items: center; gap: .3rem; height: 24px; padding: 0 .6rem; border-radius: 999px; background: var(--info); color: #fff; font-size: .7rem; font-weight: 700; line-height: 1; white-space: nowrap; box-shadow: 0 1px 2px rgb(73 56 62 / .22); transition: opacity .14s ease; }
.context-switch span::before { content: '⇄'; font-weight: 400; }
.context-switch:active span { opacity: .8; }
.context-switch:focus-visible { outline: none; }
.context-switch:focus-visible span { outline: 2px solid var(--text); outline-offset: 2px; }
.has-switch .context-name { font-size: .72rem; }
@media (max-width: 399px) { .has-switch .context-stage { display: none; } }

/* 施術前の保湿：結論を先に、理由と図は開いて読む。開閉は輪郭のある押せる形にする。 */
.visual-title { margin: 0 0 .4rem; font-size: 1.02rem; font-weight: 700; line-height: 1.5; }
.visual-intro { margin: 0 0 .5rem; }
.fold.why { margin: .9rem 0 1.1rem; border: 1px solid var(--rose); border-radius: 14px; background: var(--surface); }
.fold.why > summary { min-height: 48px; padding: .5rem .9rem; border-radius: 13px; }
.fold.why > p { margin: 0; padding: .2rem .9rem 0; font-size: .92rem; }
.fold.why .layers { margin: .9rem .9rem 1rem; }

/* 開いて読む説明の中身。読むだけの情報なので、角ばった淡い面と左の線で示す。 */
.fold.why + .fold.why { margin-top: -.5rem; }
.fold.why > :last-child { margin-bottom: .9rem; }
.fold.why > p.why-title { margin: .9rem 0 .3rem; padding: 0 .9rem; color: var(--text); font-size: .88rem; font-weight: 700; }
.fold.why > p.why-note { margin-top: .6rem; color: var(--muted); font-size: .82rem; }
.why-flow { display: grid; gap: 1.1rem; margin: .5rem .9rem .8rem; padding: 0; list-style: none; }
.why-flow li { position: relative; padding: .45rem .7rem; border-left: 3px solid var(--info); border-radius: 4px 10px 10px 4px; background: var(--info-tint); font-size: .9rem; font-weight: 700; line-height: 1.5; }
.why-flow li + li::before { content: '↓'; position: absolute; left: .7rem; top: -1.15rem; color: var(--muted); font-weight: 400; line-height: 1.1rem; }
.why-rows { margin: .3rem .9rem 0; }
.why-rows > div { padding: .5rem 0; border-top: 1px solid var(--border); }
.why-rows > div:first-child { border-top: 0; }
.why-rows dt { font-size: .88rem; font-weight: 700; line-height: 1.5; }
.why-rows dd { margin: .1rem 0 0; font-size: .9rem; }
.why-rows-pair > div { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.why-rows-pair dt { font-weight: 400; min-width: 0; }
.why-rows-pair dd { flex: none; margin: 0; font-weight: 700; white-space: nowrap; }
.why-list { margin: .3rem .9rem 0; padding-left: 1.1rem; font-size: .9rem; }
.why-list li { margin: .15rem 0; }
.why-item { display: grid; gap: .15rem; margin: .4rem .9rem 0; padding: .55rem .7rem; border-left: 3px solid var(--info); border-radius: 4px 10px 10px 4px; background: var(--info-tint); }
.why-item strong { font-size: .9rem; line-height: 1.5; }
.why-item span { font-size: .86rem; }
.figure-tag { display: inline-block; margin-bottom: .5rem; padding: .05rem .5rem; border-radius: 4px; background: var(--info-tint); color: var(--muted); font-size: .72rem; }
.chapter .fold.why:first-of-type { margin-top: 1.2rem; }

/* ---- 悩みから選ぶ入口（/guide）。中央の人物のまわりに、押せる吹き出しを並べる。 ---- */
:root { --mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "Noto Serif CJK JP", serif; }
[data-kind="spot"] { --info: #6f5c63; --info-tint: #ece6df; --band-plain: #f6f2ed; }
.guide-shell h1 { font-family: var(--mincho); font-weight: 600; text-align: center; letter-spacing: .08em; }
.guide-shell .intro { text-align: center; }
.concern-stage { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: 31%; row-gap: .7rem; margin: 1.1rem 0 .3rem; }
.concern-person { position: absolute; left: 50%; top: 50%; width: 60%; max-width: 270px; transform: translate(-50%, -50%); pointer-events: none; }
.concern-bubble { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: center; gap: .25rem .2rem; min-height: 92px; padding: .45rem .4rem .5rem; border: 1px solid var(--border); border-radius: 22px; background: #fffdfd; color: var(--text); box-shadow: 0 2px 8px rgb(147 73 94 / .13); cursor: pointer; transition: transform .14s ease, background-color .18s ease, border-color .18s ease; }
.concern-bubble::after { content: ''; position: absolute; top: 58%; right: -6px; width: 10px; height: 10px; border: inherit; border-width: 0 1px 1px 0; background: inherit; transform: rotate(-45deg); }
.concern-bubble:nth-of-type(n+4)::after { right: auto; left: -6px; transform: rotate(135deg); }
.concern-bubble:active { transform: scale(.97); background: var(--tint); }
.concern-bubble[aria-pressed="true"] { border-color: var(--rose); background: var(--tint); box-shadow: 0 0 0 1px var(--rose); }
.concern-lips { grid-column: 1 / -1; display: block; width: 100%; max-width: 96px; height: auto; border-radius: 50%; }
.concern-label { font-family: var(--mincho); font-size: .84rem; font-weight: 700; line-height: 1.35; letter-spacing: .03em; }
.concern-label span { display: block; white-space: nowrap; }
.concern-go { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--rose); color: #fff; font-size: .8rem; line-height: 1; }
.concern-go::before { content: '›'; margin-top: -2px; }
@media (max-width: 340px) { .concern-label { font-size: .76rem; letter-spacing: 0; } .concern-bubble { padding-inline: .25rem; } .concern-go { width: 15px; height: 15px; } }
@media (min-width: 560px) { .concern-stage { column-gap: 44%; } .concern-lips { max-width: 120px; } }
.guide-image-note { text-align: center; }

.concern-result { margin: 1.2rem 0 1.8rem; padding: 1.2rem 1.1rem 1rem; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: 0 4px 18px rgb(147 73 94 / .07); scroll-margin-top: .8rem; }
.concern-result:focus { outline: none; }
.concern-body { animation: reveal .22s ease-out; }
.concern-kicker { margin: 0; color: var(--rose); font-size: .74rem; font-weight: 700; letter-spacing: .12em; }
.concern-title { margin: .1rem 0 .5rem; font-family: var(--mincho); font-size: 1.35rem; font-weight: 600; letter-spacing: .06em; }
.concern-lead { margin: .3rem 0; font-size: .95rem; }
.concern-title + .concern-lead { font-weight: 600; }
.concern-subtitle { margin: 1.3rem 0 .5rem; font-family: var(--mincho); font-size: 1.05rem; letter-spacing: .05em; }
.concern-option { margin: .55rem 0; padding: .7rem .9rem .75rem; border-left: 3px solid var(--info); border-radius: 4px 14px 14px 4px; background: var(--band-alt); }
.concern-option[data-kind] { background: var(--band-plain); }
.concern-option p { margin: .25rem 0; font-size: .92rem; }
.concern-option p.concern-option-lead { font-family: var(--mincho); font-size: 1rem; font-weight: 700; }
.concern-option .kind-label, .guide-treatment .kind-label { margin-bottom: .2rem; padding: 0 .55rem 0 .5rem; border-left: 3px solid var(--info); border-radius: 3px; background: var(--info-tint); color: var(--info); }
.concern-caution { margin: .5rem 0; padding: .55rem .8rem; border-radius: 10px; background: var(--info-tint); font-size: .86rem; }
.concern-links { display: grid; gap: .5rem; margin: 1rem 0 .6rem; }
.concern-links .button::after { content: '›'; margin-left: .5rem; }
.concern-note { margin: .6rem 0 0; color: var(--muted); font-size: .8rem; }
.concern-switch-box { margin-top: 1rem; padding-top: .7rem; border-top: 1px solid var(--border); }
.concern-switch-title { margin: 0 0 .4rem; font-size: .82rem; font-weight: 700; }
.concern-switch { display: flex; gap: .4rem; margin: 0 -1.1rem; padding: 0 1.1rem .2rem; overflow-x: auto; scrollbar-width: none; }
.concern-switch::-webkit-scrollbar { display: none; }
.concern-chip { flex: none; padding: 0 .9rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font-size: .84rem; white-space: nowrap; cursor: pointer; }
.concern-chip:active { background: var(--tint); }
.concern-chip[aria-pressed="true"] { border-color: var(--rose); background: var(--tint); color: var(--rose); font-weight: 700; }

.guide-compare { margin: 2rem 0 1rem; scroll-margin-top: .8rem; }
.guide-compare:focus { outline: none; }
.guide-compare h2 { font-family: var(--mincho); font-size: 1.2rem; letter-spacing: .06em; }
.guide-compare-intro { margin: 0 0 .8rem; color: var(--muted); font-size: .86rem; }
.fold.why.guide-treatment { margin: .6rem 0; scroll-margin-top: .8rem; }
.guide-treatment-title { display: flex; flex-direction: column; align-items: flex-start; color: var(--text); }
.guide-treatment > .concern-links, .guide-treatment > .policy, .guide-treatment > .pending-note { margin: .8rem .9rem .9rem; }
.concern-caution p { margin: .15rem 0; }
.guide-shell h1 { font-size: min(1.55rem, 6.5vw); white-space: nowrap; }
.fold.why.guide-treatment + .fold.why.guide-treatment { margin-top: .6rem; }
.guide-treatment > .concern-links { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }

/* 中央の人物：唇の部分にだけ色違いの画像を重ね、ゆっくり切り替える（顔全体には何もかけない）。 */
.concern-figure { position: absolute; left: 50%; top: 50%; width: 60%; max-width: 270px; transform: translate(-50%, -50%); pointer-events: none; }
.concern-person { position: static; display: block; width: 100%; max-width: none; height: auto; transform: none; }
.concern-tone { position: absolute; left: 27.897%; top: 50%; width: 32.189%; height: auto; opacity: 0; transition: opacity 1.2s ease; }
.concern-tone.on { opacity: 1; }
.concern-bubble.showing { border-color: #c995a4; }
.guide-image-note { margin-bottom: 0; }
.compact-guide > .concern-note { margin: .3rem 0 0; padding: .55rem .8rem; border-radius: 10px; background: var(--info-tint); color: var(--text); font-size: .8rem; }
.kind-label small { font-size: .92em; font-weight: 600; }
.concern-links { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
.concern-links .button { padding-inline: .6rem; font-size: .9rem; }
.concern-more { margin: .7rem .9rem 0; padding-left: .7rem; border-left: 3px solid var(--info); }
.concern-more p { margin: .2rem 0; font-size: .9rem; }
.concern-more .kind-label { margin-bottom: .2rem; padding: 0 .55rem; border-radius: 3px; background: var(--info-tint); color: var(--info); }

/* 結果の枠は、最初に見える範囲を短くする（行間と余白を詰める。文は減らさない）。 */
.concern-result { padding: 1rem 1rem .9rem; line-height: 1.65; }
.concern-title { margin: 0 0 .35rem; font-size: 1.28rem; }
.concern-title + .concern-lead { font-weight: 400; }
.concern-lead { margin: 0; font-size: .9rem; }
.concern-subtitle { margin: .9rem 0 .35rem; font-size: 1rem; }
.concern-option { margin: .35rem 0; padding: .5rem .8rem .55rem; }
.concern-option p { margin: .1rem 0; font-size: .88rem; }
.concern-option .kind-label { margin-bottom: .1rem; font-size: .72rem; }
.concern-caution { margin: .4rem 0; padding: .45rem .75rem; font-size: .8rem; }
.concern-caution p { margin: 0; }
.concern-links { margin: .7rem 0 .2rem; }
.concern-result .fold.why { margin: .5rem 0 0; }
.concern-result .fold.why + .fold.why { margin-top: .4rem; }
.concern-switch-box { margin-top: .8rem; padding-top: .55rem; }
.concern-switch-title { margin-bottom: .3rem; }
/* 固定のボタンの下に、ページ末尾の「よくある質問を見る」が隠れないようにする（.shell の余白指定に上書きされていた）。 */
.shell.guide-shell { padding-bottom: calc(var(--bottom-nav-height, 64px) + var(--guide-cta-height, 90px) + 2rem); }

/* ---- 追従ナビ：画面上部に残り、いま読んでいる章を示す。押すとその章へ移動する。 ---- */
/* 章へ移動したとき、見出しがナビの下に隠れないようにする（高さは実際のナビから測る）。 */
html:has([data-page-nav]) { scroll-padding-top: calc(var(--page-nav-height, 3.6rem) + .5rem); }
/* 押せない項目（まだ表示されていない行き先）。 */
[data-page-nav] a[aria-disabled="true"] { opacity: .45; pointer-events: none; }
/* 流れ型（丸と線）：狭い画面では、5つ並んでも1行に収まる文字の大きさにする。 */
.stepper a > span:last-child { white-space: nowrap; }
@media (max-width: 340px) { .stepper a { font-size: .72rem; } }
/* 目次型（下線）：並んだ章の名前。いまの章は、太字・下線・色で示す。 */
.section-tabs { position: sticky; top: 0; z-index: 1; margin: .6rem calc(-1 * var(--gutter)) 0; background: var(--background); border-bottom: 1px solid var(--border); }
.section-tabs ol { list-style: none; display: flex; margin: 0; padding: 0 calc(var(--gutter) - .55rem); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.section-tabs ol::-webkit-scrollbar { display: none; }
.section-tabs li { flex: 1 0 auto; }
.section-tabs a { position: relative; justify-content: center; gap: .3rem; width: 100%; min-width: 44px; padding: 0 .55rem; border-radius: 10px; color: var(--muted); font-size: .8rem; line-height: 1.5; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: .35em; transition: background-color .14s ease; }
.section-tabs a:active { background-color: var(--tint); }
.section-tabs a[data-kind]::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--info); }
.section-tabs a::after { content: ''; position: absolute; left: .55rem; right: .55rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.section-tabs a[aria-current] { color: var(--rose); font-weight: 700; text-decoration: none; }
.section-tabs a[data-kind][aria-current] { color: var(--info); }
.section-tabs a[aria-current]::after { background: currentColor; }
@media (max-width: 340px) { .section-tabs a { padding: 0 .4rem; font-size: .74rem; } .section-tabs a::after { left: .4rem; right: .4rem; } }
/* 施術名と時期の細い帯は、ナビのすぐ下に付ける（別の固定の帯として重ねない。本文の高さも変えない）。 */
[data-page-nav] > .context-bar { position: absolute; top: 100%; left: 0; right: 0; z-index: auto; padding-inline: var(--gutter); }
[data-page-nav] > .context-bar.has-switch { padding-inline: calc(var(--gutter) - .3rem); }
/* Q&A：いま読んでいるカテゴリ。選択中（絞り込み）とは別の印にし、文字でも示す。 */
.category-chip.reading:not([aria-pressed="true"]) { border-color: var(--rose); color: var(--rose); box-shadow: inset 0 -3px 0 var(--rose); }
/* 悩み別の結果：理由の結論を、施術の候補より先に見せる。 */
.concern-why { margin: 0; font-size: .9rem; }
.concern-result .fold.why.concern-why-more { margin: .35rem 0 0; }
.concern-stage:focus { outline: none; }
.related:focus { outline: none; }
.section-tabs[data-kind] a[aria-current] { color: var(--info); }
/* 理由の続きは、枠のない軽い行にして、施術の候補までの流れを切らない。 */
.concern-result .fold.why.concern-why-more { border: 0; border-radius: 0; background: none; }
.concern-result .fold.why.concern-why-more > summary { justify-content: flex-start; gap: .5rem; padding: 0; font-size: .86rem; }
.concern-result .fold.why.concern-why-more > p { padding: 0 0 .3rem; font-size: .9rem; }
.concern-result .fold.why.concern-why-more > :last-child { margin-bottom: .2rem; }

/* ---- 2026-10-12：章の上の余白を詰め、番号・ラベル・見出しをひとまとまりに見せる ---- */
.chapter { padding-top: 1.7rem; padding-bottom: 1.9rem; }
.chapter + .chapter { padding-top: calc(1.7rem + var(--sheet)); }
.chapter:has(+ .chapter) { padding-bottom: calc(1.9rem + var(--sheet)); }
.chapter > .kind-label { margin-bottom: .3rem; }
.chapter-head { margin-bottom: .6rem; }
.chapter-no { font-size: 1.9rem; }
.chapter-no::before { width: 2.5rem; height: 2.5rem; left: -.45rem; top: -.4rem; }
.chapter-head h2 { margin-top: .2rem; }
.chapter .section-more { margin-top: 1.1rem; }
/* 固定のボタンと下部メニューを低くして、本文の見える範囲を広げる（押す高さは48px以上を保つ）。 */
.page-cta { padding: .4rem 1rem .45rem; }
.page-cta .button { min-height: 48px; }
.bottom-nav { min-height: 56px; }
/* 施術後の過ごし方：4つの分類を2列に並べる。 */
.care-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.care-card { padding: .7rem .7rem .75rem; border: 1px solid var(--border); border-top: 3px solid var(--info); border-radius: 4px 4px 12px 12px; background: var(--surface); }
.care-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: .4rem; margin-bottom: .35rem; }
.care-no { grid-column: 1; color: var(--info); font-size: .74rem; font-weight: 700; letter-spacing: .06em; line-height: 1.3; }
.care-head strong { grid-column: 1; font-size: 1rem; line-height: 1.4; }
.care-icon { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--info-tint); color: var(--info); }
.care-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.care-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.care-card ul li { position: relative; padding-left: .8rem; font-size: .86rem; line-height: 1.5; }
.care-card ul li::before { content: ''; position: absolute; left: 0; top: .6em; width: 4px; height: 4px; border-radius: 50%; background: var(--info); }
.care-more { margin-top: 1rem; border: 1px solid var(--info); border-radius: 14px; background: var(--surface); }
.care-more > summary { min-height: 52px; padding: .5rem .9rem; color: var(--info); border-radius: 13px; }
.care-more > summary::after { background-image: linear-gradient(var(--info), var(--info)), linear-gradient(var(--info), var(--info)); }
.care-more > .rules { margin: 0 .7rem .9rem; }
.care-more > .rules + .rules { margin-top: .9rem; }
.care-more .rule { background: var(--info-tint); }
/* 料金と日付の計算に添える短い注意。 */
.price-foot { margin: .7rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.price-for { color: var(--text); font-size: .9rem; font-weight: 700; }
.calc-range { display: grid; gap: .1rem; margin: 1rem 0 0; padding: .6rem .8rem; border-radius: 10px; background: var(--info-tint); }
.calc-range span { color: var(--muted); font-size: .78rem; }
.calc-range strong { font-variant-numeric: tabular-nums; }
.calc-foot { margin: .7rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.chapter h4.visual-title { margin: 1.2rem 0 .4rem; font-size: .92rem; }

/* ---- 2026-10-12（2）Q&Aのカテゴリを下部へ／ケアの概要を1列に ---- */
/* Q&A：検索は上部に残し、カテゴリの切替は下部の共通ナビのすぐ上に置く（親指で届く位置）。 */
.search { padding: .5rem var(--gutter) .45rem; border-bottom: 1px solid var(--border); }
.search-status { scroll-margin-top: 4.4rem; }
.search ~ .related .faq-card { scroll-margin-top: 4.6rem; }
.faq-cats { position: fixed; left: 0; right: 0; bottom: var(--bottom-nav-height, 64px); z-index: 2; background: var(--background); border-top: 1px solid var(--border); transition: transform .18s ease, opacity .18s ease, visibility .18s; }
.faq-cats.away { transform: translateY(100%); opacity: 0; visibility: hidden; pointer-events: none; }
.faq-cats .category-chips { gap: 0; max-width: 720px; margin: 0 auto; padding: 0 max(.3rem, env(safe-area-inset-right)) 0 max(.3rem, env(safe-area-inset-left)); scroll-padding-inline: 2rem; }
.faq-cats .category-chip { min-height: 44px; padding: 0 .85rem; border: 0; border-radius: 0; background: transparent; font-size: .88rem; }
.faq-cats .category-chip[aria-pressed="true"] { background: var(--tint); color: var(--rose); font-weight: 700; box-shadow: inset 0 3px 0 var(--rose); }
.faq-cats .category-chip.reading:not([aria-pressed="true"]) { border: 0; color: var(--rose); box-shadow: inset 0 2px 0 var(--border), inset 0 -2px 0 var(--rose); }
.faq-cats .category-chip:focus-visible { outline-offset: -3px; }
/* 下部が2段になる分、本文の最後と、開いた回答が隠れないように空ける。 */
.shell:has(.faq-cats) { padding-bottom: calc(var(--bottom-nav-height, 64px) + var(--faq-cats-height, 45px) + 3rem); }
html:has(.faq-cats) { scroll-padding-bottom: calc(var(--bottom-nav-height, 64px) + var(--faq-cats-height, 45px) + 2rem); }

/* 施術後のケア：概要は1列（狭い画面）。1枚は「分類の名前＋短い1〜2行」。 */
.care-cards { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
.care-card { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr); align-items: center; column-gap: .7rem; padding: .6rem .8rem; border-top: 1px solid var(--border); border-left: 3px solid var(--info); border-radius: 4px 12px 12px 4px; }
.care-head { grid-template-columns: auto minmax(0, 1fr); column-gap: .5rem; margin-bottom: 0; }
.care-icon { grid-column: 1; grid-row: 1 / span 2; width: 32px; height: 32px; }
.care-no, .care-head strong { grid-column: 2; }
.care-head strong { font-size: .95rem; }
.care-card ul li { padding-left: 0; font-size: .9rem; line-height: 1.55; }
.care-card ul li::before { content: none; }
@media (max-width: 359px) { .care-card { grid-template-columns: minmax(0, 1fr); row-gap: .3rem; } }
@media (min-width: 620px) { .care-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 詳しいケア方法：見出しの「控える」の添え字は、区分の見出しと重なるため出さない。段落のあいだを少し空ける。 */
.care-more .rules-avoid strong::before { content: none; }
.care-more .rule p + p { margin-top: .35rem; }
.care-more > .care-when { margin: 0 .9rem .8rem; color: var(--muted); font-size: .9rem; }
.care-card { grid-template-columns: minmax(0, 1fr); row-gap: .3rem; }
.care-head { grid-template-columns: auto auto minmax(0, 1fr); align-items: center; }
.care-icon { grid-row: 1; }
.care-no { grid-column: 2; grid-row: 1; }
.care-head strong { grid-column: 3; grid-row: 1; }
.care-card ul { padding-left: calc(32px + .5rem); }

/* ---- 2026-10-13 画面下の固定要素を1つの箱に積む ---- */
/* 固定ボタン（またはQ&Aのカテゴリ）と共通ナビを縦に積む。位置を高さの計算で合わせないため、互いに重ならない。 */
.bottom-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; pointer-events: none; }
.bottom-dock > * { pointer-events: auto; }
.bottom-dock > .bottom-nav { position: relative; left: auto; right: auto; bottom: auto; z-index: auto; }
.bottom-dock > .page-cta, .bottom-dock > .faq-cats { position: static; z-index: auto; }
/* 隠しているあいだの固定ボタンは、画面から完全に外す（見えないリンクを共通ナビの上に残さない）。 */
.page-cta[hidden] { display: none; }
/* 悩み別ガイドの固定ボタン：狭い画面でも、予約のボタンを1行に収める。 */
@media (max-width: 380px) { .guide-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: .4rem; padding-inline: .7rem; } .guide-cta .button { padding-inline: .4rem; font-size: .95rem; white-space: nowrap; } .guide-cta .text-link { font-size: .84rem; } }

/* 開いて読む一覧の補足：1文ずつ段落にする。 */
.why-rows dd > span { display: block; }
.why-rows dd > span + span { margin-top: .3rem; }
/* 施術をお受けできない条件：文節の途中で改行しない（日本語の文節で折り返す。対応していないブラウザでは通常の折り返し）。 */
#before-1 { word-break: auto-phrase; }
.chapter-cta .text-link { display: block; margin-bottom: .7rem; }

/* HOMEのメニュー（アプリ一覧の形）：どの幅でも2列。カードはすべて同じ大きさで、アイコンと名称を中央にそろえる。 */
/* カード全体が押せるため、右上の矢印は出さない（矢印のための右の余白も、左と同じにする）。 */
.home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.home-grid .home-card { align-items: center; text-align: center; padding-right: 1rem; }
.home-grid .home-card::after { content: none; }
.home-grid .home-card-title { line-height: 1.5; }
/* アイコンは同じ系統の単色SVG。線の太さがそろうよう、すべて同じ大きさで出す。 */
.home-grid .home-card-icon { width: 44px; height: 44px; margin-bottom: .35rem; }
.home-card-title .nobr { display: inline-block; }
/* 320px前後では、名称の語（「シミュレーター」など）が1行に入るよう、名称の文字だけ少し小さくする。 */
@media (max-width: 340px) { .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-grid .home-card-title { font-size: .9rem; } }
