/* ============================================================
   公開ページの見た目
   ------------------------------------------------------------
   デザイン方針：Liftoff風のレイアウト × ブラウブリッツ秋田カラー
   色・余白・文字は、すぐ下の :root でまとめて変えられます。
   ============================================================ */

:root {
  /* ── 色（ブラウブリッツ秋田） ── */
  --navy:      #08315D;   /* なまはげブルー（濃）：見出し・ボタン */
  --blue:      #005BAB;   /* メインブルー：帯・アクセント */
  --blue-mid:  #3D82C4;   /* 中間の青：グラデーション用 */
  --sky:       #C7DDF3;   /* 淡い青：ぼかし装飾 */
  --sky-soft:  #E8F1FA;   /* さらに淡い青：背景 */

  --bg:        #ffffff;   /* 基本背景 */
  --bg-soft:   #F5F9FD;   /* うっすら青い背景 */
  --ink:       #0F2438;   /* 本文の文字 */
  --ink-soft:  #5C7086;   /* 補足の文字 */
  --line:      #E3EBF4;   /* 区切り線 */

  /* ── 余白・幅 ── */
  --max:   1180px;
  --pad:   24px;
  --gap:   clamp(76px, 10vw, 140px);

  /* ── 文字 ── */
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho,
                "Noto Serif JP", "Times New Roman", serif;
  --font-sans:  "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
                "Yu Gothic", system-ui, -apple-system, sans-serif;

  /* ── 角丸・影 ── */
  --radius:    20px;
  --radius-sm: 14px;
  --shadow:    0 4px 24px rgba(8, 49, 93, .07);
  --shadow-lg: 0 18px 50px rgba(8, 49, 93, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  overflow-x: hidden;
}

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

/* 本文中に打ち込まれたURLの自動リンク */
.inline-link {
  color: var(--blue); text-decoration: underline;
  text-underline-offset: 2px; word-break: break-all;
}
.inline-link:hover { color: var(--navy); }

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

/* 見出しは明朝（セリフ）で上質に */
h1, h2, .serif { font-family: var(--font-serif); font-weight: 700; }
body { font-weight: 300; }

/* ============================================================
   ボタン（ピル型）
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 34px; font-family: var(--font-sans);
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  background: var(--navy); color: #fff;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  box-shadow: 0 6px 18px rgba(8, 49, 93, .22);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(8, 49, 93, .3); }
.btn:disabled { opacity: .5; transform: none; cursor: default; }
.btn.white { background: #fff; color: var(--navy); box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.btn.small { padding: 11px 24px; font-size: 14px; }

/* ============================================================
   ぼかしグラデーション装飾（青のオーロラ）
   ============================================================ */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .55;
}
.blob.b1 { width: 520px; height: 340px; left: -60px;  top: 40%; background: var(--sky); }
.blob.b2 { width: 620px; height: 380px; left: 32%;    top: 32%; background: var(--blue-mid); opacity: .42; }
.blob.b3 { width: 520px; height: 340px; right: -40px; top: 44%; background: var(--blue); opacity: .3; }

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 20px;
}
.brand {
  font-family: var(--font-serif); font-weight: 600; font-size: 20px;
  letter-spacing: .08em; text-decoration: none; color: var(--navy);
  white-space: nowrap;
}
.nav { display: flex; gap: 30px; }
.nav a {
  text-decoration: none; color: var(--ink-soft); font-size: 14px; font-weight: 600;
  transition: color .2s;
}
.nav a:hover { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--navy); }
.header-cta { flex: none; }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(76px, 11vw, 150px) 0 clamp(80px, 12vw, 170px);
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.hero .wrap { position: relative; z-index: 1; text-align: center; }
.hero h1 {
  font-size: clamp(36px, 6.4vw, 76px);
  line-height: 1.22; letter-spacing: .005em;
  margin: 0 auto 26px; max-width: 17em; color: var(--navy);
}
.hero .hero-sub {
  font-size: clamp(15px, 1.7vw, 19px); color: var(--ink-soft);
  max-width: 40em; margin: 0 auto 38px;
}

/* ヒーローのバナー画像 */
.hero-banner { margin-top: 56px; }
.hero-banner img {
  width: 100%; max-height: 470px; object-fit: cover;
  border-radius: 24px; box-shadow: var(--shadow-lg);
}

/* ヒーローの浮遊カード（バナー未設定のとき） */
.float-cards {
  margin-top: 60px; display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center; gap: 18px;
}
.float-card {
  display: flex; align-items: center; gap: 13px;
  background: #fff; border-radius: 16px; padding: 14px 22px 14px 14px;
  box-shadow: var(--shadow-lg); text-align: left;
}
.float-card:nth-child(2) { transform: translateY(-18px); }
.float-card:nth-child(3) { transform: translateY(10px); }
.float-card img, .float-card .ph {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none;
  border: 2px solid var(--sky);
  background: var(--sky-soft); display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--blue);
}
.float-card .fc-name { font-weight: 700; font-size: 14px; line-height: 1.4; }
.float-card .fc-role { font-size: 12px; color: var(--ink-soft); line-height: 1.4; }

/* ============================================================
   セクション共通
   ============================================================ */
.section { padding: var(--gap) 0; position: relative; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 40em; margin: 0 auto 56px; }
.section-label {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); font-weight: 700; margin: 0 0 14px;
}
.section h2 {
  font-size: clamp(27px, 4.2vw, 44px); line-height: 1.32;
  margin: 0 0 18px; color: var(--navy);
}
.section-head p { font-size: 16px; color: var(--ink-soft); margin: 0; white-space: pre-line; }
.lead { font-size: 16px; color: var(--ink-soft); white-space: pre-line; }

/* ============================================================
   協賛企業（ロゴ帯）
   ============================================================ */
.sponsors-section { padding: clamp(48px, 6vw, 74px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sponsors-head { text-align: center; margin-bottom: 34px; }
.sponsors-head h2 { font-size: clamp(19px, 2.4vw, 25px); margin: 0; color: var(--navy); }
.sponsors-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 22px; max-width: 640px; margin: 0 auto;
}
.sponsor {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); min-height: 150px;
  transition: transform .22s, box-shadow .22s;
}
a.sponsor:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.sponsor img { max-height: 92px; max-width: 220px; object-fit: contain; border-radius: 8px; }
.sponsor .sp-name { font-size: 15px; font-weight: 700; color: var(--navy); }

/* ============================================================
   活動の3つの柱
   ============================================================ */
.pillars { display: grid; gap: 44px 34px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pillar { text-align: center; }
.pillar .ico {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 27px; color: #fff;
  box-shadow: 0 10px 24px rgba(0, 91, 171, .22);
}
.pillar:nth-child(1) .ico { background: linear-gradient(140deg, var(--sky), var(--blue-mid)); }
.pillar:nth-child(2) .ico { background: linear-gradient(140deg, var(--blue-mid), var(--blue)); }
.pillar:nth-child(3) .ico { background: linear-gradient(140deg, var(--blue), var(--navy)); }
.pillar h3 { font-size: 18px; margin: 0 0 10px; color: var(--navy); }
.pillar p { font-size: 14.5px; color: var(--ink-soft); margin: 0; white-space: pre-line; }

/* ============================================================
   企画紹介（ジグザグ）
   ============================================================ */
.projects { position: relative; display: grid; gap: clamp(52px, 7vw, 96px); }
.project {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.project:nth-child(even) .pj-visual { order: 2; }
.project .pj-visual {
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(140deg, var(--sky-soft), var(--sky));
  box-shadow: var(--shadow-lg); aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.project .pj-visual img { width: 100%; height: 100%; object-fit: cover; }
.project .pj-visual .ph { color: var(--blue); font-size: 13px; font-weight: 600; }
.project .pj-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sky-soft); color: var(--blue);
  font-size: 14px; font-weight: 800; margin-bottom: 16px;
}
.project h3 { font-family: var(--font-serif); font-size: clamp(20px, 2.6vw, 29px); line-height: 1.45; margin: 0 0 14px; color: var(--navy); }
.project p { font-size: 15px; color: var(--ink-soft); margin: 0; white-space: pre-line; }

/* ============================================================
   メンバー紹介（Liftoff風カード）
   ============================================================ */
.members-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
}
.member {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
  box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.member .photo {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 16px;
  overflow: hidden; background: var(--sky-soft);
  border: 3px solid var(--sky);
  display: flex; align-items: center; justify-content: center;
}
.member .photo img { width: 100%; height: 100%; object-fit: cover; }
.member .photo .ph { font-size: 12px; color: var(--blue); }
.member h3 { font-family: var(--font-sans); font-size: 16px; margin: 0 0 9px; color: var(--navy); }
.member .role {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  background: var(--sky-soft); color: var(--blue);
  padding: 4px 13px; border-radius: 999px; margin: 0 0 12px;
}
.member .bio { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.75; }

/* ============================================================
   お知らせ（カードグリッド）
   ============================================================ */
.news-list {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.news-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.news-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-item .thumb {
  aspect-ratio: 16/9; background: linear-gradient(140deg, var(--sky-soft), var(--sky));
  display: flex; align-items: center; justify-content: center;
}
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item .thumb .ph { color: var(--blue); font-size: 12px; font-weight: 600; }
.news-item .body-wrap { padding: 22px 24px 26px; flex: 1; }
.news-item .date {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  background: var(--blue); color: #fff;
  padding: 4px 13px; border-radius: 999px; margin-bottom: 13px;
}
.news-item h3 { font-family: var(--font-sans); font-size: 17px; line-height: 1.55; margin: 0 0 10px; color: var(--navy); }
.news-item .body { font-size: 14px; color: var(--ink-soft); margin: 0; white-space: pre-line; }

/* ============================================================
   スケジュール（縦タイムライン）
   ============================================================ */
.sched-list { position: relative; max-width: 780px; margin: 0 auto; }
.sched-list::before {
  /* 縦線をドット列（78px + gap14px + 幅46pxの中央=115px）の中心に合わせる */
  content: ""; position: absolute; left: 114px; top: 12px; bottom: 12px;
  width: 2px; background: linear-gradient(180deg, var(--sky), var(--blue-mid), var(--sky));
  border-radius: 2px;
}
.sched-item {
  position: relative; display: grid; grid-template-columns: 78px 46px 1fr;
  align-items: start; gap: 0 14px; padding: 16px 0;
}
.sched-item .date {
  font-size: 13px; font-weight: 800; color: var(--blue);
  text-align: right; padding-top: 9px; letter-spacing: .03em;
}
.sched-item .dot-wrap { display: flex; justify-content: center; padding-top: 13px; }
.sched-item .dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: #fff; border: 3px solid var(--sky); z-index: 1;
}
.sched-item.next .dot { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 5px rgba(0,91,171,.14); }
.sched-item .card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 15px 20px; box-shadow: var(--shadow);
}
.sched-item h3 { font-family: var(--font-sans); font-size: 15.5px; margin: 0 0 4px; color: var(--navy); }
.sched-item .meta { font-size: 13px; color: var(--ink-soft); margin: 0; }
.sched-item.next .card { border-color: var(--sky); }

/* ============================================================
   中間CTA帯
   ============================================================ */
.cta-band { padding: var(--gap) 0; }
.cta-inner {
  position: relative; overflow: hidden;
  background: linear-gradient(125deg, var(--navy) 0%, var(--blue) 62%, var(--blue-mid) 100%);
  border-radius: 28px; padding: clamp(48px, 7vw, 82px) clamp(26px, 5vw, 60px);
  text-align: center; color: #fff;
}
.cta-inner h2 { font-size: clamp(24px, 3.6vw, 38px); margin: 0 0 16px; color: #fff; line-height: 1.35; }
.cta-inner p { font-size: 15.5px; opacity: .9; margin: 0 auto 32px; max-width: 34em; white-space: pre-line; }

/* ============================================================
   FAQ（アコーディオン）
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 24px 4px; text-align: left;
  font-family: var(--font-sans); font-size: 16px; font-weight: 700; color: var(--navy);
  line-height: 1.6;
}
.faq-q .mark {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--sky-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; transition: transform .25s, background .25s;
}
.faq-item.open .faq-q .mark { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .32s ease;
}
.faq-a-inner {
  padding: 0 46px 26px 4px; font-size: 14.5px; color: var(--ink-soft);
  white-space: pre-line;
}

/* ============================================================
   締めのCTA
   ============================================================ */
.closing {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(90px, 13vw, 168px) 0;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}
.closing .wrap { position: relative; z-index: 1; }
.closing h2 { font-size: clamp(29px, 5vw, 58px); line-height: 1.3; margin: 0 0 32px; color: var(--navy); }

/* ============================================================
   お問い合わせ
   ============================================================ */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 16px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,91,171,.1);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-msg { margin-top: 15px; font-size: 14px; }
.form-msg.ok  { color: var(--blue); font-weight: 600; }
.form-msg.err { color: #c0392b; font-weight: 600; }

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,.72);
  padding: 56px 0 40px;
}
.site-footer .wrap {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.footer-left { display: flex; flex-direction: column; gap: 6px; }
.footer-left .fname { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: .04em; }
.footer-left .copy { font-size: 12.5px; }

/* SNS 丸アイコン（ツートーン：白い丸＋濃紺のマーク） */
.sns-links { display: flex; gap: 13px; }
.sns {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.sns:hover { background: #fff; transform: translateY(-3px); }
.sns svg { width: 18px; height: 18px; fill: #fff; transition: fill .2s; }
.sns:hover svg { fill: var(--navy); }

/* ============================================================
   準備中（非公開）ページ
   ============================================================ */
.coming-soon {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 40px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}
.coming-soon .cs-inner { position: relative; z-index: 1; }
.coming-soon .cs-name {
  font-size: 14px; letter-spacing: .18em; color: var(--blue);
  margin: 0 0 24px; font-weight: 700; text-transform: uppercase;
}
.coming-soon .cs-msg {
  font-family: var(--font-serif); font-size: clamp(22px, 3.6vw, 34px);
  font-weight: 700; line-height: 1.7; margin: 0; max-width: 22em;
  white-space: pre-line; color: var(--navy);
}

/* デモ・管理者用の帯 */
.demo-banner {
  background: #FFF7DB; color: #6B5618; text-align: center;
  font-size: 13px; padding: 9px 16px; border-bottom: 1px solid #F0E3B8;
}

/* ============================================================
   スマホ対応
   ============================================================ */
@media (max-width: 900px) {
  .project { grid-template-columns: 1fr; gap: 24px; }
  .project:nth-child(even) .pj-visual { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 0;
    box-shadow: var(--shadow);
  }
  .nav.open a { padding: 13px var(--pad); }
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .float-cards { gap: 12px; }
  .float-card:nth-child(2), .float-card:nth-child(3) { transform: none; }

  .sched-list::before { left: 11px; }  /* 24px列の中央=12px に合わせる */
  .sched-item { grid-template-columns: 24px 1fr; gap: 0 12px; }
  .sched-item .date {
    grid-column: 2; text-align: left; padding: 0 0 6px;
  }
  .sched-item .dot-wrap { grid-row: 1 / span 2; padding-top: 4px; }
  .sched-item .card { grid-column: 2; }

  .contact-form { padding: 24px 20px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ゴシック（サンセリフ）を W2 相当の細さに（ファイル末尾で最終上書き）
   ※ 明朝の見出し・ロゴ（.brand / h1 / h2 / .project h3 等）は対象外
   ============================================================ */
.nav a, .header-cta, .section-label, .member h3, .member .role,
.news-item h3, .sched-item h3, .sched-item .meta, .pillar h3,
.faq-q, .float-card .fc-name, .float-card .fc-role, .sponsor .sp-name,
.form-field label { font-weight: 300; }
/* ボタン・日付・フッター名など、色地/小さい所は視認性を確保（W3相当） */
.btn, .news-item .date, .sched-item .date, .footer-left .fname { font-weight: 400; }
