:root {
  color-scheme: light;
  --navy: #071c2d;
  --ink: #112d3f;
  --muted: #476073;
  --aqua: #92e7e4;
  --off-white: #f5f8f9;
  --line: #d7e3e7;
  --max-width: 1220px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  background: var(--navy);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; }
main { display: block; }
section { scroll-margin-top: 20px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid #258b9d;
  outline-offset: 4px;
}
h1, h2, h3, p, figure { margin: 0; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 750; letter-spacing: -.055em; line-height: 1.18; }
h3 { line-height: 1.35; }
p, li { line-height: 1.75; }
.wrap { width: min(var(--max-width), calc(100% - 104px)); margin-inline: auto; }
.skip { position: fixed; z-index: 9; inset: 10px auto auto 10px; transform: translateY(-160%); background: var(--aqua); color: var(--navy); padding: 12px; }
.skip:focus { transform: none; }

.site-header { background: var(--navy); color: #f1fafb; }
.header-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.brand-logo { width: 35px; height: auto; flex: none; }
.brand strong { font-family: system-ui, sans-serif; font-size: 1.6rem; line-height: 1; font-weight: 850; letter-spacing: -.07em; }
.brand strong span { color: var(--aqua); }
.brand > span { color: #d8edf0; font-size: .875rem; }
.site-header nav { display: flex; align-items: center; gap: clamp(12px, 3.4vw, 36px); font-size: .9375rem; font-weight: 650; }
.site-header nav a { padding: 10px 0; text-decoration: none; white-space: nowrap; }
.site-header nav a:hover { color: var(--aqua); }
.site-header nav .nav-contact { border: 1px solid #658393; border-radius: 5px; padding: 8px 14px; }

.hero { color: #f6fbfc; position: relative; isolation: isolate; min-height: clamp(580px, 76svh, 820px); display: grid; align-items: center; background: #0b3f60; overflow: clip; }
.hero-picture, .hero-picture img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-picture { z-index: -2; }
.hero-picture img { object-fit: cover; object-position: center 47%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, rgba(3, 18, 32, .9) 0%, rgba(3, 18, 32, .76) 26%, rgba(3, 18, 32, .32) 52%, transparent 74%), linear-gradient(0deg, rgba(3, 18, 32, .42), transparent 42%); }
.hero-inner { padding-block: 64px 74px; }
.location { color: var(--aqua); font-weight: 700; font-size: .9375rem; letter-spacing: .08em; }
.hero h1 { margin-top: 20px; font-size: clamp(3.75rem, 7.1vw, 7.1rem); font-weight: 800; line-height: 1.07; letter-spacing: -.068em; }
.hero h1 span { color: var(--aqua); }
.hero-intro { margin-top: 22px; color: #e1eef4; max-width: 22em; font-size: clamp(1rem, 1.42vw, 1.16rem); }
.hero-intro strong { color: var(--aqua); white-space: nowrap; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px; min-height: 49px; border: 1px solid transparent; border-radius: 5px; padding: 11px 20px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .18s; }
.button-bright { background: var(--aqua); color: #092c37; }
.button-bright:hover { background: #b9f5f1; }
.button-glass { border-color: #a4bdc9; color: #f7fcff; background: #0a273a6e; }
.button-glass:hover { background: #0a273abd; }
.hero-price { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 26px; color: #e4eff6; font-size: .9rem; }
.hero-price strong { color: #fff; font-size: 1.06rem; }
.hero-price span { width: 3px; height: 3px; border-radius: 50%; background: #b7dde4; }

.section { padding-block: clamp(54px, 8.3vw, 106px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .68fr); align-items: end; gap: 20px 46px; margin-bottom: 31px; }
.section-head p { color: var(--muted); max-width: 32em; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.course { position: relative; display: grid; background: linear-gradient(152deg, #ffffff1a, #ffffffad 84%) #d3eaf0; border: 1px solid #bad8e0; border-radius: 11px; padding: clamp(20px, 2.7vw, 32px); transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease; }
.course[data-schedule-open] { background-color: #b1d9e3; border-color: #8bbdca; box-shadow: 0 8px 20px #144f641a; }
.course h3 { font-size: 1.25rem; }
.course-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.course-hint { display: none; color: #2e6979; font-size: .875rem; font-weight: 650; }
.price { margin-top: 7px; color: #104e62; font-weight: 750; font-family: system-ui, sans-serif; font-size: clamp(2.2rem, 4.3vw, 3.5rem); letter-spacing: -.065em; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { margin-right: 4px; font-size: .53em; }
.course-line { margin-top: 9px; font-weight: 650; }
.course ul { padding-left: 1.05em; color: var(--muted); margin: 13px 0 0; }
.course-schedule { margin-top: 18px; }
.course-schedule ol { margin: 10px 0 0; padding: 0; list-style: none; }
.course-schedule li { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 9px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.course-schedule li:last-child { padding-bottom: 0; }
.course-schedule li p { color: var(--muted); line-height: 1.5; }
.course-interactive .course-hint { display: inline; }
.course-interactive .course-overview, .course-interactive .course-schedule { grid-area: 1 / 1; }
.course-interactive .course-schedule { margin-top: 0; }
.course-interactive:not([data-schedule-open]) .course-schedule, .course-interactive[data-schedule-open] .course-overview { visibility: hidden; }
.course-interactive[data-schedule-open] .course-schedule { animation: course-schedule-in .24s ease-out both; }
@keyframes course-schedule-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
.course-trigger { position: absolute; inset: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.course-trigger:focus-visible { outline-offset: 3px; }
.course-note { margin-top: 15px; color: var(--muted); font-size: .9375rem; }

.place-section { background: #eaf2f5; }
.place-grid { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: repeat(2, minmax(170px, 220px)); gap: 12px; }
.photo { background: #0b283b; position: relative; overflow: hidden; border-radius: 8px; min-width: 0; }
.photo-main { grid-row: 1 / span 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; inset: auto 0 0; background: linear-gradient(0deg, #061728e6, transparent); color: #f6fbfd; font-size: .9375rem; font-weight: 650; padding: 33px 15px 13px; }
.transfer-banner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 7px 24px; margin-top: 24px; padding: clamp(17px, 3vw, 27px); border: 1px solid #bbdce4; border-radius: 8px; background: linear-gradient(105deg, #d8eff4, #edf8fa); }
.transfer-banner h3 { color: #104e62; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.transfer-banner p { color: #325568; }
.transfer-banner strong { color: #104e62; white-space: nowrap; }

.faq { display: grid; grid-template-columns: .7fr 1fr; align-items: start; gap: 22px 44px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 13px; cursor: pointer; list-style: none; padding: 15px 4px; font-weight: 700; min-height: 52px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: system-ui, sans-serif; font-size: 1.2rem; color: #246c7c; }
details[open] summary::after { content: "−"; }
.faq-list p { color: var(--muted); padding: 0 5px 15px; }

.contact-section { padding-block: clamp(46px, 7.4vw, 90px); background: #0b3348; color: #eef9fb; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 25px; }
.contact-channel { padding: clamp(16px, 3vw, 26px); border: 1px solid #537989; border-radius: 10px; background: #123f54; }
.contact-placeholder { display: grid; min-height: 115px; place-items: center; margin-top: 14px; padding: 14px; border: 1px dashed #7292a0; border-radius: 5px; text-align: center; color: #d4e6ed; }
.site-footer { color: #d3e5eb; background: var(--navy); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 24px; font-size: .875rem; }
.footer-inner .brand-logo { width: 28px; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 58px); }
  .section-head { grid-template-columns: 1fr minmax(0, .8fr); gap: 12px 24px; }
  .hero { min-height: 640px; }
  .hero-picture img { object-position: 55% center; }
}
@media (min-width: 681px) and (max-width: 850px) {
  .course-schedule li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 61px; gap: 9px; }
  .site-header .brand { gap: 6px; }
  .site-header .brand-logo { width: 28px; }
  .site-header .brand strong { font-size: 1.24rem; }
  .site-header .brand > span { font-size: .78rem; }
  .site-header nav { gap: 11px; font-size: .82rem; }
  .site-header nav .nav-contact { padding: 7px 8px; }
  .hero { min-height: clamp(600px, 93svh, 790px); align-items: start; }
  .hero-picture img { object-position: center 44%; }
  .hero::after { background: linear-gradient(180deg, #061b30d9, #071e33a8 27%, #071e3319 58%, #071e3300 77%, #071e3344); }
  .hero-inner { padding-top: 39px; }
  .hero h1 { font-size: clamp(2.85rem, 13vw, 4.3rem); margin-top: 12px; }
  .hero-intro { margin-top: 13px; max-width: 20em; line-height: 1.6; }
  .hero-actions { margin-top: 17px; gap: 8px; }
  .hero-actions .button { padding: 9px 13px; min-height: 45px; font-size: .9375rem; }
  .hero-price { margin-top: 11px; }
  .section-head, .course-grid, .faq, .contact-grid { grid-template-columns: 1fr; }
  .section-head { gap: 12px; margin-bottom: 22px; }
  .course-grid { gap: 11px; }
  .course { padding: 20px; }
  .place-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(210px, 62vw) minmax(120px, 35vw); gap: 8px; }
  .photo-main { grid-row: auto; grid-column: 1 / -1; }
  .photo figcaption { padding-inline: 9px; font-size: .875rem; }
}
@media (max-width: 350px) {
  .site-header .brand > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .course-interactive[data-schedule-open] .course-schedule { animation: none; }
}
