:root {
  color-scheme: light;
  background: #e8edf5;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 4% 18%, rgb(199 224 255 / 62%), transparent 28%),
    radial-gradient(circle at 94% 9%, rgb(240 224 255 / 55%), transparent 25%),
    radial-gradient(circle at 86% 82%, rgb(207 231 255 / 52%), transparent 30%),
    #f8fbff;
}

.lp {
  position: relative;
  width: min(100%, 390px);
  margin: 0 auto;
  aspect-ratio: 390 / 10594;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 32px rgb(20 40 80 / 14%);
}

.lp__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.cta-hitarea {
  position: absolute;
  left: 6.41025641%;
  z-index: 1;
  display: block;
  width: 87.17948718%;
  height: 0.547479704%;
  border-radius: 999px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.image-cta__note {
  position: absolute;
  z-index: 2;
  top: -17px;
  left: 50%;
  width: 270px;
  height: 28px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  color: #f06b21;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  background: #fff;
  border: 1.5px solid #f17a2c;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgb(97 35 4 / 12%);
  pointer-events: none;
}

.image-cta__surface {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  background: linear-gradient(180deg, #ff952e 0%, #ff5c18 62%, #f23d0c 100%);
  border: 1.5px solid #e15318;
  border-radius: inherit;
  box-shadow:
    0 4px 0 #b63318,
    inset 0 2px 0 rgb(255 255 255 / 38%);
  transition:
    transform 120ms ease,
    filter 120ms ease,
    box-shadow 120ms ease;
  pointer-events: none;
}

.image-cta__surface b {
  position: absolute;
  right: 13px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 0 2px 2px;
  color: #f5631c;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  background: #fff;
  border-radius: 50%;
}

.cta-hitarea--hero {
  top: 7.287143670%;
}

.cta-hitarea--consultation {
  top: 79.460071742%;
}

.cta-hitarea--final {
  top: 97.196526334%;
}

.cta-hitarea:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -4px;
  box-shadow: 0 0 0 5px #ff6b1a;
}

.section-anchor {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  scroll-margin-top: 16px;
}

.section-anchor--about { top: 13.054559185%; }
.section-anchor--features { top: 21.748159336%; }
.section-anchor--program { top: 32.084198603%; }
.section-anchor--voices { top: 49.537474042%; }
.section-anchor--message { top: 61.582027563%; }
.section-anchor--overview { top: 84.057013404%; }
.section-anchor--faq { top: 89.409099490%; }

.footer-link-hitarea {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(10px, 2.820512821vw, 11px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  background: #040b2b;
  cursor: pointer;
  transition: color 150ms ease;
  -webkit-tap-highlight-color: transparent;
}

.footer-link-hitarea--agreement {
  top: 99.216537663%;
  left: 17.948717949%;
  width: 64.102564103%;
  height: 0.273739853%;
}

.footer-link-hitarea--privacy {
  top: 99.490277516%;
  left: 26.923076923%;
  width: 46.153846154%;
  height: 0.254861242%;
}

.footer-link-hitarea:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
  border-radius: 4px;
}

.desktop-side,
.mobile-fixed-cta {
  display: none;
}

.floating-cta {
  position: relative;
  width: 390px;
  height: 90px;
}

.floating-cta__note {
  position: absolute;
  z-index: 2;
  top: 4px;
  left: 50%;
  width: 81.53846154%;
  height: clamp(24px, 7.17948718vw, 28px);
  margin: 0;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  color: #f06b21;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(10px, 3.07692308vw, 12px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  background: #fff;
  border: 1.5px solid #f17a2c;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgb(97 35 4 / 12%);
}

.floating-cta__button {
  position: absolute;
  z-index: 1;
  left: 6.41025641%;
  top: clamp(17px, 5.38461538vw, 21px);
  width: 87.17948718%;
  height: clamp(48px, 14.87179487vw, 58px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(13px, 4.1025641vw, 16px);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  background: linear-gradient(180deg, #ff952e 0%, #ff5c18 62%, #f23d0c 100%);
  border: 1.5px solid #e15318;
  border-radius: 999px;
  box-shadow:
    0 4px 0 #b63318,
    inset 0 2px 0 rgb(255 255 255 / 38%);
  cursor: pointer;
  transition:
    transform 120ms ease,
    filter 120ms ease,
    box-shadow 120ms ease;
  -webkit-tap-highlight-color: transparent;
}

.floating-cta__button b {
  position: absolute;
  right: clamp(10px, 3.33333333vw, 13px);
  width: clamp(18px, 5.64102564vw, 22px);
  height: clamp(18px, 5.64102564vw, 22px);
  display: grid;
  place-items: center;
  padding: 0 0 2px 2px;
  color: #f5631c;
  font-family: Arial, sans-serif;
  font-size: clamp(16px, 5.12820513vw, 20px);
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  background: #fff;
  border-radius: 50%;
}

.floating-cta__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
  box-shadow:
    0 4px 0 #b63318,
    0 0 0 4px #ff7022;
}

.mobile-fixed-cta {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  height: calc(90px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  align-items: flex-end;
  justify-content: center;
  background: rgb(247 250 255 / 97%);
  box-shadow: 0 -5px 18px rgb(31 64 110 / 8%);
  backdrop-filter: blur(4px);
}

.mobile-fixed-cta::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 18px;
  background: linear-gradient(
    180deg,
    rgb(247 250 255 / 0%),
    rgb(247 250 255 / 97%) 55%,
    rgb(247 250 255 / 97%)
  );
  pointer-events: none;
}

.floating-cta--mobile {
  width: min(100vw, 390px);
}

.desktop-logo {
  position: absolute;
  top: 42.25%;
  left: 50%;
  width: 240px;
  transform: translate(-50%, -50%);
  color: #0873b5;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.desktop-logo__occ,
.desktop-logo__by {
  display: block;
}

.desktop-logo__occ {
  font-size: 88px;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.035em;
}

.desktop-logo__by {
  margin-top: 9px;
  color: #152a50;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.floating-cta--desktop {
  position: absolute;
  top: calc(50% + 75px);
  left: 50%;
  transform: translateX(-50%);
}

.floating-cta--desktop .floating-cta__button span {
  font-size: 15px;
}

.desktop-menu {
  position: absolute;
  top: calc(50% - 165px);
  left: 50%;
  width: 230px;
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
  color: #0c4b8a;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  list-style: none;
}

.desktop-menu li + li {
  margin-top: 34px;
}

.desktop-menu a {
  position: relative;
  display: inline-block;
  color: inherit;
  text-decoration: none;
  transition:
    color 150ms ease,
    transform 150ms ease;
}

.desktop-menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: #197bc2;
  transition: transform 150ms ease;
}

.desktop-menu a:focus-visible {
  outline: 2px solid #197bc2;
  outline-offset: 5px;
  border-radius: 2px;
}

@media (max-width: 1179px) {
  .mobile-fixed-cta {
    display: flex;
  }
}

@media (min-width: 1180px) {
  body {
    padding-bottom: 0;
    background:
      radial-gradient(ellipse 520px 350px at -3% 7%, rgb(196 226 252 / 60%), transparent 72%),
      radial-gradient(ellipse 580px 370px at 104% 1%, rgb(204 228 255 / 58%), transparent 72%),
      radial-gradient(ellipse 560px 470px at 86% 70%, rgb(200 221 255 / 54%), transparent 74%),
      radial-gradient(ellipse 430px 300px at 8% 104%, rgb(210 232 255 / 52%), transparent 72%),
      radial-gradient(ellipse 430px 300px at 49% 63%, rgb(255 235 226 / 27%), transparent 72%),
      #fff;
    background-attachment: fixed;
  }

  .lp {
    box-shadow: 0 0 28px rgb(35 65 112 / 8%);
  }

  .desktop-side {
    position: fixed;
    z-index: 10;
    top: 0;
    bottom: 0;
    display: block;
    width: calc(50vw - 195px);
    min-height: 640px;
  }

  .desktop-side--left {
    left: 0;
  }

  .desktop-side--right {
    right: 0;
  }

}

@media (hover: hover) and (pointer: fine) {
  .cta-hitarea:hover .image-cta__surface {
    transform: translateY(3px);
    filter: brightness(.96) saturate(1.06);
    box-shadow:
      0 1px 0 #a82f19,
      inset 0 5px 8px rgb(114 26 0 / 22%);
  }

  .floating-cta__button:hover {
    transform: translateY(3px);
    filter: brightness(.96) saturate(1.06);
    box-shadow:
      0 1px 0 #a82f19,
      inset 0 5px 8px rgb(114 26 0 / 22%);
  }

  .desktop-menu a:hover {
    color: #0879c7;
    transform: translateX(4px);
  }

  .desktop-menu a:hover::after {
    transform: scaleX(1);
  }

  .footer-link-hitarea:hover {
    color: #59b5ff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }
}

.cta-hitarea:active .image-cta__surface {
  transform: translateY(4px) scale(.992);
  filter: brightness(.92) saturate(1.08);
  box-shadow: inset 0 6px 10px rgb(102 24 0 / 30%);
}

.floating-cta__button:active {
  transform: translateY(4px) scale(.992);
  filter: brightness(.92) saturate(1.08);
  box-shadow: inset 0 6px 10px rgb(102 24 0 / 30%);
}

.footer-link-hitarea:active {
  color: #2f98ef;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

  .cta-hitarea,
  .image-cta__surface,
  .floating-cta__button,
  .footer-link-hitarea,
  .desktop-menu a,
  .desktop-menu a::after {
    transition: none;
  }
}
