:root {
  color-scheme: light;
  --ink: #17171b;
  --muted: #53535d;
  --subtle: #73737d;
  --line: #e2e4e9;
  --paper: #ffffff;
  --canvas: #f6f7f9;
  --blue: #2468e8;
  --blue-dark: #174fb7;
  --blue-soft: #edf4ff;
  --coral: #e95159;
  --coral-soft: #fff0f1;
  --teal: #078779;
  --teal-soft: #e9f8f4;
  --yellow: #f5bf2f;
  --yellow-soft: #fff8dc;
  --navy: #142650;
  --max-width: 1120px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 124px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-dark);
  text-underline-offset: 0.2em;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #6aa2ff;
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.content-wrap {
  width: min(calc(100% - 24px), var(--max-width));
  margin-inline: auto;
}

.color-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 5px;
}

.color-rail span:nth-child(1) {
  background: var(--coral);
}

.color-rail span:nth-child(2) {
  background: var(--yellow);
}

.color-rail span:nth-child(3) {
  background: #25b6a4;
}

.color-rail span:nth-child(4) {
  background: var(--blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 24px), var(--max-width));
  min-height: 58px;
  margin-inline: auto;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 120px;
  min-height: 44px;
}

.brand img,
.footer-inner img {
  width: 120px;
  height: auto;
}

.header-title {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.step-nav {
  position: sticky;
  top: 58px;
  z-index: 35;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.step-nav-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 560px);
  min-height: 58px;
  margin-inline: auto;
}

.step-nav-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px auto;
  grid-template-rows: 22px 14px;
  align-content: center;
  justify-content: center;
  column-gap: 5px;
  min-width: 0;
  padding: 5px 3px 4px;
  border-top: 3px solid var(--step-nav-color);
  color: var(--ink);
  text-decoration: none;
}

.step-nav-item span {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-block: auto;
  border-radius: 50%;
  color: #ffffff;
  background: var(--step-nav-color);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.step-nav-item strong {
  align-self: end;
  font-size: 12px;
  line-height: 1.2;
}

.step-nav-item small {
  align-self: start;
  color: var(--subtle);
  font-size: 9px;
  line-height: 1.2;
}

.step-nav-item--1 {
  --step-nav-color: var(--blue);
}

.step-nav-item--2 {
  --step-nav-color: var(--coral);
}

.step-nav-item--3 {
  --step-nav-color: var(--teal);
}

.step-nav-item--4 {
  --step-nav-color: var(--yellow);
}

.intro {
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.intro-grid {
  display: block;
}

.guide-label {
  display: inline-block;
  margin: 0 0 8px;
  padding-left: 10px;
  border-left: 4px solid var(--blue);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}

h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 0;
  word-break: keep-all;
}

.mobile-break {
  display: inline;
}

.intro-copy {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.start-banner {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid #a9c8ff;
  border-radius: 8px;
  background: var(--blue-soft);
}

.start-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 32px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--blue);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.start-banner strong,
.start-banner p {
  display: block;
}

.start-banner strong {
  font-size: 13px;
}

.start-banner p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.flow li {
  min-width: 0;
}

.flow a {
  display: flex;
  align-items: center;
  min-height: 66px;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
}

.flow li:nth-child(1) a {
  border-bottom: 4px solid var(--blue);
}

.flow li:nth-child(2) a {
  border-bottom: 4px solid var(--coral);
}

.flow li:nth-child(3) a {
  border-bottom: 4px solid var(--teal);
}

.flow li:nth-child(4) a {
  border-bottom: 4px solid var(--yellow);
}

.flow-number,
.app-steps > li > span {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.flow li:nth-child(2) .flow-number {
  background: var(--coral);
}

.flow li:nth-child(3) .flow-number {
  background: var(--teal);
}

.flow li:nth-child(4) .flow-number {
  color: var(--ink);
  background: var(--yellow);
}

.flow strong,
.flow small {
  display: block;
}

.flow strong {
  font-size: 12px;
  line-height: 1.4;
}

.flow small {
  margin-top: 2px;
  color: var(--subtle);
  font-size: 10px;
  line-height: 1.35;
}

.manual-section {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.manual-section--soft {
  background: var(--canvas);
}

.step-theme--1 {
  --step-accent: var(--blue);
  --step-soft: var(--blue-soft);
}

.step-theme--2 {
  --step-accent: var(--coral);
  --step-soft: var(--coral-soft);
}

.step-theme--3 {
  --step-accent: var(--teal);
  --step-soft: var(--teal-soft);
}

.step-theme--4 {
  --step-accent: var(--yellow);
  --step-soft: var(--yellow-soft);
}

.step-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.step-index {
  display: grid;
  place-items: center;
  width: 48px;
  height: 54px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--step-accent);
  line-height: 1;
}

.step-theme--4 .step-index {
  color: var(--ink);
}

.step-index small {
  align-self: end;
  font-size: 9px;
  font-weight: 900;
}

.step-index strong {
  align-self: start;
  margin-top: 4px;
  font-size: 24px;
  line-height: 1.1;
}

.step-heading h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: 0;
}

.step-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.procedure-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.procedure-row:first-of-type {
  border-top: 0;
}

.procedure-copy {
  order: 1;
}

.screen-figure,
.screen-pair {
  order: 2;
}

.procedure-kicker {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 5px;
  color: var(--step-accent);
  background: var(--step-soft);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
}

.procedure-copy h3 {
  margin: 10px 0 0;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: 0;
}

.procedure-copy > p:not([class]) {
  margin: 10px 0 0;
  color: var(--muted);
}

.plain-steps {
  margin: 10px 0 0;
  padding-left: 1.5em;
}

.plain-steps li {
  margin-top: 4px;
  padding-left: 3px;
}

.plain-steps li::marker {
  color: var(--step-accent);
  font-weight: 900;
}

.decision-list {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.decision-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--step-accent);
  border-radius: 8px;
  background: var(--paper);
}

.decision-list strong {
  font-size: 13px;
}

.decision-list span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.tip-box,
.rule-box,
.important-box {
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.65;
}

.tip-box {
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
}

.rule-box {
  display: grid;
  gap: 3px;
  border-left: 4px solid var(--yellow);
  background: var(--yellow-soft);
}

.important-box {
  display: grid;
  gap: 3px;
  border-left: 4px solid var(--coral);
  background: var(--coral-soft);
}

.next-step {
  margin: 11px 0 0;
  color: var(--teal);
  font-weight: 800;
}

.tap-label {
  margin: 11px 0 0;
  padding: 9px 10px;
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 900;
}

.swipe-hint {
  margin: 9px 0 0;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 700;
}

.swipe-hint::before {
  content: "← ";
  color: var(--step-accent);
}

.swipe-hint::after {
  content: " →";
  color: var(--step-accent);
}

.screen-figure {
  width: min(64vw, 240px);
  margin: 0 auto;
  scroll-snap-align: center;
}

.screen-link {
  display: block;
  padding: 4px;
  border-radius: 22px;
  background: #15171c;
  box-shadow: 0 14px 30px rgba(23, 23, 27, 0.16);
}

.screen-link img {
  width: 100%;
  aspect-ratio: 390 / 844;
  border-radius: 17px;
  background: #f4f4f5;
  object-fit: cover;
}

.screen-figure figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.screen-pair {
  display: flex;
  width: 100%;
  gap: 14px;
  padding: 2px calc((100% - min(64vw, 240px)) / 2) 8px;
  overflow-x: auto;
  scroll-padding-inline: calc((100% - min(64vw, 240px)) / 2);
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.screen-pair::-webkit-scrollbar {
  display: none;
}

.screen-pair .screen-figure {
  flex: 0 0 min(64vw, 240px);
}

.procedure-row--single {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(118px, 36vw, 142px);
  align-items: start;
  column-gap: 12px;
}

.procedure-row--single .procedure-copy {
  order: 1;
  min-width: 0;
}

.procedure-row--single > .screen-figure {
  order: 2;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.procedure-row--single .screen-link {
  padding: 3px;
  border-radius: 15px;
  box-shadow: 0 8px 18px rgba(23, 23, 27, 0.14);
}

.procedure-row--single .screen-link img {
  border-radius: 12px;
}

.procedure-row--single .screen-figure figcaption {
  margin-top: 5px;
  font-size: 9px;
}

.procedure-row--single .decision-list > div {
  align-items: flex-start;
  flex-direction: column;
  gap: 1px;
}

.procedure-row--single .decision-list span {
  text-align: left;
}

.section-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid #9fd3ca;
  border-radius: 8px;
  background: var(--teal-soft);
  font-size: 12px;
}

.section-result strong {
  grid-column: 1 / -1;
  color: #05685e;
  font-size: 13px;
}

.section-result a {
  font-weight: 900;
}

.section-result--single {
  grid-template-columns: minmax(0, 1fr);
}

.celebration-band {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 14px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--teal);
}

.celebration-check {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.celebration-band strong,
.celebration-band small {
  display: block;
}

.celebration-band strong {
  font-size: 15px;
}

.celebration-band small {
  margin-top: 2px;
  color: #d9fff8;
  font-size: 11px;
}

.manual-section--app {
  color: #ffffff;
  border-top: 0;
  background: var(--navy);
}

.step-heading--light p {
  color: #c9d4ea;
}

.app-lead {
  margin: 0;
  padding: 15px;
  border-left: 4px solid #36d0bc;
  border-radius: 0 8px 8px 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 800;
}

.store-downloads {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.store-downloads-heading strong,
.store-downloads-heading span {
  display: block;
}

.store-downloads-heading strong {
  font-size: 14px;
}

.store-downloads-heading span {
  margin-top: 2px;
  color: #c9d4ea;
  font-size: 11px;
}

.store-links {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.store-link {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #ffffff;
  background: #15171c;
  text-decoration: none;
}

.store-link:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

.store-link:focus-visible {
  outline-color: var(--yellow);
}

.store-link > svg {
  width: 32px;
  height: 32px;
}

.store-link small,
.store-link strong {
  display: block;
}

.store-link small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
}

.store-link strong {
  margin-top: 1px;
  font-size: 16px;
  line-height: 1.25;
}

.store-link-mark {
  color: rgba(255, 255, 255, 0.55);
  font-size: 17px;
  text-align: center;
}

.app-summary {
  display: grid;
  gap: 20px;
  margin-top: 16px;
}

.app-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-steps li {
  display: flex;
  gap: 13px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.app-steps > li > span {
  width: 30px;
  height: 30px;
  color: var(--navy);
  background: var(--yellow);
}

.app-steps strong,
.app-steps small {
  display: block;
}

.app-steps strong {
  font-size: 14px;
}

.app-steps small {
  margin-top: 2px;
  color: #c9d4ea;
  font-size: 11px;
  line-height: 1.6;
}

.screen-figure--app figcaption {
  color: #dce5f7;
}

.platform-note {
  margin: 18px 0 0;
  color: #c9d4ea;
  font-size: 11px;
  text-align: center;
}

.help-section {
  padding: 40px 0;
  background: var(--canvas);
}

.help-heading span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.help-heading h2 {
  margin: 4px 0 0;
  font-size: 26px;
  line-height: 1.4;
}

.help-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.help-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.help-item {
  --help-accent: var(--blue);
  --help-soft: var(--blue-soft);

  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.help-item:nth-child(2) {
  --help-accent: var(--coral);
  --help-soft: var(--coral-soft);
}

.help-item:nth-child(3) {
  --help-accent: var(--teal);
  --help-soft: var(--teal-soft);
}

.help-item:nth-child(4) {
  --help-accent: #b37700;
  --help-soft: var(--yellow-soft);
}

.help-question {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--help-soft);
}

.help-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--help-accent);
  font-size: 12px;
  font-weight: 900;
}

.help-question h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.help-answer {
  padding: 13px 14px 14px;
}

.help-answer > strong {
  display: block;
  color: var(--help-accent);
  font-size: 13px;
}

.help-answer ol {
  display: grid;
  gap: 7px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: help-step;
}

.help-answer li {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  counter-increment: help-step;
}

.help-answer li::before {
  content: counter(help-step);
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 4px;
  color: var(--help-accent);
  background: var(--help-soft);
  font-size: 10px;
  font-weight: 900;
}

.help-answer p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

footer {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

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

.footer-inner p {
  margin: 0;
  color: var(--subtle);
  font-size: 11px;
  text-align: right;
}

@media (min-width: 760px) {
  html {
    scroll-padding-top: 136px;
  }

  body {
    font-size: 16px;
  }

  .content-wrap,
  .header-inner {
    width: min(calc(100% - 48px), var(--max-width));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand,
  .brand img,
  .footer-inner img {
    width: 150px;
  }

  .header-title {
    font-size: 14px;
  }

  .step-nav {
    top: 68px;
  }

  .step-nav-inner {
    min-height: 58px;
  }

  .intro {
    padding: 30px 0;
  }

  h1 {
    font-size: 46px;
  }

  .mobile-break {
    display: none;
  }

  .intro-copy {
    max-width: 650px;
    font-size: 17px;
  }

  .start-banner {
    max-width: 760px;
    grid-template-columns: 62px minmax(0, 1fr);
    margin-top: 20px;
    padding: 12px 15px;
  }

  .start-mark {
    width: 62px;
    height: 36px;
  }

  .start-banner strong {
    font-size: 15px;
  }

  .start-banner p {
    font-size: 13px;
  }

  .flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
  }

  .flow a {
    min-height: 82px;
    gap: 11px;
    padding: 13px;
  }

  .flow-number {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .flow strong {
    font-size: 14px;
  }

  .flow small {
    font-size: 11px;
  }

  .manual-section,
  .help-section {
    padding: 64px 0;
  }

  .step-heading {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    max-width: 780px;
    margin-bottom: 32px;
  }

  .step-index {
    width: 64px;
    height: 70px;
  }

  .step-index small {
    font-size: 10px;
  }

  .step-index strong {
    font-size: 31px;
  }

  .step-heading h2 {
    font-size: 32px;
  }

  .step-heading p {
    margin-top: 8px;
    font-size: 16px;
  }

  .procedure-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
    align-items: start;
    gap: 36px;
    padding: 36px 0;
  }

  .procedure-row--reverse {
    grid-template-columns: minmax(280px, 480px) minmax(0, 1fr);
  }

  .procedure-row--reverse .procedure-copy {
    order: 2;
  }

  .procedure-row--reverse > .screen-figure,
  .procedure-row--reverse > .screen-pair {
    order: 1;
  }

  .procedure-copy {
    max-width: 470px;
  }

  .procedure-copy h3 {
    font-size: 25px;
  }

  .screen-figure {
    width: min(100%, 280px);
  }

  .screen-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 480px);
    gap: 16px;
    padding: 2px 0 12px;
    overflow: visible;
  }

  .screen-pair .screen-figure {
    width: 100%;
  }

  .procedure-row--single > .screen-figure {
    width: min(100%, 280px);
    margin-inline: auto;
  }

  .procedure-row--single .screen-link {
    padding: 5px;
    border-radius: 25px;
    box-shadow: 0 14px 30px rgba(23, 23, 27, 0.16);
  }

  .procedure-row--single .screen-link img {
    border-radius: 19px;
  }

  .procedure-row--single .screen-figure figcaption {
    margin-top: 8px;
    font-size: 11px;
  }

  .procedure-row--single .decision-list > div {
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }

  .procedure-row--single .decision-list span {
    text-align: right;
  }

  .swipe-hint {
    display: none;
  }

  .section-result {
    max-width: 700px;
    margin-inline: auto;
    padding: 18px;
    font-size: 14px;
  }

  .celebration-band {
    max-width: 760px;
    margin: 26px auto 0;
    padding: 18px;
  }

  .app-lead {
    max-width: 760px;
    font-size: 17px;
  }

  .store-downloads {
    max-width: 760px;
    padding: 16px;
  }

  .store-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .app-summary {
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    align-items: start;
    gap: 40px;
    margin-top: 26px;
  }

  .app-steps li {
    padding: 17px 0;
  }

  .app-steps strong {
    font-size: 15px;
  }

  .app-steps small {
    font-size: 12px;
  }

  .help-list {
    gap: 12px;
  }

  .help-item {
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  }

  .help-question {
    align-content: center;
    padding: 17px 18px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .help-question h3 {
    font-size: 17px;
  }

  .help-answer {
    padding: 16px 18px 17px;
  }
}

@media (max-width: 759px) {
  :root {
    --compact-screen-width: min(60vw, 224px);
  }

  .intro {
    padding: 17px 0 18px;
  }

  .guide-label {
    margin-bottom: 6px;
  }

  .intro-copy {
    margin-top: 9px;
  }

  .start-banner {
    margin-top: 11px;
    padding: 9px 10px;
  }

  .flow {
    gap: 7px;
    margin-top: 10px;
  }

  .flow a {
    min-height: 62px;
    padding: 8px;
  }

  .manual-section {
    padding: 33px 0;
  }

  .step-heading {
    margin-bottom: 16px;
  }

  .procedure-row {
    gap: 12px;
    padding: 18px 0;
  }

  .procedure-copy h3,
  .procedure-copy > p:not([class]) {
    margin-top: 8px;
  }

  .plain-steps {
    margin-top: 8px;
  }

  .decision-list {
    gap: 6px;
    margin-top: 9px;
  }

  .decision-list > div {
    padding: 8px 9px;
  }

  .tip-box,
  .rule-box,
  .important-box {
    margin-top: 9px;
    padding: 9px 10px;
    line-height: 1.6;
  }

  .next-step,
  .tap-label {
    margin-top: 9px;
  }

  .tap-label {
    padding: 8px 9px;
  }

  .swipe-hint {
    margin-top: 7px;
  }

  .screen-figure {
    width: var(--compact-screen-width);
  }

  .screen-pair {
    gap: 12px;
    padding: 2px calc((100% - var(--compact-screen-width)) / 2) 6px;
    scroll-padding-inline: calc((100% - var(--compact-screen-width)) / 2);
  }

  .screen-pair .screen-figure {
    flex-basis: var(--compact-screen-width);
  }

  .procedure-row--single {
    grid-template-columns: minmax(0, 1fr) clamp(150px, 30vw, 180px);
    column-gap: 10px;
  }

  .section-result {
    margin-top: 14px;
    padding: 10px;
  }

  .celebration-band {
    gap: 11px;
    margin-top: 16px;
    padding: 12px;
  }

  .celebration-check {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

  .app-lead {
    padding: 13px;
  }

  .store-downloads {
    margin-top: 12px;
    padding: 12px;
  }

  .store-links {
    margin-top: 9px;
  }

  .store-link {
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    gap: 9px;
    min-height: 58px;
    padding: 8px 11px;
  }

  .store-link > svg {
    width: 30px;
    height: 30px;
  }

  .app-summary {
    gap: 16px;
    margin-top: 14px;
  }

  .app-steps li {
    gap: 11px;
    padding: 9px 0;
  }

  .platform-note {
    margin-top: 14px;
  }

  .help-section {
    padding: 34px 0;
  }

  .help-list {
    gap: 8px;
    margin-top: 12px;
  }

  .help-question {
    padding: 11px 12px;
  }

  .help-answer {
    padding: 11px 12px 12px;
  }

  .help-answer ol {
    gap: 6px;
    margin-top: 7px;
  }

  footer {
    padding: 18px 0;
  }
}

@media (max-width: 559px) {
  .procedure-row--single {
    display: flex;
    flex-direction: column;
  }

  .procedure-row--single > .screen-figure {
    width: min(62vw, 230px);
    margin-inline: auto;
  }

  .procedure-row--single .screen-link {
    height: auto;
    overflow: visible;
    border-radius: 15px;
  }

  .procedure-row--single .screen-link img {
    width: 100%;
    height: auto;
    aspect-ratio: 390 / 844;
    border-radius: 12px;
    object-fit: contain;
    object-position: center;
  }

  .procedure-row--single .screen-figure figcaption {
    font-size: 10px;
  }

  .procedure-row--single .screen-figure figcaption::after {
    content: " / タップで拡大";
    color: var(--subtle);
    font-weight: 600;
  }

  .procedure-row--single .decision-list > div {
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }

  .procedure-row--single .decision-list span {
    text-align: right;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 29px;
  }

  .step-nav-item {
    grid-template-columns: 22px auto;
    column-gap: 3px;
  }

  .step-nav-item span {
    width: 22px;
    height: 22px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  body {
    color: #000000;
    background: #ffffff;
    font-size: 10pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .site-header,
  .step-nav {
    position: static;
  }

  .intro,
  .manual-section,
  .help-section {
    padding: 10mm 0;
  }

  .manual-section {
    break-before: page;
  }

  .flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .procedure-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52mm;
    gap: 10mm;
    padding: 8mm 0;
    break-inside: avoid;
  }

  .procedure-row--reverse {
    grid-template-columns: 52mm minmax(0, 1fr);
  }

  .screen-pair {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4mm;
    padding: 0;
    overflow: visible;
  }

  .screen-figure,
  .screen-pair .screen-figure {
    width: 100%;
  }

  .screen-link {
    padding: 1.5mm;
    border-radius: 5mm;
  }

  .swipe-hint {
    display: none;
  }

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

  .help-list {
    gap: 4mm;
  }

  .help-item {
    grid-template-columns: 1fr 1.5fr;
    break-inside: avoid;
  }

  .help-question {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
}
