@charset "utf-8";

/* CSS reset */
* {
    -webkit-font-smoothing: antialiased;
}

html,
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
a,
blockquote,
th,
td,
footer {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset {
    border: 0;
}

input {
    margin: 0;
    padding: 0;
    border: none;
}

ol,
ul,
li {
    list-style: none;
}

img {
    vertical-align: middle;
}

a,
address {
    text-decoration: none;
    font-style: normal;
}

body {
    width: 100%;
    height: 100%;
    position: relative;
    font-family: "Pretendard";
    min-width: 1600px;
    min-height: 800px;
}

#container {
    width: 100%;
    height: 100vh;
    background: url(../images/bg.jpg) center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#cover {
    cursor: pointer;
    width: 567px;
    height: 800px;
    position: relative;
    box-shadow: 5px 5px 10px rgb(0 0 0 / 10%);
}

#cover img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all .3s;
}

#cover.front img:nth-child(1) {
    opacity: 1;
}

#cover.back img:nth-child(1) {
    opacity: 0;
}

#cover.front img:nth-child(2) {
    opacity: 0;
}

#cover.back img:nth-child(2) {
    opacity: 1;
}

.catalog-wrap {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.catalog-wrap.active {
    display: flex;
}

.dim {
    min-width: 1600px;
    min-height: 800px;
    width: 100vw;
    height: 100vh;
    display: none;
    background-color: rgba(0, 0, 0, .7);
    position: absolute;
    top: 0;
    left: 0;
}

.dim.active {
    display: block;
}

#close-btn {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 80px;
    top: 80px;
    z-index: 1;
    cursor: pointer;
}

#close-btn span {
    width: 40px;
    height: 2px;
    display: block;
    background-color: #fff;
    position: absolute;
    top: calc(50% - 1px);
}

#close-btn span:nth-child(1) {
    transform: rotate(45deg);
}

#close-btn span:nth-child(2) {
    transform: rotate(-45deg);
}

#catalog {
    width: 1272px;
}

#catalog .splide__slide {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 1272px;
    height: 900px;
}

#catalog .splide__slide img {
    position: absolute;
    top: 20px;
    opacity: 0;
    transition: all .6s;
}

#catalog .splide__slide.page01 {
    background-image: url(../images/page01/bg.jpg);
}

#catalog .splide__slide.page01 .pagination {
    width: 180px;
    height: 110px;
    position: absolute;
    top: 296px;
    right: 218px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#catalog .splide__slide.page01 .pagination p {
    height: 24px;
    cursor: pointer;
}

#catalog .splide__slide.page02 {
    background-image: url(../images/page02/bg.jpg);
}

#catalog .splide__slide.page03 {
    background-image: url(../images/page03/bg.jpg);
}

#catalog .splide__slide.page04 {
    background-image: url(../images/page04/bg.jpg);
}

#catalog .splide__slide.is-active img {
    top: 0;
    opacity: 1;
}

#catalog .splide__slide.is-active img:nth-child(1) {
    transition-delay: .3s;
}

#catalog .splide__slide.is-active img:nth-child(2) {
    transition-delay: .6s;
}

#catalog .splide__slide.is-active img:nth-child(3) {
    transition-delay: .9s;
}

#catalog .splide__slide.is-active img:nth-child(4) {
    transition-delay: 1.2s;
}

#catalog .splide__slide.is-active img:nth-child(5) {
    transition-delay: 1.5s;
}

#catalog .splide__slide.is-active img:nth-child(6) {
    transition-delay: 1.8s;
}

#catalog .splide__slide.is-active img:nth-child(7) {
    transition-delay: 2.1s;
}

#catalog-thumb {
    margin-left: 40px;
}

#catalog-thumb .splide__list {
    flex-direction: column;
}

#catalog-thumb .splide__slide {
    width: 240px;
    position: relative;
    border: none;
    margin-bottom: 40px;
}

#catalog-thumb .splide__slide:after {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    transition: all .6s;
}

#catalog-thumb .splide__slide.is-active {
    border: none;
}

#catalog-thumb .splide__slide.is-active:after {
    opacity: 0;
}

#catalog-thumb .splide__slide img {
    width: 100%;
    aspect-ratio: 1132 / 800;
}