:root {
  color-scheme: light;
  --bg: #e8f8ff;
  --bg-2: #f7fcff;
  --card: rgba(255, 255, 255, 0.94);
  --text: #14304a;
  --muted: #5e7087;
  --blue: #2f7df4;
  --blue-dark: #194f91;
  --line: #d6eaf8;
  --soft: #eef7ff;
  --yellow: #ffd778;
  --green: #84d89c;
  --danger: #db3d3d;
  --shadow: 0 18px 48px rgba(25, 79, 145, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "BIZ UDPGothic", "BIZ UDゴシック", "BIZ UDGothic", "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,.9) 0 58px, transparent 59px),
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.72) 0 44px, transparent 45px),
    linear-gradient(180deg, #dff6ff 0%, #f7fcff 46%, #e8f8ff 100%);
  color: var(--text);
  line-height: 1.75;
  letter-spacing: .02em;
}
a { color: var(--blue-dark); font-weight: 800; text-decoration-thickness: .12em; text-underline-offset: .18em; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(1060px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  padding: 34px 0 18px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--blue-dark);
}
.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff7d8;
  box-shadow: 0 8px 24px rgba(25, 79, 145, .12);
  font-size: 26px;
}
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--blue-dark);
  font-size: 14px;
}
.hero {
  position: relative;
  padding: 54px 0 34px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: -4%; right: -4%; bottom: 24px;
  height: 72px;
  opacity: .36;
  background:
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(60,130,190,.28) 27px 31px, transparent 32px 58px),
    linear-gradient(8deg, transparent 40%, rgba(60,130,190,.28) 42%, rgba(60,130,190,.28) 48%, transparent 50%);
  transform: rotate(-2deg);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.74);
}
h1 {
  margin: 16px 0 16px;
  line-height: 1.15;
  font-size: clamp(38px, 6.2vw, 70px);
  letter-spacing: .01em;
  color: var(--blue-dark);
}
.lead {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
  color: #2c4c6d;
  font-weight: 800;
}
.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.timer-mock {
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.timer-ring {
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(#0e91ca 0 33%, #9d75f2 33% 66%, #f8c234 66% 100%);
  box-shadow: inset 0 0 0 16px rgba(255,255,255,.55), 0 8px 24px rgba(20,80,140,.13);
  display: grid;
  place-items: center;
}
.timer-center {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
  color: var(--text);
}
.timer-center strong { display: block; font-size: clamp(44px, 7vw, 74px); line-height: 1; }
.timer-center span { display: block; margin-top: 8px; color: #155eea; font-size: clamp(16px, 2vw, 22px); }
.train-badge {
  position: absolute;
  top: 18%; right: 19%;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: white;
  border: 6px solid #c8defd;
  display: grid;
  place-items: center;
  font-size: 34px;
  box-shadow: 0 8px 18px rgba(21, 94, 234, .18);
}
.mock-label {
  position: absolute;
  top: 24px; left: 28px;
  font-weight: 900;
  color: var(--text);
}
.info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.info-chip {
  background: #eaf3ff;
  border: 1px solid #d9eafd;
  border-radius: 18px;
  padding: 12px 10px;
  text-align: center;
  font-weight: 900;
}
.info-chip small { display: block; color: var(--muted); font-size: 12px; }
.info-chip span { display: block; font-size: 22px; line-height: 1.2; }
.section { padding: 42px 0; }
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
}
.section-title::before {
  content: "🚃";
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #fff8d8;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(25,79,145,.12);
  font-size: 27px;
  flex: 0 0 auto;
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(25,79,145,.09);
}
.card h3 { margin: 0 0 8px; color: var(--blue-dark); font-size: 21px; }
.card p, .card ul, .card ol { margin: 0; color: #3e5872; }
.card ul, .card ol { padding-left: 1.2em; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.faq { display: grid; gap: 14px; }
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
}
summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
  color: var(--blue-dark);
}
details p { margin: 0; padding: 0 20px 20px; color: #3e5872; }
.notice {
  background: #fff8e8;
  border: 1px solid #ffe0a6;
  border-radius: 20px;
  padding: 20px;
  color: #61491d;
  font-weight: 700;
}
.placeholder {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 8px;
  background: #fff0f0;
  border: 1px dashed #f39a9a;
  color: var(--danger);
  font-weight: 900;
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(47,125,244,.22);
}
.button.secondary { background: #fff; color: var(--blue-dark); border: 1px solid var(--line); box-shadow: none; }
.contact-button { margin-top: 8px; }
.contact-note {
  max-width: 760px;
  color: #3e5872;
}
.contact-address {
  margin: 18px 0 0;
  overflow-wrap: anywhere;
}
.policy-page .container { width: min(860px, calc(100% - 32px)); }
.policy-page .policy-hero { padding: 42px 0 18px; }
.policy-page .policy-hero::after { display: none; }
.policy-page .policy-hero h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(34px, 6vw, 56px);
}
.policy-page .section { padding: 26px 0; }
.policy-page .section-title { font-size: clamp(24px, 3vw, 32px); }
.policy-page .section-title::before {
  content: "";
  width: 6px;
  height: 1.35em;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: none;
}
.policy-page .panel,
.policy-page .card {
  box-shadow: 0 8px 24px rgba(25,79,145,.07);
}
.footer {
  padding: 36px 0 46px;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}
.table th, .table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.table th { width: 30%; color: var(--blue-dark); background: #f4faff; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
  .hero { padding-top: 26px; }
  .hero-card, .panel, .card { padding: 20px; border-radius: 22px; }
  .timer-ring { width: 76%; }
  .train-badge { width: 56px; height: 56px; font-size: 28px; }
  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .nav-links a { justify-content: center; text-align: center; }
  .policy-page .nav-links { display: flex; width: auto; }
  .policy-page .policy-hero h1 { overflow-wrap: anywhere; }
}
@media (max-width: 420px) {
  .container,
  .policy-page .container { width: min(100% - 24px, 860px); }
  .site-header { padding-top: 22px; }
  h1 { font-size: 38px; }
  .section { padding: 32px 0; }
  .section-title { font-size: 25px; }
  .section-title::before {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 23px;
  }
  .button { width: 100%; }
  .table th,
  .table td { padding: 12px 10px; }
}
@media print {
  body { background: #fff; }
  .nav-links, .hero-card, .cta { display: none; }
  .card, .panel { box-shadow: none; }
}
