@charset "utf-8";
/* ############################################################################################################################
#    2025/8　リニューアル
#    v1 topファイル
############################################################################################################################ */
/* ############################################################################################################################
#
#    TOP
#
############################################################################################################################ */

/* メインビジュアル */
.main-visual.main-visual--top {
  position: relative;
  width: 100% ;
  margin:0 auto 160px;
  overflow: hidden;
}

.main-visual--top {
  .main-visual__bgwrap {
    overflow: hidden;
    position: relative;
  }

  .main-visual__bgwrap:after {
    content:" ";
    width:121px;
    height:101% ;
    backdrop-filter: blur(24px);
    background-color: rgba(255, 255, 255, 0.2) !important;
    overflow: hidden;
    position: absolute;
    top: -1px;
    right:0;
    pointer-events: none;
    z-index: 1;
    mask-size: contain;
    mask-repeat: no-repeat;
  }

  .main-visual__bg {
    position: relative;
    width:1224px ;
    aspect-ratio: 1224 / 620;
  }

/*
  .main-visual__bg:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(24px);
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 2;
    clip-path: inset(0 0 0 0);
    transition: clip-path 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  }
*/

  .swiper-slide-active .main-visual__bg:after {
    clip-path: inset(0 0 0 100%);
  }

  .main-visual__bg:before {
    content:'';
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.6) 100%);
    width: 100%;
    height: 100%;
    display: block;
  }

  .main-visual__box {
    width: calc( 569/1366*100% );
    position: absolute;
    bottom: 32px;
    left: 56px;
    padding: 0 ;
  }

  .main-visual__title {
    color: #FFF;
    font-weight: 500;
    font-size: 22px;
    font-size: 2.2rem;
    line-height: 160%;
    margin:12px 0 0;
  }

  .main-visual__date {
    color: #FFF;
    font-weight: 500;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 100%;
  }

  .main-visual__iconwrap  {
    width: 100% ;
    margin: 0 auto 0;
    position: relative;
  }

  .main-visual__icon {
    width: 280px;
    background: #FFF;
    display: grid;
    padding: 0 24px;
    margin: 16px 0 0;
    border-right: solid 1px var(--color-gray1);
    cursor: pointer;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap:12px;
  }

  .main-visual__iconimg {
    width: 40px;
    height:40px;
    display: block;
    border-radius: 50% ;
    border: 1px solid var(--color-gray1);
  }

  .main-visual__icon-title {
    font-weight: 400;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 160%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ページネーションのスタイル */
  .swiper-pagination__fraction {
    position: absolute;
    bottom: 32px;
    right: 45px;
    left: initial;
    z-index: 10;
    width: auto;
    height: auto;
    font-family: var(--font-figtree);
    font-weight: 500;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 100%;
    color: #fff;
  }

  /* swiper */
  .js-swiper,
  .js-thumb-list {
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .js-swiper.is-ready,
  .js-thumb-list.is-ready {
    opacity: 1;
  }

  .swiper-slide-thumb-active .main-visual__icon {
    opacity: 1;
  }

  .main-visual__bgwrap .swiper-slide{
    width:1224px ;
    margin-right:28px;
    overflow: hidden;
  }

  .swiper-pagination {
    position: static;
    display: block;
    margin: 0;
    transform: initial;
  }

  .swiper-button-next {
    position: absolute;
    top: 50% ;
    right: 0;
    transform: translateY( -50% );
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    font-family: var(--font-figtree);
    font-weight: 500;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 100%;
    width: 114px;
    height: 100%;
  }

  .swiper-button-next:hover {
    opacity: 0.5;
  }

   .swiper-button-next:after{
    content:"NEXT";
    font-weight: 500;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 100%;
  }

  .swiper-button-next:active {
    transform: translateY(-50%) scale(0.95);
  }

  .js-thumb-list {
    display: flex;
    width: max-content;
    gap: 0;
  }

  .js-thumb-list .swiper-slide {
    width:280px;
  }

  .js-thumb-list.is-animating {
    animation: infiniteScroll linear infinite;
  }
}

@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50%));
  }
}

@media screen and (min-width: 1366px) {
  .main-visual--top {
/*
    .main-visual__bgwrap:after {
      width:8.346vw;
    }
*/

    .main-visual__bg {
      width:89.605vw ;
    }

    .main-visual__box {
      width: calc( 569/1366*100% );
      bottom: 2.343vw;
      left: 4.1vw;
    }

    .main-visual__title {
      font-size: 1.611vw;
      margin:0.878vw 0 0;
    }

    .main-visual__date {
      font-size: 0.878vw;
    }

    .main-visual__icon {
      padding: 0 1.757vw;
      margin: 1.171vw 0 0;
      grid-template-columns: 2.928vw 1fr;
      gap:0.878vw;
    }

    .main-visual__iconimg {
      width: 2.928vw;
      height:2.928vw;
    }

    .main-visual__icon-title {
      font-size: 0.878vw;
    }

    .main-visual__bgwrap .swiper-slide{
      width:89.605vw ;
      margin-right:2.05vw;
    }

    .swiper-button-next {
      width:8.346vw;
      font-size: 0.878vw;
    }

    .swiper-button-next:after{
      font-size: 0.878vw;
    }

    /* ページネーションのスタイル */
    .swiper-pagination__fraction {
      bottom: 2.343vw;
      right: 3.294vw;
      font-size: 0.878vw;
    }
  }
}
