@charset "UTF-8";

.hero_ttl {
    text-align: center;
    margin-bottom: 30px;
}

.hero_ttl p {
    position: relative;
    font-size: 25px;
    width: fit-content;
    margin: 0 auto;
}

.hero_ttl p::before {
    content: '';
    width: 100%;
    height: 14px;
    background: #F5D900;
    position: absolute;
    bottom: 0;
    left: 0;
}

.hero_ttl p b {
    position: relative;
}

.hero_text {
    text-align: center;
    margin-bottom: 50px;
}

.class_body {
    padding: 60px 55px;
    background: #F7F7F7;
    border-radius: 10px;
    border-top: solid 20px #0E63B7;
    margin-bottom: 80px;
}

.class_body.u-inner {
    max-width: 920px;
}

.class_hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.class_hd::after {
    content: '';
    width: 100%;
    height: 2px;
    background: url(/assets/img2025/special-class/icon-arrow.svg);
    background-size: contain;
    background-repeat: repeat-x;
    position: absolute;
    bottom: 0;
    left: 0;
}

.class_hd_ttl {
    font-size: 30px;
    font-weight: bold;
    color: #0E63B7;
}

.class_hd_label {
    display: flex;
    gap: 10px;
}

.class_hd_label p {
    color: #0E63B7;
    font-size: 18px;
    font-weight: bold;
    padding: 2px 10px;
    background-color: #fff;
    border: solid 2px #0E63B7;
    border-radius: 7px;
}

.class_row {
    position: relative;
}

.class_row.-border {
    padding-bottom: 70px;
    margin-bottom: 70px;
    position: relative;
}

.class_row.-border::after {
    content: '';
    width: 100%;
    height: 2px;
    background: url(/assets/img2025/special-class/icon-arrow.svg);
    background-size: contain;
    background-repeat: repeat-x;
    position: absolute;
    bottom: 0;
    left: 0;
}

.class_row_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.class_row_wrap_cnt_ttl {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 20px;
}

.class_cnt {
    max-width: 520px;
    background: #fff;
    border-radius: 0 50px 50px 50px;
}

.class_cnt.-full.-mb {
    margin-bottom: 50px;
}

.class_cnt.-absolute {
    position: absolute;
    right: 0;
    top: 80px;
}

.class_cnt_row {
    position: relative;
    padding: 55px 45px;
}

.class_cnt.-full {
    max-width: 90%;
    margin: 0 auto;
}

.class_cnt_row::before {
    content: '';
    width: 247px;
    height: 81px;
    background: url(/assets/img2025/special-class/img-label_class.png) no-repeat center;
    background-size: cover;
    position: absolute;
    top: -20px;
    left: -50px;
}

.class_cnt.-full .class_cnt_row::before {
    left: unset;
    right: -20px;
    transform: rotate(30deg);
}

.class_cnt_row::after {
    content: '';
    width: 115px;
    height: 78px;
    background: url(/assets/img2025/special-class/img-balloon_class.png) no-repeat center;
    background-size: cover;
    position: absolute;
    top: -20px;
    right: -20px;
}

.class_cnt.-full .class_cnt_row::after {
    right: unset;
    left: -50px;
    transform: rotate(-30deg);
}

.class_cnt_ttl {
    font-size: 18px;
    color: #0E63B7;
    font-weight: bold;
    margin-bottom: 10px;
}

.class_cnt_ttl span {
    font-size: 25px;
}

.class_cnt_career {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: solid 4px #6AD0FA;
}

.class_cnt_txt {
    line-height: 27px;
}

.class_body.-second {
    border-top: solid 20px #6AD0FA;
    padding-bottom: 100px;
}

.merit {
    margin-top: 50px;
}

.merit_ttl {
    font-size: 30px;
    font-weight: bold;
    color: #0E63B7;
    text-align: center;
    margin-bottom: 30px;
}

.merit_list {
    padding: 40px 60px;
    border-radius: 27px;
    border: solid 1px #0E63B7;
}

.merit_list_item {
    display: flex;
    align-items: center;
    gap: 35px;
}

.merit_list_item {
    padding: 20px 15px;
    border-bottom: solid 1px #0E63B7;
}

.merit_list_item:first-child {
    padding-top: 0;
}

.merit_list_item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.merit_txt {
    flex: 1;
}


@media screen and (max-width: 767px) {
    

    .hero_ttl p {
        font-size: 16px;
    }

    .hero_ttl p::before {
        height: 8px;
    }

    .hero_text {
        text-align: left;
    }

    .class_body.u-inner {
        max-width: 90%;
        padding: 30px 20px;
        margin-bottom: 40px;
    }

    .class_hd {
        flex-flow: column;
        gap: 10px;
        align-items: start;
    }

    .class_hd_ttl {
        font-size: 24px;
    }

    .img-class {
        margin-bottom: 30px;
    }
    
    .class_cnt {
        border-radius: 0 30px 30px 30px;
    }

    .class_cnt.-absolute {
        position: unset;
    }

    .class_cnt_row {
        padding: 30px 20px;
    }

    .class_cnt_row.pt-60 {
        padding-top: 60px;
    }

    .class_row.-border {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    .class_cnt_row::before {
        width: 167px;
        height: 51px;
        left: -30px;
    }

    .class_row_wrap {
        flex-flow: column;
        gap: 0;
        margin-bottom: 30px;
    }

    .class_row_wrap_cnt_ttl {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .class_cnt.-full {
        max-width: 100%;
    }

    .merit_list {
        padding: 30px 20px;
    }

    .merit_num {
        text-align: center;
    }

    .merit_num img {
        width: 40%;
    }

    .merit_list_item {
        flex-flow: column;
        gap: 0;
    }
    
    
}