/* FUSP オフィシャルサイト */
:root {
  --blue: #1d64a7;      /* FUSP BLUE */
  --blue-d: #154d82;
  --navy: #12355c;
  --yellow: #dbe000;
  --yellow-d: #b8bd00;
  --ink: #1d2733;
  --gray: #f2f5f9;
  --red: #e3344a;
  --en: "Bebas Neue", "Arial Narrow", sans-serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--ja); font-weight: 500; color: #fff; background: var(--blue); line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.small { font-size: .85em; }
.note { font-size: .85rem; opacity: .75; margin: .2rem 0 1.4rem; }

/* ---------- 矢印 ---------- */
.arrow { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); position: relative; transition: transform .2s; }
.arrow::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 9px solid var(--blue); border-top: 6px solid transparent; border-bottom: 6px solid transparent; transform: translateX(2px); }
.arrow.sm { width: 22px; height: 22px; display: inline-block; vertical-align: middle; margin-left: .5em; }
.arrow.sm::after { border-left-width: 6px; border-top-width: 4px; border-bottom-width: 4px; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 16px; padding: 10px 24px; background: rgba(29, 100, 167, .94); backdrop-filter: blur(8px); box-shadow: 0 2px 12px rgba(0, 0, 0, .12); }
.hd-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.hd-nav { margin-left: auto; display: flex; gap: 4px; }
.hd-nav a { text-decoration: none; font-weight: 700; font-size: .9rem; padding: 6px 12px; border-radius: 99px; transition: background .2s, color .2s; }
.hd-nav a:hover, .hd-nav a[aria-current] { background: var(--yellow); color: var(--blue); }
.hd-menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--yellow); position: relative; }
.hd-menu span { position: absolute; left: 12px; right: 12px; height: 3px; border-radius: 2px; background: var(--blue); transition: transform .25s, top .25s; }
.hd-menu span:first-child { top: 16px; } .hd-menu span:last-child { top: 25px; }
.nav-open .hd-menu span:first-child { top: 20.5px; transform: rotate(45deg); }
.nav-open .hd-menu span:last-child { top: 20.5px; transform: rotate(-45deg); }

/* ---------- KV ---------- */
.kv img { width: 100%; height: auto; }

/* ---------- 見出し ---------- */
.sec { padding: 80px 0; }
.sec-white { background: #fff; color: var(--ink); }
.ttl { margin: 0 0 28px; display: flex; flex-direction: column; line-height: 1; }
.ttl .en { font-family: var(--en); font-weight: 400; font-size: clamp(3.2rem, 8vw, 5.4rem); letter-spacing: .02em; color: var(--yellow); }
.ttl .ja { font-weight: 900; font-size: 1.05rem; margin-top: 4px; padding-left: 3px; }
.ttl.dark .en { color: var(--blue); }
.sub-ttl { font-family: var(--en); font-weight: 400; font-size: 2rem; letter-spacing: .04em; margin: 0 0 14px; }

/* ---------- お知らせ ---------- */
.news { padding-top: 40px; }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.news-item { background: #fff; color: var(--ink); border-radius: 14px; overflow: hidden; }
.news-item summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 16px 52px 16px 20px; position: relative; font-weight: 700; }
.news-item summary::-webkit-details-marker { display: none; }
.news-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--gray); color: var(--blue); display: grid; place-items: center; font-size: 1.2rem; line-height: 1; }
.news-item[open] summary::after { content: "−"; }
.news-title { flex: 1 1 300px; }
.news-item time { font-size: .8rem; color: #6b7785; }
.tag { font-size: .72rem; font-weight: 900; color: #fff; background: var(--red); padding: 2px 10px; border-radius: 99px; }
.tag-info { background: var(--blue); }
.news-body { padding: 0 20px 22px; font-size: .92rem; border-top: 1px solid #e6ebf1; padding-top: 16px; margin: 0 20px; padding-inline: 0; }

/* ---------- ABOUT ---------- */
.about { display: grid; justify-items: center; text-align: center; gap: 36px; }
.about .ttl { align-items: center; }
.about .ttl .ja { padding-left: 0; }
.about-copy { font-size: 1.05rem; font-weight: 700; margin: 0; }
.about-info { display: grid; gap: 16px; justify-items: center; }
.recap .sub-ttl { text-align: center; }
.date-badge { font-family: var(--en); display: flex; justify-content: center; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 5.4rem; line-height: 1; color: var(--yellow); }
.date-badge small { font-family: var(--ja); font-size: 1rem; font-weight: 900; color: #fff; margin-left: 4px; }
.date-badge .dot { font-size: 2rem; color: #fff; }
.venue { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--en); font-size: 2rem; letter-spacing: .03em; line-height: 1; }
.venue small { font-family: var(--ja); font-size: .8rem; font-weight: 900; background: #fff; color: var(--blue); padding: 4px 10px; border-radius: 99px; }
.venue-box { display: grid; justify-items: center; gap: 6px; }
.venue-addr { margin: 0; font-size: .9rem; font-weight: 700; line-height: 1.6; opacity: .9; }
.free {background: var(--yellow); color: var(--blue); font-weight: 900; padding: 8px 22px; border-radius: 99px; font-size: 1.1rem; }
.free b { font-size: 1.5rem; }
.recap { margin-top: 64px; }
.yt { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.yt iframe { width: 100%; height: 100%; border: 0; }
.yt-btn { width: 100%; height: 100%; border: 0; background-size: cover; background-position: center; position: relative; }
.yt-btn span { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--yellow); box-shadow: 0 6px 24px rgba(0, 0, 0, .3); transition: transform .2s; }
.yt-btn span::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 24px solid var(--blue); border-top: 15px solid transparent; border-bottom: 15px solid transparent; transform: translateX(4px); }
.yt-btn:hover span { transform: scale(1.08); }

/* ---------- 体験会ボタン ---------- */
.trial-btn { display: flex; align-items: center; gap: 24px; text-decoration: none; color: #fff; background: var(--blue); border-radius: 24px; padding: 12px 32px 12px 12px; overflow: hidden; position: relative; transition: transform .2s, box-shadow .2s; box-shadow: 0 6px 0 var(--navy); }
.trial-btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--navy); }
.trial-btn:hover .arrow { transform: translateX(4px); }
.trial-ill { background: #fff; border-radius: 16px; width: min(320px, 40%); aspect-ratio: 300 / 210; display: grid; place-items: center; padding: 6px; flex: none; }
.trial-ill img { max-height: 100%; }
.trial-txt { flex: 1; display: flex; flex-direction: column; }
.trial-ja { font-weight: 900; font-size: 1.1rem; color: var(--yellow); }
.trial-en { font-family: var(--en); font-size: clamp(3.4rem, 9vw, 6rem); line-height: .95; }
.trial-en small { display: block; font-family: var(--ja); font-weight: 700; font-size: 1rem; }
.trial-btn .arrow { width: 52px; height: 52px; }
.trial-btn .arrow::after { border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }

/* ---------- ジャンルボタン ---------- */
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); grid-auto-rows: 1fr; gap: 18px; }
#trial { padding-bottom: 24px; }
.genre-btn { --c: var(--blue); height: 100%; display: flex; align-items: center; gap: 14px; text-align: left; border: 0; padding: 10px 18px 10px 10px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 0 0 2px #e3e9f0 inset, 0 5px 0 #e3e9f0; transition: transform .2s, box-shadow .2s; }
.genre-btn:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--c) inset, 0 8px 0 var(--c); }
.genre-btn:hover .arrow { transform: translateX(3px); }
.g-ill { flex: none; width: 150px; height: 120px; border-radius: 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 6px; background: color-mix(in srgb, var(--c) 14%, #fff); }
.g-ill img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.g-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.g-en { font-family: var(--en); font-size: 2rem; line-height: 1; color: var(--blue); letter-spacing: .02em; }
.g-ja { font-size: .8rem; font-weight: 900; color: var(--c); margin-top: 4px; }
.genre-btn .arrow { background: var(--c); }
.genre-btn .arrow::after { border-left-color: #fff; }

/* ---------- モーダル ---------- */
.modal { --c: var(--blue); width: min(640px, 100% - 32px); max-height: calc(100% - 48px); border: 0; border-radius: 24px; padding: 0; color: var(--ink); }
.modal::backdrop { background: rgba(10, 30, 60, .6); backdrop-filter: blur(3px); }
.modal-x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--blue); font-size: 1.6rem; line-height: 1; z-index: 1; }
.modal-body { padding: 0 0 28px; }
.m-ill { background: color-mix(in srgb, var(--c) 14%, #fff); display: grid; place-items: center; padding: 24px; }
.m-ill img { height: 220px; width: auto; }
.m-ill.is-photo { padding: 0; background: #000; }
.m-ill.is-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.m-en, .m-ja, .modal-body h4, .m-text, .modal-body .btn { margin-left: 28px; margin-right: 28px; }
.m-en { font-family: var(--en); font-weight: 400; font-size: 2.8rem; line-height: 1; margin-top: 22px; margin-bottom: 0; color: var(--blue); }
.m-ja { font-weight: 900; color: var(--c); margin-top: 2px; }
.modal-body h4 { font-size: 1rem; margin-top: 18px; margin-bottom: 4px; border-left: 5px solid var(--c); padding-left: 10px; }
.m-text { font-size: .95rem; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; border: 0; text-decoration: none; font-weight: 900; color: var(--blue); background: var(--yellow); padding: 12px 22px 12px 28px; border-radius: 99px; box-shadow: 0 4px 0 var(--yellow-d); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--yellow-d); }
.btn .arrow.sm { background: var(--blue); }
.btn .arrow.sm::after { border-left-color: var(--yellow); }
.btn-big { font-size: 1.1rem; padding: 16px 26px 16px 34px; }
.link { font-weight: 700; color: var(--blue); }

/* ---------- イベント ---------- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.ev { --c: var(--blue); display: flex; flex-direction: column; text-decoration: none; background: #fff; color: var(--ink); border-radius: 20px; overflow: hidden; transition: transform .2s; }
.ev:hover { transform: translateY(-4px); }
.ev-logo { background: #111; height: 180px; display: grid; place-items: center; padding: 24px; border-bottom: 6px solid var(--c); }
.ev-logo img { max-height: 132px; width: auto; object-fit: contain; }
.ev-meta { display: flex; gap: 8px; align-items: center; padding: 16px 18px 0; flex-wrap: wrap; }
.ev-date { font-family: var(--en); font-size: 1.4rem; color: var(--blue); line-height: 1; }
.ev-place { font-size: .75rem; font-weight: 900; background: var(--gray); padding: 2px 10px; border-radius: 99px; }
.ev-catch { margin: 8px 18px 0; font-size: .85rem; font-weight: 700; line-height: 1.5; }
.ev-name { margin: 4px 18px 0; font-family: var(--en); font-size: 2rem; line-height: 1.05; }
.ev-more { margin: auto 18px 0; padding: 12px 0 18px; font-weight: 900; color: var(--blue); }
.ev-notice { margin: 0; background: var(--red); color: #fff; font-size: .8rem; font-weight: 900; padding: 8px 14px; text-align: center; }
.ev.is-off .ev-logo { filter: grayscale(1); opacity: .6; }

/* ---------- タイムテーブル ---------- */
.tt-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.tt-tabs button { border: 0; border-radius: 99px; padding: 10px 22px; font-weight: 700; background: var(--gray); color: var(--blue); }
.tt-tabs button b { font-family: var(--en); font-weight: 400; font-size: 1.3rem; margin-right: 4px; }
.tt-tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.tt-hint { display: none; font-size: .8rem; font-weight: 700; color: var(--blue); margin: 0 0 8px; }
.tt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.tt { min-width: 720px; }
.tt-head, .tt-cols { display: grid; grid-template-columns: 56px repeat(4, 1fr); gap: 8px; }
.tt-head > div { text-align: center; line-height: 1.2; padding-bottom: 8px; }
.tt-head b { font-family: var(--en); font-weight: 400; font-size: 1.8rem; color: var(--blue); display: block; }
.tt-head small { font-size: .72rem; font-weight: 700; color: #6b7785; }
.tt-body { position: relative; }
.tt-line { position: absolute; left: 0; right: 0; border-top: 1px solid #c9d6e4; }
.tt-line.half { border-top-style: dashed; border-color: #e1e8f0; }
.tt-line span { position: absolute; left: 0; top: -.7em; font-family: var(--en); font-size: 1.1rem; color: var(--blue); background: #fff; padding-right: 4px; line-height: 1.2; }
.tt-cols { position: absolute; inset: 0; }
.tt-cols::before { content: ""; }
.tt-col { position: relative; }
.tt-item { position: absolute; left: 0; right: 0; background: var(--c); color: #fff; border-radius: 8px; padding: 4px 8px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; line-height: 1.25; overflow: hidden; box-shadow: 0 2px 0 rgba(0, 0, 0, .12); }
.tt-item b { font-family: var(--en); font-weight: 400; font-size: 1.15rem; letter-spacing: .02em; }
.tt-time { font-size: .7rem; font-weight: 700; opacity: .9; }
.tt-sub { font-size: .72rem; font-weight: 700; }
.tt-item.is-short { flex-direction: row; flex-wrap: wrap; gap: 0 6px; }
.tt-item.is-short .tt-time { width: 100%; }
.tt-item.is-off { background: repeating-linear-gradient(135deg, #b9c2cc 0 10px, #aab4bf 10px 20px); }
.tt-off { margin-top: 6px; background: var(--red); font-size: .75rem; font-weight: 900; padding: 1px 10px; border-radius: 99px; }

/* ---------- 開催概要 ---------- */
.ov { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.ov-list { margin: 0; }
.ov-list > div { display: grid; grid-template-columns: 6em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.ov-list dt { font-weight: 900; color: var(--yellow); }
.ov-list dd { margin: 0; font-weight: 700; }
.ov-list.light > div { border-color: #e1e8f0; }
.ov-list.light dt { color: var(--blue); }
.map iframe { width: 100%; height: 340px; border: 0; border-radius: 18px; display: block; }
.map p { font-weight: 700; margin: 8px 0 0; line-height: 1.5; }

/* ---------- お問い合わせ ---------- */
.cf { display: grid; gap: 18px; }
.cf label { display: grid; gap: 6px; font-weight: 900; }
.cf em { color: var(--red); font-style: normal; margin-left: 4px; }
.cf small { font-weight: 500; font-size: .8rem; color: #6b7785; }
.cf input, .cf select, .cf textarea { font: inherit; font-weight: 500; padding: 12px 14px; border: 2px solid #dbe3ec; border-radius: 12px; background: var(--gray); color: var(--ink); }
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.cf .hp { position: absolute; left: -9999px; }
.cf-msg { text-align: center; font-weight: 700; color: var(--blue); min-height: 1.5em; }

/* ---------- 協賛 ---------- */
.sponsors { background: var(--gray); color: var(--blue); padding: 56px 0; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.sp-grid a { background: #fff; border-radius: 12px; overflow: hidden; transition: transform .2s; }
.sp-grid a:hover { transform: translateY(-2px); }

/* ---------- フッター ---------- */
.ft { background: var(--navy); text-align: center; padding: 32px 16px; display: grid; gap: 8px; justify-items: center; }
.ft-ig { font-weight: 700; text-decoration: none; background: rgba(255, 255, 255, .1); padding: 6px 18px; border-radius: 99px; }
.ft small { opacity: .7; }

/* ---------- 体験会ページ ---------- */
.page-hero { padding: 56px 0 40px; }
.page-hero-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.page-hero .lead { font-weight: 700; margin: 0; }
.page-hero-ill { background: #fff; border-radius: 24px; padding: 16px; }
.form-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.ts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.ts-day { background: #fff; color: var(--ink); border-radius: 20px; padding: 22px; }
.ts-day h3 { margin: 0 0 12px; font-size: 1.1rem; color: var(--blue); }
.ts-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ts-day li { --c: var(--blue); display: grid; grid-template-columns: 64px 7.2em 1fr; align-items: center; gap: 12px; padding: 6px; border-radius: 14px; background: color-mix(in srgb, var(--c) 10%, #fff); }
.ts-ill { width: 64px; aspect-ratio: 1; background: #fff; border-radius: 10px; display: grid; place-items: center; padding: 3px; }
.ts-ill img { max-height: 100%; }
.ts-time { font-family: var(--en); font-size: 1.3rem; color: var(--blue); line-height: 1; }
.ts-name { font-weight: 900; font-size: .92rem; color: var(--c); line-height: 1.4; }
.ts + p { margin-top: 18px; }
.ts + p .link { color: var(--yellow); }
.tn { padding: 18px 0; border-bottom: 1px solid #e1e8f0; }
.tn h3 { margin: 0 0 4px; font-size: 1rem; color: var(--blue); }
.tn p { margin: 0 0 4px; }

/* ---------- スマホ ---------- */
@media (max-width: 900px) {
  .hd { padding: 8px 16px; }
  .hd-logo img { height: 34px; }
  .hd-menu { display: block; }
  .hd-nav { position: fixed; inset: 60px 0 auto; flex-direction: column; gap: 0; padding: 12px 16px 24px; background: var(--blue); box-shadow: 0 12px 24px rgba(0, 0, 0, .2); transform: translateY(-130%); visibility: hidden; transition: transform .3s, visibility .3s; z-index: -1; }
  .nav-open .hd-nav { transform: none; visibility: visible; }
  .tt-hint { display: block; }
  .hd-nav a { font-size: 1.05rem; padding: 12px 8px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .ov, .page-hero-in { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .sec { padding: 56px 0; }
  .date-badge { font-size: 4.2rem; }
  .trial-btn { flex-direction: column; align-items: stretch; padding: 10px 10px 18px; gap: 12px; }
  .trial-ill { width: 100%; }
  .trial-txt { padding: 0 10px; }
  .trial-btn .arrow { position: absolute; right: 18px; bottom: 22px; }
  .genre-grid { grid-template-columns: 1fr; gap: 12px; }
  .g-ill { width: 120px; height: 96px; }
  .map iframe { height: 260px; }
  .g-en { font-size: 1.65rem; }
  .m-ill img { height: 170px; }
  .ts-day { padding: 14px; }
  .ts-day li { grid-template-columns: 52px 1fr; gap: 4px 10px; }
  .ts-ill { width: 52px; grid-row: span 2; }
}
