@charset "UTF-8";

/** 個別 BOX **/

#QMS_NewsBoxDitail {
	text-align: center;
}

#QMS_NewsBoxDitail .hide_photo {
    display: none;
}

#NewsBox_Top {
	width: 1000px;
	margin: 0 auto;
}

#NewsBox_Top .contents_box {
}

#NewsBox_Top ul {
	width: 100%;
	margin: 50px auto 0 auto;
	padding: 0;
}

#NewsBox_Top ul li {
	width: calc(33.3% - 1em);
	margin: 0 0.5em 1em 0.5em;
	display: inline-block;
	vertical-align: top;
	text-align: left;
	color: #000000;
	overflow: hidden;
	background-color: #ffffff;
	transition: 0.5s;
	border: #cccccc solid;
	border-width: 1px;
}

#NewsBox_Top ul li:hover {
	background-color: #dee3fc;
	transition: 0.5s;
}

#NewsBox_Top ul li a.top_link {
	display: block;
	color: #000000;
}

#NewsBox_Top ul li a.top_link:hover {
	background-color: #dee3fc;
	transition: 0.5s;
}

#NewsBox_Top ul li a.top_link .photo_box {
	position: relative;
	text-align: center;
	margin: 15px 15px 0 15px!important;
	height: 10vw;
	overflow: hidden;
}

#NewsBox_Top ul li a.top_link .photo_box .main_photo {
	width: 100%;
	height: 10vw;
	transition: 0.2s;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background-size: cover;
	background-position: center;
}

#NewsBox_Top ul li a.top_link:hover .photo_box .main_photo {
	transform: scale(1.1)  translateY(-50%);
	transition: 0.2s;
}

#NewsBox_Top ul li a.top_link:hover {
	text-decoration: none;
}


#NewsBox_Top ul li a .comment .arrow {
	margin: 0 10px 0 0;
	vertical-align: middle!important;
}


/* リストページ */
#NewsBox_List {
    margin: 0 auto 100px auto;
}

#NewsBox_List ul li {
    width: calc(20%  - 1em);
    margin: 0 0.5em 1em 0.5em;
    display: inline-block;
}

#NewsBox_List ul li a {
    width: 100%;
    display: inline-block;
}

#NewsBox_List ul li a:hover {
    text-decoration: none;
    border: #aaaaaa solid;
    border-width: 1px;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, .5);
}

#NewsBox_List ul li .title {
    text-align: center;
    font-weight: 400;
    display: inline-block;
    width: 100%;
    margin: 0 auto 0.5em 0;
}

#NewsBox_List ul li .box_photo {
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    height: calc(20vw * 0.7);
    position: relative;
}

#NewsBox_List ul li .box_photo div {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
    transition: 0.2s;
    display: block;
    position: absolute;
}

#NewsBox_List ul li .box_photo div:hover {
    transform: scale(1.1);
}

#NewsBox_Top ul li .box_photo .cat_tag,
#NewsBox_List ul li .box_photo .cat_tag {
    display: inline-block;
    position: absolute;
    bottom: 0;
    padding: 0.5em 1em;
    width: 100%;
    text-align: center;
    background-color: rgba(0,0,0,0.5)!important;
    font-size: 100%;
}

#NewsBox_Top ul li .box_photo .pickup,
#NewsBox_List ul li .box_photo .pickup {
    position: absolute;
    margin: 1em 0 0 1em;
    top:0;
}

.product_cat {
    padding: 0.5em 0 0.5em 0;
    background-color: #000000;
    text-align: center;
    margin: 0 auto 1em auto!important;
}

#NewsBox_Top .product_cat,
#NewsBox_List .product_cat {
    margin: 0 0.5em 1em 0.5em!important;
}

.product_cat a {
    padding: 0.5em;
    margin: 0 0.5em 0 0;
    color: #ffffff;
}

.product_cat a img {
    vertical-align: middle;
    margin: 0 0.5em 2px 0;
}

/* ディテールページ */
#NewsBox_Detail {
    border: #000000 solid;
    border-width: 0; /*List liがないため*/
}

#NewsBox_Detail h2 span.pickup {
    display: inline-block;
    font-size: 80%;
    padding: 5px 1em;
    margin: 0 0 0 0.5em;
    border-radius: 5px;
}

#NewsBox_Top ul li .box_photo .pickup,
#NewsBox_List ul li .box_photo .pickup {
    margin: 0.5em 0 0 0.5em;
}

#NewsBox_Detail h2 .cat_tag {
    margin: 0 0 0 1em;
    padding: 3px 1em 5px 1em;
    float: right;
}

.category_link {
    margin: 0 0.5em 0.5em 0.5em;
}

.category_link a {
    display: inline-block;
    padding: 0.2em 0.5em;
    font-size: 90%;
    background-color: #000000;
    color: #ffffff;
    line-height: 0;
    margin: 0 2px 0.5em 0;
    border-radius: 4px;
}

.category_link a span {
    display: inline-block;
    vertical-align: middle;
}

.category_link a span img {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px 0 0;
}

/*lity PopUp*/

.DitailPopUp {
    color: #ffffff;
    position: relative;
    max-height: calc(100vh - 100px)!important;
    display: block;
    width: 73vw;
    margin: 50px auto;
    padding: 0 0 1em 0;
    overflow: auto;
}

.DitailPopUp img,
.DitailPopUp iframe,
.DitailPopUp .text {
    width: 70vw;
}

.DitailPopUp iframe {
    height: calc(70vw * 0.5625);
}

.DitailPopUp img {
    display: block;
    margin: 0;
}

.DitailPopUp iframe {
    display: block;
    position: relative;
    margin: 0 auto;
    margin: 0 0 1em 0;
}

.DitailPopUp a {
    color: #a0d8ef;
}

/* Lity用 */

#PropertyPhotoBox {
	width: 100%;
	margin: 0 20px 20px 0;
	display: inline-block;
	text-align: center;
}

.Main_Photo {
	width: 80%;
	border-radius: 20px;
}

.comment-detail2 {
	width: 100%;
}

.comment-detail3 {
	width: 100%!important;
}

#NewsBox_Detail .column {
	display: inline-block;
	width: 10%;
    overflow: hidden;
    position: relative;
	border: #cccccc solid;
	border-width: 1px;
	margin:  10px 5px;
}

#NewsBox_Detail .column1 a {
    position: relative;
    left: auto;
    top: auto;
    transform: translate(0,0);
	display: block;
}

#NewsBox_Detail .column a img {
    width: 100%;
    transition: 0.2s;
}

#NewsBox_Detail .column a:hover img {
    transform: scale(1.1);
    transition: 0.2s;
}

#NewsBox_Detail .column a .zoom_click {
	text-align: center;
	position: absolute;
	background-color: #000000;
	color: #FFff00;
	z-index: 100;
	opacity: 0;
    transition: 0.2s;
	padding: 0.5em;
	font-size: 80%;
	line-height: 1em;
	right: 0;
	bottom: 0;
}

#NewsBox_Detail .column a:hover .zoom_click {
    transition: 0.2s;
	opacity: 1;
}

#NewsBox_Detail .column a .zoom_txt {
	text-align: center;
	position: relative;
	width: 100%;
	top: 50%;
	transform: translateY(-50%);
	color: #ffffff;
}

#NewsBox_Detail .QMS_NewsBox_detail {
	width: 1000px;
	margin: 2em auto 0 auto;
	display: block;
	position: relative;
}

#NewsBox_Detail .QMS_NewsBox_detail h2 {
	text-align: center;
}

#NewsBox_Detail .comment-detail1 {
	display: none!important;
}

#NewsBox_Detail .QMS_NewsBox_detail iframe {
	width: 1000px;
	margin: 1em auto 0 auto;
	padding: 0;
	display: block;
	position: relative;
	border: #dedede solid!important;
	border-width: 1px!important;
}

#NewsList iframe {
	width: 1000px;
	height: 562.5px;
	margin: 20px auto 0 auto;
}

#QMS_NewsBoxPhotoBox {
	text-align: center;
	width: 100%;
	padding: 20px 10px 10px 10px;
	border: #000000 solid;
	border-width: 0 0 1px 0;
}

.lity-content {
	color: #ffffff;
}

.lity-content .Ditail1 .lity_comment {
	display: none;
}

.lity-content img {
    background-color: #ffffff;
    max-height: 80vh;
    max-width: 100%;
}

.ditail_bottom {
	text-align: center;
	margin: 0 auto 0 auto;
}

.ditail_bottom .calenderBox {
	text-align: left;
	display: inline-block;
}

.ditail_bottom .btnBox {
	border: #000000 solid;
	border-width: 1px 0 0 0;
	margin: 50px auto 0 auto;
	width: 1000px;
}

.ditail_bottom a.btn {
	color: #000000;
	border: #000000 solid;
	display: inline-block;
	border-width: 1px;
	padding: 10px;
	margin: 20px 10px 0 10px;
	width: 10em;
}

.br_count {
    display: none;
}

.br_count5,
.br_count9,
.br_count13,
.br_count17,
.br_count21 {
    display: inline;
}


/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 1680px) {
/* ------------------------------------------------------ */

}

/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 1536px) {
/* ------------------------------------------------------ */

}

/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 1440px) {
/* ------------------------------------------------------ */

}

/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 1336px) {
/* ------------------------------------------------------ */
.pickup {
    display: inline-block;
    font-size: 70%;
}
}

/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 1250px) {
/* ------------------------------------------------------ */

.ditail_bottom .btnBox {
	width: 100%;
	padding: 0 50px;
}

.ditail_bottom {
	text-align: center;
	margin: 0 auto 50px auto;
}

}

/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 1024px) {
/* ------------------------------------------------------ */

#NewsBox_Top {
	width: 100%;
	margin: 0;
}

}

/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 960px) {
/* ------------------------------------------------------ */
#QMS_NewsBoxPhotoBox {
	text-align: left;
}

#NewsBox_Detail .QMS_NewsBox_detail {
	width: 100%;
}

#NewsBox_Detail .QMS_NewsBox_detail iframe {
	width: 100%;
}

}

/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 810px) {
/* ------------------------------------------------------ */

}

/* ------------------------------------------------------ */
/* Media Query for Lenobo to SmartPhone */
@media only screen and (max-width : 600px) {
/* ------------------------------------------------------ */
.product_cat {
    text-align: left;
}

#NewsBox_Top {
    margin: 0 auto 0 auto;
	padding: 0 15px 50px 15px!important;
	width: 100%;
}

#NewsBox_Top ul {
	width: 100%;
}

#NewsBox_Top ul li {
	width: calc(50% - 1em);
	margin: 0 0.5em 1em 0.5em;
	font-size: 80%;
}
    
    #NewsBox_Top ul li a .titile {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
    }
	
	#NewsBox_Top ul li a.top_link .photo_box {
		margin: 10px 10px 0 10px!important;
		height: 18vw;
	}
	
	#NewsBox_Top ul li a.top_link .photo_box .main_photo {
		height: 18vw;
	}
	
	#NewsList_Detail .Detail_contents .contents_block .Detail_photo {
		width: 100%!important;
	}
	
	#NewsBox_Top .txtBox {
		padding: 10px;
	}

.pickup {
    font-size: 60%;
    width: calc(100% - 1em);
    text-align: center;
}

/*lity PopUp*/

.DitailPopUp {
    color: #ffffff;
    position: relative;
    max-height: calc(100vh - 100px)!important;
    display: block;
    width: 92vw;
    margin: 50px 0 50px 0.8em;
    padding: 0 0 1em 0;
    overflow: auto;
}

.DitailPopUp img,
.DitailPopUp iframe,
.DitailPopUp .text {
    width: 90vw;
}

.DitailPopUp iframe {
    height: calc(90vw * 0.5625);
}
    
.top_object h1 {
    line-height: 1.3em;
    margin: 0 auto 10px auto;
}
	
	.Main_Photo {
		position: relative;
		left: auto;
		width: 80%;
		margin: 0 auto 10px auto;
		display: block;
}

/* ディテールページ */
#NewsBox_Detail {
    padding: 150px 25px 0 25px!important;;
}
	
    #NewsBox_Detail .column a {
	display: inline-block;
	width: 100%;
    position: relative;
    left: auto;
    top: auto;
    transform: translate(0,0);
}
	
    #NewsBox_Detail .column1 {
        width: 100%;
    }
    
    #NewsBox_Detail .comment_box1 {
        width: 100%;
        float: none;
        margin: 0 auto 10px auto;
    }
    
    #NewsBox_Detail .column {
        width: calc(25% - 4px);
        height: auto;
		display: inline-block;
		vertical-align: top;
		border-width: 0px;
		margin: 2px;
    }
    
    .ditail_bottom a.reserv_btn {
        width: 100%!important;
    }
    
    .ditail_bottom a.reserv_btn img {
        margin: 5px auto;
        height: 2em;
    }
	
	table#QMS_NewsBox tr th,
	table#QMS_NewsBox tr td {
		display: block;
		width: 100%;
	}
	

	table#QMS_NewsBox tr td {
		padding: 10px;
	}

#PropertyPhotoBox {
	width: 100%;
	margin: 0 auto 20px auto;
}
	
	.Main_Photo {
		width: 100%;
	}
	
	.comment-detail2,
	.comment-detail3 {
		width: 100%;
		display: block;
	}

.ditail_bottom .btnBox {
	border: #000000 solid;
	border-width: 0;
	width: 100%;
}

.ditail_bottom {
	text-align: center;
}

.ditail_bottom a.btn {
	margin: 5px 0;
	width: 100%
}

}

/* ------------------------------------------------------ */
/* Media Query for FAX iPhoneSE */
@media only screen and (max-width : 320px) {
/* ------------------------------------------------------ */

.top_object .inner {
	width: 95%;
}

}