:root {
  --lp-bg-1: #f6efe6;
  --lp-bg-2: #e5f1f4;
  --lp-accent-1: #ffb347;
  --lp-accent-2: #1a9da2;
  --lp-phone-frame: #1d1f22;
  --lp-phone-shadow: rgba(13, 18, 26, 0.28);
  --lp-text: #1b1e1f;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body.romptn-lp {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Helvetica Neue", sans-serif;
  color: var(--lp-text);
  background: #1aa7ff;
}

.lp-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
/*   padding:0 24px; */
  position: relative;
  overflow: hidden;
}

body.admin-bar .lp-wrap {
  min-height: calc(100vh - 32px);
}

.lp-phone {
  width: min(420px, 92vw);
  position: relative;
  z-index: 1;
}

.lp-phone__screen {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.lp-header-logo {
  position: absolute;
  top: 16px;
  left: 4px;
  height: 20px;
  width: auto;
  z-index: 2;
  pointer-events: none;
}

.lp-phone__images {
  position: relative;
  z-index: 1;
}

.lp-phone__images > img,
.lp-phone__images > .lp-image > img:not(.lp-header-logo) {
  display: block;
  width: 100%;
  height: auto;
}

.lp-form {
  position: relative;
  z-index: 1;
  background: #eefeff;
  border-radius: 24px;
  overflow: hidden;
  padding: 24px;
}


.lp-form__track {
  display: flex;
  width: 200%;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.lp-form__panel {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.5s ease;
}

.lp-form__panel--schedule {
  opacity: 0;
  pointer-events: none;
}

.lp-form.is-step-2 .lp-form__track {
  transform: translateX(-50%);
}

.lp-form.is-step-2 .lp-form__panel--input {
  opacity: 0;
  pointer-events: none;
}

.lp-form.is-step-2 .lp-form__panel--schedule {
  opacity: 1;
  pointer-events: auto;
}

.lp-form__title {
  margin: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #1b1e1f;
}

.lp-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #1b1e1f;
}

.lp-form__label {
  font-weight: 700;
}

.lp-form__input {
  border: 1px solid rgba(27, 30, 31, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  background: #fff;
}

.lp-form__input.is-invalid {
  border-color: #ff5f2e;
  box-shadow: 0 0 0 3px rgba(255, 95, 46, 0.18);
}

.lp-form__actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lp-form__panel--input .lp-form__actions {
  margin-top: 8px;
}

.lp-form__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.lp-form__btn--primary {
  background: linear-gradient(135deg, #ffb347 0%, #ff7a2f 52%, #ff5f2e 100%);
  color: #fff;
  box-shadow: 2px 2px 4px 0 rgba(90, 90, 90, 0.25);
}

.lp-form__btn--ghost {
  background: #fff;
  color: #1b1e1f;
  border: 1px solid rgba(27, 30, 31, 0.15);
}

.lp-form__slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lp-form__slot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(27, 30, 31, 0.15);
  background: #fff;
  font-weight: 700;
  font-size: 12.5px;
  color: #1b1e1f;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}


.lp-form__slot-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lp-form__slot-text {
  flex: 1 1 auto;
  text-align: left;
}

.lp-form__slot.is-selected {
  border-color: #ff7a2f;
  background: #fff3e6;
  box-shadow: 0 0 0 3px rgba(255, 95, 46, 0.25);
}

.lp-form__slot--wait {
  grid-column: 1 / -1;
  justify-content: center;
  text-align: center;
}

.lp-form__slot--wait {
  background: #fff9f0;
}

.lp-form__schedule-error {
  display: none;
  font-size: 12px;
  color: #ff5f2e;
  text-align: center;
}

.lp-form__schedule-message {
  font-size: 12px;
  color: rgba(27, 30, 31, 0.7);
  text-align: center;
}

.lp-form__schedule-link {
  margin-top: 8px;
  display: inline-flex;
  justify-content: center;
  font-size: 12px;
  color: #1b1e1f;
  text-decoration: underline;
}

.lp-form__loading {
  text-align: center;
  font-size: 12px;
  color: rgba(27, 30, 31, 0.6);
}

.lp-form__notes {
  margin-top: 32px;
  font-size: 7px;
  line-height: 1.4;
  color: rgba(27, 30, 31, 0.7);
}

.lp-form__notes p {
  margin: 0 0 6px;
}

.lp-footer {
  padding: 12px 0;
  text-align: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  background-color: #007AFF;
}

.lp-footer small {
  font-weight: 300;
  letter-spacing: 0.04em;
}

.lp-float-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(360px, calc(100% - 32px));
  height: 56px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #ffb347 0%, #ff7a2f 52%, #ff5f2e 100%);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 2px 2px 4px 0 rgba(90, 90, 90, 0.25);
  cursor: pointer;
  z-index: 50;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.lp-float-cta__icon {
  width: 22px;
  height: 22px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.lp-float-cta.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .lp-float-cta {
    transition: none;
  }
}
.lp-image {
  position: relative;
}

.lp-image__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 28px 24px 24px;
  text-align: center;
  pointer-events: none;
}

.lp-cta-title {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.lp-cta-title::before,
.lp-cta-title::after {
  content: "";
  flex: 1 1 80px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
}

.lp-countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  position: relative;
  top: 18px;
}

.lp-countdown__group {
  display: flex;
  align-items: flex-end;
}

.lp-countdown__value {
  font-size: 24px;
  line-height: 1;
}

.lp-countdown__unit {
  font-size: 12px;
  line-height: 1.1;
  margin-left: 4px;
}

.lp-cta-spacer {
  flex: 1 1 auto;
}

.lp-cta-badge {
  z-index: 999;
  position: relative;
  background: #fff;
  color: #0c6ed6;
  font-weight: 700;
  font-size: 12px;
  padding: 2px 24px;
  border-radius: 999px;
  text-shadow: none;
  bottom: 2px;
}

.lp-cta-badge::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px;
}

.lp-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: min(343px, 100%);
  height: 60px;
  padding: 0 24px;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb347 0%, #ff7a2f 52%, #ff5f2e 100%);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 2px 2px 4px 0 rgba(90, 90, 90, 0.25);
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  animation: lp-cta-pulse 2.8s ease-in-out infinite;
  flex: 0 0 auto;
  bottom: 20px;
}

.lp-cta__text {
  line-height: 1;
  white-space: nowrap;
}

.lp-cta:hover,
.lp-cta:focus,
.lp-cta:focus-visible {
  color: #fff;
}

.lp-cta__icon {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.lp-cta::after {
  content: "";
  position: absolute;
  inset: -40% 60% -40% -40%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 80%);
  transform: translateX(-120%);
  animation: lp-cta-shine 3.6s ease-in-out infinite;
}

.lp-review {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding:12px;
  pointer-events: auto;
}

.lp-review__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lp-review__viewport::-webkit-scrollbar {
  display: none;
}

.lp-review__track {
  display: flex;
  gap: 16px;
  padding: 4px 16px;
}

.lp-review__card {
  flex: 0 0 80%;
  max-width: 320px;
  width: 80%;
  height: auto;
  border-radius: 12px;
  scroll-snap-align: center;
}

.lp-review__dots {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding-bottom: 6px;
}

.lp-review__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  padding: 0;
  cursor: pointer;
}

.lp-review__dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.lp-present {
  background: linear-gradient(180deg, #ebf8fb 0%, #ffffff 100%);
  padding: 18px 0;
}

.lp-present__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lp-present__viewport::-webkit-scrollbar {
  display: none;
}

.lp-present__marquee {
  display: flex;
  width: max-content;
  animation: lp-present-marquee 60s linear infinite;
}

.lp-present__track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
}

.lp-phone__images .lp-present__img {
  width: 185px;
  height: 101px;
  flex: 0 0 185px;
  object-fit: contain;
  border-radius: 8px;
}



@media (max-width: 520px) {
  .lp-phone {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-present__marquee {
    animation: none;
  }

  .lp-cta,
  .lp-cta::after {
    animation: none;
  }
}


@keyframes lp-present-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
