@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

:root {
    --mainColor : rgb(21, 202, 190);
    --borderColor: #ddd;
    --grayColor: #f6f6f6;

    --popupBlue: #11103a;
    --popupPurple: #652c90;
}

* {margin: 0; padding: 0; box-sizing: border-box; font-family: 'Pretendard-Regular', sans-serif; word-break: keep-all; line-height: 130%;}

a, ul {text-decoration: none; list-style: none;}

header {max-width: 600px; width: 100%; margin: 0 auto;}

header img {width: 100%;}

input[type="radio"] {
    width: 1rem;
    height: 1.5rem;
    vertical-align: top;
}

main {width: calc(100% - 40px); margin: 0 auto; max-width: 600px; padding-bottom: 2.5rem;}

main h2 {margin: 1.25rem 0; text-align: center;}

section {margin-bottom: 1.875rem;}

section h3 {margin-bottom: 0.25rem; font-weight: 600; position: relative; padding-left: 1rem; line-height: 1.5rem;}
section h3::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 0rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--mainColor);
}

section.required h3 b {position: relative;}
section.required h3 b::after {
    content: "*";
    color: #f60;
    margin-left: 0.25rem;
}

section h3 span {
    font-size: 0.875rem;
    font-weight: normal;
    color: #666;
    margin-left: 0.5rem;
}

section select,
section input[type="text"],
section input[type="date"],
section input[type="email"],
section textarea {
    line-height: 2.5rem;
    border: 1px solid var(--borderColor);
    border-radius: 0.5rem;
    padding: 0 0.5rem;
    font-size: 1rem;
}

section select,
section input[type="text"],
section input[type="date"],
section input[type="email"] {height: 2.5rem;}

section input[type="text"],
section input[type="date"],
section input[type="email"] {width: 160px;}

section input.width100,
section textarea {width: 100%;}

section textarea {
    resize: none;
    min-height: 7.5rem;
    line-height: 1.25rem;
    padding: 0.625rem;
}

input.isInvalid,
textarea.isInvalid
select.isInvalid {border-color: #f00 !important;}

.radioWrap {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 0.5rem 0;
    padding: 0.625rem;
    border-radius: 0.5rem;
    background: rgb(243 251 251);
}

.radioWrap p {width: 33.3%; white-space: nowrap;}

.radioWrap p label {display: inline-block; line-height: 1.5rem;}

ol {padding-left: 1.25rem;}
ol li {
    margin-bottom: 0.625rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

u {text-underline-position : under;}


.agreeBox {border: 1px solid var(--borderColor); padding: 1.25rem; border-radius: 1rem;}

.agreeBox h3 {font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem;}

.agreeBox p {margin-bottom: 10px;}

.agreeBox div {text-align: center; margin-top: 1.25rem;}
.agreeBox input[type="checkbox"] {width: 1rem; height: 1.5rem; vertical-align: top;}
.agreeBox label {display: inline-block; line-height: 1.5rem; font-size: 1.125rem; font-weight: 600;}

.notice {font-size: 0.875rem; color: #444; margin: 10px 0;}

.btnSubmit {
    display: block;
    width: 100%;
    height: 2.5rem;
    border-radius: 0.5rem;
    border: 0;
    color: #fff;
    background-color: var(--mainColor);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.25rem;
}

footer {
    background: #444;
    color: #fff;
    padding: 1.25rem;
}

footer>div {margin: 0 auto; max-width: 600px;}

footer>div p {line-height: 1.5rem; font-size: 0.8125rem;}




.popupWrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background-color: #eee;
}

.popupWrap>.popupBox {
    margin: 50px auto 30px;
    width: 96%;
    max-width: 440px;
    background-color: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
}

.popupWrap>.popupBox img {width: 100%; display: block;}

.popupWrap>.popupBox>div {
    padding: 0.625rem;
}

.popupWrap>.popupBox>div>p {
    padding: 1.25rem;
    font-size: 1.25rem;
    line-height: 160%;
}

.popupWrap>.popupBox>div>p>b {
    font-size: 1.5rem;
}

.popupWrap>.popupBox a,
.popupWrap>.popupBox button {
    display: block;
    width: 10rem;
    line-height: 3.125rem;
    border-radius: 10px;
    margin: 0 auto 20px;
    font-size: 20px;
    text-align: center;
}


.popupBox.popupBlue>div>p {border: 2px solid var(--popupBlue);}
.popupBox.popupBlue>div>p>b {color: var(--popupBlue);}
.popupBox.popupBlue a,
.popupBox.popupBlue button {background-color: var(--popupBlue); color: #fff;}

.popupBox.popupBlue a:hover,
.popupBox.popupBlue button:hover {background-color: #080820;}


.popupBox.popupPurple>div>p {border: 2px solid var(--popupPurple);}
.popupBox.popupPurple>div>p>b {color: var(--popupPurple);}
.popupBox.popupPurple a,
.popupBox.popupPurple button {background-color: var(--popupPurple); color: #fff;}

.popupBox.popupPurple a:hover,
.popupBox.popupPurple button:hover {background-color: #501f75;}


@media screen and (max-width: 479px) {
    section h3 {font-size: 1rem;}
    section h3 span {font-size: 0.75rem;}

    .popupWrap {background-color: #fff;}

    .popupWrap>.popupBox {
        margin: 0;
        width: 100%;
        max-width: none;
        border-radius: 0;
    }

    .popupWrap>.popupBox>div>p {
        font-size: 1.125rem;
    }
    
    .popupWrap>.popupBox>div>p>b {
        font-size: 1.25rem;
    }
}