.recruitment-type .inner{
    width: 900px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 166px;
}
.recruitment-type h2{
    font-size: 28px;
    font-weight: 400;
    line-height: 1.75;
    position: relative;
    margin: 0px 0px 40px;
    letter-spacing: 3px;
}
.recruitment-type h3{
    font-size: 25px;
    font-weight: 400;
    line-height: 1.75;
    position: relative;
    margin: 0px 0px 90px;
    letter-spacing: 3px;
}

.recruitment-type h4{
    font-size: 20px;
    font-weight: 400;
    line-height: 1.75;
    margin: 0px 0px 25px;
    letter-spacing: 3px;
}
.recruitment-type p.text{
    max-width: 430px;
    text-align: justify;
    margin: 75px auto;
    line-height: 2;
}

/*hero*/
.recruitment-type #hero{
padding-top:120px
    }
.recruitment-type #hero .inner{
    border-bottom: 1px dotted #707070;
            }

.recruitment-type #hero a.btn{
    width: 180px;
    margin: 20px auto 30px;
}




/*message*/
.recruitment-type #message{
    padding-top: 120px;
    }
.recruitment-type #message .inner{
    padding-bottom:90px;
    border-bottom: 1px dotted #707070;;
}   

.yt {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    max-width: 700px;
    margin: 0 auto;
  }
  .yt iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }

/*secondgrade*/
.recruitment-type #second-grade{
    padding-top:110px;
    }
    
    .recruitment-type #second-grade .inner{
        padding-bottom:90px;
        border-bottom: 1px dotted #707070;
    }   
    
    .recruitment-type #second-grade .flex-wrap{
        display: flex;
            width: 500px;
            margin: 0 auto;
            gap: 40px;
    }
    
    .recruitment-type #second-grade a{
        border: 1px solid #707070;
        width: 500px;
        display: block;
        padding: 25px;
        border-radius: 45px;
        text-decoration: none;
        letter-spacing: 3px;
        margin: 20px auto;
    }
    
    .recruitment-type #second-grade .flex-wrap a{
        width: 230px;
    }

    .recruitment-type #second-grade a p{
margin:0;
position: relative;
    }
    
    .recruitment-type #second-grade a p::before{
        content: "";
        position: absolute;
        top: 4px;
        left: 40px;
        width: 18px;
        height: 18px;
        background: url('/asset/images/recruitment-type/img01.png') no-repeat center center;
        background-size: contain;
    }

    .recruitment-type #second-grade a.fourletters p::before{
        left: 30px;
    }

    .recruitment-type #second-grade a.sevenletters p::before{
        left: 0px;
    }


/*sales*/
.recruitment-type #sales{
padding-top:120px;
}
.recruitment-type #sales .inner{
    padding:0 0 140px;
    border-bottom: 1px dotted #707070;;
}
.recruitment-type #sales img.illust{
max-width:280px;
margin:0 auto;
    }

.recruitment-type .job-item{
        line-height: 1;
        text-align: left;
        width: 570px;
        margin: 0 auto 75px;
    }

.recruitment-type .job-item span.fulltime{
    color: #43C5FF;
    border: 1px solid #43C5FF;
    padding: 5px;
    display: inline-block;
    margin: 0 5px 0 0;
}

.recruitment-type .job-item span.unexperienced{
    color: #DE5522;
    border: 1px solid #DE5522;
    padding: 5px;
    display: inline-block;
    margin: 0 5px 0 0;
}

.recruitment-type .job-item span.second{
    color: #228E82;
    border: 1px solid #228E82;
    padding: 5px;
    display: inline-block;
    margin: 0 5px 0 0;
}


.recruitment-type .job-item span.parttime{
    color: #DEAC22;
    border: 1px solid #DEAC22;
    padding: 5px;
    display: inline-block;
    margin: 0 5px 0 0;
}
.recruitment-type .job-item p{
    margin: 10px 0;
}
.recruitment-type .job-item a{
    margin-top: 40px;
}

/*nursing*/
.recruitment-type #nursing{
padding-top:110px;
}
.recruitment-type #nursing .inner{
    padding:0 0 140px;
    border-bottom: 1px dotted #707070;;
}
.recruitment-type #nursing img.illust{
    max-width: 210px;
    margin: 0 auto 75px;
        }

/*nursing*/
.recruitment-type #childcare{
    padding-top:110px;
    }
    .recruitment-type #childcare .inner{
        padding:0 0 65px;
        border-bottom: 1px dotted #707070;;
    }
    .recruitment-type #childcare img.illust{
        max-width: 210px;
        margin: 0 auto 75px;
            }

/*foreignstaff*/
.recruitment-type #foreignstaff{
    padding-top:110px;
    }
    .recruitment-type #foreignstaff .inner{
        padding:0 0 65px;
    }
    .recruitment-type #foreignstaff img.illust{
        max-width: 310px;
        margin: 0 auto 75px;
     }

     .recruitment-type #foreignstaff p.text{
        max-width: 570px;
        margin-top: 0;
     }

     .recruitment-type #foreignstaff table{
        border-collapse: collapse;
        max-width: 660px;
        margin: 0 auto 35px;
     }
     .recruitment-type #foreignstaff table tr.firstrow{
        background: #7B7B7B;
        color: #fff;
     }

     .recruitment-type #foreignstaff table tr.firstrow th{
text-align: center;
     }

     .recruitment-type #foreignstaff table tr.firstrow td{
        text-align: center;
        border-left: 1px solid #fff;
    }

     .recruitment-type #foreignstaff table th{
        padding: 20px;
        text-align: left;
        border-right: 0.5px solid #707070;
        border-bottom: 0.5px solid #707070;
        border-left: 0.5px solid #707070;
        font-weight: 400;
    }

    .recruitment-type #foreignstaff table td{
        padding: 20px;
        text-align: left;
        border-right: 0.5px solid #707070;
        border-bottom: 0.5px solid #707070;
        border-left: 0.5px solid #707070;
 }

    .recruitment-type #foreignstaff span.kana{
        color:#7E9B77;
    }
    .recruitment-type #foreignstaff p.pt80{
padding-top:80px;
    }


/*how-to-entry*/
.recruitment-type #how-to-entry{
background:#F8F5E5;
}
.recruitment-type #how-to-entry .inner{
    padding-top: 80px;
    padding-bottom: 0px;
}
.recruitment-type #how-to-entry img.illust{
max-width:180px;
}

.recruitment-type #how-to-entry .flex-wrap{
    display: flex;
    justify-content: flex-start;
    gap: 70px;
}

.recruitment-type #how-to-entry .flex-wrap .recruit-left{
max-width: 470px;
}

.recruitment-type #how-to-entry .flex-wrap h3{
    margin: 0px 0 20px;
    font-size: 15px;
    }

.recruitment-type #how-to-entry .flex-wrap .recruit-right{
    max-width: 345px;
}

.recruitment-type #how-to-entry .flex-wrap .recruit-right img.mynavi{
    max-width: 190px;
    margin: -50px 0 0;
}
.recruitment-type #how-to-entry a.white{
        width: 280px;
        background: #fff;
        margin: -40px 0 0 20px;
        border-radius: 45px;
}


.recruitment-type #how-to-entry p.text{
    margin: 20px 0 75px;
}

@media (max-width: 768px) {
    .recruitment-type .inner {
            width: 90%;
    padding:40px 0px;
        }
    .recruitment-type p.text {
            margin: 30px auto!important;
        }
    .recruitment-type #hero {
            padding-top: 0px;
    }
    .recruitment-type #hero h2 {
            padding-bottom: 0px;
                font-size: 22px;
        }
    .recruitment-type #hero img.illust {
        max-width: 150px;
        padding-bottom: 0px;
        margin-top: 30px;
    }

    .recruitment-type #message {
        padding-top: 20px;
    }
    .recruitment-type #second-grade {
        padding-top: 20px;
    }
    .recruitment-type #second-grade .flex-wrap {
        width: 100%;
        margin: 0 auto;
        gap: 20px;
        justify-content: space-between;
    }
    .recruitment-type #second-grade a {
        width: 360px;
        padding: 15px;
        margin: 20px auto;
    }
    .recruitment-type #second-grade a p::before {
        content: "";
        position: absolute;
        top: 4px;
        left: -12px;
    }

    .recruitment-type #second-grade a.fourletters p::before {
        left: -20px;
    }

    .recruitment-type #second-grade a.sevenletters p{
        text-align: justify;
        font-size: 12px;
    }
    .recruitment-type #second-grade a.sevenletters p::before {
        left: -28px;
        top:2px;
    }

    .recruitment-type #second-grade .flex-wrap a {
        width: 150px;
        padding-left: 3rem;
    }
    .recruitment-type #second-grade .inner {
        padding-bottom: 60px;
    }
    .recruitment-type #sales {
        padding-top: 60px;
    }
    .recruitment-type #sales img.illust {
        max-width: 190px;
        margin-bottom: 30px;
    }
    .recruitment-type .job-item {
        line-height: 1.75;
        width: 100%;
        margin: 0 auto 75px;
    }
    .recruitment-type #sales .inner {
        padding: 0;
    }
    .recruitment-type #nursing {
        padding-top: 60px;
    }
    .recruitment-type #nursing .inner {
        padding: 0;
      }
      .recruitment-type #nursing img.illust {
        max-width: 160px;
        margin-bottom: 35px;
    }
    .recruitment-type #childcare {
        padding-top: 60px;
    }
    .recruitment-type #childcare img.illust {
        max-width: 160px;
        margin-bottom: 35px;
    }
    .recruitment-type #childcare .inner {
        padding: 0;

    }
    .recruitment-type #foreignstaff {
        padding-top: 60px;
    }
    .recruitment-type #foreignstaff img.illust {
        max-width: 220px;
        margin-bottom: 35px;
    }
    .recruitment-type .contract-employee-table{
margin-top:30px;
    }
    .recruitment-type  .contract-employee-table p {
        text-align: left;
        margin: 0 0 15px;
    }
    .recruitment-type .contract-employee-table p.title {
        background: #7B7B7B;
        padding: 10px;
        color: #fff;
        border-radius: 20px;
        text-align: center;
    }

    .recruitment-type .contract-employee-table p.title2 {
        text-align: left;
        margin: 0 0 5px;
    }



    .recruitment-type .contract-employee-table .flex-wrap {
        display: flex;
        gap: 5px;
        text-align: left;
        justify-content: flex-start;
    }

    .recruitment-type  .contract-employee-table .flex-wrap .item{
 width:128px;
    }
    .recruitment-type  .contract-employee-table .flex-wrap .item-right{
        max-width: 195px;
    }
    .recruitment-type .contract-employee-table .flex-wrap .item-right p{
        border-left: 1px solid #707070;
        padding-left: 1rem;
        font-size: 14px;
     }


           .recruitment-type #foreignstaff p.text {
            text-align: left;
        }


           .recruitment-type #how-to-entry .flex-wrap {
            flex-direction: column;
        }

        .recruitment-type #how-to-entry a.white {
            margin: 0px 0 0 20px;
          }
    .recruitment-type #intro img.illust {
        margin: 20px auto 0px;
    }
    .recruitment-type #how-to-entry .flex-wrap {
        gap: 20px;
    }
    .recruitment-type #how-to-entry img.illust {
        max-width: 140px;
    }
    .recruitment-type #how-to-entry .flex-wrap .recruit-right img.mynavi {
        max-width: 190px;
        margin: 0px 0 60px;
    }
    .recruitment-type h3 {
font-size: 20px;
        margin: 0 0 60px;
    }

    }