* {
    box-sizing: border-box;
}
:root {
    --padding: 0 20px;
}
main {
    /* max-width: 1200px;
    width: 100%;
    margin: 6rem auto; */
    margin: 120px 0 70px;
}
.inner {
    max-width: 1100px;
    padding: 0 30px;
    height: 100%;
    width: 100%;
    margin: 0 auto;
}
.sub_inner {
    padding: 70px 30px;
}

/* index */
.index_main {
    position: relative;
}
.index_main img {
    display: block;
    width: 100%;
}
.index_btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}
.index_btns li {
    width: calc(100% / 4 - 20px);
}
.index_btns li a {
    display: block;
    position: relative;
}
.index_btns li a img {
    display: block;
    width: 100%;
}
.index_btns li a p {
    position: absolute;
    font-size: 22px;
    color: #fff;
    left: 25px; top: 25px;
    font-weight: 500;
}
.index_conts {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.index_conts li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.index_conts li a .left {
    max-width: 70%;
}
.index_conts li a .left h2 {
    font-size: 22px;
    color: #414141;
    font-weight: 700;
    margin-bottom: 15px;
}
.index_conts li a .left pre {
    line-height: 1.4;
    color: #959595;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 18px;
}
.index_conts .right {
    position: relative;
    max-width: 23%;
}
.index_conts .right img {
    display: block;
    width: 100%;
}
.index_conts .right h2 {
    position: absolute;
    font-family: 'GangwonEduPowerExtraBoldA';
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    font-size: 35px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #343847;
}
.index_conts .right h2 strong {
    font-size: 35px;
    font-family: 'GangwonEduPowerExtraBoldA';
    color: #0017A6;
    letter-spacing: -1px;
}
/* sub1 */
.sub_img_box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sub_img_box img {
    display: block;
    width: 40%; height: auto;
}
.sub_img_box .cont_box {
    position: absolute;
    width: 100%; height: 100%;
}
.sub_img_box .cont_box .deco_txt {
    font-size: 16px;
    position: absolute;
    left: 52%; top: 18.5%;
    transform: translateX(-50%);
    color: #2F527B;
}
.sub_img_box .cont_box h1 {
    font-family: 'yg-jalnan';
    position: absolute;
    font-size: 48px;
    font-weight: 900;
    left: 50%; top: 28%;
    transform: translateX(-50%);
    text-align: center;
    line-height: 1.1;
    color: #272933;
    letter-spacing: -1px;
}
.sub_img_box .cont_box h1.sub_b {
    top: 32%;
}
.sub_img_box .cont_box h1 strong {
    font-family: 'yg-jalnan';
    font-size: 35px;
    color: #1364D8;
    letter-spacing: -1px;
}
.sub_img_box .cont_box h1 b {
    font-size: 42px;
    font-family: 'yg-jalnan';
    color: #585A60;
    letter-spacing: -1px;
}
.sub_img_box .cont_box .sub_txt {
    position: absolute;
    font-size: 17px;
    color: #6D7275;
    text-align: center;
    left: 50%; bottom: 15%;
    transform: translateX(-50%);
    line-height: 1.3;
}
.sub_tit {
    font-size: 22px;
    font-weight: 600;
    margin: 70px 0 15px;
    line-height: 1.3;
}
.sub_cont {
    font-size: 18px;
    line-height: 1.4;
    color: #757575;
}
.sub_link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 50px;
    background: linear-gradient(to bottom, #817FFF, #500BEB);
    padding: 15px 40px;
    height: 100px;
    border-radius: 50px;
    border: 7px solid #fff;
    box-shadow: #CECECE 0px 1px 4px, #CECECE 0px 0px 0px 8px;
}
.sub_link .ico {
    position: absolute;
    right: 40px; top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 35px; height: 35px;
    background: url(../img/arrow.png) no-repeat center/contain;
}
.sub_link p {
    color: #fff;
    font-size: 25px;
    text-align: center;
}

@media screen and (max-width: 1080px) {
    .index_conts .right h2 {
        font-size: 30px;
    }
    .index_conts .right h2 strong {
        font-size: 30px;
    }
}

@media screen and (max-width: 920px) {
    main {
        margin: 70px 0;
    }
    .index_btns li {
        width: calc(100% / 4 - 10px);
    }
    .index_btns li a p {
        font-size: 19px;
        letter-spacing: -1px;
    }
    .index_conts li a .left {
        max-width: 67%;
    }
    .index_conts .right {
        max-width: 26%;
    }
    .sub_img_box img {
        width: 50%;
    }
}

@media screen and (max-width: 845px) {
    .sub_inner {
        padding: 50px 30px;
    }
    .index_conts .right h2 {
        font-size: 26px;
    }
    .index_conts .right h2 strong {
        font-size: 26px;
    }
    .sub_img_box img {
        width: 60%;
    }
    .sub_img_box .cont_box .deco_txt {
        left: 53%;
    }
}

@media screen and (max-width: 767px) {
    .index_btns li a p {
        left: 15px; top: 15px;
    }
    .sub_link p {
        max-width: 85%;
        line-height: 1.2;
    }
}

@media screen and (max-width: 675px) {
    .index_btns li a p {
        font-size: 1.8rem;
    }
    .index_conts li a .left {
        max-width: 63%;
    }
    .index_conts .right {
        max-width: 30%;
    }
    .sub_img_box img {
        width: 70%;
    }
    .sub_img_box .cont_box h1 {
        width: 90%;
    }
    .sub_link {
        height: 8rem;
    }
    .sub_link .ico {
        width: 3rem; height: 3rem;
    }
}
@media screen and (max-width: 567px) {
    main {
        margin: 4rem 0;
    }
    .index_btns {
        flex-wrap: wrap;
        gap: 1.8rem;
    }
    .index_btns li {
        width: calc(50% - 1rem);
    }
    .index_btns li a p {
        left: 2.5rem; top: 2.5rem;
    }
    .sub_img_box img {
        width: 80%;
    }
    .index_conts li a .left {
        max-width: 58%;
    }
    .index_conts .right {
        max-width: 35%;
    }
    .index_conts li a .left pre {
        -webkit-line-clamp: 4;
    }
    .sub_tit {
        font-size: 1.8rem;
    }
    .sub_cont {
        font-size: 1.7rem;
    }
    .sub_img_box .cont_box h1 {
        font-size: 3.5rem;
        line-height: 1.3;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .sub_img_box .cont_box h1 strong {
        font-size: 3.5rem;
    }
    .sub_img_box .cont_box h1 b {
        font-size: 3.5rem;
    }
    .sub_img_box .cont_box .deco_txt {
        font-size: 1.6rem;
        left: 54%;
    }
    .sub_link p {
        font-size: 1.8rem;
        letter-spacing: -1px;
    }
}
@media screen and (max-width: 495px) {
    .inner {
        padding: 0 1.5rem;
    }
    .index_conts .right h2 {
        font-size: 2.3rem;
    }
    .index_conts .right h2 strong {
        font-size: 2.3rem;
    }
    .index_conts li a .left {
        max-width: 53%;
    }
    .index_conts .right {
        max-width: 40%;
    }
    .index_conts li a .left h2 {
        line-height: 1.2;
        font-size: 1.8rem;
    }
    .sub_inner {
        padding: 4rem 2rem;
    }
    .sub_img_box img {
        width: 100%;
    }
    .sub_link p {
        font-size: 1.7rem;
    }
    .sub_link .ico {
        right: 2.5rem;
        width: 2.7rem; height: 2.7rem;
    }
}
@media screen and (max-width: 445px) {
    .index_btns {
        gap: 1.3rem;
        margin-bottom: 4rem;
    }
    .index_btns li {
        width: calc(50% - .7rem);
    }
    .index_btns li a p {
        left: 2rem; top: 2rem;
    }
    .index_conts li a .left {
        max-width: 50%;
    }
    .index_conts .right {
        max-width: 45%;
    }
    .index_conts li a .left pre {
        -webkit-line-clamp: 3;
        word-break: break-all;
    }
    .sub_img_box .cont_box h1 {
        top: 47%;
        font-size: 3rem;
    }
    .sub_img_box .cont_box h1 strong {
        font-size: 3rem;
    }
    .sub_img_box .cont_box h1 b {
        font-size: 3rem;
    }
    .sub_img_box .cont_box h1.sub_b {
        top: 45%;
    }
    .sub_img_box .cont_box .sub_txt {
        bottom: 10%;
    }
    .sub_img_box .cont_box .deco_txt {
        font-size: 1.5rem;
        letter-spacing: -1px;
        width: 100%;
        text-align: center;
    }
    .sub_tit {
        margin: 4rem 0 1.5rem;
    }
    .sub_link {
        justify-content: space-between;
        padding: 1.5rem 2.5rem;
        height: 7rem;
    }
    .sub_link p {
        max-width: 85%;
        line-height: 1.2;
    }
    .sub_link .ico {
        position: static;
        transform: translateY(0);
    }
}
@media screen and (max-width: 373px) {
    .index_conts .right h2 {
        font-size: 2rem;
    }
    .index_conts .right h2 strong {
        font-size: 2rem;
    }
    .sub_img_box .cont_box h1 {
        font-size: 3rem;
        top: 47%;
    }
    .sub_img_box .cont_box h1 strong {
        font-size: 3rem;
    }
    .sub_img_box .cont_box h1 b {
        font-size: 3rem;
    }
    .sub_img_box .cont_box .sub_txt {
        font-size: 1.6rem;
        letter-spacing: -1px;
    }
}