/* ============================================================
   職業体験博覧会2027 — static build
   Design tokens
   navy #16324f / orange #e8562a / amber #f5a300 / teal #00a8b7
   cream #fffdf7 / booth bg #fff6dd / access bg #eef4f9
   heading font: Zen Maru Gothic 900 / body: Noto Sans JP
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  background: #fffdf7;
  color: #16324f;
  letter-spacing: .05em;
  -webkit-font-smoothing: antialiased;
}
/* HTML の width/height 属性はレイアウトのガタつき防止（CLS対策）で入れている。
   CSS側で高さを指定していない画像は、その height 属性がそのまま高さになり
   縦横比が壊れるため、既定を height:auto にしておく。
   高さを固定したい画像（.kv-bg / .booth-img img）は各ルールで上書きする */
img { display: block; max-width: 100%; height: auto; }
a { color: #0b63b8; text-decoration: none; }
a:hover { color: #f5a300; }
h1, h2, h3 { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; }
ul { margin: 0; padding: 0 0 0 20px; }

/* ---------- animations ---------- */
@keyframes popOut {
  0%   { opacity: 0; transform: translateY(46px) scale(.3) rotate(-6deg); }
  55%  { opacity: 1; transform: translateY(-14px) scale(1.12) rotate(2deg); }
  75%  { transform: translateY(4px) scale(.96) rotate(-1deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-11px) rotate(.6deg); }
}
@keyframes puff {
  0%   { opacity: 0; transform: translate(-50%, 0) scale(.2); }
  25%  { opacity: .85; }
  100% { opacity: 0; transform: translate(-50%, -120px) scale(2.6); }
}
@keyframes lidPop {
  0%   { opacity: 0; transform: translate(-50%, 0) scale(.4) rotate(0deg); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -180px) scale(1.1) rotate(220deg); }
}
@keyframes popIn {
  0%   { opacity: 0; transform: translateY(34px) scale(.72) rotate(-4deg); }
  60%  { opacity: 1; transform: translateY(-8px) scale(1.06) rotate(1.5deg); }
  80%  { transform: translateY(2px) scale(.98) rotate(-.5deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes wobbleIn {
  0%   { opacity: 0; transform: scale(.5) rotate(-10deg); }
  55%  { opacity: 1; transform: scale(1.14) rotate(4deg); }
  75%  { transform: scale(.95) rotate(-2deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-14px) rotate(3deg); }
}
@keyframes menuDrop {
  0%   { opacity: 0; transform: translateY(-16px) scaleY(.8); }
  60%  { opacity: 1; transform: translateY(5px) scaleY(1.04); }
  100% { opacity: 1; transform: none; }
}
@keyframes itemPop {
  0%   { opacity: 0; transform: translateX(-22px) scale(.78) rotate(-3deg); }
  60%  { opacity: 1; transform: translateX(4px) scale(1.05) rotate(1.2deg); }
  100% { opacity: 1; transform: none; }
}

/* hero: pop out, then keep floating */
[data-pop] {
  animation:
    popOut .9s cubic-bezier(.22,1.4,.36,1) var(--pd, 0s) both,
    floatSoft var(--fdur, 5s) ease-in-out var(--fd, 1s) infinite;
}
/* scroll reveal (JS adds data-shown) */
[data-reveal] { opacity: 0; }
[data-reveal][data-shown] { animation: popIn .72s cubic-bezier(.22,1.45,.36,1) var(--rd, 0s) both; }
[data-reveal="wobble"][data-shown] { animation: wobbleIn .7s cubic-bezier(.22,1.45,.36,1) var(--rd, 0s) both; }
/* toy hover */
[data-toy] { transition: transform .28s cubic-bezier(.22,1.5,.36,1), box-shadow .28s ease; }
[data-toy]:hover { transform: translateY(-8px) rotate(-1.5deg) scale(1.02); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; animation: none !important; }
  [data-pop] { animation: none !important; opacity: 1 !important; transform: none !important; }
  .puff { display: none !important; }
  [data-toy] { transition: none !important; }
}

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,253,247,.94);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid #16324f;
}
.hdr-bar {
  max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900;
  font-size: 22px; letter-spacing: .1em; line-height: 1.2; color: #16324f;
}
.logo:hover { color: #16324f; }
.logo-year { color: #e8562a; font-size: 27px; }
.nav-pc {
  display: flex; align-items: center; gap: 4px;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 15px;
}
.nav-pc a { padding: 10px 16px; border-radius: 999px; color: #16324f; }
.nav-pc a:hover { background: #ffeec2; color: #16324f; }
.nav-cta {
  margin-left: 8px; padding: 11px 22px !important;
  background: #e8562a; color: #fff !important; box-shadow: 0 4px 0 #b93c17;
}
.nav-cta:hover { background: #f5a300; color: #16324f !important; }
.nav-sp { display: none; align-items: center; gap: 10px; }
.free-mark {
  padding: 0 14px; height: 40px; display: inline-flex; align-items: center;
  border-radius: 999px; background: #e8562a; color: #fff;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 13px;
  letter-spacing: .04em; white-space: nowrap;
}
.burger {
  width: 40px; height: 40px; flex: none; padding: 0; cursor: pointer;
  border: 2px solid #16324f; border-radius: 12px; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.burger span { width: 20px; height: 3px; border-radius: 2px; background: #16324f; display: block; transition: transform .2s ease, opacity .15s ease, background .2s ease; }
.burger[aria-expanded="true"] span { background: #e8562a; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

.spmenu {
  border-top: 3px dashed #ffd76a; background: #fffdf7;
  padding: 14px 14px 20px; display: grid; gap: 8px;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 18px;
  transform-origin: top center;
  animation: menuDrop .42s cubic-bezier(.22,1.5,.36,1) both;
}
.spmenu[hidden] { display: none; }
.spmenu a {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: 18px; color: #16324f;
  background: var(--bg); box-shadow: 0 4px 0 var(--sh);
  animation: itemPop .46s cubic-bezier(.22,1.5,.36,1) var(--d) both;
}
.spmenu a:active { transform: scale(.96); }
.spmenu i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); flex: none; }

/* ---------- hero ---------- */
/* ヘッダーは半透明の固定表示なので、KVを最上部まで回り込ませる。
   ヘッダー高さ分は .kv の padding で確保し、内容が隠れないようにする */
.hero-wrap { padding-top: 0; background: #fffdf7; position: relative; overflow: hidden; }
.kv {
  position: relative; width: 100%; min-height: 82vh; padding-top: 76px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.kv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.kv-veil { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,0) 60%, rgba(255,253,247,.75) 100%); }
.puff { position: absolute; left: 50%; top: 40%; z-index: 1; pointer-events: none; }
.puff-glow {
  width: 300px; height: 300px; margin-top: -150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,236,180,.55) 42%, transparent 70%);
  filter: blur(4px); animation: puff 1.1s ease-out .35s both;
}
.puff-lid {
  width: 150px; height: 150px; margin-top: -75px; border-radius: 34px;
  border: 7px solid rgba(255,203,64,.95);
  animation: lidPop 1.1s cubic-bezier(.3,.9,.4,1) .4s both;
}
.kv-inner { position: relative; z-index: 2; width: 100%; max-width: 1000px; padding: 32px 24px 40px; text-align: center; }
.date-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #16324f; border: 2px solid #f5a300;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 17px;
  padding: 13px 26px; border-radius: 999px; letter-spacing: .06em;
  box-shadow: 0 4px 14px rgba(22,50,79,.12);
}
.kv-title { margin: 22px 0 0; font-size: 0; line-height: 0; }
.kv-title img { width: 100%; max-width: 800px; margin: 0 auto; filter: drop-shadow(0 10px 26px rgba(0,0,0,.22)); }
.kv-lead { margin: 22px auto 0; font-size: 17px; line-height: 2; color: #16324f; max-width: 34em; font-weight: 500; }
.kv-btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 32px; border-radius: 999px;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 17px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn-orange { background: #e8562a; color: #fff; box-shadow: 0 5px 0 #b93c17; }
.btn-orange:hover { background: #ff6a3c; color: #fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; border: 2px solid #16324f; color: #16324f; font-weight: 700; }
.btn-ghost:hover { background: #16324f; color: #fff; }
.btn-navy { background: #16324f; color: #fff; }
.btn-navy:hover { background: #e8562a; color: #fff; }
.btn-teal { background: #00a8b7; color: #fff; box-shadow: 0 5px 0 #007e8a; font-size: 16px; }
.btn-teal:hover { background: #f5a300; color: #16324f; box-shadow: 0 5px 0 #c17f00; }
.btn-white { background: #fff; color: #e8562a; box-shadow: 0 5px 0 rgba(0,0,0,.18); font-size: 18px; padding: 18px 44px; }
.btn-white:hover { background: #16324f; color: #fff; }
.btn-sm { padding: 12px 24px; font-size: 14px; }
.btn-block { display: flex; margin-top: 14px; }

/* ---------- stats bar ---------- */
.stats-wrap { position: relative; background: #fffdf7; border-top: 4px solid #f5a300; }
.stats { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats > div { padding: 26px 8px; text-align: center; border-right: 1px dashed #cfd9e4; }
.stats > div:last-child { border-right: none; }
.stat-k { display: block; font-size: 12px; font-weight: 700; color: #7a8ea3; letter-spacing: .14em; }
.stat-v { display: block; margin-top: 6px; font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 22px; color: #16324f; }
.stat-v em { font-style: normal; font-size: 15px; }
.stat-accent { color: #e8562a; }

/* ---------- section shells ---------- */
.sec { max-width: 1160px; margin: 0 auto; padding: 96px 24px; }
.sec-inner { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sec-booth { background: #fff6dd; padding: 96px 0; position: relative; overflow: hidden; }
.sec-access { background: #eef4f9; padding: 96px 0; }
.blob { position: absolute; pointer-events: none; }
.blob-a { top: 52px; left: -30px; width: 120px; height: 120px; border-radius: 34px; background: rgba(245,163,0,.22); animation: bob 9s ease-in-out infinite; }
.blob-b { bottom: 80px; right: -40px; width: 170px; height: 170px; border-radius: 50%; background: rgba(0,168,183,.18); animation: bob 11s ease-in-out infinite 1.5s; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .2em; }
.eyebrow-amber { color: #f5a300; }
.eyebrow-orange { color: #e8562a; }
.eyebrow-cyan { color: #0b8f9c; }
h2 { margin: 10px 0 0; font-size: 38px; line-height: 1.35; color: #16324f; }
.rule { margin-top: 18px; width: 64px; height: 6px; border-radius: 3px; }
.rule-orange { background: #e8562a; }
.rule-amber { background: #f5a300; }
.rule-teal { background: #00a8b7; }
.lead { margin: 0; font-size: 17px; line-height: 2.1; color: #33506d; }
.desc { margin: 10px 0 0; font-size: 14px; line-height: 1.9; color: #5a7189; }
.note { margin: 26px 0 0; font-size: 13px; color: #8a9cae; }
.note-lg { margin: 24px 0 0; font-size: 14px; line-height: 2; color: #7a8ea3; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.head-note { margin: 0; max-width: 30em; font-size: 15px; line-height: 2; color: #5a7189; }

.side-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.about-grid { margin-top: 32px; }
.booth-grid { margin-top: 44px; gap: 22px; }
.access-grid { margin-top: 40px; }
.org-grid { margin-top: 36px; }

.card { background: #fff; border: 2px solid #e4ebf2; border-radius: 20px; padding: 26px 22px; }
.num {
  width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 20px;
}
.num-amber { background: #ffeec2; color: #c17f00; }
.num-teal  { background: #d3f6f9; color: #00808c; }
.num-red   { background: #ffdcd1; color: #c03d16; }
.ttl { margin-top: 16px; font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 19px; color: #16324f; }

/* ---------- booth ---------- */
.booth { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 26px rgba(22,50,79,.12); }
.booth-img { position: relative; aspect-ratio: 4 / 3; background: #e4ebf2; overflow: hidden; }
.booth-img img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute; top: 12px; left: 12px;
  background: #e8562a; color: #fff;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 12px;
  padding: 6px 12px; border-radius: 999px;
}
.booth-body { padding: 22px; }
.booth-body h3 { margin: 0; font-size: 20px; color: #16324f; }
.booth-cta {
  border: 3px dashed #f0c46a; background: rgba(255,255,255,.55); border-radius: 22px;
  padding: 30px 26px; display: flex; flex-direction: column; justify-content: center;
  text-align: center; min-height: 220px;
}
.booth-cta-ttl { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 22px; color: #e8562a; }
.booth-cta .desc { margin: 12px 0 0; }
.booth-cta .btn { margin-top: 18px; align-self: center; }

/* ---------- stamp rally ---------- */
/* 2026-08-17 クライアント指示で復活。ブースセクション（#booth）内に置く */
.stamp {
  margin-top: 34px; background: #fffdf7; border: 2px solid #ffd76a; border-radius: 22px;
  padding: 30px 28px; box-shadow: 0 10px 26px rgba(22,50,79,.12);
  display: grid; grid-template-columns: 1fr; gap: 22px;
}
.stamp-ttl {
  margin: 10px 0 0; font-size: 26px; line-height: 1.5; color: #16324f;
}
.stamp-lead { margin: 14px 0 0; font-size: 15.5px; line-height: 2; color: #33506d; }
.stamp-lead b {
  color: #e8562a; font-family: "Zen Maru Gothic", sans-serif; font-weight: 900;
  font-size: 19px; padding: 0 2px;
}
.stamp .note { margin-top: 10px; }
.stamp-imgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stamp-imgs figure { margin: 0; }
.stamp-imgs img {
  width: 100%; height: auto; border-radius: 14px; border: 2px solid #e4ebf2; background: #fff;
}
.stamp-imgs figcaption {
  margin-top: 10px; text-align: center;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900;
  font-size: 14px; color: #16324f;
}
.sp-br { display: none; }

/* ---------- access ---------- */
.venue { border-radius: 22px; padding: 30px; border: 2px solid #d8e4ee; }
.venue-name { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 24px; color: #16324f; }
.venue-addr { margin-top: 8px; font-size: 15px; color: #5a7189; }
.venue-when { margin-top: 16px; font-size: 14px; color: #5a7189; line-height: 1.9; }
.routes { margin-top: 20px; display: grid; gap: 14px; }
.route { background: #fff; border-radius: 18px; padding: 24px 26px; border-left: 8px solid #00a8b7; }
.route-from { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 17px; color: #16324f; }
.route ul { margin: 12px 0 0; font-size: 14px; line-height: 2; color: #5a7189; }
.map-card { background: #fff; border-radius: 22px; padding: 16px; border: 2px solid #d8e4ee; }
.map-frame { border-radius: 12px; overflow: hidden; background: #e4ebf2; }
.notice { margin-top: 48px; border-radius: 22px; padding: 32px 36px; border: 2px solid #d8e4ee; }
.notice h3 { margin: 0; font-size: 20px; color: #16324f; }
.notice ul { margin: 16px 0 0; font-size: 14.5px; line-height: 2.2; color: #5a7189; }

/* ---------- faq ---------- */
.faq-list { margin-top: 36px; display: grid; gap: 14px; }
.faq { background: #fff; border: 2px solid #e4ebf2; border-radius: 20px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 24px; background: transparent; border: none; cursor: pointer; text-align: left;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 18px;
  line-height: 1.6; color: #16324f; letter-spacing: .05em;
}
.faq-q:hover { background: #fffaf0; }
.q-mark {
  flex: none; width: 32px; height: 32px; border-radius: 10px;
  background: #ffeec2; color: #c17f00;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.q-text { flex: 1; }
.q-toggle {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: #16324f; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1;
  transition: transform .25s cubic-bezier(.22,1.5,.36,1);
}
.faq-q:hover .q-toggle { transform: translateY(-4px) rotate(2deg) scale(1.06); }
.faq-a { display: none; padding: 0 24px 24px 72px; }
.faq[data-open="1"] .faq-a { display: block; }
.faq-a p { margin: 0; font-size: 15.5px; line-height: 2.1; color: #5a7189; }
.pending {
  display: inline-block; margin-bottom: 10px; padding: 5px 12px; border-radius: 999px;
  background: #ffe0d3; color: #b93c17;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 12px; letter-spacing: .08em;
}

/* ---------- organization / sponsors ---------- */
.org { background: #fff; border: 2px solid #e4ebf2; border-radius: 16px; padding: 20px 22px; }
.org-role { display: block; font-size: 12px; font-weight: 700; color: #f5a300; letter-spacing: .1em; }
.org-name { display: block; margin-top: 8px; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 15.5px; line-height: 1.6; color: #16324f; }
.sponsor-card { margin-top: 36px; border-radius: 22px; padding: 30px; }
.sponsor-ttl { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 17px; color: #16324f; }
.sponsor-body { margin-top: 22px; display: grid; gap: 28px; }
.sponsor-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
/* 公式サイトのある社は .slot 自体が <a>。リンクでも見た目は同じにする */
a.slot { text-decoration: none; cursor: pointer; }
a.slot:hover { border-color: #f5a300; background: #fff8e6; }
.slot {
  background: #fffdf7; border: 2px solid #e4ebf2; border-radius: 14px;
  padding: 12px 18px; min-height: 88px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 17px; line-height: 1.5; color: #16324f;
}
/* ロゴは HTML の width/height で1点ずつ指定（見た目の大きさを揃えるため）。
   枠より広い場合だけ縮小し、縦横比は保つ */
.slot img { max-width: 100%; height: auto; }

.sponsor-names { border-top: 3px dashed #e4ebf2; padding-top: 24px; }
.sponsor-names p { margin: 14px 0 0; font-size: 15.5px; line-height: 2.1; color: #33506d; }
/* 社名リンク（申込リストのWebサイト欄にある社のみ）。
   既定の青リンク色だと一覧の中で浮くので、本文色のまま下線で示す */
.sponsor-names a { color: inherit; text-decoration: underline;
  text-decoration-color: #b9c7d6; text-underline-offset: 3px; }
.sponsor-names a:hover { color: #e8562a; text-decoration-color: #e8562a; }
.org-name a { color: inherit; text-decoration: underline;
  text-decoration-color: #b9c7d6; text-underline-offset: 3px; }
.org-name a:hover { color: #e8562a; text-decoration-color: #e8562a; }

/* ---------- contact / footer ---------- */
.contact { background: #e8562a; padding: 72px 24px; text-align: center; }
.contact h2 { margin: 0; font-size: 34px; color: #fff; line-height: 1.5; }
.contact .btn { margin-top: 28px; }
.ftr { background: #16324f; padding: 40px 24px; text-align: center; }
.ftr-ttl { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 16px; color: #fff; }
.ftr-copy { margin-top: 14px; font-size: 12.5px; color: rgba(255,255,255,.5); }

/* ============================================================
   RESPONSIVE — breakpoints 1000 / 860 / 620
   ============================================================ */
@media (max-width: 1000px) {
  .grid2, .side-grid { grid-template-columns: 1fr; gap: 28px; }
  .grid3, .grid4, .sponsor-logos { grid-template-columns: repeat(2, 1fr); }
  .kv { min-height: 68vh; }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 64px; }
  .hdr-bar { height: 64px; }
  .hero-wrap { padding-top: 0; }
  .kv { padding-top: 64px; }
  .nav-pc { display: none; }
  .nav-sp { display: flex; }
  .logo { font-size: 16px; letter-spacing: .06em; }
  .logo-year { font-size: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div { border-right: none; border-bottom: 1px dashed #cfd9e4; }
  .sec, .sec-booth, .sec-access { padding-top: 60px; padding-bottom: 60px; }
}
@media (max-width: 620px) {
  .grid3, .grid4 { grid-template-columns: 1fr; }
  .stamp { padding: 22px 16px; margin-top: 26px; }
  .stamp-ttl { font-size: 21px; }
  .stamp-imgs { grid-template-columns: 1fr; gap: 16px; }
  .sp-br { display: inline; }
  /* SPは2列（クライアント指定）。枠が狭くなるぶん、余白を詰めて
     ロゴに使える幅を稼ぎ、画像は枠幅に合わせて縮小させる。
     PCの width/height 固定値のままだと枠からあふれるため上書きする */
  .sponsor-logos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .slot { padding: 10px 8px; min-height: 74px; }
  .slot img { width: auto; height: auto; max-width: 100%; max-height: 48px; }
  /* data-wide（縦横比9:1超）に全幅を割り当てる指定は、1列と2列が混在して
     不揃いに見えるため無効化した。戻す場合は次の1行を有効にする。
     .slot[data-wide] { grid-column: 1 / -1; } */
  /* 2列だと枠が狭いので、カードの内側余白を削ってロゴに使える幅を稼ぐ */
  .sponsor-card { padding: 14px; }
  .sponsor-logos { gap: 8px; }
  /* 協賛枠はロゴ画像が届くまで社名テキスト。SPの狭い枠で詰まりすぎないよう調整
     （img に差し替わったあとは font-size の影響を受けないので触っても安全） */
  .slot { font-size: 13.5px; padding: 16px 10px; min-height: 76px; letter-spacing: 0; }
  h2 { font-size: 28px; }
  .sec, .sec-inner { padding-left: 18px; padding-right: 18px; }
  .hdr-bar { padding-left: 14px; padding-right: 14px; gap: 6px; }
  .logo { font-size: 18px; letter-spacing: .03em; }
  .logo-year { font-size: 21px; }
  /* 日付バッジは1行に収める */
  .date-badge { font-size: 11.5px; padding: 9px 14px; letter-spacing: 0; white-space: nowrap; }
  .contact h2 { font-size: 22px; }
  /* 開催概要カード: 番号とタイトルを横並び、説明を下段へ */
  .about-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
  .about-card .num  { grid-column: 1; grid-row: 1; }
  .about-card .ttl  { grid-column: 2; grid-row: 1; margin-top: 0; }
  .about-card .desc { grid-column: 1 / -1; grid-row: 2; margin-top: 14px; }
  .faq-a { padding-left: 24px; }
}
