* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #d9ecff;
  color: #092b63;
  font-family: "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
}

body {
  padding-bottom: 82px;
}

.lp {
  width: min(100%, 430px);
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 22px 70px rgba(9, 43, 99, 0.2);
}

.slice {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.slice img {
  display: block;
  width: 100%;
  height: auto;
}

.image-button,
.fixed-cta,
.modal-ok {
  border: 3px solid #092b63;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe66c, #ffc21d);
  color: #092b63;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 7px 0 rgba(9, 43, 99, 0.22);
}

.image-button {
  position: absolute;
  left: 6%;
  right: 6%;
  z-index: 5;
  display: flex;
  min-height: 92px;
  padding: 12px 18px 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  isolation: isolate;
}

.button-micro {
  display: block;
  max-width: 86%;
  padding: 5px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #092b63;
  font-size: clamp(11px, 3vw, 15px);
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.button-main {
  display: block;
  color: #092b63;
  font-size: clamp(22px, 6.2vw, 32px);
  font-weight: 900;
  line-height: 1.05;
}

.image-button-image {
  position: absolute;
  left: 5.2%;
  right: 5.2%;
  bottom: 1.5%;
  z-index: 5;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.image-button-image img {
  display: block;
  width: 100%;
  height: auto;
}

.image-button-image:active {
  transform: translateY(3px);
}

.image-button-image:focus-visible {
  outline: 4px solid #69b8ff;
  outline-offset: 3px;
  border-radius: 999px;
}

.button-mask {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 4;
  pointer-events: none;
}

.image-button:active,
.fixed-cta:active,
.modal-ok:active {
  transform: translateY(4px);
  box-shadow: 0 3px 0 rgba(9, 43, 99, 0.22);
}

.image-button:focus-visible,
.fixed-cta:focus-visible,
.modal-ok:focus-visible,
.modal-close:focus-visible {
  outline: 4px solid #69b8ff;
  outline-offset: 3px;
}

.fv-button {
  bottom: 3.1%;
}

.fv-mask {
  bottom: 0;
  height: 142px;
  background: #0b3271;
}

.final-button {
  left: 6%;
  right: 6%;
  bottom: 12.6%;
  min-height: 98px;
}

.final-mask {
  left: 0;
  right: 0;
  bottom: 8.2%;
  height: 156px;
  background: #eaf7ff;
}

.fixed-cta {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 20;
  width: min(calc(100% - 28px), 400px);
  min-height: 58px;
  padding: 10px 18px;
  font-size: 22px;
  line-height: 1.15;
  transform: translateX(-50%);
}

.fixed-cta:active {
  transform: translate(-50%, 4px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 46, 0.55);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 28px 22px 22px;
  border: 4px solid #092b63;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(4, 20, 46, 0.35);
  text-align: center;
}

.modal-panel h2 {
  margin: 0;
  color: #092b63;
  font-size: 25px;
  line-height: 1.25;
}

.modal-panel p {
  margin: 14px 0 20px;
  color: #24466f;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.65;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eaf5ff;
  color: #092b63;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.modal-ok {
  min-width: 150px;
  min-height: 48px;
  padding: 8px 18px;
  font-size: 18px;
}

@media (max-width: 390px) {
  .image-button {
    min-height: 86px;
  }

  .fixed-cta {
    min-height: 54px;
    font-size: 20px;
  }
}
