/* =========================================================
   価値っと！栃木 — 黒漆喰・白壁・巴波川の水
   ========================================================= */
:root {
  --sumi: #1c1d1f;        /* 黒漆喰 */
  --sumi-2: #2a2c2f;
  --shikkui: #FFFFFF;     /* 白地（総合サイトと統一） */
  --shikkui-2: #FFFFFF;
  --mizu: #2f6f7e;        /* 巴波川の水 */
  --mizu-light: #8fb9c2;
  --mizu-pale: #e3eef0;
  --shu: #b5482f;         /* 山車の朱 */
  --ink: #1f2124;
  --ink-sub: #474b50;
  --gray: #5c6167;        /* ヘッダー・フッターのグレー */
  --gray-bg: #e6e8ea;     /* 旧・黒背景セクションのグレー */
  --line: #d6cfc0;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--shikkui);
  line-height: 1.95;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--mizu); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.4; margin: 0; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.sp { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(92, 97, 103, .95);
  backdrop-filter: blur(6px);
  color: var(--shikkui);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-family: var(--serif); font-weight: 900; font-size: 20px; color: var(--shikkui); text-decoration: none; letter-spacing: .04em; }
.logo .logo-word { color: var(--shikkui); }
.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a { color: var(--shikkui); text-decoration: none; font-size: 14px; letter-spacing: .06em; }
.site-nav a:hover { color: #cfe3e7; }
.site-nav .nav-cta { background: var(--shu); padding: 6px 16px; border-radius: 2px; }
.site-nav .nav-cta:hover { color: #fff; background: #c95a40; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--shikkui); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--shikkui);
  color: var(--ink);
  padding: 110px 0 120px;
}
/* 蔵のなまこ壁を思わせる斜め格子 */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    none;
  pointer-events: none;
}
/* 巴波川の水面 */
.hero-water {
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background:
    radial-gradient(ellipse 60% 18px at 20% 30%, rgba(143,185,194,.35), transparent 70%),
    radial-gradient(ellipse 50% 14px at 75% 55%, rgba(143,185,194,.28), transparent 70%),
    linear-gradient(180deg, transparent, rgba(255,255,255,.9) 80%);
  opacity: 1;
}
.hero-inner { position: relative; }
.hero-eyebrow { font-size: 13px; letter-spacing: .3em; color: var(--mizu); font-weight: 700; margin-bottom: 18px; }
.hero-title { font-size: clamp(48px, 10vw, 112px); font-weight: 900; letter-spacing: .04em; }
.hero-catch {
  font-family: var(--serif); font-size: clamp(18px, 2.6vw, 28px);
  margin: 18px 0 40px; padding-left: 16px; border-left: 3px solid var(--shu);
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px 56px; margin: 0 0 44px; }
.hero-meta dt { font-size: 13px; letter-spacing: .2em; color: var(--mizu); font-weight: 700; }
.hero-meta dd { margin: 4px 0 0; font-size: 16px; line-height: 1.6; }
.hero-meta strong { font-family: var(--serif); font-size: 34px; letter-spacing: .04em; }
.hero-meta .dow { display: inline-block; background: var(--gray); color: #fff; font-size: 12px; font-weight: 700; padding: 1px 8px; margin-left: 6px; vertical-align: 8px; }
.hero-meta small { font-size: 14px; color: var(--ink-sub); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 14px 40px; font-weight: 700; letter-spacing: .1em; text-decoration: none; border-radius: 2px; transition: background .2s, transform .2s; }
.btn-primary { background: var(--shu); color: #fff; }
.btn-primary:hover { background: #c95a40; transform: translateY(-1px); }
.btn-light { background: var(--gray); color: #fff; }
.btn.is-disabled { opacity: .55; pointer-events: none; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-dark { background: var(--gray-bg); color: var(--ink); }
.section-water { background: var(--mizu-pale); }
.section-wall { background: var(--shikkui-2); }
.section-label { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--mizu); margin-bottom: 6px; }
.section-dark .section-label { color: var(--mizu); }
.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 40px; position: relative; padding-bottom: 18px; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; background: var(--shu); }
.center .section-title::after, #closing .section-title::after { left: 50%; transform: translateX(-50%); }
#closing .section-label, #closing .section-title { text-align: center; }
.lead { font-family: var(--serif); font-size: clamp(17px, 2vw, 20px); line-height: 2; }
.lead em, #purpose em { font-style: normal; background: linear-gradient(transparent 62%, rgba(181,72,47,.22) 62%); }
.note { font-size: 14px; color: var(--ink-sub); margin-top: 24px; }
.section-dark .note { color: var(--ink-sub); }

/* Purpose */
.purpose-points { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.purpose-points li { background: #fff; border-top: 3px solid var(--gray); padding: 22px 18px; font-family: var(--serif); font-size: 18px; text-align: center; }
.purpose-points span { display: block; font-family: var(--sans); font-size: 12px; color: var(--mizu); letter-spacing: .2em; }
.purpose-points b { color: var(--mizu); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid #c3c7cb; }
.timeline li { display: flex; gap: 24px; padding: 14px 0 14px 24px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 25px; width: 10px; height: 10px; border-radius: 50%; background: var(--gray); }
.timeline time { font-family: var(--serif); font-size: 18px; min-width: 56px; color: var(--mizu); font-weight: 700; }
.timeline b { display: block; font-weight: 700; }
.timeline span { font-size: 15px; color: var(--ink-sub); }
.timeline .is-session { background: #fff; }
.timeline .is-session::before { background: var(--shu); }
.timeline .is-break b { font-weight: 400; color: var(--ink-sub); }
.timeline .is-break::before { background: transparent; border: 2px solid var(--gray); }

/* Sessions */
.session-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.session-card { background: #fff; padding: 32px 28px; border-top: 6px solid var(--gray); box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; }
.session-card:nth-child(2) { border-top-color: var(--shu); }
.session-card:nth-child(3) { border-top-color: var(--mizu); }
.session-no { font-size: 12px; letter-spacing: .25em; color: var(--ink-sub); margin-bottom: 8px; }
.session-no b { font-family: var(--serif); font-size: 28px; color: var(--sumi); letter-spacing: 0; margin-left: 4px; }
.session-card h3 { font-size: 22px; margin-bottom: 16px; }
.session-q { font-family: var(--serif); color: var(--mizu); font-size: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.session-card dl { margin: 0; font-size: 15px; }
.session-card dt { font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--ink-sub); margin-top: 14px; }
.session-card dd { margin: 2px 0 0; line-height: 1.8; }
.tbd { color: var(--ink-sub); }

/* Compass */
.compass-layout { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; }
.compass-visual svg { width: 100%; max-width: 300px; margin: 0 auto; animation: sway 9s ease-in-out infinite; }
.c-ring { fill: none; stroke: var(--sumi); stroke-width: 2; }
.c-ring.thin { stroke-width: 1; stroke-dasharray: 3 5; stroke: var(--mizu); }
.c-needle-v { fill: var(--sumi); }
.c-needle-h { fill: var(--mizu-light); }
.c-north { fill: var(--shu); }
.c-hub { fill: var(--shikkui); stroke: var(--sumi); stroke-width: 2; }
@keyframes sway { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .compass-visual svg { animation: none; } html { scroll-behavior: auto; } }
.compass-steps { padding: 0; list-style: none; margin: 28px 0 0; }
.compass-steps li { background: #fff; padding: 12px 18px; margin-bottom: 8px; border-left: 3px solid var(--mizu); }
.compass-steps b { color: var(--mizu); }

/* Closing */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0; }
.pillar { border: 1px solid #b9bec3; padding: 32px 24px; text-align: center; background: #fff; }
.pillar-no { font-family: var(--serif); font-size: 40px; color: var(--shu); line-height: 1; margin-bottom: 12px; }
.pillar h3 { font-size: 20px; margin-bottom: 12px; }
.pillar p:last-child { font-size: 15px; color: var(--ink-sub); margin: 0; }
.roadmap { background: var(--gray-bg); color: var(--ink); padding: 32px 36px; }
.roadmap h3 { font-size: 18px; margin-bottom: 12px; }
.roadmap ul { list-style: none; margin: 0; padding: 0; }
.roadmap li { padding: 8px 0; border-bottom: 1px solid #c9cdd1; display: flex; gap: 20px; }
.roadmap li:last-child { border-bottom: 0; }
.roadmap li b { color: var(--mizu); min-width: 64px; }

/* Overview */
.overview-table { width: 100%; border-collapse: collapse; background: #fff; }
.overview-table th, .overview-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.overview-table th { width: 7em; font-weight: 700; color: var(--mizu); white-space: nowrap; background: rgba(47,111,126,.06); }

/* Entry */
.entry .btn { margin: 16px 0 8px; }

/* Footer */
.site-footer { background: var(--gray); color: #eef0f1; padding: 48px 0; text-align: center; font-size: 13px; }
.footer-logo { font-family: var(--serif); font-size: 20px; font-weight: 900; color: var(--shikkui); }
.copy { margin: 16px 0 0; opacity: .85; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .session-grid, .pillar-grid { grid-template-columns: 1fr; }
  .compass-layout { grid-template-columns: 1fr; gap: 32px; }
  .compass-visual svg { max-width: 200px; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--gray);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .site-nav.is-open { max-height: 420px; }
  .site-nav a { padding: 14px 24px; width: 100%; border-top: 1px solid rgba(255,255,255,.1); }
  .site-nav .nav-cta { border-radius: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .sp { display: inline; }
  .pc { display: none; }
  .section { padding: 80px 0; }
  .hero { padding: 96px 0 130px; }
  .hero-meta strong { font-size: 28px; }
  .purpose-points { grid-template-columns: 1fr; }
  .timeline li { gap: 14px; padding-left: 18px; }
  .session-card { padding: 26px 20px; }
  .roadmap { padding: 24px 20px; }
  .roadmap li { flex-direction: column; gap: 0; }
  .overview-table th, .overview-table td { display: block; width: 100%; }
  .overview-table th { padding: 12px 16px 4px; border-bottom: 0; }
  .overview-table td { padding: 4px 16px 14px; }
  .btn { padding: 14px 28px; }
}

/* ---------- Photos ---------- */
.hero-photo {
  position: absolute; inset: 0;
  background: url("img/hero-ajisai.jpg") 65% 50% / cover no-repeat;
}
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 42%, rgba(255,255,255,.05) 75%); }
.hero::before { z-index: 1; }
.hero-water { z-index: 1; }
.hero-inner { z-index: 2; }

.gallery-lead { font-family: var(--serif); font-size: 17px; margin-bottom: 36px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sumi); }
.gallery .g-wide { grid-column: span 2; aspect-ratio: auto; }
.gallery .g-wide img { position: absolute; inset: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 18px 12px 8px; font-size: 12px; letter-spacing: .08em; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
}

.session-img { margin: -32px -28px 22px; aspect-ratio: 16 / 9; overflow: hidden; }
.session-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:nth-child(6) { grid-column: span 2; aspect-ratio: 16 / 9; }
  .gallery .g-wide { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .gallery-lead { font-size: 15px; }
  .session-img { margin: -26px -20px 18px; }
}

/* ---------- Compass page ---------- */
.sub-hero { position: relative; overflow: hidden; background: var(--shikkui); color: var(--ink); padding: 150px 0 90px; }
.sub-hero-photo { position: absolute; inset: 0; background: url("img/uzumagawa-blue.jpg") center 60% / cover no-repeat; }
.sub-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.7) 45%, rgba(255,255,255,.1) 80%); }
.sub-hero-inner { position: relative; }
.sub-hero-title { font-size: clamp(36px, 7vw, 72px); font-weight: 900; letter-spacing: .04em; }
.sub-hero .hero-catch { margin-bottom: 0; }

.steps-label { margin-top: 8px; }
.steps-title { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 26px); color: var(--sumi); margin: 0; }
.compass-flow { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.compass-flow li { background: #fff; border-top: 3px solid var(--mizu); padding: 18px 14px; font-size: 14px; color: var(--ink-sub); line-height: 1.6; }
.compass-flow span { display: block; font-family: var(--serif); font-size: 14px; letter-spacing: .1em; color: var(--shu); margin-bottom: 4px; }
.compass-flow b { display: block; font-family: var(--serif); font-size: 18px; color: var(--sumi); margin-bottom: 4px; }

.dir-lead { margin-bottom: 36px; color: var(--ink); }
.dir-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dir-card { background: #fff; border: 1px solid #c9cdd1; padding: 26px 22px; }
.dir-mark { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--mizu); margin-bottom: 10px; }
.dir-mark span { font-size: 14px; margin-left: 8px; color: var(--ink-sub); }
.dir-n .dir-mark { color: var(--shu); }
.dir-card h3 { font-size: 22px; margin-bottom: 10px; }
.dir-session { font-size: 13px; color: var(--ink-sub); margin-bottom: 10px; }
.dir-q { font-family: var(--serif); font-size: 16px; margin: 0; }
.dir-center { margin: 24px 0 0; padding: 16px 20px; background: #fff; border-left: 3px solid var(--mizu); }
.dir-center b { color: var(--mizu); }

.write-note { font-size: 15px; color: var(--ink-sub); margin-bottom: 32px; }
.write-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.compass-form label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-sub); margin-bottom: 16px; }
.compass-form label span { display: inline-block; color: var(--mizu); }
.compass-form .f-n span { color: var(--shu); }
.compass-form input, .compass-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  font: 400 16px/1.6 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 2px; resize: vertical;
}
.compass-form input:focus, .compass-form textarea:focus { outline: 2px solid var(--mizu-light); border-color: var(--mizu); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.form-actions .btn { padding: 12px 22px; border: 0; cursor: pointer; font-family: var(--sans); font-size: 14px; }
.btn-ghost { background: transparent; color: var(--sumi); box-shadow: inset 0 0 0 1px var(--sumi); }
.btn-ghost:hover { background: var(--sumi); color: var(--shikkui); }
.compass-board { position: sticky; top: 80px; background: #fff; padding: 12px; box-shadow: 0 1px 0 var(--line), 0 12px 32px rgba(28,29,31,.08); }
.compass-board svg { width: 100%; height: auto; }

@media (max-width: 960px) {
  .compass-flow { grid-template-columns: repeat(3, 1fr); }
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .write-layout { grid-template-columns: 1fr; }
  .compass-board { position: static; order: -1; }
}
@media (max-width: 600px) {
  .sub-hero { padding: 120px 0 70px; }
  .compass-flow { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: 1fr; }
  .compass-board { padding: 6px; }
}
@media print {
  .site-header, .site-footer, .sub-hero, #about, #directions, .section-water, .compass-form, .write-note, #write .section-label, #write .section-title { display: none !important; }
  .section { padding: 0; }
  .write-layout { display: block; }
  .compass-board { box-shadow: none; position: static; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 600px) {
  .hero-photo { background-position: 62% 50%; }
  .hero-photo::after, .sub-hero-photo::after { background: linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.72) 60%, rgba(255,255,255,.55) 100%); }
}
.timeline-format { margin: 28px 0 0; padding: 14px 18px; background: #fff; border-left: 3px solid var(--mizu); font-size: 15px; }
.write-layout.write-single { grid-template-columns: 1fr; max-width: 720px; }

/* ---------- 伴走ナビ ---------- */
.navi-lead { max-width: 52em; margin-bottom: 32px; }
.karte, .gform { display: flex; flex-direction: column; gap: 22px; }
.karte .field, .gform .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.karte label, .gform label, .karte .lbl, .gform .lbl { font-weight: 700; font-size: 15px; color: var(--ink); }
.karte small, .gform small, .gbox legend small { font-weight: 400; font-size: 13px; color: var(--ink-sub); margin-left: 6px; }
.karte input[type=text], .karte textarea, .gform input[type=text], .gform textarea, .gform select {
  width: 100%; font: 400 16px/1.7 var(--sans); color: var(--ink); background: #fff;
  border: 1px solid #c9cdd1; border-radius: 4px; padding: 10px 12px; resize: vertical;
}
.karte input:focus, .karte textarea:focus, .gform input:focus, .gform textarea:focus, .gform select:focus { outline: 2px solid var(--mizu-light); border-color: var(--mizu); }
.k-idea textarea { font-size: 17px; }
.kgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 36px; }
.kcol { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 14px/1.5 var(--sans); border: 1px solid #b9bec3; background: #fff; color: var(--ink); padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.chip:hover { border-color: var(--mizu); }
.chip[aria-pressed="true"] { background: var(--mizu); border-color: var(--mizu); color: #fff; }
.chip:focus-visible, .btn:focus-visible { outline: 2px solid var(--shu); outline-offset: 2px; }
.switchrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn.switch { font-size: 18px; padding: 16px 40px; border: 0; cursor: pointer; font-family: var(--sans); }
.btn.sm { padding: 8px 16px; font-size: 14px; letter-spacing: .04em; cursor: pointer; font-family: var(--sans); border: 0; }
#k-reset { padding: 14px 24px; border: 0; cursor: pointer; font-family: var(--sans); font-size: 14px; }

.results { margin-top: 48px; display: flex; flex-direction: column; gap: 40px; }
.rblock { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.rhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.rbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.rtitle { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.rn { width: 32px; height: 32px; border-radius: 50%; background: var(--shu); color: #fff; display: inline-grid; place-items: center; font: 700 15px/1 var(--sans); flex: none; }
.ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.idea { background: #fff; border-top: 4px solid var(--mizu); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.idea-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.idea-tags span { font-size: 12px; font-weight: 700; padding: 2px 8px; background: var(--mizu-pale); color: var(--mizu); }
.idea h4 { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.5; }
.idea-hook { margin: 0; font-size: 15px; }
.journey { border-left: 2px solid var(--mizu-light); margin-left: 4px; display: flex; flex-direction: column; }
.journey div { padding: 2px 0 10px 16px; position: relative; font-size: 14px; line-height: 1.8; }
.journey div::before { content: ""; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--mizu); }
.journey b { display: block; font-size: 12px; color: var(--mizu); letter-spacing: .06em; }
.idea-meta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 0; font-size: 13px; padding-top: 10px; border-top: 1px dashed #c9cdd1; }
.idea-meta dt { font-weight: 700; color: var(--ink-sub); white-space: nowrap; }
.idea-meta dd { margin: 0; }
.doc, .gdraft { background: #fff; padding: clamp(20px, 3vw, 36px); border-left: 6px solid var(--mizu); white-space: pre-wrap; overflow-wrap: anywhere; font: 400 15px/1.95 var(--sans); color: var(--ink); margin: 0; }

.grant-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 28px; align-items: start; }
.gbox { border: 0; border-top: 2px solid #c9cdd1; margin: 0; padding: 18px 0 4px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gbox legend { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--mizu); padding: 0 8px 0 0; }
.g2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px 16px; }
.gkpis { display: flex; flex-direction: column; gap: 4px; }
.gkpi { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; background: #fff; border-bottom: 1px solid var(--gray-bg); }
.gkpi.on { background: var(--mizu-pale); }
.gkpi input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--mizu); }
.gkpi label { font-size: 15px; }
.g-add { display: flex; gap: 8px; }
.gcheck { background: var(--gray-bg); padding: 20px; position: sticky; top: 84px; }
.gcheck-title { font-weight: 700; color: var(--mizu); margin: 0 0 8px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.checks li { display: flex; gap: 8px; align-items: baseline; }
.checks .mk { flex: none; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; }
.checks .ok .mk { background: var(--mizu); color: #fff; }
.checks .ng .mk { background: #fff; color: var(--shu); border: 1.5px solid var(--shu); }
.checks .ng { color: var(--ink-sub); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; background: var(--gray); color: #fff; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; z-index: 60; }

@media (max-width: 900px) {
  .kgrid, .grant-layout { grid-template-columns: minmax(0, 1fr); }
  .gcheck { position: static; }
}
@media (max-width: 600px) {
  .btn.switch { width: 100%; padding: 16px 20px; }
  .gkpi { grid-template-columns: auto minmax(0, 1fr); }
  .gkpi input[type=text] { grid-column: 1 / -1; }
  .rtitle { font-size: 20px; }
}
.site-footer .org { margin: 16px 0 0; line-height: 1.9; }
.site-footer a, .overview-table td a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: #fff; }
.overview-table td a { color: var(--mizu); }

/* ---------- 価値っと！ロゴ（総合サイトと共通） ---------- */
.logo, .footer-logo { display: inline-flex; align-items: center; gap: 10px; font-family: "Dela Gothic One", "Hiragino Sans", "Yu Gothic", sans-serif; font-weight: 400; line-height: 1; letter-spacing: 0; }
.logo { font-size: 22px; }
.logo-mark { width: 30px; height: 30px; flex: none; color: currentColor; }
.logo .hl, .footer-logo .hl { display: inline-block; background: #FFC93C; color: #141B2B; padding: .06em .1em; transform: rotate(-2deg); }
.logo-place { font-size: .72em; margin-left: 2px; color: #FFC93C; }
.logo span.logo-word, .logo span.logo-place { margin-left: 0; }
.footer-logo { font-size: 22px; justify-content: center; }
@media (max-width: 600px) { .logo { font-size: 19px; } .logo-mark { width: 26px; height: 26px; } }
.logo, .logo-word, .site-nav a { white-space: nowrap; }
.site-nav { gap: 20px; }

/* ---------- 総合サイトと同じロゴ・白地のヘッダー／フッター ---------- */
.site-header { background: rgba(255,255,255,.94); color: #141B2B; border-bottom: 1px solid #D9DDD3; }
.logo, .logo .logo-word, .footer-logo, .footer-logo .logo-word { color: #141B2B; }
.site-nav a { color: #141B2B; }
.site-nav a:hover { color: var(--mizu); }
.site-nav .nav-cta, .site-nav .nav-cta:hover { color: #fff; }
.nav-toggle span { background: #141B2B; }
.site-footer { background: #fff; color: var(--ink-sub); border-top: 1px solid #D9DDD3; }
.site-footer a:hover { color: var(--mizu); }
@media (max-width: 1080px) {
  .site-nav { background: #fff; border-bottom: 1px solid #D9DDD3; }
  .site-nav a { border-top: 1px solid #ECEEE8; }
}

/* ---------- ヒーローのタイトルを正式ロゴに ---------- */
.brand-title { font-family: "Dela Gothic One", "Hiragino Sans", "Yu Gothic", sans-serif; font-weight: 400; letter-spacing: -.02em; line-height: 1.05; color: #141B2B; }
.brand-title .hl { display: inline-block; background: #FFC93C; color: #141B2B; padding: 0 .08em .04em; transform: rotate(-2deg); animation: brand-click .5s cubic-bezier(.3,1.6,.5,1) .2s both; }
.brand-title .place { margin-left: .12em; }
@keyframes brand-click { from { transform: rotate(-2deg) scale(.86); } to { transform: rotate(-2deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .brand-title .hl { animation: none; } }

/* ---------- 「価値っと！」とは：ロゴの見出しとロゴボタン ---------- */
.brand-inline { display: inline-flex; align-items: center; gap: .3em; font-family: "Dela Gothic One", "Hiragino Sans", "Yu Gothic", sans-serif; font-weight: 400; color: #141B2B; line-height: 1; white-space: nowrap; }
.brand-inline .logo-mark { width: 1.1em; height: 1.1em; }
.brand-inline .hl { display: inline-block; background: #FFC93C; color: #141B2B; padding: .06em .1em; transform: rotate(-2deg); }
.about-title { display: flex; flex-wrap: wrap; align-items: center; gap: .3em; }
.about-towa { font-family: var(--serif); }
.logo-btn { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; padding: 18px 26px; background: #fff; border: 2px solid #141B2B; border-radius: 6px; text-decoration: none; color: #141B2B; box-shadow: 4px 4px 0 #141B2B; transition: transform .15s, box-shadow .15s; }
.logo-btn .brand-inline { font-size: 26px; }
.logo-btn-go { font: 700 15px/1.4 var(--sans); color: #141B2B; border-left: 1.5px solid #D9DDD3; padding-left: 20px; }
.logo-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #141B2B; }
.logo-btn:focus-visible { outline: 3px solid var(--mizu); outline-offset: 3px; }
@media (max-width: 600px) { .logo-btn .brand-inline { font-size: 22px; } .logo-btn-go { border-left: 0; padding-left: 0; } }

/* ---------- オープニング映像 ---------- */
.section.opening { padding: 72px 0 0; }
.opening-video { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; object-fit: contain; }
.section.opening + #about { padding-top: 64px; }

/* ---------- 申込み：Meetup画像 ---------- */
.entry-card { display: block; width: min(360px, 100%); margin: 24px auto 8px; border-radius: 28px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(20,27,43,.5); transition: transform .2s; }
.entry-card img { display: block; width: 100%; height: auto; }
.entry-card:hover { transform: translateY(-3px); }
.entry-card:focus-visible { outline: 3px solid var(--mizu); outline-offset: 4px; }

/* ---------- ヒーロー右下：Claude Community バッジ ---------- */
.hero-badge { position: absolute; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 32px; z-index: 3; width: clamp(110px, 14vw, 190px); border-radius: 22%; overflow: hidden; box-shadow: 0 16px 34px -18px rgba(20,27,43,.6); transition: transform .2s; }
.hero-badge img { display: block; width: 100%; height: auto; }
.hero-badge:hover { transform: translateY(-3px) rotate(-2deg); }
.hero-badge:focus-visible { outline: 3px solid var(--mizu); outline-offset: 4px; }
@media (max-width: 600px) { .hero-badge { right: 16px; bottom: 20px; width: 96px; } }

/* ---------- 登壇者 ---------- */
.speakers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.speaker { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-width: 0; }
.sp-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px #FFC93C; }
.sp-ph { display: grid; place-items: center; background: var(--mizu-pale); color: var(--mizu); font: 400 48px/1 "Dela Gothic One", "Hiragino Sans", sans-serif; }
.sp-org { margin: 0; font-size: 14px; color: var(--ink-sub); }
.sp-role { margin: 0; font-size: 13px; font-weight: 700; color: var(--mizu); }
.sp-name { font-family: var(--serif); font-size: 22px; margin-top: 4px; }
@media (max-width: 800px) { .speakers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sp-photo { width: 112px; height: 112px; } .sp-ph { font-size: 38px; } .sp-name { font-size: 19px; } }
.speakers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 800px) { .speakers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.speakers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-org { max-width: 22em; line-height: 1.6; }
@media (max-width: 800px) { .speakers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== 交付金 参考リンク ===== */
.grant-links { list-style: none; margin: 20px 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grant-links a { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.grant-links a:hover, .grant-links a:focus-visible { border-color: var(--mizu); box-shadow: 0 2px 10px rgba(47,111,126,.15); }
.grant-links b { display: block; font-size: 15px; color: var(--mizu); }
.grant-links b::after { content: " ↗"; font-weight: 400; }
.grant-links span { display: block; font-size: 12px; color: var(--ink-sub); margin-top: 4px; }
@media (max-width: 800px) { .grant-links { grid-template-columns: 1fr; } }

/* 登壇者：ファシリテーター欄を分ける */
.sp-group{font-size:1.05rem;font-weight:700;margin:2.2rem 0 1rem;padding-left:.7rem;border-left:4px solid #FFC93C}
#speakers .section-title + .sp-group{margin-top:.5rem}
.speakers-solo{grid-template-columns:minmax(0,1fr)!important;max-width:340px;margin-inline:auto}

/* タイムテーブル：出演者（顔写真・肩書き） */
#timetable .timeline > li > div { flex: 1; min-width: 0; }
#timetable .timeline span { display: block; }
.tt-cast { list-style: none; margin: 12px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 14px; }
.tt-cast li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.tt-cast li::before { content: none; }
.tt-photo { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #FFC93C; }
.tt-noimg { display: grid; place-items: center; background: #f1f1f1; color: var(--ink-sub); font-weight: 700; font-size: 18px; }
.tt-cast p { margin: 0; line-height: 1.4; }
.tt-cast b { font-size: 15px; }
.tt-cast small { display: block; font-size: 12px; color: var(--ink-sub); }
@media (max-width: 600px) { .tt-cast { grid-template-columns: 1fr; } }
/* 高校生：写真の代わりのロゴ（文字を丸の中央に） */
#timetable .tt-cast .tt-noimg { display: flex; align-items: center; justify-content: center; padding: 0; line-height: 1; font-family: "Dela Gothic One", var(--sans, sans-serif); font-size: 26px; font-weight: 400; color: #1a1a1a; background: #FFC93C; box-shadow: 0 0 0 3px #1a1a1a; }

/* 4 sessions */
.session-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .session-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .session-grid { grid-template-columns: 1fr; } }

/* 登壇者の顔写真を大きく */
.sp-photo { width: 200px; height: 200px; margin-bottom: 16px; }
.sp-ph { font-size: 68px; }
@media (max-width: 600px) { .sp-photo { width: 140px; height: 140px; } .sp-ph { font-size: 48px; } }
/* 登壇者カード → 紹介ページへのリンク */
.sp-link { display: flex; flex-direction: column; align-items: center; gap: 4px; color: inherit; text-decoration: none; border-radius: 12px; padding: 8px 4px 12px; transition: background .2s; }
.sp-link:hover { background: #fffaeb; }
.sp-link .sp-photo { transition: transform .2s; }
.sp-link:hover .sp-photo { transform: scale(1.04); }
.sp-more { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--mizu); }
.sp-all { text-align: center; margin-top: 40px; }
/* タイムテーブル出演者 → 紹介ページへのリンク */
.tt-cast li:has(.tt-link) { padding: 0; }
.tt-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; color: inherit; text-decoration: none; border-radius: 10px; transition: background .2s; }
.tt-link:hover { background: #fffaeb; }
.tt-link:hover b { color: var(--mizu); }

/* タイムテーブル：サイトの横幅いっぱいに */
#timetable .wrap { max-width: none; padding-inline: clamp(16px, 4vw, 64px); }
#timetable .timeline { margin-left: 6px; }
#timetable .timeline li { padding-right: 20px; }
#timetable .timeline .is-session { border-radius: 0 10px 10px 0; }
#timetable .tt-cast { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* 認定こども園さくら ビデオメッセージ */
.tt-sakura { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; align-items: center; margin: 48px 0 0; padding: 28px; background: #fff; border-radius: 14px; border-top: 4px solid #FFC93C; }
.tt-sakura-text { margin: 0; font-family: var(--serif); font-size: clamp(16px, 1.6vw, 19px); line-height: 2; }
.tt-sakura-photos { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
.tt-sakura-photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
@media (max-width: 900px) { .tt-sakura { grid-template-columns: 1fr; gap: 20px; padding: 20px; } }
@media (max-width: 600px) { .tt-sakura-photos { grid-template-columns: 1fr; } }

/* タイトル上の会議名 */
.hero-pretitle { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(18px, 2.6vw, 30px); font-weight: 700; letter-spacing: .08em; color: var(--ink); }

/* タイムテーブル各項目の申込みリンク */
.tt-entry { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 14px; font-size: 13px; font-weight: 700; color: #fff; background: var(--shu); border-radius: 999px; text-decoration: none; }
.tt-entry::after { content: "↗"; }
.tt-entry:hover { opacity: .85; }

/* 収録場所の地図 */
.ov-map { margin-top: 12px; aspect-ratio: 16 / 9; max-width: 640px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #eee; }
.ov-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.ov-map-link { display: inline-block; margin-top: 8px; font-size: 14px; }
.ov-map-link::after { content: " ↗"; }

/* タイムテーブル：ダイアログ時間 */
#timetable .timeline .tt-dur { display: inline-block; margin: 2px 0 6px; padding: 2px 10px; font-size: 12px; font-weight: 700; color: var(--mizu); background: #eef5f7; border: 1px solid #cfe2e8; border-radius: 999px; }

/* トップの開催時間を大きく */
.hero-meta .hero-time { display: inline-block; margin-top: 4px; font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: .04em; }
.hero-meta .hero-party { font-size: 18px; font-weight: 700; color: var(--ink); margin-left: 6px; }
@media (max-width: 600px) { .hero-meta .hero-time { font-size: 24px; } .hero-meta .hero-party { display: block; margin-left: 0; font-size: 16px; } }

/* トップの会場を大きく */
.hero-meta .hero-place { display: inline-block; font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: .04em; line-height: 1.4; }
.hero-meta .hero-place-sub { display: inline-block; margin-top: 2px; font-family: var(--serif); font-size: 22px; font-weight: 700; }
.hero-meta dd .hero-party { margin-left: 0; }
@media (max-width: 600px) { .hero-meta .hero-place { font-size: 24px; } .hero-meta .hero-place-sub { font-size: 18px; } }

/* トップの日時・会場を白いパネルで読みやすく */
.hero-meta { gap: 16px 20px; }
.hero-meta > div { padding: 16px 24px 18px; background: rgba(255, 255, 255, .92); border-radius: 12px; border-left: 5px solid #FFC93C; box-shadow: 0 6px 24px rgba(20, 27, 43, .14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-meta dt { color: var(--shu); }
.hero-meta .hero-place, .hero-meta .hero-place-sub, .hero-meta .hero-time { color: #141B2B; }
.hero-meta .hero-place-sub { color: var(--mizu); }
.hero-meta dd .hero-party { color: #141B2B; }
@media (max-width: 600px) { .hero-meta > div { padding: 14px 18px; } }

/* タイムテーブル：セッションのテーマ名 */
#timetable .timeline .tt-theme { display: block; margin: 2px 0 2px; font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--ink); }
#timetable .timeline .tt-all { display: inline-block; margin-top: 6px; padding: 2px 10px; font-size: 12px; font-weight: 700; color: #141B2B; background: #FFC93C; border-radius: 999px; }

/* 応援メッセージ */
.msg-card { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 48px; align-items: start; padding: 40px; background: #fff; border-radius: 14px; box-shadow: 0 8px 30px rgba(20, 27, 43, .08); }
.msg-photo { width: 100%; height: auto; border-radius: 10px; position: sticky; top: 96px; }
.msg-title { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; line-height: 1.5; margin: 0 0 10px; }
.msg-hl { background: linear-gradient(transparent 58%, #FFE08A 58%); }
.msg-from { margin: 0 0 24px; font-weight: 700; color: var(--mizu); letter-spacing: .06em; }
.msg-body p { line-height: 2; }
.msg-close { margin-top: 24px; padding: 18px 22px; background: #fffaeb; border-left: 4px solid #FFC93C; font-family: var(--serif); font-weight: 700; line-height: 1.9 !important; }
.msg-sign { text-align: right; font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: .12em; margin-top: 20px; }
@media (max-width: 800px) { .msg-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; } .msg-photo { position: static; max-width: 280px; } }

/* 特別ゲスト登壇者 */
.speakers-guest { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; max-width: 680px; margin: 0 auto 48px; }

/* メニュー項目が増えたので、広い画面では詰め、1320px以下はメニューボタンに */
.header-inner { gap: 24px; }
.site-nav { gap: 16px; }
.site-nav a { font-size: 13px; letter-spacing: .03em; }
@media (max-width: 1320px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid #D9DDD3;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .site-nav.is-open { max-height: 640px; overflow-y: auto; }
  .site-nav a { padding: 14px 24px; width: 100%; border-top: 1px solid #ECEEE8; font-size: 14px; }
  .site-nav .nav-cta { border-radius: 0; }
}

/* 応援メッセージの写真を小さく */
.msg-card { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
@media (max-width: 800px) { .msg-card { grid-template-columns: 1fr; } .msg-photo { max-width: 160px; } }

/* 応援メッセージ：トップは見出し＋小さな写真のカード（クリックで全文ページへ） */
.msg-teaser { display: flex; align-items: center; gap: 24px; max-width: 760px; padding: 22px 28px; background: #fff; border-radius: 14px; border-left: 5px solid #FFC93C; box-shadow: 0 6px 24px rgba(20, 27, 43, .08); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.msg-teaser:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(20, 27, 43, .14); }
.msg-teaser-photo { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #FFC93C; }
.msg-teaser-body { display: flex; flex-direction: column; gap: 6px; }
.msg-teaser-title { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 32px); font-weight: 700; line-height: 1.4; }
.msg-teaser-from { font-weight: 700; color: var(--mizu); letter-spacing: .06em; font-size: 15px; }
.msg-teaser-more { font-weight: 700; font-size: 14px; color: var(--shu); }
@media (max-width: 600px) { .msg-teaser { gap: 16px; padding: 18px; } .msg-teaser-photo { width: 72px; height: 72px; } }
/* 全文ページの写真 */
.msg-page .msg-card { grid-template-columns: 160px minmax(0, 1fr); }
@media (max-width: 800px) { .msg-page .msg-card { grid-template-columns: 1fr; } .msg-page .msg-photo { max-width: 140px; } }

/* ケーブルテレビ栃木 収録決定の帯 */
.tv-band { background: #141B2B; color: #fff; }
.tv-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding-top: 16px; padding-bottom: 16px; text-align: center; }
.tv-band-label { padding: 3px 12px; background: #FFC93C; color: #141B2B; font-size: 12px; font-weight: 700; letter-spacing: .14em; border-radius: 999px; }
.tv-band-text { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; letter-spacing: .06em; }
.tv-band-sub { font-size: 14px; color: #cfd6e0; }

/* 英語訳ボタン */
.lang-toggle { flex: none; margin-left: auto; margin-right: 12px; padding: 5px 12px; font: 700 13px/1 var(--sans, sans-serif); letter-spacing: .06em; color: #141B2B; background: #fff; border: 1.5px solid #141B2B; border-radius: 999px; cursor: pointer; }
.lang-toggle:hover { background: #FFC93C; }
@media (min-width: 1321px) { .lang-toggle { order: 3; margin: 0 0 0 4px; } }
html.is-en .hero-pretitle, html.is-en .msg-teaser-title { letter-spacing: 0; }

/* 開催終了：日時パネルに「実施完了」スタンプ */
.hero-meta .hero-date { position: relative; }
.hero-meta .done-stamp { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-14deg); padding: 6px 18px; font-family: var(--serif); font-size: 34px; font-weight: 900; letter-spacing: .14em; line-height: 1.2; white-space: nowrap; color: rgba(200, 30, 40, .82); border: 4px double rgba(200, 30, 40, .82); border-radius: 8px; background: rgba(255, 255, 255, .12); pointer-events: none; z-index: 2; mix-blend-mode: multiply; }
@media (max-width: 600px) { .hero-meta .done-stamp { font-size: 26px; padding: 4px 12px; } }

/* 3つのセッション：ヒアリング分析レポート（スクショ4枚＋リンク） */
.session-report { margin-top: auto; padding-top: 18px; }
.session-report-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--ink-sub); margin: 0 0 8px; }
.session-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.session-shots a { display: block; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; transition: transform .2s, box-shadow .2s; }
.session-shots a:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(20, 27, 43, .14); }
.session-shots img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.session-report-link { display: block; margin-top: 12px; padding: 10px 14px; text-align: center; font-weight: 700; font-size: 15px; color: #fff; background: var(--shu); border-radius: 4px; text-decoration: none; }
.session-report-link:hover { background: #c95a40; color: #fff; }

/* タイムテーブル「ともしび」：スライド6枚（クリックで拡大） */
.tt-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 4px; }
.tt-shot { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; cursor: zoom-in; transition: transform .2s, box-shadow .2s; }
.tt-shot:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(20, 27, 43, .14); }
.tt-shot img { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 1038; object-fit: cover; }
.tt-shots-note { margin: 4px 0 0; font-size: 12px; color: var(--ink-sub); }
@media (max-width: 600px) { .tt-shots { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* 画像の拡大表示 */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 56px 64px; background: rgba(14, 18, 30, .9); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); background: #fff; }
.lightbox figcaption { margin-top: 12px; color: #fff; font-size: 14px; text-align: center; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lightbox .lb-close { top: 14px; right: 16px; }
.lightbox .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 56px 8px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; transform: none; } .lightbox .lb-prev { left: calc(50% - 60px); } .lightbox .lb-next { right: calc(50% - 60px); } }
.tt-report-link { display: inline-block; margin-top: 10px; padding: 8px 18px; font-size: 14px; font-weight: 700; color: #fff; background: var(--shu); border-radius: 4px; text-decoration: none; }
.tt-report-link:hover { background: #c95a40; color: #fff; }

/* タイムテーブル：価値っと！スイッチ（Tool） */
#timetable .timeline li.is-tool::before { background: #FFC93C; border: 2px solid var(--sumi, #141B2B); width: 12px; height: 12px; left: -6px; }
#timetable .timeline li.is-tool > div > b { font-size: 12px; letter-spacing: .2em; color: var(--ink-sub); }

/* タイムテーブル：価値っと！スイッチをロゴ表記＋白地枠に */
#timetable .timeline li.is-tool { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin: 6px 0; }
#timetable .timeline .tt-brand { margin: 0 0 6px; }
#timetable .timeline .tt-brand .brand-inline { font-size: clamp(22px, 2.6vw, 28px); }

/* ケーブルテレビの放送日 */
.tv-band .tv-schedule { flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 6px 0 0; }
.tv-band .tv-schedule > div { padding: 8px 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; text-align: left; }
.tv-band .tv-schedule dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #FFC93C; }
.tv-band .tv-schedule dd { margin: 2px 0 0; font-size: 15px; color: #fff; }
.tv-band .tv-schedule dd b { font-size: 17px; }
.tv-band-link { flex-basis: 100%; font-size: 14px; font-weight: 700; color: #FFC93C; text-decoration: underline; text-underline-offset: 3px; }
.tv-band-link:hover { color: #fff; }
/* スイッチのロゴ：タイムテーブル内の span 指定（block・小さい灰色文字）を打ち消す */
#timetable .timeline .tt-brand .brand-inline { display: inline-flex; align-items: center; gap: .3em; color: #141B2B; }
#timetable .timeline .tt-brand .brand-inline span { display: inline-block; font-size: inherit; color: #141B2B; }
#timetable .timeline .tt-brand .brand-inline .hl { background: #FFC93C; padding: .06em .1em; transform: rotate(-2deg); }
#timetable .timeline .tt-brand .logo-mark { width: 1.1em; height: 1.1em; }

/* 開催の様子（Photo Review） */
#review .review-group { display: block; margin: 8px 0 18px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(20, 27, 43, .16); cursor: zoom-in; }
#review .review-group img { display: block; width: 100%; height: auto; }
#review .review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
#review .review-photo { display: block; border-radius: 8px; overflow: hidden; cursor: zoom-in; transition: transform .2s, box-shadow .2s; }
#review .review-photo:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(20, 27, 43, .16); }
#review .review-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
#review .review-photo:first-child { grid-column: span 2; }
#review .review-photo:first-child img { aspect-ratio: auto; height: 100%; min-height: 0; position: absolute; inset: 0; }
#review .review-photo:first-child { position: relative; }
@media (max-width: 700px) { #review .review-grid { grid-template-columns: repeat(2, 1fr); } #review .review-photo:first-child { grid-column: span 2; } }
@media (max-width: 700px) { #review .review-photo:first-child img { position: static; aspect-ratio: 16 / 9; height: auto; } }
/* タイムテーブル：思考の地形図 */
#timetable .timeline .tt-chikei-title { margin: 0 0 6px; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: .08em; color: #141B2B; }
#timetable .timeline li.is-chikei::before { background: #6B4FA0; border-color: #141B2B; }
/* 開催の様子：8枚を4列×2段にそろえる */
#review .review-photo:first-child { grid-column: auto; position: static; }
#review .review-photo:first-child img { position: static; aspect-ratio: 16 / 9; height: auto; }
@media (max-width: 700px) { #review .review-photo:first-child { grid-column: auto; } }
/* 開催の様子：7枚（1枚目を横長に）＋懇親会 */
#review .review-grid.is-7 .review-photo:first-child { grid-column: span 2; position: relative; }
#review .review-grid.is-7 .review-photo:first-child img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
@media (max-width: 700px) { #review .review-grid.is-7 .review-photo:first-child img { position: static; aspect-ratio: 16 / 9; height: auto; } }
#review .review-sub { margin: 48px 0 14px; padding-left: 12px; border-left: 4px solid #FFC93C; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; color: #141B2B; }
/* 懇親会：小さい写真6枚（3列） */
#review .party-grid { grid-template-columns: repeat(3, 1fr); margin-top: 6px; }
#review .party-grid .review-photo img { aspect-ratio: 16 / 10; }
@media (max-width: 700px) { #review .party-grid { grid-template-columns: repeat(2, 1fr); } }
#review .review-group + .review-group { margin-top: 0; }
/* 懇親会：集合写真2枚を中サイズで横並び */
#review .party-main { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
#review .party-main .review-group { margin: 0; }
#review .party-main .review-group img { aspect-ratio: 16 / 9; object-fit: cover; height: auto; }
@media (max-width: 700px) { #review .party-main { grid-template-columns: 1fr; } }

/* 開催動画（全編公開） */
#fullvideo .video-card { position: relative; display: block; margin: 20px 0 22px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(20, 27, 43, .18); }
#fullvideo .video-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: brightness(.78); transition: filter .2s; }
#fullvideo .video-card:hover img { filter: brightness(.9); }
#fullvideo .video-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 24px rgba(0, 0, 0, .3); }
#fullvideo .video-play::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #141B2B; }

/* セッション動画（Vimeo）へのリンク */
.video-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 18px; font-size: 14px; font-weight: 700; color: #fff !important; background: #141B2B; border-radius: 999px; text-decoration: none; }
.video-link:hover { background: #2a3550; }
.video-link span { display: inline-block !important; font-size: 11px !important; color: #FFC93C !important; }
.session-card .video-link { justify-content: center; margin-top: 10px; }
#timetable .timeline .video-link { display: inline-flex; margin-left: 8px; }
#timetable .timeline .tt-cast + .video-link { margin-left: 0; }

/* ケーブルテレビ：放送画面4枚 */
.tv-band .catv-onair { flex-basis: 100%; margin-top: 14px; }
.tv-band .catv-onair-title { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: #FFC93C; }
.tv-band .catv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 1100px; margin: 0 auto; }
.tv-band .catv-shot { display: block; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .2); cursor: zoom-in; transition: transform .2s; }
.tv-band .catv-shot:hover { transform: translateY(-2px); }
.tv-band .catv-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.tv-band .catv-note { margin: 8px 0 0; font-size: 12px; color: #cfd6e0; }
@media (max-width: 700px) { .tv-band .catv-grid { grid-template-columns: repeat(2, 1fr); } }

/* セッション動画：サムネイル付きリンク */
.video-thumb { display: block; margin-top: 14px; max-width: 420px; text-decoration: none; color: #141B2B; }
.video-thumb-img { position: relative; display: block !important; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 14px rgba(20, 27, 43, .15); }
.video-thumb-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s, filter .25s; filter: brightness(.88); }
.video-thumb:hover .video-thumb-img img { transform: scale(1.03); filter: brightness(1); }
.video-thumb-play { position: absolute !important; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 16px rgba(0, 0, 0, .3); display: block !important; }
.video-thumb-play::after { content: ""; position: absolute; left: 22px; top: 17px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #141B2B; }
.video-thumb-dur { position: absolute !important; right: 8px; bottom: 8px; display: inline-block !important; padding: 2px 8px; font-size: 12px !important; font-weight: 700; color: #fff !important; background: rgba(20, 27, 43, .8); border-radius: 4px; }
.video-thumb-label { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px !important; font-weight: 700; color: #141B2B !important; }
.video-thumb-label span { display: inline !important; font-size: 11px !important; color: #E07A5F !important; }
.video-thumb:hover .video-thumb-label { text-decoration: underline; }
.session-card .video-thumb { max-width: none; }

/* ダイジェスト動画（YouTube・提供 Vpon） */
#digest .digest-title { font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: #141B2B; }
#digest .video-card { position: relative; display: block; margin: 18px 0 22px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(20, 27, 43, .18); }
#digest .video-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: brightness(.85); transition: filter .2s; }
#digest .video-card:hover img { filter: brightness(1); }
#digest .video-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 24px rgba(0, 0, 0, .3); }
#digest .video-play::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #141B2B; }
#digest .digest-credit { margin-top: 10px; font-size: 14px; color: var(--ink-sub); letter-spacing: .06em; }
