@charset "utf-8";

/*--------------------------------------------------------------
  nursery-school
--------------------------------------------------------------*/
#nursery-school #main .main-content.greeting {
    display: flex;
}

#nursery-school #main .main-content .text-area h3:not(:first-child) {
    margin-top: 40px;
}

#nursery-school #main .main-content .text-area p {
    margin-left: 20px;
}

#nursery-school #main .main-content p span {
    color: #ff5b71;
    font-weight: bold;
}

#nursery-school #main .main-content .img-area {
    padding-top: 45px;
}

#nursery-school #main .tabs ul {
    justify-content: space-between;
}

#nursery-school #main .tabs li {
    text-align: center;
}

#nursery-school #main .tabs li a {
    font-size: 20px;
    color: #ff5b71;
    font-weight: bold;
    border-bottom: 2px solid #ff5b71;
    padding: 15px 0;
    display: block;
}

#nursery-school #main .tabs li.active a {
    background: #ff5b71;
    color: #fff;
    position: relative;
}

#nursery-school #main .tabs li.active a::after {
    position: absolute;
    content: '';
    top: 100%;
    left: 50%;
    margin-left: -10px;
    border: 20px solid transparent;
    border-top: 20px solid #ff5b71;
}

#nursery-school #main .feature li {
    border: 1px solid #ff5b71;
    border-radius: 5px;
    color: #ff5b71;
    text-align: center;
    line-height: 26px;
    width: 225px;
    height: 102px;
    position: relative;
    padding: 15px 5px 5px;
    margin-top: 15px;
}

#nursery-school #main .feature li::before {
    border: 1px solid #ff5b71;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    left: 50%;
    margin-left: -10px;
    width: 20px;
    height: 20px;
    background: #fff;
    line-height: 20px;
    font-size: 14px;
}

#nursery-school #main .feature li.row2 {
    padding-top: 25px;
}

#nursery-school #main .feature li.row1 {
    padding-top: 40px;
}

#nursery-school #main .feature li:nth-child(1)::before { content: '1'; }
#nursery-school #main .feature li:nth-child(2)::before { content: '2'; }
#nursery-school #main .feature li:nth-child(3)::before { content: '3'; }
#nursery-school #main .feature li:nth-child(4)::before { content: '4'; }
#nursery-school #main .feature li:nth-child(5)::before { content: '5'; }
#nursery-school #main .feature li:nth-child(6)::before { content: '6'; }
#nursery-school #main .feature li:nth-child(7)::before { content: '7'; }
#nursery-school #main .feature li:nth-child(8)::before { content: '8'; }

#nursery-school #main .column-2 {
    justify-content: center;
}

#nursery-school #main .schedule {
    padding: 0 20px;
}

#nursery-school #main .schedule .item-box {
    display: flex;
    position: relative;
    padding: 19px;
}

#nursery-school #main h4 {
    color: #ff5b71;
    width: 50px;
    text-align: center;
    font-size: 20px;
}

#nursery-school #main .schedule .item-box::after {
    content: '';
    border-bottom: 2px dotted #c9c9c9;
    width: calc(100% - 19px);
    height: 2px;
    display: block;
    position: absolute;
    bottom: 0;
}

#nursery-school #main .schedule .item-box:nth-child(2n)::before {
    content: '';
    border-left: 2px dotted #c9c9c9;
    width: 2px;
    height: calc(100% - 38px);
    display: block;
    position: absolute;
    top: 19px;
    left: 0;
}

#nursery-school #main .schedule .item-box:nth-child(2n+1)::after {
    left: 0;
    right: auto;
}

#nursery-school #main .schedule .item-box:nth-child(2n)::after {
    right: 0;
    left: auto;
}

#nursery-school #main .schedule .item-box img {
    vertical-align: bottom;
    margin: 0 10px 0 5px;
}

#nursery-school #main .schedule .item-box li {
    line-height: 30px;
}

#nursery-school #main .schedule .column-2:last-of-type .item-box::after {
    border: none;
}

#nursery-school #main .schedule .bnr {
    text-align: center;
    margin: 75px 0 30px;
}

#nursery-school #main .price h3:not(:first-child) {
    margin-top: 40px;
}

#nursery-school #main .price .column-2 {
    justify-content: space-between;
    padding: 0 20px;
}

#nursery-school #main .price h4 {
    width: auto;
    text-align: left;
    margin-bottom: 5px;
}

#nursery-school #main .price h4.mtop {
    margin-top: 30px;
}

#nursery-school #main .caution {
    margin-top: 30px;
    padding: 0 20px;
}

#nursery-school #main .left .caution {
    padding: 0;
}


/*--------------------------------------------------------------
  responsive - sp
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    #nursery-school #main .main-content.greeting {
        flex-wrap: wrap;
    }

    #nursery-school #main .main-content .img-area {
        padding-top: 30px;
    }

    #nursery-school #main .main-content .img-area,
    #nursery-school #main .main-content .img-area img {
        width: 100%;
    }

    #nursery-school #main .tabs {
        margin: 70px 0 40px;
    }

    #nursery-school #main .feature li {
        width: 49%;
    }

    #nursery-school #main .schedule .item-box {
        flex-wrap: wrap;
        padding: 30px 20px;
    }

    #nursery-school #main h4 {
        width: 100%;
        text-align: left;
        font-size: 30px;
        margin-bottom: 10px;
    }

    #nursery-school #main .schedule .item-box p {
        width: 70%;
    }

    #nursery-school #main .schedule .item-box img {
        margin: 0;
        width: 100%;
    }

    #nursery-school #main .schedule .item-box ul {
        margin-left: 20px;
    }

    #nursery-school #main .schedule .item-box:nth-child(2n)::before {
        border: none;
    }

    #nursery-school #main .schedule .column-2:last-of-type .item-box:not(:last-child)::after {
        content: '';
        border-bottom: 2px dotted #c9c9c9;
        width: calc(100% - 19px);
        height: 2px;
        display: block;
        position: absolute;
        bottom: 0;
    }

    #nursery-school #main .schedule .bnr {
        margin: 30px 0 70px;
    }

    #nursery-school #main .schedule .bnr img {
        width: 100%;
    }

    #nursery-school #main .caution {
        margin: 10px 0 30px;
    }

    #nursery-school #main .left .caution {
        margin-bottom: 0;
    }

    #nursery-school #main .price h4 {
        margin-top: 30px;
    }

    #nursery-school #main .price h4.spno_mtop {
        margin-top: 0;
        font-size: 5vw;
    }

}
