:root {
  --navy: #0b2450;
  --ink: #18345f;
  --body: #52647d;
  --muted: #8291a5;
  --line: #dfe8f5;
  --soft-line: #eef4fb;
  --soft: #f7fbff;
  --blue: #1768dc;
  --blue-deep: #0c54bd;
  --white: #fff;
  --shadow: 0 14px 34px rgb(6 27 73 / 6%);
  --strong-shadow: 0 18px 48px rgb(6 27 73 / 9%);
  --page-max: 1120px;
  --page-gutter: clamp(40px, 8vw, 168px);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--body);
  background: linear-gradient(180deg, #fbfdff 0%, #fff 38%, #f8fbff 100%);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); }
p { line-height: 1.78; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner,
.hero,
.mobile-notice,
.section-panel,
.platform-stack,
.bottom-cta {
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin-inline: auto;
}
.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 30px;
  font-weight: 700;
  white-space: nowrap;
}
.brand-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: contain;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.desktop-nav a { padding: 24px 0; }
.desktop-nav a:hover { color: var(--blue); }

.hero {
  padding: 56px 0 38px;
  display: grid;
  grid-template-columns: minmax(360px, .98fr) minmax(360px, 1.02fr);
  gap: clamp(30px, 5vw, 62px);
  align-items: center;
}
.hero-kicker {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}
.hero h1 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(34px, 3.45vw, 48px);
  line-height: 1.18;
}
.hero-lead {
  max-width: 610px;
  margin-bottom: 26px;
  color: var(--ink);
  font-size: 16px;
}
.platform-links { display: flex; flex-wrap: wrap; gap: 10px; }
.platform-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid #cadcf3;
  border-radius: 14px;
  color: var(--blue-deep);
  background: var(--white);
  font-weight: 700;
  box-shadow: 0 8px 20px rgb(6 27 73 / 4%);
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.platform-links img { width: 24px; height: 24px; object-fit: contain; }
.platform-links a[href="#android"] img { width: 36px; }
.platform-links a:hover { border-color: var(--blue); background: #f4f8ff; }
.platform-links a:active { transform: translateY(1px); }
.hero-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 26px 30px 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 22% 18%, rgb(23 104 220 / 9%), transparent 15rem),
    linear-gradient(135deg, #fff 0%, #eef6ff 100%);
  box-shadow: var(--strong-shadow);
  overflow: hidden;
}
.hero-visual img {
  width: auto;
  height: 400px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 24px rgb(11 36 80 / 12%));
}

.mobile-notice {
  min-height: 124px;
  margin-top: 8px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  border: 1px solid var(--soft-line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.mobile-notice img { width: 64px; height: 64px; object-fit: contain; }
.mobile-notice h2 { margin-bottom: 6px; font-size: 21px; }
.mobile-notice p { margin: 0; font-size: 14px; }

.section-panel,
.platform-section {
  border: 1px solid var(--soft-line);
  border-radius: 24px;
  background: rgb(255 255 255 / 94%);
  box-shadow: var(--shadow);
}
.section-panel {
  margin-top: 36px;
  padding: 36px 40px 42px;
}
.section-heading { max-width: 760px; margin-bottom: 26px; }
.section-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.3;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; }

.flow-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f8fbff;
  overflow: hidden;
}
.flow-list li {
  min-width: 0;
  padding: 24px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: start;
  gap: 14px;
  border-right: 1px solid var(--line);
}
.flow-list li:last-child { border-right: 0; }
.flow-number,
.item-number {
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  font-weight: 700;
}
.flow-number { width: 42px; height: 42px; border-radius: 14px; }
.flow-copy { min-width: 0; }
.flow-copy h3 { margin: 6px 0 7px; font-size: 18px; line-height: 1.4; }
.flow-copy > p:not(.tap-target) { margin-bottom: 16px; font-size: 13px; }
.tap-target {
  margin: 0;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
  border: 1px solid #d6e5f7;
  border-radius: 14px;
  color: var(--ink);
  background: #eef6ff;
  line-height: 1.5;
}
.tap-target span { color: var(--blue-deep); font-size: 11px; font-weight: 700; }
.tap-target strong { color: var(--navy); font-size: 14px; overflow-wrap: anywhere; }

.platform-stack {
  margin-top: 24px;
  display: grid;
  gap: 24px;
}
.platform-section { padding: 36px 40px 40px; }
.platform-section-ios { border-top: 4px solid #1d1d1f; }
.platform-section-android { border-top: 4px solid #3ddc84; }
.platform-heading {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: minmax(190px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}
.platform-identity {
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
}
.platform-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--white);
}
.platform-mark-ios img { width: 31px; height: 31px; }
.platform-mark-android { background: #effbf4; }
.platform-mark-android img { width: 43px; height: auto; }
.platform-name { min-width: 0; display: grid; gap: 1px; }
.platform-name strong { color: var(--navy); font-size: 17px; line-height: 1.35; }
.platform-name small { color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.platform-section-ios .platform-identity { background: #f7f7f8; }
.platform-section-android .platform-identity { background: #f5fcf8; }
.platform-heading h2 { margin-bottom: 5px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.3; }
.platform-heading p { margin: 0; color: var(--muted); font-size: 14px; }

.install-guide {
  margin-bottom: 22px;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(170px, .48fr) minmax(0, 1.52fr);
  gap: 22px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
}
.install-guide-heading { padding: 4px 0 0 4px; }
.install-guide-heading > p {
  width: fit-content;
  margin-bottom: 9px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: #e8f2ff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}
.install-guide-heading h3 { margin: 0; font-size: 18px; line-height: 1.45; }
.install-options {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}
.install-options li {
  min-width: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(100px, 122px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid #e5edf7;
  border-radius: 14px;
  background: var(--white);
}
.install-status {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 9px;
  color: #12613b;
  background: #eaf8f0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.install-status.secondary { color: var(--blue-deep); background: #eaf3ff; }
.install-status.unavailable { color: #70451a; background: #fff3df; }
.install-options strong { display: block; color: var(--navy); font-size: 14px; line-height: 1.55; }
.install-options p { margin: 3px 0 0; font-size: 12px; line-height: 1.65; }
.inline-link {
  width: fit-content;
  margin-top: 6px;
  display: inline-flex;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.inline-link:hover { color: var(--blue); }
.steps-intro {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}
.steps-intro span {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-size: 11px;
  font-weight: 700;
}
.platform-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  list-style: none;
}
.platform-steps li {
  min-width: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
}
.item-number {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 12px;
  font-size: 13px;
}
.platform-steps h3 { margin-bottom: 7px; font-size: 18px; line-height: 1.45; }
.platform-steps li > p:not(.tap-target) { margin-bottom: 18px; font-size: 13px; }
.platform-steps .tap-target { margin-top: auto; }
.recovery-box {
  margin-top: 18px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(210px, .7fr) minmax(360px, 1.3fr);
  gap: 14px 24px;
  align-items: center;
  border: 1px solid #d6e5f7;
  border-radius: 18px;
  background: #eef6ff;
}
.recovery-box h3 { margin-bottom: 4px; font-size: 16px; }
.recovery-box div > p { margin: 0; font-size: 13px; }
.settings-path {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--navy);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.recovery-note { grid-column: 2; margin: -4px 0 0; color: var(--muted); font-size: 12px; }

.check-list {
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
  border-top: 1px solid var(--line);
}
.check-list li {
  padding: 20px 4px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.check-list .item-number { margin: 0; }
.check-list h3 { margin-bottom: 4px; font-size: 17px; }
.check-list p { margin: 0; font-size: 13px; }
.sync-note {
  margin: 20px 0 0;
  padding: 16px 18px;
  border: 1px solid #d6e5f7;
  border-radius: 16px;
  color: var(--ink);
  background: #eef6ff;
  font-size: 13px;
}

.bottom-cta {
  margin: 36px auto 76px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border-radius: 24px;
  color: #dce8ff;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.bottom-cta h2 { margin-bottom: 8px; color: var(--white); font-size: 26px; }
.bottom-cta p { margin: 0; max-width: 560px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgb(255 255 255 / 52%);
  border-radius: 14px;
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}
.btn:hover { background: rgb(255 255 255 / 10%); }
.btn.primary { color: var(--navy); background: #ffc928; border-color: #ffc928; }
.btn.primary:hover { background: #ffd65b; }

.site-footer {
  padding: 30px 20px 36px;
  color: var(--white);
  text-align: center;
  background: var(--navy);
}
.site-footer p { margin: 0; font-size: 13px; }
.site-footer .platform-legal {
  max-width: 900px;
  margin: 12px auto 0;
  color: rgb(255 255 255 / 66%);
  font-size: 10px;
  line-height: 1.65;
}
.platform-legal a { text-decoration: underline; text-underline-offset: 2px; }
:focus-visible { outline: 3px solid #f0a431; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .platform-links a { transition: none; }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .header-inner,
  .hero,
  .mobile-notice,
  .section-panel,
  .platform-stack,
  .bottom-cta { width: min(100% - 24px, var(--page-max)); }
  .header-inner { min-height: 62px; }
  .brand { font-size: 28px; }
  .brand-icon { width: 28px; height: 28px; border-radius: 7px; }
  .hero { padding: 38px 0 28px; grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { padding-inline: 4px; }
  .hero-visual { min-height: 330px; padding-top: 20px; }
  .hero-visual img { height: 310px; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-list li { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-list li:last-child { border-bottom: 0; }
  .platform-steps { grid-template-columns: 1fr; }
  .install-guide { grid-template-columns: 1fr; gap: 14px; }
  .install-guide-heading { padding: 0; }
  .recovery-box { grid-template-columns: 1fr; }
  .recovery-note { grid-column: auto; margin-top: 0; }
  .bottom-cta { align-items: flex-start; flex-direction: column; }
  .cta-row { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 34px; }
  .hero-lead { font-size: 15px; }
  .platform-links { display: grid; grid-template-columns: 1fr 1fr; }
  .platform-links a { padding-inline: 12px; font-size: 14px; }
  .hero-visual { min-height: 300px; }
  .hero-visual img { height: 282px; }
  .mobile-notice { padding: 20px; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .mobile-notice img { width: 52px; height: 52px; }
  .mobile-notice h2 { font-size: 18px; }
  .mobile-notice p { font-size: 13px; }
  .section-panel,
  .platform-section { padding: 24px 20px; border-radius: 20px; }
  .section-heading { margin-bottom: 20px; }
  .section-heading h2 { font-size: 25px; }
  .flow-list li { padding: 20px 18px; }
  .platform-heading { grid-template-columns: 1fr; gap: 12px; }
  .platform-identity { justify-self: stretch; min-width: 0; }
  .platform-heading h2 { font-size: 24px; }
  .install-guide { padding: 18px; }
  .install-options li { grid-template-columns: 1fr; gap: 10px; }
  .install-status { width: fit-content; min-width: 96px; }
  .steps-intro { align-items: flex-start; }
  .platform-steps li { padding: 20px 18px; }
  .recovery-box { padding: 18px; }
  .check-list li { align-items: start; gap: 14px; }
  .bottom-cta { padding: 24px 20px; border-radius: 20px; }
  .bottom-cta h2 { font-size: 23px; }
  .cta-row { width: 100%; display: grid; }
  .btn { width: 100%; }
}
