@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');
@font-face {
    font-family: 'NotoSerifKR';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_two@1.0/NotoSerifKR.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: 'Noto Sans KR', sans-serif;
    box-sizing: border-box;
}

body {
    overflow: hidden;
}

header {
    position: fixed;
    left: 0; right: 0; top: 0;
    z-index: 2;
}

header .h-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    margin-top: 75px;
}

header .h-wrap a img {
    width: 250px;
}

.container {
    width: 80%;
}

header .h-wrap div {
    display: flex;
}

header .h-wrap div select {
    background: transparent;
    border: #fff 1px solid;
    color: #fff;
    width: 70px;
}

body .menu {
    display: block;
    margin-left: 5px;
}
body.content-open .menu {
    display: none;
}

@media screen and (max-width: 768px) {
    header {position: absolute;}
    header .h-wrap a img {width: 150px;}
    body {overflow-y: scroll;}
    body .menu {display: none;}
}

/* 슬라이더 */
body .swiper {
    height: 100vh;
    width: 100vw;
    transition: all 1s;
    margin-left: 0;
}
body.content-open .swiper {
    width: 55vw;
    margin-left: 0;
    transition: 1s;
}

.swiper-slide,
.swiper-slide-active.swiper-slide {
    position: relative;
}
.swiper-slide1::after,
.swiper-slide-active.swiper-slide1::after {
    background: url('../img/web/mainbg1.png');
}
.swiper-slide2::after,
.swiper-slide-active.swiper-slide2::after {
    background: url('../img/web/mainbg2.png');
}
.swiper-slide3::after,
.swiper-slide-active.swiper-slide3::after {
    background: url('../img/web/mainbg3.png');
}
.swiper-slide1::after,
.swiper-slide-active.swiper-slide1::after,
.swiper-slide2::after,
.swiper-slide-active.swiper-slide2::after,
.swiper-slide3::after,
.swiper-slide-active.swiper-slide3::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
}
.swiper-slide-active.swiper-slide1::after,
.swiper-slide-active.swiper-slide2::after,
.swiper-slide-active.swiper-slide3::after {
    transform-origin: center;
    animation-duration: 5s;
    animation-name: back;
}

@keyframes back {
    0% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
    }
}



.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    width: 80%;
    height: 4px;
    left: 50%; transform: translateX(-50%);
    top: 515px;
    text-align: left;
}

.swiper-pagination-bullet {
    border-radius: 0;
    background: #fff;
    opacity: 0.5;
    width: 30px; height: 4px;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: #FFC400;
}

.swiper p {
    position: absolute;
    width: 80%;
    left: 50%; transform: translateX(-50%);
    top: 545px;
    font-size: 43px;
    font-weight: 200;
    color: #fff;
    line-height: 1.1;
}
.swiper p span {
    color: #FFC400;
    font-weight: bold;
}

/* 슬라이더 */

/* 메인버튼 */
.main-button {
    position: absolute;
    width: 80%;
    top: 570px;
    left: 50%; transform: translateX(-50%);
    z-index: 1;
}
.main-button a {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    width: 180px;
    padding: 15px 0;
    border: 1px solid #fff;
    border-radius: 50px;
    text-align: center;
}
.main-button a img {
    margin-right: 7px;
}


@media screen and (max-width: 768px) {
    body.content-open .swiper {width: 100vw;}
    .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {top: 200px;}
    .swiper p {top: 245px; font-size: 36px;}
    .main-button {top: 450px;}
    .main-button a {margin-bottom: 5px;}
}
@media screen and (max-width: 300px) {
    .swiper p {font-size: 28px;}
}
/* 메인버튼 */

/* 콘텐츠박스 */
body .content-box {
    position: fixed;
    top: 0; right: -50vw; bottom: 0;
    z-index: 5;
    background: #fff;
    overflow-y: scroll;
    width: 50vw;
    transition: 1s;
}
body.content-open .content-box {
    right: 0;
    transition: 1s;
}
body .close {
    position: absolute;
    top: 15px;
    z-index: 5;
    left: calc(100vw - 15px);
    cursor: pointer;
    opacity: 0;
    transition: 1s;
}
body.content-open .close {
    opacity: 1;
    left: calc(50vw - 60px);
}

body .section {
    padding: 60px 50px;
    margin-top: 100px;
    opacity: 0;
}
body .img-box {
    margin-top: 100px;
    opacity: 0;
}
body.content-open .section,
body.content-open .img-box {
    animation-duration: 1s;
    animation-delay: 1s;
    animation-name: box;
}
body .section.active,
body .img-box.active {
    margin-top: 0;
    opacity: 1;
}

@keyframes box {
    0% {
        margin-top: 100px;
        opacity: 0;
    }
    100% {
        margin-top: 0;
        opacity: 1;
    }
}

.section strong {
    font-size: 25px;
    font-weight: bold;
    position: relative;
    display: block;
    margin-bottom: 10px;
}
.section strong::before {
    content: '';
    position: absolute;
    width: 10px; height: 30px;
    background: #FFC400;
    left: -20px; top: 0;
}

.section p {
    font-size: 16px;
}

.row a {
    display: block;
    position: relative;
    padding-bottom: 100%;
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    overflow: hidden;
}
.row a.link1::after {
    background: url('../img/linkbg1.png');
}
.row a.link2::after {
    background: url('../img/linkbg2.png');
}
.row a.link3::after {
    background: url('../img/linkbg3.png');
}
.row a.link4::after {
    background: url('../img/linkbg4.png');
}
.row a.link5::after {
    background: url('../img/linkbg5.png');
}
.row a.link6::after {
    background: url('../img/linkbg6.png');
}
.row a.link1::after,
.row a.link2::after,
.row a.link3::after,
.row a.link4::after,
.row a.link5::after,
.row a.link6::after {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0; bottom: 0;
    transition: 0.5s;
    background-size: cover;
    background-position: center;
    z-index: -1;
}
.row a:hover::after {
    transform: scale(1.1);
}

.row a p {
    font-family: 'NotoSerifKR';
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%; 
    transform:  translateY(-50%);
    font-size: 25px;
    color: #fff;
}

.section ul {
    margin-top: 20px;
}
.section ul li .list-img > * {
	display: inline-block;
	vertical-align: middle;
}
.section ul li .list-img > img {
	margin-right: 10px;
}
.section ul li .list-img > p {
	font-size: 20px;
	font-weight: bold;
}
.list-info {
	margin: 10px 0 15px 0;
	padding: 20px;
	border: 1px solid #DBDBDB;
	border-radius: 10px;
}

.section ul.row img {
	margin-right:0; 
	width: 100%;
}


.section form {
    margin: 45px 0;
}
.section form .input-box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.section form .input-box label {
    width: 100px;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    margin-top: 16px;
}
.section form .input-box input,
.section form .input-box textarea,
.section form .input-box select {
    width: 600px;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #DBDBDB;
    resize: none;
}
.section form .input-box textarea {
    height: 150px;
}
.section form .input-box input::placeholder,
.section form .input-box textarea::placeholder {
    color: #C2C2C2;
}

.section form .checkbox input{
    display: none;
}
.section form .checkbox label::before {
    content: '';
    width: 25px;
    height: 25px;
    border: #DBDBDB 1px solid;
    border-radius: 5px;
    display: inline-block;
    margin-right: 15px;
    vertical-align: middle;
}
.section form .checkbox input:checked + label::before {
    background: url('../img/web/check.svg');
    border: none;
}
.section form  a {
    color: #FFC400;
    font-weight: 500;
    text-decoration: underline;
    min-width: 26px;
}

.section form button {
    display: block;
    margin: 0 auto;
    margin-top: 45px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    width: 400px;
    background: #FFC400;
    border-radius: 5px;
    padding: 10px 0;
}

.content-box .foot {
    background: #F9F9F9;
    text-align: center;
    padding: 38px 0;
}
.content-box .foot p {
    color: #C4C4C4;
    font-size: 16px;
    font-weight: 200;
}

@media screen and (max-width: 768px) {
    body .content-box {position: relative; width: 100vw; right: 0;}
    body .section,
    body .img-box {
        margin-top: 0;
        opacity: 1;
    }
    body .section {padding: 60px 40px;}
    body .close {display: none;}

    .section ul li .list-img {text-align: left; height: 70px;}
    .section ul li {padding-bottom: 50px;}

    .section form .input-box {flex-direction: column;}
    .section form .input-box input, .section form .input-box textarea, .section form .input-box select {width: 100%;}
    .section form button {width: 100%;}
    .section form .checkbox label::before {margin-right: 5px;}
}

@media screen and (max-width: 365px) {
    body .section {padding: 40px 20px;}
    .section strong {margin-left: 20px;}
}
/* 콘텐츠박스 */

/* 푸터 */
footer {
    position: fixed;
    bottom: 0;
    width: 80%;
    margin-bottom: 85px;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
}
footer p {
    color: #fff;
    font-size: 16px;
    font-weight: 200;
}

/* 푸터 */

.pc {display: block;}
.mb {display: none;}
@media screen and (max-width:768px) {
    footer {margin-bottom: 10px;}
    footer p {font-size: 14px;}
    .pc {display: none;}
    .mb {display: block;}
}