/* Standalone campaign styles. Brand tokens follow the existing humac-lab site. */
:root {
  --brand-dark: #0d1b2a;
  --brand-surface: #020617;
  --brand-accent: #26e0ff;
  --brand-secondary: #7e3ff2;
  --button-primary: #ffd16a;
  --button-hover: #f0b54a;
  --surface-light: #f4f6fa;
  --ink: #13263d;
  --muted: #526177;
  --line: #ccd4df;
  --content-width: 1152px;
  --header-height: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: var(--brand-dark); color: var(--ink); font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 16px; line-height: 1.85; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #008ba9; outline-offset: 5px; }
.site-header a:focus-visible, .hero a:focus-visible, .apply a:focus-visible, .site-footer a:focus-visible { outline-color: var(--brand-accent); }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { line-height: 1.5; font-weight: 800; }
h2 { font-size: clamp(26px, 2.5vw, 36px); letter-spacing: .025em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
.container { width: min(var(--content-width), calc(100% - 64px)); margin-inline: auto; }
.section-light { background: #fff; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 18px; background: var(--brand-accent); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; height: var(--header-height); background: var(--brand-dark); color: #fff; border-bottom: 1px solid #ffffff20; }
.nav-toggle { display: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-block; flex-shrink: 0; }
.brand img { width: 190px; height: auto; max-height: 45px; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.site-header nav a { padding-block: 10px; }
.site-header nav a:hover { color: var(--brand-accent); }
.site-header .nav-apply { padding: 10px 24px; border-radius: 9999px; background: var(--button-primary); color: var(--ink); box-shadow: 0 8px 22px #d990274d; font-size: 14px; font-weight: 700; transition: background .2s; }
.site-header .nav-apply:hover { background: var(--button-hover); color: var(--ink); }
.hero { position: relative; isolation: isolate; min-height: 660px; color: #fff; overflow: hidden; background: #111d38; }
.hero-image { position: absolute; inset: 0 0 0 17%; z-index: -2; mask-image: linear-gradient(90deg, transparent, #000 18%); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: right top; filter: saturate(1.12) brightness(1.05); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 15% 72%, #7031d04d, transparent 55%), radial-gradient(ellipse at 69% 44%, #00cbe92b, transparent 55%), linear-gradient(90deg, #0d1735eb 0%, #16274cbf 31%, #09243b4d 60%, #0818280a 100%), linear-gradient(0deg, #102b50b3, transparent 35%); }
.hero::after { content: ""; position: absolute; z-index: 0; top: 44%; left: 54%; width: 125vw; aspect-ratio: 1; background: url("../images/circle.webp") center / contain no-repeat; opacity: .78; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(circle, transparent 0 42%, #000 58%); mask-image: radial-gradient(circle, transparent 0 42%, #000 58%); transform: translate(-50%, -50%); pointer-events: none; }
.hero-emblem { position: absolute; z-index: 1; top: -20px; left: calc(2vw - 10px); width: clamp(180px, 14vw, 190px); max-width: none; pointer-events: none; }
.hero-content { padding-block: 36px; }
.hero-intro, .hero-actions { position: relative; z-index: 1; width: min(55vw, 620px); text-align: center; }
.hero-intro { z-index: 2; }
#course-title { margin: 44px 0 18px; line-height: 1; }
#course-title img { width: 100%; height: auto; filter: drop-shadow(0 0 5px #b8efffa6) drop-shadow(0 0 16px #539fffa6); }
.hero-copy { font-size: 23px; font-weight: 700; line-height: 1.7; letter-spacing: .015em; text-shadow: 0 2px 10px #06122980; }
.hero-points { display: flex; justify-content: center; width: min(100%, 404px); gap: 10px; font-size: 15px; margin: 25px auto 0; font-weight: 700; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 38px; min-height: 64px; padding: 16px 28px; border-radius: 9999px; background: var(--button-primary); color: var(--ink); box-shadow: 0 8px 22px #d990274d; font-weight: 700; font-size: 17px; transition: background .2s, box-shadow .2s; }
.button:hover { background: var(--button-hover); }
.button .button-arrow { font-size: 24px; width: 24px; height: 24px; flex: 0 0 24px; line-height: 1; }
.hero .button { width: min(100%, 404px); margin-top: 40px; }
.hero-detail { display: flex; justify-content: center; align-items: center; width: fit-content; margin: 14px auto 0; border: 1px solid #c8edfa99; padding: 9px 20px; border-radius: 4px; font-size: 14px; line-height: 1.6; color: #fff; background: #10233a55; }
.hero-detail:hover { text-decoration: underline; }
.event-summary { background: linear-gradient(100deg, #192444, #10334a 62%, #2c2450); border-top: 1px solid #ffffff24; color: #fff; }
.summary-inner { text-align: center; display: grid; grid-template-columns: 2fr 1.15fr .65fr 1.35fr; padding-block: 26px; }
.summary-inner > div { border-right: 1px solid #ffffff26; padding-inline: 20px; }
.summary-inner > div:last-child { border-right: 0; }
.summary-inner dt { display: inline-block; margin-bottom: 8px; padding: 3px 12px; border: 0; background: #ffffff14; color: #d4deeb; font-size: 12px; line-height: 1.6; letter-spacing: .05em; }
.summary-inner dd { line-height: 1.55; }
.summary-inner strong { font-family: Arial, sans-serif; font-size: 33px; font-weight: 600; }
.summary-inner strong span { font-family: sans-serif; font-size: 17px; padding-left: 2px; }
.summary-inner small { font-size: 12px; white-space: nowrap; }
.summary-venue dd { font-weight: 700; padding-top: 7px; font-size: 16px; }
.venue-map { display: table; margin: 10px auto 0; padding: 8px 12px; border: 1px solid #b9c9dd; border-radius: 4px; font-size: 13px; line-height: 1.6; }
.venue-map:hover { background: #ffffff14; }
.venue-map:focus-visible { outline-color: var(--brand-accent); }
.event-details .venue-map { display: inline-block; margin: 4px 0 4px 16px; border-color: var(--muted); font-weight: 700; white-space: nowrap; }
.event-details .venue-map:hover { background: #e5f6fa; }
.event-details .venue-map:focus-visible { outline-color: #008ba9; }
.summary-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: 400px; margin: 8px auto 0; text-align: center; }
.summary-dates time { display: grid; gap: 4px; white-space: nowrap; }
.summary-dates time + time { border-left: 1px solid #ffffff52; }
.summary-dates strong { font-size: 56px; font-weight: 700; line-height: 1.1; }
.summary-weekday { font-size: 18px; line-height: 1.5; }
.summary-fee strong { font-size: 46px; font-weight: 700; line-height: 1.4; }
.summary-capacity strong { font-size: 56px; font-weight: 700; line-height: 1.2; }
.summary-capacity dd > span { display: block; margin-top: 6px; font-size: 13px; }

.intro { padding-block: 48px 32px; background: #f0f9fc; }
.intro-inner { display: block; }
.accent-text { color: #135e99; }
.intro-text { max-width: 896px; margin-inline: auto; }
.intro-break { display: none; }
@media (min-width: 1001px) {
  .intro-text { text-align: center; }
  .intro-break { display: initial; }
}
.intro-text p { font-size: 18px; line-height: 1.8; color: var(--muted); }
.experience { padding-block: 48px 40px; }
.experience .container { border: 0; padding-top: 0; }
.section-heading { display: block; text-align: center; margin-bottom: 32px; }
.section-heading > p { color: var(--muted); font-size: 18px; line-height: 1.7; margin-top: 16px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { position: relative; --step-color: #1282a4; }
.step-photo { overflow: hidden; aspect-ratio: 4/3; }
.step-photo img { width: 100%; height: 100%; object-fit: cover; }
.step-text { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 12px; padding-top: 8px; border-top: 4px solid var(--step-color); }
.steps li:nth-child(2) .step-text { border-color: var(--step-color); }
.steps li:nth-child(3) .step-text { border-color: var(--step-color); }
.steps li:nth-child(4) .step-text { border-color: var(--step-color); }
.step-number { width: fit-content; border: 1.4px solid currentColor; padding: 3.5px 5.6px; font-family: Arial, sans-serif; color: var(--step-color); font-size: 18.2px; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; white-space: nowrap; }
.step-number span { font-size: inherit; margin-left: 2.8px; letter-spacing: -.03em; font-weight: 700; }
.step-text h3 { font-size: 26px; margin: 0; color: var(--step-color); }
.step-text > p:last-child { grid-column: 1 / -1; font-size: 16px; line-height: 1.75; color: var(--muted); }
.showcase { position: relative; z-index: 1; isolation: isolate; margin-inline: 0; color: #fff; overflow: hidden; }
.showcase-image { height: clamp(500px, 49vw, 710px); overflow: hidden; }
.showcase-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: brightness(1.24) contrast(1.08) saturate(1.35); }
.showcase::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 760px 340px at left top, #061329cc, #06132980 55%, transparent 100%), radial-gradient(ellipse at 75% 35%, #18caef24, transparent 55%), radial-gradient(ellipse at 12% 25%, #743cff30, transparent 52%), linear-gradient(90deg, #06132933, transparent 35%), linear-gradient(0deg, #06102033, transparent 30%); }
.showcase-copy { position: absolute; inset: 0; z-index: 2; padding: 40px 56px; pointer-events: none; }
.showcase h2 { max-width: 650px; font-size: 48px; font-weight: 900; line-height: 1.35; letter-spacing: 0; text-shadow: 0 3px 18px #050d24cc; }
.showcase-lead { max-width: 620px; margin-top: 16px; color: #fff; font-size: 16px; font-weight: 400; line-height: 1.8; }
.showcase .mobile-break { display: block; }
.flyer-handwriting { position: absolute; right: 40px; bottom: 68px; width: 336px; }
.schedule { padding-block: 24px 56px; }
.dates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 880px; margin: 0 auto 16px; }
.dates li { text-align: center; border: 2px solid #a7afbd; border-radius: 10px; overflow: hidden; padding-bottom: 12px; background: #fff; }
.dates time { display: block; }
.date-month { display: block; padding: 5px 8px; margin-bottom: 6px; background: #ed3e68; color: #fff; font-size: 14px; font-weight: 700; }
.dates strong { text-align: center; font-style: italic; font-family: Arial, sans-serif; font-size: 64px; line-height: 1.05; font-weight: 600; letter-spacing: -.06em; }
.weekday { font-size: 16px; padding: 0; }
.dates li:nth-child(n+3) .weekday { color: #d0264e; }
.schedule-note { max-width: 760px; margin: 0 auto 16px; text-align: center; font-size: 16px; color: var(--muted); }
.event-details { max-width: 760px; margin-inline: auto; }
.event-details > div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; border-bottom: 1px solid var(--line); padding-block: 16px; align-items: center; }
.event-details > div:first-child { padding-top: 8px; }
.event-details dt { font-size: 16px; font-weight: 700; }
.event-details dd { font-size: 18px; }
.price { font-family: Arial, sans-serif; font-size: 34px; }
.price span { font-family: sans-serif; font-size: 14px; margin-left: 4px; }
.lunch { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 12px; margin-left: 22px; background: #e5f6fa; color: #195773; border-radius: 2px; vertical-align: 5px; }
.summary-lunch.lunch { display: table; margin: 4px auto 0; vertical-align: baseline; }
.apply-main .lunch { display: inline-block; margin: 0; white-space: nowrap; }
.inline-note { font-size: 14px; color: var(--muted); }
.fine-print { max-width: 760px; margin: 16px auto 0; color: var(--muted); font-size: 13px; }
.mobile-break { display: none; }
.apply { background-color: #6b7d99; background-image: url("../images/show-03.webp"); background-blend-mode: multiply; background-size: cover; background-position: center 42%; background-repeat: no-repeat; color: #fff; padding-block: 48px; border-top: 1px solid #314056; }
.apply-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px) 160px; align-items: center; gap: 32px; max-width: 1000px; margin-inline: auto; }
/* Heading inset adds 16px to the 32px grid gap: 48px between groups. */
.apply-heading { margin-right: 16px; }
.apply-main { width: 100%; max-width: 360px; min-width: 0; text-align: left; }
.apply-action { margin-top: 16px; }
.apply h2 { white-space: nowrap; font-size: 32px; line-height: 1.5; text-align: left; margin: 0; }
.apply-heading > p { margin-top: 16px; color: #ced9e7; font-size: 16px; line-height: 1.8; }
@media (min-width: 1024px) {
  .apply h2 { font-size: clamp(32px, 3.15vw, 38px); }
}
.apply-fee { white-space: nowrap; }
.apply-main > p { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px 12px; margin-top: 0; color: #ced9e7; font-size: 18px; }
.apply .button { width: 100%; max-width: 360px; min-width: 0; height: 60px; min-height: 0; gap: 16px; padding: 12px 24px; margin-top: 0; }
@media (max-width: 1023px) {
  .apply-inner { grid-template-columns: minmax(0, 360px) 160px; gap: 24px 32px; max-width: 552px; }
  .apply-heading { grid-column: 1 / -1; margin-right: 0; text-align: center; }
  .apply h2 { text-align: center; }
}
.application-qr { width: 160px; padding-block: 8px; text-align: center; }
.application-qr img { width: 112px; height: 112px; margin: auto; }
.application-qr figcaption { font-size: 13px; margin-top: 8px; line-height: 1.7; }
.site-footer { color: #c5cfdd; background: var(--brand-surface); padding-block: 28px 22px; font-size: 14px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: start; gap: 48px; }
.footer-company .brand { display: block; width: fit-content; margin-bottom: 20px; }
.footer-company .brand img { width: 150px; }
.operator { font-weight: 400; font-size: 14px; margin-bottom: 8px; }
.operator strong { color: #fff; font-size: 15px; font-weight: 700; }
address { font-style: normal; margin-top: 0; }
.footer-company .address-number { white-space: nowrap; }
.footer-contact { padding-top: 0; }
.phone { display: block; font-family: Arial, sans-serif; font-weight: 700; font-size: 26px; line-height: 1.5; color: #fff; margin-block: 6px; letter-spacing: .02em; }
.phone:hover { color: var(--brand-accent); }
@media (min-width: 1024px) {
  .footer-contact { display: grid; grid-template-columns: max-content max-content; grid-template-rows: auto auto; align-items: center; align-self: end; column-gap: 24px; }
  .footer-contact > p:first-child { grid-column: 1; grid-row: 1; }
  .footer-contact > p:last-child { grid-column: 1; grid-row: 2; }
  .footer-contact .phone { grid-column: 2; grid-row: 1 / 3; margin-block: 0; font-size: clamp(30px, 2.8vw, 36px); white-space: nowrap; }
}
.photo-disclaimer { padding: 8px 24px 0; background: #fff; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: right; }
.footer-bottom { display: flex; justify-content: flex-start; align-items: center; gap: 48px; border-top: 1px solid #ffffff24; margin-top: 18px; padding-top: 22px; }
.footer-bottom nav { display: flex; gap: 24px; margin-inline-start: auto; font-size: 12px; }
.footer-bottom a:hover { text-decoration: underline; }
.mobile-cta { display: none; }
@media (min-width: 1001px) {
  .summary-inner > div { display: flex; flex-direction: column; }
  .summary-inner dt { align-self: center; margin-bottom: 16px; }
  .summary-inner dd { flex: 1; }
  .summary-dates { margin-top: 0; }
  .summary-fee dd { display: grid; grid-template-columns: max-content max-content; grid-template-rows: 1fr auto; justify-content: center; align-items: baseline; }
  .summary-fee strong { font-size: clamp(38px, 3.6vw, 52px); line-height: 1.1; }
  .summary-fee .summary-lunch { grid-column: 1 / -1; align-self: end; margin: 0 auto; }
  .summary-capacity dd { display: flex; flex-direction: column; justify-content: space-between; }
  .summary-capacity dd > span { margin-top: 0; font-size: 14px; }
  .summary-capacity strong { font-size: 64px; line-height: 1; }
  .summary-venue dd { display: flex; flex-direction: column; justify-content: space-between; padding-top: 0; font-size: 20px; }
  .summary-venue .venue-map { margin: 12px auto 0; padding: 10px 14px; font-size: 14px; }
}
@media (max-width: 1000px) {
  .site-header nav { gap: 20px; }
  .summary-inner { grid-template-columns: 1fr 1fr 1fr; gap: 22px 0; }
  .summary-inner > div { padding-inline: 18px; }
  .summary-inner > .summary-schedule { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid #ffffff26; padding: 0 0 20px; }
  .summary-dates strong { font-size: 36px; }
  .summary-weekday { font-size: 14px; }
  .summary-fee strong { font-size: 42px; }
  .summary-capacity strong { font-size: 52px; }
  .summary-venue dd { font-size: 14px; }
  .dates { gap: 18px; }
  .showcase h2 { font-size: 40px; }
  .showcase .mobile-break { display: block; }
  .flyer-handwriting { width: 264px; right: 24px; }
  .showcase-copy { padding: 32px; }
  .steps { gap: 14px; }
}
@media (max-width: 760px) {
  :root { --header-height: 66px; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .container { width: calc(100% - 40px); }
  .brand img { width: 160px; }
  .header-inner { gap: 10px; }
  .site-header nav { gap: 14px; font-size: 12px; }
  .site-header .nav-apply { display: none; }
  .summary-inner { grid-template-columns: 1fr 1fr; padding-block: 24px; gap: 20px 0; }
  .summary-inner > div { padding-inline: 20px; }
  .summary-inner > div:nth-child(2) { border-right: 1px solid #ffffff26; }
  .summary-inner > div:nth-child(3) { border-right: 0; }
  .summary-inner > .summary-venue { grid-column: 1 / -1; padding: 20px 0 0; border-top: 1px solid #ffffff26; }
  .summary-venue dd br { display: none; }
  .summary-venue dd small { margin-left: 8px; }
  .summary-inner dt { font-size: 12px; }
  .summary-dates strong { font-size: 34px; }
  .summary-fee strong { font-size: 40px; }
  .summary-capacity strong { font-size: 48px; }
  .summary-fee small { display: block; margin-top: -2px; }
  .summary-venue dd { padding-top: 2px; }
  h2 { font-size: 27px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .showcase { margin-inline: 0; }
  .showcase-image { height: clamp(450px, 130vw, 580px); }
  .showcase-image img { object-position: center; }
  .showcase-copy { padding: 24px 20px; }
  .showcase-lead { font-size: 15px; }
  .showcase-lead-break { display: none; }
  .showcase::after { background: linear-gradient(180deg, #061329cc, #06132966 220px, transparent 320px), radial-gradient(ellipse at 75% 35%, #18caef24, transparent 55%); }
  .flyer-handwriting { width: 184px; right: 16px; bottom: 56px; }
  .showcase h2 { font-size: clamp(24px, 7.7vw, 30px); line-height: 1.35; }
  .dates { grid-template-columns: 1fr 1fr; gap: 18px; }
  .date-month { font-size: 13px; }
  .dates strong { font-size: 54px; }
  .event-details > div { grid-template-columns: 78px 1fr; gap: 14px; padding-block: 20px; }
  .price { font-size: 32px; }
  .price span { font-size: 12px; }
  .lunch { margin: 5px 0 0; display: table; vertical-align: baseline; }
  .inline-note { display: block; font-size: 12px; }
  .mobile-break { display: block; }
  .application-qr { display: none; }
  .footer-bottom { flex-direction: column-reverse; align-items: center; gap: 18px; text-align: center; }
  .footer-bottom nav { justify-content: center; flex-wrap: wrap; gap: 12px 24px; margin-inline: 0; }
  .phone { font-size: 24px; width: fit-content; }
  .site-footer { padding-top: 28px; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .brand img { width: 147px; }
  .site-header nav { gap: 10px; font-size: 11px; }
  .summary-dates strong { font-size: 32px; }
  .summary-fee strong { font-size: 36px; }
  .summary-capacity strong { font-size: 44px; }
  .summary-inner > div { padding-inline: 14px; }
  .summary-venue dd { font-size: 12px; }
  h2 { font-size: 27px; }
  .steps { gap: 28px 12px; }
  .dates { gap: 12px; }
  .dates strong { font-size: 48px; }
  .date-month { font-size: 12px; }
  .showcase h2 { font-size: 24px; }
  .event-details > div { grid-template-columns: 63px 1fr; gap: 12px; }
  .price { font-size: 28px; }
  .button { gap: 16px; font-size: 15px; padding-inline: 22px; }
  .phone { font-size: 24px; }
  .schedule h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media (max-width: 1000px) {
  .hero { display: grid; grid-template-areas: "intro" "photo" "actions"; min-height: 0; background: linear-gradient(125deg, #25204d, #102b43 65%, #17254b); }
  .hero::before { display: none; }
  .hero::after { top: 48%; left: 54%; width: 180vw; }
  .hero-emblem { top: -13px; left: -22px; width: 150px; }
  .hero-content { display: contents; }
  .hero-intro { grid-area: intro; width: min(100%, 620px); margin-inline: auto; padding: 24px 24px 20px; }
  #course-title { margin-top: 38px; margin-bottom: 14px; }
  .hero-copy { font-size: 18px; line-height: 1.65; }
  .hero-image { grid-area: photo; position: relative; inset: auto; z-index: 0; height: clamp(210px, 61.5vw, 380px); mask-image: none; }
  .hero-image img { object-position: right center; }
  .hero-actions { grid-area: actions; width: 100%; padding: 16px 24px 24px; }
  .hero .button { margin-top: 28px; }
  .hero-detail { margin-top: 10px; font-size: 13px; }
}
@media (max-width: 600px) {
  .hero::after { width: 200vw; }
  .hero-emblem { top: -10px; left: -26px; width: 105px; }
  .hero-intro { padding: 18px 20px 16px; }
  .hero-copy { font-size: 16px; }
  .hero-image { height: clamp(210px, 61.5vw, 260px); }
  .hero-actions { padding: 14px 20px 20px; }
  .hero .button { min-height: 60px; padding-block: 14px; }
}
@media (max-width: 359px) {
  .hero-intro { padding-inline: 16px; }
  .hero-actions { padding-inline: 16px; }
}

/* Body typography follows the main site; compact spacing suits a one-day course. */
.intro h2 { text-align: center; font-size: 36px; margin-bottom: 16px; }
.experience h2, .schedule h2 { font-size: 36px; }
.accent-text { color: #166d9f; }
.steps li:nth-child(2) { --step-color: #286bc4; }
.steps li:nth-child(3) { --step-color: #5852bd; }
.steps li:nth-child(4) { --step-color: #7b3dac; }
.apply-main strong { color: #fff; font-size: 26px; margin-left: 8px; }
.material-symbols-outlined { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; }
@media (min-width: 761px) and (max-width: 1000px) {
  .apply .button { font-size: 15px; padding-inline: 20px; gap: 12px; }
  .apply-main > p { font-size: 16px; }
  .apply-main strong { display: inline-block; margin-left: 0; font-size: 24px; }
}
@media (max-width: 760px) {
  .intro { padding-block: 32px; }
  .intro h2, .experience h2, .schedule h2, .apply h2 { font-size: 30px; line-height: 1.5; }
  .intro-text p { font-size: 16px; }
  .experience { padding-block: 32px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading > p { font-size: 16px; }
  .section-heading > p strong { display: inline-block; }
  .step-text { grid-template-columns: auto 1fr; }
  .step-text h3 { font-size: 23px; }
  .step-number { font-size: 15.4px; }
  .step-number span { display: inline; font-size: inherit; margin-left: 2.8px; }
  .step-text > p:last-child { font-size: 16px; }
  .schedule { padding-block: 24px 48px; }
  .dates { gap: 16px; }
  .event-details dt { font-size: 14px; }
  .event-details dd { font-size: 16px; }
  .event-details > div { padding-block: 16px; }
  .apply { background-position: 62% 38%; }
  .apply-inner { display: block; }
  .apply-main { margin-inline: auto; }
  .apply-heading { margin-bottom: 24px; }
  .apply-heading > p { font-size: 15px; min-height: 3.6em; }
  .apply-main > p { font-size: 16px; }
  .apply-main strong { font-size: 22px; margin-left: 4px; }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 24px; text-align: center; }
  .footer-company .brand, .footer-contact .phone { margin-inline: auto; }
  .operator-group { display: block; text-wrap: balance; }
  .mobile-cta { display: flex; align-items: center; justify-content: center; text-align: center; position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; height: calc(56px + env(safe-area-inset-bottom, 0px)); padding: 0 20px env(safe-area-inset-bottom, 0px); background: var(--button-primary); color: var(--ink); border: 0; border-radius: 0; font-weight: 700; font-size: 16px; line-height: 1.45; }
  .mobile-cta:hover { background: var(--button-hover); }
  .mobile-cta:focus-visible { outline: 3px solid var(--ink); outline-offset: -5px; }
}
@media (max-width: 359px) {
  .intro h2, .experience h2, .schedule h2, .apply h2 { font-size: 26px; }
  .step-text h3 { font-size: 22px; }
  .mobile-cta { padding-inline: 16px; font-size: 15px; }
}

/* Flyer-derived feature bands and contest lettering. */
.hero-points li { display: grid; flex: 1 1 auto; place-items: center; padding: 8px 12px; border-radius: 3px; background: #108fa5a2; font-style: italic; white-space: nowrap; }
.hero-points li:nth-child(2) { background: #286ab5a2; }
.hero-points li:nth-child(3) { background: #703d9da2; }
.date-day { margin-bottom: 2px; display: flex; justify-content: center; align-items: baseline; gap: 6px; }
@media (max-width: 1000px) {
  .hero-points { margin-top: 0; font-size: 14px; }
}
@media (max-width: 760px) {
  .hero-points { width: min(100%, 340px); gap: 6px; font-size: 12px; }
  .hero .button { width: min(100%, 340px); }
  .hero-points li { flex: 1; min-height: 40px; padding: 5px 4px; line-height: 1.4; display: block; align-content: center; }
}
@media (max-width: 359px) {
  .hero-points { font-size: 11px; }
  .hero-detail { font-size: 12px; padding-inline: 14px; }
  .step-number { font-size: 15.4px; }
}

/* Match the flyer's left-to-right contest banner: badge, title, trophy, date. */
.contest { display: grid; grid-template-columns: max-content minmax(0, 1fr) 44px max-content; gap: 12px 20px; align-items: center; margin-top: 48px; padding: 20px 24px; background: #f6e4a0; color: #322b1e; }
.contest-heading { display: flex; flex-direction: column; align-items: stretch; width: fit-content; max-width: 100%; gap: 8px; }
.contest-label { font-size: 14px; color: #665321; }
.contest-first { text-align: center; padding: 8px 14px; background: #bc2433; color: #fff; font-size: 24px; font-weight: 900; line-height: 1.4; white-space: nowrap; }
.contest h3 { min-width: 0; margin: 0; }
.contest h3 img { width: 100%; height: auto; }
.contest-trophy { width: 44px; height: 44px; opacity: .7; }
.contest-info { padding-left: 20px; border-left: 1px solid #937423; line-height: 1.65; }
.contest-info time { display: block; font-family: Arial, sans-serif; font-size: 34px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.contest-info time span { font-family: "Noto Sans JP", sans-serif; color: #bc2433; font-size: 20px; }
.contest-place { display: block; margin-top: 5px; font-size: 14px; }
@media (min-width: 761px) and (max-width: 1000px) {
  .step-text { grid-template-columns: 1fr; gap: 8px; }
  .contest { grid-template-columns: max-content minmax(0, 1fr) 40px; gap: 14px 20px; }
  .contest-info { grid-column: 2 / -1; padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  .contest { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; padding: 20px; }
  .contest-heading { grid-column: 1; justify-self: center; text-align: center; }
  .contest-label { font-size: 13px; }
  .contest-first { font-size: 16px; padding: 5px 10px; }
  .contest h3 { grid-column: 1 / -1; }
  .contest-trophy { grid-column: 1; grid-row: 3; justify-self: center; width: 32px; height: 32px; }
  .contest-info { grid-column: 1; grid-row: 4; padding-left: 0; border-left: 0; text-align: center; }
  .contest-info time { font-size: 28px; }
  .contest-info time span { font-size: 16px; }
  .contest-place { font-size: 14px; }
}
@media (max-width: 359px) {
  .contest { padding: 18px 16px; }
  .contest-info time { font-size: 26px; }
  .contest-trophy { width: 28px; height: 28px; }
}

/* Photo layers preserve the existing first-view composition and text. */
.hero-image .visual-slide, .showcase-image .visual-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.hero-image .visual-slide.is-active, .showcase-image .visual-slide.is-active { opacity: 1; }
.hero-image .slide-secondary { left: auto; width: 78%; object-position: center; mask-image: linear-gradient(90deg, transparent, #000 16%); }
.hero-image .visual-slide.is-grid-outgoing, .showcase-image .visual-slide.is-grid-outgoing { opacity: 0; transition: opacity .65s linear .15s; }
.hero-image.is-grid-committing .visual-slide, .showcase-image.is-grid-committing .visual-slide { transition: none; }
.slide-grid-overlay { position: absolute; z-index: 2; overflow: hidden; pointer-events: none; }
.slide-grid-cell, .slide-grid-glow { position: absolute; display: block; pointer-events: none; }
.slide-grid-cell { opacity: 0; transform: scale(.84); background-repeat: no-repeat; animation: slide-grid-reveal .2s ease-out both; }
.slide-grid-glow { opacity: 0; filter: blur(1px); animation: slide-grid-glow .18s ease-out both; }
@keyframes slide-grid-reveal { to { opacity: 1; transform: scale(1); } }
@keyframes slide-grid-glow { 0%, 100% { opacity: 0; transform: scale(.82); } 45% { opacity: .3; transform: scale(1); } }
.showcase-image { position: relative; z-index: 0; }
.showcase-image .visual-slide:not(:first-child) { object-position: 62% center; filter: saturate(1.1); }
/* Subtle translucent controls; full emphasis on hover and keyboard focus. */
.slide-controls { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.slide-controls[hidden] { display: none; }
.slide-controls button { display: grid; place-items: center; padding: 0; border: 0; color: #ffffffbf; cursor: pointer; font-family: inherit; pointer-events: auto; }
.slide-controls .slide-arrow { position: absolute; top: 50%; width: 44px; height: 44px; border: 1px solid #ffffff33; border-radius: 50%; background: #0d1b2a33; transform: translateY(-50%); transition: background-color .2s, color .2s; }
.slide-prev { left: 16px; }
.slide-next { right: 16px; }
.slide-arrow .material-symbols-outlined { font-size: 24px; line-height: 1; }
.slide-pagination { position: absolute; bottom: 14px; left: 50%; display: flex; align-items: center; padding: 3px 6px; border-radius: 999px; background: #0d1b2a33; transform: translateX(-50%); pointer-events: auto; }
.slide-choice { width: 28px; height: 32px; background: transparent; }
.slide-choice span { width: 10px; height: 10px; border-radius: 50%; background: #ffffff66; }
.slide-choice[aria-pressed="true"] span { background: #ffffffe6; }
.slide-controls .slide-arrow:hover, .slide-controls .slide-arrow:focus-visible { background: #0d1b2a99; color: #fff; }
.slide-choice:hover span { background: #fff; }
.slide-controls button:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }
@media (max-width: 1000px) {
  .hero-image .slide-secondary { width: 100%; mask-image: none; }
  .hero-slide-controls { grid-area: photo; position: relative; inset: auto; align-self: stretch; justify-self: stretch; }
}
@media (max-width: 760px) {
  .slide-controls .slide-arrow { width: 38px; height: 38px; }
  .showcase-slide-controls .slide-arrow { top: 60%; }
  .slide-prev { left: 8px; }
  .slide-next { right: 8px; }
  .slide-pagination { bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image .visual-slide, .showcase-image .visual-slide { transition: opacity .25s ease; }
}

@media (max-width: 760px) {
  .event-details .venue-map { display: table; margin: 8px 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .75, .25, 1); }
  .scroll-reveal.is-visible, .scroll-reveal:focus-within { opacity: 1; transform: none; }
  .steps.is-step-reveal-ready > li { --step-delay: 0ms; opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .6s ease-out, transform .6s cubic-bezier(.2, .75, .25, 1); transition-delay: var(--step-delay); }
  .steps.is-step-reveal-ready > li:nth-child(2) { --step-delay: 180ms; }
  .steps.is-step-reveal-ready > li:nth-child(3) { --step-delay: 360ms; }
  .steps.is-step-reveal-ready > li:nth-child(4) { --step-delay: 540ms; }
  .steps.is-step-reveal-ready > li .step-text h3, .steps.is-step-reveal-ready > li .step-text > p:last-child { opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity .6s ease-out, transform .6s cubic-bezier(.2, .75, .25, 1); transition-delay: calc(var(--step-delay) + 100ms); }
  .steps.is-step-reveal-visible > li, .steps.is-step-reveal-visible > li .step-text h3, .steps.is-step-reveal-visible > li .step-text > p:last-child { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  .steps.is-step-reveal-ready > li:nth-child(2) { --step-delay: 150ms; }
  .steps.is-step-reveal-ready > li:nth-child(3) { --step-delay: 300ms; }
  .steps.is-step-reveal-ready > li:nth-child(4) { --step-delay: 450ms; }
}

/* Mobile menu follows the main site's circular trigger and full-screen panel. */
@media (max-width: 760px) {
  body.is-menu-open { overflow: hidden; }
  .site-header { z-index: 50; background: #0d1b2ae6; backdrop-filter: blur(8px); }
  .site-header .header-inner > .brand, .nav-toggle { position: relative; z-index: 2; }
  .nav-toggle:not([hidden]) { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid #ffffff4d; border-radius: 50%; background: #0d1b2acc; color: #f1f5f9; cursor: pointer; transition: background .2s; }
  .nav-toggle:hover { background: #ffffff1a; }
  .nav-toggle .material-symbols-outlined { font-size: 20px; line-height: 1; }
  .nav-toggle:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; }
  .site-header.is-menu-ready nav { display: none; position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; gap: 16px; height: 100vh; height: 100dvh; padding: calc(var(--header-height) + 24px) 24px 40px; background: #0d1b2af2; overflow-y: auto; font-size: 16px; }
  .site-header.is-menu-open nav { display: flex; }
  .site-header.is-menu-ready nav a { width: fit-content; padding: 0; text-align: left; color: #cbd5e1; }
  .site-header.is-menu-ready nav a:hover { color: var(--brand-accent); }
  .site-header.is-menu-ready .nav-apply { display: block; margin: 0; padding: 10px 24px; border-radius: 9999px; background: var(--button-primary); color: var(--ink); font-size: 16px; font-weight: 700; }
  .site-header.is-menu-ready .nav-apply:hover { background: var(--button-hover); color: var(--ink); }
}
