@charset "utf-8";

/* =========================================================
   塚本会 デザインシステム
   claude.ai/design「塚本会 トップページ」を実装したもの
   ========================================================= */

:root {
  /* Navy(主色) */
  --navy: #10365f;
  --navy-deep: #0b2543;
  --navy-mid: #1a4570;

  /* Blue(リンク・タグ) */
  --blue: #1a6cbd;
  --blue-dark: #155ba1;
  --blue-pale: #e8f1fb;
  --blue-underline: #a9cbec;

  /* Yellow(アクセント) */
  --yellow: #ffc42e;
  --yellow-pale: #fff2cf;
  --yellow-text: #7a5405;
  --gold: #a07c12;

  /* Cream(ストーリー面) */
  --cream: #fdf6e6;
  --cream-border: #f0e3c2;
  --cream-text: #8a7c58;

  /* Text */
  --text: #1c2430;
  --text-mid: #3c4a58;
  --muted: #5d6b7a;
  --muted-light: #8b97a3;

  /* Surface */
  --bg: #fff;
  --bg-gray: #f5f7f9;
  --border: #e2e6eb;
  --border-soft: #e5e9ee;

  /* Alert */
  --alert: #b3271f;
  --alert-bg: #fdecea;
  --alert-border: #f3c9c4;
  --alert-text: #7a1f19;
  --alert-tag-text: #a3241d;

  --max-width: 1280px;
  --pad-x: 48px;
  --radius: 10px;
  --radius-lg: 12px;

  --font-head: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --font-mono: ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); }
a:hover { color: var(--navy); }

h1, h2, h3 { font-family: var(--font-head); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.eyebrow {
  font: 500 11px var(--font-mono);
  color: var(--blue);
  letter-spacing: .16em;
  margin: 0;
}

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: relative;
  z-index: 30;
  background: var(--navy);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

/* トップページ:ヒーロー写真の上に重ねる */
.site-header--overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

.brand .mark {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 17px var(--font-head);
}

.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name { color: #fff; font: 700 21px/1 var(--font-head); letter-spacing: .02em; }
.brand-sub { color: rgba(255,255,255,.72); font-size: 10px; letter-spacing: .14em; }

.nav-right { display: flex; align-items: center; gap: 26px; }

.nav-quick { display: flex; align-items: center; gap: 26px; }
.nav-quick a { color: #fff; font-size: 15px; text-decoration: none; }
.nav-quick a:hover { color: var(--yellow); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.nav-toggle-label {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 7px;
  padding: 8px 13px;
  color: #fff;
  font-size: 14px;
  user-select: none;
}
.nav-toggle-label:hover { border-color: var(--yellow); color: var(--yellow); }
.nav-toggle-label .bar { font-size: 13px; line-height: 1; }
.nav-toggle:focus-visible ~ .nav-right .nav-toggle-label { outline: 2px solid var(--yellow); outline-offset: 3px; }

.main-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--navy-deep);
  /* 開閉はトランジションを使わず display で切り替える。
     アニメーション由来の値は author !important より優先されるため、
     トランジションが途中で止まると開かなくなる事故が起きる。 */
  display: none;
}
.nav-toggle:checked ~ .main-nav { display: block; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px var(--pad-x) 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px 20px;
}
.main-nav li { border-bottom: 1px solid rgba(255,255,255,.12); }
.main-nav a {
  display: block;
  padding: 13px 2px;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a.active { color: var(--yellow); }

/* =========================================================
   ヒーロー(トップページ)
   ========================================================= */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  background-color: var(--navy);
  background-image: url("../images/site/hero.jpg");
  background-size: cover;
  background-position: center 38%;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  pointer-events: none;
}
.hero::before {
  top: 0; height: 190px;
  background: linear-gradient(rgba(10,30,56,.8), rgba(10,30,56,.5) 45%, rgba(10,30,56,0));
}
.hero::after {
  bottom: 0; height: 360px;
  background: linear-gradient(rgba(9,28,52,0), rgba(9,28,52,.82));
}

.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 150px;
  padding-bottom: 40px;
}

.hero-copy { display: flex; flex-direction: column; gap: 14px; max-width: 660px; }

.hero-badge {
  align-self: flex-start;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 999px;
  padding: 7px 16px;
  font: 500 13px var(--font-body);
}

.hero h1 {
  margin: 0;
  color: #fff;
  font: 700 clamp(30px, 3.9vw, 50px)/1.24 var(--font-head);
  letter-spacing: .01em;
  text-shadow: 0 2px 16px rgba(6,22,44,.45);
  text-wrap: pretty;
}

.hero .lead {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.85;
  text-wrap: pretty;
}

/* NEXT カード */
.next-card {
  flex: none;
  width: 270px;
  background: rgba(255,255,255,.97);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 14px 34px rgba(6,22,44,.3);
}
.next-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.next-head .label { font: 500 11px var(--font-mono); color: var(--muted); letter-spacing: .1em; }
.next-head .no { font-size: 12px; color: var(--muted); }
.next-date { font: 700 27px/1.2 var(--font-head); color: var(--navy); }
.next-date small { font-size: 17px; }
.next-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 11px;
}
.next-card .btn { width: 100%; }
.next-sub { text-align: center; font-size: 13px; color: var(--blue); text-decoration: none; }

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  display: inline-block;
  border-radius: 8px;
  padding: 13px 26px;
  font: 700 15px var(--font-head);
  text-align: center;
  text-decoration: none;
  transition: filter .15s, background .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { filter: brightness(.94); color: var(--navy); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,.6);
  color: #fff;
  font-weight: 400;
  font-family: var(--font-body);
}
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-line {
  display: block;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  border-radius: 8px;
  padding: 12px 0;
  font: 400 13px var(--font-body);
  text-align: center;
  text-decoration: none;
}
.btn-line:hover { background: var(--blue-pale); }

/* =========================================================
   実績バー
   ========================================================= */
.stats { display: flex; background: var(--navy); }
.stat {
  flex: 1;
  padding: 22px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat + .stat { border-left: 1px solid rgba(255,255,255,.14); }
.stat-num { font: 700 34px/1 var(--font-head); color: #fff; }
.stat-num small { font-size: 16px; margin-left: 3px; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.62); letter-spacing: .06em; }

/* =========================================================
   中止アラート
   ========================================================= */
.alert-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px var(--pad-x);
  background: var(--alert-bg);
  border-bottom: 1px solid var(--alert-border);
}
.alert-bar .badge {
  flex: none;
  background: var(--alert);
  color: #fff;
  border-radius: 5px;
  padding: 5px 11px;
  font: 700 12px var(--font-head);
  letter-spacing: .06em;
}
.alert-bar p { margin: 0; font-size: 15px; color: var(--alert-text); }

/* =========================================================
   セクション共通
   ========================================================= */
.section { padding: 66px 0 60px; background: var(--bg); }
.section-gray { background: var(--bg-gray); border-top: 1px solid var(--border-soft); }
.section-cream { background: var(--cream); border-top: 1px solid var(--cream-border); }
.section-navy { background: var(--navy); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.section-head .titles { display: flex; flex-direction: column; gap: 7px; }
.section-head h2 {
  margin: 0;
  font: 700 clamp(22px, 2.3vw, 29px)/1.3 var(--font-head);
  color: var(--navy);
}
.section-head .more { font-size: 14px; color: var(--blue); text-decoration: none; white-space: nowrap; }
.section-note { margin: 0 0 26px; font-size: 14px; color: var(--muted); }

/* =========================================================
   お知らせ(render.js が生成)
   ========================================================= */
[data-news-list] { border-top: 1px solid var(--border); }

.news-item {
  display: flex;
  gap: 26px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.news-meta {
  flex: none;
  width: 190px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.news-date { font: 500 13px var(--font-mono); color: var(--muted); }
.news-body { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.news-body h3 { margin: 0; font: 700 17px/1.5 var(--font-head); color: var(--text); }
.news-body p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }

.tag {
  background: var(--blue-pale);
  color: var(--blue-dark);
  border-radius: 4px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.tag-alert { background: var(--alert-bg); color: var(--alert-tag-text); font-weight: 700; }
.tag-event { background: var(--yellow-pale); color: var(--yellow-text); }

/* =========================================================
   ストーリー
   ========================================================= */
.story { display: flex; gap: 52px; align-items: flex-start; }
.story-photo { flex: none; width: 400px; display: flex; flex-direction: column; gap: 10px; }
.story-photo img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center 45%;
  border-radius: var(--radius-lg);
  filter: saturate(.92) contrast(1.04);
}
.story-caption { font-size: 11px; color: var(--cream-text); font-family: var(--font-mono); }

.story-body { flex: 1; display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.story-body .eyebrow { color: var(--gold); }
.story-body h2 {
  margin: 0;
  font: 700 clamp(21px, 2.5vw, 31px)/1.45 var(--font-head);
  color: var(--navy);
  text-wrap: pretty;
}
.rule { width: 56px; height: 3px; background: var(--yellow); border-radius: 2px; }
.story-body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 2.1;
  color: var(--text-mid);
  text-wrap: pretty;
}

.story-cards { display: flex; gap: 14px; margin-top: 6px; }
.story-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--cream-border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.story-card b { font: 700 17px var(--font-head); color: var(--navy); }
.story-card span { font-size: 13px; line-height: 1.8; color: var(--muted); }
.story-sign { margin-top: 8px; font-size: 13px; color: var(--cream-text); }

/* =========================================================
   やっていること
   ========================================================= */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.about-card .thumb {
  height: 150px;
  background: repeating-linear-gradient(135deg, #dde3e8 0 10px, #e9edf1 10px 20px);
  position: relative;
}
.about-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.about-card .thumb--navy { background: var(--navy); }
.breakfast-thumb {
  width: 100%;
  height: 100%;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  background:
    radial-gradient(circle at 82% 26%, rgba(255,196,46,.96) 0 18px, transparent 19px),
    linear-gradient(135deg, #fff2cf 0%, #ffe3a1 100%);
  color: var(--navy);
}
.breakfast-time { font: 700 34px/1 var(--font-head); letter-spacing: .02em; }
.breakfast-label { font: 700 15px/1.55 var(--font-head); }
.about-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 9px; }
.about-card .head { display: flex; align-items: center; gap: 10px; }
.about-card h3 { margin: 0; font: 700 19px var(--font-head); color: var(--navy); }
.about-card p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--muted); }
.about-card .more { font-size: 13px; color: var(--blue); text-decoration: none; margin-top: 2px; }

.num {
  width: 32px; height: 32px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.num-1 { background: var(--blue-pale); color: var(--blue-dark); }
.num-2 { background: var(--yellow-pale); color: var(--yellow-text); }
.num-3 { background: #eef0f2; color: var(--text-mid); }

/* =========================================================
   活動の記録(モザイクギャラリー)
   ========================================================= */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.mosaic .gallery-photo,
.mosaic .photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}
.mosaic > *:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic > *:nth-child(4) { grid-column: span 2; }
.mosaic > *:nth-child(5) { grid-row: span 2; }

.photo-placeholder {
  background: repeating-linear-gradient(135deg, #dde3e8 0 10px, #e9edf1 10px 20px);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 18px;
  font: 10px var(--font-mono);
  color: rgba(16,54,95,.42);
  line-height: 1.7;
}

.mosaic-more {
  grid-column: span 2;
  border-radius: var(--radius);
  background: #f4f6f8;
  border: 1px dashed #cdd4db;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}
.mosaic-more:hover { background: var(--blue-pale); text-decoration: none; }
.mosaic-more b { font: 700 24px var(--font-head); color: var(--navy); }
.mosaic-more span { font-size: 12px; color: var(--muted); }

/* =========================================================
   開催情報
   ========================================================= */
.eventinfo { display: flex; align-items: stretch; }
.eventinfo-main {
  flex: 1.15;
  padding: 56px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.eventinfo-main .eyebrow { color: var(--yellow); }
.eventinfo-main h2 { margin: 0; font: 700 clamp(22px, 2.3vw, 29px)/1.35 var(--font-head); color: #fff; }

.deflist {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px 26px;
  font-size: 15px;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 20px;
}
.deflist dt { color: rgba(255,255,255,.55); font-size: 13px; padding-top: 2px; }
.deflist dd { margin: 0; }

.eventinfo-actions { display: flex; gap: 12px; margin-top: 4px; flex-wrap: wrap; }

.eventinfo-side {
  flex: 1;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font: 11px var(--font-mono);
  color: rgba(255,255,255,.6);
  line-height: 1.8;
}
.meeting-spot {
  position: relative;
  width: 100%;
  min-height: 310px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-mid);
}
.meeting-spot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,28,52,.04) 35%, rgba(9,28,52,.78) 100%);
  pointer-events: none;
}
.meeting-spot img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; object-position: center 38%; }
.meeting-spot-caption {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
  text-align: left;
  font-family: var(--font-body);
}
.meeting-spot-caption strong { font: 700 15px var(--font-head); }
.meeting-spot-caption span { font-size: 12px; color: rgba(255,255,255,.88); }

/* =========================================================
   協賛企業(マーキー)
   ========================================================= */
.supporters { padding: 52px 0 50px; overflow: hidden; }
.marquee-mask {
  position: relative;
  margin: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
}
.marquee-track.is-animated { animation: tkmt-marquee 34s linear infinite; }
.marquee-mask:hover .marquee-track.is-animated { animation-play-state: paused; }
/* 企業数が少ないときは中央寄せの静止表示 */
.marquee-track.is-static { width: 100%; justify-content: center; flex-wrap: wrap; }

@keyframes tkmt-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track.is-animated { animation: none; }
}

.company-card {
  flex: none;
  width: 196px;
  height: 71px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 12px;
  font: 500 13px var(--font-head);
  color: #7d8996;
  overflow: hidden;
}
.company-card h3 { margin: 0; font: inherit; }
.company-card h3 a { color: inherit; text-decoration: none; }
.company-card p { display: none; }

/* ロゴはワークページで 392×142px(カード比と同じ)に統一して書き出すため、
   contain で入れればどの企業も同じ大きさに揃う */
.company-card .company-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px 10px;
  background: #fff;
}
/* ロゴ未設定のときは社名テキストで代替 */
.company-logo { font: 500 13px var(--font-head); color: #7d8996; }

/* ロゴがあるときは社名を重複表示しない */
.company-card:has(.company-logo-img) h3 { display: none; }

.marquee-note { font-size: 12px; color: var(--muted-light); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-groups { max-width: 840px; display: flex; flex-direction: column; gap: 26px; }
.faq-group { display: flex; flex-direction: column; gap: 12px; }
.faq-group-head { display: flex; align-items: center; gap: 12px; }
.faq-group-head h3 {
  margin: 0;
  font: 700 15px var(--font-head);
  color: var(--navy);
  letter-spacing: .04em;
}
.faq-group-head .line { flex: 1; height: 1px; background: #dfe4e9; }
.faq-group-head .count { font: 500 11px var(--font-mono); color: #a8b2bc; }

.faq {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 20px 4px 22px;
}
.faq > summary {
  cursor: pointer;
  padding: 15px 0;
  font: 700 17px/1.6 var(--font-head);
  color: var(--navy);
  outline-offset: 3px;
  list-style-position: outside;
}
.faq > summary:focus-visible { outline: 2px solid var(--blue); }
.faq > summary::marker { color: var(--blue); font-size: 13px; }
.faq[open] > summary { color: var(--navy); }

.faq-a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-top: 1px solid #eef1f4;
  padding: 13px 0 16px;
}
.faq-a .badge {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 13px var(--font-head);
}
.faq-a p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--text-mid);
  text-wrap: pretty;
}
.faq-a a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: var(--blue-underline);
}

.faq-hint {
  background: var(--blue-pale);
  color: var(--blue-dark);
  border-radius: 5px;
  padding: 3px 8px;
  font: 500 10.5px var(--font-body);
  margin-left: 6px;
  white-space: nowrap;
}

/* =========================================================
   フッター
   ========================================================= */
.site-footer {
  background: var(--navy-deep);
  padding: 44px var(--pad-x) 30px;
}
.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 330px; }
.footer-brand .row { display: flex; align-items: center; gap: 11px; }
.footer-brand .mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 15px var(--font-head);
}
.footer-brand .name { color: #fff; font: 700 19px var(--font-head); }
.footer-brand p { margin: 0; font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.6); }

.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col .label {
  font: 500 11px var(--font-mono);
  color: rgba(255,255,255,.4);
  letter-spacing: .1em;
}
.footer-col a { color: rgba(255,255,255,.85); font-size: 14px; text-decoration: none; }
.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 30px auto 0;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

/* =========================================================
   下層ページ用ヘッダー
   ========================================================= */
.page-header {
  background: var(--navy);
  padding: 56px 0 48px;
}
.page-header .eyebrow { color: var(--yellow); }
.page-header h1 {
  margin: 8px 0;
  color: #fff;
  font: 700 clamp(24px, 3vw, 34px)/1.35 var(--font-head);
}
.page-header p { margin: 0; color: rgba(255,255,255,.82); max-width: 660px; font-size: 15px; }

/* =========================================================
   下層ページの共通パーツ
   ========================================================= */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}
.card h3 { margin: 0 0 10px; font: 700 18px var(--font-head); color: var(--navy); }
.card p { margin: 0; font-size: 14.5px; line-height: 1.9; color: var(--muted); }

.icon-circle {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.event-box {
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  display: grid;
  gap: 10px;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 8px 0;
  font-size: 14.5px;
  color: var(--text-mid);
}
.event-meta strong { color: var(--navy); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 20px; }
.steps li { counter-increment: step; display: flex; gap: 16px; }
.steps li::before {
  content: counter(step);
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 700 15px var(--font-head);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.value-list li { display: flex; gap: 16px; align-items: flex-start; }
.value-num {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 700 15px var(--font-head);
  display: flex;
  align-items: center;
  justify-content: center;
}

.note-box {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}
.note-box strong { color: var(--text); }

.section-foot { margin-top: 28px; }

/* 活動報告一覧(下層ページ) */
.activity-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  margin-bottom: 16px;
}
.activity-date { color: var(--blue); font: 500 13px var(--font-mono); }
.activity-count { margin-top: 8px; font-size: 13px; color: var(--muted); }
.activity-item h3 { margin: 0 0 6px; font: 700 18px var(--font-head); color: var(--navy); }
.activity-item p { margin: 0; font-size: 14.5px; line-height: 1.9; color: var(--muted); }
.activity-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.activity-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* 協賛企業ページはカード表示に戻す */
.company-grid .company-card {
  width: auto;
  height: auto;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  font: inherit;
}
.company-grid .company-card h3 { font: 700 16px var(--font-head); color: var(--navy); }
.company-grid .company-card p {
  display: block;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}
.company-grid .company-logo {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 22px var(--font-head);
  color: var(--navy);
}
.company-grid .company-card .company-logo-img {
  width: 100%;
  height: auto;
  aspect-ratio: 392 / 142;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}
/* 紹介ページでは社名も出す */
.company-grid .company-card:has(.company-logo-img) h3 { display: block; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1080px) {
  .story { flex-direction: column; gap: 28px; }
  .story-photo { width: 100%; }
  .story-photo img { height: 320px; }
  .eventinfo { flex-direction: column; }
  .eventinfo-side { min-height: 240px; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .main-nav ul { grid-template-columns: repeat(2, 1fr); }
}

/* ナビ:760px でクイックリンクを隠す */
@media (max-width: 760px) {
  :root { --pad-x: 18px; }

  .nav-quick { display: none; }
  .nav-toggle-label { padding: 0; width: 44px; height: 44px; justify-content: center; border-radius: 8px; }
  .nav-toggle-label .txt { display: none; }
  .nav-toggle-label .bar { font-size: 17px; }
  .brand .mark { width: 32px; height: 32px; font-size: 14px; }
  .brand-name { font-size: 18px; }
  .brand-sub { display: none; }

  .hero { min-height: 520px; }
  .hero .wrap { flex-direction: column; align-items: stretch; padding-top: 120px; padding-bottom: 20px; gap: 12px; }
  .hero h1 { font-size: 30px; line-height: 1.32; }
  .hero .lead { font-size: 13px; line-height: 1.8; }
  .hero-badge { font-size: 12px; padding: 6px 13px; }
  .next-card { width: 100%; padding: 14px 16px; border-radius: 12px; }
  .next-date { font-size: 22px; }

  .stat { padding: 16px 8px; }
  .stat-num { font-size: 24px; }
  .stat-num small { font-size: 12px; }
  .stat-label { font-size: 10px; }

  .section { padding: 36px 0 34px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 16px; }

  .news-item { flex-direction: column; gap: 6px; padding: 15px 0; }
  .news-meta { width: auto; gap: 9px; }
  .news-body h3 { font-size: 15px; }
  .news-body p { font-size: 12.5px; }

  .story-cards { flex-direction: column; gap: 10px; }
  .story-body p { font-size: 13.5px; line-height: 2; }
  .story-photo img { height: 220px; }

  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 104px; gap: 8px; }
  .mosaic > *:nth-child(4) { grid-column: auto; }
  .mosaic > *:nth-child(5) { grid-row: auto; }

  .eventinfo-main { padding: 34px var(--pad-x); }
  .eventinfo-side { min-height: 240px; padding: 18px; }
  .meeting-spot, .meeting-spot img { min-height: 240px; }
  .eventinfo-actions { flex-direction: column; }
  .eventinfo-actions .btn { width: 100%; }

  .company-card { width: 132px; height: 48px; }
  .marquee-track.is-animated { animation-duration: 26s; }

  .faq { padding: 2px 14px 2px 16px; }
  .faq > summary { font-size: 15px; padding: 13px 0; }
  .faq-a p { font-size: 13px; }

  .site-footer { padding: 28px var(--pad-x) 22px; }
  .footer-top { flex-direction: column; gap: 18px; }
  .footer-cols { gap: 28px; }

  .page-header { padding: 36px 0 32px; }
  .activity-item { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .main-nav ul { grid-template-columns: 1fr; }
  .deflist { grid-template-columns: 1fr; gap: 4px 0; }
  .deflist dt { padding-top: 12px; }
}

/* =========================================================
   POPテーマ
   明るい配色、丸いカード、少しだけ傾いたアクセントで
   親しみやすさを出す。本文の可読性と既存の情報構造は維持する。
   ========================================================= */
:root {
  --navy: #2949a7;
  --navy-deep: #172b70;
  --navy-mid: #3c61bd;
  --blue: #1d6fe8;
  --blue-dark: #174da9;
  --blue-pale: #eaf3ff;
  --blue-underline: #9ec7ff;
  --yellow: #ffd13d;
  --yellow-pale: #fff2b8;
  --yellow-text: #775100;
  --gold: #d26724;
  --cream: #fff8ec;
  --cream-border: #f1d39c;
  --cream-text: #98693d;
  --bg: #fffefb;
  --bg-gray: #f7f8ff;
  --border: #e0e5f2;
  --border-soft: #edf0f8;
  --coral: #ff6f67;
  --pink: #ff8caf;
  --mint: #c8f2dc;
  --lavender: #eef0ff;
  --radius: 18px;
  --radius-lg: 24px;
}

body { background: var(--bg); }
h1, h2, h3 { letter-spacing: .02em; }

.site-header {
  background: linear-gradient(105deg, var(--navy-deep), var(--navy));
}

.site-header .wrap { padding-top: 18px; padding-bottom: 18px; }

.site-header--overlay {
  background: linear-gradient(180deg, rgba(23, 43, 112, .94), rgba(23, 43, 112, 0));
}

.brand .mark {
  background: var(--yellow);
  border-color: #fff;
  color: var(--navy-deep);
  transform: rotate(-6deg);
  box-shadow: 4px 4px 0 var(--coral);
}

.brand-name, .nav-quick a { font-weight: 700; }

.nav-toggle-label {
  background: #fff;
  border: 0;
  color: var(--navy);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--yellow);
}

.main-nav { background: var(--navy-deep); }

.hero {
  min-height: 690px;
  background-position: center 38%;
}

.hero::before {
  background:
    radial-gradient(circle at 14% 22%, rgba(255, 209, 61, .42) 0 7px, transparent 8px),
    radial-gradient(circle at 87% 28%, rgba(255, 140, 175, .52) 0 10px, transparent 11px),
    linear-gradient(90deg, rgba(23, 43, 112, .92) 0%, rgba(23, 43, 112, .62) 44%, rgba(23, 43, 112, .08) 100%);
}

.hero::after {
  background: linear-gradient(0deg, rgba(23, 43, 112, .9), transparent 75%);
}

.hero .wrap { padding-bottom: 56px; }

.hero-badge {
  background: var(--yellow);
  color: var(--navy-deep);
  font-weight: 700;
  box-shadow: 5px 5px 0 var(--coral);
  transform: rotate(-2deg);
}

.hero h1 { font-weight: 700; }

.next-card {
  border: 4px solid #fff;
  border-radius: 28px;
  box-shadow: 10px 12px 0 rgba(255, 209, 61, .9), 0 18px 40px rgba(23, 43, 112, .2);
  transform: rotate(1deg);
}

.btn {
  border-radius: 999px;
  box-shadow: 0 4px 0 rgba(23, 43, 112, .16);
}

.btn-primary {
  border: 2px solid var(--yellow);
  background: var(--yellow);
  color: var(--navy-deep);
}

.btn-outline { border-width: 2px; }

.stats { background: var(--navy-deep); }
.stat { border-color: rgba(255, 255, 255, .22); }

.section { padding: 82px 0 76px; }
.section-gray { background: linear-gradient(135deg, #f6f8ff 0%, #fffdf8 100%); }
.section-cream { background: linear-gradient(135deg, #fff8ec 0%, #fffdf6 100%); }

.section-head h2 {
  display: inline-block;
  position: relative;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 52px;
  height: 6px;
  border-radius: 999px;
  background: var(--coral);
  transform: rotate(-2deg);
}

.section-head .more {
  border-bottom: 2px solid var(--yellow);
  font-weight: 700;
}

.news-item {
  border-bottom: 2px dotted var(--border);
  padding: 24px 8px;
}

.tag {
  border-radius: 999px;
  font-weight: 700;
  padding: 5px 11px;
}

.story-photo img {
  border: 6px solid #fff;
  border-radius: 28px;
  box-shadow: 10px 10px 0 var(--yellow);
  transform: rotate(-1deg);
}

.story-card {
  border: 2px solid var(--cream-border);
  border-radius: 20px;
  box-shadow: 5px 5px 0 rgba(255, 111, 103, .16);
}

.about-card {
  border: 0;
  border-radius: 24px;
  box-shadow: 0 12px 0 rgba(41, 73, 167, .1), 0 14px 28px rgba(23, 43, 112, .1);
  overflow: hidden;
}

.about-card .thumb { height: 170px; }
.about-card:nth-child(1) .thumb { background: var(--yellow-pale); }
.about-card:nth-child(2) .thumb { background: var(--mint); }
.about-card:nth-child(3) .thumb { background: #ffe1e8; }

.breakfast-thumb { border-radius: 18px 18px 0 0; }

.mosaic { gap: 16px; }
.mosaic > * { border-radius: 18px; }
.mosaic-more { border: 2px dashed var(--blue); border-radius: 18px; }

.section-navy { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }

.meeting-spot {
  border: 4px solid rgba(255, 255, 255, .28);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--yellow);
  overflow: hidden;
}

.company-card {
  border: 2px solid var(--yellow);
  border-radius: 999px;
  box-shadow: 4px 4px 0 rgba(255, 111, 103, .35);
}

.faq {
  border: 0;
  border-radius: 20px;
  box-shadow: 5px 5px 0 rgba(41, 73, 167, .1);
}

.faq-group-head h3 { color: var(--coral); }
.faq-a .badge { background: var(--yellow); color: var(--navy-deep); }

.card, .note-box, .activity-item {
  border-color: transparent;
  border-radius: 20px;
  box-shadow: 5px 5px 0 rgba(41, 73, 167, .1);
}

.event-box {
  border: 3px solid var(--navy);
  border-radius: 20px;
  box-shadow: 7px 7px 0 var(--yellow);
}

.steps li::before { background: var(--coral); }
.value-num { background: var(--coral); }

.page-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, var(--navy-deep), var(--navy));
}

.page-header::after {
  content: "";
  position: absolute;
  right: -48px;
  top: -78px;
  width: 210px;
  height: 210px;
  border: 28px solid rgba(255, 209, 61, .8);
  border-radius: 50%;
  transform: rotate(12deg);
}

.page-header .wrap { position: relative; z-index: 1; }
.site-footer { background: var(--navy-deep); }
.footer-brand .mark { background: var(--yellow); color: var(--navy-deep); border-color: #fff; }
.footer-bottom { border-top: 2px dotted rgba(255, 255, 255, .28); }

@media (max-width: 760px) {
  .hero { min-height: 560px; }
  .hero-badge, .next-card, .story-photo img { transform: none; }
  .next-card { box-shadow: 6px 7px 0 var(--yellow), 0 12px 26px rgba(23, 43, 112, .18); }
  .section { padding: 56px 0 50px; }
  .story-photo img { box-shadow: 6px 6px 0 var(--yellow); }
  .about-card { box-shadow: 0 7px 0 rgba(41, 73, 167, .1), 0 10px 22px rgba(23, 43, 112, .1); }
  .company-card { border-radius: 18px; }
}

/* =========================================================
   画像・1日の流れのポップ調整
   ========================================================= */
.hero {
  background-image: url("../images/site/hero-cleanup.png");
  background-position: center right;
}

.hero-photo-note {
  position: absolute;
  right: var(--pad-x);
  bottom: 14px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: var(--muted);
  font-size: 11px;
}

.brand .mark,
.footer-brand .mark {
  background-color: #fff;
  background-image: url("../images/塚本会ロゴ.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border: 3px solid #fff;
  color: transparent;
  font-size: 0;
}

.brand .mark { border-radius: 14px; }
.footer-brand .mark { border-radius: 12px; }

.flow-section {
  overflow: hidden;
  background-color: #fff8d9;
  background-image: radial-gradient(circle, rgba(235,176,43,.3) 1.5px, transparent 1.6px);
  background-size: 18px 18px;
}

.flow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 40px;
  align-items: center;
}

.flow-copy {
  padding: 40px 42px 44px;
  border: 4px solid #fff;
  border-radius: 28px;
  background: rgba(255,255,255,.93);
  box-shadow: 7px 8px 0 rgba(255,111,103,.2);
}

.flow-copy h2 { margin: 8px 0 9px; }
.flow-lead { margin: 0; color: var(--navy); font-size: 18px; font-weight: 700; }

.flow-steps {
  list-style: none;
  margin: 28px 0 30px;
  padding: 0;
}

.flow-step {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
}

.flow-step + .flow-step { border-top: 2px dashed rgba(41,73,167,.18); }

.flow-time {
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 4px 9px;
  border-radius: 16px;
  background: var(--yellow);
  color: var(--navy-deep);
  font: 700 18px/1 var(--font-head);
  box-shadow: 4px 4px 0 var(--coral);
}

.flow-time small { display: block; margin-top: 3px; font-size: .62em; }
.flow-label { display: inline-block; color: var(--coral); font: 700 11px var(--font-mono); letter-spacing: .1em; }
.flow-step h3 { margin: 3px 0 3px; color: var(--navy); font-size: 18px; }
.flow-step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.flow-visual {
  position: relative;
  display: flex;
  min-height: 520px;
  align-items: flex-end;
  justify-content: center;
}

.flow-visual::before {
  content: "";
  position: absolute;
  inset: 40px 12% 24px;
  border: 3px dashed rgba(255,111,103,.5);
  border-radius: 48% 52% 45% 55%;
  background: rgba(255,255,255,.52);
  transform: rotate(4deg);
}

.flow-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 12px 0 rgba(41,73,167,.15));
}

.flow-sticker {
  position: absolute;
  top: 20px;
  right: 8%;
  z-index: 2;
  padding: 10px 16px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--navy);
  transform: rotate(4deg);
}

.flow-photo-caption {
  position: absolute;
  right: 12%;
  bottom: 8px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 900px) {
  .flow-layout { grid-template-columns: 1fr; gap: 18px; }
  .flow-visual { min-height: 390px; order: -1; }
}

@media (max-width: 760px) {
  .hero { background-position: 62% center; }
  .hero-photo-note { right: 16px; bottom: 10px; }
  .flow-copy { padding: 28px 22px 30px; border-width: 3px; }
  .flow-lead { font-size: 16px; }
  .flow-step { grid-template-columns: 64px 1fr; gap: 14px; padding: 15px 0; }
  .flow-time { min-height: 44px; font-size: 16px; }
  .flow-step h3 { font-size: 16px; }
  .flow-step p { font-size: 13px; }
  .flow-visual { min-height: 350px; margin-top: -6px; }
  .flow-visual img { width: 82%; max-height: 430px; }
  .flow-visual::before { inset: 24px 6% 12px; }
  .flow-sticker { top: 8px; right: 2%; padding: 8px 12px; font-size: 13px; }
  .flow-photo-caption { right: 4%; bottom: 0; }
}
/* =========================================================
   1日の流れ：一枚のポスタービジュアル
   ========================================================= */
.flow-section {
  overflow: hidden;
  background-color: #fff8d9;
  background-image:
    radial-gradient(circle, rgba(235,176,43,.34) 1.5px, transparent 1.6px),
    linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,0));
  background-size: 18px 18px, auto;
}

.flow-poster {
  position: relative;
  min-height: 930px;
  padding: 72px clamp(24px, 5vw, 76px) 56px;
  overflow: hidden;
  isolation: isolate;
}

.flow-poster::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 22px 1% 20px 0;
  border-radius: 46% 54% 44% 56% / 4% 5% 3% 4%;
  background: rgba(255,255,255,.48);
  transform: rotate(-1.2deg);
}

.flow-poster::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 7%;
  width: 280px;
  height: 210px;
  border-radius: 48% 52% 55% 45%;
  background: rgba(255,196,46,.24);
  transform: rotate(12deg);
}

.flow-poster-heading {
  position: relative;
  z-index: 3;
  max-width: 650px;
}

.flow-poster-heading h2 {
  margin: 10px 0 14px;
  color: var(--navy-deep);
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.22;
  letter-spacing: .01em;
}

.flow-poster-heading h2 span {
  color: var(--coral);
  text-decoration: underline;
  text-decoration-thickness: 7px;
  text-decoration-color: rgba(255,209,61,.78);
  text-underline-offset: 5px;
}

.flow-poster-lead {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
}

.flow-poster-stamp {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 16px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--navy);
  transform: rotate(-3deg);
}

.flow-track {
  position: relative;
  z-index: 2;
  width: min(700px, 67%);
  margin-top: 48px;
  padding: 4px 0 12px;
}

.flow-track-line {
  position: absolute;
  top: 20px;
  bottom: 28px;
  left: 78px;
  width: 5px;
  border-radius: 999px;
  background: repeating-linear-gradient(to bottom, var(--navy) 0 17px, transparent 17px 31px);
}

.flow-stop {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  min-height: 116px;
  padding: 13px 0 18px;
}

.flow-time {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 59px;
  padding: 8px 6px;
  border: 4px solid #fff;
  border-radius: 18px;
  background: var(--yellow);
  color: var(--navy-deep);
  font: 700 20px/1 var(--font-head);
  text-align: center;
  box-shadow: 4px 4px 0 var(--coral);
  transform: rotate(-2deg);
}

.flow-time small {
  display: block;
  margin-top: 4px;
  font-size: .65em;
}

.flow-stop-copy {
  padding: 5px 0 0;
}

.flow-stop-label {
  color: var(--coral);
  font: 700 11px var(--font-mono);
  letter-spacing: .08em;
}

.flow-stop h3 {
  margin: 4px 0 4px;
  color: var(--navy-deep);
  font-size: 20px;
  line-height: 1.35;
}

.flow-stop p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.flow-stop--cleanup .flow-time { background: #9de4df; box-shadow: 4px 4px 0 var(--navy); }
.flow-stop--move .flow-time { background: #ffd6df; box-shadow: 4px 4px 0 var(--coral); }
.flow-stop--morning .flow-time { background: #ffc42e; box-shadow: 4px 4px 0 var(--blue); }
.flow-stop--end .flow-time { background: #bde9b5; box-shadow: 4px 4px 0 var(--navy); }

.flow-poster-art {
  position: absolute;
  z-index: 1;
  top: 48px;
  right: 0;
  bottom: 18px;
  width: 42%;
  pointer-events: none;
}

@media (min-width: 761px) {
  .flow-poster-art { z-index: 3; }
}

.flow-cleanup-person {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 9%;
  width: min(245px, 60%);
  height: auto;
  filter: drop-shadow(0 9px 0 rgba(41,73,167,.14));
  transform: rotate(2deg);
}

.flow-morning-cutout {
  position: absolute;
  z-index: 2;
  right: -5%;
  bottom: 0;
  width: min(510px, 118%);
  height: auto;
  filter: drop-shadow(0 10px 0 rgba(255,111,103,.14));
}

.flow-art-label {
  position: absolute;
  z-index: 4;
  padding: 7px 12px;
  border: 3px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--navy);
}

.flow-art-label--cleanup {
  top: 224px;
  right: 2%;
  background: var(--coral);
  transform: rotate(5deg);
}

.flow-art-label--morning {
  right: 20%;
  bottom: 190px;
  background: var(--blue);
  transform: rotate(-4deg);
}

.flow-orb,
.flow-flower {
  position: absolute;
  display: block;
}

.flow-orb { width: 32px; height: 32px; border-radius: 50%; }
.flow-orb--pink { top: 24%; right: 45%; background: #ffb8c7; }
.flow-orb--blue { top: 42%; right: 8%; background: #8ededa; }
.flow-orb--yellow { bottom: 31%; left: 12%; background: #ffd582; }
.flow-flower { color: var(--coral); font-size: 64px; line-height: 1; }
.flow-flower--top { top: 6%; right: 54%; color: #79d4cc; transform: rotate(-12deg); }
.flow-flower--bottom { bottom: 9%; left: 3%; color: #f6a5b7; transform: rotate(14deg); }

.flow-poster-footer {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 2px dashed rgba(41,73,167,.25);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 761px) {
  .flow-poster-footer { z-index: 2; }
}

@media (max-width: 900px) {
  .flow-poster { min-height: 0; padding: 56px 22px 42px; }
  .flow-poster-heading { max-width: 560px; }
  .flow-track { width: 72%; }
  .flow-poster-art { width: 38%; }
  .flow-cleanup-person { right: 3%; width: min(190px, 75%); }
  .flow-morning-cutout { width: min(390px, 140%); right: -22%; }
}

@media (max-width: 760px) {
  .flow-poster { padding: 42px 16px 34px; }
  .flow-poster::before { inset: 12px -8px 10px 0; }
  .flow-poster::after { right: -20%; width: 190px; height: 140px; }
  .flow-poster-heading h2 { font-size: clamp(30px, 9vw, 44px); }
  .flow-poster-heading h2 span { text-decoration-thickness: 5px; }
  .flow-poster-lead { font-size: 16px; }
  .flow-poster-stamp { margin-top: 15px; }
  .flow-poster-art {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 330px;
    margin: 10px 0 -6px;
  }
  .flow-cleanup-person { top: 0; right: 9%; width: 145px; }
  .flow-morning-cutout { right: -17%; bottom: 0; width: 330px; }
  .flow-art-label--cleanup { top: 136px; right: 2%; font-size: 12px; }
  .flow-art-label--morning { right: 9%; bottom: 143px; font-size: 12px; }
  .flow-orb--pink { top: 14%; right: 47%; width: 24px; height: 24px; }
  .flow-orb--blue { top: 43%; right: 4%; width: 24px; height: 24px; }
  .flow-orb--yellow { bottom: 25%; left: 8%; width: 25px; height: 25px; }
  .flow-flower { font-size: 48px; }
  .flow-track { width: 100%; margin-top: 20px; }
  .flow-track-line { left: 55px; width: 4px; }
  .flow-stop { grid-template-columns: 76px minmax(0, 1fr); gap: 15px; min-height: 0; padding: 12px 0 18px; }
  .flow-time { min-height: 48px; border-width: 3px; border-radius: 15px; font-size: 16px; box-shadow: 3px 3px 0 var(--coral); }
  .flow-stop-copy { padding-top: 4px; }
  .flow-stop-label { font-size: 10px; letter-spacing: .04em; }
  .flow-stop h3 { font-size: 17px; }
  .flow-stop p { font-size: 13px; line-height: 1.65; }
  .flow-poster-footer { gap: 8px 16px; margin-top: 8px; padding-top: 15px; font-size: 13px; }
}
/* スマホ：人物を背景に回して文字面を確保 */
@media (max-width: 760px) {
  .flow-poster-heading {
    max-width: calc(100% - 8px);
    padding: 16px 14px 18px;
    border-radius: 20px;
    background: linear-gradient(105deg, rgba(255,255,255,.94), rgba(255,255,255,.72));
  }

  .flow-poster-art {
    position: absolute;
    top: 108px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 610px;
    margin: 0;
    z-index: 0;
  }

  .flow-cleanup-person {
    top: 0;
    right: 4%;
    width: 145px;
    opacity: .2;
    filter: saturate(.82) drop-shadow(0 7px 0 rgba(41,73,167,.08));
  }

  .flow-morning-cutout {
    right: -18%;
    bottom: 0;
    width: 350px;
    opacity: .18;
    filter: saturate(.82) drop-shadow(0 8px 0 rgba(255,111,103,.08));
  }

  .flow-art-label { display: none; }
  .flow-orb, .flow-flower { opacity: .55; }

  .flow-track {
    position: relative;
    z-index: 2;
    margin-top: 28px;
  }

  .flow-stop-copy {
    padding: 8px 10px 9px;
    border-radius: 14px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 3px 0 rgba(255,255,255,.45);
  }
}
/* 日本語ラベルの自然な見え方 */
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .08em;
}

.flow-stop-label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .06em;
}
/* =========================================================
   FV：駅の背景と人物を分離
   ========================================================= */
.hero {
  background-image: none;
  background-color: #607788;
}

.hero-background {
  position: absolute;
  inset: -12px;
  z-index: 0;
  background-image: url("../images/site/hero-station-bg.png");
  background-size: cover;
  background-position: center 48%;
  filter: blur(3px);
  transform: scale(1.025);
}

.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 43, 112, .92) 0%, rgba(23, 43, 112, .58) 42%, rgba(23, 43, 112, .16) 100%);
}

.hero-person {
  position: absolute;
  right: clamp(3%, 7vw, 9%);
  bottom: 0;
  z-index: 1;
  height: min(88%, 620px);
  max-width: 46%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  filter: drop-shadow(0 18px 0 rgba(19, 42, 104, .18)) drop-shadow(0 9px 20px rgba(13, 30, 64, .25));
}

.hero .wrap { z-index: 3; }

.alert-bar--scheduled {
  background: #e8f7ef;
  border-bottom-color: #b8e1c8;
}
.alert-bar--scheduled .badge { background: #239b59; }
.alert-bar--scheduled p { color: #176b40; }

.alert-bar--cancelled {
  background: var(--alert-bg);
  border-bottom-color: var(--alert-border);
}
.alert-bar--cancelled .badge { background: var(--alert); }
.alert-bar--cancelled p { color: var(--alert-text); }

@media (max-width: 900px) {
  .hero-person { right: -1%; height: 78%; max-width: 42%; }
}

@media (max-width: 760px) {
  .hero-background {
    background-position: center 46%;
    filter: blur(3.5px);
  }
  .hero-background::after {
    background: linear-gradient(90deg, rgba(23, 43, 112, .88) 0%, rgba(23, 43, 112, .44) 58%, rgba(23, 43, 112, .16) 100%);
  }
  .hero-person {
    right: -8%;
    height: 64%;
    max-width: 66%;
  }
  .next-card { position: relative; z-index: 3; }
}
/* =========================================================
   手書き風の文字トーン
   見出しは手書き、本文は丸みのある書体で読みやすさを維持
   ========================================================= */
:root {
  --font-head: "Klee One", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --font-mono: "Klee One", "Zen Maru Gothic", "Yu Gothic", sans-serif;
}

/* font-theme-handwritten */
@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(16px, 5.5vw, 22px);
    letter-spacing: -.06em;
    line-height: 1.35;
    white-space: nowrap;
  }
}

/* ロゴは水平に固定 */
.brand .mark { transform: none; }

/* モバイルの開催状況は1行で表示 */
@media (max-width: 760px) {
  .alert-bar {
    gap: 10px;
    padding: 10px var(--pad-x);
  }
  .alert-bar .badge {
    padding: 4px 9px;
    font-size: 12px;
  }
  .alert-bar p {
    min-width: 0;
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* 最終調整: PC版の交流会ラベルを写真に近づけ、点線より前面に出す */
@media (min-width: 761px) {
  .flow-art-label--morning { right: 18%; bottom: 18%; }
  .flow-poster-art { z-index: 3; }
}
/* 開催情報は文字側と同じ背景色に統一する */
.eventinfo-side { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
