:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-alt: #eef3f8;
  --text: #17202a;
  --muted: #637083;
  --line: #dbe3ec;
  --accent: #1769aa;
  --accent-dark: #0d4f85;
  --shadow: 0 18px 50px rgba(17, 33, 52, 0.08);
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--accent-dark); }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 227, 236, 0.9);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 0.94rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.hero {
  padding: 112px 0 96px;
  background:
    radial-gradient(circle at 80% 5%, rgba(23, 105, 170, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
  border-bottom: 1px solid var(--line);
}

.hero.compact { padding: 86px 0 72px; }

.hero-inner { max-width: 820px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

h1, h2, h3 {
  line-height: 1.35;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.9rem);
  font-weight: 850;
}

.hero.compact h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #445166;
  font-size: clamp(1.06rem, 2vw, 1.3rem);
}

.updated {
  margin: 18px 0 0;
  color: var(--muted);
}

.actions { margin-top: 34px; }

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.primary:hover {
  color: #fff;
  background: var(--accent-dark);
}

.section { padding: 70px 0 88px; }

.section h2 {
  margin: 52px 0 20px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section h2:first-child { margin-top: 0; }

.section h3 {
  margin: 30px 0 12px;
  font-size: 1.2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card,
.service-card,
.operator,
.notice {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
}

.card {
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 4px 0 10px;
  font-size: 1.35rem;
}

.card p { color: var(--muted); }

.card-label {
  margin: 0;
  color: var(--accent) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  font-weight: 700;
  text-decoration: none;
}

.prose {
  max-width: 900px;
  font-size: 1rem;
}

.prose p,
.prose li {
  color: #334155;
}

.prose ul {
  padding-left: 1.4em;
}

.prose li + li { margin-top: 6px; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.service-card {
  padding: 22px;
}

.service-card h3 {
  margin-top: 0;
  color: var(--text);
}

.service-card p {
  margin-bottom: 0;
}

.notice {
  margin: 24px 0 0;
  padding: 20px 22px;
  background: #eef6fc;
  border-color: #cfe5f6;
  color: #24435e;
  font-weight: 650;
}

.operator {
  padding: 22px;
  background: var(--surface-alt);
}

.operator p:first-child { margin-top: 0; }
.operator p:last-child { margin-bottom: 0; }

.policy h2 {
  margin-top: 58px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.policy h3 { margin-top: 28px; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner a {
  color: var(--muted);
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 62px; }
  .nav { gap: 12px; font-size: 0.84rem; }
  .hero { padding: 80px 0 68px; }
  .hero.compact { padding: 64px 0 54px; }
  .section { padding: 50px 0 64px; }
  .feature-list,
  .service-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    padding: 22px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 500px) {
  .brand { font-size: 0.95rem; }
  .nav a:first-child { display: none; }
}
