@charset "utf-8";
/* CSS Document */

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
スライダー
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

.slider-flow_wrap {
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  padding-left: max(2.6rem, calc(50vw - 224px));
  padding-right: 2.6rem;
  padding-bottom: 9rem;
  margin-bottom: 8rem;
  @media screen and (max-width: 1204px) {
    padding-left: max(2.6rem, calc(100vw - 851px));
  }
  @media screen and (max-width: 480px) {
    padding-left: 3rem;
    padding-bottom: 7rem;
    margin-bottom: 4rem;
  }
  .slider-flow {
    width: 100%;
    max-width: 799px;
    position: relative;
    @media screen and (max-width: 480px) {
      width: calc(100vw - 6rem);
    }
    .splide__track {
      overflow: visible;
      .splide__list {
        overflow: visible;
        .flow-slide {
          width: 45.8rem;
          padding: 3.9rem 2.9rem 2.7rem;
          box-sizing: border-box;
          border: 1px solid #f2f2f2;
          background-color: #f2f2f2;
          transition: all 0.2s;
          /* &.is-active, */
          &.is-next-active {
            border-color: var(--color-green-hover);
            box-shadow: 0px 0px 17.4px rgba(0, 0, 0, 0.17);
          }
          .en {
            display: flex;
            align-items: center;
            gap: 2rem;
            font-weight: 600;
            margin-bottom: 2.5rem;
            .number {
              font-size: 3rem;
            }
            .title {
              font-size: 1.2rem;
            }
          }
          h3 {
            margin-bottom: 1.8rem;
          }
          .img_wrap {
            border-radius: 0.5rem;
            overflow: hidden;
            margin-bottom: 3.9rem;
          }
          p {
            font-size: 1.5rem;
            font-weight: 500;
            line-height: 1.6;
          }
        }
      }
    }
  }
}
/* ページネイション */
.slider-flow .splide__pagination {
  position: absolute;
  left: 0;
  bottom: -8.8rem;
  justify-content: flex-start;
  padding: 0;
  gap: 6.8rem;
  @media screen and (max-width: 480px) {
    bottom: -6.8rem;
    gap: 3.2rem;
  }
  li {
    position: relative;
    &::after {
      content: "";
      display: block;
      position: absolute;
      width: 6.8rem;
      height: 1px;
      background-color: var(--color-base);
      z-index: 0;
      top: 50%;
      left: 100%;
    }
    @media screen and (max-width: 480px) {
      &::after {
        width: 3.2rem;
      }
    }
    &:last-child {
      &::after {
        display: none;
      }
    }

    .splide__pagination__page {
      width: 3.4rem;
      height: 3.4rem;
      background: none;
      opacity: 1;
      margin: 0;
      font-size: 1.9rem;
      color: #fff;
      font-family: "Barlow", sans-serif;
      font-weight: 600;
      background-color: #d6d6d6;
      transform: none;
      transition: all 0.2s;
      z-index: 10;
      &.is-active {
        background-color: var(--color-green);
      }
      /* デフォルトの丸を消す */
      &::before {
        display: none;
      }
    }
  }
}
