/* 共通パーツ上書き */
#pheader{
  padding-bottom: 239px;
}
#contact .cntBtn{
  padding-right: 45px;
}
/* TAB */
@media screen and (max-width: 899px){
  #pheader{
    padding-bottom: 96px;
  }
}

/* Conditions */
#_conditions .cntList{
  margin: -44px 0 86px auto;
  max-width: 531px;
}
#_conditions .cntList .item{
  display: flex;
  border-bottom: 1px solid #BFBFBF;
  padding: 1px 0;
}
#_conditions .cntList .num{
  font-size: 4.6rem;
  font-weight: 900;
  line-height: 1;
  font-family: var(--ff-en);
  color: var(--c-accent);
  display: inline-block;
  margin-right: 32px;
  padding-top: 10px;
}
#_conditions .cntList .text{
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.625;
  padding: 19px 0;
}
/* TAB */
@media screen and (max-width: 899px) {
  #_conditions .cntList{
    margin: 23px auto 87px;
  }
  #_conditions .cntList .num{
    font-size: 3.2rem;
    margin-right: 23px;
    padding-top: 8px;
  }
  #_conditions .cntList .text{
    font-size: 1.6rem;
    padding: 10px 0;
  }
}

/* Competition */
#_competition{
  padding-top: 135px;
  padding-bottom: 200px;
  background: #F2EED5;
  border-radius: var(--br) var(--br) 0 0;
}
#_competition .cntTitle{
  margin-bottom: 110px;
}
#_competition .cntList .item{
  display: grid;
  grid-template-columns: 38fr 58fr;
  gap: 37px;
  align-items: end;
}
#_competition .cntList .item+.item{
  margin-top: 40px;
}
#_competition .cntList .image{
  aspect-ratio: 380/220;
  border: 4px solid #000;
  border-radius: 15px;
  position: relative;
}
#_competition .cntList .image::before{
  position: absolute;
  content: "";
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  top: 10px;
  left: 10px;
  border-radius: 15px;
  background: var(--c-main);
  z-index: -1;
}
#_competition .cntList .image img{
  border-radius: 11px;
}
#_competition .cntList .texts{
  position: relative;
  padding-right: 70px;
}
#_competition .cntList .arrow{
  position: absolute;
  right: 0;
  top: 44%;
}
#_competition .cntList .title{
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 22px;
}
#_competition .cntList .text{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  max-width: 466px;
  line-height: 2.25;
}
/* TAB */
@media screen and (max-width: 899px) {
  #_competition{
    padding-top: 80px;
    padding-bottom: 75px;
  }
  #_competition .cntTitle{
    margin-bottom: 44px;
  }
  #_competition .cntList .item{
    grid-template-columns: 1fr;
  }
  #_competition .cntList .inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 27px;
  }
  #_competition .cntList .item+.item{
    margin-top: 25px;
    padding-top: 30px;
    border-top: 1px solid #BFBFBF;
  }
  #_competition .cntList .image{
    position: relative;
    flex-basis: 45.37%;
  }
  #_competition .cntList .image::before{
    top: 4px;
    left: 4px;
  }
  #_competition .cntList .texts{
    padding-right: 0;
  }
  #_competition .cntList .arrow{
    top: 50%;
    transform: translateY(-50%);
  }
  #_competition .cntList .title{
    font-size: 2rem;
    margin-bottom: 0;
    flex-basis: 48.95%;
    padding-right: 46px;
  }
  #_competition .cntList .text{
    max-width: 100%;
  -webkit-line-clamp: 3;
  }
}
/* SP */
@media screen and (max-width: 480px) {
  #_competition .cntList .image{
    border: 2px solid #000;
  }
  #_competition .cntList .image::before{
    width: calc(100% + 2px);
    height: calc(100% + 2px);
  }
  #_competition .cntList .title{
    font-size: 1.8rem;
  }
}

/* Situations */
#_situations{
  position: relative;
  margin-top: calc(var(--clip-height) * -1);
  padding: 230px 0 205px;
}
#_situations::before,
#_situations::after{
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
}
#_situations::before{
  top: 0;
  height: 100%;
  background: #FDFF99;
  clip-path: polygon(0 var(--clip-height), 100% 0, 100% calc(100% - var(--clip-height)), 0 100%);
  z-index: -2;
}
#_situations::after{
  top: 63px;
  height: calc(100% - 126px);
  background: var(--c-main);
  clip-path: polygon(0 var(--clip-height), 100% 0, 100% calc(100% - var(--clip-height)), 0 100%);
  z-index: -1;
}
#_situations .cntInner{
  position: relative;
  width: calc(100% - 40px);
}
#_situations .cntInner .slick-arrow{
  position: absolute;
  bottom: -23px;
}
#_situations .cntInner .slick-prev{
  right: 75px;
}
#_situations .cntInner .slick-next{
  right: 0;
}
#_situations .cntTitle{
  margin-bottom: 70px;
}
#_situations .cntList{
  /* display: flex; */
  /* gap: 0 50px; */
  max-width: 1260px;
  margin: 0 auto;
}
#_situations .cntList .slick-list{
  padding-left: 20px;
  overflow: visible;
}
#_situations .cntList .item{
  position: relative;
  width: 300px;
  margin-left: 50px;
  padding: 20px 20px 66px;
  z-index: 2;
}
#_situations .cntList .item::before,
#_situations .cntList .item::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--br);
}
#_situations .cntList .item::before{
  top: 0;
  left: 0;
  background: #fff;
  border: 4px solid #000;
  z-index: -1;
}
#_situations .cntList .item::after{
  top: 10px;
  left: 10px;
  background: var(--c-pink);
  z-index: -2;
}
#_situations .cntList .image{
  aspect-ratio: 155/140;
  margin-bottom: 32px;
}
#_situations .cntList .image img{
  border-radius: 30px;
}
#_situations .cntList .title{
  font-size: 1.8rem;
  font-weight: 900;
  text-align: center;
}
#_situations .cntList .arrow{
  position: absolute;
  bottom: -27px;
  left: 50%;
  transform: translateX(-50%);
}
/* TAB */
@media screen and (max-width: 899px) {
  #_situations{
    padding-top: 100px;
    padding-bottom: 100px;
  }
  #_situations::after{
    top: 37px;
    height: calc(100% - 74px);
    clip-path: polygon(0 var(--clip-height), 100% 0, 100% calc(100% - var(--clip-height)), 0 100%);
  }
  #_situations .cntInner .slick-arrow{
    bottom: -52px;
  }
  #_situations .cntInner .slick-prev{
    right: 50px;
  }
  #_situations .cntTitle{
    margin-bottom: 88px;
  }
  #_situations .cntList{
    gap: 0 30px;
  }
  #_situations .cntList .item{
    width: 230px;
    margin-left: 30px;
  }
  #_situations .cntList .item::after{
    top: 6px;
    left: 6px;
  }
  #_situations .cntList .image{
    margin-bottom: 16px;
  }
  #_situations .cntList .image img{
    border-radius: 18px;
  }
  #_situations .cntList .title{
    font-size: 1.6rem;
    text-align: center;
  }
  #_situations .cntList .arrow{
    bottom: -18px;
  }
}
/* SP */
@media screen and (max-width: 480px) {
  #_situations .cntList .item{
    width: 180px;
    padding: 12px 12px 36px;
  }
  #_situations .cntList .item::before{
    border: 2px solid #000;
  }
}

/* About us */
#_aboutus{
  padding-top: 95px;
  padding-bottom: 140px;
}
#_aboutus .cntTitle{
  margin-bottom: 50px;
}
#_aboutus .cntBox .title{
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 21px;
}
#_aboutus .cntBox .text+.title{
  margin-top: 40px;
}
#_aboutus .cntBox .text{
  line-height: 2.25;
}
/* TAB */
@media screen and (max-width: 899px) {
  #_aboutus{
    padding-top: 50px;
    padding-bottom: 50px;
  }
  #_aboutus .cntTitle{
    margin-bottom: 44px;
  }
  #_aboutus .cntBox .title{
    font-size: calc(30px - (899px - 100vw) / (524 / 8));
  }
}
/* SP */
@media screen and (max-width: 480px) {
  #_aboutus .cntBox .title{
    font-size: 2.2rem;
  }
}