@charset "utf-8";

/*====================
ページベース変更
====================*/
.beg-container{
  position: relative;
  padding: 100px 0 0;
  background-color: #EEF1F6;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/*====================
上部説明
====================*/
.faq-desc{
  margin: 5rem 0 5rem auto;
  width: 85%;
  display: flex;
  align-items: center;
  gap: 5rem;
}

.faq-desc img{
  width: 40%;
  height: auto;
  border-radius: 10px;
}

.faq-desc-text{
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 5rem;
}

.faq-desc-text-title h2{
  font-size: 1.5rem;
  color: #284B7D;
  font-family: "Noto Serif JP", sans-serif;
}

.faq-desc-text-title p{
  font-size: 2.5rem;
  color: #000;
  font-family: "Noto Serif JP", sans-serif;
}

.faq-desc-text-item{
  position: relative;
  left: -20%;
  padding: 2.5rem;
  width: 200%;
  background-color: #fff;
  border-radius: 10px;
}

/*====================
スライダー
====================*/
.faq-slider-wrap{
  position: relative;
  background-color: #FFF;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 5rem 0;
  z-index: 0;
}

.faq-slider-back{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
}

.faq-slider-title{
  background-color: #284B7D;
  padding: 1rem 3.5rem;
  color: #FFF;
  font-size: 1.75rem;
  margin: 2rem auto;
  width: fit-content;
  border-radius: 50px;
  z-index: 1;
}

/* スライド全体の余白 */
.swiper {
  margin-top: 20px; /* スライダー上の余白 */
  padding-left: 10vw; /* スライダー左の余白 */
  padding-right: 20px; /* スライダー右の余白 */
  z-index: 1;
}
.swiper-wrapper {
  padding: 2rem;
}

.swiper-slide {
  max-width: 1000px;   /* 1枚の最大幅 */
  height: 100%;
  background-color: #FFF;
  display: flex;
  gap: 3rem;
  align-items: center;
  border-radius: 10px;
  box-shadow: 3px 3px 24px #0000003e;
  padding: 5rem 5%;
}

.swiper-slide:nth-child(2){
  background-color: #EEF1F6;
}

.swiper-slide-text h4{
 	color: #284B7D;
    font-size: 2rem;
  margin-bottom: 2rem;
}

.swiper-slide img {
  width: 45%;
  height: auto;
  display: block;
}

.swiper-button-next {
  position: absolute;
  top: 50%;
  left: 55%;
  width: 44px;
  height: 44px;
  background-color: #0b2a55; /* 紺色 */
  border-radius: 50%;
}

.swiper-button-prev{
  position: absolute;
  top: 50%;
  left: 5%;
  width: 44px;
  height: 44px;
  background-color: #0b2a55; /* 紺色 */
  border-radius: 50%;
}

/* 矢印の色（デフォルトは ::after） */
.swiper-button-prev::after,
.swiper-button-next::after {
  color: #fff;        /* 白い矢印 */
  font-size: 16px;    /* 矢印サイズ */
  font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: #123a77;
}

.swiper-button-prev.swiper-button-disabled{
  opacity: 0;
}

.swiper-button-next.swiper-button-disabled{
  opacity: 0;
}

/*====================
2社間と3社間の違い
====================*/
.faq-cont-wrap{
  background-image: linear-gradient(#ffffff, #b8cce7 70%, #6585af);
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding: 5rem 0;
}

.faq-cont{
  width: 70%;
  margin: 5rem auto;
  max-width: 1024px;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.faq-item{
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.faq-item-title{
  background-color: #284B7D;
  padding: 1rem 3.5rem;
  color: #FFF;
  font-size: 1.75rem;
  width: fit-content;
  border-radius: 50px;
}

.faq-item img{
  height: auto;
}

.scroll-box {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.scroll-box img {
  max-width: 100%;
  min-width: 600px;
  vertical-align: top;
}


/*====================
FAQ
====================*/
.faq-wrap{
  margin: 0 auto;
  width: 100%;
  padding: 5rem 0;
  background-color: #FFF;
}

.faq-inner{
  margin: 5rem auto;
  width: 80%;
}

.faq-title h2{
  font-size: 1.5rem;
  color: #284B7D;
  font-family: "Noto Serif JP", sans-serif;
  text-align: center;
}

.faq-title p{
  font-size: 2.5rem;
  color: #000;
  font-family: "Noto Serif JP", sans-serif;
  text-align: center;
}

@media (max-width: 1400px) {
  .swiper-button-next {
    position: absolute;
    top: 50%;
    left: 45%;
    width: 44px;
    height: 44px;
    background-color: #0b2a55; /* 紺色 */
    border-radius: 50%;
  }
}
  
@media (max-width: 1200px) {
  .swiper-slide {
    max-width: 800px;
    padding: 3rem;
  }
  .faq-desc{
    width: 95%;
    gap: 3rem;
  }
  .faq-desc img{
    width: 35%;
  }
}

@media (max-width: 960px) {
  .faq-desc{
    margin: 3rem auto;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .faq-desc img{
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: cover;
    border-radius: 5px;
  }
  .faq-desc-text{
    gap: 2rem;
    margin-top: 0;
  }
  .faq-desc-text-title h2{
    font-size: 16px;
  }
  .faq-desc-text-title p{
    font-size: 20px;
  }
  .faq-desc-text-item{
    position: relative;
    left: auto;
    padding: 1rem;
    width: 100%;
    border-radius: 5px;
  }
  .faq-cont-wrap{
    background-image: linear-gradient(#ffffff, #b8cce7 70%, #6585af);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 0;
  }
  .faq-cont{
    width: 90%;
    margin: 3rem auto;
    max-width: 100%;
    gap: 2rem;
  }
  .faq-item{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .faq-item-title{
    background-color: #284B7D;
    padding: .5rem 1rem;
    color: #FFF;
    font-size: 1rem;
  }
  .faq-item img{
    min-width: 600px; 
    height: auto;
    overflow: scroll;
  }
  .faq-wrap{
    padding: 3rem 0;
  }
  .faq-inner{
    margin: 3rem auto;
    width: 90%;
  }
  .faq-title h2{
    font-size: 1rem;
  }

  .faq-title p{
    font-size: 20px;
  }
}

@media (max-width: 960px) {
  .faq-slider-wrap{
    gap: 1rem;
    padding: 2rem 0;
  }
  .faq-slider-title{
    margin: 1rem auto;
    padding: 1rem 1.5rem;
    color: #FFF;
    font-size: 14px;
  }
  /* スライド全体の余白 */
  .swiper {
    width: 100%;
    margin-top: 20px; /* スライダー上の余白 */
    padding-left: 0; /* スライダー左の余白 */
    padding-right: 0; /* スライダー右の余白 */
    z-index: 1;
  }
  .swiper-wrapper {
    padding: 1rem;
    width: 90%;
    flex-direction: column;
    gap: 2rem;
  }
  .swiper-slide {
    width: 100%!important;
    max-width: 100%;   /* 1枚の最大幅 */
    height: 100%;
    margin: 0 auto;
    background-color: #FFF;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    border-radius: 5px;
    box-shadow: 3px 3px 24px #0000003e;
    padding: 3rem 1rem;
  }
  .swiper-slide:nth-child(2){
    background-color: #EEF1F6;
  }
  .swiper-slide-text h4{
      color: #284B7D;
      font-size: 24px;
  }
  .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
  }

  .swiper-button-prev,
  .swiper-button-next {
    position: absolute;
    top: 50%;
    left: 55%;
    width: 44px;
    height: 44px;
    background-color: #0b2a55; /* 紺色 */
    border-radius: 50%;
  }

  /* 矢印の色（デフォルトは ::after） */
  .swiper-button-prev::after,
  .swiper-button-next::after {
    color: #fff;        /* 白い矢印 */
    font-size: 16px;    /* 矢印サイズ */
    font-weight: bold;
  }

  .swiper-button-prev:hover,
  .swiper-button-next:hover {
    background-color: #123a77;
  }
}
