@charset "UTF-8";

/*-----------------------------------

	headline

-----------------------------------*/
#headline {
	background: url(../img/contact/headline_bg.jpg) no-repeat center/cover;
}
#headline h1::before {
	content: "CONTACT";
}
/*-----------------------------------

	reset(form用)

-----------------------------------*/
input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}
textarea {
  resize: vertical;
}
input[type='checkbox'],
input[type='radio'] {
  display: none;
}
input[type='submit'],
input[type='button'],
label,
button,
select {
  cursor: pointer;
}
select::-ms-expand {
  display: none;
}
.wpcf7-spinner {
	display: none;
}
/*-----------------------------------

	contact_input_block

-----------------------------------*/
#contact_input_block {
	padding: 100px 0 130px;
}
#contact_input_block .contents_inner {
	max-width: 1000px;
}
#contact_input_block.complete {
	text-align: center;
}
#contact_input_block.complete h2 {
	font-size: 24px;
	line-height: 1.4;
	margin-bottom: 30px;
}
#contact_input_block .form_wrap .required {
	font-size: 14px;
	font-weight: 600;
	color: #ffffff;
	background: #10436D;
	padding: 4px 7px;
	border-radius: 3px;
}
#contact_input_block table {
	width: 100%;
	border-top: 1px solid #DADADA;
	line-height: 1.4;
	margin-bottom: 60px;
}
#contact_input_block table tr {
	border-bottom: 1px solid #DADADA;
}
#contact_input_block table th {
	font-weight: 600;
	text-align: left;
	vertical-align: middle;
	width: 320px;
	padding: 25px 0;
}
#contact_input_block table th .required {
	margin-left: 10px;
}
#contact_input_block table td {
	width: calc(100% - 320px);
	padding: 25px 0;
	word-break: break-all;
}
#contact_input_block table td input,
#contact_input_block table td textarea {
	border: 1px solid rgba(183, 183, 183, 0.8);
	padding: 15.5px 10px;
	border-radius: 3px;
}
#contact_input_block table td .wFull {
	width: 100%;
}
#contact_input_block table td textarea {
	height: 260px;
}
#contact_input_block .entry_wrap {
	text-align: center;
	margin-bottom: 60px;
}
#contact_input_block .entry_wrap p {
	font-weight: 500;
	line-height: 1.56;
}
#contact_input_block .entry_wrap a {
	display: inline-block;
	color: #10436D;
	text-decoration: underline;
}
#contact_input_block .entry_wrap label {
	display: inline-block;
	font-weight: 500;
	line-height: 1.9;
	text-align: left;
    padding-left: 40px;
	margin-top: 30px;
	position: relative;
    cursor: pointer;
}
#contact_input_block.confirm .entry_wrap label {
	cursor: auto;
	padding-left: 0 !important;
}
.entry_wrap label::before,
.entry_wrap label::after {
    content: "";
    display: block;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
}
#contact_input_block.confirm .entry_wrap label::before,
#contact_input_block.confirm .entry_wrap label::after {
	display: none;
}
#contact_input_block .entry_wrap label::before {
    border: 1px solid #B7B7B7;
    width: 30px;
    height: 30px;
    left: 0;
	border-radius: 3px;
}
#contact_input_block .entry_wrap label::after {
	border-bottom: 2px solid #10436D;
    border-left: 2px solid #10436D;
    height: 8px;
    width: 16px;
    transform: rotate(-45deg) translateY(-90%);
    top: 50%;
    left: 12px;
    margin: auto;
	opacity: 0;
}
#contact_input_block .entry_wrap label:has(input:checked)::after {
	opacity: 1;
}
#contact_input_block .btnArea p {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	gap: 30px;
}
#contact_input_block .btnArea p br {
	display: none;
}
#contact_input_block .btnArea .btn {
	position: relative;
}
#contact_input_block .btnArea .submit,
#contact_input_block .btnArea .back {
	display: block;
	line-height: 1;
	text-align: center;
	color: #ffffff;
	background: #10436D;
	padding: 23px 0;
	width: 240px;
	border-radius: 3px;
	transition: 0.3s;
}
#contact_input_block .btnArea .submit:hover,
#contact_input_block .btnArea .back:hover {
	opacity: 0.7;
}
@media screen and (max-width: 840px) {
	#contact_input_block table th {
		display: block;
		width: 100%;
		padding: 20px 0 25px 0;
	}
	#contact_input_block table td {
		display: block;
		width: 100%;
		padding: 0 0 20px 0;
	}
}
@media screen and (max-width: 640px) {
	#contact_input_block {
		padding: 50px 0 80px;
	}
	#contact_input_block.complete h2 {
		font-size: 18px;
	}
	#contact_input_block .form_wrap {
		padding: 20px;
	}
	#contact_input_block .form_wrap .required {
		font-size: 12px;
		font-weight: 500;
		padding: 2px 5px;
	}
	#contact_input_block .form_wrap .entry_wrap .required {
		display: inline-block;
	}
	#contact_input_block table {
		margin-bottom: 30px;
	}
	#contact_input_block table th {
		padding: 20px 0 15px 0;
	}
	#contact_input_block table th span {
		font-size: 12px;
		margin-left: 5px;
	}
	#contact_input_block table td {
		padding: 0 0 20px 0;
	}
	#contact_input_block table td input,
	#contact_input_block table td textarea {
		padding: 7.5px 10px;
		font-size: 14px;
	}
	#contact_input_block table td .postal-code {
		margin-bottom: 5px;
	}
	#contact_input_block table td textarea {
		height: 180px;
	}
	#contact_input_block .entry_wrap {
		margin-bottom: 30px;
	}
	#contact_input_block .entry_wrap label {
		padding-left: 30px;
	}
	#contact_input_block .entry_wrap label::before {
		width: 20px;
		height: 20px;
		transform: none;
		top: 3px;
	}
	#contact_input_block .entry_wrap label::after {
		height: 5px;
		width: 13px;
		top: 10px;
		left: 4px;
		transform: rotate(-45deg) translateY(0);
	}
	#contact_input_block .btnArea {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		gap: 15px;
	}
	#contact_input_block .btnArea .submit,
	#contact_input_block .btnArea .back {
		font-size: 13px;
		padding: 17px 0;
		width: 260px;
	}	
}