@charset "UTF-8";
/* ========== ========== ==========
TOP FV・ビジョン（templateParts/top-fv.php）
Zen Kaku Gothic New（力強いゴシック）＋行ごとに下からせり上がる
========== ========== ========== */

.fvx,
.vsx {
  --fx-main: #6460c1;
  --fx-pink: #d926a6;
  --fx-text: #22213a;
  --fx-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --fx-font: "Zen Kaku Gothic New", "游ゴシック体", YuGothic, sans-serif;
  color: var(--fx-text);
}

/* ---------- FV ---------- */
.fvx {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 140px 0 160px;
  overflow: hidden;
  background: #fff;
}

.fvx__bg {
  position: absolute;
  inset: 0;
  background: url(/wp/wp-content/uploads/2026/01/bg_fv-1.webp) center / cover no-repeat;
  animation: fvx-breathe 14s ease-in-out infinite alternate;
}

@keyframes fvx-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.06) translateY(-1%); }
}

.fvx__inner {
  position: relative;
  width: min(1160px, 100%);
  margin-inline: auto;
  padding: 0 48px;
}

.fvx__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Outfit", "Lato", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fx-main);
  opacity: 0;
  animation: fvx-fade 0.8s var(--fx-ease) 0.1s forwards;
}

/* SOS＝助けを求める信号のイメージで、小さな点が波紋のように広がる */
.fvx__ping {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fx-pink);
}

.fvx__ping::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--fx-pink);
  animation: fvx-ping 2s ease-out infinite;
}

@keyframes fvx-ping {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(3.4); opacity: 0; }
}

@keyframes fvx-fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.fvx__title {
  margin-top: 24px;
  font-family: var(--fx-font);
  font-size: clamp(36px, 5.4vw, 80px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0.02em;
}

.fvx__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--fx-main) 0%, var(--fx-pink) 50%, var(--fx-main) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fvx-shine 4s linear 1.4s infinite;
}

@keyframes fvx-shine {
  to { background-position: -200% 0; }
}

/* サイト共通CSSで span が標準の太さに戻されるため、見出し内は親の太さを引き継ぐ */
.fvx__title span,
.fvx__title em,
.vsx__text span {
  font-weight: inherit;
}

/* 行ごとに下からせり上がる */
.fvx__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.fvx__line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: fvx-rise 1s var(--fx-ease) forwards;
}

.fvx__line:nth-of-type(1) > span { animation-delay: 0.25s; }
.fvx__line:nth-of-type(2) > span { animation-delay: 0.42s; }

@keyframes fvx-rise {
  to { transform: none; }
}

.fvx__lead {
  margin-top: 28px;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.9;
  color: #3a3950;
  opacity: 0;
  animation: fvx-fade 0.9s var(--fx-ease) 0.9s forwards;
}

.fvx__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  opacity: 0;
  animation: fvx-fade 0.9s var(--fx-ease) 1.05s forwards;
}

.fvx__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.fvx__btn:hover {
  transform: translateY(-2px);
}

.fvx__btn--main {
  background: var(--fx-main);
  color: #fff;
  box-shadow: 0 8px 24px rgba(100, 96, 193, 0.3);
}

.fvx__btn--main:hover {
  background: #4d49a3;
}

.fvx__btn--sub {
  border: 1px solid var(--fx-main);
  background: rgba(255, 255, 255, 0.8);
  color: var(--fx-main);
}

/* 下を流れる英文 */
.fvx__marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  animation: fvx-fade 1.2s ease 1.2s forwards;
}

.fvx__marquee-track {
  display: flex;
  width: max-content;
  animation: fvx-marquee 40s linear infinite;
}

.fvx__marquee span {
  padding-right: 0.6em;
  font-family: "Outfit", "Lato", sans-serif;
  font-size: clamp(56px, 8vw, 128px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(100, 96, 193, 0.28);
}

@keyframes fvx-marquee {
  to { transform: translateX(-50%); }
}

.fvx__scroll {
  position: absolute;
  right: 40px;
  bottom: 48px;
  writing-mode: vertical-rl;
  font-family: "Outfit", "Lato", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fx-main);
}

.fvx__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 56px;
  margin: 10px auto 0;
  background: linear-gradient(var(--fx-main), transparent);
  animation: fvx-scroll 1.8s ease-in-out infinite;
  transform-origin: top;
}

@keyframes fvx-scroll {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- ビジョン ---------- */
.vsx {
  padding: 140px 0 120px;
  background: #fff;
}

.vsx__inner {
  max-width: 960px;
  margin-inline: auto;
  padding: 0 32px;
  text-align: center;
}

.vsx__eyebrow {
  font-family: "Outfit", "Lato", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fx-main);
}

.vsx__catch {
  margin-top: 16px;
  font-family: var(--fx-font);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
}

.vsx__text {
  margin-top: 40px;
  font-family: var(--fx-font);
  font-size: clamp(19px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* 強調部分：画面に入ると下線マーカーが左から引かれる（.is-shown は reveal.js が付ける） */
.vsx__mark {
  color: var(--fx-main);
  background: linear-gradient(transparent 62%, rgba(212, 198, 247, 0.75) 62%) no-repeat 0 0 / 0% 100%;
  transition: background-size 1s var(--fx-ease) 0.5s;
}

.vsx.is-shown .vsx__mark,
.vsx:not(.u-reveal) .vsx__mark {
  background-size: 100% 100%;
}

.vsx.is-shown .vsx__mark:nth-of-type(2) {
  transition-delay: 0.9s;
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 768px) {
  .fvx {
    min-height: 92svh;
    padding: 110px 0 120px;
  }

  .fvx__bg {
    background-position: 70% center;
    opacity: 0.7;
  }

  .fvx__inner {
    padding: 0 20px;
  }

  .fvx__eyebrow {
    font-size: 12px;
  }

  .fvx__title {
    font-size: clamp(30px, 8.6vw, 40px);
  }

  .fvx__lead br {
    display: none;
  }

  .fvx__cta {
    flex-direction: column;
  }

  .fvx__btn {
    width: 100%;
  }

  .fvx__marquee {
    bottom: 24px;
  }

  .fvx__scroll {
    display: none;
  }


  .vsx {
    padding: 88px 0 80px;
  }

  .vsx__inner {
    padding: 0 20px;
    text-align: left;
  }

  .vsx__text br {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fvx *,
  .fvx *::before,
  .fvx *::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ビジョン文の改行：PCは句読点の位置で区切り、狭い画面では自然に折り返す */
.vsx__text {
  font-size: clamp(19px, 2.1vw, 28px);
}

@media screen and (max-width: 1000px) {
  .vsx__br {
    display: none;
  }
}

/* ビジョン部分はボディと同じ游ゴシックに（FVの見出しだけ Zen Kaku Gothic New） */
.vsx {
  --fx-font: "游ゴシック体", YuGothic, "Yu Gothic Medium", "Yu Gothic", sans-serif;
}
