/* eslint-disable */
/* FV styles */

/* Common FV elements */
.fv-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 14px;
  letter-spacing: 0.3em; color: var(--c-gold);
  text-transform: uppercase; margin-bottom: 32px;
}
.fv-eyebrow-line { width: 40px; height: 1px; background: var(--c-gold); display: inline-block; }
.fv-eyebrow-center {
  font-family: var(--font-en); font-size: 14px;
  letter-spacing: 0.4em; color: var(--c-gold);
  text-transform: uppercase; text-align: center; margin-bottom: 36px;
}

.fv-catch {
  font-size: 64px; font-weight: 500;
  line-height: 1.45; letter-spacing: 0.04em;
  color: var(--c-primary-deep);
  margin-bottom: 28px;
}
.fv-catch--center { text-align: center; }
.fv-catch--xl { font-size: 76px; line-height: 1.35; }
.fv-catch--mega {
  font-size: 96px; line-height: 1.15; letter-spacing: 0.02em;
  display: flex; flex-direction: column;
}
.fv-catch--mega .accent { color: var(--c-accent);  font-family: var(--font-en); font-weight: 500; }
.fv-catch__line {
  display: inline-block; opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.fv-sub {
  font-size: 18px; color: var(--c-ink-soft);
  letter-spacing: 0.06em; line-height: 1.9; margin-bottom: 48px;
}
.fv-sub--center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: 56px; }

/* SPLIT */
.fv--split {
  display: none !important;
  padding: calc(var(--header-h) + 24px) 64px 80px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px;
  max-width: 1440px; margin: 0 auto;
  position: relative;
  min-height: 90vh;
}
.fv--split::before {
  content: ""; position: absolute; right: -100px; top: 80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--c-accent-glow) 0%, transparent 70%);
  opacity: 0.18; pointer-events: none; z-index: 0;
  animation: floatSlow 8s ease-in-out infinite;
}
.fv-split__copy { padding-top: 8px; position: relative; z-index: 1; }
.fv-features {
  margin: 56px 0; display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--c-line);
}
.fv-feature {
  text-align: left; padding: 22px 0; display: grid;
  grid-template-columns: 56px 160px 1fr;
  gap: 24px; align-items: center;
  border-bottom: 1px solid var(--c-line);
  position: relative;
}
.fv-feature.is-active { background: var(--grad-emerald-soft); padding: 22px 16px; }
.fv-feature__num {
  font-family: var(--font-en); font-size: 22px; 
  color: var(--c-gold);
}
.fv-feature__kw {
  font-family: var(--font-en); font-size: 18px; 
  color: var(--c-primary-deep);
}
.fv-feature__title {
  font-size: 14px; line-height: 1.7; color: var(--c-ink); white-space: pre-line;
}
.fv-feature__bar {
  position: absolute; left: 0; bottom: -1px; width: 0; height: 2px;
  background: var(--grad-emerald); transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fv-feature.is-active .fv-feature__bar { width: 100%; }

.fv-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.fv-cta-row--center { justify-content: center; }

/* split visual */
.fv-split__visual {
  position: relative; padding-top: 8px;
}
.fv-split__visual.reveal-right { transition-delay: 0.2s; }
.fv-visual-frame {
  position: relative; aspect-ratio: 3 / 4;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  overflow: hidden;
}
.hero-foot-svg { width: 100%; height: 100%; }
.fv-visual-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 35%;
  opacity: 0; transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.fv-visual-photo.is-active { opacity: 1; }
.fv-visual-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,59,48,0) 35%, rgba(5,59,48,0.35) 100%);
  pointer-events: none;
}
.fv-visual-frame .fv-visual-caption,
.fv-visual-frame .fv-scroll-hint { z-index: 3; }
.fv-visual-frame .hero-foot-svg { position: relative; z-index: 2; opacity: 0.0; }
.fv-visual-caption {
  position: absolute; left: 24px; bottom: 24px;
  display: flex; align-items: baseline; gap: 14px;
  background: rgba(255,255,255,0.85); padding: 10px 16px;
  backdrop-filter: blur(8px);
}
.fv-visual-caption__num {
  font-family: var(--font-en); font-size: 28px; 
  color: var(--c-accent);
}
.fv-visual-caption__txt {
  font-family: var(--font-en); letter-spacing: 0.2em; font-size: 14px;
  color: var(--c-primary-deep);
}
.fv-visual-meta {
  margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--c-line); padding-top: 24px;
}
.fv-visual-meta > div { padding: 0 16px; border-right: 1px solid var(--c-line); }
.fv-visual-meta > div:last-child { border-right: none; }
.fv-visual-meta small {
  display: block; font-family: var(--font-en); font-size: 14px;
  letter-spacing: 0.24em; color: var(--c-mute); margin-bottom: 6px;
}
.fv-visual-meta strong {
  font-family: var(--font-en); font-size: 14px; letter-spacing: 0.16em;
  color: var(--c-primary-deep); font-weight: 600;
}

.fv-scroll-hint {
  position: absolute; bottom: 32px; left: 64px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 14px;
  letter-spacing: 0.3em; color: var(--c-ink-soft);
}
.fv-scroll-hint__line {
  width: 60px; height: 1px; background: var(--c-ink-soft);
  position: relative; overflow: hidden;
}
.fv-scroll-hint__line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  background: var(--c-accent);
  animation: scrollPulse 2.4s linear infinite;
}
@keyframes scrollPulse {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* STACK */
.fv--stack {
  position: relative; min-height: 100vh;
  padding: calc(var(--header-h) + 80px) 64px 100px;
  overflow: hidden;
}
.fv-stack__bg {
  position: absolute; inset: 0; opacity: 0.18;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.fv-stack__bg .hero-foot-svg { height: 100%; width: auto; }
.fv-stack__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--c-bg) 80%);
}
.fv-stack__inner {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto; text-align: center;
}
.fv-features-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin: 64px 0 48px;
}
.fv-feature-card {
  padding: 32px 24px; background: rgba(255,255,255,0.7);
  border: 1px solid var(--c-line);
  text-align: left;
  display: flex; flex-direction: column; gap: 12px;
  cursor: pointer;
}
.fv-feature-card.is-active {
  background: var(--grad-emerald); color: #fff;
  border-color: transparent;
}
.fv-feature-card.is-active .fv-feature__kw,
.fv-feature-card.is-active .fv-feature__title { color: #fff; }
.fv-feature-card.is-active .fv-feature__num { color: var(--c-accent-glow); }

/* FULLBLEED */
.fv--fullbleed {
  position: relative; min-height: 100vh; padding: var(--header-h) 0 0;
}
.fv-fb__bg {
  position: absolute; inset: 0; overflow: hidden;
}
.fv-fb__bg .hero-foot-svg {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.1);
}
.fv-fb__panel {
  position: absolute; left: 80px; top: 50%; transform: translateY(-50%);
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  padding: 56px 56px 48px;
  max-width: 620px;
  border-left: 4px solid var(--c-accent);
}
.fv-fb__bar {
  width: 56px; height: 3px; background: var(--c-accent); margin-bottom: 24px;
}
.fv-fb__features {
  position: absolute; right: 80px; bottom: 80px;
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  background: rgba(15, 37, 64, 0.82);
  padding: 32px 36px;
  backdrop-filter: blur(10px);
  color: #fff;
  min-width: 320px;
}
.fv-fb__features li {
  display: grid; grid-template-columns: 36px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.15);
  cursor: pointer; transition: padding 0.3s;
}
.fv-fb__features li:last-child { border-bottom: none; }
.fv-fb__features li.is-active { padding-left: 12px; }
.fv-fb__features .fv-feature__num { color: var(--c-accent); font-size: 18px; }
.fv-fb__features .fv-feature__kw { color: #fff; font-size: 14px; }
.fv-fb__features .fv-feature__title { display: none; color: #fff; font-size: 14px; }
.fv-fb__features li.is-active .fv-feature__title { display: block; }

.hero-num-overlay {
  position: absolute; right: 32px; top: calc(var(--header-h) + 32px);
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--font-en);
  color: var(--c-primary-deep);
}
.hero-num-overlay__cur { font-size: 56px;  }
.hero-num-overlay__sep { font-size: 24px; opacity: 0.4; }
.hero-num-overlay__tot { font-size: 18px; opacity: 0.5; }

/* CINEMA */
.fv--cinema {
  padding: calc(var(--header-h) + 60px) 48px 80px;
  max-width: 1500px; margin: 0 auto;
}
.fv-cin__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 32px 56px;
  grid-template-areas:
    "copy visual"
    "features visual"
    "cta visual";
}
.fv-cin__copy { grid-area: copy; }
.fv-cin__visual {
  grid-area: visual;
  position: relative;
  aspect-ratio: 3 / 4.4;
  background: var(--c-bg-soft);
  overflow: hidden;
}
.fv-cin__visual .hero-foot-svg { width: 100%; height: 100%; }
.fv-cin__features {
  grid-area: features;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--c-line);
}
.fv-cin-feat {
  padding: 16px 0; cursor: pointer; transition: all 0.3s;
}
.fv-cin-feat__num {
  font-family: var(--font-en);  font-size: 18px;
  color: var(--c-accent); display: block; margin-bottom: 8px;
}
.fv-cin-feat h3 {
  font-family: var(--font-en);  font-size: 22px;
  font-weight: 500; color: var(--c-primary-deep); margin-bottom: 6px;
}
.fv-cin-feat p { font-size: 18px; line-height: 1.7; color: var(--c-ink-soft); white-space: pre-line; }
.fv-cin-feat.is-active h3 { color: var(--c-accent); }
.fv-cin__cta { grid-area: cta; display: flex; gap: 16px; flex-wrap: wrap; }


/* ============ FV HERO ============ */
.fv-hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  background: var(--c-bg);
}
.fv-hero:after {
  content: "";
  display: block;
  position: absolute;
  top: 0; right: 0;
  width: 64%;
  height: 100%;
  background: #fafafa;
  z-index: 0;
}
.fv-hero__text {
  position: absolute;
  top: 8rem; left: 0;
  width: 100%;
  height: calc(100% - 8rem);
  display: flex;
  align-items: center;
  z-index: 4;
  color: var(--c-primary-deep);
  pointer-events: none;
}
.fv-hero__catch {
  padding-left: 64px;
  max-width: 760px;
}
.fv-hero__catch-jp {
  font-family: var(--font-jp);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  background: var(--grad-emerald);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.fv-hero__catch-en {
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: 0.3em;
  margin-top: 28px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--c-ink-soft);
}
.fv-hero__lead {
  font-size: 18px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  margin-top: 36px;
  color: var(--c-ink);
  font-weight: 500;
}
.fv-hero__image {
  padding-top: 0;
  padding-left: 20rem;
  height: 100%;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}
.fv-hero-slider {
  width: 100%; height: 100%;
  overflow: hidden;
}
.fv-hero-slider .swiper-slide { overflow: hidden; position: relative; }
.fv-hero-slider .swiper-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  pointer-events: none;
  display: block;
}

/* === fv-hero-tabs (subtle pill, image overlay) === */
.fv-hero-tabs {
  position: absolute;
  bottom: 24px;
  right: 24px;
  left: auto;
  width: auto;
  max-width: calc(100% - 48px);
  z-index: 6;
  display: inline-flex;
  gap: 8px;
  pointer-events: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.fv-hero-tab {
  background: rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font: inherit;
  line-height: 1.4;
  pointer-events: auto;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.fv-hero-tab:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.7);
}
.fv-hero-tab:hover .fv-hero-tab__num { color: var(--c-gold-deep); }
.fv-hero-tab:hover .fv-hero-tab__title { color: var(--c-primary-deep); }
.fv-hero-tab__num {
  font-family: var(--font-en);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.22em;
  color: rgba(160, 133, 80, 0.78);
  flex-shrink: 0;
  font-weight: 600;
  align-self: center;
}
.fv-hero-tab__title {
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: left;
  color: rgba(5, 59, 48, 0.78);
  font-weight: 600;
  align-self: center;
}
.fv-hero-tab__title br { display: inline; }
.fv-hero-tab.is-active {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.95);
  opacity: 1;
}
.fv-hero-tab.is-active .fv-hero-tab__num { color: var(--c-gold-deep); }
.fv-hero-tab.is-active .fv-hero-tab__title { color: var(--c-primary-deep); text-shadow: none; }

/* === fv-hero responsive === */
@media (max-width: 943px) {
  .fv-hero {
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    background: var(--c-bg);
  }
  .fv-hero:after { display: none; }
  .fv-hero__text {
    order: 2;
    position: relative;
    margin-top: -3.2rem;
    color: var(--c-primary-deep);
    height: auto;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 2;
    padding: 28px 0 32px;
    width: 100%;
  }
  .fv-hero__text .fv-hero__catch,
  .fv-hero__text .fv-hero__cta-row,
  .fv-hero__text .fv-hero__cta-row * { pointer-events: auto; }
  .fv-hero__catch { padding: 0 24px; max-width: 100%; }
  .fv-hero__catch-jp { color: var(--c-primary-deep); font-size: 36px; line-height: 1.4; }
  .fv-hero__catch-en { color: var(--c-ink-soft); font-size: 14px; margin-top: 16px; letter-spacing: 0.24em; }
  .fv-hero__lead { color: var(--c-ink); font-size: 18px; margin-top: 18px; line-height: 1.9; }
  .fv-hero__image {
    order: 1;
    padding: 0;
    height: 56vh;
    width: 100%;
    margin-top: var(--header-h);
    position: relative;
  }
  .fv-hero-tabs {
    position: absolute;
    bottom: 40px;
    right: 12px;
    left: auto;
    width: auto;
    max-width: calc(100% - 24px);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
    padding: 0;
    justify-content: flex-end;
  }
  .fv-hero-tab { width: 100%; justify-content: flex-start; }
  .fv-hero-tab { padding: 6px 12px; }
  .fv-hero-tab__num { font-size: 14px; }
  .fv-hero-tab__title { font-size: 14px; white-space: nowrap; }
  .fv-hero-tab__title br { display: none; }
}

@media (max-width: 480px) {
  .fv-hero__image { height: 50vh; }
  .fv-hero__catch-jp { font-size: 36px; }
  .fv-hero__catch-en { font-size: 14px; margin-top: 12px; }
  .fv-hero__lead { font-size: 18px; margin-top: 14px; }
  .fv-hero-tabs { gap: 4px; bottom: 28px; right: 8px; }
  .fv-hero-tab { padding: 5px 10px; }
  .fv-hero-tab__num { font-size: 14px; }
  .fv-hero-tab__title { font-size: 14px; }
  .fv-hero-tab__title br { display: none; }
}

/* PC default: hide the text-only features list (visible only on SP/tablet) */
.fv-hero__features-text { display: none; }

@media (max-width: 943px) {
  .fv-hero__catch-en { display: none !important; }
  /* Hide image-overlay tabs on tablet/SP */
  .fv-hero-tabs { display: none !important; }
  /* Show text-only features list under the lead */
  .fv-hero__features-text {
    display: flex; flex-direction: column;
    list-style: none; padding: 0; margin: 18px 0 0;
    gap: 8px;
  }
  .fv-hero__features-text li {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; line-height: 1.7; color: var(--c-ink);
  }
  .fv-hero__features-text-num {
    font-family: var(--font-en);
    font-size: 14px; color: var(--c-gold-deep);
    flex-shrink: 0; font-weight: 600; letter-spacing: 0.1em;
  }
}





/* === fv-hero-tabs: stack vertically when image gets narrow === */
@media (max-width: 1180px) and (min-width: 944px) {
  .fv-hero-tabs {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    bottom: 24px;
    right: 24px;
    gap: 6px;
  }
  .fv-hero-tab {
    width: 100%;
    justify-content: flex-start;
  }
}


/* === fv-hero CTA buttons === */
.fv-hero__cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  margin-top: 44px;
  max-width: 320px;
  pointer-events: auto;
  position: relative;
  z-index: 5;
}
.fv-hero__cta-row * { pointer-events: auto; }
.fv-hero__cta-row .btn-cta {
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

/* Primary CTA: 脚タイプ診断はこちら（エメラルドグリーン、目立たせる） */
.fv-hero__cta--primary {
  background: var(--grad-emerald) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 600 !important;
  padding: 16px 28px !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  box-shadow: 0 12px 30px -10px rgba(14, 110, 90, 0.55) !important;
}
.fv-hero__cta--primary::before {
  background: linear-gradient(135deg, #25b18a 0%, #6ed4ad 60%, #25b18a 100%) !important;
}
.fv-hero__cta--primary {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s, filter 0.3s !important;
}
.fv-hero__cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(14, 110, 90, 0.6) !important;
}
.fv-hero__cta-arrow {
  font-family: var(--font-en);
  font-size: 18px;
  margin-left: 4px;
  line-height: 1;
  transition: transform 0.25s;
  display: inline-flex;
  align-items: center;
  align-self: center;
}
.fv-hero__cta--primary:hover .fv-hero__cta-arrow { transform: translateX(4px); }

/* Secondary CTA: 無料カウンセリング予約（白系、控えめ） */
.fv-hero__cta--ghost {
  background: #fff !important;
  border: 1px solid var(--c-line) !important;
  color: var(--c-primary-deep) !important;
  box-shadow: 0 4px 14px -6px rgba(5, 59, 48, 0.18) !important;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s, border-color 0.3s, color 0.3s, background 0.3s !important;
}
.fv-hero__cta--ghost::before {
  background: var(--c-primary-soft) !important;
}
.fv-hero__cta--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--c-primary) !important;
  box-shadow: 0 12px 24px -8px rgba(5, 59, 48, 0.22) !important;
}

@media (max-width: 943px) {
  .fv-hero__cta-row { margin-top: 28px; max-width: 100%; }
  .fv-hero__cta-row .btn-cta { padding: 14px 22px; font-size: 14px; }
  .fv-hero__cta--primary { padding: 14px 22px !important; font-size: 14px !important; }
}
