.contact_block {
	max-width: 880px;
	margin: 0 auto;
	padding: 20px;
	/* font-family: Arial, sans-serif; */
	font-family: 'Noto Sans JP', sans-serif;
}

.header_title_box {
	padding: 20px;
	text-align: center;
	/* display: flex;
	justify-content: space-between;
	align-items: center; */
	border-bottom: 2px solid #e71f17;
	color: #e71f17;
}

.header_empty {
	flex: 1;
}

.header_title {
	font-size: 24px;
	margin: 0;
	flex: 1;
	text-align: center;
}

.header_links {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	flex: 1;
}

.header_links a {
	color: #333;
	text-decoration: none;
	font-size: 0.9em;
	background-color: #fff;
	padding: 5px 10px;
	border-radius: 5px;
	border: 1px solid #ddd;
	transition: background-color 0.3s;
}

.header_links a:hover {
	background-color: #f1f1f1;
}

.description {
	background-color: #fff5f5;
	padding: 20px;
	/* border-radius: 10px; */
	/* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
	text-align: center;
	max-width: 100%;
	width: 100%;
	margin: 20px auto;
}

.grid {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 20px;
	margin: 20px 0;
}

.card {
	background-color: white;
	padding: 20px;
	/* border-radius: 10px; */
	/* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
	width: calc(50% - 20px);
	/* transition: transform 0.3s ease, box-shadow 0.3s ease; */
	transition: transform 0.3s ease;
	display: flex;
	align-items: center;
}

.form-check-input {}

.form-check-label {
	font-size: 1.1em;
	cursor: pointer;
	display: block;
	/* margin-top: 10px; */
}

.card:hover {
	/* transform: translateY(-5px); */
	/* box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); */
}

.form-check-input:checked+.card {
	background-color: #ffcccc;
}

.card label {
	display: block;
	cursor: pointer;
	width: 100%;
	text-align: left;
	font-weight: 600;
}

.card input[type="radio"]:checked+label {
	background-color: #fff0f0;
}

.card .text {
	padding: 10px;
	border-radius: 5px;
	margin: 10px 0;
	font-size: 1.2em;
}

.contact_overview {
	margin: 20px 0;
}

.contact_overview_box {
	background-color: #fff;
	/* border-radius: 10px; */
	/* padding: 20px; */
	/* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
	margin-bottom: 30px;
	text-align: center;
}

.contact_overview_phone {
	background-color: #f7f5ef;
	padding: 20px 40px 25px;
}

.contact_overview_phone h2 {}

.contact_overview_phone_detail {
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact_overview_phone_detail p {
	font-size: 2em;
}

.contact_overview_phone_detail .ico-tel:before {
	background: url(../image/img_common/icon-tel.svg) no-repeat;
	content: "";
	width: 25px;
	height: 25px;
	background-size: contain;
	display: inline-block;
	vertical-align: bottom;
	margin: 0 5px 12px 0px;
}

.contact_overview_detail {
	margin-bottom: 30px;
	padding: 20px 40px 40px;
	border: 1px solid #ddd;
}

.contact_overview_box h2 {
	font-size: 1.5em;
	margin-bottom: 20px;
	color: #333;
	border-bottom: 2px solid #f7e6e6;
	padding-bottom: 20px;
	text-align: center;
	color: #e71f17;
	font-weight: 600;
}

.contact_overview_box_inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid #eee;
}

.contact_overview_box_inner .first {
	flex: 1;
	max-width: 30%;
	font-weight: bold;
	color: #333;
	display: flex;
	align-items: center;
}

.contact_overview_box_inner .second {
	flex: 2;
	max-width: 70%;
}

.contact_overview_box_inner input,
.contact_overview_box_inner select,
.contact_overview_box_inner textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	text-align: left;
	/* border-radius: 5px; */
}

.input_field {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	/* border-radius: 5px; */
}

.required {
	color: red;
	margin-left: 5px;
}

.customer_info {
	background-color: #fff;
	/* border-radius: 10px; */
	padding: 20px 40px 40px;
	margin-bottom: 20px;
	border: 1px solid #ddd;
}

.customer_info h2 {
	font-size: 1.5em;
	margin-bottom: 20px;
	color: #333;
	border-bottom: 2px solid #f7e6e6;
	padding-bottom: 20px;
	text-align: center;
	color: #e71f17;
	font-weight: 600;
}

.link_button {
	text-align: center;
}

.link_button button {
	background-color: #e71f17;
	color: white;
	padding: 20px 80px;
	border: none;
	border-radius: 5px;
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.link_button button:hover {
	background-color: #c9302c;
}

.area-contact {
	margin: 10px 0 20px;
}

.area-contact h4 {
	font-size: 1.7rem;
	margin: 0 0 5px;
}

.accordion_block {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 auto;
	max-width: 880px;
}

.accordion {
	width: 50%;
	border: 1px solid #ddd;
	border-radius: 5px;
	margin-bottom: 20px;
}

.accordion-header {
	padding: 10px;
	font-size: 16px;
	background-color: #f1f1f1;
	border-bottom: 1px solid #ddd;
	display: flex;
	align-items: center;
}

.accordion-content {
	display: block;
	padding: 10px;
	font-size: 14px;
}

.accordion a {
	font-size: 14px;
	color: #0066cc;
	text-decoration: none;
}

.accordion-content a.md-btn-contact {
	width: 100%;
	background: #f7f5ef;
	/* box-shadow: 0 1px 4px 0px rgb(0 0 0 / 30%); */
	padding: 10px 2%;
	display: block;
	text-align: center;
	font-size: 2rem;
	/* フォントサイズを小さく調整 */
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: bold;
	margin: 0 0 3%;
	border-radius: 10px;
	line-height: 1.2;
	/* 行の高さを調整 */
}

.accordion-content a.md-btn-contact:hover {
	opacity: 0.8;
}

.accordion-content a.md-btn-contact.ico-mail:before,
.accordion-content a.md-btn-contact.ico-tel:before {
	content: "";
	width: 25px;
	height: 25px;
	background-size: contain;
	display: inline-block;
	vertical-align: bottom;
	margin: 0 5px 0 0;
}

.accordion-content a.md-btn-contact.ico-mail:before {
	background: url('../image/img_common/icon-mail.svg') no-repeat;
}

.accordion-content a.md-btn-contact.ico-tel:before {
	background: url('../image/img_common/icon-tel.svg') no-repeat;
}

.contact-note li {
	padding: 0;
	text-align: left;
	display: flex;
	font-size: 1.2rem;
	line-height: 1.4;
	margin: 2% 0;
}

.contact-note li i {
	font-style: normal;
}

.contact-note li span {
	padding: 0;
}

.operat-hour {
	margin: 5px 0 0;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 13px;
	letter-spacing: 1px;
	border: 1px solid #eee;
}

.operat-hour dt,
.operat-hour dd {
	padding: 0;
}

.operat-hour dt {
	width: 30%;
	font-size: 1.3rem;
	background: #eee;
	padding: 15px 10px;
	text-align: center;
}

.operat-hour dd {
	width: 70%;
	font-size: 1.6rem;
	line-height: 1.2;
	display: block;
	padding: 0 15px;
}

.operat-hour dd span {
	display: block;
}

.contact_button_container {
	text-align: center;
	margin-top: 20px;
	margin-bottom: 20px;
}

.contact_button_container p {
	font-size: 1em;
	color: #333;
}

.contact_button {
	background-color: #5b7f95;
	color: #fff;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	font-size: 1em;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.contact_button:hover {
	background-color: #476a7b;
}

.cation_area {
	margin-top: 30px;
	border: 1px solid #ddd;
	padding: 0px 40px 40px;
}

.cation_area h2 {
	margin-top: 30px;
}

.cation_area ul {
	text-align: left;
}

.cation_area ul li {
	margin-left: 1.4em;
	/* text-indent: -1.4em; */
	list-style: disc;
}

.card {
	padding: 10px;
	border: 1px solid #ccc;
	/* border-radius: 5px; */
	margin: 10px 0;
}

.form-check-input {
	width: 20%;
	height: 25px;
}

.form-check-input:checked+.form-check-label {
	background-color: #d3d3d3;
	display: block;
	padding: 10px;
	border-radius: 5px;
	text-align: left;
}

.form-check-label {
	cursor: pointer;
	display: block;
	padding: 10px;
	border-radius: 5px;
}

.card-checked {
	background-color: #fff0f0;
}

.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
	background-color: #fefefe;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.pc_only {
	display: block;
}

.sp_only {
	display: none;
}

@media (max-width: 768px) {
	.header_title_box {
		flex-direction: column;
		align-items: center;
	}

	.header_title {
		text-align: center;
		margin-bottom: 20px;
	}

	.header_links {
		align-items: center;
	}

	.grid {
		flex-direction: column;
		gap: 0px;
		margin: 0;
	}

	.card {
		width: 100%;
	}

	.contact_overview_box_inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.contact_overview_box_inner .first,
	.contact_overview_box_inner .second {
		max-width: 100%;
	}

	.customer_info {
		padding: 20px 20px 20px;
	}

	.accordion {
		width: 100%;
	}

	.accordion-header {
		font-size: 14px;
		padding: 8px;
	}

	.accordion-content {
		font-size: 12px;
		padding: 8px;
	}

	.operat-hour dt,
	.operat-hour dd,
	.operat-hour small {
		font-size: 12px;
	}

	.contact-note li {
		font-size: 12px;
	}

	.contact_overview_detail {
		padding: 20px 20px 20px;
	}

	.contact_overview_box_inner {
		display: block;
	}

	.cation_area {
		padding: 0px 20px 20px;
	}

	.pc_only {
		display: none;
	}
	
	.sp_only {
		display: block;
		
	}

}