/* ピラティス日和 — site.css */
:root {
  --ivory: #f7f5ef;
  --paper: #fbfaf6;
  --sand: #ebe6da;
  --forest: #263e35;
  --forest-2: #34544a;
  --sage: #8fa58f;
  --sage-ink: #4f6a5a;
  --sage-wash: #e3e9e0;
  --clay: #9a5b3f;
  --clay-wash: #f1e4da;
  --ink: #1f2a25;
  --muted: #59625d;
  --line: #d9d4c7;
  --line-strong: #b9b3a3;
  --serif: "Noto Serif JP", "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "BIZ UDPMincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 48px);
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.85; letter-spacing: .02em;
  font-feature-settings: "palt" 0;
}
body.tray-open { padding-bottom: 96px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--clay); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.45; letter-spacing: .04em; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
small { font-size: .78em; color: var(--muted); margin-left: .35em; font-weight: 400; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 2px; }
#main:focus { outline: none; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); margin-left: .6em; font-size: .9em; }
.hint { font-size: .82rem; color: var(--muted); line-height: 1.7; margin: .35em 0 0; }
.unknown { color: var(--muted); font-size: .92em; }
.unknown .hint { display: block; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; color: #fff; }
.no-js .js-only, .js-only[hidden] { display: none !important; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247, 245, 239, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--forest); }
.logo-ja { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: .14em; color: var(--forest); margin: 0; }
.logo-en { font-size: .62rem; letter-spacing: .32em; color: var(--sage-ink); }
.site-nav ul { list-style: none; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 8px 14px; font-size: .9rem; text-decoration: none; color: var(--ink); letter-spacing: .06em; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: var(--forest); border-bottom-color: var(--sage); }
.site-nav a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--forest); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--line-strong); color: var(--forest); font: inherit; font-size: .85rem; padding: 6px 12px; cursor: pointer; min-height: 40px; }
  .nav-toggle-bar, .nav-toggle-bar::before { display: block; width: 16px; height: 1px; background: currentColor; position: relative; transition: transform .2s; }
  .nav-toggle-bar::before { content: ""; position: absolute; top: 5px; }
  .nav-toggle-bar { transform: translateY(-3px); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(-90deg); top: 0; }
  .site-nav { position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--ivory); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.is-open { display: block; }
  .no-js .site-nav { display: block; position: static; border: 0; }
  .site-nav ul { flex-direction: column; padding: 8px var(--gut) 20px; gap: 0; }
  .site-nav a { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .logo-en { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: 10px 24px; font: inherit; font-size: .95rem; letter-spacing: .08em; text-decoration: none; border: 1px solid var(--forest); cursor: pointer; transition: background .2s, color .2s; border-radius: 0; }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.btn-line { background: var(--paper); color: var(--forest); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--forest); color: var(--forest); }
.btn-line[aria-pressed="true"] { background: var(--sage-wash); border-color: var(--sage-ink); }
.btn-line[aria-pressed="true"]::before { content: "✓"; font-size: .9em; }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: .85rem; letter-spacing: .04em; }
.btn-text { background: none; border: 0; padding: 8px 4px; font: inherit; font-size: .88rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
.btn-text:hover { color: var(--clay); }
.ext { font-size: .8em; }
.link-arrow { display: inline-flex; align-items: center; gap: .6em; font-size: .92rem; letter-spacing: .06em; text-decoration: none; color: var(--forest); border-bottom: 1px solid var(--forest); padding-bottom: 2px; }
.link-arrow::after { content: ""; width: 24px; height: 1px; background: currentColor; transition: width .2s; }
.link-arrow:hover::after { width: 36px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: .8rem; letter-spacing: .08em; color: var(--muted); padding: 0; }
input[type="search"], select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong);
  min-height: 48px; padding: 8px 14px; width: 100%; border-radius: 0; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%), linear-gradient(135deg, var(--forest) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input[type="search"]:focus, select:focus { border-color: var(--forest); outline: 2px solid var(--clay); outline-offset: 1px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); min-height: min(760px, calc(100vh - var(--header-h))); border-bottom: 1px solid var(--line); }
.hero-photo { grid-column: 2; grid-row: 1; position: relative; margin: 0; overflow: hidden; background: var(--sand); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; }
.photo-note { position: absolute; right: 12px; bottom: 10px; margin: 0; font-size: .7rem; letter-spacing: .04em; color: #fff; background: rgba(31, 42, 37, .62); padding: 2px 8px; }
.photo-note-dark { position: static; display: inline-block; margin-top: 14px; color: var(--muted); background: none; padding: 0; }
.hero-copy { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(28px, 4.5vw, 72px) 56px max(var(--gut), calc((100vw - var(--wrap)) / 2)); }
.eyebrow { font-size: .8rem; letter-spacing: .18em; color: var(--sage-ink); margin: 0 0 20px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--sage); }
.hero-title { font-size: clamp(1.9rem, 3vw, 2.9rem); line-height: 1.5; letter-spacing: .08em; color: var(--forest); font-weight: 600; margin-bottom: 24px; }
.hero-lead { color: var(--ink); max-width: 30em; font-size: .98rem; margin-bottom: 32px; }
.hero-search { display: grid; grid-template-columns: 1fr; gap: 14px; background: var(--paper); border: 1px solid var(--line); padding: 22px; max-width: 460px; }
.hero-search .btn { width: 100%; }
.hero-note { font-size: .8rem; color: var(--muted); margin: 16px 0 0; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { margin-bottom: 36px; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-no { font-family: var(--serif); font-size: .85rem; color: var(--clay); letter-spacing: .2em; margin: 0 0 8px; }
.sec-title { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--forest); }
.sec-lead { color: var(--muted); font-size: .92rem; margin-top: -16px; margin-bottom: 24px; }

.conditions { padding: 56px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.cond-in { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; }
.cond-in .sec-head { margin: 0; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--forest); font-size: .92rem; background: var(--ivory); transition: border-color .2s, background .2s; }
.pill:hover { border-color: var(--forest); background: var(--sage-wash); color: var(--forest); }

/* area tiles: asymmetric */
.area-tiles { list-style: none; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 150px; gap: 14px; }
.area-tile a { position: relative; display: block; height: 100%; overflow: hidden; text-decoration: none; color: #fff; background: var(--forest); }
.area-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; opacity: .92; }
.area-tile a:hover img { transform: scale(1.04); }
.area-tile a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 32, 27, 0) 35%, rgba(20, 32, 27, .78) 100%); }
.tile-text { position: absolute; left: 20px; bottom: 16px; right: 16px; z-index: 1; display: flex; flex-direction: column; }
.tile-pref { font-size: .74rem; letter-spacing: .16em; opacity: .9; }
.tile-name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .1em; line-height: 1.4; }
.tile-count { font-size: .78rem; margin-top: 2px; opacity: .9; }
.t0 { grid-column: span 5; grid-row: span 3; }
.t1 { grid-column: span 4; grid-row: span 2; }
.t2 { grid-column: span 3; grid-row: span 2; }
.t3 { grid-column: span 3; grid-row: span 2; }
.t4 { grid-column: span 4; grid-row: span 2; }
.t5 { grid-column: span 5; grid-row: span 1; }
.t5 img { object-position: 50% 30%; }

/* studio list: editorial rows (not cards) */
.studio-list { list-style: none; border-top: 1px solid var(--forest); }
.studio-row { display: grid; grid-template-columns: 116px minmax(0, 1fr) 250px 150px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.studio-row[hidden] { display: none; }
.row-area { font-size: .78rem; color: var(--sage-ink); letter-spacing: .08em; margin: 0 0 2px; }
.row-area a { color: inherit; }
.sep { margin: 0 .4em; color: var(--line-strong); }
.row-name { font-size: 1.15rem; letter-spacing: .04em; margin-bottom: 4px; }
.row-name a { text-decoration: none; color: var(--ink); }
.row-name a:hover { color: var(--forest); text-decoration: underline; }
.row-access { font-size: .85rem; color: var(--ink); margin: 0 0 8px; line-height: 1.6; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .74rem; letter-spacing: .06em; padding: 1px 10px; border: 1px solid var(--line-strong); color: var(--forest); background: var(--paper); }
.row-price { display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); padding-left: 20px; }
.price-pair { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; }
.price-k { font-size: .74rem; color: var(--muted); grid-column: 1 / -1; line-height: 1.4; }
.price-v { font-family: var(--serif); font-size: 1.15rem; color: var(--forest); letter-spacing: .02em; }
.price-none .price-v { font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.price-tax { font-size: .7rem; color: var(--muted); }
.row-actions { display: flex; flex-direction: column; gap: 8px; }
.row-actions .btn { width: 100%; }

/* brand mark (no photo for studios) */
.mark { aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 12px; color: #fff; background: var(--forest); position: relative; overflow: hidden; }
.mark::after { content: ""; position: absolute; right: -30%; bottom: -30%; width: 90%; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; }
.mark-brand { font-size: .7rem; letter-spacing: .08em; line-height: 1.3; font-weight: 600; }
.mark-area { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .08em; line-height: 1.3; position: relative; z-index: 1; }
.mark-zenplace { background: #3f5a4c; }
.mark-pilatesk { background: #6f4b3d; }
.mark-clubpilates { background: #2f3f4a; }
.mark-lg { width: min(300px, 100%); }
.mark-lg .mark-brand { font-size: .9rem; }
.mark-lg .mark-area { font-size: 1.8rem; }

/* steps */
.steps { background: var(--forest); color: #eef1ec; }
.steps .sec-title { color: #fff; }
.steps .sec-no { color: #d9b7a4; }
.steps-in { display: grid; grid-template-columns: 300px 1fr; gap: 48px; }
.step-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.step-list li { padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .22); }
.step-n { font-family: var(--serif); font-size: 2.2rem; color: #c9d5c6; display: block; line-height: 1; margin-bottom: 18px; }
.step-list h3 { font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
.step-list p { font-size: .9rem; color: #d7ddd5; margin: 0; }

/* choose */
.choose-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.choose-photo { margin: 0; position: relative; }
.choose-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.choose-photo figcaption { font-size: .72rem; color: var(--muted); margin-top: 8px; }
.choose-dl { margin: 28px 0 32px; }
.choose-dl dt { font-family: var(--serif); font-size: 1.1rem; color: var(--forest); padding-top: 18px; border-top: 1px solid var(--line); }
.choose-dl dd { margin: 6px 0 20px; color: var(--ink); font-size: .94rem; }

/* guides links */
.guides-sec { background: var(--paper); border-top: 1px solid var(--line); }
.guide-links { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--forest); }
.guide-links a { display: flex; flex-direction: column; gap: 8px; padding: 28px 28px 28px 0; text-decoration: none; color: var(--ink); height: 100%; border-bottom: 1px solid var(--line); }
.guide-links li + li a { padding-left: 28px; border-left: 1px solid var(--line); }
.guide-links a:hover .g-k { color: var(--clay); }
.g-k { font-family: var(--serif); font-size: 1.2rem; color: var(--forest); }
.g-t { font-size: .9rem; color: var(--muted); }

/* ---------- page head ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .78rem; color: var(--muted); padding: 18px 0 0; }
.crumbs li + li::before { content: "／"; margin: 0 .5em; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.page-head { padding-top: 32px; padding-bottom: 32px; }
.page-title { font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--forest); margin-bottom: 14px; letter-spacing: .06em; }
.page-lead { max-width: 46em; color: var(--ink); }

/* ---------- search page ---------- */
.search-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 96px; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 18px; background: var(--paper); border: 1px solid var(--line); padding: 24px; max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; }
.filters-title { font-size: 1.05rem; color: var(--forest); }
.seg { display: flex; border: 1px solid var(--line-strong); }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: .85rem; color: var(--ink); padding: 4px; text-align: center; line-height: 1.3; }
.seg label + label span { border-left: 1px solid var(--line-strong); }
.seg input:checked + span { background: var(--forest); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: -3px; }
.filter-actions { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
.results-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 18px; }
.results-title { font-size: 1.15rem; color: var(--ink); }
.results-title span { font-size: 1.8rem; color: var(--forest); margin-right: .1em; }
.results-cond { font-size: .85rem; color: var(--muted); margin: 0; }
.results-note { font-size: .85rem; color: var(--clay); margin: 0 0 12px; }
.notice { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--sage-ink); padding: 20px 24px; margin-bottom: 24px; }
.notice-pref { border-left-color: var(--clay); }
.notice-title { font-family: var(--serif); font-size: 1.1rem; color: var(--forest); margin-bottom: 6px; }
.notice-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 12px 0 0; align-items: center; }

/* ---------- studio detail ---------- */
.studio-head { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-top: 28px; padding-bottom: 48px; align-items: start; }
.checked { font-size: .82rem; color: var(--muted); margin: 14px 0 22px; }
.studio-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.studio-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 96px; max-width: 980px; margin-left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); }
.block { padding: 40px 0; border-top: 1px solid var(--line); }
.block-title { font-size: 1.35rem; color: var(--forest); margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.block-title::before { content: ""; width: 18px; height: 1px; background: var(--clay); }
.sub-title { font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: .08em; color: var(--ink); margin: 26px 0 10px; }
.facts { margin: 0; }
.facts > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.facts dt { font-size: .85rem; color: var(--muted); letter-spacing: .06em; }
.facts dd { margin: 0; }
.plain { list-style: none; }
.plan-table, .quick-table, .compare-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.plan-table th, .plan-table td, .quick-table th, .quick-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.plan-table thead th, .quick-table thead th { font-family: var(--sans); font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; border-bottom: 1px solid var(--forest); }
.plan-table tbody th { font-family: var(--sans); font-weight: 600; font-size: .88rem; color: var(--forest); white-space: nowrap; }
.num { font-family: var(--serif); font-size: 1.1rem; color: var(--forest); white-space: nowrap; }
.fee-list { list-style: none; border-top: 1px solid var(--line); }
.fee-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.fee-v { text-align: right; color: var(--forest); }
.campaign-list { list-style: none; }
.campaign-list li { padding: 10px 14px; margin-bottom: 8px; background: var(--clay-wash); border-left: 2px solid var(--clay); font-size: .9rem; }
.source-list { list-style: none; }
.source-list li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); }
.src-url { font-size: .76rem; color: var(--muted); word-break: break-all; }
.src-what { font-size: .82rem; color: var(--ink); }

/* ---------- area ---------- */
.area-hero { position: relative; }
.area-hero-photo { position: relative; height: clamp(220px, 34vw, 420px); overflow: hidden; background: var(--sand); }
.area-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.area-hero-text { position: relative; margin-top: -88px; }
.area-hero-text > * { position: relative; }
.area-hero-text::before { content: ""; position: absolute; left: var(--gut); right: 30%; top: 0; bottom: 0; background: var(--ivory); }
.area-hero-text .eyebrow, .area-hero-text .page-title, .area-hero-text .page-lead { padding-left: 36px; padding-right: 36px; max-width: 760px; }
.area-hero-text .eyebrow { padding-top: 32px; }
.area-body { padding-bottom: 96px; }
.rule-list { list-style: none; }
.rule-list li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); font-size: .94rem; }
.rule-list li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 12px; height: 1px; background: var(--sage-ink); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.quick-table { min-width: 720px; }
.inline-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.inline-links a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line-strong); text-decoration: none; font-size: .9rem; }
.area-index { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.area-index a { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.area-index img { width: 96px; height: 120px; object-fit: cover; }
.area-index .tile-pref { color: var(--sage-ink); display: block; }
.ai-name { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--forest); }
.ai-count { font-size: .82rem; color: var(--muted); }
.pref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
.pref-region h3 { font-size: 1rem; color: var(--forest); padding-bottom: 8px; border-bottom: 1px solid var(--forest); margin-bottom: 6px; }
.pref-region ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.pref-region a { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); text-decoration: none; font-size: .92rem; color: var(--forest); font-weight: 600; }
.pref-n { font-weight: 400; font-size: .78rem; color: var(--muted); }
.pref-region a.pref-wait { color: var(--muted); font-weight: 400; }

/* ---------- compare ---------- */
.compare-empty { padding: 48px; background: var(--paper); border: 1px solid var(--line); text-align: center; margin-bottom: 96px; }
.compare-empty .notice-links { justify-content: center; }
#compare-wrap { padding-bottom: 96px; }
.compare-table { min-width: 760px; table-layout: fixed; }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .9rem; }
.compare-table thead th { border-bottom: 1px solid var(--forest); background: var(--paper); }
.compare-table thead th:first-child { background: transparent; }
.compare-table tbody th { width: 190px; font-family: var(--sans); font-size: .82rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.compare-table .row-group th { font-family: var(--serif); color: var(--forest); font-size: .95rem; background: var(--sand); padding: 8px 16px; }
.cmp-name { font-family: var(--serif); font-size: 1.05rem; line-height: 1.5; display: block; margin-bottom: 4px; }
.cmp-name a { color: var(--ink); }
.cmp-sub { font-size: .78rem; color: var(--muted); display: block; margin-bottom: 8px; }
.cmp-price { font-family: var(--serif); font-size: 1.15rem; color: var(--forest); }
.cmp-list { list-style: none; font-size: .85rem; }
.cmp-list li + li { margin-top: 4px; }
.compare-notes { margin-top: 24px; }

/* ---------- guides / prose ---------- */
.guide { padding-top: 24px; padding-bottom: 96px; max-width: 880px; margin-left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); }
.guide-head { margin-bottom: 40px; }
.guide-steps { list-style: none; counter-reset: g; }
.guide-steps li { counter-increment: g; position: relative; padding: 32px 0 28px 72px; border-top: 1px solid var(--line); }
.guide-steps li::before { content: counter(g, cjk-ideographic); position: absolute; left: 0; top: 30px; font-family: var(--serif); font-size: 1.6rem; color: var(--clay); }
.guide-steps h2 { font-size: 1.25rem; color: var(--forest); margin-bottom: 12px; }
.example { font-size: .9rem; background: var(--paper); border-left: 2px solid var(--sage); padding: 12px 16px; }
.guide-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.prose section { padding: 28px 0; border-top: 1px solid var(--line); }
.prose h2 { font-size: 1.25rem; color: var(--forest); margin-bottom: 14px; }
.checklist { display: grid; gap: 28px; }
.check-group h2 { font-size: 1.15rem; color: var(--forest); padding-bottom: 8px; border-bottom: 1px solid var(--forest); margin-bottom: 4px; }
.check-group ul { list-style: none; }
.check-group label { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.check-group input { width: 20px; height: 20px; margin-top: 5px; accent-color: var(--forest); flex: none; }
.check-group input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--sage); }

/* ---------- 404 ---------- */
.notfound { padding-top: 64px; padding-bottom: 120px; max-width: 760px; }
.hero-search-inline { grid-template-columns: 1fr auto; align-items: end; max-width: 560px; margin: 24px 0; }
.hero-search-inline .btn { width: auto; }

/* ---------- footer ---------- */
.site-footer { background: #1d2f28; color: #d9dfd8; padding: 72px 0 0; }
.site-footer a { color: #eef1ec; }
.site-footer a:hover { color: #e4c2ae; }
.footer-in { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo-ja { color: #fff; font-size: 1.4rem; margin-bottom: 12px; }
.footer-lead { font-size: .88rem; color: #c3ccc4; }
.footer-h { font-size: 1rem; color: #fff; margin-bottom: 10px; }
.footer-quality .rule-list li { border-color: rgba(255, 255, 255, .14); font-size: .84rem; color: #d3dad3; }
.footer-quality .rule-list li::before { background: #c9a28c; }
.footer-nav ul { list-style: none; }
.footer-nav a { display: block; padding: 6px 0; font-size: .88rem; text-decoration: none; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; padding-bottom: 22px; font-size: .78rem; color: #b5bfb6; }
.footer-base p { margin: 0; }

/* ---------- compare tray ---------- */
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--paper); border-top: 1px solid var(--forest); box-shadow: 0 -8px 24px rgba(31, 42, 37, .08); }
.compare-tray[hidden] { display: none; }
.tray-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; min-height: 76px; padding-top: 10px; padding-bottom: 10px; }
.tray-title { margin: 0; font-family: var(--serif); color: var(--forest); white-space: nowrap; }
.tray-count { font-size: 1.4rem; margin-left: .3em; }
.tray-max { color: var(--muted); font-size: .85rem; }
.tray-list { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.tray-list li { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line-strong); background: var(--ivory); padding-left: 12px; font-size: .82rem; max-width: 100%; }
.tray-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tray-list button { background: none; border: 0; min-width: 40px; min-height: 36px; cursor: pointer; color: var(--muted); font-size: 1rem; }
.tray-list button:hover { color: var(--clay); }
.tray-actions { display: flex; align-items: center; gap: 12px; }
.tray-msg { margin: 0; text-align: center; font-size: .82rem; color: var(--clay); }
.tray-msg:empty { display: none; }
.tray-msg:not(:empty) { padding: 0 var(--gut) 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .studio-row { grid-template-columns: 96px minmax(0, 1fr) 210px; }
  .row-actions { grid-column: 2 / -1; flex-direction: row; }
  .row-actions .btn { width: auto; }
  .search-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 900px) {
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .steps-in, .cond-in { grid-template-columns: 1fr; gap: 24px; }
  .pref-grid { grid-template-columns: repeat(2, 1fr); }
  .area-index { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .search-layout { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; }
  .studio-head { grid-template-columns: 1fr; gap: 24px; }
  .studio-head .mark-lg { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { grid-column: 1; grid-row: 1; aspect-ratio: 780 / 700; }
  .hero-copy { grid-column: 1; grid-row: 2; padding: 32px var(--gut) 48px; }
  .hero-title { font-size: 1.9rem; }
  .hero-search { max-width: none; padding: 18px; }
  .area-tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; }
  .area-tiles .area-tile { grid-column: span 1; grid-row: span 1; }
  .area-tiles .t0 { grid-column: span 2; grid-row: span 1; }
  .tile-name { font-size: 1.15rem; }
  .tile-text { left: 14px; bottom: 12px; }
  .studio-row { grid-template-columns: 64px minmax(0, 1fr); gap: 12px 16px; align-items: start; }
  .studio-row .mark { padding: 6px; }
  .studio-row .mark-brand { font-size: .5rem; }
  .studio-row .mark-area { font-size: .72rem; }
  .row-price { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px dashed var(--line); padding-top: 10px; flex-direction: row; flex-wrap: wrap; gap: 6px 20px; }
  .row-actions { grid-column: 1 / -1; }
  .row-actions .btn { flex: 1; }
  .step-list { grid-template-columns: 1fr; gap: 0; }
  .step-list li { padding: 20px 0 20px 56px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); position: relative; }
  .step-n { position: absolute; left: 0; top: 18px; font-size: 1.8rem; }
  .choose-in { grid-template-columns: 1fr; }
  .choose-photo img { aspect-ratio: 4 / 3; }
  .guide-links { grid-template-columns: 1fr; }
  .guide-links a, .guide-links li + li a { padding: 22px 0; border-left: 0; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .area-hero-text { margin-top: -40px; }
  .area-hero-text::before { left: var(--gut); right: var(--gut); }
  .area-hero-text .eyebrow, .area-hero-text .page-title, .area-hero-text .page-lead { padding-left: 18px; padding-right: 18px; }
  .area-hero-text .eyebrow { padding-top: 20px; }
  .area-index, .pref-grid { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; gap: 32px; }
  .tray-in { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .tray-list { grid-column: 1 / -1; grid-row: 2; }
  .tray-list li { font-size: .78rem; max-width: 46vw; }
  .tray-actions { grid-column: 2; grid-row: 1; }

  body.tray-open { padding-bottom: 140px; }
  .guide-steps li { padding-left: 48px; }
  .hero-search-inline { grid-template-columns: 1fr; }
  .compare-empty { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.hero-title span { white-space: nowrap; }
.filter-box > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.filter-box > summary::-webkit-details-marker { display: none; }
.filter-box > summary::after { content: ""; width: 9px; height: 9px; border-right: 1px solid var(--forest); border-bottom: 1px solid var(--forest); transform: rotate(45deg); margin-right: 4px; transition: transform .2s; }
.filter-box[open] > summary::after { transform: rotate(-135deg); }
.filter-state { font-size: .78rem; color: var(--clay); margin-left: auto; }
.filter-fields { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.filters { gap: 0; }
@media (min-width: 821px) { .filter-box > summary { pointer-events: none; } .filter-box > summary::after { display: none; } }
.table-scroll { position: relative; }
.vh { top: 0; left: 0; }
@media (max-width: 720px) {
  .plan-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .plan-table, .plan-table tbody, .plan-table tr, .plan-table th, .plan-table td { display: block; width: 100%; }
  .plan-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .plan-table th, .plan-table td { border: 0; padding: 2px 0; }
  .plan-table tbody th { white-space: normal; }
  .plan-table td.num { font-size: 1.25rem; }
}
[hidden] { display: none !important; }
.compare-table tbody th[scope="row"], .compare-table thead td { position: sticky; left: 0; z-index: 1; background: var(--ivory); }
@media (max-width: 720px) {
  .compare-table tbody th[scope="row"] { width: 104px; font-size: .76rem; padding: 12px 10px; }
  .compare-table th, .compare-table td { padding: 12px 10px; }
  .compare-table thead td { width: 104px; }
  .tray-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .tray-list li { flex: none; max-width: 60vw; }
  body.tray-open { padding-bottom: 120px; }
}
.studio-body, .guide { margin-left: max(0px, calc((100vw - var(--wrap)) / 2 - var(--gut))); }

/* ---------- 全国DB拡張（2026-10-21 r2） ---------- */
.price-break { grid-column: 1 / -1; font-size: .7rem; color: var(--muted); line-height: 1.5; }
.price-partial .price-v { color: var(--ink); }
.row-status { font-size: .76rem; color: var(--sage-ink); margin: 0; letter-spacing: .04em; }
.studio-row.is-basic .mark { opacity: .82; }
.status-badge { display: inline-block; font-size: .78rem; letter-spacing: .06em; color: var(--sage-ink); border: 1px solid var(--sage); padding: 2px 12px; margin: 4px 0 0; background: var(--paper); }
.more-link { margin: 20px 0 0; }
.count-sub { font-family: var(--sans); font-size: .8rem; color: var(--muted); margin-left: .6em; letter-spacing: .04em; font-weight: 400; }
.city-index { padding: 8px 0 24px; }
.city-index .inline-links a { font-size: .86rem; padding: 6px 12px; }
.city-index .pref-n { margin-left: .5em; }
.city-block { padding: 28px 0; }
.pref-block { margin-top: 48px; }
.pref-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 32px; }
.pref-nav-r { font-family: var(--serif); color: var(--forest); font-size: .95rem; margin: 0 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--forest); }
.pref-nav ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.pref-nav a { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); text-decoration: none; font-size: .9rem; }
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 28px 0 0; flex-wrap: wrap; }
.pager ul { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; }
.pager button { font: inherit; min-width: 44px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--forest); cursor: pointer; }
.pager button:hover:not([disabled]) { border-color: var(--forest); }
.pager button[aria-current="page"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.pager button[disabled] { color: var(--line-strong); cursor: default; }
.pager-gap { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.cmp-k { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .06em; }
.plan-table td.total { color: var(--forest); }
.results-cond #result-range { color: var(--muted); }
@media (max-width: 900px) { .pref-nav { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .pref-nav { grid-template-columns: 1fr; }
  /* SP：写真主体を保ちつつ、最初の画面で検索操作まで見えるようにする */
  .hero-photo { aspect-ratio: auto; height: 236px; }
  .hero-photo img { object-position: 46% 38%; }
  .hero-copy { padding: 22px var(--gut) 40px; }
  .hero-copy .eyebrow { display: none; }
  .hero-title { font-size: 1.7rem; line-height: 1.45; margin-bottom: 10px; }
  .hero-lead { font-size: .9rem; line-height: 1.7; margin-bottom: 16px; }
  .hero-search { gap: 10px; padding: 14px; }
  .hero-search .field label { font-size: .74rem; }
  .hero-search input[type="search"], .hero-search select { min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
  .hero-note { margin-top: 12px; }
}

/* ---------- 公式サイトのスクリーンショット・予約導線（2026-10-21 r3） ---------- */
.shot { margin: 0; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; }
.shot-sm { width: 100%; aspect-ratio: 16 / 10; }
.shot-sm img { height: 100%; object-fit: cover; object-position: top center; }
.shot-lg { width: min(420px, 100%); }
.shot-lg a { display: block; }
.shot-lg figcaption { font-size: .72rem; color: var(--muted); padding: 8px 10px; border-top: 1px solid var(--line); background: var(--ivory); }
.studio-head:has(.shot-lg) { grid-template-columns: minmax(0, 1fr) 420px; }
.book-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 24px; padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--forest); }
.book-panel-text { margin: 0; font-size: .9rem; }
.book-bar { display: none; }
@media (max-width: 1080px) { .studio-row .shot-sm { width: 100%; } }
@media (max-width: 820px) {
  .studio-head:has(.shot-lg) { grid-template-columns: 1fr; }
  .studio-head .shot-lg { width: 100%; max-width: 560px; }
}
@media (max-width: 720px) {
  .studio-row .shot-sm { width: 100%; }
  .book-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 49; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(247, 245, 239, .97); border-top: 1px solid var(--line); }
  .book-bar .btn { width: 100%; }
  body.has-bookbar { padding-bottom: 76px; }
  body.has-bookbar .compare-tray { bottom: 68px; }
  body.has-bookbar.tray-open { padding-bottom: 200px; }
}

/* ---------- 店舗行の公式サイトサムネイルを拡大（2026-10-22 r5）。画像なし（ブランド文字）の行は従来どおり ---------- */
.studio-row:has(> .shot-sm) { grid-template-columns: 200px minmax(0, 1fr) 240px 150px; }
@media (max-width: 1080px) { .studio-row:has(> .shot-sm) { grid-template-columns: 180px minmax(0, 1fr) 200px; } }
@media (max-width: 720px) { .studio-row:has(> .shot-sm) { grid-template-columns: 120px minmax(0, 1fr); } }
/* 一覧ページ（左に絞り込み欄がある幅の狭い列）：ボタンを行の下に回して店名欄を確保 */
@media (min-width: 1081px) {
  .results .studio-row { grid-template-columns: 116px minmax(0, 1fr) 220px; }
  .results .studio-row:has(> .shot-sm) { grid-template-columns: 184px minmax(0, 1fr) 220px; }
  .results .row-actions { grid-column: 2 / -1; flex-direction: row; }
  .results .row-actions .btn { width: auto; }
}
