﻿@charset "utf-8";
body {
	font-family: Verdana, "Hiragino Kaku Gothic Pro", osaka, メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.stepbox {
	max-width: 940px;
	margin: 0 auto;
}
.stepbox ol {
	display: flex;
	overflow: hidden;
}
.stepbox li {
	flex: 1 0 auto;
	position: relative;
	background-color: #999;
	padding: 14px 0;
	font-size: 215.4%;
	text-align: center;
	color: #fff;
}
.stepbox li span {
	display: inline-block;
	padding-right: 0.4em;
	font-size: 71.5%;
}
.stepbox li:not(:first-child)::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 50%;
	transform: translateY(50%);
	border-style: solid;
	border-width: 26px 0 26px 33px;
	border-color: transparent transparent transparent #fff;
}
.stepbox li:not(:first-child)::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 50%;
	transform: translateY(50%);
	border-style: solid;
	border-width: 23px 0 23px 30px;
	border-color: transparent transparent transparent #999;
}
.stepbox .active ~ li {
	background-color: #dfdfdf;
	color: #333;
}
.stepbox .active ~ li::after {
	border-left-color: #dfdfdf;
}
.stepbox .active {
	background-color: #5B9D6B;
}
.stepbox .active + li::after {
	border-left-color: #5B9D6B;
}
.stepbox.fixed {
	position: fixed;
	z-index: 10;
	top: 0;
	right: 50%;
	transform: translateX(50%);
	width: 940px;
	border-bottom: 1px solid #fff;
}
@media screen and (max-width: 700px) {
	.stepbox li {
		padding: 10px 0;
		font-size: 153.9%;
	}
	.stepbox li:not(:first-child) {
		padding-left: 21px;
	}
	.stepbox li:not(:first-child)::before {
		border-left-width: 21px;
	}
	.stepbox li:not(:first-child)::after {
		border-left-width: 18px;
	}
	.stepbox.fixed {
		width: 100%;
	}
}

/* showroom_form
----------------------- */

#mainContent h2.form_h1{
	max-width: 922px;
	min-height: 76px;
	margin: 30px 0;
	padding: 30px 0;
	font-size: 2.5em;
	/*font-family: "YuMincho M", "Yu Mincho Medium", YuMincho,"Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HGS明朝E", Georgia, "Times New Roman", Times, serif;*/
	font-weight: normal;
	border-bottom: 15px solid #5B9D6B;
	background: url(../form/images/form_h1_bg.png) no-repeat right bottom;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#mainContent h3.ev_title{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 922px;
	padding: 0;
	margin-top: 20px;
	background-color: #FBFACF;
	border:#DFDFDF 1px solid;
	line-height: 1;
}
#mainContent h3.ev_title span{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	padding: 10px 20px;
	background-color: #5B9D6B;
	color: #fff;
	font-size: 1.1em;
	font-weight: bold;
}
#mainContent h3.ev_title strong{
	display: block;
	padding: 25px 20px;
	color: #DD5151;
	font-size: 1.3em;
	font-weight: bold;
}

.caution{
	margin-right:20px;
	border:1px dotted #b2b2b2;
	overflow:hidden;
	font-size:0.9em;
}

.caution ul{
	margin:20px;
	padding: 10px;
}
.caution li{
	text-align:left;
	list-style:none;
	text-indent:-1em;
	/*margin-left:1em;*/
}

.form-table{
	border:#DFDFDF 1px solid;
	width:100%;
	margin-top: 20px;
	border-collapse: collapse;
	max-width:920px;
}
.form-table th{
	position: relative;
	width: 30%;
	border:#DFDFDF 1px solid;
	background:#5B9D6B;
	padding:12px 55px 12px 15px;
	color: #fff;
	vertical-align:top;
	font-weight: bold;
	font-size: 107.7%;
}
.form-table th.required:after{
	position: absolute;
	display: block;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	top: 12px;
	right: 10px;
	content: '必須';
	padding: 5px;
	color: #DD5151;
	font-size: 85.8%;
	line-height: 1;
	background-color: #fff;
}
.form-table td{
	border:#DFDFDF 1px solid;
	background:#ffffff;
	padding:12px 15px;
	width:65%;
	vertical-align: middle;
}
.form-table li{
	margin-bottom:5px;
}
.radiobotton{
	margin-right:5px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: 40px;
	border: 2px solid #ccc;
	border-radius: 4px;
	padding: 5px;
	font-size: 123.1%;
	font-family: inherit;
}

.input_l{
	width: 454px;
}
.input_m{
	width: 200px;
}
.input_ss{
	width: 68px;
}

.red {
	color: #cc0000;
	text-indent: -1em;
	padding-left: 1em;
	margin: 10px;
	line-height: 1.5;
	font-size: 83.4%;
}

input[type="number"] {
    -moz-appearance:textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
label {
	display: inline-block;
	position: relative;
}
input[type="radio"],
input[type="checkbox"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: none;
	background-color: transparent;
	opacity: 0;
	margin: 0;
	padding: 0;
	position: absolute;
	z-index: -1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
input[type="radio"] + .label {
	display: block;
	padding: 7px 12px 7px 30px;
	background: url(../form/images/radio-off.png) -7px 0 no-repeat;
	background-size: 35px 35px;
	cursor: pointer;
}
input[type="radio"]:checked + .label {
	background-image: url(../form/images/radio-on.png);
}
input[type="checkbox"] + .label {
	display: block;
	padding: 7px 12px 7px 30px;
	background: url(../form/images/check-off.png) -8px 0 no-repeat;
	background-size: 35px 35px;
	cursor: pointer;
}
input[type="checkbox"]:checked + .label {
	background-image: url(../form/images/check-on.png);
}
.form-table .question {
	counter-increment: q;
}
.form-table .question + .question {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px dotted #ccc;
}
.form-table .question dt {
	display: flex;
	color: #777;
}
.form-table .question dt::before {
	display: block;
	content: "Q" counter(q) ")";
	flex: 0 0 auto;
}
.form-table .question dt span {
	flex: 1 1 0%;
	min-width: 0;
	padding-left: 0.5em;
}
.form-table .checkList {
	display: flex;
	flex-wrap: wrap;
}
.form-table .checkList li {
	flex: 0 0 54%;
	margin: 12px 0 0;
}
.form-table .checkList li:nth-child(even) {
	flex-basis: 46%;
}
.form-table .checkList .long:nth-child(n) {
	flex: 1 0 100%;
}
.form-table .checkList .short:nth-child(n) {
	flex: 1 0 auto;
}
.form-table .checkList .short02:nth-child(n) {
	flex: 0 0 33.33%;
}
.form-table .checkList label {
	display: block;
}
.form-table .checkList .label {
	line-height: 1.4;
	padding-right: 0;
}

.agreement {
	margin: 40px 0;
	max-width: 920px;
}
.agreeText {
	border-top: 1px solid #DFDFDF;
	border-left: 1px solid #DFDFDF;
	border-right: 1px solid #DFDFDF;
	padding: 20px 16px 16px;
}
.agreeText::after {
	content: "";
	display: block;
	clear: both;
}
.agreeText ul {
/*
	width: 768px;
	float: left;
*/
}
.agreeText li {
	text-indent: -1em;
	padding-left: 1em;
}
.agreeText li + li {
	margin-top: 8px;
}
#mainContent .agreeText .f-rit {
	padding-right: 0;
}
.agreement .checkbox {
	border-top: 1px dotted #dfdfdf;
	border-left: 1px solid #DFDFDF;
	border-right: 1px solid #DFDFDF;
	border-bottom: 1px solid #DFDFDF;
	text-align: center;
}
.agreement .checkbox label {
	display: block;
	padding: 30px;
	cursor: pointer;
}
.agreement .checkbox .label {
	display: inline-block;
	font-size: 133.4%;
}

.site_seal{
  margin-top: 10px;
}

.btnPresentForm {
	margin-top: 30px;
	text-align: center;
}
.btnPresentForm button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 1px solid #d4d4d4;
	background-color: #4da359;
	margin: 0;
	padding: 0;
	width: 220px;
	height: 60px;
	font-size: 123.1%;
	font-family: inherit;
	line-height: 1.3;
	color: #fff;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition-duration: 0.3s;
}

/*---- error style ----*/
.errorBody {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	position: relative;
}
.errorBody .errorbg,
.errorBody .errorbox {
	display: block;
}
.errorbg {
	content: "";
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 10;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
}
.errorbox {
	display: none;
	position: fixed;
	right: 50%;
	bottom: 50%;
	z-index: 20;
	transform: translate(50%, 50%);
	background-color: #fff;
	padding: 30px 100px;
	text-align: center;
	font-size: 123.1%;
	color: #fe3048;
}
.errorbox .btnbox {
	margin-top: 30px;
}
.errorbox button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: block;
	border: none;
	background-color: #999;
	outline: none;
	margin: 0 auto;
	padding: 8px 30px;
	min-width: 200px;
	width: 100%;
	color: #fff;
	font-family: inherit;
	font-size: 100%;
	cursor: pointer;
	transition-duration: 0.3s;
}
.close {
	position: absolute;
	right: 0;
	bottom: calc(100% + 8px);
	width: 24px;
	height: 24px;
	cursor: pointer;
}
.close::before {
	content: "";
	position: absolute;
	top: 11px;
	right: 0;
	width: 24px;
	height: 2px;
	background-color: #fff;
	transform: rotate(45deg);
	transition-duration: 0.3s;
}
.close::after {
	content: "";
	position: absolute;
	top: 11px;
	right: 0;
	width: 24px;
	height: 2px;
	background-color: #fff;
	transform: rotate(135deg);
	transition-duration: 0.3s;
}

.form-table .error {
	background-color: #ffe6e9;
}
.errorText {
	color: #fe3048;
}
.errorText.hide {
	display: none;
}
.error input[type="text"],
.error input[type="email"],
.error input[type="tel"],
.error input[type="number"] {
	border-color: #fe3048;
}
.error label {
	position: relative;
}
.error .question .checkList {
	position: relative;
}
.error .question .checkList::before {
	content: "";
	position: absolute;
	left: -0.4em;
	top: 4px;
	width: 100%;
	height: 100%;
	border: 2px solid #fe3048;
	border-radius: 4px;
	pointer-events: none;
}
.agreement .error {
	background-color: #ffe6e9;
	position: relative;
}
.agreement .errorText {
	position: absolute;
	left: 0;
	top: 15px;
	width: 100%;
	pointer-events: none;
}
.agreement .error label {
	padding-top: 50px;
}

/* confirm */
.confirm {
	margin: 20px 0;
}
.confirm ~ form td {
	font-size: 115.4%;
}
.confirm ~ form .question dt {
	margin-bottom: 6px;
	font-size: 86.7%;
}
.confirm ~ form .agreeText {
	border-bottom: 1px solid #dfdfdf;
}
ul.btnPresentForm {
	display: flex;
	justify-content: center;
}
ul.btnPresentForm li {
	flex: 0 0 auto;
	margin: 0 8px;
}
#btn_edit {
	background-color: #808080;
	font-size: 107.7%;
}
/* thanks */
#mainContent .ev_title.thanks {
	margin-bottom: 20px;
}

@media screen and (min-width: 701px) {
	.btnPresentForm button:hover {
		opacity: 0.7;
	}
	.errorbox button:hover {
		background-color: #666;
	}
	.close:hover::before,
	.close:hover::after {
		background-color: #666;
	}
}

/* sp style
------------------------------------------------------------------------------*/
@media screen and (max-width: 700px) {
	* {
		-webkit-user-select: none;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	html,
	body {
		width: 100%;
		min-width: 100%;
	}
	#content {
		width: 100%;
	}
	/*mainContent
------------------------------------------------------------------------------*/
	#mainContent {
		padding: 20px 16px;
		width: 100%;
		float: none;
		margin-bottom: 80px;
		margin-right: 0;
		min-height: 0;
		background: none;
	}
	#mainContent h2:not(.index) {
		border-bottom: 2px solid #99DC5B;
		margin-bottom: .7em;
		padding-top: 0;
		padding-bottom: 10px !important;
	}
	#mainContent h2:not(.index) img,
	#mainContent h3 img {
		display: none;
	}

	/* present_form
----------------------- */
	.caution {
		margin-right: 0;
		padding: 10px;
		font-size: 0.9em;
	}
	.caution ul {
		float: none;
		width: auto;
		margin: 0;
	}
	.caution li {
		padding-left: 1em;
	}
	.sslseal {
		margin-top: 0;
		padding-right: 0 !important;
		margin-left: 10px;
	}
	#mainContent p {
		padding-right: 0 !important;
	}
	.form-table {
		border: none;
		width: 100%;
		margin-top: 20px;
	}
	.form-table tr,
	.form-table th,
	.form-table td {
		display: block;
		overflow: hidden;
	}
	.form-table th {
		padding: 5px 15px;
		width: 100%;
		vertical-align: top;
	}
	.form-table td {
		border: none;
		background: #ffffff;
		padding: 15px 10px 20px;
		width: 100%;
	}
	.form-table th .f-rit {
		float: none;
	}
	.form-table th .f-rit img {
		padding-left: 10px;
	}
	.form-table li {
		margin-bottom: 5px;
	}
	.radiobotton {
		margin-right: 5px;
	}
	input {
		-webkit-user-select: auto;
	}
	.input_l {
		width: 100%;
		padding: 2px;
	}
	.input_m {
		width: 48%;
		padding: 2px;
	}
	.input_ss {
		width: 75px;
		padding: 2px;
	}
	br.hidden {
		display: block;
	}
	label {
		width: 48%;
	}
	input[type="radio"]:focus {
		outline: 0;
	}
	.red {
		color: #cc0000;
		margin: 0;
		line-height: 1.5;
	}
	#mainContent h2.form_h1 {
		margin: 0 0 10px;
		padding: 10px 0;
		font-size: 1.5em;
		min-height: inherit;
		font-weight: normal;
		line-height: 1.5em;
		border-bottom: 7px solid #5B9D6B;
		background: url(../form2/images/form_h1_bg.png) no-repeat right bottom;
		background-size: 110px auto;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	#mainContent h3.ev_title:before {
		display: none;
	}
	#mainContent h3.ev_title strong {
		font-size: 1.2em;
		line-height: 1.2;
		padding: 15px 20px;
	}
	.form-table th.required:after {
		top: 6px;
		right: 15px;
		padding: 5px;
		font-size: 0.8em;
	}

	.form-table .checkList {
		display: block;
	}
	.form-table .checkList li {
		margin-top: 5px;
	}
	.form-table .checkList label {
		width: auto;
	}
	.form-table .checkList .label {
		padding: 9px 0 9px 30px;
	}

	.agreement {
		margin: 25px 0;
	}
	.agreeText ul {
		width: auto;
		float: none;
		padding-bottom: 10px;
	}
	.agreement .checkbox label {
		width: auto;
	}

	ul.btnPresentForm {
		display: block;
	}
	ul.btnPresentForm li {
		margin: 30px 0 0;
	}
	/* ---- error style ---- */
	.errorbox {
		padding: 30px 15px;
		width: 95%;
	}
	.errorbox button:active {
		background-color: #666;
	}
	.close:active::before,
	.close:active::after {
		background-color: #666;
	}
	.error .question .checkList::before {
		top: -2px;
	}
}
@media screen and (max-width:480px) {
	#mainContent h2.form_h1 {
		background: none;
		padding-top: 0;
	}
}