/* スライドflex対応 */
    @media screen and (max-width: 979px) {
      .lineup-modal .lineup-slide-flex {
        flex-direction:column;
      }
    }
.lineup-modal .modal__slider {
  overflow: hidden;
}
.lineup-modal .modal__slider-container {
  flex: 1; /* 子要素が均等に伸びるようにする */
  width: 100%;
  min-width: 50%; /* 幅を確保（適宜調整） */
  position: relative;
}
.lineup-modal .swiper3 {
  display: block !important;
  width: 100%;
}
.lineup-modal .swiper-wrapper {
  display: flex;
  width: 100%;
}
.lineup-modal .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex: 0 0 auto; /* 自動調整ではなく固定サイズにする */

}
.lineup-modal .swiper-slide .img {
    width: 100%;
}

/* モーダル大枠 */
.lineup-modal .modal__content {
  background-color: #064429;
  max-width: 1020px;
  margin-top: 4em;
}
    @media screen and (max-width: 979px) {
      .lineup-modal .modal__content {
          margin-top: 0;
      }
    }

/* 上下位置調整（ヘッダーナビに隠れる対策） */
.lineup-modal {
  align-items: center;
}
    @media screen and (max-width: 979px) {
    .lineup-modal {
      align-items: center;
    }
  }

/* 左枠画像 */
    @media screen and (max-width: 979px) {
        .lineup-modal .small-wrap {
          padding: 0 14vw;
          padding-bottom:20px;
        }
    }

.lineup-modal .small-wrap .small {
  cursor : pointer;
  /* transition: opacity 0.5s; */
  width: 25%;
}
.lineup-modal .small-wrap .small:hover {
  /* opacity: 0.9; */
}
.lineup-modal .small-wrap .small img {
  width: 100%;
}

/* 画像ボーダー */
.lineup-modal .swiper-slide .img img {
  border: 2px #064429 solid;
}
.lineup-modal .swiper-slide .img .large  img {
  border-bottom: none;
}
/* 下段 */
.lineup-modal .small-wrap .small img {
  border: 2px #064429 solid;
}

/* SP版タイトル */
.lineup-modal .img_sp_wrap {
  padding: 10% 14vw 0 14vw;
}
.lineup-modal .img_sp {
  width: 85%;
  margin-bottom:25px;
}
    @media screen and (max-width: 979px) {
        .lineup-modal .img_sp {
        }
    }
    @media screen and (max-width: 750px) {
        .lineup-modal .img_sp {
        }
    }

/* ナビボタン */
.lineup-modal .swiper-button-prev,
.swiper-rtl .swiper-button-next {
    left: 350px;
    right: auto;
    top: auto;
    bottom: 150px;
    color: #FFF;
}
.lineup-modal .swiper-button-next {
    left: 450px;
    right: auto;
    top: auto;
    bottom: 150px;
}
    @media screen and (max-width: 979px) {
        .lineup-modal .swiper-button-prev,
        .swiper-rtl .swiper-button-next {
            left: 5vw;
            top: 50vh;
        }
                .lineup-modal .swiper-button-next {
                  top: 50vh;
                  left: auto;
                  right: 5vw;
                }
    }
    @media screen and (max-width: 750px) {
        .lineup-modal .swiper-button-prev,
        .swiper-rtl .swiper-button-next {
            left: 10px;
            top: 360px;
        }
                .lineup-modal .swiper-button-next {
                  top: 360px;
                }
    }
.lineup-modal .swiper-button-prev:after,
.lineup-modal .swiper-button-next:after {
  font-size: 30px;
  text-shadow: 5px 5px 11px  black;
}
/*.lineup-modal .swiper-button-prev:hover:after,*/
/*.lineup-modal .swiper-button-next:hover:after {*/
/*}*/

/* SP版パディング */
.lineup-modal swiper-slide {
}
@media screen and (max-width: 979px) {
    .lineup-modal .text-padding {
        padding: 0 14vw 0 14vw;
    }
}
@media screen and (max-width: 750px) {
    .lineup-modal .text-padding {
        padding: 0 14vw 0 14vw;
    }
}

/* 右枠テキスト */
  .detail-modal__content {
    padding: 60px 65px 0 65px;
    padding-right: 30px;
  }
  .detail-modal__content .top-box .inner-2 h4 {
    font-size: 27px;
    letter-spacing: 0.32em;
  }
  .detail-modal__content .top-box .inner-2 h4 span {
    position: relative;
  }
  .modal2.detail-modal .modal__content .swiper-wrapper .modal__slide .detail-modal__content .top-box .inner-2 h4 img {
    display: inline;
    width: 28px;
    height: auto;
    position: absolute;
    top: 1px;
  }
  .detail-modal__content h5 {
    width: 80%!important;
  }
  .detail-modal__content .main-box {
    margin-top: 0px;
  }
  .detail-modal__content .main-box h5 {
    font-size: 32px;
  }
  .detail-modal__content .main-box p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 20px;
    padding-right: 0em;
  }
  .detail-modal__content .main-box p.large {
    font-size: 18px;
    line-height: 1.8;
  }
  .detail-modal__content .main-box .kokuyo-shop {
    margin-top:10px;
    display: flex;
    gap: 10px;
  }
.detail-modal__content .main-box .kokuyo-shop a {
  width: calc( 50% - 5px);
  background-color: #fff;
  text-align: center;
}
  .detail-modal__content .main-box .kokuyo-shop img {
    width: auto;
    height: 55px;
  }
    @media screen and (max-width: 979px) {
      .detail-modal__content {
        padding: 0;
        padding-right: 0;
      }
      /* フッターバナーに隠れる件 */
      .detail-modal__content .main-box {
        margin-bottom: 150px;
      }
      .detail-modal__content .main-box .kokuyo-shop img {
        height: 70px;
      }
      .text .main-box h5 {
        padding-top: 3.5vh;
        padding-bottom: 15px;
      }
      .text .main-box p {
        font-size: 14px;
        margin-top:20px;
        line-height: 1.8;
      }
      .text .main-box p.large {
        padding-bottom:20px;
        margin-top: 0;
        font-size: 14px;
        line-height: 1.8;
      }
    }
    @media screen and (max-width: 750px) {
      .detail-modal__content .main-box .kokuyo-shop {
        flex-direction: column;
      }
      .detail-modal__content .main-box .kokuyo-shop a {
        width: 100%;
      }
      .detail-modal__content .main-box .kokuyo-shop img {
        height: 70px;
      }
    }


