/* ===========================
   リセット & 基本設定
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-900: #0c1f5e;
  --blue-800: #112680;
  --blue-700: #1a35b5;
  --blue-600: #1e3fc8;
  --blue-500: #2952e0;
  --blue-400: #6080f0;
  --blue-100: #d6deff;
  --blue-50:  #eef1ff;
  --white:    #ffffff;
  --gray-900: #0f172a;
  --gray-700: #334155;
  --gray-500: #475569;
  --gray-300: #cbd5e1;
  --gray-100: #f1f5f9;
  --gold:     #c9a84c;

  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;

  --header-h: 72px;
  --section-py: 96px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.16);

  --transition: .25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(100%, 1100px);
  margin-inline: auto;
  padding-inline: 24px;
}

.sp-only { display: none; }

/* ===========================
   ボタン
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .05em;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform .22s cubic-bezier(.34,1.56,.64,1),
    box-shadow .22s ease,
    background .22s ease,
    color .22s ease,
    border-color .22s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

/* シャインエフェクト（光の流れ） */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.35) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.btn:hover::before { left: 130%; }

/* 浮き上がり＋影 */
.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
/* 押し込み */
.btn:active {
  transform: translateY(0) scale(.97);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition-duration: .1s;
}

.btn-primary { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }
.btn-primary:hover { background: var(--blue-700); border-color: var(--blue-700); box-shadow: 0 8px 28px rgba(30,63,200,.4); }

.btn-outline { background: transparent; color: var(--blue-600); border-color: var(--blue-600); }
.btn-outline:hover { background: var(--blue-600); color: var(--white); box-shadow: 0 8px 28px rgba(30,63,200,.3); }
.btn-outline::before { background: linear-gradient(120deg, transparent 0%, rgba(30,63,200,.15) 50%, transparent 100%); }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: var(--white); box-shadow: 0 8px 28px rgba(255,255,255,.15); }

.btn-ghost { background: transparent; color: var(--gray-500); border-color: var(--gray-300); }
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-700); }
.btn-ghost::before { background: linear-gradient(120deg, transparent 0%, rgba(0,0,0,.05) 50%, transparent 100%); }

.btn-sm { padding: 8px 20px; font-size: .875rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }

/* ===========================
   セクション共通
=========================== */
.section { padding-block: var(--section-py); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--blue-900);
  line-height: 1.3;
}

/* ===========================
   ヘッダー
=========================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  background: #0c1f5e;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.35); }

.header-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-width: var(--container-w, 1100px);
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
}

/* ロゴ（左） */
.header-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px 10px 0;
  flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,.15);
  margin-right: 16px;
}

.header-emblem {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  padding: 4px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-sub {
  font-size: .6rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.55);
}
.logo-main {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .06em;
}

/* ナビ（右） */
.header-nav-row {
  flex: 1;
  background: transparent !important;
  display: flex;
  align-items: stretch;
}
.global-nav ul {
  display: flex;
  gap: 0;
  overflow-x: auto;
  align-items: stretch;
  height: 100%;
}
.global-nav li {
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
}
.global-nav a {
  display: flex;
  align-items: center;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  letter-spacing: .04em;
  padding: 0 16px;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.global-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #f5c842;
  transition: width var(--transition);
}
.global-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.global-nav a:hover::after { width: 100%; }
.global-nav a[style*="f5c842"] {
  color: #f5c842 !important;
}

.nav-toggle { display: none; }

/* ===========================
   ヒーローセクション
=========================== */
.hero {
  position: relative;
  min-height: 110svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding-block: calc(var(--header-h) + 12px) 80px;
}

/* ===========================
   ヒーロースライドショー
=========================== */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  transform: scale(1.04);
  animation: none;
}

.hero-slide.active {
  opacity: 1;
  animation: heroZoom 6s ease-in-out forwards;
}

/* 写真がある場合はグラデーション背景を隠す（スライドに実画像がある場合のみ有効） */
/* .hero-slideshow ~ .hero-bg { display: none; } */

/* 写真使用時のオーバーレイ */
.hero-slideshow ~ .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(10, 20, 60, .45) 0%,
    rgba(10, 20, 60, .35) 50%,
    rgba(10, 20, 60, .65) 100%
  );
}

/* ケン・バーンズ効果（ゆっくりズームイン） */
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}

/* スライドインジケーター（ドット） */
.hero-indicators {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
  padding: 0;
}
.hero-dot.active {
  width: 24px;
  background: rgba(255,255,255,.9);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, #0c1f5e 0%, #1a35b5 45%, #2952e0 75%, #1a35b5 100%);
}

/* 装飾的な幾何学模様 */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.08) 0%, transparent 50%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  width: 100%;
  max-width: 900px;
  padding-inline: 24px;
  overflow: visible;
}

/* ヒーロー内 写真フレーム（ダミープレビュー用） */
.hero-photo-frame {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 14px;
  margin-bottom: 14px;
  height: clamp(140px, 28vh, 280px);
  overflow: hidden;
}

/* 写真スライドショー */
.hero-photo-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-photo-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}
.hero-photo-slide.active {
  opacity: 1;
}
/* 横断幕：「東京支部」まで全体が見えるよう右寄りに */
.hero-photo-slide:nth-child(1) {
  object-position: right center;
}
/* バス：北高前のLED表示を見せつつバスを大きく */
.hero-photo-slide:nth-child(2) {
  object-position: center 25%;
}
/* 銅像：頭部から台座まで全体を見せる */
.hero-photo-slide:nth-child(3) {
  object-position: center 15%;
}
/* 校歌：掲示板全体が見えるよう contain 表示＋背景色でなじませる */
.hero-photo-slide:nth-child(4) {
  object-fit: contain;
  background-color: #1e3a7a;
}
/* 校舎：上部（懸垂幕）を見せる */
.hero-photo-slide:nth-child(5) {
  object-position: center top;
}

.hero-eyebrow {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 10px;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.hero-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.2);
  animation: logoFadeIn .8s ease both;
}
@keyframes logoFadeIn {
  from { opacity: 0; transform: scale(.85); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .06em;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.hero-subtitle {
  font-size: clamp(.875rem, 1.5vw, 1rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 0;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-cta .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.hero-cta .btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}

.hero-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.hero-toc-item {
  color: rgba(255,255,255,0.95);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.hero-toc-item:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.hero-toc-highlight {
  background: rgba(245,200,66,0.2);
  border-color: #f5c842;
  color: #f5c842;
}
.hero-toc-highlight:hover {
  background: rgba(245,200,66,0.35);
  color: #f5c842;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ===========================
   コンセプトセクション
=========================== */
.concept { background: var(--white); }

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.concept-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--blue-800);
  line-height: 1.6;
  margin-bottom: 20px;
}
.concept-text p + p { margin-top: 16px; color: var(--gray-700); font-size: .95rem; }

.concept-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.concept-card {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  align-items: start;
  transition: box-shadow var(--transition), transform var(--transition);
}
.concept-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.concept-card-icon { font-size: 1.8rem; grid-row: 1 / 3; display: flex; align-items: center; }
.concept-emblem { width: 40px; height: 40px; object-fit: contain; }
.concept-card h3 { font-size: 1rem; font-weight: 700; color: var(--blue-800); }
.concept-card p  { font-size: .875rem; color: var(--gray-700); line-height: 1.6; }

.concept-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.concept-strip-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.concept-strip-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.concept-strip-item:hover img { transform: scale(1.04); }
.concept-strip-item:nth-child(3) img {
  object-fit: contain;
  background: #1e3a7a;
}
.concept-strip-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(10,20,60,.75) 0%, transparent 100%);
  color: var(--white);
  font-size: .8rem;
  letter-spacing: .06em;
}

/* ===========================
   イベントセクション
=========================== */
.events { background: var(--gray-100); }

.events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  align-items: start;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: box-shadow var(--transition), transform var(--transition);
}
.event-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.event-card.featured {
  display: block;
  padding: 0;
  overflow: hidden;
  border-left: none;
  background: var(--white);
}
.event-card-photo {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.event-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform .5s ease;
}
.event-card.featured:hover .event-card-photo img { transform: scale(1.03); }
.event-card-photo-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--blue-700);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 5px 14px;
  border-radius: 100px;
}
.event-card-body {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 28px 32px;
  align-items: start;
}

.event-thumb {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  align-self: center;
}
.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.event-card:not(.featured) {
  grid-template-columns: 90px 1fr 96px;
}
.event-card:not(.featured) .event-thumb    { order: 3; }
.event-card:not(.featured) .event-date-col { order: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.event-card:not(.featured) .event-info     { order: 2; }

.event-date {
  text-align: center;
  padding: 12px 8px;
  background: var(--blue-900);
  border-radius: 8px;
  color: var(--white);
  line-height: 1;
}
.event-month { display: block; font-size: .65rem; letter-spacing: .08em; opacity: .7; margin-bottom: 4px; }
.event-day   { display: block; font-size: 1.1rem; font-weight: 700; letter-spacing: .02em; }

.event-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 100px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: var(--blue-100);
  color: var(--blue-700);
  margin: 0;
  white-space: nowrap;
  text-align: center;
}
.event-tag.past { background: var(--gray-100); color: var(--gray-500); }
.event-tag.accepting { background: #d4edda; color: #1a6b2e; }

.event-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 8px;
  line-height: 1.4;
}
.event-meta { font-size: .8rem; color: var(--gray-500); margin-bottom: 10px; }
.event-desc { font-size: .875rem; color: var(--gray-700); margin-bottom: 16px; line-height: 1.65; }

/* ===========================
   NEWSセクション
=========================== */
.news-section { background: var(--white); }

.news-photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.news-photo-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.news-photo-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.news-photo-item:nth-child(3) img {
  object-position: center 25%;
}
.news-photo-item:hover img { transform: scale(1.04); }
.news-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(to top, rgba(10,20,60,.72) 0%, transparent 100%);
  color: var(--white);
  font-size: .75rem;
  letter-spacing: .05em;
}

.news-list { margin-bottom: 40px; }
.news-item {
  display: grid;
  grid-template-columns: 110px 100px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}
.news-item:first-child { border-top: 1px solid var(--gray-100); }

.news-date {
  font-size: .8rem;
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.news-category {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 3px 10px;
  border-radius: 100px;
  text-align: center;
  white-space: nowrap;
}
.news-title {
  font-size: .9rem;
  color: var(--gray-900);
  transition: color var(--transition);
}
.news-title:hover { color: var(--blue-600); }

.news-more { text-align: center; }

/* ===========================
   メンバーズセクション
=========================== */
.members {
  background: linear-gradient(150deg, #0c1f5e 0%, #1a35b5 60%, #2952e0 100%);
  color: var(--white);
}
.members .section-label { color: rgba(255,255,255,.6); }
.members .section-title { color: var(--white); }

.members-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.members-eligibility {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 4px;
}
.members-eligibility-badge {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  background: var(--gold);
  color: var(--blue-900);
  padding: 3px 10px;
  border-radius: 100px;
}
.members-eligibility-text {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.95);
  letter-spacing: .04em;
}

.members-text p {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  margin-top: 12px;
}
.members-text .section-label { margin-bottom: 8px; }
.members-text .section-title { margin-bottom: 0; }
.members-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.members-register {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.members-register-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.btn-register {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
}
.btn-register:hover {
  background: var(--white);
  color: var(--blue-700);
  border-color: var(--white);
  box-shadow: 0 8px 28px rgba(255,255,255,.2);
}

.members-visual { display: flex; justify-content: center; }

.members-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.members-bg-photo {
  width: 340px;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(.55) saturate(.8);
}
.members-photo-wrap .members-card {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  width: auto;
  padding: 24px 32px;
  background: rgba(10, 20, 60, .75);
  backdrop-filter: blur(12px);
  border: none;
  border-top: 1px solid rgba(255,255,255,.15);
}

.members-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  width: 320px;
  max-width: 100%;
}
.members-card-header {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--white);
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.members-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.members-features li {
  font-size: .9rem;
  color: rgba(255,255,255,.85);
}

/* ===========================
   交流ルームセクション
=========================== */
.chat-rooms {
  background: var(--gray-100);
}

.section-desc {
  font-size: .95rem;
  color: var(--gray-500);
  margin-top: 8px;
}

.line-explain {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 680px;
  margin: 20px auto 0;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: left;
}
.line-explain-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.line-explain-text { font-size: .875rem; color: var(--gray-700); line-height: 1.7; }
.line-explain-text strong { color: var(--blue-800); }

.chat-rooms-category-label {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-900);
  letter-spacing: .06em;
  border-left: 4px solid var(--blue-600);
  padding-left: 12px;
  margin-top: 52px;
}
.chat-rooms-category-note {
  font-size: .75rem;
  font-weight: 400;
  font-family: var(--font-sans);
  color: var(--gray-500);
  letter-spacing: 0;
}

.chat-rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.chat-room-theme-icon {
  font-size: 2rem;
  line-height: 1;
}

.chat-room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.chat-room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.chat-room-era {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue-900);
  letter-spacing: .04em;
}

.chat-room-label {
  font-size: .75rem;
  color: var(--gray-500);
  letter-spacing: .04em;
}

.chat-room-desc {
  font-size: .85rem;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.btn-line {
  background: #06c755;
  color: var(--white);
  border-color: #06c755;
  font-size: .875rem;
  padding: 10px 24px;
  gap: 6px;
}
.btn-line:hover {
  background: #05b04b;
  border-color: #05b04b;
  box-shadow: 0 8px 24px rgba(6,199,85,.35);
}

.chat-rooms-note {
  text-align: center;
  margin-top: 32px;
  font-size: .8rem;
  color: var(--gray-500);
}

@media (max-width: 900px) {
  .chat-rooms-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .chat-rooms-grid { grid-template-columns: 1fr; }
}

/* ===========================
   フォーム共通
=========================== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }

.form-label {
  display: block;
  font-size: .825rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.form-label .required { color: #e53e3e; margin-left: 4px; font-size: .75rem; }
.form-label .optional { color: var(--gray-500); font-size: .7rem; font-weight: 400; margin-left: 6px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(30,63,200,.12);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: .75rem; color: var(--gray-500); margin-top: 5px; }

.form-check-group { display: flex; flex-wrap: wrap; gap: 12px; }
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: .875rem;
  color: var(--gray-700);
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue-600);
  cursor: pointer;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ===========================
   ご意見・ご要望セクション
=========================== */
.contact {
  background: var(--white);
}

.contact-wrap {
  max-width: 680px;
  margin-inline: auto;
}

.contact-form .form-textarea.contact-textarea {
  min-height: 160px;
}

.contact-submit {
  text-align: center;
  margin-top: 8px;
}

/* ===========================
   リンクセクション
=========================== */
.links { background: var(--gray-100); }

.links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.link-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.link-card::before {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--blue-600);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.link-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-100); }
.link-card:hover::before { transform: scaleX(1); }

.link-card-icon { font-size: 2rem; }
.link-card h3 { font-size: .9rem; font-weight: 700; color: var(--blue-900); line-height: 1.4; }
.link-card p  { font-size: .8rem; color: var(--gray-500); }
.link-arrow { font-size: .875rem; color: var(--blue-600); font-weight: 700; margin-top: 4px; }

/* ===========================
   フッター
=========================== */
.site-footer {
  background: var(--blue-900);
  color: var(--white);
  padding-block: 56px 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}
.footer-logo .logo-sub {
  font-size: .65rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
}
.footer-logo .logo-main {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .1em;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
}
.footer-nav a {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }
.footer-copy {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .04em;
}

/* ===========================
   レスポンシブ：タブレット
=========================== */
@media (max-width: 900px) {
  :root { --section-py: 72px; }

  .concept-grid { grid-template-columns: 1fr; gap: 48px; }
  .members-inner { grid-template-columns: 1fr; gap: 48px; }
  .links-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================
   レスポンシブ：スマートフォン
=========================== */
@media (max-width: 640px) {
  :root { --section-py: 56px; --header-h: 60px; }

  .sp-only { display: inline; }

  /* ハンバーガー */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .global-nav {
    position: fixed;
    inset: 0;
    background: rgba(10,31,68,.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    z-index: 1050;
  }
  .global-nav.open { opacity: 1; pointer-events: auto; }
  .global-nav ul { flex-direction: column; gap: 32px; text-align: center; }
  .global-nav a { font-size: 1.3rem; color: var(--white); }
  .global-nav a::after { background: var(--white); }

  /* ヒーロー */
  .hero-title { letter-spacing: .04em; }
  .hero-cta { flex-direction: column; align-items: center; }

  /* イベント */
  .event-card {
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding: 20px;
  }
  .event-card:not(.featured) {
    grid-template-columns: min-content 1fr;
  }
  .event-thumb { display: none !important; }
  .event-card:not(.featured) .event-date-col { order: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  .event-card:not(.featured) .event-info  { order: 2; }
  .event-card.featured { padding: 0; }
  .event-card-body {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 12px;
  }
  .event-date {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    width: fit-content;
    border-radius: 8px;
  }
  .event-month { margin-bottom: 0; }
  .event-meta { font-size: .78rem; }

  /* NEWS */
  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  /* メンバーズ */
  .members-card { width: 100%; padding: 32px 24px; }
  .members-buttons { flex-direction: column; }
  .members-buttons .btn { justify-content: center; }

  /* リンク */
  .links-grid { grid-template-columns: 1fr 1fr; }
  .link-card { padding: 24px 16px; }
}

/* ========================================
   お知らせバー
   ======================================== */
.notice-bar {
  background: #f0f4ff;
  border-bottom: 1px solid #d1daf5;
  padding: 14px 0;
}
.notice-bar-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.notice-bar-label {
  flex-shrink: 0;
  background: #0c1f5e;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 12px;
  border-radius: 4px;
  margin-top: 2px;
}
.notice-bar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.notice-bar-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: .85rem;
  color: var(--text-primary);
}
.notice-date {
  flex-shrink: 0;
  font-size: .75rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: .03em;
}
.notice-bar-list a {
  color: #1a35b5;
  text-decoration: none;
  font-weight: 500;
}
.notice-bar-list a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .notice-bar-inner { flex-direction: column; gap: 10px; }
  .notice-bar-list li { flex-direction: column; gap: 2px; }
}

/* ========================================
   ヒーロー内お知らせ
   ======================================== */
.hero-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 640px;
  margin: 16px auto 0;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 12px 18px;
}
.hero-notice-label {
  flex-shrink: 0;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-top: 2px;
}
.hero-notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hero-notice-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: .78rem;
}
.hero-notice-date {
  flex-shrink: 0;
  color: rgba(255,255,255,0.7);
  font-size: .72rem;
}
.hero-notice-list a {
  color: #fff;
  text-decoration: none;
}
.hero-notice-list a:hover { color: #f5c842; text-decoration: underline; }
.hero-notice-list span:not(.hero-notice-date) {
  color: rgba(255,255,255,0.9);
}

/* ========================================
   ヒーロー カウントダウンCTA
   ======================================== */
.hero-event-cta {
  display: block;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(245,200,66,0.7);
  border-radius: 16px;
  padding: 22px 28px;
  margin: 32px auto 8px;
  max-width: 640px;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  animation: cta-pulse 2.5s ease-in-out infinite;
}
.hero-event-cta:hover {
  background: rgba(245,200,66,0.15);
  border-color: #f5c842;
  transform: translateY(-2px);
  animation: none;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,200,66,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(245,200,66,0); }
}
.hero-event-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hero-event-cta-badge {
  display: inline-block;
  background: #f5c842;
  color: #0c1f5e;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 6px;
}
.hero-event-cta-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.hero-event-cta-sub {
  color: rgba(255,255,255,0.65);
  font-size: .85rem;
  margin: 0;
}
.hero-event-cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.hero-countdown {
  display: flex;
  align-items: center;
  gap: 4px;
}
.hero-countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-countdown-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #f5c842;
  line-height: 1;
  letter-spacing: .02em;
}
.hero-countdown-label {
  font-size: .55rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: .04em;
}
.hero-countdown-sep {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f5c842;
  padding-bottom: 6px;
}
.hero-event-cta-arrow {
  font-size: .75rem;
  color: #f5c842;
  font-weight: 700;
}

/* イベントカード 受付中バッジ＋強調ボタン */
.event-card-body-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}
.event-card-accepting {
  display: inline-block;
  background: #1a6b2e;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}
.event-card-photo { position: relative; }
.btn-featured {
  display: inline-block;
  background: linear-gradient(135deg, #1a35b5 0%, #0c1f5e 100%);
  color: #fff !important;
  font-size: .95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(12,31,94,0.3);
  letter-spacing: .04em;
}
.btn-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12,31,94,0.4);
}

/* フローティング申込バー */
.float-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #0c1f5e;
  border-top: 3px solid #f5c842;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(.16,1,.3,1);
  display: flex;
  align-items: center;
}
.float-bar.visible { transform: translateY(0); }
.float-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  flex: 1;
}
.float-bar-text {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.float-bar-badge {
  font-size: .85rem;
  font-weight: 800;
  color: #f5c842;
  white-space: nowrap;
}
.float-bar-date {
  font-size: .8rem;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.float-bar-btn {
  display: inline-block;
  background: #f5c842;
  color: #0c1f5e;
  font-size: .85rem;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.float-bar-btn:hover { background: #ffd700; transform: scale(1.03); }
.float-bar-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  cursor: pointer;
  padding: 14px 16px;
  line-height: 1;
}
.float-bar-close:hover { color: #fff; }
@media (max-width: 600px) {
  .hero-event-cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-event-cta-right { align-items: flex-start; flex-direction: row; align-items: center; }
  .float-bar-date { display: none; }
}
