/* お問い合わせフォーム */
h2 {
	text-align: center;
}

/* 変更申込み時のID表示 */
h2 span.form_title_id {
	display: block;
}

#id_apply_link {
	margin-bottom: 2em;
}
#id_apply_link a {
	display: block;
	width: 100%;
	max-width: 300px;
	padding: 20px 0;
	font-weight: bold;
	color: #fff;
	border-radius: 10px;
	text-align: center;
	background: var(--primary-color);
	border: 1px solid var(--primary-color);
	border-bottom: 3px solid var(--index-color);
	text-decoration: none;
}
#id_apply_link a:hover {
	opacity: 0.8;
}

.apply_form {
	width: 100%;
	box-sizing: border-box;
	max-width: 800px;
	margin: 0 auto 2em;
}
.input_info_box {
	background: #fff;
	box-shadow: 0 2px 6px #ccc;
	padding: 50px;
	border-radius: 10px;
	margin-bottom: 2em;
}

.caution {
	margin-bottom: 2em;
}
.caution-bottom {
	margin-top: 2em;
}
.caution p,
.caution-bottom p {
	margin-bottom: 0;
}
.caution-bottom p {
	font-size: 11pt;
}
.caution-bottom a {
	font-size: 11pt;
}

span.attention {
	display: block;
	font-size: 11pt;
}

dl dt {
	font-size: 12pt;
	font-weight: normal;
	margin-top: 1em;
}

.blocks {
	display: flex;
	gap: 20px;
}
.blocks > div {
	width: 50%;
}

.form_index strong {
	display: block;
	font-size: 20pt;
	padding: 10px 0 10px 15px;
	text-align: left;
	background: #eee;
	margin: 2em 0 1.5em;
	border-left: 4px solid var(--primary-color);
}


.form_index.first_index strong {
	margin-top: 0;
}


span.wpcf7-form-control-wrap {
	display: inline-block;
	text-align: left;
}

p.text_comment {
	font-size: 13pt;
	margin: 1em 0 1em !important;
	text-align: center;
}

input[name="zip"] {
	width: 120px !important;
}

input[readonly] {
	background-color: #f0f0f0 !important;
	color: #888 !important;
}

span.wpcf7-form-control-wrap[data-name="zip"] {
	display: inline-block !important;
}

span.wpcf7-form-control-wrap[data-name="zip"]:before {
	content: "〒 ";
}

span#id_zip_btn {
	display: inline-block;
	width: 100px;
	text-align: center;
	margin-left: 1em;
	background: var(--sub-color);
	font-weight: bold;
	color: #fff;
	padding: 10px;
	border-radius: 5px;
	cursor: pointer;
}
span#id_zip_btn:hover {
	opacity: 0.8;
}

input[name="menseki"] {
	display: inline-block;
	width: 100px;
}
input[data-name="menseki"],
input[data-name="menseki-unit"] {
	display: inline-block;
}


input[type="tel"] {
	color: #666;
	width: 100%;
	-webkit-appearance: none;
	border-radius: 0;
	-webkit-border-radius: 0;
}

input {
	padding: 10px 6px;
	height: auto;
	background: #fff;
}
textarea {
	background: #fff !important;
}

/*
form .form_index {
	border-color: var(--form-index-bdr-color);
}
*/


.tbl {
	display: table;
	width: 100%;
}
.tbl-tr {
	display: table-row;
}
.tbl-th,
.tbl-td {
	display: table-cell;
	font-size: 14pt;
	text-align: left;
	vertical-align: top;
	border-top: 1px solid #ddd;
}
.tbl-th {
	font-weight: bold;
	padding: 1em 0;
	width: 150px;
	box-sizing: border-box;
}
.tbl-td {
	padding: 1em;
}
p {
	margin-bottom: 0;
}


.tbl-th label {
	font-size: 14pt;
	margin-bottom: 5px;
	display: inline-block;
	vertical-align: middle;
	font-weight: bold;
}
.tbl-th label.must::before,
.tbl-th label.any::before {
	content: "必須";
	display: inline-block;
	padding: 2px 5px 1px;
	margin-right: 5px;
	border-radius: 3px;
	background: #c00;
	color: #fff;
	vertical-align: baseline;
	font-size: 8pt;
}
.tbl-th label.any::before {
	content: "任意";
	background: #464646;
}

.tbl-th label span {
	font-weight: normal;
	font-size: 10pt;
}

.tbl-td > div {
	margin-bottom: 10px;
}


.wpcf7-spinner {
	display: none;
}

input.wpcf7-submit {
	float: none;
	display: block;
	width: 120px;
	margin: 2em auto 0;
	padding: 15px;
	background: var(--primary-color);
}



span.wpcf7-form-control-wrap .wpcf7-list-item-label {
	font-size: 11pt;
}


span.wpcf7-form-control.wpcf7-checkbox.wpcf7-not-valid span.wpcf7-list-item.first.last label::before {
	display: none;
}

span.wpcf7-form-control.wpcf7-radio {
	display: flex;
	flex-direction: column;
}

[data-name="menseki-unit"] span.wpcf7-form-control.wpcf7-radio {
	display: inline-block;
}


span.wpcf7-list-item {
	display: inline-block;
	text-align: left;
	margin: 0 0 0.5em 0;
}


table.reference-data {
	margin-top: 2em;
}

table.reference-data caption {
	text-align: left;
}

table.reference-data th,
table.reference-data td {
	width: 50%;
	box-sizing: border-box;
}

table.reference-data th {
	text-align: center;
	color: var(--sub-color);
	background: var(--section-bg-color);
}
table.reference-data td:last-child {
	text-align: right;
}


span.wpcf7-list-item.first.last,
span.wpcf7 form .wpcf7-response-output {
	text-align: center !important;
	margin: 0 !important;
}
span.wpcf7 form .wpcf7-response-output {
	background: #fff;
}

#id_chk_link {
	text-align: center;
	margin-bottom: 10px;
}

#id_chk_link span {
	display: block;
}

#id_chk_link a {
	font-size: 12pt;
	text-decoration: underline;
	color: var(--sub-color);
}
#id_chk_link a:hover {
	text-decoration: none;
	opacity: 0.8;
}

.send_box {
	text-align: center;
}

.wpcf7 .wpcf7-submit {
	float: none !important;
}
.wpcf7-spinner {
	display: block;
}

/* スタッフ情報登録 */
.btn-block {
	display: flex;
	align-items: flex-end;
	gap: 1em;
}
.btn-block > p {
	margin-block-end: 0;
	padding: 0;
}

.btn-block .btn {
	padding-bottom: 10px;
}

.btn-block .btn button {
	font-size: 11pt;
	font-weight: bold;
	color: #fff;
	background: var(--sub-color);
	border-radius: 6px;
	line-height: 1;
	padding: 10px;
	cursor: pointer;
}
.btn-block .btn button:hover {
	opacity: 0.8;
}

.input_area {
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease;
}
.fade-in {
	display: table-row;
	opacity: 1;
}
.fade-out {
	opacity: 0;
	transition: opacity 0.5s ease;
}

span.store_image_item,
span.staff_image_item {
	font-size: 11pt;
}
img.store_img,
img.staff_img {
	width: 100%;
	max-width: 240px;
	display: block;
}


@media(max-width: 690px) {
	.tbl {
		display: block;
	}
	.tbl-tr.fade-in {
		display: block;
	}
	.tbl-th,
	.tbl-td {
		display: block;
		padding-left: 0;
		width: 100%;
		box-sizing: border-box;
	}

	.tbl-th p label:before {
		content: "●";
	}

	.tbl-td {
		padding: 0;
		border: none;
	}
}

@media(max-width: 500px) {
	.input_info_box {
 		padding: 20px;
 	}
}