@CHARSET "UTF-8";
@font-face{
    font-family: 'NanumSquare';
    src: url('/font/NanumBarunGothicBold.ttf') format('truetype');
}
body {
    font-family: NanumSquare;
    font-size: 10px;
    margin: 0;
}
#container {
    display: flex;
    width: 100%;
    margin: auto;
    max-width: 750px;
    flex-direction: column;
    position: relative;
    z-index: 2;
}
#container form img{
    display: block;
    width: 100%;
}
.button {
    display: grid;
    grid-template-columns: 1fr 11fr 1fr;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: #c5bcb2;
}
.sample_img {
    object-fit: contain;
}
#check_top {
    grid-template-columns: 1.03fr 6.4fr 7.4fr;
    background-image: url("/imgs/newimg/sample/샘플상단2.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.title, .content {
    display: grid;
    background-image: url("/imgs/newimg/sample/샘플중단1.png");
    background-size: contain;
    background-position: center;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.title {
    grid-template-columns: 4fr 1fr 8fr 1fr 4fr;
    padding-bottom: min(10vw,75px);
    font-size: min(5vw,3em);
}
.content {
    grid-template-columns: 1fr 3fr 1fr;
}
.content .curtain_type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 15px;
}
#ammak_t, #ammak_c, #agree_chk, #submit_btn {
    display: none;
}
.input_box {
    display: grid;
    width: 100%;
    justify-content: center;
    align-items: center;
    font-family: 'NanumSquare';
}
.input_box input, .input_box textarea, .input_box select {
    width: 80%;
    margin: auto;
    border: none;
    background-color: white;
    font-family: 'NanumSquare';
    font-size: 1.5rem;
}
.phone_box select, .phone_box input {
    width: 80%;
    height: 100%;
    text-align: center;
}
.input_box textarea {
    margin: auto;
    height: 65%;
}
.name_box {
    grid-template-columns: 17fr 41fr 17fr;
}
.phone_box {
    grid-template-columns: 19fr 13fr 2fr 13fr 2fr 13fr 13fr;
    text-align: center;
}
.address_box {
    grid-template-columns: 19fr 54fr 14fr;
}
.agree {
    display: grid;
    grid-template-columns: 1.5fr 1fr 7fr 3fr 7fr;
    justify-content: center;
    align-items: center;
    background-color: #c5bcb2;
}
.modal_back {
    display: flex;
    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;
    width: 60%;
    height: auto;
    grid-template-rows: 1fr 1fr 9fr 1.5fr 2.5fr;
    background-image: url("/imgs/newimg/sample/신청완료.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.modal .popup div {
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal .popup .warning {
    display: grid;
    grid-template-rows: 6.5fr 1fr 5fr;
    grid-template-columns: 1fr;
}
.modal .popup .warning #warning_txt {
    display: none;
    width: 100%;
    height: 100%;
    font-size: min(2.7vw, 20.25px);
    background: #ffffff;
}
.modal .popup div img{
    width: 70%;
}
.modal .popup img {
    object-fit: contain;
}
.modal .popup1 {
    display: none;
    width: 80%;
    height: auto;
    justify-content: center;
    align-items: center;
}
.modal .popup1 img {
    display: none;
    width: 100%;
}
@media (max-width: 750px) {
    .input_box input, .input_box textarea, .input_box select {
        font-size: 0.8rem;
    }
}
