@charset "utf-8";

/* ------------------------------
 メインイメージ（PC）
------------------------------ */
.imageBox01In {
	background: url(../img/ordermade/hiraya_img01.jpg) no-repeat center top / cover;
}
@media print, screen and (min-width: 768px) {
	.imageBox01 .logo {
		top: 15%;
		bottom: auto;
		left: 5%;
		right: auto;
	}
	#no02 .imageOn.right,
	#no03 .imageOn.left,
	#no04 .imageOn.right {
		top: 10%;
		bottom: auto;
	}
	#no02 .imageOn.right,
	#no04 .imageOn.right {
		right: 5%;
	}
	#no03 .imageOn.left {
		left: 5%;
	}
	.contentsOrdermade #no02 .scroll a {
		text-shadow: 0px 2px 3px rgba(0,0,0,.5);
	}
	.contentsOrdermade #no02 .scroll a::before {
		margin-bottom: 5px;
		box-shadow: 2px -3px 4px 0 rgba(0,0,0,.3)
	}
}
/* ------------------------------
 メインイメージ（SP）
------------------------------ */
@media screen and (max-width: 767px) {
	.imageBox01In {
		background-image: url(../img/ordermade/hiraya_main_sp.jpg);
	}
}

/* ------------------------------
 モーダルウィンドウ（PC）
------------------------------ */
.cms_block > .cms_text.modBox {
	position: relative;
}
.cms_block > .cms_text.modBox::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 56px;
	height: 56px;
	background: url(/shared/img/icon_arrow.png) center center no-repeat;
}
.cms_block > .cms_text.modBox a {
	cursor: pointer;
}
.cms_block > .cms_text.modBox a:hover {
	opacity: .7;
	text-decoration: none;
}
.modal-syncer {
	display: block;
}
.modal-content {
	display: none;
	position: fixed;
	z-index: 2000 !important;
	width: 726px;
	margin: 0;
	padding: 50px 40px;
	border-color: #999;
	background-color: #fff;
	color: #000;
	text-align: left !important;
}
.modal-content small {
	display: block;
	margin-top: 5px;
	font-size: 1.6rem;
}
#modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	height: 120%;
	background-color: rgba(245, 244, 240, .9);
}
.modalBlock .cms_text .btn-a.blue a:hover {
	opacity: 1;
	background-color: #335c85 !important;
}
a.modal-close {
	position: absolute;
	right: 10px;
	top: 10px;
	width: auto;
	min-width: auto;
	height: auto;
	padding: 0;
	border: none;
	background: none;
	color: #000;
	line-height: 1.2;
	cursor: pointer;
}
a.modal-close::before {
	margin-right: 10px;
	color: #cc4b1f;
}
a.modal-close:hover {
	background: none;
	color: #cc4b1f;
}
.cms_block.modalBlock {
	/* ここを static に */
	position: static !important;
}
/* ------------------------------
 モーダルウィンドウ（SP）
------------------------------ */
@media screen and (max-width: 767px) {
	#header-sticky-wrapper {
		position: relative;
	}
	.modal-content {
		overflow: scroll;
		width: 90% !important;
		max-height: 76%;
		padding: 40px 20px 20px;
	}
	.modal-content h3 {
		margin-bottom: 20px;
		font-size: 2.4rem;
	}
	.modal-content small {
		font-size:1.4rem;
	}
	.modal-content .btn-a.blue.btnList a {
		min-width: 100%;
		max-width: 250px;
		margin: 0;
		margin-bottom: 20px;
	}
	.button-link {
		margin-top: 20px;
	}
	#bggr {
		 /* ここを static に */
		position: static !important;
	}
}
@media screen and (max-width:320px) {
	#modal-content-01,
	#modal-content-02,
	#modal-content-03,
	#modal-content-04,
	#modal-content-06,
	#modal-content-07,
	#modal-content-08{
		top: 50px !important;
	}
}

/* ------------------------------
 youtube（SP）
------------------------------ */
@media screen and (max-width: 767px) {
	.cms_text iframe {
		height:330px;
	}
}
@media screen and (max-width: 480px) {
	.cms_text iframe {
		height:200px;
	}
}

/* ------------------------------
 内観実例集（PC）
------------------------------ */
.cms_block.photosHeading {
	width: 100%;
	padding: 90px 0 30px;
	background: #efebe2;
}
.cms_block.photosHeading h2 {
	margin-bottom: 0;
	border-bottom: none;
	text-align: center;
}
.cms_block.photosHeading h2::before {
	left: 0;
	right: 0;
	margin: auto;
}
.cms_block.photosBox {
	width: 100%;
	background: #efebe2;
}
@media print,screen and (min-width:768px) {
	.cms_block.photosBox {
		display: flex;
		justify-content: center;
		padding: 0;
	}
	/*.cms_block.photosBox + .cms_block.photosBox {
		padding-bottom: 90px;
	}*/
	.cms_block.photosBox.pb90 {
		padding-bottom: 90px;
	}
	.cms_block.photosBox .cms_image.w390 {
		margin-bottom: 30px;
	}
	.cms_block.photosBox .cms_image.w390:not(:first-child) {
		margin-left: 25px;
	}
}
/* ------------------------------
 内観実例集（SP）
------------------------------ */
@media screen and (max-width: 767px) {
	.cms_block.photosHeading {
		padding: 45px 5% 20px;
	}
	.cms_block.photosBox {
		padding: 0 5%;
	}
	/*.cms_block.photosBox + .cms_block.photosBox {
		padding-bottom: 30px;
	}*/
	.cms_block.photosBox.pb90 {
		padding-bottom: 30px;
	}
	.cms_block.photosBox .cms_image.w390 {
		margin-bottom: 15px;
	}
}