@charset "utf-8";

/* フォーム
============================ */
.formArea {
	margin: 130px 0 140px;
}
.formArea .input_msg {
	margin-bottom: 2em;
}
@media screen and (max-width:768px) {
	.formArea {
		margin: 60px 0 80px;
	}
	.formArea .input_msg {
		margin-bottom: 1.5em;
	}
}

/* テーブル
------------------------------------------------- */
.formArea p {
	margin: 0;
}
.formArea table {
	width: 100%;
	border-top: 1px solid #333;
}
.formArea table th, .formArea table td {
	display: table-cell;
	border-bottom: 1px solid #333;
	padding: 1em 1.5em;
}
.formArea table th {
	position: relative;
	background: #f5f5f5;
	vertical-align: middle;
}
.formArea table td {
	width: 73%;
	vertical-align: middle;
}
@media screen and (max-width:768px) {
	.formArea table th, .formArea table td {
		display: block;
		width: 100%;
		padding: 0.6em 1.2em;
	}
	.formArea table th {
		border-bottom: none;
	}
	.formArea table td {
		padding: 1.2em 0 2em;
	}
}
/* 必須項目 */
.formArea .must {
	position: absolute;
	display: inline-block;
	top: 0;
	bottom: 0;
	right: 25px;
	height: 28px;
	font-size: 1.2rem;
	color: #fff;
	line-height: 28px;
	background: #333;
	border-radius: 5px;
	padding: 0 10px;
	margin: auto;
	z-index: 1;
}
@media screen and (max-width:768px) {
	.formArea .must {
		right: 16px;
		height: 22px;
		font-size: 1rem;
		line-height: 22px;
		padding: 0 8px;

	}
}

/* フォームパーツ
------------------------------------------------- */
.formArea input {
	background: #fff;
	padding: 1rem 1.5rem;
	line-height: 1.6;
	border: solid 1px #ccc;
	outline: none;
	appearance: none;
	margin-right: 1rem;
	width: 80%;
	color: #44423d;
	}
	@media screen and (max-width:768px) {
	.formArea input {
		width: 100%;
	}
}
.formArea input[name="inquiry_zip"] {
	width: 140px;
}
.formArea input[type="file"] {
	border: none;
}
.formArea input::placeholder,
.formArea textarea::placeholder {
	color: #ccc!important;
	font-size: 1.4rem;
}
.formArea select {
	background: #fff;
	border: solid 1px #ccc;
	padding: 1rem 1.5rem;
	width: 300px;
	}
	@media screen and (max-width:768px) {
	.formArea select {
		width: 180px;
	}
}

/* radio */
.formArea .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
}
.contact .formArea .wpcf7-radio span {
	width: 100%; /* 2カラムにしたい場合は50％ */
	line-height: 2.2;
}
.contact .formArea .wpcf7-radio .wpcf7-list-item {
	margin:0;
}
.formArea .wpcf7-radio label {
	position: relative;
}
.formArea input[type="radio"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	position: absolute;
	z-index: 2;
	width: 16px;
	height: 16px;
	left: -32px;
	top: 5px;
	margin: 0px;
	box-shadow: 32px 0 #FFF;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
}
.formArea input[type="radio"] {
	display: none;
}
.formArea input[type="radio"]+span {
	margin: 4px 20px 4px 30px;
}
.formArea input[type="radio"]+span::before,
.formArea input[type="radio"]+span::after {
	position: absolute;
	content: '';
	top: 50%;
	border-radius: 100%;
	transition: all .2s;
	transform: translate(0, -50%);
}
.formArea input[type="radio"]+span::before {
	left: 0;
	width: 20px;
	height: 20px;
	background: #f3f3f3;
	border: 1px solid #ccc;
}
.formArea input[type="radio"]+span::after {
	opacity: 0;
	left: 5px;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	background: #111;
	-webkit-transform: scale(2);
	transform: scale(2);
}
.formArea input[type="radio"]:checked + span::before {
	background: #fff;
	border: 1px solid #111;
}
.formArea input[type="radio"]:checked + span::after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}
@media screen and (max-width:768px) {
	.contact .formArea .wpcf7-radio span {
		width: 100%;
		margin-top: 8px;
	}
}

/* チェックボックス */
.formArea input[type="checkbox"] {
	display: inline-block;
	position: relative;
	width: 16px;
	height: 16px;
	border: 1px solid #44423d;
	vertical-align: -6px;
	padding: 1rem;
}
.formArea input[type="checkbox"]:checked:before {
	position: absolute;
	top: 4px;
	left: 7px;
	transform: rotate(50deg);
	width: 6px;
	height: 10px;
	border-right: 2px solid #44423d;
	border-bottom: 2px solid #44423d;
	content: '';
}
@media screen and (max-width:768px) {
	.formArea input[type="checkbox"] {
		padding: 0.8rem;
		margin-right: 0.8rem;
		vertical-align: -4px;
	}
	.formArea input[type="checkbox"]:checked:before {
		top: 2px;
		left: 6px;
		width: 5px;
		height: 9px;
	}
}

/* textarea */
.formArea textarea {
	width:100%;
	background: #fff;
	padding: 1rem 1.5rem;
	line-height: 1.6;
	border: solid 1px #ccc;
	outline: none;
	appearance: none;
	margin-right: 0.8rem;
}

/* 入力フォームの色 */
.formArea input,
.formArea textarea {
	background: #fff;
}

/* ボタン
------------------------------------------------- */
div.wpcf7 .wpcf7-spinner {
	display: block;
}
.formArea .btn {
	text-align: center;
	margin: 50px auto 0;
}
#contentsArea.second.contact_cfm .btn {
	display:none;
}
.form-btnGrp.flex {
	margin: 50px auto 0;
	display:flex;
	justify-content: space-around;
}
.formArea input[type="button"] { /*戻る*/
	height: 6rem;
	line-height: 6rem;
	width: min(320px, 150px);
	color: #fff;
	background: #333;
	position: relative;
	font-size: 1.6rem;
	text-align: center;
	border: none;
	margin: 0;
	padding: 0;
	transition: 0.2s;
	}
.formArea input[type="submit"] {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #01479d;
	color: #fff;
	text-align: center;
	border: none;
	height: 60px;
	padding: 0;
	border-radius: 5px;
	width: 340px;
	font-size: 1.8rem;
	margin: 0 auto;
	transition: 0.2s;
}
.formArea input[type="submit"]:hover {
	background: #006df3;
}
	@media screen and (max-width:768px) {
	.formArea .btn {
		margin: 20px auto 0;
	}
	.formArea input[type="submit"] {
		height: 50px;
		width: 260px;
		font-size: clamp(1.5rem, 2vw, 1.6rem);
		position: relative;
		transition: 0.2s;
	}
}

/* 個人情報の取り扱い */
.privacy {
	margin-top: 4em;
}
.privacy h3 {
	color: #333;
	font-size: 3rem;
	margin-bottom: 20px;
}
.PolicyBox {
	height: 15em;
	overflow-y: scroll;
	background: #f6f6f6;
	padding: 30px 40px 10px;
	margin-bottom: 1.5em;
	text-align: left;
}
.PolicyBox p {
	margin-bottom: 1.5em;
	line-height: 1.8;
}
.policy_check {
	text-align: center;
	padding: 20px 50px 20px 0;
	position: relative;
}

.policy_check .checked {
	display: inline-block;
	position: relative;
}
.policy_check .checked .must {
	top:-12px;
}
#contentsArea.second.contact_cfm .policy_check .checked .must,
#contentsArea.second.entry_cfm .policy_check .checked .must {
	right: -50px;
}
.policy_check .checked::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: -30px;
	width: 22px;
	height: 22px;
	background: #fff;
	border: solid 1px #44423d;
	border-radius: 3px;
}
.policy_check .checked::after {
	content: "";
	display: block;
	position: absolute;
	top: 5px;
	left: -22px;
	width: 6px;
	height: 10px;
	transform: rotate(40deg);
	border-bottom: 2px solid #44423d;
	border-right: 2px solid #44423d;
}
.policy_check .must {
	right: auto;
	margin-left: 20px;
}
@media screen and (max-width:768px) {
	.privacy h3 {
		font-size: 1.8rem;
		margin-bottom: 15px;
	}
	.PolicyBox {
		font-size: 1.1rem;
		padding: 20px;
	}
	.policy_check {
		font-size: 1.4rem;
		text-align: center;
		padding: 20px 20px 20px 0;
	}
	.policy_check .wpcf7-list-item {
		padding:0;
		margin:0;
	}
	.policy_check .must {
		margin-left: 10px;
	}
}


/* entry */
.formArea td .flex {
	display: flex;
	align-items: center;
}
.formArea .required {
	color: #fff;
	text-align: center;
	display: inline-block;
	padding: 0.2em 0.4em;
	position: relative;
	margin: 0 0.5em 0 0;
}
.formArea .required::before {
	display: block;
	content: "";
	position: absolute;
	top: -3px;
	right: -1px;
	height: 45px;
	width: 45px;
	border-radius: 50%;
	background: #44423d;
	z-index: -1;
}
.formArea td .flex.mb-10 {
	margin-bottom:1rem;
}
.formArea td .flex span {
	font-size:1.4rem;
}
.formArea td .flex .wpcf7-form-control-wrap {
	margin: 0 .5em;
}
.formArea td .flex .wpcf7-form-control-wrap[data-name^="birth-"] {
	flex-basis: 20%;
}
.formArea td .birth-text {
	font-size:1.4rem;
	width: 100%;
}
.formArea td div[class^="form-address-"] {

}
.formArea td div[class^="form-address-"] .txt {
	width: 10rem;
}
.formArea td div[class^="form-address-"] .wpcf7-form-control-wrap {
	flex-basis: calc(100% - 10rem);
	width: calc(100% - 10rem);
	max-width: calc(100% - 10rem);
}
.formArea td div[class^="form-address-"] .wpcf7-form-control-wrap input.zip1 {
	width: 20%;
	min-width: 100px;
}

