@charset "utf-8";

/* applySection */
#applySection .leadTxt {
    margin-bottom: 40px;
}

#applySection .leadTxt strong {
    display: block;
    margin-bottom: 10px;
}

#applySection .btn {
    max-width: 420px;
}

/* flowSection */
#flowSection {
    background-image: url(/_assets/img/education/program/flow_bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#flowSection > div > img {
    position: absolute;
    top: 0;
    right: 0;
}

#flowSection dl dt {
    margin-bottom: 50px;
}

#flowSection dl dd {
    position: relative;
}

#flowSection dl dd > p {
    text-align: center;
    font-weight: bold;
    font-size: 2.0rem;
    color: #009481;
    margin-bottom: 40px;
}

#flowSection dl dd > p span {
    border-bottom: 3px solid #f7ff27;
}

#flowSection dl dd ul {
    text-align: center;
}

#flowSection dl dd ul li {
    width: calc((100% - 70px) / 3);
    margin-right: 35px;
    display: inline-block;
    vertical-align: top;
}

#flowSection dl dd ul li img {
    width: 100%;
}

#flowSection dl dd ul li p {
    text-align: center;
    font-size: 1.6rem;
    margin-top: 5px;
}

#flowSection dl dd > img {
    position: absolute;
    top: -40px;
    left: 0;
}

#sample {
    position: relative;
    top: -40px;
}

/* resultsSection */
#resultsSection {
    background-color: #65c7f1;
}

#resultsSection .subTitle p,
#resultsSection .subTitle small {
    color: #fff;
}

#resultsSection ul li {
    float: left;
    width: calc((100% - 70px) / 3);
    margin-right: 35px;
}

#resultsSection ul li:last-of-type {
    margin-right: 0;
}

#resultsSection > img {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    margin: auto;
}

/* faqSection */
#faqSection .inquiryContainer {
    margin-top: 60px;
}

.contactLink{
    margin-top: 40px;
}

/* PC */
@media screen and (min-width: 768px) {
    /* flowSection */
    #flowSection dl dd ul li:nth-of-type(3),
    #flowSection dl dd ul li:last-of-type {
        margin-right: 0;
    }
    
    #flowSection dl dd ul li:nth-of-type(n+4) {
        margin-top: 30px;
    }
}

/* SP */
@media screen and (max-width: 767px){
    #applySection .leadTxt {
        margin-bottom: 30px;
    }
    
    #applySection .leadTxt strong {
        text-align: center;
    }
    
    #applySection .btn {
        max-width: 300px;
    }

    /* flowSection */
    #flowSection > div > img {
        right: 10px;
        width: 60px;
    }

    #flowSection dl dt {
        margin-bottom: 30px;
    }

    #flowSection dl dd > p {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    #flowSection dl dd ul li {
        width: calc((100% - 20px) / 2);
        margin-right: 20px;
    }

    #flowSection dl dd ul li:nth-of-type(even),
    #flowSection dl dd ul li:last-of-type {
            margin-right: 0;
    }

    #flowSection dl dd ul li:nth-of-type(n+3) {
        margin-top: 20px;
    }

    #flowSection dl dd ul li > img {
        width: 100%;
    }

    #flowSection dl dd ul li p {
        font-size: 1.2rem;
    }
    
    #flowSection dl dd > img {
        width: 60px;
        top: -10px;
    }

    #sample {
        top: -20px;
    }

    /* resultsSection */
    #resultsSection ul li {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    #resultsSection ul li:last-of-type {
        float: none;
        margin-bottom: 0;
    }

    #resultsSection ul li > img {
        width: 100%;
    }

    #resultsSection > img {
        bottom: -10px;
        width: 60px;
    }

    /* faqSection */
    #faqSection .inquiryContainer {
        margin-top: 40px;
    }
}