/* 選考の流れ */
#_flow{
  padding-bottom: 80px;
}
#_flow .cntList .item{
  position: relative;
  display: grid;
  grid-template-columns: 100fr 225fr 515fr;
  align-items: center;
  padding: 28px 32px;
  background: #C2F2F2;
  min-height: 89px;
}
#_flow .cntList .item::after{
  content: "";
  position: absolute;
  bottom: -10px;
  left: calc(50% - 9px);
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 9px solid transparent;
  border-left: 9px solid transparent;
  border-top: 10px solid #C2F2F2;
  border-bottom: 0;
}
#_flow .cntList .item + .item{
  margin-top: 26px;
}
#_flow .cntList .item:last-child{
  grid-template-columns: 1fr;
}
#_flow .cntList .item:last-child::after{
  content: none;
}
#_flow .cntList .col-1{
  padding-right: 10px;
}
#_flow .cntList .col-2{
  padding-right: 20px;
}
#_flow .cntList .step{
  display: block;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1;
}
#_flow .cntList .num{
  display: block;
  /* margin-top: -10px; */
  margin-left: -1px;
  color: #fff;
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1;
}
#_flow .cntList .title{
  font-weight: bold;
}
#_flow .cntList .text{
  font-size: 1.4rem;
  line-height: 2;
}
#_flow .cntList .text a{
  display: inline;
  text-decoration: underline;
}
#_flow .cntList .item:last-child .text{
  text-align: center;
  font-weight: bold;
}
#_flow .cntTitle{
  margin-bottom: 40px;
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1.5;
}
#_flow .cntTitle:not(:first-child){
  margin-top: 100px;
}
#_flow h3.cntTitle{
  margin-top: 56px !important;
  margin-bottom: 32px;
  font-size: 2.4rem;
}
#_flow .cntText{
  line-height: 2;
}
#_flow .cntList-col2{
  margin-top: 24px;
}
#_flow .cntList-col2 li{
  display: grid;
  grid-template-columns: 70px 1fr;
  line-height: 2;
}
#_flow .cntList-col2 .text{
  padding-left: 22px;
}
#_flow .cntList-col2 .text::before{
  content: "：";
  display: inline-block;
  width: 22px;
  margin-left: -22px;
}
/* TAB */
@media screen and (max-width: 896px) {
  #_flow{
    padding-bottom: 100px;
  }
  #_flow .cntList .item{
    grid-template-columns: 1fr;
    padding: 28px 28px 28px 86px;
  }
  #_flow .cntList .item:last-child{
    padding: 28px;
  }
  #_flow .cntList .item:last-child .text{
    margin-top: 0;
  }
  #_flow .cntList .col-1{
    position: absolute;
    top: 18px;
    left: 25px;
  }
  #_flow .cntList .text{
    margin-top: 9px;
  }
  #_flow .cntTitle:not(:first-child){
    margin-top: 100px;
  }
}

/*  */
body.parent-career #_flow .cntList .item{
  background: #FDE89F;
}
body.parent-career #_flow .cntList .item::after{
  border-top-color: #FDE89F;
}
body.parent-internship #_flow .cntList .item{
  background: #E1F4BD;
}
body.parent-internship #_flow .cntList .item::after{
  border-top-color: #E1F4BD;
}


/* 会社説明会エントリー */
#_entry{
  margin-top: 50px;
  background: #F7F7F7;
}
#_entry .cntInner{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 40px 0;
}
#_entry .cntText-bg{
  position: absolute;
  top: 0;
  left: -10px;
  color: #C2F2F2;
  font-family: var(--ff-en);
  font-size: 17.1rem;
  line-height: 0.74em;
  letter-spacing: -0.05em;
}
#_entry .cntBox-left{
  position: relative;
  z-index: 2;
}
#_entry .cntImg img{
  width: 128%;
  height: 456px;
  max-width: 870px;
  min-width: 600px;
  margin-right: -57px;
  margin-left: -135px;
  object-fit: contain;
}
#_entry .cntBox-right{
  padding-top: 23px;
}
#_entry .cntTitle{
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 24px;
}
#_entry .cntText{
  line-height: 2;
  margin-bottom: 32px;
}
#_entry .cntList{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(315px, 1fr));
  gap: 32px 5.95%;
}
#_entry .cntList .btn{
  max-width: 317px;
  margin-left: 0;
  margin-right: 0;
  display: flex;
}
#_entry .cntList .title{
  font-weight: bold;
  margin-bottom: 16px;
}
#_entry .cntList .text{
  margin-top: 24px;
  text-align: right;
}
#_entry .cntList .text a{
  text-decoration: underline;
}
#_entry .cntList .text a:hover{
  text-decoration: none;
}
/* TAB */
@media screen and (max-width: 896px) {
  #_entry{
    margin-top: 0;
  }
  #_entry .cntInner{
    grid-template-columns: 1fr;
    padding: 60px 0 90px;
  }
  #_entry .cntText-bg{
    left: -30px;
    font-size: calc(171px - (896px - 100vw) / (521 / 68));
  }
  #_entry .cntImg{
    display: flex;
    justify-content: center;
    overflow: hidden;
  }
  #_entry .cntImg img{
    width: 133%;
    max-width: 700px;
    /* height: 220px; */
    height: auto;
    min-width: 0;
    margin-right: -16.5%;
    margin-left: -16.5%;
    margin-top: calc(20px - (896px - 100vw) / (521 / 40));
  }
  /* #mv .cntImg{
    grid-row: 1/2;
    display: flex;
    justify-content: center;
  }
  #mv .cntImg img{
    width: 174.5%;
    min-width: 0;
    height: auto;
    margin-left: -37%;
    margin-right: -37%;
    max-width: 800px;
  } */
  #_entry .cntBox-right{
    padding-top: 10px;
  }
  #_entry .cntTitle{
    font-size: 2.4rem;
  }
  #_entry .cntList .item{
    width: 100%;
    /* max-width: 315px; */
    margin: 0 auto;
  }
  #_entry .cntList .btn{
    width: 100%;
    max-width: 315px;
    margin: 0 auto;
  }
  #_entry .cntList .text{
    text-align: left;
  }
}


/* お問合わせ */
#_contact{
  margin-top: 50px;
  background: #F7F7F7;
}
#_contact .cntInner{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 30px;
  align-items: center;
  padding: 60px 0;
}
#_contact .cntText-bg{
  position: absolute;
  top: 0;
  left: -13px;
  z-index: 2;
  color: #FDE89F;
  font-family: var(--ff-en);
  font-size: 17.1rem;
  line-height: 0.74em;
  letter-spacing: -0.05em;
}
#_contact .cntBox-left{
  position: relative;
}
#_contact .cntImg{
  max-width: 603px;
  height: 339px;
  border-radius: 24px;
  overflow: hidden;
}
#_contact .cntBox-right{
  /* padding-top: 23px; */
}
#_contact .cntTitle{
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 23px;
}
#_contact .cntText{
  line-height: 2;
  margin-bottom: 32px;
}
#_contact .cntBox-right .btn{
  margin-left: 0;
  font-size: 1.6rem;
}
/* TAB */
@media screen and (max-width: 896px) {
  #_contact{
    margin-top: 0;
  }
  #_contact .cntInner{
    grid-template-columns: 1fr;
    padding: 60px 0 92px;
  }
  #_contact .cntText-bg{
    left: -35px;
    font-size: calc(171px - (896px - 100vw) / (521 / 68));
  }
  #_contact .cntImg{
    min-width: 0;
    height: auto;
    aspect-ratio: 315/177;
    /* height: calc(300px - (896px - 100vw) / (521 / 123)); */
    margin: 0 auto;
  }
  #_contact .cntImg img{
    width: auto;
    height: auto;
    min-width: 0;
  }
  #_contact .cntTitle{
    font-size: 2.4rem;
  }
  #_contact .cntBox{
    display: inline-block;
    margin: 0 auto;
  }
  #_contact .cntBox-right .btn{
    margin: 0 auto;
  }
}

body.parent-internship #_contact .cntText-bg{
  color: #E1F4BD;
}

/* バナー */
#banner-g{
  margin-top: 60px;
}
/* TAB */
@media screen and (max-width: 899px) {
  #banner-g{
    margin-top: 0;
  }
}