/* ASTAR MEDICAL CLINIC — デザイン案810（金・大理石）をもとにした共通スタイル */

:root {
  --bg: #f7f4ef;
  --ivory: #fcfaf7;
  --white: #fff;
  --text: #3b332d;
  --sub: #7c7169;
  --line: #e3dbd0;
  --gold: #a47a45;
  --gold-light: #c9a36d;
  --gold-dark: #7f5d33;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --serif-en: "Cormorant Garamond", "Times New Roman", serif;
  --logo: "Cinzel", "Cormorant Garamond", serif;
  --script: "Allura", cursive;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mincho);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
/* スマホ幅でだけ改行する */
.sp-only { display: none; }

svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.star { stroke: none; }

.section { padding: 96px max(24px, calc((100% - 1200px) / 2)); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: .95em 2em; border-radius: 3px;
  font-size: 14px; letter-spacing: .12em; line-height: 1.4;
  transition: opacity .2s, background-color .2s;
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn-gold { color: #fff; background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark)); box-shadow: 0 6px 18px rgba(127, 93, 51, .22); }
.btn-gold:hover { opacity: .88; }
.btn-outline { color: var(--text); background: rgba(255, 255, 255, .85); border: 1px solid var(--line); }
.btn-outline:hover { background: #fff; }
.btn-lg { padding: 1.15em 2.6em; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: .8em; border-bottom: 1px solid currentColor; padding-bottom: .3em; font-size: 14px; }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 見出し ---------- */
.heading { display: flex; flex-direction: column; gap: 14px; font-weight: 400; }
.heading-en { font-family: var(--serif-en); font-size: 15px; letter-spacing: .22em; color: var(--sub); line-height: 1.5; }
.heading-ja { font-size: 26px; letter-spacing: .12em; line-height: 1.7; }
.heading.center { align-items: center; text-align: center; margin-bottom: 48px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  padding: 0 max(20px, calc((100% - 1320px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(252, 250, 247, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(227, 219, 208, .7);
}
main { padding-top: var(--header-h); }
.logo, .footer-logo { display: flex; align-items: center; gap: 10px; color: var(--gold); }
.logo .star { width: 44px; height: 44px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-en { font-family: var(--logo); font-size: 27px; letter-spacing: .08em; background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-sub { font-family: var(--logo); font-size: 9.5px; letter-spacing: .2em; color: var(--gold); margin-top: 3px; }
.logo-ja { font-size: 8.5px; letter-spacing: .28em; color: var(--sub); margin-top: 3px; }

.global-nav { display: flex; align-items: center; gap: 36px; }
.global-nav ul { display: flex; gap: 34px; }
.global-nav ul a { display: flex; flex-direction: column; align-items: center; line-height: 1.5; padding: 4px 0; position: relative; }
.global-nav .en { font-family: var(--serif-en); font-size: 14px; letter-spacing: .14em; }
.global-nav .ja { font-size: 10px; color: var(--sub); letter-spacing: .1em; }
.global-nav ul a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -4px; height: 1px; background: var(--gold); transition: left .25s, right .25s; }
.global-nav ul a:hover::after, .global-nav ul a[aria-current="page"]::after { left: 10%; right: 10%; }
.global-nav ul a[aria-current="page"] .en { color: var(--gold); }
.header-reserve { padding: .85em 1.7em; }
.nav-toggle, .nav-button { display: none; }

/* ---------- 右端の予約ボタン ----------
   PCは画面の右下（2026-10-27 ユーザー「もう少し下に」。真ん中だとキャンペーン欄の画像・矢印に重なった） */
.floating-actions {
  position: fixed; right: 0; bottom: 28px; z-index: 40;
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--gold), var(--gold-dark));
  border-radius: 6px 0 0 6px; overflow: hidden; box-shadow: 0 8px 24px rgba(59, 51, 45, .18);
}
.floating-actions a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 12px; color: #fff; font-size: 11px; letter-spacing: .08em; line-height: 1.3; }
.floating-actions a + a { border-top: 1px solid rgba(255, 255, 255, .25); }
.floating-actions a:hover { background: rgba(255, 255, 255, .1); }
.floating-actions svg { width: 22px; height: 22px; }
.floating-actions .fa-line svg { fill: currentColor; stroke: none; }

/* ---------- カテゴリ ---------- */
/* 2026-10-17 カテゴリが増えても崩れない形（ユーザー提供の見本）：1行の数を固定（PC 4・タブレット 3・スマホ 2）。
   増えたら行が増えるだけで枠は細くならない。1件の高さは固定・名前は2行まで。線はマスごとの下線（最後の行が途中で終わっても揃う）。
   名前に「キャンペーン」が入るカテゴリは自動で淡い金の面（cat-cp） */
.category-nav { background: var(--ivory); border-bottom: 1px solid var(--line); padding: 32px max(16px, calc((100% - 1200px) / 2)); }
.category-nav ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 44px; border-top: 1px solid var(--line); }
.category-nav li { border-bottom: 1px solid var(--line); }
.category-nav a { display: flex; align-items: center; gap: 18px; height: 88px; padding: 0 10px; transition: opacity .2s; }
.category-nav a:hover { opacity: .65; }
.category-nav img { flex: none; width: 30px; height: 30px; object-fit: contain; }
.category-nav .cat-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.category-nav .ja { font-size: 16px; letter-spacing: .1em; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.category-nav .en { font-family: var(--serif-en); font-size: 10.5px; letter-spacing: .2em; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.category-nav .cat-arrow { flex: none; color: var(--sub); font-size: 14px; }
.category-nav .cat-cp a { background: linear-gradient(90deg, #f1e8dc, rgba(241, 232, 220, .25)); }
.category-nav .cat-cp .ja, .category-nav .cat-cp .en { color: var(--gold-dark); }
/* 「ジャンルから探す」（2026-10-27 吉野さん依頼の1番。トップのキャンペーン欄の上・料金表のページの上） */
.genres.section { padding-top: 56px; padding-bottom: 8px; }
/* 料金表のページ：下の細かいカテゴリの一覧との間をあける */
.genres.section + .category-nav { margin-top: 32px; }
.genres .heading.center { margin-bottom: 28px; }
.genre-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.genre-cards a { display: flex; flex-direction: column; gap: 10px; min-height: 96px; height: 100%; padding: 18px 18px 16px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.genre-head { display: flex; align-items: center; gap: 12px; }
.genre-cards a:hover { border-color: var(--gold); box-shadow: 0 6px 18px rgba(58, 51, 45, .08); }
.genre-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.genre-name { font-size: 18px; letter-spacing: .12em; }
.genre-en { font-family: var(--serif-en); font-size: 10.5px; letter-spacing: .2em; color: var(--sub); overflow-wrap: anywhere; }
.genre-cats { font-size: 12px; line-height: 1.7; color: var(--sub); }
.genre-icon { flex: none; width: 34px; height: 34px; object-fit: contain; }
.genre-arrow { flex: none; color: var(--gold-dark); }
.genre-arrow svg { width: 18px; height: 18px; }

/* 料金表のジャンルの見出し（2026-10-27） */
.price-genre { margin-top: 72px; }
.price-genre-title { display: flex; align-items: baseline; gap: 14px; margin: 0; padding: 14px 18px; background: var(--ivory); border-left: 3px solid var(--gold); font-size: 21px; letter-spacing: .14em; }
.price-genre-title .en { font-family: var(--serif-en); font-size: 11px; letter-spacing: .2em; color: var(--sub); }
.price-genre .price-category:first-of-type { margin-top: 36px; }
@media (max-width: 1180px) {
  .category-nav ul { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
}
@media (max-width: 767px) {
  .category-nav { padding: 20px 12px; }
  .category-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .category-nav a { height: 68px; gap: 10px; padding: 0 8px; }
  .category-nav img { width: 24px; height: 24px; }
  .category-nav .ja { font-size: 13.5px; letter-spacing: .06em; line-height: 1.35; }
  .category-nav .en { font-size: 9px; letter-spacing: .14em; }
  .category-nav .cat-arrow { display: none; }
  .category-nav .cat-cp a { background: #f1e8dc; box-shadow: inset 3px 0 0 var(--gold); padding-left: 11px; }
}

/* 準備中の印（料金は出したまま、予約を受け付けていないメニュー） */
.badge-preparing { display: inline-block; margin-right: .7em; padding: .15em .7em; border: 1px solid var(--sub); border-radius: 3px; color: var(--sub); font-size: 11px; letter-spacing: .12em; line-height: 1.5; vertical-align: .15em; }

/* ---------- メニューカード ---------- */
.pickup, .recommend { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: stretch; }
.split-head { display: flex; flex-direction: column; justify-content: center; }
.split-head .heading-en { font-size: 34px; color: var(--text); letter-spacing: .1em; line-height: 1.25; }
.split-head .heading-ja { font-size: 15px; line-height: 1.9; }
.split-head-card { background: var(--white); padding: 28px; }
.split-head-card .heading-en { font-size: 22px; color: var(--sub); }
.split-head-card .heading-ja { font-size: 22px; }
/* カードの枚数に合わせて横幅いっぱいに並べる（PICK UP が3枚のとき右が空いていた。2026-10-11 ユーザー指摘） */
.card-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
/* 1〜2枚のときは写真が大きくなりすぎないよう、1枚320pxまで（2026-10-12。電子カルテで枚数が変わるため） */
.card-row.card-row-few { grid-auto-columns: minmax(0, 320px); }
.card-row-4 { grid-auto-flow: column; }
.menu-card { display: flex; flex-direction: column; background: var(--white); transition: box-shadow .25s, transform .25s; }
.menu-card:hover { box-shadow: 0 12px 28px rgba(59, 51, 45, .1); transform: translateY(-3px); }
.menu-card-img { aspect-ratio: 1 / .9; overflow: hidden; }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.menu-card:hover .menu-card-img img { transform: scale(1.04); }
.menu-card-body { flex: 1; display: flex; flex-direction: column; padding: 16px 14px 14px; }
.menu-card h3 { font-size: 16px; font-weight: 500; letter-spacing: .08em; line-height: 1.6; }
.menu-card-lead { font-size: 12px; color: var(--sub); line-height: 1.7; margin-top: 4px; flex: 1; }
.menu-card-price { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; font-size: 16px; letter-spacing: .04em; line-height: 1.5; }
.menu-card-price small { display: block; font-size: 10.5px; color: var(--sub); line-height: 1.5; letter-spacing: 0; margin-top: 2px; }
/* カードが細い（5枚並び）ときは、キャンペーンの期間を折り返して「→」をカードの中に収める（2026-10-12） */
.menu-card-price > :first-child { min-width: 0; }
.menu-card-price .card-cp-label { display: block; font-size: 11px; color: var(--gold-dark); letter-spacing: .04em; line-height: 1.6; }
.menu-card-price .card-amount { display: block; }
.menu-card-price svg { flex: none; width: 26px; height: 26px; padding: 5px; border: 1px solid var(--text); border-radius: 50%; }
.section-more { grid-column: 1 / -1; text-align: right; margin-top: 12px; }

/* ---------- A SPACE ---------- */
.space { display: grid; grid-template-columns: 1fr 1.05fr 1.25fr; min-height: 520px; background: var(--ivory); }
.space-photo { position: relative; overflow: hidden; }
.space-photo img { width: 100%; height: 100%; object-fit: cover; }
.space-text { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 56px 40px; }
.space-text .heading-en { font-size: 18px; letter-spacing: .2em; }
.space-text .heading-ja { font-size: 22px; }
.space-text p { font-size: 13.5px; line-height: 2.1; color: var(--sub); }
.space-text .link-arrow { align-self: flex-start; }
.space-caption { position: absolute; left: 36px; top: 64px; color: #fff; font-size: 22px; line-height: 1.8; letter-spacing: .18em; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--ivory); }
.cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.cta-inner { position: relative; display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 40px; align-items: center; padding: 72px max(32px, calc((100% - 1100px) / 2)) 72px max(40%, 360px); }
.cta-en { font-family: var(--serif-en); font-size: 22px; letter-spacing: .24em; line-height: 1.7; }
.cta-ja { margin-top: 18px; font-size: 14px; letter-spacing: .14em; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; min-width: 25em; }
.cta-sub { display: flex; gap: 12px; }
.cta-sub .btn { flex: 1; white-space: nowrap; padding-left: 1.2em; padding-right: 1.2em; letter-spacing: .08em; }
.cta-sub svg { color: var(--gold); }
.cta-note { font-size: 12px; color: var(--sub); }
/* 2つ目の電話番号（つながらないときは〜）。小さすぎて読みにくいと言われたので大きめに（2026-10-26） */
.cta-tel-sub { font-size: 15px; margin-top: 6px; }
.cta-tel-sub a { font-size: 17px; letter-spacing: .04em; }
/* フッター・案内・規約では、1つ目の番号と同じ大きさにそろえ、色だけ薄くする（大きくすると1つ目より目立った。2026-10-26） */
.tel-sub { display: inline-block; margin-top: 2px; font-size: inherit; color: var(--sub); }

/* ---------- 下層ページ ---------- */
.page-hero { position: relative; overflow: hidden; background: #3b332d; color: #fff; }
.page-hero-img { width: 100%; height: min(calc(100vh - var(--header-h)), 600px); min-height: 440px; object-fit: cover; object-position: 50% 30%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(38, 30, 25, .72) 0%, rgba(38, 30, 25, .35) 38%, rgba(38, 30, 25, 0) 62%), linear-gradient(90deg, rgba(38, 30, 25, .35) 0%, rgba(38, 30, 25, 0) 45%); }
.breadcrumb { position: absolute; z-index: 2; top: 24px; left: max(32px, calc((100% - 1200px) / 2)); display: flex; gap: .8em; font-family: var(--serif-en); font-size: 13px; letter-spacing: .12em; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.breadcrumb a[aria-current] { font-family: var(--mincho); }
.page-hero-text { position: absolute; z-index: 2; left: max(32px, calc((100% - 1200px) / 2)); bottom: 56px; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.page-hero-en { font-family: var(--serif-en); font-size: 15px; letter-spacing: .3em; color: #ecd5ab; }
.page-hero-text h1 { font-size: clamp(34px, 3.4vw, 46px); font-weight: 400; letter-spacing: .16em; line-height: 1.5; margin-top: 8px; }
.page-hero-text h1::after { content: ""; display: block; width: 44px; height: 1px; background: rgba(255, 255, 255, .85); margin: 22px 0 20px; }
.page-hero-lead { font-size: 15px; line-height: 2; letter-spacing: .08em; }
.page-head { text-align: center; padding: 88px 24px 64px; background: linear-gradient(180deg, var(--ivory), var(--bg)); }
.page-head-en { font-family: var(--serif-en); font-size: 16px; letter-spacing: .3em; color: var(--gold); }
.page-head h1 { font-size: 30px; font-weight: 400; letter-spacing: .16em; margin-top: 10px; }

.about-concept { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.about-concept-text { display: flex; flex-direction: column; gap: 22px; }
.about-concept-text > p { color: var(--text); line-height: 2.1; max-width: 30em; }
.about-concept-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.gallery { background: var(--ivory); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid figcaption { font-size: 13px; color: var(--sub); margin-top: 10px; text-align: center; }

.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: flow; }
.flow-list li { background: var(--white); padding: 32px 26px; }
.flow-num { font-family: var(--serif-en); font-size: 34px; color: var(--gold); line-height: 1; }
.flow-list h3 { font-size: 17px; font-weight: 500; margin: 16px 0 10px; }
.flow-list p { font-size: 13px; color: var(--sub); line-height: 2; }
.flow-note { text-align: center; margin-top: 32px; font-size: 13px; color: var(--sub); }

.price-wrap { max-width: 980px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.price-category { margin-top: 72px; }
.price-category h2 { display: flex; align-items: center; gap: 14px; font-weight: 400; font-size: 22px; letter-spacing: .12em; padding-bottom: 16px; border-bottom: 1px solid var(--gold); }
.price-category h2 img { width: 40px; height: 40px; object-fit: contain; }
.price-category h2 .en { font-family: var(--serif-en); font-size: 13px; color: var(--sub); letter-spacing: .2em; margin-left: auto; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.price-table tr { border-bottom: 1px solid var(--line); }
.price-table th, .price-table td { padding: 18px 8px; vertical-align: middle; font-weight: 400; }
.price-table th { text-align: left; }
.price-table td { text-align: right; white-space: nowrap; }
.price-name { display: block; font-size: 15.5px; }
.price-desc { display: block; font-size: 12px; color: var(--sub); margin-top: 2px; }
.price-main { display: block; font-size: 17px; letter-spacing: .04em; }
.price-num { font-size: 22px; letter-spacing: .02em; }
.price-yen { font-size: 14px; margin-left: 2px; }
.price-note { display: block; font-size: 12px; color: var(--gold-dark); white-space: normal; }
/* キャンペーン価格の行（2026-09-23 ユーザー提供のデザイン案7c「角のリボン＋特大の数字」）。対象外の行は上のまま */
.price-table .price-row-cp th, .price-table .price-row-cp td { padding-top: 30px; padding-bottom: 26px; }
.price-table .price-row-cp td { position: relative; }
.price-ribbon { position: absolute; top: 0; right: -1px; padding: 4px 14px 4px 16px; font-size: 10.5px; letter-spacing: .18em; line-height: 1.5; color: #fff; background: linear-gradient(90deg, #9c764a, #b8925e); clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); white-space: nowrap; }
/* 期間（「（10月31日まで）」）は字間を詰める。リボンが左に伸びてメニュー名に重ならないように（2026-10-04） */
.price-ribbon-until { letter-spacing: .04em; }
.price-cp { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; padding-top: 6px; }
.price-cp-tag { font-family: var(--serif-en); font-style: italic; font-size: 15px; letter-spacing: .06em; color: #a6885c; }
.price-cp-amount { display: flex; align-items: baseline; gap: 3px; white-space: nowrap; color: #8a6740; }
.price-cp-num { font-family: "Noto Serif JP", var(--mincho); font-weight: 600; font-size: 38px; line-height: 1; letter-spacing: .01em; font-variant-numeric: lining-nums; }
.price-cp-yen { font-size: 15px; }
.price-cp .badge-preparing { align-self: center; margin-right: 0; }
.phrase { display: inline-block; }
/* 施術名を押すと公式LINEのそのメニューの予約へ（2026-10-27 吉野さん依頼の2番） */
.price-howto { margin: 18px 0 0; font-size: 13px; color: var(--sub); }
.price-link { display: block; color: inherit; text-decoration: none; }
.price-go { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12px; letter-spacing: .06em; color: var(--gold-dark); }
.price-go svg { transition: transform .2s; }
.price-link:hover .price-name, .gender-link:hover .price-main, .gender-link:hover .price-cp-amount { color: var(--gold-dark); }
.price-link:hover .price-go svg { transform: translateX(3px); }
/* 医療脱毛：男性・女性の2列（2026-10-27 吉野さん依頼の4番）。PCは見出しの行に「女性」「男性」を出す */
.price-table-gender thead { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
.price-table-gender thead th { padding: 12px 8px; font-size: 12px; letter-spacing: .1em; color: var(--sub); text-align: right; }
/* 表が長い（36行）ので、PCは下へ見ていっても見出しの行を画面の上（ヘッダーの下）に残す */
.price-table-gender thead th { position: sticky; top: var(--header-h); z-index: 2; background: var(--bg); box-shadow: 0 1px 0 var(--line); }
/* 「女性」「男性」の札（2026-10-27 ユーザー「男女別で掲載されていないと思った」＝見出しが目立たなかった） */
.gender-chip { display: inline-block; padding: 4px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: .14em; line-height: 1.5; }
.gender-w { background: #f6e6e9; color: #9c4f60; }
.gender-m { background: #e5ebf3; color: #3f5677; }
.gender-tax { margin-left: 6px; font-size: 11px; color: var(--sub); }
.price-table-gender thead th:first-child { text-align: left; }
.gender-cell { width: 26%; }
.gender-label { display: none; }
.gender-link .price-go { justify-content: flex-end; }
.gender-none .price-main { color: var(--sub); }
.price-table .gender-cp { position: relative; padding-top: 30px; }

/* ---------- キャンペーン欄（2026-10-27 吉野さん依頼の5番。src/pages.mjs の campaignStrip・assets/js/campaign.js） ----------
   画像を横に並べ、PCは3枚弱（右の隣が少し見える）・スマホは1枚と隣のはし。スクロールは1枚ずつ止まる（scroll-snap） */
.campaign.section { padding: 56px 0 24px; }
.campaign .heading.center { margin-bottom: 28px; }
.campaign-wrap { position: relative; container-type: inline-size; --cpad: max(24px, calc((100cqw - 1200px) / 2)); }
/* 枠は画面の左右のはしまで。1枚目の左はしは文章の列にそろえ、左には前の画像のはし・右には次の画像が見える（2026-10-27 ユーザー「左側の余白が気になる」）。
   動き（campaign.js）が読み込めたら、はみ出しは隠して左へ流す。読み込めないときは、横に動かせる（scroll-snap） */
.campaign-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.campaign-viewport::-webkit-scrollbar { display: none; }
.campaign.is-ready .campaign-viewport { overflow: hidden; overflow: clip; scroll-snap-type: none; touch-action: pan-y; }
/* ↑ clip：ページ内の移動などでブラウザが枠を横にずらすのを防ぐ（hidden だけだと、ずれて位置が合わなくなった。2026-10-27） */
.campaign-track { list-style: none; margin: 0; padding: 0 var(--cpad); display: flex; gap: 18px; width: max-content; position: relative; will-change: transform; }
.campaign-item { --h: calc((min(100cqw, 1200px) - 18px * 2) / 2.75); flex: 0 0 auto; height: var(--h); width: min(calc(var(--h) * var(--r)), calc(100cqw - 48px)); scroll-snap-align: start; }
.campaign-item a { display: block; width: 100%; height: 100%; overflow: hidden; background: var(--ivory); }
.campaign-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.campaign-item a:hover img { transform: scale(1.03); }
.campaign-arrow { display: none; position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .82); color: var(--text); box-shadow: 0 2px 10px rgba(58, 51, 45, .2); cursor: pointer; transition: background .2s; }
.campaign-arrow:hover { background: #fff; }
.campaign-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.campaign.is-ready .campaign-arrow { display: flex; }
.campaign-prev { left: 12px; }
.campaign-prev svg { transform: scaleX(-1); }
.campaign-next { right: 96px; }
@media (max-width: 767px) {
  .campaign.section { padding: 40px 0 8px; }
  .genres.section { padding: 40px 20px 4px; }
  .genre-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .genre-cards a { min-height: 84px; padding: 14px 12px; gap: 10px; }
  .genre-icon { width: 28px; height: 28px; }
  .genre-name { font-size: 15.5px; letter-spacing: .08em; }
  .genre-cats { display: none; }
  .price-genre { margin-top: 56px; }
  .price-genre-title { font-size: 18px; padding: 12px 14px; }
  .campaign-wrap { --cpad: 20px; }
  .campaign-track { gap: 12px; }
  .campaign-item { --h: calc((100cqw - 20px - 12px) / 1.12); }
  /* スマホにも矢印を出す（スライドだと分かるように。2026-10-27 ユーザー）。画像の文字に重なりにくいよう小さめ・半透明で、左右の端に */
  .campaign-arrow { width: 38px; height: 38px; margin-top: -19px; background: rgba(255, 255, 255, .78); box-shadow: 0 1px 6px rgba(58, 51, 45, .22); }
  .campaign-arrow svg { width: 17px; height: 17px; }
  .campaign-prev { left: 6px; }
  .campaign-next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .campaign-item img { transition: none; }
}

.medical-note { background: var(--white); border-left: 2px solid var(--gold); padding: 18px 22px; font-size: 12.5px; color: var(--sub); line-height: 1.9; margin-top: 56px; }
.medical-note:first-child { margin-top: 0; }

.clinic { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.clinic-table > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.clinic-table dt { color: var(--sub); font-size: 13px; }
.clinic-table dd a[href^="tel"] { font-size: 18px; letter-spacing: .08em; }
.clinic-table small { font-size: 12px; color: var(--sub); }
.clinic-table .link-arrow { margin-top: 10px; font-size: 13px; }
.clinic-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.35) sepia(.1); }

/* ---------- お知らせ（2026-09-18〜。中身は assets/js/news.js が入れる） ---------- */
.news { background: var(--white); }
.news-list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 22px; align-items: center; padding: 22px 4px; transition: opacity .2s; }
.news-item:hover { opacity: .7; }
.news-thumb { width: 96px; aspect-ratio: 1; background: var(--bg); overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.news-meta time { font-family: var(--serif-en); font-size: 13px; letter-spacing: .12em; color: var(--gold); }
.news-tag { display: inline-block; padding: 1px 10px; border: 1px solid var(--gold-light); font-size: 11px; letter-spacing: .08em; line-height: 1.7; color: var(--text); }
.news-title { font-size: 16px; line-height: 1.8; letter-spacing: .08em; }
.news-chevron { width: 14px; height: 14px; color: var(--sub); }
.news-heading .heading-en { font-size: 13px; letter-spacing: .32em; color: var(--gold); }
.news-heading .heading-ja::after { content: ""; display: block; width: 36px; height: 1px; background: var(--gold-light); margin: 22px auto 0; }
.news-more { text-align: center; margin-top: 40px; }
.news-more-btn { min-width: 22em; border-color: var(--gold-light); color: var(--text); }
.news-more-btn svg { color: var(--gold); }
.news-status { text-align: center; color: var(--sub); font-size: 14px; padding: 40px 0; }

/* .section の左右の余白は画面幅で決まるため、中央の幅を決めるここでは固定の余白にする（price-wrap と同じ） */
.news-page { max-width: 980px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.news-filter { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.news-filter button { font: inherit; font-size: 14px; letter-spacing: .08em; padding: .7em 1.4em; background: var(--white); color: var(--text); border: 1px solid var(--line); cursor: pointer; }
.news-filter button span { margin-left: .3em; }
.news-filter button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.news-year { margin-top: 36px; }
.news-year-head { font-family: var(--serif-en); font-weight: 400; font-size: 14px; letter-spacing: .16em; color: var(--gold); padding-bottom: 12px; }
.news-page .news-list { max-width: none; }

.news-article-wrap { max-width: 820px; margin: 0 auto; padding: 32px 24px 0; }
.news-breadcrumb { display: flex; gap: .8em; font-family: var(--serif-en); font-size: 13px; letter-spacing: .12em; color: var(--sub); }
.news-article { padding: 32px 0 72px; }
.news-article-head h1 { font-size: 28px; font-weight: 400; letter-spacing: .12em; line-height: 1.8; margin-top: 14px; }
.news-article-img { margin: 32px 0; }
.news-article-img img { width: 100%; aspect-ratio: 20 / 13; object-fit: cover; }
.news-article-body { white-space: pre-wrap; font-size: 15px; line-height: 2.2; margin-top: 32px; }
.news-menu { margin-top: 48px; }
.news-menu h2 { font-size: 18px; font-weight: 400; letter-spacing: .1em; padding: 20px 0 8px; border-top: 1px solid var(--line); }
.news-menu dl { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.news-menu dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 14px; }
.news-menu dt { color: var(--sub); }
.news-menu dd { text-align: right; }
.news-menu dd small { display: block; font-size: 12px; color: var(--gold-dark); }
.news-menu-note { font-size: 12.5px; color: var(--sub); line-height: 1.9; margin-top: 20px; }
.news-menu-lead { font-size: 14px; line-height: 1.9; padding: 4px 0 20px; border-bottom: 1px solid var(--line); }
.news-reserve { display: flex; width: 100%; margin-top: 28px; padding: 1.2em 1em; font-size: 15px; letter-spacing: .16em; }
.news-other { background: var(--bg); padding: 56px max(24px, calc((100% - 820px) / 2)) 72px; }
.news-other-head { display: flex; align-items: center; gap: 18px; font-family: var(--serif-en); font-size: 13px; letter-spacing: .3em; color: var(--gold); margin-bottom: 20px; }
.news-other-head::after { content: ""; flex: 1; height: 1px; background: var(--gold-light); }
.news-other-list { background: var(--white); margin-bottom: 28px; }
.news-other-list li + li { border-top: 1px solid var(--line); }
.news-other-list a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; }
.news-other-list a:hover { opacity: .7; }
.news-other-list .news-title { font-size: 15px; }
.news-other .news-more-btn { display: flex; width: 100%; }

/* ---------- 施術ごとの説明（限定解除の要件・開閉式） ---------- */
.explain-list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.explain { background: var(--white); border: 1px solid var(--line); border-left: 2px solid var(--gold); font-size: 13px; line-height: 1.9; scroll-margin-top: calc(var(--header-h) + 16px); }
.explain summary { cursor: pointer; list-style: none; position: relative; padding: 12px 44px 12px 18px; font-size: 13.5px; line-height: 1.7; }
.explain summary::-webkit-details-marker { display: none; }
.explain summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1px solid var(--gold-dark); border-bottom: 1px solid var(--gold-dark); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.explain[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.explain summary:hover { background: var(--ivory); }
.explain-body { padding: 10px 18px 14px; border-top: 1px dashed var(--line); }
.explain-body p + p { margin-top: 6px; }
.explain-label { display: inline-block; min-width: 7.5em; margin-right: .6em; color: var(--sub); }
.explain a { color: var(--gold-dark); text-decoration: underline; }
.preview-banner { position: fixed; inset: auto 0 0 0; z-index: 60; background: #6b4e00; color: #fff; font-size: 12px; text-align: center; padding: 6px 12px; letter-spacing: .04em; }
mark.confirm { background: #fff2a8; color: #6b4e00; padding: 0 .2em; }

/* ---------- プライバシーポリシー・特商法 ---------- */
/* .section の左右の余白は画面幅で決まり、max-width と重なると広い画面ほど本文が細くなる（2026-09-27 PCで幅390pxに）。
   中央の幅を決めるここでは固定の余白にする（news-page と同じ。本文は860px） */
.legal { max-width: 908px; margin: 0 auto; padding-left: 24px; padding-right: 24px; font-size: 14.5px; line-height: 2; }
.legal h2 { font-size: 19px; font-weight: 500; letter-spacing: .08em; margin: 48px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 36px; }
.legal h3 { font-size: 15.5px; font-weight: 500; margin: 24px 0 6px; }
.legal p + p { margin-top: 10px; }

/* よくある質問（/faq/。2026-10-13）。答えは開かずに全部見せる */
.faq { max-width: 908px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.faq-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item dt, .faq-item dd { display: grid; grid-template-columns: 2em 1fr; gap: 8px; align-items: baseline; }
.faq-item dt { font-size: 16px; font-weight: 500; letter-spacing: .04em; }
.faq-item dd { margin-top: 12px; font-size: 14.5px; line-height: 2; color: var(--text); }
.faq-mark { font-family: var(--serif-en); font-size: 20px; color: var(--gold); line-height: 1; }
.faq-item dd .faq-mark { color: var(--sub); }
.faq-item a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.faq .medical-note { margin-top: 40px; }
.legal ol, .legal ul { padding-left: 1.6em; margin: 6px 0; }
.legal ol { list-style: decimal; }
.legal ul { list-style: disc; }
.legal li + li { margin-top: 4px; }
.legal a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal .legal-contact { list-style: none; padding-left: 0; }
.legal-date { margin-top: 32px; text-align: right; color: var(--sub); font-size: 13px; }
.legal-table > div { display: grid; grid-template-columns: 13em 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.legal-table > div:first-child { border-top: 1px solid var(--line); }
.legal-table dt { color: var(--sub); font-size: 13.5px; }
.legal-table dd { margin: 0; }

/* ---------- フッター ---------- */
.site-footer { background: var(--ivory); border-top: 1px solid var(--line); padding: 56px max(24px, calc((100% - 1200px) / 2)) 24px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: start; }
.footer-logo .star { width: 38px; height: 38px; }
.footer-logo { padding-right: 48px; border-right: 1px solid var(--line); }
.footer-info { font-size: 13px; line-height: 1.9; }
.footer-info > div { display: flex; gap: 20px; }
.footer-info > div + div { margin-top: 6px; }
.footer-info dt { color: var(--sub); flex: 0 0 5em; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 32px; font-size: 12.5px; }
.footer-links a:hover { color: var(--gold); }
.copyright { text-align: center; font-family: var(--serif-en); font-size: 12px; color: var(--sub); letter-spacing: .12em; margin-top: 48px; }

/* ---------- タブレット ---------- */
@media (max-width: 1180px) {
  .global-nav ul { gap: 22px; }
  .global-nav { gap: 22px; }
  .card-row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-row-4 { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pickup, .recommend { grid-template-columns: 1fr; }
  .split-head { flex-direction: row; }
  .split-head .heading { flex-direction: row; align-items: baseline; gap: 24px; flex-wrap: wrap; }
  .split-head .heading-en br, .split-head .heading-ja br { display: none; }
  .split-head-card { background: none; padding: 0; }
  .space { grid-template-columns: 1fr 1fr; }
  .space-photo-left { display: none; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- スマホ ---------- */
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .logo .star { width: 34px; height: 34px; }
  .logo-en { font-size: 21px; }
  .logo-sub { font-size: 8px; }
  .logo-ja { display: none; }
  .nav-button { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 44px; height: 44px; cursor: pointer; }
  .nav-button span { display: block; height: 1px; background: var(--text); transition: transform .25s, opacity .25s; }
  .nav-toggle:checked + .nav-button span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked + .nav-button span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-button span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .global-nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 28px; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(59, 51, 45, .08); transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .nav-toggle:checked ~ .global-nav { transform: none; visibility: visible; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav ul a { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .global-nav ul a::after { display: none; }
  .global-nav .ja { font-size: 13px; }
  .header-reserve { margin-top: 20px; }

  .sp-only { display: inline; }
  body { padding-bottom: 64px; }
  .floating-actions { top: auto; bottom: 0; left: 0; transform: none; flex-direction: row; border-radius: 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .floating-actions a { flex: 1; flex-direction: row; justify-content: center; gap: 8px; padding: 0 8px; height: 64px; font-size: 14px; }
  .floating-actions a + a { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .25); }

  .section { padding: 64px 20px; }
  .heading-ja { font-size: 21px; }

  .split-head .heading-en { font-size: 26px; }
  .card-row, .card-row-4 { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  /* スマホはカードが狭いので「キャンペーン（10月31日まで）」は折り返してよい */
  .menu-card-price .card-cp-label { white-space: normal; font-size: 10.5px; }
  .menu-card h3 { font-size: 14px; }
  .menu-card-price { font-size: 14px; }
  .menu-card-price small { display: block; font-size: 10.5px; color: var(--sub); line-height: 1.5; letter-spacing: 0; margin-top: 2px; }
.menu-card-price svg { width: 22px; height: 22px; padding: 4px; }
  .menu-card-lead { font-size: 11px; }
  .section-more { text-align: center; margin-top: 24px; }

  .space { grid-template-columns: 1fr; }
  .space-photo-right { aspect-ratio: 4 / 3; }
  .space-text { padding: 56px 24px; }

  .cta-img { opacity: .35; }
  .cta-inner { grid-template-columns: 1fr; padding: 56px 24px; text-align: center; gap: 28px; }
  .cta-sub { flex-direction: column; }
  .cta-actions { min-width: 0; }

  .page-head { padding: 56px 20px 40px; }
  .page-hero-img { height: auto; min-height: 0; aspect-ratio: 5 / 6; object-position: 50% 20%; }
  .page-hero::before { background: linear-gradient(0deg, rgba(38, 30, 25, .75) 0%, rgba(38, 30, 25, .4) 35%, rgba(38, 30, 25, 0) 58%), linear-gradient(180deg, rgba(38, 30, 25, .3) 0%, rgba(38, 30, 25, 0) 18%); }
  .breadcrumb { top: 20px; left: 20px; font-size: 12px; }
  .page-hero-text { left: 22px; right: 22px; bottom: 28px; }
  .page-hero-en { font-size: 12px; }
  .page-hero-text h1 { font-size: 30px; margin-top: 4px; }
  .page-hero-text h1::after { width: 36px; margin: 16px 0 14px; }
  .page-hero-lead { font-size: 13.5px; }
  .page-head h1 { font-size: 24px; }
  .about-concept { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: 1fr; }

  .price-wrap { padding-left: 20px; padding-right: 20px; }
  .price-category { margin-top: 56px; }
  .price-category h2 { font-size: 19px; }
  /* スマホ：施術名を横幅いっぱいに出し、料金はその下の行に右寄せ（左右に並べると両方が細くなり変な位置で折り返す） */
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table tr { padding: 14px 2px; }
  .price-table th, .price-table td { padding: 0; }
  .price-table td { margin-top: 6px; white-space: normal; }
  .price-name { font-size: 14.5px; letter-spacing: .03em; }
  .price-desc { letter-spacing: .02em; }
  .price-main { font-size: 15.5px; }
  /* スマホはさらに大きく（2026-09-23 ユーザー指摘「もっと大きく」）。キャンペーン価格の32pxより小さく */
  .price-num { font-size: 24px; }
  .price-yen { font-size: 14px; }
  .price-note { letter-spacing: .02em; }
  /* スマホは料金が名前の下に回る。リボンは行の右上に付けたまま、数字を少し小さく */
  /* ⚠️元の .price-table tr（padding 14px）より強くするため .price-table を付ける。弱いとリボンがメニュー名に重なった */
  .price-table .price-row-cp { position: relative; padding-top: 34px; }
  .price-table .price-row-cp th, .price-table .price-row-cp td { padding-top: 0; padding-bottom: 0; }
  .price-table .price-row-cp td { position: static; }
  .price-cp-num { font-size: 32px; }
  .price-cp-tag { font-size: 14px; }
  /* 男女2列の表：スマホは施術名の下に「女性」「男性」を左右に並べる（見出しの行は隠し、それぞれに小さく書く） */
  .price-table-gender thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .price-table-gender tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .price-table-gender th { grid-column: 1 / -1; }
  .price-table-gender .gender-cell { width: auto; margin-top: 8px; text-align: left; }
  .gender-label { display: block; margin-bottom: 4px; }
  .gender-label .gender-chip { padding: 2px 12px; font-size: 12.5px; }
  .gender-link .price-go { justify-content: flex-start; }
  .price-table .gender-cp { position: relative; padding-top: 26px; }
  .price-table-gender .price-cp { justify-content: flex-start; }
  .price-table-gender .price-cp-num { font-size: 26px; }

  .clinic { grid-template-columns: 1fr; }
  .clinic-table > div { grid-template-columns: 1fr; gap: 4px; }

  .news-item { grid-template-columns: 76px 1fr auto; gap: 16px; padding: 20px 0; }
  .news-thumb { width: 76px; }
  .news-title { font-size: 15px; }
  .news-meta { gap: 10px; }
  .news-more-btn { min-width: 0; width: 100%; }
  .news-page { padding-left: 20px; padding-right: 20px; }
  .news-filter { gap: 8px; padding-bottom: 24px; }
  .news-filter button { font-size: 13px; padding: .65em 1.1em; }
  .news-article-wrap { padding: 20px 20px 0; }
  .news-article { padding: 24px 0 56px; }
  .news-article-head h1 { font-size: 22px; }
  .news-article-img { margin: 24px -20px; }
  .news-article-body { font-size: 14px; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .legal { font-size: 14px; }
  .explain { font-size: 12.5px; }
  .explain summary { padding: 12px 38px 12px 14px; font-size: 13px; }
  .explain-body { padding: 8px 14px 12px; }
  .explain-label { display: block; min-width: 0; }
  .legal-table > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-logo { border-right: 0; padding-right: 0; }
  .footer-info > div { flex-direction: column; gap: 0; }
  .footer-info dt { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- トップのスライドショー（2026-10-11。src/site.mjs の HERO_SLIDES・assets/js/slides.js） ----------
   クリニックが作った完成画像（文字・LINEボタン・注意書き入り）を切り替えるだけ。全部同じ縦横比（ビルドで確かめている）。
   枠は画像と同じ縦横比にし、画像は枠に丸ごと収める（object-fit: contain）＝どの画面幅でも見切れない。
   PCで枠が画面より高くならないよう、高さを画面に合わせて幅を縮め、左右は生成りの余白にする */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.slides { position: relative; background: var(--ivory); padding-bottom: 6px; }
.slides-frame { position: relative; container-type: inline-size; margin: 0 auto; aspect-ratio: var(--slide-ratio); width: min(100%, calc((100svh - var(--header-h) - 44px) * var(--slide-ratio))); overflow: hidden; touch-action: pan-y; }
.slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.slide.is-current { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
/* 矢印と点は、動き（slides.js）が読み込めたときだけ出す */
.slides-arrow, .slides-nav { display: none; }
.slides.is-ready .slides-arrow { display: flex; }
.slides.is-ready .slides-nav { display: flex; }
.slides-arrow { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .72); color: var(--text); box-shadow: 0 2px 10px rgba(58, 51, 45, .18); cursor: pointer; transition: background .2s; }
.slides-arrow:hover { background: rgba(255, 255, 255, .95); }
.slides-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.slides-prev { left: 12px; }
.slides-prev svg { transform: scaleX(-1); }
.slides-next { right: 12px; }
.slides-nav { align-items: center; justify-content: center; gap: 14px; padding: 10px 16px 4px; }
.slides-dots { display: flex; gap: 2px; }
/* 押せる大きさは44px、見た目の点は10px */
.slides-dot { position: relative; width: 28px; height: 28px; border: 0; background: none; cursor: pointer; padding: 0; }
.slides-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; transition: background .2s; }
.slides-dot[aria-current="true"]::before { background: var(--gold); }
@media (max-width: 767px) {
  /* スマホは縦長の枠（--slide-ratio-sp。既定 4:5）。画面より高くならないよう幅を縮める */
  .slides-frame { width: min(100%, calc((100svh - var(--header-h) - 44px) * var(--slide-ratio-sp))); aspect-ratio: var(--slide-ratio-sp); }
  /* スマホは画像が小さいので矢印を出さず、指でめくる＋点で送る（矢印が画像の端の文字に重ならないように） */
  .slides.is-ready .slides-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-current { transition: none; }
}
/* ---------- スライドショーのスマホ（縦長の枠。2026-10-11 ユーザー決定「縦長の枠＋スマホ用バナー」） ----------
   バナー：スマホ用の縦長の画像があればそれを枠いっぱいに。無ければ横長のまま中央に置き、上下は同じ画像のぼかしで埋める。
   1枚目（男女の写真）のスマホの並びは下の「男女の1枚目」 */
.slide-banner-blur { display: none; position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(16px) brightness(.92); }
.slide-banner picture { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
/* PCの枠は16:9（1枚目の男女の写真に合わせた・2026-10-15）。3:2のバナーは左右が余るので、いつもぼかしで埋める */
@media (min-width: 768px) {
  .slide-banner .slide-banner-blur { display: block; }
}
@media (max-width: 767px) {
  .slide-banner:not(:has(source)) .slide-banner-blur { display: block; }
  .slide-banner:has(source) img { object-fit: cover; }
}

/* 見つからないページ（/404.html。2026-10-13） */
.notfound-links { list-style: none; margin: 0 auto; padding: 0; max-width: 420px; display: grid; gap: 10px; }
.notfound-links a { display: block; padding: 14px 18px; border: 1px solid var(--line); text-align: center; letter-spacing: .08em; }

/* ---------- スライドショーの1枚目＝男女の写真（2026-10-15 クライアント「男性にもフォーカスしたい」。src/pages.mjs の coupleSlide） ----------
   見本＝Dropbox `HP/ASTAR/素材/2026-10-15.jpg`。写真は枠いっぱいに敷き（cover）、男性の顔が切れないよう右寄せで切る。
   文字は左の大理石の上（明朝）、下にロゴ。大きさは枠の幅（cqw）に比例。スマホは縦長の枠なので、顔の下に文字をまとめる */
.slide-couple { background: var(--ivory); }
.slide-couple picture { display: block; width: 100%; height: 100%; }
.slide-couple .couple-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.slide-couple::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(252, 250, 247, .78) 0%, rgba(252, 250, 247, .6) 34%, rgba(252, 250, 247, 0) 52%); pointer-events: none; }
.couple-copy { position: absolute; z-index: 2; left: 6cqw; top: 12%; bottom: 30%; display: flex; flex-direction: column; align-items: flex-start; color: var(--text); font-family: var(--mincho); font-feature-settings: "palt"; }
.couple-title { font-size: clamp(20px, 4.6cqw, 66px); font-weight: 500; line-height: 1.38; letter-spacing: 0; white-space: nowrap; }
/* 見出しの「、」は見本のように詰める（約物の右の空きを半分に） */
.couple-punct { margin-right: -.4em; }
.couple-lead, .couple-note { font-size: clamp(12px, 1.9cqw, 27px); line-height: 1.8; letter-spacing: .03em; text-shadow: 0 0 14px rgba(255, 255, 255, .9); }
.couple-lead { margin-top: 2.6cqw; }
.couple-note { margin-top: 1.3cqw; }
/* ロゴは見本の画像から切り抜いたもの（assets/img/couple-logo.webp・背景は透明。2026-10-16 ユーザー「全然違う、これだよ」＝作ったロゴでは見本と違った）。
   見本と写真は同じ形（16:9）なので、見本と同じ位置・大きさ（見本の左4.7%・上71.9%・幅18.2%）に置く */
.slide-couple .couple-logo { position: absolute; z-index: 2; left: 4.7%; top: 71.9%; width: 18.2%; height: auto; object-fit: contain; }
@media (max-width: 767px) {
  /* スマホは縦長のスマホ用の写真（ロゴ入り・3:4）。枠（4:5）に合わせて上を少しだけ切る。文字は見本のとおり上の大理石の上
     （見本 Dropbox HP/ASTAR/素材/美しさと清潔感の美容医療広告.png・2026-10-16 ユーザー指定） */
  /* 下のロゴ（MEDICAL CLINIC）を切らないよう、下にそろえて上の大理石だけを切る（2026-10-16 ユーザー「ロゴの下部分が見切れている」） */
  .slide-couple .couple-img { object-position: 50% 100%; }
  .slide-couple::before { display: none; }
  .couple-copy { left: 7cqw; right: 4cqw; top: 2.6%; bottom: auto; }
  .couple-title { font-size: 7cqw; line-height: 1.26; }
  .couple-lead, .couple-note { font-size: 3.05cqw; line-height: 1.66; letter-spacing: 0; text-shadow: 0 0 10px rgba(255, 255, 255, .9); }
  .couple-lead { margin-top: 2.4cqw; }
  .couple-note { margin-top: 1cqw; }
  /* スマホ用の写真にロゴが入っているので、PC用のロゴは出さない */
  .slide-couple .couple-logo { display: none; }
}
