@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #17243b;
  --ink-soft: #52627a;
  --navy: #102b52;
  --blue: #1d5fd1;
  --blue-deep: #144aa8;
  --aqua: #33b8aa;
  --sky: #eaf2ff;
  --mint: #e8f7f3;
  --paper: #ffffff;
  --canvas: #f4f7fb;
  --line: #d9e4f0;
  --amber: #98640b;
  --amber-bg: #fff7df;
  --danger: #a33e49;
  --danger-bg: #fff0f1;
  --radius: 22px;
  --shadow: 0 22px 70px rgba(19, 50, 91, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 0 18%, rgba(61, 183, 170, .10), transparent 28rem),
    radial-gradient(circle at 100% 42%, rgba(42, 100, 210, .09), transparent 30rem),
    var(--canvas);
  color: var(--ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Sans", "Noto Sans JP", Meiryo, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.86;
  letter-spacing: .018em;
  overflow-wrap: anywhere;
}

a { color: var(--blue); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #e0892e;
  outline-offset: 4px;
}
img { max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.skip-link {
  position: fixed !important;
  left: 16px !important;
  top: -100px !important;
  z-index: 1000;
  background: #fff !important;
  color: var(--navy);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px !important; }

.uplink-bar {
  background: #08182b;
  color: #dceaff;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.uplink-bar .wrap {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.uplink-home {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .14em;
}
.uplink-home::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #72dec8;
  box-shadow: 0 0 18px #72dec8;
}
.uplink-bar span { font-size: .72rem; letter-spacing: .16em; opacity: .72; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.90);
  border-bottom: 1px solid rgba(191, 208, 226, .82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.head-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: var(--navy);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: .01em;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--aqua));
  box-shadow: 0 10px 25px rgba(35, 110, 194, .25);
}
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  background: #edf2f8;
  color: #3e5673;
  font-size: .74rem;
  font-weight: 850;
}
.tag.free { background: #dff6ec; color: #176047; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #3c516d;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 800;
  white-space: nowrap;
}
.nav a:hover { background: #edf3fa; }
.nav a[aria-current="page"] { color: #fff; background: var(--blue); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(66px, 8vw, 112px) 0 clamp(60px, 7vw, 98px);
  color: #fff;
  background:
    linear-gradient(118deg, rgba(8,31,62,.98), rgba(18,74,145,.94) 62%, rgba(27,139,137,.88)),
    #102f5d;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  opacity: .66;
}
.hero::before {
  width: 40rem;
  height: 40rem;
  right: -13rem;
  top: -24rem;
  border: 1px solid rgba(255,255,255,.34);
  box-shadow: inset 0 0 80px rgba(111,224,203,.16), 0 0 120px rgba(111,224,203,.12);
}
.hero::after {
  width: 17rem;
  height: 17rem;
  right: 14%;
  bottom: -11rem;
  background: rgba(107, 222, 201, .18);
  box-shadow: 0 0 90px rgba(107, 222, 201, .36);
}
.hero .wrap { position: relative; }
.hero h1 {
  max-width: 920px;
  margin: 16px 0 12px;
  font-size: clamp(2.25rem, 5.6vw, 4.6rem);
  line-height: 1.18;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero h1 > span { display: block; }
.hero p {
  max-width: 780px;
  margin: 0;
  color: #eff8ff;
  font-size: clamp(1rem, 1.8vw, 1.14rem);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: 6px 13px;
  background: rgba(255,255,255,.10);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .08em;
}

main { padding: 42px 0 86px; }
.section {
  position: relative;
  margin-bottom: 26px;
  padding: clamp(24px, 4.2vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(207,220,234,.95);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.section::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 92px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--aqua));
}
.section h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.42;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.section h3 { margin: 26px 0 9px; color: #223d63; font-size: 1.16rem; }
.section p { margin: 12px 0; }
.lead { color: #344861; font-size: 1.08rem; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.grid2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.info-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #f7faff);
}
.item h3 { margin: 0 0 7px; font-size: 1.08rem; }
.item p { margin: 6px 0; color: #43556c; font-size: .94rem; }
.feature-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 13px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--aqua));
  font-size: .9rem;
  font-weight: 900;
}

.notice {
  margin: 20px 0;
  padding: 17px 19px;
  border: 1px solid #cbdcf2;
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  background: var(--sky);
}
.notice.green { border-color: #bae3d8; border-left-color: #27836a; background: var(--mint); }
.notice.amber { border-color: #efdbad; border-left-color: #c18a29; background: var(--amber-bg); }
.notice.red { border-color: #efc8cc; border-left-color: #c85c65; background: var(--danger-bg); }
.notice strong { display: block; color: var(--navy); }
.small { color: var(--ink-soft); font-size: .88rem; }

.steps { padding: 0; list-style: none; counter-reset: steps; }
.steps > li { position: relative; min-height: 48px; padding: 0 0 26px 58px; counter-increment: steps; }
.steps > li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--aqua));
  font-weight: 900;
}
.steps > li strong { color: var(--navy); }
.list-tight { padding-left: 1.25em; }
.list-tight li { margin: 5px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 4px 7px 4px 0;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 850;
}
.btn-blue { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); box-shadow: 0 10px 26px rgba(29,95,209,.20); }
.btn-soft { color: #183f78; border-color: #d1deed; background: #edf3fa; }
.btn:hover { filter: brightness(.98); text-decoration: none; transform: translateY(-1px); }

.figure {
  margin: 20px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafd;
}
.figure img { display: block; width: 100%; height: auto; border-radius: 11px; }
.figure figcaption { margin: 11px 5px 1px; color: var(--ink-soft); font-size: .85rem; }
.table-scroll { overflow-x: auto; border-radius: 13px; }
.compare { width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem; }
.compare th, .compare td { padding: 13px 12px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.compare th { color: #244263; background: #eaf1f9; }
.compare td:first-child { font-weight: 750; }

.tabset { display: flex; gap: 9px; flex-wrap: wrap; margin: 22px 0; }
.tabset button {
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #355177;
  background: #eef3fa;
  font-weight: 850;
}
.tabset button[aria-selected="true"] { color: #fff; border-color: var(--blue); background: var(--blue); }
.tabpanel[hidden] { display: none; }
.checklist { display: grid; gap: 10px; }
.checkline {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}
.checkline input { flex: none; width: 24px; height: 24px; margin-top: 2px; accent-color: var(--blue); }
.checkline span { flex: 1; }
.progress { margin-bottom: 10px; color: #385b7c; font-size: .92rem; font-variant-numeric: tabular-nums; }
.example { margin: 14px 0; padding: 18px; border: 1px solid #cbd9ea; border-radius: 12px; background: #f8fafc; }
.example.bad { border-left: 5px solid #c95f68; }
.example.good { border-left: 5px solid #30946e; }
.example strong { display: block; margin-bottom: 6px; }
.details { padding: 12px 0; border-bottom: 1px solid var(--line); }
.details summary { color: var(--navy); cursor: pointer; font-weight: 850; }
.flowline { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.flowline span { padding: 10px 15px; border: 1px solid var(--line); border-radius: 11px; background: #f7f9fd; font-weight: 800; }
.flowline b { color: #48647f; }
.ref-list li { margin: 9px 0; word-break: break-word; }

.footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: #59697d;
  background: #fff;
}
.footer .wrap { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer p { max-width: 780px; margin: 0; font-size: .84rem; }
.footer-links { display: flex; gap: 8px 16px; flex-wrap: wrap; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; }
.item > a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }
.print-only { display: none; }

@media (max-width: 980px) {
  .head-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .nav { width: 100%; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 3px; }
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 26px); }
  .uplink-bar span { display: none; }
  .site-head { position: relative; }
  .head-inner { min-height: auto; }
  .nav { flex-wrap: wrap; overflow-x: visible; }
  .nav a { padding: 7px 10px; }
  .logo { align-items: flex-start; flex-wrap: wrap; }
  .logo-mark { width: 38px; height: 38px; }
  .tag.free { margin-left: 49px; margin-top: -10px; }
  .hero { padding: 48px 0 52px; }
  .hero h1 {
    max-width: 100%;
    padding-right: 4px;
    font-size: clamp(1.9rem, 8.7vw, 2.6rem);
    line-height: 1.3;
    overflow-wrap: anywhere;
    text-wrap: wrap;
  }
  .hero p { max-width: 100%; padding-right: 4px; overflow-wrap: anywhere; }
  main { padding: 26px 0 62px; }
  .section { padding: 22px 18px; border-radius: 18px; }
  .grid, .grid2, .info-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; margin-right: 0; }
  .compare th, .compare td { min-width: 145px; }
  .figure { padding: 7px; }
  .flowline { align-items: stretch; flex-direction: column; }
  .flowline b { align-self: center; transform: rotate(90deg); }
}

@media print {
  .uplink-bar, .site-head, .footer, .hero-actions, .hide-print { display: none !important; }
  body { background: #fff; }
  .hero { padding: 15px 0; color: #111; background: #fff; }
  .hero p { color: #333; }
  .section { box-shadow: none; break-inside: avoid; page-break-inside: avoid; }
  a { color: #000; }
  .print-only { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
