.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select {
	border: 1px solid #ABABAB !important;
	border-radius: 3px !important;
}

:is(.wpcf7-radio, .wpcf7-checkbox) label {
	gap: 8px;
	align-items: center;
	accent-color: var(--c-dark);
}

.wpcf7 :is(.wpcf7-radio, .wpcf7-checkbox) .wpcf7-list-item label span {
	font-weight: normal;
	font-size: 1rem;
	color: var(--c-dark);
}

.wpcf7-radio {
	gap: 80px;
}

.wpcf7-list-item {
	margin: unset;
}

.wpcf7 input {
	max-height: 56px;
}

.wpcf7 input::placeholder {
	color: #ABABAB;
}

.your-input_label {
	padding: 18px 16px;
}

/* ーーー フォーム設定 ーーー */

.contact__head {
	max-width: 60rem;
	margin-inline: auto;
	margin-bottom: 1.5rem;
}

.cf7_all {
	width: 100%;
	max-width: 60rem;
	margin-inline: auto;
	padding: 2.5rem 1rem;
	background: var(--c-light);
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}

@media (min-width: 600px) {
	.contact__head {
		margin-bottom: .75rem;
	}

	.cf7_all {
		margin-inline: auto;
		padding: 2.5rem;
		box-shadow: unset;
	}
}

.cf7_form-content {
	margin-bottom: 1.5rem;
}

.cf7_form-content .cf7_form-block:not(:first-child) {
	padding-top: 1.5rem;
}

.cf7_form-content .cf7_form-block:not(:last-child) {
	border-bottom: 1px solid #ABABAB;
	padding-bottom: 1.5rem;
}

.form-type {
	margin-bottom: 1.5rem;
}

@media (min-width: 600px) {

	.cf7_form-content {
		margin-bottom: 2.5rem;
	}

	.form-type {
		margin-bottom: 1rem;
	}
}

.cf7_flex {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	line-height: 1;
}

.cf7_hissu::before,
.cf7_nini::before {
	content: "必須";
	background: #E44343;
	font-size: 12px;
	padding: 2.5px 16px;
	color: var(--c-light);
	line-height: 1;
	border-radius: 3px;
}

.cf7_nini::before {
	content: "任意";
	background: #999;
}

.your-label {
	line-height: 1;
}

.your-label:not(:last-child) {
	margin-bottom: 1rem;
}

.cf7_policy {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

@media (min-width: 600px) {

	.your-label {
		margin: 0 1.5rem;
	}

	.cf7_policy {
		margin-bottom: 1.5rem;
	}
}

.cf7_address-flex {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cf7_address-flex p {
	max-width: 25.5rem;
	width: 100%;
}

@media (min-width: 600px) {

	.cf7_address-flex {
		flex-direction: unset;
	}
}

.wpcf7 input[name="your-address"] {
	padding-left: 72px;
}

.cf7_address-img {
	position: relative;
}

.cf7_address-img::before {
	position: absolute;
	content: "〒";
	left: 18px;
	top: 16px;
	color: var(--c-light);
	font-size: 20px;
	line-height: 1.2;
	z-index: 1;
}

.cf7_address-img::after {
	position: absolute;
	content: "";
	background: #ABABAB;
	width: 56px;
	height: 100%;
	left: 0;
	top: 0;
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}

@media (min-width: 600px) {

	.cf7_address-img::after {
		height: 56px;
	}
}

.cf7_btn {
	text-align: center;
}

.your-submit_label {
	max-width: 17rem;
	width: 100%;
	border: none;
	border-radius: 10px;
	background: var(--c-gradient);
	color: var(--c-light);
	padding: 10.5px 0;
}