﻿:root {
  font-family: system-ui, "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  color: #102e46;
  background: #f3f7fa;
  --navy: #092c50;
  --blue: #005783;
  --line: #c6dbe7;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #046b91; outline-offset: 3px; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .65rem 1rem; background: white; }
.skip:not(:focus) { clip-path: inset(50%); }
img { display: block; max-width: 100%; height: auto; }
.site-header, footer { background: var(--navy); color: white; }
.site-header a, footer a { color: inherit; }
.site-header :focus-visible, footer :focus-visible { outline-color: #88e7ff; }
.top, .foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1rem; }
.top { padding-block: .5rem; }
.brand { display: inline-flex; min-height: 44px; align-items: center; }
.brand img { width: min(42vw, 178px); }
.wide { display: none; }
.mobile[open] { width: 100%; }
.mobile nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); border-top: 1px solid #4d718d; padding-block: .4rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .65rem; }
nav a[aria-current] { box-shadow: inset 0 -3px #71def9; font-weight: 700; }
summary { display: list-item; cursor: pointer; min-height: 44px; padding: .65rem .8rem; font-weight: 650; }
.hero { border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #ebf8ff, #dcecf5); padding-block: clamp(1.8rem, 5vw, 4.5rem); }
.intro { display: grid; align-items: center; gap: 1rem 3rem; }
.hero img { max-height: min(55vh, 24rem); width: 100%; object-fit: contain; }
h1, h2, h3 { line-height: 1.24; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 5vw, 4rem); margin: 0 0 .45em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
p { max-width: 47rem; }
.button { display: inline-flex; min-height: 44px; align-items: center; padding: .55rem .9rem; border-radius: .28rem; background: var(--blue); color: white; font-weight: 700; }
.content { padding-block: 1rem 3rem; }
.content section { margin-block: 1.25rem 2.4rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.card { border: 1px solid var(--line); border-radius: .45rem; background: white; padding: 1rem; }
.card h3 { margin-top: .2rem; }
.card p { margin-bottom: 0; }
.scene { padding: 0; overflow: hidden; }
.scene > div { padding: 1rem; }
.scene img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
#faq details { border: 1px solid var(--line); border-radius: .35rem; background: white; margin-block: .65rem; }
#faq details p { margin: .25rem .8rem .9rem; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; background: white; font-size: clamp(.8rem, 2vw, 1rem); }
caption { text-align: left; font-weight: 700; margin-bottom: .5rem; }
th, td { text-align: left; padding: clamp(.4rem, 1vw, .8rem); vertical-align: top; border: 1px solid var(--line); overflow-wrap: anywhere; }
thead { background: var(--navy); color: white; }
tbody tr:nth-child(even) { background: #eaf4fa; }
th small { display: block; font-weight: 400; }
.news, .directory { padding: 0; list-style: none; }
.news li, .directory li { border-bottom: 1px solid var(--line); padding-block: .65rem; }
.news h3, .news p { margin: .25rem 0; }
.date, time { color: #3f5464; font-variant-numeric: tabular-nums; }
.directory a, .foot a { display: inline-flex; min-height: 44px; align-items: center; }
.directory li { padding-block: 0; }
footer { padding-block: .55rem; }
@media (min-width: 48rem) {
  .wide { display: flex; flex-wrap: wrap; }
  .mobile { display: none; }
  .has-image .intro { grid-template-columns: 1.25fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
