/* ============================================================
   FC ひばり野（架空）サンプルデザイン — 共通スタイル
   ネロ企画 / 2026-09
   方針: 単一デザイン・グラデーションなし・角丸2px・影なし・線画アイコン
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* 色: ChatGPT案のトークン（docs/02-design-system.md）を正本に統一 */
  --ink: #183044;
  --text: #183044;
  --sub: #61727d;
  --line: #d8e0e2;
  --line-strong: #cbd5d8;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --mist: #f1f5f6;
  --navy: #17324d;
  --navy-deep: #10283d;
  --orange: #c96132;
  --orange-dark: #a94820;
  --orange-soft: #e98657;
  --grass: #64735d;
  --success: #40745a;
  --warning: #b06a2a;
  --danger: #a44343;
  /* 既存クラスとの互換エイリアス（green系→navy、amber→orange） */
  --green: var(--navy);
  --green-deep: var(--navy-deep);
  --green-tint: var(--mist);
  --amber: var(--orange);
  --amber-tint: #f6eee5;

  /* 字 */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-latin: "Avenir Next", "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.5rem;

  /* 余白: 要素間 < ブロック間 < セクション間 */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-6: 24px;
  --s-8: 32px; --s-12: 48px; --s-16: 64px; --s-24: 96px;

  --radius: 2px;
  --radius-md: 3px;
  --shadow-min: 0 2px 6px rgba(0,0,0,0.05);
  --dur: 0.18s;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1160px;
  --header-h: 76px;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 44px); }
body {
  font-family: var(--font-jp);
  background: var(--paper);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; color: var(--navy); }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; vertical-align: top; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---- サンプル表示バー（ネロ企画の制作物であることを明示） ---- */
.mockbar {
  position: sticky; top: 0; z-index: 60;
  background: var(--ink); color: #e9ece9;
  font-size: var(--text-xs); text-align: center; padding: 6px 12px; letter-spacing: 0.04em;
}
.mockbar b { color: #fff; font-weight: 500; }
.mockbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; margin-left: 8px; }

/* ---- レイアウト基礎 ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6); }
.section { padding: var(--s-24) 0; }
.section.tight { padding: var(--s-16) 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--ink); color: #dfe4e0; }
.section.dark h2, .section.dark h3 { color: #fff; }
.grid { display: grid; gap: var(--s-8); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; } .col-12 { grid-column: span 12; }

.eyebrow {
  font-family: var(--font-latin); font-weight: 600; font-size: var(--text-sm);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--green); }
.eyebrow-jp { font-size: var(--text-sm); font-weight: 500; color: var(--green); letter-spacing: 0.08em; }
.section-head { margin-bottom: var(--s-12); max-width: 40em; }
.section-head h2 { font-size: var(--text-3xl); margin-top: var(--s-3); }
.section-head p { margin-top: var(--s-4); color: var(--sub); }
.lead { font-size: var(--text-lg); line-height: 1.9; }
.muted { color: var(--sub); }
.small { font-size: var(--text-sm); }
.num { font-family: var(--font-latin); font-weight: 600; letter-spacing: 0.02em; }

/* ---- ボタン: サイズと形で優先度を表す ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 var(--s-6); border-radius: var(--radius);
  font-weight: 700; font-size: var(--text-sm); letter-spacing: 0.04em; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { border: 1px solid var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { min-height: 40px; padding: 0 var(--s-3); color: var(--green); font-weight: 500; }
.btn-ghost:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn-lg { min-height: 56px; padding: 0 var(--s-8); font-size: var(--text-base); }
.btn-sm { min-height: 36px; padding: 0 var(--s-4); font-size: var(--text-xs); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.section.dark .btn-outline { border-color: rgba(255,255,255,0.35); color: #fff; }
.section.dark .btn-outline:hover { border-color: #fff; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--green); border-bottom: 1px solid transparent; transition: border-color var(--dur); }
.text-link:hover { border-color: currentColor; }
.text-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; }

/* ---- 線画アイコン共通 ---- */
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-lg { width: 32px; height: 32px; }
.icon-sm { width: 16px; height: 16px; }

/* ---- タグ・バッジ ---- */
.tag {
  display: inline-flex; align-items: center; gap: 6px; min-height: 22px; padding: 0 8px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: var(--text-xs);
  font-weight: 500; letter-spacing: 0.04em; color: var(--sub); line-height: 1; white-space: nowrap;
}
.tag-green { border-color: var(--green); color: var(--green); }
.tag-fill { background: var(--green); border-color: var(--green); color: #fff; }
.tag-amber { border-color: var(--amber); color: var(--amber); }
.tag-danger { border-color: var(--danger); color: var(--danger); }
.tag-muted { background: var(--green-tint); border-color: var(--green-tint); color: var(--ink); }
.cat-kids { --cat: #9a7b4f; } .cat-u10 { --cat: var(--grass); } .cat-u12 { --cat: var(--navy); }
.tag-cat { border-color: var(--cat); color: var(--cat); }
.dot-cat { width: 8px; height: 8px; border-radius: 50%; background: var(--cat); display: inline-block; flex: none; }

/* ---- 写真枠（サンプルでは線画のプレースホルダー） ---- */
.photo {
  position: relative; background: var(--green-tint); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--sub); font-size: var(--text-xs); letter-spacing: 0.06em; overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 39.5h40' stroke='%232f6b4f' stroke-opacity='.12'/%3E%3C/svg%3E");
}
.photo .icon { width: 36px; height: 36px; stroke-width: 1.2; color: var(--green); }
.photo.ratio-4x3 { aspect-ratio: 4 / 3; }
.photo.ratio-3x2 { aspect-ratio: 3 / 2; }
.photo.ratio-1x1 { aspect-ratio: 1 / 1; }
.photo.ratio-16x9 { aspect-ratio: 16 / 9; }

/* ---- ヘッダー ---- */
.site-header {
  position: sticky; top: 30px; z-index: 50;
  background: rgba(246,245,240,0.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 36px; height: 36px; color: var(--green); }
.brand .mark svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linejoin: round; }
.brand .name { font-weight: 700; font-size: var(--text-lg); color: var(--ink); line-height: 1.1; letter-spacing: 0.04em; }
.brand .name small { display: block; font-family: var(--font-latin); font-weight: 500; font-size: 11px; color: var(--sub); letter-spacing: 0.16em; margin-top: 3px; }
.nav { display: flex; gap: var(--s-6); font-size: var(--text-sm); font-weight: 500; }
.nav a { padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color var(--dur); }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: var(--s-3); }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px; font-size: var(--text-xs); letter-spacing: 0.1em; }
.menu-btn .icon { width: 22px; height: 22px; }

/* ---- ヒーロー ---- */
.hero { padding: var(--s-16) 0 var(--s-12); }
.hero .container { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--s-8); align-items: center; }
.hero-copy { grid-column: span 6; }
.hero-visual { grid-column: span 6; }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.25; letter-spacing: 0.04em; margin-top: var(--s-6); }
.hero h1 span { display: block; }
.hero-lead { margin-top: var(--s-6); max-width: 30em; color: var(--text); font-size: var(--text-lg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }
.hero-note { margin-top: var(--s-4); font-size: var(--text-xs); color: var(--sub); display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-visual .photo { aspect-ratio: 5 / 4; }

/* ---- 実数ストリップ ---- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.facts .container { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.fact { padding: var(--s-6) var(--s-6) var(--s-6) 0; border-right: 1px solid var(--line); }
.fact + .fact { padding-left: var(--s-6); }
.fact:last-child { border-right: 0; }
.fact .label { font-size: var(--text-xs); color: var(--sub); letter-spacing: 0.08em; }
.fact .value { font-family: var(--font-latin); font-weight: 600; font-size: var(--text-3xl); line-height: 1.1; margin-top: 4px; color: var(--ink); }
.fact .value small { font-family: var(--font-jp); font-size: var(--text-sm); font-weight: 500; margin-left: 4px; color: var(--sub); }

/* ---- 親の不安（入口3枚） ---- */
.worries { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border: 1px solid var(--line); background: var(--surface); }
.worry { padding: var(--s-8); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s-4); }
.worry:last-child { border-right: 0; }
.worry .icon { color: var(--green); width: 28px; height: 28px; }
.worry h3 { font-size: var(--text-xl); }
.worry p { color: var(--sub); font-size: var(--text-sm); flex: 1; }

/* ---- 特徴・価値 ---- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-8); }
.feature { padding-top: var(--s-6); border-top: 2px solid var(--ink); }
.feature .no { font-family: var(--font-latin); font-weight: 600; color: var(--green); font-size: var(--text-sm); letter-spacing: 0.1em; }
.feature h3 { font-size: var(--text-xl); margin-top: var(--s-2); }
.feature p { margin-top: var(--s-3); color: var(--sub); font-size: var(--text-sm); }

/* ---- カテゴリー ---- */
.cats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-6); }
.cat { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--cat); padding: var(--s-6); }
.cat .cat-name { font-family: var(--font-latin); font-weight: 600; font-size: var(--text-2xl); letter-spacing: 0.04em; color: var(--cat); line-height: 1; }
.cat .cat-grade { font-size: var(--text-sm); font-weight: 700; margin-top: 6px; }
.cat p { font-size: var(--text-sm); color: var(--sub); margin-top: var(--s-3); }
.cat dl { margin-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--text-sm); }
.cat dl div { display: flex; gap: var(--s-3); padding: 8px 0; border-bottom: 1px solid var(--line); }
.cat dt { width: 4.5em; color: var(--sub); flex: none; }
.cat dd { font-weight: 500; }

/* ---- 表（練習・費用） ---- */
.table { background: var(--surface); border: 1px solid var(--line); font-size: var(--text-sm); }
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.table thead th { font-size: var(--text-xs); color: var(--sub); font-weight: 500; letter-spacing: 0.06em; background: var(--paper); }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { font-weight: 500; color: var(--ink); white-space: nowrap; }
.table .price { font-family: var(--font-latin); font-weight: 600; font-size: var(--text-lg); white-space: nowrap; }
.table .price small { font-family: var(--font-jp); font-size: var(--text-xs); font-weight: 400; color: var(--sub); margin-left: 2px; }
.table-note { font-size: var(--text-xs); color: var(--sub); margin-top: var(--s-3); }

/* ---- 週間スケジュール ---- */
.week { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); border: 1px solid var(--line); background: var(--surface); }
.day { padding: var(--s-4); border-right: 1px solid var(--line); min-height: 150px; }
.day:last-child { border-right: 0; }
.day .dow { font-family: var(--font-latin); font-weight: 600; font-size: var(--text-sm); letter-spacing: 0.1em; color: var(--sub); }
.day .dow.sat { color: var(--navy); } .day .dow.sun { color: var(--danger); }
.day ul { margin-top: var(--s-3); display: flex; flex-direction: column; gap: 6px; }
.day li { font-size: var(--text-xs); line-height: 1.5; padding-left: 12px; position: relative; }
.day li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--cat, var(--line-strong)); }
.day li b { display: block; font-weight: 700; color: var(--ink); }
.day .off { color: var(--sub); font-size: var(--text-xs); margin-top: var(--s-3); }

/* ---- 流れ（ステップ） ---- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-8); counter-reset: step; }
.step { position: relative; padding-top: var(--s-4); border-top: 1px solid var(--line-strong); }
.step .no { font-family: var(--font-latin); font-weight: 600; font-size: var(--text-2xl); color: var(--green); line-height: 1; }
.step h3 { font-size: var(--text-lg); margin-top: var(--s-3); }
.step p { font-size: var(--text-sm); color: var(--sub); margin-top: var(--s-2); }

/* ---- お知らせ・試合（リスト） ---- */
.list { border-top: 1px solid var(--line); }
.list li { border-bottom: 1px solid var(--line); }
.list a, .list .row { display: grid; grid-template-columns: 110px 96px 1fr auto; gap: var(--s-4); align-items: center; padding: 16px 0; transition: background-color var(--dur); }
.list a:hover { background: var(--surface); }
.list time { font-family: var(--font-latin); font-weight: 500; color: var(--sub); font-size: var(--text-sm); letter-spacing: 0.04em; }
.list .title { font-weight: 500; }
.list .arrow { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; color: var(--sub); }

/* ---- 試合予定（カード列） ---- */
.matches { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-6); }
.match { background: var(--surface); border: 1px solid var(--line); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); }
.match .date { display: flex; align-items: baseline; gap: 8px; }
.match .date .d { font-family: var(--font-latin); font-weight: 600; font-size: var(--text-3xl); line-height: 1; color: var(--ink); }
.match .date .m { font-family: var(--font-latin); font-weight: 500; font-size: var(--text-sm); color: var(--sub); letter-spacing: 0.06em; }
.match h3 { font-size: var(--text-lg); }
.match .meta { display: flex; flex-direction: column; gap: 4px; font-size: var(--text-sm); color: var(--sub); }
.match .meta span { display: inline-flex; gap: 8px; align-items: center; }

/* ---- コーチ ---- */
.coaches { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-8); }
.coach .photo { aspect-ratio: 4 / 5; }
.coach .role { font-size: var(--text-xs); color: var(--green); letter-spacing: 0.08em; margin-top: var(--s-4); font-weight: 500; }
.coach h3 { font-size: var(--text-lg); margin-top: 2px; }
.coach p { font-size: var(--text-sm); color: var(--sub); margin-top: var(--s-2); }

/* ---- FAQ ---- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 28px 1fr 24px; gap: var(--s-4); align-items: center; padding: 20px 0; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--font-latin); font-weight: 600; color: var(--green); }
.faq summary .icon { width: 20px; height: 20px; transition: transform var(--dur) var(--ease); color: var(--sub); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .a { padding: 0 0 20px 44px; color: var(--sub); font-size: var(--text-sm); max-width: 44em; }

/* ---- アクセス ---- */
.access { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-8); }
.access dl { border-top: 1px solid var(--line); font-size: var(--text-sm); }
.access dl div { display: grid; grid-template-columns: 7em 1fr; gap: var(--s-4); padding: 12px 0; border-bottom: 1px solid var(--line); }
.access dt { color: var(--sub); }
.map { aspect-ratio: 16 / 10; }

/* ---- 体験申込フォーム ---- */
.form-wrap { background: var(--surface); border: 1px solid var(--line); padding: var(--s-8); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--text-sm); font-weight: 500; }
.field label .req { color: var(--danger); font-size: var(--text-xs); margin-left: 6px; font-weight: 500; }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: var(--text-base);
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: var(--ink);
  transition: border-color var(--dur);
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366716b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-4) var(--s-6); }
.form-grid .full { grid-column: 1 / -1; }
.radios { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.radio { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: var(--text-sm); cursor: pointer; }
.radio input { accent-color: var(--green); }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: var(--text-sm); }
.check input { margin-top: 6px; accent-color: var(--green); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-6); }
.form-foot p { font-size: var(--text-xs); color: var(--sub); }

/* ---- CTA帯 ---- */
.cta-band .container { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-8); align-items: center; }
.cta-band h2 { font-size: var(--text-3xl); }
.cta-band p { margin-top: var(--s-4); color: #c9d1cb; max-width: 34em; }
.cta-band .actions { display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-start; }
.cta-band .tel { font-family: var(--font-latin); font-weight: 600; font-size: var(--text-3xl); color: #fff; letter-spacing: 0.04em; line-height: 1.1; }
.cta-band .tel small { display: block; font-family: var(--font-jp); font-size: var(--text-xs); font-weight: 400; color: #aeb8b1; letter-spacing: 0.06em; margin-bottom: 4px; }

/* ---- フッター ---- */
.site-footer { border-top: 1px solid var(--line); padding: var(--s-12) 0 var(--s-8); font-size: var(--text-sm); }
.site-footer .container { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-8); }
.site-footer .cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-6); }
.site-footer h4 { font-size: var(--text-xs); color: var(--sub); letter-spacing: 0.1em; font-weight: 500; margin-bottom: var(--s-3); }
.site-footer li { margin-bottom: 6px; }
.site-footer li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: var(--s-4); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3); font-size: var(--text-xs); color: var(--sub); }
.member-link { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-4); padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: var(--text-xs); font-weight: 500; }
.member-link .icon { width: 16px; height: 16px; }

/* ---- スマホ固定CTA ---- */
.sp-cta { display: none; }

/* ============================================================
   会員向け（連絡網・試合予定）と管理画面: アプリ寄りの密度
   ============================================================ */
.app { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 30px); }
.app-side { background: var(--surface); border-right: 1px solid var(--line); padding: var(--s-6) var(--s-4); position: sticky; top: 30px; height: calc(100vh - 30px); overflow: auto; }
.app-side .brand { padding: 0 var(--s-2) var(--s-6); border-bottom: 1px solid var(--line); margin-bottom: var(--s-4); }
.app-side .brand .mark { width: 30px; height: 30px; }
.app-side .brand .name { font-size: var(--text-base); }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav .label { font-size: var(--text-xs); color: var(--sub); letter-spacing: 0.1em; padding: var(--s-4) var(--s-2) var(--s-2); }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius); font-size: var(--text-sm); font-weight: 500; color: var(--text); border-left: 2px solid transparent; }
.side-nav a .icon { width: 18px; height: 18px; color: var(--sub); }
.side-nav a:hover { background: var(--paper); }
.side-nav a[aria-current="page"] { background: var(--green-tint); color: var(--ink); border-left-color: var(--green); }
.side-nav a[aria-current="page"] .icon { color: var(--green); }
.side-nav .count { margin-left: auto; font-family: var(--font-latin); font-weight: 600; font-size: var(--text-xs); min-width: 20px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--amber); color: #fff; }
.side-user { margin-top: auto; padding-top: var(--s-6); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: var(--text-xs); color: var(--sub); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-latin); font-weight: 600; font-size: var(--text-sm); flex: none; }
.side-user b { display: block; color: var(--ink); font-weight: 500; font-size: var(--text-sm); }

.app-main { padding: var(--s-8) var(--s-8) var(--s-16); min-width: 0; }
.app-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; margin-bottom: var(--s-8); }
.app-head h1 { font-size: var(--text-2xl); }
.app-head .sub { font-size: var(--text-sm); color: var(--sub); margin-top: 4px; }
.app-head .actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) var(--s-8); border-bottom: 1px solid var(--line); background: var(--surface); font-size: var(--text-sm); }
.topbar .crumbs { color: var(--sub); display: flex; gap: 8px; }
.topbar .crumbs b { color: var(--ink); font-weight: 500; }

/* KPIタイル */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s-4); margin-bottom: var(--s-8); }
.kpi { background: var(--surface); border: 1px solid var(--line); padding: var(--s-4) var(--s-6); border-radius: var(--radius); }
.kpi .label { font-size: var(--text-xs); color: var(--sub); letter-spacing: 0.06em; }
.kpi .value { font-family: var(--font-latin); font-weight: 600; font-size: var(--text-4xl); line-height: 1.1; margin-top: 4px; color: var(--ink); }
.kpi .value small { font-family: var(--font-jp); font-size: var(--text-sm); font-weight: 400; color: var(--sub); margin-left: 4px; }
.kpi .delta { font-size: var(--text-xs); margin-top: 4px; color: var(--sub); }
.kpi .delta.up { color: var(--green); } .kpi .delta.warn { color: var(--amber); }

/* パネル */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) var(--s-6); border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: var(--text-base); }
.panel-body { padding: var(--s-6); }
.panel-foot { padding: var(--s-3) var(--s-6); border-top: 1px solid var(--line); font-size: var(--text-xs); color: var(--sub); display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); }
.two { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-6); align-items: start; }
.stack { display: flex; flex-direction: column; gap: var(--s-6); }

/* データ表 */
.data { font-size: var(--text-sm); }
.data th, .data td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.data thead th { font-size: var(--text-xs); color: var(--sub); font-weight: 500; letter-spacing: 0.06em; background: var(--paper); white-space: nowrap; }
.data tbody tr:hover { background: var(--paper); }
.data tbody tr:last-child td { border-bottom: 0; }
.data .name { font-weight: 500; color: var(--ink); }
.data .sub { display: block; font-size: var(--text-xs); color: var(--sub); }
.data .r { text-align: right; }
/* 操作列: td を flex にするとセルでなくなり罫線がずれる（2026-09-03 本人指摘）→ セルのまま右寄せ */
.data td.actions { text-align: right; white-space: nowrap; vertical-align: middle; }
.data td.actions > * { vertical-align: middle; }
.data td.actions > * + * { margin-left: 6px; }
.icon-btn { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); color: var(--sub); }
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.icon-btn .icon { width: 16px; height: 16px; }

/* ステータス（線画ドット＋文字） */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-weight: 500; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.status.new { color: var(--amber); } .status.new::before { background: currentColor; }
.status.done { color: var(--green); } .status.done::before { background: currentColor; }
.status.wait { color: var(--sub); }
.status.ng { color: var(--danger); }

/* フィルタ・チップ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 34px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 17px; font-size: var(--text-xs); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; background: var(--surface); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-6); }
.search { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); min-width: 260px; font-size: var(--text-sm); color: var(--sub); }
.search .icon { width: 16px; height: 16px; }

/* 進捗バー（出欠） */
.bar { height: 8px; background: var(--green-tint); border-radius: 4px; overflow: hidden; display: flex; }
.bar i { display: block; height: 100%; }
.bar .yes { background: var(--green); } .bar .no { background: var(--line-strong); } .bar .hold { background: var(--amber); }
.legend { display: flex; gap: 14px; font-size: var(--text-xs); color: var(--sub); margin-top: 8px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* ---- 連絡網（フィード） ---- */
.feed { display: flex; flex-direction: column; gap: var(--s-4); }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.post.important { border-left: 3px solid var(--amber); }
.post-head { display: flex; align-items: center; gap: 10px; padding: var(--s-4) var(--s-6) 0; flex-wrap: wrap; }
.post-head time { font-family: var(--font-latin); font-size: var(--text-xs); color: var(--sub); letter-spacing: 0.04em; }
.post-head .from { font-size: var(--text-xs); color: var(--sub); margin-left: auto; }
.post h3 { font-size: var(--text-lg); padding: var(--s-2) var(--s-6) 0; }
.post .body { padding: var(--s-3) var(--s-6) var(--s-4); font-size: var(--text-sm); color: var(--text); }
.post .body p + p { margin-top: 8px; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 var(--s-6); }
.kv div { padding: 10px 0; padding-right: var(--s-4); font-size: var(--text-sm); }
.kv div + div { border-left: 1px solid var(--line); padding-left: var(--s-4); }
.kv dt { font-size: var(--text-xs); color: var(--sub); display: flex; align-items: center; gap: 6px; }
.kv dt .icon { width: 14px; height: 14px; }
.kv dd { font-weight: 500; margin-top: 2px; }
.rsvp { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4) var(--s-6); flex-wrap: wrap; }
.rsvp .label { font-size: var(--text-xs); color: var(--sub); margin-right: 4px; }
.rsvp .btn-outline[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.rsvp .count { margin-left: auto; font-size: var(--text-xs); color: var(--sub); display: inline-flex; align-items: center; gap: 6px; }
.rsvp .count .icon { width: 14px; height: 14px; }
.post-foot { padding: var(--s-3) var(--s-6); border-top: 1px solid var(--line); font-size: var(--text-xs); color: var(--sub); display: flex; gap: var(--s-4); }
.post-foot a { display: inline-flex; align-items: center; gap: 6px; }
.post-foot .icon { width: 14px; height: 14px; }

/* 子ども切替 */
.child-switch { display: flex; gap: 8px; }
.child-switch button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 6px; border: 1px solid var(--line-strong); border-radius: 20px; font-size: var(--text-sm); font-weight: 500; background: var(--surface); }
.child-switch button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.child-switch button[aria-pressed="true"] .avatar { background: rgba(255,255,255,0.15); color: #fff; }
.child-switch .avatar { width: 28px; height: 28px; font-size: var(--text-xs); }

/* ---- 試合予定（月表示） ---- */
.month-nav { display: flex; align-items: center; gap: var(--s-3); }
.month-nav h2 { font-family: var(--font-latin); font-weight: 600; font-size: var(--text-2xl); letter-spacing: 0.04em; min-width: 6em; text-align: center; }
.agenda { border-top: 1px solid var(--line-strong); }
.agenda-day { display: grid; grid-template-columns: 96px 1fr; gap: var(--s-6); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.agenda-day .d { font-family: var(--font-latin); font-weight: 600; font-size: var(--text-3xl); line-height: 1; color: var(--ink); }
.agenda-day .d small { display: block; font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.1em; color: var(--sub); margin-top: 4px; }
.agenda-day .d.sat small { color: var(--navy); } .agenda-day .d.sun small { color: var(--danger); }
.agenda-day .d.today::after { content: "今日"; display: inline-block; font-family: var(--font-jp); font-size: 10px; font-weight: 500; color: #fff; background: var(--green); padding: 1px 6px; border-radius: 2px; margin-top: 6px; }
.events { display: flex; flex-direction: column; gap: var(--s-3); }
.event { display: grid; grid-template-columns: 90px 1fr auto; gap: var(--s-4); align-items: start; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--cat, var(--line-strong)); padding: var(--s-4) var(--s-6); border-radius: var(--radius); }
.event .time { font-family: var(--font-latin); font-weight: 600; font-size: var(--text-base); color: var(--ink); line-height: 1.3; }
.event .time small { display: block; font-family: var(--font-jp); font-size: var(--text-xs); font-weight: 400; color: var(--sub); }
.event h3 { font-size: var(--text-base); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.event .meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: var(--text-xs); color: var(--sub); margin-top: 6px; }
.event .meta span { display: inline-flex; align-items: center; gap: 6px; }
.event .meta .icon { width: 14px; height: 14px; }
.event .side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.event.off { background: transparent; border-style: dashed; border-left-style: solid; }
.event.off h3 { color: var(--sub); font-weight: 500; }
.score { font-family: var(--font-latin); font-weight: 600; font-size: var(--text-lg); letter-spacing: 0.06em; }
.score.win { color: var(--green); } .score.lose { color: var(--sub); }

/* ---- ログイン（連絡網の入口） ---- */
.login { max-width: 420px; margin: var(--s-24) auto; background: var(--surface); border: 1px solid var(--line); padding: var(--s-8); }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
  .grid-12 { grid-template-columns: 1fr; }
  .grid-12 > [class*="col-"] { grid-column: auto; }
  .two { grid-template-columns: minmax(0,1fr); }
  .two > *, .stack, .stack > *, .panel { min-width: 0; }
  .hero-copy, .hero-visual { grid-column: span 12; }
  .hero-visual { order: -1; }
  .hero-visual .photo { aspect-ratio: 16 / 9; }
  .nav { display: none; }
  .header-cta .btn-outline { display: none; }
  .menu-btn { display: inline-flex; }
  .worries, .values, .cats, .steps, .coaches, .matches { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .worry { border-right: 0; border-bottom: 1px solid var(--line); }
  .worry:nth-child(odd) { border-right: 1px solid var(--line); }
  .week { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .day:nth-child(4) { border-right: 0; }
  .day:nth-child(n+5) { border-top: 1px solid var(--line); }
  .access, .cta-band .container, .site-footer .container, .two { grid-template-columns: 1fr; }
  .app { grid-template-columns: 200px 1fr; }
  .app-main { padding: var(--s-6) var(--s-6) var(--s-12); }
  .kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  :root { --header-h: 60px; --text-3xl: 1.625rem; --text-4xl: 2rem; }
  .section { padding: var(--s-16) 0; }
  .section.tight { padding: var(--s-12) 0; }
  .container { padding: 0 var(--s-4); }
  .hero { padding: var(--s-8) 0 var(--s-12); }
  .hero h1 { font-size: 2rem; }
  .hero-actions .btn { width: 100%; }
  .facts .container { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); padding: var(--s-4) 0; }
  .fact:nth-child(odd) { border-right: 1px solid var(--line); padding-right: var(--s-4); }
  .fact:nth-child(even) { padding-left: var(--s-4); }
  .fact:nth-last-child(-n+2) { border-bottom: 0; }
  .fact .value { font-size: var(--text-2xl); }
  .worries, .values, .cats, .steps, .coaches, .matches, .form-grid, .kpis, .site-footer .cols { grid-template-columns: 1fr; }
  .worry { border-right: 0 !important; }
  .worry:last-child { border-bottom: 0; }
  .week { grid-template-columns: 1fr; }
  .day { border-right: 0; border-top: 1px solid var(--line); min-height: 0; display: grid; grid-template-columns: 56px 1fr; gap: var(--s-3); }
  .day:first-child { border-top: 0; }
  .day ul { margin-top: 0; }
  .day .off { margin-top: 0; }
  .list a, .list .row { grid-template-columns: 1fr auto; grid-template-rows: auto auto; }
  .list time { grid-column: 1; }
  .list .tag { grid-column: 2; grid-row: 1; justify-self: end; }
  .list .title { grid-column: 1 / -1; }
  .list .arrow { display: none; }
  .brand .name small { display: none; }
  .header-cta .btn { min-height: 40px; padding: 0 var(--s-4); font-size: var(--text-xs); }
  .cta-band h2 { font-size: var(--text-2xl); }
  .sp-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
  .sp-cta a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-size: var(--text-sm); font-weight: 700; background: var(--surface); }
  .sp-cta a.primary { background: var(--green); color: #fff; }
  .sp-cta .icon { width: 18px; height: 18px; }
  body.has-sp-cta { padding-bottom: 56px; }
  .app { grid-template-columns: minmax(0,1fr); }
  .app > * { min-width: 0; }
  .topbar { flex-wrap: wrap; }
  .child-switch { width: 100%; }
  .app-side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: var(--s-4); }
  .side-nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .side-nav .label, .side-user { display: none; }
  .side-nav a { border-left: 0; border-bottom: 2px solid transparent; padding: 8px 10px; }
  .side-nav a[aria-current="page"] { border-bottom-color: var(--green); background: transparent; }
  .app-main { padding: var(--s-6) var(--s-4) var(--s-12); }
  .topbar { padding: var(--s-3) var(--s-4); }
  .kv { grid-template-columns: 1fr; margin: 0 var(--s-4); }
  .kv div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .post-head, .post h3, .post .body, .rsvp, .post-foot { padding-left: var(--s-4); padding-right: var(--s-4); }
  .rsvp .count { margin-left: 0; width: 100%; }
  .agenda-day { grid-template-columns: 1fr; gap: var(--s-3); padding: var(--s-4) 0; }
  .agenda-day .d { font-size: var(--text-2xl); display: flex; align-items: baseline; gap: 10px; }
  .agenda-day .d small { margin-top: 0; }
  .event { grid-template-columns: 1fr; gap: var(--s-2); padding: var(--s-4); }
  .event .side { flex-direction: row; align-items: center; justify-content: flex-start; }
  .data { display: block; overflow-x: auto; }
  .data table { min-width: 640px; }
  .search { min-width: 0; width: 100%; }
  .login { margin: var(--s-12) var(--s-4); padding: var(--s-6); }
  .child-switch { overflow-x: auto; }
}

/* 費用の目安リスト */
.kv-list { border-top: 1px solid var(--line); font-size: var(--text-sm); }
.kv-list div { display: grid; grid-template-columns: 1fr auto; gap: var(--s-4); padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv-list dt { color: var(--sub); }
.kv-list dd { text-align: right; }

/* ---- スマホ幅の追加調整（2026-09-02 実機幅の確認で追加） ---- */
.brand .name { white-space: nowrap; }
.panel-head { flex-wrap: wrap; }
@media (max-width: 680px) {
  .header-cta .btn-primary { display: none; }   /* 画面下の固定CTAに一本化 */
  .day .off { grid-column: 2; }
  /* 費用表: 3列を「項目｜金額」＋下段に備考 の2段組みへ */
  .table thead { display: none; }
  .table tbody tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
  .table tbody tr:last-child { border-bottom: 0; }
  .table tbody th, .table tbody td { border-bottom: 0; padding: 12px 14px; }
  .table tbody th { padding-bottom: 0; }
  .table tbody td.price { padding-bottom: 0; text-align: right; }
  .table tbody td:last-child { grid-column: 1 / -1; padding-top: 2px; font-size: var(--text-xs); color: var(--sub); }
}

/* ============================================================
   デモサイト化で追加した部品（トースト・モーダル・フォーム検証・空状態）
   ============================================================ */
.mockbar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 14px; }
.mockbar-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.mockbar-links a { margin: 0; }
.mockbar-user { display: inline-flex; align-items: center; gap: 4px; color: #b7c3bb; }
.mockbar-reset { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-size: var(--text-xs); border: 1px solid rgba(255,255,255,0.35); border-radius: var(--radius); padding: 2px 8px; }
.mockbar-reset:hover { border-color: #fff; }
.topbar-right { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.side-user .icon-btn { margin-left: auto; }

.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-size: var(--text-sm); opacity: 0; transform: translateY(6px); transition: opacity var(--dur), transform var(--dur); }
.toast.show { opacity: 1; transform: none; }
.toast .icon { width: 18px; height: 18px; color: var(--orange-soft); }
.toast.danger .icon { color: #e6b3a8; }
@media (max-width: 680px) { .toasts { bottom: 72px; width: calc(100% - 32px); } .toast { width: 100%; } }

.modal-back { position: fixed; inset: 0; background: rgba(30,41,36,0.55); z-index: 80; display: flex; align-items: center; justify-content: center; padding: var(--s-4); overflow: auto; }
.modal { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; }
.modal.wide { max-width: 860px; }
.modal-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; color: var(--sub); border-radius: var(--radius); }
.modal-close:hover { background: var(--paper); color: var(--ink); }
.modal-close .icon { width: 18px; height: 18px; }
.modal-body { padding: var(--s-8); }
.modal-body h2 { font-size: var(--text-xl); margin-bottom: var(--s-4); padding-right: 32px; }
.modal-msg { font-size: var(--text-base); }
.modal-actions { display: flex; justify-content: flex-end; gap: var(--s-3); margin-top: var(--s-6); flex-wrap: wrap; }
body.modal-open { overflow: hidden; }
@media (max-width: 680px) { .modal-body { padding: var(--s-6) var(--s-4); } }

.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--danger); }
.field .err { display: none; font-size: var(--text-xs); color: var(--danger); }
.field.invalid .err { display: block; }
.form-msg { border: 1px solid var(--danger); color: var(--danger); padding: 10px 14px; font-size: var(--text-sm); border-radius: var(--radius); margin-bottom: var(--s-4); }
.done-box { background: var(--surface); border: 1px solid var(--line); padding: var(--s-8); }
.done-box .no { font-family: var(--font-latin); font-weight: 600; font-size: var(--text-3xl); color: var(--green); letter-spacing: 0.06em; }
.done-box .mail-preview { background: var(--paper); border: 1px solid var(--line); padding: var(--s-4); font-size: var(--text-sm); white-space: pre-wrap; margin-top: var(--s-4); line-height: 1.7; }
.mail-preview { background: var(--paper); border: 1px solid var(--line); padding: var(--s-4); font-size: var(--text-sm); white-space: pre-wrap; line-height: 1.7; }

.empty { padding: var(--s-12) var(--s-6); text-align: center; color: var(--sub); font-size: var(--text-sm); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty .icon { width: 28px; height: 28px; margin: 0 auto var(--s-3); color: var(--line-strong); }

.detail-grid { display: grid; grid-template-columns: 8em 1fr; gap: 8px var(--s-4); font-size: var(--text-sm); }
.detail-grid dt { color: var(--sub); }
.detail-grid dd { font-weight: 500; }
.history { border-top: 1px solid var(--line); margin-top: var(--s-4); font-size: var(--text-xs); color: var(--sub); }
.history li { padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; gap: var(--s-3); }
.history time { font-family: var(--font-latin); flex: none; }
.status-select { min-height: 36px; font-size: var(--text-sm); padding: 4px 30px 4px 10px; width: auto; }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: var(--s-6); overflow-x: auto; }
.tabs button { padding: 10px 14px; font-size: var(--text-sm); font-weight: 500; color: var(--sub); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--green); }

.comments { border-top: 1px solid var(--line); margin: 0 var(--s-6); padding: var(--s-4) 0; }
.comment { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 8px 0; font-size: var(--text-sm); }
.comment .avatar { width: 28px; height: 28px; font-size: var(--text-xs); }
.comment .who { font-size: var(--text-xs); color: var(--sub); display: flex; gap: 8px; }
.comment-form { display: flex; gap: 8px; margin-top: var(--s-3); }
.comment-form .input { min-height: 40px; }
@media (max-width: 680px) { .comments { margin: 0 var(--s-4); } }

.album-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s-3); }
.album-grid .photo { aspect-ratio: 4 / 3; cursor: pointer; }
.album-grid .photo.hidden-photo { opacity: 0.45; }
.album-card { background: var(--surface); border: 1px solid var(--line); padding: var(--s-4); display: flex; flex-direction: column; gap: 8px; }
.album-card .photo { aspect-ratio: 3 / 2; }
.album-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-4); }
@media (max-width: 1024px) { .album-list { grid-template-columns: repeat(2, minmax(0,1fr)); } .album-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 680px) { .album-list { grid-template-columns: 1fr; } .album-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.matrix { font-size: var(--text-xs); }
.matrix th, .matrix td { padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.matrix thead th { position: sticky; top: 0; background: var(--paper); z-index: 1; }
.matrix .ans { display: inline-block; width: 22px; height: 22px; line-height: 20px; text-align: center; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.matrix .ans.a0 { background: var(--green); border-color: var(--green); color: #fff; }
.matrix .ans.a1 { background: var(--line-strong); border-color: var(--line-strong); color: #fff; }
.matrix .ans.a2 { background: var(--amber); border-color: var(--amber); color: #fff; }
.matrix-wrap { max-height: 520px; overflow: auto; border: 1px solid var(--line); }

.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: var(--text-sm); }
.toggle input { appearance: none; width: 40px; height: 22px; border: 1px solid var(--line-strong); border-radius: 11px; position: relative; background: var(--surface); transition: background-color var(--dur), border-color var(--dur); flex: none; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--line-strong); transition: transform var(--dur), background-color var(--dur); }
.toggle input:checked { background: var(--green); border-color: var(--green); }
.toggle input:checked::after { transform: translateX(18px); background: #fff; }

.login-list { display: flex; flex-direction: column; gap: var(--s-3); }
.login-item { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4); border: 1px solid var(--line-strong); border-radius: var(--radius); text-align: left; background: var(--surface); width: 100%; }
.login-item:hover { border-color: var(--ink); }
.login-item .avatar { width: 40px; height: 40px; }
.login-item b { display: block; font-size: var(--text-base); }
.login-item span { font-size: var(--text-xs); color: var(--sub); }
.login-item .icon { margin-left: auto; color: var(--sub); }

.news-detail { max-width: 44em; }
.news-detail .body { margin-top: var(--s-6); }
.news-detail .body p + p { margin-top: var(--s-4); }
.cat-check { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); border: 1px solid var(--line-strong); padding: 6px 12px; border-radius: var(--radius); cursor: pointer; }
.cat-check input { accent-color: var(--green); }
.inline-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rsvp-hint { font-size: var(--text-xs); color: var(--sub); }
.week-scroll { overflow-x: auto; }
.sticky-foot { position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); padding: var(--s-3) var(--s-6); display: flex; gap: var(--s-3); justify-content: flex-end; }
.event.past { opacity: 0.7; }
.result-line { display: flex; align-items: center; gap: 10px; }
.log li { font-size: var(--text-xs); color: var(--sub); padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; }
.log time { font-family: var(--font-latin); flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
a.kpi { display: block; color: inherit; transition: border-color var(--dur); }
a.kpi:hover { border-color: var(--ink); }
.data tr.past { opacity: 0.6; }
.form-grid.full { grid-column: 1 / -1; }
.modal .form-grid .modal-actions { grid-column: 1 / -1; }

.comments[data-empty] { border-top: 0; padding-top: 0; }
.comments[data-empty] .comment-form[hidden] + * { display: none; }

.comment-form[hidden] { display: none; }
@media (max-width: 680px) { .event .side { flex-wrap: wrap; } }


/* ============================================================
   ChatGPT案の採用（2026-09-03）: 運営サイドバーは濃紺、公開サイトは新セクション
   ============================================================ */
body[data-page^="admin"] .app-side { background: var(--navy-deep); border-right-color: var(--navy-deep); color: #fff; }
body[data-page^="admin"] .app-side .brand { border-bottom-color: rgba(255,255,255,0.15); }
body[data-page^="admin"] .app-side .brand .mark { color: #fff; }
body[data-page^="admin"] .app-side .brand .name { color: #fff; }
body[data-page^="admin"] .app-side .brand .name small { color: rgba(255,255,255,0.55); }
body[data-page^="admin"] .side-nav .label { color: rgba(255,255,255,0.4); }
body[data-page^="admin"] .side-nav a { color: rgba(255,255,255,0.62); }
body[data-page^="admin"] .side-nav a .icon { color: rgba(255,255,255,0.55); }
body[data-page^="admin"] .side-nav a:hover { background: rgba(255,255,255,0.05); color: #fff; }
body[data-page^="admin"] .side-nav a[aria-current="page"] { background: rgba(255,255,255,0.1); color: #fff; border-left-color: var(--orange-soft); }
body[data-page^="admin"] .side-nav a[aria-current="page"] .icon { color: #fff; }
body[data-page^="admin"] .side-nav .count { background: transparent; border: 1px solid rgba(233,134,87,0.7); color: #f1a17b; border-radius: 0; }
body[data-page^="admin"] .side-user { border-top-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.55); }
body[data-page^="admin"] .side-user b { color: #fff; }
body[data-page^="admin"] .side-user .avatar { background: var(--orange); color: #fff; }
body[data-page^="admin"] .side-user .icon-btn { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.7); }
@media (max-width: 680px) { body[data-page^="admin"] .side-nav a[aria-current="page"] { border-bottom-color: var(--orange-soft); } }
.app-main, .topbar { background: var(--mist); }
.topbar { background: var(--surface); }
.app { background: var(--mist); }
.side-nav .count { background: var(--orange); }
.brand .mark { color: var(--navy); width: 40px; height: 40px; border: 1px solid var(--navy); display: grid; place-items: center; }
.brand .mark svg { width: 30px; height: 30px; fill: none; }
.brand .name { font-family: var(--font-latin); font-size: 0.95rem; letter-spacing: 0.11em; color: var(--navy); }
.brand .name small { letter-spacing: 0.28em; font-size: 0.62rem; margin-top: 5px; }
.app-side .brand .mark { width: 34px; height: 34px; } .app-side .brand .mark svg { width: 26px; height: 26px; }
.tag-fill { background: var(--navy); border-color: var(--navy); }
.status.new, .tag-amber { color: var(--orange); border-color: var(--orange); }
.bar .yes { background: var(--grass); }
.kpi .delta.up { color: var(--success); }
.chip[aria-pressed="true"], .child-switch button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); }
.rsvp .btn-outline[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); }
.matrix .ans.a0 { background: var(--grass); border-color: var(--grass); }
.toast .icon { color: var(--orange-soft); }
.eyebrow { color: var(--orange); font-size: 0.75rem; letter-spacing: 0.16em; font-weight: 700; }
.eyebrow::before { width: 28px; background: currentColor; }
.eyebrow-jp { color: var(--orange); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.03em; font-weight: 750; line-height: 1.3; }
.mockbar { background: var(--navy-deep); }

/* ---- 公開サイト（ChatGPT案の構成を静的HTMLで再現） ---- */
.pub-header { position: sticky; top: 30px; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(251,250,247,0.95); backdrop-filter: blur(4px); }
.pub-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); height: var(--header-h); }
.pub-nav { display: flex; gap: 28px; font-size: var(--text-sm); font-weight: 600; color: #334c5f; }
.pub-nav a:hover { color: var(--orange); }
.pub-cta { display: flex; align-items: center; gap: var(--s-3); }
.pub-cta .login { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; font-size: var(--text-sm); font-weight: 600; color: #334c5f; }
.pub-cta .login .icon { width: 17px; height: 17px; }
.btn-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; background: var(--orange); color: #fff; border-radius: var(--radius); font-weight: 700; font-size: 0.9375rem; transition: background-color var(--dur), transform var(--dur); }
.btn-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-cta.sm { min-height: 44px; padding: 0 16px; }
.btn-cta .icon { width: 18px; height: 18px; }
.btn-ghost-navy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1px solid var(--navy); color: var(--navy); border-radius: var(--radius); font-weight: 700; font-size: var(--text-sm); transition: background-color var(--dur), color var(--dur); }
.btn-ghost-navy:hover { background: var(--navy); color: #fff; }

.hero-split { background: var(--navy); color: #fff; }
.hero-split .grid-hero { display: grid; grid-template-columns: 42% 58%; min-height: 690px; }
.hero-copy-wrap { display: flex; align-items: center; justify-content: flex-end; padding: 80px 56px 80px 48px; }
.hero-copy-inner { width: 100%; max-width: 520px; }
.hero-kicker { font-family: var(--font-latin); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.2em; color: #e19a76; margin-bottom: 24px; }
.hero-split h1 { color: #fff; font-size: clamp(2.4rem, 4.3vw, 3.75rem); font-weight: 900; line-height: 1.12; letter-spacing: -0.05em; }
.hero-split h1 em { font-style: normal; color: var(--orange-soft); }
.hero-split .lead { margin-top: 28px; max-width: 440px; font-size: 1.05rem; font-weight: 500; line-height: 2; color: rgba(255,255,255,0.76); }
.hero-split .actions { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.hero-split .btn-white-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid rgba(255,255,255,0.45); color: #fff; font-size: var(--text-sm); font-weight: 700; transition: background-color var(--dur), color var(--dur); }
.hero-split .btn-white-outline:hover { background: #fff; color: var(--navy); }
.hero-facts { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,0.2); border-bottom: 1px solid rgba(255,255,255,0.2); padding: 16px 0; }
.hero-facts div + div { border-left: 1px solid rgba(255,255,255,0.2); padding-left: 16px; }
.hero-facts dt { font-size: 0.68rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.55); }
.hero-facts dd { margin-top: 4px; font-size: var(--text-sm); font-weight: 700; }
.hero-photo { position: relative; min-height: 430px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: rgba(16,40,61,0.1); }
.next-trial { position: absolute; bottom: 24px; right: 24px; left: 24px; z-index: 2; border: 1px solid rgba(255,255,255,0.45); background: var(--paper); color: var(--navy); }
.next-trial .head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 12px 20px; }
.next-trial .head .lbl { font-family: var(--font-latin); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; color: var(--orange); }
.next-trial .head .left { font-size: var(--text-xs); font-weight: 600; color: var(--sub); }
.next-trial .body { display: grid; grid-template-columns: 80px 1fr; }
.next-trial .date { display: grid; place-items: center; background: var(--mist); padding: 16px 0; text-align: center; }
.next-trial .date b { font-family: var(--font-latin); font-size: 1.9rem; line-height: 1; }
.next-trial .date span { margin-top: 4px; font-family: var(--font-latin); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; }
.next-trial .desc { padding: 16px; }
.next-trial .desc b { display: block; font-size: var(--text-sm); }
.next-trial .desc span { display: block; margin-top: 4px; font-size: var(--text-xs); color: var(--sub); }

.pub-section { padding: 96px 0; }
.pub-section.mist { background: var(--mist); }
.pub-section.navy { background: var(--navy); color: #fff; }
.pub-section.navy h2 { color: #fff; }
.pub-section.tight { padding: 32px 0; }
.pub-section.trial-wrap { background: #e7ece9; padding: 32px 0; }
.section-title { margin: 12px 0 0; color: var(--navy); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.3; letter-spacing: -0.03em; font-weight: 750; }
.section-lead { margin: 18px 0 0; max-width: 690px; color: var(--sub); line-height: 1.9; }

.activity { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.activity .photo-box { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.activity .photo-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.activity .ratio-badge { position: absolute; right: 0; bottom: 0; background: var(--navy); color: #fff; padding: 20px 24px; }
.activity .ratio-badge span { display: block; font-family: var(--font-latin); font-size: 0.65rem; letter-spacing: 0.16em; color: rgba(255,255,255,0.6); }
.activity .ratio-badge strong { display: block; margin-top: 4px; font-size: var(--text-lg); }
.fact-tiles { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #cbd6d9; }
.fact-tiles div { background: #fff; padding: 20px; }
.fact-tiles .icon { color: var(--orange); width: 21px; height: 21px; }
.fact-tiles span { display: block; margin-top: 20px; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; color: #7a8a93; }
.fact-tiles strong { display: block; margin-top: 4px; font-size: 0.98rem; color: var(--navy); }
.fact-note { margin-top: 20px; font-size: var(--text-xs); line-height: 1.9; color: var(--sub); }

.sched-head { display: flex; flex-direction: column; gap: 24px; }
.sched-head p { max-width: 28em; font-size: var(--text-sm); line-height: 1.8; color: rgba(255,255,255,0.65); }
.sched-list { margin-top: 48px; border-top: 1px solid rgba(255,255,255,0.25); }
.sched-row { display: grid; grid-template-columns: 110px 90px 1fr auto; gap: 20px; align-items: center; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
.sched-row .d { font-family: var(--font-latin); font-size: 1.9rem; font-weight: 600; }
.sched-row .d small { margin-left: 8px; font-size: 0.66rem; font-weight: 700; color: rgba(255,255,255,0.5); }
.sched-row .type { width: fit-content; border: 1px solid rgba(255,255,255,0.35); padding: 4px 8px; font-family: var(--font-latin); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; color: rgba(255,255,255,0.7); }
.sched-row .type.trial { border-color: var(--orange-soft); color: #f1a17b; }
.sched-row h3 { color: #fff; font-size: var(--text-base); }
.sched-row p { margin-top: 4px; font-size: var(--text-sm); color: rgba(255,255,255,0.6); }
.sched-row .target { font-size: var(--text-xs); font-weight: 700; color: rgba(255,255,255,0.6); }
.sched-more { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; color: rgba(255,255,255,0.75); }

.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 96px; }
.faq2 { border-top: 1px solid #cdd7da; }
.faq2 details { border-bottom: 1px solid #cdd7da; }
.faq2 summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-weight: 700; color: var(--navy); }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary .q { display: flex; gap: 16px; }
.faq2 summary .q b { font-family: var(--font-latin); color: var(--orange); }
.faq2 summary .icon { width: 19px; height: 19px; flex: none; transition: transform var(--dur); }
.faq2 details[open] summary .icon { transform: rotate(180deg); }
.faq2 .a { padding: 0 0 24px 36px; font-size: var(--text-sm); line-height: 1.8; color: var(--sub); }

.news-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.news-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.news-strip .item { display: flex; align-items: center; gap: 16px; font-size: var(--text-sm); font-weight: 600; }
.news-strip .lbl { border: 1px solid var(--orange); padding: 4px 8px; font-family: var(--font-latin); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; color: var(--orange); }
.news-strip .more { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; color: var(--sub); white-space: nowrap; }

.policy-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 96px; }
.policy-grid .big { font-size: var(--text-xl); font-weight: 700; line-height: 1.8; color: var(--navy); }
.policy-grid .body { margin-top: 24px; line-height: 2; color: var(--sub); }
.strengths { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.strength { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 36px; }
.strength .top { display: flex; align-items: center; justify-content: space-between; }
.strength .top .icon { width: 27px; height: 27px; stroke-width: 1.45; color: var(--orange); }
.strength .top .no { font-family: var(--font-latin); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; color: #a7b3b8; }
.strength h3 { margin-top: 32px; font-size: var(--text-lg); line-height: 1.55; }
.strength p { margin-top: 16px; font-size: var(--text-sm); line-height: 1.8; color: var(--sub); }

.trial-box { display: grid; grid-template-columns: 0.86fr 1.14fr; background: #fff; overflow: hidden; }
.trial-box .photo-side { position: relative; min-height: 380px; }
.trial-box .photo-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trial-box .photo-side::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(255,255,255,0.25); pointer-events: none; }
.trial-box .form-side { padding: 56px; }
.trial-box h2 { margin-top: 12px; font-size: var(--text-3xl); letter-spacing: -0.02em; }
.trial-box .intro { margin-top: 16px; font-size: var(--text-sm); line-height: 1.8; color: var(--sub); }
.trial-form { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trial-form .field label { font-weight: 700; font-size: var(--text-sm); }
.trial-form .field.full { grid-column: 1 / -1; }
.trial-form .input, .trial-form .select, .trial-form .textarea { min-height: 48px; border-color: #cbd5d8; border-radius: 0; }
.trial-form .btn-cta { margin-top: 8px; grid-column: 1 / -1; }
.trial-note { margin-top: 16px; display: flex; align-items: center; gap: 8px; font-size: var(--text-xs); color: var(--sub); }
.trial-note .icon { width: 15px; height: 15px; color: var(--success); }

.pub-footer { background: var(--navy-deep); color: #fff; padding: 48px 0; }
.pub-footer .top { display: flex; flex-direction: column; gap: 32px; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 40px; }
.pub-footer .brand .mark { color: #fff; border-color: rgba(255,255,255,0.55); }
.pub-footer .brand .name { color: #fff; } .pub-footer .brand .name small { color: rgba(255,255,255,0.65); }
.pub-footer .addr { margin-top: 20px; font-size: var(--text-sm); line-height: 1.8; color: rgba(255,255,255,0.55); }
.pub-footer .links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: var(--text-sm); font-weight: 600; color: rgba(255,255,255,0.75); }
.pub-footer .legal { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; flex-wrap: wrap; font-size: 0.7rem; color: rgba(255,255,255,0.4); }
.pub-footer .legal a { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 900px) {
  .hero-split .actions { flex-direction: row; }
  .sched-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .pub-footer .top { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .pub-footer .legal { flex-direction: row; justify-content: space-between; }
}
@media (max-width: 1024px) {
  .hero-split .grid-hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy-wrap { justify-content: flex-start; padding: 64px 24px; }
  .hero-copy-inner { max-width: none; }
  .hero-photo { order: -1; min-height: 60vw; }
  .activity, .faq-grid, .policy-grid { grid-template-columns: 1fr; gap: 48px; }
  .strengths { grid-template-columns: 1fr; }
  .trial-box { grid-template-columns: 1fr; }
  .trial-box .photo-side { min-height: 260px; }
  .trial-box .form-side { padding: 40px 28px; }
  .pub-nav, .pub-cta .login { display: none; }
  .pub-section { padding: 72px 0; }
}
@media (max-width: 680px) {
  :root { --header-h: 64px; }
  .hero-split h1 { font-size: 2.4rem; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .next-trial { left: 16px; right: 16px; bottom: 16px; }
  .fact-tiles { grid-template-columns: 1fr; }
  .sched-row { grid-template-columns: 1fr; gap: 8px; }
  .trial-form { grid-template-columns: 1fr; }
  .news-strip .container { flex-direction: column; align-items: flex-start; padding: 16px; }
  .btn-cta, .btn-ghost-navy, .hero-split .btn-white-outline { width: 100%; }
  .brand .name small { display: block; }
  .strength { padding: 28px; }
  .pub-section { padding: 64px 0; }
}

/* 選択中の出欠ボタン（出欠ページ・予定ページ・運営の代理入力を含む全箇所）: 濃紺で塗り、チェック印を添える（2026-09-03 本人指摘） */
.btn-outline[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-outline[aria-pressed="true"]::before { content: "✓"; font-size: 0.85em; margin-right: 2px; }

/* 選手ピッカー（招集・個別追加） */
.picker { position: relative; margin-top: 8px; }
.pick-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; background: var(--surface); border: 1px solid var(--line-strong); border-top: 0; max-height: 240px; overflow: auto; }
.pick-list button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 8px 12px; text-align: left; font-size: var(--text-sm); }
.pick-list button:hover { background: var(--paper); }
.chip button[data-rm] { margin-left: 6px; font-size: 15px; line-height: 1; color: inherit; opacity: .8; }
.chip button[data-rm]:hover { opacity: 1; }
.chips:empty { display: none; }

/* 出欠集計の代理入力ボタンは横一列（練習は4つ） */
.matrix td .inline-actions { flex-wrap: nowrap; }
.matrix td .inline-actions .btn-sm { min-height: 30px; padding: 0 10px; }
/* パネル内の補足行 */
.panel-body li .sub { display: block; font-size: var(--text-xs); color: var(--sub); margin-top: 2px; }

/* 注文・依頼: チェックで複数選択 */
.order-lines { border-top: 1px solid var(--line); }
.order-line { display: grid; grid-template-columns: 24px 1fr 120px 72px; gap: var(--s-3); align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.order-line input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--navy); }
.order-line .ol-name { font-size: var(--text-sm); font-weight: 500; }
.order-line .ol-name small { display: block; font-weight: 400; color: var(--sub); font-size: var(--text-xs); }
.order-line .select, .order-line .input { min-height: 38px; padding-top: 4px; padding-bottom: 4px; font-size: var(--text-sm); }
.order-line .select:disabled, .order-line .input:disabled { opacity: .45; }
.order-line.on { background: var(--mist); margin: 0 calc(-1 * var(--s-3)); padding-left: var(--s-3); padding-right: var(--s-3); }
@media (max-width: 680px) { .order-line { grid-template-columns: 24px 1fr; } .order-line .select, .order-line .input { grid-column: 2; } }

.tag-danger { border-color: var(--danger); color: var(--danger); }
