@font-face {
  font-family: "MPLUS1";
  src: url("assets/fonts/MPLUS1-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MPLUS1";
  src: url("assets/fonts/MPLUS1-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MPLUS1";
  src: url("assets/fonts/MPLUS1-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Maru Gothic";
  src: url("fonts/ZenMaruGothic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Maru Gothic";
  src: url("fonts/ZenMaruGothic-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #3c2c3b;
  --muted: #7d6a7c;
  --soft: #9c8a9a;
  --paper: #fff7fa;
  --paper-blue: #eef6ff;
  --paper-mint: #eafaf4;
  --paper-lemon: #fff8d9;
  --surface: #ffffff;
  --surface-soft: #fffbfd;
  --line: #f6d9e7;
  --line-strong: #f3c1d8;
  --pink: #ff5c8a;
  --pink-dark: #df3d6d;
  --pink-soft: #ffe1ec;
  --sky: #4f9bf0;
  --sky-dark: #2f74d1;
  --sky-soft: #e6f0ff;
  --teal: #12ab97;
  --teal-soft: #d9f7f0;
  --coral: #ff8a65;
  --coral-soft: #fff0e8;
  --berry: #e0568e;
  --berry-soft: #ffeaf3;
  --violet: #9b7bea;
  --violet-soft: #f1eaff;
  --amber: #f0a020;
  --amber-soft: #fff4d9;
  --green: #35b378;
  --shadow: 0 20px 46px rgba(224, 61, 109, 0.14);
  --soft-shadow: 0 10px 26px rgba(224, 61, 109, 0.09);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --pill: 999px;
  --max: 1160px;
  --measure: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 208, 228, 0.55), transparent 30rem),
    radial-gradient(circle at 92% 12%, rgba(214, 233, 255, 0.5), transparent 32rem),
    linear-gradient(180deg, #fffdfe 0%, var(--paper) 54%, #fbf6ff 100%);
  color: var(--ink);
  font-family: "MPLUS1", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--pink-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--pink);
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
p,
li,
dt,
dd,
summary,
figcaption,
.chip,
.button {
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-family: "Zen Maru Gothic", "MPLUS1", system-ui, sans-serif;
  font-weight: 900;
}

h1 {
  margin-bottom: 18px;
  max-width: 11em;
  font-size: clamp(2.35rem, 1.6rem + 3vw, 4.7rem);
  line-height: 1.14;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.4rem);
  line-height: 1.3;
}

h3 {
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.45;
}

h4 {
  margin: 0 0 6px;
  font-size: 0.96rem;
  line-height: 1.45;
}

ul,
ol {
  margin-top: 0;
  padding-left: 1.35em;
}

li + li {
  margin-top: 6px;
}

summary {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 50;
  transform: translateY(-150%);
  padding: 8px 14px;
  border-radius: var(--pill);
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 12px max(18px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(246, 217, 231, 0.9);
  background: rgba(255, 253, 254, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(224, 61, 109, 0.2);
}

.top-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex-wrap: wrap;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: var(--pill);
  color: #6c5769;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.top-nav a.nav-cta {
  border: 1.5px solid var(--pink);
  background: linear-gradient(135deg, #ff85ab, var(--pink));
  color: white;
  box-shadow: 0 6px 14px rgba(224, 61, 109, 0.28);
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  background: var(--pink-soft);
  color: var(--pink-dark);
}

.top-nav a.nav-cta:hover {
  color: white;
  filter: brightness(1.05);
}

.hero {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: min(760px, calc(100svh - 72px));
  padding: 82px max(18px, calc((100vw - var(--max)) / 2)) 70px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(255, 247, 250, 0.96) 0 39%, rgba(255, 247, 250, 0.5) 58%, rgba(238, 246, 255, 0.66) 100%),
    url("images/top-hero-guide.png") right center / min(68vw, 1040px) auto no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(0deg, var(--paper) 0%, rgba(255, 247, 250, 0) 100%);
}

.hero-content {
  display: grid;
  align-content: center;
  max-width: 690px;
  min-width: 0;
  min-height: 520px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: var(--pill);
  background: var(--pink-soft);
  color: var(--pink-dark);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.mobile-break {
  display: inline;
}

.lead {
  max-width: var(--measure);
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border: 2px solid var(--line-strong);
  border-radius: var(--pill);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(224, 61, 109, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #ff85ab 0%, var(--pink) 100%);
  color: white;
  box-shadow: 0 10px 22px rgba(224, 61, 109, 0.32);
}

.button.secondary {
  border-color: #ffd0e2;
  background: var(--pink-soft);
  color: var(--pink-dark);
}

.button:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.03);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.hero-badges,
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 34px;
  padding: 6px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.85);
  color: #6c5769;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}

.mascot-float {
  position: absolute;
  right: max(18px, calc((100vw - var(--max)) / 2));
  bottom: 36px;
  width: clamp(100px, 14vw, 168px);
  filter: drop-shadow(0 18px 22px rgba(224, 61, 109, 0.22));
}

.hero-stickers {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-sticker {
  position: absolute;
  width: clamp(86px, 10vw, 132px);
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(224, 61, 109, 0.18);
}

.sticker-nickname {
  right: min(42vw, 520px);
  top: 92px;
  transform: rotate(-6deg);
}

.sticker-inbox {
  right: max(28px, calc((100vw - var(--max)) / 2 + 28px));
  top: 110px;
  transform: rotate(5deg);
}

.sticker-security {
  right: min(34vw, 430px);
  bottom: 68px;
  transform: rotate(7deg);
}

.content-section,
.content-band,
.guide-hero {
  padding: 66px max(18px, calc((100vw - var(--max)) / 2));
}

.content-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.guide-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.92), rgba(234, 250, 244, 0.78)),
    var(--paper-mint);
}

.guide-hero.send {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.94), rgba(230, 240, 255, 0.82)),
    var(--paper-blue);
}

.guide-hero.trouble {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.95), rgba(255, 232, 236, 0.82)),
    var(--pink-soft);
}

.guide-hero.tech {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.94), rgba(241, 234, 255, 0.82)),
    var(--violet-soft);
}

.guide-hero.settings {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 217, 0.9)),
    var(--paper-lemon);
}

.guide-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.75fr);
  gap: 34px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.guide-hero h1 {
  max-width: 12em;
  font-size: clamp(2.05rem, 1.5rem + 2vw, 3.6rem);
}

.section-heading {
  max-width: var(--measure);
  margin-bottom: 30px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.portal-grid,
.quick-grid,
.usecase-grid,
.link-grid,
.feature-grid,
.faq-grid,
.settings-grid,
.trouble-grid,
.route-grid,
.security-grid,
.compare-grid,
.timeline,
.check-grid,
.step-grid,
.mini-grid,
.platform-grid {
  display: grid;
  gap: 16px;
}

.portal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-grid,
.feature-grid,
.settings-grid,
.trouble-grid,
.route-grid,
.security-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.usecase-grid,
.compare-grid,
.check-grid,
.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.section-gap-top {
  margin-top: 16px;
}

.link-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.two-column.reverse {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
}

.portal-card,
.quick-card,
.usecase-card,
.feature-card,
.settings-card,
.trouble-card,
.route-card,
.security-card,
.compare-card,
.step-card,
.note-card,
.shot-card,
.callout,
.plain-panel,
.faq-list details,
.timeline-card,
.mini-card,
.link-card,
.platform-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.portal-card,
.quick-card,
.usecase-card,
.feature-card,
.settings-card,
.trouble-card,
.route-card,
.security-card,
.compare-card,
.step-card,
.note-card,
.plain-panel,
.timeline-card,
.mini-card,
.link-card,
.platform-card {
  padding: 20px;
}

.portal-card {
  display: grid;
  align-content: start;
  min-height: 240px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.portal-card:hover,
.link-card:hover {
  transform: translateY(-4px) rotate(-0.6deg);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.portal-card:nth-child(2n):hover {
  transform: translateY(-4px) rotate(0.6deg);
}

.portal-card img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  justify-self: end;
  margin-top: auto;
  filter: drop-shadow(0 12px 16px rgba(224, 61, 109, 0.18));
}

.portal-card:nth-child(1) {
  background: linear-gradient(145deg, #ffffff 0%, var(--teal-soft) 100%);
}

.portal-card:nth-child(2) {
  background: linear-gradient(145deg, #ffffff 0%, var(--pink-soft) 100%);
}

.portal-card:nth-child(3) {
  background: linear-gradient(145deg, #ffffff 0%, var(--amber-soft) 100%);
}

.portal-card:nth-child(4) {
  background: linear-gradient(145deg, #ffffff 0%, var(--violet-soft) 100%);
}

.portal-icon,
.step-number,
.timeline-number,
.mini-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: var(--pill);
  background: linear-gradient(135deg, #ff85ab, var(--pink));
  color: white;
  font-family: "Zen Maru Gothic", "MPLUS1", sans-serif;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(224, 61, 109, 0.28);
}

.portal-card:nth-child(1) .portal-icon,
.step-card:nth-child(1) .step-number,
.timeline-card:nth-child(1) .timeline-number {
  background: linear-gradient(135deg, #57d9c4, var(--teal));
  box-shadow: 0 8px 16px rgba(18, 171, 151, 0.28);
}

.portal-card:nth-child(2) .portal-icon,
.step-card:nth-child(2) .step-number,
.timeline-card:nth-child(2) .timeline-number {
  background: linear-gradient(135deg, #ff85ab, var(--pink));
  box-shadow: 0 8px 16px rgba(224, 61, 109, 0.28);
}

.portal-card:nth-child(3) .portal-icon,
.step-card:nth-child(3) .step-number,
.timeline-card:nth-child(3) .timeline-number {
  background: linear-gradient(135deg, #ffc861, var(--amber));
  box-shadow: 0 8px 16px rgba(240, 160, 32, 0.28);
}

.portal-card:nth-child(4) .portal-icon,
.step-card:nth-child(4) .step-number,
.timeline-card:nth-child(4) .timeline-number {
  background: linear-gradient(135deg, #b79cf3, var(--violet));
  box-shadow: 0 8px 16px rgba(155, 123, 234, 0.28);
}

.timeline-card:nth-child(5) .timeline-number {
  background: linear-gradient(135deg, #6fdba1, var(--green));
  box-shadow: 0 8px 16px rgba(53, 179, 120, 0.28);
}

.quick-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
}

.step-card {
  position: relative;
  overflow: hidden;
  padding-top: 18px;
}

.card-spot {
  display: block;
  width: 100%;
  max-width: 150px;
  aspect-ratio: 1;
  margin: -4px 0 12px auto;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(224, 61, 109, 0.13);
}

.quick-spot {
  float: right;
  width: 86px;
  aspect-ratio: 1;
  margin: 0 0 10px 12px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 9px 18px rgba(224, 61, 109, 0.12);
}

.mini-spot {
  float: right;
  width: 72px;
  aspect-ratio: 1;
  margin: 0 0 8px 10px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(224, 61, 109, 0.11);
}

.mini-art-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.mini-art-card {
  overflow: hidden;
  margin: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.mini-art-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mini-art-card figcaption {
  padding: 10px 14px;
  color: #6c5769;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.9);
}

.quick-card p:last-child,
.portal-card p:last-child,
.usecase-card p:last-child,
.feature-card p:last-child,
.settings-card p:last-child,
.trouble-card p:last-child,
.route-card p:last-child,
.security-card p:last-child,
.compare-card p:last-child,
.step-card p:last-child,
.note-card p:last-child,
.plain-panel p:last-child,
.mini-card p:last-child,
.timeline-card p:last-child {
  margin-bottom: 0;
}

.quick-card .small {
  color: var(--soft);
  font-size: 0.9rem;
}

.link-card {
  display: grid;
  min-height: 116px;
  padding: 16px 18px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.8);
}

.link-card strong {
  display: block;
  margin-bottom: 4px;
}

.link-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.shot-card {
  overflow: hidden;
  background: #fdeef4;
}

.explain-art {
  overflow: hidden;
  margin: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 240, 246, 0.82));
  box-shadow: var(--soft-shadow);
}

.explain-art img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.explain-art.contain img {
  object-fit: contain;
  background: #fffdfd;
}

.explain-art figcaption {
  padding: 12px 16px;
  color: #6c5769;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.88);
}

.shot-card img {
  display: block;
  width: 100%;
}

.shot-card.phone {
  max-width: 360px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
}

.shot-card.phone img {
  border-radius: var(--radius-lg);
}

.shot-card.wide img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.shot-card figcaption {
  padding: 12px 16px;
  color: #6c5769;
  font-size: 0.9rem;
  background: var(--surface);
}

.callout {
  padding: 18px 22px;
  background: linear-gradient(145deg, #ffffff 0%, var(--pink-soft) 100%);
}

.callout.warning {
  border-color: #f5dba0;
  background: linear-gradient(145deg, #ffffff 0%, var(--amber-soft) 100%);
}

.callout.danger {
  border-color: #f6b9cd;
  background: linear-gradient(145deg, #ffffff 0%, var(--berry-soft) 100%);
}

.note {
  margin: 14px 0 0;
  padding: 10px 14px;
  border: 1.5px solid #f5dba0;
  border-radius: var(--radius-sm);
  background: var(--amber-soft);
  color: #6b4a0f;
}

.soft-list {
  list-style: none;
  padding-left: 0;
}

.soft-list li {
  position: relative;
  padding-left: 22px;
}

.soft-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.84em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--pink);
}

.definition-list {
  margin: 0;
}

.definition-list dt {
  font-weight: 700;
}

.definition-list dd {
  margin: 0 0 14px;
  color: var(--muted);
}

.illustration {
  display: grid;
  gap: 14px;
  min-height: 320px;
  padding: 26px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 240, 246, 0.88));
  box-shadow: var(--soft-shadow);
}

.ill-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ill-device,
.ill-server,
.ill-file,
.ill-qr,
.ill-folder,
.ill-lock {
  display: grid;
  place-items: center;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
}

.ill-device {
  width: 112px;
  height: 158px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #ffffff, var(--pink-soft));
  color: var(--pink-dark);
  box-shadow: var(--soft-shadow);
}

.ill-server {
  width: 128px;
  height: 82px;
  background: linear-gradient(160deg, #ffffff, var(--teal-soft));
  color: #0c7a6b;
  box-shadow: var(--soft-shadow);
}

.ill-file {
  width: 82px;
  height: 96px;
  background: linear-gradient(160deg, #ffffff, var(--coral-soft));
  color: #c85c3c;
  box-shadow: var(--soft-shadow);
}

.ill-folder {
  width: 118px;
  height: 82px;
  background: linear-gradient(160deg, #ffffff, var(--amber-soft));
  color: #8a5c0a;
  box-shadow: var(--soft-shadow);
}

.ill-lock {
  width: 78px;
  height: 78px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #ffffff, var(--violet-soft));
  color: var(--violet);
  box-shadow: var(--soft-shadow);
}

.ill-qr {
  width: 118px;
  height: 118px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, var(--ink) 12px, transparent 12px 22px, var(--ink) 22px 34px, transparent 34px),
    linear-gradient(var(--ink) 12px, transparent 12px 22px, var(--ink) 22px 34px, transparent 34px),
    white;
  background-size: 46px 46px;
  color: transparent;
  box-shadow: var(--soft-shadow);
}

.ill-arrow {
  display: grid;
  place-items: center;
  min-width: 88px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--pill);
  background: linear-gradient(135deg, #ff85ab, var(--pink));
  color: white;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(224, 61, 109, 0.25);
}

.ill-caption {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.mascot-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(255, 225, 236, 0.8));
  border: 1.5px solid var(--line);
  box-shadow: var(--soft-shadow);
  isolation: isolate;
  overflow: hidden;
}

.mascot-panel::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 178, 206, 0.55), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(196, 220, 255, 0.5), transparent 55%);
  filter: blur(6px);
}

.mascot-panel img {
  max-height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(224, 61, 109, 0.2));
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 16px 20px;
  box-shadow: none;
  border-radius: var(--radius);
}

.faq-list summary {
  color: var(--ink);
  font-weight: 700;
}

.faq-list p,
.faq-list ul,
.faq-list ol {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-list summary + p,
.faq-list summary + ol,
.faq-list summary + ul {
  margin-top: 12px;
}

.table-like {
  display: grid;
  gap: 10px;
}

.table-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.48fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 22px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.table-row strong {
  display: block;
}

.table-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.center-link {
  margin: 28px 0 0;
  text-align: center;
}

/* ── Download page: platform cards ─────────────────────────────────── */

.platform-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 24px;
  text-align: left;
}

.platform-card .platform-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.platform-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  font-size: 1.2rem;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--pill);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.platform-badge.live {
  background: var(--teal-soft);
  color: #0c7a6b;
}

.platform-badge.soon {
  background: #f2e9f4;
  color: #8a6a91;
}

.platform-card p {
  color: var(--muted);
}

.platform-card .button {
  margin-top: 6px;
  width: 100%;
}

.platform-emoji {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--pill);
  background: linear-gradient(135deg, #ff85ab, var(--pink));
  font-size: 1.3rem;
  box-shadow: 0 8px 16px rgba(224, 61, 109, 0.25);
}

.platform-card.coming-soon {
  opacity: 0.86;
}

.platform-card.coming-soon .button {
  background: var(--surface-soft);
  color: var(--soft);
  border-color: var(--line);
  box-shadow: none;
  cursor: default;
}

.platform-card.coming-soon .button:hover {
  transform: none;
}

.install-steps {
  counter-reset: step;
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.install-steps li {
  position: relative;
  padding: 12px 16px 12px 52px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.install-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: var(--pill);
  background: linear-gradient(135deg, #ff85ab, var(--pink));
  color: white;
  font-weight: 900;
  font-size: 0.82rem;
}

code {
  padding: 2px 8px;
  border-radius: 8px;
  background: #fdeef4;
  color: var(--pink-dark);
  font-size: 0.92em;
}

/* ── Footer ─────────────────────────────────────────────────────────── */

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 34px max(18px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #fdeef4;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 1080px) {
  .hero::before {
    background:
      linear-gradient(115deg, rgba(255, 247, 250, 0.98) 0 45%, rgba(255, 247, 250, 0.68) 100%),
      url("images/top-hero-guide.png") right -170px center / 780px auto no-repeat;
  }

  .portal-grid,
  .link-grid,
  .step-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-grid,
  .feature-grid,
  .settings-grid,
  .trouble-grid,
  .route-grid,
  .security-grid,
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .guide-hero-inner,
  .two-column,
  .two-column.reverse {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: 470px;
  }

  .mascot-float {
    opacity: 0.75;
  }

  .hero-sticker {
    width: 92px;
  }

  .sticker-nickname {
    right: 46vw;
    top: 84px;
  }

  .sticker-inbox {
    right: 16px;
    top: 96px;
  }

  .sticker-security {
    right: 28vw;
    bottom: 44px;
  }

  .table-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --radius: 18px;
    --radius-lg: 24px;
  }

  body {
    font-size: 15px;
    padding-bottom: 86px;
  }

  .site-header {
    position: static;
    padding: 12px 14px;
  }

  .top-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    width: auto;
    padding: 6px;
    border: 1px solid rgba(246, 217, 231, 0.95);
    border-radius: 22px;
    background: rgba(255, 253, 254, 0.94);
    box-shadow: 0 14px 34px rgba(224, 61, 109, 0.18);
    backdrop-filter: blur(18px);
  }

  .top-nav a {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    width: 100%;
    min-height: 58px;
    padding: 5px 3px;
    border-radius: 16px;
    font-size: 0;
    line-height: 1.18;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .top-nav a::before {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: var(--pill);
    background: var(--pink-soft);
    font-size: 1rem;
    line-height: 1;
  }

  .top-nav a::after {
    color: inherit;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.18;
  }

  .top-nav a:nth-child(1)::before {
    content: "🏠";
  }

  .top-nav a:nth-child(1)::after {
    content: "はじめ方";
  }

  .top-nav a:nth-child(2)::before {
    content: "📮";
  }

  .top-nav a:nth-child(2)::after {
    content: "送受信";
  }

  .top-nav a:nth-child(3)::before {
    content: "🎁";
  }

  .top-nav a:nth-child(3)::after {
    content: "機能";
  }

  .top-nav a:nth-child(4)::before {
    content: "🩹";
  }

  .top-nav a:nth-child(4)::after {
    content: "困った";
  }

  .top-nav a:nth-child(5)::before {
    content: "🔒";
  }

  .top-nav a:nth-child(5)::after {
    content: "安全";
  }

  .top-nav a:nth-child(6)::before {
    content: "📲";
  }

  .top-nav a:nth-child(6)::after {
    content: "入手";
  }

  .top-nav a:hover,
  .top-nav a[aria-current="page"] {
    background: var(--pink-soft);
  }

  .top-nav a.nav-cta {
    grid-column: auto;
    border: 0;
    background: linear-gradient(135deg, #ff85ab, var(--pink));
    color: white;
    box-shadow: 0 8px 18px rgba(224, 61, 109, 0.28);
  }

  .top-nav a.nav-cta::before {
    background: rgba(255, 255, 255, 0.24);
  }

  .hero,
  .content-section,
  .content-band,
  .guide-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 247, 250, 0.99) 0 36%, rgba(255, 247, 250, 0.72) 100%),
      url("images/top-hero-guide.png") center bottom / 650px auto no-repeat;
    opacity: 1;
  }

  .hero-content {
    min-height: 650px;
    align-content: start;
  }

  .hero-stickers {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 10.8vw, 3rem);
    line-height: 1.16;
  }

  .portal-grid,
  .quick-grid,
  .usecase-grid,
  .link-grid,
  .feature-grid,
  .faq-grid,
  .settings-grid,
  .trouble-grid,
  .route-grid,
  .security-grid,
  .compare-grid,
  .timeline,
  .check-grid,
  .step-grid,
  .mini-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .mini-art-row {
    grid-template-columns: 1fr;
  }

  .card-spot {
    max-width: 126px;
  }

  .quick-spot,
  .mini-spot {
    width: 68px;
    border-radius: 14px;
  }

  .button {
    width: 100%;
  }

  .mobile-break {
    display: block;
  }

  .hero-badges {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chip {
    justify-content: center;
    text-align: center;
  }

  .portal-card,
  .quick-card,
  .usecase-card,
  .feature-card,
  .settings-card,
  .trouble-card,
  .route-card,
  .security-card,
  .compare-card,
  .step-card,
  .note-card,
  .plain-panel,
  .timeline-card,
  .mini-card,
  .link-card,
  .platform-card,
  .callout,
  .illustration {
    padding: 16px;
  }

  .explain-art figcaption {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .ill-device {
    width: 92px;
    height: 132px;
  }

  .ill-arrow {
    min-width: 62px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 26px 14px 108px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
