:root {
  --navy-950: #040d16;
  --navy-900: #071522;
  --navy-800: #0b2034;
  --navy-700: #16334d;
  --blue-600: #087eff;
  --blue-500: #1596ff;
  --blue-400: #3eb4ff;
  --blue-100: #e8f4ff;
  --ink: #081522;
  --muted: #65788e;
  --line: #e3ecf5;
  --surface: #f7faff;
  --white: #fff;
  --shadow: 0 18px 50px rgb(8 33 56 / 10%);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 78px;
  color: #fff;
  background: rgb(4 13 22 / 94%);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 184px;
  height: 45px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  color: rgb(255 255 255 / 78%);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-400);
  content: "";
  transform: scaleX(0);
  transition: transform .2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
.site-nav a:focus-visible,
.footer-links a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgb(62 180 255 / 70%);
  outline-offset: 4px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600) 72%);
  box-shadow: 0 12px 28px rgb(8 126 255 / 26%);
}

.header-contact {
  min-height: 42px;
  flex: 0 0 auto;
  padding-inline: 21px;
  font-size: 12px;
}

.page-hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgb(4 13 22 / 98%), rgb(4 13 22 / 82%) 48%, rgb(4 13 22 / 28%)),
    var(--navy-900) url("assets/head.png") 64% 57% / cover no-repeat;
}

.page-hero::after {
  position: absolute;
  right: -7%;
  bottom: -180px;
  width: 520px;
  height: 270px;
  border-radius: 50%;
  background: rgb(8 126 255 / 22%);
  filter: blur(70px);
  content: "";
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 390px;
  align-items: center;
  padding: 64px 0;
}

.page-hero-copy {
  max-width: 670px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin: 0 0 20px;
  color: rgb(255 255 255 / 56%);
  font-size: 12px;
}

.breadcrumb a:hover {
  color: #fff;
}

.page-kicker,
.eyebrow {
  margin: 0 0 7px;
  color: var(--blue-400);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.28;
  text-wrap: balance;
}

.page-hero p:last-child {
  max-width: 590px;
  margin: 18px 0 0;
  color: rgb(255 255 255 / 78%);
}

.section {
  padding: 80px 0;
}

.section-soft {
  background:
    radial-gradient(circle at 50% 0, rgb(21 150 255 / 7%), transparent 36%),
    var(--surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 35px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.35;
}

.section-heading > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
}

.feature-grid,
.info-grid,
.network-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card,
.info-card,
.network-card {
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 34px rgb(9 43 72 / 5%);
}

.feature-icon,
.number-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  color: var(--blue-600);
  background: var(--blue-100);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3,
.info-card h3,
.network-card h3 {
  margin: 18px 0 6px;
  font-size: 18px;
  line-height: 1.5;
}

.feature-card p,
.info-card p,
.network-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.showcase-media {
  min-height: 410px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.showcase-media img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.showcase-media--sign img {
  object-position: center 62%;
}

.showcase-media--phone img {
  object-position: center 48%;
}

.showcase-copy h2 {
  margin: 0;
  font-size: clamp(29px, 3.8vw, 44px);
  line-height: 1.4;
}

.showcase-copy > p {
  margin: 16px 0 0;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-weight: 700;
}

.check-list li::before {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-600);
  content: "✓";
  font-size: 12px;
}

.steps-list {
  display: grid;
  gap: 20px;
}

.use-step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(320px, .8fr);
  align-items: center;
  gap: 26px;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 34px rgb(9 43 72 / 5%);
}

.use-step-number {
  display: grid;
  width: 50px;
  height: 50px;
  margin-left: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-600);
  background: var(--blue-100);
  font-weight: 900;
}

.use-step h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.45;
}

.use-step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.use-step-media {
  align-self: stretch;
  min-height: 230px;
  overflow: hidden;
  background: #eaf3fd;
}

.use-step-media img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.use-step-media--sign img {
  object-position: center 53%;
}

.use-step-media--phone img {
  object-position: center 49%;
}

.success-visual {
  display: grid;
  height: 100%;
  min-height: 230px;
  place-items: center;
  background: linear-gradient(135deg, #edf7ff, #f8fbff);
}

.success-visual span {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-400), var(--blue-600));
  box-shadow: 0 16px 35px rgb(8 126 255 / 25%);
  font-size: 34px;
}

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

.network-card {
  min-height: 290px;
}

.network-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.partner-icon {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #07090c;
}

.partner-icon img {
  width: 64%;
  height: 64%;
  object-fit: contain;
}

.partner-icon--polygon {
  background: #f1eaff;
}

.partner-icon--polygon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.network-title h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.45;
}

.network-title small {
  display: block;
  color: var(--blue-600);
  font-weight: 800;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 22px;
}

.brand-chip {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 800;
}

.brand-chip img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brand-chip--jpyc img {
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline::before {
  position: absolute;
  top: 29px;
  right: 11%;
  left: 11%;
  height: 2px;
  background: linear-gradient(90deg, #b9dfff, var(--blue-500));
  content: "";
}

.timeline-item {
  position: relative;
  z-index: 1;
  padding: 0 8px;
  text-align: center;
}

.timeline-number {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 19px;
  place-items: center;
  border: 6px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-600);
  box-shadow: 0 0 0 1px #cce6ff;
  font-weight: 900;
}

.timeline-item h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.faq-list {
  display: grid;
  max-width: 900px;
  gap: 12px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(9 43 72 / 4%);
}

.faq-list summary {
  position: relative;
  padding: 20px 58px 20px 24px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 23px;
  color: var(--blue-600);
  content: "+";
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 14px;
}

.faq-answer p {
  margin: 0;
}

.cta {
  padding: 0 0 34px;
  background: var(--surface);
}

.cta-panel {
  position: relative;
  display: flex;
  min-height: 176px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  overflow: hidden;
  padding: 34px 42px;
  border-radius: 20px;
  color: #fff;
  background:
    linear-gradient(90deg, rgb(4 15 25 / 94%), rgb(4 15 25 / 38%)),
    var(--navy-900) url("assets/bottom.png") center / cover no-repeat;
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(25px, 3.4vw, 37px);
  line-height: 1.4;
}

.cta-panel p {
  margin: 5px 0 0;
  color: rgb(255 255 255 / 76%);
  font-size: 14px;
}

.cta-panel .btn {
  min-width: 202px;
  flex: 0 0 auto;
}

.site-footer {
  padding: 23px 0 30px;
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-logo img {
  width: 170px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.footer-links {
  display: flex;
  color: #7e8fa2;
  font-size: 11px;
}

.footer-links a {
  padding: 0 14px;
  border-right: 1px solid #c0ccd8;
}

.footer-links a:last-child {
  padding-right: 0;
  border-right: 0;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--blue-600);
}

/* Legal information pages */
.legal-hero {
  min-height: 320px;
}

.legal-hero .page-hero-inner {
  min-height: 320px;
  padding-block: 52px;
}

.legal-hero .page-hero-copy {
  max-width: 760px;
}

.legal-hero h1 {
  font-size: clamp(36px, 4.6vw, 54px);
}

.legal-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 42px;
}

.legal-toc {
  position: sticky;
  top: 104px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgb(9 43 72 / 5%);
}

.legal-toc strong {
  display: block;
  margin-bottom: 11px;
  color: var(--navy-700);
  font-size: 13px;
  letter-spacing: .06em;
}

.legal-toc ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-toc a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.legal-toc a:hover {
  color: var(--blue-600);
}

.legal-document {
  min-width: 0;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legal-meta span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
  content: "";
}

.draft-notice,
.service-assumption {
  margin: 0 0 32px;
  padding: 18px 20px;
  border: 1px solid #f3d48a;
  border-radius: 13px;
  color: #684b0a;
  background: #fff9e9;
  font-size: 13px;
}

.draft-notice strong,
.service-assumption strong {
  display: block;
  margin-bottom: 3px;
  color: #4c3505;
}

.service-assumption {
  border-color: #bcdcff;
  color: #164269;
  background: #f1f8ff;
}

.service-assumption strong {
  color: #0b3155;
}

.legal-lead {
  margin: 0 0 34px;
  color: #31465a;
}

.legal-section {
  scroll-margin-top: 105px;
  padding: 31px 0;
  border-top: 1px solid var(--line);
}

.legal-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--navy-800);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.5;
}

.legal-section h3 {
  margin: 24px 0 8px;
  color: var(--navy-700);
  font-size: 16px;
}

.legal-section p {
  margin: 10px 0 0;
  color: #3e5267;
  font-size: 14px;
}

.legal-section ul,
.legal-section ol {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 1.35em;
  color: #3e5267;
  font-size: 14px;
}

.legal-section li::marker {
  color: var(--blue-600);
  font-weight: 800;
}

.legal-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--blue-500);
  color: #38566f;
  background: var(--surface);
  font-size: 13px;
}

.legal-table {
  width: 100%;
  margin-top: 15px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
}

.legal-table th,
.legal-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table th {
  width: 28%;
  color: var(--navy-700);
  background: #f4f8fc;
  font-weight: 800;
}

.status-pending {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  color: #77520a;
  background: #fff1c9;
  font-size: 11px;
  font-weight: 800;
}

.contact-box {
  margin-top: 15px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.contact-box p:first-child {
  margin-top: 0;
  color: var(--navy-800);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .header-contact {
    margin-left: auto;
  }

  .page-hero {
    background-position: 70% center;
  }

  .feature-grid,
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .showcase {
    gap: 32px;
  }

  .use-step {
    grid-template-columns: 64px minmax(0, 1fr);
    padding-top: 24px;
  }

  .use-step-media {
    grid-column: 1 / -1;
    min-height: 300px;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
    gap: 34px 18px;
  }

  .timeline::before {
    display: none;
  }

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

  .legal-toc {
    position: static;
  }

  .legal-toc ol {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    height: 68px;
  }

  .brand img {
    width: 145px;
    height: 37px;
  }

  .header-contact {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 11px;
  }

  .page-hero,
  .page-hero-inner {
    min-height: 360px;
  }

  .page-hero {
    background:
      linear-gradient(90deg, rgb(4 13 22 / 93%), rgb(4 13 22 / 62%)),
      var(--navy-900) url("assets/head.png") 67% center / cover no-repeat;
  }

  .page-hero-inner {
    padding: 52px 0;
  }

  .page-hero h1 {
    font-size: 35px;
  }

  .legal-hero h1 {
    font-size: clamp(27px, 7.7vw, 30px);
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .page-hero p:last-child {
    font-size: 14px;
  }

  .legal-hero,
  .legal-hero .page-hero-inner {
    min-height: 330px;
  }

  .section {
    padding: 56px 0;
  }

  .feature-grid,
  .info-grid,
  .network-grid,
  .showcase,
  .timeline {
    grid-template-columns: 1fr;
  }

  .legal-shell {
    gap: 22px;
  }

  .legal-toc {
    padding: 18px;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-document {
    padding: 23px 20px;
    border-radius: 16px;
  }

  .legal-section {
    padding: 25px 0;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
  }

  .legal-table th {
    min-width: 115px;
  }

  .feature-card,
  .info-card,
  .network-card {
    padding: 23px;
  }

  .showcase-media,
  .showcase-media img {
    min-height: 330px;
  }

  .use-step {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
  }

  .use-step-number {
    width: 44px;
    height: 44px;
    margin-left: 13px;
  }

  .use-step h2 {
    font-size: 20px;
  }

  .use-step-media {
    min-height: 260px;
  }

  .use-step-media img {
    min-height: 260px;
  }

  .cta-panel {
    display: block;
    padding: 29px 24px;
  }

  .cta-panel .btn {
    min-width: 0;
    margin-top: 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }

  .footer-links {
    width: 100%;
    justify-content: space-between;
    font-size: 10px;
  }

  .footer-links a {
    padding: 0 9px;
  }

  .footer-links a:first-child {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
