:root {
  --ink: #2b201e;
  --yellow: #fff06a;
  --yellow-soft: #fff9bf;
  --paper: #fffdf4;
  --muted: #6b625d;
  --line: rgba(43, 32, 30, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.hero {
  min-height: 790px;
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  border-bottom: 8px solid var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  width: 130%;
  height: 560px;
  left: -18%;
  top: -235px;
  background: white;
  border: 3px dotted var(--ink);
  transform: rotate(-7deg);
}
.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}
.brand { font-weight: 900; letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.nav-button, .primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
}
.nav-button { padding: 8px 18px; background: var(--ink); color: white; }
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 54px;
  align-items: end;
  padding-top: 80px;
}
.eyebrow, .section-kicker { font-size: 14px; font-weight: 900; letter-spacing: 0.14em; }
.eyebrow { margin: 0 0 20px; }
h1 { margin: 0; font-size: clamp(52px, 7vw, 94px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 950; }
.hero-lead { margin: 78px 0 12px; font-size: clamp(25px, 4vw, 42px); font-weight: 950; line-height: 1.35; }
.hero-text { max-width: 620px; margin: 0; font-size: 18px; font-weight: 650; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.primary-button { padding: 13px 28px; background: var(--ink); color: white; }
.text-link { font-weight: 900; border-bottom: 2px solid var(--ink); }
.hero-keywords { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; width: 34%; min-width: 150px; justify-self: center; align-self: end; margin-bottom: 105px; }
.hero-keywords span, .hero-keywords strong { display: grid; min-height: 42px; place-items: center; border: 2px solid var(--ink); background: white; font-size: clamp(16px, 1.25vw, 20px); font-weight: 950; letter-spacing: 0.05em; box-shadow: 4px 4px 0 var(--ink); }
.hero-keywords strong { grid-column: 1 / -1; min-height: 48px; background: var(--ink); color: var(--yellow); font-size: clamp(18px, 1.5vw, 24px); }

.section { padding: 105px 0; }
.section-kicker { margin: 0 0 12px; color: #7f6200; }
h2 { margin: 0 0 50px; font-size: clamp(38px, 6vw, 68px); line-height: 1.2; letter-spacing: -0.03em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-grid article { min-height: 270px; padding: 30px; border: 2px solid var(--ink); background: white; box-shadow: 8px 8px 0 var(--ink); }
.feature-no { font-weight: 950; color: #9a7900; }
.feature-grid h3 { margin: 30px 0 10px; font-size: 24px; }
.feature-grid p { margin: 0; color: var(--muted); }
.note { margin: 60px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }

.organizer-section { padding: 0 0 105px; background: var(--paper); }
.organizer-card { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 54px; align-items: center; padding: 38px 42px; border: 2px solid var(--ink); background: white; box-shadow: 9px 9px 0 var(--yellow); }
.organizer-card h2 { margin: 0; font-size: clamp(32px, 4.5vw, 52px); }
.organizer-card p:last-child { margin: 0; font-size: 17px; }

.schedule-section { background: var(--yellow-soft); border-block: 1px solid var(--line); }
.status-banner { display: flex; gap: 24px; align-items: center; margin: -15px 0 38px; padding: 18px 22px; border-left: 7px solid var(--ink); background: white; }
.status-banner strong { white-space: nowrap; }
.status-banner span { color: var(--muted); }
.schedule-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 2px solid var(--ink); }
.schedule-grid div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 24px 16px; border-bottom: 1px solid var(--line); }
.schedule-grid dt { font-weight: 800; color: var(--muted); }
.schedule-grid dd { margin: 0; font-size: 18px; font-weight: 900; }
.map-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 54px; padding: 34px; background: white; border: 2px solid var(--ink); }
.map-card h3 { margin: 2px 0 4px; font-size: 28px; }
.map-card p { margin: 2px 0; }
.map-label { font-weight: 900; color: #7f6200; }
.small { font-size: 13px; color: var(--muted); }
.secondary-button { min-width: 178px; padding: 11px 20px; background: var(--yellow); }

.apply-section { background: white; }
.apply-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }
.apply-intro { position: sticky; top: 30px; }
.apply-intro h2 { margin-bottom: 24px; }
.apply-intro ol { display: grid; gap: 14px; margin: 36px 0; padding: 0; list-style: none; }
.apply-intro li { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.apply-intro li span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--yellow); font-weight: 950; }
.privacy-summary { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.privacy-summary p { margin-bottom: 0; }
.form-card { overflow: hidden; border: 2px solid var(--ink); background: var(--paper); box-shadow: 10px 10px 0 var(--yellow); }
.form-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 28px; border-bottom: 2px solid var(--ink); background: white; }
.form-heading div { display: grid; gap: 2px; }
.form-heading div > span { font-size: 22px; font-weight: 950; }
.form-heading small { color: var(--muted); }
.draft-badge { padding: 5px 10px; border-radius: 999px; background: var(--yellow); font-size: 12px; font-weight: 900; white-space: nowrap; }
.capacity-notice { margin: 22px 24px 0; padding: 18px 20px; border: 2px solid var(--ink); background: var(--yellow-soft); }
.capacity-notice strong { font-weight: 950; }
.capacity-notice p { margin: 5px 0 0; font-size: 14px; line-height: 1.75; }
.form-card iframe { display: block; width: 100%; height: 830px; border: 0; background: white; }
.form-note { margin: 0; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

footer { padding: 50px 0; background: var(--ink); color: #fff5a8; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; }
.footer-inner p { margin: 0; color: white; opacity: 0.65; }
.footer-inner .cooperation { margin-top: 16px; color: #fff5a8; opacity: 1; font-size: 14px; font-weight: 700; }

a:focus-visible { outline: 4px solid #2864dc; outline-offset: 4px; }
a:hover { opacity: 0.78; }

@media (max-width: 880px) {
  .nav-links > a:not(.nav-button) { display: none; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; padding: 68px 0 70px; }
  .hero-lead { margin-top: 105px; }
  .hero-keywords { width: 34%; min-width: 150px; margin: 0 auto; }
  .feature-grid, .schedule-grid, .apply-layout, .organizer-card { grid-template-columns: 1fr; }
  .apply-intro { position: static; }
  .feature-grid article { min-height: auto; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 26px), 1120px); }
  .brand { font-size: 13px; }
  .nav-button { padding: 7px 12px; font-size: 12px; }
  h1 { font-size: 48px; }
  .hero::before { top: -275px; }
  .hero-text { font-size: 16px; }
  .hero-actions, .map-card, .footer-inner, .status-banner { align-items: flex-start; flex-direction: column; }
  .section { padding: 76px 0; }
  .schedule-grid div { grid-template-columns: 82px 1fr; }
  .form-heading { align-items: flex-start; flex-direction: column; }
  .form-card { box-shadow: 6px 6px 0 var(--yellow); }
  .form-card iframe { height: 900px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
