﻿/* 서브메뉴 CSS */
.sub-menu-box{display: flex;justify-content: center;width : 100%; position : relative; z-index: 1;z-index : 10; border-bottom : 1px solid #CECECE; font-family : PT; letter-spacing : -0.04em; font-weight : 500; display : none;}
.sub-menu {height : 100%;}
.sub-menu > ul{display : flex; height : 100%;}
.sub-menu > ul > li{height : 100%;}
.sub-menu > ul > li > a{display : flex; padding : 16px 20px 26px; align-items : center; justify-content : center; height : 100%;}
.sub-menu > ul > li > a::after{position : absolute; content : ''; width : 6px; height : 6px; background: #B08B5B;transform : rotate(45deg) scale(0); margin-top: 40px; transition : .5s;}
.sub-menu > ul > li.current > a::after,
.sub-menu > ul > li:hover > a::after{transform : rotate(45deg) scale(1);}

.sub-title-box{display: flex;flex-direction : column;justify-content: center;align-items: center;position : relative;height : 343px;overflow: hidden;padding-top: 50px;}
@keyframes sub-title-line {
	100%{clip-path: inset(0);}
}

.sub-title-bg{width : 100%;height : 100%; background: url(https://hwaseong-lottecastlesignature.com/assets/images/sub/sub-title-bg.jpg)no-repeat center / cover;position : absolute; left : 0;top : 0;z-index : -1; animation : sub-title-bg 3s both;}
.sub-title-bg > video{width : 100%; height : 100%; object-fit : cover; object-position : center;}
@keyframes sub-title-bg{
	0%{transform : scale(1.25)}
}

.sub-title{font-family: jost; font-weight: 500; font-size: 40px;letter-spacing: 0em; margin-bottom: 8px; text-align : center;animation : sub-title 1s both 1s;}
@keyframes sub-title{
	100%{letter-spacing : 0.3em; padding-left: 0.3em;}
}
.sub-title .char{opacity: 0;}

.sub-title-kor{font-family: GG; font-weight: 500; font-size: 20px;letter-spacing: -0.04em; text-align : center;}
.sub-title-kor .char{opacity: 0;}

#wrap.sub{width : 100%;}

.sub-content-box{padding : 66px 0 192px; margin : 0 auto; position: relative;z-index: 0;}
.sub-content-img{margin : 0 auto;}

.motion-box{position : relative; background: pink;}
.motion-hover{position : absolute;width : 37.7%; height : 74%; z-index : 1;right : 0;top : 0;}

.sub-content-box{padding : 66px 0 192px; margin : 0 auto;}
.sub-content-img{margin : 0 auto;}
/* 오리발 CSS */
.page_info{display:flex;flex-direction:column;justify-content:center;max-width : 1200px;margin : 4em auto 0;background:#f7f7f7;border:1px solid #e5e5e5;padding:25px 60px 25px 120px;min-height :120px;font-size:13px;letter-spacing:-0.04em;color:#777;position:relative;}
.page_info::after{display: flex;align-items: center;justify-content: center;color : #fff;font-size: 36px;font-weight: 700;content : '!';position : absolute;width : 70px;height : 70px;border-radius: 50%;background : #ddd;left : 25px;top : 50%;transform: translateY(-50%);}
.page_info>li{position : relative;padding-left : 14px;}
.page_info>li+li{margin-top : 3px;}
.page_info>li::before{content : '※ ';position : absolute;left : 0;font-size: 11px;line-height: 18px;}
.page_info>li>a{color:rgba(50,80,255,1);text-decoration:underline;}
/* 오리발 CSS END */

.motion-box{position : relative; background: pink;}
.motion-hover{position : absolute;width : 37.7%; height : 74%; z-index : 1;right : 0;top : 0;}

@media(max-width : 1200px){
	#wrap{overflow : hidden;}
	.sub-title-box{margin-top: 0;height : 250px; padding-top: 50px;}
	.sub-title{font-size: 24px;}
	.sub-title-kor{font-size : 16px}

	/* 서브메뉴 CSS */
	.sub-menu-box{height: 40px;}
	.sub-menu{min-width:150px;position:relative;font-size: 12px;height:40px;padding:0 10px;}
	.sub-menu:not(:last-child)::before{height:12px;}
	.sub-menu::after{width:5px;height:5px;right:10px;}
	.sub-menu>ul>li>a{height:36px;padding:0 10px;font-size:12px;}
	.sub-menu>ul>li>a::after{width:4px;height:4px;}
	.sub-menu>ul>li.long>a{height:55px;}
	.sub-menu>ul>li>a:hover{padding-left:25px;font-weight:500}
	.sub-menu>ul>li:nth-child(1)>a{border-top:1px solid #ccc}
	.sub-menu>ul>li>a:hover{background:#f1f1f1}

	.page_info{width : 92%;justify-content: center;padding : 15px 20px 15px 20px;min-height : 0;font-size: 11px;}
    .page_info::after{display : none;}
    .page_info > li{position : relative;padding-left : 12px;}
    .page_info > li + li{margin-top : 4px;}
    .page_info > li::before{font-size: 10px;line-height: 18px;}
}

/* VIEW SLIDER (pages/view.html) */
.view-container {
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
    position: relative;
}
.overview-slide .swiper-main {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
}
.overview-slide .swiper-main .swiper-slide {
    position: relative;
}
.overview-slide .img-desc {
    position: absolute;
    left: 24px;
    top: 24px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 8px 18px;
    font-size: 15px;
    font-family: PT, sans-serif;
    z-index: 2;
}
.overview-slide .img-inner img {
    width: 100%;
    height: auto;
    display: block;
}
.overview-slide .swiper-thum {
    width: 100%;
    overflow: hidden;
}
.overview-slide .swiper-thum .swiper-slide {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.overview-slide .swiper-thum .swiper-slide-thumb-active {
    opacity: 1;
    outline: 2px solid #897158;
}
.view-pagination {
    position: absolute;
    top: 40%;
    left: -60px;
    right: -60px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 5;
}
.view-prev, .view-next {
    pointer-events: all;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.view-prev.swiper-button-disabled,
.view-next.swiper-button-disabled {
    opacity: 0.35;
}

/* VIDEO / VR CONTAINER (pages/e_modelhouse.html & pages/tv.html) */
.video-container {
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
}
.video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* RESERVE LIST TABLE (pages/info_10.html) */
.reserve-list {
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
    font-family: PT, sans-serif;
}
.reserve-list h2 {
    font-size: 26px;
    font-weight: 600;
    color: #222;
    margin-bottom: 24px;
    text-align: center;
}
.reserve-list table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #49342C;
}
.reserve-list th, .reserve-list td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
}
.reserve-list th {
    background: #f7f7f7;
    color: #333;
    font-weight: 600;
}
.reserve-list td {
    color: #555;
}

@media (max-width: 1200px) {
    .view-pagination {
        left: 10px;
        right: 10px;
    }
    .overview-slide .img-desc {
        left: 12px;
        top: 12px;
        font-size: 12px;
        padding: 5px 10px;
    }
}


