@charset "UTF-8";
/* =============================================================
   九州大学 サイエンスワールド 公式サイト  共通スタイル
   -------------------------------------------------------------
   ★毎年の更新で色を変えたいときは、下の「色」の値だけ変えれば
     サイト全体の色が変わります（2026年はチラシに合わせた
     ワインレッド＋ゴールド）。
   ============================================================= */

:root {
  /* ---- 色 ---- */
  --wine-950: #23040f;
  --wine-900: #36061b;
  --wine-800: #4a0c27;
  --wine-700: #5f1131;
  --wine:     #79163d;   /* メインカラー（チラシの地の色） */
  --berry:    #a3195b;   /* 強調の色 */
  --berry-soft: #f6dce8;
  --gold:     #eec952;   /* アクセント（チラシの「2026」の色） */
  --gold-600: #d4a72f;
  --gold-soft: #fdf3cf;
  --cream:    #fff8f2;   /* ページの地の色 */
  --blush:    #fbeef3;   /* うすいピンク */
  --paper:    #ffffff;
  --ink:      #2b1320;   /* 文字の色 */
  --ink-2:    #6b5160;   /* 補足の文字の色 */
  --line:     rgba(121, 22, 61, .14);

  /* ---- 文字 ----
     本文：端末に入っている文字（iPhone・Macでは丸ゴシック）。読み込みが要らないので軽い
     見出し・ボタン・メニュー：丸ゴシックのWebフォント（太さ800だけ読み込み）
     ロゴ・数字・英語の見出し：Dela Gothic One（HTMLの<head>で英数字だけ読み込み） */
  --font-body: "Hiragino Maru Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
  --font-round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
  --font-display: "Dela Gothic One", "M PLUS Rounded 1c", "Hiragino Sans", sans-serif;

  /* ---- かたち ---- */
  --container: 1120px;
  --gutter: 20px;
  --header-h: 68px;
  --r-xl: 32px;
  --r-l: 24px;
  --r-m: 16px;
  --r-s: 10px;
  --shadow-s: 0 1px 2px rgba(54, 6, 27, .06), 0 4px 14px rgba(54, 6, 27, .07);
  --shadow-m: 0 2px 6px rgba(54, 6, 27, .06), 0 16px 38px rgba(54, 6, 27, .12);
  --shadow-l: 0 26px 60px rgba(35, 4, 15, .32);
}

/* =============================================================
   土台
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--berry); text-underline-offset: .22em; }
a:hover { color: var(--wine); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--wine-900); }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 3000;
  padding: 10px 18px; border-radius: 999px;
  background: var(--gold); color: var(--wine-900); font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sp-only { display: none; }
@media (max-width: 767px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }
}
.icon { width: 1.25em; height: 1.25em; flex: none; }
/* 丸ゴシック（Webフォント）を使う場所 */
.hero__eyebrow, .hero__name, .hero__lead, .section-head__title, .page-hero__title, .feature__title, .ex-mini__title,
.ex-card__title, .info-card__main, .festa__title, .h2-icon, .venue__name, .btn, .site-nav__list a, .hero-badges li { font-family: var(--font-round); font-weight: 800; }
.marker { background: linear-gradient(transparent 64%, rgba(238, 201, 82, .6) 64%); padding: 0 .1em; }

/* =============================================================
   ボタン
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: .8em 1.7em;
  border: 0; border-radius: 999px;
  font-size: 1rem; font-weight: 800; line-height: 1.3; letter-spacing: .05em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--wine-900); box-shadow: 0 5px 0 var(--gold-600), 0 14px 26px rgba(35, 4, 15, .22); }
.btn--gold:hover { color: var(--wine-900); transform: translateY(-2px); box-shadow: 0 7px 0 var(--gold-600), 0 18px 30px rgba(35, 4, 15, .26); }
.btn--gold:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--gold-600), 0 6px 12px rgba(35, 4, 15, .2); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: #fff; color: var(--wine-900); }
.btn--wine { background: var(--wine); color: #fff; box-shadow: 0 5px 0 var(--wine-900), 0 14px 26px rgba(54, 6, 27, .2); }
.btn--wine:hover { background: var(--berry); color: #fff; transform: translateY(-2px); }
.btn--wine:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--wine-900); }
.btn--line { background: var(--paper); color: var(--wine); box-shadow: inset 0 0 0 2px var(--wine); }
.btn--line:hover { background: var(--wine); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* =============================================================
   ヘッダー（上のメニュー）
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(74, 12, 39, .97);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 28px rgba(35, 4, 15, .28); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-logo { flex: none; display: block; }
.site-logo img { height: 50px; width: auto; }
.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__list a {
  position: relative; display: block; padding: 10px 16px; border-radius: 999px;
  color: #fff; font-size: .95rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.site-nav__list a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.site-nav__list a[aria-current="page"] { color: var(--gold); }
.site-nav__list a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--gold);
}
.site-nav__list .is-cta a { margin-left: 8px; background: var(--gold); color: var(--wine-900); }
.site-nav__list .is-cta a:hover { background: #fff; color: var(--wine-900); }
.site-nav__list .is-cta a[aria-current="page"]::after { display: none; }
.nav-toggle { display: none; }

@media (max-width: 1023px) {
  :root { --header-h: 62px; }
  .site-logo img { height: 46px; }
  .nav-toggle {
    position: relative; z-index: 1102;
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 48px; height: 48px; margin-right: -8px; padding: 0 12px;
    border: 0; border-radius: 12px; background: transparent; cursor: pointer;
  }
  .nav-toggle__bar { display: block; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .3s ease, opacity .2s ease; }
  .menu-open .nav-toggle__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .menu-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .site-nav {
    position: fixed; top: 0; right: 0; z-index: 1101;
    width: min(86vw, 360px); height: 100vh; height: 100dvh; overflow-y: auto;
    padding: calc(var(--header-h) + 18px) 22px 32px;
    background: linear-gradient(170deg, var(--wine) 0%, var(--wine-900) 100%);
    box-shadow: -20px 0 60px rgba(35, 4, 15, .4);
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s;
  }
  .menu-open .site-nav { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 8px; }
  .site-nav__list a { padding: 16px 20px; border-radius: var(--r-m); background: rgba(255, 255, 255, .07); font-size: 1.05rem; }
  .site-nav__list a[aria-current="page"]::after { left: auto; right: 20px; top: 50%; bottom: auto; margin: -3px 0 0; }
  .site-nav__list .is-cta a { margin: 6px 0 0; text-align: center; }
  .menu-open { overflow: hidden; }
  .menu-open::before { content: ""; position: fixed; inset: 0; z-index: 999; background: rgba(35, 4, 15, .5); }
}

/* =============================================================
   トップの大きな見出し（ヒーロー）
   ============================================================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding: clamp(40px, 6vw, 84px) 0 clamp(110px, 12vw, 170px);
  background:
    radial-gradient(900px 560px at 86% 6%, rgba(232, 50, 127, .5) 0%, rgba(232, 50, 127, 0) 62%),
    radial-gradient(760px 620px at -4% 104%, rgba(35, 4, 15, .75) 0%, rgba(35, 4, 15, 0) 70%),
    linear-gradient(160deg, var(--wine) 0%, var(--wine-800) 58%, var(--wine-900) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .15) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .45) 65%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .45) 65%, transparent 100%);
}
.orbits { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.orbits .ring { fill: none; stroke: #fff; stroke-opacity: .17; stroke-width: 1.4; }
.orbits .ring--dash { stroke-dasharray: 2 12; stroke-opacity: .28; }
.orbits .planet { transform-box: view-box; animation: spin 80s linear infinite; }
.orbits .planet--b { animation-duration: 55s; animation-direction: reverse; }
.orbits .planet--c { animation-duration: 110s; }
.sparkle { position: absolute; z-index: -1; color: var(--gold); pointer-events: none; animation: twinkle 3.2s ease-in-out infinite; }
.sparkle--1 { width: 26px; left: 6%; top: 16%; }
.sparkle--2 { width: 16px; left: 44%; top: 9%; animation-delay: .8s; color: #fff; }
.sparkle--3 { width: 22px; right: 5%; top: 58%; animation-delay: 1.6s; }
.sparkle--4 { width: 14px; left: 53%; bottom: 12%; animation-delay: 2.2s; color: #ffd1e6; }

.hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .45em 1.1em; border-radius: 999px;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  font-size: .85rem; font-weight: 700; letter-spacing: .06em;
}
.hero__eyebrow .icon { width: 1.05em; height: 1.05em; color: var(--gold); }
.hero__title { margin-top: 22px; font-weight: 800; }

/* ロゴ文字（チラシのロゴに合わせた、白いふち＋影つきの文字） */
.sw-logo {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  font-size: clamp(2.9rem, 7.2vw, 5rem); line-height: .98;
  transform: rotate(-4deg); transform-origin: left bottom;
  padding: .05em .2em .1em .05em;
}
.sw {
  position: relative; display: inline-block; isolation: isolate;
  font-family: var(--font-display); font-weight: 400; letter-spacing: .015em; color: transparent;
}
.sw::before, .sw::after { content: attr(data-text); position: absolute; left: 0; top: 0; }
.sw::before { z-index: -1; color: #fff; -webkit-text-stroke: .16em #fff; filter: drop-shadow(.055em .075em 0 var(--wine-950)); }
.sw::after {
  z-index: 1;
  background: linear-gradient(180deg, #ffa6d0 0%, #ef3f8c 40%, #b3195f 74%, #86113f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sw--year { align-self: flex-end; margin-top: .06em; font-size: .64em; letter-spacing: .03em; }
.sw--year::after { background: linear-gradient(180deg, #fff7cf 0%, #f8dc72 38%, #eec952 60%, #c8932a 100%); -webkit-background-clip: text; background-clip: text; }
.hero__name { display: block; margin-top: 18px; font-size: clamp(1.05rem, 2.1vw, 1.3rem); letter-spacing: .14em; }
.hero__lead { margin-top: 16px; font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 800; line-height: 1.75; }
.hero__lead em { font-style: normal; color: var(--gold); }
.hero__sub { margin-top: 6px; font-size: .95rem; opacity: .9; }

.hero-info {
  margin-top: 26px; border-radius: var(--r-l); overflow: hidden;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.hero-info__row { display: grid; grid-template-columns: 5.6em 1fr; align-items: center; gap: 12px; padding: 16px 22px; }
.hero-info__row + .hero-info__row { border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-info dt { display: inline-flex; align-items: center; gap: .45em; font-weight: 800; font-size: .92rem; color: #ffd6e8; }
.hero-info dt .icon { width: 1.3em; height: 1.3em; color: var(--gold); }
.hero-info dd { font-weight: 700; line-height: 1.6; }
.hero-date { display: flex; flex-wrap: wrap; align-items: center; gap: .15em .3em; }
.hero-date b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.1; color: var(--gold); letter-spacing: .02em; }
.hero-date i {
  display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; margin-right: .1em;
  border-radius: 50%; background: #fff; color: var(--wine); font-style: normal; font-size: .82rem; font-weight: 800;
}
.hero-date .dot { font-size: 1.4rem; opacity: .7; margin: 0 .05em; }
.hero-time { display: block; margin-top: 2px; font-size: 1rem; }
.hero-time b { font-family: var(--font-display); font-weight: 400; font-size: 1.25em; color: #fff; }

.hero__actions { margin-top: 26px; }
.countdown { display: inline-flex; align-items: baseline; gap: .45em; margin-top: 20px; font-weight: 800; color: #ffe8a3; }
.countdown b { font-family: var(--font-display); font-weight: 400; font-size: 2em; line-height: 1; color: var(--gold); }
.countdown[hidden] { display: none; }

.hero__visual { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1.02; margin-left: auto; }
.polaroid {
  position: absolute; margin: 0; padding: 8px;
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-l);
  transform: rotate(var(--r, 0deg));
  animation: float 7s ease-in-out infinite;
}
.polaroid img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; }
.polaroid--a { --r: -6deg; left: 0; top: 2%; width: 50%; aspect-ratio: 4 / 5; }
.polaroid--b { --r: 5deg; right: 0; top: 16%; width: 56%; aspect-ratio: 4 / 3; animation-delay: -2.4s; }
.polaroid--c { --r: -2deg; left: 20%; bottom: 0; width: 46%; aspect-ratio: 1 / 1; animation-delay: -4.6s; }
.hero-badges { position: absolute; right: 2%; bottom: 4%; display: flex; gap: 10px; z-index: 2; }
.hero-badges li {
  display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #d33a7c 0%, var(--berry) 45%, var(--wine-700) 100%);
  box-shadow: 0 0 0 3px #fff, 0 14px 30px rgba(35, 4, 15, .4);
  font-size: 1.05rem; font-weight: 800; line-height: 1.25; text-align: center; letter-spacing: .08em;
}
.hero-badges li:nth-child(2) { transform: translateY(-18px); }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: clamp(46px, 7vw, 96px); }
.wave path { fill: var(--cream); }
.wave--blush path { fill: var(--blush); }

@media (max-width: 1023px) {
  .orbits .planet, .sparkle--3, .sparkle--4 { display: none; }
  .polaroid { animation: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin: 18px auto 0; aspect-ratio: 1 / .8; }
  .polaroid--a { width: 44%; }
  .polaroid--b { width: 54%; top: 6%; }
  .polaroid--c { width: 40%; left: 24%; }
}
@media (max-width: 767px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero-info__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .hero-badges { right: 0; bottom: 0; }
  .hero-badges li { width: 76px; height: 76px; font-size: .9rem; }
  .hero-badges li:nth-child(2) { transform: translateY(-12px); }
}

/* =============================================================
   下層ページの見出し
   ============================================================= */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center;
  padding: clamp(40px, 6vw, 72px) 0 clamp(96px, 11vw, 140px);
  background:
    radial-gradient(700px 420px at 85% 0%, rgba(232, 50, 127, .45) 0%, rgba(232, 50, 127, 0) 62%),
    linear-gradient(160deg, var(--wine) 0%, var(--wine-800) 60%, var(--wine-900) 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: .4em; font-size: .82rem; opacity: .85; }
.breadcrumb li + li::before { content: "›"; margin-right: .4em; opacity: .7; }
.breadcrumb a { color: #fff; }
.page-hero__en { display: block; margin-top: 22px; font-family: var(--font-display); font-size: .95rem; letter-spacing: .26em; color: var(--gold); }
.page-hero__title { margin-top: 6px; font-size: clamp(1.9rem, 5vw, 2.9rem); font-weight: 800; letter-spacing: .08em; line-height: 1.35; }
.page-hero__lead { max-width: 720px; margin: 16px auto 0; line-height: 1.9; opacity: .94; }

/* =============================================================
   セクション共通
   ============================================================= */
.section { position: relative; padding: clamp(64px, 9vw, 116px) 0; }
.section--tight-top { padding-top: clamp(28px, 4vw, 48px); }
.section--blush { background: var(--blush); }
.section-head { margin-bottom: clamp(30px, 5vw, 54px); text-align: center; }
.section-head__en {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-display); font-size: .88rem; letter-spacing: .22em; color: var(--berry);
}
.section-head__en::before, .section-head__en::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: .45; }
.section-head__title, .page-hero__title, .page-hero__lead, .hero__lead, .festa__title, .feature__title, .h2-icon, .people__name { word-break: keep-all; overflow-wrap: anywhere; }
.section-head__title { margin-top: 10px; font-size: clamp(1.45rem, 3.5vw, 2.2rem); font-weight: 800; line-height: 1.5; letter-spacing: .04em; color: var(--wine-900); }
.section-head__lead { max-width: 740px; margin: 18px auto 0; color: var(--ink-2); line-height: 1.95; }
.section-foot { margin-top: clamp(30px, 4vw, 46px); }

/* 見出し（ページ内） */
.h2-icon { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: clamp(1.25rem, 2.8vw, 1.6rem); font-weight: 800; line-height: 1.45; color: var(--wine-900); }
.h2-icon .icon { width: 46px; height: 46px; padding: 11px; border-radius: 15px; background: var(--wine); color: #fff; }

/* =============================================================
   トップ：見どころカード
   ============================================================= */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 32px); }
.feature { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--shadow-m); }
.feature__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blush); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature:hover .feature__img img { transform: scale(1.05); }
.feature__body { position: relative; padding: 38px 26px 28px; }
.feature__icon {
  position: absolute; top: -30px; left: 24px;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 19px;
  background: var(--berry); color: #fff; box-shadow: 0 0 0 4px #fff, 0 10px 20px rgba(163, 25, 91, .32);
}
.feature:nth-child(2) .feature__icon { background: var(--gold); color: var(--wine-900); box-shadow: 0 0 0 4px #fff, 0 10px 20px rgba(212, 167, 47, .35); }
.feature:nth-child(3) .feature__icon { background: var(--wine); }
.feature__icon .icon { width: 30px; height: 30px; }
.feature__title { font-size: 1.2rem; font-weight: 800; line-height: 1.5; color: var(--wine); }
.feature__text { margin-top: 10px; font-size: .97rem; color: var(--ink-2); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* =============================================================
   トップ：出展ミニ一覧
   ============================================================= */
.ex-mini { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ex-mini a {
  display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 18px 16px 16px;
  border-radius: var(--r-m); background: var(--paper); box-shadow: var(--shadow-s);
  border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ex-mini a:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: rgba(163, 25, 91, .4); color: var(--ink); }
.ex-mini__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--berry-soft); color: var(--berry); }
.ex-mini li:nth-child(3n+2) .ex-mini__icon { background: var(--gold-soft); color: #946800; }
.ex-mini li:nth-child(3n) .ex-mini__icon { background: #f3e1e7; color: var(--wine); }
.ex-mini__icon .icon { width: 25px; height: 25px; }
.ex-mini__title, .ex-mini__org, .ex-card__title, .ex-card__org, .info-card__main { word-break: keep-all; overflow-wrap: anywhere; }
.ex-mini__title { font-size: .98rem; font-weight: 800; line-height: 1.5; color: var(--wine-900); }
.ex-mini__org { margin-top: auto; font-size: .78rem; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 1023px) { .ex-mini { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ex-mini { grid-template-columns: repeat(2, 1fr); gap: 10px; } .ex-mini a { padding: 16px 14px 14px; } }

/* =============================================================
   トップ：来場のご案内
   ============================================================= */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { padding: 28px 26px; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--shadow-s); border: 1px solid var(--line); }
.info-card__head { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; font-weight: 800; color: var(--wine); }
.info-card__head .icon { width: 42px; height: 42px; padding: 10px; border-radius: 13px; background: var(--wine); color: #fff; }
.info-card__main { margin-top: 16px; font-size: 1.12rem; font-weight: 800; line-height: 1.65; }
.info-card__sub { margin-top: 6px; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 22px; padding: 18px 22px; border-radius: var(--r-m);
  background: #fff6d8; box-shadow: inset 0 0 0 1px #f0d68a; color: #5a4200; line-height: 1.8;
}
.notice .icon { width: 24px; height: 24px; margin-top: .15em; color: #c28a00; }
.notice--berry { background: var(--berry-soft); box-shadow: inset 0 0 0 1px rgba(163, 25, 91, .28); color: var(--wine-900); }
.notice--berry .icon { color: var(--berry); }

/* =============================================================
   トップ：九大祭のお知らせ
   ============================================================= */
.festa {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: clamp(28px, 5vw, 48px); border-radius: var(--r-xl); color: #fff;
  background: linear-gradient(120deg, var(--wine-800) 0%, var(--wine) 45%, var(--berry) 100%);
  box-shadow: var(--shadow-m);
}
.festa::before, .festa::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .2); }
.festa::before { width: 320px; height: 320px; right: -90px; top: -150px; }
.festa::after { width: 180px; height: 180px; right: 90px; bottom: -120px; border-style: dashed; }
.festa__en { font-family: var(--font-display); font-size: .88rem; letter-spacing: .18em; color: var(--gold); }
.festa__title { margin-top: 6px; font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 800; line-height: 1.45; }
.festa__text { margin-top: 8px; opacity: .93; }
@media (max-width: 767px) { .festa { grid-template-columns: 1fr; } .festa .btn { width: 100%; } }

/* =============================================================
   出展一覧ページ
   ============================================================= */
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.ex-card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 24px 22px; border-radius: var(--r-l); background: var(--paper);
  box-shadow: var(--shadow-m); border-top: 6px solid var(--berry);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.ex-card:nth-child(3n+2) { border-top-color: var(--gold); }
.ex-card:nth-child(3n) { border-top-color: var(--wine); }
.ex-card:target { box-shadow: 0 0 0 3px var(--gold), var(--shadow-m); }
.ex-card__head { display: flex; align-items: center; gap: 14px; }
.ex-card__icon { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--berry-soft); color: var(--berry); }
.ex-card:nth-child(3n+2) .ex-card__icon { background: var(--gold-soft); color: #946800; }
.ex-card:nth-child(3n) .ex-card__icon { background: #f3e1e7; color: var(--wine); }
.ex-card__icon .icon { width: 30px; height: 30px; }
.ex-card__no { margin-left: auto; font-family: var(--font-display); font-size: 2.1rem; line-height: 1; color: rgba(121, 22, 61, .13); }
.ex-card__org {
  align-self: flex-start; margin-top: 18px; padding: .3em .9em; border-radius: 999px;
  background: var(--cream); box-shadow: inset 0 0 0 1px var(--line);
  font-size: .8rem; font-weight: 700; line-height: 1.5; color: var(--ink-2);
}
.ex-card__title { margin-top: 10px; font-size: 1.22rem; font-weight: 800; line-height: 1.5; color: var(--wine-900); }
.ex-card__sub { display: block; margin-top: 4px; font-size: .82rem; line-height: 1.6; color: var(--berry); word-break: keep-all; overflow-wrap: anywhere; }
.ex-card__text { margin-top: 10px; font-size: .96rem; color: var(--ink-2); }
.acc { margin-top: auto; padding-top: 18px; }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px; border-radius: var(--r-s); background: var(--cream);
  font-size: .92rem; font-weight: 800; color: var(--wine); cursor: pointer; list-style: none;
  transition: background-color .2s ease;
}
.acc summary:hover { background: var(--blush); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; width: 9px; height: 9px; margin-right: 4px;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .25s ease;
}
.acc[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.acc ul { display: grid; gap: 8px; margin-top: 14px; padding: 0 4px; }
.acc li { position: relative; padding-left: 1.3em; font-size: .93rem; line-height: 1.7; }
.acc li::before { content: ""; position: absolute; left: .2em; top: .62em; width: .5em; height: .5em; border-radius: 50%; background: var(--gold); }
@media (max-width: 1023px) { .ex-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ex-grid { grid-template-columns: 1fr; } }

/* =============================================================
   サイエンスワールドとは ページ
   ============================================================= */
.prose { max-width: 780px; margin-inline: auto; font-size: 1.02rem; line-height: 2; }
.prose p + p { margin-top: 1.2em; }
.photo-frame { margin-top: 40px; padding: 10px; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--shadow-m); }
.photo-frame img { width: 100%; border-radius: calc(var(--r-l) - 8px); }
.photo-frame figcaption { padding: 10px 8px 2px; font-size: .85rem; color: var(--ink-2); text-align: center; }
.def-list {
  display: grid; grid-template-columns: max-content 1fr; gap: 16px 24px; align-items: start;
  max-width: 780px; margin: 0 auto; padding: 30px 32px; border-radius: var(--r-l);
  background: var(--paper); box-shadow: var(--shadow-s); border: 1px solid var(--line);
}
.def-list dt {
  display: inline-flex; align-items: center; justify-content: center; min-width: 5.2em; height: 2.2em; padding: 0 1em;
  border-radius: 999px; background: var(--wine); color: #fff; font-size: .88rem; font-weight: 800;
}
.def-list dt { justify-self: start; }
.def-list dd { padding-top: .12em; font-weight: 500; line-height: 1.9; }
.people { display: grid; gap: 14px; max-width: 780px; margin: 0 auto; }
.people li { display: flex; flex-wrap: wrap; gap: .3em 1em; align-items: baseline; padding: 20px 24px; border-radius: var(--r-m); background: var(--paper); box-shadow: var(--shadow-s); }
.people__role { font-size: .85rem; font-weight: 800; color: var(--berry); }
.people__name { font-weight: 700; }
.archive { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; max-width: 920px; margin: 0 auto; }
.archive a {
  display: flex; align-items: baseline; justify-content: center; gap: .2em;
  padding: 12px 8px; border-radius: var(--r-m); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--wine); font-family: var(--font-display); font-size: 1.15rem; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.archive a small { font-family: var(--font-body); font-size: .72rem; font-weight: 700; }
.archive a:hover { background: var(--wine); color: #fff; transform: translateY(-2px); }
@media (max-width: 560px) {
  .def-list { grid-template-columns: 1fr; gap: 8px; padding: 24px 22px; }
  .def-list dd { margin-bottom: 10px; }
}

/* =============================================================
   アクセスページ
   ============================================================= */
.venue {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 40px); align-items: center;
  padding: clamp(22px, 4vw, 40px); border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--shadow-m);
}
.venue__label { display: inline-flex; align-items: center; gap: .4em; font-size: .9rem; font-weight: 800; color: var(--berry); }
.venue__label .icon { width: 1.3em; height: 1.3em; }
.venue__name { margin-top: 8px; font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 800; line-height: 1.5; color: var(--wine-900); }
.venue__name small { font-size: .7em; font-weight: 700; color: var(--ink-2); }
.venue__addr { margin-top: 8px; color: var(--ink-2); }
.venue .btn-row { margin-top: 22px; }
.venue .notice { margin-top: 20px; }
.venue__map { padding: 8px; border-radius: var(--r-l); background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.venue__map img { width: 100%; border-radius: calc(var(--r-l) - 8px); }
.venue__map figcaption { padding: 8px 6px 2px; font-size: .82rem; color: var(--ink-2); text-align: center; }
.route-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 24px; }
.route { padding: 24px 26px; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--shadow-s); border: 1px solid var(--line); }
.route__from { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 800; color: var(--wine); }
.route__from .icon { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--berry-soft); color: var(--berry); }
.route__steps { margin-top: 16px; }
.route__steps li { position: relative; padding: 0 0 16px 32px; line-height: 1.7; }
.route__steps li::before { content: ""; position: absolute; left: 6px; top: .5em; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3.5px var(--berry); }
.route__steps li::after { content: ""; position: absolute; left: 12px; top: 1.5em; bottom: -.3em; width: 2px; background: rgba(163, 25, 91, .25); }
.route__steps li:last-child { padding-bottom: 0; }
.route__steps li:last-child::after { display: none; }
.route__steps li:last-child::before { background: var(--berry); }
.route__steps b { color: var(--wine-900); }
.figure { margin-top: 26px; padding: 10px; border-radius: var(--r-l); background: var(--paper); box-shadow: var(--shadow-s); }
.figure img { width: 100%; border-radius: calc(var(--r-l) - 8px); }
.figure figcaption { padding: 10px 8px 2px; font-size: .85rem; color: var(--ink-2); text-align: center; }
.text-block { line-height: 1.95; }
.text-block + .text-block { margin-top: 1em; }
.access-block + .access-block, .venue + .access-block { margin-top: clamp(48px, 7vw, 80px); }
.access-block .figure { max-width: 820px; margin-inline: auto; }
@media (max-width: 900px) { .venue { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .route-grid { grid-template-columns: 1fr; } }

/* =============================================================
   フッター（partials/footer.html）
   ============================================================= */
.site-footer { position: relative; margin-top: clamp(40px, 6vw, 70px); padding: 64px 0 26px; background: var(--wine-900); color: rgba(255, 255, 255, .86); }
.site-footer__wave { position: absolute; left: 0; right: 0; top: 1px; height: clamp(34px, 5vw, 60px); transform: translateY(-100%); }
.site-footer__wave svg { width: 100%; height: 100%; }
.site-footer__wave path { fill: var(--wine-900); }
.site-footer__inner { display: grid; grid-template-columns: 1.3fr .8fr 1.25fr; gap: 40px; }
.site-footer__logo { height: 44px; width: auto; }
.site-footer__name { margin-top: 16px; font-weight: 800; color: #fff; line-height: 1.6; }
.site-footer__address { margin-top: 6px; font-size: .9rem; line-height: 1.8; }
.site-footer__contact { margin-top: 10px; display: grid; gap: 2px; font-size: .9rem; }
.site-footer__contact a { color: var(--gold); }
.site-footer__heading { margin-bottom: 12px; font-family: var(--font-display); font-size: .82rem; letter-spacing: .2em; color: var(--gold); }
.site-footer__nav ul { display: grid; gap: 8px; }
.site-footer__nav a { color: #fff; font-weight: 700; text-decoration: none; }
.site-footer__nav a:hover { color: var(--gold); }
.site-footer__sponsors { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .88rem; line-height: 1.75; }
.site-footer__sponsors dt { font-weight: 800; color: #ffd6e8; }
.site-footer__copy { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); text-align: center; font-size: .75rem; color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .site-footer__inner { grid-template-columns: 1fr; gap: 32px; } }

/* =============================================================
   動き（スクロールで表示・きらめき・星の回転）
   ============================================================= */
.reveal-on .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }
.reveal-on .reveal-d1 { transition-delay: .08s; }
.reveal-on .reveal-d2 { transition-delay: .16s; }
.reveal-on .reveal-d3 { transition-delay: .24s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.75) rotate(0deg); } 50% { opacity: 1; transform: scale(1.1) rotate(25deg); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-9px) rotate(var(--r, 0deg)); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal-on .reveal { opacity: 1; transform: none; }
}
