@charset "UTF-8";

/* select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
	width: 73%;
	margin: 10px 10px;
} */


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
ここまで
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.wrap_contact .contact_table {
	border: none;
	/* border-bottom: solid 1px #e8e8d8; */
	margin-bottom: 15px;
	margin-top: 0;
	width: 100%;
}

.wrap_contact table.contact_table{
	border-collapse: collapse!important;
	border-spacing: 0!important;
}


/* .wrap_contact .contact_table th.block_th {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
} */


.wrap_contact .contact_table th.block_th span.item_txt {
	font-weight: bold;
}

.wrap_contact .contact_table th.block_th span.item_any,
.wrap_contact .contact_table th.block_th span.item_need {
	padding: 3px 10px;
}

.wrap_contact .contact_table th.block_th span.item_any {
	border: solid 1px #ddd;
	background: #eee;
	color: #333 !important;
}

.wrap_contact .contact_table th.block_th span.item_need {
	background-color: var(--accent-color);
	color: #fff;
}

.wrap_contact .contact_table td label {
	width: 100%;
}

.wrap_contact .contact_table input, .wrap_contact .contact_table textarea, .wrap_contact .contact_table select {
	background-color: white;
	border: solid 1px #ddd;
	padding: 15px;
	width: 100%;
}

.wrap_contact .contact_table .wpcf7-list-item {
	background-color: white;
	border: solid 1px #ddd;
	border-radius: 3px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin: 0 0 5px;
	padding: 8px;
}

.wrap_contact .contact_table .wpcf7-list-item label {
	display: flex;
	align-items: center;
}

/*
.wrap_contact .contact_table .wpcf7-list-item:last-child {
	margin-bottom: 0;
}
*/

.wrap_contact .contact_table .wpcf7-list-item .wpcf7-list-item-label {
	-webkit-box-ordinal-group: 3;
	-ms-flex-order: 2;
	order: 2;
 }

.wrap_contact .contact_table .wpcf7-list-item input[type="checkbox"] {
	background: #fff;
	border: solid 1px #ddd;
	height: 24px !important;
	margin: 0;
	margin-right: 10px;
	outline: none;
	padding: 0;
	position: relative;
	-webkit-appearance: none;
	width: 24px !important;
}

.wrap_contact .contact_table .wpcf7-list-item input[type="checkbox"]:checked {
	outline: none;
}

.wrap_contact .contact_table .wpcf7-list-item input[type="checkbox"]:checked:before {
	background: #b10000;
	content: "";
	display: block;
	height: 16px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 16px;
}

.wrap_contact .contact_table .wpcf7-list-item input[type="radio"] {
	background: #fff;
	border: solid 1px #ddd;
	border-radius: 100%;
	height: 24px !important;
	margin: 0;
	margin-right: 10px;
	outline: none;
  padding: 10px;
	position: relative;
	-webkit-appearance: none;
	width: 24px !important;
}

.wrap_contact .contact_table .wpcf7-list-item input[type="radio"]:checked:before {
	background: #bf0000;
	border-radius: 100%;
	content: "";
	display: block;
	height: 24px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 24px;
}

.wrap_contact .contact_table select {
	appearance: none;
	background: white url(../image/icon_select-arrowb.svg) no-repeat calc(100% - 10px) 50%/18px;
	cursor: pointer;
	margin: 0px;
	padding: 8px 30px 8px 10px;
	-webkit-appearance: none;
	-moz-appearance: none;
	position: relative;
}

.wrap_contact .item_confirmtxt {
	border: 1px solid #ccc;
	margin: 0 auto 15px;
	padding: 1em 2em;
	width: 100%;
}

.wrap_contact .item_checkbtn {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	margin-bottom: 30px;
	text-align: center;
}

.wrap_contact .item_checkbtn input[type="checkbox"] {
	background: #fff;
	border: solid 1px #ddd;
	height: 24px;
	margin-right: 10px;
	outline: none;
	position: relative;
	vertical-align: -8px;
	-webkit-appearance: none;
	width: 24px;
}

.wrap_contact .item_checkbtn input[type="checkbox"]:checked {
	background:var(--accent-color);;
	border: 1px solid #fff;
	outline: none;
}

.wrap_contact .item_checkbtn input[type="checkbox"]:checked:before {
	background: #ffffff;
	content: "";
	display: block;
	height: 3px;
	position: absolute;
	left: 1px;
	top: 14px;
	-webkit-transform: rotate(45deg);
	-webkit-transform-origin: right center;
	width: 10px;
}

.wrap_contact .item_checkbtn input[type="checkbox"]:checked:after {
	display: block;
	position: absolute;
	left: 9px;
	top: 14px;
	content: "";
	width: 16px;
	height: 3px;
	background: #ffffff;
	-webkit-transform: rotate(-53deg);
	-webkit-transform-origin: left center;
}

.wrap_contact span.wpcf7-not-valid-tip {
	color: #f00;
	font-size: 12px;
	display: block;
	font-weight: bold;
	margin-top: .5em;
	animation: flash 1.5s linear infinite;
}


@keyframes flash {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}

.wpcf7-not-valid {
	background: #fef4d5!important;
}

.wrap_contact .item_submit {
	text-align: center;
	padding: 0 10px 10px;
}

.wrap_contact .item_submit input {
	background-color: var(--accent-color);;
	border: none;
	color: white;
	cursor: pointer;
	font-size: 1.4rem!important;
	font-weight: normal;
	padding: 1rem;
	width: 100%;
	-webkit-appearance: none;
	border-radius: 5px;

}

.wrap_contact .item_submit input[disabled] {
	background-color: #ababab;
	cursor: not-allowed;
	line-height:1;
}

div.wpcf7-validation-errors {
	background-color: var(--accent-color);
	border: none !important;
	color: white;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

input.wpcf7-form-control.wpcf7-submit {
	font-size: 2rem;
	font-weight: bold;
}



@media only screen and (min-width: 769px) {

	.wrap_contact {
		padding: 20px 0;
	}

	.wrap_contact .contact_table {
		margin-bottom: 25px;
	}

	.wrap_contact .contact_table th, .wrap_contact .contact_table td {
		display: table-cell;
		padding: 20px 0;
		border-bottom: 1px solid #ddd;
	}

	.wrap_contact .contact_table tr:last-child th,
	.wrap_contact .contact_table tr:last-child td {
		border-bottom: none;
	}

	.wrap_contact .contact_table th.block_th {
		display: table-cell;
		position: relative;
		text-align: left;
		vertical-align: top;
		width: 18em;
	}

	.wrap_contact .contact_table th.block_th span {
		font-size: 16px;
	}

	.wrap_contact .contact_table th.block_th span.item_txt {
		display: inline-block;
		font-size: 16px;
		margin-right: 40px;
		padding: 8px 0;
	}

	.wrap_contact .contact_table th.block_th span.item_any,
	.wrap_contact .contact_table th.block_th span.item_need {
		font-size: 13px;
		padding: 5px 10px;
		position: absolute;
		right: 1em;
		top: 27px;
		color: #fff;
		border-radius: 5px;
	}

	.wrap_contact .contact_table td {
		vertical-align: text-bottom;
	}

	.wrap_contact .contact_table input, .wrap_contact .contact_table textarea, .wrap_contact .contact_table select {
		width: 100%;
	}

	.wrap_contact .contact_table .wpcf7-list-item {
		background-color: inherit;
		border: none;
		padding: 0px;
	}

	.wrap_contact .item_confirmtxt {
		margin: 0 auto 20px;
		padding: 1em 1.5em;
		width: 100%;
		background: #fdfdfd;
	}

	.wrap_contact .item_submit {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		padding: 0 10px;
		width: 300px;
	}

	[data-class="wpcf7cf_group"] {
		margin-top: 10px;
	}

	select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
		width:100%;
		margin: 0;
	}

	.wpcf7-radio.horizon_radio {
		display: flex;
		align-items: center;
		padding-top: .5em;
	}

	.wpcf7-radio.horizon_radio .wpcf7-list-item + .wpcf7-list-item {
		margin-left: 1.5em;
	}

} /* @media only screen and (min-width: 769px)	*/


@media only screen and (max-width: 374px){
	.wrap_contact .contact_table th.block_th span.item_txt{
		font-size:10px;
	}
}

.wpcf7-text,
.wpcf7-textarea {
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 0!important;
	box-shadow: none!important;
}

@media only screen and (max-width: 768px){
	.wrap_contact .contact_table th.block_th {
		display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: -moz-box;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
			 -moz-box-align: center;
						align-items: center;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		-webkit-justify-content: space-between;
			 -moz-box-pack: justify;
						justify-content: space-between;
	}

	.wrap_contact .contact_table tr + tr th {
		margin-top: 1em;
	}

	.wrap_contact .contact_table th.block_th span.item_any,
	.wrap_contact .contact_table th.block_th span.item_need {
		padding: 2px 10px;
		color: #fff!important;
		font-size: 12px;
		font-weight: bold;
		border: 0;
	}

	.wrap_contact .contact_table th.block_th span.item_any {
		background: #eee;
		color: #333!important;
	}

	.wrap_contact .contact_table th.block_th span.item_need {
		background-color: var(--accent-color);
		color: #fff;
		border-radius: 5px;
	}

	.wrap_contact .contact_table td {
		display: block;
	}

	.wrap_contact .contact_table input,
	.wrap_contact .contact_table textarea,
	.wrap_contact .contact_table select {
		padding: .5em;
	}
	.wrap_contact .contact_table .add_txt {
		font-size: 12px;
	}
	.wrap_contact .item_confirmtxt {
		font-size: 12px;
		line-height: 1.6;
	}
}
