/* =========================================================
   学生団体ココカラ 公式サイト v6
   ライト基調 × ティール（明るく・爽やか・親しみやすく）
   Base #FFFFFF / Text #0C1E24 / Accent #0A7C93→#12A0B8
   ========================================================= */

:root {
  --bg: #FFFFFF;
  --bg-2: #F2F9FB;
  --panel: #FFFFFF;
  --panel-2: #E8F4F8;
  --text: #0C1E24;
  --text-70: rgba(12, 30, 36, 0.66);
  --text-45: rgba(12, 30, 36, 0.62);
  --line: rgba(12, 30, 36, 0.12);
  --line-2: rgba(12, 30, 36, 0.20);
  --accent: #0A7C93;
  --amber: #12A0B8;
  --grad: linear-gradient(96deg, #066273 0%, #08758A 50%, #0A7C93 100%);
  --on-accent: #FFFFFF;
  --max: 1320px;
  --pad: clamp(20px, 5vw, 92px);
  --header-h: 100px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-jp: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --font-en: "Archivo", "Zen Kaku Gothic New", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body); background: var(--bg); color: var(--text);
  line-height: 1.78; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
::selection { background: var(--accent); color: #fff; }
.en { font-family: var(--font-en); }

/* 微粒子 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.025; mix-blend-mode: multiply;
}

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; z-index: 65; }
.brand img { height: clamp(54px, 6vw, 66px); width: auto; border-radius: 0; }
.brand-name { font-family: var(--font-jp); font-weight: 900; font-size: 22px; letter-spacing: .02em; color: var(--text); }

.header-right { display: flex; align-items: center; gap: 28px; z-index: 65; }
.nav-inline { display: flex; align-items: center; gap: 6px; }
.nav-inline a { font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: .13em; padding: 10px 17px; border-radius: 100px; color: var(--text-70); transition: color .25s var(--ease); }
.nav-inline a:hover, .nav-inline a.active { color: var(--text); }

.menu-btn { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; background: none; border: 0; font-family: var(--font-en); font-weight: 800; font-size: 15px; letter-spacing: .14em; color: var(--text); }
.menu-btn .bars { position: relative; width: 32px; height: 15px; }
.menu-btn .bars span { position: absolute; left: 0; width: 32px; height: 2.5px; background: var(--text); transition: .35s var(--ease); }
.menu-btn .bars span:nth-child(1) { top: 3px; }
.menu-btn .bars span:nth-child(2) { top: 11px; }
.menu-btn .txt-close { display: none; }
body.menu-open .menu-btn .bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
body.menu-open .menu-btn .bars span:nth-child(2) { top: 7px; transform: rotate(-45deg); }
body.menu-open .menu-btn .txt-open { display: none; }
body.menu-open .menu-btn .txt-close { display: inline; }

/* =========================================================
   フルスクリーン・メニュー
   ========================================================= */
.menu-overlay { position: fixed; inset: 0; z-index: 55; background: var(--bg); transform: translateY(-101%); transition: transform .6s var(--ease); display: flex; flex-direction: column; padding-top: calc(var(--header-h) - 12px); visibility: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
body.menu-open .menu-overlay { transform: none; visibility: visible; }
.menu-overlay .container { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; padding-block: clamp(8px, 1.5vh, 16px) clamp(10px, 1.8vh, 18px); max-width: 1280px; width: 100%; }

.menu-back {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: none; border: 1px solid var(--line-2); border-radius: 100px;
  padding: 9px 18px; margin-bottom: clamp(10px, 2vh, 20px);
  font-family: var(--font-jp); font-weight: 700; font-size: 13px; color: var(--text-70);
  transition: .25s var(--ease);
}
.menu-back:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.menu-back .mb-ico { font-family: var(--font-en); font-size: 15px; line-height: 1; }

.menu-list { list-style: none; flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(0, 1fr); column-gap: clamp(30px, 6vw, 100px); border-top: 1px solid var(--line); }
.menu-list li { overflow: hidden; border-bottom: 1px solid var(--line); }

.menu-list a { display: flex; align-items: center; height: 100%; gap: clamp(14px, 1.6vw, 24px); padding: 0 6px; transform: translateY(110%); transition: transform .55s var(--ease), color .3s var(--ease), background .25s var(--ease); color: var(--text); }
.menu-list a:hover { background: var(--bg-2); }
body.menu-open .menu-list a { transform: none; }
body.menu-open .menu-list li:nth-child(1) a { transition-delay: .06s; }
body.menu-open .menu-list li:nth-child(2) a { transition-delay: .10s; }
body.menu-open .menu-list li:nth-child(3) a { transition-delay: .14s; }
body.menu-open .menu-list li:nth-child(4) a { transition-delay: .18s; }
body.menu-open .menu-list li:nth-child(5) a { transition-delay: .22s; }
body.menu-open .menu-list li:nth-child(6) a { transition-delay: .26s; }
body.menu-open .menu-list li:nth-child(7) a { transition-delay: .30s; }
body.menu-open .menu-list li:nth-child(8) a { transition-delay: .34s; }
body.menu-open .menu-list li:nth-child(9) a { transition-delay: .38s; }
body.menu-open .menu-list li:nth-child(10) a { transition-delay: .42s; }
.menu-list .idx { font-family: var(--font-en); font-weight: 800; font-size: clamp(11px, 1.1vw, 14px); letter-spacing: .1em; color: var(--accent); width: clamp(30px, 3vw, 44px); flex: none; }
.menu-list .en-lbl { font-family: var(--font-en); font-weight: 900; font-style: italic; font-size: clamp(26px, 3.4vw, 48px); line-height: 1; letter-spacing: -.02em; }
.menu-list .jp-lbl { font-family: var(--font-jp); font-weight: 700; font-size: clamp(13px, 1.3vw, 16px); color: var(--text-70); margin-left: auto; }
.menu-list a:hover .en-lbl { color: var(--accent); }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(12px, 2vh, 22px); color: var(--text-70); font-size: 12.5px; }
.menu-foot .en { letter-spacing: .06em; }
.menu-foot a { color: var(--text); border-bottom: 1px solid var(--line-2); }

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-jp); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  color: #fff; background: var(--grad); background-size: 140% 100%; background-position: 0 0;
  padding: 15px 27px; border-radius: 100px; border: 0;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-position .5s var(--ease);
  box-shadow: 0 10px 26px rgba(10, 124, 147, .24);
}
.btn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 34px rgba(10, 124, 147, .34); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.btn-ghost:hover { background: var(--text); color: var(--bg); box-shadow: none; }
.arrow { font-size: 13px; transform: translateY(1px); }

/* =========================================================
   ヒーロー
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
/* =========================================================
   ヒーロー
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
/* ---- ヒーロー背景：光の帯（GPU合成のCSSアニメーション） ---- */
.hero-aura {
  position: absolute; inset: -12%; z-index: 2; pointer-events: none;
  background: #F6FCFD; overflow: hidden;
  transition: transform .5s var(--ease);
}
.hero-aura span {
  position: absolute; display: block; border-radius: 50%;
  will-change: transform;
}
.hero-aura .a1 {
  width: 78vmax; height: 78vmax; left: -14%; top: -18%;
  background: radial-gradient(circle, rgba(43,184,206,.62) 0%, rgba(43,184,206,.28) 42%, rgba(43,184,206,0) 70%);
  animation: aura1 34s ease-in-out infinite;
}
.hero-aura .a2 {
  width: 66vmax; height: 66vmax; right: -12%; top: -10%;
  background: radial-gradient(circle, rgba(63,203,168,.58) 0%, rgba(63,203,168,.26) 44%, rgba(63,203,168,0) 70%);
  animation: aura2 41s ease-in-out infinite;
}
.hero-aura .a3 {
  width: 72vmax; height: 72vmax; left: 18%; bottom: -30%;
  background: radial-gradient(circle, rgba(79,168,232,.55) 0%, rgba(79,168,232,.24) 44%, rgba(79,168,232,0) 70%);
  animation: aura3 47s ease-in-out infinite;
}
.hero-aura .a4 {
  width: 58vmax; height: 58vmax; right: 6%; bottom: -22%;
  background: radial-gradient(circle, rgba(126,157,232,.48) 0%, rgba(126,157,232,.20) 44%, rgba(126,157,232,0) 70%);
  animation: aura4 53s ease-in-out infinite;
}
.hero-aura .a5 {
  width: 52vmax; height: 52vmax; left: 34%; top: 6%;
  background: radial-gradient(circle, rgba(150,232,222,.52) 0%, rgba(150,232,222,.22) 44%, rgba(150,232,222,0) 70%);
  animation: aura5 28s ease-in-out infinite;
}
@keyframes aura1 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(14vw,8vh,0) scale(1.18); } }
@keyframes aura2 { 0%,100% { transform: translate3d(0,0,0) scale(1.06); } 50% { transform: translate3d(-12vw,12vh,0) scale(.9); } }
@keyframes aura3 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(10vw,-14vh,0) scale(1.22); } }
@keyframes aura4 { 0%,100% { transform: translate3d(0,0,0) scale(1.1); } 50% { transform: translate3d(-16vw,-8vh,0) scale(.94); } }
@keyframes aura5 { 0%,100% { transform: translate3d(0,0,0) scale(.96); } 50% { transform: translate3d(8vw,16vh,0) scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .hero-aura span { animation: none; } }

/* ---- さざ波：角度と周期の違う2層をずらして干渉させる ---- */
.hero-aura i {
  position: absolute; inset: -30%; display: block; pointer-events: none;
  will-change: transform;
}
.hero-aura .r1 {
  background: repeating-linear-gradient(102deg,
    rgba(255,255,255,0) 0px, rgba(255,255,255,.30) 24px,
    rgba(255,255,255,0) 52px, rgba(255,255,255,0) 96px);
  animation: rip1 19s linear infinite;
}
.hero-aura .r2 {
  background: repeating-linear-gradient(78deg,
    rgba(255,255,255,0) 0px, rgba(180,240,236,.24) 32px,
    rgba(255,255,255,0) 74px, rgba(255,255,255,0) 130px);
  animation: rip2 27s linear infinite;
}
@keyframes rip1 { from { transform: translate3d(0,0,0); } to { transform: translate3d(93.9px,20.0px,0); } }
@keyframes rip2 { from { transform: translate3d(0,0,0); } to { transform: translate3d(-127.2px,27.0px,0); } }
@media (prefers-reduced-motion: reduce) { .hero-aura i { animation: none; opacity: .5; } }


.hero-marks { position: relative; z-index: 4; display: flex; justify-content: space-between; padding-top: calc(var(--header-h) + 22px); font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: .2em; color: var(--text-45); text-transform: uppercase; line-height: 1.8; }
.hero-marks .r { text-align: right; }

.hero-center { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-wordmark { font-family: var(--font-en); font-weight: 900; font-style: italic; letter-spacing: -.035em; font-size: clamp(60px, 15.5vw, 260px); line-height: .82; color: var(--text); white-space: nowrap; position: relative; z-index: 1; }
.hero-tagline { position: relative; z-index: 3; margin-top: clamp(16px, 2.6vh, 30px); font-family: var(--font-jp); font-weight: 700; font-size: clamp(15px, 2.1vw, 23px); letter-spacing: .04em; }
.hero-tagline .accent { color: #053C48; }

/* 背面の色水が濃いときは文字を白へ自動反転（JSが on-dark を付与） */
.hero-wordmark, .hero-tagline { transition: color .5s var(--ease); }
.hero-wordmark.on-dark { color: #FFFFFF; }
.hero-tagline.on-dark { color: #FFFFFF; }
.hero-tagline.on-dark .accent { color: #8CEBFB; }

.hero-foot { position: relative; z-index: 4; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: clamp(28px, 5vh, 56px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-scroll { writing-mode: vertical-rl; font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: .28em; color: var(--text-45); text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.hero-scroll::after { content: ""; width: 1px; height: 46px; background: var(--text-45); animation: scrollpulse 1.9s var(--ease) infinite; }
@keyframes scrollpulse { 0%,100% { transform: scaleY(.4); opacity:.4; transform-origin: top; } 50% { transform: scaleY(1); opacity:1; transform-origin: top; } }

.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 2; pointer-events: none; background: linear-gradient(to top, var(--bg) 12%, rgba(255,255,255,0) 100%); }

/* ---- ヒーロー背景：色とりどりの四角が上から降ってくる ---- */
.hero-aura {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  overflow: hidden; background: linear-gradient(180deg, #F2F9FC 0%, #EFF6FB 60%, #F6FBFD 100%);
  transition: transform .5s var(--ease);
}
.fall-chip {
  position: absolute; top: 0;
  will-change: transform, opacity;
  animation-name: chipFall; animation-timing-function: linear; animation-iteration-count: infinite;
}
.fall-move {
  display: block; width: 100%; height: 100%;
  transform: translate3d(var(--px,0), var(--py,0), 0) rotate(var(--pr,0deg));
  transition: transform .18s ease-out;
  will-change: transform;
}
.fall-chip > .fall-move > i {
  display: block; width: 100%; height: 100%;
  will-change: transform;
  animation-name: chipSway; animation-timing-function: ease-in-out; animation-iteration-count: infinite;
}
@keyframes chipFall {
  0%   { transform: translateY(122vh); opacity: 0; }
  7%   { opacity: var(--op); }
  90%  { opacity: var(--op); }
  100% { transform: translateY(-22vh); opacity: 0; }
}
@keyframes chipSway {
  0%, 100% { transform: translateX(calc(var(--amp) * -1)) rotate(calc(var(--rot) * -1)); }
  50%      { transform: translateX(var(--amp)) rotate(var(--rot)); }
}
@media (prefers-reduced-motion: reduce) {
  .fall-chip, .fall-chip > .fall-move > i { animation: none !important; }
}

/* ---- フッター背景：薄い四角が下から上へ ---- */
.footer-fall { position: absolute; left: 0; right: 0; top: 0; height: 54%; z-index: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 42%, transparent 96%); mask-image: linear-gradient(180deg, #000 42%, transparent 96%); }
.footer-fall .foot-chip {
  position: absolute; top: 0;
  will-change: transform, opacity;
  animation-name: footRise; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes footRise {
  0%   { transform: translateY(420px); opacity: 0; }
  12%  { opacity: var(--op); }
  85%  { opacity: var(--op); }
  100% { transform: translateY(-80px); opacity: 0; }
}
.footer-fall .foot-move {
  display: block; width: 100%; height: 100%;
  transform: translate3d(var(--px,0), var(--py,0), 0) rotate(var(--pr,0deg));
  transition: transform .18s ease-out; will-change: transform;
}
.footer-fall .foot-chip > .foot-move > i {
  display: block; width: 100%; height: 100%;
  will-change: transform;
  animation-name: chipSway; animation-timing-function: ease-in-out; animation-iteration-count: infinite;
}
.site-footer .container { position: relative; z-index: 1; }
.footer-word { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .footer-fall .foot-chip, .footer-fall .foot-chip > .foot-move > i { animation: none !important; }
}


/* =========================================================
   マーキー（明色バンドで抜き差し）
   ========================================================= */
.marquee { background: var(--text); color: var(--bg); overflow: hidden; white-space: nowrap; padding: 16px 0; position: relative; z-index: 5; }
.marquee-track { display: inline-flex; gap: 46px; animation: marquee 36s linear infinite; will-change: transform; }
.marquee-track span { font-family: var(--font-en); font-weight: 800; font-size: 15px; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 46px; text-transform: uppercase; }
.marquee-track span::after { content: "✳"; color: var(--amber); font-size: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   セクション共通
   ========================================================= */
.section { padding: clamp(76px, 12vh, 158px) 0; position: relative; z-index: 5; }
.section-alt { background: var(--bg-2); }
.sec-head { max-width: 820px; margin-bottom: clamp(34px, 5vh, 60px); }
.sec-tag { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-en); font-weight: 800; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-70); margin-bottom: 20px; }
.sec-tag .num { color: var(--accent); }
.sec-tag::before { content: ""; width: 32px; height: 2px; background: var(--text); }
.sec-title { font-family: var(--font-jp); font-weight: 900; letter-spacing: .01em; font-size: clamp(28px, 5vw, 62px); line-height: 1.2; }
.sec-lead { margin-top: 22px; color: var(--text-70); font-size: clamp(14px, 1.4vw, 16.5px); max-width: 640px; }

/* ---------- ステートメント（01） ---------- */
.statement .sec-head { margin-bottom: clamp(28px, 4vh, 48px); }
.statement .statement-title { font-family: var(--font-jp); font-weight: 900; font-size: clamp(24px, 3.5vw, 50px); line-height: 1.22; letter-spacing: .005em; }
.statement .statement-title em { font-style: normal; color: var(--accent); }
.statement-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.statement-copy { display: flex; flex-direction: column; }
.statement-copy p { font-size: clamp(15px, 1.5vw, 18px); color: var(--text-70); margin-bottom: 18px; }
.statement-copy strong { color: var(--text); font-weight: 700; box-shadow: inset 0 -.5em 0 rgba(18,160,184,.28); }
.statement-visual { position: relative; }

/* ---- ダークなグラフィックカード ---- */
.stmt-card {
  position: relative; height: 100%; min-height: 340px; border-radius: 24px; overflow: hidden; isolation: isolate;
  background:
    linear-gradient(158deg, rgba(9,70,84,.80) 0%, rgba(5,38,47,.93) 100%),
    url('assets/match/sight.jpg') center 42% / cover no-repeat;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px rgba(6,50,60,.22);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(24px, 3vw, 40px); color: #F2FAFC;
}
a.stmt-card { cursor: pointer; text-decoration: none; color: #F2FAFC; }
a.stmt-card:hover { transform: translateY(-4px); }
a.stmt-card { transition: transform .4s var(--ease); }
.stmt-card .glow { position: absolute; z-index: -1; width: 74%; height: 60%; right: -14%; top: -16%; background: var(--grad); filter: blur(56px); opacity: .6; border-radius: 50%; animation: glowfloat 9s var(--ease) infinite; }
@keyframes glowfloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-7%,5%) scale(1.1); } }
.stmt-card .watermark { position: absolute; z-index: -1; left: 5%; right: 5%; bottom: 3%; white-space: nowrap; font-family: var(--font-en); font-weight: 900; font-style: italic; letter-spacing: -.04em; font-size: clamp(34px, 7.5vw, 76px); line-height: .8; color: rgba(255,255,255,.07); }
.stmt-top { display: flex; align-items: flex-start; justify-content: space-between; }
.stmt-index { font-family: var(--font-en); font-weight: 900; font-style: italic; font-size: clamp(40px, 6vw, 72px); line-height: .8; letter-spacing: -.03em; }
.stmt-tag { font-family: var(--font-en); font-weight: 800; font-size: 11px; letter-spacing: .16em; color: #7FE0F0; text-transform: uppercase; border: 1px solid rgba(255,255,255,.26); padding: 6px 13px; border-radius: 100px; }
.stmt-mid { margin-top: clamp(40px, 8vh, 90px); }
.stmt-eyebrow { display: block; font-family: var(--font-en); font-weight: 800; font-size: 11.5px; letter-spacing: .16em; color: #7FE0F0; text-transform: uppercase; margin-bottom: 14px; }
.stmt-big { font-family: var(--font-jp); font-weight: 900; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.32; letter-spacing: .01em; }
.stmt-big .x { color: #5BD2E8; }
.stmt-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: clamp(20px, 3vh, 32px); padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: .14em; color: rgba(242,250,252,.55); text-transform: uppercase; }

/* ---- スタッツ（左カラム内） ---- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); margin-top: auto; padding-top: clamp(28px, 4vh, 44px); border-top: 1px solid var(--line); align-items: stretch; }
.stats > div { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-en); font-weight: 900; font-size: clamp(38px, 5vw, 66px); line-height: 1; letter-spacing: -.03em; }
.stat-num small { font-size: .38em; font-weight: 800; margin-left: 4px; }
.stat-num.is-text { font-family: var(--font-jp); font-weight: 900; letter-spacing: 0; font-size: clamp(30px, 3.6vw, 50px); }
.stat-label { margin-top: auto; padding-top: 14px; color: var(--text-70); font-size: 13.5px; font-weight: 700; }

/* ---------- ACTIVITY（02） ---------- */
.activities { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.activity-card { background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px, 3.6vw, 48px); position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.activity-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(12,30,36,.10); border-color: var(--line-2); }
.activity-num { font-family: var(--font-en); font-weight: 900; font-size: clamp(56px, 8vw, 104px); line-height: .9; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 12px; }
.activity-badge { display: inline-block; font-family: var(--font-en); font-weight: 800; font-size: 11.5px; letter-spacing: .1em; color: var(--text); border: 1px solid var(--line-2); border-radius: 100px; padding: 5px 13px; margin-bottom: 16px; text-transform: uppercase; }
.activity-card h3 { font-family: var(--font-jp); font-weight: 900; font-size: clamp(22px, 2.7vw, 31px); margin-bottom: 14px; }
.activity-card p { color: var(--text-70); font-size: clamp(14.5px, 1.5vw, 16.5px); line-height: 1.85; }
.activities-note { margin-top: 32px; font-family: var(--font-jp); font-weight: 700; font-size: clamp(18px, 2.6vw, 28px); text-align: center; letter-spacing: .02em; }
.activities-note .hl { color: var(--accent); }

/* ---------- EVENTS（03） ---------- */
.event-preview { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.2vw, 28px); }
.event-preview a { position: relative; border-radius: 22px; overflow: hidden; display: block; background: var(--panel); border: 1px solid var(--line); }
.event-preview img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .6s var(--ease), opacity .4s; }
.event-preview a:hover img { transform: scale(1.05); opacity: .82; }
.event-preview a.is-square img { aspect-ratio: 1 / 1; }
.event-preview a::after { content: "VIEW →"; position: absolute; left: 18px; bottom: 16px; z-index: 2; font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .12em; color: #fff; opacity: 0; transform: translateY(8px); transition: .35s var(--ease); }
.event-preview a:hover::after { opacity: 1; transform: translateY(0); }
.event-preview-cta { margin-top: 36px; text-align: center; }

/* ---------- MEMBERS（04） ---------- */
.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 30px); }
.member-card { border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px, 3vw, 44px); text-align: center; transition: transform .4s var(--ease), border-color .4s var(--ease); background: var(--panel); }
.member-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.member-avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; font-family: var(--font-jp); font-weight: 900; font-size: 40px; color: var(--text); background: var(--panel-2); border: 1px solid var(--line-2); }
.member-card:nth-child(2) .member-avatar { background: var(--grad); color: #fff; border: 0; }
.member-role { font-family: var(--font-en); font-weight: 800; font-size: 11.5px; letter-spacing: .12em; color: var(--text-70); text-transform: uppercase; }
.member-name { font-family: var(--font-jp); font-weight: 900; font-size: 20px; margin-top: 8px; }

/* ---------- 協賛CTA（05）── 鮮やかオレンジのバンド ---------- */
.cta-band { background: #000; color: var(--on-accent); border-radius: 32px; padding: clamp(40px, 6vw, 84px); position: relative; overflow: hidden; min-height: clamp(300px, 40vw, 440px); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 34%, rgba(0,0,0,.22) 62%, rgba(0,0,0,0) 84%); }
.cta-eyebrow { position: relative; font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .16em; color: rgba(255,255,255,.78); text-transform: uppercase; }
.cta-band h2 { position: relative; font-family: var(--font-jp); font-weight: 900; font-size: clamp(26px, 3.8vw, 46px); line-height: 1.3; margin: 16px 0 18px; }
.cta-band p { position: relative; color: rgba(255,255,255,.88); max-width: 640px; margin-bottom: 30px; }
.cta-band .btn { background: var(--bg); color: var(--text); box-shadow: none; }
.cta-band .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(6,50,60,.28); }

/* ---------- CONTACT（06） ---------- */
.contact { text-align: center; }
.contact .sec-head { margin-inline: auto; text-align: center; }
.contact .sec-tag { justify-content: center; }
.contact .sec-tag::before { display: none; }
.contact-card { max-width: 720px; margin: 0 auto; border: 1px solid var(--line); border-radius: 28px; padding: clamp(34px, 5vw, 62px); background: var(--panel); }
.contact-card p { color: var(--text-70); margin-bottom: 26px; }

/* =========================================================
   下層ページ
   ========================================================= */
.page-hero { padding: calc(var(--header-h) + clamp(50px, 9vh, 100px)) 0 clamp(30px, 5vh, 54px); position: relative; z-index: 5; }
.page-hero .eyebrow { font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .18em; color: var(--accent); text-transform: uppercase; }
.page-hero h1 { font-family: var(--font-jp); font-weight: 900; font-size: clamp(34px, 7vw, 88px); line-height: 1.02; letter-spacing: -.01em; margin: 14px 0 14px; }
.page-hero .en-big { font-family: var(--font-en); font-weight: 900; font-style: italic; letter-spacing: -.02em; color: var(--line-2); font-size: clamp(48px, 12vw, 168px); line-height: .8; display: block; margin-top: 6px; }
.page-hero p { color: var(--text-70); max-width: 560px; }

.event-tabs { display: inline-flex; gap: 6px; padding: 5px; background: var(--bg-2); border-radius: 100px; border: 1px solid var(--line); margin-bottom: 42px; }
.event-tabs a { font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .06em; padding: 9px 22px; border-radius: 100px; color: var(--text-70); transition: .25s var(--ease); }
.event-tabs a.active { background: var(--text); color: var(--bg); }
.event-tabs a:not(.active):hover { color: var(--text); }

.events-section { padding-top: 0; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 36px); }
.event-card { border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 3vw, 34px); background: var(--panel); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; display: flex; flex-direction: column; }
.event-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(12,30,36,.10); border-color: var(--line-2); }
.event-status { align-self: flex-start; font-family: var(--font-jp); font-weight: 900; font-size: 13px; color: #fff; background: var(--grad); padding: 7px 15px; border-radius: 100px; margin-bottom: 18px; }
.event-status--done { background: #64748b; }
.event-title { font-family: var(--font-jp); font-weight: 900; font-size: clamp(21px, 2.6vw, 28px); margin-bottom: 18px; }
.event-poster { border-radius: 16px; margin-bottom: 22px; width: 100%; object-fit: cover; border: 1px solid var(--line); }
.event-apply { margin-top: auto; align-self: flex-start; }

.notice-box { border: 1px dashed var(--line-2); border-radius: 26px; padding: clamp(40px, 6vw, 74px); text-align: center; background: var(--panel); }
.notice-badge { display: inline-block; font-family: var(--font-en); font-weight: 800; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); border: 1px solid var(--line-2); border-radius: 100px; padding: 5px 14px; margin-bottom: 18px; }
.notice-box h2 { font-family: var(--font-jp); font-weight: 900; font-size: clamp(20px, 2.6vw, 30px); margin-bottom: 12px; }
.notice-box p { color: var(--text-70); }

.recruit h2 { font-family: var(--font-jp); font-weight: 900; font-size: clamp(24px, 3.4vw, 42px); margin-bottom: 18px; }
.recruit p { color: var(--text-70); max-width: 680px; margin-bottom: 16px; font-size: clamp(15px, 1.5vw, 17px); }
.recruit .btn { margin-top: 12px; }

/* =========================================================
   フッター
   ========================================================= */
.site-footer { background: #06232B; color: #EAF4F7; padding: clamp(46px, 7vh, 78px) 0 0; position: relative; z-index: 5; overflow: hidden; border-top: 0; }
.footer-word { font-family: var(--font-en); font-weight: 900; font-style: italic; letter-spacing: .015em; font-size: clamp(60px, 18vw, 270px); line-height: .8; color: rgba(255,255,255,.06); pointer-events: none; margin-bottom: -.1em; white-space: nowrap; padding-right: .12em; }
/* 上段: ブランド（左） + Follow Us/SNS（右） */
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: clamp(26px, 4vw, 56px); flex-wrap: wrap; padding-bottom: clamp(26px, 4vh, 40px); }
.footer-brand { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 22px); }
.footer-brand img { width: clamp(120px, 13vw, 176px); height: auto; object-fit: contain; }
.footer-brand-text { display: flex; flex-direction: column; }
.footer-kk { font-family: var(--font-en); font-weight: 900; font-style: italic; letter-spacing: .01em; font-size: clamp(30px, 4.4vw, 52px); line-height: .9; color: #EAF4F7; }
.footer-tagline { color: rgba(234,244,247,.72); margin-top: 8px; font-size: clamp(13px, 1.3vw, 15px); font-weight: 700; line-height: 1.65; max-width: 30em; }

/* Follow Us + SNSアイコン */
.footer-social { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 22px); flex-wrap: wrap; }
.footer-social-label { font-family: var(--font-en); font-weight: 800; font-size: 14px; letter-spacing: .12em; color: #EAF4F7; }
.footer-social-icons { display: flex; align-items: center; gap: clamp(9px, 1.2vw, 13px); }
.sns-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); color: #EAF4F7; transition: .25s var(--ease); }
.sns-ic svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.sns-ic:hover { background: #EAF4F7; color: #06232B; border-color: #EAF4F7; transform: translateY(-2px); }

/* 下段: 法務/問い合わせリンク + 著作権 */
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding: clamp(16px, 2.4vh, 22px) 0 clamp(20px, 3vh, 30px); border-top: 1px solid rgba(255,255,255,.14); }
.footer-utility { display: flex; flex-wrap: wrap; align-items: center; }
.footer-utility a { color: rgba(234,244,247,.72); font-size: 13px; font-weight: 700; padding: 0 clamp(11px, 1.3vw, 18px); position: relative; transition: color .25s var(--ease); }
.footer-utility a:first-child { padding-left: 0; }
.footer-utility a:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 12px; background: rgba(255,255,255,.22); }
.footer-utility a:hover { color: #fff; }
.footer-copy { color: rgba(234,244,247,.5); font-size: 12.5px; letter-spacing: .05em; }

/* =========================================================
   リビール
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 900px) {
  :root { --header-h: 80px; }
  .brand img { height: 48px; width: auto; border-radius: 0; }
  .brand-name { font-size: 19px; }
  .menu-btn { font-size: 14px; }
  .nav-inline { display: none; }
  .menu-list { grid-template-columns: 1fr; }
  .menu-list .jp-lbl { font-size: 12px; }
  .statement-grid { grid-template-columns: 1fr; }
  .statement-visual { order: -1; }
  .stmt-card { min-height: 300px; }
  .stats { margin-top: 30px; }
  .activities { grid-template-columns: 1fr; }
  .members { grid-template-columns: 1fr; }
  .event-preview { grid-template-columns: 1fr; }
  .hero-marks { display: none; }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 18px; }
  .hero-scroll { display: none; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; gap: 22px; text-align: left; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-wordmark { font-size: 24vw; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .menu-list a { transform: none; }
}

/* =========================================================
   追加: 日本語見出しの改行制御（文節で折り返し・行長を均等化）
   ========================================================= */
.sec-title, .statement-title, .cta-band h2, .hero-tagline,
.notice-box h2, .recruit h2, .page-hero h1, .modal-panel h3 {
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: balance;
}

/* =========================================================
   追加: 活動カード → クリックで詳細（アフォーダンス）
   ========================================================= */
.activity-card[data-modal-open] { cursor: pointer; }
.activity-card[data-modal-open]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.activity-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px;
  font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); transition: gap .3s var(--ease);
}
.activity-card:hover .activity-more { gap: 11px; }

/* =========================================================
   追加: モーダル（ポップアップ）
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal::before { content: ""; position: absolute; inset: 0; background: rgba(6,35,43,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: mfade .3s var(--ease); }
.modal-panel {
  position: relative; z-index: 1; width: 100%; max-width: 560px; max-height: 86vh; overflow: auto;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 26px;
  padding: clamp(30px, 4vw, 50px); box-shadow: 0 30px 70px rgba(12,30,36,.22); animation: mrise .42s var(--ease);
}
@keyframes mfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mrise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 20px; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: .25s var(--ease);
}
.modal-close:hover { background: var(--text); color: var(--bg); }
.modal-eyebrow { display: block; font-family: var(--font-en); font-weight: 800; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.modal-panel h3 { font-family: var(--font-jp); font-weight: 900; font-size: clamp(22px, 3vw, 30px); line-height: 1.32; margin: 10px 0 18px; }
.modal-panel p { color: var(--text-70); font-size: 15px; margin-bottom: 16px; }
.modal-panel p:last-of-type { margin-bottom: 22px; }

/* =========================================================
   追加: 開催予定イベント（データ駆動・件数可変）
   ========================================================= */
.event-preview:has(a:only-child) { grid-template-columns: minmax(0, 560px); justify-content: center; }
.event-preview.is-empty { display: block; }
.event-empty { grid-column: 1 / -1; text-align: center; color: var(--text-70); font-weight: 700; padding: 44px 0; }

/* =========================================================
   追加: フッター大型ワードマーク（JSで幅にフィット）
   ========================================================= */
.footer-word { text-align: center; max-width: 100%; }

/* =========================================================
   追加: カード内ビジュアル（SVG / アニメーション）
   写真に差し替える場合はカードに --card-img を指定するだけでよい
   ========================================================= */

/* ---- 01枠：線と点のネットワーク（背景いっぱい） ---- */
.stmt-bg { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.stmt-bg svg { width: 100%; height: 100%; }
.nw-link {
  stroke: #7FE0F0; stroke-width: 1; opacity: .5;
  stroke-dasharray: var(--d); stroke-dashoffset: var(--d);
  animation: nwDraw 9s var(--ease) infinite; animation-delay: var(--t);
}
@keyframes nwDraw {
  0%   { stroke-dashoffset: var(--d); opacity: 0; }
  12%  { opacity: .55; }
  38%  { stroke-dashoffset: 0; opacity: .55; }
  78%  { stroke-dashoffset: 0; opacity: .5; }
  92%  { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.nw-dot { fill: #8CEBFB; animation: nwPulse 4.2s var(--ease) infinite; animation-delay: var(--t); }
@keyframes nwPulse { 0%,100% { opacity: .45; r: 3.0; } 50% { opacity: 1; r: 4.2; } }
@media (prefers-reduced-motion: reduce) {
  .nw-link { animation: none; stroke-dashoffset: 0; opacity: .5; }
  .nw-dot { animation: none; opacity: .8; }
}

/* ---- 活動カード：枠全体を背景ビジュアルに ----
   写真を用意した場合は該当カードに style="--card-img:url('assets/xxx.jpg')" を付けるだけで差し替わる */
.activity-card { background-image: var(--card-img, none); background-size: cover; background-position: center;
  aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end; }
.card-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .38; }
.card-bg > svg { position: absolute; left: 5%; width: 90%; top: 12%; height: auto; }
.card-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 34%, rgba(255,255,255,.78) 62%, rgba(255,255,255,.96) 100%);
}
.activity-card > :not(.card-bg) { position: relative; z-index: 1; }

/* ---- MBTI 16タイプが順番に現れる ---- */
.card-bg.mbti-stage { opacity: .46; align-items: start; padding-top: 30px; }
.mbti-chip {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(10px) scale(.96);
  animation: mbtiCycle 35.2s linear infinite;
  animation-delay: calc(var(--i) * 2.2s);
}
.mbti-chip b {
  position: absolute; top: 6%; right: 7%;
  font-family: var(--font-en); font-weight: 900; font-size: clamp(15px, 1.7vw, 20px); letter-spacing: .04em;
  color: #fff; background: var(--c); padding: 8px 14px; border-radius: 10px; line-height: 1;
}
.mbti-chip small {
  position: absolute; top: calc(6% + 40px); right: 7%;
  font-family: var(--font-jp); font-weight: 700; font-size: 13px; color: var(--text-70);
}
@keyframes mbtiCycle {
  0%    { opacity: 0; transform: translateY(10px) scale(.96); }
  1.6%  { opacity: 1; transform: translateY(0) scale(1); }
  5.6%  { opacity: 1; transform: translateY(0) scale(1); }
  7.2%  { opacity: 0; transform: translateY(-8px) scale(.99); }
  100%  { opacity: 0; transform: translateY(-8px) scale(.99); }
}



/* ---- MBTIグループごとの枠色が「じわーっと染み出る」 ---- */
.card-wash { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.card-wash i {
  position: absolute; inset: -34%;
  background: radial-gradient(circle at 50% 44%, var(--w) 0%, var(--w) 54%, transparent 78%);
  opacity: 0; transform: scale(.5);
  animation: washCycle 35.2s linear infinite;
  animation-delay: calc(var(--i) * 2.2s);
}
@keyframes washCycle {
  0%    { opacity: 0; transform: scale(.62); }
  2.8%  { opacity: 1; transform: scale(1); }
  5.9%  { opacity: 1; transform: scale(1.05); }
  7.8%  { opacity: 0; transform: scale(1.10); }
  100%  { opacity: 0; transform: scale(1.10); }
}
@media (prefers-reduced-motion: reduce) { .card-wash i { animation: none; } .card-wash i:first-child { opacity: 1; transform: none; } }

/* ---- MBTIキャラ画像スロット（assets/mbti/ に置くと自動で画像モード） ---- */
.mbti-art { display: none; }
.card-bg.mbti-stage.has-art { opacity: 1; }
.has-art .mbti-art {
  display: block; position: absolute; left: 0; right: 0; top: 4%; height: 66%;
  background-image: var(--img); background-size: contain;
  background-repeat: no-repeat; background-position: center center;
}


/* 画像モードではキャラを主役にするため白かぶりを弱める */
.card-bg.mbti-stage.has-art::after {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,.72) 63%, rgba(255,255,255,.95) 100%);
}


/* ---- 写真をカード全面の背景にする ---- */
.card-bg.card-vid { opacity: 1; top: 0; left: 0; right: 0; bottom: auto; height: auto; aspect-ratio: 1 / 1; }
.card-bg.card-vid video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.card-bg.card-photo {
  opacity: 1;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---- 育成プログラム：課題→提案→解決 ---- */
.pg-step circle { fill: #FFFFFF; stroke: var(--accent); stroke-width: 1.6; }
.pg-step.s2 circle { stroke: #12A0B8; } .pg-step.s3 circle { fill: var(--accent); stroke: var(--accent); }
.pg-ic { fill: var(--accent); font-family: var(--font-en); font-weight: 900; font-size: 17px; text-anchor: middle; }
.pg-step.s3 .pg-ic { fill: #FFFFFF; }
.pg-lb { fill: var(--text-70); font-family: var(--font-jp); font-weight: 700; font-size: 11px; text-anchor: middle; }
.pg-cap { fill: var(--text-45); font-family: var(--font-jp); font-weight: 700; font-size: 10.5px; text-anchor: middle; }
.pg-arrow { stroke: var(--line-2); stroke-width: 1.6; fill: none; stroke-dasharray: 4 4; animation: pgFlow 2.4s linear infinite; }
.pg-arrow.d1 { animation-delay: .5s; }
@keyframes pgFlow { to { stroke-dashoffset: -16; } }
.pg-bars rect { fill: #12A0B8; opacity: .85; }

@media (max-width: 620px) {
  .activity-card { aspect-ratio: auto; min-height: 500px; }
  .has-art .mbti-art { height: 58%; top: 3%; }
}
@media (prefers-reduced-motion: reduce) {
  .cv-link { animation: none; stroke-dashoffset: 0; opacity: .45; }
  .pg-arrow { animation: none; }
  .mbti-chip { animation-duration: 20s; }
}

/* =========================================================
   追加: 下層ページの共通パーツ（概要表 / FAQ / お知らせ / 規約）
   ========================================================= */

/* ---- 概要・募集要項テーブル ---- */
.info-table dl { border-top: 1px solid var(--line); }
.info-table dl > div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.info-table dt { font-family: var(--font-jp); font-weight: 900; font-size: 14px; color: var(--text); }
.info-table dd { color: var(--text-70); font-size: 15px; }
.info-table dd a { color: var(--accent); font-weight: 700; border-bottom: 1px solid var(--line-2); }
@media (max-width: 700px) { .info-table dl > div { grid-template-columns: 1fr; gap: 6px; } }

/* ---- メンバーカードの補足文 ---- */
.member-note { margin-top: 14px; color: var(--text-70); font-size: 13.5px; text-align: left; line-height: 1.8; }

/* ---- FAQ（開閉式） ---- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 52px 22px 4px;
  font-family: var(--font-jp); font-weight: 700; font-size: clamp(15px, 1.6vw, 17px); color: var(--text);
  transition: color .25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 13px; height: 2px;
  background: var(--accent); transform: translateY(-50%); transition: transform .3s var(--ease);
}
.faq-item summary::before {
  content: ""; position: absolute; right: 14px; top: 50%; width: 13px; height: 2px;
  background: var(--accent); transform: translateY(-50%) rotate(90deg); transition: transform .3s var(--ease);
}
.faq-item[open] summary::before { transform: translateY(-50%) rotate(0deg); }
.faq-a { padding: 0 52px 24px 4px; }
.faq-a p { color: var(--text-70); font-size: 15px; line-height: 1.9; }

/* ---- お知らせ一覧 ---- */
.news-list { border-top: 1px solid var(--line); }
.news-item { padding: 30px 4px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 96px 1fr; gap: 6px 20px; align-items: start; }
.news-item time { font-family: var(--font-en); font-weight: 800; font-size: 13px; color: var(--text-45); letter-spacing: .06em; padding-top: 4px; }
.news-cat { justify-self: start; font-family: var(--font-en); font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line-2); border-radius: 100px; padding: 4px 12px; }
.news-item h2 { font-family: var(--font-jp); font-weight: 900; font-size: clamp(17px, 1.9vw, 21px); line-height: 1.5; }
.news-item p { grid-column: 3; color: var(--text-70); font-size: 14.5px; margin-top: 10px; }
@media (max-width: 760px) {
  .news-item { grid-template-columns: 1fr; gap: 10px; }
  .news-item p, .news-item h2 { grid-column: 1; }
}

/* ---- 規約・ポリシー本文 ---- */
.legal { max-width: 820px; }
.legal p { color: var(--text-70); font-size: 15px; line-height: 2; margin-bottom: 22px; }
.legal h2 { font-family: var(--font-jp); font-weight: 900; font-size: clamp(17px, 2vw, 21px); color: var(--text); margin: 40px 0 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 30px; }
.legal a { color: var(--accent); font-weight: 700; border-bottom: 1px solid var(--line-2); }
.legal-date { font-size: 13.5px; color: var(--text-45); margin-top: 40px; }

/* =========================================================
   追加: 運営メンバーの電子名刺
   ========================================================= */
.member-card[data-modal-open] { cursor: pointer; }
.member-card[data-modal-open]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.member-more {
  display: inline-block; margin-top: 14px;
  font-family: var(--font-en); font-weight: 800; font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); transition: gap .3s var(--ease);
}
.member-card:hover .member-more { text-decoration: underline; }

.modal-panel.meishi { max-width: 460px; padding: clamp(24px, 4vw, 40px); }
.meishi-head { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.meishi-avatar {
  width: 76px; height: 76px; border-radius: 50%; flex: none;
  background: var(--panel-2) var(--photo, none) center / cover no-repeat;
  display: grid; place-items: center;
  font-family: var(--font-jp); font-weight: 900; font-size: 30px; color: var(--accent);
  border: 1px solid var(--line-2);
}
.meishi-avatar[data-initial]::before { content: attr(data-initial); }
.meishi-avatar[style*="--photo"]::before { content: ""; }
.meishi-id { min-width: 0; }
.meishi-name { font-family: var(--font-jp); font-weight: 900; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.2; }
.meishi-roma { font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: .08em; color: var(--text-45); margin-top: 2px; }
.meishi-role { display: inline-block; margin-top: 8px; font-family: var(--font-en); font-weight: 800; font-size: 11px; letter-spacing: .1em; color: var(--accent); }

.meishi-info { margin: 20px 0; }
.meishi-info > div { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.meishi-info dt { font-family: var(--font-jp); font-weight: 900; font-size: 13px; color: var(--text); }
.meishi-info dd { color: var(--text-70); font-size: 14px; line-height: 1.7; }

.meishi-foot { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.meishi-qr {
  width: 84px; height: 84px; flex: none; border-radius: 12px;
  border: 1px dashed var(--line-2); background: var(--bg-2);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: .08em; color: var(--text-45); line-height: 1.4;
}
.meishi-foot .btn { flex: 1; justify-content: center; }
@media (max-width: 480px) {
  .meishi-foot { flex-direction: column; align-items: stretch; }
  .meishi-qr { margin: 0 auto; }
}


/* 協賛CTA：文章は左から、博士は右からスライドイン（ゆっくり止まる） */
.cta-copy { position: relative; z-index: 2; opacity: 0; transform: translateX(-70px); transition: opacity 1s ease, transform 1.3s var(--ease); }
.cta-copy.in { opacity: 1; transform: none; }
.cta-clark { transition: opacity 1s ease, transform 1.3s var(--ease); }
.cta-clark:not(.in) { opacity: 0; transform: translate(calc(-50% + 110px), -50%); }
.cta-clark.in { opacity: 1; transform: translate(-50%, -50%); }
@media (prefers-reduced-motion: reduce) {
  .cta-copy, .cta-clark { transition: none; opacity: 1; }
  .cta-copy { transform: none; }
  .cta-clark { transform: translate(-50%, -50%); }
}

/* 協賛CTA右側のクラーク博士（左の見出しを指さす）
   最初から動画1本。先頭フレームで一時停止表示 → スライドイン後に再生（入替なし） */
.cta-clark {
  display: block;
  position: absolute; left: 74%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(170px, 21vw, 300px); height: auto; z-index: 3;
  object-fit: cover; pointer-events: none;
  background: transparent;
}
@media (max-width: 900px) { .cta-clark { display: none; } }

/* ============================================================
   スマホ表示 最適化（追記）: 横スクロール防止 + 特大要素の縮小
   ============================================================ */
html { overflow-x: hidden; overflow-x: clip; }
@media (max-width: 480px) {
  .hero-wordmark        { font-size: 17vw; }
  .footer-word          { font-size: 16vw; }
  .stmt-card .watermark { font-size: 12vw; }
  .page-hero .en-big    { font-size: clamp(36px, 11vw, 60px); }
  .page-hero h1         { font-size: clamp(28px, 6.6vw, 40px); }
  .activity-num         { font-size: clamp(42px, 11vw, 70px); }
  .brand-name           { white-space: nowrap; }
}
