@charset "utf-8";

@import url(./global/_variable.css);

.area_header {
  width: 100%;
  height: 100dvh;
  background-image: url(../images/common/bg01.webp);
  background-position: center center;
  background-size: cover;
  position: relative;
  color: #FFF;
  @media (width < 896px) {
    height: auto;
  }
}

.area_header_ttl {
  position: absolute;
  top: 6vh;
  left: 4vw;
  max-width: 760px;
  max-height: 400px;
  width: 50vw;
  height: 47vh;
  @media (width < 1025px) {
    top: 0px;
    left: 0px;
    width: 100%;
    max-width: 500px;
    padding: 20px;
    box-sizing: border-box;
  }
  @media (width < 896px) {
    max-width: 100%;
    position: relative;
    top: auto;
    left: auto;
  }
}

.area_header_txt {
  text-align: justify;
  padding: 20px;
}

.hd_site {
  width: 100%;
  height: 100%;
  img {
    width: auto;
    height: 100%;
  }
}

.area_header_illust {
  width: auto;
  height: 100%;
  position: absolute;
  bottom: 0px;
  right: 0px;
  @media (width < 1384px) {
    aspect-ratio: 173 / 135;
  }
  @media (width < 1190px) {
    width: 90%;
    height: auto;
  }
  img {
    width: auto;
    height: 100%;
  }
}

.area_header_cloud {
  position: absolute;
  left: 0px;
  bottom: 0px;
  max-width: 338px;
  width: 30%;
}

.area_header_slider {
  position: absolute;
  width: 100%;
  bottom: 12vh;
  @media (width < 896px) {
    position: relative;
    bottom: auto;
    padding-block-start: 10px;
    display: none;
  }
  .splide {
    position: relative;
    .splide__track {
      .splide__list {
        .splide__slide {
          max-width: 10.4vw;
          aspect-ratio: 1 / 1;
          overflow: hidden;
          @media (width < 896px) {
            max-width: 30vw;
            aspect-ratio: 1 / 1;
          }
          img {
            object-fit: cover;
            width: 100%;
            height: 100%;
          }
        }
      }
    }
  }
}




.area_contents_body {
}

.bc_top {
  background-image: url(../images/common/bg_contents.webp);
  background-size: 100% auto;
  background-position: center top;
}

.cloud {
  width: 90%;
  position: absolute;
  z-index: 100;
}

.block_contents_feature {
  position: relative;
  overflow: hidden;
}

.block_contents_access {
  position: relative;
  overflow: hidden;
  padding-block-start: 18cqw;
  .cloud {
    right: -50cqw;
    top: 8cqw;
  }
}

.header_contents {
  position: relative;
  .cloud {
    left: -60cqw;
    top: 8cqw;
  }
}

.bg_head {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 20cqw;
  img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

.hd_contents {
  width: 100%;
  text-align: center;
  color: var(--color_font);
  font-size: clamp(1.8rem, 1.15vw + 1.368rem, 2.4rem);
  font-weight: 600;
  line-height: 1.3em;
  letter-spacing: 0.2em;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}


.box_feature_slider {
  width: 100%;
  padding-block-start: 20px;
  .splide {
    position: relative;
    .splide__track {
      .splide__list {
        .top_feature {
          .top_feature_thumb {
            aspect-ratio: 3 / 2;
            overflow: hidden;
            img {
              object-fit: cover;
              width: 100%;
              height: 100%;
            }
          }
          .hd_topics {
            color: #FFF;
            font-size: 1.4rem;
            margin-top: 5px;
            padding-block: 3px;
            padding-inline-start: 0px;
          }
        }
      }
    }
    .splide__pagination {
      position: absolute;
      bottom: -10px;
      left: 0px;
      width: 100%;
      li {
        padding: 0 4px;
        .splide__pagination__page {
          width: 10px;
          height: 10px;
          padding: 0px;
          border-radius: 100%;
          border: none;
          background-color: rgba(255, 255, 255, 0.7);
        }
        .is-active {
          background-color: var(--color_primary);
        }
      }
    }
    .splide__arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 300;
      img {
        height: 27px;
        width: auto;
        filter: drop-shadow(1px 1px 3px rgba(0,0,0,0.7));
      }
    }
    .splide__arrow--next {
      right: 10px;
    }
    .splide__arrow--prev {
      left: 10px;
      img {
        transform: rotate(180deg);
      }
    }
  }
}

.box_flow {
  margin: 20px;
  padding: 20px;
  background-color: #FFF;
}


.wrap {
  @media (width > 897px) {
    scroll-snap-type: y mandatory;
    overflow-y: scroll; 
    position:relative;
    height:100dvh;
  }
}

.area {
  @media (width > 897px) {
    overflow-y: scroll;
    scroll-snap-align: start;
    /* height:100dvh; */
  }
}