@import url(./fonts.css);
@import url(./layout.css);
@import url(./animation.css);

:root {
    --base-height: 100vh;
    --prlx-height: 100vh;
    --footer-height: 0;
    --wrapper-width: 1400px;
}

html,
body,
div,
ul,
li,
p,
h3,
h1,
h2,
h4,
h5 {
    padding: 0;
    margin: 0;
    line-height: 1;
}
ul,
li {
    list-style: none;
}
a {
    text-decoration: none;
    color: #000;
}
optgroup,
select,
button {
    cursor: pointer;
}
input::-webkit-input-placeholder {
    color: #96929d;
    font-weight: 400;
}
textarea::-webkit-input-placeholder {
    color: #96929d;
    font-weight: 400;
}
input::-ms-input-placeholder {
    color: #96929d;
    font-weight: 400;
}
textarea::-ms-input-placeholder {
    color: #96929d;
    font-weight: 400;
}
input::-moz-placeholder {
    color: #96929d;
    font-weight: 400;
}
textarea::-moz-placeholder {
    color: #96929d;
    font-weight: 400;
}
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
}
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
select::-ms-expand {
    display: none;
}
select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}
img {
    vertical-align: top;
}
body {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    overscroll-behavior-y: none;
}
caption {
    display: none;
}
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    -webkit-text-size-adjust: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    outline: none;
}
* {
    font-family: "Poppins", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-feature-settings: "clig" off, "liga" off;
    line-height: 1em;
    color: #000;
    box-sizing: border-box;
    font-weight: normal;
    font-weight: 300;
    word-break: keep-all;
}
i,
em {
    line-height: inherit;
    font-style: normal;
}
.blind {
    font-size: 0 !important;
    color: transparent !important;
}
span,
i,
strong,
q {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    letter-spacing: inherit;
    font-family: inherit;
}
q::before,
q::after {
    content: none;
}
b {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    letter-spacing: inherit;
    font-family: inherit;
}
table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
}
button {
    border: none;
    background-color: transparent;
}

/* 공통 aos */
.aos {
    opacity: 0;
}

/* 페럴렉스 */
section.prlx .cont {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

section.prlx .track {
    min-height: var(--base-height);
    pointer-events: none;
}

section.prlx .track > div {
    width: 100%;
}

/* 버튼 */
.btn_basic {
    display: inline-flex;
    vertical-align: top;
    width: 307px;
    line-height: 68px;
    border-radius: 40px;
    border: 1px solid #1790f9;
    color: #1790f9;
    font-size: 20px;
    font-weight: 600;
    padding: 0 50px;
    justify-content: space-between;
    transition: All 0.1s ease-out;
    -webkit-transition: All 0.1s ease-out;
    -moz-transition: All 0.1s ease-out;
    -o-transition: All 0.1s ease-out;
}

.btn_basic::after {
    content: "";
    display: inline-block;
    vertical-align: top;
    width: 14px;
    height: 68px;
    background-image: url(../img/assets/ico-arrow-btn-white.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.btn_basic:hover {
    background-color: #1790f9;
    color: #fff;
}

.btn_basic:hover::after {
    background-image: url(../img/assets/ico-arrow-btn.svg);
}

.btn_banner {
    display: inline-flex;
    vertical-align: top;
    width: 307px;
    line-height: 68px;
    border-radius: 40px;
    border: 1px solid #fff;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 15.45%, rgba(0, 0, 0, 0.2) 99.19%);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    padding: 0 50px;
    justify-content: space-between;
    transition: All 0.1s ease-out;
    -webkit-transition: All 0.1s ease-out;
    -moz-transition: All 0.1s ease-out;
    -o-transition: All 0.1s ease-out;
}

.btn_banner::after {
    content: "";
    display: inline-block;
    vertical-align: top;
    width: 14px;
    height: 68px;
    background-image: url(../img/assets/ico-arrow-btn.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.btn_banner:hover {
    border: 1px solid #1790f9;
    background: linear-gradient(90deg, #1790f9 15.45%, #1790f9 99.19%);
}

/* 텍스트 박스 */

.copy_box_cont {
    text-align: center;
}

.copy_box_cont.algn_left {
    text-align: left;
}

.copy_box_cont span {
    color: #016ff2;
    font-size: 32px;
    font-weight: 700;
    line-height: 130%; /* 41.6px */
    letter-spacing: -0.96px;
}

.copy_box_cont em {
    color: #000;
    font-size: 40px;
    font-weight: 700;
    line-height: 130%; /* 52px */
    letter-spacing: -1.2px;
    display: block;
}

.copy_box_cont span + em {
    margin-top: 20px;
}

.copy_box_cont p {
    color: #666;
    font-size: 22px;
    font-weight: 400;
    line-height: 180%; /* 39.6px */
    letter-spacing: -0.66px;
}

.copy_box_cont em + p {
    margin-top: 30px;
}

.copy_box_cont p + p {
    margin-top: 33px;
}

.sec_tit {
    text-align: center;
}

.sec_tit h2 {
    color: #000;
    font-size: 45px;
    font-weight: 700;
    line-height: 110%; /* 49.5px */
}

.sec_tit h2 + p {
    margin-top: 20px;
}

.sec_tit p {
    color: #666;
    font-size: 20px;
    font-weight: 400;
    line-height: 180%; /* 36px */
    letter-spacing: -0.6px;
}

.sec_tit p + p {
    margin-top: 38px;
}

.sec_tit span {
    color: #1790f9;
    font-size: 22px;
    font-weight: 700;
    line-height: 170%; /* 37.4px */
    display: block;
    margin-bottom: 13px;
}

.sec_tit p b {
    font-weight: 600;
    color: #000;
}

.common_slider .nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
}

.common_slider .nav button {
    width: 76px;
    height: 76px;
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

.common_slider .nav button.nav_prev {
    background-image: url(../img/assets/ico-nav-prev.svg);
    left: 0;
    top: 0;
    transform: translateY(-50%);
}

.common_slider .nav button.nav_next {
    background-image: url(../img/assets/ico-nav-next.svg);
    right: 0;
    top: 0;
    transform: translateY(-50%);
}

.common_slider .dots {
    position: absolute;
    z-index: 1;
    bottom: 63px;
    left: 0;
    width: 100%;
    pointer-events: none;
    text-align: center;
}

.common_slider .dots span {
    margin: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #d9d9d9;
    display: inline-block;
    vertical-align: top;
    opacity: 1;
}

.common_slider .dots span.swiper-pagination-bullet-active {
    background-color: #1790f9;
}

.common_slider .dots span + span {
    margin-left: 10px;
}

/* bg_box */

.bg_box {
    width: 100%;
    padding-top: 30%;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg_box > div {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
}

.bg_box p {
    color: #fff;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    line-height: 180%; /* 39.6px */
    letter-spacing: -0.66px;
}

.bg_box em {
    color: #fff;
    text-align: center;
    font-size: 45px;
    font-weight: 700;
    line-height: 110%; /* 49.5px */
    text-transform: capitalize;
    display: block;
    margin-bottom: 32px;
}

.bg_box span {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%; /* 27px */
}

.bg_box .g_item {
    padding-right: 57px;
    max-width: 480px;
    margin: 0 auto;
    margin-top: 12px;
}

.bg_box .g_item .bg {
    width: 100%;
    border-radius: 5px;
    background: #e9e9e9;
    height: 17px;
    position: relative;
    margin-top: 7px;
}

.bg_box .g_item .bg .rail {
    height: 100%;
    border-radius: 5px;
    background: #1790f9;
    transition: All 2s cubic-bezier(0, 0.55, 0.45, 1);
    -webkit-transition: All 2s cubic-bezier(0, 0.55, 0.45, 1);
    -moz-transition: All 2s cubic-bezier(0, 0.55, 0.45, 1);
    -o-transition: All 2s cubic-bezier(0, 0.55, 0.45, 1);
}

.bg_box .g_item i {
    position: absolute;
    left: calc(100% + 13px);
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 150%; /* 30px */
    letter-spacing: -0.6px;
    margin: 0;
}

.bg_box .aos {
    opacity: 1;
}

/* borad block */
.review_block + .review_block {
    margin-top: 120px;
}
.review_block .block_tit {
    position: relative;
}

.review_block .block_tit h3 {
    color: #222527;
    font-size: 34px;
    font-weight: 700;
    line-height: 40px; /* 51px */
}

.review_block .block_tit .nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
}

.review_block .block_tit .nav button {
    width: 40px;
    height: 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.review_block .block_tit .nav button.nav_prev {
    background-image: url(../img/assets/ico-board-nav-prev.svg);
}

.review_block .block_tit .nav button.nav_prev:hover {
    background-image: url(../img/assets/ico-board-nav-prev-hover.svg);
}

.review_block .block_tit .nav button.nav_next {
    background-image: url(../img/assets/ico-board-nav-next.svg);
}

.review_block .block_tit .nav button.nav_next:hover {
    background-image: url(../img/assets/ico-board-nav-next-hover.svg);
}

.review_block .block_tit .nav .fraction {
    display: flex;
    margin: 0 20px;
}

.review_block .block_tit .nav .fraction span {
    display: inline-block;
    vertical-align: top;
    color: #666;
    font-size: 16px;
    font-weight: 300;
    line-height: 150%;
}

.review_block .block_tit .nav .fraction i {
    display: inline-block;
    vertical-align: top;
    color: #666;
    font-size: 16px;
    font-weight: 300;
    line-height: 150%;
    margin: 0 4px;
    font-family: Pretendard;
}

.review_block .block_tit .nav .fraction span .current {
    font-weight: 700;
    color: #000;
}

.board_list {
    margin-top: 25px;
}

.board_list ul {
    font-size: 0;
}

.board_list li {
    display: inline-block;
    vertical-align: top;
    width: calc((100% - 60px) / 3);
}

.board_list li + li {
    margin-left: 30px;
}

.board_list li:nth-child(n + 4) {
    margin-top: 30px;
}

.board_list li:nth-child(3n + 1) {
    margin-left: 0;
}

.board_list li .thumb {
    width: 100%;
    padding-top: 56.25%;
    background-image: url();
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.board_list li .info {
    margin-top: 15px;
}

.board_list li .info span {
    color: #016ff2;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%; /* 24px */
    display: block;
    margin-bottom: 3px;
}

.board_list li .info p {
    color: #000;
    font-size: 20px;
    font-weight: 500;
    line-height: 150%; /* 30px */
}

.review_slider_wrap .swiper-scrollbar {
    width: 100%;
    height: 3px;
    background-color: #d4d4d4;
    margin-top: 53px;
    border-radius: 0;
}

.review_slider_wrap .swiper-scrollbar-drag {
    border-radius: 0;
    background-color: #2f2f2f;
    opacity: 1;
    cursor: pointer;
}

/* 모달 */
.modal_wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 700;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: All 0.3s ease-out;
    -webkit-transition: All 0.3s ease-out;
    -moz-transition: All 0.3s ease-out;
    -o-transition: All 0.3s ease-out;
    padding: 20px;
}

.modal_wrap.open {
    opacity: 1;
    pointer-events: visible;
}

.modal_wrap .inner {
    width: 100%;
    max-width: 688px;
    min-height: 500px;
    background-color: #fff;
    padding: 50px;
    position: relative;
    display: none;
    animation: showUp 0.3s forwards;
}

.modal_wrap.open .inner {
    display: block;
}

.modal_wrap .inner button {
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 70px;
    background-image: url(../img/book/ico-close-modal.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.modal_wrap .inner h4 {
    color: #000;
    font-family: Pretendard;
    font-size: 32px;
    font-weight: 700;
    line-height: 130%; /* 41.6px */
    letter-spacing: -0.96px;
}

.modal_wrap .inner p {
    color: #666;
    font-family: Pretendard;
    font-size: 18px;
    font-weight: 400;
    line-height: 180%; /* 32.4px */
    letter-spacing: -0.54px;
    margin-top: 30px;
}

.popup-block {
    position: absolute;
    z-index: 300;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.popup-block__wrapper {
    max-width: var(--wrapper-width);
    margin: 0 auto;
    position: relative;
    font-size: 0;
}

.popup-block__item {
    margin-top: 120px;
    pointer-events: visible;
    display: inline-block;
    vertical-align: top;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    margin-right: 40px;
}

.popup-block__img-wrap {
    background-color: #fff;
}

.popup-block__img {
    width: 100vw;
    max-width: 510px;
}

.popup-block__foot {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.popup-block__close-today {
    display: none;
}

.popup-block__checkbox + .popup-block__label {
    font-size: 13px;
    line-height: 18px;
    color: #222;
    padding-left: 20px;
    background-image: url(../img/book/ico-checkbox-o.svg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 14px;
    cursor: pointer;
}

.popup-block__checkbox:checked + .popup-block__label {
    background-image: url(../img/book/ico-checkbox.svg);
}

.popup-block__btn-close {
    font-size: 13px;
    line-height: 18px;
    color: #222;
}
