@charset "utf-8";
@import url(font.css);
:root {
    --engFont : "Pretendard";
    --koFont : "Pretendard";
    --mainColor : #EF6800;
    --lightgray : #a6a8ab;
    --number : #d0d2d3;
}
.content.scroll {}
.title-wrap .title span {
    position: absolute;
    bottom: -7px;
    left: 640px;
    font-size: 4rem;
}

.web-wrap {
    height: 90%;
    display: flex;
    z-index: 1;
    overflow: hidden;
}
.web-wrap .article {
    flex: 1;
	padding: 70px 50px 100px;
	position: relative;
	opacity: 0.6;
	z-index: 1;
	transition: opacity 1s, flex 1s;
	cursor: pointer;
}
.web-wrap .article.active,
.web-wrap .article:hover {
    flex: 1.5;
	opacity: 1;
	z-index: 2;
}

.article .cover {
	width: 80%;
	height: 94%;
	position: absolute;
	background: #444;
	top: 0px;
	left: -150px;
	opacity: 0;
	transition: 1s;
    pointer-events: none;
}
.article.active .cover,
.article:hover .cover {
    left: 0px;
	opacity: 1;
}
.article .cover::after {
    content: '';
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #444;
    position: absolute;
    top: 40%;
    right: -50px;
    transition: 1.2s;
}
.article .cover.both::before {
    content: '';
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 40%;
    left: -50px;
    transition: 1.2s;
}
.article .cover.end::after {
    display: none;
}

.web-wrap .article .inner {
    z-index: 2;
    width: 100%;
	height: 100%;
	display: flex;
	flex-wrap: wrap;
	align-content: space-between; 
	position: relative; 
}
.web-wrap .article .inner .txt {
    width: 100%;
	transition: 0.5s; 
}
.web-wrap .article.active .inner .txt,
.web-wrap .article:hover .inner .txt {
    width: 75%;
}
.web-wrap .article .inner .txt h2 {
    font-family: var(--koFont);
    font-weight: 700;
    font-size: 3rem;
	color: #333;
	margin-bottom: 40px;
	padding-top: 70px;
	transition: 1s;
}
.web-wrap .article .inner .txt h2::after {
    content: "";
	display: block;
	width: 40px;
	height: 2px;
	background: #777;
	margin-top: 20px;
	transition: 1.5s;
}
.web-wrap .article.active .inner .txt h2,
.web-wrap .article:hover .inner .txt h2 {
    color: #fff;
    font-size: 5vw;
	padding-top: 0px;
}
.web-wrap .article.active.inner .txt h2::after,
.web-wrap .article:hover .inner .txt h2::after {
    width: 120px;
	background: var(--mainColor);
}
.web-wrap .article .inner .txt p {
    font-family: var(--koFont);
    font-size: 1rem;
    line-height: 1.3;
	color: #666;
    word-break: keep-all;
}
.web-wrap .article .inner .txt p span {
    font-size: 1.2rem;
    line-height: 1.5;
}
.web-wrap .article.active .inner .txt p,
.web-wrap .article:hover .inner .txt p {
    color: #ddd;
}

.web-wrap .article.active .inner .img-wrap,
.web-wrap .article:hover .inner .img-wrap {
    height: 25vh;
	filter: saturate(120%);
	transform: translateY(3vh);
}
.web-wrap .article .inner .img-wrap {
    width: 100%;
	height: 15vh;
	background: #777;
	overflow: hidden;
	box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
	filter: saturate(5%); 
	transform-origin: left center; /*왼쪽 방향 기준으로 변형이 일어나도록 중심축 변경*/
	transition: 1s;
}
.web-wrap .article .inner .img-wrap img {
    width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.1);
}
.web-wrap .article:first-child .inner .img-wrap img {
    object-position: 70% 50%;
}
.web-wrap .article:last-child .inner .img-wrap img {
    object-position: 80% 50%;
}

/* ======== 모달창 ======== */
.modal {
    width: 100%;
	height: 100vh;
	background: rgba(3, 3, 3, 0.85);
	position: fixed;
	top: 0px;
	left: -100%; 
	opacity: 0; 
	z-index: 100;
	padding: 5% 10%;
	display: flex; 
	justify-content: space-between; 
	transition: 1s; 
}
.modal.on {
    opacity: 1;
	left: 0%; 
}
.modal .txt {
    width: 23%;
	height: 100%;
}
.modal .txt h2 {
    font-family: var(--koFont);
    font-weight: bold;
    font-size: 5vw;
	color: #ddd;
	margin-bottom: 20px;
}
.modal .txt p {
    font-family: var(--koFont);
    line-height: 1.3;
}
.modal .txt .modal-title {
    font-size: 2vw;
    font-weight: 600;
    word-break: keep-all;
    margin-bottom: 30px;
    /* color: #fff; */
    color: var(--mainColor);
}
.modal .txt .modal-desc {
    font-size: 1.2vw;
    word-break: keep-all;
    margin-bottom: 30px;
    color: #ddd;
}
.modal .txt .modal-tool,
.modal .txt .modal-period,
.modal .txt .modal-ctrb {
    font-size: 0.9rem;
    word-break: keep-all;
    line-height: 2;
    color: #ddd;
}
.modal .txt .modal-ctrb {
    margin-bottom: 40px;
}
.modal .txt .link {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.modal .txt .link a {
    flex: 1;
    display: block;
    padding: 8px 15px;
    background-color: #666;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 10px;
    font-family: var(--engFont);
    font-weight: 300;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    transition: all .3s;
}
.modal .txt .link a:hover {
    background-color: #fff;
    color: #000;
}

.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 .img-wrap {
    width: 72%;
	height: 100%;
    overflow-y: auto;
    /* scrollbar-width: thin; */
    /* scrollbar-color: var(--mainColor); */
}
.modal .img-wrap::-webkit-scrollbar {
  width: 5px;
}
.modal .img-wrap::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.7);
}
.modal .img-wrap::-webkit-scrollbar-thumb {
  background: var(--mainColor);
  border-radius: 4px;
}
.modal .img-wrap img {
    width: 100%;
	object-fit: cover;
}

/* =======반응형====== */
@media (max-width:1500px) {
    .web-wrap .article.active .inner .img-wrap,
    .web-wrap .article:hover .inner .img-wrap {
        height: 22vh;
    }
    .title-wrap .title span {
        left: 600px;
    }
}
@media (max-width:1240px) {
    .title-wrap .title span {
        left: 465px;
        font-size: 3rem;
    }
    .web-wrap .article .inner .txt p span {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    .modal .txt .modal-title {
        font-size: 2vw;
    }
    .modal .txt .modal-desc {
        font-size: 1rem;
    }
    .modal .txt .modal-tool,
    .modal .txt .modal-period,
    .modal .txt .modal-ctrb {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    .modal .txt .link a {
        padding: 7px 12px;
        font-size: 0.8rem;
    }
}
@media (max-width:1155px) {
    .content.scroll {
        overflow-y: scroll;
    }
    .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;
    }
    .web-wrap {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        overflow: visible;
    }
    .web-wrap .article .inner .txt {
        margin-bottom: 30px;
    }
    .web-wrap .article .inner .txt p {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    .web-wrap .article .inner .txt p span {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    .web-wrap .article .inner .img-wrap {
        height: 22vh;
        filter: saturate(100%); 
    }

}
@media (max-width:980px) {
    .title-wrap .title span {
        left: 370px;
        font-size: 2.5rem;
    }
}
@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 h2 {
        font-size: 2.3rem;
        margin-bottom: 5px;
    }
    .modal .txt .modal-title {
        font-size: 1.8rem;
    }
    .modal .txt .modal-desc {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    .modal .txt .modal-tool,
    .modal .txt .modal-period,
    .modal .txt .modal-ctrb {
        line-height: 1.3;
    }
    .modal .txt .link  {
        margin-bottom: 50px;
    }
    .modal .txt .link a {
        padding: 7px 12px;
        border: 1px solid #fff;
        border-radius: 5px;
        font-size: 0.8rem;
    }
    .modal .close {
        font-size: 3vw;
    }
    .modal .img-wrap {
        width: 100%;
        overflow-y: visible;
    }
    .modal .img-wrap img {
        width: 100%;
        object-fit: cover;
        margin-bottom: 50px;
    }
}
@media (max-width:600px) {
    .web-wrap {
        display: block;
    }
    .web-wrap .article {
        padding: 0;
        opacity: 1;
        z-index: 1;
        margin-bottom: 80px;
    }
    .web-wrap .article.active,
    .web-wrap .article:hover {
        flex: 1;
        z-index: 1;
    }
    .web-wrap .article .inner {
        display: block;
    }
    .article .cover {
        display: none;
    }
    .web-wrap .article .inner .txt {
        margin-bottom: 20px;
    }
    .web-wrap .article.active .inner .txt,
    .web-wrap .article:hover .inner .txt {
        width: 100%;
    }
    
    .web-wrap .article .inner .txt h2 {
        font-size: 2rem;
        margin-bottom: 15px;
        padding-top: 0px;
        transition: 1s;
    }
    .web-wrap .article .inner .txt h2::after {
        width: 120px;
        height: 3px;
        background: var(--mainColor);
        margin-top: 5px;
    }
    .web-wrap .article.active .inner .txt h2,
    .web-wrap .article:hover .inner .txt h2 {
        color: #333;
        font-size: 2rem;
        padding-top: 0px;
    }
    .web-wrap .article .inner .txt .sub-title {
        position: absolute;
        bottom: 6%;
        left: 0;
        z-index: 2;
        padding: 3% 7% 3% 5%;
        background-color: rgba(255, 255, 255, 0.6);
        border-radius: 0 7px 7px 0;
        font-size: 1rem;
        color: #666;
        font-weight: 300;
        text-shadow: 1px 1px 1px #fff;
    }
    
    .web-wrap .article .inner .txt .sub-title::after {
        content: '';
        display: block;
        width: 20px;
        height: 40px;
        /* border-radius: 50%; */
        clip-path: path("M0,0 A20,20 0 0 0 0,40 A20,20 0 0 0 0,0 Z");
        background-color: rgba(255, 255, 255, 0.6);
        position: absolute;
        top: 50%;
        right: -20px;
        transform: translateY(-50%);
    }
    .web-wrap .article.active .inner .txt p,
    .web-wrap .article:hover .inner .txt p {
        color: #666;
    }
    .web-wrap .article .inner .txt p span {
        color: #333;
        font-weight: 600;
        text-shadow: none;
    }

    .web-wrap .article.active .inner .img-wrap,
    .web-wrap .article:hover .inner .img-wrap {
        height: 300px;
        filter: saturate(100%);
        transform: translateY(0);
    }
    .web-wrap .article .inner .img-wrap {
        height: 300px;
        box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
        filter: saturate(100%); 
    }
    .web-wrap .article:last-child .inner .img-wrap img {
        transform: scale(1);
        object-position: 40% 50%;
    }

    .modal .txt h2 {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
    .modal .close {
        font-size: 5vw;
    }
}
@media (max-width:480px) {
    .content {
        overflow-x: hidden;
    }
    .web-wrap .article .inner .txt .sub-title {
        font-size: 0.8rem;
    }
    .web-wrap .article .inner .txt p span {
        font-size: 1.1rem;
    }
    .modal {
        height: calc(100vh - 70px);
        top: 70px;
    }

}
@media (max-width:412px) { 
    .title-wrap .title span {
        left: auto;
    }
    .web-wrap .article.active .inner .img-wrap,
    .web-wrap .article:hover .inner .img-wrap {
        height: 230px;
    }
    .web-wrap .article .inner .img-wrap {
        height: 230px;
    }
}