/* =========================================================
   のむ温泉.com — design system
   和紙の白 × 湯の青緑 × 墨。余白と写真で語る、静かな温泉メディア。
   ========================================================= */

:root {
  /* のむ温泉.com ロゴの水色を主役にした、明るくポップな配色 */
  --paper: #f7fcff;
  --paper-2: #e2f3fc;
  --card: #ffffff;
  --ink: #1b2a36;
  --ink-2: #3f5463;
  --ink-3: #66798a;
  --line: #cfe6f3;
  --line-2: #e2f1f9;
  --yu: #1679b8;        /* 湯の色（澄んだ水色〜青） */
  --yu-deep: #0f5a8e;
  --yu-pale: #d9effc;
  --aqua: #5cc8e6;      /* ロゴの水色 */
  --sky: #a8dcf5;
  --mint: #6fd3c1;
  --shu: #f06a4f;       /* コーラル（募集中など） */
  --gold: #f0a83c;
  --night: #1a6aa6;     /* フッター等：晴れた空の青 */
  --on-night: #f2f9fe;
  --shadow: 0 1px 2px rgba(29, 36, 39, .06), 0 8px 24px rgba(29, 36, 39, .07);
  --shadow-lg: 0 2px 6px rgba(29, 36, 39, .08), 0 24px 60px rgba(29, 36, 39, .14);

  --f-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --f-sans: "Zen Maru Gothic", "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --f-latin: "Cormorant Garamond", "Times New Roman", serif;

  --w: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --r: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121819; --paper-2: #192123; --card: #1c2527;
    --ink: #ece7dc; --ink-2: #c0b9ac; --ink-3: #8f8d85;
    --line: #2f3b3c; --line-2: #263133;
    --yu: #7cc4ee; --yu-deep: #a9daf7; --yu-pale: #183246;
    --shu: #e08b70; --gold: #cdb27a; --night: #0c1213; --on-night: #e9e4d8;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.35), 0 24px 60px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121819; --paper-2: #192123; --card: #1c2527;
  --ink: #ece7dc; --ink-2: #c0b9ac; --ink-3: #8f8d85;
  --line: #2f3b3c; --line-2: #263133;
  --yu: #7cc4ee; --yu-deep: #a9daf7; --yu-pale: #183246;
  --shu: #e08b70; --gold: #cdb27a; --night: #0c1213; --on-night: #e9e4d8;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.35), 0 24px 60px rgba(0,0,0,.4);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.9; letter-spacing: .04em; font-weight: 500;
  font-feature-settings: "palt" 1; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
svg.i { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -.18em; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--yu); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--yu); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 600; line-height: 1.5; letter-spacing: .06em; margin: 0; }
p { margin: 0 0 1.2em; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - var(--gutter) * 2, var(--w)); margin-inline: auto; }
.wrap--narrow { width: min(100% - var(--gutter) * 2, 780px); margin-inline: auto; }
.latin { font-family: var(--f-latin); font-style: italic; letter-spacing: .08em; }
.muted { color: var(--ink-3); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 900; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.site-header.is-overlay:not(.is-scrolled):not(.is-open) { background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; width: min(100% - var(--gutter) * 2, 1360px); }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark { width: 34px; height: 34px; }
.logo__text { font-family: var(--f-serif); font-weight: 700; font-size: 20px; letter-spacing: .08em; line-height: 1.1; }
.logo__text small { display: block; font-family: var(--f-latin); font-style: italic; font-weight: 500; font-size: 13.5px; letter-spacing: .18em; opacity: .75; }
.gnav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); font-size: 14px; }
.gnav a { position: relative; padding: 6px 0; white-space: nowrap; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.gnav a:hover { color: inherit; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav .btn-map { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid currentColor; border-radius: 999px; }
.gnav .btn-map::after { display: none; }
.gnav .btn-map:hover { background: var(--yu); border-color: var(--yu); color: #fff; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 22px; } .menu-btn span:nth-child(3) { top: 28px; }
.is-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-open .menu-btn span:nth-child(2) { opacity: 0; }
.is-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer { position: fixed; inset: var(--header-h) 0 0; z-index: 890; background: var(--paper); padding: 24px var(--gutter) 48px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.is-open + .drawer, .drawer.is-open { opacity: 1; visibility: visible; }
.drawer__search { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 28px; }
.drawer__search a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); font-size: 15px; text-align: center; }
.drawer__search svg { width: 26px; height: 26px; color: var(--yu); }
.drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--f-serif); font-size: 17px; }
.drawer nav a span { font-family: var(--f-latin); font-style: italic; font-size: 15px; color: var(--ink-3); }

@media (max-width: 1200px) { .gnav { gap: 16px; font-size: 15.5px; } }
@media (max-width: 1140px) {
  .gnav { display: none; }
  .menu-btn { display: block; }
}

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 28px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; font-size: 14px; letter-spacing: .1em; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--yu { background: var(--yu); border-color: var(--yu); color: #fff; }
.btn--yu:hover { background: var(--yu-deep); border-color: var(--yu-deep); color: #fff; }
:root[data-theme="dark"] .btn--yu, :root[data-theme="dark"] .btn--yu:hover { color: #0f1a1b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--yu, :root:not([data-theme="light"]) .btn--yu:hover { color: #0f1a1b; } }
.btn--light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--light:hover { background: #fff; color: #1d2427; }
.btn svg { width: 16px; height: 16px; }
.arrow-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .1em; }
.arrow-link::after { content: ""; width: 36px; height: 1px; background: currentColor; transition: width .35s var(--ease); }
.arrow-link:hover::after { width: 56px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14.5px; line-height: 1.5; letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--q, var(--yu)); flex-shrink: 0; }
a.chip:hover { border-color: var(--yu); color: var(--yu); }
.chip--q { border-color: transparent; background: color-mix(in srgb, var(--q) 16%, var(--card)); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* toggle chips in filters */
.tchip { position: relative; }
.tchip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.tchip span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 15px; line-height: 1.4; transition: all .2s; white-space: nowrap; }
.tchip span i { width: 9px; height: 9px; border-radius: 50%; background: var(--q, var(--yu)); }
.tchip span b { font-weight: 400; color: var(--ink-3); font-size: 14px; }
.tchip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tchip input:checked + span b { color: inherit; opacity: .7; }
.tchip input:focus-visible + span { outline: 2px solid var(--yu); outline-offset: 2px; }
.tchip input:disabled + span { opacity: .4; }

/* ---------- section heads ---------- */
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec--tight { padding: clamp(48px, 7vw, 88px) 0; }
.sec--paper2 { background: var(--paper-2); }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.shead__en { display: block; font-family: var(--f-latin); font-style: italic; font-size: 15px; letter-spacing: .2em; color: var(--yu); margin-bottom: 6px; }
.shead h2 { font-size: clamp(26px, 3.4vw, 40px); }
.shead p { max-width: 520px; margin: 14px 0 0; color: var(--ink-2); font-size: 15px; }
.shead--center { flex-direction: column; align-items: center; text-align: center; }
.shead--center p { margin-inline: auto; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; max-height: 1000px; color: #fff; overflow: hidden; background: #1d5f8f; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,22,.45) 0%, rgba(10,20,22,0) 28%, rgba(10,20,22,0) 50%, rgba(10,20,22,.65) 100%); pointer-events: none; }
.hero__copy { position: absolute; z-index: 2; right: clamp(24px, 9vw, 160px); top: calc(var(--header-h) + clamp(28px, 6vh, 72px)); writing-mode: vertical-rl; font-family: var(--f-serif); }
.hero__copy h1 { font-size: clamp(30px, min(5.2vw, 8vh), 64px); letter-spacing: .32em; font-weight: 600; text-shadow: 0 2px 30px rgba(0,0,0,.35); line-height: 1.6; white-space: nowrap; }
.hero__copy h1 span { display: block; }
.hero__copy h1 span + span { margin-right: .1em; }
.hero__copy p { white-space: nowrap; margin: 0 1.4em 0 0; font-size: clamp(14px, 1.4vw, 17px); letter-spacing: .3em; line-height: 2.2; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero__bottom { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(24px, 5vh, 56px); }
.hero__bottom .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; width: min(100% - var(--gutter) * 2, 1360px); }
.hero__lead { max-width: 520px; }
.hero__lead .latin { font-size: clamp(18px, 2vw, 24px); opacity: .9; }
.hero__lead p { margin: 8px 0 22px; font-size: 15px; line-height: 2; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero__lead .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__bottom .wrap > div:last-child { flex-shrink: 0; }
.hero__credit { white-space: nowrap; font-size: 14px; letter-spacing: .08em; text-align: right; opacity: .9; }
.hero__credit a { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.hero__credit a:hover { color: #fff; border-color: #fff; }
.hero__dots { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.hero__dots button { width: 28px; height: 18px; padding: 0; border: 0; background: none; position: relative; }
.hero__dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: rgba(255,255,255,.35); }
.hero__dots button.is-active::before { background: #fff; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 0; width: 1px; height: 56px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero__scroll::after { content: ""; position: absolute; left: 0; top: -56px; width: 1px; height: 56px; background: #fff; animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { to { top: 56px; } }
@media (max-width: 720px) {
  .hero { min-height: 600px; }
  .hero__copy { right: 14px; top: calc(var(--header-h) + 20px); }
  .hero__copy h1 { font-size: 30px; letter-spacing: .24em; }
  .hero__copy p { display: none; }
  .hero__lead { padding-right: 0; }
  .hero__lead p br { display: none; }
  .hero__bottom .wrap { flex-direction: column; align-items: stretch; }
  .hero__lead p { font-size: 14px; }
  .hero__credit { text-align: left; }
  .hero__dots { justify-content: flex-start; }
  .hero__scroll { display: none; }
}

/* ---------- search panel (3 ways) ---------- */
.finder { position: relative; z-index: 5; margin-top: -48px; }
.finder__box { background: var(--card); border-radius: 10px; box-shadow: var(--shadow-lg); overflow: hidden; }
.finder__tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.finder__tabs button { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 10px; border: 0; background: var(--paper-2); font-family: var(--f-serif); font-size: clamp(14px, 1.6vw, 17px); font-weight: 600; letter-spacing: .1em; color: var(--ink-2); position: relative; transition: background .25s, color .25s; }
.finder__tabs button + button { border-left: 1px solid var(--line); }
.finder__tabs button svg { width: 22px; height: 22px; color: var(--yu); flex-shrink: 0; }
.finder__tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); }
.finder__tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--yu); }
.finder__panel { padding: clamp(20px, 3vw, 36px); }
.finder__panel[hidden] { display: none; }
.finder__kw { display: flex; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line); align-items: center; flex-wrap: wrap; }
.finder__kw label { font-size: 15px; color: var(--ink-2); }
.finder__kw .field { flex: 1 1 260px; }
.field { position: relative; }
.field input, .field select { width: 100%; height: 48px; padding: 0 16px 0 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; font-size: 15px; color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--yu); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yu) 20%, transparent); }
.field svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.region-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.region-map { position: relative; aspect-ratio: 1 / .9; }
.region-map svg { width: 100%; height: 100%; }
.region-map path { fill: var(--yu-pale); stroke: var(--card); stroke-width: .6; transition: fill .25s; cursor: pointer; }
.region-map path.has { fill: color-mix(in srgb, var(--yu) 45%, var(--yu-pale)); }
.region-map path.is-hover { fill: var(--yu); }
.region-map path.frame { fill: none; stroke: var(--ink-3); stroke-opacity: .35; stroke-width: 1; pointer-events: none; }
.region-map .pin { fill: var(--shu); stroke: var(--card); stroke-width: 1; pointer-events: none; }
.region-list { display: grid; gap: 10px; }
.region-list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, background .2s; }
.region-list a:hover, .region-list a.is-hover { border-color: var(--yu); background: var(--yu-pale); color: inherit; }
.region-list strong { font-family: var(--f-serif); font-size: 16px; }
.region-list em { font-style: normal; font-family: var(--f-latin); font-size: 20px; color: var(--yu); line-height: 1; align-self: center; }
.region-list small { grid-column: 1 / -1; color: var(--ink-3); font-size: 14px; line-height: 1.6; }
.q-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.q-tile { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--r); background: color-mix(in srgb, var(--q) 14%, var(--card)); border: 1px solid color-mix(in srgb, var(--q) 30%, transparent); transition: transform .25s var(--ease), box-shadow .25s; }
.q-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.q-tile strong { font-family: var(--f-serif); font-size: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.q-tile strong em { font-style: normal; font-family: var(--f-latin); font-size: 18px; color: var(--ink-2); }
.q-tile small { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.q-tile[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.f-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 32px; }
.f-group h3 { font-size: 14px; letter-spacing: .14em; color: var(--ink-2); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.f-group h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 720px) {
  .finder { margin-top: -28px; }
  .finder__tabs button { flex-direction: column; gap: 4px; padding: 12px 4px; font-size: 15px; letter-spacing: .04em; }
  .region-grid { grid-template-columns: 1fr; }
  .region-map { max-width: 360px; margin-inline: auto; width: 100%; }
}

/* ---------- spot cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__pref { position: absolute; left: 12px; top: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(255,253,248,.92); color: #1d2427; font-size: 14px; letter-spacing: .08em; }
.card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { font-size: 17px; line-height: 1.55; }
.card__loc { font-size: 14.5px; color: var(--ink-3); display: flex; align-items: center; gap: 4px; }
.card__loc svg { width: 13px; height: 13px; }
.card__lead { font-size: 15px; color: var(--ink-2); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.card .chips { margin-top: auto; padding-top: 6px; }
.card .chip { font-size: 14px; padding: 3px 10px; }

/* horizontal list card (map side) */
.lcard { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 12px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s; cursor: pointer; text-align: left; width: 100%; }
.lcard:hover, .lcard.is-active { border-color: var(--yu); box-shadow: var(--shadow); color: inherit; }
.lcard__img { aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: var(--paper-2); }
.lcard__img img { width: 100%; height: 100%; object-fit: cover; }
.lcard h3 { font-size: 15px; line-height: 1.5; margin-bottom: 2px; }
.lcard p { margin: 0 0 6px; font-size: 14px; color: var(--ink-3); line-height: 1.6; }
.lcard .chips { gap: 4px; }
.lcard .chip { font-size: 13.5px; padding: 2px 8px; }

/* ---------- editorial / feature blocks ---------- */
.editorial { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.editorial--rev { grid-template-columns: 1fr 1.1fr; }
.editorial--rev .editorial__media { order: 2; }
.editorial__media { position: relative; }
.editorial__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.editorial__media .sub { position: absolute; width: 46%; right: -8%; bottom: -10%; aspect-ratio: 1; border: 8px solid var(--paper); border-radius: var(--r); box-shadow: var(--shadow); }
.editorial__body h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 28px; line-height: 1.65; }
.editorial__body p { color: var(--ink-2); line-height: 2.1; }
.vertical-title { writing-mode: vertical-rl; font-family: var(--f-serif); font-size: clamp(28px, 3.4vw, 44px); letter-spacing: .3em; line-height: 1.7; }
@media (max-width: 860px) {
  .editorial, .editorial--rev { grid-template-columns: 1fr; }
  .editorial--rev .editorial__media { order: 0; }
  .editorial__media .sub { right: 4%; }
  .editorial__media img { aspect-ratio: 4 / 3; }
}

/* ---------- pickup carousel ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 380px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 28px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.rail > * { scroll-snap-align: start; }
.rail-wrap { position: relative; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; transition: all .2s; }
.rail-nav button:hover { border-color: var(--ink); }
.rail-nav svg { width: 18px; height: 18px; }
.pick { display: block; }
.pick__img { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); position: relative; background: var(--paper-2); }
.pick__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pick:hover .pick__img img { transform: scale(1.06); }
.pick__no { position: absolute; left: 16px; bottom: 10px; font-family: var(--f-latin); font-style: italic; font-size: 54px; line-height: 1; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.pick__body { padding: 16px 4px 0; }
.pick__body small { font-size: 14px; color: var(--yu); letter-spacing: .12em; }
.pick__body h3 { font-size: 19px; margin: 4px 0 8px; }
.pick__body p { font-size: 15px; color: var(--ink-2); line-height: 1.85; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- mosaic album ---------- */
.mosaic { columns: 4 220px; column-gap: 12px; }
.mosaic a { display: block; break-inside: avoid; margin-bottom: 12px; position: relative; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.mosaic img { width: 100%; transition: transform 1s var(--ease), filter .6s; }
.mosaic a:hover img { transform: scale(1.04); filter: brightness(.82); }
.mosaic span { position: absolute; left: 12px; right: 12px; bottom: 10px; color: #fff; font-size: 14.5px; line-height: 1.5; opacity: 0; transform: translateY(6px); transition: all .4s var(--ease); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.mosaic a:hover span, .mosaic a:focus-visible span { opacity: 1; transform: none; }
@media (hover: none) { .mosaic span { opacity: 1; transform: none; } .mosaic a::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.5)); } .mosaic span { z-index: 1; } }

/* ---------- numbers band ---------- */
.band { background: var(--night); color: var(--on-night); }
.band a:hover { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stats div { padding: 12px; }
.stats strong { display: block; font-family: var(--f-latin); font-size: clamp(44px, 6vw, 76px); font-weight: 500; line-height: 1; }
.stats span { font-size: 15px; letter-spacing: .14em; opacity: .8; }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }

/* ---------- map teaser ---------- */
.map-teaser { position: relative; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); height: clamp(420px, 60vh, 620px); background: var(--yu-pale); }
.map-teaser .map { position: absolute; inset: 0; }
.map-teaser__card { position: absolute; z-index: 500; left: clamp(16px, 3vw, 40px); top: clamp(16px, 3vw, 40px); width: min(360px, calc(100% - 32px)); background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(8px); padding: 28px; border-radius: 8px; box-shadow: var(--shadow); }
.map-teaser__card h3 { font-size: 22px; margin-bottom: 10px; }
.map-teaser__card p { font-size: 14px; color: var(--ink-2); }
@media (max-width: 600px) { .map-teaser__card { top: auto; bottom: 16px; padding: 20px; } .map-teaser__card p { display: none; } }

/* ---------- journal list ---------- */
.journal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 32px; }
.jcard { display: flex; flex-direction: column; gap: 14px; }
.jcard__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.jcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.jcard:hover .jcard__img img { transform: scale(1.05); }
.jcard small { font-size: 14px; color: var(--ink-3); letter-spacing: .08em; display: flex; gap: 12px; }
.jcard small b { font-weight: 500; color: var(--yu); }
.jcard h3 { font-size: 18px; line-height: 1.6; }
.jcard p { font-size: 15.5px; color: var(--ink-2); margin: 0; }

/* ---------- CTA tiles ---------- */
.cta2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.cta { position: relative; min-height: 340px; display: flex; align-items: flex-end; padding: clamp(28px, 4vw, 56px); color: #fff; overflow: hidden; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgba(12,22,24,.8)); z-index: 1; }
.cta:hover img { transform: scale(1.05); }
.cta:hover { color: #fff; }
.cta > div { position: relative; z-index: 2; max-width: 460px; }
.cta .latin { font-size: 15px; opacity: .85; }
.cta h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 6px 0 12px; }
.cta p { font-size: 14px; opacity: .92; margin-bottom: 18px; }
@media (max-width: 760px) { .cta2 { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-night); padding: clamp(56px, 8vw, 96px) 0 32px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(233,228,216,.15); }
.footer__brand p { opacity: .75; font-size: 15px; line-height: 2; margin-top: 18px; max-width: 360px; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__nav h4 { font-family: var(--f-latin); font-style: italic; font-weight: 500; font-size: 14px; letter-spacing: .16em; opacity: .6; margin-bottom: 12px; }
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 14px; opacity: .65; flex-wrap: wrap; }
.footer__bottom nav { display: flex; gap: 20px; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr; } .footer__nav { grid-template-columns: repeat(2, 1fr); } }

/* ---------- page head (sub pages) ---------- */
.phead { position: relative; padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(40px, 6vw, 72px); }
.phead--img { color: #fff; min-height: clamp(360px, 52vh, 520px); display: flex; align-items: flex-end; background: #1d5f8f; }
.phead--img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phead--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,22,.5), rgba(10,20,22,.1) 40%, rgba(10,20,22,.7)); }
.phead--img .wrap { position: relative; z-index: 1; }
.phead .latin { font-size: 16px; color: var(--yu); }
.phead--img .latin { color: #fff; opacity: .85; }
.phead h1 { font-size: clamp(30px, 4.6vw, 54px); margin: 6px 0 14px; }
.phead p { max-width: 640px; color: var(--ink-2); margin: 0; line-height: 2; }
.phead--img p { color: rgba(255,255,255,.92); }
.crumbs { font-size: 14px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }
.phead--img .crumbs { color: rgba(255,255,255,.8); }

/* ---------- prose ---------- */
.prose { font-size: 16px; line-height: 2.1; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 2.4em 0 1em; padding-bottom: .5em; border-bottom: 1px solid var(--line); }
.prose h3 { font-size: 19px; margin: 2em 0 .8em; padding-left: 14px; border-left: 3px solid var(--yu); line-height: 1.5; }
.prose p, .prose ul, .prose ol { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--ink); font-weight: 600; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--yu) 22%, transparent) 62%); }
.prose figure { margin: 2.2em 0; }
.prose figure img { border-radius: var(--r); width: 100%; }
.prose figcaption { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.prose > :first-child { margin-top: 0; }

.note { padding: 20px 24px; border-radius: var(--r); background: var(--yu-pale); font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.note strong { color: var(--ink); }
.note--warn { background: color-mix(in srgb, var(--shu) 10%, var(--card)); }

/* ---------- toc + 2col article ---------- */
.with-toc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 15px; }
.toc p { font-family: var(--f-latin); font-style: italic; letter-spacing: .16em; color: var(--ink-3); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; color: var(--ink-2); margin-left: -1px; border-left: 2px solid transparent; line-height: 1.6; }
.toc a.is-active { color: var(--yu); border-color: var(--yu); }
@media (max-width: 900px) { .with-toc { grid-template-columns: 1fr; } .toc { display: none; } }

/* ---------- step list (how to drink) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: s; margin: 2em 0; }
.step { padding: 26px 22px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--f-latin); font-style: italic; font-size: 40px; color: var(--yu); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-size: 17px; margin: 0 0 8px; padding: 0; border: 0; }
.step p { font-size: 14px; margin: 0; line-height: 1.9; }
.step .big { font-family: var(--f-latin); font-size: 28px; color: var(--ink); }

/* ---------- quality encyclopedia ---------- */
.qlist { display: grid; gap: 20px; }
.qitem { display: grid; grid-template-columns: 260px 1fr; background: var(--card); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 20px); }
.qitem__head { padding: 28px; background: color-mix(in srgb, var(--q) 20%, var(--card)); display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.qitem__head::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--q) 55%, transparent), transparent 70%); }
.qitem__head .latin { font-size: 15px; color: var(--ink-2); }
.qitem__head h3 { font-size: 24px; }
.qitem__head .nick { font-family: var(--f-serif); font-size: 14px; color: var(--ink-2); }
.qitem__head .count { margin-top: auto; font-size: 15px; }
.qitem__head .count a { border-bottom: 1px solid currentColor; }
.qitem__body { padding: 26px 30px; display: grid; gap: 14px; }
.qitem__body dl { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px 16px; margin: 0; font-size: 14px; }
.qitem__body dt { color: var(--ink-3); font-size: 15px; }
.qitem__body dd { margin: 0; color: var(--ink-2); }
.qitem__body dd.drink { color: var(--ink); font-weight: 500; }
.qitem__def { font-size: 15px; color: var(--ink-3); padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
@media (max-width: 760px) { .qitem { grid-template-columns: 1fr; } .qitem__body dl { grid-template-columns: 1fr; gap: 2px; } .qitem__body dd { margin-bottom: 8px; } }

.symptoms { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.symptom { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.symptom h4 { font-family: var(--f-serif); font-size: 16px; margin-bottom: 10px; }

/* ---------- search page ---------- */
.search-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding: 4px 4px 24px; scrollbar-width: thin; }
.filters h3 { font-size: 14px; letter-spacing: .14em; color: var(--ink-2); margin: 24px 0 10px; display: flex; justify-content: space-between; }
.filters h3:first-child { margin-top: 0; }
.filters .chips { gap: 6px; }
.filters select { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); font: inherit; font-size: 14px; color: var(--ink); }
.filter-reset { border: 0; background: none; font-size: 14px; color: var(--yu); padding: 0; text-decoration: underline; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.results-head h2 { font-size: 18px; }
.results-head h2 em { font-style: normal; font-family: var(--f-latin); font-size: 30px; color: var(--yu); margin-right: 4px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 5px 10px 5px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; }
.active-filters button::after { content: "×"; font-size: 14px; opacity: .7; }
.mode-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 32px; overflow-x: auto; }
.mode-tabs a { padding: 14px 22px; font-family: var(--f-serif); font-size: 16px; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.mode-tabs a svg { width: 18px; height: 18px; }
.mode-tabs a[aria-current="page"] { color: var(--ink); border-color: var(--yu); }
.empty { padding: 60px 20px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line); border-radius: var(--r); }
.filter-toggle { display: none; }
@media (max-width: 900px) {
  .search-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0; top: auto; z-index: 950; max-height: 80vh; background: var(--paper); padding: 20px var(--gutter) 90px; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.2); transform: translateY(105%); transition: transform .4s var(--ease); }
  .filters.is-open { transform: none; }
  .filters__close { display: flex !important; }
  .filter-toggle { display: inline-flex; position: fixed; z-index: 940; left: 50%; bottom: 20px; transform: translateX(-50%); box-shadow: var(--shadow-lg); }
}
.filters__close { display: none; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters__close button { border: 0; background: none; font-size: 26px; line-height: 1; width: 40px; height: 40px; }
.filters__apply { display: none; }
@media (max-width: 900px) { .filters__apply { display: flex; position: sticky; bottom: -70px; margin-top: 24px; width: 100%; } }

/* ---------- map page ---------- */
.mapapp { position: fixed; inset: var(--header-h) 0 0; display: grid; grid-template-columns: 400px minmax(0, 1fr); background: var(--paper); }
.mapapp__side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); background: var(--paper); z-index: 2; }
.mapapp__tools { padding: 16px 18px 12px; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.mapapp__tools .field input { height: 44px; font-size: 14px; }
.mapapp__filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mapapp__filters .tchip span { width: 100%; justify-content: flex-start; padding: 6px 8px; font-size: 14px; letter-spacing: 0; }
.mapapp__filters .tchip span b { margin-left: auto; }
.mapapp__label { font-size: 14px; letter-spacing: .14em; color: var(--ink-3); margin-bottom: -4px; }
.mapapp__filters::-webkit-scrollbar { display: none; }
.mapapp__count { display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; color: var(--ink-3); }
.mapapp__count strong { color: var(--ink); font-family: var(--f-latin); font-size: 20px; font-weight: 600; margin: 0 2px; }
.mapapp__count label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.mapapp__list { flex: 1; overflow-y: auto; padding: 12px 14px 24px; display: grid; gap: 10px; align-content: start; scrollbar-width: thin; }
.mapapp__map { position: relative; min-height: 0; }
.mapapp__map .map { position: absolute; inset: 0; }
.more-filters { display: none; padding-top: 6px; }
.more-filters.is-open { display: grid; gap: 12px; }
.more-filters h4 { font-family: var(--f-sans); font-size: 14px; letter-spacing: .14em; color: var(--ink-3); font-weight: 500; margin-bottom: 6px; }
.more-filters .chips { gap: 5px; }
.more-filters .tchip span { padding: 5px 10px; font-size: 14px; }
.link-btn { border: 0; background: none; padding: 0; font-size: 14.5px; color: var(--yu); display: inline-flex; gap: 4px; align-items: center; }
.map-region-jump { position: absolute; z-index: 500; top: 14px; left: 14px; right: 70px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.map-region-jump::-webkit-scrollbar { display: none; }
.map-region-jump button { border: 0; padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--card) 94%, transparent); box-shadow: var(--shadow); font-size: 14.5px; white-space: nowrap; backdrop-filter: blur(6px); }
.map-region-jump button:hover { background: var(--ink); color: var(--paper); }
.map-locate { position: absolute; z-index: 500; right: 64px; bottom: 26px; }
.sheet-handle { display: none; }
@media (max-width: 900px) {
  .mapapp { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .mapapp__map { grid-row: 1; grid-column: 1; }
  .mapapp__side { grid-row: 1; grid-column: 1; align-self: end; z-index: 600; height: 46%; border-right: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 30px rgba(0,0,0,.18); transition: height .35s var(--ease); }
  .mapapp__side.is-min { height: 148px; }
  .mapapp__side.is-max { height: calc(100% - 60px); }
  .sheet-handle { display: block; width: 100%; height: 22px; border: 0; background: none; position: relative; flex-shrink: 0; }
  .sheet-handle::before { content: ""; position: absolute; left: 50%; top: 9px; width: 44px; height: 4px; border-radius: 4px; background: var(--line); transform: translateX(-50%); }
  .mapapp__tools { padding-top: 0; }
  .lcard { grid-template-columns: 84px 1fr; }
  .map-region-jump { right: 12px; }
  .map-locate { bottom: auto; top: 60px; right: 12px; }
}

/* leaflet skin */
.map { background: #dfe9e6; font-family: var(--f-sans); }
:root[data-theme="dark"] .map { background: #1b2a2b; }
.leaflet-container { font: inherit; }
.leaflet-tile-pane { filter: saturate(.75) sepia(.12) brightness(1.02); }
.leaflet-control-zoom a { width: 36px !important; height: 36px !important; line-height: 34px !important; color: var(--ink) !important; background: var(--card) !important; border-color: var(--line) !important; }
.leaflet-bar { border: 0 !important; box-shadow: var(--shadow) !important; border-radius: 8px !important; overflow: hidden; }
.leaflet-control-attribution { font-size: 12.5px; background: rgba(255,255,255,.75) !important; }
.pin-icon { background: none; border: 0; }
.pin-icon .pin-body { width: 30px; height: 38px; position: relative; filter: drop-shadow(0 3px 4px rgba(0,0,0,.3)); transition: transform .2s var(--ease); transform-origin: 50% 100%; }
.pin-icon .pin-body svg { width: 100%; height: 100%; }
.pin-icon.is-active .pin-body, .pin-icon:hover .pin-body { transform: scale(1.25); }
.leaflet-marker-icon.is-active { z-index: 9999 !important; }
.cluster { background: none; }
.cluster div { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--yu) 88%, transparent); color: #fff; font-family: var(--f-latin); font-size: 17px; font-weight: 600; box-shadow: 0 0 0 6px color-mix(in srgb, var(--yu) 25%, transparent), 0 4px 12px rgba(0,0,0,.25); }
:root[data-theme="dark"] .cluster div { color: #0f1a1b; }
.leaflet-popup-content-wrapper { border-radius: 10px; padding: 0; overflow: hidden; background: var(--card); color: var(--ink); box-shadow: var(--shadow-lg); }
.leaflet-popup-content { margin: 0; width: 260px !important; line-height: 1.6; }
.leaflet-popup-tip { background: var(--card); }
.leaflet-container a.leaflet-popup-close-button { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); font-size: 22px; width: 32px; height: 32px; top: 4px; right: 4px; }
.popcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.popcard__b { padding: 12px 16px 16px; }
.popcard small { color: var(--ink-3); font-size: 14px; }
.popcard h3 { font-size: 16px; margin: 2px 0 8px; }
.popcard .chips { margin-bottom: 12px; }
.popcard .chip { font-size: 13.5px; padding: 2px 8px; }
.popcard a.go { display: flex; justify-content: center; padding: 9px; border-radius: 999px; background: var(--yu); color: #fff; font-size: 15px; letter-spacing: .1em; }
:root[data-theme="dark"] .popcard a.go { color: #0f1a1b; }
.pref-label { background: none; border: 0; box-shadow: none; font-family: var(--f-serif); font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }

/* ---------- spot detail ---------- */
.spot-hero { position: relative; height: clamp(420px, 72vh, 760px); background: #1d5f8f; color: #fff; overflow: hidden; }
.spot-hero img { width: 100%; height: 100%; object-fit: cover; }
.spot-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,22,.5), rgba(10,20,22,0) 30%, rgba(10,20,22,.15) 55%, rgba(10,20,22,.78)); }
.spot-hero .wrap { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(28px, 5vw, 56px); }
.spot-hero .crumbs { color: rgba(255,255,255,.85); }
.spot-hero h1 { font-size: clamp(28px, 4.6vw, 56px); line-height: 1.4; margin: 8px 0 16px; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.spot-hero__loc { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 14px; letter-spacing: .1em; }
.spot-hero__loc .chip { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.spot-hero__count { position: absolute; z-index: 2; right: var(--gutter); top: calc(var(--header-h) + 16px); display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.4); color: #fff; border: 1px solid rgba(255,255,255,.4); font-size: 14.5px; backdrop-filter: blur(4px); }
.spot-hero__count svg { width: 16px; height: 16px; }

.spot-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.spot-lead { font-family: var(--f-serif); font-size: clamp(18px, 2vw, 22px); line-height: 2; margin-bottom: 40px; }
.spot-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.drink-card { background: var(--card); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.drink-card__head { padding: 18px 22px; background: var(--yu); color: #fff; display: flex; align-items: center; gap: 12px; }
:root[data-theme="dark"] .drink-card__head { color: #0f1a1b; }
.drink-card__head svg { width: 28px; height: 28px; }
.drink-card__head h2 { font-size: 17px; letter-spacing: .14em; }
.drink-card__head small { display: block; font-family: var(--f-latin); font-style: italic; font-size: 14px; letter-spacing: .14em; opacity: .85; }
.drink-card dl { margin: 0; padding: 8px 22px 14px; }
.drink-card dl div { display: grid; grid-template-columns: 5.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; line-height: 1.7; }
.drink-card dl div:last-child { border-bottom: 0; }
.drink-card dt { color: var(--ink-3); font-size: 14.5px; }
.drink-card dd { margin: 0; }
.drink-card .ph { font-family: var(--f-latin); font-size: 22px; line-height: 1.1; }
.ph-scale { margin-top: 8px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #d9a84a, #d8c96a 30%, #9cc7a8 50%, #6fa7c2 70%, #5f78b8); position: relative; }
.ph-scale i { position: absolute; top: -4px; width: 3px; height: 14px; background: var(--ink); border-radius: 2px; transform: translateX(-50%); }
.ph-scale + small { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.drink-card__foot { padding: 14px 22px 20px; display: grid; gap: 8px; }
.drink-card__foot .btn { width: 100%; min-height: 44px; font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 8px; margin: 48px 0; }
.gallery button { border: 0; padding: 0; overflow: hidden; border-radius: 4px; background: var(--paper-2); position: relative; }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.gallery .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,20,22,.55); color: #fff; font-size: 15px; letter-spacing: .1em; }
.gallery--1 { grid-template-columns: 1fr; grid-auto-rows: auto; }
.gallery--1 button:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 9; }
.gallery--2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
.gallery--2 button:first-child { grid-column: auto; grid-row: auto; }
.gallery--3 { grid-template-columns: 2fr 1fr; grid-auto-rows: 180px; }
.gallery--3 button:first-child { grid-column: 1; grid-row: span 2; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .gallery--3 { grid-template-columns: 1fr 1fr; }
  .gallery--3 button:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery--2 { grid-auto-rows: 160px; }
}
.credit { font-size: 14px; color: var(--ink-3); margin: -36px 0 40px; }

.spot-section { margin-top: 56px; }
.spot-section > h2 { font-size: clamp(20px, 2.4vw, 26px); display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.spot-section > h2 .latin { font-size: 14px; color: var(--yu); }
.effects { display: grid; gap: 12px; }
.effects li { list-style: none; padding: 16px 20px; background: var(--card); border-radius: var(--r); border-left: 3px solid var(--yu); font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.effects { padding: 0; margin: 0; }
.spring-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spring-table th, .spring-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.8; }
.spring-table th { width: 9em; color: var(--ink-3); font-weight: 500; font-size: 15px; }
.facility { background: var(--card); border-radius: 10px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.facility p { margin: 0 0 .6em; font-size: 14px; line-height: 1.9; color: var(--ink-2); word-break: break-word; }
.facility p b { color: var(--ink); font-weight: 600; margin-right: .4em; }
.facility a { color: var(--yu); text-decoration: underline; text-underline-offset: 3px; }
.minimap { height: 320px; border-radius: 10px; overflow: hidden; margin-top: 16px; box-shadow: var(--shadow); }
.story h3 { font-size: 20px; margin: 2em 0 .9em; line-height: 1.6; }
.story p { color: var(--ink-2); line-height: 2.1; }
.story ul { color: var(--ink-2); }
@media (max-width: 960px) { .spot-main { grid-template-columns: 1fr; } .spot-aside { position: static; order: -1; } }
.disclaimer { margin-top: 40px; font-size: 14.5px; color: var(--ink-3); line-height: 1.9; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(8,14,15,.94); display: none; align-items: center; justify-content: center; color: #fff; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 84vh; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-family: var(--f-latin); letter-spacing: .2em; font-size: 15px; opacity: .8; }

/* ---------- about / org ---------- */
.mvv { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.mvv article { background: var(--card); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.mvv article img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.mvv article div { padding: 22px 24px 26px; }
.mvv h3 { font-size: 18px; margin-bottom: 10px; }
.mvv p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.9; }
.statement { text-align: center; font-family: var(--f-serif); font-size: clamp(22px, 3.4vw, 38px); line-height: 2; letter-spacing: .14em; }
.org-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.org-table th, .org-table td { padding: 18px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.9; }
.org-table th { width: 8em; font-weight: 500; color: var(--ink-3); font-size: 14px; }
.people { display: grid; gap: 20px; }
.person { display: grid; grid-template-columns: 160px 1fr; gap: 28px; padding: 28px; background: var(--card); border-radius: 10px; box-shadow: var(--shadow); }
.person img { width: 160px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.person .ph { width: 160px; aspect-ratio: 3 / 4; border-radius: 6px; background: var(--paper-2); display: grid; place-items: center; font-family: var(--f-serif); font-size: 44px; color: var(--ink-3); }
.person small { color: var(--yu); font-size: 14px; letter-spacing: .14em; }
.person h3 { font-size: 22px; margin: 4px 0 12px; }
.person p { font-size: 14px; color: var(--ink-2); line-height: 1.95; margin-bottom: .6em; }
.person ul { font-size: 15.5px; color: var(--ink-2); padding-left: 1.2em; margin: 0; }
@media (max-width: 640px) { .person { grid-template-columns: 1fr; } .person img, .person .ph { width: 120px; } }

.service-list { display: grid; gap: 20px; counter-reset: sv; }
.service { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 32px; background: var(--card); border-radius: 10px; box-shadow: var(--shadow); }
.service::before { counter-increment: sv; content: counter(sv, decimal-leading-zero); font-family: var(--f-latin); font-style: italic; font-size: 56px; line-height: 1; color: var(--yu); }
.service h3 { font-size: 21px; margin-bottom: 14px; }
.service ul { margin: 0; padding-left: 1.2em; color: var(--ink-2); font-size: 14.5px; line-height: 2; }
@media (max-width: 640px) { .service { grid-template-columns: 1fr; gap: 6px; padding: 24px; } .service::before { font-size: 40px; } }

/* forms */
.form { display: grid; gap: 20px; }
.form label { display: grid; gap: 8px; font-size: 14px; }
.form label > span { font-weight: 500; }
.form label > span em { font-style: normal; font-size: 13.5px; color: #fff; background: var(--shu); padding: 1px 6px; border-radius: 3px; margin-left: 8px; vertical-align: 1px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea, .form select { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); font: inherit; font-size: 15px; color: var(--ink); }
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--yu); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yu) 18%, transparent); }
.form .radios { display: flex; gap: 8px; flex-wrap: wrap; }
.form .agree { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.form .agree input { width: 18px; height: 18px; accent-color: var(--yu); }
.form-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 32px; }
.form-tabs a { padding: 18px 12px; border: 1px solid var(--line); border-radius: var(--r); text-align: center; background: var(--card); font-family: var(--f-serif); font-size: 15px; line-height: 1.5; }
.form-tabs a small { display: block; font-family: var(--f-sans); font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.form-tabs a[aria-current="true"] { border-color: var(--yu); background: var(--yu-pale); }
@media (max-width: 600px) { .form-tabs { grid-template-columns: 1fr; } }

/* reveal animation */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hero__slide img, .hero__slide { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* misc */
.center { text-align: center; }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.kv-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.water-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 1.6em 0; }
.water-types article { padding: 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.water-types article.is-key { border-color: var(--yu); background: var(--yu-pale); }
.water-types h4 { font-family: var(--f-serif); font-size: 16px; margin-bottom: 8px; }
.water-types p { font-size: 15.5px; margin: 0; line-height: 1.85; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--f-serif); font-size: 17px; display: flex; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; font-family: var(--f-latin); font-style: italic; color: var(--yu); font-size: 22px; line-height: 1.2; }
.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.qa details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa details > div { padding: 0 0 24px 34px; color: var(--ink-2); font-size: 15px; line-height: 2; }
.timeline-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 1.4em 0; }
.timeline-pair article { padding: 22px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.timeline-pair h4 { font-family: var(--f-serif); font-size: 16px; margin-bottom: 4px; }
.timeline-pair .when { color: var(--yu); font-weight: 600; font-size: 15px; margin-bottom: 8px; display: block; }
.timeline-pair p { font-size: 14px; margin: 0; }

/* pressed toggles (search page) */
button.chip { cursor: pointer; font-family: inherit; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] .muted { color: inherit; opacity: .7; }
.q-tile[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink), var(--shadow); }
.q-tile[aria-pressed="true"] strong::before { content: "✓ "; }
.q-tile:disabled { opacity: .45; cursor: default; }

#results { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

@media (max-width: 600px) {
  .mosaic { columns: 2; column-gap: 8px; }
  .mosaic a { margin-bottom: 8px; }
  .mosaic a:nth-child(n+13) { display: none; }
  .hero__lead .latin { display: none; }
}
@media (max-width: 900px) { .mapapp .leaflet-control-zoom { display: none; } }

/* ---------- brand logos ---------- */
.logo__img { height: 44px; width: auto; }
.logo__img--light { display: none; }
.site-header.is-overlay:not(.is-scrolled):not(.is-open) .logo__img--ink { display: none; }
.site-header.is-overlay:not(.is-scrolled):not(.is-open) .logo__img--light { display: block; }
.site-header.is-overlay:not(.is-scrolled):not(.is-open) .logo__img--light { filter: drop-shadow(0 1px 6px rgba(0,0,0,.35)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo__img--ink { display: none; } :root:not([data-theme="light"]) .logo__img--light { display: block; } }
:root[data-theme="dark"] .logo__img--ink { display: none; }
:root[data-theme="dark"] .logo__img--light { display: block; }
.footer__logo img { height: 52px; width: auto; }
.footer__org { display: inline-flex; align-items: center; gap: 14px; }
.footer__org span { font-size: 13.5px; letter-spacing: .14em; opacity: .7; }
.footer__org img { height: 30px; width: auto; }
.footer__bottom { align-items: center; }
@media (max-width: 600px) { .logo__img { height: 36px; } }

/* guide additions */
.steps--plain .step::before { display: none; }
.step__k { display: inline-block; font-size: 14px; letter-spacing: .16em; color: var(--yu); border: 1px solid currentColor; border-radius: 999px; padding: 1px 10px; margin-bottom: 12px; }
.step p a, .prose a { color: var(--yu); text-decoration: underline; text-underline-offset: 3px; }
.table-scroll { overflow-x: auto; margin: 1.2em 0; }
.table-scroll .spring-table { min-width: 560px; }
.table-scroll .spring-table thead th { width: auto; color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--ink); }
.table-scroll .spring-table td:first-child { white-space: nowrap; font-weight: 500; }
.table-scroll .spring-table td:nth-child(2) { white-space: nowrap; font-family: var(--f-latin); font-size: 15px; font-variant-numeric: tabular-nums; }
.tp-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; margin-bottom: 14px; }
.fresh-row { display: flex; gap: 12px; margin: 0 0 1.2em; }
.fresh-row span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--yu-pale); color: var(--yu-deep); font-family: var(--f-latin); font-size: 22px; font-weight: 600; }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 1.6em 0; }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.photo-grid .wide { grid-column: 1 / -1; }
.photo-grid .wide img { aspect-ratio: 16 / 9; }

/* symptom matrix */
.matrix-scroll { overflow-x: auto; background: var(--card); border-radius: 10px; box-shadow: var(--shadow); }
.matrix { border-collapse: collapse; width: 100%; min-width: 820px; font-size: 15px; }
.matrix th, .matrix td { padding: 9px 6px; border-bottom: 1px solid var(--line-2); text-align: center; }
.matrix tbody th { text-align: left; font-weight: 500; padding-left: 18px; white-space: nowrap; position: sticky; left: 0; background: var(--card); }
.matrix thead th { vertical-align: bottom; padding-top: 16px; border-bottom: 2px solid var(--ink); font-weight: 600; }
.matrix thead th span { writing-mode: vertical-rl; font-family: var(--f-serif); font-size: 15px; letter-spacing: .1em; display: inline-block; padding-top: 8px; border-top: 4px solid var(--q); }
.matrix thead th:first-child { text-align: left; padding-left: 18px; position: sticky; left: 0; background: var(--card); }
.matrix tbody tr:hover td, .matrix tbody tr:hover th { background: var(--yu-pale); }
.mx { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 14px; font-weight: 600; margin: 1px; }
.mx--d { background: var(--yu); color: var(--card); }
.mx--b { background: transparent; color: var(--yu); box-shadow: inset 0 0 0 1.5px var(--yu); }
.general { background: var(--card); border-radius: 10px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.general h3 { font-size: 18px; margin-bottom: 6px; }
.general ul { columns: 2 300px; column-gap: 32px; padding-left: 1.2em; margin: 12px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.9; }
.general li { break-inside: avoid; margin-bottom: 6px; }

/* about additions */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pillars article { background: var(--card); padding: 28px; border-radius: 10px; box-shadow: var(--shadow); }
.pillars h3 { font-size: 19px; margin-bottom: 12px; color: var(--yu-deep); }
.pillars p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 2; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
.vision { display: flex; justify-content: center; align-items: center; padding: 20px 0; }
.vision div { width: clamp(180px, 28vw, 300px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; margin: 0 -18px; background: color-mix(in srgb, var(--yu) 14%, transparent); mix-blend-mode: multiply; font-family: var(--f-serif); font-size: clamp(14px, 1.7vw, 19px); line-height: 1.9; }
.vision div:nth-child(2) { background: color-mix(in srgb, #8fc7e0 30%, transparent); transform: translateY(28px); }
.vision div:nth-child(3) { background: color-mix(in srgb, #b4a0cf 22%, transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vision div { mix-blend-mode: normal; } }
:root[data-theme="dark"] .vision div { mix-blend-mode: normal; }
@media (max-width: 600px) { .vision { flex-direction: column; } .vision div { margin: -14px 0; width: 210px; } .vision div:nth-child(2) { transform: none; } }
.policy { display: grid; gap: 16px; }
.policy article { border-left: 3px solid var(--yu); padding: 6px 0 6px 24px; }
.policy h3 { font-size: 19px; margin-bottom: 8px; }
.policy p { color: var(--ink-2); margin: 0; font-size: 15px; line-height: 2; }
.org { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; }
.org__logo { background: none; padding: 8px 0; }
.org__logo img { width: 100%; height: auto; }
@media (max-width: 800px) { .org { grid-template-columns: 1fr; } .org__logo { max-width: 320px; } }
.tags-list { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags-list li { font-size: 14.5px; padding: 3px 10px; border-radius: 999px; background: var(--yu-pale); color: var(--yu-deep); }
.copyable { user-select: all; }

/* business */
.biz { display: grid; gap: clamp(28px, 4vw, 48px); }
.biz__item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.biz__item:nth-child(even) .biz__img { order: 2; }
.biz__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.biz__no { font-size: 14px; letter-spacing: .2em; color: var(--yu); display: block; margin-bottom: 6px; }
.biz__body h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 14px; }
.biz__body p { color: var(--ink-2); font-size: 15px; line-height: 2; }
.biz__body ul { color: var(--ink-2); font-size: 14.5px; line-height: 1.9; padding-left: 1.2em; margin: 0 0 1em; }
.biz__body li { margin-bottom: 6px; }
.biz__body li b { color: var(--ink); font-weight: 600; }
@media (max-width: 800px) { .biz__item { grid-template-columns: 1fr; } .biz__item:nth-child(even) .biz__img { order: 0; } }
.photo-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 10px; }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.photo-mosaic .pm-a { grid-column: span 2; grid-row: span 2; }
@media (max-width: 700px) { .photo-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; } }
.case-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.case-points div { background: var(--card); padding: 22px; border-radius: 8px; }
.case-points h3 { font-size: 16px; margin-bottom: 8px; }
.case-points p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.9; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.checks li { padding-left: 28px; position: relative; color: var(--ink-2); font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--yu); border-bottom: 2px solid var(--yu); transform: rotate(-45deg); }
.anime-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.anime-stack img { width: 100%; border-radius: 6px; aspect-ratio: 16 / 9 !important; object-fit: cover; }
.anime-stack img:first-child { grid-column: 1 / -1; }

/* share / join */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.split2 h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 4px 0 14px; }
.split2 p { color: var(--ink-2); line-height: 2.05; }
@media (max-width: 760px) { .split2 { grid-template-columns: 1fr; } }
.kv-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.kv-cards div { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; display: grid; gap: 4px; }
.kv-cards b { font-family: var(--f-serif); font-size: 16px; }
.kv-cards span { font-size: 15px; color: var(--ink-3); }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: fl; }
.flow li { background: var(--card); border-radius: 8px; padding: 22px 20px; box-shadow: var(--shadow); display: grid; gap: 6px; position: relative; }
.flow li::before { counter-increment: fl; content: counter(fl, decimal-leading-zero); font-family: var(--f-latin); font-style: italic; font-size: 32px; color: var(--yu); line-height: 1; }
.flow b { font-family: var(--f-serif); font-size: 16px; }
.flow span { font-size: 15.5px; color: var(--ink-2); line-height: 1.8; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } }
.req { font-style: normal; font-size: 13.5px; color: #fff; background: var(--shu); padding: 1px 6px; border-radius: 3px; margin-left: 8px; }
.roles { display: grid; gap: 24px; }
.role { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); background: var(--card); border-radius: 12px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); align-items: center; scroll-margin-top: 90px; }
.role img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.role h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 2px 0 12px; }
.role p { color: var(--ink-2); }
@media (max-width: 760px) { .role { grid-template-columns: 1fr; } }
/* home recruit tiles */
.cta3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.cta3 .cta { min-height: 380px; }
@media (max-width: 960px) { .cta3 { grid-template-columns: 1fr; } .cta3 .cta { min-height: 300px; } }

/* spot hero for small originals: sharp centered photo over a soft blurred fill */
.spot-hero--soft .spot-hero__bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(28px) saturate(1.1) brightness(.85); }
.spot-hero--soft .spot-hero__img { position: relative; height: 100%; width: auto; max-width: min(100%, 900px); margin: 0 auto; object-fit: cover; box-shadow: 0 0 80px rgba(0,0,0,.35); }
.tchip span i { flex-shrink: 0; }
@media (max-width: 420px) { .mapapp__filters .tchip span b { display: none; } .mapapp__filters .tchip span { font-size: 14px; padding: 6px 6px; } }
.table-scroll .spring-table td:nth-child(2), .step .big, .stats strong, .drink-card .ph, .results-head h2 em, .mapapp__count strong { font-variant-numeric: lining-nums tabular-nums; }
.prose a.btn, .step a.btn { text-decoration: none; color: var(--ink); }
.prose a.btn--yu { color: #fff; }
:root[data-theme="dark"] .prose a.btn--yu { color: #0f1a1b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .prose a.btn--yu { color: #0f1a1b; } }
.prose a.btn:hover { color: var(--paper); }
.prose a.btn--yu:hover { color: #fff; }

/* activities */
.act-timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.act-timeline a { display: grid; grid-template-columns: 9em 8em 1fr; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
.act-timeline a:hover { background: var(--yu-pale); color: inherit; }
.act-timeline time { font-size: 14px; color: var(--ink-3); font-variant-numeric: lining-nums tabular-nums; }
.act-cat, .act-meta b { display: inline-block; font-size: 14px; letter-spacing: .1em; padding: 2px 10px; border-radius: 999px; background: var(--yu); color: var(--card); justify-self: start; font-weight: 500; }
.act-title { font-family: var(--f-serif); font-size: 16.5px; line-height: 1.7; }
@media (max-width: 700px) { .act-timeline a { grid-template-columns: auto 1fr; } .act-title { grid-column: 1 / -1; } }
.act { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; scroll-margin-top: 80px; }
.act--rev .act__media { order: 2; }
.act__media > img { width: 100%; border-radius: 8px; object-fit: cover; }
.act-meta { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--ink-3); margin-bottom: 12px; }
.act__body h2 { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.6; margin-bottom: 18px; text-wrap: balance; }
.act__body p { color: var(--ink-2); line-height: 2.05; }
.act__body p strong { color: var(--ink); }
@media (max-width: 820px) { .act { grid-template-columns: 1fr; } .act--rev .act__media { order: 0; } .act__media > img { max-height: 420px; } }
section[id] { scroll-margin-top: 72px; }
.act-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.act-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.act-photos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.act-photos--4 img:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
.magazine { aspect-ratio: 3 / 4; max-width: 340px; margin: 0 auto; border-radius: 4px; background: linear-gradient(160deg, var(--yu) 0%, var(--yu-deep) 100%); color: #fffdf8; padding: 32px 28px; display: grid; grid-template-rows: auto 1fr auto auto; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.magazine::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%); }
.magazine__label { font-size: 14px; letter-spacing: .4em; }
.magazine__title { font-family: var(--f-serif); font-size: 72px; writing-mode: vertical-rl; letter-spacing: .2em; justify-self: end; font-weight: 700; }
.magazine__issue { font-family: var(--f-serif); font-size: 18px; letter-spacing: .2em; }
.magazine__feature { font-size: 15px; letter-spacing: .14em; border-top: 1px solid rgba(255,255,255,.5); padding-top: 10px; margin-top: 10px; }
:root[data-theme="dark"] .magazine { color: #0f1a1b; }
.pdf-box { background: var(--card); border-radius: 10px; box-shadow: var(--shadow); padding: clamp(16px, 2.5vw, 28px); display: grid; gap: 18px; }
.pdf-embed { width: 100%; height: min(80vh, 900px); border: 1px solid var(--line); border-radius: 6px; }
.pdf-fallback { padding: 48px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 6px; }
.pdf-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.is-disabled { opacity: .45; pointer-events: none; }
.act-facts { margin: 0 0 1em; display: grid; gap: 6px; font-size: 14px; }
.act-facts div { display: grid; grid-template-columns: 5.5em 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.act-facts dt { color: var(--ink-3); }
.act-facts dd { margin: 0; color: var(--ink-2); }
.act-photos--row { grid-template-columns: repeat(6, 1fr); }
.act-photos--row img:first-child { grid-column: auto; aspect-ratio: 1; }
.act-photos--row img { aspect-ratio: 1; }
@media (max-width: 700px) { .act-photos--row { grid-template-columns: repeat(3, 1fr); } }
.academia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.academia-grid img { width: 100%; border-radius: 6px; object-fit: cover; aspect-ratio: 1; }
.academia-grid .ag-venue { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.academia-grid .ag-talk { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.act__media img.poster { width: 100%; max-width: 420px; margin: 0 auto; display: block; aspect-ratio: auto; box-shadow: var(--shadow-lg); border-radius: 4px; }
.academia-grid .ag-poster { aspect-ratio: 725 / 1024; object-fit: cover; }
.effects .effect { display: grid; grid-template-columns: 8.5em 1fr; gap: 18px; align-items: start; border-left: 0; padding: 18px 20px; }
.effect__k { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-family: var(--f-serif); font-size: 16px; font-weight: 600; color: var(--yu-deep); }
.effect__k svg { width: 22px; height: 22px; margin-bottom: 4px; color: var(--yu); }
.effect__k small { font-family: var(--f-sans); font-size: 14px; font-weight: 400; color: var(--ink-3); letter-spacing: .06em; }
.effect--drink { box-shadow: inset 3px 0 0 var(--yu); }
.effect--bath { box-shadow: inset 3px 0 0 var(--gold); }
.effect--bath .effect__k, .effect--bath .effect__k svg { color: var(--gold); }
.effect--both { box-shadow: inset 3px 0 0 var(--ink-3); }
@media (max-width: 600px) { .effects .effect { grid-template-columns: 1fr; gap: 8px; } .effect__k { flex-direction: row; align-items: center; gap: 8px; } .effect__k svg { margin: 0; } }

/* mechanism */
.evid-legend { font-size: 14.5px; color: var(--ink-3); margin-bottom: 20px; line-height: 2.4; }
.ev { display: inline-block; font-size: 14px; padding: 1px 10px; border-radius: 999px; margin: 0 6px 0 0; vertical-align: 1px; font-weight: 500; }
.ev--明 { background: var(--yu); color: var(--card); }
.ev--臨 { background: var(--yu-pale); color: var(--yu-deep); box-shadow: inset 0 0 0 1px var(--yu); }
.ev--仮 { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.mech-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 18px; }
.mech { background: var(--card); border-radius: 10px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 16px; align-content: start; }
.mech h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; }
.mech h3 i { width: 12px; height: 12px; border-radius: 50%; background: var(--q); }
.mech-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mech-flow li { background: color-mix(in srgb, var(--q) 12%, var(--card)); border-radius: 6px; padding: 12px; font-size: 15px; line-height: 1.7; position: relative; }
.mech-flow small { display: block; font-size: 13.5px; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 4px; }
.mech-flow li + li::before { content: "→"; position: absolute; left: -9px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 14px; }
@media (max-width: 600px) { .mech-flow { grid-template-columns: 1fr; } .mech-flow li + li::before { content: "↓"; left: 50%; top: -11px; transform: none; } }
.mech-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mech-items li { border-top: 1px solid var(--line-2); padding-top: 12px; }
.mech-items b { font-family: var(--f-serif); font-size: 15.5px; margin-right: 10px; }
.mech-items p { margin: 6px 0 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.85; }
.mech-caution { margin: 0; font-size: 15px; color: var(--ink-2); background: color-mix(in srgb, var(--shu) 8%, var(--card)); border-radius: 6px; padding: 10px 14px; line-height: 1.8; }
.mech-caution b { color: var(--shu); margin-right: 8px; }
.ag-credit { margin: 0; }
.ag-credit figcaption { font-size: 13.5px; color: var(--ink-3); margin-top: 4px; line-height: 1.5; }
.note--err { background: color-mix(in srgb, var(--shu) 10%, var(--card)); }
.note--ok { background: var(--yu-pale); }
/* partner / research cards (about) */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 8px; }
.partner-card { background: var(--card); border-radius: var(--r); padding: 26px 26px 24px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 30px -18px rgba(30,50,50,.25); display: flex; flex-direction: column; gap: 10px; }
.partner-card__en { font-family: var(--serif-en, serif); font-style: italic; font-size: 14px; color: var(--yu, #2c6a6c); letter-spacing: .04em; }
.partner-card h3 { font-size: 18px; margin: 0; }
.partner-card p { font-size: 14px; line-height: 1.9; color: var(--ink-2); margin: 0; }
.partner-card ul { margin: 0; padding-left: 1.2em; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.partner-card .btn { align-self: flex-start; margin-top: auto; }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.act-meta b { white-space: nowrap; }

/* =========================================================
   旅館相談窓口（consultation）
   ========================================================= */
.kk-fv { position: relative; min-height: clamp(560px, 86vh, 820px); display: flex; align-items: flex-end; color: #fff; background: #1d5f8f; overflow: hidden; }
.kk-fv__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kk-fv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,19,.35) 0%, rgba(10,18,19,.15) 35%, rgba(10,18,19,.72) 100%); }
.kk-fv__in { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(48px, 8vw, 96px); }
.kk-fv .latin { display: block; font-size: 14px; opacity: .85; margin: 18px 0 10px; }
.kk-fv h1 { font-family: var(--f-serif, serif); font-weight: 500; font-size: clamp(32px, 5.4vw, 60px); letter-spacing: .08em; line-height: 1.35; margin: 0; }
.kk-fv h1 small { font-size: .38em; letter-spacing: .1em; margin-left: .4em; opacity: .85; vertical-align: middle; }
.kk-fv__lead { font-size: clamp(16px, 1.9vw, 20px); line-height: 2; letter-spacing: .06em; margin: 18px 0 30px; }
.kk-fv__act { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.kk-fv .kk-note { color: rgba(255,255,255,.88); }
.kk-cta { min-height: 58px; padding: 14px 34px; font-size: 16px; letter-spacing: .12em; box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.kk-note { font-size: 15px; color: var(--ink-3); letter-spacing: .06em; margin: 0; }
.kk-center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(36px, 5vw, 56px); }
.kk-worries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.kk-worries li { position: relative; background: var(--card); border-radius: var(--r); padding: 22px 24px 22px 56px; font-size: 16px; line-height: 1.8; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 26px -20px rgba(30,50,50,.35); }
.kk-worries li::before { content: ""; position: absolute; left: 22px; top: 27px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--yu); background: radial-gradient(circle, var(--yu) 0 3px, transparent 3.5px); }
.kk-after { text-align: center; margin: 30px 0 0; font-size: 16px; color: var(--ink-2); letter-spacing: .06em; }
.kk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.kk-steps li { position: relative; background: var(--card); border-radius: var(--r); padding: 30px 26px 28px; }
.kk-steps li:not(:last-child)::after { content: ""; position: absolute; right: -32px; top: 50%; width: 18px; height: 18px; border-top: 2px solid var(--yu); border-right: 2px solid var(--yu); transform: translateY(-50%) rotate(45deg); }
.kk-steps__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yu); color: #fff; font-family: var(--f-latin); font-size: 18px; margin-bottom: 14px; }
.kk-steps h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: .06em; }
.kk-steps p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.kk-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.kk-expert { background: var(--card); border-radius: var(--r); padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.kk-expert__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yu-pale); color: var(--yu); margin-bottom: 6px; }
.kk-expert__icon svg { width: 26px; height: 26px; }
.kk-expert__photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 6px; }
.kk-expert h3 { font-size: 17px; margin: 0; letter-spacing: .06em; }
.kk-expert__name { font-weight: 600; margin: 0; }
.kk-expert p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.kk-fine { font-size: 15px; line-height: 1.9; color: var(--ink-3); margin: 22px 0 0; }
.kk-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.kk-plan { display: flex; flex-direction: column; gap: 12px; background: var(--card); border-radius: var(--r); padding: 32px 30px; color: inherit; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.kk-plan:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(30,50,50,.45); }
.kk-plan__en { font-family: var(--f-latin); font-style: italic; font-size: 15px; color: var(--yu); letter-spacing: .06em; }
.kk-plan h3 { font-size: 20px; margin: 0; }
.kk-plan p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.kk-plan .arrow-link { margin-top: auto; color: var(--yu); }
.kk-narrow { max-width: 880px; }
.kk-faq details { background: var(--card); border-radius: var(--r); margin-bottom: 12px; }
.kk-faq summary { cursor: pointer; list-style: none; position: relative; padding: 20px 52px 20px 58px; font-weight: 600; line-height: 1.7; }
.kk-faq summary::-webkit-details-marker { display: none; }
.kk-faq summary::before { content: "Q"; position: absolute; left: 22px; top: 17px; font-family: var(--f-latin); font-size: 20px; color: var(--yu); }
.kk-faq summary::after { content: "+"; position: absolute; right: 22px; top: 16px; font-size: 22px; color: var(--yu); }
.kk-faq details[open] summary::after { content: "−"; }
.kk-faq details p { position: relative; margin: 0; padding: 0 26px 22px 58px; color: var(--ink-2); line-height: 1.9; }
.kk-faq details p::before { content: "A"; position: absolute; left: 22px; top: -3px; font-family: var(--f-latin); font-size: 20px; color: var(--shu); }
.kk-msg { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.kk-msg__photo img { width: 100%; border-radius: var(--r); aspect-ratio: 4/5; object-fit: cover; }
.kk-msg h2 { font-family: var(--f-serif, serif); font-weight: 500; font-size: clamp(22px, 3vw, 32px); line-height: 1.6; margin: 10px 0 22px; letter-spacing: .06em; }
.kk-msg p { line-height: 2.1; margin: 0 0 1.1em; }
.kk-msg__sign { margin-top: 28px !important; font-size: 14px; color: var(--ink-2); }
.kk-msg__sign b { display: block; font-family: var(--f-serif, serif); font-weight: 500; font-size: 22px; color: var(--ink); letter-spacing: .14em; margin-top: 4px; }
.kk-last h2 { font-family: var(--f-serif, serif); font-weight: 500; font-size: clamp(22px, 3.2vw, 34px); letter-spacing: .06em; margin: 0 0 8px; }
.kk-last .kk-center { margin-top: 0; }
.kk-op { margin: 36px 0 0; font-size: 15px; line-height: 2; color: var(--ink-3); max-width: 640px; }
.kk-op a { color: var(--yu); }
.kk-sticky { display: none; }
.kk-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.kk-benefits li { background: var(--card); border-radius: var(--r); padding: 26px 28px; }
.kk-benefits h3 { margin: 0 0 8px; font-size: 18px; }
.kk-benefits p { margin: 0 0 12px; color: var(--ink-2); line-height: 1.9; }
.kk-benefits__tbd { opacity: .7; }
/* トップページのバナー */
.kk-banner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; background: var(--card); border-radius: var(--r); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .3s; }
.kk-banner:hover { box-shadow: 0 22px 44px -28px rgba(30,50,50,.5); }
.kk-banner__img { position: relative; min-height: 240px; }
.kk-banner__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kk-banner__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.kk-banner__body .latin { color: var(--yu); font-size: 15px; }
.kk-banner__body h3 { font-family: var(--f-serif, serif); font-weight: 500; font-size: clamp(22px, 2.8vw, 30px); margin: 0; letter-spacing: .06em; }
.kk-banner__body p { margin: 0; color: var(--ink-2); line-height: 1.9; }
.kk-banner__tag { align-self: flex-start; background: var(--shu); color: #fff; font-size: 15px; letter-spacing: .1em; padding: 4px 14px; border-radius: 999px; }
@media (max-width: 820px) {
  .kk-worries, .kk-plans { grid-template-columns: 1fr; }
  .kk-steps { grid-template-columns: 1fr; gap: 34px; }
  .kk-steps li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -24px; transform: translateX(-50%) rotate(135deg); }
  .kk-msg { grid-template-columns: 1fr; }
  .kk-msg__photo { max-width: 280px; }
  .kk-banner { grid-template-columns: 1fr; }
  .kk-banner__img { min-height: 180px; }
  .kk-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); box-shadow: 0 -8px 20px -14px rgba(0,0,0,.35); }
  .kk-sticky .kk-cta { width: 100%; min-height: 52px; }
  body:has(.kk-sticky) .site-footer { padding-bottom: 84px; }
}
.kk-plans--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .kk-plans--3 { grid-template-columns: 1fr; } }
.kk-plan__tag { display: inline-block; margin-left: 10px; font-size: 14px; letter-spacing: .1em; background: var(--shu); color: #fff; border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
.kk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; }
.kk-stats > div { background: var(--card); border-radius: var(--r); padding: 24px 22px; text-align: center; }
.kk-stats dt { font-size: 14px; color: var(--ink-2); letter-spacing: .06em; }
.kk-stats dd { margin: 6px 0 4px; font-size: 15px; color: var(--yu); }
.kk-stats dd b { font-family: var(--f-latin); font-size: 48px; font-weight: 500; line-height: 1; margin-right: 4px; }
.kk-stats p { margin: 0; font-size: 14.5px; color: var(--ink-3); }
.kk-partners { list-style: none; margin: 24px 0 0; padding: 18px 24px; background: var(--card); border-radius: var(--r); display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; }
.kk-partners span { display: inline-block; font-size: 14px; color: var(--yu); border: 1px solid var(--yu); border-radius: 999px; padding: 0 10px; margin-right: 8px; }
@media (max-width: 820px) { .kk-stats { grid-template-columns: 1fr 1fr; } .kk-stats dd b { font-size: 38px; } }
.kk-orgs { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 40px); margin: 40px 0 0; flex-wrap: wrap; }
.kk-orgs figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.kk-orgs img { height: 44px; width: auto; }
.kk-orgs figure:last-child img { height: 52px; }
.kk-orgs figcaption { font-size: 14px; color: var(--ink-3); letter-spacing: .1em; }
.kk-orgs__x { color: var(--ink-3); font-size: 18px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kk-orgs figure:last-child img { background: #fff; padding: 6px 10px; border-radius: 4px; } }
:root[data-theme="dark"] .kk-orgs figure:last-child img { background: #fff; padding: 6px 10px; border-radius: 4px; }
@media (max-width: 560px) { .kk-orgs { flex-direction: column; gap: 22px; } .kk-orgs__x { display: none; } }
.principle { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.principle li { border: 1px solid rgba(255,255,255,.4); color: var(--on-night); border-radius: 999px; padding: 8px 18px; font-size: 15px; letter-spacing: .06em; }
.purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.purpose-grid article { background: var(--card); border-radius: var(--r); padding: 26px 26px 22px; }
.purpose-grid h3 { margin: 0 0 12px; font-size: 18px; color: var(--yu); }
.purpose-grid ul { margin: 0; padding-left: 1.2em; line-height: 1.9; font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .purpose-grid { grid-template-columns: 1fr; } }

/* =========================================================
   読みやすさ：小さな見出し・ラベルはロゴに近い丸ゴシックで
   （h1・h2 や大きなコピーは明朝のまま）
   ========================================================= */
h3, h4 { font-family: var(--f-sans); font-weight: 700; letter-spacing: .04em; }
.q-tile strong, .region-list strong, .symptom h4, .mode-tabs a, .water-types h4, .timeline-pair h4,
.kv-cards b, .flow b, .act-title, .effect__k, .mech-items b, .qitem__head .nick, .pref-label,
.qa summary, .matrix thead th span, .magazine__issue {
  font-family: var(--f-sans); font-weight: 700;
}
.qa summary { font-size: 17px; }
.act-title { font-weight: 500; }
.pref-label { font-weight: 500; font-size: 13px; }
/* 英字の飾りラベルは少し大きく・斜体を弱めて判読しやすく */
.shead__en { font-size: 16px; }
.latin { letter-spacing: .06em; }
/* 本文系の行間と文字色を少し強めに */
p, li, td, dd { color: inherit; }
.muted { color: var(--ink-2); }
/* 湯けむりアルバム：左から右へ並ぶ正方形の格子（並び順をそのまま保つ） */
.mosaic { columns: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mosaic a { margin: 0; aspect-ratio: 1 / 1; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .mosaic { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .mosaic { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
@media (hover: none) { .mosaic span { opacity: 1; transform: none; font-size: 13.5px; background: linear-gradient(transparent, rgba(0,0,0,.55)); left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; } }

/* ---------- 明るい配色の補助 ---------- */
.site-footer { background: linear-gradient(160deg, #2a8fd0 0%, var(--night) 55%, #155a92 100%); }
.band { background: linear-gradient(135deg, #2b93d4 0%, #1a6aa6 60%, #1d7fb0 100%); }
.sec--paper2 { background: linear-gradient(180deg, #e2f3fc 0%, #effaff 100%); }

/* 随時更新中 */
.upd { font-size: .62em; font-weight: 700; font-family: var(--f-sans); letter-spacing: .06em; margin-left: .4em; color: inherit; opacity: .92; white-space: nowrap; }
h3 .upd { display: inline-block; vertical-align: middle; padding: 3px 10px; border-radius: 99px; background: var(--yu-pale); color: var(--yu-deep); font-size: 13px; margin-left: 10px; opacity: 1; }
.upd-badge { display: inline-block; margin-right: 10px; padding: 2px 10px; border-radius: 99px; background: var(--yu-pale); color: var(--yu-deep); font-size: 13px; font-weight: 700; }

/* 募集中 */
em.now { font-style: normal; display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 10px; border-radius: 99px; background: var(--shu); color: #fff; font-family: var(--f-sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; line-height: 1.6; }
.cta em.now { font-size: 14px; margin-left: 0; margin-top: 6px; }
.recruit-bar { padding-top: clamp(20px, 3vw, 36px); }
.recruit-bar__in { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.recruit-bar__item { background: linear-gradient(120deg, #ffffff 0%, #e6f6ff 100%); }
.recruit-bar__item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(22,121,184,.06); transition: border-color .2s, transform .2s, box-shadow .2s; }
.recruit-bar__item:hover { border-color: var(--yu); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(22,121,184,.12); }
.recruit-bar__tag { flex: none; padding: 4px 12px; border-radius: 99px; background: var(--shu); color: #fff; font-family: var(--f-sans); font-weight: 700; font-size: 14px; letter-spacing: .08em; }
.recruit-bar__txt { flex: 1; font-family: var(--f-sans); font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.recruit-bar__txt b { display: block; font-size: 17px; color: var(--ink); }
.recruit-bar__go { flex: none; color: var(--yu); font-size: 20px; }
@media (max-width: 760px) { .recruit-bar__in { grid-template-columns: 1fr; gap: 10px; } }
.drawer em.now { font-size: 12px; padding: 1px 8px; }
.hero__lead .upd { font-size: .82em; opacity: 1; }

/* ---------- ポップな差し色 ---------- */
.shead__en, .latin { color: var(--yu); }
.hero .latin, .phead--img .latin, .kk-fv .latin, .band .latin, .site-footer .latin, .cta .latin { color: inherit; }
h3 .upd, .upd-badge { background: #dff4ff; color: var(--yu-deep); }
.recruit-bar__go { color: var(--shu); }

/* =========================================================
   わくわくする配色：ティファニーブルー × 空色 × コーラルピンク × サニーイエロー
   ========================================================= */
:root {
  --tiffany: #81d8d0;
  --tiffany-deep: #0f8f8a;
  --sky-pop: #4fb3f0;
  --pink: #ff8fa3;
  --sunny: #ffd166;
  --lilac: #b9a7f5;
  --pop-grad: linear-gradient(90deg, #81d8d0 0%, #4fb3f0 50%, #ff8fa3 100%);
}

/* 日本地図：メイン色 #87D1DE（ご指定） */
.region-map path { fill: #d3eff4; }
.region-map path.has { fill: #87d1de; }
.region-map path.is-hover { fill: #2f9fc7; }
.region-map .pin { fill: #ff6f8a; }

/* 見出し：英字ラベルをティファニー色、見出し下にカラフルなライン */
.shead__en { color: var(--tiffany-deep); }
.shead h2::after, .shead--center h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin-top: 16px; background: var(--pop-grad); }
.shead--center h2::after { margin-inline: auto; }

/* ボタン：ティファニー → 空色 */
.btn--yu { background: linear-gradient(120deg, #0f9a94 0%, #1a86c8 100%); border-color: transparent; box-shadow: 0 6px 18px rgba(26,134,200,.25); }
.btn--yu:hover { background: linear-gradient(120deg, #0c8580 0%, #1571ac 100%); border-color: transparent; box-shadow: 0 8px 24px rgba(26,134,200,.32); }

/* 検索ボックス：選択中タブにカラフルなライン */
.finder__tabs button[aria-selected="true"]::after { background: var(--pop-grad); height: 4px; }

/* 淡い色の帯：ふんわり水玉のような光 */
.sec--paper2 {
  background:
    radial-gradient(600px 320px at 8% 10%, rgba(129,216,208,.28), transparent 70%),
    radial-gradient(520px 300px at 95% 90%, rgba(255,143,163,.16), transparent 70%),
    radial-gradient(480px 280px at 70% 0%, rgba(255,209,102,.16), transparent 70%),
    linear-gradient(180deg, #e8f8f6 0%, #eaf6fe 100%);
}

/* カード：ホバーで色つきの影 */
.card:hover, .jcard:hover { box-shadow: 0 2px 6px rgba(15,143,138,.10), 0 22px 50px rgba(79,179,240,.22); }
.card { border-top: 0; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 2; background: var(--pop-grad); opacity: 0; transition: opacity .3s; }
.card:hover::before { opacity: 1; }

/* 写真付きCTA：下側を少し色つきに */
.cta::before { background: linear-gradient(transparent 25%, rgba(10,60,90,.78)); }

/* 実績の帯・フッター */
.band { background: linear-gradient(120deg, #13a39d 0%, #2391d6 55%, #5a7fe0 100%); }
.site-footer { background: linear-gradient(150deg, #138f95 0%, #1c78bf 50%, #2a5fa8 100%); }

/* 募集中：コーラルピンク、矢印も */
em.now, .recruit-bar__tag { background: linear-gradient(120deg, #ff7f96 0%, #ff9a6b 100%); }
.recruit-bar__go { color: #ff7f96; }
.recruit-bar__item:hover { border-color: var(--tiffany); box-shadow: 0 8px 22px rgba(129,216,208,.35); }
.recruit-bar__item { border-left: 5px solid var(--tiffany); }
.recruit-bar__item + .recruit-bar__item { border-left-color: var(--sky-pop); }

/* 随時更新中バッジ：サニーイエロー */
h3 .upd, .upd-badge { background: #fff1c7; color: #8a5a00; }

/* 泉質チップを少しはっきり */
.chip--q { background: color-mix(in srgb, var(--q) 24%, #fff); }

/* スクロールバーの色（対応ブラウザのみ） */
html { scrollbar-color: #81d8d0 #f0fafb; }
::selection { background: #c6f0ec; }

/* =========================================================
   ファッション誌のような雰囲気（エディトリアル）
   ========================================================= */
/* 表紙のようなメインビジュアル */
.hero::after { background: linear-gradient(180deg, rgba(8,30,40,.35) 0%, rgba(8,30,40,0) 26%, rgba(8,30,40,0) 48%, rgba(8,30,40,.55) 100%); }
.hero__issue { display: inline-block; font-family: var(--f-latin); font-style: italic; font-size: clamp(14px, 1.3vw, 17px); letter-spacing: .18em; padding: 4px 14px; border: 1px solid rgba(255,255,255,.7); border-radius: 99px; margin-bottom: 10px; backdrop-filter: blur(2px); }
.hero__mast { display: block; font-family: var(--f-latin); font-style: italic; font-weight: 400; font-size: clamp(56px, 9vw, 132px); line-height: .9; letter-spacing: -.01em; text-shadow: 0 4px 40px rgba(0,0,0,.25); margin: 4px 0 14px; }
.hero__lead { max-width: 640px; }
.hero__lead p { font-size: 16px; }

/* 見出し：大きな英字（グラデーション）＋明朝の日本語 */
.shead .shead__en, .editorial__body > .shead__en, .kk-sec .shead__en {
  font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: 0; font-weight: 400; margin-bottom: 10px;
  background: linear-gradient(90deg, #12a39c 0%, #3aa7e8 55%, #ff7f9a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.shead h2, .editorial__body h2 { font-weight: 500; letter-spacing: .08em; }
.shead h2::after { width: 40px; height: 3px; margin-top: 18px; }
.shead p { font-size: 16px; line-height: 2; }

/* ピックアップ：誌面のような縦長カード */
.rail { gap: clamp(18px, 2.4vw, 32px); }
.pick__img { aspect-ratio: 4 / 5; border-radius: 22px 22px 22px 4px; box-shadow: 0 18px 40px rgba(26,110,160,.16); }
.pick__no { left: auto; right: 18px; bottom: 12px; font-size: 64px; font-weight: 300; }
.pick__body { padding: 18px 6px 0; }
.pick__body small { display: inline-block; font-family: var(--f-sans); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; color: #fff; background: linear-gradient(120deg, #12a39c, #3aa7e8); padding: 2px 12px; border-radius: 99px; }
.pick__body h3 { font-size: 21px; margin: 10px 0 8px; letter-spacing: .06em; }
.pick:hover .pick__body h3 { color: var(--yu); }

/* 流れる文字帯 */
.marquee { overflow: hidden; margin-top: clamp(28px, 4vw, 48px); padding: 14px 0; background: linear-gradient(90deg, #81d8d0 0%, #8cc8f2 50%, #ffb3c1 100%); color: #fff; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-latin); font-style: italic; font-size: clamp(22px, 2.6vw, 34px); white-space: nowrap; letter-spacing: .04em; }
.marquee span:nth-of-type(even) { font-family: var(--f-serif); font-style: normal; font-size: clamp(16px, 1.8vw, 22px); letter-spacing: .18em; }
.marquee i { font-style: normal; font-size: 14px; opacity: .9; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* アルバム：やわらかい角と、ホバーで色づく */
.mosaic { gap: 14px; }
.mosaic a { border-radius: 16px; }
.mosaic a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(129,216,208,.0) 40%, rgba(255,143,163,.35) 100%); opacity: 0; transition: opacity .35s; }
.mosaic a:hover::after { opacity: 1; }

/* カード：角を丸く、写真を主役に */
.card { border-radius: 18px; }
.card__img { aspect-ratio: 4 / 3; }
.card__body h3 { letter-spacing: .05em; }
.jcard__img, .editorial__media img, .cta { border-radius: 18px; }
.cta3 { gap: 14px; padding-inline: 14px; }

/* 写真付きの案内カード */
.cta::before { background: linear-gradient(transparent 30%, rgba(14,70,110,.72)); }
.cta h3 { font-size: clamp(22px, 2.4vw, 28px); }

/* 本文リンクの矢印：下線がのびる */
.arrow-link { background-image: linear-gradient(90deg, #12a39c, #ff7f9a); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .4s var(--ease); }
.arrow-link:hover { background-size: 100% 2px; }
