:root {
  --blue-950: #061942;
  --blue-900: #082a67;
  --blue-800: #0b4fc2;
  --blue-100: #eaf5ff;
  --yellow: #ffdc32;
  --ink: #071d4a;
  --muted: #5e6d87;
  --line: #d9e8f8;
  --paper: #ffffff;
  --shadow: 0 18px 46px rgba(6, 25, 66, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.75;
  background:
    radial-gradient(circle at 50% 0, rgba(59, 151, 255, .18), transparent 34rem),
    linear-gradient(90deg, #dce9f7, #f8fbff 24%, #f8fbff 76%, #dce9f7);
  overflow-x: clip;
  touch-action: pan-y;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.lp-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 42px rgba(6, 25, 66, .15);
  overflow: visible;
}

.image-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #eef7ff;
  transform: translateZ(0);
}

.image-panel img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  transform: translateZ(0);
}

.image-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, .28), transparent 18%),
    linear-gradient(120deg, transparent 0 36%, rgba(255,255,255,.22) 42%, transparent 50% 100%);
  mix-blend-mode: screen;
  opacity: .64;
}

.image-seam,
.image-seam.stack-panel {
  margin-top: 0;
}

.image-seam::after,
.stack-panel::after {
  content: "";
  position: absolute;
  top: -42px;
  left: -10%;
  right: -10%;
  z-index: 3;
  height: 72px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,0));
}

.stack-panel {
  position: sticky;
  top: 0;
  display: grid;
  place-items: start center;
  min-height: 100svh;
  margin-top: 0;
  overflow: hidden;
  border-radius: 32px 32px 0 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, .96), transparent 44%),
    linear-gradient(180deg, #edf7ff, #ffffff);
  box-shadow:
    0 -22px 42px rgba(6, 25, 66, .16),
    0 -1px 0 rgba(255,255,255,.72);
}

.stack-panel img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 100svh;
  object-fit: contain;
}

.stack-panel + .stack-panel {
  margin-top: 0;
}

#risk { z-index: 1; }
#support { z-index: 2; }
#check { z-index: 3; }
#story { z-index: 4; }
#flow { z-index: 5; }

#risk {
  border-radius: 0;
  background: #eef7ff;
  box-shadow: none;
}

#risk::after {
  display: none;
}

.first-view {
  isolation: isolate;
}

.first-view img,
#flow img {
  object-position: center top;
}

#flow {
  background: #fff;
}

#flow img {
  width: 118%;
  max-width: none;
  margin-left: -6%;
  max-height: 100svh;
}

.hamburger {
  position: absolute;
  top: 1.9%;
  right: 5.4%;
  z-index: 12;
  display: block;
  width: 82px;
  height: 76px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}

.hamburger span {
  display: none;
}

.hamburger:focus-visible {
  outline: 4px solid rgba(255, 220, 50, .92);
  outline-offset: 4px;
}

.drawer {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 30;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100vw - 32px));
  padding: 54px 18px 18px;
  border: 1px solid rgba(181, 211, 242, .92);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
  transform: translate(-50%, -120%);
  opacity: 0;
  pointer-events: none;
  transition: transform .32s ease, opacity .32s ease;
  backdrop-filter: blur(16px);
}

.drawer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-950);
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.drawer.is-open {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.drawer a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--blue-950);
  background: linear-gradient(90deg, #f2f8ff, #fff);
  font-size: 14px;
  font-weight: 900;
}

.drawer a:last-child {
  justify-content: center;
  color: var(--blue-950);
  background: linear-gradient(180deg, #ffe65b, #ffd22d);
  box-shadow: 0 9px 18px rgba(6, 25, 66, .14);
}

.image-cta {
  position: absolute;
  z-index: 9;
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, .02);
  overflow: hidden;
  pointer-events: auto;
}

.image-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255,255,255,.5) 48%, transparent 62% 100%);
  transform: translateX(-120%);
  animation: ctaShine 3.2s ease-in-out infinite;
}

.image-cta:focus-visible {
  outline: 4px solid rgba(255, 220, 50, .9);
  outline-offset: 3px;
}

.cta-fv {
  left: 12%;
  right: 11.5%;
  bottom: 7.1%;
  height: 6.8%;
}

.cta-check {
  left: 8.8%;
  right: 8.8%;
  top: min(646px, 150.3vw);
  height: min(58px, 13.5vw);
}

.cta-story {
  left: 11.5%;
  right: 11.5%;
  top: min(668px, 155.2vw);
  height: min(54px, 12.4vw);
}

.content-section {
  position: relative;
  margin-top: 0;
  padding: 54px 22px;
  background:
    radial-gradient(circle at 88% 5%, rgba(40, 133, 255, .16), transparent 26%),
    linear-gradient(180deg, #f2f9ff, #fff 32%, #fff);
  border-radius: 0;
  box-shadow: none;
  z-index: 6;
}

.content-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  background: linear-gradient(180deg, rgba(236, 247, 255, .9), rgba(255,255,255,0));
  pointer-events: none;
}

.faq {
  border-top: 1px solid #dcecff;
  box-shadow: inset 0 22px 38px rgba(6, 25, 66, .04);
}

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue-800);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

h2 {
  margin: 14px 0 14px;
  color: var(--blue-950);
  font-size: 31px;
  line-height: 1.34;
  letter-spacing: 0;
}

.section-lead {
  margin: 0 0 24px;
  color: #233967;
  font-size: 15px;
  font-weight: 800;
}

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

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 28px rgba(6, 25, 66, .08);
}

.faq-list summary {
  position: relative;
  min-height: 62px;
  padding: 18px 48px 18px 18px;
  color: var(--blue-950);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-800);
  font-size: 20px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
  background: var(--yellow);
  color: var(--blue-950);
}

.faq-list p {
  margin: 0;
  padding: 0 18px 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.final {
  padding-top: 64px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 220, 50, .28), transparent 24%),
    linear-gradient(180deg, #0b4fc2, #061942);
}

.final::before {
  height: 92px;
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(205, 231, 255, .92) 32%, rgba(11, 79, 194, 0) 100%);
}

.final h2,
.final .section-lead {
  color: #fff;
}

.final .section-label {
  color: var(--blue-950);
  background: var(--yellow);
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 20px;
  border-radius: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--blue-950);
  font-size: 14px;
  font-weight: 900;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-field {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 12px !important;
  width: max-content;
  max-width: 100%;
  margin: 4px auto 0;
  padding: 0 2px;
  color: #233967 !important;
  font-size: 13px !important;
  line-height: 1.55;
}

.consent-field input {
  appearance: auto;
  width: 18px !important;
  height: 18px;
  min-height: 18px !important;
  margin: 3px 0 0;
  padding: 0 !important;
  border-radius: 3px;
  accent-color: var(--blue-800);
}

.consent-text {
  display: block;
  max-width: 230px;
  color: var(--blue-950);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.65;
}

.contact-form label > span:not(.consent-text) {
  justify-self: start;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue-800);
  font-size: 11px;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #bfd6ef;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  color: var(--blue-950);
  background: linear-gradient(180deg, #ffe95f, #ffd229);
  font-weight: 900;
  box-shadow: 0 12px 20px rgba(6, 25, 66, .16);
  cursor: pointer;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.form-status {
  min-height: 20px;
  color: var(--blue-800);
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 24px 22px 26px;
  color: #dcecff;
  background:
    radial-gradient(circle at 92% 0, rgba(255, 220, 50, .2), transparent 28%),
    linear-gradient(180deg, #082a67, #061942 72%);
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  display: grid;
  gap: 2px;
}

.footer-brand p {
  color: #9fbce5;
  font-size: 11px;
  letter-spacing: .08em;
}

.footer-brand strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.footer-corporate {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px 0 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: var(--blue-950);
  background: linear-gradient(180deg, #ffe95f, #ffd229);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
  font-size: 13px;
  font-weight: 900;
}

.footer-corporate::after {
  content: "›";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 12px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-950);
  font-size: 22px;
  line-height: 1;
}

.back-to-top {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  font-size: 22px;
  line-height: 1;
}

.thanks-page {
  width: 100%;
  max-width: 430px;
  min-height: 100svh;
  margin: 0 auto;
  color: var(--blue-950);
  background:
    radial-gradient(circle at 82% 6%, rgba(255, 220, 50, .24), transparent 22%),
    linear-gradient(180deg, #0b4fc2 0 34%, #eef7ff 34% 100%);
  box-shadow: 0 0 42px rgba(6, 25, 66, .15);
}

.thanks-hero {
  position: relative;
  padding: 28px 22px 32px;
  overflow: hidden;
}

.thanks-hero::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -22px;
  height: 72px;
  border-radius: 0 0 50% 50%;
  background: #eef7ff;
}

.thanks-brand {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  margin-bottom: 22px;
  color: #fff;
}

.thanks-brand span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.thanks-brand strong {
  font-size: 20px;
  line-height: 1.3;
}

.thanks-card {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 30px 22px 28px;
  border: 1px solid rgba(190, 218, 247, .92);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 10%, rgba(64, 147, 255, .16), transparent 26%),
    rgba(255, 255, 255, .98);
  box-shadow: 0 20px 42px rgba(6, 25, 66, .18);
  text-align: center;
}

.thanks-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--blue-950);
  background: linear-gradient(180deg, #ffe95f, #ffd229);
  box-shadow: 0 12px 24px rgba(6, 25, 66, .16);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.thanks-card .section-label {
  color: #fff;
  background: var(--blue-800);
}

.thanks-card h1 {
  margin: 16px 0 12px;
  color: var(--blue-950);
  font-size: 31px;
  line-height: 1.34;
  letter-spacing: 0;
}

.thanks-lead {
  margin: 0;
  color: #233967;
  font-size: 15px;
  font-weight: 900;
}

.thanks-notice {
  display: grid;
  gap: 4px;
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  color: #415174;
  background: #f2f8ff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
}

.thanks-notice p {
  margin: 0;
}

.thanks-next {
  padding: 26px 22px 34px;
  background: #eef7ff;
}

.thanks-next h2 {
  margin: 0 0 16px;
  font-size: 23px;
  line-height: 1.35;
}

.thanks-next ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.thanks-next li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 24px rgba(6, 25, 66, .08);
  color: #233967;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.55;
}

.thanks-next li span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-800);
  font-size: 15px;
}

.thanks-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.thanks-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
}

.thanks-button.primary {
  color: var(--blue-950);
  background: linear-gradient(180deg, #ffe95f, #ffd229);
  box-shadow: 0 12px 20px rgba(6, 25, 66, .16);
}

.thanks-button.secondary {
  color: var(--blue-950);
  border: 1px solid #bfd6ef;
  background: #fff;
}

@keyframes ctaShine {
  0%, 56% { transform: translateX(-120%); }
  82%, 100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: no-preference) {
  .image-panel {
    animation: floatIn .55s ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }

  .stack-panel {
    animation: none;
    opacity: 1;
  }

  @keyframes floatIn {
    from {
      opacity: .88;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (min-width: 431px) {
  .lp-shell {
    border-radius: 18px;
  }
}

@media (max-width: 767px) {
  .lp-shell {
    max-width: none;
    border-radius: 0;
  }
}

@media (max-width: 360px) {
  h2 {
    font-size: 28px;
  }

  .hamburger {
    width: 50px;
    height: 48px;
  }
}
