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

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

.nursery-school a.text{
    color:#9D8E88;
}

/*hero*/
.nursery-school #hero{
padding-top:100px;

}

.nursery-school #hero .inner{
    border-bottom: 1px dotted #707070;
    position: relative;
    padding-bottom: 80px;
}
.nursery-school #hero h2{
            writing-mode: vertical-rl;
            position: absolute;
            background: #fff;
            padding: 20p;
            line-height: 2;
            font-weight:600;
            padding: 7px 0;
}
.nursery-school #hero h2.line1{
    left: 6rem;
}

.nursery-school #hero h2.line2{
    left: 2rem;
}

.nursery-school #hero img{
    margin-top: 150px;
}

.nursery-school #hero p.text{
    text-align:center;
}

.nursery-school #hero p.text a{
display: block;
}


/*nabari*/
.nursery-school #nabari{
    padding-top: 150px;
    }

.nursery-school #nabari .inner{
    border-bottom: 1px dotted #707070;
    padding-bottom: 80px;
}
    
.nursery-school #nabari .flex-wrap{
    display: flex;
        justify-content: center;
        gap: 40px;
}
.nursery-school #nabari .flex-wrap .item-left img{
    width:350px;
        }
.nursery-school #nabari .flex-wrap .item-right{
width:430px;
    }

    .nursery-school #nabari .flex-wrap p.text{
margin-top:35px;
            }

.nursery-school #nabari .flex-wrap .item-right h3{
    font-size: 18px;
    text-align: left;
    margin-bottom: 0;
}


/*baby-sitter*/
.nursery-school #baby-sitter{
    padding-top: 150px;
    }

.nursery-school #baby-sitter .inner{
    border-bottom: 1px dotted #707070;
    padding-bottom: 80px;
}
    
.nursery-school #baby-sitter .flex-wrap{
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}
.nursery-school #baby-sitter .flex-wrap .item-right img{
    width: 380px;
        }
.nursery-school #baby-sitter .flex-wrap .item-left{
width:430px;
    }

    .nursery-school #baby-sitter .flex-wrap p.text{
margin-top:35px;
            }

.nursery-school #baby-sitter .flex-wrap .item-left h3{
    font-size: 18px;
    text-align: left;
    margin-bottom: 0;
}

.nursery-school #baby-sitter .w580{
    width:580px;
    max-width:580px;
    margin:0 auto;
        }
    
    .nursery-school #baby-sitter  .column{
        display: flex;
            border-top: 1px solid #707070;
            align-items: center;
            gap: 10px;
            padding: 10px 0;
            max-width: 580px;
            margin: 70px auto;
            border-bottom: 1px solid #707070;
    }
    

    .nursery-school #baby-sitter .column dt{
            width: 150px;
            text-align: left;
            font-weight: 400;
            font-size: 15px;
            letter-spacing: 1px;
            padding-left: 1rem;
    }
    .nursery-school  #baby-sitter .column dd{
            margin: 0;
            width: 500px;
            text-align: left;
            margin-left: 1rem;
        }
    .nursery-school  #baby-sitter .w580 p.text{
            width:580px;
            max-width:580px;
    }
    

/*renovation*/
.nursery-school #renovation{
    padding-top: 150px;
    }

.nursery-school #renovation .inner{
    border-bottom: 1px dotted #707070;
    padding-bottom: 80px;
}
    
.nursery-school #renovation .flex-wrap{
    display: flex;
        justify-content: center;
        gap: 40px;
}
.nursery-school #renovation .flex-wrap .item-left img{
    width:410px;
        }
.nursery-school #renovation .flex-wrap .item-right{
width:430px;
    }

.nursery-school #renovation .flex-wrap p.text{
margin-top:35px;
            }

.nursery-school #renovation .flex-wrap .item-right h3{
    font-size: 18px;
    text-align: left;
    margin-bottom: 0;
}

.nursery-school #renovation .w580{
width:580px;
max-width:580px;
margin:0 auto;
    }

.nursery-school #renovation .w580 p.text{
        width:580px;
        max-width:580px;
}

/*info*/
.nursery-school #info{
    padding-top: 150px;
    }

.nursery-school #info .inner{
    border-bottom: 1px dotted #707070;
    padding-bottom: 80px;
}
    
.nursery-school #info .flex-wrap{
    display: flex;
        justify-content: center;
        gap: 40px;
    align-items: center;
    }
.nursery-school #info .flex-wrap .item-right img{
    width:150px;
        }
.nursery-school #info .flex-wrap .item-left{
width:430px;
    }

    .nursery-school #info .flex-wrap p.text{
margin-top:35px;
            }

.nursery-school #info .flex-wrap .item-left h3{
    font-size: 18px;
    text-align: left;
    margin-bottom: 0;
}

/*links*/
.nursery-school #links{
    padding-top: 150px;
    }

.nursery-school #links .inner{
    border-bottom: 1px dotted #707070;
    padding-bottom: 80px;
}
    
.nursery-school #links .flex-wrap{
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
    }
.nursery-school #links .flex-wrap .item-left img{
    width:320px;
        }
    .nursery-school #links .flex-wrap .item-right img{
    width:320px;
    }

.nursery-school #links h3{
    font-size: 25px;
    margin-bottom: 60px;
}

.nursery-school #links .flex-wrap p.text{
    text-align: center;
    margin: 0;
}
/*daysample*/
.nursery-school #daysample{
    padding-top:130px;
    }
    
    .nursery-school #daysample .inner{
        padding-bottom:90px;
        border-bottom: 1px dotted #707070;
    }   

    .nursery-school #daysample .inner img.schedule{
max-width:800px;
    }   
    

/*characteristics*/
.nursery-school #characteristics{
padding-top:130px;
}
.nursery-school #characteristics .inner{
    padding:0 0 140px;
    border-bottom: 1px dotted #707070;;
}

/*jobsummary*/
.nursery-school #jobsummary{
padding-top:140px;
}
.nursery-school #njobsummary .inner{
    padding:0 0 140px;
    border-bottom: 1px dotted #707070;;
}
.nursery-school #jobsummary .flex-wrap{
display: flex;
max-width:345px;
gap:25px;
margin: 0 auto;
}

.nursery-school #jobsummary .flex-wrap .item p.fulltime{
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px; /* Adjust as needed */
    text-align: center;
    color:#43C5FF;
    border:1px solid #43C5FF;
    line-height: 2;
    }

.nursery-school #jobsummary .flex-wrap .item p.parttime{
        width: 160px;
        height: 160px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px; /* Adjust as needed */
        text-align: center;
        color:#D09B08;
        border:1px solid #D09B08;
        line-height: 2;
        }

        .nursery-school #jobsummary p.text{
margin-top:35px;            
    }
    
.nursery-school .fulltime-jobsummary h4{
    width: 430px;
    margin: 30px auto;
    background: #43C5FF;
    font-size: 15px;
    padding: 10px;
    color: #fff;
    border-radius: 75px;
}
.nursery-school .fulltime-jobsummary h5{
    color: #43C5FF;
    font-weight: 400;
    font-size: 15px;
    text-align: left;
    width: 430px;
    margin: 0 auto -20px;
    padding-bottom: 5px;
    border-bottom: 1px solid;
}


.nursery-school .parttime-jobsummary h4{
    width: 430px;
    margin: 30px auto;
    background: #D09B08;
    font-size: 15px;
    padding: 10px;
    color: #fff;
    border-radius: 75px;
}

.nursery-school .parttime-jobsummary h5{
    color: #D09B08;
    font-weight: 400;
    font-size: 15px;
    text-align: left;
    width: 430px;
    margin: 0 auto -20px;
    padding-bottom: 5px;
    border-bottom: 1px solid;
}

.nursery-school .common-jobsummary h4{
    width: 430px;
    margin: 30px auto;
    font-size: 15px;
    padding: 10px;
    color: #fff;
    border-radius: 75px;
    background: linear-gradient(to right, #43C5FF 50%, #D09B08 50%);
}

.nursery-school .common-jobsummary h5{
    color: #000;
    font-weight: 400;
    font-size: 15px;
    text-align: left;
    width: 430px;
    margin: 0 auto -20px;
    padding-bottom: 5px;
    border-bottom: 1px solid;
}
.nursery-school .common-jobsummary img.model{
    max-width: 845px;
    margin: 0 auto;
}



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

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

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

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

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

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


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


/*sdgs*/

.nursery-school #sdgs .inner{
    width: 900px;
    margin: 0 auto;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 0px;
border-bottom: 1px dotted #707070;
}

.nursery-school #sdgs .inner h2{
    display: block;
    text-align: center;
    margin: 0 auto;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
}

.nursery-school #sdgs .inner h2 img{
    display: block;
    margin: 0 auto -15px;
    width: 160px;
}

.nursery-school #sdgs .inner .flexwrap{
display: flex;
width: 330px;
margin: 80px auto;
justify-content: space-between;
}

.nursery-school #sdgs .inner .flexwrap .item{
    width: 150px;
    }
    .nursery-school #sdgs .inner .flexwrap .item h3{
    font-size: 16px;
    font-weight: 400;
}

.nursery-school #sdgs .inner .flexwrap .item span{
display: block;
}

.nursery-school #sdgs .inner .flexwrap .item img{
 max-width:64px;
    }

    @media (max-width: 768px) {
        .nursery-school .inner {
                width: 90%;
        padding:40px 10px;
            }
        .nursery-school p.text {
                margin: 30px auto!important;
            }
        .nursery-school #hero {
                padding-top: 0px;
        }
        .nursery-school #hero h2 {
            padding-top: 30px;
            font-size: 22px;
            }
        .nursery-school .yt{
                margin-top: 50px;
            }
            .nursery-school #hero a.grayback {
                padding: 20px;
                width: 100%;
                margin: 30px auto;
            }
            .nursery-school #hero .inner p.text {
                text-align: left;
                margin: 0 auto;
            }
            .nursery-school #hero .inner p.justify {
                text-align: justify;
            }
            .nursery-school h3 {
                font-size: 20px;
            }
        .nursery-school #hero img.illust {
            max-width: 150px;
            padding-bottom: 0px;
            margin-top: 30px;
        }
        .nursery-school #hero .inner {
            padding-top: 0;
            padding-bottom: 40px;
        }
        .nursery-school #hero p.justify {
            text-align: justify;
        }
        .nursery-school #nabari {
            padding-top: 40px;
        }
        .nursery-school #nabari .flex-wrap {
            flex-direction: column;
        }
        .nursery-school #nabari .flex-wrap .item-left img {
            width: 250px;
            margin: -50px auto 0;
        }
        .nursery-school #nabari .flex-wrap .item-right {
            width: 100%;
        }
        .nursery-school #nabari .inner {
            border-bottom: 1px dotted #707070;
            padding-bottom: 40px;
        }
        .nursery-school #baby-sitter {
            padding-top: 40px;
        }
        .nursery-school #baby-sitter .flex-wrap {
            flex-direction: column-reverse;
        }
        .nursery-school #baby-sitter .flex-wrap .item-right img {
            width: 240px;
            margin: -50px 0 0;
        }
        .nursery-school #baby-sitter .flex-wrap .item-left {
            width: 100%;
        }
        .nursery-school #baby-sitter .w580 {
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
        }
        .nursery-school #baby-sitter .column {
            flex-direction: column;
        }
        .nursery-school #baby-sitter .column dd {
            margin: 0;
            width: 100%;
            margin-left: 0;
            font-size: 14px;
        }
        .nursery-school #baby-sitter .inner {
            padding-bottom: 0px;
        }        

        }