/*
 * Copyright (c) 2026 VitaHub LLC
 * All Rights Reserved.
 *
 * This source code is proprietary and confidential.
 * Use is permitted only with explicit authorization from VitaHub LLC.
 * See the LICENSE file for details.
 */
/* ============================================================
   tachikawa.css — 立川院 スマートフォン優先デザイン
   ヘッダー（固定バー＋フルスクリーンドロワー）／SP下部固定バー／
   フッター（CTA帯）／トップページ（kb-*）／テーマA/B/C 構造差
   モバイルファースト：基準=スマホ、@media (min-width:900px) でPC
   ============================================================ */

:root {
  --kb-header-h: 60px;
  --kb-fixedbar-h: 60px;
}
@media (min-width: 900px) { :root { --kb-header-h: 76px; } }

body.has-fixedbar { padding-top: var(--kb-header-h); padding-bottom: var(--kb-fixedbar-h); }
@media (min-width: 900px) { body.has-fixedbar { padding-bottom: 0; } }

/* ---------- 共通パーツ ---------- */
.kb-en { font-family: var(--font-num); font-size: .72rem; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; margin: 0 0 8px; }
.kb-en--light { color: var(--gold-soft); }
.kb-h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.3rem, 5.4vw, 1.7rem); line-height: 1.5; color: var(--ink); margin: 0; }
.kb-head { text-align: center; margin-bottom: clamp(22px, 6vw, 40px); }
.kb-lead { font-size: .88rem; color: var(--ink-soft); margin: 12px auto 0; max-width: 560px; }
.kb-sec { padding: clamp(44px, 11vw, 88px) 0; background: var(--bg); }
.kb-sec--band { background: var(--ivory); }
.kb-note { font-size: .78rem; color: var(--ink-mute); line-height: 1.7; }
.kb-legal { font-size: .74rem; color: var(--ink-mute); line-height: 1.8; margin-top: clamp(20px, 5vw, 32px); padding-top: 14px; border-top: 1px solid var(--line-soft); }
.kb-center { text-align: center; }
.kb-more { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: clamp(20px, 5vw, 32px); }

.kb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: var(--r); font-weight: 700; font-size: .92rem; text-decoration: none; text-align: center; cursor: pointer; transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease; }
.kb-btn:hover { opacity: .88; transform: translateY(-1px); }
.kb-btn--reserve { background: var(--reserve); color: #fff; box-shadow: 0 6px 18px rgba(168,68,111,.28); }
.kb-btn--primary { background: var(--ocean-deep); color: #fff; }
.kb-btn--line { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.kb-btn--line:hover { border-color: var(--gold); }
.kb-btn--lg { min-height: 54px; padding: 12px 30px; font-size: 1rem; }

/* ---------- ヘッダー（固定・コンパクト） ---------- */
.kb-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--kb-header-h); background: rgba(253,252,250,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-soft); transition: box-shadow .3s ease; }
.kb-header.is-scrolled { box-shadow: 0 2px 14px rgba(51,51,58,.08); }
.kb-header__inner { height: 100%; display: flex; align-items: center; gap: 14px; padding: 0 14px 0 16px; max-width: 1280px; margin: 0 auto; }
.kb-header__brand { display: flex; align-items: center; min-width: 0; }
.kb-header__brand img { height: 34px; width: auto; display: block; }
.kb-header__nav { display: none; }
.kb-header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.kb-header__tel { display: none; }
.kb-header__reserve { display: none; }
.kb-burger { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; padding: 6px 0 2px; }
.kb-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 1px; }
.kb-burger em { font-style: normal; font-family: var(--font-num); font-size: .5rem; letter-spacing: .14em; color: var(--ink-soft); }
@media (min-width: 900px) {
  .kb-header__brand img { height: 42px; }
  .kb-header__inner { padding: 0 24px; gap: 26px; }
  .kb-header__nav { display: flex; gap: 22px; margin-left: 8px; }
  .kb-header__nav a { font-size: .88rem; font-weight: 500; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
  .kb-header__nav a:hover { color: var(--ocean); border-bottom-color: var(--gold); }
  .kb-header__tel { display: block; text-align: right; }
  .kb-header__tel-num { display: block; font-family: var(--font-num); font-weight: 600; font-size: 1.06rem; color: var(--ocean-deep); letter-spacing: .02em; }
  .kb-header__tel-note { display: block; font-size: .66rem; color: var(--ink-mute); }
  .kb-header__reserve { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; background: var(--reserve); color: #fff; border-radius: var(--r); font-weight: 700; font-size: .88rem; text-decoration: none; }
  .kb-header__reserve:hover { opacity: .88; }
}

/* ---------- ドロワー（フルスクリーン） ---------- */
.kb-drawer { position: fixed; inset: 0; z-index: 200; background: var(--ivory); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.kb-drawer__head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 10px 16px; background: var(--ivory); border-bottom: 1px solid var(--line-soft); z-index: 1; }
.kb-drawer__logo { height: 32px; width: auto; }
.kb-drawer__close { position: relative; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; }
.kb-drawer__close span { position: absolute; left: 50%; top: 42%; width: 22px; height: 2px; background: var(--ink); }
.kb-drawer__close span:first-child { transform: translate(-50%,-50%) rotate(45deg); }
.kb-drawer__close span:nth-child(2) { transform: translate(-50%,-50%) rotate(-45deg); }
.kb-drawer__close em { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); font-style: normal; font-family: var(--font-num); font-size: .5rem; letter-spacing: .12em; color: var(--ink-soft); }
.kb-drawer__body { padding: 18px 18px 60px; max-width: 640px; margin: 0 auto; }
.kb-drawer__cta { display: grid; gap: 12px; margin-bottom: 22px; }
.kb-drawer__telbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; text-align: center; }
.kb-drawer__tel-label { display: block; font-size: .72rem; color: var(--ink-mute); }
.kb-drawer__tel-num { display: block; font-family: var(--font-num); font-weight: 600; font-size: 1.5rem; color: var(--ocean-deep); letter-spacing: .03em; margin: 2px 0; }
.kb-drawer__tel-hours { display: block; font-size: .72rem; color: var(--ink-soft); }
.kb-drawer__webbtn { display: flex; align-items: center; justify-content: center; min-height: 54px; background: var(--reserve); color: #fff; border-radius: var(--r); font-weight: 700; text-decoration: none; box-shadow: 0 6px 18px rgba(168,68,111,.25); }
.kb-acc__head { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; padding: 0 4px; background: none; border: 0; border-top: 1px solid var(--line-soft); font-size: 1rem; font-weight: 700; color: var(--ink); cursor: pointer; font-family: inherit; }
.kb-acc__icon { position: relative; width: 18px; height: 18px; }
.kb-acc__icon::before, .kb-acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--gold); transform: translate(-50%,-50%); }
.kb-acc__icon::before { width: 14px; height: 2px; }
.kb-acc__icon::after { width: 2px; height: 14px; transition: transform .25s ease; }
.kb-acc__head[aria-expanded="true"] .kb-acc__icon::after { transform: translate(-50%,-50%) scaleY(0); }
.kb-acc__panel { padding: 0 4px 14px; }
.kb-acc__cap { font-size: .74rem; letter-spacing: .1em; color: var(--gold); margin: 12px 0 4px; }
.kb-acc__panel ul { list-style: none; margin: 0; padding: 0; }
.kb-acc__panel a { display: block; padding: 11px 6px 11px 18px; font-size: .92rem; color: var(--ink-soft); text-decoration: none; position: relative; border-bottom: 1px dashed var(--line-soft); }
.kb-acc__panel a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 1px; background: var(--gold); }
.kb-drawer__links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.kb-drawer__links a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 4px; font-size: .96rem; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.kb-drawer__links a::after { content: "→"; color: var(--gold); font-size: .85rem; }
.kb-drawer__font { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: .8rem; color: var(--ink-soft); }
.kb-drawer__font .fs-btn { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); cursor: pointer; font-family: inherit; }
.kb-drawer__font .fs-btn[aria-pressed="true"] { background: var(--ocean-deep); color: #fff; border-color: var(--ocean-deep); }
.kb-drawer__sns { display: flex; gap: 16px; margin-top: 18px; }
.kb-drawer__sns a { font-size: .82rem; color: var(--ocean); }
@media (min-width: 900px) {
  .kb-drawer__body { max-width: 760px; }
}

/* ---------- SP 下部固定バー ---------- */
.kb-fixedbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; height: var(--kb-fixedbar-h); display: grid; grid-template-columns: 1fr 1fr 1fr; background: #fff; border-top: 1px solid var(--line-soft); box-shadow: 0 -4px 18px rgba(51,51,58,.10); padding-bottom: env(safe-area-inset-bottom); }
.kb-fixedbar__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: none; border: 0; font-family: inherit; font-size: .66rem; font-weight: 700; color: var(--ink-soft); text-decoration: none; cursor: pointer; }
.kb-fixedbar__btn svg { width: 21px; height: 21px; }
.kb-fixedbar__btn--tel  { color: var(--ocean-deep); }
.kb-fixedbar__btn--web  { background: var(--reserve); color: #fff; }
.kb-fixedbar__btn--menu { color: var(--ink-soft); }
@media (min-width: 900px) { .kb-fixedbar { display: none; } }
.kb-telpop { position: fixed; left: 14px; right: 14px; bottom: calc(var(--kb-fixedbar-h) + 12px + env(safe-area-inset-bottom)); z-index: 160; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 18px; text-align: center; }
.kb-telpop__label { font-size: .74rem; color: var(--ink-mute); margin: 0; }
.kb-telpop__num { font-family: var(--font-num); font-weight: 600; font-size: 1.7rem; color: var(--ocean-deep); margin: 4px 0; letter-spacing: .03em; }
.kb-telpop__hours { font-size: .74rem; color: var(--ink-soft); margin: 0 0 12px; }
.kb-telpop__close { min-height: 42px; width: 100%; border: 1px solid var(--line); background: var(--ivory); border-radius: var(--r); font-family: inherit; cursor: pointer; }

/* ---------- ファーストビュー（テーマ別に構造が変わる） ---------- */
.kb-fv { position: relative; background: var(--ivory); }
.kb-fv__media { line-height: 0; }
.kb-fv__media img { width: 100%; height: 56vw; max-height: 420px; object-fit: cover; }
.kb-fv__noimg { display: block; width: 100%; height: 56vw; max-height: 420px; background:
  radial-gradient(700px 340px at 82% 18%, rgba(166,138,78,.16), transparent 60%),
  radial-gradient(560px 300px at 12% 88%, rgba(168,68,111,.10), transparent 55%),
  linear-gradient(155deg, #f8f6f2 0%, #efe8de 55%, #e6ded1 100%); }
.kb-fv__body { padding: 26px 20px 34px; }
.kb-fv__area { font-size: .74rem; letter-spacing: .1em; font-weight: 700; color: var(--ocean-deep); margin: 0 0 10px; }
.kb-fv__area::before { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
.kb-fv__title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.55rem, 6.8vw, 2.5rem); line-height: 1.5; color: var(--ink); margin: 0 0 12px; }
.kb-fv__sub { font-size: .9rem; line-height: 2; color: var(--ink-soft); margin: 0 0 20px; }
.kb-fv__cta { margin-bottom: 16px; }
.kb-fv__cta .kb-btn { width: 100%; }
.kb-fv__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; }
.kb-fv__chips li { font-size: .74rem; color: var(--ink-soft); padding-left: 18px; position: relative; }
.kb-fv__chips li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; font-size: .8rem; line-height: 1.4; }
@media (min-width: 900px) {
  .kb-fv { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 520px; }
  .kb-fv__media { order: 2; height: 100%; }
  .kb-fv__media img, .kb-fv__noimg { height: 100%; max-height: none; min-height: 520px; }
  .kb-fv__body { order: 1; padding: 60px 48px 60px max(48px, calc((100vw - 1180px) / 2)); }
  .kb-fv__cta .kb-btn { width: auto; min-width: 300px; }
}

/* ---------- 施術タイル ---------- */
.kb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kb-tile { display: block; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.kb-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.kb-tile__img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--stone); }
.kb-tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.kb-tile:hover .kb-tile__img img { transform: scale(1.05); }
.kb-tile__img--n1 { background: linear-gradient(140deg, #f3e7ec, #e6d3dc); }
.kb-tile__img--n2 { background: linear-gradient(140deg, #ece9f1, #d8d6e5); }
.kb-tile__img--n3 { background: linear-gradient(140deg, #f2ede2, #e3d9c4); }
.kb-tile__img--n4 { background: linear-gradient(140deg, #eaeef0, #d5dde0); }
.kb-tile__name { display: block; padding: 10px 12px 2px; font-size: .84rem; font-weight: 700; color: var(--ink); line-height: 1.5; }
.kb-tile__cap { display: block; padding: 0 12px 12px; font-size: .7rem; color: var(--ink-mute); }
@media (min-width: 900px) {
  .kb-tiles { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .kb-tile__name { font-size: .92rem; }
  .kb-tile__cap { font-size: .76rem; }
}

/* ---------- お悩みチップ ---------- */
.kb-worries { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0; padding: 0; }
.kb-worries a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; color: var(--ink); text-decoration: none; transition: border-color .25s ease, color .25s ease; }
.kb-worries a::after { content: "→"; margin-left: 8px; color: var(--gold); font-size: .78rem; }
.kb-worries a:hover { border-color: var(--ocean); color: var(--ocean); }

/* ---------- POINT ---------- */
.kb-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.kb-point { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow-sm); }
.kb-point__num { font-family: var(--font-num); font-weight: 600; font-size: 1.3rem; color: var(--gold); line-height: 1; padding-top: 3px; }
.kb-point h3 { font-size: .98rem; margin: 0 0 6px; color: var(--ocean-deep); line-height: 1.6; }
.kb-point p { font-size: .84rem; color: var(--ink-soft); margin: 0; }
@media (min-width: 900px) { .kb-points { grid-template-columns: 1fr 1fr; gap: 20px; } .kb-point { padding: 26px; } }

/* ---------- 特集（豊胸／脂肪吸引） ---------- */
.kb-feature { display: grid; gap: 18px; }
.kb-feature__img { border-radius: var(--r); overflow: hidden; line-height: 0; }
.kb-feature__img img { width: 100%; height: auto; }
.kb-feature__img--none { aspect-ratio: 16/9; background: linear-gradient(150deg, #f3e7ec, #e2cfd9); }
.kb-feature__img--alt  { background: linear-gradient(150deg, #eaeef0, #d3dbe0); }
.kb-feature__body p { font-size: .9rem; }
.kb-feature__body .kb-h2 { margin-bottom: 12px; }
.kb-feature__body .kb-btn { margin-top: 6px; width: 100%; }
@media (min-width: 900px) {
  .kb-feature { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .kb-feature--rev .kb-feature__img { order: 2; }
  .kb-feature--rev .kb-feature__body { order: 1; }
  .kb-feature__body .kb-btn { width: auto; }
}

/* ---------- 症例 ---------- */
/* 症例カード：件数が少ないときも中央から並ぶよう flex+中央寄せ（v0.02.09） */
.kb-cases { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.kb-cases > .kb-case { width: calc(50% - 6px); }
.kb-case { display: block; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); }
.kb-case__thumb { display: block; aspect-ratio: 4/3; background: var(--stone); }
.kb-case__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kb-case__noimg { display: block; width: 100%; height: 100%; background: linear-gradient(150deg, var(--stone), var(--sand-deep)); }
.kb-case__title { display: block; padding: 10px 12px 4px; font-size: .82rem; font-weight: 700; line-height: 1.55; }
.kb-case__ex { display: block; padding: 0 12px 12px; font-size: .7rem; color: var(--ink-mute); }
@media (min-width: 900px) { .kb-cases { gap: 18px; } .kb-cases > .kb-case { width: calc(25% - 13.5px); } }

/* ---------- 声・口コミ ---------- */
.kb-voice { margin: 0; background: var(--surface); border: 1px solid var(--line-soft); border-left: 3px solid var(--gold); border-radius: var(--r); padding: clamp(18px, 5vw, 32px); }
.kb-voice blockquote { margin: 0; }
.kb-voice blockquote p { font-family: var(--font-serif); font-size: .95rem; line-height: 2.1; margin: 0; }
.kb-voice figcaption { margin-top: 12px; font-size: .74rem; color: var(--ink-mute); }
.kb-reviews { display: grid; gap: 10px; margin-top: 16px; }
.kb-reviews a { display: flex; align-items: center; justify-content: center; min-height: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-size: .84rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.kb-reviews a::after { content: "↗"; margin-left: 8px; color: var(--gold); font-size: .76rem; }
.kb-reviews a:hover { border-color: var(--gold); }
@media (min-width: 720px) { .kb-reviews { grid-template-columns: 1fr 1fr; } }

/* ---------- 医師 ---------- */
.kb-doctor { display: grid; gap: 18px; max-width: 900px; margin: 0 auto; }
.kb-doctor__img { border-radius: var(--r); overflow: hidden; line-height: 0; max-width: 320px; margin: 0 auto; width: 100%; }
.kb-doctor__img img { width: 100%; height: auto; }
.kb-doctor__img--none { aspect-ratio: 3/4; background: linear-gradient(150deg, #eee9e0, #ddd4c4); }
.kb-doctor__role { font-size: .72rem; letter-spacing: .16em; color: var(--gold); margin: 0 0 4px; }
.kb-doctor__name { font-family: var(--font-body); font-weight: 700; font-size: 1.3rem; letter-spacing: .02em; margin: 0 0 10px; }
.kb-doctor__body p { font-size: .9rem; }
.kb-doctor__body .kb-btn { margin-top: 6px; }
@media (min-width: 900px) { .kb-doctor { grid-template-columns: 300px 1fr; gap: 48px; align-items: start; } .kb-doctor__img { margin: 0; } }

/* ---------- リスク ---------- */
.kb-risk { margin: 0; display: grid; gap: 12px; }
.kb-risk > div { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 16px 18px; }
.kb-risk dt { font-weight: 700; font-size: .92rem; color: var(--ocean-deep); margin-bottom: 6px; }
.kb-risk dd { margin: 0; font-size: .84rem; color: var(--ink-soft); line-height: 1.9; }

/* ---------- FAQ ---------- */
.kb-faqs { display: grid; gap: 10px; }
.kb-faq { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.kb-faq summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 12px; padding: 15px 42px 15px 16px; font-weight: 700; font-size: .9rem; position: relative; }
.kb-faq summary::-webkit-details-marker { display: none; }
.kb-faq summary > span { color: var(--gold); font-family: var(--font-num); }
.kb-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--gold); font-family: var(--font-num); }
.kb-faq[open] summary::after { content: "−"; }
.kb-faq__a { display: flex; gap: 12px; padding: 0 16px 15px; }
.kb-faq__a > span { color: var(--ocean); font-family: var(--font-num); font-weight: 600; }
.kb-faq__a p { margin: 0; font-size: .86rem; color: var(--ink-soft); line-height: 1.9; }

/* ---------- NEWS ---------- */
.kb-news { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.kb-news a { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 13px 4px; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: inherit; }
.kb-news time { font-family: var(--font-num); font-size: .76rem; color: var(--ink-mute); }
.kb-news__cat { font-size: .66rem; padding: 2px 10px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); }
.kb-news__title { flex: 1 1 100%; font-size: .88rem; line-height: 1.6; }
.kb-news a:hover .kb-news__title { color: var(--ocean); }
@media (min-width: 720px) { .kb-news__title { flex: 1; } }

/* ---------- ページ内CTA ---------- */
.kb-cta { background: linear-gradient(160deg, #2a3a6b 0%, var(--navy) 55%, #1a2547 100%); color: #fff; padding: clamp(44px, 11vw, 80px) 0; text-align: center; }
.kb-cta__title { font-family: var(--font-serif); font-size: clamp(1.3rem, 5.6vw, 1.9rem); margin: 0 0 10px; color: #fff; }
.kb-cta__lead { font-size: .88rem; line-height: 2; color: rgba(255,255,255,.85); margin: 0 0 22px; }
.kb-cta .kb-btn--reserve { width: min(100%, 360px); }
.kb-cta__tel { margin-top: 18px; font-size: .84rem; color: rgba(255,255,255,.85); }
.kb-cta__tel strong { font-family: var(--font-num); font-size: 1.3rem; color: #fff; margin-left: 4px; letter-spacing: .03em; }
.kb-cta__tel span { display: block; font-size: .72rem; color: rgba(255,255,255,.6); margin-top: 4px; }

/* ---------- フッター ---------- */
.kb-footer__cta { background: var(--ivory); border-top: 1px solid var(--line-soft); padding: clamp(40px, 10vw, 72px) 0; text-align: center; }
.kb-footer__cta-title { font-family: var(--font-serif); font-size: clamp(1.25rem, 5.4vw, 1.7rem); margin: 0 0 8px; color: var(--ink); }
.kb-footer__cta-lead { font-size: .86rem; color: var(--ink-soft); margin: 0 0 20px; }
.kb-footer__cta-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; width: min(100%, 380px); background: var(--reserve); color: #fff; border-radius: var(--r); font-weight: 700; text-decoration: none; box-shadow: 0 6px 18px rgba(168,68,111,.25); }
.kb-footer__cta-btn:hover { opacity: .88; }
.kb-footer__cta-tel { margin: 16px 0 2px; font-size: .84rem; color: var(--ink-soft); }
.kb-footer__cta-tel strong { font-family: var(--font-num); font-size: 1.35rem; color: var(--ocean-deep); margin-left: 4px; letter-spacing: .03em; }
.kb-footer__cta-hours { font-size: .74rem; color: var(--ink-mute); margin: 0; }
.kb-footer__info { background: var(--ocean-deep); color: #fff; padding: clamp(30px, 8vw, 52px) 0 0; }
.kb-footer__info-inner { display: grid; gap: 26px; padding-bottom: clamp(28px, 7vw, 44px); }
.kb-footer__logo { height: 40px; width: auto; background: #fff; padding: 6px 10px; border-radius: 6px; }
.kb-footer__name { font-weight: 700; margin: 12px 0 6px; }
.kb-footer__addr, .kb-footer__access { font-size: .8rem; color: rgba(255,255,255,.8); margin: 0 0 4px; }
.kb-footer__hours .foot-hours { width: 100%; border-collapse: collapse; font-size: .78rem; background: rgba(255,255,255,.06); }
.kb-footer__hours .foot-hours th, .kb-footer__hours .foot-hours td { border: 1px solid rgba(255,255,255,.22); padding: 7px 4px; text-align: center; color: #fff; }
/* フッター（濃紺）では見出しセルの明るい背景を打ち消す（白文字が見えるように） */
.kb-footer__hours .foot-hours thead th { background: rgba(255,255,255,.12); color: #fff; }
.kb-footer__hours .foot-hours tbody th { background: rgba(255,255,255,.08); color: #fff; font-weight: 700; white-space: nowrap; }
.kb-footer__note { font-size: .72rem; color: rgba(255,255,255,.7); margin: 8px 0 0; }
.kb-footer__map { line-height: 0; }
.kb-footer__bottom { background: #16203f; padding: 18px 0 16px; text-align: center; }
.kb-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-bottom: 10px; }
.kb-footer__legal a { font-size: .74rem; color: rgba(255,255,255,.75); text-decoration: none; }
.kb-footer__legal a:hover { color: #fff; }
.kb-footer__bottom small { font-size: .7rem; color: rgba(255,255,255,.5); }
@media (min-width: 900px) { .kb-footer__info-inner { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- リビール ---------- */
.kb-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.kb-reveal.is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .kb-reveal { opacity: 1; transform: none; transition: none; }
  .kb-tile, .kb-case, .kb-btn { transition: none; }
}

/* ============================================================
   テーマ B「Soft & Friendly」— ピンク基調・丸み・中央寄せFV
   ============================================================ */
body.brand-b { --ocean: #b0567e; --ocean-deep: #7c3a58; --ocean-hover: #cd82a0;
  --ocean-tint: #faf3ef; --ivory: #fbf5f0; --gold: #c7a05f; --gold-soft: #e0cba0;
  --reserve: #b0567e; --reserve-deep: #93425f; --r: 14px; --r-lg: 18px; }
body.brand-b .kb-h2, body.brand-b .kb-fv__title, body.brand-b .kb-cta__title,
body.brand-b .kb-footer__cta-title { font-family: var(--font-display); letter-spacing: .01em; }
body.brand-b .kb-btn, body.brand-b .kb-header__reserve, body.brand-b .kb-drawer__webbtn,
body.brand-b .kb-footer__cta-btn { border-radius: 999px; }
/* FV：中央寄せ・角丸写真カード */
body.brand-b .kb-fv { display: block; background:
  radial-gradient(600px 320px at 88% 0%, rgba(176,86,126,.10), transparent 60%),
  var(--ivory); padding: 28px 20px 40px; }
body.brand-b .kb-fv__media { order: 0; max-width: 860px; margin: 0 auto 22px; }
body.brand-b .kb-fv__media img, body.brand-b .kb-fv__noimg { border-radius: 22px; height: 52vw; max-height: 380px; min-height: 0; }
body.brand-b .kb-fv__body { padding: 0; text-align: center; max-width: 640px; margin: 0 auto; }
body.brand-b .kb-fv__area::before { display: none; }
body.brand-b .kb-fv__area { color: var(--ocean); letter-spacing: .06em; }
body.brand-b .kb-fv__chips { justify-content: center; }
body.brand-b .kb-fv__cta .kb-btn { width: min(100%, 340px); }
@media (min-width: 900px) {
  body.brand-b .kb-fv { padding: 48px 24px 64px; }
  body.brand-b .kb-fv__media img, body.brand-b .kb-fv__noimg { height: 380px; }
}
body.brand-b .kb-sec--band { background: var(--ivory); }
body.brand-b .kb-point { border: 0; background: #fff; box-shadow: 0 4px 20px rgba(176,86,126,.08); }
body.brand-b .kb-cta { background: linear-gradient(160deg, #a3577a 0%, #7c3a58 60%, #62294a 100%); }
body.brand-b .kb-footer__info { background: #7c3a58; }
body.brand-b .kb-footer__bottom { background: #62294a; }
body.brand-b .kb-en { letter-spacing: .22em; }

/* ============================================================
   テーマ C「Editorial」— 紺基調・角丸なし・フルブリードFV
   ============================================================ */
body.brand-c { --ocean: #23315e; --ocean-deep: #17224a; --ocean-hover: #4a5a94;
  --ocean-tint: #f3f2ee; --ivory: #f5f4f0; --gold: #a68a4e; --pink: #a8446f;
  --reserve: #23315e; --reserve-deep: #17224a; --r: 0px; --r-lg: 0px; }
body.brand-c .kb-btn, body.brand-c .kb-header__reserve, body.brand-c .kb-drawer__webbtn,
body.brand-c .kb-footer__cta-btn, body.brand-c .kb-tile, body.brand-c .kb-case,
body.brand-c .kb-point, body.brand-c .kb-voice, body.brand-c .kb-faq,
body.brand-c .kb-risk > div, body.brand-c .kb-feature__img, body.brand-c .kb-doctor__img { border-radius: 0; }
body.brand-c .kb-worries a { border-radius: 0; }
body.brand-c .kb-tile, body.brand-c .kb-case, body.brand-c .kb-point { box-shadow: none; border-color: var(--line); }
body.brand-c .kb-h2 { letter-spacing: .08em; font-weight: 500; }
body.brand-c .kb-en { color: var(--ink-mute); }
/* FV：フルブリード・オーバーレイ */
body.brand-c .kb-fv { position: relative; display: block; min-height: min(86vh, 640px); background: #17224a; }
body.brand-c .kb-fv__media { position: absolute; inset: 0; }
body.brand-c .kb-fv__media img { width: 100%; height: 100%; max-height: none; object-fit: cover; opacity: .82; }
body.brand-c .kb-fv__noimg { height: 100%; max-height: none; background:
  radial-gradient(800px 400px at 80% 10%, rgba(166,138,78,.22), transparent 60%),
  linear-gradient(160deg, #253563 0%, #17224a 60%, #0f1836 100%); }
body.brand-c .kb-fv::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,24,54,.25) 0%, rgba(15,24,54,.55) 100%); }
body.brand-c .kb-fv__body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(86vh, 640px); padding: 40px 22px 46px; max-width: 1180px; margin: 0 auto; }
body.brand-c .kb-fv__area { color: var(--gold-soft); font-family: var(--font-num); letter-spacing: .3em; font-weight: 500; }
body.brand-c .kb-fv__area::before { background: var(--gold-soft); }
body.brand-c .kb-fv__title { color: #fff; }
body.brand-c .kb-fv__sub { color: rgba(255,255,255,.85); }
body.brand-c .kb-fv__chips li { color: rgba(255,255,255,.8); }
body.brand-c .kb-fv__chips li::before { color: var(--gold-soft); }
body.brand-c .kb-fv__cta .kb-btn { background: #fff; color: #17224a; box-shadow: none; }
@media (min-width: 900px) { body.brand-c .kb-fv__body { padding: 60px 48px 70px; } }
body.brand-c .kb-cta { background: #17224a; }
body.brand-c .kb-footer__cta { background: var(--ivory); }
body.brand-c .kb-footer__info { background: #17224a; }
body.brand-c .kb-footer__bottom { background: #0f1836; }

/* フッターSNS（v0.02.01）— ロゴ・住所ブロックの下に左揃えで整列 */
.kb-footer__sns { display: flex; align-items: center; justify-content: flex-start; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.kb-footer__sns-icon { color: #fff; opacity: .85; display: inline-flex; transition: opacity .2s, transform .2s; }
.kb-footer__sns-icon:hover { opacity: 1; transform: translateY(-2px); }
.kb-footer__sns-banner img { max-width: 240px; width: 100%; border-radius: 10px; display: block; }
@media (max-width: 768px) { .kb-footer__sns { justify-content: center; } }

/* ドロワー：文字サイズとSNSを同じ行に（SNSは右寄せ） */
.kb-drawer__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.kb-drawer__meta .kb-drawer__font { margin: 0; }
.kb-drawer__sns.kb-sns-icons { display: flex; align-items: center; gap: 14px; }
.kb-drawer__sns.kb-sns-icons a { display: inline-flex; color: inherit; opacity: .8; transition: opacity .2s, transform .2s; }
.kb-drawer__sns.kb-sns-icons a:hover { opacity: 1; transform: translateY(-2px); }

/* 予約系ボタンのホバー改善（v0.02.01）
   文字色は白のまま維持し、明度アップ＋浮き上がり＋光が走る（キラン）効果で分かりやすく */
.kb-btn--reserve, .kb-btn--primary, .kb-footer__cta-btn, .kb-header__reserve, .kb-drawer__webbtn, .kb-fixedbar__btn--web {
  position: relative; overflow: hidden;
}
.kb-btn--reserve:hover, .kb-btn--primary:hover, .kb-footer__cta-btn:hover, .kb-header__reserve:hover, .kb-drawer__webbtn:hover {
  color: #fff !important; text-decoration: none !important;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  transition: filter .2s, transform .2s, box-shadow .2s;
}
.kb-btn--reserve::after, .kb-btn--primary::after, .kb-footer__cta-btn::after, .kb-header__reserve::after, .kb-drawer__webbtn::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -30%; width: 34%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg) translateX(-140%);
  pointer-events: none;
}
.kb-btn--reserve:hover::after, .kb-btn--primary:hover::after, .kb-footer__cta-btn:hover::after, .kb-header__reserve:hover::after, .kb-drawer__webbtn:hover::after {
  animation: kbShine .7s ease forwards;
}
@keyframes kbShine { to { transform: skewX(-20deg) translateX(480%); } }
@media (prefers-reduced-motion: reduce) {
  .kb-btn--reserve:hover::after, .kb-btn--primary:hover::after, .kb-footer__cta-btn:hover::after, .kb-header__reserve:hover::after, .kb-drawer__webbtn:hover::after { animation: none; }
}

/* 院内フォトギャラリー（v0.02.01）— 1枚目を大きく見せるモザイクグリッド */
.kb-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kb-gallery__item { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--line); aspect-ratio: 4 / 3; }
.kb-gallery__item--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.kb-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.kb-gallery__item:hover img { transform: scale(1.04); }
.kb-gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px 8px;
  font-size: .78rem; color: #fff; letter-spacing: .04em;
  background: linear-gradient(transparent, rgba(20,24,48,.72));
}
@media (max-width: 900px) { .kb-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 520px) { .kb-gallery__item--wide { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 10; } }

/* 貼り付けコンテンツのフォント統一（v0.02.01）— 本文内は常にサイト標準フォント */
.article-body, .article-body * { font-family: var(--font-body) !important; }

/* 複数店舗（v0.02.01） */
.kb-footer__branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.kb-footer__branch .kb-footer__name { margin-top: 0; }
.kb-footer__maps--multi { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.kb-footer__map-name { margin: 0 0 6px; font-weight: 700; font-size: .9rem; color: #fff; letter-spacing: .06em; }
.kb-gallery__branch { font-size: 1.05rem; letter-spacing: .08em; margin: 26px 0 12px; padding-left: 12px; border-left: 3px solid var(--gold, #b89b5e); }
.kb-gallery + .kb-gallery__branch { margin-top: 34px; }

/* 施術詳細リンク（v0.02.01） */
.treatment-links { padding: 8px 0 34px; }
.treatment-links__title { font-size: 1.05rem; letter-spacing: .08em; margin: 0 0 14px; padding-left: 12px; border-left: 3px solid var(--gold, #b89b5e); }
.treatment-links__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.treatment-links__btn { text-align: center; justify-content: center; }

/* 施術見出しのリンク化（v0.02.01）— ピンク帯の見出し自体が詳細ページへのリンク */
.prose h2.h2--link { padding: 0; }
/* h3見出しがリンク化された場合も、h2と同じ帯デザインで統一（v0.02.11） */
.prose h3.h2--link { background: var(--ocean); color: #fff; border-radius: 6px; border-left: 0; padding: 0; font-size: 1.2rem; margin: var(--sp-6) 0 var(--sp-4); }
.prose h2.h2--link a, .prose h3.h2--link a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 11px 18px; color: #fff !important; text-decoration: none !important;
  transition: filter .2s;
}
.prose h2.h2--link .h2--link__label, .prose h2.h2--link .h2--link__hint,
.prose h3.h2--link .h2--link__label, .prose h3.h2--link .h2--link__hint { color: #fff; }
.prose h2.h2--link a:hover, .prose h3.h2--link a:hover { filter: brightness(1.12); }
.prose h2.h2--link a:hover .h2--link__label, .prose h3.h2--link a:hover .h2--link__label { text-decoration: underline; text-underline-offset: 3px; }
.h2--link__hint {
  flex: none; font-size: .68rem; font-weight: 600; letter-spacing: .08em;
  padding: .35em .8em; border: 1px solid rgba(255,255,255,.75); border-radius: 999px;
  white-space: nowrap; opacity: .95;
}
.h2--link__hint::after { content: " ↗"; }
@media (max-width: 520px) { .h2--link__hint { font-size: .62rem; padding: .3em .6em; } }

/* 症例詳細（v0.02.03）— Before/After・料金・症例情報・シェア */
.case-detail { margin: 0 0 34px; }
.case-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.case-ba__head { font-size: 1.05rem; margin: 0 0 8px; }
.case-ba__en { font-family: var(--font-serif); font-size: 1.5rem; font-style: italic; }
.case-ba__col--before .case-ba__en { color: var(--ink-soft); }
.case-ba__col--after .case-ba__en { color: var(--ocean); }
.case-ba__label { font-size: .9rem; color: var(--ink-soft); }
/* Before/Afterは縦横比の異なる写真でも枠を3:4に統一し、中央基準で切り抜き表示（v0.02.07） */
.case-ba__imgwrap { border-radius: 10px; overflow: hidden; background: var(--line); aspect-ratio: 3 / 4; }
.case-ba__imgwrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.case-ba__note { font-size: .85rem; color: var(--ink-soft); margin: 8px 0 0; }
@media (max-width: 640px) { .case-ba { grid-template-columns: 1fr; } }

.case-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 22px 0 0; padding: 14px 18px; background: var(--sand, #f6f1ea); border-radius: 10px; }
.case-price__label { font-size: .78rem; color: var(--ink-soft); }
.case-price__value { font-size: 1.4rem; font-weight: 700; letter-spacing: .02em; }

.case-meta { display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; margin: 22px 0 0; padding: 0 4px; }
.case-meta dt { color: var(--ink-soft); font-size: .9rem; }
.case-meta dd { margin: 0; font-size: .95rem; }

.case-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.case-share__label { font-size: .82rem; color: var(--ink-soft); }
.case-share__btn { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 700; color: #fff; border: 0; border-radius: 999px; padding: .5em 1.1em; cursor: pointer; text-decoration: none; transition: filter .2s; }
.case-share__btn:hover { filter: brightness(1.1); color: #fff; }
.case-share__btn--x { background: #111; }
.case-share__btn--line { background: #06c755; }
.case-share__btn--copy { background: var(--ocean); }
.case-share__btn--copy.is-copied { background: var(--gold); }

/* 画像保護（v0.02.03）— 不用意なドラッグ保存・選択を抑止 */
.article-body img, .kb-gallery img, .case-ba img, .kb-fv img, .kb-tile img {
  -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none;
}

/* 症例一覧カード（v0.02.04） */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.case-card:hover { box-shadow: 0 8px 22px rgba(20,24,48,.10); transform: translateY(-2px); }
.case-card__thumb { aspect-ratio: 4 / 3; background: var(--line); }
.case-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-card__noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #eee7dc, #e3e7ee); }
.case-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.case-card__cat { font-size: .7rem; color: var(--gold); letter-spacing: .08em; }
.case-card__title { font-weight: 700; font-size: .95rem; line-height: 1.5; }
.case-card__price { font-size: .82rem; }
.case-card__doctor { font-size: .76rem; color: var(--ink-soft); }
@media (max-width: 900px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .case-grid { grid-template-columns: 1fr; } }
.case-body { margin-top: 34px; }
