@CHARSET "UTF-8";
@font-face{
    font-family: 'NanumSquare';
    src: url('/font/NanumBarunGothicLight.ttf') format('truetype');
}
body{
    font-family: NanumSquare;
    font-size : 14px;
}
.container {
    font-family: NanumSquare;
    font-size: 14px;
    margin: auto;
    width:100%;
    max-width:750px;
}
.container .part {
    display: block;
}
.container #part1 {
    display: grid;
    grid-template-rows: 2.5fr 1fr 0.55fr 0.1fr 0.15fr;
    background-image: url("/imgs/newimg/main/main.jpg");
    background-size: cover;
    background-position-x: 80%;
}
.container #part2 {
    /*grid-template-rows: 80px 1fr 1.8fr 1.5fr 1.5fr;*/
}
.container #part3 {
    /*grid-template-rows: 80px 1fr 8fr 8fr;*/
}
.container #part4 {
    grid-template-rows: 80px 1fr 1fr 15fr 1.5fr;
}
.container #part5 {
    display: grid;
    grid-template-rows: 80px 0.7fr 1fr 1fr 14fr;
    background-image: url("/imgs/newimg/main/main2.jpg");
    background-size: cover;
    background-position-x: 80%;
}
.container #part6 {
    display: flex;
    flex-direction: column;
}
.container .part .text {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.9rem;
    padding-left: 10%;
    margin-top: 5vh;
}
.container .part #main2_title {
    line-height: 2rem;
    margin-top: 7vh;
}
.container .part #main2_text {
    margin-bottom: 4vh;
}
.container .part #main3_title {
    margin-top: 15vh;
    margin-bottom: 2vh;
}
.container .part #main4_title {
    margin-top: 15vh;
}
.container .part #main4_text {
    margin-top: 0.5vh;
}
.container .part .title {
    font-size: 1.5rem;
    font-weight: 900;
}
.container .part .down {
    display: flex;
    justify-content: center;
    align-items: center;
}
.container .part .down img {
    width: 5%;
}
.container .part .button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
}
.container .part #button1, .container .part #button2 {
    padding: 0;
}
.container .part #button3 {
    padding: 40px 0;
    margin-bottom: 6vh;
}
.container .part .button img {
    width: 80%;
    cursor: pointer;
}
.container #part4 .button img {
    display: flex;
    float: right;
}
.container #part5 .button img, #more_btn {
    width: 50%;
}
.container .part #more_review {
    display: inline-block;
    float: right;
    margin-right: 10%;
}
.container .part .text_center {
    color: white;
    text-align: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.9rem;
}
.container .part .channel {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    float: left;
    margin-top: 3vh;
}
.container .part .channel .item {
    display: grid;
    grid-template-rows: 1fr 3fr;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 15% 0;
}
.container .part .channel .item img {
    width: 100%;
    margin: auto;
}
.container .part .channel .item_name {
    font-size: 1.2rem;
}
.container .part .as {
    display: grid;
    grid-template-rows: 1fr 1fr 2fr;
    align-items: center;
}
.container .part .as img {
    width: 70%;
}
.container .part .as .text, .container .part .as img {
    padding-left: 5%;
}
.container .part .as #main6_text {
    margin-top: 0;
    margin-bottom: 90px;
}
.modal_back {
    display: flex;
    visibility: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    top: 0;
    z-index: 1;
}
.modal {
    display: flex;
    background: rgba(0,0,0,0);
    position: absolute;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    max-width: 750px;
    top: 100%;
    transition: all 600ms cubic-bezier(0.86, 0, 0.07, 1);
}
.modal_up {
    top: 0;
}
.modal .popup {
    display: none;
    grid-template-rows: 39fr 7fr;
    margin: 15px;
    width: 60%;
}
.modal .popup .top_container {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: relative;
}
.modal .top_img {
    /*display: grid;*/
    /*grid-template-rows: 11fr 13fr 132fr;*/
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 3% 3% 0 0;
    min-width: 100%;
    transition: 0.6s;
}
.modal .top_img2 {
    display: flex;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    min-width: 100%;
    transition: 0.6s;
}
.modal .popup .top_container .button_area {
    max-width: 20%;
    position: absolute;
    top: 5%;
    left: 75%;
    z-index: 1;
    /*display: grid;*/
    /*grid-template-columns: 528fr 127fr 55fr;*/
    /*grid-template-rows: 1fr;*/
}
.modal .popup .top_container .button_area .button {
    display: grid;
    grid-template-columns: 2fr 3fr 2fr;
    align-items: center;
    text-align: center;
}
.modal .popup .top_container .button .button_L,.modal .popup .top_container .button .button_R  {
    width: 100%;
}
.modal .popup .top_container .button .button_M {
    background-image: url("/imgs/newimg/main/팝업창상단화살표M.png");
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal .popup .bottom_img {
    display: grid;
    grid-template-columns: 44fr 27fr;
    grid-template-rows: 1fr;
}
.modal .popup .bottom_img img {
    width: 100%;
    object-fit: contain;
}
@media (max-width: 750px) {
    .modal .popup {
        width: 80% !important;
    }
    #part1 {
        grid-template-rows: 2.5fr 1fr 0.5fr 0.1fr 0.15fr;
        background-position-x: 72%;
    }
    .container .part .text {
        font-size: 0.95rem;
        line-height: 1.5rem;
    }
    .container .part .title {
        font-size: 1.3rem;
    }
    .container .part .text_center {
        font-size: 0.95rem;
        line-height: 1.5rem;
    }
    .container .part .channel .item_name{
        font-size: 1.05rem;
    }
    .container .part .channel .item img {
        width: 60%;
    }
}
@media (max-width: 500px) {
    .container .part .channel {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
