@charset "UTF-8";

/* !contact
---------------------------------------------------------- */
.contactForm {
}
.contactForm dt {
	display: block;
	width: 24%;
	float: left;
	padding: 1em 0;
}
.contactForm dd {
	width: 100%;
	padding: 1em 0 1em 24%;
	display: block;
}
.contactForm dd:last-child {
}
.wpcf7 input:not([type=submit],[type=checkbox],[type=radio],.wpcf7-previous),
.wpcf7 textarea,
.wpcf7 select {
	padding: 0.5em 0.9em;
	width: 100%;
	border: 1px solid #aaa;
	border-radius: .3em;
}
.wpcf7 input[type=checkbox] {
	width: 1.1em;
	height: 1.1em;
	vertical-align: -3px;
	margin-right: .4em;
}
.wpcf7 input[type=radio] {
	width: 17px;
	height: 17px;
	vertical-align: -1px;
}
span.wpcf7-spinner {
  display: none;
}
span.wpcf7-list-item { /*ラジオボタンを横並びにする*/
  /*display: block;*/
}
span.cf7msm-ro {
  display: block;
}
.wpcf7-response-output { display: none; }
.wpcf7-list-item {
    margin: 0 !important;
}
@media screen and (max-width: 1280px) {
}
@media screen and (max-width: 1024px) {
	.contactForm dt {
		width: 100%;
		float: none;
		font-size: 2vw;
		padding: 2vw 0 1vw;
	}
	.contactForm dd {
		width: 100%;
		float: none;
		padding: 0.5vw 0 2.5vw;
	}
}
@media screen and (max-width: 820px) {
}
@media screen and (max-width: 540px) {
	.contactForm {
		margin: 0 auto;
	}
	.contactForm dt {
		font-size: 3.8vw;
		padding: 2.5vw 0 1vw;
	}
	.contactForm dd {
		padding: 0 0 4vw;
	}
	.wpcf7 input:not([type=submit],[type=checkbox],[type=radio]),
	.wpcf7 textarea,
	.wpcf7 select {
		padding: 0.5em 0.7em;
	}
	.contactForm dd input:not([type=submit]),
	.contactForm dd textarea,
	.contactForm dd select {
		font-size: 16px;
		margin: 1vw 0;
	}
}
@keyframes onAutoFillStart { from {} to {}}

.wpcf7 input:-webkit-autofill,
.wpcf7 textarea:-webkit-autofill {
	animation-name: onAutoFillStart;
	transition: background-color 50000s ease-in-out 0s;
}


/* エラー文字 */
.wpcf7-not-valid-tip {
	font-weight: 700;
}

/* エラーの項目を強調 */
.wpcf7 dd:has(.wpcf7-not-valid-tip) input[type=text],
.wpcf7 dd:has(.wpcf7-not-valid-tip) input[type=email],
.wpcf7 dd:has(.wpcf7-not-valid-tip) textarea {
	border: 2px solid #88C4CD;
}

/* プライバシーポリシーカスタマイズ */
.pcheck .wpcf7-list-item-label {
	display: none;
}
.pcheck .wpcf7-not-valid-tip {
	display: none;
}
.pcheck:has(.wpcf7-not-valid-tip) span.ptxtwrap::after {
	content: "同意は必須です";
	color: #de4242;
	font-weight: normal;
	display: block;
}

/* !ラジオボタン色変え
---------------------------------------------------------- */
input[type=radio] {
  appearance: none;
  display: none;
}
input[type=radio] + span {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  margin-left: 1.5em;
  margin-right: 1.8em;
}
input[type=radio] + span::before {
	background: #fff;
	border: 1px solid #b9b9b9;
	border-radius: 50%;
	content: '';
	display: block;
	left: -1.3em;
	margin-top: -.45em;
	position: absolute;
	top: 50%;
	width: 1em;
	height: 1em;
}
input[type=radio] + span::after {
	background: var(--blue);
	border-radius: 50%;
	content: '';
	display: block;
	left: -1.1em;
	margin-top: -.3em;
	opacity: 0;
	position: absolute;
	top: 50%;
	width: .625em;
	height: .625em;
}
input[type=radio]:checked + span::after {
    opacity: 1;
}
@media screen and (max-width: 540px) {
	input[type=radio] + span {
	  margin-left: 2em;
	}
	input[type=radio] + span::before {
		width: 1.2em;
		height: 1.2em;
		margin-top: -.6em;
		left: -1.5em;
	}
	input[type=radio] + span::after {
		margin-top: -.4em;
		width: .8em;
		height: .8em;
		left: -1.3em;
	}
}

::placeholder {
	color: #939393;
}



.select-box {
	position: relative;
	display: inline-block;
}
.select-box::before {
	content: "";
	position: absolute;
	right: 0;
	top: 35%;
	width: 11px;
	height: 11px;
	margin-right: 12px;
	border-top: 2px solid #000;
	border-right: 2px solid #000;
	transform: rotate(135deg);
	display: inline-block;
	vertical-align: 2px;
}
@media screen and (max-width: 540px) {
	.select-box {
		display: block;
	}
	.select-box.select-box-dib {
		display: inline-block;
	}
	
}

input[type="checkbox"] {
  accent-color: #419baa;
}