﻿:root {
  --blue: #1F3BFF;
  --lemon: #FFE14A;
  --ink: #111111;
  --gray: #F2F3F7;
  --col: 560px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--gray);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3 { word-break: keep-all; text-wrap: balance; line-break: strict; }

/* 読み上げ用（画像内の文字と同じ内容） */
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 50;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.skip:focus { top: 8px; }

.lp {
  max-width: var(--col);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, .06), 0 20px 60px rgba(31, 59, 255, .08);
}

@media (min-width: 900px) {
  body {
    background:
      linear-gradient(90deg, transparent calc(50% - var(--col) / 2 - 1px), rgba(17,17,17,.08) calc(50% - var(--col) / 2 - 1px), rgba(17,17,17,.08) calc(50% - var(--col) / 2), transparent calc(50% - var(--col) / 2)),
      var(--gray);
  }
}

.part { position: relative; margin: 0; }
.part img { display: block; width: 100%; height: auto; }

/* 画像内のボタンの上に重ねるリンク */
.hit {
  position: absolute;
  left: 5%; right: 5%;
  top: var(--top); height: var(--height);
  min-height: 44px;
  border-radius: 9999px;
  font-size: 0; color: transparent;
  transition: box-shadow .2s, transform .2s;
}
.hit:hover { box-shadow: 0 0 0 3px rgba(255, 225, 74, .9); }
.hit:focus-visible { outline: 3px solid var(--lemon); outline-offset: 3px; }
.hit:active { transform: translateY(1px); }

/* FV の見せ場：下からせり上がる */
.part--fv img { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px) scale(.985); }
  to { opacity: 1; transform: none; }
}

/* スクロールで現れる */
.js .part:not(.part--fv) img { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .part.is-in img { opacity: 1; transform: none; }

.foot {
  padding: 32px 6% 120px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
}
.foot__note { margin: 0 0 12px; }
.foot__copy { margin: 0; color: #aaa; font-size: 13px; }

/* 追従ボタン（FV を過ぎて、申込に届くまで） */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; justify-content: center;
  pointer-events: none;
  transform: translateY(110%);
  transition: transform .35s ease;
}
.sticky.is-show { transform: none; pointer-events: auto; }
/* 画像内のボタンと同じ素材・同じ光：ピル型、上から光、紺の影（黒・グレーは使わない） */
.sticky__btn {
  --shadow-rgb: 10, 23, 128;
  position: relative;
  width: 100%; max-width: calc(var(--col) - 32px);
  min-height: 54px;
  padding: 0 64px 0 24px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700; font-size: 17px; letter-spacing: .04em; text-decoration: none;
  text-shadow: 0 1px 2px rgba(var(--shadow-rgb), .45);
  border-radius: 9999px;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.2), rgba(255,255,255,0) 33%),
    linear-gradient(to bottom, #425CFF, var(--blue));
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.6),
    inset -2px -4px 8px rgba(255,255,255,.18),
    0 4px 0 #1328C4,
    0 10px 22px rgba(var(--shadow-rgb), .3);
  transition: transform .15s, box-shadow .15s;
}
.sticky__btn span {
  position: absolute; right: 9px; top: 50%;
  width: 38px; height: 38px; margin-top: -19px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff; color: var(--blue);
  font-size: 18px; text-shadow: none;
}
.sticky__btn:hover { transform: translateY(-1px); }
.sticky__btn:active {
  transform: translateY(3px);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.6), 0 1px 0 #1328C4, 0 5px 12px rgba(var(--shadow-rgb), .3);
}

.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 30;
  transform: translateX(-50%);
  width: min(92vw, 420px);
  padding: 14px 18px;
  background: var(--ink); color: #fff;
  border-left: 6px solid var(--lemon);
  border-radius: 8px;
  font-size: 15px; line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .part--fv img, .part img { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .sticky { transition: none; }
}
