/*
 * ashimiru 共通スタイル（全ページ）
 * 方針・根拠は docs/workflow-context.md を参照。
 * 文章・画像はCMSで差し替える前提。ここではレイアウトと部品の見た目のみを定義する。
 */

/* ============ 1. トークン ============ */
:root {
  --blue: #1451be;
  --blue-dark: #0f3f97;
  --navy: #0d2b50;
  --ink: #15375e;
  --sub: #4c6075;
  --mute: #6b7c8f;
  --line: #dce6f2;
  --line-strong: #b9c9df;
  --pale: #eff5fc;
  --pale-2: #f6f9fd;
  --yellow: #f6cf45;
  --yellow-pale: #fff6d6;
  --scan: #111914;
  --line-green: #06c755;
  --font: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif;
  --font-num: 'Inter', 'Noto Sans JP', sans-serif;
  --shell: 1200px;
  --gutter: 40px;
  --radius: 10px;
  --radius-s: 6px;
  --header-h: 80px;
}

/* ============ 2. ベース ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 15px; line-height: 1.9; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; word-break: auto-phrase; overflow-wrap: anywhere; }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.5; font-feature-settings: 'palt'; letter-spacing: .02em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #c09400; outline-offset: 3px; }
.shell { width: min(var(--shell), 100% - var(--gutter) * 2); margin-inline: auto; }
.shell--narrow { --shell: 860px; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 2000; background: #fff; padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
.sp-only { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-group button { padding: 8px 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--sub); cursor: pointer; }
.filter-group button:hover { border-color: var(--blue); color: var(--blue); }
.filter-group button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }

/* ============ 3. ヘッダー ============ */
/* 告知帯（CMS：重要フラグ付きのお知らせ1件） */
.site-notice { background: var(--navy); color: #fff; font-size: 12px; line-height: 1.5; }
.site-notice .shell { display: flex; align-items: center; gap: 20px; min-height: 38px; }
.site-notice-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-notice-item b { flex: none; background: var(--yellow); color: var(--navy); font-size: 11px; padding: 2px 8px; border-radius: 2px; }
.site-notice-item time { flex: none; font-family: var(--font-num); font-weight: 600; opacity: .8; }
.site-notice-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-notice-item:hover span { text-decoration: underline; }
.site-notice nav { margin-left: auto; display: flex; gap: 22px; flex: none; }
.site-notice nav a { opacity: .9; }
.site-notice nav a:hover { opacity: 1; text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .shell { display: flex; align-items: center; height: var(--header-h); }
.site-logo { display: flex; align-items: center; gap: 12px; flex: none; }
.site-logo img { height: 44px; width: auto; }
.site-logo-label { font-size: 11px; font-weight: 700; color: var(--navy); border: 1px solid var(--navy); padding: 2px 8px; border-radius: 2px; white-space: nowrap; }
.gnav { display: flex; align-items: stretch; height: 100%; margin-left: auto; margin-right: 24px; }
.gnav-item { position: relative; display: flex; align-items: center; }
.gnav-item > a { display: flex; align-items: center; height: 100%; padding: 0 13px; font-size: 14px; font-weight: 700; color: #244466; white-space: nowrap; }
.gnav-item > a:hover, .gnav-item > a[aria-current="page"] { color: var(--blue); }
.gnav-item > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--blue); }
.gnav-item.has-sub > a::after { content: ''; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .55; }
.gnav-sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); box-shadow: 0 12px 28px #0d2b5014; padding: 8px 0; display: none; }
.gnav-item:hover .gnav-sub, .gnav-item:focus-within .gnav-sub { display: block; }
.gnav-sub a { display: block; padding: 9px 20px; font-size: 14px; font-weight: 500; line-height: 1.6; }
.gnav-sub a:hover { background: var(--pale); color: var(--blue); }
.header-cta { display: inline-flex; flex-direction: column; justify-content: center; height: 56px; padding: 0 22px; background: var(--blue); color: #fff; border-radius: var(--radius-s); line-height: 1.3; flex: none; }
.header-cta:hover { background: var(--blue-dark); }
.header-cta strong { font-size: 15px; }
.header-cta small { font-size: 10px; opacity: .85; }
.header-cta--line { background: var(--line-green); }
.header-cta--line:hover { background: #05a849; }
.menu-btn { display: none; }

/* モバイルメニュー */
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 99; background: #fff; overflow-y: auto; padding: 8px 0 120px; border-top: 1px solid var(--line); }
.mobile-menu .shell > a, .mobile-menu summary { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::after { content: '+'; font-size: 20px; font-weight: 400; color: var(--blue); }
.mobile-menu details[open] summary::after { content: '−'; }
.mobile-menu details a { display: block; padding: 10px 0 10px 16px; font-size: 14px; border-bottom: 1px solid var(--line); color: var(--sub); }
.mobile-menu-cta { display: grid; gap: 10px; margin-top: 24px; }
.mobile-menu-sub { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 13px; color: var(--sub); }
body.is-menu-open { overflow: hidden; }

/* ============ 4. パンくず・ページ見出し ============ */
.breadcrumb { font-size: 12px; color: var(--mute); padding: 14px 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li + li::before { content: '›'; margin: 0 10px; color: var(--line-strong); }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }

.page-head { background: var(--pale); border-bottom: 1px solid var(--line); }
.page-head-body { padding: 28px 0 52px; }
.page-head h1 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 900; color: var(--navy); line-height: 1.45; }
.page-head-lead { margin-top: 18px; max-width: 40em; color: var(--sub); }
.page-head-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-head--media .page-head-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.page-head--media .page-head-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.page-head-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.page-head-tabs a { padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--blue); }
.page-head-tabs a:hover { border-color: var(--blue); }

/* ============ 5. セクション ============ */
.sec { padding: 88px 0; }
.sec--tight { padding: 56px 0; }
.sec--pale { background: var(--pale); }
.sec--line { border-top: 1px solid var(--line); }
.sec--blue { background: var(--blue); color: #fff; }
.sec--navy { background: var(--navy); color: #fff; }
.sec-title { font-size: clamp(24px, 2.5vw, 32px); font-weight: 800; color: var(--navy); }
.sec--blue .sec-title, .sec--navy .sec-title { color: #fff; }
.sec-lead { margin-top: 14px; max-width: 42em; color: var(--sub); }
.sec--blue .sec-lead, .sec--navy .sec-lead { color: #dbe6fb; }
.sec-head { margin-bottom: 40px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-lead { margin-inline: auto; }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.sec-head--bar .sec-title { padding-left: 18px; border-left: 5px solid var(--blue); line-height: 1.4; }
.sec-head--rule { border-bottom: 2px solid var(--navy); padding-bottom: 14px; }
.sec-note { margin-top: 20px; font-size: 12px; color: var(--mute); line-height: 1.8; }
.sec--blue .sec-note, .sec--navy .sec-note { color: #c8d7f3; }

/* ============ 6. ボタン・リンク ============ */
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 8px 28px; border-radius: var(--radius-s); border: 1px solid transparent; font-size: 15px; font-weight: 700; line-height: 1.4; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn small { font-size: 11px; font-weight: 500; opacity: .9; }
.btn--main { background: var(--blue); color: #fff; }
.btn--main:hover { background: var(--blue-dark); }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: #ecc12c; }
.btn--line { background: var(--line-green); color: #fff; }
.btn--line:hover { background: #05a849; }
.btn--outline { background: #fff; color: var(--blue); border-color: #a8bcdf; }
.btn--outline:hover { background: var(--pale); border-color: var(--blue); }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--pale); }
.btn--ghost { color: #fff; border-color: #ffffff80; }
.btn--ghost:hover { background: #ffffff14; border-color: #fff; }
.btn--block { display: flex; width: 100%; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: 14px; }
.more::after { content: '›'; font-size: 18px; line-height: 1; transform: translateY(-1px); }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.sec--blue .more, .sec--navy .more { color: #fff; }
.ext::after { content: ''; display: inline-block; width: .8em; height: .8em; margin-left: 6px; vertical-align: -1px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M5 1H1v10h10V7M7 1h4v4M11 1 5.5 6.5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M5 1H1v10h10V7M7 1h4v4M11 1 5.5 6.5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn.ext { flex-direction: row; gap: 2px; }
.inline-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ============ 7. 小さな部品 ============ */
.chip { display: inline-block; font-size: 11px; font-weight: 700; line-height: 1.6; padding: 2px 9px; border-radius: 3px; background: var(--pale); color: var(--blue); white-space: nowrap; }
.chip--yellow { background: var(--yellow-pale); color: #7a5a00; }
.chip--navy { background: var(--navy); color: #fff; }
.chip--sample { background: #fdecec; color: #a12a2a; }
.label-new { font: 700 10px var(--font-num); color: #fff; background: #d6453d; padding: 1px 6px; border-radius: 2px; letter-spacing: .04em; }
.note { font-size: 12px; color: var(--mute); line-height: 1.8; }
.note-box { padding: 18px 22px; border: 1px solid var(--line); border-left: 4px solid var(--blue); background: var(--pale-2); font-size: 13px; color: var(--sub); line-height: 1.9; }
.note-box strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.sample-note { display: flex; gap: 12px; align-items: baseline; padding: 10px 14px; background: #fff8f0; border: 1px dashed #e0b48a; font-size: 12px; color: #7a4a1a; line-height: 1.7; margin-bottom: 24px; }
.sample-note b { flex: none; font: 700 10px var(--font-num); letter-spacing: .08em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12px; padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--sub); background: #fff; }

/* ============ 8. 表・リスト ============ */
.data-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.data-table th, .data-table td { padding: 16px 20px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.8; }
.data-table thead th { background: var(--navy); color: #fff; font-size: 13px; border-color: var(--navy); }
.data-table tbody th { width: 26%; background: var(--pale); font-weight: 700; color: var(--navy); }
.dl-table { border-top: 1px solid var(--line); }
.dl-table > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dl-table dt { font-weight: 700; color: var(--navy); font-size: 14px; }
.dl-table dd { font-size: 14px; }
.check-list li { position: relative; padding: 6px 0 6px 26px; font-size: 14px; line-height: 1.8; }
.check-list li::before { content: ''; position: absolute; left: 2px; top: 14px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.dot-list li { position: relative; padding: 4px 0 4px 18px; }
.dot-list li::before { content: ''; position: absolute; left: 2px; top: 1em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* 索引リスト（お悩み別など。足のクリニック表参道の疾患一覧を参考） */
.index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.index-group { display: flex; flex-direction: column; }
.index-group h3 { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--navy); color: #fff; font-size: 15px; border-radius: var(--radius-s) var(--radius-s) 0 0; }
.index-group h3 svg { width: 34px; height: 22px; flex: none; color: var(--yellow); }
.index-group > ul { flex: 1; display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 0; background: #fff; }
.index-group > ul > li + li { border-top: 1px solid var(--line); }
.index-group > ul > li > a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-size: 14px; line-height: 1.6; }
.index-group > ul > li > a::after { content: '›'; color: var(--blue); font-size: 18px; }
.index-group > ul > li > a:hover { background: var(--pale); color: var(--blue); }
.index-group > ul > li small { display: block; font-size: 11px; color: var(--mute); }

/* 手順（時系列） */
.steps { display: grid; grid-template-columns: repeat(var(--steps, 3), 1fr); counter-reset: step; }
.steps > li { position: relative; padding: 0 28px 0 0; counter-increment: step; }
.steps > li::before { content: 'STEP ' counter(step); display: block; font: 700 12px var(--font-num); letter-spacing: .08em; color: var(--blue); padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--blue); }
.steps > li:not(:last-child)::after { content: ''; position: absolute; right: 12px; top: 13px; width: 8px; height: 8px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); }
.steps h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.steps p { font-size: 14px; color: var(--sub); line-height: 1.85; }

/* 4段階のサイクル */
.cycle { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cycle li { padding: 24px 22px; background: #fff; }
.cycle li + li { border-left: 1px solid var(--line); }
.cycle strong { display: block; font-size: 20px; color: var(--blue); margin-bottom: 8px; }
.cycle p { font-size: 14px; color: var(--sub); }
.cycle--stack { grid-template-columns: 1fr; }
.cycle--stack li + li { border-left: 0; border-top: 1px solid var(--line); }
.cycle--stack li { display: grid; grid-template-columns: 7em 1fr; gap: 12px; align-items: baseline; padding: 18px 22px; }
.cycle--stack strong { margin: 0; font-size: 17px; }
.marker { background: linear-gradient(transparent 74%, var(--yellow) 74%, var(--yellow) 94%, transparent 94%); }

/* FAQ */
.faq { border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); background: #fff; }
.faq summary { position: relative; display: block; padding: 20px 52px 20px 44px; font-weight: 700; font-size: 15px; line-height: 1.7; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; position: absolute; left: 12px; top: 19px; font: 700 17px var(--font-num); color: var(--blue); }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 14px; font-size: 24px; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: '−'; }
.faq details > div { position: relative; padding: 0 52px 22px 44px; font-size: 14px; color: var(--sub); }
.faq details > div::before { content: 'A'; position: absolute; left: 12px; top: -2px; font: 700 17px var(--font-num); color: #c09400; }

/* ============ 9. カード・メディア ============ */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--sub); }
.card-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--pale); color: var(--blue); margin-bottom: 16px; }
.card-icon svg { width: 26px; height: 26px; }
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.media--wide { grid-template-columns: 1.2fr 1fr; }
.media img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.media-body > p:not(.note) { margin-top: 16px; color: var(--sub); }
.media-body .more, .media-body .btn { margin-top: 24px; }

/* 動画 */
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-thumb { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; opacity: .92; transition: opacity .2s; }
.video-thumb:hover img { opacity: 1; }
.video-thumb-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border-radius: 12px; background: #e62117; display: grid; place-items: center; }
.video-thumb-play::before { content: ''; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.video-thumb-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: linear-gradient(transparent, #000000b3); color: #fff; font-size: 13px; font-weight: 700; }

/* 利用者の声 */
.voice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.voice { display: grid; grid-template-columns: 112px 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.voice-face img { width: 112px; height: 112px; object-fit: cover; object-position: top; border-radius: 50%; background: var(--pale); }
.voice-face p { margin-top: 8px; text-align: center; font-size: 12px; color: var(--sub); line-height: 1.5; }
.voice blockquote { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.7; }
.voice blockquote + p { margin-top: 10px; font-size: 14px; color: var(--sub); }
.voice .more { margin-top: 12px; font-size: 13px; }

/* 店舗 */
.shop-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 24px 28px; background: #fff; border-radius: var(--radius); color: var(--ink); }
.shop-row h3 { font-size: 18px; color: var(--navy); }
.shop-row h3 a:hover { color: var(--blue); text-decoration: underline; }
.shop-row-meta { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 6px; font-size: 13px; color: var(--sub); }
.shop-row-meta span::before { content: attr(data-label); font-weight: 700; color: var(--navy); margin-right: 8px; }
.shop-row-actions { display: flex; gap: 10px; }
.shop-row-actions .btn { min-height: 48px; padding: 6px 20px; font-size: 14px; }
.area-search { display: flex; gap: 8px; }
.area-search select { flex: 1; height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 4px; font: 500 14px var(--font); color: var(--ink); background: #fff; }
.area-search button { height: 46px; padding: 0 20px; border: 0; border-radius: 4px; background: var(--navy); color: #fff; font-weight: 700; cursor: pointer; }
.area-search button:hover { background: #163e6d; }
.area-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; }
.area-links a { color: var(--blue); font-weight: 700; }
.area-links a:hover { text-decoration: underline; }
.area-links span { color: var(--mute); font-weight: 400; margin-left: 2px; }

/* お知らせ行 */
.news-list li a { display: grid; grid-template-columns: 96px 104px 1fr; gap: 10px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--line-strong); font-size: 14px; line-height: 1.7; }
.news-list li:first-child a { border-top: 1px dashed var(--line-strong); }
.news-list time { font: 600 13px var(--font-num); color: var(--sub); }
.news-list .chip { justify-self: start; }
.news-list a:hover .news-title { color: var(--blue); text-decoration: underline; }

/* 記事カード */
.post-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 28px 24px; }
.post-card a { display: block; }
.post-card-img { aspect-ratio: 16 / 10; border-radius: var(--radius-s); overflow: hidden; background: var(--scan); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.post-card a:hover .post-card-img img { opacity: .85; }
.post-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; font-size: 12px; color: var(--mute); }
.post-card-meta time { font-family: var(--font-num); font-weight: 600; }
.post-card h2, .post-card h3 { margin-top: 8px; font-size: 16px; color: var(--navy); line-height: 1.65; }
.post-card a:hover h2, .post-card a:hover h3 { color: var(--blue); text-decoration: underline; }
.post-card p { margin-top: 6px; font-size: 13px; color: var(--sub); line-height: 1.8; }
/* 公開記事が1件だけのときは横長カードにして空きを作らない */
.post-grid:has(> .post-card:only-child) { grid-template-columns: 1fr; }
.post-card:only-child a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr; gap: 0 40px; }
.post-card:only-child .post-card-img { grid-row: 1 / -1; aspect-ratio: 16 / 9; }
.post-card:only-child .post-card-meta { grid-row: 2; margin-top: 0; }
.post-card:only-child h2, .post-card:only-child h3 { grid-row: 3; }
.post-card:only-child p { grid-row: 4; }
.post-card:only-child h2, .post-card:only-child h3 { font-size: 20px; }
.sec--pale .chip { background: #fff; }

/* ============ 10. CTA帯 ============ */
.cta-band { background: var(--blue); color: #fff; padding: 64px 0; }
.cta-band-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-band h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
.cta-band p { margin-top: 10px; color: #dbe6fb; font-size: 14px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ 11. フッター ============ */
.site-footer { background: var(--navy); color: #c3d2e6; font-size: 13px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-main { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding: 64px 0 48px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin-top: 14px; line-height: 1.8; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-cols h2 { font-size: 13px; color: #fff; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #ffffff26; }
.footer-cols li { padding: 3px 0; line-height: 1.7; }
.footer-bottom { border-top: 1px solid #ffffff1f; padding: 20px 0; }
.footer-bottom .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-bottom small { font-family: var(--font-num); font-size: 12px; }

/* スマホ固定予約バー */
.mobile-bar { display: none; }

/* ============ 12. レスポンシブ ============ */
@media (max-width: 1180px) {
  .gnav-item > a { padding: 0 9px; font-size: 13px; }
  .gnav { margin-right: 16px; }
  .header-cta { padding: 0 16px; }
}
@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .site-notice nav { display: none; }
  .gnav, .site-header .header-cta { display: none; }
  .site-logo img { height: 36px; }
  .menu-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 48px; height: 46px; margin-left: auto; border: 0; background: none; font-size: 9px; font-weight: 700; cursor: pointer; }
  .menu-btn i { width: 22px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-header .header-cta--sp { display: inline-flex; height: 40px; padding: 0 14px; margin-left: auto; }
  .site-header .header-cta--sp strong { font-size: 13px; }
  .site-header .header-cta--sp + .menu-btn { margin-left: 4px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .index-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cycle { grid-template-columns: 1fr 1fr; }
  .cycle li:nth-child(3) { border-left: 0; }
  .cycle li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cycle--stack { grid-template-columns: 1fr; }
  .page-head--media .page-head-body { grid-template-columns: 1fr; gap: 28px; }
  .media, .media--wide { grid-template-columns: 1fr; gap: 32px; }
}
@media (min-width: 1024px) {
  .header-cta--sp, .mobile-menu { display: none !important; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  body { font-size: 14px; }
  .sp-only { display: inline; }
  .pc-only { display: none; }
  .sec { padding: 60px 0; }
  .sec--tight { padding: 40px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head--row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-head-body { padding: 20px 0 36px; }
  .page-head-lead { font-size: 14px; }
  .card-grid, .post-grid, .voice-grid { grid-template-columns: 1fr; }
  .post-card:only-child a { display: block; }
  .card { padding: 22px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps > li { padding: 0 0 26px 0; }
  .steps > li:not(:last-child)::after { display: none; }
  .index-grid { grid-template-columns: 1fr; }
  .cycle { grid-template-columns: 1fr; }
  .cycle li + li { border-left: 0; border-top: 1px solid var(--line); }
  .cycle--stack li { grid-template-columns: 1fr; gap: 2px; }
  .voice { grid-template-columns: 80px 1fr; gap: 16px; padding: 20px; }
  .voice-face img { width: 80px; height: 80px; }
  .voice blockquote { font-size: 16px; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .data-table thead { display: none; }
  .data-table tbody th, .home-service-grid .data-table tbody th { width: auto; padding: 10px 16px; }
  .data-table td { padding: 12px 16px; }
  .data-table tr + tr th { border-top: 0; }
  .data-table td { border-top: 0; }
  .dl-table > div { grid-template-columns: 1fr; gap: 2px; }
  .news-list li a { grid-template-columns: auto 1fr; gap: 4px 10px; }
  .news-list .news-title { grid-column: 1 / -1; }
  .shop-row { grid-template-columns: 1fr; padding: 20px; }
  .shop-row-actions { flex-direction: column; }
  .cta-band { padding: 48px 0; }
  .cta-band-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-band-actions .btn { width: 100%; }
  .faq summary { padding: 18px 40px 18px 36px; font-size: 14px; }
  .faq summary::before { left: 8px; top: 17px; }
  .faq details > div { padding: 0 16px 20px 36px; }
  .faq details > div::before { left: 8px; }
  .footer-main { padding: 48px 0 32px; }
  .site-footer { padding-bottom: 76px; }
  .mobile-bar { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px #0d2b5012; transition: transform .28s ease, box-shadow .28s ease; }
  /* 下スクロールで画面の下へ引っ込める（site.js の initMobileBar が切り替える） */
  .mobile-bar.is-hidden { transform: translateY(100%); box-shadow: none; }
  /* キーボードでバー内のリンクに移動したときは、隠れていても必ず表示する */
  .mobile-bar.is-hidden:focus-within { transform: none; box-shadow: 0 -6px 20px #0d2b5012; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: var(--radius-s); font-size: 13px; font-weight: 700; text-align: center; line-height: 1.3; }
  .mobile-bar a:first-child { border: 1px solid #a8bcdf; color: var(--blue); }
  .mobile-bar a:last-child { background: var(--blue); color: #fff; }
  .mobile-bar--b2b a:last-child { background: var(--line-green); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-notice, .site-header, .mobile-bar, .mobile-menu { display: none !important; }
  .sec { padding: 24px 0; }
}
