@charset "UTF-8";

input,
select,
textarea {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select{
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.05em;
	background: #fff;
	width: 100%;
	padding: 10px 16px;
	/* border-radius: 5px; */
}
input[type="radio"]{
	display: none;
}
input[type="checkbox"]{
	/*display: inline-block;
	position: absolute;
	opacity: 0;*/
	display: none;
}

/* contact form 7 */
.wpcf7 form .wpcf7-response-output {
	background: #ffffff;
	padding: 1em;
	border-color: var(--accent-color)!important;
}
.wpcf7-spinner {
	display: none;
}

/*-----------------------------------

	contact_block

-----------------------------------*/
#contact_block {
	padding: 150px 0 80px;
}
#contact_block .table {
	/* background: #FFFFFF;
	padding: 20px 40px 30px; */
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}
#contact_block table {
	width: 100%;
}
/* #contact_block table tr {
	border-bottom: 1px solid #e0e6ee;
} */
#contact_block table tr th {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0;
	text-align: left;
	vertical-align: middle;
	/* color: #000000; */
	width: 240px;
	padding: 31px 0;
}
#contact_block table tr th.address {
	vertical-align: top;
}
#contact_block table tr th label {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	cursor: pointer;
}
/* #contact_block table tr th span {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
	text-align: center;
    color: #fff;
	background: #126CD9;
	width: 52px;
	margin-left: 10px;
} */
#contact_block table tr td {
	font-size: 15px;
	font-weight: 500;
    vertical-align: middle;
	padding: 17.5px 0 17.5px 30px;
	word-break: break-all;
}
#contact_block table tr td .wpcf7-list-item:first-child{
	margin: 0;
}
#contact_block table tr td.address input {
	margin-bottom: 0 !important;
}
#contact_block table tr td.address p:not(:last-of-type) {
	margin-bottom: 20px;
}
#contact_block table tr td.cate ul {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 20px 30px;
}
#contact_block table tr td.cate input,
#contact_block .entry_wrap input {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
#contact_block table td input[type='text'],
#contact_block table td input[type='email'],
#contact_block table td input[type='tel'],
#contact_block table td textarea {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	width: 100%;
	padding: 12px 12px 12px 20px;
	/* border: 1px solid #92A5B8; 
	border-radius: 3px;
	color: #272727;*/
}
#contact_block table td input::placeholder {
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	color: #E1E1E1;
}
#contact_block table tr td.cate .wpcf7-not-valid-tip {
	margin-top: 10px;
}
#contact_block table tr td.cate label {
	padding-left: 28px;
	cursor: pointer;
	position: relative;
}
#contact_block table tr td.cate label::before,
#contact_block table tr td.cate label::after {
	content: "";
	display: block;
	position: absolute;
}
#contact_block table tr td.cate label::before {	
	background-color: #FFF;
	/* border: 1px solid #92A5B8; */
	width: 22px;
	height: 22px;
	border-radius: 50vw;
	transform: translateY(-50%);
	top: 50%;
	left: 0;
}
/* #contact_block table tr td.cate label::after {	
	opacity: 0;
	background: #126CD9;
	width: 14px;
	height: 14px;
	border-radius: 50vw;
	transform: translateY(-50%);
	top: 50%;
	left: 4px;
	margin: auto;
} */
#contact_block table tr td.cate label:has(input:checked)::after {
	opacity: 1 !important;
}
#contact_block .address .mark {
	display: inline-block;
}
#contact_block.confirm .address .mark {
	transform: translateY(0);
}
input:checked + label::after {
	opacity: 1 !important;
}
#contact_block .postal_code {
	width: 200px !important;
	margin-left: 15px;
}
#contact_block table .address input[type='text'] {
	margin-bottom: 20px;
}
#contact_block table .address .p_street_address {
	margin-bottom: 0 !important;
}
#contact_block table td .att_txt {
	display: inline-block;
	margin-top: 8.75px;
}
#contact_block table td textarea {
	padding: 17px 0 17px 20px;
}
#contact_block .entry_wrap {
	text-align: center;
	margin: 40px auto 30px;
}
#contact_block .entry_wrap p {
	font-weight: 500;
	line-height: 2;
}
#contact_block .entry_wrap a {
	font-weight: 700;
	color: var(--text-color);
	text-decoration: underline;
	transition: 0.3s;
}
#contact_block .entry_wrap a:hover {
	text-decoration: none;
}
/* #contact_block .entry_wrap .required {
	display: inline-block;
    font-size: 14px;
    font-weight: 700;
	line-height: 1.75;
    letter-spacing: 0;
    text-align: center;
    color: #fff;
    background: #126CD9;
    width: 52px;
	padding: 2px 0;
    margin-left: 10px;
} */
/* #contact_block .entry_wrap label */
#contact_block .entry_wrap .wpcf7-list-item label {
	display: inline-block;
	line-height: 1.9;
	font-weight: 500;
	text-align: left;
    padding-left: 40px;
	margin-top: 30px;
	position: relative;
    cursor: pointer;
}
/* #contact_block .entry_wrap label::before,
#contact_block .entry_wrap label::after  */
#contact_block .entry_wrap .wpcf7-list-item label::before,
#contact_block .entry_wrap .wpcf7-list-item label::after {
    content: "";
    display: block;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
}
/* #contact_block.confirm .entry_wrap label::before,
#contact_block.confirm .entry_wrap label::after  */
#contact_block.confirm .entry_wrap .wpcf7-list-item label::before,
#contact_block.confirm .entry_wrap .wpcf7-list-item label::after {
	display: none;
}
/* #contact_block .entry_wrap label::before */
#contact_block .entry_wrap .wpcf7-list-item label::before{
    background: #fff;
    width: 30px;
    height: 30px;
    left: 0;
	border-radius: 3px;
}
/* #contact_block .entry_wrap label::after */
#contact_block .entry_wrap .wpcf7-list-item label::after{
	border-bottom: 3px solid var(--accent-color);
    border-left: 3px solid var(--accent-color);
    height: 8px;
    width: 16px;
    transform: rotate(-45deg) translateY(-90%);
    top: 50%;
    left: 12px;
    margin: auto;
	opacity: 0;
}
/* #contact_block .entry_wrap label:has(input:checked)::after  */
#contact_block .entry_wrap .wpcf7-list-item label:has(input:checked)::after {
	opacity: 1;
}
/* #contact_block .btn_wrapper .btn_wrap {
	width: 300px;
	margin: 60px auto 0;
	position: relative;
} */
#contact_block .btn_wrapper{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 30px;	
	margin-top: 50px;
}

#contact_block .btn_wrapper .btn {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  padding: 18px 50px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.3s, background 0.3s;
  box-shadow: 0 10px 20px rgba(176, 58, 46, 0.2);
  width: 275px;
  text-align: center;
  transition: 0.3s;
}
#contact_block .btn_wrapper .btn:hover,
#contact_block .btn_wrapper input:hover {
  background: #8e2f25;
  transform: translateY(-3px);
}

#contact_block.complete .complete_wrap {
	background: #ffffff;
	padding: 50px 20px;
	max-width: 1180px;
	border-radius: 3px;
	margin: 0 auto;
}
#contact_block.complete h3 {
	font-size: 22px;
	text-align: center;
	line-height: 1.4;
	margin-bottom: 30px;
}
#contact_block.complete p {
	font-size: 16px;
	line-height: 2;
	text-align: center;
}
@media screen and (max-width: 640px) {
	#contact_block {
		padding: 120px 0 50px;
	}
	#contact_block .table {
		padding: 10px 20px 20px;
	}
	#contact_block table tr th,
	#contact_block table tr td {
		display: block;
		width: 100%;
	}
	#contact_block table tr th {
		font-size: 15px;
		padding: 18px 0 9px;
	}
	/* #contact_block table tr th span {
		font-size: 12px;
		width: 42px;
		margin-left: 7px;
	} */
	#contact_block table tr td {
		font-size: 14px;
		padding:9px 0 18px;
	}
	#contact_block table td .att_txt {
		font-size: 12px;
	}
	#contact_block table tr td.cate .wpcf7-radio.cate {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}
	#contact_block table tr td.cate .wpcf7-list-item {
		margin: 0 !important;
	}
	#contact_block table tr td.cate label {
		padding-left: 23px;
	}
	#contact_block table tr td.cate label::before {
		width: 18px;
		height: 18px;
	}
	#contact_block table tr td.cate label::after {
		border-width: 2px;
		height: 12px;
		width: 12px;
		left: 3px;
	}
	#contact_block table td input[type='text'],
	#contact_block table td input[type='email'],
	#contact_block table td input[type='tel'],
	#contact_block table td textarea {
		font-size: 14px;
		padding: 8px 8px 8px 16px;
	}
	#contact_block table .address input[type='text'] {
		margin-bottom: 15px;
	}
	#contact_block .postal_code {
		margin-left: 10px;
	}
	#contact_block .entry_wrap {
		margin: 30px auto 20px;
	}
	#contact_block .entry_wrap .required {
		font-size: 12px;
		width: 42px;
		padding: 0;
		margin-left: 5px;
	}
	#contact_block .entry_wrap label {
		padding-left: 30px;
		margin-top: 20px;
	}
	#contact_block .entry_wrap label::before {
		width: 20px;
		height: 20px;
		top: 2px;
		transform: translateY(0);
	}
	#contact_block .entry_wrap label::after {
		width: 12px;
		height: 6px;
		border-width: 2px;
		top: 8px;
		left: 4px;
		transform: rotate(-45deg) translateY(0);
	}
	#contact_block.confirm .btn_wrapper {
		flex-direction: column;
		margin-top: 30px;
		gap: 15px;
	}
	/* #contact_block .btn_wrapper .btn_wrap {
		width: 260px;
		margin: 45px auto 0;
	} */
	#contact_block .btn_wrapper .btn {
		font-size: 16px;
		padding: 16px 10px;
		/* margin: 30px auto 0; */
	}
	/* #contact_block.confirm .btn_wrapper .submit_wrap {
		margin: 0 auto;
	}
	#contact_block.confirm .btn_wrapper input:nth-of-type(2) {
		margin: 0;
	} */
	#contact_block.complete .complete_wrap {
		padding: 30px 20px;
	}
	#contact_block.complete h3 {
		font-size: 18px;
	}	
	#contact_block.complete p {
		font-size: 14px;
		text-align: left;
	}
}