* {
    /
}

.sub_visual {
    position: relative;
    height: 38vh;
    background: url(../images/subvisual06.jpg)center center/cover;
}

.sub_visual::after {
    position: absolute;
    content: "";
    inset: 0 0 0 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

.sub_content {
    padding: 8rem 0;
    position: relative;
    background: url(../images/submain_bg.jpg) center center/cover;

}

.sub_content::after {
    position: absolute;
    content: "";
    inset: 0 0 0 0;
    background: rgba(255, 255, 255, 0.7);
}

.sub_content .inner {
    position: relative;
    z-index: 3;
    flex-direction: column;
}

.sub_content .title {
    margin-bottom: 0;
}

.sub_content .title strong {
    display: block;
    font-size: 2.8rem;
    line-height: 8rem;
    color: #222;
    font-weight: 700;
    border-bottom: 1px solid var(--line-color);
}

.sub_content .contop h2::after {
    position: absolute;
    content: "";
    bottom: -75%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 8rem;
    height: 0.3rem;
    background: var(--sc);
}



.sub_content .tbox1 {
    height: 56rem;
    overflow-y: auto;
    padding: 3.2rem;
    background: #fff;
    border: 2px solid var(--line-color);
    margin-bottom: 1.6rem;
}

.sub_content .tbox1 h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #444;
}



.txt_type {
    color: #666;
    line-height: 3.2rem;
}


.sub_content .mt10 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;

    margin-bottom: 6.4rem;
}

.sub_content .mt10 input#agree {
    width: 2.4rem;
    height: 2.4rem;
}

.sub_content .mt10 input#agree2 {
    width: 2.4rem;
    height: 2.4rem;
}

.sub_content .mt10 span {
    font-size: 2rem;
}




.sub_content .mt40 input#agree {
    vertical-align: middle;
    font-size: 2rem;
}

.sub_content .mt40 span {
    font-size: 2rem;
}

.sub_content .btnWrap {
    text-align: center;
    margin-top: 4.8rem;
}

.btnWrap input {

    padding: 1.6rem 4.8rem;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    background: rgba(20, 49, 113, 0.5);
    border: none;
}



@media(max-width: 768px) {

    .sub_content::after {
        position: absolute;
        content: "";
        inset: 0 0 0 0;
        background: rgba(255, 255, 255, 0.9);
    }

    .sub_content {
        padding: 4rem 1.6rem 7.2rem 1.6rem;
        position: relative;
        background:none;

    }

    .sub_content .inner {
        gap: 4rem;
    }

    .sub_content .contop h2 {
        position: relative;
        display: block;
        text-align: center;
        font-size: 2.4rem;
        color: #222;
        font-weight: 700;
    }

    .sub_content .tbox1 {
        height: 56rem;
        overflow-y: auto;
        padding: 4rem 1.6rem;
        background: #fff;
        border: 2px solid var(--line-color);
        margin-bottom: 1.6rem;
    }


    .sub_content .mt10 {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4px;

        margin-bottom: 4rem;
    }

    .sub_content .mt10 span {
        font-size: 1.6rem;
    }

    .sub_content .mt10 input#agree2 {
        width: 1.8rem;
        height: 1.8rem;
    }

    .sub_content .btnWrap {
        text-align: center;
        margin-top: 4.8rem;
    }

    .btnWrap input {

        padding: 0.8rem 2.4rem;
        font-size: 1.6rem;
        font-weight: 600;
        color: #fff;
        background: rgba(20, 49, 113, 0.5);
        border: none;
    }

    .sub_content .btnWrap {
        text-align: center;
        margin-top: 4rem;
    }
}