/* TOP FV */
.top-fv {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #f7fbff;
}

.top-fv__bg {
  position: absolute;
  inset: 0;
  background-image: url("../../assets/img/top/slide01.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.01);
}

.top-fv__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.88) 30%,
      rgba(255, 255, 255, 0.56) 50%,
      rgba(255, 255, 255, 0.18) 73%,
      rgba(255, 255, 255, 0.05) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 82, 159, 0.08) 0%,
      rgba(255, 255, 255, 0) 38%,
      rgba(255, 255, 255, 0.14) 100%
    );
  pointer-events: none;
}

.top-fv__inner {
  position: relative;
  z-index: 2;
  width: min(1500px, 84%);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding-top: 96px;
}

.top-fv__content {
  width: min(660px, 100%);
  padding: 34px 0 44px;
}

.top-fv__label {
  margin: 0 0 18px;
  color: #00529f;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.top-fv__title {
  margin: 0;
  color: #00529f;
  font-size: clamp(36px, 3.55vw, 58px);
  line-height: 1.22;
  letter-spacing: 0.02em;
  font-weight: 800;
}

.top-fv__title span {
  display: block;
  margin-top: 10px;
  font-size: 0.88em;
}

.top-fv__lead {
  width: min(590px, 100%);
  margin: 28px 0 0;
  color: #003f78;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 2;
  font-weight: 600;
}

.top-fv__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.top-fv__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.top-fv__btn--primary {
  gap: 14px;
  color: #fff;
  background: #00529f;
  box-shadow: 0 16px 34px rgba(0, 82, 159, 0.22);
}

.top-fv__btn--primary span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #00529f;
  background: #fff;
  font-size: 14px;
}

.top-fv__btn--secondary {
  color: #00529f;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(0, 82, 159, 0.22);
  backdrop-filter: blur(8px);
}

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

.top-fv__btn--primary:hover {
  box-shadow: 0 20px 42px rgba(0, 82, 159, 0.28);
}

.top-fv__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.top-fv__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: #004a8d;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 800;
}

.top-fv__trust span {
  position: relative;
  padding-left: 18px;
}

.top-fv__trust span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00529f;
}

/* TABLET */
@media (max-width: 991px) {
  .top-fv__bg {
    background-position: 64% center;
  }

  .top-fv__overlay {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.91) 48%,
      rgba(255, 255, 255, 0.56) 100%
    );
  }

  .top-fv__inner {
    width: min(92%, 720px);
    min-height: 760px;
    padding-top: 110px;
  }
}

/* SP */
@media (max-width: 575px) {
  .top-fv {
    min-height: auto;
    padding-top: 80px;
    background: #fff;
  }

  .top-fv__bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: 255px;
    background-size: cover;
    background-position: 66% center;
    transform: none;
  }

  .top-fv__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.22) 58%,
      rgba(255, 255, 255, 1) 100%
    );
  }

  .top-fv__overlay {
    display: none;
  }

  .top-fv__inner {
    width: 90%;
    min-height: auto;
    display: block;
    padding: 34px 0 58px;
  }

  .top-fv__content {
    width: 100%;
    padding: 0;
  }

  .top-fv__label {
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .top-fv__title {
    font-size: 31px;
    line-height: 1.36;
    letter-spacing: 0.01em;
  }

  .top-fv__title span {
    margin-top: 4px;
    font-size: 1em;
  }

  .top-fv__lead {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.9;
  }

  .top-fv__buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .top-fv__btn {
    width: 100%;
    min-height: 56px;
    padding: 0 22px;
    font-size: 14px;
  }

  .top-fv__btn--primary {
    justify-content: center;
  }

  .top-fv__btn--secondary {
    background: #fff;
  }

  .top-fv__trust {
    margin-top: 24px;
    gap: 8px 14px;
    font-size: 12px;
  }

  .top-fv__trust span {
    padding-left: 14px;
  }

  .top-fv__trust span::before {
    width: 6px;
    height: 6px;
  }
}

/* =========================
  Company Movie Section
========================= */
.company-movie-section {
  background: #f2f6fa;
  padding: 80px 20px;
}

.company-movie-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.company-movie-title {
  font-size: 28px;
  font-weight: 700;
  color: #1c2539;
}

.company-movie-description {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

.company-movie-button {
  margin-top: 32px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #00529f;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.company-movie-button:hover {
  background: #003f7f;
}

.company-movie-button .icon-play {
  margin-right: 8px;
}

/* =========================
  Modal
========================= */
.movie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.movie-modal.active {
  display: block;
}

.movie-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.movie-modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  margin: 5vh auto;
  background: #000;
}

.movie-modal-content video {
  width: 100%;
  height: auto;
  display: block;
}

.movie-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 32px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

/* =========================
   Main CTA（チェックリスト）
========================= */
.company-main-cta {
  display: inline-block;
  margin-top: 32px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #00529f;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 82, 159, 0.2);
}

.company-main-cta:hover {
  background: #003f7f;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 82, 159, 0.25);
}

/* サブ導線（動画） */
.sub-movie-link {
  margin-top: 20px;
}

.sub-movie-link .company-movie-button {
  background: transparent;
  color: #00529f;
  border: 2px solid #00529f;
}

.sub-movie-link .company-movie-button:hover {
  background: #00529f;
  color: #fff;
}

/* =========================
   Top Glossary Link
========================= */
.top-glossary-link {
  background: #eef5fa;
  padding: 74px 0;
}

.top-glossary-link__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.top-glossary-link__eyebrow {
  margin: 0 0 12px;
  color: #00529f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
}

.top-glossary-link__title {
  margin: 0;
  color: #1c2539;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.top-glossary-link__lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: #45556a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
}

.top-glossary-link__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  margin-top: 28px;
  padding: 0 24px;
  border-radius: 999px;
  color: #fff;
  background: #00529f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 82, 159, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.top-glossary-link__button span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #00529f;
  background: #fff;
  font-size: 13px;
}

.top-glossary-link__button:hover {
  background: #003f7f;
  box-shadow: 0 18px 38px rgba(0, 82, 159, 0.24);
  transform: translateY(-2px);
}

.top-glossary-link__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
  padding: 8px 0;
}

.top-glossary-link__terms a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(0, 82, 159, 0.18);
  border-radius: 999px;
  color: #00529f;
  background: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(28, 37, 57, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.top-glossary-link__terms a:hover {
  border-color: rgba(0, 82, 159, 0.4);
  box-shadow: 0 14px 28px rgba(28, 37, 57, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .top-glossary-link {
    padding: 58px 0;
  }

  .top-glossary-link__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 575px) {
  .top-glossary-link {
    padding: 48px 0;
  }

  .top-glossary-link__title {
    font-size: 27px;
  }

  .top-glossary-link__lead {
    font-size: 15px;
  }

  .top-glossary-link__button {
    width: 100%;
  }

  .top-glossary-link__terms {
    gap: 10px;
  }

  .top-glossary-link__terms a {
    min-height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }
}
