/* to embed a font */
@import url('./font.css');

/* document --------------------------- */
*, *::after, *::before {
    box-sizing: border-box;
}

html, body {
    position: relative;
    width: 100%;
    background-color: var(--black);
    margin: 0;
    padding: 0;
    border: 0;
    /* web font + system font */
    font-family: 'Raleway', 'Pretendard', -apple-system, BlinkMacSystemFont, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    font-size: 62.5%; /* 1rem = 1rem */
    font-weight: 400;
    letter-spacing: -.02em;
    color: var(--white);
    /* smoothing font */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    transition: color .6s, background-color .6s;
}

/* typography --------------------------- */
h1, h2, h3, h4, h5, h6 {
    clear: both;
    margin: 0;
    padding: 0;
}

b, strong {
    /* add the correct font weight in Chrome, Edge, and Safari */
    font-weight: 600;
}

/* list style --------------------------- */
ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* embedded content --------------------------- */
img {
    /* remove the border on images inside links in IE 10 */
    border-style: none;
}

/* form --------------------------- */
button, input, textarea, select, option {
    /* web font + system font */
    font-family: 'Raleway', 'Pretendard', -apple-system, BlinkMacSystemFont, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    /* Remove the inheritance of text transform in Edge, Firefox and IE. */
    text-transform: none;
    background-color: transparent;
    letter-spacing: -.02em;
    color: var(--white);
    font-weight: 400;
    /* Show the overflow in Edge and IE. */
    overflow: visible;
    cursor: pointer;
}

button:disabled, input:disabled {
    cursor: not-allowed;
}

button, [type='button'], [type='reset'], [type='submit'] {
    /* correct the inability to style clickable types in iOS and Safari */
    appearance: button;
    -moz-appearance: button;
    -webkit-appearance: button;
}

[type='checkbox'], [type='radio'] {
    /* remove the padding in IE 10 */
    padding: 0;
    margin: 0;
}

textarea {
    width: 100%;
    /* remove the default vertical scrollbar in IE 10+ */
    overflow: auto;
    resize: none;
}

/* link --------------------------- */
a {
    color: var(--white);
    text-decoration: none;
    /* remove the gray background on active links in IE 10 */
    background-color: transparent;
    cursor: pointer;
}

a:visited, a:hover, a:active {
    color: var(--white);
    text-decoration: none;
}

a:focus {
    color: var(--white);
    text-decoration: none;
}

/* misc --------------------------- */
[hidden] {
    /* add the correct display in IE 10 */
    display: none;
}

:focus {
    outline: none;
}

:root {
    --yellow: #F7FF13;
    --black: #000000;
    --white: #FFFFFF;

    --gray100: #F5F5F5;
    --gray200: #E5E5E5;
    --gray300: #DBDBDB;
    --gray400: #CCCCCC;
    --gray500: #A4A4A4;
    --gray600: #747474;
    --gray700: #444444;
    --gray800: #1B1B1B;
    --gray900: #121212;
}

/* scroll */
::-webkit-scrollbar {width: 0; height: 0; background-color: transparent;}
::-webkit-scrollbar-thumb {background-color: transparent;}
::-webkit-scrollbar-track {background-color: transparent;}

/* align */
.position-center {position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
.position-center-top {position: absolute; top: 50%; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%);}
.position-center-left {position: absolute; left: 50%; -webkit-transform: translateX(-50%); -moz-transform: translateX(-50%); -ms-transform: translateX(-50%); -o-transform: translateX(-50%); transform: translateX(-50%);}

/* text overflow */
.ellipsis {overflow: hidden; text-overflow: ellipsis; white-space: nowrap;} /* 한 줄 말줄임, width 지정 필요 */
.ellipsis.double {overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;} /* 두 줄 말줄임 */

/* font weight */
.font500 {font-weight: 500!important;}
.font600 {font-weight: 600!important;}
.font700 {font-weight: 700!important;}

/* textarea */
textarea {width: 100%; min-height: 16vw; padding: 2rem; border: 1px solid var(--white); font-size: clamp(1.4rem, 1.6vw, 3rem); font-weight: 500; line-height: 1.6; color: var(--white); cursor: auto;}

@media screen and (max-width: 768px) {
    textarea {min-height: 16rem; font-size: 1.4rem;}
}

/* inpit */
input {width: 100%; padding: 0; border: 0; border-bottom: 1px solid var(--white); font-size: clamp(1.4rem, 1.6vw, 3rem); font-weight: 500; color: var(--white); cursor: auto;}
input::placeholder {font-size: clamp(1.4rem, 1.6vw, 3rem); font-weight: 500; color: var(--white);}

@media screen and (max-width: 768px) {
    input {font-size: 1.4rem;}
    input::placeholder {font-size: 1.4rem;}
}

/* input : file */
input[type="file"] {display: none;}
input[type="file"] + label {width: 100%; height: 5vw; display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; border: 1px solid var(--white); font-size: clamp(1.4rem, 1.6vw, 3rem); font-weight: 500; color: var(--white); cursor: pointer;}
input[type="file"] + label > i {width: 1.6vw; height: 1.6vw;}

@media screen and (max-width: 768px) {
    input[type="file"] + label {height: 5.4rem; font-size: 1.4rem;}
    input[type="file"] + label > i {width: 1.6rem; height: 1.6rem;}
}

/* input : checkbox */
input[type="checkbox"] {display: none;}
input[type="checkbox"] + label {display: flex; align-items: center; column-gap: 1.2rem; cursor: pointer;}
input[type="checkbox"] + label::before {content: ''; width: 2vw; height: 2vw; border: 1px solid var(--white);}
input[type="checkbox"] + label > p {font-size: clamp(1.4rem, 1.6vw, 3rem); font-weight: 400;}
input[type="checkbox"] + label > p > a {font-weight: 700; text-decoration: underline;}
input[type="checkbox"]:checked + label::before {background-image: url(../img/ico/ic-checkbox-ov.svg); background-repeat: no-repeat; background-size: cover; background-position: center;}

@media screen and (max-width: 768px) {
    input[type="checkbox"] + label {column-gap: .8rem;}
    input[type="checkbox"] + label::before {width: 1.6rem; height: 1.6rem;}
    input[type="checkbox"] + label > p {font-size: 1.4rem;}
}

/* select */
select {width: 100%; padding: 0; border: 0; border-bottom: 1px solid var(--white); font-size: clamp(1.4rem, 1.6vw, 3rem); font-weight: 400; }

@media screen and (max-width: 768px) {
    select {font-size: 1.4rem;}
}

/* dropdown */
.dropdown {position: relative; width: 100%;}
.dropdown button {width: 100%; padding: 0; border: 0; border-bottom: 1px solid var(--white); justify-content: flex-start; font-size: clamp(1.4rem, 1.6vw, 3rem); font-weight: 400; background-image: url(../img/ico/ic-dropdown.svg); background-repeat: no-repeat; background-position: center right; background-size: 2vw; cursor: pointer;}
.dropdown button.active {background-image: url(../img/ico/ic-dropdown-ov.svg);}
.dropdown button.selected {font-weight: 700;}
.dropdown .options {display: none; width: 100%; position: absolute; background-color: var(--white); padding: 2.4rem; z-index: 10;}
.dropdown .options > li {font-size: clamp(1.4rem, 1.6vw, 3rem); color: var(--black); font-weight: 500; cursor: pointer;}
.dropdown .options > li:hover {font-weight: 700;}
.dropdown .options > li + li {margin-top: 2rem;}

.dropdown .calendar {display: none; width: 100%; position: absolute; background-color: var(--white); padding: 2.4rem; z-index: 10;}
.dropdown .calendar .month {display: flex; align-items: center; justify-content: center; column-gap: .4rem;}
.dropdown .calendar .month > li {font-size: clamp(1.4rem, 1.6vw, 3rem); font-weight: 600; color: var(--black);}
.dropdown .calendar .month > li:nth-child(2) {width: clamp(8rem, 10vw, 30rem); text-align: center;}
.dropdown .calendar .month > li i {width: 2vw; height: 2vw; max-width: 3.2rem; max-height: 3.2rem; cursor: pointer;}
.dropdown .calendar .week {display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 2rem;}
.dropdown .calendar .week > li {font-size: clamp(1.2rem, 1.4vw, 2.6rem); text-align: center; color: var(--black); font-weight: 500;}
.dropdown .calendar .day {display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 1.2vw; row-gap: 1.2vw;}
.dropdown .calendar .day > li {position: relative; display: flex; align-items: center; justify-content: center;}
.dropdown .calendar .day > li > p {font-size: clamp(1.2rem, 1.4vw, 2.6rem); text-align: center; font-weight: 500; color: var(--gray500); cursor: pointer; position: relative; z-index: 2;}
.dropdown .calendar .day > li.active > p {color: var(--white);}
.dropdown .calendar .day > li.active::before {content: ''; width: 2.8vw; height: 2.8vw; max-width: 3.2rem; max-height: 3.2rem; display: block; background-color: var(--black); position: absolute; z-index: 1;}

@media screen and (max-width: 768px) {
    .dropdown button {font-size: 1.4rem; background-size:   2rem;}
    .dropdown .options {padding: 2rem;}
    .dropdown .options > li {font-size: 1.4rem;}
    .dropdown .options > li + li {margin-top: 1.8rem;}
    
    .dropdown .calendar {padding: 2rem;}
    .dropdown .calendar .month {column-gap: .8rem;}
    .dropdown .calendar .month > li {font-size: 1.4rem;}
    .dropdown .calendar .month > li:nth-child(2) {width: 80px;}
    .dropdown .calendar .month > li i {width: 2rem; height: 2rem;}
    .dropdown .calendar .week {margin-top: 1.6rem;}
    .dropdown .calendar .week > li {font-size: 1.2rem;}
    .dropdown .calendar .day { margin-top: 1.2rem; row-gap: 1.2rem;}
    .dropdown .calendar .day > li > p {font-size: 1.2rem;}
    .dropdown .calendar .day > li.active::before {width: 2.4rem; height: 2.4rem;}
}

/* button */
button {width: fit-content; height: 5vw; padding: 0 3.2vw; margin: 0; font-size: clamp(1.4rem, 1.6vw, 3rem); font-weight: 700; border: 1px solid var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer;}

@media screen and (max-width: 768px) {
    button {height: 4.6rem; padding: 0 3.6rem; font-size: 1.4rem;}
}

/* tab */
.tab {display: flex; align-items: flex-end; column-gap: 2.4rem; margin-bottom: 6rem; margin-top: -2rem;}
.tab > li {display: flex; align-items: flex-start; column-gap: .4rem; cursor: pointer;}
.tab > li > p {font-size: clamp(1.8rem, 2.4vw, 4.4rem); font-weight: 700; color: var(--gray600);}
.tab > li > span {font-size: clamp(1.2rem, 1.4vw, 2.6rem); font-weight: 700; color: var(--gray600);}

.tab > li.active > p {color: var(--white);}
.tab > li.active > span {color: var(--yellow);}

.tab-cont {display: none;}
.tab-cont.active {display: block;}

@media screen and (max-width: 768px) {
    .tab {flex-wrap: wrap; grid-gap: 1.2rem 1.6rem; margin-bottom: 4rem; margin-top: -1.2rem;}
    .tab > li > p {font-size: 1.6rem;}
    .tab > li > span {font-size: 1.2rem;}
}

/* title */
.title {display: flex; flex-flow: column; row-gap: 1.2rem; margin-bottom: 6rem;}
.title > h2 {display: flex; align-items: flex-start; column-gap: .8rem; font-size: clamp(4rem, 6.4vw, 12rem); font-weight: 500; color: var(--white);}
.title > h2 > span {font-size: clamp(1.8rem, 2.4vw, 4.4rem); color: var(--yellow); font-weight: 700;}
.title > h3 {font-size: clamp(2.8rem, 4vw, 7.6rem); font-weight: 700; color: var(--white); line-height: 1.4;}
.title > a {font-size: clamp(1.8rem, 2.4vw, 4.4rem); font-weight: 500; display: flex; align-items: center; column-gap: 1.2rem;}

.sub-title {margin-bottom: 6rem; display: flex; align-items: flex-end; justify-content: space-between;}
.sub-title > h4 {font-size: clamp(2.4rem, 3.2vw, 6rem); font-weight: 600; line-height: 1.4;}
.sub-title > h5 {font-size: clamp(1.8rem, 2.4vw, 4.4rem); font-weight: 500; line-height: 1.4;}
.sub-title > p {font-size: clamp(1.4rem, 1.6vw, 3rem); font-weight: 500; color: var(--gray600); line-height: 1.4;}

@media screen and (max-width: 768px) {
    .title {row-gap: .6rem; margin-bottom: 3.2rem;}
    .title > h2 {column-gap: .4rem; font-size: 4rem;}
    .title > h2 > span {font-size: 1.6rem;}
    .title > a {font-size: 1.6rem; column-gap: .4rem;}
    
    .sub-title {margin-bottom: 3.2rem;}
    .sub-title > h4 {font-size: 1.6rem;}
}

/* section */
section + section {margin-top: 14rem;}
section > img {width: 100%;}
section > p {font-size: clamp(1.4rem, 1.6vw, 3rem); font-weight: 300; line-height: 2; word-break: keep-all;}
section > p + *, section > * + p {margin-top: 4rem;}

@media screen and (max-width: 768px) {
    section + section {margin-top: 10rem;}
    section > p {font-size: 1.4rem;}
}

/* secrion > p */
* + .para-wrap, .para-wrap + * {margin-top: 4rem;}
.para-wrap {display: flex; flex-flow: column; row-gap: 3.2rem;}
.para-wrap > p {font-size: clamp(1.4rem, 1.6vw, 3rem); font-weight: 300; line-height: 2; word-break: keep-all;}

@media screen and (max-width: 768px) {
    .para-wrap > p {font-size: 1.4rem;}
}