/* ==========================================================
   ほしの接骨院 — main.css
   組み方：参考デザイン（taichi-sekkotsuin.com）を実測して踏襲
     本文18px/1.8・h2 47px/700・h3 31px・ジャンプ率2.6・最大幅1080px
     セクション上余白160px・カード枠9.75px・角丸20px・動き0.3s ease-out
   色：参考のオレンジ→ほしの接骨院の緑、水色→黄色に置き換え
   SP=max-width:1023px / PC=min-width:1024px
   ========================================================== */
:root {
  --main: #9cbb1c;
  --main-d: #5f7a0a;
  --grad: linear-gradient(90deg, #c9dc3f 1.7%, #9cbb1c 100%);
  --tint: #fbf8ea;
  --tint-2: #f1edd2;
  --sub: #ffd43b;
  --sub-l: #fff8d9;
  --brown: #6d4130;
  --line-app: #06c755;
  --ink: #404040;
  --ink-2: #454545;
  --line: #e6dfbf;
  --white: #fff;
  --r: 20px;
  --r-s: 10px;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --en: "Montserrat", "Noto Sans JP", sans-serif;
  --w: 1080px;
  --dur: .3s;
  --ease: ease-out;
  --ease2: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
html { overflow-x: clip; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.81; letter-spacing: .05em; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--main-d); transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; }
table { border-collapse: collapse; }
button { font: inherit; }
.wrap { width: 100%; max-width: calc(var(--w) + 40px); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 900px; }
.wrap--news { max-width: 940px; }
.wrap--post { max-width: 820px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--white); padding: 8px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sub); outline-offset: 2px; }
.ttl, .commit__ttl, .grad-ttl, .info__title, .panel__title, .wish__catch, .answer-band__title, .voice-card__ttl, .page-hd__title { word-break: keep-all; overflow-wrap: anywhere; }
.post-hd__title { word-break: auto-phrase; }
.note { font-size: 14px; color: var(--ink-2); margin-top: 24px; }

/* ---------- 見出し（先頭1文字の色＋下のライン） ---------- */
.sec__hd { text-align: center; margin: 0 auto 64px; }
.ttl { font-size: 47px; font-weight: 700; line-height: 1.5; color: var(--ink-2); letter-spacing: .03em; }
.ttl__first { color: var(--main); font-size: 1.3em; }
.ttl::after { content: ""; display: block; width: 150px; height: 8px; margin: 22px auto 0; border-radius: 99px; background: var(--grad); }
.sec__lead { margin: 28px 0 0; font-size: 18px; color: var(--ink-2); font-weight: 500; }

/* ---------- ボタン ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 8px 30px; border-radius: 99px; font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.pill:hover { opacity: .85; transform: translateY(-1px); }
.pill__ico { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
.pill--main { background: var(--main); color: var(--white); }
.pill--sub { background: var(--sub); color: var(--ink); }
.pill--line { background: var(--white); color: var(--main-d); border: 2px solid var(--main); }
.pill--app { background: var(--line-app); color: var(--white); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 156px; min-height: 50px; padding: 10px 32px; border: 1px solid var(--main); border-radius: 6px; background: var(--white); color: var(--main); font-weight: 700; font-size: 16px; text-decoration: none; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.btn-outline:hover { background: var(--main); color: var(--white); }
.btn-outline--arrow::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: var(--tint); }
.hd__upper { max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 40px 16px 60px; }
.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--main); line-height: 1.25; }
.logo__name { color: var(--main); }
.logo__sub { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.logo__name { font-size: 30px; font-weight: 700; letter-spacing: .06em; }
.hd__act { display: flex; align-items: center; gap: 16px; }
.hd__tel { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--main); line-height: 1.15; }
.hd__tel-note { color: var(--main-d); }
.hd__tel-num { font-family: var(--en); font-size: 28px; font-weight: 600; white-space: nowrap; }
.hd__tel-note { font-size: 12px; white-space: nowrap; }
.hd__act .pill { min-height: 48px; padding: 6px 26px; font-size: 15px; }
.langsw { position: relative; }
.langsw summary { list-style: none; cursor: pointer; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--white); font-family: var(--en); font-size: 13px; font-weight: 700; color: var(--main); }
.langsw summary::-webkit-details-marker { display: none; }
.langsw ul { position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); border-radius: var(--r-s); padding: 6px; min-width: 130px; box-shadow: 0 0 6px #b8b8b8; }
.langsw a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; font-size: 15px; border-radius: 6px; }
.langsw a:hover, .langsw a[aria-current] { background: var(--tint); }
.burger { display: none; }
.gnav { padding: 36px 20px 40px; }
.gnav ul { display: flex; justify-content: center; flex-wrap: wrap; }
.gnav li { border-right: 1px solid var(--ink-2); }
.gnav li:last-child { border-right: 0; }
.gnav a { display: inline-block; padding: 8px 20px; font-size: 16px; font-weight: 500; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.gnav a:hover { color: var(--main); }

/* ---------- ドロワー（SP） ---------- */
.drawer { position: fixed; inset: 0; top: 72px; z-index: 49; background: var(--tint); overflow-y: auto; padding: 16px 24px 120px; }
.drawer[hidden] { display: none; }
.drawer nav a { display: block; padding: 15px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.drawer__cta { display: grid; gap: 12px; margin-top: 24px; }
.drawer__lang { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; }
.drawer__lang a { color: var(--ink-2); font-size: 15px; }
.drawer__lang a[aria-current] { color: var(--main); font-weight: 700; }

/* ---------- ヒーロー ---------- */
.hero { padding-left: 8%; }
.hero__photo { position: relative; aspect-ratio: 1280 / 680; max-height: 720px; width: 100%; }
.hero__photo picture, .hero__photo picture img { width: 100%; height: 100%; }
.hero__photo picture img { object-fit: cover; object-position: 55% 40%; border-radius: 300px 0 0 260px / 240px 0 0 300px; }
.hero__vtext { position: absolute; top: 7%; right: 8%; display: flex; flex-direction: row-reverse; gap: 22px; margin: 0; z-index: 3; }
.hero__vline { writing-mode: vertical-rl; font-size: 30px; font-weight: 700; line-height: 1.3; letter-spacing: .12em; color: var(--ink-2); background: rgba(255, 255, 255, .86); padding: 18px 10px; border-right: 2px solid var(--ink-2); }
.hero__badges { position: absolute; left: -4%; bottom: 48px; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; }
.hero__badges p { display: inline-block; margin: 15px 0 0; padding: 8px 24px; color: var(--white); background: var(--grad); border-radius: 6.4px; font-weight: 700; font-size: 30px; line-height: 1.33; letter-spacing: .02em; }
.hero__badges p:last-child { font-size: 36px; }
.hero__box { position: absolute; right: 3%; bottom: -8%; z-index: 4; width: 15%; min-width: 170px; background: var(--white); border: 4px solid var(--main); border-radius: var(--r-s); text-align: center; padding: 30px 10px 18px; }
.hero__box-label { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); margin: 0; padding: 2px 16px; background: var(--main); color: var(--white); border-radius: 99px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.hero__box-text { margin: 0; font-size: 18px; font-weight: 700; color: var(--main); line-height: 1.6; }

/* ヒーローの文字だけ動かす（写真はLCPなので動かさない） */
.js .hero__badges p, .js .hero__vline, .js .hero__box { opacity: 0; transform: translateY(14px); animation: heroIn .8s var(--ease2) forwards; }
.js .hero__vline { transform: translateY(-14px); }
.js .hero__vline:nth-child(2) { animation-delay: .1s; }
.js .hero__vline:nth-child(3) { animation-delay: .25s; }
.js .hero__badges p:nth-child(1) { animation-delay: .35s; }
.js .hero__badges p:nth-child(2) { animation-delay: .45s; }
.js .hero__badges p:nth-child(3) { animation-delay: .55s; }
.js .hero__box { animation-delay: .7s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- 受付時間カード（参考の初回限定帯の組み方） ---------- */
.info { max-width: var(--w); margin: 136px auto 0; padding: 0 20px; }
.info__card { display: grid; grid-template-columns: 44% 1fr; background: linear-gradient(90deg, #fff 0%, var(--tint) 40%); filter: drop-shadow(6px 7px 15px rgba(66, 66, 66, .25)); }
.info__img img { width: 100%; height: 100%; object-fit: cover; }
.info__body { padding: 28px 40px 28px; }
.info__label { display: block; margin: 0 0 8px; padding: 4px 0; background: var(--grad); border-radius: 99px; color: var(--white); text-align: center; font-size: 22px; font-weight: 700; letter-spacing: .1em; }
.info__title { text-align: center; font-size: 34px; font-weight: 700; color: var(--ink-2); padding-bottom: 6px; border-bottom: 2px dashed var(--ink-2); margin: 0 auto 18px; width: fit-content; }
.info__note { font-size: 14px; margin: 8px 0 10px; }
.info__dl { margin: 0; }
.info__dl div { display: grid; grid-template-columns: 6.5em 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.info__dl dt { font-weight: 700; color: var(--main-d); }
.info__dl dd { margin: 0; }

/* 受付時間の表（参考フッターの表の組み方） */
.sched { width: 100%; text-align: center; font-size: 17px; background: var(--tint); }
.sched thead th { background: var(--main); color: var(--white); padding: 10px 6px; font-weight: 700; font-size: 17px; }
.sched tbody th { padding: 14px 6px; font-family: var(--en); font-weight: 600; font-size: 16px; white-space: nowrap; }
.sched td { padding: 14px 4px; }
.sched tbody tr + tr { border-top: 1px solid var(--line); }
.dot { display: inline-block; width: 13px; height: 13px; border-radius: 50%; background: var(--ink-2); vertical-align: middle; }
.dash { display: inline-block; width: 13px; height: 1.5px; background: var(--ink-2); vertical-align: middle; }

/* ---------- 共通の余白 ---------- */
.sec { padding-top: 160px; }
.treatment { padding-top: 150px; }

/* ---------- 3つの施術（写真3枚並び） ---------- */
.photo3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.photo3__item { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.photo3__img { display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 287 / 203; }
.photo3__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo3__item:hover .photo3__img img { transform: scale(1.05); }
.photo3__label { margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--main-d); }
.photo3__name { font-size: 24px; font-weight: 700; color: var(--main-d); margin: 2px 0 10px; }
.photo3__text { font-size: 16px; line-height: 1.8; flex: 1; }
.photo3__more { margin-top: 16px; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--main-d); }
.photo3__more::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform var(--dur) var(--ease); }
.photo3__item:hover .photo3__more::after { transform: translateX(4px) rotate(45deg); }

/* ---------- 弧の背景（参考の .arc） ---------- */
.arc { position: relative; margin-top: 160px; padding: 160px 0 150px; isolation: isolate; }
.arc::before { content: ""; position: absolute; inset: 0 -20vw; z-index: -1; background: var(--tint); border-radius: 200vw 200vw 200vw 200vw / 50vw 50vw 50vw 50vw; }
.arc + .sec { padding-top: 160px; }

/* ---------- お悩み（CASEカード） ---------- */
.cases { display: flex; flex-wrap: wrap; justify-content: space-between; row-gap: 100px; padding-top: 30px; }
.case { position: relative; flex-basis: 31.5%; min-height: 470px; background: var(--white); border: 9.75px solid var(--main); border-radius: var(--r); padding: 70px 22px 30px; box-shadow: 0 0 6px #b8b8b8; }
.case__tab { position: absolute; top: -34px; left: 50%; transform: translateX(-50%); width: 72%; margin: 0; padding: 7px; background: var(--white); border-radius: 99px; box-shadow: 0 0 6px #b8b8b8; }
.case__tab span { position: relative; display: block; background: var(--main); color: var(--white); border-radius: 0 0 4px 4px; text-align: center; font-family: var(--en); font-weight: 700; font-size: 15px; letter-spacing: .02em; line-height: 2.1; }
.case__tab span::before, .case__tab span::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--white); }
.case__tab span::before { left: 16%; }
.case__tab span::after { right: 16%; }
.case__check { display: block; width: 46px; height: 34px; margin: 0 auto 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 34'%3E%3Cpath d='M5 17l12 11L41 5' fill='none' stroke='%23ffd43b' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.case__title { font-size: 31px; font-weight: 500; line-height: 1.5; color: var(--ink-2); margin-bottom: 26px; letter-spacing: .02em; }
.case__title span { background: linear-gradient(transparent calc(100% - 2px), transparent 0), repeating-linear-gradient(90deg, var(--sub) 0 4px, transparent 4px 7px) bottom / 100% 2px no-repeat; padding-bottom: 3px; }
.case__text { font-size: 16px; line-height: 1.8; font-weight: 500; padding: 0 12px; margin: 0; position: relative; z-index: 1; }
.answer-band { margin: 96px auto 0; max-width: 820px; text-align: center; background: var(--white); border-radius: var(--r); padding: 44px 32px 36px; }
.answer-band__title { font-size: 31px; font-weight: 700; line-height: 1.5; color: var(--main-d); margin-bottom: 14px; }
.answer-band p:last-child { margin: 0; font-weight: 500; }

/* ---------- 自費施術（吹き出し見出し・組み合わせ・変形写真） ---------- */
.selfpay .sec__hd { position: relative; }
.balloon { display: flex; justify-content: center; }
.balloon p { position: relative; display: inline-block; margin: 0 0 22px; padding: 2px 34px; font-size: 40px; font-weight: 700; line-height: 1.7; color: var(--ink-2); background: var(--tint); border: 3px solid var(--main); }
.balloon p::before { content: ""; position: absolute; bottom: -20px; left: 50%; margin-left: -12px; border: 12px solid transparent; border-top: 12px solid var(--tint); z-index: 2; }
.balloon p::after { content: ""; position: absolute; bottom: -27px; left: 50%; margin-left: -14px; border: 14px solid transparent; border-top: 14px solid var(--main); z-index: 1; }
.formula { text-align: center; }
.formula__lead { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.formula__main { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 6px; font-size: 39px; font-weight: 700; color: var(--ink-2); padding-bottom: 14px; margin-bottom: 26px; background: repeating-linear-gradient(90deg, var(--sub) 0 6px, transparent 6px 10px) bottom / 100% 3px no-repeat; }
.formula__w b { color: var(--main); font-size: 1.18em; }
.formula .x { font-weight: 500; }
.formula__after { font-size: 16px; font-weight: 700; line-height: 1.9; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin: 36px 0 90px; }
.row3 figure { border-radius: var(--r); overflow: hidden; aspect-ratio: 287 / 203; }
.row3 img { width: 100%; height: 100%; object-fit: cover; }
.blob-row { display: grid; grid-template-columns: 46% 1fr; gap: 48px; align-items: center; }
.blob-row + .blob-row { margin-top: 64px; }
.blob-row.is-rev { grid-template-columns: 1fr 46%; }
.blob-row.is-rev .blob { order: 2; }
.blob { position: relative; padding: 18px; }
.blob::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--sub); border-radius: 58% 42% 55% 45% / 46% 56% 44% 54%; transform: rotate(-6deg); }
.blob::after { content: ""; position: absolute; right: -4%; bottom: -6%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fde9b4, var(--sub)); z-index: 2; opacity: .9; }
.blob__in { display: block; overflow: hidden; border-radius: 58% 42% 55% 45% / 46% 56% 44% 54%; aspect-ratio: 1 / .9; }
.blob__in img { width: 100%; height: 100%; object-fit: cover; }
.blob-row__num { font-family: var(--en); font-size: 64px; font-weight: 700; line-height: 1; color: var(--main); margin-bottom: 10px; letter-spacing: .03em; }
.grad-ttl { font-size: 32px; font-weight: 700; color: var(--main-d); margin-bottom: 16px; line-height: 1.5; }
.blob-row__body > p:not(.blob-row__num):not(.price-line) { font-size: 16px; line-height: 1.95; }
.price-line { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 22px; padding: 14px 18px; background: var(--tint); border-radius: var(--r-s); }
.price-line span { font-size: 14px; font-weight: 500; line-height: 1.6; }
.price-line strong { font-family: var(--en); font-size: 30px; font-weight: 700; color: var(--main-d); white-space: nowrap; line-height: 1.2; }
.price-line small, .ptable__price small, .ptable__zero small { font-family: var(--sans); font-size: 14px; margin-left: 2px; }

/* ---------- 交通事故・保険（参考の取り組みパネルの組み方） ---------- */
.panel { max-width: 1081px; margin: 0 auto; background: #f7fbf3; border: 2px solid #5b5b5b; border-radius: var(--r-s); padding-bottom: 40px; }
.panel__head { margin: -2px -2px 40px; padding: 32px 20px 23px; background: var(--main); color: var(--white); text-align: center; border-radius: 8px 8px 8px 8px; }
.panel__title { font-size: 40px; font-weight: 700; letter-spacing: .075rem; margin-bottom: 8px; }
.panel__head p { margin: 0; font-size: 16px; }
.panel__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 48px; }
.panel__cols article { background: var(--white); border-radius: var(--r-s); padding: 28px 28px 20px; }
.panel__h3 { font-size: 24px; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; }
.panel__price { display: flex; flex-direction: column; margin-bottom: 12px; line-height: 1.4; }
.panel__price small { font-size: 13px; }
.panel__price strong { font-size: 30px; color: var(--main-d); }
.panel__cols p:last-child { font-size: 16px; line-height: 1.85; margin: 0; }
.panel__sub { text-align: center; font-weight: 700; margin: 36px 0 16px; }
.panel__tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 0 40px; }
.panel__tiles li { width: 94px; min-height: 84px; display: grid; place-items: center; padding: 6px; text-align: center; background: var(--sub-l); border: 1px solid #5b5b5b; font-size: 15px; font-weight: 500; line-height: 1.4; }

/* ---------- 選ばれる理由／施術の流れ（こだわり01〜の組み方） ---------- */
.commit { display: flex; flex-wrap: wrap; justify-content: center; gap: 56px 24px; }
.commit__item { flex: 0 0 calc((100% - 48px) / 3); }
.commit__num { font-family: var(--en); font-size: 64px; font-weight: 700; letter-spacing: .03em; line-height: 1; margin: 0 0 8px 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.commit__img { border-radius: var(--r); overflow: hidden; box-shadow: 0 0 6px #b8b8b8; aspect-ratio: 287 / 213; }
.commit__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.commit__item:hover .commit__img img { transform: scale(1.04); }
.commit__ttl { font-size: 24px; font-weight: 700; color: var(--main-d); margin: 22px 12px 14px; line-height: 1.5; }
.commit__item > p:last-child { font-size: 16px; line-height: 1.85; margin: 0 12px; }

/* ---------- 料金 ---------- */
.price__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.price__side { display: grid; gap: 28px; }
.ptable { background: var(--white); border-radius: var(--r-s); overflow: hidden; box-shadow: 0 0 6px #b8b8b8; }
.ptable__head { background: var(--main); color: var(--white); text-align: center; font-size: 21px; font-weight: 700; padding: 12px; }
.ptable ul { padding: 4px 24px 8px; }
.ptable li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ptable li:last-child { border-bottom: 0; }
.ptable__name { display: flex; flex-direction: column; font-size: 17px; font-weight: 700; line-height: 1.5; }
.ptable__name small { font-size: 13px; font-weight: 400; }
.ptable__price { font-family: var(--en); font-size: 26px; font-weight: 700; color: var(--main-d); white-space: nowrap; }
.ptable__zero { text-align: center; margin: 16px 0 0; }
.ptable__zero strong { font-family: var(--en); font-size: 64px; line-height: 1; color: var(--main-d); }
.ptable__note { font-size: 14px; padding: 6px 24px 22px; margin: 0; }

/* ---------- 患者様の声 ---------- */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.voice-card { display: flex; flex-direction: column; background: var(--white); border: 4px solid var(--main); border-radius: var(--r); padding: 34px 26px 24px; }
.voice-card__tag { display: inline-block; align-self: flex-start; padding: 2px 14px; background: var(--main); color: var(--white); font-size: 13px; font-weight: 700; border-radius: 4px; margin-bottom: 14px; }
.voice-card blockquote { margin: 0; flex: 1; }
.voice-card__ttl { font-size: 20px; font-weight: 700; line-height: 1.6; color: var(--ink-2); }
.voice-card__ttl span { background: repeating-linear-gradient(90deg, var(--sub) 0 4px, transparent 4px 7px) bottom / 100% 2px no-repeat; padding-bottom: 2px; }
.voice-card blockquote p:last-child { font-size: 15px; line-height: 1.8; }
.voice-card figcaption { font-size: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.voice .center { margin-top: 32px; }

/* ---------- 院長あいさつ（施術に対する想いの組み方） ---------- */
.wish { display: flex; align-items: flex-start; }
.wish__img { flex: 0 0 calc(50% + 55px); z-index: 1; }
.wish__img img { border-radius: var(--r); width: 100%; }
.wish__card { flex: 1; margin: 140px 0 0 -55px; background: var(--tint); border-radius: var(--r); padding: 56px 36px 40px 92px; position: relative; }
.wish__catch { font-size: 24px; font-weight: 700; line-height: 1.5; color: var(--ink-2); margin-bottom: 22px; }
.wish__card > p:not(.wish__catch):not(.wish__sign):not(.wish__lic) { font-size: 16px; line-height: 1.95; }
.wish__sign { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-top: 26px; }
.wish__sign span { font-size: 14px; }
.wish__sign strong { font-size: 28px; color: var(--main-d); letter-spacing: .1em; }
.wish__lic { font-size: 14px; margin: 0; }

/* ---------- コラム（新着情報の組み方） ---------- */
.news { margin-top: 160px; padding: 96px 0; background: var(--tint); }
.news .sec__hd { margin-bottom: 70px; }
.news__list li { border-bottom: 1px solid var(--main); }
.news__list li:last-child { border-bottom: 0; }
.news__list a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; padding: 14px 70px; color: var(--ink); text-decoration: none; font-size: 16px; line-height: 1.7; }
.news__list a:hover .news__ttl { color: var(--main); text-decoration: underline; }
.news__list time { font-family: var(--en); font-size: 14px; font-weight: 600; flex-shrink: 0; }
.news__cat { font-size: 12px; font-weight: 700; color: var(--main-d); border: 1px solid var(--main); border-radius: 4px; padding: 0 8px; }
.news__ttl { flex: 1 1 360px; }
.news .center { margin-top: 40px; }

/* ---------- アクセス（院情報ブロック） ---------- */
.store { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.store__name { display: flex; flex-direction: column; font-size: 30px; font-weight: 700; color: var(--main); line-height: 1.3; margin-bottom: 14px; }
.store__name span { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.store address { font-style: normal; font-size: 14px; }
.store__tel { margin: 16px 0 14px; line-height: 1; }
.store__tel small { display: block; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.store__tel a { font-family: var(--en); font-size: 36px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.store__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.store__btns .pill { min-height: 44px; padding: 6px 26px; font-size: 15px; }
.store__catch { font-size: 20px; font-weight: 700; color: var(--ink-2); line-height: 1.5; margin-bottom: 14px; }
.store__closed { margin: 10px 0 8px; font-size: 15px; }
.store__closed b { color: var(--main-d); }
.store__map iframe { width: 100%; aspect-ratio: 1 / .82; border: 0; border-radius: var(--r-s); display: block; background: var(--tint); }
.store__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.store__photos img { border-radius: var(--r-s); }

/* ---------- よくある質問 ---------- */
.faq__item { background: var(--white); border-radius: var(--r-s); margin-bottom: 14px; overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: flex-start; padding: 20px 60px 20px 24px; font-weight: 700; font-size: 17px; line-height: 1.6; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 26px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--main); border-bottom: 2px solid var(--main); transform: rotate(45deg); transition: transform var(--dur) var(--ease); }
.faq__item[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq__q { flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--main); color: var(--white); font-family: var(--en); font-size: 17px; line-height: 1; margin-top: -3px; }
.faq__q--a { background: var(--sub); color: var(--ink); }
.faq__a { display: flex; gap: 16px; padding: 0 24px 22px; font-size: 16px; line-height: 1.85; }
.faq__a p { margin: 0; }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size var(--dur) var(--ease), content-visibility var(--dur) allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
.faq { margin-bottom: 0; }

/* ---------- フッター ---------- */
.ft { background: var(--tint); padding: 56px 0 0; margin-top: 120px; }
.ft__nav { display: grid; grid-template-columns: .6fr 1.2fr 1fr 1fr; gap: 8px 24px; padding: 0 20px; }
.ft__nav li { margin-bottom: 8px; }
.ft__nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.ft__nav a::before { content: "\2014\00a0\00a0"; color: var(--ink-2); }
.ft__nav a:hover { color: var(--main); }
.ft__info { margin: 40px 20px 0; }
.ft__info dt { font-weight: 700; color: var(--main-d); font-size: 16px; }
.ft__info dt::before { content: "■ "; }
.ft__info dd { margin: 4px 0 18px 1em; font-size: 16px; }
.ft__copy { text-align: center; margin: 40px 0 0; padding: 22px 16px; font-size: 12px; }

.fixbar { display: none; }

/* ---------- 下層（コラム） ---------- */
.page-hd { background: var(--tint); padding: 36px 0 48px; }
.page-hd__title { font-size: 40px; font-weight: 700; color: var(--ink-2); margin: 14px 0 12px; }
.page-hd__title::first-letter { color: var(--main); }
.page-hd__lead { color: var(--ink-2); max-width: 760px; font-size: 16px; }
.crumb ol { display: flex; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.crumb li + li::before { content: ">"; margin: 0 10px; }
.crumb a { color: var(--ink-2); }
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cat-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 18px; border: 1px solid var(--main); border-radius: 99px; color: var(--main-d); text-decoration: none; font-weight: 700; font-size: 14px; background: var(--white); }
.cat-nav a[aria-current] { background: var(--main); color: var(--white); }
.sec--tight { padding: 56px 0 40px; }
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 25px; }
.card__link { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); box-shadow: 0 0 6px #b8b8b8; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card__link:hover .card__img img { transform: scale(1.05); }
.card__img--text { display: flex; align-items: flex-end; padding: 20px 22px; background: var(--grad); }
.card__img--text span { color: var(--white); font-size: 20px; font-weight: 700; }
.card__meta { display: flex; gap: 12px; align-items: center; margin-top: 14px; font-size: 13px; }
.card__meta time { font-family: var(--en); font-weight: 600; }
.card__cat { color: var(--main-d); font-weight: 700; border: 1px solid var(--main); border-radius: 4px; padding: 0 8px; }
.card__title { font-weight: 700; font-size: 17px; line-height: 1.6; margin-top: 8px; }
.card__link:hover .card__title { color: var(--main); }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.page-numbers { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--main); border-radius: 6px; text-decoration: none; color: var(--main); background: var(--white); }
.page-numbers.current { background: var(--main); color: var(--white); }

.post-hd { background: var(--tint); padding: 32px 0 0; }
.post-hd__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 22px 0 10px; font-size: 13px; }
.post-hd__cat { color: var(--main-d); font-weight: 700; text-decoration: none; border: 1px solid var(--main); border-radius: 4px; padding: 0 8px; }
.post-hd__title { font-size: 34px; line-height: 1.55; color: var(--ink-2); padding-bottom: 36px; font-weight: 700; }
.post-hd__img img { border-radius: var(--r); width: 100%; margin-bottom: -48px; position: relative; }
.post-body { padding-top: 88px; padding-bottom: 32px; font-size: 17px; line-height: 2; }
.post-body > p { margin: 0 0 1.2em; }
.post-body h2 { font-size: 26px; line-height: 1.55; color: var(--ink-2); margin: 72px 0 24px; padding: 14px 20px; background: var(--tint); border-left: 0; border-bottom: 3px solid var(--main); border-radius: 6px 6px 0 0; }
.post-body h3 { font-size: 20px; color: var(--main-d); margin: 40px 0 14px; }
.post-body ul, .post-body ol { margin: 0 0 1.4em; padding: 20px 24px 20px 44px; background: var(--white); border-radius: var(--r-s); border: 2px solid var(--tint-2); }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: 6px; }
.post-body table { width: 100%; margin: 0 0 1.6em; font-size: 15px; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.post-body th { background: var(--main); color: var(--white); }
.post-body a { color: var(--main-d); text-underline-offset: 3px; }
.post-body figure { margin: 32px 0; }
.post-body figure img { border-radius: var(--r); }
.toc { background: var(--tint); border-radius: var(--r-s); padding: 24px 28px; margin: 32px 0 8px; }
.toc__title { font-weight: 700; color: var(--main-d); margin-bottom: 10px; }
.post-body .toc ol { background: none; border: 0; padding: 0 0 0 1.4em; margin: 0; font-size: 15px; }
.post-body .faq { margin-top: 56px; padding: 0; }
.post-body .faq::before { display: none; }
.post-body .faq dl { margin: 0; }
.post-body .faq dt { font-weight: 700; color: var(--main); padding: 18px 0 6px; border-top: 1px solid var(--line); }
.post-body .faq dd { margin: 0 0 12px; }
.post-ft { padding-bottom: 88px; }
.post-author { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; padding: 28px; background: var(--tint); border-radius: var(--r); margin-top: 48px; font-size: 15px; }
.post-author img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; }
.post-author__label { font-size: 12px; margin: 0; }
.post-author__name { font-weight: 700; color: var(--main-d); margin-bottom: 6px; }
.post-cta { margin-top: 24px; background: var(--main); color: var(--white); border-radius: var(--r); padding: 40px 32px; text-align: center; }
.post-cta__title { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.post-cta__hours { font-size: 13px; opacity: .9; }
.post-cta .cta-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 8px 30px; border-radius: 99px; text-decoration: none; font-weight: 700; line-height: 1.3; }
.btn--tel { background: var(--white); color: var(--main); }
.btn--line { background: var(--sub); color: var(--ink); }
.btn--primary { background: var(--main); color: var(--white); }
.btn__small { font-size: 12px; font-weight: 500; }
.btn__big { font-family: var(--en); font-size: 22px; }
.related { background: var(--tint); padding: 88px 0; }
.related .h2 { font-size: 28px; color: var(--ink-2); margin-bottom: 32px; text-align: center; }

/* ---------- 出現アニメーション ---------- */
.js .rv { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease2) var(--d, 0s), transform .8s var(--ease2) var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .case.rv { transform: translateY(30px) scale(.97); }
.js .case.rv.is-in { transform: none; }

/* ==========================================================
   PC：1024〜1279
   ========================================================== */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hd__upper { padding: 14px 24px 14px 32px; }
  .hd__tel-num { font-size: 24px; }
  .hd__act .pill { padding: 6px 18px; }
  .gnav a { padding: 6px 12px; font-size: 15px; }
  .hero__badges p { font-size: 24px; }
  .hero__badges p:last-child { font-size: 28px; }
  .hero__vline { font-size: 25px; }
}

/* ==========================================================
   SP（〜1023px）
   ========================================================== */
@media (max-width: 1023px) {
  html { scroll-padding-top: 76px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .hd__upper { padding: 12px 16px 12px 20px; min-height: 72px; }
  .logo__name { font-size: 24px; }
  .logo__sub { font-size: 11px; }
  .hd__act, .gnav { display: none; }
  .burger { display: grid; place-content: center; gap: 6px; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; padding: 0; }
  .burger span { display: block; width: 30px; height: 3px; background: var(--ink-2); transition: transform var(--dur) var(--ease), opacity var(--dur); }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  .sec__hd { margin-bottom: 40px; }
  .ttl { font-size: 26px; }
  .ttl::after { width: 100px; height: 4px; margin-top: 16px; }
  .sec__lead { font-size: 15px; margin-top: 18px; text-align: left; }
  .sec { padding-top: 96px; }
  .treatment { padding-top: 96px; }

  .hero { padding: 20px 0 0 20px; }
  .hero__photo { aspect-ratio: 370 / 330; max-height: none; }
  .hero__photo picture img { border-radius: 90px 0 0 0; object-position: 62% 40%; }
  .hero__vtext { top: auto; bottom: 100%; right: auto; left: 0; position: relative; display: block; margin: 0 20px 16px 0; }
  .hero__vline { writing-mode: horizontal-tb; display: inline; background: none; border: 0; padding: 0; font-size: 26px; line-height: 1.55; letter-spacing: .04em; }
  .hero__vline + .hero__vline::before { content: "\A"; white-space: pre; }
  .hero__photo { display: flex; flex-direction: column; aspect-ratio: auto; }
  .hero__photo picture { order: 2; aspect-ratio: 370 / 330; display: block; }
  .hero__vtext { order: 1; }
  .hero__badges { left: -20px; bottom: 10px; }
  .hero__badges p { font-size: 15px; padding: 4px 10px; margin-top: 6px; border-radius: 0 4px 4px 0; }
  .hero__badges p:last-child { font-size: 17px; }
  .hero__box { width: 30%; min-width: 0; right: 3%; bottom: -44px; padding: 22px 6px 10px; border-width: 3px; }
  .hero__box-label { font-size: 12px; padding: 1px 10px; top: -14px; }
  .hero__box-text { font-size: 13px; }

  .info { margin-top: 80px; padding: 0 20px; }
  .info__card { grid-template-columns: 1fr; background: var(--tint); filter: none; }
  .info__img img { aspect-ratio: 3 / 2; }
  .info__body { padding: 20px 16px 22px; }
  .info__label { font-size: 17px; }
  .info__title { font-size: 22px; }
  .sched { font-size: 14px; }
  .sched thead th { font-size: 13px; padding: 8px 2px; }
  .sched tbody th { font-size: 13px; padding: 12px 2px; }
  .sched td { padding: 12px 2px; }
  .dot { width: 10px; height: 10px; }
  .info__dl div { grid-template-columns: 5.2em 1fr; font-size: 14px; }

  .photo3, .row3, .voices, .col-grid { grid-template-columns: 1fr; gap: 32px; }
  .row3 { grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0 56px; }
  .row3 figure:first-child { grid-column: 1 / -1; }
  .photo3__name { font-size: 21px; }

  .arc { margin-top: 96px; padding: 80px 0 72px; }
  .arc::before { inset: 0 -40vw; border-radius: 100% / 70px; }
  .cases { flex-direction: column; align-items: center; row-gap: 72px; padding-top: 30px; }
  .case { width: 100%; max-width: 360px; min-height: 0; border-width: 5px; padding: 56px 18px 26px; }
  .case__tab { top: -28px; width: 80%; }
  .case__title { font-size: 18px; text-align: center; }
  .case__text { font-size: 15px; }
  .answer-band { margin-top: 64px; padding: 32px 20px 28px; }
  .answer-band__title { font-size: 22px; }

  .balloon p { font-size: 22px; padding: 2px 18px; }
  .formula__main { font-size: 21px; gap: 0 2px; }
  .formula__after { font-size: 15px; text-align: left; }
  .formula__after br { display: none; }
  .blob-row, .blob-row.is-rev { grid-template-columns: 1fr; gap: 20px; }
  .blob-row.is-rev .blob { order: 0; }
  .blob { width: 86%; margin: 0 auto; }
  .blob-row__num { font-size: 44px; }
  .grad-ttl { font-size: 22px; }
  .price-line { flex-direction: column; align-items: flex-start; gap: 2px; }

  .jiko { padding-left: 20px; padding-right: 20px; }
  .panel { padding-bottom: 28px; }
  .panel__head { margin-bottom: 24px; padding: 22px 14px 18px; }
  .panel__title { font-size: 22px; }
  .panel__head p { font-size: 14px; }
  .panel__cols { grid-template-columns: 1fr; padding: 0 14px; gap: 14px; }
  .panel__cols article { padding: 22px 18px 18px; }
  .panel__h3 { font-size: 20px; }
  .panel__price strong { font-size: 24px; }
  .panel__tiles { padding: 0 14px; gap: 8px; }
  .panel__tiles li { width: calc((100% - 16px) / 3); min-height: 60px; font-size: 13px; }

  .commit { gap: 44px; }
  .commit__item { flex-basis: 100%; }
  .commit__num { font-size: 44px; margin-left: 4px; }
  .commit__ttl { font-size: 20px; margin: 18px 4px 10px; }
  .commit__item > p:last-child { margin: 0 4px; font-size: 15px; }
  .commit--flow { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 14px; }
  .commit--flow .commit__num { font-size: 32px; }
  .commit--flow .commit__ttl { font-size: 17px; margin: 12px 0 6px; }
  .commit--flow .commit__item > p:last-child { font-size: 14px; margin: 0; }

  .price__grid { grid-template-columns: 1fr; gap: 20px; }
  .price__side { gap: 20px; }
  .ptable ul { padding: 4px 16px 8px; }
  .ptable li { flex-wrap: wrap; }
  .ptable__name { font-size: 15px; }
  .ptable__price { font-size: 22px; }

  .voice-card { border-width: 3px; padding: 26px 20px 20px; }

  .wish { flex-direction: column; }
  .wish__img { flex: none; width: 100%; }
  .wish__img img { border-radius: var(--r) var(--r) 0 0; }
  .wish__card { margin: 0; padding: 28px 20px 26px; border-radius: 0 0 var(--r) var(--r); }
  .wish__catch { font-size: 19px; }
  .wish__card > p:not(.wish__catch):not(.wish__sign):not(.wish__lic) { font-size: 15px; }
  .wish__sign strong { font-size: 22px; }

  .news { margin-top: 96px; padding: 64px 0; }
  .news .sec__hd { margin-bottom: 36px; }
  .news__list a { padding: 14px 4px; gap: 4px 12px; font-size: 15px; }
  .news__ttl { flex-basis: 100%; }

  .store { grid-template-columns: 1fr; gap: 28px; }
  .store__name { font-size: 24px; }
  .store__tel a { font-size: 30px; }
  .store__catch { font-size: 17px; }

  .faq__item summary { font-size: 15px; padding: 16px 48px 16px 16px; gap: 12px; }
  .faq__item summary::after { right: 20px; top: 22px; }
  .faq__q { width: 28px; height: 28px; font-size: 14px; }
  .faq__a { padding: 0 16px 18px; font-size: 15px; gap: 12px; }

  .ft { margin-top: 80px; }
  .ft__nav { grid-template-columns: 1fr 1fr; }
  .ft__info dd { font-size: 14px; }

  .fixbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); transform: translateY(120%); transition: transform .4s var(--ease2); }
  .fixbar.is-show { transform: none; }
  .fixbar__btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 99px; font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
  .fixbar__btn--tel { background: var(--white); color: var(--main); border: 2px solid var(--main); }
  .fixbar__btn--line { background: var(--main); color: var(--white); border: 2px solid var(--white); }
  .fixbar__btn--map { background: var(--sub); color: var(--ink); }

  .page-hd__title { font-size: 28px; }
  .post-hd__title { font-size: 24px; }
  .post-body { font-size: 16px; padding-top: 72px; }
  .post-body h2 { font-size: 21px; margin-top: 56px; padding: 12px 14px; }
  .post-body ul, .post-body ol { padding: 16px 16px 16px 36px; }
  .post-body table { display: block; overflow-x: auto; }
  .post-author { grid-template-columns: 72px 1fr; padding: 20px; }
  .post-cta { padding: 32px 20px; }
}

/* 動きを減らす設定の方には、すべての動きを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .hero__badges p, .js .hero__vline, .js .hero__box { opacity: 1 !important; transform: none !important; }
}

/* ---------- あしらい：参考と同じ位置に手描き風の輪と丸 ---------- */
.trouble .wrap, .selfpay .wrap, .greeting .wrap, .reason .wrap { position: relative; }
.trouble .wrap::before, .selfpay .sec__hd::before, .greeting .wrap::before, .reason .wrap::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 110' fill='none' stroke='%23ffd43b' stroke-width='2'%3E%3Cpath d='M58 8c27-3 50 14 52 38s-19 46-46 47S12 76 14 51 31 11 58 8z'/%3E%3Cpath d='M40 40c19-6 40 4 43 22s-11 36-31 37S16 87 16 70s7-25 24-30z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.trouble .wrap::before { width: 70px; height: 64px; left: 4%; top: -40px; }
.selfpay .sec__hd::before { width: 92px; height: 84px; left: 6%; top: 20px; }
.greeting .wrap::before { width: 120px; height: 110px; left: 0; top: -10px; }
.reason .wrap::after { width: 80px; height: 74px; right: 3%; top: -30px; }
.selfpay .sec__hd::after { content: ""; position: absolute; right: 4%; top: 70px; width: 110px; height: 110px; border-radius: 52% 48% 46% 54% / 50% 46% 54% 50%; background: radial-gradient(circle at 38% 34%, #fff2b8 0%, #f8cf4a 60%, #ffd43b 100%); box-shadow: 4px 4px 0 -1px #fff, 5px 5px 0 0 #ffd43b; }
.ttl, .balloon, .formula, .cases, .commit { position: relative; z-index: 1; }

/* 写真の変形枠（参考の「なぜ」の写真の組み方） */
.blob::before { border-color: var(--sub); border-width: 2px; }

/* ==========================================================
   SP：参考サイトのスマホ実寸（h2 20px／h3 18px／本文16px／枠5px）
   ========================================================== */
@media (max-width: 1023px) {
  body { letter-spacing: .05em; }
  .ttl { font-size: 20px; }
  .ttl__first { font-size: 1.3em; }
  .ttl::after { width: 100px; height: 5px; margin-top: 14px; }
  .sec__hd { margin-bottom: 36px; }
  .sec__lead { font-size: 16px; text-align: center; font-weight: 500; }
  .sec__lead br { display: none; }

  /* ヒーロー：参考と同じく縦書きはスマホでは出さない（見出しとしては残す） */
  .hero { padding: 16px 0 0 20px; }
  .hero__photo { display: block; aspect-ratio: auto; }
  .hero__photo picture { display: block; aspect-ratio: 370 / 330; }
  .hero__photo picture img { border-radius: 40px 0 0 40px; }
  .hero__vtext { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
  .hero__badges { left: -10px; bottom: 14px; }
  .hero__badges p { font-size: 13px; padding: 3px 8px; margin-top: 5px; border-radius: 3px; }
  .hero__badges p:last-child { font-size: 18px; padding: 4px 8px; }
  .hero__box { width: 28%; right: 2%; bottom: -46px; padding: 20px 4px 8px; border-width: 3px; }
  .hero__box-label { font-size: 12px; top: -13px; }
  .hero__box-text { font-size: 12px; line-height: 1.5; }

  .info { margin-top: 84px; }
  .info__card { background: var(--tint); }
  .info__label { font-size: 16px; }
  .info__title { font-size: 20px; }

  .arc { margin-top: 80px; padding: 72px 0 64px; }
  .arc::before { inset: 0 -100px; border-radius: 780px / 195px; }
  .case { max-width: 315px; border-width: 5px; border-radius: 20px; padding: 54px 18px 28px; }
  .case__tab { width: 86%; top: -26px; padding: 5px; }
  .case__tab span { font-size: 14px; }
  .case__check { width: 36px; height: 26px; margin-bottom: 18px; }
  .case__title { font-size: 18px; font-weight: 500; text-align: center; margin-bottom: 20px; }
  .case__text { font-size: 16px; padding: 0 6px; }
  .answer-band__title { font-size: 20px; }

  .balloon p { font-size: 20px; padding: 2px 16px; border-width: 2px; }
  .formula__lead { font-size: 14px; }
  .formula__main { font-size: 20px; }
  .grad-ttl { font-size: 20px; text-align: center; }
  .blob-row__num { text-align: center; font-size: 40px; }
  .blob-row__body > p:not(.blob-row__num):not(.price-line) { font-size: 16px; }
  .selfpay .sec__hd::before, .greeting .wrap::before { width: 54px; height: 50px; left: 0; top: -20px; }
  .selfpay .sec__hd::after { width: 64px; height: 64px; right: 0; top: auto; bottom: -30px; }
  .trouble .wrap::before { width: 48px; height: 44px; left: 2%; top: -30px; }
  .reason .wrap::after { width: 52px; height: 48px; right: 2%; top: -26px; }

  .commit__num { font-size: 40px; }
  .commit__ttl { font-size: 18px; }
  .commit__item > p:last-child { font-size: 16px; }
  .commit--flow .commit__item > p:last-child { font-size: 14px; }

  .panel__title { font-size: 18px; }
  .wish__catch { font-size: 18px; }
  .voice-card__ttl { font-size: 18px; }
  .ptable__head { font-size: 18px; }

  /* 下の予約ボタン：参考と同じ丸ボタン3つ */
  .fixbar { gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
  .fixbar__btn { min-height: 46px; font-size: 14px; letter-spacing: 0; gap: 6px; }
  .fixbar__btn--tel { background: var(--white); color: var(--main-d); border: 2px solid var(--main); }
  .fixbar__btn--line { background: var(--line-app); color: var(--white); border: 2px solid var(--white); }
  .fixbar__btn--map { background: var(--main); color: var(--white); border: 2px solid var(--white); }
}

/* 短い見出しは文節で折り返す（読点だけが次の行に落ちるのを防ぐ） */
.case__title, .voice-card__ttl, .answer-band__title, .wish__catch, .info__title { word-break: normal; word-break: auto-phrase; line-break: strict; }

@media (max-width: 1023px) {
  .hero__badges { max-width: 72%; }
  .hero__badges p:last-child { font-size: 15px; }
  .hero__box { width: 31%; }
  .hero__box-text { font-size: 11px; white-space: nowrap; letter-spacing: 0; }
}

/* ---------- ロゴ（マークは候補表示のときだけ） ---------- */
.logo { flex-direction: row; align-items: center; gap: 12px; }
.logo__txt { display: flex; flex-direction: column; }
.logo__mark { width: 52px; height: 52px; flex-shrink: 0; }
.logo--a .logo__name, .logo--b .logo__name, .logo--c .logo__name { font-family: "Zen Maru Gothic", var(--sans); letter-spacing: .08em; }
@media (max-width: 1023px) { .logo__mark { width: 40px; height: 40px; } .logo { gap: 9px; } }

/* ==========================================================
   スマホの作り込み（縦に長くなりすぎないように・指で横に送れる所を作る）
   ========================================================== */
@media (max-width: 1023px) {
  .ttl { font-size: 22px; }

  /* 3つの施術：大きな写真の縦積み→写真小さめの横並びカード */
  .photo3 { gap: 14px; }
  .photo3__item { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 14px; background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 6px 20px -14px rgba(60, 60, 0, .45); }
  .photo3__img { grid-row: 1 / span 4; aspect-ratio: 1; border-radius: 12px; }
  .photo3__label { margin-top: 2px; font-size: 11px; }
  .photo3__name { font-size: 18px; margin: 0 0 4px; }
  .photo3__text { font-size: 13px; line-height: 1.65; }
  .photo3__more { margin-top: 6px; font-size: 12px; justify-self: end; }

  /* 選ばれる理由・患者様の声：指で横に送るカード */
  .commit:not(.commit--flow), .voices { display: flex; flex-wrap: nowrap; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 24px 20px 18px; scroll-padding-inline: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .commit:not(.commit--flow)::-webkit-scrollbar, .voices::-webkit-scrollbar { display: none; }
  .commit:not(.commit--flow) .commit__item, .voices .voice-card { flex: 0 0 82%; scroll-snap-align: start; }
  .commit:not(.commit--flow) .commit__item { background: #fff; border-radius: 18px; padding: 0 0 20px; }
  .commit:not(.commit--flow) .commit__img { border-radius: 18px 18px 0 0; }
  .commit:not(.commit--flow) .commit__ttl { margin: 16px 16px 8px; }
  .commit:not(.commit--flow) .commit__item > p:last-child { margin: 0 16px; font-size: 14px; }
  .swipe-hint { display: block; text-align: right; font-size: 12px; color: var(--main-d); margin: -6px 0 0; letter-spacing: .1em; }
  .swipe-hint::after { content: ""; display: inline-block; width: 26px; height: 1px; background: currentColor; margin-left: 8px; vertical-align: middle; }

  /* 下の予約ボタン：アイコン付き */
  .fixbar { background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .fixbar__btn { flex-direction: column; gap: 2px; min-height: 52px; border-radius: 14px; font-size: 12px; box-shadow: none; }
  .fixbar__btn::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
  .fixbar__btn--tel { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
  .fixbar__btn--line { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11.1c0 4 3.6 7.4 8.4 8l-.5 2.4c-.1.4.3.7.7.5 2.9-1.6 8.4-5 10.4-8.6.6-1 1-2.1 1-3.3C22 6.6 17.5 3 12 3z'/%3E%3C/svg%3E"); border: 0; }
  .fixbar__btn--map { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); border: 0; background: var(--sub); color: var(--ink); }
}
@media (min-width: 1024px) { .swipe-hint { display: none; } }

/* 記事内の画像：写真は角丸、イラストはクリーム地のカードに載せる */
.post-body .post-fig { margin: 36px 0; }
.post-body .post-fig img { width: 100%; border-radius: var(--r); }
.post-body .post-fig--illust { background: var(--tint); border-radius: var(--r); padding: 28px 12%; }
.post-body .post-fig--illust img { border-radius: 0; max-width: 420px; margin: 0 auto; }
.post-credit { font-size: 12px; color: var(--ink-2); margin-top: 18px; }
.post-credit a { color: inherit; }

/* ヘッダー下のメニュー：画面上部に追従（PC） */
.gnav { position: sticky; top: calc(var(--hd-h, 80px) - 1px); z-index: 49; background: #fff; transition: padding .3s ease-out, box-shadow .3s ease-out; }
.gnav.is-stuck { padding-top: 10px; padding-bottom: 10px; box-shadow: 0 8px 18px -14px rgba(60, 60, 0, .45); }
.gnav.is-stuck a { padding-top: 4px; padding-bottom: 4px; font-size: 15px; }
/* 制作クレジット */
.ft__credit { text-align: center; margin: 0; padding: 0 16px 22px; font-size: 12px; color: var(--ink-2); }
.ft__credit a { color: inherit; }
@media (max-width: 1023px) { .ft__credit { padding-bottom: 96px; } }

/* ==========================================================
   2026-10-15 社長指示の修正
   ========================================================== */
/* フッターのメニュー：3列（TOPだけの列をなくした） */
.ft__nav { grid-template-columns: repeat(3, minmax(0, max-content)); justify-content: start; column-gap: 72px; }
/* コラムの上・よくある質問の下の白い隙間をなくす（PC・SP共通） */
.news { margin-top: 0; }
.arc + .news { padding-top: 40px; }
.ft { margin-top: 0; }

@media (max-width: 1023px) {
  /* 説明文の「。」での改行をスマホでも生かす */
  .sec__lead br { display: inline; }
  /* 1行に収める見出し・説明（画面幅に合わせて文字を縮める） */
  #selfpay .ttl { white-space: nowrap; font-size: min(20px, calc((100vw - 40px) / 17.4)); }
  #flow .sec__lead { white-space: nowrap; font-size: min(15px, calc((100vw - 40px) / 23.4)); }
  .commit:not(.commit--flow) .commit__ttl { white-space: nowrap; font-size: min(16px, calc((82vw - 64px) / 15.8)); }
  .voice-card__ttl { font-size: min(16px, calc((82vw - 80px) / 14.8)); }
  /* スマホ：メニューを2列で順に流す（途中で折れない） */
  .ft__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .ft__nav ul { display: contents; }
  .ft__nav a { white-space: nowrap; }
  /* 下の予約ボタンの裏は、フッターの色のまま（白い帯を出さない） */
  body { padding-bottom: 0; }
}
/* 色がつながった部分の余白を詰める */
.flow.arc { padding-bottom: 48px; }
.faq.arc { padding-bottom: 56px; }
.ft { padding-top: 40px; }
@media (max-width: 1023px) { .flow.arc { padding-bottom: 32px; } .faq.arc { padding-bottom: 40px; } .ft { padding-top: 32px; } }

/* ---------- お問い合わせフォーム ---------- */
.contact__direct { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 0 0 48px; }
.form { margin: 0; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__row { display: grid; grid-template-columns: 240px 1fr; gap: 0 24px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.form__row:first-of-type { border-top: 1px solid var(--line); }
.form__label { display: block; padding-top: 12px; font-size: 17px; font-weight: 700; color: var(--ink); }
.form__label small { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; line-height: 1.6; color: var(--ink-2); }
.form__req { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 99px; background: var(--sub); color: var(--ink); font-size: 12px; font-weight: 700; vertical-align: 3px; }
.form__field input[type="text"], .form__field input[type="email"], .form__field input[type="tel"],
.form__field input[type="date"], .form__field textarea, .form__field select {
  width: 100%; max-width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r-s);
  background: var(--white); color: var(--ink); font-family: inherit; font-size: 16px; line-height: 1.6;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form__field textarea { line-height: 1.8; resize: vertical; }
.form__field input:focus, .form__field textarea:focus, .form__field select:focus {
  outline: none; border-color: var(--main); box-shadow: 0 0 0 3px rgba(156, 187, 28, .18);
}
.form__field input::placeholder, .form__field textarea::placeholder { color: #a8a39a; }
.form__row.is-ng .form__field input, .form__row.is-ng .form__field textarea { border-color: #c0392b; background: #fdf3f2; }
.form__row.is-ng .form__label { color: #c0392b; }

.form__slot + .form__slot { margin-top: 14px; }
.form__slot-ttl { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.form__slot input[type="date"] { width: auto; min-width: 200px; }
.form__time { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font-size: 15px; }
.form__time select { width: auto; min-width: 78px; padding-right: 10px; }

.form__note { margin: 24px 0 0; font-size: 14px; color: var(--ink-2); }
.form__btn { margin-top: 36px; text-align: center; }
.form__submit { min-width: 300px; min-height: 62px; border: 0; cursor: pointer; font-size: 18px; font-weight: 700; }
.form__err { margin: 0 0 24px; padding: 16px 20px; border-radius: var(--r-s); background: #fdf3f2; color: #c0392b; font-size: 16px; font-weight: 500; }

.form__done { padding: 48px 32px; border-radius: var(--r); background: var(--tint); text-align: center; }
.form__done-ttl { margin: 0 0 16px; font-size: 24px; font-weight: 700; color: var(--main-d); }
.form__done p { margin: 0 0 .6em; }
.form__warn { color: #c0392b; font-size: 15px; font-weight: 500; }
.form__done-tel { margin: 24px 0 0; font-family: var(--en); font-size: 30px; font-weight: 700; letter-spacing: .02em; }
.form__done-tel small { display: block; font-size: 13px; letter-spacing: .2em; color: var(--ink-2); }
.form__done-tel a { color: var(--main-d); text-decoration: none; }

@media (max-width: 1023px) {
  .contact__direct { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 36px; }
  .contact__direct .pill { width: 100%; }
  .form__row { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; }
  .form__label { padding-top: 0; font-size: 16px; }
  .form__slot input[type="date"] { min-width: 0; width: 100%; }
  .form__time { margin-left: 0; margin-top: 10px; display: flex; }
  .form__time select { flex: 1 1 auto; min-width: 0; }
  .form__submit { min-width: 0; width: 100%; }
  .form__done { padding: 36px 20px; }
  .form__done-ttl { font-size: 20px; }
  .form__done-tel { font-size: 26px; }
  /* 電話番号の入力例は長いので、狭い画面では少し小さくして収める */
  #f-tel::placeholder { font-size: 14px; }
}
