@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500;600;700&display=swap');

:root {
  --paper: #fbf9f1;
  --surface: #fffefb;
  --ink: #182f4b;
  --muted: #627185;
  --line: #d4dcd9;
  --blue: #2674c9;
  --blue-soft: #eaf3f9;
  --yellow: #edc95b;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --serif: "Noto Serif JP", "Yu Mincho", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
a { color: var(--blue); text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 2px; }
::selection { background: #cde0ff; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  padding: 8px 16px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffffed;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(100% - 72px, 1200px);
  min-height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); font-family: var(--serif); font-size: 20px; font-weight: 700; text-decoration: none; line-height: 1.5; letter-spacing: .08em; }
.logo small { display: block; margin-top: 3px; font-family: var(--font); font-size: 10px; font-weight: 500; letter-spacing: .12em; }
.logo-mark { display: grid; place-items: center; width: 45px; height: 49px; background: var(--blue); color: #fff; border-radius: 5px; font-family: Arial, sans-serif; font-size: 22px; letter-spacing: -.04em; position: relative; }
.logo-mark::after { content: ""; position: absolute; width: 9px; height: 9px; background: var(--yellow); right: -4px; top: -3px; transform: rotate(45deg); }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 600; text-decoration: none; padding: 10px 0; }
.back-link span { color: var(--blue); font-size: 20px; }

.page-header { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(115deg, #f2f7ff 0%, #fff 85%); border-bottom: 1px solid var(--line); }
.page-header::after { content: ""; position: absolute; width: 320px; height: 320px; right: max(5vw, calc((100vw - 1100px) / 2)); top: -130px; border: 1px solid #bdd4f652; border-radius: 50%; z-index: -1; }
.page-header-inner, .content { width: min(100% - 48px, 840px); margin: auto; }
.page-header-inner { position: relative; padding: 70px 0 64px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 21px; color: var(--blue); font-family: var(--font); font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--blue); }
h1, h2, h3 { line-height: 1.6; }
h1 { max-width: 820px; margin: 0; font-family: var(--serif); font-size: clamp(27px, 3.6vw, 39px); font-weight: 700; letter-spacing: .025em; text-wrap: balance; }
.intro { margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 2; }
.header-spark { position: absolute; right: 10px; bottom: 62px; color: var(--yellow); font-size: 31px; transform: rotate(-12deg); }
.content { padding: 48px 0 86px; }

.review-note { display: block; margin: 0 0 24px; padding: 20px 25px; background: #f2f6ff; border: 1px solid #d5e3f8; border-left: 3px solid var(--blue); border-radius: 5px; font-size: 13px; }
.review-note strong { display: block; margin-bottom: 5px; font-weight: 600; }
.card { margin: 0 0 22px; padding: clamp(25px, 4vw, 42px); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 6px 24px #0758ed03; }
.card h2 { margin: 0 0 18px; font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: .045em; }
.card h3 { margin: 24px 0 8px; font-size: 16px; }
.card p { margin: 13px 0; }
.card .section-number { margin: 0 0 15px; color: var(--blue); font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.card ul, .card ol { margin: 12px 0; padding-left: 1.35em; }
.card li + li { margin-top: 7px; }
.card li::marker { color: var(--blue); }
.muted { color: var(--muted); font-size: 13px; }

.contact-card { position: relative; padding-top: 37px; background: #fff; border-top: 3px solid var(--blue); }
.contact-card h2 { font-size: clamp(23px, 3vw, 28px); margin-bottom: 20px; }
.card .status-label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 25px; padding: 4px 12px; color: var(--ink); border: 1px solid #bdcde0; border-radius: 30px; font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.status-label span { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.topic-list { list-style: none; padding-left: 0 !important; }
.topic-list li { position: relative; padding: 12px 12px 12px 30px; background: #f5f8ff; border-radius: 4px; }
.topic-list li::before { content: "✦"; position: absolute; left: 10px; color: var(--blue); font-size: 11px; }
.text-link { display: inline-flex; align-items: center; gap: 24px; margin-top: 18px; color: var(--ink); border-bottom: 1px solid var(--blue); padding-bottom: 8px; text-decoration: none; font-size: 13px; font-weight: 600; }
.text-link span { color: var(--blue); font-size: 19px; }
.text-link:hover { color: var(--blue); }

.policy-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.policy-table th, .policy-table td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.policy-table th { width: 29%; background: #f5f8ff; font-size: 12px; font-weight: 600; }
.policy-table td { padding-left: 22px; }
.policy-table tr:first-child th, .policy-table tr:first-child td { border-top: 1px solid var(--line); }
.policy-table ul { margin: 0 0 8px; }
.policy-table .muted { font-size: 11px; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.related-links a { font-size: 12px; }

footer { background: #0f2548; color: #d9e2ec; padding: 50px 24px 30px; text-align: center; }
.footer-brand { color: #fff; font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: .1em; text-decoration: none; }
.footer-tagline { margin: 10px 0 28px; color: #d1dceb; font-size: 11px; letter-spacing: .12em; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 32px; }
.footer-links a { color: #d9e2ec; font-size: 11px; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
footer small { color: #a9bed3; font-size: 10px; letter-spacing: .08em; }
footer a:focus-visible { outline-color: var(--yellow); }

@media (max-width: 620px) {
  body { font-size: 14px; }
  .nav { width: calc(100% - 36px); min-height: 76px; gap: 12px; }
  .logo { font-size: 16px; gap: 9px; }
  .logo small { font-size: 8px; letter-spacing: .05em; }
  .logo-mark { width: 36px; height: 40px; border-radius: 4px; font-size: 18px; }
  .back-link { font-size: 10px; }
  .back-link span { font-size: 16px; }
  .page-header-inner, .content { width: calc(100% - 36px); }
  .page-header-inner { padding: 45px 0 39px; }
  h1 { font-size: clamp(25px, 6.2vw, 32px); }
  .intro { font-size: 12px; padding-right: 18px; }
  .eyebrow { font-size: 8px; gap: 9px; margin-bottom: 17px; }
  .eyebrow::before { width: 18px; }
  .header-spark { right: 0; bottom: 25px; font-size: 24px; }
  .page-header::after { width: 210px; height: 210px; right: -100px; top: -70px; }
  .content { padding: 28px 0 52px; }
  .card { padding: 26px 21px; margin-bottom: 17px; }
  .card h2 { font-size: 19px; }
  .contact-card h2 { font-size: 24px; }
  .review-note { padding: 16px 18px; font-size: 12px; }
  .policy-table, .policy-table tbody, .policy-table tr, .policy-table th, .policy-table td { display: block; width: 100%; }
  .policy-table tr { border-bottom: 1px solid var(--line); }
  .policy-table th { padding: 10px 12px; border: 0; }
  .policy-table td { padding: 12px 12px 17px; border: 0; }
  .policy-table tr:first-child th, .policy-table tr:first-child td { border-top: 0; }
  .footer-links { gap: 12px 20px; }
}
@media (max-width: 360px) {
  .desktop-break { display: none; }
  .back-link { font-size: 9px; }
  .card { padding: 23px 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .topbar, .skip-link, footer, .related-links { display: none; }
  body { background: #fff; font-size: 10pt; }
  .page-header { background: #fff; }
  .page-header-inner { padding: 20px 0; }
  .content { padding: 20px 0; }
  .card { box-shadow: none; border-radius: 0; break-inside: avoid; }
}
