@charset "UTF-8";

/* font */
@font-face {
    font-family: 'NanumGothic';
    src: url('../font/NanumGothic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'NanumGothicBold';
    src: url('../font/NanumGothicBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* common */
* {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

img {
    max-width: 100%;
    -webkit-user-drag: none;
}

input, textarea {
    font-size: 2rem;
    font-family: 'NanumGothic', sans-serif;
}

button {
    outline: none;
}

pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-all;
    font-family: 'NanumGothic', sans-serif;
}

html {
    font-size: 10px;
    font-family: 'NanumGothic', sans-serif;
    -webkit-tap-highlight-color : transparent;
}

body {overflow-x: hidden;}

html.no-scroll,
body.no-scroll {
    position: relative;
    height: 100%;
    overflow: hidden;
}

div[class$="-inner"] {
    width: 1024px;
    margin: 0 auto;
}

.mobile-only {display: none !important;}

#wrapper_intro {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #aa1f1f;
    opacity: 1;
    z-index: 9999;
    font-weight: bold;
}
#wrapper_intro .container-intro {
    position: absolute;
    top: 30%;
    left: -15rem;

    width: 100%;
}

#wrapper_intro .letter {
    position: relative;
    display: inline-block;

    opacity: 0;
    left: 50%;
    top: 50%;

    color: white;
    font-size: 5rem;
}

/* wrapper */
#wrapper {
    position: relative;
    max-width: 1920px;
    min-width: 1080px;
    margin: 0 auto;
}
#wrapper::before, #wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 500px;
    height: 100%;
    background-color: #fff;
    z-index: 99999;
}
#wrapper::before {
    left: -500px;
}
#wrapper::after {
    right: -500px;
}

#wrapper > * {
    width: 100%;
}

/* header */
#header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}
#header .logo {
    display: inline-block;
    line-height: 80px;
}

main {
    position: relative;
    overflow: hidden;
}

/* pc_main_layers */
#pc_main_layers {
    background: -webkit-gradient(linear, left top, left bottom, from(#062349), to(#e7be99));
    background: -o-linear-gradient(#062349, #e7be99);
    background: linear-gradient(#062349, #e7be99);
    padding-bottom: 50px;
}
#pc_main_layers .image-wrap {
    height: 1100px;
    overflow-y: hidden;
}

#pc_main_layers .star-bg {
    visibility: visible;
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
}
#pc_main_layers .star {
    position: absolute;
    width: 100%;
    top: 0;
}
#pc_main_layers .star span.stars {
    display: block; 
    width: 4px; 
    height: 4px; 
    border-radius: 50%; 
    background: #fff;
}

#pc_main_layers .parallax_image {
    position: fixed;
    left: 50%;
    width: 100%;
    max-width: 2000px;
    height: inherit;
    background-position: top center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    transform: translateX(-50%);
}

#pc_main_layers .layer0 {background-image: url(../image/main_0.png);}
#pc_main_layers .layer1 {background-image: url(../image/main_1.png);}
#pc_main_layers .layer2 {background-image: url(../image/main_2.png);}
#pc_main_layers .layer3 {background-image: url(../image/main_3.png);}
#pc_main_layers .layer4 {background-image: url(../image/main_4.png);}

/* pc_main_obj */
#pc_main_obj .red-mailbox {
    position: absolute;
    background: url(../image/front_main_test.png) bottom center no-repeat;
    background-size: auto 1100px;
    height: 1300px;
    width: 100%;
    top: -1300px;
}
#pc_main_obj .red-mailbox .letter-box-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 530px;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}
#pc_main_obj .red-mailbox .letter-box-btn a {
    display: inline-block;
    width: 255px;
    height: 120px;
    background-color: transparent;
}

#pc_main_obj .cat {
    width: 350px;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    top: -310px;
    margin-left: -534px;
}

#pc_main_obj .light {
    position: absolute;
    background: url(../image/obj_light.png) bottom center no-repeat;
    height: 1300px;
    width: 100%;
    top: -1335px;
    left: -8px;
    opacity: 0;
    transition: opacity .5s;
}
#pc_main_obj .light.on {
    opacity: 1;
    transition: opacity .5s;
}

/* answer_wrap */
#answer_wrap {
    position: relative;
    padding: 113px 0 50px;
    background-color: #262626;
}
#answer_wrap .answer-wrap-inner {
    position: relative;
    z-index: 2;
}

#answer_wrap .title {
    text-align: center;
    margin: 100px 0 50px;
}
#answer_wrap .title .main-txt-img {
    display: inline-block;
    margin-bottom: 50px;
}

#answer_wrap .no-answer-item {
    display: none;
    color: #fff;
    font-size: 2.2rem;
    text-align: center;
    line-height: 200px;
    min-height: 500px;
}

#answer_wrap .answer-item {
    background-color: #fff;
    border-radius: 5px;
    padding: 0 24px;
}
#answer_wrap .answer-item + li {
    margin-top: 30px;
}

#answer_wrap .item-title-box {
    display: flex;
    justify-content: space-between;
    line-height: 69px;
    box-sizing: border-box;
    font-weight: bold;
    font-size: 2.2rem;
    cursor: pointer;
}
#answer_wrap .item-title-box .item-title {
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    width: 700px;
    overflow: hidden;    
}
#answer_wrap .item-title-box .item-title::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: url(../image/icon_answer.png);
    vertical-align: text-bottom;
    margin-right: 24px;
}
#answer_wrap .item-title-box .item-answer-date {
    color: #C3C3C3
}
#answer_wrap .item-title-box .item-answer-date::after {
    content: '';
    display: inline-block;
    width: 23px;
    height: 13px;
    background-image: url(../image/icon_arrow_bottom.png);
    vertical-align: middle;
    margin-left: 24px;
    transition: transform .5s;
    transform-origin: center;
}
#answer_wrap .answer-item.on .item-answer-date::after {
    transform: rotate(-180deg);
}

#answer_wrap .answer-item .item-hide-txt {
    display: none;
}
#answer_wrap .answer-item.open .item-hide-txt {
    display: block;
}

#answer_wrap .item-question-box {
    font-size: 1.7rem;
    padding: 10px 0 20px;
    line-height: 1.5;
    word-break: break-all;
}
#answer_wrap .item-answer-box {
    font-size: 1.9rem;
    border-top: 1px solid #ddd;
    padding: 20px 0;
    line-height: 1.5;
}
#answer_wrap .item-answer-box .answer-title {
    display: inline-block;
    margin-bottom: 8px;
    background-color: #BD2F2C;
    color: #fff;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 1.4rem;
}
#answer_wrap .item-answer-box .answer-content {
    font-weight: bold;
    word-break: break-all;
}

#answer_wrap .answer-more-box {
    margin: 50px;
    text-align: center;
}
#answer_wrap .answer-more-box .btn-more-list {
    transition: transform .5s;
}
#answer_wrap .answer-more-box .btn-more-list:hover {
    transform: translateY(10px);
}

#letters {
    position: absolute;
    bottom: -300px;
    left: 0;
    background: url(../image/obj_letter_bottom.png) bottom center no-repeat;
    height: 300px;
    width: 100%;
    opacity: 0.4;
    z-index: 1;
    transition: bottom .5s;
}
#letters.up {
    bottom: 0;
}

/* popup */
#popup {
    /* visibility: hidden;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center; */
    visibility: hidden;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
    display: flex;
    justify-content: center;
}
#popup.on {
    visibility: visible;
}
#popup .popup-area {
    /* position: relative;
    transform: translateY(70px);
    opacity: 0;
    transition: transform .5s, opacity .5s; */
    position: absolute;
    top: 13%;
    opacity: 0;
    transition: top .5s, opacity .5s;
}
#popup.on .popup-area {
    /* transform: translateY(0);
    opacity: 1; */
    top: 5%;
    opacity: 1;
}
#popup .bg-letter {
    width: 100%;
}

#popup .popup-input-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 343px 53px 0 53px;
    box-sizing: border-box;
    font-size: 1.9rem;
}

#popup .popup-input-area .pop-title.pc-only {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
}

#popup .popup-input-area .input-row-line:nth-of-type(2) {
    margin-top: 20px;
}
#popup .popup-input-area .input-row-line:nth-of-type(3) {
    display: flex;
    align-items: center;
    margin-top: 25px;
}
#popup .popup-input-area .input-row-line:nth-of-type(3) .pop-txt-file {
    margin-right: 16px;
}

#popup .popup-input-area input[type="text"] {
    font-weight: bold;
}
#popup .popup-input-area textarea {
    resize: none;
}
#popup .popup-input-area .input-block {
    display: block;
    width: 100%;
    margin-top: 7px;
    border: 0;
    background-color: #F5F5F5;
    border-radius: 5px;
    padding: 25px 30px;
    box-sizing: border-box;
    letter-spacing: -1.5px;
    outline-color: transparent;
    transition: outline-color .8s;
}
#popup .popup-input-area .input-block:focus {
    outline-color: #BD2F2C;
}

#popup .popup-input-area .file-upload-box {
    position: relative;
    width: 100%;
}
#popup .popup-input-area .file-title-view {
    display: block;
    width: 100%;
    margin-top: 7px;
    border: 0;
    background-color: #F5F5F5;
    border-radius: 5px;
    padding: 25px 30px;
    box-sizing: border-box;
    letter-spacing: -1.5px;
    font-size: 1.5rem;
    word-break: break-all;
    color: #858585;
    cursor: pointer;
}
#popup .popup-input-area .file-add {
    background-image: url(../image/icon_upload_file.png);
    background-repeat: no-repeat;
    background-size: 32px;
    background-position: 97% 50%;
}

#popup .popup-input-area .file-title-view.get-file {
    color: inherit;
    font-weight: bold;
}


#popup .popup-input-area .pop-btn-area {
    text-align: center;
    margin-top: 45px;
}

#popup .popup-input-area .pop-btn-area button + button {
    margin-left: 4px;
}

/* confirm, alert */
#confirm_popup, #alert_popup {
    visibility: hidden;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
}
#confirm_popup.on, #alert_popup.on {
    visibility: visible;
}
#confirm_popup .popup-area, #alert_popup .popup-area {
    width: 450px;
    padding: 40px 35px;
    box-sizing: border-box;
    border-radius: 8px;
    background-color: #fff;
    font-size: 2.2rem;
    text-align: center;
}
#confirm_popup .popup-area .pop-title strong,
#alert_popup .popup-area .pop-title strong {
    display: block;
    font-weight: bold;
    margin-bottom: 30px;
}
#confirm_popup .popup-area .pop-title span {
    display: block;
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 40px;
    font-weight: bold;
    color: #3c3c3c;
}

#confirm_popup .popup-area .pop-button button,
#alert_popup .popup-area .pop-button button {
    width: 47%;
    line-height: 50px;
    background-color: #5a5a5a;
    font-size: 1.9rem;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
}

#confirm_popup .popup-area .pop-button .btn-confirm-true,
#alert_popup .popup-area .pop-button .btn-alert-close {
    background-color: #A10B04;
}

/* keyframes */
.slide-out-back {
	-webkit-animation: slide-out-back 0.7s ease-in both;
	        animation: slide-out-back 0.7s ease-in both;
}

/* pc_popup_letter */
@media screen and (min-width : 501px) {
    .popup-input-area {
        z-index: 10;
    }

    #popup.on .popup-input-area {
        visibility: visible;
        opacity: 1;
    }
    #popup.on .popup-input-area.off {
        visibility: visible;
        opacity: 0;
        transition: opacity .5s;
    }
    
    .css-1kb04ys {
        perspective:1000px;
        -webkit-transition:-webkit-transform 1300ms;
        transition: transform 1300ms;
    }
    .css-1kb04ys.fold {
        -webkit-transform:translateY(-25%);
        -moz-transform:translateY(-25%);
        -ms-transform:translateY(-25%);
        transform:translateY(-25%);
    }
    .css-3kf0lw {
        -webkit-transition:filter 1300ms;
        transition:filter 1300ms;
    }
    .css-7k1h9b {
        -webkit-transition:background-color 1300ms;
        transition:background-color 1300ms;
    }
    .css-1wxrhuc {
        position:absolute;
        left:0px;
        top:0px;
        width:100%;
        height:100%;
        -webkit-clip-path:inset(0% 0px 50% 0px);
        clip-path:inset(0% 0px 50% 0px);
        -webkit-transition:-webkit-transform 1300ms;
        transition:transform 1300ms;
        z-index:3;
    }
    .css-1wxrhuc.bottom {
        -webkit-clip-path:inset(49.9% 0px -30px 0px);
        clip-path:inset(49.9% 0px -30px 0px);
        z-index:2;
    }
    .css-1wxrhuc.fold {
        -webkit-transform:rotate3d(1, 0, 0, -180deg);
        -moz-transform:rotate3d(1, 0, 0, -180deg);
        -ms-transform:rotate3d(1, 0, 0, -180deg);
        transform:rotate3d(1, 0, 0, -180deg);
    }
    .css-1wxrhuc.fold .half-wrapper {
        -webkit-filter:brightness(0.4);
        filter:brightness(0.4);
    }
    .css-1sryb3u {
        background: repeating-linear-gradient( -45deg, #fff 0px, #fff 20px, #aa1f1f 20px, #aa1f1f 40px, #fff 40px, #fff 60px, #aa1f1f 60px, #aa1f1f 80px );
        position:absolute;
        left:0;
        bottom:0px;
        width:100%;
        height:100%;
        z-index:9;
        -webkit-transition:-webkit-transform 1300ms;
        transition:transform 1300ms;
        -webkit-transform:rotate3d(1, 0, 0, 180deg);
        -moz-transform:rotate3d(1, 0, 0, 180deg);
        -ms-transform:rotate3d(1, 0, 0, 180deg);
        transform:rotate3d(1, 0, 0, 180deg);
        -webkit-backface-visibility:hidden;
        backface-visibility:hidden;
        -webkit-clip-path:inset(50% 0px 0% 0px);
        clip-path:inset(50% 0px 0% 0px);
    }
    .css-1sryb3u.fold {
        -webkit-transform:rotate3d(1, 0, 0, 0deg);
        -moz-transform:rotate3d(1, 0, 0, 0deg);
        -ms-transform:rotate3d(1, 0, 0, 0deg);
        transform:rotate3d(1, 0, 0, 0deg);
    }
    .css-12fl2dc {
        position:absolute;
        left:10px;
        top:10px;
        width:calc(100% - 20px);
        height:calc(100% - 20px);
        border-radius:4px;
        background-color:#fff;
    }
    .css-h811p7 {
        position:absolute;
        display:-webkit-box;
        display:-webkit-flex;
        display:-ms-flexbox;
        display:flex;
        -webkit-box-pack:center;
        -ms-flex-pack:center;
        -webkit-justify-content:center;
        justify-content:center;
        -webkit-align-items:center;
        -webkit-box-align:center;
        -ms-flex-align:center;
        align-items:center;
        left:0px;
        top:50%;
        width:100%;
        height:50%;
    }
    .css-h811p7::before {
        content:"";
        position:absolute;
        left:-10px;
        top:0px;
        background-color:linear-gradient(to bottom,rgba(16, 26, 54, 0.05),rgba(16, 26, 54, 0));
        height:40%;
        width:calc(100% + 20px);
    }
    .css-1y8l145 {
        position:absolute;
        left:20px;
        top:20px;
        line-height: 1.7;
        font-size: 1.2rem;
    }
    .css-8k9mzd {
        text-align:center;
        padding-top:40px;
    }
    .css-xm8hli {
        font-size: 24px;
        font-weight: bold;
        line-height: 1.5;
    }

    .post-stamp {
        width: 90px;
        position: absolute;
        top: 25px;
        right: 30px;
        transform: rotate(16deg);
    }
    .stamp {
        width: 150px;
        position: absolute;
        top: 25px;
        right: 50px;
        z-index: 1;
        
    }
    .stamp.fold {
        animation-name: stamp;
        animation-duration: 1s;
        animation-iteration-count: 1;
        animation-timing-function: ease;
    }
}

@media only screen and (max-width: 768px) {
    section.subPage .innerWrap {
        width: 100%;
    }
}

@media all and (min-width:501px) and (max-width:2000px) {
    #wrapper {
        zoom: 0.7;
    }
}

/* mobile */
@media screen and (max-width : 500px) {
    html.scroll,
    body.scroll {
        position: relative;
        height: 100%;
        overflow: hidden;
    }

    html {
        font-size: 50%;
    }

    .pc-only {display: none !important;}
    .mobile-only {display: block !important;}

    div[class$="-inner"] {
        width: 100%;
        padding: 0 9%;
    }

    /* wrapper */
    #wrapper {
        max-width: 100%;
        min-width: 100%;
        height: 100%;
        overflow: hidden;
    }
    #wrapper.no-scroll {
        height: 100vh;
        overflow: hidden;
    }

    /* m_main */
    #mobile_main {position: relative;}
    #mobile_main .letter-box-btn {
        display: grid;
        position: absolute;
        top: 38%;
        left: 50%;
        width: 64%;
        height: 22%;
        transform: translateX(-50%);
    }
    #mobile_main .letter-box-btn a {
        display: block;
        width: 100%;
        margin: 0 auto;
        /* background-color: rgba(255, 255, 0, 0.579); */
    }
    #mobile_main .letter-box-btn a + a {margin-top: 5%;}


    /* answer_wrap */
    #answer_wrap {
        padding: 20% 0 10%;
    }
    #answer_wrap .title {
        width: 80%;
        margin: 0 auto;
    }
    #answer_wrap .title .main-txt-img {
        margin-bottom: 20%;
        max-width: 100%;
    }

    #answer_wrap .answer-item {
        padding: 0 4%;
    }
    #answer_wrap .item-title-box .item-title {
        width: 55%;
        font-size: 1.5rem;
    }
    #answer_wrap .item-title-box .item-title::before {
        width: 2.8rem;
        height: 2.8rem;
        background-size: 100%;
        margin-right: 4%;
        vertical-align: middle;
    }
    #answer_wrap .item-title-box .item-answer-date {
        position: relative;
        padding-right: 10%;
        font-size: 1.5rem;
    }
    #answer_wrap .item-title-box .item-answer-date::after {
        position: absolute;
        top: 50%;
        right: 0;
        width: 2.3rem;
        height: 1.3rem;
        transform: translateY(-50%);
        background-size: 100%;
        margin-left: 4%;
        transform-origin: top;
    }
    #answer_wrap .answer-more-box .btn-more-list {
        width: 15vw;
    }

    /* popup */
    #popup, #confirm_popup {
        display: unset;
        width: 100%;
        height: 100%;
    }
    #popup .popup-area {
        background-color: #fff;
        width: 100%;
        height: 100%;
    }

    #popup.on .popup-area {
        position: relative;
        top: 0;
    }

    #confirm_popup .popup-area,
    #alert_popup .popup-area {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90%;
    }

    #popup .popup-area .pop-title {
        width: 65%;
        max-width: 100%;
        margin: 0 auto;
        padding: 15% 0;
    }

    #popup .popup-input-area {
        position: unset;
        padding: 0;
        min-height: 100vh;
        height: 100%;
    }

    #popup .popup-input-area .popup-input-box {
        padding: 5% 8%;
        /* height: calc(100% - 25%); */
        height: calc(100vh - 100px);
        overflow-y: scroll;
    }

    #popup .popup-input-area .input-row-line:nth-of-type(3) {
        padding-bottom: 10%;
    }

    #popup .popup-input-area .input-row-line img {
        max-width: 100%;
    }

    #popup .popup-input-area .pop-btn-area {
        display: flex;
        justify-content: space-between;

        /* position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 5% 10%;
        box-sizing: border-box;
        z-index: 50;
        margin-top: 0;
        background-color: #fff;

        box-shadow: 0px -15px 12px -9px rgb(0 0 0 / 10%); */

        margin-top: 20px;
    }
    #popup .popup-input-area .pop-btn-area img {
        max-width: 100%;
    }

    /* ajax loading */
    #loading {
        visibility: hidden;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 200;
    }
    #loading img {
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translateX(-50%);
    }
    #loading.on {
        visibility: visible;
    }

}

/* keyframes */
@keyframes star {
    0% {opacity: 0;}
    50% {opacity: 1;}
    100% {opacity: 0;}
}

@keyframes stamp {
    0% {transform: scale(1); opacity: 0;}
    60% {transform: scale(5); opacity: 0;}
    100% {transform: scale(1); opacity: 1;}
}

@-webkit-keyframes slide-out-back {
    0% {
        -webkit-transform: translateY(-25%) rotateX(0) scale(1);
                transform: translateY(-25%) rotateX(0) scale(1);
        -webkit-transform-origin: 50% 1400px;
                transform-origin: 50% 1400px;
        opacity: 1;
    }
    100% {
        -webkit-transform: translateY(-600px) rotateX(-30deg) scale(0);
                transform: translateY(-600px) rotateX(-30deg) scale(0);
        -webkit-transform-origin: 50% 100%;
                transform-origin: 50% 100%;
        opacity: 0;
    }
    }
    @keyframes slide-out-back {
    0% {
        -webkit-transform: translateY(-25%) rotateX(0) scale(1);
                transform: translateY(-25%) rotateX(0) scale(1);
        -webkit-transform-origin: 50% 1400px;
                transform-origin: 50% 1400px;
        opacity: 1;
    }
    100% {
        -webkit-transform: translateY(-600px) rotateX(-30deg) scale(0);
                transform: translateY(-600px) rotateX(-30deg) scale(0);
        -webkit-transform-origin: 50% 100%;
                transform-origin: 50% 100%;
        opacity: 0;
    }
}








