@charset "utf-8";

.Room_box{
	float: left;
	width: calc(100% - 2% - 2px);
	margin: 10px 1%;
	padding:0px;
 }
@media only screen and (min-width: 480px) {
.Room_box{
	float: left;
	width: calc(100% - 4% - 2px);
	margin: 10px 2%;
	padding:0px;
 }
}
@media only screen and (min-width: 768px) {
.Room_box{
	float: left;
	width: calc(100% - 4% - 2px);
	margin: 10px 2%;
	padding:0px;
 }
}
@media only screen and (min-width: 1024px) {
.Room_box{
	float: left;
	width: calc(100% / 3 - 3% - 2px);
	margin: 10px 1.5%;
	padding:0px;
 }
}
@media only screen and (min-width: 1200px) {
.Room_box{
	float: left;
	width: calc(100% / 4 - 3% - 2px);
	margin: 10px 1.5%;
	padding:0px;
 }
}
.Room_box{
    overflow: hidden;
	border: 1px solid #E6E6E6;
transition: all 0.5s ease-out;
background: #ffffff;
border-radius: 20px;
height: auto; /* 自動高度 */
    box-sizing: border-box;
}
.Room_box:hover{
	transition: all 0.3s ease-out;
	-moz-box-shadow: 1px 2px 8px 2px rgba(20%,20%,40%,0.5);
	-webkit-box-shadow: 1px 2px 8px 2px rgba(20%,20%,40%,0.5);
	box-shadow: 1px 2px 8px 2px rgba(20%,20%,40%,0.5);
}
/*-----------------------------------------------.Room_box*/


.Ritem-info .Into {bottom:0;}
.Ritem-type-move .Ritem-hover:hover .Ritem-info:hover .Into {bottom:0px;}
.Ritem-info .view {bottom:0%;}
.Ritem-info:hover .view {bottom:100px;} 

@media only screen and (min-width: 480px) {
.Ritem-info .Into {bottom:0;}
.Ritem-type-move .Ritem-hover:hover .Ritem-info:hover .Into {bottom:0px;}
.Ritem-info .view {bottom:0%;}
.Ritem-info:hover .view {bottom:110px;}
}
@media only screen and (min-width: 768px) {
.Ritem-info .Into {bottom:0;}
.Ritem-type-move .Ritem-hover:hover .Ritem-info:hover .Into {bottom:0px;}
.Ritem-info .view {bottom:0%;}
.Ritem-info:hover .view {bottom:120px;}
}
@media only screen and (min-width: 1024px) {
.Ritem-info .Into {bottom:0;}
.Ritem-type-move .Ritem-hover:hover .Ritem-info:hover .Into {bottom:0px;}
.Ritem-info .view {bottom:0%;}
.Ritem-info:hover .view {bottom:110px;}
}

@media only screen and (min-width: 1280px) {
.Ritem-info .Into {bottom:0px;}
.Ritem-type-move .Ritem-hover:hover .Ritem-info:hover .Into {bottom:0px;}
.Ritem-info .view {bottom:0%;}
.Ritem-info:hover .view {bottom:120px;}

}
.Ritem{
	position: relative;
	clear: none;
	float: left;
	width: calc(100%);
	padding-bottom: 0px;
	margin: 0;
	height: auto; /* 改為 auto，不覆蓋標題 */
	text-align: center;
	border:0;
}
.Ritem-hover,.Ritem-hover .mask,.Ritem-type-move .Ritem-info{clear: none;float: left;width: 100%;height:100%}		
.Ritem-type-move .Ritem-info {z-index:1;color:#ffffff;position:relative;}

.Ritem-hover,.Ritem-hover .mask,.Ritem-img {position:absolute;top:0;left:0;height:100%;}

.Ritem-type-move .Ritem-hover {
	transition: all 0.5s ease-out;
	opacity:1;
	cursor:pointer;
	z-index:2;
}
.Ritem-info .Into{
	position: absolute;
	width: 100%;
	background-color: rgba(0,0,0,0.5);
	font-size: 105%;
	color: #FFF;
	transition: all 0.5s ease-out;
	-webkit-box-sizing: border-box;-moz-box-sizing: border-box;-o-box-sizing: border-box;box-sizing: border-box;
	padding: 0;
	line-height: 30px;
	opacity:0;
}
.Ritem-info:hover .Into{
	position: absolute;
	width: 100%;
	background-color: rgba(0,0,0,0);
	color: #FFF;
	transition: all 0.5s ease-out;
	-webkit-box-sizing: border-box;	-moz-box-sizing: border-box;	-o-box-sizing: border-box;box-sizing: border-box;
	padding: 0;
	opacity:0.8;
	font-weight: bold;	
}
.Ritem-info .Into:after{
  content : '';
  height : 0;
  clear : both;
  display : block;
  visibility: hidden;
}
.Ritem-type-move .Ritem-hover .mask {
	z-index: 0;
	opacity: 0;
	transition: all 0.5s ease-out;
	background-color: #000;	
	}
.Ritem-type-move .Ritem-hover:hover .mask {
	z-index: 0;
	opacity: 0.6;
	transition: all 0.5s ease-out;
	background-color: #000;
}	
	
.Room_box .T1-title{
	clear: both;
	float: left;	
	width: 100%;
	background-color: rgba(204,204,204,0.5);
	font-size: 110%;
	color: #000;
	text-align:center;
	font-weight:bold;
	transition: all 0.5s ease-out;
	-webkit-box-sizing: border-box;	-moz-box-sizing: border-box;	-o-box-sizing: border-box;box-sizing: border-box;
	padding: 2px 0 5px 0;
	line-height: 50px;
	height: 50px;
	opacity: 1;	
}
.Room_box .title_a{
	color: #666;
}

/*-----------------------------------------.Ritem-info .view*/
.Ritem-info:hover .view{
	margin-left: calc(50% - 55px);
	width: 95px;
	height: 95px;
	line-height: 95px;	
	font-size: 90%;
	box-shadow: 0 0 15px #fff;
}

@media only screen and (min-width: 480px) {
.Ritem-info:hover .view{
	margin-left: calc(50% - 55px);
	width: 110px;
	height: 110px;
	line-height: 110px;	
	font-size: 95%;
	box-shadow: 0 0 25px #fff;
} 	
}

@media only screen and (min-width: 768px) {
.Ritem-info:hover .view{
	margin-left: calc(50% - 70px);
	width: 140px;
	height: 140px;
	line-height: 140px;	
	font-size: 115%;
	box-shadow: 0 0 25px #fff;
} 
}
@media only screen and (min-width: 1024px) {
.Ritem-info:hover .view{
	margin-left: calc(50% - 60px);
	width: 120px;
	height: 120px;
	line-height: 120px;	
	font-size: 100%;
	box-shadow: 0 0 25px #fff;
} 
}
@media only screen and (min-width: 1280px) {
.Ritem-info:hover .view{
	margin-left: calc(50% - 60px);
	width: 120px;
	height: 120px;
	line-height: 120px;	
	font-size: 115%;
	box-shadow: 0 0 25px #fff;
}
}	
.Ritem-info .view{
	width: 100%;
	height: 50px;	
	position: absolute;
	font-size: 115%;
	color: #FFF;
	transition: all 0.5s ease-out;
	box-sizing: border-box;
	line-height: 50px;	
	background-color: #333;
	opacity: 0.7;
}
.Ritem-info:hover .view{
	border-radius: 999em;	
	background-color: #660;
	transition: all 0.5s ease-out;
	box-sizing: border-box;
	opacity: 0.9;	
}
.Ritem-info .view .finger{
	position: absolute;
	bottom:0%;
	right:calc(50% - 25px);
	transition: all 0.5s ease-out;	
}
.Ritem-info:hover .view .finger{
	position: absolute;
	bottom:-30px;
	right:-30px;
	transition: all 0.5s ease-out;
}
.Ritem-info .view .finger img{
	width: 55px;
}
.Ritem-info .view .Vinto{
	transition: all 0.5s ease-out;		
	opacity: 0;
}
.Ritem-info:hover .view .Vinto{
	transition: all 0.5s ease-out;	
	opacity: 1;
}
/* News specific styles */
.news-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0 -2%;
    width: calc(100% + 4%);
}
.news-container::after {
    content: "";
    display: table;
    clear: both;
}
/* Index page specific card styles */
.news-container .Room_box {
    float: none !important;
    display: inline-block;
    width: calc(25% - 4% - 2px);
    margin: 15px 2%;
    padding: 0px;
}
@media only screen and (max-width: 1199px) {
    .news-container .Room_box {
        width: calc(33.333% - 4% - 2px);
    }
}
@media only screen and (max-width: 1023px) {
    .news-container .Room_box {
        width: calc(50% - 4% - 2px);
    }
}
@media only screen and (max-width: 767px) {
    .news-container .Room_box {
        width: calc(100% - 8% - 2px);
        margin: 15px 4%;
    }
}
.PHOTO66 {
    position: relative;
    overflow: hidden;
    clear: both;
    float: left;
    width: 100%;
    aspect-ratio: 4/3;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.PHOTO66 img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    min-width: 100%;
    min-height: 100%;
    transform:translate(-50%,-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.date-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px 0 ;
    z-index: 2;
    font-weight: bold;
}
.news-title {
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    background: white;
    color: black;
    margin: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    height: 58px;
    line-height: 1.45;
    overflow: hidden;
    position: relative;
    z-index: 3;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    text-overflow: ellipsis;
}
@media only screen and (max-width: 767px) {
    .Room_box {
        height: auto;
    }
    .PHOTO66 {
        aspect-ratio: 4/3;
    }
    .news-title {
        font-size: 14px;
        height: 48px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
    }
    .date-overlay {
        font-size: 10px;
        padding: 3px 8px;
    }
    .Ritem-hover,.Ritem-hover .mask,.Ritem-img {
        height: 100%;
    }
}/*------------------------------------------------------.Ritem-info .view*/


.t_l
{
	clear: both;
	float: left;
	width: 30%;
	display: block;
	background-color: #660;
	color: #FFF;
	text-align: center;
	padding: 0;
	margin: 1px 0;
	height : 1%;    
	}

.t_r
{
	clear: none;
	float: left;
	width: calc(100% - 30% - 5px);
	display: block;
	background-color: #DFDFDF;
	padding: 0px 0 0px 5px;
	margin: 1px 0;
	color: #333;
	text-align: left;
	height : 1%;    
	}
.t_l:after,.t_r:after{
  content : '';
  height : 0;
  clear : both;
  display : block;
  visibility: hidden;
}
