@import "./auth.css";

html {
  scroll-behavior: smooth;
}

.register-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.register-page__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: none;
}

.register-page__bg::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: url("/images/auth/register/fv-bg.png") center center / cover no-repeat;
  transform: scale(1.06);
  filter: blur(1.5px) brightness(0.75);
}

.register-page__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center,
      rgba(255, 200, 80, 0.10) 0%,
      rgba(0, 0, 0, 0.00) 34%,
      rgba(0, 0, 0, 0.52) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.54) 35%,
      rgba(0, 0, 0, 0.64) 100%
    );
}

.register-page__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0 80px;
}

/* HERO */
.hero {
  padding: 24px 0 0;
}

.hero-images {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-images__item {
  width:70%;
  height: auto;
}

.hero-images__item--sub {
  max-width: 820px;
}

.hero-images__item--main {
  max-width: 920px;
}

.hero-images__item--cta {
  max-width: 980px;
}

/* フォーム */
.hero-form {
  max-width: 640px;
  margin: 32px auto 0;
  padding: 24px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  text-align: center;
}

.hero-form__lead {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

/* ★フォーム用（追加） */
form input {
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: none;
}

form button {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  background: #ffcc00;
  cursor: pointer;
}

/* コンテンツ */
.content-card {
  margin-top: 28px;
  padding: 40px 24px;
  border-radius: 28px;
  background: #fff;
}

/* セクションタイトル */
.section-title,
.future-title,
.register-title {
  margin-bottom: 22px;
  text-align: center;
  font-size: 50px;
  font-weight: 800;
}

/* ベネフィット */
.benefit-list {
  display: grid;
  gap: 14px;
}

.benefit-item {
  display: flex;
  gap: 12px;
  padding: 0 50px 0;
  border-radius: 16px;
  background: #fff;
}

.benefit-item__num {
  font-size: 30px;
  font-weight: bold;
  color: #ff9900;
}

.benefit-item__text {
  font-size: 30px;
  font-weight: bold;
}


/* 未来 */
.future-lead {
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  margin: 100px 0 100px;
}

.future-points {
  padding: 20px;
  background: #f5f5f5;
  border-radius: 16px;
  font-size: 25px;
}

.future-text {
  text-align: center;
  font-size: 20px;
  margin: 80px 0 80px;
}

/* 登録 */
.register-sub {
  text-align: center;
  margin-bottom: 22px;
  font-size: 20px;
}

.register-form-box {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 20px;
  border-radius: 20px;
  background: #fff;
}

/* SP */
@media (max-width: 767px) {

  .result-list {
    grid-template-columns: 1fr;
  }

  .section-title,
  .future-title,
  .register-title {
    font-size: 22px;
  }

}

/* =================================
   LP FORM
================================= */
.lp-form {
  width: 100%;
}

.lp-form__group {
  margin-bottom: 14px;
}

.lp-form__input {
  width: 90%;
  height: 56px;
  padding: 0 18px;
  border: 1px solid rgb(0, 0, 0);
  border-radius: 14px;
  background: var(--color-white);
  font-size: 16px;
  line-height: 1;
  color: var(--color-text);
  box-shadow: inset 0 2px 6px rgb(0 0 0 / 4%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-form__input::placeholder {
  color: #8f8f8f;
}

.lp-form__input:focus {
  outline: none;
  border-color: var(--color-warning);
  box-shadow:
    0 0 0 4px rgb(255 183 0 / 18%),
    inset 0 2px 6px rgb(0 0 0 / 4%);
}

.lp-form__error {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: #c83939;
  text-align: left;
}

.lp-form__note {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-muted);
  text-align: center;
}

.lp-form__button {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 16px 18px 15px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    #ffd95a 0%,
    #ffbe1b 52%,
    #f39a00 100%
  );
  box-shadow:
    0 10px 24px rgb(243 154 0 / 28%),
    inset 0 1px 0 rgb(255 255 255 / 55%);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.lp-form__button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgb(243 154 0 / 34%),
    inset 0 1px 0 rgb(255 255 255 / 55%);
}

.lp-form__button:active {
  transform: translateY(0);
}

.lp-form__button-main {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  color: #4a2b00;
  letter-spacing: 0.02em;
}

.lp-form__button-sub {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: rgb(74 43 0 / 78%);
}

/* hero側はガラス感に合わせる */
.hero-form .lp-form__input {
  border: 1px solid rgb(0, 0, 0);
  background: rgb(255 255 255 / 96%);
}

.hero-form .lp-form__note {
  color: rgb(255 255 255 / 88%);
}

.hero-form .lp-form__error {
  color: #ffd2d2;
}

/* 下フォーム側は白カードに合わせる */
.register-form-box .lp-form__note {
  color: var(--color-text-muted);
}

@media (max-width: 767px) {
  .lp-form__input {
    height: 52px;
    padding: 0 14px;
    font-size: 15px;
    border-radius: 12px;
  }

  .lp-form__button {
    margin-top: 16px;
    padding: 14px 14px 13px;
    border-radius: 14px;
  }

  .lp-form__button-main {
    font-size: 18px;
  }

  .lp-form__button-sub {
    font-size: 11px;
  }

  .lp-form__note {
    font-size: 12px;
  }
}

.future-title-image {
  margin-bottom: 20px;
  text-align: center;
}

.future-title-image img {
  width: 100%;
  max-width: 720px;
  height: auto;
}

.marker {
  position: relative;
  font-weight: 800;
  z-index: 0;
}

/* マーカー部分 */
.marker::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 10px;
  background: linear-gradient(
    90deg,
    rgba(255, 220, 120, 0.9),
    rgba(255, 190, 0, 0.9)
  );
  z-index: -1;
  border-radius: 4px;
}

/* 横スクロール全体 */
.result-scroll {
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

/* スクロール中身 */
.result-scroll__inner {
  display: flex;
  gap: 14px;
  padding: 4px 4px 10px;
}


.result-scroll {
  overflow: hidden;
  position: relative;
}

.result-scroll__track {
  display: flex;
  width: max-content;
  animation: scrollLoop 50s linear infinite;
}

.result-scroll__group {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}


.result-item img {
  width: 100%;
  display: block;
  
}

/* アニメーション */
@keyframes scrollLoop {
  0% {
    transform: translateX(0);
    animation: scrollLoop 50s linear infinite;
  }
  100% {
    transform: translateX(-50%);
  }
  
}
.result-scroll:hover .result-scroll__track {
  animation-play-state: paused;
}

.result-scroll {
  touch-action: pan-y;
}

/* カード */
.result-item {
  width: 500px;
  scroll-snap-align: start;
}

.hero-images__item--under {
  margin-top: 16px;
  max-width: 820px;
}

.section-title-image {
  margin-bottom: 22px;
  text-align: center;
}

.section-title-image img {
  width: 100%;
  max-width: 680px;
  height: auto;
}

.hero-images__item--main {
  position: relative;
}

.hero-images__main-image {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  z-index: 1;
}

.hero-images__item--main::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.35), transparent 72%);
  filter: blur(38px);
  opacity: 0.5;
  animation: heroFlashOuter 1.6s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.hero-images__item--main::after {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(255, 230, 120, 0.8), transparent 68%);
  filter: blur(22px);
  opacity: 0.7;
  animation: heroFlashInner 1.6s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes heroFlashInner {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.96);
  }
  20% {
    opacity: 0.95;
    transform: scale(1.06);
  }
  40% {
    opacity: 0.45;
    transform: scale(0.98);
  }
  60% {
    opacity: 1;
    transform: scale(1.08);
  }
  80% {
    opacity: 0.5;
    transform: scale(1);
  }
}

@keyframes heroFlashOuter {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.94);
  }
  20% {
    opacity: 0.6;
    transform: scale(1.08);
  }
  40% {
    opacity: 0.28;
    transform: scale(0.98);
  }
  60% {
    opacity: 0.7;
    transform: scale(1.12);
  }
  80% {
    opacity: 0.3;
    transform: scale(1.02);
  }
}

.hero-images__item--cta {
  animation: ctaPulse 2.5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes ctaPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

.footer {
  position: relative;
  margin-top: 80px;
  padding: 56px 20px 24px;
  background: linear-gradient(
    180deg,
    rgba(18, 12, 6, 0.96) 0%,
    rgba(8, 6, 4, 0.98) 100%
  );
  border-top: 1px solid rgba(255, 215, 120, 0.28);
  color: rgba(255, 255, 255, 0.82);
}

.footer-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.footer-lead {
  margin: 0 0 28px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  color: rgba(255, 240, 210, 0.9);
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-column {
  min-width: 220px;
}

.footer-column-title {
  position: relative;
  margin-bottom: 16px;
  padding-bottom: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #ffd76a;
}

.footer-column-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, #ffd76a, transparent);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li + li {
  margin-top: 10px;
}

.footer-link {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: 0.2s;
}

.footer-link:hover {
  color: #ffd76a;
  transform: translateX(2px);
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 767px) {
  .footer {
    margin-top: 20px;
    padding: 34px 16px 18px;
  }

  .footer-content {
    gap: 0px;
  }

  .footer-column {
    width: 100%;
    text-align: center;
  }

  .footer-column-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-column-title{margin-bottom: 0px; padding-bottom: 5px; font-size: 13px;}

  .footer-link{font-size: 11px;}
  
}