
/*
  variant-b用のCSS 基本的にはstyle.cssを参照しており、上書きや変更がある場合にのみ記述している
  そのため、クラスvariant-bを付与している
*/

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

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

.variant-b .section1 .fv-bottom {
  position: absolute;
  bottom: 25px;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.variant-b .section1 .buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.variant-b .section1 .buttons .button {
  height: 48px;
  width: 165px;
}

.variant-b .section1 .buttons .button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.variant-b .section1 .fv-bottom-text {
  color: #FFF;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

@media screen and (max-width: 767px) {
  .variant-b .media-inner {
    padding: 40px 0 40px;
  }
}

/* section6 */
.variant-b .section6 {
  background-color: var(--main-color);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.variant-b .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-b .section6-reason1-steps .js-sp-steps-next {
  top: 40%;
  right: 0.5rem;
  width: 3rem;
  height: 6rem;
  margin-top: -1.25rem;
}

.variant-b .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-b .section6-reason1-steps .js-sp-steps-prev,
  .variant-b .section6-reason1-steps .js-sp-steps-next {
    width: 30px;
  }

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

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

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

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

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

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

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

.variant-b .faq-item .toggle-button.open {
  background: url(../../images/variant_b/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%;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 8px 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;
  gap: 4px;
}
.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;
  }
}
