/*@import url(//cdn.tampage.co.kr/libs/fonts/nanumgothic/nanumgothic.css);
@import url(//cdn.tampage.co.kr/libs/fonts/Noto_Sans_KR/notosans.css);
@import url(//fonts.googleapis.com/css?family=Montserrat:900);
*/
html,
body,
form,
div,
h1,
h2,
input {
    margin: 0;
    padding: 0;
}

a,
*:visited,
*:link,
*:focus,
button {
    text-decoration: none;
    color: inherit;
    outline: none;
    border: 0;
    transition: all 0.3s ease;
    -webkit-transition: all 0.9s ease;
}

body {
    margin: 0;
    background-color: #333;
    font-size: 16px;
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic',
                'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

ul,
ol,
li {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 100%;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

input {
    vertical-align: middle;
}

img {
    vertical-align: middle;
}

label {
    display: inline-block;
}

label img {
    pointer-events: none;
}

.blind {
    position: absolute;
    top: 0;
    left: -1000px;
    width: 0;
    height: 0;
    font-size: 0;
    line-height: 0;
}

.alignCenter {
    text-align: center;
}

.alignLeft {
    text-align: left;
}

.alignRight {
    text-align: right;
}

.mt3 {
    margin-top: 3px !important;
}

.mt5 {
    margin-top: 5px !important;
}

.mt10 {
    margin-top: 10px !important;
}

.mt15 {
    margin-top: 15px !important;
}

.mt20 {
    margin-top: 20px !important;
}

.mt25 {
    margin-top: 25px !important;
}

.mt30 {
    margin-top: 30px !important;
}

.mb3 {
    margin-bottom: 3px !important;
}

.mb5 {
    margin-bottom: 5px !important;
}

.mb10 {
    margin-bottom: 10px !important;
}

.mb15 {
    margin-bottom: 15px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}

.mb25 {
    margin-bottom: 25px !important;
}

.mb30 {
    margin-bottom: 30px !important;
}

.pt3 {
    padding-top: 3px !important;
}

.pt5 {
    padding-top: 5px !important;
}

.pt10 {
    padding-top: 10px !important;
}

.pt15 {
    padding-top: 15px !important;
}

.pt20 {
    padding-top: 20px !important;
}

.pt25 {
    padding-top: 25px !important;
}

.pt30 {
    padding-top: 30px !important;
}

.pb3 {
    padding-bottom: 3px !important;
}

.pb5 {
    padding-bottom: 5px !important;
}

.pb10 {
    padding-bottom: 10px !important;
}

.pb15 {
    padding-bottom: 15px !important;
}

.pb20 {
    padding-bottom: 20px !important;
}

.pb25 {
    padding-bottom: 25px !important;
}

.pb30 {
    padding-bottom: 30px !important;
}

/* Alert */
.alert {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    text-align: center;
    overflow: hidden;
}

.alert .alert-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.alert .message {
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 15px;
    padding: 80px 20px;
    margin-top: -50px;
    word-break: keep-all;
    box-shadow: 3px 3px 7px rgba(0, 0, 0, .8);
}

.alert h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 750%;
    font-weight: 900;
    margin: 0px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -6px;
    margin-left: 12px;
}

.alert h1>span {
    text-shadow: -4px 1px 0px #fff;
}

.alert .btn-group {
    padding-top: 10px;
}

.alert .btn-group .btn {
    background-color: #fff;
    border-radius: 5px;
    padding: 10px 20px;
}

.alert .btn-group .btn_back {
    color: #fff;
    background-color: #333;
}

.alert .btn-group .btn_confirm {
    color: #fff;
    background-color: #26a6f8;
}

/* Block Message */
.block_msg {
    position: fixed;
    top: 0;
    width: 100%;
    color: #000;
    background-color: rgba(255, 255, 144, .6);
    text-align: center;
    z-index: 900;
}

/* Thanks Page - 기존 */
.thanks {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    background-color: #F5F5F5;
    text-align: center;
    border-top: 5px solid #0585C4;
    overflow: hidden;
}

.thanks .thanks-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 500px;
    transform: translate(-50%, -50%);
}

.thanks .message {
    color: #000;
    font-size: 200%;
    line-height: 1.4;
}

.thanks .btn-group {
    padding-top: 30px;
}

.thanks .btn-group .btn {
    font-size: 140%;
    background-color: #fff;
    border-radius: 5px;
    padding: 20px 100px;
}

.thanks .btn-group .btn_confirm {
    color: #fff;
    background-color: #0585C4;
}

/* Thanks Page - new */
.new-thanks {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
    overflow: hidden;
    margin: 0;
    padding: 0 5px;
    width: 100vw;
    height: calc(var(--vh, 1vh) * 100);
    box-sizing: border-box;
    text-align: center;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 10px;
    background-color: #edf2fe;
}

.new-thanks img {
    width: 100%;
}

.new-thanks .new-thanks-icon {
    width: 12.5em;
}

.new-thanks .new-thanks-text {
    display: block;
    line-height: 1.2em;
    letter-spacing: -0.03em;
}

.new-thanks .new-thanks-text.new-thanks-top {
    font-size: 4.1em;
    font-weight: 700;
    color: #6467e6;
}

.new-thanks .new-thanks-text.new-thanks-bottom {
    font-size: 2.7em;
    color: #10274f;
}

.new-thanks .new-thanks-confirm-btn {
    display: block;
    padding: 0.4em 3.2em 0.5em;
    border-radius: 100em;
    font-size: 2.6em;
    font-weight: 600;
    color: #fff;
    background-color: #6467e6;
}

@media screen and (max-width: 500px) {
    .new-thanks {
        font-size: 7.5px;
    }
}

/* 

 * Event Page 
*/

/* Comments */
.comments {
    box-sizing: border-box;
    width: 100%;
    background-color: #fff;
    border: 15px solid #000;
    padding: 5px;
}

.comments .box {
    box-sizing: border-box;
    height: 150px;
    overflow: hidden;
}

.comments .box .cnt {
    display: block;
    font-size: 100%;
    font-weight: bold;
    border-bottom: 1px solid #c0c0c0;
    padding: 5px 0 5px 5px;
}

.comments .box .list {
    width: 95%;
    margin: 0px auto;
}

.comments .box .list li {
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}

.comments .box .list li:after {
    display: block;
    content: "";
    clear: both;
}

.comments .box .list li span {
    box-sizing: border-box;
    display: inline-block;
    font-size: 106%;
    line-height: 1.2;
    text-align: center;
    vertical-align: middle;
}

.comments .box .list li span:nth-of-type(1) {
    width: 18%;
}

.comments .box .list li span:nth-of-type(2) {
    width: 14%;
}

.comments .box .list li span:nth-of-type(3) {
    width: 28%;
}

.comments .box .list li span:nth-of-type(4) {
    width: 22%;
}

.comments .box .list li span:nth-of-type(5) {
    width: 18%;
}

.comments .box .list li span b {
    display: inline-block;
    min-width: 50%;
    border: 1px solid #000;
    color: #fff;
    font-weight: normal;
    padding: 5px 10px;
    font-size: 70%;
}

.comments .box .list li span b.ing {
    background-color: #fff;
    color: #000;
}

.comments .box .list li span b.done {
    background-color: #3b3939;
}

/* Ajax Comments */
.subscribe {
    background-color: #fff;
    padding: 3% 5%;
}

.subscribe .content {
    padding: 4% 0;
    border-bottom: 1px dashed #ccc;
}

.subscribe .content:last-child {
    border: 0 none;
}

.subscribe .content div {
    padding: 1% 0;
}

.subscribe .btn_moreSubscribe {
    display: block;
    width: 100%;
    text-align: center;
    padding: 5px 0;
}

/* Checkbox */
@-moz-keyframes borderscale {
    50% {
        box-shadow: 0 0 0 2px #999;
    }
}

@-webkit-keyframes borderscale {
    50% {
        box-shadow: 0 0 0 2px #999;
    }
}

@keyframes borderscale {
    50% {
        box-shadow: 0 0 0 2px #999;
    }
}

.form input {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}

.form input[type="checkbox"],
.form input[type="radio"] {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.form input[type="checkbox"]:hover+span::before,
.form input[type="checkbox"]:focus+span::before,
.form input[type="radio"]:hover+span::before,
.form input[type="radio"]:focus+span::before {
    border-color: #999;
}

.form input[type="checkbox"]:active+span::before,
.form input[type="radio"]:active+span::before {
    transition-duration: 0;
    filter: brightness(0.2);
}

.form input[type="checkbox"]+span,
.form input[type="radio"]+span {
    position: relative;
    padding: 0 4px 0 22px;
    font-weight: normal;
    margin: 3px 0;
    letter-spacing: -0.5px;
}

.form input[type="checkbox"]+span::before,
.form input[type="checkbox"]+span::after,
.form input[type="radio"]+span::before,
.form input[type="radio"]+span::after {
    box-sizing: content-box;
    position: absolute;
    content: '';
    display: block;
    left: 0;
}

.form input[type="checkbox"]+span::before,
.form input[type="radio"]+span::before {
    top: 50%;
    width: 14px;
    height: 14px;
    border: 2px solid #d9d9d9;
    text-align: center;
    transform: translateY(-50%);
}

.form input[type="checkbox"]+span::after,
.form input[type="radio"]+span::after {
    background-color: #000;
    /*#00bad2;*/
    top: 50%;
    left: 6px;
    width: 8px;
    height: 8px;
    line-height: 1.4px;
    margin-top: -4px;
    transform: scale(0);
    transform-origin: 50%;
    transition: transform 200ms ease-out;
}

.form input[type="radio"]:checked+span::after {
    transform: scale(1);
}

.form input[type="radio"]+span::before {
    border-radius: 50%;
}

.form input[type="checkbox"]+span::after,
.form input[type="radio"]+span::after {
    background-color: transparent;
    top: 50%;
    left: 0;
    width: 20px;
    height: 10px;
    margin-top: -5px;
    border-style: solid;
    border-color: #000;
    border-width: 0 0 3px 3px;
    -moz-transform: rotate(-45deg) scale(0);
    -ms-transform: rotate(-45deg) scale(0);
    -webkit-transform: rotate(-45deg) scale(0);
    transform: rotate(-45deg) scale(0);
    -moz-transition: none;
    -o-transition: none;
    -webkit-transition: none;
    transition: none;
}

input[type="checkbox"]:checked+span::before,
.form input[type="radio"]:checked+span::before {
    -moz-animation: borderscale 200ms ease-in;
    -webkit-animation: borderscale 200ms ease-in;
    animation: borderscale 200ms ease-in;
}

.form input[type="checkbox"]:checked+span::after,
.form input[type="radio"]:checked+span::after {
    content: '';
    -moz-transform: rotate(-45deg) scale(1) translate(29%, -43%);
    -ms-transform: rotate(-45deg) scale(1) translate(29%, -43%);
    -webkit-transform: rotate(-45deg) scale(1) translate(29%, -43%);
    transform: rotate(-45deg) scale(1) translate(29%, -43%);
    -moz-transition: -moz-transform 200ms ease-out;
    -o-transition: -o-transform 200ms ease-out;
    -webkit-transition: -webkit-transform 200ms ease-out;
    transition: transform 200ms ease-out;
}

#wrap {
    position: relative;
    width: 818px;
    font-size: 100%;
    margin: 0 auto;
}

#wrap .formContents {
    position: relative;
}

.container {
    width: 100%;
}

.img-area {
    position: relative;
    display: block;
}

.img-area img {
    display: inline-block;
    width: 100%;
    margin: 0 0 0 0;
    text-align: center;
    vertical-align: top;
}

.container video {
    display: block;
    width: 100%;
}

/* 폼양식 */
.form {
    background-color: #fff;
}

.form .table_box {
    width: 70%;
    padding: 7px 0;
    margin: 0 auto;
}

.form .table_box table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    margin: 7px auto;
}

.form .table_box table th,
.form .table_box table td {
    position: relative;
    height: 43px;
    background-color: #fff;
    padding: 7px 3px;
}

.form .table_box table th {
    width: 151px;
    text-align: right;
}

.form .table_box table th img {
    height: 100%;
}

.form .table_box table td {
    text-align: left;
}

.form .table_box table tr.auth {
    display: none;
}

.form .table_box table tr.auth .auth_time {
    position: absolute;
    bottom: 10px;
    right: 23%;
    font-size: 70%;
    color: #00f;
}

.form .inp {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    font-size: 16px;
    border: 0 none;
    background-color: transparent;
    resize: none;
}

.form .inp.short {
    width: 50%;
}

.form .inp.add_btn {
    width: 80%;
}

.form .btn {
    width: 19%;
    height: 100%;
    font-size: 90%;
    font-weight: bold;
    background-color: transparent;
    border: 1px solid #a3a3a3;
    vertical-align: middle;
    margin-left: 1%;
    padding: 0;
    cursor: pointer;
}

.form .agBox {
    display: block;
    width: 90%;
    /* TODO: 임시 처리 - 추후 각 파일 style 태그 직접 수정 필요 */
    /* font-size: 100%; */
    font-size:clamp(14px, 3vw, 26px) !important;
    text-align: center;
    margin: 0 auto 7px;
}

.form .agBox a {
    font-weight: bold;
    letter-spacing: -0.5px;
}

.form .agBox.gooddoc {
    text-align: left;
    width: 70%;
}

.form .agBox.gooddoc label {
    padding-bottom: 8px;
}

/* tableBorder : 테이블 테두리 */
.form .table_box.tableBorder table {
    border-collapse: separate;
    border: 1px solid #a3a3a3;
    padding: 10px;
}

/* tableRadius : 테이블 테두리 곡면 */
.form .table_box.tableRadius table {
    border-collapse: separate;
    border-radius: 15px;
}

/* rowUnderline : 각행 밑줄 */
.form .table_box.rowUnderline table th,
.form .table_box.rowUnderline table td {
    border: 1px solid #a3a3a3;
    border-width: 0 0 1px 0;
}

/* rowBorder : 각행 테두리 */
.form .table_box.rowBorder table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.form .table_box.rowBorder table th,
.form .table_box.rowBorder table td {
    border: 1px solid #a3a3a3;
    padding: 7px 10px;
}

.form .table_box.rowBorder tr td:nth-of-type(1) {
    border-width: 1px 0 1px 0;
}

.form .table_box.rowBorder table th {
    border-width: 1px 0 1px 1px;
}

.form .table_box.rowBorder table td {
    border-width: 1px 1px 1px 0;
}

.form .table_box.rowBorder tr td:last-child {
    border-width: 1px 1px 1px 0 !important;
}

/* rowRadius : 각행 테두리 곡면 */
.form .table_box.rowRadius tr th:first-child {
    border-radius: 15px 0 0 15px;
}

.form .table_box.rowRadius tr td:last-child {
    border-radius: 0 15px 15px 0;
}

.form .table_box.rowBorder.rowRadius tr:last-child th:first-child {
    border-radius: 15px 0 0 15px;
}

.form .table_box.rowBorder.rowRadius tr:last-child td:last-child {
    border-radius: 0 15px 15px 0;
}

/* rowMerge : 테이블 간격 붙이기 */
.form .table_box.rowMerge table {
    border-spacing: 0 !important;
}

.form .table_box.rowMerge table tr:first-child th {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.form .table_box.rowMerge table tr:first-child td {
    border-bottom-right-radius: 0;
}

.form .table_box.rowMerge table tr:nth-of-type(n+2) th,
.form .table_box.rowMerge table tr:nth-of-type(n+2) td {
    border-top-width: 0 !important;
    border-radius: 0;
}

.form .table_box.rowMerge table tr:last-child th {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.form .table_box.rowMerge table tr:last-child td {
    border-top-right-radius: 0;
}

.form .table_box.rowMerge.rowRadius tr:last-child th:first-child {
    border-radius: 0 0 0 15px !important;
}

.form .table_box.rowMerge.rowRadius tr:last-child td:last-child {
    border-radius: 0 0 15px 0 !important;
}

/* inpBorder : 입력박스 테두리 */
.form .table_box.inpBorder table td .inp {
    border: 1px solid #a3a3a3;
    padding: 0 10px;
}

/* inpUnderline :입력박스 밑줄 */
.form .table_box.inpUnderline table td .inp {
    border: 1px solid #a3a3a3;
    border-width: 0 0 1px;
}

/* inpRadius : 입력박스 테두리 곡면 */
.form .table_box.inpRadius table td .inp {
    border-radius: 15px;
}

/* noHaveLabel : 입력박스 단독 */
.form .table_box.noHaveLabel table td:first-child {
    border-width: 1px !important;
    text-align: center;
}

.form .table_box.noHaveLabel table td input {
    text-align: center;
    line-height: 1.4;
}

.form .table_box.noHaveLabel table td textarea {
    text-align: center;
    line-height: 1.4;
}

.form .table_box.noHaveLabel.rowRadius tr td:first-child {
    border-top-left-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
}

.form .table_box.rowMerge.rowRadius.noHaveLabel table tr:first-child td:first-child {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 0 !important;
}

.form .table_box.rowMerge.rowRadius.noHaveLabel table tr:last-child td:first-child {
    border-bottom-left-radius: 15px !important;
}

.form .table_box.rowMerge.rowRadius.noHaveLabel table tr:last-child td:last-child {
    border-bottom-right-radius: 15px !important;
}

.form .table_box.rowMerge.rowRadius.noHaveLabel table tr:nth-of-type(n+2) td {
    border-radius: 0 !important;
}

.form .table_box.rowMerge.rowRadius.noHaveLabel .inp::placeholder {
    font-size: 120%;
}

/* 개인정보 처리방침 */
.form .agreement {
    display: none;
    box-sizing: border-box;
    width: 95%;
    border: 1px solid #a3a3a3;
    border-radius: 3px;
    padding: 5px;
    margin: 15px auto;
    background-color: #fff;
}

.form .agreement {
    display: none;
    box-sizing: border-box;
    width: 95%;
    background-color: #fff;
    border: 1px solid #a3a3a3;
    border-radius: 3px;
    padding: 5px;
    margin: 15px auto;
}

/* popup : 개인정보 팝업 */
.form .agreement.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form .agreement .button {
    float: right;
    font-size: 75%;
    border: 1px solid #000;
    border-radius: 0px;
    background-color: #efefef;
    padding: 4px 8px;
    margin: 3px;
}

.form .agreement h3 {
    font-size: 80%;
    margin: 0;
    padding: 0 0 1%;
}

.form .agreement ol li {
    line-height: 1.2;
    font-size: 75%;
}

.form .agreement ol li.desc {
    line-height: 2;
}

.form .mkt_agreement {
    display: none;
    box-sizing: border-box;
    width: 95%;
    border: 1px solid #a3a3a3;
    border-radius: 3px;
    padding: 5px;
    margin: 15px auto;
    background-color: #fff;
}

.form .mkt_agreement ol li {
    line-height: 1.2;
    font-size: 75%;
}

.form .submit {
    text-align: center;
    padding: 7px 0;
}

.form .submit input[type="image"] {}

/* 부가설명 */
.form .description {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 0;
}

.form .description p {
    font-weight: bold;
    font-size: 95%;
    margin: 0 auto;
    padding: 0.5% 0;
    letter-spacing: -0.5px;
}

.form .description span {
    font-size: 74%;
    margin: 0 auto;
    padding: 0.5% 0;
    letter-spacing: -0.5px;
}

.form .description .ad_txt {
    font-size: 75%;
    margin: 0 auto;
    padding: 0.5% 0;
    letter-spacing: -0.5px;
}

/* 굿닥 땡큐페이지 */
.gooddoc-thanks {}

.gooddoc-thanks img {
    width: 100%;
}

.gooddoc-thanks .gdt-bg {
    background: url("//cdn.tampage.co.kr/event/gooddoc/thanks/bg_01.jpg");
    background-size: 100%;
    width: 100%;
}

.gooddoc-thanks .gdt-bg table {
    width: 90%;
    margin: 0 auto;
}

.gooddoc-thanks .gdt-bg table td img {
    width: 95%;
}


@media screen and (max-width: 818px) {
    #wrap {
        width: 100%;
    }

    .form .agBox {
        letter-spacing: -1px;
    }
}

@media screen and (max-width: 640px) {
    body {
        font-size: 14px;
    }

    .form input[type="checkbox"]+span::before,
    .form input[type="radio"]+span::before {
        width: 10px;
        height: 10px;
    }

    .form input[type="checkbox"]+span,
    .form input[type="radio"]+span {
        padding-left: 17px;
    }

    .form input[type="checkbox"]+span::after,
    .form input[type="radio"]+span::after {
        width: 15px;
        height: 7px;
    }

    .form .submit input[type="image"] {
        width: 90%;
    }

    .form .table_box {
        width: 93%;
    }

    .form .table_box table th,
    .form .table_box table td {
        height: 30px;
    }

    .form .table_box table th {
        width: 105px;
    }

    .form .description p {
        font-weight: normal;
        padding: 1% 0;
    }

    .form .description span {
        font-size: 78%;
        padding: 1% 0;
    }

    .form .description .ad_txt {
        font-size: 82%;
        padding: 1% 0;
    }

    .comments .box {
        font-size: 90%;
        letter-spacing: -1px;
    }
}

@media screen and (max-width: 500px) {
    .form .agBox.gooddoc {
        width: 90%;
    }
}

@media screen and (max-width: 415px) {
    body {
        font-size: 12px;
    }

    .comments .box .list li span {
        font-size: 11px;
    }

    .comments .box .list li span b {
        padding: 5px;
    }
}

@media screen and (max-width: 375px) {
    body {
        font-size: 12px;
    }
}

@media screen and (max-width: 320px) {
    body {
        font-size: 10px;
    }
}

.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 0, 0.7);
    color: black;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#mediaContentTxt {
    font-size: 100%;
}

/* NOTICE CSS */
.notice-info {
    padding: 1.6em 2.4em;
    letter-spacing: -0.04em;
    line-height: 1.6;
    text-align: left;
    font-family: 'Pretendard', sans-serif;;
    font-size: 0.91rem;
    color: #999;
    background-color: #f1f1f1;
}
@media (width <= 768px) {
    .notice-info {
        font-size: 1.9vw;
    }
}

/* FOOTER CSS */
.footer-info {
    text-align: center;
    padding: 3em 7em;
}
.footer-info .footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3em 2.5em;
    justify-content: center;
}
.footer-info .footer-content .footer-info-item {
    font-size: 1.6em;
    font-weight: 300;
}
.footer-info.footer-has-logo {
    --logo-width: 12em;
    display: grid;
    grid-template-columns: var(--logo-width) 1fr;
    align-items: center;
    gap: 5em;
}
.footer-info.footer-has-logo .footer-content {
    justify-content: normal;
}
.footer-info.footer-info-black {
    background-color: #222;
}
.footer-info.footer-info-black .footer-info-item {
    color: #9d9d9d;
}
.footer-info.footer-info-white {
    background-color: #eee;
}
.footer-info.footer-info-white .footer-info-item {
    color: #333;
}
@media (width <= 768px) {
    .footer-info {
        font-size: 1.6vw;
    }
}


/* ============================
    [260403] agBox 커스텀
============================ */
.agBox.agBox--new {
    margin: 0; 
    padding-block: 4em; 
    width: 100%; 
    font-family: 'Pretendard', sans-serif; 
    /* TODO: 임시 처리 - 추후 각 파일 style 태그 직접 수정 필요 */
    /* font-size: 10px; */
    font-size: 10px !important;

    /* 정렬 */
    --agb-justify: center;

    /* --- Default(Off) 상태 변수 --- */
    --agb-text-color: #000;
    --agb-text-font-weight: 400;

    /* Checkbox Frame */
    --agb-frame-size: 3em;
    --agb-frame-bg: transparent;
    --agb-frame-border-width: 0.25em;
    --agb-frame-border-color: #000;
    --agb-frame-radius: 0.4em;

    /* Check Icon */
    --agb-icon-color: #fff;
    --agb-icon-visibility: none;

    /* More Button */
    --agb-more-border: 0.25em solid var(--agb-more-border-color);
    --agb-more-border-color: #000;
    --agb-more-radius: 9999px;
    --agb-more-color: #000;
    --agb-more-bg: transparent;

    /* --- Active(On) 상태 변수 --- */
    --agb-frame-bg-active: #000;
    --agb-frame-border-color-active: #000; /* 보더 제거 시 transparent */
    --agb-icon-color-active: #fff;
    --agb-icon-visibility-active: block;

    /* 플랫폼용 */
    --agb-all-border-color: #000;
}

/* [Dark Mode] */
.agBox--dark .agBox,
.agBox.agBox--dark {
    --agb-text-color: #fff;
    --agb-frame-border-color: #fff;
    --agb-more-border-color: #fff;
    --agb-more-color: #fff;
    
    --agb-frame-bg-active: #fff;
    --agb-frame-border-color-active: #fff;
    --agb-icon-color-active: #000;

    /* 플랫폼용 */
    --agb-all-border-color: #fff;
}

.agBox--new .agBox__inner { position: relative; display: flex; align-items: center; justify-content: var(--agb-justify); flex-wrap: wrap; gap: 1em; }
.agBox--new .agBox__label { display: flex; align-items: center; justify-content: var(--agb-justify)center; gap: 1em; cursor: pointer; }
.agBox--new .agBox__input { position: absolute; opacity: 0; pointer-events: none; }

/* 체크박스 본체 */
.agBox--new .agBox__custom-check { 
    position: relative;
    display: block;
    flex-shrink: 0;
    width: var(--agb-frame-size);
    height: var(--agb-frame-size); 
    background-color: var(--agb-frame-bg); 
    border: var(--agb-frame-border-width) solid var(--agb-frame-border-color); 
    border-radius: var(--agb-frame-radius); 
    transition: all 0.2s ease;
}

/* 체크 아이콘 (V자) */
.agBox--new .agBox__custom-check::before { 
    --check-size: .5em;
    content: ''; 
    display: var(--agb-icon-visibility); 
    position: absolute;
    top: 50%;
    left: 50%; 
    transform: translate(-49%, -61%) rotate(45deg); 
    width: var(--check-size);
    height: calc(var(--check-size) + 0.7em); 
    border: 0.35em solid var(--agb-icon-color); 
    border-left: 0;
    border-top: 0; 
}

/* 텍스트 및 버튼 */
.agBox--new .agBox__text { font-size: clamp(16px, 3vw, 24px); color: var(--agb-text-color); font-weight: var(--agb-text-font-weight); }
.agBox--new .btn-agreement { padding: .7em 1.8em; border: var(--agb-more-border); border-radius: var(--agb-more-radius); text-decoration: none; background: var(--agb-more-bg); }
.agBox--new .btn-agreement__text { font-size: clamp(13px, 3vw, 18px); font-weight: 600; color: var(--agb-more-color); }
.agBox--new .agBox__inner:has(.agBox__input:checked) {
    --agb-frame-bg: var(--agb-frame-bg-active);
    --agb-frame-border-color: var(--agb-frame-border-color-active);
    --agb-icon-color: var(--agb-icon-color-active);
    --agb-icon-visibility: var(--agb-icon-visibility-active);
}

/* ==== 플랫폼용 ==== */
.agBox--new.agBox--platform {
    --agb-gap: 1.4em;
    --agb-justify: flex-start;
}
.agBox--new.agBox--platform .agBox__inner:not(.agBox--all) {margin-top: var(--agb-gap);}
.agBox--new.agBox--platform .agBox__inner.agBox--all {border-bottom: 0.25em solid var(--agb-all-border-color); padding-bottom: var(--agb-gap);}
.agBox--new.agBox--platform .agBox__inner.agBox--all .agBox__text {font-weight: 700;}

/* NEW 개인정보처리방침 박스 */
.form .agreement {font-family: 'Pretendard', sans-serif; font-size: clamp(16px, 3vw, 21px);}
.agreement--new {margin-block: .5rem; display: none; padding: .5rem; font-family: 'Pretendard', sans-serif; border: 1px solid #000; background-color: #fff;}
.agreement--new .agreement--new__item {font-size: clamp(12px, 3vw, 16px); padding-block: .5rem;}

@media (width <= 768px) {
    .agBox.agBox--new { font-size: 1.4vw !important; }
}


/* ============================
    이벤트 기간, 대상
============================ */

.event__info-details {padding: var(--info-padding, 1.3em 0); width: 100%; display: flex; gap: 2em; align-items: center; justify-content: center; font-family: 'Pretendard', sans-serif; font-size: 1.6em; font-weight: 500; border-bottom: 1px solid #ddd; color: var(--info-color, #999); background: var(--info-bg, #f1f1f1);}
.event__info-details * {font-family: 'Pretendard', sans-serif;}


/* ============================
    FOOTER
============================ */

.event-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--event-footer-gap, 2em);
    position: relative;
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(4px, 1.2vw, 10px);
    padding: 2.8em 0;
    background: var(--event-footer-bg, #222);
}
.event-footer__logo-box {
    width: var(--event-logo-width, 14.5em);
}
.event-footer__logo-img {
    display: block;
    width: 100%;
    object-fit: contain;
}
.event-footer__info-text {
    margin: 0;
    padding: 0;
    text-align: var(--event-footer-text-align, left);
    line-height: 1.5;
    letter-spacing: -.04em;
    font-family: inherit;
    font-size: var(--event-footer-font-size, 1.45em);
    color: var(--event-footer-color, #999);
}

/* ==== 로고X ==== */
.event-footer--no-logo {--event-footer-text-align: center; --event-footer-font-size: 1.7em;}

/* ==== 다이트한의원 ==== */
.event-footer--daeat {--event-logo-width: 11.5em;}

/* ==== 리팅성형외과 ==== */
.event-footer--liting {--event-logo-width: 10em; --event-footer-color: #444; --event-footer-bg: #cfcfcf;}

/* ==== 모모성형외과 ==== */
.event-footer--momo {--event-footer-text-align: center; --event-footer-font-size: 1.7em;}


/* ============================
    HEADER
============================ */

/* ==== 다이트한의원 ==== */
.event-header-daeat {
    position: relative;
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(4px, 1.2vw, 10px);
    height: 8em;
    background-color: #fff;
}
.event-header-daeat * {
    font-family: inherit;
}
.event-header-daeat__logo-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: inherit;
    width: 24em;
}
.event-header-daeat__logo-img {
    display: block;
    width: 100%;
    object-fit: contain;
}
.event-header-daeat__badge-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    margin-right: 2em;
}
.event-header-daeat__badge {
    padding: .4em .8em;
    line-height: 1;
    letter-spacing: -.04em;
    text-align: center;
    font-size: var(--header-badge-font-size, 2.6em);
    font-weight: 700;
    width: fit-content;
    border-radius: 9999px;
    color: var(--header-badge-color, #fff);
    background: var(--header-badge-bgc, #5b17b8);
}

/* ==== 리팅성형외과 ==== */
.event-header-liting {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 3em;
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(4px, 1.2vw, 10px);
    height: 10em;
    background-color: #fff;
}
.event-header-liting * {
    font-family: inherit;
}
.event-header-liting__left {
    display: flex;
    align-items: center;
    gap: 1.3em;
}
.event-header-liting__logo-box {
    width: 8.3em;
}
.event-header-liting__logo-img {
    display: block;
    width: 100%;
    object-fit: contain;
}
.event-header-liting__name {
    letter-spacing: -.04em;
    font-size: 2.4em;
    font-weight: 500;
}
.event-header-liting__right {
    display: flex;
    align-items: center;
    gap: 1em;
}
.event-header-liting__pin-box {
    width: 3em;
}
.event-header-liting__pin-img {
    display: block;
    width: 100%;
    object-fit: contain;
}
.event-header-liting__location {
    line-height: 1;
    letter-spacing: -.04em;
    text-align: center;
    font-size: 2.6em;
    font-weight: 500;
    color: #000;
}

/* ==== 모모성형외과 ==== */
.event-header-momo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 3em;
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(4px, 1.2vw, 10px);
    height: 10em;
    background-color: #fff;
}
.event-header-momo * {
    font-family: inherit;
}
.event-header-momo.event-header-momo--border {
    border-top: 1.1em solid #000;
    border-bottom: .25em solid #ddd
}
.event-header-momo__left {
    display: flex;
    align-items: center;
    gap: 1.3em;
}
.event-header-momo__logo-box {
    width: var(--event-header-logo-width, 23.8em);
}
.event-header-momo__logo-img {
    display: block;
    width: 100%;
    object-fit: contain;
}
.event-header-momo__right {
    display: flex;
    align-items: center;
    gap: 1em;
}
.event-header-momo__pin-box {
    width: 2.2em;
}
.event-header-momo__pin-img {
    display: block;
    width: 100%;
    object-fit: contain;
}
.event-header-momo__location {
    line-height: 1;
    letter-spacing: -.04em;
    text-align: center;
    font-size: 2.4em;
    font-weight: 700;
    color: #000;
}

/* ==== 셀팅의원 ==== */
.event-header-cellting {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 3em;
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(4px, 1.2vw, 10px);
    height: 10em;
    background-color: #fff;
}
.event-header-cellting * {
    font-family: inherit;
}
.event-header-cellting__left {
    display: flex;
    align-items: center;
    gap: 2em;
}
.event-header-cellting__logo-box {
    width: 15.2em;
}
.event-header-cellting__logo-img {
    display: block;
    width: 100%;
    object-fit: contain;
}
.event-header-cellting__badge {
    padding: .4em .8em;
    letter-spacing: -.04em;
    font-size: 2em;
    font-weight: 500;
    border: 0.1em solid #64183c;
    border-radius: 9999px;
    color: #64183c;
}
.event-header-cellting__right {
    display: flex;
    align-items: center;
    gap: 1em;
}
.event-header-cellting__pin-box {
    width: 3.1em;
}
.event-header-cellting__pin-img {
    display: block;
    width: 100%;
    object-fit: contain;
}
.event-header-cellting__location {
    line-height: 1;
    letter-spacing: -.04em;
    text-align: center;
    font-size: 2.8em;
    font-weight: 600;
    color: #000;
}