@charset "utf-8";
/* ======================== ﾌﾜｼ｡ ==========================

	[01]:要素リセット
	[02]:共通スタイル
	[03]:リンクスタイル
	[04]:ヘッダー要素

======================================================== */

/* -------------------------[01]:ショールームスタイル*/
div.floatblock	{ padding: 0 15px 10px; width: 700px; text-align:left; }

div.largeMessage	{ text-align:center; font-size:14px; line-height:20px; }

div.floatblock p	{ margin-bottom:10px; }
div.floatblock .imageblock	{ float:right; padding:5px 5px 5px 15px; }

h4	{ margin:10px 0; }

input[type="radio"] {
	width:20px;
	height:20px;
	margin-top:-1px;
}

input[type="checkbox"] {
	width:18px;
	height:18px;
}

table.nostyle		{ width:100%; margin:0;padding:0; }
table.nostyle th		{ color:#333; padding:3px 5px; text-align:left; background: none !important; font-weight:normal; }
table.nostyle td		{ padding:3px 5px; }

.btn-submit {
	display: block;
	border-radius: 3px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
	background-color: #55838d;
    border-color: #55838d;
	color: #fff;
    width:200px;
    font-size:118%;
    text-align:center;
    padding:12px 0;
    color:#fff;
    text-decoration:none;
    border-radius:3px;
    margin:3px auto;
	cursor: pointer;
}

.layer_board_bg,
.layer_board {
	position: absolute;
}
.layer_board_bg {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 1000;
	top: 0;
	left: 0;
	display: none;
	cursor: pointer;
	background: #000;
}
.layer_board {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	background: #fff;
	text-align: center;
	z-index: 2000;
	padding: 1em;
	max-width: 80%;
}
.layer_board p {
	font-size: 110%;
	text-align: center;
	line-height: 2;
	padding: 0 3em;
	margin-bottom: 1em;
}
.layer_board h3 {
	display: block;
	color: #fff;
	background: #666;
	margin-bottom: 1em;
	padding: 0.6em 0;
	letter-spacing: 0.1em;
}
a.btn_close {
	display: inline-block;
	text-decoration: none;
	color: #fff;
	text-align: center;
	font-size: 110%;
	padding: 0.5em 2em 0.7em 2em;
	background: #003366;
	font-weight: normal;
	border-radius: 5px;
	margin-bottom: 1em;
}

#gray {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100% !important;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 1000;
}
#gray #modal {
	position: absolute;
	top: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	width: 100vw;
	flex-wrap: wrap;

}
#gray #modal img {
	max-width: 80%;
	max-height: 80%;
}

@media screen and (min-width:0px) and (max-width:767px){
	table.table{
		width: 100%;
	}
	table.table th,
	table.table td {
		display: table;
		width: 100%;
		padding-left: 0;
	}
	table.table th {
		background: #999;
		padding: 0;
	}
	table.table td {
		padding: 0 1em;
	}
	table.table td input[type=text] {
		width: 100%;
	}
	table.table td input[type=text].input-short {
		width: 4em;
		display: inline-block;
	}
	table.table td input[type=radio] {
		position: relative;
		top:4px;
		line-height:2em;
	}
	table.table td input[name=build_y],
	table.table td input[name=zip1],
	table.table td input[name=zip2],
	table.table td input[name=phone1],
	table.table td input[name=phone2],
	table.table td input[name=phone3],
	table.table td input[name=fax1],
	table.table td input[name=fax2],
	table.table td input[name=fax3],
	table.table td input[name=sei],
	table.table td input[name=mei],
	table.table td input[name=sei_f],
	table.table td input[name=mei_f] {
		max-width: 4em;
	}
	table.nostyle td input {
		max-width: 4em;
	}
	table.nostyle th {
		background: none;
		display: table;
		width:50%;
		float:left;
	}
	table.nostyle td {
		display: table;
		width:50%;
		float:left;
	}
	table.nostyle td.space {
		display:none;
	}
	.layer_board h3 {
		font-size: 3vmin;
	}
	.layer_board p {
		font-size: 2.5vmin;
		line-height: 1.6;
		padding: 0;
	}
	.layer_board {
		width: 80%;
	}
	#gray #modal {
		position: absolute;
		top: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100vh;
		width: 100%;
		flex-wrap: wrap;

	}
	#gray #modal {
		padding: 10%;
	}
	#gray #modal img {
		max-width: 100%;
	}

}
