:root {
  --ink: #183748;
  --muted: #4f636c;
  --blue: #00a9df;
  --blue-deep: #005f82;
  --blue-soft: #eaf7fc;
  --yellow-soft: #fffbdc;
  --cream: #fff8ed;
  --paper: #ffffff;
  --line: #d5e2e6;
  --orange: #ad4b19;
  --content-width: 820px;
  --text-width: 760px;
  --radius: 14px;
  --shadow: 0 16px 32px rgba(24, 55, 72, .10);
}

*,
*::before {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, "Yu Gothic Medium", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

:lang(ja) {
  line-break: strict;
  overflow-wrap: anywhere;
  word-break: normal;
  font-feature-settings: "palt" 1;
}

@supports (text-autospace: normal) {
  :lang(ja) {
    text-autospace: normal;
  }
}

@supports (word-break: auto-phrase) {
  :lang(ja) h1,
  :lang(ja) h2,
  :lang(ja) h3 {
    word-break: auto-phrase;
    text-wrap: balance;
  }
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f08c00;
  outline-offset: 3px;
}

.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-180%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

main {
  overflow: hidden;
}

.hero {
  padding: 18px 20px 52px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, .18), transparent 42%),
    var(--blue);
}

.hero-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.poster-frame {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(-.2deg);
}

.poster {
  width: 100%;
  border: 1px solid rgba(24, 55, 72, .12);
}

.hero-copy {
  max-width: var(--content-width);
  margin: 26px auto 0;
  padding: 30px 32px 34px;
  background: var(--cream);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(24, 55, 72, .16);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(28px, 6vw, 46px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .035em;
}

.hero-copy h1 span {
  display: block;
}

.hero-lead {
  margin: 23px 0 26px;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 600;
}

.event-facts {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.fact-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  align-items: center;
}

.fact-row + .fact-row {
  border-top: 1px solid var(--line);
}

.fact-icon,
.figure-title svg,
.student-title-row > svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.fact-label {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.fact-row strong {
  display: block;
  font-size: 19px;
  line-height: 1.5;
}

.fact-row:first-child strong {
  font-size: 21px;
}

.inline-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
}

.conditions {
  margin: 19px 0 23px;
  font-weight: 800;
  letter-spacing: .02em;
}

.hero-apply {
  padding-top: 22px;
  border-top: 1px solid rgba(24, 55, 72, .22);
}

.apply-message {
  margin: 0 0 15px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.65;
}

.primary-button,
.outline-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border: 2px solid var(--blue-deep);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.primary-button {
  color: #fff;
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  box-shadow: 4px 4px 0 var(--ink);
}

.primary-button:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--blue-deep);
}

.primary-button span,
.outline-button span {
  font-size: 21px;
  line-height: 1;
}

.section-blue {
  background: var(--blue-soft);
}

.section-cream {
  background: var(--cream);
}

.section-paper {
  background: var(--paper);
}

.section-yellow {
  background: var(--yellow-soft);
  border-top: 1px solid #f0e8a8;
  border-bottom: 1px solid #f0e8a8;
}

.section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 68px 28px;
}

.section-heading {
  max-width: var(--text-width);
  margin: 0 auto 34px;
}

.section-heading h2,
.student-heading h2,
.contact-inner h2 {
  margin: 0;
  font-size: clamp(26px, 4.5vw, 36px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .02em;
}

.section-heading > p:last-child {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.experience-grid {
  max-width: var(--text-width);
  margin: 0 auto;
}

.scene-figure {
  margin: 0 0 28px;
}

.scene-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: var(--shadow);
}

.program-list {
  display: grid;
  gap: 0;
}

.program-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 95, 130, .24);
}

.program-item:last-child {
  border-bottom: 1px solid rgba(0, 95, 130, .24);
}

.program-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: #fff;
  border: 2px solid var(--blue-deep);
  border-radius: 50%;
}

.program-icon img {
  width: 29px;
  height: 29px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(25%) sepia(41%) saturate(1287%) hue-rotate(151deg) brightness(88%) contrast(101%);
}

.program-item h3,
.vendor-card h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.45;
}

.program-item p {
  margin: 7px 0 0;
}

.program-item .performers {
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.vendor-list {
  display: grid;
  gap: 14px;
  max-width: var(--text-width);
  margin: 0 auto;
}

.vendor-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px 18px 14px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.vendor-icon {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid #eadfce;
  border-radius: 14px;
}

.vendor-icon img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.vendor-body {
  min-width: 0;
}

.vendor-card h3 {
  font-size: 23px;
}

.menu-name {
  margin: 2px 0 10px;
  color: var(--orange);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
}

.vendor-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.venue-lead {
  margin: 18px 0 0 !important;
  color: var(--ink) !important;
  font-size: 22px !important;
  font-weight: 900;
}

.map-panel {
  max-width: var(--text-width);
  margin: 0 auto;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.figure-title {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
  color: var(--blue-deep);
}

.figure-title h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
}

.map-frame {
  overflow: hidden;
  min-height: 360px;
  background: #dce5e9;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.access-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: var(--text-width);
  margin: 24px auto 0;
}

.access-links .outline-button {
  width: min(100%, 320px);
  justify-content: center;
}

.outline-button {
  color: var(--blue-deep);
  background: #fff;
}

.outline-button:hover {
  color: var(--ink);
  background: var(--yellow-soft);
  border-color: var(--ink);
}

.student-heading {
  max-width: var(--text-width);
  margin: 0 auto;
}

.student-title-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.student-title-row > svg {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: var(--ink);
  stroke-width: 1.6;
}

.student-layout {
  display: grid;
  gap: 18px;
  max-width: var(--text-width);
  margin: 30px auto 0;
}

.student-copy {
  padding: 0 0 6px;
}

.student-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.benefit-box {
  padding: 25px 28px;
  background: var(--cream);
  border: 3px solid var(--ink);
}

.benefit-label {
  margin: 0 0 8px;
  font-weight: 900;
}

.benefit-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.45;
}

.benefit-title strong {
  display: block;
  color: var(--orange);
  font-size: 36px;
  line-height: 1.35;
}

.benefit-box > p:not(.benefit-label):not(.benefit-title):not(.benefit-condition) {
  margin: 8px 0 0;
}

.benefit-condition {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.benefit-condition + .benefit-condition {
  margin-top: 3px;
}

.student-apply {
  max-width: var(--text-width);
  margin: 26px auto 0;
}

.contact {
  border-top: 1px solid var(--line);
}

.contact-inner {
  display: grid;
  gap: 20px;
  max-width: var(--text-width);
  padding-top: 46px;
  padding-bottom: 52px;
}

.contact-inner h2 {
  font-size: 25px;
}

.contact-details {
  padding-left: 20px;
  border-left: 3px solid var(--blue);
}

.contact-details p {
  margin: 0;
}

.contact-details p + p {
  margin-top: 6px;
}

.contact-details span {
  display: inline-block;
  min-width: 110px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-details a {
  font-weight: 800;
}

@media (min-width: 900px) {
  .hero {
    padding: 28px 28px 64px;
  }

  .section-inner {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .poster-frame {
    padding: 12px;
  }

  .hero-copy {
    margin-top: 32px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding: 14px 18px 44px;
  }

  .poster-frame {
    padding: 7px;
  }

  .hero-copy {
    margin-top: 22px;
    padding: 24px 20px 26px;
    border-width: 3px;
    box-shadow: 6px 6px 0 rgba(24, 55, 72, .16);
  }

  .hero-copy h1 {
    font-size: clamp(25px, 8.5vw, 36px);
  }

  .hero-lead {
    margin: 18px 0 22px;
    font-size: 16px;
  }

  .fact-row {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    padding: 13px 0;
  }

  .fact-icon {
    width: 24px;
    height: 24px;
  }

  .fact-row strong,
  .fact-row:first-child strong {
    font-size: 18px;
  }

  .apply-message {
    font-size: 16px;
  }

  .primary-button {
    width: 100%;
  }

  .section-inner {
    padding: 54px 20px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .student-heading h2 {
    font-size: 27px;
  }

  .section-heading > p:last-child {
    font-size: 16px;
  }

  .scene-figure {
    margin-bottom: 22px;
  }

  .scene-figure img {
    border-width: 4px;
  }

  .program-item {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
  }

  .program-icon {
    width: 42px;
    height: 42px;
  }

  .program-icon img {
    width: 25px;
    height: 25px;
  }

  .program-item h3 {
    font-size: 19px;
  }

  .program-item p {
    margin-top: 5px;
  }

  .vendor-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }

  .vendor-icon,
  .vendor-icon img {
    width: 76px;
    height: 76px;
  }

  .vendor-card h3 {
    font-size: 20px;
  }

  .menu-name {
    margin-bottom: 7px;
    font-size: 17px;
  }

  .vendor-note {
    font-size: 13px;
  }

  .map-panel {
    padding: 12px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 280px;
    height: 280px;
  }

  .access-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .outline-button {
    width: 100%;
  }

  .student-title-row {
    gap: 10px;
    align-items: start;
  }

  .student-title-row > svg {
    width: 34px;
    height: 34px;
    margin-top: 5px;
  }

  .student-copy {
    padding: 0 0 4px;
  }

  .benefit-box {
    padding: 22px 20px;
  }

  .benefit-title strong {
    font-size: 32px;
  }

  .contact-details {
    padding-left: 18px;
  }

  .contact-details span {
    min-width: 94px;
  }
}

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

  * {
    transition-duration: .01ms !important;
  }
}
