/* ==========================================================
   GTIE — 案"WARM"(小田急箱根 新卒採用サイト参考)
   温かいアイボリー地 + 游ゴシック + Barlow + 手描きフラットイラスト + 朱赤アクセント
   参考: https://www.odakyu-hakone.jp/recruit/(配色/タイポ/イラスト×実写/バイリンガル見出し)
   ========================================================== */

:root {
  --ivory: #f7f4ea;
  --ivory-2: #fcfbf4;
  --paper: #ffffff;
  --ink: #33271f;        /* 焦茶テキスト(純黒は使わない) */
  --ink-2: #6e6054;
  --ink-3: #9c8f80;
  --red: #e23c14;        /* 小田急/箱根の朱赤 */
  --red-d: #c32f0a;
  --brown: #a66a39;
  --hair: #e6dfcd;

  /* イラスト/ブロブのパステル */
  --mint: #a8dcc6;
  --peach: #f4d2c2;
  --sky: #bcdded;
  --sun: #f6d873;

  /* 参加大学6色(タグ/イラスト差し色) */
  --c-waseda: #a4123a;
  --c-tsukuba: #6a2c91;
  --c-chiba: #e09400;
  --c-tuat: #1c8c4c;
  --c-ynu: #1466b0;
  --c-gtie: #e23c14;

  --jp: "游ゴシック体", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --en: "Barlow", "Helvetica Neue", sans-serif;

  --wrap: 1140px;
  --gut: 6vw;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--jp); font-weight: 500; color: var(--ink); background: var(--ivory); line-height: 1.95; font-size: 15.5px; font-feature-settings: "palt" 1; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; }
ruby rt { font-family: var(--jp); font-weight: 500; font-size: .38em; letter-spacing: .08em; color: var(--ink-2); }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.sec, .band, .about, #events, .apply-box, .dt-related { scroll-margin-top: 84px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--jp); font-weight: 700; font-size: 15px; padding: 15px 28px; border-radius: 999px; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.btn .en { font-family: var(--en); font-weight: 700; letter-spacing: .04em; }
.btn .ar { display: inline-grid; place-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.25); font-size: 12px; transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ar { transform: translateX(2px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 22px rgba(226,60,20,.22); }
.btn--red:hover { background: var(--red-d); }
.btn--cream { background: var(--paper); color: var(--ink); border: 1.5px solid var(--hair); }
.btn--cream .ar { background: var(--red); color: #fff; }
.btn--cream:hover { border-color: var(--red); color: var(--red); }
.btn--lg { font-size: 17px; padding: 19px 38px; }

/* ---------- バイリンガル見出し ---------- */
.slabel { display: inline-flex; flex-direction: column; gap: 4px; margin-bottom: 26px; }
.slabel .jp { font-family: var(--jp); font-weight: 700; font-size: 14px; color: var(--red); display: inline-flex; align-items: center; gap: 9px; letter-spacing: .04em; }
.slabel .jp::before { content: ""; width: 18px; height: 18px; background: var(--red); border-radius: 50%; -webkit-mask: var(--ico-star) center/contain no-repeat; mask: var(--ico-star) center/contain no-repeat; }
.slabel .en { font-family: var(--en); font-weight: 700; font-size: clamp(30px, 5.4vw, 58px); line-height: 1; letter-spacing: .005em; color: var(--ink); }
:root { --ico-star: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 1l2.6 6.4L21 8l-4.8 4.3L17.6 19 12 15.4 6.4 19l1.4-6.7L3 8l6.4-.6z"/></svg>'); }

/* ---------- タグ / ステータス ---------- */
.utag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--jp); font-weight: 700; font-size: 12px; color: var(--ink); background: var(--ivory-2); border: 1.5px solid var(--hair); border-radius: 999px; padding: 4px 13px 4px 10px; }
.utag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--tc, var(--ink-3)); }
.u-waseda { --tc: var(--c-waseda); } .u-tsukuba { --tc: var(--c-tsukuba); } .u-chiba { --tc: var(--c-chiba); }
.u-tuat { --tc: var(--c-tuat); } .u-ynu { --tc: var(--c-ynu); } .u-gtie { --tc: var(--c-gtie); }
.status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--en); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.status.open { background: var(--red); color: #fff; }
.status.soon { background: #fff; color: var(--red); border: 1.5px solid var(--red); }
.status.prep { background: #efe9da; color: var(--ink-3); }

/* ---------- モック注記 ---------- */
.mock-note { background: var(--ink); color: #efe6da; font-family: var(--en); font-size: 11.5px; letter-spacing: .02em; padding: 9px var(--gut); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.mock-note b { color: #ffd9a8; }

/* ==========================================================
   ヘッダー
   ========================================================== */
.hdr { position: sticky; top: 0; z-index: 80; background: color-mix(in srgb, var(--ivory) 90%, transparent); backdrop-filter: blur(7px); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand .bm { font-family: var(--en); font-weight: 700; font-size: 21px; letter-spacing: .01em; color: var(--ink); }
.brand .bs { font-family: var(--jp); font-weight: 700; font-size: 10.5px; letter-spacing: .12em; color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a { font-family: var(--jp); font-weight: 700; font-size: 14px; position: relative; }
.nav > a .en { display: block; font-family: var(--en); font-weight: 700; font-size: 10px; letter-spacing: .08em; color: var(--red); }
.nav > a:not(.nav-cta):hover { color: var(--red); }
.nav .nav-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; padding: 11px 14px 11px 20px; border-radius: 999px; white-space: nowrap; }
.nav .nav-cta .en { color: #fff; font-size: 13px; }
.nav .nav-cta .ar { display: grid; place-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.22); font-size: 12px; }
.nav .nav-cta:hover { background: var(--red-d); }

/* ハンバーガー(SP) — 案WARM のアイボリー地・焦茶バー・やわらか角丸に合わせる */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 40px; padding: 0 9px; margin-left: 14px; background: none; border: 0; cursor: pointer; }
.nav-toggle .bar { display: block; height: 2.5px; border-radius: 999px; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }
body.nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================
   ファーストビュー(イラスト×実写×ブロブ)
   ========================================================== */
.hero { position: relative; overflow: hidden; padding-top: clamp(20px, 4vw, 44px); }
.hero-stage { position: relative; min-height: min(74vh, 660px); }

/* ブロブ */
.blob { position: absolute; z-index: 0; filter: blur(.3px); animation: blob 16s ease-in-out infinite; }
.blob.b1 { width: 360px; top: -40px; left: 36%; color: var(--mint); animation-delay: 0s; }
.blob.b2 { width: 300px; top: 120px; right: -30px; color: var(--peach); animation-delay: 2s; }
.blob.b3 { width: 240px; bottom: -30px; left: 40%; color: var(--sky); animation-delay: 4s; }
.blob svg { width: 100%; height: auto; display: block; fill: currentColor; }

/* イラスト */
.ill { position: absolute; z-index: 2; animation: bob 7s ease-in-out infinite; }
.ill svg { display: block; width: 100%; height: auto; overflow: visible; }
.ill.i1 { width: 92px; top: 4%; left: 52%; animation-delay: .2s; }
.ill.i2 { width: 104px; top: 2%; left: 70%; animation-delay: 1.1s; }
.ill.i3 { width: 88px; top: 34%; right: 3%; animation-delay: .6s; }
.ill.i4 { width: 78px; top: 60%; left: 49%; animation-delay: 1.6s; }
.ill.i5 { width: 96px; bottom: 4%; right: 12%; animation-delay: .9s; }
.ill.i6 { width: 70px; top: 16%; left: 88%; animation-delay: 2s; }

/* 実写真(箱根中央写真に相当) */
.hero-photo { position: absolute; z-index: 3; width: clamp(280px, 34vw, 440px); right: 4%; top: 30%; border-radius: 18px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 50px rgba(51,39,31,.16); transform: rotate(1.5deg); }
.hero-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-photo .ph-tag { position: absolute; left: 12px; bottom: 12px; background: var(--red); color: #fff; font-family: var(--en); font-weight: 700; font-size: 11px; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; }

/* コピー */
.hero-copy { position: relative; z-index: 4; padding: clamp(18px, 4vw, 56px) 0 0; max-width: 620px; }
.hero-eyebrow { font-family: var(--en); font-weight: 600; font-style: italic; font-size: 15px; letter-spacing: .04em; color: var(--brown); margin-bottom: 18px; opacity: 0; }
.is-lit .hero-eyebrow { animation: fadeUp .7s ease .1s forwards; }
.hero-title { font-family: var(--jp); font-weight: 700; font-size: clamp(40px, 7vw, 80px); line-height: 1.5; letter-spacing: .02em; }
.hero-title .ln { display: block; }
.hero-title .ln > span { display: inline-block; opacity: 0; transform: translateY(26px); }
.is-lit .hero-title .ln > span { animation: fadeUp .9s cubic-bezier(.2,.85,.24,1) forwards; }
.is-lit .hero-title .ln:nth-child(2) > span { animation-delay: .12s; }
.is-lit .hero-title .ln:nth-child(3) > span { animation-delay: .24s; }
.hero-title em { color: var(--red); position: relative; }
.hero-title em::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: .04em; height: .1em; background: var(--sun); border-radius: 999px; z-index: -1; }
.hero-sign { margin-top: 22px; font-family: var(--jp); font-weight: 700; font-size: 14px; color: var(--ink-2); letter-spacing: .04em; opacity: 0; }
.is-lit .hero-sign { animation: fadeUp .7s ease .5s forwards; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; }
.is-lit .hero-cta { animation: fadeUp .7s ease .62s forwards; }

/* News ティッカー */
.hero-news { margin-top: clamp(28px, 5vw, 56px); border-top: 1.5px solid var(--hair); border-bottom: 1.5px solid var(--hair); }
.hero-news-in { display: flex; align-items: center; gap: 22px; padding: 14px 0; }
.hero-news .nlabel { font-family: var(--en); font-weight: 700; font-style: italic; font-size: 16px; color: var(--red); flex: none; }
.hero-news ul { display: flex; gap: 30px; overflow: hidden; }
.hero-news li { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; font-size: 13.5px; color: var(--ink-2); }
.hero-news .nd { font-family: var(--en); font-weight: 600; color: var(--ink-3); }
.hero-news .ncat { font-family: var(--en); font-weight: 700; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--brown); border-radius: 999px; padding: 2px 10px; }

/* ==========================================================
   セクション共通
   ========================================================== */
.sec { padding: clamp(72px, 11vw, 130px) 0; position: relative; }
.sec-head { margin-bottom: 50px; }
.sec-head .lead { margin-top: 16px; font-size: 16px; color: var(--ink-2); max-width: 40em; }

/* About / Why */
.about { position: relative; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about-h { font-family: var(--jp); font-weight: 700; font-size: clamp(26px, 4vw, 44px); line-height: 1.5; letter-spacing: .02em; }
.about-h em { color: var(--red); }
.about-body p { color: var(--ink-2); margin-bottom: 16px; }
.about-body strong { color: var(--ink); background: linear-gradient(transparent 62%, var(--sun) 62%); font-weight: 700; }
.about-points { margin-top: 28px; display: grid; gap: 14px; }
.about-points li { display: flex; gap: 16px; align-items: flex-start; background: var(--ivory-2); border: 1.5px solid var(--hair); border-radius: 16px; padding: 18px 22px; }
.about-points .ico { flex: none; width: 44px; height: 44px; }
.about-points b { display: block; font-size: 16px; }
.about-points span { font-size: 13.5px; color: var(--ink-2); }

/* Events */
.ev-feat { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--paper); border: 1.5px solid var(--hair); border-radius: 24px; overflow: hidden; margin-bottom: 24px; }
.ev-feat .f-photo { position: relative; overflow: hidden; min-height: 280px; }
.ev-feat .f-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ev-feat:hover .f-photo img { transform: scale(1.04); }
.ev-feat .f-badge { position: absolute; left: 16px; top: 16px; background: #fff; border-radius: 14px; padding: 8px 14px; text-align: center; box-shadow: 0 6px 16px rgba(51,39,31,.12); }
.ev-feat .f-badge .d { font-family: var(--en); font-weight: 700; font-size: 26px; line-height: 1; color: var(--red); }
.ev-feat .f-badge .m { font-family: var(--en); font-weight: 700; font-size: 11px; letter-spacing: .08em; color: var(--ink-2); }
.ev-feat .f-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.ev-feat .f-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.ev-feat .f-title { font-family: var(--jp); font-weight: 700; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.5; }
.ev-feat .f-info { margin: 16px 0 24px; display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.ev-feat .f-info span { display: flex; gap: 10px; }
.ev-feat .f-info .k { font-family: var(--en); font-weight: 700; font-size: 11px; letter-spacing: .04em; color: var(--brown); flex: none; width: 64px; }

.ev-list { display: grid; gap: 16px; }
.ev-card { display: grid; grid-template-columns: 88px 1fr auto; gap: 22px; align-items: center; background: var(--paper); border: 1.5px solid var(--hair); border-radius: 18px; padding: 20px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ev-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(51,39,31,.09); border-color: var(--peach); }
.ev-card.is-muted { opacity: .55; }
.ev-card .c-date { text-align: center; font-family: var(--en); line-height: 1; }
.ev-card .c-date .d { display: block; font-weight: 700; font-size: 30px; color: var(--ink); }
.ev-card .c-date .m { display: block; font-weight: 700; font-size: 11px; letter-spacing: .06em; color: var(--red); margin-top: 4px; }
.ev-card .c-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 7px; }
.ev-card .c-title { font-family: var(--jp); font-weight: 700; font-size: 17px; line-height: 1.5; }
.ev-card:hover .c-title { color: var(--red); }
.ev-card .c-go { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--hair); display: grid; place-content: center; color: var(--red); transition: background .2s ease, color .2s ease; }
.ev-card:hover .c-go { background: var(--red); color: #fff; border-color: var(--red); }

/* 朱赤フルブリードブロック(箱根のBusiness帯) */
.band { background: var(--red); color: #fff; padding: clamp(64px, 9vw, 110px) 0; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.07); }
.band .wrap { position: relative; z-index: 2; }
.band .slabel .jp { color: #ffd9a8; } .band .slabel .jp::before { background: #ffd9a8; }
.band .slabel .en { color: #fff; }
.band-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.band-num { font-family: var(--en); font-weight: 700; line-height: .9; }
.band-num .n { font-size: clamp(90px, 16vw, 200px); display: block; }
.band-num .u { font-size: 22px; font-weight: 600; }
.band-h { font-family: var(--jp); font-weight: 700; font-size: clamp(22px, 3.4vw, 36px); line-height: 1.55; }
.band-h em { background: rgba(255,255,255,.18); border-radius: 6px; padding: 0 8px; }
.band-p { margin-top: 18px; color: #ffe6dc; font-size: 15px; max-width: 36em; }

/* Reports */
.rep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rep { background: var(--paper); border: 1.5px solid var(--hair); border-radius: 20px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.rep:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(51,39,31,.1); }
.rep .r-photo { aspect-ratio: 16/10; overflow: hidden; }
.rep .r-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.rep:hover .r-photo img { transform: scale(1.05); }
.rep .r-body { padding: 20px 22px 24px; }
.rep .r-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.rep .r-date { font-family: var(--en); font-weight: 600; font-size: 12.5px; color: var(--ink-3); }
.rep .r-title { font-family: var(--jp); font-weight: 700; font-size: 16.5px; line-height: 1.55; }
.rep:hover .r-title { color: var(--red); }

/* Universities */
.uni-sec { background: var(--ivory-2); }
.uni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.uni-card { display: flex; align-items: center; gap: 16px; background: var(--paper); border: 1.5px solid var(--hair); border-radius: 16px; padding: 20px 22px; transition: border-color .2s ease, transform .2s ease; }
.uni-card:hover { transform: translateY(-3px); border-color: var(--tc); }
.uni-card .u-dot { width: 38px; height: 38px; border-radius: 12px; background: var(--tc); flex: none; }
.uni-card .u-name { font-family: var(--jp); font-weight: 700; font-size: 16px; }
.uni-card .u-en { font-family: var(--en); font-weight: 600; font-size: 11px; letter-spacing: .04em; color: var(--ink-3); display: block; }
.uni-card .u-role { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--red); }

/* CTA */
.cta { position: relative; overflow: hidden; }
.cta-card { position: relative; background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(48px, 7vw, 88px) clamp(28px, 5vw, 64px); text-align: center; overflow: hidden; }
.cta-card .ill { position: absolute; animation: bob 7s ease-in-out infinite; }
.cta-card .ci1 { width: 70px; top: 14%; left: 8%; } .cta-card .ci2 { width: 84px; bottom: 10%; right: 9%; } .cta-card .ci3 { width: 56px; top: 22%; right: 16%; }
.cta-card > * { position: relative; z-index: 2; }
.cta-eyebrow { font-family: var(--en); font-weight: 600; font-style: italic; font-size: 15px; color: #ffb38f; margin-bottom: 14px; }
.cta-h { font-family: var(--jp); font-weight: 700; font-size: clamp(28px, 5vw, 52px); line-height: 1.4; }
.cta-h em { color: #ff9b73; }
.cta-p { margin: 18px auto 32px; max-width: 30em; color: #e7ddd2; }

/* ==========================================================
   フッター
   ========================================================== */
.ftr { background: var(--ink); color: #c5b6a6; padding: 60px 0 34px; }
.ftr-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ftr-brand .bm { font-family: var(--en); font-weight: 700; font-size: 24px; color: #fff; }
.ftr-brand p { font-size: 13px; margin-top: 10px; color: #9c8a78; }
.ftr-nav { display: grid; grid-auto-flow: column; gap: 50px; }
.ftr-nav .col span { font-family: var(--en); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #ffb38f; display: block; margin-bottom: 12px; }
.ftr-nav .col a { display: block; font-size: 14px; padding: 5px 0; color: #d7cabb; }
.ftr-nav .col a:hover { color: #fff; }
.ftr-foot { margin-top: 44px; padding-top: 20px; border-top: 1px solid #4a3d31; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-family: var(--en); font-size: 11px; color: #8a7866; }

/* ==========================================================
   出現 / キーフレーム
   ========================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.stagger > .reveal:nth-child(2) { transition-delay: .08s; }
.stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.is-lit .blob, .is-lit .ill, .is-lit .hero-photo { animation-play-state: running; }
.ill, .hero-photo { opacity: 0; }

/* JS無効フォールバック: 出現アニメ前提で隠している要素を、スクリプトが無い時は確実に表示する */
html:not(.js) .reveal,
html:not(.js) .hero-eyebrow,
html:not(.js) .hero-sign,
html:not(.js) .hero-cta,
html:not(.js) .hero-title .ln > span { opacity: 1 !important; transform: none !important; }
html:not(.js) .ill,
html:not(.js) .hero-photo { opacity: 1 !important; }
.is-lit .ill { animation: popIn .6s cubic-bezier(.2,1.4,.5,1) forwards, bob 7s ease-in-out infinite; }
.is-lit .ill.i2 { animation-delay: .12s, .12s; } .is-lit .ill.i3 { animation-delay: .2s, .2s; }
.is-lit .ill.i4 { animation-delay: .28s, .28s; } .is-lit .ill.i5 { animation-delay: .36s, .36s; } .is-lit .ill.i6 { animation-delay: .44s, .44s; }
.is-lit .hero-photo { animation: photoIn .8s cubic-bezier(.2,.8,.3,1) .3s forwards; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes blob { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-12px,-16px) scale(1.05); } }
@keyframes popIn { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }
@keyframes photoIn { from { opacity: 0; transform: translateY(30px) rotate(1.5deg) scale(.94); } to { opacity: 1; transform: translateY(0) rotate(1.5deg) scale(1); } }

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 940px) {
  :root { --gut: 5vw; }
  .hero-stage { min-height: 0; }
  .hero-photo { position: relative; right: auto; top: auto; width: min(360px, 80%); margin: 28px auto 0; transform: rotate(1.5deg); }
  .ill.i3, .ill.i5, .ill.i6 { display: none; }
  .ill.i1 { top: 0; left: 4%; } .ill.i2 { top: -6px; right: 6%; left: auto; } .ill.i4 { top: 30%; left: 78%; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .ev-feat { grid-template-columns: 1fr; }
  .ev-feat .f-photo { min-height: 200px; aspect-ratio: 16/9; }
  .rep-grid { grid-template-columns: 1fr 1fr; }
  .uni-grid { grid-template-columns: 1fr 1fr; }
  .band-grid { grid-template-columns: 1fr; gap: 18px; text-align: left; }
  .ftr-nav { grid-auto-flow: row; gap: 22px; }
}

/* ハンバーガー展開(SP) — 原案ではナビ項目が折返して窮屈になり、参加する理由/FAQ にSPから到達不能だった箇所を修正 */
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--gut) 22px;
    background: var(--ivory-2);
    border-top: 1.5px solid var(--hair); border-bottom: 1.5px solid var(--hair);
    box-shadow: 0 24px 34px -24px rgba(51,39,31,.5);
    display: none;
  }
  body.nav-open .nav { display: flex; }
  .nav > a { font-size: 16px; padding: 16px 4px; border-bottom: 1.5px dashed var(--hair); }
  .nav > a .en { display: inline; margin-left: 10px; font-size: 11px; }
  .nav > a.hide-sp { display: block; }
  .nav .nav-cta { margin-top: 18px; align-self: flex-start; padding: 13px 16px 13px 22px; border-bottom: 0; }
}
@media (max-width: 600px) {
  .hero-title { font-size: clamp(40px, 12vw, 60px); }
  .hero-news-in { flex-wrap: wrap; gap: 12px; }
  .hero-news ul { gap: 18px; }
  .rep-grid { grid-template-columns: 1fr; }
  .uni-grid { grid-template-columns: 1fr; }
  .ev-card { grid-template-columns: 64px 1fr; }
  .ev-card .c-go { display: none; }
}

/* ==========================================================
   モーション抑制
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .hero-eyebrow, .hero-sign, .hero-cta { opacity: 1 !important; transform: none !important; }
  .hero-title .ln > span { transform: none !important; }
  .ill, .hero-photo { opacity: 1 !important; }
}
