/*
  variant-c用のCSS。基本的にはstyle.cssを参照しており、
  Bの見た目を踏襲するため、variant-bのスタイルを.cに置換して取り込み、
  その上でC専用の差分のみ下部で上書きしています。
*/

:root {
  --main-color: #355AB1;
}

/* section1 */
.variant-c .section1 {
  position: relative;
}

.variant-c .section1 .fv-hero {
  background: #1e4aad;
}

.variant-c .section1 .fv-topbar {
  background: #ffffff;
  padding: 12px;
  display: flex;
  align-items: center;
}

.variant-c .section1 .fv-logo {
  width: auto;
  height: 37px;
}

.variant-c .section1 .fv-main {
  position: relative;
  overflow: hidden;
  background: #355fb7 url(../../images/variant_c/background_FV.webp) no-repeat center top / cover;
  min-height: 430px;
}

.variant-c .section1 .fv-copy {
  position: relative;
  z-index: 2;
  padding: 21px 0 0 22px;
}

.variant-c .section1 .fv-copy-line {
  margin: 0 0 11px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.variant-c .section1 .fv-copy-line span {
  display: inline-block;
  background: #ffffff;
  color: #0044AA;
  font-size: clamp(16px, 7.18vw, 28px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: clamp(0.8px, 0.36vw, 1.4px);
  padding: clamp(6px, 2.05vw, 8px) clamp(8px, 2.56vw, 10px);
  white-space: nowrap;
}

.variant-c .section1 .fv-copy-line em {
  font-style: normal;
  color: #ffffff;
  font-size: clamp(14px, 5.13vw, 20px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 1px;
}

.variant-c .section1 .fv-copy-sub {
  padding-top: 3px;
  color: #ffffff;
  font-size: clamp(14px, 5.13vw, 20px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.variant-c .section1 .fv-copy-line-mark {
  width: clamp(72px, 26.15vw, 102px);
  height: 2px;
  background: #ffffff;
  display: inline-block;
}

.variant-c .section1 .fv-set {
  position: absolute;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: auto;
  max-width: 100%;
  max-height: 264px;
  height: auto;
}

.variant-c .section1 .fv-free {
  position: absolute;
  z-index: 3;
  left: 14px;
  bottom: 8px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px 0 #5259DA;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.variant-c .section1 .fv-free-label {
  color: #C9AC37;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: 1.32px;
}

.variant-c .section1 .fv-free-value {
  color: #0044AA;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: 0.96px;
}

.variant-c .section1 .fv-points {
  list-style: none;
  margin: 0;
  padding: 20px;
  background: #0044AA;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.variant-c .section1 .fv-point-item {
  display: flex;
  align-items: stretch;
  gap: 12px;
  min-height: 32px;
}

.variant-c .section1 .fv-point-no {
  flex: 0 0 32px;
  align-self: stretch;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0044AA;
  font-size: 16px;
  font-weight: 900;
  -webkit-text-stroke: 0.35px #0044AA;
}

.variant-c .section1 .fv-point-text {
  position: relative;
  margin: 0;
  display: inline-block;
  padding: 4px 0;
  flex: 0 1 auto;
  width: fit-content;
  max-width: calc(100% - 44px);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.48px;
}

.variant-c .section1 .fv-point-text::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -4px;
  bottom: 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.55);
}

.variant-c .section1 .fv-highlight {
  color: #FFE940;
}

@media screen and (max-width: 767px) {
  .variant-c .media-inner {
    padding: 40px 0 40px;
  }
}
/* section6 */
.variant-c .section6 {
  background-color: var(--main-color);
}

.variant-c .section6-head {
  transform: translateY(-1px);
}

.variant-c .section6-content {
  padding: 0 20px 48px;
}

.variant-c .section6-reason1 {
  background-color: #ffffff;
  border-radius: 24px;
  margin-bottom: 24px;
}

.variant-c .section6-reason1-top {
  position: relative;
}

.variant-c .section6-reason1-label {
  position: absolute;
  width: 39%;
  height: 32%;
  left: -8px;
  top: 24px;
}

.variant-c .section6-reason1-steps {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  margin: 0 16px 16px 16px;
}

.variant-c .section6-reason1-content {
  max-width: 100%;
  padding: 0 10px 0 20px;
}

.variant-c .section6-reason1-steps {
  position: relative;
}

.variant-c .steps-slide {
  overflow: hidden;
  margin: 0 auto;
}

.variant-c .section6-reason1-steps .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #d9d9d9;
  opacity: 1;
}

.variant-c .section6-reason1-steps .js-sp-steps-pagination {
  bottom: 20px;
}

.variant-c .section6-reason1-steps .swiper-pagination-bullet-active {
  background: var(--primary-color);
}

.variant-c .section6-reason1-steps .js-sp-steps-prev {
  top: 40%;
  left: 0.5rem;
  width: 3rem;
  height: 6rem;
  margin-top: -1.25rem;
}

.variant-c .section6-reason1-steps .js-sp-steps-prev::after {
  content: "";
  width: 3rem;
  height: 6rem;
  background: url(../../images/js-steps-next.webp) no-repeat center/contain;
  transform: scaleX(-1);
}

.variant-c .section6-reason1-steps .js-sp-steps-next {
  top: 40%;
  right: 0.5rem;
  width: 3rem;
  height: 6rem;
  margin-top: -1.25rem;
}

.variant-c .section6-reason1-steps .js-sp-steps-next::after {
  content: "";
  width: 3rem;
  height: 6rem;
  background: url(../../images/js-steps-next.webp) no-repeat center/contain;
}

/* section6のPC向けスタイル */
@media screen and (min-width: 768px) {
  .variant-c .section6-reason1-steps .js-sp-steps-prev,
  .variant-c .section6-reason1-steps .js-sp-steps-next {
    width: 30px;
  }

  .variant-c .section6-reason1-steps .js-sp-steps-prev {
    left: 2px;
  }

  .variant-c .section6-reason1-steps .js-sp-steps-next {
    right: 2px;
  }
}

/* section7 */
.variant-c .section7.sp-voice {
  background-color: #FFF;
}

.variant-c .section7 .voice-slide {
  border-radius: 24px;
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.25);
}

.variant-c .section7.sp-voice .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #CACACA;
}

.variant-c .section7.sp-voice .swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* faq */
.variant-c .faq h2 {
  width: 200px;
  margin: 0 auto 32px;
}
.variant-c .faq-item .toggle-button {
  position: absolute;
  top: calc(50% - 12px);
  right: 16px;
  width: 24px;
  height: 24px;
  background: url(../../images/variant_c/faq-open.webp) no-repeat center/contain;
}

.variant-c .faq-item .toggle-button.open {
  background: url(../../images/variant_c/faq-close.webp) no-repeat center/contain;
}

/* cv CTA */
.cta {
  background: #ffffff;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  padding: 16px 0;
}
.cta.fixed {
  position: fixed;
  z-index: 999;
  bottom: 0;
  width: 100%;
  height: 86px;
  padding: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.6s ease-out;
}
.cta.open {
  opacity: 1;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  transform: translateY(0);
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-width: 315px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 8px 20px;
}
.cta-top {
  width: 255px;
}
.cta-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  gap: 20px; /* 2ボタン＋余白で350pxになるよう20pxに設定 */
  width: 350px; /* 合計幅を明示 */
}

.cta-btn01,
.cta-btn02 {
  height: 50px; /* 指定の高さに統一 */
  width: 165px; /* (350 - 20) / 2 = 165 */
}

.cta-btn01 img,
.cta-btn02 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (min-width: 768px) {
  .cta {
    display: none;
  }
}

.cta-caption {
  margin: 0;
  color: #484848;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 1.3px;
}

.cta-caption span {
  color: #D8BC21;
}

.cta-single-btn {
  width: 100%;
  max-width: 291px;
  margin: 0 auto;
  height: 53px;
  border-radius: 8px;
  background: linear-gradient(286deg, #0139B9 20.54%, #5FA1F9 88.85%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.48px;
  text-decoration: none;
}
