@charset "UTF-8";

#page_contact {
	background: rgba(0, 85, 120, .9);
	padding: 242px 0 90px;
}

@media screen and (max-width: 768px) {
	#page_contact {
		padding: 18vw 0 14vw;
	}
}

/* ------------------------------
    page_contact
------------------------------ */
#page_contact .pagettl {
	position: relative;
	text-align: center;
	margin: 0 auto;
	padding-right: 78px;
}


#page_contact .wrap_s {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

#page_contact .lead {
	background: rgba(255, 255, 255, .85);
	border-radius: 40px;
	width: 100%;
	padding: 40px 104px 50px;
	margin: 50px auto 0;
}

#page_contact .lead .txt {
	font-size: 1.7rem;
	line-height: 2;
	letter-spacing: 0.06em;
	margin-bottom: 1em;
}

#page_contact .lead .small {
	font-size: 1.4rem;
	line-height: 1.7;
	letter-spacing: 0.03em;
}

#page_contact .form_wrap {
	background-color: #ffe100;
	border-radius: 40px;
	width: 100%;
	margin: 50px auto 0;
	padding: 40px 104px 90px;
}

#page_contact .form {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}

#page_contact .form dt,
#page_contact .form dd {
	font-size: 1.7rem;
	border-bottom: 2px solid #ffd300;
}

#page_contact .form dt:last-of-type,
#page_contact .form dd:last-of-type {
	border-bottom: none;

}

#page_contact .form dt {
	font-weight: bold;
	width: 218px;
	padding-top: 38px;
}

#page_contact .form dt .must {
	display: inline-block;
	font-size: 1.4rem;
	width: 49px;
	height: 20px;
	line-height: 20px;
	color: #fff;
	border-radius: 10px;
	background: #db4f3e;
	text-align: center;
	margin-left: .5em;
	position: relative;
	top: -.1em;
}

#page_contact .form dd {
	width: calc(100% - 218px);
	padding: 20px 0;
}

#page_contact .form input:not([type='submit']),
#page_contact .form textarea {
	position: relative;
	font-size: 1.7rem;
	width: 100%;
	font-weight: normal;
	border-radius: 30px;
	background: #fff;
	padding: 0 1.5em;
}

#page_contact .form textarea {
	display: block;
	line-height: 1.8em;
	padding: 1em 1.5em;
	height: 300px;
	overflow: auto;
}

#page_contact .form input:not([type='submit']) {
	line-height: 60px;
	height: 60px;
}


::placeholder {
	color: #bfbfc0;
}

:-ms-input-placeholder {
	color: #bfbfc0;
}

::-ms-input-placeholder {
	color: #bfbfc0;
}

#page_contact .privacy {
	padding-top: 36px;
	margin-top: 30px;
	text-align: center;
	position: relative;
}

#page_contact .privacy::before {
	content: "";
	width: 100%;
	height: 4px;
	background: url(../img/common/line.png) repeat-x center bottom / auto 4px;
	position: absolute;
	left: 0;
	top: 0;
}

#page_contact .privacy p {
	text-align: center;
}

#page_contact .privacy .txt {
	font-size: 1.7rem;
	margin-bottom: 1.5em;
}

#page_contact .privacy a {
	color: #db4f3e;
	text-decoration: underline;
}

#page_contact .privacy a:hover {
	text-decoration: none;
}

#page_contact .privacy p.checkwrap {
	display: inline-block;
	line-height: 1;
}


#page_contact .privacy label {
	font-size: 1.7rem;
	white-space: nowrap;
}


#page_contact .privacy input[type='checkbox'] {
	visibility: hidden;
	width: 1px;
	height: auto;
	margin: 0;
	padding: 0;
}

#page_contact .acceptance-check .wpcf7-list-item {
	margin-left: 0;
}

#page_contact .privacy input[type='checkbox'] + .wpcf7-list-item-label {
	margin: 0;
}

#page_contact .privacy input[type='checkbox'] + label,
#page_contact .privacy input[type='checkbox'] + .wpcf7-list-item-label {
	position: relative;
	font-weight: bold;
	padding-left: 1.7em;
	cursor: pointer;
}

#page_contact .privacy input[type='checkbox'] + label::before,
#page_contact .privacy input[type='checkbox'] + .wpcf7-list-item-label::before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: -1px;
	width: 20px;
	height: 20px;
	background: #fff;
	border: 2px solid #000;
	border-radius: 5px;
	z-index: 1;
}

#page_contact input[type='checkbox']:checked + label::before,
#page_contact input[type='checkbox']:checked + .wpcf7-list-item-label::before{
	background: #db4f3e;
}

.btnwrap {
	width: 250px;
	position: relative;
	margin: 60px auto 0;
}

.btnwrap input[type='submit'] {
	border: none;
	display: block;
	width: 100%;
	height: 60px;
	border-radius: 30px;
	background-color: #DB4F3E;
	font-weight: bold;
	font-size: 1.8rem;
	letter-spacing: 0.04em;
	line-height: 1.2;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-image: url(../img/common/morebtn_line.png);
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
	white-space: nowrap;
	cursor: pointer;
	transition: .2s ease;
}

.btnwrap .arw {
	display: inline-block;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 2px solid #fff;
	position: absolute;
	right: 19px;
	top: 50%;
	transform: translateY(-50%);
}

.btnwrap .arw::before {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	position: absolute;
	right: 8px;
	top: 7px;
	transform: rotate(-45deg);
}

#page_contact .form_wrap .ajax-loader {
	position: absolute;
	left: 50%;
	bottom: -30px;
	margin-left: -12px;
}

#page_contact .wpcf7 form .wpcf7-response-output {
	background-color: #fff;
	padding: 1em;
	font-size: 1.7rem;
	font-weight: bold;
	text-align: center;
	color: #db4f3e;
	line-height: 1.6;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
	border: 2px solid #ffe100;
}

/*IE*/
.ie #page_contact .form dt .must{
	line-height: 26px;
}

.ie #page_contact .form input:not([type='submit']){
	line-height: 66px;
}

.ie .btnwrap input[type='submit']{
	padding-top: .4em;
}


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

	.btnwrap input[type='submit']:hover {
		background-image: url(../img/common/morebtn_line_on.png);
	}

}

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

	#page_topics .pagettl {
		width: 55.33vw;
	}

	#page_contact .lead {
		border-radius: 5.6vw;
		margin: 8vw auto 0;
		padding: 8vw 4vw 12vw;
	}

	#page_contact .lead .txt {
		font-size: 3.4vw;
	}

	#page_contact .lead .small {
		font-size: 3vw;
	}

	#page_contact .form_wrap {
		border-radius: 5.6vw;
		margin: 8vw auto 0;
		padding: 8vw 4vw 12vw;
	}

	#page_contact .form {
		display: block;
	}

	#page_contact .form dt,
	#page_contact .form dd {
		font-size: 3.4vw;
		border-bottom: 1px solid #ffd300;
	}

	#page_contact .form dt {
		width: 100%;
		padding-top: 4vw;
		border-bottom: none;
	}

	#page_contact .form dt .must {
		font-size: 2.8vw;
		width: 10vw;
		height: 4.4vw;
		line-height: 4.4vw;
		border-radius: 2.2vw;
	}

	#page_contact .form dd {
		width: 100%;
		padding: 2vw 0 4vw;
	}

	#page_contact .form input:not([type='submit']),
	#page_contact .form textarea {
		font-size: 3.4vw;
		border-radius: 4.8vw;
	}

	#page_contact .form textarea {
		height: 45vw;
	}

	#page_contact .form input:not([type='submit']) {
		line-height: 9.6vw;
		height: 9.6vw;
	}


	#page_contact .privacy {
		padding-top: 8vw;
		margin-top: 6vw;
	}

	#page_contact .privacy::before {
		height: .8vw;
		background: url(../img/common/line.png) repeat-x center bottom / auto .8vw;
	}

	#page_contact .privacy .txt {
		font-size: 3.4vw;
	}

	#page_contact .privacy label {
		font-size: 3.4vw;
	}


	#page_contact .privacy input[type='checkbox'] + label::before,
	#page_contact .privacy input[type='checkbox'] + .wpcf7-list-item-label::before {
		width: 4.8vw;
		height: 4.8vw;
		border: 1px solid #000;
		border-radius: 1vw;
		top: -.15em;
	}

	.btnwrap {
		width: 66.67vw;
		margin: 10vw auto 0;
	}

	.btnwrap input[type='submit'] {
		height: 11.2vw;
		border-radius: 5.6vw;
		font-size: 4vw;
		background-image: url(../img/common/morebtn_line_sp.png);
		background-size: 64.8vw auto;
	}

	.btnwrap .arw {
		width: 4.8vw;
		height: 4.8vw;
		right: 4vw;
	}

	.btnwrap .arw::before {
		width: 1.4vw;
		height: 1.4vw;
		right: 1.3vw;
		top: 1vw;
	}
}
