@charset "utf-8";

/*contact
--------------------------------------------*/

#form {
	/* width: 100%; */
}

#form .innerBox {
	width: 100%;
	max-width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

#form .txtBox {
	max-width: 800px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}

#form .wpcf7 {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

#form .wpcf7 label {
	display: block;
	margin-bottom: 30px;
	width: 100%;
	font-weight: 500;
	line-height: 1.6;
	position: relative;
}

#form .wpcf7 label .wpcf7-form-control-wrap {
	display: block;
}

/* 必須マークのスタイル */
#form .wpcf7 .required {
	color: #e53742;
	font-size: 0.75em;
	font-weight: bold;
	background: #ffe6e8;
	padding: 2px 8px;
	border-radius: 3px;
	margin-left: 8px;
	vertical-align: middle;
}

#form .wpcf7 input[type="text"],
#form .wpcf7 input[type="email"],
#form .wpcf7 input[type="tel"],
#form .wpcf7 textarea {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	box-sizing: border-box;
	font-size: 1em;
	margin-top: 8px;
	transition: all 0.3s ease-in-out;
	background: #fafafa;
}

#form .wpcf7 input[type="text"]:focus,
#form .wpcf7 input[type="email"]:focus,
#form .wpcf7 input[type="tel"]:focus,
#form .wpcf7 textarea:focus {
	border-color: #e53742;
	outline: none;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(229, 55, 66, 0.1);
}

#form .wpcf7 input[type="text"]::placeholder,
#form .wpcf7 input[type="email"]::placeholder,
#form .wpcf7 input[type="tel"]::placeholder,
#form .wpcf7 textarea::placeholder {
	color: #999;
	opacity: 1;
}

#form .wpcf7 textarea {
	height: 200px;
	resize: vertical;
	min-height: 150px;
}

/* バリデーションエラーのスタイル */
#form .wpcf7-not-valid {
	border-color: #e53742 !important;
	background: #fff8f8 !important;
}

#form .wpcf7-not-valid-tip {
	color: #e53742;
	font-size: 0.875em;
	margin-top: 5px;
	display: block;
}

/* 送信ボタン */
#form .wpcf7 input[type="submit"] {
	background: linear-gradient(135deg, #e53742 0%, #d32f3c 100%);
	border: none;
	border-radius: 50px;
	color: #fff;
	cursor: pointer;
	display: block;
	font-size: 1.12em;
	font-weight: bold;
	line-height: 1.4;
	margin: 40px auto 0;
	padding: 1em 3em 1em 2em;
	position: relative;
	transition: all 0.3s ease-in-out;
	min-width: 240px;
	box-shadow: 0 4px 15px rgba(229, 55, 66, 0.3);
}

#form .wpcf7 input[type="submit"]:after {
	content: '→';
	display: block;
	margin: auto;
	position: absolute;
	top: 0;
	right: 30px;
	bottom: 0;
	transition: 0.3s ease-in-out;
	font-size: 1.2em;
	height: fit-content;
	color: #fff;
}

#form .wpcf7 input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(229, 55, 66, 0.4);
}

#form .wpcf7 input[type="submit"]:hover:after {
	right: 25px;
}

#form .wpcf7 input[type="submit"]:active {
	transform: translateY(0);
	box-shadow: 0 2px 10px rgba(229, 55, 66, 0.3);
}

#form .lead {
	margin: 0 0 50px;
}

#form .cmn_table {
	max-width: 1000px;
	margin: auto;
	padding-top: 40px;
}
#form dl {
	display: flex;
}
#form dt {
	background: #F5F5F5;
	width: 240px;
}

#form dt span {
	font-size: 12px;
	color: #ff0a0a;
}

#form dd {
	background: #fff;
	flex: 1;
}

#form dd input,
#form dd textarea {
	width: 100%;
	padding: 10px 8px;
	border: 1px solid #cfcfcf;
	box-sizing: border-box;
	/* height: 30px; */
}

#form dd textarea {
	width: 100%;
	height: 200px;
}


.contact_btn li {
	/* display: inline-block; */
	vertical-align: top;
	padding: 10px 0;
}
.contact_btn li:before {
	display: none;
}

.wpcf7-form.init .contact_btn li:not(li:first-child),
.wpcf7-form.invalid .contact_btn li:not(li:first-child) {
	display: none;
}


.contact_btn li [type="submit"] {
	transition: .2s ease-in-out;
}
.contact_btn li [type="button"] {
	-webkit-appearance: none;
	border: none;
	cursor: pointer;
}
.contact_btn li [type="button"]:hover {}
.wpcf7c-conf {
	background-color: transparent !important;
	border: none !important;
	pointer-events: none;
}
.wpcf7c-conf:focus-visivle {
	border: none !important;
}
.mail_thanks {
	padding: 30px;
	text-align: center;
	border: 2px solid #f3ede4;
}
#form .wpcf7-not-valid-tip {
	font-size: 1.4rem;
}
#form div.wpcf7 .ajax-loader {
	display: none;
}
/* ////////// mobile ////////// */
@media screen and (max-width: 769px) {
	#form dl {
		border: none;
		flex-direction: column;
		margin-bottom: 20px;
	}
	#form dt {
		padding: 10px 15px;
		width: 100%;
	}
	#form dd {
		padding: 10px ;
	}
	.contact_btn {
		margin-bottom: 30px;
	}
	.contact_btn li [type="submit"],
	.contact_btn li [type="button"] {
		width: 100%;
		min-width: 0;
	}

	#form .wpcf7 input[type="submit"] {
		width: 80%;
		min-width: 0;
		font-size: 1em;
		padding: 1em 45px 1em 1em;
	}

	#form .wpcf7 input[type="submit"]:after {
		width: 20px;
	}
}

@media screen and (max-width:500px) {
}

/* ////////// PC ////////// */
@media print, screen and (min-width: 769px) {
	.contact_btn {
		margin-top: 50px;
		text-align: center;
	}
	.contact_btn li [type="submit"]:hover {
		opacity: 1;
	}

	#form .wpcf7 input[type="submit"]:hover {
		opacity: 1;
	}

	#form .wpcf7 input[type="submit"]:before {
		background: rgba(230, 55, 66, 0.15);
		border-radius: 30px;
		content: '';
		margin: auto;
		position: absolute;
		top: 0;
		left: auto;
		right: 0;
		bottom: 0;
		transition: 0.4s cubic-bezier(0.8, 0, 0.2, 1) 0s;
		width: 0;
		height: 100%;
	}

	#form .wpcf7 input[type="submit"]:hover:before {
		left: 0;
		right: auto;
		width: 100%;
	}

}

/* ////////// tablet ////////// */
@media screen and (min-width:769px) and (max-width:959px) {
}

@media screen and (min-width:1280px) {
}


/*====================================================
////id leadCopy
====================================================*/
/* #leadCopy .headBox .box-inner {
	padding: 0 40px;
	position: relative;
}
#leadCopy .headBox .box-inner:before,
#leadCopy .headBox .box-inner:after {
	border: solid transparent;
	border-width: 70px 8px 0;
	border-top-color: #FF008C;
	content: '';
	margin: auto;
	position: absolute;
		top: 0;
		bottom: 0;
	transform-origin: bottom;
	width: 0;
	height: 0;
}
#leadCopy .headBox .box-inner:before {
	left: 0;
	transform: rotate(-25deg);
}
#leadCopy .headBox .box-inner:after {
	right: 0;
	transform: rotate(25deg);
} */

/* ////////// mobile ////////// */
@media screen and (max-width: 769px) {
	#leadCopy .headBox .box-inner {
		padding: 0 15px;
	}
	#leadCopy .headBox h2 {
		font-size: 2.4rem;
	}
	#leadCopy p {
		text-align: left;
	}
}

@media screen and (max-width:500px) {
	#leadCopy .headBox h2 {
		font-size: 4.5vw;
	}
}

/* ////////// PC ////////// */
@media print, screen and (min-width: 769px) {
	#leadCopy .headBox h2 {
		font-size: 2.6rem;
	}
}

/* ////////// tablet ////////// */
@media screen and (min-width:769px) and (max-width:959px) {
	#leadCopy p {
		text-align: left;
	}
}

@media screen and (min-width:1280px) {
}
