:root {
  --navy: #131b2e;
  --gray: #eef0f3;
  --concrete: #e2e4e8;
  --text-sub: #4b5563;
  --grad: linear-gradient(90deg, #833ab4 0%, #c13584 35%, #e1306c 65%, #f77737 100%);
  --col: 560px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #d9dce1;
  color: var(--navy);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
img { display: block; width: 100%; height: auto; }
h1, h2, h3, .headline { word-break: auto-phrase; text-wrap: balance; line-break: strict; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.page {
  max-width: var(--col);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 40px rgba(19, 27, 46, .12);
}
.part { position: relative; margin: 0; }

/* ---------- FV：画像の下に動画とボタン ---------- */
.fv-lower {
  background: linear-gradient(90deg, #d9dee5 0%, #dee2e9 20%, #d8dce3 40%, #d8dce4 60%, #d8dce3 80%, #e6eaf0 100%);
  padding: 0 4.6% 28px;
}
.video-wrap { position: relative; padding-top: 18px; }
.video-tab {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: #fff; color: var(--navy);
  font-size: clamp(14px, 3.6vw, 18px); line-height: 1.5;
  padding: 8px 16px;
  margin: 0;
}
.video-frame {
  position: relative;
  padding: 3px;
  background: var(--grad);
}
.video-frame video {
  display: block; width: 100%;
  aspect-ratio: 16 / 9; height: auto;
  background: var(--navy);
  object-fit: contain;
}
.video-note {
  margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-sub);
}

/* ---------- ボタン（すべて同じ見た目） ---------- */
.apply-btn {
  display: flex; align-items: center; justify-content: center; gap: .6em;
  width: 100%; min-height: 64px;
  padding: 14px 16px;
  background: var(--grad);
  color: #fff; text-decoration: none;
  font-weight: 700; font-size: clamp(16px, 4.4vw, 22px); line-height: 1.4;
  letter-spacing: .02em;
  transition: filter .2s, transform .2s;
}
.apply-btn:hover { filter: brightness(1.06); }
.apply-btn:active { transform: translateY(1px); }
.apply-btn:focus-visible { outline: 3px solid #fcaf45; outline-offset: 3px; }
.apply-btn .arrow { font-weight: 400; }
.is-ended .apply-btn {
  background: #9aa1ad; cursor: not-allowed; pointer-events: none;
}
.is-ended .apply-btn .arrow { display: none; }

/* ---------- カウントダウン ---------- */
.countdown {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: 2px 8px;
  margin: 0 0 10px;
  font-size: 14px; line-height: 1.6;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.countdown b { font-size: 22px; font-weight: 600; margin-right: 1px; }
.countdown .cd-lead { width: 100%; text-align: center; font-size: 13px; color: var(--text-sub); }
.countdown .cd-ended { font-size: 16px; font-weight: 700; color: #b42318; }
.dark .countdown { color: #fff; }
.dark .countdown .cd-lead { color: #c9ced6; }
.dark .countdown .cd-ended { color: #ffb4a8; }

.cta-note { margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-sub); }
.dark .cta-note { color: #c9ced6; }

.fv-cta { margin-top: 26px; }

/* ---------- 途中のCTA ---------- */
.cta-mid {
  background: var(--navy);
  padding: 30px 6% 32px;
  position: relative;
}
.cta-mid::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad);
}
.cta-mid .cta-lead {
  margin: 0 0 14px; text-align: center; color: #fff;
  font-size: 15px; line-height: 1.7; font-weight: 300;
}

/* ---------- 最後のCTA（画像のボタンにリンクを重ねる） ---------- */
.img-cta { position: relative; }
.img-cta .hit {
  position: absolute; display: block;
  left: var(--hit-l); top: var(--hit-t); width: var(--hit-w); height: var(--hit-h);
}
.img-cta .hit:focus-visible { outline: 3px solid #fcaf45; outline-offset: 2px; }
.is-ended .img-cta .hit {
  background: #3a4150; pointer-events: none; cursor: not-allowed;
  display: flex; align-items: center; justify-content: center;
}
.is-ended .img-cta .hit::after {
  content: "募集は終了しました"; color: #fff; font-weight: 700; font-size: clamp(15px, 4vw, 20px);
}
.final-after { background: var(--navy); padding: 8px 6% 34px; text-align: center; }
.final-after .countdown { margin-top: 0; }

/* ---------- フッター ---------- */
.footer {
  background: #0c1220; color: #c9ced6;
  padding: 24px 6% 110px;
  font-size: 13px; line-height: 1.7; text-align: center;
}
.footer p { margin: 0; }

/* ---------- スマホの追従バー ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 8px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(19, 27, 46, .96);
  transform: translateY(110%); visibility: hidden;
  transition: transform .3s, visibility 0s .3s;
}
.sticky-cta.is-shown { transform: none; visibility: visible; transition: transform .3s; }
.sticky-cta .countdown { margin: 0 0 6px; color: #fff; font-size: 12px; gap: 0 6px; }
.sticky-cta .countdown b { font-size: 16px; }
.sticky-cta .countdown .cd-lead { width: auto; color: #c9ced6; font-size: 12px; }
.sticky-cta .apply-btn { min-height: 48px; padding: 10px 12px; font-size: 16px; }
@media (min-width: 769px) {
  .sticky-cta { display: none; }
  .footer { padding-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.footer a{color:inherit;text-decoration:underline}
