.fv{
  position: relative;
  color: var(--main);
  overflow: hidden;
  container-type: inline-size;
  container-name: fv;
  &::before{
    content: "";
    display: block;
    width: 100%;
    height: 345px;
    background-image: url(../images/top/fv-bg01-sp.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    animation: scale 6s forwards;
  }
  &::after{
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 375 / 172;
    background-color: var(--base);
    clip-path: polygon(0 0, 100% 67%, 100% 100%, 0% 100%);
    position: absolute;
    top: 174px;
    left: 0;
    z-index: -1;
  }
}
@keyframes scale{
  from{
    transform: scale(1);
  }to{
    transform: scale(1.1);
  }
}
.fv__heading{
  padding-top: 255px;
  padding-left: 24px;
  position: relative;
  &::before{
    content: "";
    display: block;
    background-color: var(--base);
    position: absolute;
    height: 200px;
    left: 0;
    bottom: -20%;
    right: 0;
    z-index: -1;
    @media(min-width:500px){
      height: 100px;
    }
    @media(min-width:768px){
      display: none;
    }
  }
}
.fv__p{
  font-size: 64px;
  line-height: calc((147/2/64));
  font-family: var(--gill);
  padding-top: 10px;
  letter-spacing: -0.01em;
}
.fv__h2{
  font-size: 16px;
  font-weight: 500;
  line-height: calc(24/16);
  letter-spacing: 0.05em;
  font-family: var(--cjk);
  margin-top: 7px;
}
.fv__span{
  font-size: 16px;
  font-family: var(--gill);
  margin-inline: auto;
  display: block;
  margin-top: 42px;
  text-align: center;
}
.fv__svg{
  margin-top: 9px;
}
.fv__circle{
  position: absolute;
  top: 248px;
  left: 226px;
  overflow: hidden;
  @media(min-width:960px){
    top: 610px;
    left: 77%;
  }
  @media(min-width:1200px){
    left: 81%;
  }
  @media(min-width:1920px){
    left: 82.5%;
  }
}
.fv__polygon{
  display: none;
  width: calc(169%/var(--width-pc)*100);;
  aspect-ratio: 169/380;
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  background-color: var(--base);
  position: absolute;
  top: 370px;
  right: 0;
  translate: 0 -100%;
}
@container fv (min-width:500px){
  .fv__polygon{
    display: block;
  }
}
.fv__decole{
  display: none;
  width: 611px;
  height: 1103px;
  position: absolute;
  top: 80px;
  left: 0;
  z-index: -1;
  @media(min-width:960px){
    display: block;
  }
}
@container fv (min-width:666px){
  .fv::before{
    height: 470px;
  }
  .fv__polygon{
    top: 472px;
  }
}
@container fv (min-width:960px){
  .fv__heading{
    padding-top: 188px;
    padding-left: calc(110%/var(--width-pc)*100);
    line-height: 1;
  }
  .fv__polygon{
    top: unset;
    bottom: 0;
    translate: unset;
  }
  .fv__p{
  font-size: 100px;
  line-height: calc((132 / 2 / 64));
}
.fv__h2{
  font-size: 20px;
}
.fv__span{
  color: var(--base);
  margin-top: 65px;
}
.fv__svg svg .a{
  stroke: var(--base);
}
} 
@container main (min-width:960px){
  .fv{
    height: 639px;
    &::before{
      height: 639px;
      background-image: url(../images/top/fv-bg01-pc.webp);
    }
    &::after{
      display: none;
    }
  }
}

/*============================
#strategy.strategy
============================*/
#strategy.strategy{
  padding-inline: var(--padding-inline);
  padding-block: 42px 56px;
  background-image: url(../images/top/fv-bg02-sp.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 42px;
  @media(min-width:960px){
    margin-top: 0;
    padding-block: 99px 102px;
    position: relative;
  }
  @media(min-width:1200px){
    z-index: -2;
  }
}

.strategy__p{
  font-size: 36px;
  color: var(--main);
  line-height: calc(48/36);
  font-family: var(--gill);
  text-align: center;
  & svg{
    width: 16px;
    height: 40px;
    }
  @media(min-width:960px){
    font-size: 64px;
    & svg{
      width: 28.4px;
      height: 64px;
    }
  }
}

.strategy__h2{
  font-size: 24px;
  line-height: calc(35/24);
  letter-spacing: 0.05em;
  text-align: center;
  margin-top: 26px;
  white-space: nowrap;
  @media(min-width:960px){
    font-size: 32px;
    margin-top: 22px;
  }
}
.strategy__text{
  line-height: calc((168/6/16));
  letter-spacing: 0.05em;
  margin-top: 25px;
  max-width: 536px;
  margin-inline: auto;
  @media(min-width:960px){
    margin-top: 24px;
    text-align: center;
    max-width: unset;
  }
}
.strategy__trapezoid{
  display: none;
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 12% 100%);
  width: calc(428%/var(--width-pc)*100);;
  height: 100%;
  position: absolute;
  background-color: var(--main);
  bottom: 0;
  right: 0;
  @media(min-width:1200px){
    display: block;
  }
}


/*============================
.service
============================*/
.service{
  padding-block: 40px 55px;
  padding-inline: var(--padding-inline);
  position: relative;
  @media(min-width:768px){
    padding-block: 114px 131px;
  }
  &::before{
    content: "";
    display: block;
    background-color: #F6F7F7;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -5;
  }
  &::after{
    content: "";
    display: block;
    clip-path: polygon(100% 7%, 0% 100%, 100% 100%);
    background-color: var(--sub);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -4;
    @media(min-width:960px){
      clip-path: polygon(53% 0, 100% 0, 100% 100%, 4% 100%);
      left:  calc(100%* 640 / 1440);
    }
  }
}

.service__heading{
  color: var(--main);
}
.service__contents{
  margin-top: 23px;
  @media(min-width:768px){
    margin-top: 27px;
  }
}
.service__contents-ttl{
  font-size: 24px;
  line-height: calc(35/24);
  letter-spacing: 0.05em;
  font-weight: 300;
  white-space: nowrap;
  @media(min-width:768px){
    font-size: 32px;
  }
}
.service__content-text{
  line-height: calc(168/6/16);
  letter-spacing: 0.05em;
  margin-top: 16px;
  @media(min-width:768px){
    margin-top: 32px;
  }
}
.service__contents-grid{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
  margin-top: 42px;
  max-width: 480px;
  margin-inline: auto;
  @media(min-width:768px){
    grid-template-columns: repeat(4,1fr);
    max-width: var(--inner-width);
    margin-top: 61px;
  }
}

.service__btn{
  width: 263px;
  aspect-ratio: 263 / 58;
  margin-inline: auto;
  margin-top: 32px;
  @media(min-width:768px){
    margin-top: 40px;
  }
  &::after{
    right: 83.5px;
  }
}
.service__btn a{
    padding-left: 76px;
}

/*============================
.about
============================*/
.about{
  padding-inline: var(--padding-inline);
  padding-block: 40px 54px;
  position: relative;
  @media(min-width:768px){
    padding-block: 106px 128px;
  }
  &::before{
    content: "";
    display: block;
    background-color: var(--main);
    clip-path: polygon(0 0, 0% 100%, 100% 0);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    @media(min-width:768px){
      clip-path: polygon(0 0, 46.5% 0, 16% 100%, 0% 100%);
    }
  }
}
.about__heading{
  color: var(--base);
  padding-top: 6px;
}
.about__grid{
  margin-top: 27px;
  display: grid;
  gap: 31px;
  @media(min-width:666px){
    grid-template-columns: repeat(2,1fr);
    gap: 34px;
    position: relative;
  }
}
.about__image{
  position: relative;
}
.about__caption{
  font-size: 18px;
  line-height: calc(26/18);
  letter-spacing: 0.05em;
  color: var(--base);
  font-weight: 700;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  white-space: nowrap;
  @media(min-width:768px){
    font-size: 24px;
  }
}
.about__btn{
  width: 263px;
  aspect-ratio: 263 / 58;
  margin-inline: auto;
  margin-top: 32px;
  @media(min-width:768px){
    margin-top: 48px;
  }
  &::after{
    right: 83.5px;
  }
}
.about__btn a{
    padding-left: 76px;
}
.about__circle{
  position: absolute;
  left: 0;
  bottom: 0;
  translate: -60% 50%;
  z-index: 1;
}

/*============================
.recruit
============================*/

.recruit{
  padding-inline: var(--padding-inline);
  padding-block: 40px 54px;
  background-image: url(../images/top/top-recruit-bg-sp.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
  @media(min-width:768px){
    padding-block: 105px 117px;
    background-image: url(../images/top/top-recruit-bg-pc.webp);
    position: relative;
    &::before{
      content: "";
      display: block;
      width:  calc(100%* 293 / 1440);
      height: 456px;
      clip-path: polygon(0 0, 0% 100%, 78.5% 0);
      background-color: #A8AEC3;
      position: absolute;
      top: 0;
      left: 0;
    }
  }
}
.recruit__inner{
  position: relative;
}
.recruit__heading{
  color: var(--main);
  padding-top: 6px;
}
.recruit__contents{
  margin-top: 20px;
  position: relative;
  z-index: 1;
  @media(min-width:768px){
    margin-top: 26px;
    container-type: inline-size;
    container-name: contents;
  }
}
.recruit__contents-ttl{
  font-size: 24px;
  line-height: calc(35/24);
  letter-spacing: 0.05em;
  font-weight: 300;
  @media(min-width:768px){
    font-size: 32px;
  }
}
.recruit__content-text{
  margin-top: 20px;
  line-height: calc(139/5/16);
  letter-spacing: 0.05em;
  @media(min-width:768px){
    margin-top: 32px;
    max-width: 380px;
  }
}
@container contents (min-width:800px){
  .recruit__content-text{
    max-width: 552px;
  }
}
.recruit__image{
  display: block;
  width:  calc(100%* 248 / 327);
  aspect-ratio: 255 / 146;
  margin-left: auto;
  margin-top: 45px;
  translate: 30px;
  position: relative;
  @media(min-width:768px){
    width:  calc(100%* 535 / 960);
    aspect-ratio: 535 / 489;
    margin-top: 0;
    position: absolute;
    top: -150px;
    right:  calc(100%* -150 / 960);
  }
  &::before{
    content: "";
    display: block;
    background-image: url(../images/top/recruit-image-back.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 6px;
    left: 9.6px;
    bottom: -6px;
    right: -9.6px;
    z-index: -1;
    @media(min-width:768px){
      background-image: url(../images/top/recruit-image-back-pc.webp);
      top: 21px;
      left: 21px;
      bottom: -21px;
      right: -21px;
    }
  }
}
.recruit__btn{
  width: 263px;
  aspect-ratio: 263 / 58;
  margin-inline: auto;
  margin-top: 46px;
  @media(min-width:768px){
    margin-top: 45px;
    margin-inline: unset;
  }
  &::after{
    right: 53.5px;
  }
}
.recruit__btn a{
    padding-left: 49px;
}

/*============================
.news
============================*/

.news{
  padding-inline: var(--padding-inline);
  padding-block: 40px 57px;
  @media(min-width:768px){
    padding-block: 111px 126px;
  }
}
.news__inner{
  max-width: var(--inner-width);
}
.news__heading{
  color: var(--main);
  padding-top: 4px;
}
.news__contents{
  margin-top: 32px;
}
.news__time,
.news__day_of_week{
  font-size: 14px;
  color: var(--main);
  letter-spacing: 0.08em;
  font-weight: 700;
  line-height: calc(20/14);
}
.news__li{
  margin-top: 34px;
  &:first-child{
    margin-top: 0;
  }
  @media(min-width:768px){
    margin-top: 28px;
  }
}
  @media (hover: hover) and (pointer: fine) {
    .news__li a:hover{
      color: var(--cta);
    }
  }
.news__ttl{
  line-height: calc(56/2/16);
  letter-spacing: 0.05em;
  padding-bottom: 16px;
  border-bottom: 1px solid #707070;
  margin-top: 13px;
}
.news__btn{
  width: 263px;
  aspect-ratio: 263 / 58;
  margin-inline: auto;
  margin-top: 33px;
  @media(min-width:768px){
    margin-top: 40px;
    margin-inline: unset;
    margin-left: auto;
  }
  &::after{
    right: 83.5px;
  }
}
.news__btn a{
    padding-left: 76px;
}
