:root {
  --bg: #f2fbff;
  --card: #ffffff;
  --ink: #17324d;
  --muted: #5f7185;
  --accent: #2f9ee5;
  --accent-2: #28a76f;
  --line: #d7ecf7;
  --soft: #e9f7ff;
  --shadow: 0 16px 40px rgba(42, 97, 138, 0.14);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, #dff6ff 0, transparent 38%),
    linear-gradient(180deg, #f7fdff 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: "BIZ UDPGothic", "BIZ UDゴシック", "BIZ UDGothic", "Yu Gothic",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

a {
  color: #1479bd;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #c8f0ff, #fff4bf);
  box-shadow: 0 8px 22px rgba(47, 158, 229, 0.18);
  font-size: 27px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.hero {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -60px -100px auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(255, 221, 89, 0.22);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--soft);
  color: #136ca5;
  border: 1px solid #cfeefe;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.92rem;
  font-weight: 800;
}

h1 {
  margin: 18px 0 12px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: var(--muted);
  max-width: 720px;
  margin: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(47, 158, 229, 0.22);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.card {
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(42, 97, 138, 0.08);
}

.card h2, .card h3 {
  margin-top: 0;
  line-height: 1.35;
}

.card h2 {
  font-size: 1.45rem;
}

.card h3 {
  font-size: 1.12rem;
}

.section {
  margin-top: 24px;
}

.list {
  padding-left: 1.35em;
}

.notice {
  border-left: 6px solid var(--accent-2);
  background: #f0fff7;
}

.contact-button {
  margin-top: 6px;
}

.contact-note {
  color: var(--muted);
  max-width: 760px;
}

.contact-address {
  margin: 18px 0 0;
  overflow-wrap: anywhere;
}

.policy-page .site {
  width: min(840px, calc(100% - 32px));
}

.policy-page .policy-hero {
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 8px 24px rgba(42, 97, 138, 0.08);
}

.policy-page .policy-hero::after {
  display: none;
}

.policy-page .section {
  margin-top: 18px;
}

.policy-page .card {
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 6px 18px rgba(42, 97, 138, 0.06);
}

.policy-page .card h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
}

.policy-page .card h2::before {
  content: "";
  width: 6px;
  height: 1.35em;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
}

dl {
  display: grid;
  grid-template-columns: 12em 1fr;
  gap: 10px 18px;
  margin: 0;
}

dt {
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--muted);
}

.footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.small {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .site {
    width: min(100% - 24px, 980px);
    padding-top: calc(env(safe-area-inset-top, 0px) + 18px);
  }

  .header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .nav a {
    justify-content: center;
    text-align: center;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .card {
    border-radius: 22px;
  }

  dl {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }

  dd {
    margin-bottom: 12px;
  }

  .policy-page .site {
    width: min(100% - 24px, 840px);
  }

  .policy-page .card {
    padding: 20px;
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  .button {
    width: 100%;
  }

  h1 {
    font-size: 2rem;
  }
}
