/*###########################################################################################*/
/* MAINVISUAL */
/*###########################################################################################*/

/* mainvisual */

.detail-bukken .mainvisual .slide-animation img{
	max-height: 500px;
}

@media (max-width: 991px) {
	/* 幅991px以下に適用されるCSS（SP・TB） */

	.detail-bukken .mainvisual .btn-wrap{
		padding: 0 4%;
	}
}

.detail-bukken .mainvisual .inner{
	position: relative;
}
.detail-bukken .mainvisual .inner.top{
	padding: 0;
}
.detail-bukken .mainvisual .inner.top .wrap-btn{
	padding: 0 4%;
}
.detail-bukken .mainvisual .caption{
	background: #005c00;
	color: #fff;
	padding: 2rem;
	font-size: 2rem;
}
.detail-bukken .mainvisual .info-list-item{
	margin-bottom: 1rem;
}
.detail-bukken .mainvisual .info-list-item .title{
	width: 8rem;
	border: 1px solid #aaa;
	padding: 0.5rem 1rem;
	margin-right: 1rem;
	display: inline-block;
	text-align: center;
}
.detail-bukken .mainvisual .staff{
	background: #f0f0f0;
	padding: 1rem;
	display: flex;
	align-items: center;
}
.detail-bukken .mainvisual .staff .thumbnail{
	width: 50px;
}

/* merit-icon */

.merit-icon{
	display: flex;
	flex-wrap: wrap;
	position: relative;
}
.merit-icon .merit-icon-item{
	border: 1px solid #b4b4b4;
	font-size: 1.1rem;
	line-height: 2;
	margin: 0 5px 5px 0;
	padding: 0 5px;
}
.merit-icon .merit-icon-item.type{
	font: 1.1rem imperial-urw, sans-serif;
	line-height: 2;
}

@media screen and (min-width:992px) {
	/* 幅992px以上に適用されるCSS（PCサイズ以上） */

	.merit-icon {
		margin-bottom: 50px;
	}

	.detail-bukken .mainvisual .inner.top{
		max-width: 1000px;
		padding: 0;
	}

	.detail-bukken .mainvisual .caption{
		position: absolute;
		width: 500px;
		top: -8rem;
		padding: 6rem;
		line-height: 2;
	}
	.detail-bukken .mainvisual .slide-animation img{
		height: 500px;
	}

	.detail-bukken .photo img{
		max-height: 500px;
	}
}

/*###########################################################################################*/
/* 物件画像 */
/*###########################################################################################*/

/* メイン画像 */

.img-main .thumbnail img{
	height: 400px;
	width: auto;
}

/* youtube */
.section.gallery iframe{
	max-width: 100%;
}

/* ギャラリー */

.img-area{
	margin-bottom: 10px;
	border:none;
	border-left:none;
	border-right:none;
}

.img-area figcaption{
	display: none;
}

.img-area .swiper-button-next, .img-area .swiper-button-prev {
	color: #FFF;
	font-size: 25px;
	background: rgba(0,0,0,0.3);
	padding: 10px 3px;
	height: 25px;
	text-align: center;
	box-sizing: content-box;
	line-height: 1;
}

.img-area .swiper-button-next {
	right: 0;
}
.img-area .swiper-button-prev {
	left: 0;
}
.img-area .swiper-button-next.swiper-button-disabled, .img-area .swiper-button-prev.swiper-button-disabled {
	pointer-events: auto;
}
.img-area .big-image img {
	width: 100%;
	height: auto;
}
.img-area .my-gallery {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
.img-area figure{
	position: relative;
	width: 100%;
	height: 300px;
	background: #fff;
}
.img-area figure a {
	display: block;
	text-align: center;
}
.img-area figure a i{
	position: absolute;
	right: 10px;
	bottom: 20px;
	width: 18px;
	height: 18px;
	background: rgba(0,0,0,0.3);
	padding: 8px;
	border-radius: 5px;
	color: #FFF;
	font-size: 18px;
	line-height: 1.1;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}
.img-area .img_count {
	position: absolute;
	left: 10px;
	bottom: 20px;
	background: rgba(0,0,0,0.3);
	padding: 6px 8px;
	border-radius: 5px;
	color: #FFF;
	font-size: 14px;
}

/*サムネ*/

.img-area [class*="gallery-thumbs"] {
	margin-top: 5px;
	box-sizing: border-box;
}

[class*="gallery-thumbs"] .swiper-slide {
	height: 55px;
	height: 15vw;
	opacity: 0.8;
	background-size: cover;
}

[class*="gallery-thumbs"] .swiper-slide span {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
}

[class*="gallery-thumbs"] .swiper-slide-thumb-active {
	position: relative;
}

[class*="gallery-thumbs"] .swiper-slide-thumb-active span {
	background: none;
	border: 4px solid #005c00;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.pswp__img {
	object-fit: contain;
}

@media (max-width: 991px) {
	/* 幅991px以下に適用されるCSS（SP・TB） */

	.section.photo .thumbnail{
		height: 250px;
		overflow: hidden;
	}
}

@media screen and (min-width:992px) {
	/* 幅992px以上に適用されるCSS（PCサイズ以上） */

	/* メイン画像 */
	.img-main{
		display: flex;
		justify-content: space-between;
	}
	.img-main .item{
		width: 48%;
	}

	/* ギャラリー */

	.img-area figure {
		height: 540px;
	}
}


/*###########################################################################################*/
/* SPEC */
/*###########################################################################################*/
.detail-bukken .line-table th{
	width: 35%;
	position: relative;
}

@media all and (-ms-high-contrast: none) {
	/* IEハック */

	.detail-bukken .line-table th{
		position: static;
	}
}


/*###########################################################################################*/
/* SIMULATION */
/*###########################################################################################*/
.simulation .table {
	width: 100%;
}
.simulation .table .title .item{
	background: #f0f0f0;
	text-align: center;
}
.simulation .table .item {
	border: solid 1px #ccc;
}
.simulation input{
	border: 0;
	width: 100px;
	padding: 1rem;
	background: #f0f0f0;
	margin-right: 1rem;
}
.simulation .calc-result{
	font-size: 1.6rem;
}

@media (max-width: 991px) {
	/* 幅991px以下に適用されるCSS（SP・TB） */

	.simulation .table tr {
		display: block;
	}
	.simulation .table tr td,
	.simulation .table tr th {
		display: block;
		height: 6rem;
		line-height: 6rem;
	}
	.simulation .table .title {
		display: block;
		float: left;
		width: 150px;
	}
	.simulation .table .val input{
		margin-left: 2rem;
	}
	.simulation .col-list .item.middle{
		margin: 2rem 0;
	}
}

@media screen and (min-width:992px) {
	/* 幅992px以上に適用されるCSS（PCサイズ以上） */

	.simulation .inner{
		width: 800px;
		margin: 0 auto;
	}
	.simulation .table {
		text-align: center;
	}
	.simulation .table .title .item{
		padding: 2rem 0;
	}
	.simulation .table .val .item{
		padding: 1rem 0;
	}
	.simulation .table .val.ret .item{
		padding: 1.8rem 0;
	}
	.simulation .col-list .item.left{
		width: 60%;
	}
	.simulation .col-list .item.middle{
		width: 20%;
		padding: 0 2rem;
	}
	.simulation .col-list .item.middle .btn{
		width: auto;
		height: 100%;
	}
	.simulation .col-list .item.right{
		width: 20%;
	}
}


/*###########################################################################################*/
/* CONTACT */
/*###########################################################################################*/

.contact-form .title {
	font-weight: 700;
}

.detail-bukken-wrap .section-contact .wrap-btn{
	margin-bottom: 0;
}

.detail-bukken-wrap .section-contact .text-wrap{
	background: #f8f8f8;
	margin: 5% 0 0;
	padding: 4%;
}

.detail-bukken-wrap .section-contact h2{
	text-align: center;
}

/* section-bukken-thanks */

.section-bukken-thanks{
	text-align: center;
}

/* 物件問合せ */

@media screen and (min-width:992px) {
	/* 幅992px以上に適用されるCSS（PCサイズ以上） */

}

/*###########################################################################################*/
/* 特集物件（TOPIC） */
/*###########################################################################################*/

.list-topic .list-title{
	display: flex;
	justify-content: center;
}
.list-topic .list-title .item{
	width: 22%;
	font-size: 1.6rem;
	font-weight: bold;
	text-align: center;
}

.list-topic .list-title .item .active{
	color: #005c00;
}

.list-topic .list-parts .item{
	margin-bottom: 5rem;
}

@media screen and (min-width:768px) {
	/* 幅768px以上に適用されるCSS（タブレットサイズ以上）*/

	.list-topic .list-parts{
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	.list-topic .list-parts .item{
		width: 48%;
	}
	.list-topic .list-parts .thumbnail,
	.list-topic .list-parts .thumbnail img{
		height: 200px;
		width: 100%;
	}
}
@media screen and (min-width:992px) {
	/* 幅992px以上に適用されるCSS（PCサイズ以上） */

	.list-topic .list-parts .item{
		width: 30%;
	}
	.list-topic .list-parts .thumbnail,
	.list-topic .list-parts .thumbnail img{
		height: 150px;
	}
}