@import url('//fonts.googleapis.com/earlyaccess/nanumgothic.css');
/*body { overflow-y: scroll;}*/
/*html { font-size: 62.5%;}*/
/*body, div, dl, dt, dd, ul, ol, li, i, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, legend, button, select, p, blockquote, a {*/
/*    font-family:  'pretendard','Noto Sans KR','맑은 고딕','Malgun Gothic',sans-serif !important; padding: 0; margin: 0; word-break: keep-all; -webkit-text-size-adjust: none;!* 모바일에서 폰트크기 변형안되도록 함 *!}*/
ol, ul, li { list-style: none; margin: 0; padding: 0;}
/*h1, h2, h3, h4, h5, h6 { font-weight: normal;}*/
form, fieldset, img { border: 0; margin: 0; padding: 0;}
address, caption, small, em { font-weight: normal; font-style: normal;}
i { font-style: normal;}
/* a link */
a { text-decoration: none !important; outline: none; -webkit-transition: all .1s ease-in-out; -ms-transition: all .1s ease-in-out; -moz-transition: all .1s ease-in-out; -o-transition: all .1s ease-in-out;}
a:link, a:visited { text-decoration: none !important;}
a:hover, a:active { text-decoration: none !important;}
/* table */
table { border-spacing: 0; padding: 0; margin: 0; border-collapse: collapse; border: 0; empty-cells: show;}
caption { display: none;}
tr, th, td { margin: 0; padding: 0;}
/* image 공백 0으로 조절 */
img { border: 0; margin: 0; padding: 0; vertical-align: middle;}

/*.container {width: 100%; max-width: 1400px;margin: 0 auto;padding: 10px; box-sizing: border-box;}*/
.txt-green {color:rgba(40, 167, 69, 1) !important;}

.btn {display: flex;justify-content: center;}
.btn a {background: #000;padding: 15px;max-width:550px;margin: 30px 0; width: 100%;border-radius: 20px;color: #fff;text-align: center;font-size: 4rem;font-weight: 800; height: 100px;display: flex;justify-content: center;align-items: center;}


section h3 {margin:0 auto;text-align: center;font-size:2.5rem;font-weight:800;line-height:60px;letter-spacing:-.0005em;}
section h3 span.bgB {background:rgba(61,187,179,.5);display: inline-block;}
section .mmsimg {display: flex;flex-direction: column;align-items: center;}
section .mmsimg img {width:100%;max-width: 300px;margin: 0 0 20px 0;}
section .reveiw img {width: 100%;max-width: 800px;margin: 0 auto;display: block;}

#db {background:#000000;width:100%;border-radius:30px;}

footer { width: 100%; padding: 50px 5%; margin-bottom: 80px; text-align: center; box-sizing: border-box;}
footer .foo-call { display: table; margin: 0 auto;}
footer .foo-call li { float: left; text-align: left;}
footer .foo-call li img { height: 80px;}
footer address { font-size: 1.3rem; color: #444; line-height: 1.7em;}
footer address span.pr { margin-right: 20px;}
footer .copyright { padding-top: 10px;}
footer .copyright small { font-size: 0.9rem; color: #444;}


@media all and (max-width:990px) {
    .br-pc { display: inline-block;}
    .br-m {display: block;}
    footer address { font-size: 1.3rem; color: #444; line-height: 1.7em;}
    /*section .mmsimg img {max-width: 500px;}*/
}

@media all and (max-width:640px) {
    section h3 {
        margin: 0 auto;
        text-align: center;
        font-size: 1.4rem;
        font-weight: 800;
        line-height: 2rem;
        letter-spacing: -0.01rem;
    }
    .btn a {
        width: 90%;
        font-size: 2rem;
        height: auto;
    }
    footer address {
        font-size: 0.9rem;
        color: #444;
        line-height: 1.2em;
    }
}
*{
    margin:0px;
    padding:0px;
    box-sizing: border-box;
    font-family: Nanum Gothic;
    text-decoration: none;
}
input {
    webkit-ime-mode:active;moz-ime-mode:active;ms-ime-mode:active;ime-mode:active;
}
.container {
    width: 100%;
    max-width: 900px;
    margin:auto;
    flex-direction: column;
}
.container .contents {
    width: 100%;
}
.container .contents > img, .img {
    width: 100%;
    display: block;
}

.form form {
    padding: 1.5rem 2rem;
    padding-top:0px;
}
.form {
    border-radius: 0px;
    background: #fcc723;
    color: #fff;
    padding: 0rem;
    padding-bottom: 2rem;
}
.form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}
.form h3 > span{
    font-weight: 200;
}

.form-group {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
}
.form-group input[type=text],.form-group input[type=tel]{
    border-radius: 8px;
    border: none;
    line-height: 2rem;
    padding: 0.5rem;
}


.form-group+.form-group {
    padding: 0;
}
.form-group > label {
    /*width: 1%;*/
    align-self: left;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.5rem 0;
}
.form-group > *:last-child {
    width: 100%;
}
.phone {
    display: flex;
    gap: 0.5rem;
    flex-direction: row;
    justify-content: space-between;
}
.phone input {
    width: 32%;
}
.phone span {
    align-self: center;
    font-weight: 600;
}
.agree-group {
    text-align: center;
    font-size: 0.9rem;
    padding-top: 1rem;
}

.agree-group a {
    text-decoration: none;
    color:#fff;
}
.agree-doc {
    display: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0px;
    margin: auto;
    margin-top: 15px;
    border: 1px solid rgb(145 145 145 / 60%);
    padding: 10px;
    text-align: left;
    font-size: 0.8rem;
    max-height: 200px;
    color: #000;
    overflow-y: auto;
    position: relative;
}

.agree-doc .close-doc{
    position: absolute;
    top: 10px;
    right: 10px;
}
.agree-doc.active {
    display: block;
}
.desc-group {
    padding: 1rem;
    font-size:0.8rem;
    text-align: center;
}
.desc-group .black {
    color: #000;
}
.btn-group {
    padding: 1rem 0;
}
.btn-group button {
    display: block;
    border-radius: 8px;
    border: none;
    background: #95d1d6;
    color: #fff;
    width: 100%;
    font-size: 1.7rem;
    font-weight: 700;
    padding: 1rem;
}

.copyright {
    display: flex;
    flex-direction: row;
    clear: both;
    width: 100%;
    justify-content: center;
}
/*.copyright > *{*/
/*    width: 50%;*/
/*    text-align: right;*/
/*    font-size: 0.8rem;*/
/*}*/
/*.copyright > *:last-child {*/
/*    color: #3eab02;*/
/*    font-weight: 700;*/
/*    text-align: left;*/
/*    padding-left: 1rem;*/
/*}*/

input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 1px solid white;
    border-radius: 3px;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}


input[type="checkbox"]:checked::before {
    content: '\2713';
    color: #ffffff;
    font-size: 0.7rem;
    display: block;
    text-align: center;
    position: absolute;
    left: 0.2rem;
    top: -0.1rem;
}

.img {
    display: block;
    width: 100%;
}

.privacy-company {
    display:none;
    position: fixed;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
}
.privacy-company.active {
    display:flex;
}
.privacy-company-body {
    align-self: center;
    display: flex;
    width: 80%;
    background: #fff;
    padding: 20px;
    margin: auto;
    border-radius: 15px;
    max-width: 900px;
    min-width: 340px;
    position: relative;
}
.privacy-company-doc {
    overflow-y: auto;
    max-height: 100vw;
    font-size: 0.8rem;
}
.privacy-company-close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #939393;
}

@font-face {
    font-family: 'Aggravo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroB.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}
.text-red {
    color:#ff5556;
}
.modal {
    display:none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: rgba(0, 0, 0, 0.6);
}
.modal.active {
    display:block;
}
.modal-contents {
    background: #fff;
    width: 90%;
    position: absolute;
    max-width: 460px;
    border-radius: 8px;
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.5);
    transform: translate3d(-50%, -50%, 0);
    left: 50%;
    top: 50%;
}

.modal-header {
    position: absolute;
    right: 5px;
    top: 10px;
}

.modal-header img {
    width: 60%;
}

.modal-body {
    padding: 20px;
}

.modal-body p {
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 2rem;
}

section h1 {
    color: #00f;
    margin: 0 auto;
    text-align: center;
    font-size: 3rem;
    line-height: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
}
section h4 {
    margin: 0 auto;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 3.1rem;
    letter-spacing: -0.01rem;
}

section h2 {
    margin: 0 auto;
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    line-height: 3rem;
    letter-spacing: -0.01rem;
}

.rainbow {
    background-image: repeating-linear-gradient(45deg, violet, indigo, blue, green, yellow, orange, red, violet);
    text-align: center;
    background-size: 800% 800%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow 8s ease infinite;
}

.rainbow-text {
    font-family: 'Aggravo';
    background-image: repeating-linear-gradient(45deg, violet, indigo, blue, green, yellow, orange, red, violet);
    text-align: center;
    background-size: 800% 800%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow 8s ease infinite;
    font-size: 2.6rem;
}

@keyframes rainbow {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 25%
    }

    100% {
        background-position: 0% 50%
    }
}



.input-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.custom-input {
    width: 20%;
    height: 50px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; /* 패딩이 너비에 포함되도록 설정 */
    font-size: 16px;
    font-weight: bold; /* 입력 글씨 잘 보이게 */
}

.custom-input2 {
    width: 30%;
}
.unit-text {
    /*position: absolute;*/
    right: 15px; /* 오른쪽에서 15px 떨어짐 */
    top: 50%;
    transform: translateY(-50%);

    color: #545454;
    font-weight: bold;
    pointer-events: none; /* 클릭 통과 */
    background: transparent; /* 배경 투명 */
}

@media (max-width: 640px) {
    .rainbow-text {
        font-size: 1.9rem;
    }
    section h4 {
        margin: 0 auto;
        text-align: center;
        font-size: 1.35rem;
        font-weight: 800;
        line-height: 2.2rem;
        letter-spacing: 0rem;
    }

    section h2 {
        margin: 0 auto;
        text-align: center;
        font-size: 2.2rem;
        font-weight: 800;
        line-height: 2.2rem;
        letter-spacing: -0.01rem;
    }
    section h3 {
        margin: 0 auto;
        text-align: center;
        font-size: 1.35rem;
        font-weight: 800;
        line-height: 2rem;
        letter-spacing: -0.01rem;
    }


    .custom-input {
        width: 50%;
        height: 50px;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        box-sizing: border-box; /* 패딩이 너비에 포함되도록 설정 */
        font-size: 16px;
        font-weight: bold; /* 입력 글씨 잘 보이게 */
    }
    .custom-input2 {
        width: 80%;
    }
}
span.product {
    color: #195eff;
}
span.gift {
    color: #ff2626;
}


.form-group * {
    font-family: 'Aggravo';
}
.form-group > h3.label {
    color: #000;
    text-align: left;
    display: block;
    width: 100%;
    padding: 10px 0;
    margin-top: 1.5rem;
}
.form-group > h3.label > code {
    color: #ff5556;
    font-family: 'nanumgothic';
    font-weight: bold;
    font-size: 1rem;
}

/* 전체 배경 (이미지의 노란색 배경 예시) */
.radio-container * {

    font-family: 'nanumgothic';
}

/* 각 섹션을 감싸는 노란색 배경 박스 (공통 디자인) */
.radio-container {
    border-radius: 8px; /* 살짝 둥글게 */
    margin-bottom: 20px;
}

/* -----------------------------------------------------------
   [스타일 1 & 2] 박스형 라디오 버튼 (공통 로직)
   - 체크 시: 배경이 빨간색(#ff4d4d)이 되고, V표시가 나타남
----------------------------------------------------------- */

/* 라디오/체크박스 input 숨기기 (모든 스타일 공통) */
input[type="radio"], input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* 라벨 스타일 */
.style-box-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #4a3b00;
    user-select: none;
}

/* 네모 박스 (체크마크 배경) */
.style-box-radio .checkmark {
    position: relative;
    display: inline-block;
    height: 30px;
    width: 30px;
    background-color: #f0f0f0; /* 기본 회색/흰색 */
    border-radius: 5px;
    margin-right: 12px;
    transition: all 0.2s;
}

/* 선택(Checked) 되었을 때: 박스 배경 빨간색 */
.style-box-radio input:checked ~ .checkmark {
    background-color: #ff4d4d;
}

/* 체크 표시 (V) 만들기 - CSS로 그리기 */
.style-box-radio .checkmark:after {
    content: "";
    position: absolute;
    display: none; /* 기본 숨김 */
    left: 10px;
    top: 5px;
    width: 8px;
    height: 14px;
    border: solid white; /* 흰색 V */
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* 선택 시 V 표시 보이기 */
.style-box-radio input:checked ~ .checkmark:after {
    display: block;
}

/* [스타일 1 전용] 세로 배치 컨테이너 */
.vertical-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* [스타일 2 전용] 가로 배치 컨테이너 */
.horizontal-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px; /* 항목 사이 간격 */
}


/* -----------------------------------------------------------
   [스타일 3] 개인정보 동의 (체크박스 + 버튼)
   - 체크 시: 배경은 흰색 유지, V표시만 빨간색
----------------------------------------------------------- */

.agreement-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 양 끝 정렬 */
    gap: 10px;
    width: 90%;
    margin: auto;
}

.style-agree-check {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #222;
    user-select: none;
}

/* 동의용 네모 박스 (항상 흰색 배경) */
.style-agree-check .checkmark-white {
    position: relative;
    display: inline-block;
    height: 30px;
    width: 30px;
    background-color: #fff;
    border-radius: 5px;
    margin-right: 10px;
}

/* 동의용 V 표시 (빨간색) */
.style-agree-check .checkmark-white:after {
    content: "";
    position: absolute;
    display: none;
    left: 10px;
    top: 5px;
    width: 7px;
    height: 13px;
    border: solid #ff4d4d; /* 빨간색 V */
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
}

/* 선택 시 V 표시 보이기 */
.style-agree-check input:checked ~ .checkmark-white:after {
    display: block;
}

/* 자세히보기 버튼 */
.btn-detail {
    background-color: #4a3b00;
    color: #fff;
    text-decoration: none;
    padding: 3px 5px;
    /*font-size: 14px;*/
    border-radius: 4px;
    white-space: nowrap;
}


/* -----------------------------------------------------------
   [스타일 4] 버튼형 라디오 (텍스트 박스 자체가 버튼)
   - 선택 시: 버튼 배경이 빨간색, 글자가 흰색
----------------------------------------------------------- */

.button-layout {
    display: flex;
    gap: 5px;
    width: 100%;
}
.button-layout span {
    letter-spacing: -0.1rem;
}

.style-btn-radio {
    flex: 1; /* 너비 균등 분배 */
    cursor: pointer;
}

/* 버튼 모양 (span) */
.btn-shape {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    background-color: #fff;
    border-radius: 8px;
    color: #000;
    /*font-size: 18px;*/
    font-weight: 500;
    transition: all 0.2s;
}

/* 마우스 올렸을 때 */
.style-btn-radio:hover .btn-shape {
    background-color: #fafafa;
}

/* 선택(Checked) 되었을 때 스타일 반전 */
.style-btn-radio input:checked + .btn-shape {
    background-color: #ff4d4d; /* 빨간 배경 */
    color: #fff;               /* 흰색 글자 */
    font-weight: bold;
}

.agree-group .agreement-wrapper * {
    font-size: 0.8rem;
}


/* --- [팝업/모달 스타일] --- */
.modal-overlay {
    display: none; /* 기본 숨김 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 반투명 배경 */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex; /* 활성화 시 보임 */
}

.modal-box {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: popUp 0.3s ease-out;
}

@keyframes popUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-message {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
    word-break: keep-all;
}

/* 강조 텍스트 */
.modal-highlight {
    color: #ff4d4d;
    font-weight: bold;
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

.modal-btn {
    background-color: #ffcc00;
    color: #4a3b00;
    border: none;
    padding: 10px 30px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

.modal-btn:hover {
    background-color: #ffdb4d;
}

.time-selector-container {
    display: flex;
    gap: 10px;          /* 요소 사이 간격 */
    align-items: center;
    padding-right: 25px; /* "시" 글자가 들어갈 공간 확보 */
    position: relative;
}

/* 2. 오전/오후 선택 박스 */
.time-select {
    width: 90px;        /* 적당한 너비 */
    height: 50px;       /* 기존 인풋 높이(50px)와 통일 */
    border: 1px solid #ddd;
    border-radius: 8px; /* 기존 인풋 둥근 모서리(8px)와 통일 */
    padding: 0 10px;
    font-size: 16px;
    background-color: #fff;
    color: #333;
    flex-shrink: 0;     /* 줄어들지 않음 */
    cursor: pointer;
    -webkit-appearance: none; /* 브라우저 기본 스타일 제거 (선택사항) */
    appearance: none;
    /* 화살표 아이콘 커스텀 (필요시 삭제 가능) */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
}

/* 3. 시간 입력 래퍼 (충돌 방지를 위해 이름 변경: input-wrapper -> time-input-wrapper) */
.time-input-wrapper {
    position: relative;
    max-width: 130px;   /* 요청하신 너비 제한 */
    width: 100%;
    margin-right: 20px; /* 오른쪽 "시" 글자 공간 확보 */
}

/* 4. 시간 입력창 */
.time-input {
    width: 100%;
    height: 50px;       /* 높이 통일 */
    border: 1px solid #ddd;
    border-radius: 8px; /* 모서리 통일 */
    padding: 0 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: center; /* 숫자 가운데 정렬 */
    box-sizing: border-box;
}

.time-input:focus, .time-select:focus {
    border-color: #333;
    outline: none;
}

/* 5. 단위 텍스트 ("시") - 입력창 바깥 배치 */
.time-unit-text {
    position: absolute;
    right: -25px;       /* 입력창 오른쪽 바깥으로 이동 */
    top: 50%;
    transform: translateY(-50%); /* 수직 중앙 정렬 */
    color: #545454;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
}