:root {
  color-scheme: light;
  --night: #07162b;
  --ink: #122338;
  --muted: #526176;
  --teal: #07616c;
  --mint: #b9f1ee;
  --line: #dce5ec;
  --wash: #f2f7fa;
  --shell: 1140px;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 15px; line-height: 1.85; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid #11838b; outline-offset: 4px; }
[hidden] { display: none !important; }

.shell { width: min(var(--shell), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; padding: .6rem 1rem; color: white; background: var(--night); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.masthead { background: #fff; }
.masthead-inner { display: flex; justify-content: space-between; align-items: center; min-height: 66px; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 16px; flex-shrink: 0; }
.brand img { width: 166px; height: auto; filter: brightness(0) saturate(100%); }
.brand span { border-left: 1px solid var(--line); padding-left: 16px; font-size: .76rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.masthead-link { font-size: .8rem; font-weight: 700; }
.masthead-link span, .text-link span { color: var(--teal); margin-left: .3rem; }
.masthead-link:hover, .footer a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: .25em; }

.hero { isolation: isolate; position: relative; overflow: hidden; background: var(--night); color: #fff; }
.hero-media { position: absolute; inset: 0 0 0 32%; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--night) 0%, rgba(7,22,43,.84) 10%, rgba(7,22,43,.28) 35%, transparent 72%), linear-gradient(0deg, rgba(7,22,43,.32), transparent 48%);
}
.hero-inner { min-height: 494px; display: grid; align-items: center; padding-block: 55px; }
.hero-copy { max-width: 550px; }
.hero-venue { color: var(--mint); font-size: .96rem; font-weight: 700; letter-spacing: .18em; display: flex; align-items: center; gap: 12px; }
.hero-venue::before { content: ""; width: 23px; height: 1px; flex-shrink: 0; background: currentColor; }
.hero-message { margin: 16px 0 14px; font-size: clamp(2.55rem, 4.3vw, 4.1rem); font-weight: 800; line-height: 1.29; letter-spacing: .015em; }
.hero h1 { font-size: clamp(1.16rem, 2vw, 1.48rem); letter-spacing: .05em; line-height: 1.6; }
.hero-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.hero-tags li { border: 1px solid #7395a8; background: rgba(7,22,43,.55); border-radius: 4px; padding: 1px 9px; font-size: .73rem; font-weight: 700; }
.hero .button { margin-top: 22px; }

.button { display: inline-flex; min-height: 49px; min-width: 190px; align-items: center; justify-content: space-between; gap: .75rem; padding: .64rem 1rem; border: 1px solid transparent; border-radius: 6px; font-weight: 700; line-height: 1.45; transition: background-color .16s ease, color .16s ease; }
.button span { font-size: 1.07rem; line-height: 1; }
.button-light { background: var(--mint); color: #092937; }
.button-light:hover { background: #d9fffc; }
.button-dark { background: var(--teal); color: #fff; }
.button-dark:hover { background: #084952; }
.hero :focus-visible, .application :focus-visible { outline-color: #f5fffd; }

.facts-band { background: var(--wash); border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: 1fr 1fr .82fr; padding-block: 24px; }
.fact { padding-inline: 36px; border-left: 1px solid #d1e0e8; }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact dt { color: var(--teal); font-weight: 700; font-size: .76rem; }
.fact dd strong { font-size: clamp(1.22rem, 2.45vw, 1.95rem); line-height: 1.45; letter-spacing: -.042em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fact dd strong span { font-size: .61em; letter-spacing: 0; padding-left: .12em; }
.fact dd strong .range { padding-inline: .15em; }
.fact dd .fact-place { font-size: clamp(1.05rem, 2.17vw, 1.61rem); line-height: 1.75; letter-spacing: .02em; }
.fact small { display: block; color: var(--muted); font-size: .75rem; }

.section-nav { position: sticky; top: 0; z-index: 3; background: #fff; border-bottom: 1px solid var(--line); }
.section-nav-inner { display: flex; min-height: 55px; align-items: stretch; }
.section-nav a { display: grid; place-items: center; min-width: 130px; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 700; font-size: .84rem; }
.section-nav a:first-child { margin-left: -19px; }
.section-nav a:hover, .section-nav a:focus-visible { color: var(--teal); border-bottom-color: var(--teal); }

.listing { display: grid; grid-template-columns: minmax(0, 1fr) 304px; align-items: start; gap: clamp(36px, 6vw, 88px); padding-block: 46px 75px; }
.listing-main { display: grid; gap: 57px; }
.section-block { scroll-margin-top: 76px; min-width: 0; }
.section-block h2 { margin-bottom: 22px; padding-left: .66em; border-left: 4px solid var(--teal); font-size: 1.5rem; line-height: 1.3; letter-spacing: .035em; }
.section-block p { color: var(--muted); }
.task-list { list-style: none; display: grid; padding: 0; margin: 23px 0 24px; border-top: 1px solid var(--line); }
.task-list li { display: grid; grid-template-columns: minmax(148px, 1fr) 2.7fr; align-items: baseline; gap: .5rem 1rem; border-bottom: 1px solid var(--line); padding: .66rem 0; }
.task-list strong { font-size: .87rem; }
.task-list span { color: var(--muted); font-size: .86rem; }

.gallery { background: var(--wash); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.gallery-figure { position: relative; background: var(--night); }
.gallery-figure img { width: 100%; height: auto; aspect-ratio: 16 / 8.8; object-fit: cover; object-position: center 44%; color: #fff; }
.gallery-figure figcaption { position: absolute; bottom: 11px; left: 11px; border-radius: 3px; color: #fff; background: #07162b; padding: .26rem .6rem; font-size: .74rem; }
.gallery-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; padding: 10px; }
.gallery-option { cursor: pointer; padding: 2px; background: transparent; border: 2px solid transparent; border-radius: 6px; }
.gallery-option:hover { border-color: #6e9ba6; }
.gallery-option[aria-pressed="true"] { border-color: var(--teal); }
.gallery-option img { width: 100%; height: auto; aspect-ratio: 16 / 8.2; object-fit: cover; border-radius: 3px; }

.detail-list { font-size: .9rem; border-top: 1px solid var(--line); }
.detail-list > div { display: grid; grid-template-columns: minmax(122px, 25%) 1fr; border-bottom: 1px solid var(--line); }
.detail-list dt { padding: .9rem .85rem; background: var(--wash); font-weight: 700; }
.detail-list dd { padding: .9rem 1.1rem; }
.detail-list dd span { display: block; margin-top: 3px; color: var(--muted); }
.benefits { padding-left: 1.1em; }
.benefits li::marker { color: var(--teal); }

.location-card { display: grid; grid-template-columns: .87fr 1fr; min-height: 216px; align-items: stretch; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--wash); }
.location-card img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.location-copy { padding: 24px; }
.location-copy h3 { margin-bottom: 3px; font-size: 1.02rem; }
.location-copy address { font-style: normal; font-size: .86rem; }
.location-copy p { margin-block: 6px 12px; font-size: .85rem; }
.text-link { color: var(--teal); font-size: .86rem; font-weight: 800; text-decoration: underline; text-underline-offset: .25em; }
.text-link:hover { color: var(--ink); }

.application { padding: clamp(23px, 4vw, 40px); background: var(--night); border-radius: 11px; color: white; }
.application h2 { border-left-color: var(--mint); }
.application-steps { list-style: none; padding: 0; counter-reset: steps; display: grid; gap: 12px; }
.application-steps li { position: relative; counter-increment: steps; padding-left: 39px; }
.application-steps li::before { content: counter(steps); position: absolute; left: 0; top: 1px; display: grid; place-items: center; background: #173952; color: var(--mint); width: 27px; aspect-ratio: 1; border-radius: 50%; font-size: .81rem; font-weight: 800; }
.application-steps strong { display: block; }
.application-steps span, .application .interview { font-size: .85rem; color: #cadae7; }
.application .interview { border-top: 1px solid #3c5163; padding-top: 15px; margin-block: 18px; }
.application .button { min-width: min(250px, 100%); }

.apply-sidebar { position: sticky; top: 78px; }
.apply-card { border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 10px; padding: 20px; box-shadow: 0 8px 25px rgba(16,45,70,.07); }
.apply-card .card-venue { color: var(--teal); font-weight: 800; font-size: .75rem; }
.apply-card h2 { margin-top: 3px; font-size: 1.2rem; line-height: 1.55; }
.apply-card p { color: var(--muted); font-size: .8rem; }
.apply-card dl { margin-block: 13px 16px; padding-top: 7px; border-top: 1px solid var(--line); }
.apply-card dl div { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.apply-card dt, .apply-card dd { font-size: .8rem; }
.apply-card dt { font-weight: 700; }
.apply-card dd strong { font-size: 1.15rem; }
.apply-card .button { width: 100%; min-width: 0; }
.mobile-apply { display: none; }

.footer { background: var(--wash); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-block: 28px; gap: .75rem 2rem; }
.footer small { display: block; color: var(--muted); font-size: .69rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; font-size: .73rem; }

@media (max-width: 960px) {
  .shell { width: calc(100% - 64px); }
  .listing { gap: 30px; grid-template-columns: minmax(0, 1fr) 260px; }
  .fact { padding-inline: 23px; }
  .location-card { grid-template-columns: .8fr 1fr; }
  .location-copy { padding: 18px 16px; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .brand { gap: 10px; }
  .brand img { width: 142px; }
  .brand span { padding-left: 10px; }
  .masthead-inner { min-height: 57px; }
  .hero-inner { min-height: 429px; }
  .hero-media { left: 18%; }
  .hero-media::after { background: linear-gradient(90deg, var(--night), rgba(7,22,43,.77) 16%, rgba(7,22,43,.32) 74%), linear-gradient(0deg, rgba(7,22,43,.6), transparent 75%); }
  .facts { padding-block: 17px; }
  .fact { padding-inline: 12px; }
  .fact:last-child { padding-right: 0; }
  .section-nav-inner { min-height: 50px; }
  .section-nav a { min-width: 0; flex: 1; }
  .section-nav a:first-child { margin-left: 0; }
  .listing { display: block; padding-block: 31px 49px; }
  .listing-main { gap: 43px; }
  .apply-sidebar { display: none; }
  .mobile-apply {
    position: fixed;
    z-index: 4;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    padding: 9px 20px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    box-shadow: 0 -5px 18px rgba(16,45,70,.09);
  }
  .mobile-apply strong { font-size: 1.02rem; white-space: nowrap; }
  .mobile-apply small { font-size: .72rem; }
  .mobile-apply .button { min-height: 43px; min-width: 0; font-size: .85rem; }
  .footer { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

@media (max-width: 490px) {
  .shell { width: calc(100% - 32px); }
  .brand img { width: 116px; }
  .brand span { font-size: .65rem; }
  .masthead-link { font-size: .66rem; }
  .masthead-link span { margin-left: 0; }
  .hero-inner { min-height: 428px; padding-block: 39px; align-items: end; }
  .hero-media { inset: 0; }
  .hero-media img { object-position: 65% 46%; }
  .hero-media::after { background: linear-gradient(0deg, #07162b 0%, rgba(7,22,43,.86) 34%, rgba(7,22,43,.47) 72%, rgba(7,22,43,.15) 100%); }
  .hero-venue { font-size: .79rem; }
  .hero-message { font-size: clamp(2.1rem, 9vw, 2.65rem); margin-block: 12px 10px; }
  .hero .button { margin-top: 17px; }
  .facts { grid-template-columns: 1fr; padding-block: 7px; }
  .fact { display: grid; grid-template-columns: 72px 1fr; align-items: baseline; gap: 9px; padding: 5px 3px; border-left: 0; }
  .fact:first-child { padding-left: 3px; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .fact dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .5rem; }
  .fact dd strong { font-size: 1.17rem; }
  .fact dd .fact-place { font-size: 1rem; }
  .fact small { font-size: .63rem; }
  .section-nav a { font-size: .75rem; }
  .section-block h2 { margin-bottom: 16px; font-size: 1.32rem; }
  .task-list li { grid-template-columns: 1fr; gap: 1px; }
  .detail-list > div { grid-template-columns: minmax(77px, 25%) 1fr; }
  .detail-list dt, .detail-list dd { padding: .65rem .55rem; }
  .detail-list { font-size: .81rem; }
  .location-card { grid-template-columns: 1fr; }
  .location-card img { height: auto; aspect-ratio: 16 / 8; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
