/* ============================================================
   セトミライ・スポーツコミッション 公式サイト 共通スタイル
   カラー: 紺 #1B4B8A / オレンジ #F39800 / 緑 #4CAF7D / 水色 #3AA6DC
   フォント: Noto Sans JP(本文) / Zen Maru Gothic(見出し)
   ============================================================ */

:root {
  --navy: #1B4B8A;
  --navy-dark: #143a6d;
  --orange: #F39800;
  --orange-dark: #d98800;
  --green: #4CAF7D;
  --lightblue: #3AA6DC;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --bg-cream: #fdf8f0;
  --text: #2b3a4a;
  --text-light: #5a6b7c;
  --border: #dde6ee;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 20px rgba(27, 75, 138, .10);
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-head: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  font-size: 1.05rem; line-height: 1.3;
}
.brand-name small { display: block; font-size: .68rem; color: var(--text-light); font-weight: 500; letter-spacing: .08em; }

.global-nav { margin-left: auto; }
.global-nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
.global-nav a {
  display: block; padding: 8px 12px; text-decoration: none;
  font-size: .92rem; font-weight: 500; color: var(--text);
  border-radius: 999px; transition: background .2s, color .2s;
  white-space: nowrap;
}
.global-nav a:hover, .global-nav a[aria-current="page"] { background: var(--bg-soft); color: var(--navy); font-weight: 700; }
.nav-cta a {
  background: var(--orange); color: #fff !important; font-weight: 700;
  padding: 9px 18px;
}
.nav-cta a:hover { background: var(--orange-dark) !important; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: none; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #eaf4fb 0%, #fdf6ea 100%);
}
.hero-inner {
  max-width: 1160px; margin: 0 auto; padding: 48px 20px 72px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center;
}
.hero-copy h1 {
  font-family: var(--font-head); font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: var(--navy); line-height: 1.5; margin-bottom: 14px;
}
.hero-copy h1 .accent { color: var(--orange); }
.hero-sub { font-size: clamp(.95rem, 1.6vw, 1.1rem); color: var(--text-light); margin-bottom: 26px; }
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 13px 30px; border-radius: 999px; font-size: 1rem;
  transition: transform .15s, box-shadow .15s, background .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--bg-soft); }

/* ---------- 次回イベント告知バナー ---------- */
.event-banner { background: var(--navy); color: #fff; }
.event-banner .container {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 16px 20px;
}
.event-banner .label {
  background: var(--orange); color: #fff; font-weight: 700; font-size: .82rem;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.event-banner p { font-weight: 700; font-size: 1.02rem; flex: 1; min-width: 240px; }
.event-banner a { color: #fff; font-size: .9rem; white-space: nowrap; }

/* ---------- セクション共通 ---------- */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-cream { background: var(--bg-cream); }

.section-title { text-align: center; margin-bottom: 44px; }
.section-title .en {
  display: block; font-size: .8rem; font-weight: 700; letter-spacing: .22em;
  color: var(--orange); text-transform: uppercase; margin-bottom: 6px;
}
.section-title h2 {
  font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--navy); line-height: 1.5;
}
.section-title .lead { margin-top: 12px; color: var(--text-light); font-size: .95rem; }

/* ---------- 波セパレーター ---------- */
.wave { line-height: 0; }
.wave svg { width: 100%; height: 48px; display: block; }

/* ---------- カード ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
}
.card-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px 24px 26px; flex: 1; }
.card-body h3 {
  font-family: var(--font-head); color: var(--navy); font-size: 1.12rem;
  margin-bottom: 10px; line-height: 1.5;
}
.card-body p { font-size: .92rem; color: var(--text-light); }
.card-num {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  color: var(--orange); font-size: .85rem; letter-spacing: .1em; margin-bottom: 6px;
}

/* ---------- 実績(データ)セクション: 直線的・データ的に ---------- */
.stats-section { background: var(--navy); color: #fff; padding: 64px 0; }
.stats-section .section-title h2 { color: #fff; }
.stats-section .section-title .en { color: var(--lightblue); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18);
}
.stat {
  background: var(--navy); padding: 28px 12px; text-align: center;
  /* 実績は角丸なし・直線で信頼感を出す */
  border-radius: 0;
}
.stat .num { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; font-family: var(--font-body); line-height: 1.2; }
.stat .num small { font-size: .55em; font-weight: 700; margin-left: 2px; }
.stat .label { font-size: .85rem; margin-top: 8px; color: #cfe0f2; letter-spacing: .05em; }
.stat .note { display: block; font-size: .72rem; color: #9db8d6; margin-top: 2px; }
.stats-footer { text-align: center; margin-top: 34px; }

/* ---------- 実績テーブル ---------- */
.result-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .95rem; }
.result-table th, .result-table td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; vertical-align: top; }
.result-table th { background: var(--bg-soft); color: var(--navy); font-weight: 700; white-space: nowrap; width: 9em; }
.result-table ul { list-style: none; }
.result-table li { padding-left: 1em; text-indent: -1em; }
.result-table li::before { content: "・"; }
.table-scroll { overflow-x: auto; }

/* ---------- タイムライン(ストーリー) ---------- */
.timeline { list-style: none; position: relative; max-width: 760px; margin: 0 auto; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 3px; background: linear-gradient(var(--lightblue), var(--green)); border-radius: 3px;
}
.timeline li { position: relative; padding: 0 0 34px 18px; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 8px;
  width: 19px; height: 19px; background: #fff; border: 5px solid var(--orange); border-radius: 50%;
}
.timeline .tl-year { font-family: var(--font-head); font-weight: 700; color: var(--orange); font-size: 1.05rem; }
.timeline h3 { font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; margin: 2px 0 6px; }
.timeline p { font-size: .95rem; color: var(--text-light); }

/* ---------- 4市連携図 ---------- */
.city-map { max-width: 560px; margin: 0 auto; text-align: center; }
.city-map-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto auto;
  gap: 10px; align-items: center; justify-items: center;
}
.city-chip {
  background: #fff; border: 2px solid var(--lightblue); color: var(--navy);
  border-radius: 999px; padding: 10px 22px; font-weight: 700; font-family: var(--font-head);
  box-shadow: var(--shadow); white-space: nowrap;
}
.city-center {
  background: var(--navy); color: #fff; border-radius: 50%;
  width: 150px; height: 150px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  font-family: var(--font-head); font-weight: 700; box-shadow: var(--shadow);
}
.city-center small { font-size: .7rem; color: #ffd9a0; font-weight: 700; }
.city-map .note { margin-top: 18px; font-size: .88rem; color: var(--text-light); }

/* ---------- MVVブロック ---------- */
.mvv { display: grid; gap: 20px; max-width: 860px; margin: 0 auto; }
.mvv-item {
  display: grid; grid-template-columns: 150px 1fr; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); background: #fff;
}
.mvv-label {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 700; padding: 18px 10px; gap: 2px;
}
.mvv-label .en { font-size: 1.05rem; letter-spacing: .08em; }
.mvv-mission .mvv-label { background: var(--navy); }
.mvv-vision .mvv-label { background: var(--orange); }
.mvv-value .mvv-label { background: var(--green); }
.mvv-body { padding: 22px 26px; }
.mvv-body h3 { font-family: var(--font-head); font-size: 1.2rem; color: var(--navy); margin-bottom: 6px; }
.mvv-body p { font-size: .93rem; color: var(--text-light); }

.value-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.value-chips span {
  background: var(--bg-soft); border: 1.5px solid var(--lightblue); color: var(--navy);
  font-size: .82rem; font-weight: 700; padding: 4px 14px; border-radius: 999px;
}

/* ---------- 参加ステップ ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 30px 24px; text-align: center; position: relative;
}
.step .step-num {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--orange); color: #fff; font-family: var(--font-head);
  font-weight: 700; font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
}
.step h3 { font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--text-light); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  margin-bottom: 14px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 18px 48px 18px 58px; font-weight: 700; color: var(--navy);
  position: relative; list-style: none; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 18px; top: 15px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--lightblue);
  color: #fff; font-family: var(--font-head); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 14px; font-size: 1.5rem; color: var(--orange);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 24px 20px 58px; font-size: .93rem; color: var(--text-light); position: relative; }
.faq .faq-a::before {
  content: "A"; position: absolute; left: 18px; top: -2px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--orange);
  color: #fff; font-family: var(--font-head); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
}

/* ---------- 年間スケジュール ---------- */
.schedule-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.schedule-card { border-top: 6px solid var(--lightblue); }
.schedule-card.s-may { border-top-color: var(--green); }
.schedule-card.s-nov { border-top-color: var(--orange); }
.schedule-card.s-jan { border-top-color: var(--lightblue); }
.schedule-card.s-mar { border-top-color: #e8739e; }
.schedule-card .month {
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--navy);
}
.schedule-card .month small { display: block; font-size: .78rem; color: var(--text-light); font-weight: 500; margin: 2px 0 6px; }

/* ---------- ギャラリー ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.05); }

/* ---------- 支援区分カード ---------- */
.support-card { border-top: 8px solid var(--navy); }
.support-card.sc-sponsor { border-top-color: var(--orange); }
.support-card.sc-partner { border-top-color: var(--navy); }
.support-card.sc-sports { border-top-color: var(--green); }
.support-card.sc-volunteer { border-top-color: #e8739e; }
.support-card .card-body ul { list-style: none; margin: 10px 0 16px; font-size: .9rem; color: var(--text); }
.support-card .card-body li { padding-left: 1.3em; position: relative; margin-bottom: 4px; }
.support-card .card-body li::before { content: "✔"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.support-card .btn { font-size: .9rem; padding: 10px 22px; align-self: flex-start; }

/* ---------- 後援・協力(信頼)一覧 ---------- */
.org-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.org-list span {
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 20px; font-size: .9rem; font-weight: 500; color: var(--text);
}

/* ---------- 新着情報 ---------- */
.news-list { max-width: 820px; margin: 0 auto; list-style: none; }
.news-list li { border-bottom: 1px solid var(--border); }
.news-list a, .news-list .news-row {
  display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline;
  padding: 18px 8px; text-decoration: none; color: var(--text);
}
.news-list a:hover { background: var(--bg-soft); }
.news-date { font-size: .85rem; color: var(--text-light); font-family: var(--font-body); white-space: nowrap; }
.news-tag {
  font-size: .72rem; font-weight: 700; color: #fff; background: var(--lightblue);
  border-radius: 999px; padding: 2px 12px; white-space: nowrap;
}
.news-tag.tag-event { background: var(--orange); }
.news-tag.tag-report { background: var(--green); }
.news-title { flex: 1; min-width: 200px; font-size: .95rem; }
.news-body { max-width: 820px; margin: 0 auto; }
.news-body h2 { font-family: var(--font-head); color: var(--navy); font-size: 1.4rem; margin-bottom: 8px; }

/* ---------- CTAバンド ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange), #f7b23d);
  color: #fff; text-align: center; padding: 60px 20px;
}
.cta-band h2 { font-family: var(--font-head); font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 10px; }
.cta-band p { margin-bottom: 24px; font-size: .95rem; }
.cta-band .btn { background: #fff; color: var(--orange-dark); }
.cta-band .btn:hover { background: #fff7ea; }

/* ---------- ページヘッダー(下層) ---------- */
.page-header {
  background: linear-gradient(135deg, #eaf4fb 0%, #fdf6ea 100%);
  padding: 56px 20px 64px; text-align: center;
}
.page-header h1 {
  font-family: var(--font-head); color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.page-header .en { display: block; color: var(--orange); font-weight: 700; letter-spacing: .22em; font-size: .8rem; margin-bottom: 8px; text-transform: uppercase; }
.page-header p { color: var(--text-light); margin-top: 10px; font-size: .95rem; }

/* ---------- フォーム ---------- */
.contact-form { max-width: 680px; margin: 0 auto; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: .95rem; }
.required-badge {
  background: var(--orange); color: #fff; font-size: .7rem; font-weight: 700;
  border-radius: 4px; padding: 1px 8px; margin-left: 8px; vertical-align: middle;
}
.optional-badge {
  background: #b7c4d0; color: #fff; font-size: .7rem; font-weight: 700;
  border-radius: 4px; padding: 1px 8px; margin-left: 8px; vertical-align: middle;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border);
  border-radius: 10px; font-family: var(--font-body); font-size: 1rem; background: #fff;
  color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid var(--lightblue); border-color: var(--lightblue);
}
.form-note { font-size: .85rem; color: var(--text-light); margin-top: 6px; }
.form-submit { text-align: center; margin-top: 32px; }
.form-submit .btn { min-width: 260px; border: none; cursor: pointer; font-family: var(--font-body); }
.privacy-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.privacy-check input { width: auto; margin-top: 5px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 56px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px;
  max-width: 1080px; margin: 0 auto; padding: 0 20px 40px;
}
.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.footer-brand img { width: 52px; background: #fff; border-radius: 12px; padding: 4px; }
.footer-brand .name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.footer-brand address { font-style: normal; font-size: .85rem; color: #cfe0f2; margin-top: 8px; }
.footer-nav h3, .footer-sns h3 {
  font-size: .8rem; letter-spacing: .18em; color: var(--lightblue);
  text-transform: uppercase; margin-bottom: 14px; font-family: var(--font-head);
}
.footer-nav ul { list-style: none; }
.footer-nav a { color: #fff; text-decoration: none; font-size: .92rem; display: inline-block; padding: 4px 0; }
.footer-nav a:hover { color: #ffd9a0; }
.footer-sns a { color: #fff; text-decoration: none; font-size: .92rem; }
.footer-sns a:hover { color: #ffd9a0; }
.footer-sns p { font-size: .82rem; color: #cfe0f2; margin-top: 8px; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.2); text-align: center;
  padding: 18px 20px; font-size: .78rem; color: #9db8d6;
}

/* ---------- ふわっと表示 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .card-grid-4, .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1040px) {
  .global-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); padding: 12px 20px 20px;
  }
  .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .global-nav a { padding: 13px 16px; border-radius: 12px; font-size: 1rem; }
  .nav-cta { margin-top: 8px; }
  .nav-cta a { text-align: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; padding: 36px 20px 56px; }
  .hero-photo { order: -1; }
  .card-grid, .card-grid-2, .steps { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .mvv-item { grid-template-columns: 1fr; }
  .mvv-label { flex-direction: row; gap: 10px; padding: 12px; }
  .city-center { width: 120px; height: 120px; font-size: .95rem; }
  .city-chip { padding: 8px 16px; font-size: .9rem; }
}

@media (max-width: 520px) {
  .schedule-grid, .card-grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { width: 36px; }
  .brand-name { font-size: .8rem; }
  .brand-name small { font-size: .58rem; }
}
