/* https://afrel.co.jp/css/form.css */
/* a {
    outline: none;
    text-decoration: none;
} */
.wpcf7 {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	border: none;
}
.wpcf7:after {
	content: "";
	clear: both;
	display: block;
}
table {
	width: 100%;
	margin: 0 auto 3em;
	border-top: solid 1px #a8a8a8;
	border-left: solid 1px #a8a8a8;
}
table th {
	width: 25%;
	vertical-align: middle;
	text-align: left;
	border: solid 1px #a8a8a8;
	background: #ffe1c4;
	font-weight: bold;
	padding: 0.8em;
}
table td {
	text-align: left;
	border: solid 1px #a8a8a8;
	padding: 0.8em;
	line-height: 1.6em;
}
table td.closed {
	text-align: left !important;
	color: #ff0000;
	padding: 0.2em 0.2em 0.2em 0.5em;
}
/* table td span{font-size:0.9em;color:#666;} */
/* table td span.t_small{font-size:0.6em;} */
/* table#tbl_form td:nth-of-type(1),table.tbl_form td:nth-of-type(1){padding:0.8em 0.4em;text-align:left;color:#000;} */
table#tbl_form input[type="text"],
table#tbl_form input[type="tel"],
table#tbl_form input[type="email"],
table#tbl_form textarea,
table.tbl_form input[type="text"],
table.tbl_form input[type="tel"],
table.tbl_form input[type="email"],
table.tbl_form textarea {
	width: 100%;
	/* line-height: 1.6em;
	outline: none;
	border: 1px solid #aaa;
	-webkit-transition: all 0.3s;
	transition: all 0.3s; */
}
table#tbl_form input[type="tel"],
table#tbl_form input[type="email"],
table#tbl_form #name,
table#tbl_form #name-kana,
table#tbl_form #prefecture,
table#tbl_form input[type="date"],
table.tbl_form #tanto,
table.tbl_form #prefecture2 {
	width: 50%;
}
table#tbl_form #zip1,
table#tbl_form #zip2,
table.tbl_form input[type="tel"],
table.tbl_form input[type="email"],
table.tbl_form #name,
table.tbl_form #name-kana,
table.tbl_form #prefecture,
table.tbl_form input[type="date"] {
	width: 50%;
}
table#tbl_form #zip1,
table#tbl_form #zip2,
table.tbl_form #zip1,
table.tbl_form #zip2,
table#tbl_form #zip3,
table#tbl_form #zip4,
table.tbl_form #zip3,
table.tbl_form #zip4 {
	width: auto;
}
table#tbl_form .wpcf7-tbl_form-control-wrap.zip1 input,
table#tbl_form .wpcf7-tbl_form-control-wrap.zip2 input,
table.tbl_form .wpcf7-tbl_form-control-wrap.zip1 input,
table.tbl_form .wpcf7-tbl_form-control-wrap.zip2 input {
	ime-mode: disabled !important;
}
table#tbl_form #city,
table.tbl_form #city {
	width: 90%;
}
table#tbl_form #kojin span,
table.tbl_form #kojin span {
	display: inline-block;
}
/* table#tbl_form .required,table.tbl_form .required{font-size:0.8em;} */
.td_survey {
	position: relative;
}
.td_survey .wpcf7-tbl_form-control-wrap.checkbox-109 {
	float: left;
}
table#tbl_form #text-web {
	position: absolute;
	top: 3.4em;
	right: 1em;
	width: 70%;
}
table#tbl_form #text-sns {
	position: absolute;
	top: 7em;
	right: 1em;
	width: 70%;
}
table#tbl_form #text-other {
	position: absolute;
	top: 11em;
	right: 1em;
	width: 70%;
}

table.tbl_form #kosu-1,
table.tbl_form #kosu-2,
table.tbl_form #kosu-3 {
	width: 3em;
}

/* .wpcf7-response-output, */
/* table#tbl_form .wpcf7-not-valid-tip {
	color: #ff0303;
} */
span.wpcf7-list-item {
	display: block;
}
.screen-reader-response {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	color: #b94a48;
}
/* .wpcf7 .wpcf7-response-output {
	margin-bottom: 1em !important;
} */
/* .wpcf7 .wpcf7c-btn-confirm,
.wpcf7 .wpcf7-submit,
.wpcf7cp-cfm-edit-btn,*/
.wpcf7 .wpcf7c-elm-step2 {
	position: relative;
	display: inline-block;
	width: 225px;
	height: 48px;
	margin: 0 1em 0 auto;
	background: #0085ce;
	cursor: pointer;
	border: none !important;
	color: #fff;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.5;
	outline: none;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
/* .wpcf7cp-cfm-edit-btn, */
.wpcf7 .wpcf7c-elm-step2 {
	background-color: #666;
}
.wpcf7 .wpcf7-validation-errors {
	margin: 10px 0 0;
	padding: 8px 35px 8px 14px;
	color: #b94a48;
	background-color: #f2dede;
	border: 1px solid #eed3d7;
}
.wpcf7 .wpcf7-mail-sent-ok {
	margin: 10px 0 0;
	padding: 8px 35px 8px 14px;
	color: #3a87ad;
	background-color: #d9edf7;
	border: 1px solid #bce8f1;
}
/* .wpcf7 input.wpcf7-submit{display:inline-block!important;background-color:#00519f!important;} */
.wpcf7 input.wpcf7c-btn-confirm,
.wpcf7 input.wpcf7c-elm-step2 {
	display: inline-block;
	margin-right: 1em;
}

#pamphlet table th,
#estimate table th {
	width: 30%;
}
#pamphlet span.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

div.screen-reader-response {
	display: none;
}
/* table#tbl_form span.wpcf7-not-valid-tip,
table.tbl_form span.wpcf7-not-valid-tip {
	color: #f00;
	display: inline-block;
	margin: 0.4em 0 0 1em;
} */
table#tbl_form td.privacy_td,
table.tbl_form td.privacy_td {
	text-align: center;
	font-size: 0.96em;
}
/* table#tbl_form td.privacy_td span.wpcf7-not-valid-tip,
table.tbl_form td.privacy_td span.wpcf7-not-valid-tip {
	font-size: 14px;
} */

.wpcf7-recaptcha div {
	margin: 1em auto;
	text-align: center;
	font-size: 18px;
}
.sec_txt {
	line-height: 1.6em;
}

div.addin {
	margin: 0 0 5px;
}

@media screen and (max-width: 768px) {
	table#tbl_form,
	table.tbl_form {
		width: 100%;
		table-layout: fixed;
		-webkit-appearance: none;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
	}
	table th,
	table#tbl_form th,
	table#tbl_form td,
	table th,
	table.tbl_form th,
	table.tbl_form td {
		display: block;
		width: 100%;
		/* border-bottom:none; */
		box-sizing: border-box;
		-webkit-appearance: none;
	}
	table#tbl_form td table.tbl_form th,
	table#tbl_form td table.tbl_form td,
	table.tbl_form td table.tbl_form th,
	table.tbl_form td table.tbl_form td {
		display: table-cell;
	}
	#pamphlet table th,
	#estimate table th {
		width: 100%;
	}
}
@media screen and (max-width: 640px) {
	.scroll {
		overflow: auto;
		white-space: nowrap;
	}
	.scroll::-webkit-scrollbar {
		height: 5px;
	}
	.scroll::-webkit-scrollbar-track {
		background: #f1f1f1;
	}
	.scroll::-webkit-scrollbar-thumb {
		background: #bcbcbc;
	}
	/* h2{font-size:1.3em;letter-spacing:0px;} */
	/* h2:before{content: ".";display: block;height:0;font-size:0;clear:both;visibility:hidden;} */
	.square_btn {
		padding: 1.2em 1em;
		font-size: 1.2em;
	}
	table.jirei_box td {
		font-size: 1em;
	}
	table.jirei_box td p {
		width: 90%;
	}
	img.parimg {
		width: 100%;
		padding: 0;
	}
	.kadai_box p {
		font-size: 1.8em;
	}
	.afrel_box p.title {
		padding-top: 2em;
		font-size: 1.4em;
	}
	.afrel_box ul li {
		display: block;
		width: 100%;
	}
	.td_survey {
		position: relative;
	}
}

.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
}

/* .wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: 1em;
	font-weight: normal;
	display: block;
} */

/* .use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: 0.2em 0.8em;
	width: 24em;
} */

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: "";
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

/* https://afrel.co.jp/cms/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.5.4 */
.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
}

/* .wpcf7-not-valid-tip {
	color: #dc3232;
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: 0.2em 0.8em;
	width: 24em;
} */

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: "";
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

/* https://afrel.co.jp/cms/wp-content/plugins/confirm-plus-contact-form-7/assets/css/styles.css?ver=1.0 */
.wpcf7cp-force-hide {
	display: none !important;
}

.wpcf7cp-form-hide {
	visibility: hidden !important;
}

/* div.wpcf7 {
	position: relative;
	height: auto;
} */

div#wpcf7cpcnf {
	position: static !important;
}

div.wpcf7cp-btns {
	margin-top: 2em;
}

button.wpcf7cp-cfm-edit-btn {
	margin-right: 20px;
	margin-bottom: 20px;
}

button.wpcf7cp-cfm-submit-btn {
	margin-bottom: 20px;
}

/* https://afrel.co.jp/cms/wp-content/plugins/cf7-conditional-fields/style.css?ver=2.0.9 */
/* initially hide all groups (even before JS is loaded), so the page will never render them while loading */
[data-class="wpcf7cf_group"],
.wpcf7cf_remove,
.wpcf7cf_add {
	display: none;
}

.wpcf7cf_repeater_sub {
	margin-bottom: 20px;
}

.wpcf7cf_repeater_controls,
.wpcf7cf_step_controls {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 20px;
}

.wpcf7cf_multistep .wpcf7cf_step {
	/* display:none; */
	width: 100%;
}

.wpcf7cf_multistep .wpcf7cf_step .step-title {
	display: none;
}

.wpcf7cf_multistep .wpcf7cf_steps-dots {
	display: flex;
	width: 100%;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.wpcf7cf_multistep .wpcf7cf_steps-dots .dot .step-index {
	display: inline-block;
	border-radius: 50%;
	background: #dfdfdf;
	color: #000000;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
}

.wpcf7cf_multistep .wpcf7cf_steps-dots .dot {
	border-bottom: 5px solid #dfdfdf;
	text-align: center;
	flex: 1;
	padding: 15px;
	min-width: 120px;
}
.wpcf7cf_multistep .wpcf7cf_steps-dots .dot.completed {
	border-bottom: 5px solid #333;
}
.wpcf7cf_multistep .wpcf7cf_steps-dots .dot.active {
	border-bottom: 5px solid #333;
	font-weight: bold;
}

.wpcf7cf_multistep .wpcf7cf_steps-dots .dot.completed .step-index {
	background-color: #333;
	color: #ffffff;
}

.wpcf7cf_multistep .wpcf7cf_steps-dots .dot.active .step-index {
	background-color: #333;
	color: #ffffff;
}

.wpcf7cf_step_controls .disabled {
	pointer-events: none;
	cursor: default;
	opacity: 0.5;
}

/* https://afrel.co.jp/cms/wp-content/themes/precious_tcd019/style.css */
.wpcf7 {
	width: 100%;
	padding: 0;
	/* margin: 0 0 2.5em !important; */
	/* font-size: 14px; */
}

/* .wpcf7 form {
	margin: 1.5em 1.5em 0
} */

.wpcf7 p {
	/* margin-bottom: 1em; */
	/* font-size: 12px; */
}

.wpcf7 input,
.wpcf7 textarea {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	border: 1px solid #ccc;
	line-height: 1.2;
	padding: 8px;
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"],
.wpcf7 select {
	width: auto;
	max-width: 97%;
	border: 1px solid #ccc;
	margin-right: 4px;
	padding: 8px;
}

/* .wpcf7 .wpcf7-list-item-label, .wpcf7 select {
	line-height: 1.2;
	font-size: 14px
} */

.wpcf7 textarea {
	height: 80px;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	outline: 0;
	border: 1px solid #bbb;
	-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
	box-shadow: inner 0 0 5px rgba(0, 0, 0, 0.5);
}

.wpcf7 input.wpcf7-submit {
	position: relative;
	display: block;
	width: 225px;
	height: 48px;
	margin: 30px auto 0;
	background-color: #333;
	cursor: pointer;
	border: none !important;
	color: #fff;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.5;
	outline: 0;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

.wpcf7 input.wpcf7-submit,
.wpcf7 input.wpcf7-submit::after,
.wpcf7 input.wpcf7-submit::before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.wpcf7 input.wpcf7-submit:hover {
	background-color: #666;
}

.wpcf7 .wpcf7-not-valid {
	background: pink;
}

/* .wpcf7 .wpcf7-response-output {
	margin: 10px 0 0;
	padding: 8px 35px 8px 14px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
} */

.wpcf7 .wpcf7-validation-errors {
	color: #b94a48;
	background-color: #f2dede;
	border: 1px solid #eed3d7;
}

.wpcf7 .wpcf7-mail-sent-ok {
	color: #3a87ad;
	background-color: #d9edf7;
	border: 1px solid #bce8f1;
}

/* https://afrel.co.jp/cms/wp-content/themes/precious_tcd019/japanese.css */
.flex-container {
	flex-wrap: wrap;
	display: flex;
	justify-content: space-between;
	/* align-items: center; */
	align-items: flex-start;
}
.flex-container.start {
	align-items: flex-start;
}
.flex-item2 {
	flex-basis: 48%;
}
.flex-item3 {
	flex-basis: 32%;
}

@media screen and (max-width: 640px) {
	.flex-item2,
	.flex-item3 {
		flex-basis: 100%;
		margin-bottom: 2em;
	}
}

/*
	旧サイト分のCSSここまで
	2022 リニューアル追加分
*/
.wpcf7 {
	margin-top: 32px;
}

.wpcf7 table {
	font-size: 1.6rem;
	line-height: var(--line-height-s);
}

.wpcf7 table th,
.wpcf7 table td {
	padding: 14px 20px;
	font-weight: normal;
	border-color: #ccc;
	background-color: #fff;
}
.wpcf7 table th {
	background-color: #e6e6e6;
}

.wpcf7 table td span {
	color: var(--color-text);
}

.wpcf7 .required {
	display: inline-block;
	height: 20px;
	margin-left: 8px;
	vertical-align: middle;
	padding: 0 4px;
	background-color: var(--color-prim);
	font-weight: bold;
	font-size: 1rem;
	line-height: 20px;
	letter-spacing: 0;
	color: #fff;
}

.wpcf7 select,
.wpcf7 textarea,
.wpcf7 input {
	padding: 4px;
	border-radius: 2px;
	background-color: #f6f6f6;
	border: 1px solid #ccc;
}

.wpcf7 .addin {
	margin-bottom: 16px;
}
.wpcf7 .addin span {
	margin-left: 8px;
}

.wpcf7 input[type="submit"],
.wpcf7 button[type="button"] {
	width: 100%;
	max-width: 360px;
	height: 60px;
	border-radius: 5px;
	background-color: var(--color-prim);
	cursor: pointer;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.8rem;
	color: #fff;
}
.wpcf7 input[type="submit"]:hover {
	background-color: var(--color-seco);
}

.wpcf7 button[type="button"].wpcf7cp-cfm-edit-btn {
	border: 1px solid var(--color-border);
	background-color: #f6f6f6;
	color: var(--color-text);
}

.wpcf7cp-btns {
	text-align: center;
}

.wpcf7cp-form-hide {
	visibility: hidden;
	pointer-events: none;
	height: 0;
	position: absolute;
	overflow: hidden;
}

.wpcf7 form .wpcf7-response-output {
	border: none;
	margin: 0;
	padding: 0;
	line-height: var(--line-height-s);
	font-weight: bold;
	font-size: 1.6rem;
	color: #E21412;
}

.wpcf7 form.sent .wpcf7-response-output {
	text-align: center;
	color: var(--color-text);
	font-size: 2.4rem;
}

.wpcf7 .wpcf7-not-valid-tip {
	display: inline-block;
	margin-left: 8px;
	font-size: 1.4rem;
	color: #E21412;
}
