@charset "utf-8";

/* css Document
*****************************************************************/
@import "../../n_common/css/_variable.css";


.top-main__wrap{
  height: 83.85vw;/*1610/1920*/
  overflow: hidden;
  position: relative;
  @media (width < 810px) {
    height: 121vw;
  }
}

.top-main__bg{
  width: 100%;
  height: 104vw;
  background: url("../../images/top/main_bg.webp") center bottom/ cover no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  animation: mainMove 5s linear forwards;
  @media (width < 810px) {
    background-image: url("../../images/top/main_bg_sp.webp");
    width: 170%;
    height: 142vw;
    left: -35%;
  }
}

@keyframes mainMove{
  0%{
    translate: 0 0;
  }
  100%{
    translate: 0 -20vw;
  }
}

.top-main__ttl{
  width: 45.8vw;/*880/1920*/
  position: absolute;
  top: 5.94vw;/*114/1920*/
  left: 50%;
  translate: -50% 0;
  @media (width < 810px) {
    width: 56vw;
  }
  img{
    width: 100%;
    max-width: none;
  }
}

.top-main__inner{
  padding-block: 42px;
  background: var(--main_c);
  @media (width < 810px) {
    padding-block: 24px;
  }
}

.top-main__contents{
  container-type: inline-size;
  width: 90%;
  max-width: 1600px;
  margin-inline: auto;
}

.top-main__list{
  display: flex;
  justify-content: center;
  gap: 16px 0;
  @media (width < 500px) {
    flex-wrap: wrap;
  }
  &.--second{
    @media (width < 500px) {
      justify-content: flex-start;
    }
    .top-main__item{
      &:nth-of-type(1){
        @media (width < 500px) {
          width: 45.04%;
        }
      }
      &:nth-of-type(2){
        @media (width < 500px) {
          width: 54.96%;
        }
      }
      &:nth-of-type(3){
        @media (width < 500px) {
          width: 62.86%;
        }
      }
      &:nth-of-type(4){
        @media (width < 500px) {
          width: 37.14%;
        }
      }
    }
  }
}

.top-main__item{
  text-align: center;
  position: relative;
  padding-right: 3.5cqw;/*56/1600*/
  @media (width < 500px) {
    width: 50%;
    padding-right: 7cqw;
  }
  &::after{
    content: "";
    display: block;
    width: 1.375cqw;/*22/1600*/
    height: 100%;
    background: #fff;
    clip-path: polygon(calc(100% - 2px) 0, 100% 0, 2px 100%, 0 100%);
    position: absolute;
    top: 0;
    right: 1.06cqw;/*17/1600*/
    @media (width < 500px) {
      width: 2.75cqw;
      right: 2.12cqw;
    }
  }
  &:last-of-type{
    margin-right: -3.5cqw;
    @media (width < 500px) {
      margin-right: -7cqw;
    }
    &::after{
      content: none;
    }
  }
}

.top-main__btn{
  margin: 18px 0 24px;
  @media (width < 810px) {
    margin: 16px 0 20px;
  }
}

.top-main__link{
  padding: 0.5em 0.8em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  background: #998868;
  font-size: clamp(1rem, 0.7437rem + 0.5063vw, 1.25rem);/*20~16(1600~810)*/
  &:hover{
    text-decoration: none;
  }
  &::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.5em 0 0.5em 0.8em;
    border-color: transparent transparent transparent #d7b36e;
  }
  p{
    font-family: var(--font_min);
    font-weight: 500;
    color: #fff;
    line-height: 1;
  }
}


.top-point{
  overflow: hidden;
}

.top-point__wrap{
  width: 95%;
  @media (width < 810px) {
    width: 88%;
  }
}

.top-point__item{
  &.--reverse{
    .top-point__container{
      padding-left: 0;
      padding-right: calc(50vw - 50%);
      background: #90d3ec;
      @media (width < 810px) {
        padding-right: 0;
      }
    }
    .top-point__inner{
      flex-direction: row-reverse;
      @media (width < 810px) {
        flex-direction: column;
      }
    }
    .top-point__img{
      margin: 0 auto 0 0;
      mask-image: linear-gradient(90deg, #000 0%, #000 80%, transparent 95%);
    }
    .top-point__link{
      justify-content: flex-end;
      &::after{
        right: auto;
        left: 0;
        transform-origin: bottom left;
        rotate: 60deg;
      }
    }
  }
}

.top-point__container{
  margin-inline: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  background: var(--main_c);
  @media (width < 810px) {
    padding-left: 0;
  }
}

.top-point__inner{
  display: flex;
  justify-content: space-between;
  gap: 0 4.17cqw;/*50/1200*/
  @media (width < 810px) {
    flex-direction: column;
    align-items: center;
  }
}

.top-point__contents{
  flex-grow: 1;
  text-align: left;
  color: #fff;
  padding: 100px 0 120px;
  @media (width < 810px) {
    width: 88%;
    padding: 48px 0;
  }
}

.top-point__ttl{
  font-family: var(--font_eb);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(36px, -9.114px + 5.57vw, 80px);/*80~36(1200~810)*/
  line-height: 1.1;
}

.top-point__txt{
  word-break: keep-all;
  font-family: var(--font_min);
  font-size: clamp(16px, -4.769px + 2.564vw, 26px);/*26~16(1200~810)*/
  letter-spacing: 0.06em;
  line-height: 2.2;
  margin-top: 40px;
  @media (width < 810px) {
    margin-top: 24px;
  }
}

.top-point__btn{
  margin-top: 100px;
  width: 100%;
  max-width: 440px;
  @media (width < 810px) {
    margin-top: 32px;
    max-width: 260px;
  }
}

.top-point__link{
  display: flex;
  justify-content: flex-start;
  border-bottom: 1px solid #fff;
  font-family: var(--font_eb);
  font-weight: 400;
  font-size: clamp(18px, -11.077px + 3.59vw, 32px);/*32~18(1200~810)*/
  line-height: 1.1;
  color: #fff;
  padding-bottom: 0.2em;
  position: relative;
  &::after{
    content: "";
    display: block;
    width: 1px;
    height: 50px;
    background: #fff;
    position: absolute;
    right: 0;
    bottom: 0;
    transform-origin: bottom right;
    rotate: -60deg;
    @media (width < 810px) {
      height: 30px;
    }
  }
  &:hover{
    text-decoration: none;
  }
}

.top-point__block{
  container-type: inline-size;
  flex-shrink: 0;
  width: 65.81%;/*1020/1550*/
  position: relative;
  @media (width < 1367px) {
    width: 59.53%;/*920/1550*/
  }
  @media (width < 810px) {
    width: 100%;
  }
}

.top-point__img{
  width: 76.47%;/*780/1020*/
  height: 100%;
  margin: 0 0 0 auto;
  mask-image: linear-gradient(270deg, #000 0%, #000 80%, transparent 95%);
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.top-point__simg{
  position: absolute;
  &.--img01{
    width: 34.31%;/*350/1020*/
    top: 4.2cqw;
    left: 10.98cqw;/*112/1020*/
    @media (width < 810px) {
      top: 3.8cqw;
    }
  }
  &.--img02{
    width: 31.27%;/*319/1020*/
    bottom: 4.2cqw;
    left: 0;
  }
  &.--img03{
    width: 34.22%;/*349/1020*/
    top: 4.8cqw;
    right: 1.18cqw;/*12/1020*/
    @media (width < 810px) {
      top: 4.3cqw;
    }
  }
  &.--img04{
    width: 35.49%;/*362/1020*/
    right: 9.8cqw;/*100/1020*/
    bottom: 4.51cqw;/*46/1020*/
  }
  img{
    width: 100%;
    max-width: none;
  }
}