.page-id-21 #contact,
.page-id-29 #contact {
  background-image: url('../../assets/second/about-story/about-bg.webp');
  background-size: contain;
}

.content-header {
  margin-top: 6.8rem;
}
.thanks .content-header {
  margin-top: 0;
}
/* タイトル下の子見出し */
.description-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5vw;
  margin-top: 4.38rem;
}
@media screen and (max-width: 1200px) {
.description-container {
  flex-direction: column;
  gap: 5vw;
}}
@media screen and (max-width: 1200px) {
  .description-container {
      flex-direction: column;
      gap: 0;
  }}

.about {
    background-image: url('../../assets/second/about-story/about-bg.webp');
    background-size: contain;
}

/* 第二階層共通　FV（First View） */
.fv {
    position: relative;
    width: 100%;
    height: 88vh;
    overflow: hidden;
    margin-top: 0;
}

.fv-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('../assets/second/fv-decolationmask.webp');
    z-index: 8;
}

.fv-second {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 7;
}
.fv-second .about-story {
    background-image: url('../../assets/top/fv-bg2.webp');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}   
#service .fv-second {
  background-image: url('../../assets/top/fv-bg1.webp');
  background-size: 105%;
  background-position: center;
  background-repeat: no-repeat;
}
#original .fv-second {
    background-image: url('../../assets/top/fv-bg3.webp');
}

/* .fv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,  #507492 0%, #00547D 100%);
    opacity: 0.3;
    z-index: 9;
} */

.fv-content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5.4vw;
    margin: 0 auto;
    height: 100%;
    padding: 0 10vw;
}
.fv-text {
    color: var(--color-white);
    text-align: center;
}

.fv-title {
    font-size: var(--font-size-ttl-en);
    font-style: normal;
    font-weight: 700;
    line-height: 4.6875rem; /* 115.385% */
    letter-spacing: -0.04063rem;
    margin-top: 3.88rem;
}

.fv-title-contact  {
  display: none;
}

.fv-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
}

.fv-description {
    font-size: 1.6875rem;
    font-weight: 500;
    margin-top: 4.38rem;
}

.fv-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.fv-image {
    width: 100%;
    max-width: 41.5625rem;
}
@media screen and (max-width: 1600px) {
  .fv {
    height: 70vh;
}
}
@media screen and (max-width: 1200px) {
  .fv {
    height: 60vh;
}
  .fv-second.about-story {
    background-position: 53% 100%;
    }

    .fv-content {
        flex-direction: column;
        text-align: center;
        padding:116.8px 3rem 40px;
        gap: 5.38rem;
    }

    .fv-title {
        /* font-size: 3rem; */
        line-height: 1.3;
        letter-spacing: 0.02rem;
    }

    .fv-subtitle {
        /* font-size: 1.25rem; */
        line-height: 2.5rem;
        letter-spacing: 0.025rem;
    }

    .fv-description {
        /* font-size: 1.0625rem; */
        line-height: 2rem;
        letter-spacing: 0.02125rem;
        margin-top: 1.5rem;
    }

    .fv-image {
        width: 21.375rem;
    }
    .content-header {
      margin-top: 3.75rem;
    }

    #service .fv-second {
      background-image: url('https://www.e-value.jp/digital-edu/wordpress/wp-content/themes/digital-educational-contents/src/assets/second/service/sp-service-moodboard.png');
      background-size: 100%;
      background-position: center;
      background-repeat: no-repeat;
    }
}

@media screen and (max-width: 768px) {
  .fv.second {
     margin-bottom: 0;
  }

  #service .fv-second {
    background-image: url('https://www.e-value.jp/digital-edu/wordpress/wp-content/themes/digital-educational-contents/src/assets/second/service/sp-service-moodboard.png');
    background-size: 105%;
    background-position: center;
    background-repeat: no-repeat;
  }


    .fv-content {
        padding: 100px 2rem 30px;
        gap: 2rem;
    }
    .fv-second.about-story {
      background-size: cover;
      background-position: 35% 100%;
      }
    .fv-text {
        margin: 0 auto 40px;
    }

    .fv-title {
        font-size: 3.75rem;
        text-align: center;
        font-weight: 700;
        line-height: normal;
        letter-spacing: -0.04063rem;
        margin-top: 1.5rem;
        text-align: center;
    }

    .fv-title-contact {
      display: block;
      font-size: 3.75rem;
      font-weight: 700;
      line-height: normal;
      letter-spacing: -0.04063rem;
      margin-top: 1.5rem;
      text-align: center;
    }

    .fv-subtitle {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .fv-description {
        margin-top: 2.5rem;
        font-size: 1.0625rem;
        font-weight: 700;
        line-height: 1.5625rem; /* 147.059% */
        letter-spacing: 0.02125rem;
    }

    .description-container,
    .description,
    .txt {
      width: 100%;
      max-width: 100vw;
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    .breadcrumb {
      width: 100%;
      max-width: 100vw;
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    .breadcrumb .breadcrumb {
      margin: 1.25rem 0 0;
    }
}
/* ABOUT 共通部分 */
.container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
  }
  .wrapper {
    display: flex;
    animation: loop-text 10s linear infinite;
  }
  .double-content {
    display: flex;
    font-size: 13.75rem;
    font-style: normal;
    font-weight: 600;
    line-height: 14.0625rem; /* 102.273% */
    letter-spacing: -0.1375rem;
    color: #f7f7f7;
    white-space: nowrap;
  }
  @keyframes loop-text {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-40%);
    }
  }
  @media screen and (max-width: 1500px) {
    .double-content {
      font-size: 10rem;
      line-height: 10rem;
      letter-spacing: -0.1rem;
    }
  }
@media screen and (max-width: 1200px) {
  .double-content {
    font-size: 8rem;
    line-height: 5rem; 
    letter-spacing: -0.1rem;
  }
}
  @media screen and (max-width: 768px) {

    .double-content {
      font-size: 7.5rem;
      line-height: 7.5rem; /* 100% */
      letter-spacing: -0.075rem;
  }

  .splide__slide {
      height: auto !important;
      display: flex;
      justify-content: center;
      padding: 0;
  }
  .content-header {
    margin-top: 4.37rem;
  }
  }
/* Strengths Section Styles */
.strengths {
    padding: 12rem 0 0;
    color: var(--color-black-navy);
    width: 100%;
  }
  
  .strengths .content-wrapper {
    padding: 0 9.37rem;
    max-width: 1600px;
    margin: 0 auto;
  }
  
  .strengths-header {
    position: relative;
    padding: 3.75rem 3.44rem 3.81rem;
    background-color: #f7f7f7;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }
  
  .strengths-header-inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .strengths-title-en {
    font-size: var(--font-size-text);
    color: var(--color-navy);
    margin: 0;
    font-weight: 600;
    line-height: 1.5rem; /* 109.091% */
    letter-spacing: 0.06875rem;
  }
  
  .strengths-title-ja {
    font-size: var(--font-size-ttl-jp);
    font-weight: var(--font-size-ttl-jp-font-weight);
    line-height: var(--font-size-ttl-jp-line-height);
    letter-spacing: var(--font-size-ttl-jp-letter-spacing);
    margin: 0;
  }
  
  .strengths-description {
    font-size: var(--font-size-text);
    color: var(--color-contents-description);
    line-height: var(--font-size-text-line-height);
    letter-spacing: var(--font-size-text-letter-spacing);
    margin: 2rem 0 0;
}
@media screen and (max-width: 1600px) {
  .strengths-header {
    padding: 3.75rem 3.44rem 3.81rem;
  }

  .strengths {
    padding: 4rem 0 0;
    color: var(--color-black-navy);
    width: 100%;
  }
}
@media screen and (max-width: 1200px) {
  .strengths-title-ja {
    line-height: 3rem;
  }
  .strengths-header {
    align-items: center;  
  }
  
}
@media screen and (max-width: 1024px) {
    .strengths .content-wrapper {
      padding: 0 4rem;
    }
    /* .strengths-title-ja {
      margin: 0.94rem 0 0;
    } */
    .strengths-description {
      margin: 1rem 0 0;
  }
  }
  
  @media screen and (max-width: 768px) {
    .strengths {
      padding: 5rem 0 0;
    }
    
    .strengths .content-wrapper {
      padding: 0 1.87rem;
    }
    
    .strengths-title-ja {
      margin: 0;
    }
  }
  
  /* テキストスライダー用のスタイル */
.about-common {
  margin-top: 0.5rem;
  padding: 2rem 0;
  overflow: hidden;
  position: relative;
}

#text-slider {
  width: 100%;
  overflow: visible;
}

.splide__track, .splide__list {
  overflow: visible;
}

.splide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  height: 200px; /* 高さを固定 */
}

#strengths .content-wrapper {
    position: relative;
}
#strengths .more {
    width: 100%;
    margin: 0;
}
@media screen and (max-width: 1200px) {
  .about-common {
    margin-top: 0;
    padding:  1rem 0;
  }

}
@media screen and (max-width: 1024px) {
  .strengths-header {
    height: 14.625rem;
    padding: 2rem 1.5rem 2.5rem;
  }
}
@media screen and (max-width: 768px) {
  .about-common {
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    display: none;
  }
  .about-common.sp-only {
    margin-top: -2rem;
  }
  .strengths-header {
    height: 19rem;
    padding: 2.5rem 1.5rem 5rem;
  }
}

.second-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10.63rem 0 6.25rem;
}
@media screen and (max-width: 1200px) {
  .second-content-wrapper {
    margin: 3rem 0 3rem;
  }
}

  @media screen and (max-width: 768px) {
    .second-content-wrapper{
      margin: 0 0 3rem;
      gap: 2.57rem;
    }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-top: 4rem;
}

.pagination.third {
  justify-content: flex-end;
}

.pagination-numbers {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.page-numbers {
  color: #B5B5B5;
  cursor: pointer;
  font-family: "Open Sans", sans-serif;
font-size: 0.9375rem;
font-style: normal;
font-weight: 400;
line-height: 1.875rem; 
  transition: color 0.3s ease;

}



.page-numbers.current {
  color: #0297E0;
}

.page-numbers:hover {
  color: #0297E0;
}

.next,
.prev {
  border-radius: 50%;
  width: 2.8125rem;
  height: 2.8125rem;
  background: var(--circleBtn--BG);
  transition: .4s ease all;
  transform-origin: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.next::after {
  content: "";
  background: url("../../img/common/icon-arrow-w.svg") no-repeat;  
  width: 0.7rem;
  height: 0.7rem;
  background-size: contain;
  transition: .2s  .2s ease all;
  transform: translate(0,0);
  pointer-events: none;
}
.prev::after {
  content: "";
  background: url("../../img/common/icon-arrow-w-left.svg") no-repeat;  
  width: 0.7rem;
  height: 0.7rem;
  background-size: contain;
  transition: .2s  .2s ease all;
  transform: translate(0,0);
  pointer-events: none;
}


.next:hover .c-link__circle::before,
.prev:hover .c-link__circle::before  {
    transform: scale(1.0) ;
}

.next:hover::after{
  transform: translate(30%,0);
}

.prev:hover::after {
  transform: translate(-30%,0);
}

.next:hover .c-link__circle, .prev:hover .c-link__circle {
  transform: scale(1.0) ;
}