@charset "utf-8";


input::-moz-focus-inner, button::-moz-focus-inner {
	border: 0;
}

.u-imeOff {
	ime-mode: inactive !important;
}

.u-caution {
	color: #C55C5C;
	display: block;
}

.u-wide {
	width: 100%!important;
}

.u-required::after {
	content: '必須';
	margin-left: 12px;
	padding: 4px 6px 3px;
	display: inline-block;
	font-size: 0.7em;
	color: #fff;
	background: #C55C5C;
	border-radius: 2px;
	vertical-align: top;
}



input[type="text"], input[type="tel"], input[type="email"], textarea {
	width: 100%!important;
	padding: 6px 8px 4px 10px;
	border: 1px #ddd solid;
	vertical-align: middle;
	border-radius: 5px;
	height: auto !important;
	ime-mode: active;
}
input[name=zip], input[name=郵便番号] {
	width: 6em!important;
}


input[type="text"]:hover, input[type="tel"]:hover, input[type="email"]:hover, textarea:hover, select:hover {
	border: 1px solid #0A62BB;
	background-color: #FFFAE8;
}

select::-ms-expand {
	display: none;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 7px 40px 7px 10px;
	line-height: 1.1em;
	border-radius: 5px;
	border: 1px #ccc solid;
	background: url(../img/icon_selectarrow.png) right 10px center no-repeat;
	background-color: rgba(0, 0, 0, 0);
	background-size: 16px auto;
}

input::placeholder { color: #ccc; }
input::-ms-input-placeholder { color: #ccc; }
input::-ms-input-placeholder { color: #ccc; }


.p-contact {
	background: #FCFCFC;
}

.p-contact form {
	margin: 50px 0 0 0;
	
	/*display: flex;
	flex-wrap: wrap;
	gap: 25px 0;*/
}

.p-contact form > p {
	margin: -15px 0 50px 0;
}

.p-contact__name {
	width: 30%;
	padding: 18px 50px 18px 20px;
	text-align: right;
	border-right: 2px #0A62BB solid;
	line-height: 1;
	float: left;

}

.p-contact__item {
	width: 70%;
	margin-bottom: 25px;
	padding: 10px 0 10px 50px;
	display: flex;
	flex-wrap: wrap;
	gap: 25px 0;
	float: left;

}

.p-contact__item div:nth-child(2n+1){
	width: 7em;
	padding-top: 4px;
	color: #666;
}

.p-contact__item div:nth-child(2n){
	width: calc(100% - 7em);
}

.p-contact__name span {
	margin-left: 10px;
	padding: 4px 6px 3px;
	display: inline-block;
	font-size: 0.7em;
	color: #fff;
	background: #C55C5C;
	border-radius: 2px;
	vertical-align: top;
}

.p-contact__item p {
	margin-top: 5px;
	font-size: 0.75em;
	color: #666;
}

.p-contact__check {
	width: 70%;
	margin: 50px auto 0 auto;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0 30px;
}

.p-contact__submit {

}

.p-contact__back {
	width: calc(30% - 30px);
	margin: 0 0 0 auto;
	padding: 10px;
	background: #ccc;
	color: #555;
	border-radius: 5px;
}

.p-contact.u-confirm {
	gap: 1px 0;
}

.p-contact.u-confirm .p-contact__name {
	border-right: none;
	text-align: left;
	background: #eee;
}

.p-contact.u-confirm .p-contact__item {
	padding: 10px 0 10px 20px;
	border-top: 1px #eee solid;
	border-bottom: 1px #eee solid;
	color: #0A62BB;
}

.p-contact.u-confirm .p-contact__item:last-child {
	border-bottom: 1px #eee solid;
}



input[type="radio"], input[type="checkbox"] {
	display: none;
}

input[type="radio"] + label:hover, nput[type="checkbox"] + label:hover {
	cursor: pointer;
	color: #0084B4;
}

input[type="radio"] + label:not(:last-of-type), input[type="checkbox"] + label:not(:last-of-type) {
	margin-right: 25px;
}

input[type="radio"] + label, input[type="checkbox"] + label{
	margin-bottom: 10px;
	padding-left: 27px;
	position:relative;
	display: inline-block;
}

input[type="radio"] + label::before, input[type="checkbox"] + label::before {
	content: "";
	display: block;
	position: absolute;
	top: 4px;
	left: 0;
	width: 13px;
	height: 13px;
	border: 2px solid #DADADA;
}

input[type="radio"] + label::before, input[type="radio"]:checked + label::after {
	border-radius: 50%;
}

input[type="radio"]:checked + label, input[type="checkbox"]:checked + label{
	color: #004891;
}

input[type="radio"]:checked + label::before, input[type="checkbox"]:checked + label::before{
	border: 2px solid #0084B4;
}

input[type="radio"]:checked + label::after, input[type="checkbox"]:checked + label::after{
	content: "";
	display: block;
	position: absolute;
	top: 8px;
	left: 4px;
	width: 9px;
	height: 9px;
	background: #0084B4;
}


.p-contact__policy {
	margin: 20px 0;
	padding: 15px 20px;
	border: 2px #ddd solid;
	height: 200px;
	overflow-y: scroll;
}
.p-contact__policy .u-indent {
	padding-left: 2em;
	text-indent: -2.7em;
}
.p-contact__policy .u-indent.u-type02 li {
	margin-top: 10px;
}

.p-contact__policy h4:nth-child(n+2) {
	margin-top: 35px;
}



.c-submit input {
	padding: 15px 60px 15px 40px;
	display: block;
	border: none;
	outline: 0;
	width: 100%;
	background: #FFCC00;
	color: #333;
	border-radius: 5px;

}
.c-submit {
	width: 70%;
	position: relative;

}
.c-submit::after {
	content: "";
	position: absolute;
	margin: auto;
	display: block;
	top: 0;
	bottom: 0;
	right: 20px; 
	width: 8px;
	height: 8px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
}

.p-contact form.c-confirm {
	gap: 0 0;
}

.c-confirm .p-contact__name {
	padding: 10px 0 10px 20px;
	background: #F7F5F5;
	border-right: none;
	border-top: 1px #ddd solid;
	text-align: left;
	line-height: 1.6;
}
.c-confirm .p-contact__item {
	padding: 10px 0 10px 20px;
	background: #fff;
	border-top: 1px #ddd solid;
}
.c-confirm .p-contact__name:nth-last-child(3),
.c-confirm .p-contact__item:nth-last-child(2) {
	border-bottom: 1px #ddd solid;
}











/*----------------------------------------------------*/
/*----------------------------------------------------*/
@media screen and (max-width: 950px) {

	.c-header__contact {
		display: none!important;
	}

	.c-confirm .p-contact__item {
		border-top: none;
	}
	
	
	.p-contact {
		flex-flow: column;
		gap: 0;
		font-size: 1.0em;
	}
	
	.p-contact form {
		gap: 5px 0;
	}

	.p-contact__name {
		width: 100%;
		padding: 15px 14px 15px 14px;
		border-right: none!important;
		border-bottom: 1px #ccc solid;
		text-align: left;
		background: #eee;
	}
	
	.p-contact__item {
		width: 100%;
		margin-bottom: 20px;
		padding: 15px 14px 15px 14px;
		background: #fff!important;
		flex-flow: column;
		gap: 3px 0;
	}

	.p-contact__item div:nth-child(2n+1),
	.p-contact__item div:nth-child(2n) {
		width: 100%;
	}

	.p-contact__item div:nth-child(2n) {
		margin-bottom: 12px;
	}

	.p-contact__check {
		width: 90%;
		gap: 0 10px;
	}

	.c-submit {
		width: 100%;
	}

	.c-confirm .c-submit {
		width: 60%!important;
	}

	.p-contact__back {
		width: calc(40% - 10px);
		padding: 10px;
	}

}

