:root {
  color-scheme: light;
  --ink: #142d47;
  --muted: #43586b;
  --blue: #175b9a;
  --paper: #fbf9f1;
  --card: #fff;
  --edge: #d4e2e9;
  --sun: #ffcf52;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-size: 17px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.8; overflow-wrap: anywhere; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: #873820; }
:focus-visible { outline: 3px solid #0c639b; outline-offset: 4px; }
img, video { display: block; max-width: 100%; }
.cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.wrap, .header-inner { width: min(1100px, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--edge); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 900; line-height: 1.3; text-decoration: none; }
.brand small { display: block; color: var(--muted); font-size: .7rem; font-weight: 650; margin-top: .15rem; }
.nav { display: flex; gap: .4rem; }
.nav a { padding: .55rem .75rem; font-weight: 750; text-decoration: none; border-radius: .6rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { background: #e4f1ff; }
.menu-toggle { display: none; }
.visually-hidden, .skip:not(:focus) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; z-index: 4; background: #fff; top: .5rem; left: .5rem; padding: .7rem; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1rem, 4vw, 3.2rem); margin-top: 2rem; padding: clamp(1.2rem, 4vw, 3rem); background: #deeffa; border-radius: 26px; }
.hero .cover { box-shadow: 0 12px 28px #142d4727; }
h1, h2, h3 { line-height: 1.4; letter-spacing: .015em; }
h1 { font-size: clamp(1.85rem, 4vw, 3rem); font-weight: 900; margin: .3rem 0 .7rem; }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h3 { font-size: 1.15rem; }
.eyebrow { color: #18516a; font-weight: 800; margin: 0 0 .45rem; font-size: .88rem; }
.button { display: inline-flex; gap: .8rem; align-items: center; min-height: 46px; padding: .58rem 1rem; border-radius: .8rem; background: var(--sun); color: var(--ink); text-decoration: none; font-weight: 850; }
.button:hover { background: #ffe294; color: var(--ink); }
.block { margin-block: 2.8rem; }
.world-grid, .cards, .course-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; }
.world, .card, .course-list a { color: var(--ink); background: var(--card); border: 1px solid var(--edge); border-radius: 12px; text-decoration: none; transition: border-color .18s, box-shadow .18s; }
.world:hover, .card:hover, .course-list a:hover { border-color: #55a3cb; box-shadow: 0 4px 12px #142d4714; }
.world { display: flex; align-items: center; gap: .7rem; padding: .7rem; font-weight: 800; }
.world span:last-child, .course-list a span:last-child { margin-inline-start: auto; color: var(--blue); }
.world-id { display: grid; place-items: center; flex: 0 0 2rem; aspect-ratio: 1; background: #d7edfb; border-radius: .5rem; color: #124770; }
.world:nth-child(3n+2) .world-id { background: #fff0bd; color: #67470a; }
.world:nth-child(3n) .world-id { background: #d8f0df; color: #174d3a; }
.card { display: flex; flex-direction: column; overflow: hidden; }
.card .cover { border-radius: 0; }
.card > span { padding: .62rem .76rem; font-weight: 750; }
.course-list { grid-template-columns: repeat(2,minmax(0,1fr)); list-style: none; padding: 0; }
.course-list a { display: flex; align-items: center; gap: .75rem; padding: .65rem .8rem; height: 100%; }
.course-list strong { min-width: 3rem; color: var(--blue); }
.crumbs { margin: .8rem 0; color: var(--muted); font-size: .8rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .55rem; }
.crumbs li + li::before { content: "›"; margin-inline-end: .55rem; }
.intro { max-width: 900px; margin: 2rem auto 1.4rem; }
.intro .cover { margin-top: 1.4rem; }
.lead { color: var(--muted); max-width: 44rem; }
.typography { max-width: 800px; margin: 1.5rem auto; }
.typography p { margin-block: .75rem 1.05rem; }
.typography h2 { margin-top: 2.25rem; padding-bottom: .3rem; border-bottom: 2px solid #a7d5e9; }
.typography h3 { margin-top: 1.4rem; border-inline-start: .3rem solid var(--sun); padding-inline-start: .65rem; }
.typography li + li { margin-top: .35rem; }
.movie { margin: 1.25rem 0; overflow: hidden; border-radius: .8rem; background: #12273d; color: #fff; }
.movie figcaption { padding: .55rem .85rem; font-weight: 800; }
.movie video { width: 100%; max-height: 70vh; aspect-ratio: 16 / 9; background: #0c1924; }
.jumps { display: flex; gap: .4rem; flex-wrap: wrap; padding: .7rem; background: #e8f2fa; border-radius: .7rem; }
.jumps a { display: inline-flex; align-items: center; min-height: 44px; background: #fff; padding: .25rem .55rem; border-radius: .35rem; font-size: .85rem; }
.advert { margin: 1.5rem auto; max-width: 800px; color: var(--muted); text-align: center; }
.site-footer { margin-top: 3rem; background: #152e48; color: #fff; padding: 1.8rem 0; }
.site-footer a { color: #e1f3ff; display: inline-block; padding: .3rem .6rem .3rem 0; }
.site-footer p { margin-bottom: 0; font-size: .85rem; }
.reveal { animation: appear .55s ease-out both; }
@keyframes appear { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 760px) {
  .header-inner { position: relative; flex-wrap: wrap; padding-block: .55rem; min-height: 62px; }
  .has-menu .menu-toggle { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--edge); border-radius: .6rem; background: #fff; color: var(--ink); font-size: 1.4rem; cursor: pointer; }
  .nav { flex: 1 0 100%; flex-direction: column; }
  .has-menu .nav { display: none; }
  .has-menu .nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; margin-top: 1rem; }
  .world-grid, .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .card > span { font-size: .88rem; }
  .course-list { grid-template-columns: 1fr; }
}
@media (max-width: 370px) {
  .wrap, .header-inner { width: calc(100% - 1.4rem); }
  .world { gap: .35rem; font-size: .8rem; }
}
.hero h1 > span { display: block; }
.package-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; align-items: start; }
.package-photos figure { margin: 0; }
.package-photos img { width: 100%; height: auto; border-radius: .6rem; }
.package-photos figcaption { font-size: .83rem; color: var(--muted); }
