@charset "UTF-8";

/*  ----------------------------------------
contact common
-------------------------------------------*/
main section {
	padding-bottom: 80px;
}
.btn {
	transition: 0.5s;
}
.btn:hover {
	opacity: 0.7;
}
button i.arrow {
	position: absolute;
	top: calc(50% - 20px);
	right: 0;
}
.btn_contact{
	margin-top: 40px;
}
/******************Media Queries******************/
@media screen and (min-width: 768px) {
	main section {
		padding-bottom: 160px;
	}
	.btn_contact{
		margin-top: 80px;
	}
}
/**/
/*  ----------------------------------------
contact common flow_contact　ステップ表示
-------------------------------------------*/
.flow_contact {
	display: flex;
	justify-content: center;
	max-width: 600px;
	height: 90px;
	margin: 0 auto;
}
.flow_contact > li {
	width: 40%;
	padding: 0;
	border-left: none;
	border-top: 4px solid #0EA563;
	text-align: center;
}
.flow_contact > li:first-of-type {
	width: 1px;
	border-top: 4px solid #ffffff;
}
.flow_contact > li::before {
	top: -12px;
	left: auto;
	right: -10px;
	z-index: 10;
}
.flow_contact > li:last-of-type::after {
	display: none;
}
.flow_contact > li div {
	position: absolute;
	top: 20px;
	right: -2.5em;
	width: 5em;
}
.flow_contact strong {
	margin-bottom: -4px;
}
.flow_contact > .inactive {
	border-top: 4px solid #CCCCCC;
	color: #AAAAAA;
}
.flow_contact > li.inactive::before {
	background: #AAAAAA;
}
.flow_contact > li.inactive strong {
	color: #AAAAAA;
}
.flow_contact + p {
	margin-top: 40px;
}
/******************Media Queries******************/
@media screen and (min-width: 768px) {
	.flow_contact{
		height: 110px;
	}
	.flow_contact + p {
		margin-top: 80px;
	}
}
/*  ----------------------------------------
contact table
-------------------------------------------*/
section table {
	margin-top: 20px;
}
/*必須マーク*/
th.required:before {
	content: "必須";
	display: inline-block;
	width: 40px;
	margin: 2px 10px 0 0;
	background: #de0000;
	color: #fff;
	font-size: 1.4rem;
	text-align: center;	
}
/*任意の場合*/
th.optional:before {
	content: "任意";
	display: inline-block;
	width: 40px;
	margin: 2px 10px 0 0;
	background: #aaaaaa;
	color: #fff;
	font-size: 1.4rem;
	text-align: center;	
}
/******************Media Queries******************/
@media screen and (min-width: 768px) {
	section table {
		margin-top: 40px;
	}
	section table th {
		width: 30%;
	}
	section table td {
		width: 70%;
	}
}
/*  ----------------------------------------
input type="radio"
-------------------------------------------*/
.radio {
	margin: 0 0.5rem 0.5rem 0.5rem;
}
.radio input[type=radio] {
	position: absolute;
	opacity: 0;
}
.radio input[type=radio] + .radio-label:before {
	content: "";
	background: #f4f4f4;
	border-radius: 100%;
	border: 1px solid #b4b4b4;
	display: inline-block;
	width: 1.4em;
	height: 1.4em;
	position: relative;
	top: 4px;
	margin-right: 5px;
	vertical-align: top;
	cursor: pointer;
	text-align: center;
	transition: all 250ms ease;
}
.radio input[type=radio]:checked + .radio-label:before {
	background-color: #0EA563;
	box-shadow: inset 0 0 0 4px #f4f4f4;
}
.radio input[type=radio]:focus + .radio-label:before {
	outline: none;
	border-color: #0EA563;
}
.radio input[type=radio]:disabled + .radio-label:before {
	box-shadow: inset 0 0 0 4px #f4f4f4;
	border-color: #b4b4b4;
	background: #b4b4b4;
}
.radio input[type=radio] + .radio-label:empty:before {
	margin-right: 0;
}
/*  ----------------------------------------
input type="checkbox"
-------------------------------------------*/
.checkbox {
	display: flex;
	justify-content: center;
}
.checkbox input {
	position: absolute;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}
.checkbox label {
	position: relative;
	padding-left: 25px;
	font-size: 18px;
	cursor: pointer;
}
.checkbox label:before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	width: 20px;
	height: 20px;
	top: 4px;
	border: solid 2px #ccc;
	border-radius: 3px;
	transition: all ease-in-out 0.125s;
}
.checkbox label:after {
	content: "";
	position: absolute;
	top: 14px;
	left: 5px;
	transform: rotate(-45deg) scaleX(0);
	transform-origin: left;
	width: 12px;
	height: 5px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transition: transform 0.125s ease-in-out;
}
.checkbox input:checked + label:before {
	background-color: #0ea563;
	border-color: #0ea563;
}
.checkbox input:checked + label:after {
	transform: rotate(-45deg) scaleX(1);
}
/*  ----------------------------------------
input type="text"
-------------------------------------------*/
input[type="text"], 
input[type="email"], 
input[type="tel"] {
	border: 1px solid #ccc;
	padding: 5px;
	width: 100%;
}
input[type="text"]:required, 
input[type="email"]:required, 
input[type="email"]:invalid, 
input[type="tel"]:required{
	background: #FFF1F1;
}
input[type="text"]:valid, 
input[type="email"]:valid, 
input[type="tel"]:valid{
	background: none;
}
/******************Media Queries******************/
@media screen and (min-width: 768px) {
	input[type="text"], 
	input[type="email"], 
	input[type="tel"] {
		width: 60%;
	}
}
/*  ----------------------------------------
textarea
-------------------------------------------*/
textarea {
	border: 1px solid #ccc;
	width: 100%;
	padding: 10px;
}
textarea:required{
	background: #FFF1F1;
}
textarea:valid{
	background: none;
}
/******************Media Queries******************/
@media screen and (min-width: 768px) {
	
	
}
/*  ----------------------------------------
contact 入力
-------------------------------------------*/
.error_message{
	color: #DE0000;
}
.privacy_contact {
	padding: 30px;
	margin: 40px auto;
}
.btn_contact .checkbox + .btn{
	margin-top: 20px;
}
/******************Media Queries******************/
@media screen and (min-width: 768px) {
	.privacy_contact {
		margin: 80px auto;
	}

}
/*  ----------------------------------------
contact 確認
-------------------------------------------*/
table + .btn_contact{
		display: flex;
		justify-content: center;
}
.btn_contact .btn_back{
	width: 120px;
	margin-right: 20px;
}

/******************Media Queries******************/
@media screen and (min-width: 768px) {
	table + .btn_contact{
		position: relative;
	}
	.btn_contact .btn_back{
		position: absolute;
		top:0;
		left: 0;
	}
}
