@charset "utf-8";
@import url(font.css);
:root {
    --engFont : "Pretendard";
    --koFont : "Pretendard";
    --mainColor : #EF6800;
    --lightgray : #a6a8ab;
    --number : #d0d2d3;
}

/* common */
.mask.right {
    width: 15px;
    height: 300px;
    background-color: #fff;
    clip-path: path("M0,0 H15 V300 H0 Z M0,150 m-15,0 a15,30 0 1,0 30,0 a15,30 0 1,0 -30,0 Z");    
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
}
.mask.left {
    width: 15px;
    height: 300px;
    background-color: #fff;
    clip-path: path("M0,0 H15 V300 H0 Z M15,150 m-15,0 a15,30 0 1,0 30,0 a15,30 0 1,0 -30,0 Z");    
    position: absolute;
    top: 0;
    left: -1px;
    z-index: 3;
}
.cut-out.left {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 15px;
    height: 300px;
    background-color: #fff;
    box-shadow: 2px 0px 3px 2px rgba(3,3,3,.3);
    z-index: 3;
}
.cut-out.left::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 30px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 5px 0px 3px 1px rgba(3,3,3,.3);
    z-index: 3;
}

.cut-out.right {
    position: absolute;
    top: 50%;
    left: auto;
    right: 0;
    transform: translateY(-50%);
    width: 15px;
    height: 300px;
    background-color: #fff;
    box-shadow: -2px 0px 3px 2px rgba(3,3,3,.3);
    z-index: 3;
}
.cut-out.right::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: auto;
    right: 0;
    transform: translateY(-50%);
    width: 30px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: -5px 0px 3px 1px rgba(3,3,3,.3);
    z-index: 3;
}

/* style */
.content.scroll {
    overflow-y: auto;
    overflow-x: hidden;
}

.title-wrap .title span {
    position: absolute;
    bottom: -7px;
    left: 285px;
    font-size: 4rem;
}
.content.scroll::-webkit-scrollbar {
    width: 5px;
}
.content.scroll::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.7);
}
.content.scroll::-webkit-scrollbar-thumb {
    background-color: var(--mainColor);
    border-radius: 4px;
}

.design-wrap {
    height: 90%;
    padding: 0 10px 0 0;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: auto;
    /* gap: 30px; */
}
.design-wrap .box {
    /* border: 1px solid #666; */
    height: 300px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.design-wrap .box p {
    position: absolute;
    top: 10px;
    left: 25px;
    color: #fff;
    font-weight: 900;
    text-shadow: 1px 1px 2px black;
    z-index: 2;
}
.design-wrap .box .img-wrap {
    width: 100%;
    height: 100%;
}
.design-wrap .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: all .5s;
}
.design-wrap .box:hover img {
    transform: scale(1.05);
}
.design-wrap .box1 img {
    object-position: center 40%;
}
.design-wrap .box5 img {
    object-position: center 58%;
}
.design-wrap .box8 img {
    object-position: center 0%;
}
.design-wrap .box9 img {
    object-position: center 0%;
}

/* ======= 모달창 ======== */
.modal {
    width: 100%;
	height: 100%;
	background: rgba(3, 3, 3, 0.85);
	position: fixed;
	top: 0px;
	left: 0; 
	opacity: 0; 
    visibility: hidden;
	z-index: 100;
	padding: 5% 10%;
	display: flex; 
	justify-content: space-between; 
	transition: 0.5s ease-in-out; 
}
.modal.on {
    opacity: 1;
    visibility: visible;
}
.modal .txt {
    width: 23%;
	height: 100%;
}
.modal .txt h3 {
    font-family: var(--koFont);
    font-weight: bold;
    font-size: 1vw;
	color: #ddd;
	margin-bottom: 20px;
}
.modal .txt .modal-title {
    font-family: var(--koFont);
    font-size: 2vw;
    line-height: 1.3;
    font-weight: 600;
    word-break: keep-all;
    margin-bottom: 30px;
    color: var(--mainColor);
}
.modal .txt .modal-desc {
    font-size: 1vw;
    word-break: keep-all;
    margin-bottom: 30px;
    color: #ddd;
}
.modal .close {
    position: absolute;
    top: 3%;
    right: 3%;
    z-index: 1000;
    font-size: 2vw;
    cursor: pointer;
    display: none;
    color: #fff;
}
.modal.on .close {
    display: block;
}
.modal .modal-img-wrap {
    width: 72%;
	height: 100%;
    position: relative;
    /* scrollbar-width: thin; */
    /* scrollbar-color: var(--mainColor); */
}
.modal .modal-img-wrap::-webkit-scrollbar {
  width: 5px;
}
.modal .modal-img-wrap::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.7);
}
.modal .modal-img-wrap::-webkit-scrollbar-thumb {
  background: var(--mainColor);
  border-radius: 4px;
}
.modal .modal-img-wrap .swiper {
    width: 100%;
    height: 100%;
    position: relative;
}
.modal .modal-img-wrap .swiper .swiper-slide {
    width: 100%;
    height: 100%;
}
.modal .modal-img-wrap .swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.modal .modal-img-wrap .swiper-pagination {
    display: none;
}
.modal .modal-img-wrap .swiper-pagination-fraction {
    font-family: var(--koFont);
    top: -23px;
    width: auto;
    height: 0;
    right: 17px;
    left: auto;
    color: #fff;
    -webkit-text-stroke: 0.08em rgba(255,255, 255, 0.3);
    text-shadow: 1px 1px 1px #333;
    z-index: 99;
}
.modal .modal-img-wrap .swiper .swiper-scrollbar {
    display: none;
}
.modal .modal-img-wrap .swiper .swiper-scrollbar-horizontal {
    top: 0;
    height: 3px;
    background-color: rgba(0,0,0,.2);
}
.modal .modal-img-wrap .swiper .swiper-scrollbar-drag {
    background-color: var(--mainColor);
}
.modal .modal-img-wrap .swiper-prev,
.modal .modal-img-wrap .swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 99;
}
.modal .modal-img-wrap .swiper-prev {
    left: 5%;
    text-shadow: -1px 2px 1px #333;
}
.modal .modal-img-wrap .swiper-next {
    right: 5%;
    text-shadow: 1px 2px 1px #333;
}
.modal .modal-img-wrap .swiper-prev i,
.modal .modal-img-wrap .swiper-next i {
    color: #eee;
    font-size: 2vw;
}


/* =========반응형========== */
@media (max-width:1500px) {
    .title-wrap .title span {
        left: 260px;
    }
}
@media (max-width:1240px) {
    .title-wrap .title span {
        left: 205px;
        font-size: 3rem;
    }
    .mask.right {
        height: 250px;
        clip-path: path("M0,0 H15 V250 H0 Z M0,125 m-15,0 a15,30 0 1,0 30,0 a15,30 0 1,0 -30,0 Z");    
    }
    .mask.left {
        height: 250px;
        clip-path: path("M0,0 H15 V250 H0 Z M15,125 m-15,0 a15,30 0 1,0 30,0 a15,30 0 1,0 -30,0 Z");    
    }
    .design-wrap .box {
        height: 250px;
        margin-bottom: 30px;
    }
}
@media (max-width:980px) {
    .title-wrap .title span {
        left: 165px;
        font-size: 2.5rem;
    }
    .mask.right {
        height: 200px;
        clip-path: path("M0,0 H15 V200 H0 Z M0,100 m-15,0 a15,30 0 1,0 30,0 a15,30 0 1,0 -30,0 Z");    
    }
    .mask.left {
        height: 200px;
        clip-path: path("M0,0 H15 V200 H0 Z M15,100 m-15,0 a15,30 0 1,0 30,0 a15,30 0 1,0 -30,0 Z");    
    }
    .design-wrap .box {
        height: 200px;
        margin-bottom: 30px;
    }
}
@media (max-width:890px) {
    /* 모달창 */
    .modal {
        height: calc(100vh - 80px);
        padding: 5%;
        display: block; 
        top: 80px;
        overflow-y: scroll;
    }
    .modal .txt {
        width: 100%;
        height: auto;
    }
    .modal .txt h3 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    .modal .txt .modal-title {
        font-size: 2rem;
        margin-bottom: 5px;
        color: var(--mainColor);
    }
    .modal .txt .modal-desc {
        font-size: 0.9rem;
        margin-bottom: 80px;
    }
    .modal .close {
        font-size: 3vw;
    }
    .modal.on .close {
        display: block;
    }
    .modal .modal-img-wrap {
        width: 100%;
        height: auto;
    }
    .modal .modal-img-wrap .swiper-pagination {
        display: block;
    }
    .modal .modal-img-wrap .swiper .swiper-scrollbar {
        display: block;
    }
    .modal .modal-img-wrap .swiper-prev,
    .modal .modal-img-wrap .swiper-next {
        top: -15px;
        transform: translateY(-50%);
    }
    .modal .modal-img-wrap .swiper-prev {
        left: auto;
        right: 50px;
    }
    .modal .modal-img-wrap .swiper-next {
        right: 0;
    }
    .modal .modal-img-wrap .swiper-prev i,
    .modal .modal-img-wrap .swiper-next i {
        font-size: 1rem;
    }
}
@media (max-width:600px) {
    .design-wrap {
        grid-template-columns: repeat(2,1fr);
    }
    .modal .txt h3 {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    .modal .txt .modal-title {
        font-size: 1.5rem;
        margin-bottom: 5px;
        color: var(--mainColor);
    }
    .modal .txt .modal-desc {
        font-size: 0.8rem;
    }
    .modal .close {
        font-size: 5vw;
    }
    .modal .modal-img-wrap .swiper-pagination-fraction {
        font-size: 0.7rem;
    }
    .modal .modal-img-wrap .swiper-prev i,
    .modal .modal-img-wrap .swiper-next i {
        font-size: 0.8rem;
    }
    
}
@media (max-width:480px) {
    .modal {
        height: calc(100vh - 70px);
        top: 70px;
    }
}
@media (max-width:400px) {
    .design-wrap {
        display: block;
        /* grid-template-columns: repeat(1,1fr); */
    }
    .design-wrap .box {
        height: 235px;
        margin-bottom: 30px;
    }
    .design-wrap .box p {
        left: 12px;
        font-size: 0.9rem;
    }
    .modal .close {
        font-size: 5vw;
    }
    .mask.right,
    .mask.left,
    .cut-out.left,
    .cut-out.right {
        display: none;
    }
}