:root {
  color-scheme: light;
  --night: #071b1b;
  --night-soft: #0b2927;
  --paper: #f3f5ef;
  --surface: #ffffff;
  --ink: #112522;
  --muted: #64736f;
  --line: #cdd7d1;
  --teal: #17b8af;
  --teal-bright: #4fe1d4;
  --yellow: #f4d74f;
  --coral: #ff765e;
  --content: 1200px;
  --header-height: 70px;
  --shadow: 0 28px 70px rgba(6, 27, 27, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Segoe UI", sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img {
  max-width: 100%;
}

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 8px 14px;
  border: 2px solid var(--coral);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #f7fbf7;
  background: rgba(7, 27, 27, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 27, 27, 0.94);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  display: block;
  border-radius: 8px;
}

.brand > span,
.footer-brand > span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  margin-top: 5px;
  color: #92aaa5;
  font-size: 0.58rem;
  font-weight: 800;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.global-nav a {
  color: #cad7d3;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.global-nav a:hover,
.global-nav a:focus-visible {
  color: #ffffff;
}

@media (min-width: 861px) {
  .global-nav a:not(.nav-contact) {
    position: relative;
  }

  .global-nav a:not(.nav-contact)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--teal-bright);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .global-nav a:not(.nav-contact):hover::after,
  .global-nav a:not(.nav-contact):focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.global-nav .nav-contact {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 5px 15px;
  border: 1px solid rgba(79, 225, 212, 0.52);
  border-radius: 5px;
  color: var(--teal-bright);
}

.global-nav .nav-download {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 16px;
  border-radius: 5px;
  background: var(--yellow);
  color: #1a2116;
  font-weight: 850;
  transition: background-color 160ms ease, transform 160ms ease;
}

.global-nav .nav-download:hover,
.global-nav .nav-download:focus-visible {
  background: #ffe977;
  color: #1a2116;
  transform: translateY(-1px);
}

.global-nav .nav-download .apple-logo {
  margin-top: -0.12em;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  height: calc(100svh - 88px);
  min-height: 620px;
  max-height: 800px;
  overflow: hidden;
  background: var(--night);
  color: #f8fbf7;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 57%;
  width: 1px;
  background: rgba(255, 255, 255, 0.11);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 54%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-canvas,
.hero-canvas canvas,
.hero-grid-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
}

.hero-canvas canvas {
  display: block;
}

.hero-grid-lines {
  z-index: 0;
  pointer-events: none;
}

.hero-grid-lines::before,
.hero-grid-lines::after {
  content: "";
  position: absolute;
  background: rgba(79, 225, 212, 0.15);
}

.hero-grid-lines::before {
  top: 0;
  bottom: 0;
  left: 18%;
  width: 1px;
  box-shadow: 48vw 0 rgba(79, 225, 212, 0.08), 73vw 0 rgba(255, 255, 255, 0.07);
}

.hero-grid-lines::after {
  left: 0;
  right: 0;
  top: 22%;
  height: 1px;
  box-shadow: 0 45vh rgba(255, 255, 255, 0.06);
}

.hero-inner {
  position: relative;
  z-index: 3;
  height: calc(100% - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.57fr);
  align-items: center;
  gap: 58px;
  padding-top: var(--header-height);
}

.hero-copy {
  align-self: center;
  padding-bottom: 18px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #147d77;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.3;
}

.kicker span {
  width: 28px;
  height: 3px;
  flex: 0 0 28px;
  background: currentColor;
}

.hero .kicker,
.kicker-light {
  color: var(--teal-bright);
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: 5.5rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: #bdd0ca;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0.84rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.apple-logo {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  margin-top: -0.14em;
}

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

.button:focus-visible,
.global-nav a:focus-visible,
.shortcut-grid a:focus-visible,
.phone-shot button:focus-visible,
.faq-list summary:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.button-primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #1a2116;
}

.button-primary:hover {
  background: #ffe977;
  border-color: #ffe977;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(7, 27, 27, 0.46);
}

.button-ghost:hover {
  border-color: var(--teal-bright);
  background: var(--night-soft);
}

.hero-device {
  position: relative;
  width: min(100%, 350px);
  justify-self: center;
  align-self: end;
  margin-bottom: -110px;
  transform: rotate(3deg);
}

.device-shell {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 48px;
  background: #010606;
  box-shadow: 0 48px 90px rgba(0, 0, 0, 0.45), -22px 10px 70px rgba(23, 184, 175, 0.14);
  overflow: hidden;
}

.device-shell img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 38px;
}

.device-camera {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 50%;
  width: 31%;
  height: 27px;
  border-radius: 18px;
  background: #010606;
  transform: translateX(-50%);
}

.floating-label,
.floating-score {
  --tilt: -3deg;
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.25);
  font-weight: 900;
  transform: rotate(var(--tilt));
  animation: floaty 4.2s ease-in-out infinite alternate;
}

@keyframes floaty {
  from {
    transform: rotate(var(--tilt)) translateY(4px);
  }

  to {
    transform: rotate(var(--tilt)) translateY(-7px);
  }
}

.floating-label {
  min-width: 100px;
  min-height: 40px;
  padding: 7px 13px;
  background: var(--teal);
  color: #041817;
  font-size: 0.68rem;
}

.label-a {
  top: 19%;
  left: -26%;
}

.label-b {
  --tilt: 5deg;
  top: 51%;
  right: -28%;
  background: var(--coral);
  color: #27100c;
  animation-duration: 4.8s;
  animation-delay: -1.6s;
}

.floating-score {
  right: -16%;
  top: 31%;
  min-width: 72px;
  min-height: 72px;
  background: var(--yellow);
  color: #211d07;
  font-size: 1rem;
  border-radius: 50%;
  animation-duration: 3.7s;
  animation-delay: -2.4s;
}

.hero-facts {
  position: absolute;
  z-index: 5;
  inset: auto 0 0;
  height: 84px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-inline: max(24px, calc((100% - var(--content)) / 2));
  background: rgba(9, 39, 37, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
}

.hero-facts > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-facts > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-facts strong {
  color: var(--yellow);
  font-size: 1.15rem;
}

.hero-facts span {
  color: #a7bbb5;
  font-size: 0.68rem;
  font-weight: 700;
}

.support-shortcuts {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.shortcut-grid a {
  min-height: 148px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 25px 30px;
  border-left: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 160ms ease;
}

.shortcut-grid a:last-child {
  border-right: 1px solid var(--line);
}

.shortcut-grid a:hover {
  background: #e8efea;
}

.shortcut-index {
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 900;
  align-self: start;
  padding-top: 5px;
}

.shortcut-grid a > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.shortcut-grid strong {
  font-size: 0.96rem;
}

.shortcut-grid small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.shortcut-arrow {
  color: var(--teal);
  font-size: 1.35rem;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.shortcut-grid a:hover .shortcut-arrow,
.shortcut-grid a:focus-visible .shortcut-arrow {
  transform: translate(4px, 4px);
}

.section {
  padding-block: 112px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.65fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 66px;
}

.section-heading h2,
.faq-intro h2,
.contact-inner h2 {
  margin: 0;
  font-size: 3.45rem;
  line-height: 1.22;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading > p,
.faq-intro > p:nth-of-type(2) {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.app-guide {
  position: relative;
  overflow: hidden;
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(500px, 1.28fr);
  gap: 80px;
  align-items: center;
}

.guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.guide-steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.guide-steps li > span {
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 900;
}

.guide-steps strong {
  font-size: 1.02rem;
}

.guide-steps p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.screen-stage {
  position: relative;
  height: 650px;
  background: var(--coral);
  border: 1px solid #de5c46;
  overflow: hidden;
}

.screen-stage::before {
  content: "PLAY";
  position: absolute;
  top: 44px;
  left: 34px;
  color: rgba(47, 13, 8, 0.14);
  font-size: 8rem;
  font-weight: 950;
  line-height: 0.8;
}

.phone-shot {
  position: absolute;
  margin: 0;
  border: 8px solid #07100f;
  border-radius: 36px;
  background: #07100f;
  box-shadow: 0 30px 68px rgba(51, 14, 8, 0.28);
  overflow: hidden;
}

.phone-shot button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: #07100f;
  cursor: zoom-in;
  overflow: hidden;
}

.phone-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-shot-back {
  width: 260px;
  top: 72px;
  left: 9%;
  transform: rotate(-7deg);
}

.phone-shot-front {
  z-index: 2;
  width: 292px;
  top: 42px;
  right: 9%;
  transform: rotate(5deg);
}

.stage-note {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 16px;
  margin: 0;
  color: #3c140e;
  font-size: 0.68rem;
  font-weight: 800;
}

.result-review {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 80px;
  margin-top: 86px;
  padding: 62px 74px;
  background: var(--night);
  color: #f7fbf7;
  overflow: hidden;
}

.result-review-copy {
  max-width: 610px;
}

.result-review-copy h3 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.result-review-copy > p:not(.kicker) {
  margin: 24px 0 0;
  color: #b7c8c3;
  font-size: 0.92rem;
}

.result-review-copy ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.result-review-copy li {
  position: relative;
  padding: 13px 0 13px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #dce7e3;
  font-size: 0.8rem;
}

.result-review-copy li::before {
  content: "";
  position: absolute;
  top: 1.3em;
  left: 1px;
  width: 8px;
  height: 8px;
  background: var(--coral);
}

.result-shot {
  width: 270px;
  margin: 0;
  justify-self: center;
}

.result-shot button {
  width: 100%;
  display: block;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 34px;
  background: #020a09;
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.36);
  cursor: zoom-in;
  overflow: hidden;
}

.result-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 27px;
}

.result-shot figcaption {
  margin-top: 12px;
  color: #8da39d;
  font-size: 0.66rem;
  text-align: center;
}

.mode-strip {
  display: flex;
  margin-top: 112px;
  padding: 21px 0;
  background: var(--yellow);
  color: #1c260f;
  font-size: 1.15rem;
  font-weight: 950;
  white-space: nowrap;
  overflow: hidden;
  transform: rotate(-1.5deg) scale(1.04);
}

.mode-strip-track {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  animation: mode-marquee 30s linear infinite;
}

@keyframes mode-marquee {
  to {
    transform: translateX(-100%);
  }
}

.mode-strip i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--coral);
}

.plans-section {
  position: relative;
  background: var(--night);
  color: #f7fbf7;
  overflow: hidden;
}

.plans-section::after {
  content: "∞";
  position: absolute;
  right: 2%;
  bottom: -100px;
  color: rgba(79, 225, 212, 0.07);
  font-family: Georgia, serif;
  font-size: 28rem;
  line-height: 1;
  pointer-events: none;
  animation: infinity-drift 16s ease-in-out infinite alternate;
}

@keyframes infinity-drift {
  from {
    transform: translateY(14px) rotate(-2deg);
  }

  to {
    transform: translateY(-18px) rotate(3deg);
  }
}

.plans-heading {
  position: relative;
  z-index: 1;
}

.plans-heading > p {
  color: #adc1bb;
}

.plan-table {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.plan {
  min-width: 0;
  background: var(--night-soft);
}

.plan + .plan {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.plan header {
  min-height: 145px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.plan header div > span {
  color: var(--teal-bright);
  font-size: 0.64rem;
  font-weight: 900;
}

.plan h3 {
  margin: 3px 0 0;
  font-size: 1.6rem;
}

.plan header > strong {
  color: var(--yellow);
  font-size: 1.1rem;
}

.plan ul {
  margin: 0;
  padding: 0 34px;
  list-style: none;
}

.plan li {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(90px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding-block: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.plan li span {
  color: #94aca5;
  font-size: 0.72rem;
}

.plan li strong {
  font-size: 0.88rem;
  line-height: 1.55;
}

.plan-premium {
  background: var(--yellow);
  color: #152019;
}

.plan-premium header,
.plan-premium li {
  border-color: rgba(28, 38, 15, 0.22);
}

.plan-premium header div > span,
.plan-premium header > strong,
.plan-premium li span {
  color: #5f5a22;
}

.plan-premium > p {
  margin: 22px 34px 28px;
  color: #625c25;
  font-size: 0.72rem;
}

.faq-section {
  background: var(--surface);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: 100px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro > p:nth-of-type(2) {
  max-width: 350px;
  margin-top: 22px;
}

.faq-intro > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: #0c7b75;
  font-size: 0.82rem;
  font-weight: 850;
  text-underline-offset: 4px;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

/* 対応ブラウザでは回答の開閉を高さアニメーションにする */
@supports (interpolate-size: allow-keywords) {
  .faq-list {
    interpolate-size: allow-keywords;
  }

  .faq-list details::details-content {
    height: 0;
    overflow: clip;
    transition: height 320ms cubic-bezier(0.16, 1, 0.3, 1), content-visibility 320ms allow-discrete;
  }

  .faq-list details[open]::details-content {
    height: auto;
  }
}

.faq-list summary {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 2px;
  font-size: 0.96rem;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary i {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--teal);
  transform: translate(-50%, -50%);
  transition: transform 160ms ease;
}

.faq-list summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 60px 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-answer p {
  margin: 0;
}

.faq-answer a {
  color: #087c75;
  font-weight: 700;
  text-underline-offset: 3px;
}

.contact-section {
  position: relative;
  padding-block: 112px;
  background: var(--coral);
  color: #21110d;
  overflow: hidden;
}

.contact-word {
  position: absolute;
  right: -20px;
  bottom: -44px;
  color: rgba(61, 17, 10, 0.08);
  font-size: 15rem;
  font-weight: 950;
  line-height: 0.8;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 90px;
  align-items: start;
}

.contact-section .kicker {
  color: #3c1711;
}

.contact-panel {
  padding: 30px;
  border: 1px solid rgba(56, 18, 12, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
}

.contact-panel > p {
  margin: 0;
  font-size: 0.9rem;
}

.contact-panel ul {
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}

.contact-panel li {
  position: relative;
  margin-top: 7px;
  padding-left: 18px;
  font-size: 0.82rem;
}

.contact-panel li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--night);
}

.button-coral {
  width: 100%;
  background: var(--night);
  color: #ffffff;
}

.button-coral:hover {
  background: #113431;
}

.contact-panel > small {
  display: block;
  margin-top: 12px;
  color: #6e2d22;
  font-size: 0.68rem;
  text-align: center;
}

.qr-card {
  display: inline-flex;
  padding: 10px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.qr-card img {
  display: block;
}

.qr-note {
  color: #93aba5;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.65;
}

.hero-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.download-section {
  position: relative;
  background: var(--night);
  color: #f7fbf7;
  overflow: hidden;
}

.download-section::before {
  content: "GO";
  position: absolute;
  left: -18px;
  bottom: -70px;
  color: rgba(244, 215, 79, 0.06);
  font-size: 19rem;
  font-weight: 950;
  line-height: 0.8;
  pointer-events: none;
}

.download-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 80px;
}

.download-copy h2 {
  margin: 0;
  font-size: 3.45rem;
  line-height: 1.22;
  text-wrap: balance;
}

.download-copy > p:not(.kicker) {
  max-width: 460px;
  margin: 22px 0 0;
  color: #b7c8c3;
  font-size: 0.94rem;
}

.download-copy .button {
  margin-top: 30px;
}

.download-qr {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  padding: 34px 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: var(--night-soft);
}

/* ヒーローのQRは、スキャンする余地のある広い画面でだけ見せる */
@media (max-width: 860px), (max-height: 700px) {
  .hero-qr {
    display: none;
  }
}

.site-footer {
  padding-block: 42px;
  background: #041110;
  color: #d7e2dd;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer-brand strong {
  font-size: 0.94rem;
}

.footer-brand small {
  margin-top: 5px;
  color: #829892;
  font-size: 0.68rem;
}

.footer-inner nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-inner nav a {
  color: #9fb1ab;
  font-size: 0.72rem;
  text-decoration: none;
}

.footer-inner nav a:hover {
  color: #ffffff;
}

.footer-inner > small {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #70857f;
  font-size: 0.66rem;
}

.lightbox {
  width: min(92vw, 520px);
  max-height: 92vh;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #061312;
  color: #ffffff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}

.lightbox img {
  max-height: 78vh;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

.lightbox p {
  margin: 12px 44px 0 0;
  color: #afc1bb;
  font-size: 0.76rem;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: #102825;
  color: #ffffff;
  cursor: pointer;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 同時に視界へ入る並びは、少しずつ遅らせて段差をつける */
.js-ready .guide-steps li[data-reveal]:nth-child(2) {
  transition-delay: 90ms;
}

.js-ready .guide-steps li[data-reveal]:nth-child(3) {
  transition-delay: 180ms;
}

.js-ready .hero-copy > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 760ms cubic-bezier(0.16, 1, 0.3, 1), transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js-ready .hero-copy.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.js-ready .hero-copy.is-visible > *:nth-child(2) {
  transition-delay: 100ms;
}

.js-ready .hero-copy.is-visible > *:nth-child(3) {
  transition-delay: 200ms;
}

.js-ready .hero-copy.is-visible > *:nth-child(4) {
  transition-delay: 300ms;
}

.js-ready .hero-copy.is-visible > *:nth-child(5) {
  transition-delay: 400ms;
}

@media (max-width: 1050px) {
  .global-nav {
    gap: 18px;
  }

  .hero h1 {
    font-size: 4.4rem;
  }

  .hero-device {
    width: 310px;
  }

  .section-heading h2,
  .faq-intro h2,
  .contact-inner h2 {
    font-size: 2.8rem;
  }

  .app-showcase {
    gap: 44px;
  }

  .screen-stage {
    height: 590px;
  }

  .result-review {
    gap: 50px;
    padding-inline: 48px;
  }

  .phone-shot-back {
    width: 225px;
  }

  .phone-shot-front {
    width: 250px;
  }

  .faq-layout,
  .contact-inner {
    gap: 58px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 64px;
  }

  .content,
  .header-inner,
  .hero-inner {
    width: min(calc(100% - 36px), var(--content));
  }

  .menu-toggle {
    position: relative;
    display: grid;
    place-items: center;
  }

  .global-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 10px 18px 20px;
    background: rgba(7, 27, 27, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 200ms ease, visibility 200ms;
  }

  .global-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .global-nav a,
  .global-nav .nav-contact {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 8px 4px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    font-size: 0.84rem;
  }

  .global-nav .nav-download {
    justify-content: center;
    min-height: 46px;
    margin-top: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.84rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .hero-device {
    width: 270px;
    margin-bottom: -72px;
  }

  .floating-label,
  .floating-score {
    display: none;
  }

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

  .shortcut-grid a {
    min-height: 104px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding-block: 88px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
  }

  .section-heading > p {
    max-width: 560px;
  }

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

  .guide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
    gap: 1px;
    background: var(--line);
  }

  .guide-steps li {
    display: block;
    padding: 22px;
    border: 0;
    background: var(--paper);
  }

  .guide-steps li > span {
    display: block;
    margin-bottom: 12px;
  }

  .screen-stage {
    height: 650px;
  }

  .phone-shot-back {
    width: 260px;
  }

  .phone-shot-front {
    width: 292px;
  }

  .result-review {
    min-height: 570px;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 38px;
    padding: 46px;
  }

  .result-review-copy h3 {
    font-size: 2.45rem;
  }

  .result-shot {
    width: 230px;
  }

  .plan li {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .faq-intro {
    position: static;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .download-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .download-copy h2 {
    font-size: 2.8rem;
  }

  .download-qr {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 62px;
  }

  .content,
  .header-inner,
  .hero-inner {
    width: min(calc(100% - 28px), var(--content));
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    height: calc(100svh - 82px);
    min-height: 590px;
    max-height: 700px;
  }

  .hero::before {
    left: 68%;
  }

  .hero-inner {
    height: calc(100% - 70px);
    display: block;
    padding-top: 94px;
  }

  .hero-copy {
    position: relative;
    z-index: 3;
    padding: 0;
  }

  .hero .kicker {
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: 3.25rem;
    line-height: 0.94;
  }

  .hero-lead {
    max-width: 290px;
    margin-top: 20px;
    font-size: 0.83rem;
    line-height: 1.75;
  }

  .hero-actions {
    width: 188px;
    display: grid;
    gap: 7px;
    margin-top: 22px;
  }

  .hero-actions .button {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  .hero-device {
    position: absolute;
    top: 295px;
    right: 2px;
    width: 124px;
    margin: 0;
    transform: rotate(5deg);
  }

  .device-shell {
    padding: 4px;
    border-radius: 19px;
  }

  .device-shell img {
    border-radius: 15px;
  }

  .device-camera {
    top: 7px;
    height: 10px;
  }

  .hero-facts {
    height: 70px;
    grid-template-columns: repeat(3, 1fr);
    padding-inline: 0;
  }

  .hero-facts > div {
    flex-direction: column;
    gap: 0;
    line-height: 1.25;
  }

  .hero-facts strong {
    font-size: 0.9rem;
  }

  .hero-facts span {
    font-size: 0.58rem;
  }

  .hero-version {
    display: none !important;
  }

  .shortcut-grid a {
    min-height: 94px;
    grid-template-columns: 24px 1fr auto;
    gap: 10px;
    padding: 18px 16px;
  }

  .shortcut-grid strong {
    font-size: 0.88rem;
  }

  .shortcut-grid small {
    font-size: 0.65rem;
  }

  .section {
    padding-block: 72px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .faq-intro h2,
  .contact-inner h2 {
    font-size: 2.15rem;
  }

  .section-heading > p,
  .faq-intro > p:nth-of-type(2) {
    font-size: 0.84rem;
  }

  .guide-steps {
    grid-template-columns: 1fr;
  }

  .guide-steps li {
    display: grid;
    grid-template-columns: 36px 1fr;
    padding: 18px;
  }

  .guide-steps li > span {
    margin-bottom: 0;
  }

  .screen-stage {
    height: 440px;
  }

  .screen-stage::before {
    top: 28px;
    left: 14px;
    font-size: 5.2rem;
  }

  .phone-shot {
    border-width: 5px;
    border-radius: 24px;
  }

  .phone-shot button {
    border-radius: 18px;
  }

  .phone-shot-back {
    width: 154px;
    top: 72px;
    left: 5%;
  }

  .phone-shot-front {
    width: 175px;
    top: 42px;
    right: 5%;
  }

  .stage-note {
    right: 12px;
    bottom: 10px;
    font-size: 0.58rem;
  }

  .result-review {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 54px;
    padding: 34px 20px 0;
  }

  .result-review-copy h3 {
    font-size: 2rem;
  }

  .result-review-copy > p:not(.kicker) {
    font-size: 0.82rem;
  }

  .result-review-copy li {
    font-size: 0.74rem;
  }

  .result-shot {
    width: 220px;
  }

  .result-shot figcaption {
    margin-bottom: 18px;
  }

  .mode-strip {
    margin-top: 72px;
    padding-block: 16px;
    font-size: 0.9rem;
  }

  .mode-strip-track {
    gap: 16px;
    padding-right: 16px;
  }

  .plan-table {
    grid-template-columns: 1fr;
  }

  .plan + .plan {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .plan header {
    min-height: 112px;
    padding: 24px 20px;
  }

  .plan h3 {
    font-size: 1.35rem;
  }

  .plan ul {
    padding-inline: 20px;
  }

  .plan li {
    min-height: 70px;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
  }

  .plan li strong {
    font-size: 0.8rem;
  }

  .plan-premium > p {
    margin-inline: 20px;
  }

  .faq-list summary {
    min-height: 76px;
    gap: 12px;
    font-size: 0.86rem;
  }

  .faq-list summary i {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .faq-answer {
    padding-right: 2px;
    font-size: 0.82rem;
  }

  .contact-section {
    padding-block: 72px;
  }

  .contact-word {
    right: -5px;
    bottom: -18px;
    font-size: 7rem;
  }

  .contact-panel {
    padding: 22px 18px;
  }

  .download-copy h2 {
    font-size: 2.15rem;
  }

  .download-qr {
    justify-self: stretch;
    padding: 26px 20px;
  }

  .download-section::before {
    font-size: 10rem;
    bottom: -34px;
  }

  .button-coral {
    padding-inline: 9px;
    font-size: 0.7rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .footer-inner > small {
    grid-column: auto;
  }
}

@media (max-width: 350px) {
  .hero h1 {
    font-size: 2.85rem;
  }

  .hero-lead {
    max-width: 255px;
  }

  .hero-actions {
    width: 165px;
  }

  .hero-device {
    right: -4px;
    width: 108px;
  }

  .phone-shot-back {
    width: 140px;
  }

  .phone-shot-front {
    width: 158px;
  }
}

/* スクロール駆動パララックス(対応ブラウザのみ)。
   巨大な飾り文字がスクロールに合わせてゆっくり流れる。 */
@supports (animation-timeline: view()) {
  .screen-stage::before {
    animation: parallax-drift linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }

  .contact-word {
    animation: parallax-drift-soft linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
}

@keyframes parallax-drift {
  from {
    transform: translateY(56px);
  }

  to {
    transform: translateY(-56px);
  }
}

@keyframes parallax-drift-soft {
  from {
    transform: translateY(34px);
  }

  to {
    transform: translateY(-34px);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js-ready [data-reveal],
  .js-ready .hero-copy > * {
    opacity: 1;
    transform: none;
    transition-delay: 0ms;
  }

  /* スクロールタイムラインはanimation-durationの短縮では止まらないため明示的に無効化 */
  .screen-stage::before,
  .contact-word,
  .mode-strip-track,
  .plans-section::after,
  .floating-label,
  .floating-score {
    animation: none !important;
  }
}
