/* =========================================================
   KYABEL — Host Pop Archive (SITE 19)
   明色×編集的ポップ。カードコレクションとステッカーの世界観。
   可読性基準: 本文16px以上 / 必須情報14px以上 / タップ44px以上
   ========================================================= */
:root {
  --color-bg: #f4f2ec;
  --color-surface: #ffffff;
  --color-ink: #141414;
  --color-muted: #5a564e;            /* on bg 7.2:1 */
  --color-cobalt: #2251d1;           /* on bg 5.9:1 テキスト可 */
  --color-coral: #ef6a58;            /* 面・ボーダー専用（テキスト禁止） */
  --color-coral-text: #c2372a;       /* on bg 4.8:1 テキスト用コーラル */
  --color-lime: #c6e94e;             /* 面専用（テキスト禁止） */
  --color-gray: #dcdcd7;
  --color-line: #141414;

  --font-display: "Space Grotesk", "Arial", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6.5rem;

  --container-width: 1200px;
  --cta-h: 84px;
  --radius: 14px;
}

/* ---------- リセット・基礎 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  padding-bottom: var(--cta-h);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--color-cobalt); outline-offset: 2px; border-radius: 2px; }
body.is-locked { overflow: hidden; }

.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 500;
  background: var(--color-ink); color: #fff; padding: 10px 18px;
  font-size: 14px; border-radius: 0 0 8px 8px; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

/* ---------- ステッカー見出し ---------- */
.sec-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: var(--space-md); }
.sec-head__sticker {
  display: inline-block; background: var(--color-ink); color: #fff;
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.08em;
  padding: 6px 14px; border-radius: 999px; transform: rotate(-2deg);
}
.sec-head__title { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.25; letter-spacing: 0.01em; }
.sec-head__ja { font-size: 14px; color: var(--color-muted); width: 100%; }

section { padding: var(--space-lg) 0; }

/* ---------- ローディング（初回のみ） ---------- */
.loader {
  position: fixed; inset: 0; z-index: 400; background: var(--color-bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.35s, visibility 0.35s;
}
.loader__logo {
  font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.2em;
  border: 2px solid var(--color-ink); border-radius: 999px; padding: 14px 30px;
  background: var(--color-lime); transform: rotate(-2deg);
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(244, 242, 236, 0.94);
  border-bottom: 2px solid var(--color-ink);
}
.header__inner { display: flex; align-items: center; gap: 18px; padding: 12px 20px; max-width: var(--container-width); margin: 0 auto; }
.header__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.12em; text-decoration: none; flex-shrink: 0; }
.header__logo small { display: block; font-size: 12px; letter-spacing: 0.28em; color: var(--color-muted); font-weight: 500; }

.nav-strip { overflow-x: auto; scrollbar-width: thin; flex: 1; }
.nav-strip ul { display: flex; gap: 6px; list-style: none; min-width: max-content; padding: 4px 2px; }
.nav-strip a {
  display: inline-block; text-decoration: none; font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.06em; padding: 10px 14px; min-height: 44px;
  border-radius: 999px; border: 1.5px solid transparent; line-height: 24px; white-space: nowrap;
}
.nav-strip a:hover { border-color: var(--color-ink); }
.nav-strip a[aria-current="page"] { background: var(--color-cobalt); color: #fff; }
.nav-strip small { font-size: 12px; color: var(--color-muted); margin-left: 4px; }

.menu-toggle {
  display: none; min-width: 44px; min-height: 44px; border: 2px solid var(--color-ink);
  background: var(--color-surface); border-radius: 12px; font-size: 14px; font-weight: 700;
}

/* SPカード型メニュー */
.cardmenu { position: fixed; inset: 0; z-index: 300; background: rgba(20, 20, 20, 0.55); }
.cardmenu__panel {
  position: absolute; inset: 12px; background: var(--color-bg); border-radius: 18px;
  border: 2px solid var(--color-ink); padding: 60px 18px 18px; overflow-y: auto;
}
.cardmenu__close {
  position: absolute; top: 12px; right: 12px; min-width: 44px; min-height: 44px;
  border: 2px solid var(--color-ink); background: var(--color-coral); color: var(--color-ink);
  border-radius: 999px; font-weight: 700; font-size: 14px;
}
.cardmenu__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; }
.cardmenu__grid a {
  display: block; background: var(--color-surface); border: 2px solid var(--color-ink);
  border-radius: var(--radius); padding: 14px; text-decoration: none; min-height: 76px;
}
.cardmenu__grid a b { display: block; font-family: var(--font-display); font-size: 16px; letter-spacing: 0.04em; }
.cardmenu__grid a span { font-size: 14px; color: var(--color-muted); }
.cardmenu__grid li:nth-child(odd) a { transform: rotate(-0.6deg); }
.cardmenu__grid li:nth-child(even) a { transform: rotate(0.6deg); }

/* ---------- メイン: モバイル専用の情報順序 ---------- */
main { display: flex; flex-direction: column; }
.s-hero { order: 0; }
.s-pickup { order: 1; }      /* SP: 注目MEMBERが最初 */
.s-first { order: 2; }       /* SP: 続いて初回案内 */
.s-today { order: 3; }
.s-concept { order: 4; }
.s-news { order: 5; }
.s-interior { order: 6; }
.s-system { order: 7; }
.s-recruit { order: 8; }
.s-access { order: 9; }
.s-reserve { order: 10; }

@media (min-width: 768px) {
  .s-today { order: 1; }     /* PC: 本日の出勤を先へ */
  .s-pickup { order: 2; }
  .s-first { order: 3; }
}

/* ---------- ヒーロー ---------- */
.s-hero { padding: var(--space-md) 0 var(--space-lg); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }

.hero__sticker {
  display: inline-block; background: var(--color-coral); border: 2px solid var(--color-ink);
  border-radius: 999px; padding: 6px 16px; font-size: 14px; font-weight: 700;
  transform: rotate(-2deg); margin-bottom: 16px;
}
.hero__title { font-family: var(--font-display); font-size: clamp(2.3rem, 6.5vw, 4.2rem); line-height: 1.12; letter-spacing: 0.01em; }
.hero__title em { font-style: normal; color: var(--color-cobalt); }
.hero__tagline { margin-top: 14px; font-size: clamp(1rem, 2vw, 1.15rem); font-weight: 500; }
.hero__featured { margin-top: 18px; font-size: 14px; background: var(--color-surface); border: 1.5px dashed var(--color-ink); border-radius: 10px; padding: 10px 14px; display: inline-block; }
.hero__links { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px; border-radius: 999px; border: 2px solid var(--color-ink);
  font-size: 16px; font-weight: 700; text-decoration: none; background: var(--color-surface); color: var(--color-ink);
  transition: transform 0.15s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-ink); color: #fff; }
.btn--primary:hover { background: var(--color-cobalt); }
.hero__sns { margin-top: 18px; display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--color-muted); flex-wrap: wrap; }
.hero__sns a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: underline; text-underline-offset: 3px; color: var(--color-cobalt); font-weight: 500; }

/* カードスタック */
.hero__stack-wrap { position: relative; }
#hero-stack { position: relative; height: 420px; cursor: pointer; }
@media (max-width: 599px) { #hero-stack { height: 340px; } }
.stack__card {
  position: absolute; inset: 0; margin: auto; width: min(280px, 78%);
  background: var(--color-surface); border: 2px solid var(--color-ink); border-radius: var(--radius);
  padding: 12px 12px 16px; transition: transform 0.35s, opacity 0.35s;
}
.stack__card[data-pos="0"] { transform: rotate(-1.5deg); }
.stack__card[data-pos="1"] { transform: rotate(2deg) translate(26px, 10px); }
.stack__card[data-pos="2"] { transform: rotate(-3deg) translate(-24px, 16px); opacity: 0.92; }
.stack__card[data-pos="3"] { transform: rotate(4deg) translate(8px, 24px); opacity: 0.85; }
.stack__name { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-top: 10px; }
.stack__name .stack__ja { font-family: var(--font-body); font-size: 14px; color: var(--color-muted); font-weight: 500; margin-left: 6px; }
.stack__catch { font-size: 14px; color: var(--color-muted); }
.stack__next {
  position: absolute; right: 4px; bottom: -6px; z-index: 20;
  min-height: 48px; padding: 8px 20px; border-radius: 999px;
  border: 2px solid var(--color-ink); background: var(--color-lime); color: var(--color-ink);
  font-size: 14px; font-weight: 700;
}

/* ---------- 本日の出勤 ---------- */
.s-today { background: var(--color-surface); border-block: 2px solid var(--color-ink); }
.today-meta { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: var(--space-sm); }
.today-meta__count { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--color-cobalt); }
.today-meta__date { font-size: 14px; color: var(--color-muted); }
#today-list { display: flex; flex-wrap: wrap; gap: 10px; }
.today-chip {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 56px; padding: 8px 18px; border: 1.5px solid var(--color-ink);
  border-radius: 12px; text-decoration: none; background: var(--color-bg);
  transition: background 0.2s, transform 0.15s;
}
.today-chip:hover { background: var(--color-lime); transform: translateY(-2px); }
.today-chip__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.today-chip__time { font-size: 14px; color: var(--color-muted); }
.closed-note { font-size: 16px; padding: 18px 20px; border: 1.5px dashed var(--color-ink); border-radius: 12px; display: inline-block; }
.closed-note span { display: block; font-size: 14px; color: var(--color-muted); margin-top: 4px; }

/* ---------- MEMBERコレクション（フリップカード） ---------- */
#tag-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-md); }
.tag-chip {
  min-height: 44px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--color-ink); background: var(--color-surface);
  font-size: 14px; font-weight: 500;
}
.tag-chip.is-active { background: var(--color-cobalt); color: #fff; border-color: var(--color-cobalt); }

#collection { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 22px; }
.fcard { position: relative; }
.fcard__inner {
  position: relative; transform-style: preserve-3d; transition: transform 0.5s;
  min-height: 400px;
}
.fcard.is-flipped .fcard__inner { transform: rotateY(180deg); }
.fcard__face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--color-surface); border: 2px solid var(--color-ink); border-radius: var(--radius);
  padding: 12px; overflow: hidden;
}
.fcard__face--front { position: relative; }
.fcard__face--back { transform: rotateY(180deg); overflow-y: auto; padding: 18px 16px; }
.fcard--new .fcard__face--front::after {
  content: "NEW"; position: absolute; top: 10px; right: 10px;
  background: var(--color-coral); border: 2px solid var(--color-ink); color: var(--color-ink);
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; transform: rotate(6deg);
}
.fcard__name { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-top: 10px; }
.fcard__name span { font-family: var(--font-body); font-size: 14px; color: var(--color-muted); font-weight: 500; margin-left: 6px; }
.fcard__tags { font-size: 14px; color: var(--color-cobalt); font-weight: 500; }
.fcard__back-name { font-family: var(--font-display); font-size: 20px; }
.fcard__catch { font-size: 15px; font-weight: 500; margin: 6px 0 12px; }
.fcard__data { font-size: 14px; }
.fcard__data div { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--color-gray); }
.fcard__data dt { color: var(--color-muted); flex-shrink: 0; min-width: 5.5em; }
.fcard__link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; color: var(--color-cobalt); font-weight: 700; font-size: 15px; text-underline-offset: 3px; }
.fcard__actions { display: flex; gap: 8px; margin-top: 10px; }
.fcard__flip {
  flex: 1; min-height: 44px; border: 2px solid var(--color-ink); border-radius: 999px;
  background: var(--color-bg); font-size: 14px; font-weight: 700;
}
.fcard__flip:hover { background: var(--color-lime); }
.fcard__fave {
  min-width: 44px; min-height: 44px; border: 2px solid var(--color-ink); border-radius: 999px;
  background: var(--color-surface); font-size: 18px; line-height: 1;
}
.fcard__fave.is-on { background: var(--color-coral); }
.empty-note { font-size: 16px; color: var(--color-muted); }
.pickup-more { margin-top: var(--space-md); }

/* ---------- 初回案内 ---------- */
.s-first { background: var(--color-cobalt); color: #fff; border-block: 2px solid var(--color-ink); }
.s-first .sec-head__sticker { background: #fff; color: var(--color-cobalt); }
.s-first .sec-head__ja { color: #d9e2fb; }
.first-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); align-items: center; }
@media (min-width: 800px) { .first-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.first-price {
  background: #fff; color: var(--color-ink); border: 2px solid var(--color-ink); border-radius: 18px;
  padding: 26px 24px; text-align: center; transform: rotate(-1deg);
}
.first-price__num { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 700; line-height: 1.1; }
.first-price__time { font-size: 15px; font-weight: 700; color: var(--color-coral-text); }
.first-price__note { font-size: 14px; color: var(--color-muted); margin-top: 8px; }
.first-copy p { font-size: 16px; }
.first-copy .btn { margin-top: 18px; background: var(--color-lime); color: var(--color-ink); }

/* ---------- コンセプト ---------- */
.concept-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); align-items: center; }
@media (min-width: 800px) { .concept-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.concept-copy p { font-size: 16px; max-width: 36em; }

/* ---------- ニュース・イベント ---------- */
.s-news { background: var(--color-surface); border-block: 2px solid var(--color-ink); }
#event-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; margin-bottom: var(--space-md); }
.ev-card { background: var(--color-bg); border: 2px solid var(--color-ink); border-radius: var(--radius); padding: 14px; }
.ev-card__date { font-family: var(--font-display); font-size: 14px; color: var(--color-coral-text); font-weight: 700; margin-top: 10px; }
.ev-card__title { font-size: 17px; line-height: 1.45; margin: 4px 0 10px; }
.ev-card__body p { font-size: 15px; margin-bottom: 8px; }
.ev-card__body a { color: var(--color-cobalt); font-weight: 700; font-size: 15px; text-underline-offset: 3px; display: inline-flex; min-height: 44px; align-items: center; }
.ev-card__more {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--color-ink);
  background: var(--color-surface); font-size: 14px; font-weight: 700;
}
.ev-card__more:hover { background: var(--color-lime); }
#news-list { display: flex; flex-direction: column; }
.arch-row {
  display: flex; gap: 14px; align-items: baseline; padding: 14px 4px; min-height: 52px;
  border-bottom: 1.5px solid var(--color-gray); text-decoration: none; flex-wrap: wrap;
}
.arch-row:hover .arch-row__title { text-decoration: underline; text-underline-offset: 3px; }
.arch-row time { font-family: var(--font-display); font-size: 14px; color: var(--color-muted); }
.arch-row__cat {
  font-size: 14px; font-weight: 700; border-radius: 999px; padding: 2px 12px; border: 1.5px solid var(--color-ink);
}
.arch-row__cat--event { background: var(--color-coral); }
.arch-row__cat--news { background: var(--color-lime); }
.arch-row__title { font-size: 16px; flex: 1; min-width: 200px; }
.news-more { margin-top: var(--space-sm); }

/* ---------- 店内 ---------- */
#interior-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }

/* ---------- 料金 ---------- */
.s-system { background: var(--color-bg); }
#system-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; margin-top: var(--space-sm); }
.sys-card { background: var(--color-surface); border: 2px solid var(--color-ink); border-radius: var(--radius); padding: 18px; }
.sys-card__name { font-weight: 700; font-size: 16px; }
.sys-card__time { font-size: 14px; color: var(--color-muted); }
.sys-card__price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--color-cobalt); margin-top: 6px; }
.sys-note { font-size: 14px; color: var(--color-muted); margin-top: var(--space-sm); }

/* ---------- 採用・アクセス・予約 ---------- */
.s-recruit { background: var(--color-lime); border-block: 2px solid var(--color-ink); }
.recruit-inner { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; justify-content: space-between; }
.recruit-inner p { font-size: 16px; max-width: 34em; }

.access-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
@media (min-width: 800px) { .access-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.access-dl div { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1.5px solid var(--color-gray); font-size: 16px; }
.access-dl dt { min-width: 6em; color: var(--color-muted); flex-shrink: 0; }
.access-dl a { color: var(--color-cobalt); text-underline-offset: 3px; font-weight: 500; }

.s-reserve { background: var(--color-surface); border-top: 2px solid var(--color-ink); text-align: left; }
.reserve-box { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.reserve-box .tel {
  font-family: var(--font-display); font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 700;
  text-decoration: none; min-height: 48px; display: inline-flex; align-items: center;
}
.reserve-box .tel:hover { color: var(--color-cobalt); }
.reserve-note { font-size: 14px; color: var(--color-muted); margin-top: 10px; }

/* ---------- フッター ---------- */
.footer { background: var(--color-ink); color: #f2f0ea; padding: var(--space-lg) 0 var(--space-md); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
@media (min-width: 800px) { .footer__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); } }
.footer__logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.1em; }
.footer__logo small { display: block; font-size: 12px; letter-spacing: 0.3em; color: #b9b5ac; }
.footer p, .footer li, .footer a { font-size: 14px; color: #d8d5cd; }
.footer a { text-underline-offset: 3px; display: inline-flex; min-height: 44px; align-items: center; }
.footer a:hover { color: var(--color-lime); }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.footer h2 { font-size: 14px; letter-spacing: 0.2em; color: #b9b5ac; margin-bottom: 10px; font-family: var(--font-display); }
.footer__colophon {
  margin-top: var(--space-md); padding-top: var(--space-sm); border-top: 1px solid #3a3934;
  font-size: 14px; color: #b9b5ac; padding-right: 84px;
}

/* ---------- 固定CTA（ステッカー風ボタン群） ---------- */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 210;
  background: rgba(244, 242, 236, 0.96); border-top: 2px solid var(--color-ink);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}
.cta-bar ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 640px; margin: 0 auto; }
.cta-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 56px; border: 2px solid var(--color-ink); border-radius: 14px;
  text-decoration: none; font-size: 14px; font-weight: 700; background: var(--color-surface);
  transition: transform 0.15s;
}
.cta-bar a:hover { transform: translateY(-2px); }
.cta-bar li:nth-child(1) a { transform: rotate(-1deg); }
.cta-bar li:nth-child(2) a { transform: rotate(0.8deg); background: var(--color-lime); }
.cta-bar li:nth-child(3) a { transform: rotate(-0.8deg); background: var(--color-coral); }
.cta-bar li:nth-child(4) a { transform: rotate(1deg); background: var(--color-cobalt); color: #fff; }
.cta-bar li:nth-child(1) a:hover, .cta-bar li:nth-child(2) a:hover,
.cta-bar li:nth-child(3) a:hover, .cta-bar li:nth-child(4) a:hover { transform: translateY(-2px); }
.cta-bar small { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; }

/* ---------- ページトップ ---------- */
.page-top {
  position: fixed; right: 16px; bottom: calc(var(--cta-h) + 12px); z-index: 205;
  min-width: 48px; min-height: 48px; border-radius: 999px;
  border: 2px solid var(--color-ink); background: var(--color-surface);
  font-size: 18px; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
}
.page-top.is-show { opacity: 1; visibility: visible; }

/* ---------- モーダル ---------- */
/* hidden属性を確実に効かせる（display指定がUAの[hidden]:noneを上書きしてしまう問題の是正） */
.modal[hidden], .cardmenu[hidden], .lb[hidden] { display: none !important; }
.modal { position: fixed; inset: 0; z-index: 320; display: flex; align-items: center; justify-content: center; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20, 20, 20, 0.55); border: 0; }
.modal__panel {
  position: relative; background: var(--color-surface); border: 2px solid var(--color-ink);
  border-radius: 18px; padding: 30px 26px; max-width: min(440px, calc(100vw - 40px));
  margin: 20px;
}
.modal__panel h2 { font-size: 18px; margin-bottom: 10px; }
.modal__panel p { font-size: 16px; }
.modal__close {
  margin-top: 18px; min-height: 48px; padding: 10px 26px; border-radius: 999px;
  border: 2px solid var(--color-ink); background: var(--color-ink); color: #fff;
  font-size: 15px; font-weight: 700;
}
.modal__close:hover { background: var(--color-cobalt); }

/* ---------- プレースホルダー（コラージュ調・5トーン） ---------- */
.ph {
  position: relative; width: 100%; overflow: hidden; border-radius: 10px;
  border: 1.5px solid var(--color-ink); display: flex; align-items: center; justify-content: center;
}
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph[data-ratio="4x5"] { aspect-ratio: 4 / 5; }
.ph[data-ratio="3x4"] { aspect-ratio: 3 / 4; }
.ph[data-ratio="1x1"] { aspect-ratio: 1 / 1; }
.ph[data-ratio="16x9"] { aspect-ratio: 16 / 9; }
.ph[data-ratio="3x2"] { aspect-ratio: 3 / 2; }
.ph[data-ratio="21x9"] { aspect-ratio: 21 / 9; }
.ph__label {
  position: relative; z-index: 2; font-family: var(--font-display); font-size: 13px;
  letter-spacing: 0.08em; background: rgba(255, 255, 255, 0.9); color: var(--color-ink);
  border: 1.5px solid var(--color-ink); border-radius: 999px; padding: 5px 12px;
  max-width: calc(100% - 20px); text-align: center;
}
@media (max-width: 599px) { .ph__label { white-space: normal; } }
.ph[data-tone="1"] { background: linear-gradient(135deg, #ffffff 30%, #dfe7fb 75%, #c7d4f4); }
.ph[data-tone="2"] { background: repeating-linear-gradient(-45deg, #fff5f2 0 14px, #fde4de 14px 28px); }
.ph[data-tone="3"] { background: radial-gradient(circle at 78% 22%, #eef8cf 0 26%, transparent 27%), linear-gradient(160deg, #ffffff, #f0efe6); }
.ph[data-tone="4"] { background: radial-gradient(circle at 20% 80%, #e4e2da 0 18%, transparent 19%), radial-gradient(circle at 70% 30%, #e9e7df 0 12%, transparent 13%), #f7f5ef; }
.ph[data-tone="5"] { background: linear-gradient(150deg, #2251d1 55%, #4a71dd); }
.ph[data-tone="5"] .ph__label { background: rgba(255, 255, 255, 0.95); }

/* ---------- 表示アニメーション ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 899px) {
  .nav-strip { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
}
@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .cardmenu { display: none; }
}
@media (max-width: 599px) {
  :root { --cta-h: 92px; }
  section { padding: var(--space-md) 0 calc(var(--space-md) + 10px); }
  .sec-head__title { font-size: 1.55rem; }
  #collection { grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 14px; }
  .fcard__inner { min-height: 380px; }
}

/* =========================================================
   下層ページ共通コンポーネント
   ========================================================= */

/* ---------- ページ見出し（ステッカー風） ---------- */
.page-head { padding: var(--space-lg) 0 var(--space-sm); background: var(--color-surface); border-bottom: 2px solid var(--color-ink); }
.page-head__inner { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.page-head__sticker {
  display: inline-block; background: var(--color-lime); border: 2px solid var(--color-ink);
  border-radius: 999px; padding: 5px 16px; font-family: var(--font-display); font-size: 13px;
  letter-spacing: 0.08em; font-weight: 700; transform: rotate(-2deg); margin-bottom: 14px;
}
.page-head__title { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.12; letter-spacing: 0.01em; }
.page-head__jp { font-size: 16px; color: var(--color-muted); margin-top: 8px; }

/* ---------- パンくず ---------- */
.breadcrumb-wrap { background: var(--color-bg); border-bottom: 1.5px solid var(--color-gray); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 12px 0; font-size: 14px; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--color-muted); }
.breadcrumb li:not(:last-child)::after { content: "›"; color: var(--color-muted); }
.breadcrumb a { color: var(--color-cobalt); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current="page"] { color: var(--color-ink); font-weight: 700; }

/* ---------- 汎用リード文・ユーティリティ ---------- */
.page-lead { font-size: 16px; max-width: 40em; margin-bottom: var(--space-md); }
.text-link { color: var(--color-cobalt); font-weight: 700; text-underline-offset: 3px; text-decoration: underline; display: inline-flex; min-height: 44px; align-items: center; }
.mt-lg { margin-top: var(--space-lg); }
.sec-sub { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.02em; margin-bottom: var(--space-sm); display: flex; align-items: center; gap: 10px; }
.sec-sub::before { content: ""; width: 14px; height: 14px; background: var(--color-coral); border: 2px solid var(--color-ink); border-radius: 3px; transform: rotate(8deg); }

/* ---------- 絞り込みバー（MEMBER一覧・NEWS） ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: var(--space-sm); }
.filter__btn {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--color-ink);
  background: var(--color-surface); font-size: 15px; font-weight: 700; font-family: var(--font-display);
}
.filter__btn[aria-pressed="true"] { background: var(--color-cobalt); color: #fff; }
.filter__btn:hover { background: var(--color-lime); }
.filter__btn[aria-pressed="true"]:hover { background: var(--color-cobalt); color: #fff; }
.filter__sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-muted); margin-left: auto; }
.filter__sort select {
  min-height: 44px; padding: 8px 14px; border: 2px solid var(--color-ink); border-radius: 999px;
  background: var(--color-surface); font-size: 15px; font-weight: 500; font-family: var(--font-body); color: var(--color-ink);
}
.cast-count { font-size: 14px; color: var(--color-muted); margin: 4px 0 var(--space-md); }
.cast-count strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--color-cobalt); }
#cast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 22px; }

/* ---------- MEMBER詳細 ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
@media (min-width: 860px) { .detail { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; } }
.detail__media { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 859px) { .detail__media { position: static; } }
.detail__main { position: relative; cursor: zoom-in; border: 2px solid var(--color-ink); border-radius: var(--radius); overflow: hidden; }
.detail__main .ph { border: 0; border-radius: 0; }
.detail__newtag {
  position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--color-coral);
  border: 2px solid var(--color-ink); color: var(--color-ink); font-family: var(--font-display);
  font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; transform: rotate(6deg);
}
.detail__subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.detail__sub { padding: 0; border: 2px solid var(--color-ink); border-radius: 12px; overflow: hidden; background: none; cursor: zoom-in; }
.detail__sub .ph { border: 0; border-radius: 0; }
.detail__sticker {
  display: inline-block; background: var(--color-ink); color: #fff; font-family: var(--font-display);
  font-size: 13px; letter-spacing: 0.08em; padding: 5px 14px; border-radius: 999px; transform: rotate(-1.5deg); margin-bottom: 14px;
}
.detail__name { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.15; }
.detail__name span { display: block; font-family: var(--font-body); font-size: 15px; color: var(--color-muted); font-weight: 500; margin-top: 6px; }
.detail__catch { font-size: 18px; font-weight: 700; margin: 14px 0 10px; }
.detail__tags { font-size: 15px; color: var(--color-cobalt); font-weight: 700; margin-bottom: var(--space-sm); }
.detail__profile { border-top: 2px solid var(--color-ink); margin: var(--space-sm) 0; }
.detail__profile div { display: flex; gap: 14px; padding: 12px 4px; border-bottom: 1px dashed var(--color-gray); font-size: 16px; }
.detail__profile dt { min-width: 6em; color: var(--color-muted); flex-shrink: 0; }
.detail__comment { font-size: 16px; background: var(--color-bg); border: 1.5px solid var(--color-ink); border-radius: 12px; padding: 16px 18px; }
.detail__block { margin-top: var(--space-md); }
.detail__subhead { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--color-ink); }
.detail__sched { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.detail__sched li {
  display: inline-flex; flex-direction: column; min-height: 52px; justify-content: center;
  border: 1.5px solid var(--color-ink); border-radius: 10px; padding: 6px 14px; font-size: 15px; font-weight: 700; background: var(--color-surface);
}
.detail__sched li span { font-size: 14px; font-weight: 500; color: var(--color-muted); }
.detail__note { font-size: 14px; color: var(--color-muted); margin-top: 10px; }
.detail__sns { margin-top: var(--space-md); font-size: 14px; color: var(--color-muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.detail__sns a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--color-cobalt); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.detail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-md); }
.diary { padding: 14px 0; border-bottom: 1px dashed var(--color-gray); }
.diary__meta { font-family: var(--font-display); font-size: 14px; color: var(--color-coral-text); font-weight: 700; }
.diary__title { font-size: 16px; margin: 4px 0 6px; }
.diary__body { font-size: 15px; color: var(--color-muted); }
.detail-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: var(--space-lg); flex-wrap: wrap; }
.detail-nav__link {
  display: inline-flex; flex-direction: column; min-height: 56px; justify-content: center;
  border: 2px solid var(--color-ink); border-radius: 12px; padding: 10px 20px; text-decoration: none;
  background: var(--color-surface); font-family: var(--font-display); font-weight: 700; font-size: 15px; flex: 1; min-width: 140px;
}
.detail-nav__link:hover { background: var(--color-lime); }
.detail-nav__link--next { text-align: right; align-items: flex-end; }
.detail-nav__link small { font-family: var(--font-body); font-size: 14px; color: var(--color-muted); font-weight: 500; }

/* ---------- 出勤（日付タブ） ---------- */
.sched-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding: 4px 2px 12px; margin-bottom: var(--space-md); border-bottom: 2px solid var(--color-ink); }
.sched-tab {
  flex: 0 0 auto; min-width: 76px; min-height: 64px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; padding: 8px 12px; position: relative;
  border: 2px solid var(--color-ink); border-radius: 12px; background: var(--color-surface); font-family: var(--font-display);
}
.sched-tab[aria-selected="true"] { background: var(--color-cobalt); color: #fff; }
.sched-tab__wd { font-size: 14px; font-weight: 700; }
.sched-tab__date { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.sched-tab__closed { position: absolute; top: -8px; right: -6px; background: var(--color-coral); border: 1.5px solid var(--color-ink); color: var(--color-ink); font-size: 14px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.sched-label { font-size: 16px; font-weight: 700; margin-bottom: var(--space-sm); }
.sched-label strong { color: var(--color-cobalt); font-family: var(--font-display); }
.sched-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.sched-card {
  display: flex; flex-direction: column; text-decoration: none; background: var(--color-surface);
  border: 2px solid var(--color-ink); border-radius: var(--radius); overflow: hidden; transition: transform 0.15s;
}
.sched-card:nth-child(odd) { transform: rotate(-0.6deg); }
.sched-card:nth-child(even) { transform: rotate(0.6deg); }
.sched-card:hover { transform: translateY(-3px); }
.sched-card__ph { border: 0 !important; border-radius: 0 !important; border-bottom: 2px solid var(--color-ink) !important; }
.sched-card__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; padding: 10px 14px 0; }
.sched-card__ja { font-family: var(--font-body); font-size: 14px; color: var(--color-muted); font-weight: 500; margin-left: 6px; }
.sched-card__time { font-size: 14px; color: var(--color-muted); padding: 2px 14px 14px; }

/* ---------- 料金（フルページ） ---------- */
.sys-first {
  background: var(--color-cobalt); color: #fff; border: 2px solid var(--color-ink); border-radius: 18px;
  padding: 26px 24px; text-align: center; transform: rotate(-1deg); margin-bottom: var(--space-md);
}
.sys-first__label { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.08em; font-weight: 700; }
.sys-first__price { font-family: var(--font-display); font-size: clamp(2.4rem, 7vw, 3.6rem); font-weight: 700; line-height: 1.1; }
.sys-first__price span { font-size: 16px; font-weight: 500; margin-left: 8px; }
.sys-first__note { font-size: 15px; color: #e4ebfb; margin-top: 8px; }
#sys-sets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.sys-block { margin-top: var(--space-lg); }
.price-list { list-style: none; border-top: 2px solid var(--color-ink); }
.price-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 4px; border-bottom: 1px dashed var(--color-gray); flex-wrap: wrap; }
.price-row__name { font-size: 16px; font-weight: 500; }
.price-row__price { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--color-cobalt); }
.price-row__price--sm { font-size: 15px; font-family: var(--font-body); color: var(--color-ink); font-weight: 500; text-align: right; }
.sys-meta-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); margin-top: var(--space-lg); }
@media (min-width: 720px) { .sys-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sys-box { border: 2px solid var(--color-ink); border-radius: var(--radius); padding: 18px 20px; background: var(--color-surface); }
.sys-box h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 10px; }
.sys-box p, .sys-box li { font-size: 16px; }
.sys-box ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sys-box--pay li { border: 1.5px solid var(--color-ink); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 500; }
.sys-box--notes ul { flex-direction: column; gap: 6px; }
.sys-box--notes li { padding-left: 18px; position: relative; color: var(--color-muted); }
.sys-box--notes li::before { content: "※"; position: absolute; left: 0; color: var(--color-coral-text); }
.sys-service { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }

/* ---------- NEWS ページャ ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-md); }
.pager__btn {
  min-width: 44px; min-height: 44px; border: 2px solid var(--color-ink); border-radius: 12px;
  background: var(--color-surface); font-family: var(--font-display); font-size: 15px; font-weight: 700;
}
.pager__btn[aria-current="page"] { background: var(--color-cobalt); color: #fff; }
.pager__btn:hover { background: var(--color-lime); }
.pager__btn[aria-current="page"]:hover { background: var(--color-cobalt); color: #fff; }

/* ---------- NEWS 詳細 ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-family: var(--font-display); font-size: 14px; color: var(--color-muted); }
.article__title { font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.3; margin: 12px 0 var(--space-sm); }
.article__photo { margin: var(--space-sm) 0 var(--space-md); border: 2px solid var(--color-ink); border-radius: var(--radius); overflow: hidden; }
.article__photo .ph { border: 0; border-radius: 0; }
.article__body p { font-size: 16px; margin-bottom: 1em; }
.article__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: var(--space-lg); padding-top: var(--space-sm); border-top: 2px solid var(--color-ink); flex-wrap: wrap; }

/* ---------- ギャラリー ---------- */
#gallery-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-md); }
#gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.gallery__item { position: relative; padding: 0; border: 2px solid var(--color-ink); border-radius: var(--radius); overflow: hidden; background: none; cursor: zoom-in; }
.gallery__item:nth-child(3n+1) { transform: rotate(-0.7deg); }
.gallery__item:nth-child(3n) { transform: rotate(0.7deg); }
.gallery__item .ph { border: 0; border-radius: 0; }
.gallery__cat {
  position: absolute; left: 10px; bottom: 10px; z-index: 3; background: var(--color-lime);
  border: 1.5px solid var(--color-ink); font-family: var(--font-display); font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em; padding: 3px 12px; border-radius: 999px;
}

/* ---------- ライトボックス ---------- */
.lb { position: fixed; inset: 0; z-index: 330; display: flex; align-items: center; justify-content: center; }
.lb__backdrop { position: absolute; inset: 0; background: rgba(20, 20, 20, 0.72); border: 0; }
.lb__panel { position: relative; width: min(720px, calc(100vw - 32px)); background: var(--color-surface); border: 2px solid var(--color-ink); border-radius: 18px; padding: 16px; }
.lb__stage { border: 2px solid var(--color-ink); border-radius: 12px; overflow: hidden; }
.lb__stage .ph { border: 0; border-radius: 0; }
.lb__counter { text-align: center; font-family: var(--font-display); font-size: 14px; margin-top: 10px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); min-width: 48px; min-height: 48px; border: 2px solid var(--color-ink); border-radius: 999px; background: var(--color-surface); font-size: 20px; font-weight: 700; }
.lb__nav--prev { left: -8px; }
.lb__nav--next { right: -8px; }
.lb__nav:hover { background: var(--color-lime); }
.lb__close { display: block; margin: 12px auto 0; min-height: 48px; padding: 10px 28px; border: 2px solid var(--color-ink); border-radius: 999px; background: var(--color-ink); color: #fff; font-size: 15px; font-weight: 700; }
.lb__close:hover { background: var(--color-cobalt); }
@media (max-width: 599px) { .lb__nav--prev { left: 4px; } .lb__nav--next { right: 4px; } }

/* ---------- 採用 ---------- */
.merit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.merit { background: var(--color-surface); border: 2px solid var(--color-ink); border-radius: var(--radius); padding: 20px; }
.merit:nth-child(odd) { transform: rotate(-0.5deg); }
.merit:nth-child(even) { transform: rotate(0.5deg); }
.merit__title { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; }
.merit__title::before { content: "◆"; color: var(--color-coral-text); margin-right: 8px; }
.merit__body { font-size: 15px; color: var(--color-muted); }
.recruit-switch-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-md); }
.recruit-switch { min-height: 48px; padding: 10px 22px; border: 2px solid var(--color-ink); border-radius: 999px; background: var(--color-surface); font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.recruit-switch[aria-pressed="true"] { background: var(--color-cobalt); color: #fff; }
.recruit-conditions { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-sm); }
.recruit-conditions li { border: 1.5px solid var(--color-ink); border-radius: 999px; padding: 6px 16px; font-size: 15px; font-weight: 500; background: var(--color-surface); }
.recruit-trial { font-size: 16px; color: var(--color-ink); background: var(--color-lime); border: 2px solid var(--color-ink); border-radius: 12px; padding: 16px 18px; margin-top: var(--space-sm); }
/* コバルト帯の中に白カードを敷き、内部部品を明背景で読みやすく保つ */
.recruit-panel { background: var(--color-surface); color: var(--color-ink); border: 2px solid var(--color-ink); border-radius: var(--radius); padding: 22px 24px; }
.recruit-panel__head { font-family: var(--font-display); font-size: 1.1rem; margin-top: var(--space-md); }
.recruit-panel__head:first-child { margin-top: 0; }
.recruit-panel__note { font-size: 14px; color: var(--color-muted); margin-top: 10px; }

/* ---------- FAQ アコーディオン ---------- */
.acc { border: 2px solid var(--color-ink); border-radius: 12px; margin-bottom: 10px; overflow: hidden; background: var(--color-surface); }
.acc__heading { margin: 0; }
.acc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 12px 18px; background: none; border: 0; font-size: 16px; font-weight: 700; text-align: left; }
.acc__btn:hover { background: var(--color-bg); }
.acc__icon { flex-shrink: 0; font-family: var(--font-display); font-size: 20px; color: var(--color-cobalt); }
.acc__panel { padding: 0 18px 16px; }
.acc__panel p { font-size: 16px; color: var(--color-muted); }

/* ---------- フォーム ---------- */
.form-note { font-size: 15px; background: var(--color-bg); border: 1.5px dashed var(--color-ink); border-radius: 12px; padding: 14px 16px; margin-bottom: var(--space-md); }
.form__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
@media (min-width: 680px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form__row { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--space-sm); }
.form__label { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.req { background: var(--color-coral); border: 1.5px solid var(--color-ink); color: var(--color-ink); font-size: 14px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.form__input, .form__select, .form__textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 2px solid var(--color-ink); border-radius: 12px;
  background: var(--color-surface); font-family: var(--font-body); font-size: 16px; color: var(--color-ink);
}
.form__textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.form__input:focus, .form__select:focus, .form__textarea:focus { outline: 3px solid var(--color-cobalt); outline-offset: 1px; }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.form__check input { width: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; accent-color: var(--color-cobalt); }
.form__check a { color: var(--color-cobalt); text-underline-offset: 3px; }
.form__actions { margin-top: var(--space-md); }
.form__actions .btn { min-width: 220px; }

/* ---------- 確認画面 ---------- */
.confirm { border: 2px solid var(--color-ink); border-radius: var(--radius); padding: 24px 22px; background: var(--color-surface); margin-top: var(--space-md); }
.confirm__title { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 8px; }
.confirm__note { font-size: 15px; color: var(--color-muted); margin-bottom: var(--space-sm); }
.confirm__list { border-top: 2px solid var(--color-ink); }
.confirm__row { display: flex; gap: 14px; padding: 12px 4px; border-bottom: 1px dashed var(--color-gray); font-size: 16px; flex-wrap: wrap; }
.confirm__row dt { min-width: 8em; color: var(--color-muted); flex-shrink: 0; }
.confirm__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-md); }

/* ---------- アクセス補足 ---------- */
.access-extra { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); margin-top: var(--space-lg); }
@media (min-width: 720px) { .access-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.access-card { border: 2px solid var(--color-ink); border-radius: var(--radius); padding: 18px 20px; background: var(--color-surface); }
.access-card h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 10px; }
.access-card p { font-size: 16px; }
.access-card ol { margin: 8px 0 0 1.2em; }
.access-card li { font-size: 16px; padding: 3px 0; }

/* ---------- プライバシー（本文） ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-display); font-size: 1.3rem; margin: var(--space-md) 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--color-ink); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 16px; margin-bottom: 0.8em; }
.prose ul, .prose ol { margin-left: 1.3em; }
.prose address { font-style: normal; background: var(--color-bg); border: 1.5px solid var(--color-ink); border-radius: 12px; padding: 16px 18px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .fcard__inner { transition: none; }
}

/* Verify後の微修正: ホバーで直立（設計書C2のアニメ署名） */
.stack__card:hover, .stack__card:focus-visible { transform: rotate(0) translate(0, 0); }
@media (prefers-reduced-motion: reduce) { .stack__card:hover, .stack__card:focus-visible { transform: none; } }
