@charset "shift_jis";
/* CSS for detail pict */

h1, h2, h3, h4, h5, h6 {
	margin:0;
	padding:0;
}

input{ 
	height:40px;
	font-size:14px;
}

body{
	background-image: url(/images/common/chintai_pict/bgimg_body.gif);
}

img{ border:0;}

/*全体*/
#wrapper{
	width: 900px;
	margin: 0px auto;
	/*border:1px solid;*/
	background-color: #ffffff;
	padding:20px;
	text-align:center;
}
#wrapper .title{
	background-image: url(/images/common/chintai_pict/bgimg_title.gif);
	background-repeat: no-repeat;
	background-position: left;
	font-size: 16px;
	font-weight: bold;
	text-align:left;
	height: 40px;
	padding-left: 20px;
	padding-top: 15px;
	margin-top: 20px;
}

/*サムネイル画像table*/
#thumbnail{
	width:100%;
	border:thin solid;
	font-size: 14px;
} 
#thumbnail td{text-align:center} 
#thumbnail .caption td{
	font-size: 14px;
	padding-bottom: 10px;
}
#thumbnail img{border:1px solid}

/* 間取図　最大表示サイズ */
img.madori {
	max-height: 400px;
	max-width: 700px;
}
/* 地図　最大表示サイズ */
img.map {
	max-height: 500px;
	max-width: 700px;
}

@media screen,tv{
.print {display:none}

/*マンション名*/
#ms-name{
	background-image: url(/images/common/chintai_pict/bgimg_ms-name.gif);
	height: 60px;
	text-align: left;
	font-size: 16px;
	background-position: left;
	background-repeat: no-repeat;
	padding-left: 20px;
}
#ms-name a{
	color: #000000;
	text-decoration:none;
}
}

/* Lightbox */
.lb-nav a.lb-prev,
.lb-nav a.lb-next {
	opacity: 0.5;
}
.lightbox {
	width: 80vh;
	height: 80vh;
	top: 10vh !important;
	left: 50% !important;
	transform: translateX(-50%);
	position: fixed;
	display: grid;
	grid-template-rows: auto 50px;
}
.lb-outerContainer {
	width: 100% !important;
	height: auto !important;
	flex: 1;
	overflow: hidden;
}
.lb-container {
	width: 100%;
	height: 100%;
	border: solid 4px white;
	box-sizing: border-box;
}
.lightbox .lb-image {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	border: none;
}

@media print{
.screen{ display:none;}
body { background-image:none; background-color: white;}
.print {
    margin: 0;
    padding: 0;
    width: 165mm;
    max-width: 100%;
    min-width: 80%;
    margin: 0 auto;
    font-size: 11pt;
}
#wrapper{
	width: 165mm;
	margin: 0;
	padding: 0;
	max-width: 100%;
	min-width: 80%;
	float: left;
}
#ms-name{
	text-align: left;
	font-size: 18px;
}

#madori{
	max-width:100mm;
	max-height:50mm;
	display:block;
	margin-left:0;
}

#map{
	max-width:150mm;
	display:block;
	margin-left:0;
}

#header{text-align:left;}

#wrapper .title{
	margin-top: 10px;
	page-break-after:avoid;
}

}
