@charset "UTF-8";

/* ---------------------------------------
  お問い合わせ
-----------------------------------------*/

#sec_contact {
	padding: 3rem 0 0;
}

#sec_contact .wrap {
	width: 90rem;
}

#sec_contact .secttl {
	color: #005293;
	font-weight: 600;
	letter-spacing: 0.1em;
	padding-bottom: .75em;
	border-bottom: .4rem solid #005293;
	margin-bottom: 5rem;
}

@media screen and (max-width: 767px) {
	#sec_contact {
		padding: 5rem 0;
	}

	#sec_contact .wrap {
		width: 65rem;
	}

	#sec_contact .formwrap .secttl {
		border-bottom: .6rem solid #005293;
	}

}

/* leadwrap
--------------------------------*/
#sec_contact .leadwrap ul li {
	position: relative;
	line-height: 1.5;
	padding-left: 2rem;
}

#sec_contact .leadwrap ul li + li {
	margin-top: .5em;
}

#sec_contact .leadwrap ul li::before {
	content: "";
	width: 1.2rem;
	height: 1.2rem;
	background-color: #005293;
	border-radius: 50%;
	position: absolute;
	left: 0;
	top: .55rem;
}

#sec_contact .leadwrap ul li a {
	font-weight: 600;
	border-bottom: 1px solid #282828;
}

#sec_contact .leadwrap .txt {
	font-size: 1.8rem;
	line-height: 1.66;
	letter-spacing: 0;
}

#sec_contact .leadwrap .txt + .txt {
	margin-top: 3em;
}


#sec_contact .leadwrap .btn {
	margin-top: 4.5rem;
}

#sec_contact .leadwrap .btn a {
	font-size: 1.8rem;
	padding: 1rem;
	border-width: .2rem;
}

#sec_contact .leadwrap .btn a img {
	width: 5.6rem;
}

#sec_contact .leadwrap .btn a span {
	margin: 0 3rem 0 4.5rem;
}

#sec_contact .leadwrap .btn a span::after {
	width: 2.3rem;
	height: 1.1rem;
	background: url(../img/common/ico_arw.svg) no-repeat right center / auto 100%;
	display: inline-block;
	margin-left: 3rem;
}

@media screen and (min-width: 768px) {
	#sec_contact .leadwrap .btn a:hover span::after {
		background: url(../img/common/ico_arw_w.svg) no-repeat right center / auto 100%;
	}
}

@media screen and (max-width: 767px) {
	#sec_contact .leadwrap ul li {
		font-size: 3rem;
		line-height: 1.6;
		letter-spacing: 0.03em;
		padding-left: 3rem;
	}

	#sec_contact .leadwrap ul li + li {
		margin-top: 1em;
	}

	#sec_contact .leadwrap ul li::before {
		width: 1.8rem;
		height: 1.8rem;
		top: .55rem;
	}

	#sec_contact .leadwrap .txt {
		font-size: 3.2rem;
		line-height: 1.75;
	}

	#sec_contact .leadwrap .txt + .txt {
		margin-top: 4em;
	}

	#sec_contact .leadwrap .btn {
		margin-top: 7rem;
	}

	#sec_contact .leadwrap .btn a {
		justify-content: flex-start;
		font-size: 3rem;
		line-height: 1.2;
		padding: 2rem;
		border-width: .3rem;
	}

	#sec_contact .leadwrap .btn a img {
		width: 7.5rem;
	}

	#sec_contact .leadwrap .btn a span {
		margin: 0 3rem 0 5.5rem;
	}

	#sec_contact .leadwrap .btn a span::after {
		width: 5rem;
		height: 2rem;
		margin-left: 4.5rem;
	}
}


/* form
--------------------------------*/
#sec_contact .formwrap {
	margin-top: 7.5rem
}

#sec_contact .form .tb {
	width: 100%;
	border-collapse: collapse;
}

#sec_contact .form .tb th,
#sec_contact .form .tb td,
#sec_contact .form .tb td p {
	color: #282828;
	font-size: 1.6rem;
	line-height: 1.5;
}

#sec_contact .form .tb th {
	width: 22.1rem;
	vertical-align: top;
	display: flex;
	align-items: center;
	padding: 1.95rem 0;
}

#sec_contact .form .must {
	position: relative;
	display: inline-block;
	color: #fff;
	font-size: 1.2rem;
	line-height: 1.8rem;
	letter-spacing: 0.1em;
	padding: 0 .7rem;
	background: #DD2028;
	margin-left: 2rem;
}

#sec_contact .form .tb td {
	width: calc(100% - 22.1rem);
	padding: 1rem 0;
}

#sec_contact .form input[type="text"],
#sec_contact .form input[type="email"],
#sec_contact .form input[type="tel"],
#sec_contact .form select,
#sec_contact .form textarea {
	width: 100%;
	height: 4.3rem;
	color: #282828;
	font-size: 1.5rem;
	line-height: 1.5;
	padding: 1.025rem 1.8rem;
	background: #EDF0F2;
	border-radius: .7rem;
}

#sec_contact .form select {
	background: url(../img/common/select_arw.png) no-repeat center right 1.6rem / .9rem auto, linear-gradient(180deg, rgba(247, 248, 255, 1) 0%, rgba(234, 237, 255, 1) 100%);
	border-radius: .4rem;
	cursor: pointer;
}

#sec_contact .form .message textarea {
	height: 37rem;
	resize: vertical;
	overflow: auto;
}

::placeholder {
	color: #a7a7a7;
}

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

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

#sec_contact .form input.short {
	width: 43rem;
}

#sec_contact .form input.short1 {
	width: 8rem;
}

#sec_contact .form input.short2 {
	width: 10rem;
}

#sec_contact .form .hyphen {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: 4.3rem;
	font-weight: 700;
	font-size: 1.3rem;
	letter-spacing: 0;
	margin: 0 1rem;
}

/*address*/
#sec_contact .form .address p + p {
	margin-top: 1.5rem;
}

#sec_contact .form .address input:not(.short) {
	width: 54rem;
}

/*住所自動入力*/

#sec_contact .form .tb .postcode .row {
	display: flex;
}

#sec_contact .form .tb .postcode .num-row {
	display: flex;
}

#sec_contact .form .post_btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 13rem;
	height: 3.6rem;
	color: #fff;
	font-weight: 600;
	font-size: 1.5rem;
	line-height: 1.4;
	letter-spacing: 0.15em;
	padding: .5rem 1rem;
	background-color: #005293;
	border-radius: .7rem;
	margin: .35rem 0 0 3rem;
	transition: .3s ease;
	cursor: pointer;
}


/*check*/
#sec_contact .form .subject .checkwrap {
	display: flex;
	flex-wrap: wrap;
}

#sec_contact .form .subject .checkwrap > * {
	display: block;
	margin-right: 3rem;
}

#sec_contact .form .subject .checkwrap label {
	position: relative;
	letter-spacing: 0 !important;
}

#sec_contact .form .subject .checkwrap input[type=checkbox] {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	visibility: hidden;
}

#sec_contact .form .subject .checkwrap input[type=checkbox] + span {
	display: inline-block;
	position: relative;
	line-height: 1.5;
	padding-left: 3.4rem;
	cursor: pointer;
}

#sec_contact .form .subject .checkwrap input[type=checkbox] + span::before {
	content: "";
	width: 2.4rem;
	height: 2.4rem;
	background-color: #EDF0F2;
	border-radius: 50%;
	position: absolute;
	top: 0;
	left: 0;
}

#sec_contact .form .subject .checkwrap input[type=checkbox]:checked + span::after {
	content: "";
	width: 1.6rem;
	height: 1.6rem;
	background-color: #005293;
	border-radius: 50%;
	position: absolute;
	top: .4rem;
	left: .4rem;
}




/*privacy*/

#sec_contact .form .privacy {
	margin: 4rem auto 0;
}

#sec_contact .form .privacy .ttl {
	font-size: 1.8rem;
	line-height: 1.5;
	letter-spacing: 0;
	padding: .65rem 2rem;
	background-color: #EDF0F2;
	margin-bottom: 1em;
}

#sec_contact .form .privacy .txt {
	line-height: 1.5;
	letter-spacing: 0;
}

#sec_contact .form .privacy .txt a {
	text-decoration: underline;
}

#sec_contact .form .privacy .checkwrap {
	margin-top: 4.5rem;
}

#sec_contact .form .privacy .checkwrap > label {
	display: inline-block;
}

#sec_contact .form .privacy .checkwrap input[type=checkbox] {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	visibility: hidden;
}

#sec_contact .form .privacy .checkwrap input[type=checkbox] + span {
	display: inline-block;
	position: relative;
	color: #005293;
	font-weight: 600;
	font-size: 1.6rem;
	line-height: 1.875;
	letter-spacing: 0.12em;
	padding-left: 4.2rem;
	cursor: pointer;
}

#sec_contact .form .privacy .checkwrap input[type=checkbox] + span::before {
	content: "";
	width: 3rem;
	height: 3rem;
	background: #EDF0F2;
	border-radius: .7rem;
	position: absolute;
	top: 0;
	left: 0;
}

#sec_contact .form .privacy .checkwrap input[type=checkbox]:checked + span::after {
	content: "";
	width: 1.5rem;
	height: 1rem;
	border-bottom: .3rem solid #005293;
	border-left: .3rem solid #005293;
	transform: rotate(-48deg);
	position: absolute;
	top: .8rem;
	left: .8rem;
}


/*submitbtn*/
.submitbtn {
	position: relative;
	width: 45rem;
	height: 8rem;
	margin: 3rem auto 0;
}

.submitbtn::before {
	content: "";
	width: 2.2rem;
	height: 1rem;
	background: url(../img/common/ico_arw_w.svg) no-repeat right center / auto 100%;
	position: absolute;
	right: 4.5rem;
	top: calc(50% - .55rem);
	transition: .3s ease;
}

.submitbtn input {
	width: 100%;
	height: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 600;
	font-size: 2rem;
	line-height: 1.5;
	letter-spacing: 0.1em;
	padding: 2rem;
	background: #005293;
	border-radius: 1rem;
	transition: .3s ease;
	cursor: pointer;
}

.submitbtn input:disabled{
	opacity: .6;
}

/*error*/
#sec_contact .form .wpcf7-not-valid-tip {
	font-size: 1.4rem;
	margin-top: .5em;
}

@media screen and (min-width: 768px) {
	#sec_contact .form .post_btn:hover {
		opacity: .7;
	}

	.submitbtn:hover::before {
		opacity: 1;
		transform: translateX(.5rem);
	}

}

@media screen and (max-width: 767px) {
	#sec_contact .formwrap {
		margin-top: 15rem;
	}

	#sec_contact .form .tb th,
	#sec_contact .form .tb td {
		display: block;
	}

	#sec_contact .form .tb th,
	#sec_contact .form .tb td,
	#sec_contact .form .tb td p {
		font-size: 3.2rem;
	}

	#sec_contact .form .tb th {
		width: 100%;
		align-items: flex-end;
		padding: 5rem 0 0;
		margin-bottom: 1.5rem;
	}

	#sec_contact .form .must {
		font-size: 3rem;
		line-height: 4.1rem;
		padding: 0 1.5rem;
		margin-left: 2.5rem;
	}

	#sec_contact .form .tb td {
		width: 100%;
		padding: 0;
	}

	#sec_contact .form input[type="text"],
	#sec_contact .form input[type="email"],
	#sec_contact .form input[type="tel"],
	#sec_contact .form select,
	#sec_contact .form textarea {
		height: 10rem;
		font-size: 3rem;
		padding: 2.75rem 2rem;
		border-radius: 1.4rem;
	}

	#sec_contact .form .message textarea {
		height: 60rem;
	}

	#sec_contact .form input.short {
		width: 100%;
	}

	#sec_contact .form input.short1 {
		width: 18rem;
	}

	#sec_contact .form input.short2 {
		width: 22rem;
	}

	#sec_contact .form .hyphen {
		height: 9.4rem;
		font-size: 2rem;
		margin: 0 2rem;
		vertical-align: .3em;
	}

	/*address*/
	#sec_contact .form .address p + p {
		margin-top: 3rem;
	}

	#sec_contact .form .address input:not(.short) {
		width: 100%;
	}

	/*住所自動入力*/
	#sec_contact .form .tb .postcode {
		/* display: flex;
		align-items: flex-start; */
	}

	#sec_contact .form .post_btn {
		text-align: center;
		width: 17rem;
		height: 10rem;
		font-size: 3rem;
		line-height: 1.1;
		padding: .5rem;
		border-radius: 1.4rem;
		margin: 0 0 0 auto;
	}

	/*check*/
	#sec_contact .form .subject .checkwrap {
		justify-content: space-between;
	}

	#sec_contact .form .subject .checkwrap > * {
		width: 31.5rem;
		padding: 3.4rem 2rem;
		background: #EDF0F2;
		border: .2rem solid #DCDDDD;
		border-radius: 1.4rem;
		margin: 1.5rem 0;
	}

	#sec_contact .form .subject .checkwrap input[type=checkbox] + span {
		padding-left: 6.8rem;
	}

	#sec_contact .form .subject .checkwrap input[type=checkbox] + span::before {
		width: 4.6rem;
		height: 4.6rem;
		background-color: #DCDDDD;
	}

	#sec_contact .form .subject .checkwrap input[type=checkbox]:checked + span::after {
		width: 3rem;
		height: 3rem;
		top: .8rem;
		left: .8rem;
	}


	/*privacy*/
	#sec_contact .form .privacy {
		margin: 4rem auto 0;
	}

	#sec_contact .form .privacy .ttl {
		font-size: 3.2rem;
		padding: 1.1rem 2rem;
		margin-bottom: 4rem;
	}

	#sec_contact .form .privacy .txt {
		font-size: 2.7rem;
		line-height: 1.6;
		letter-spacing: 0.03em;
	}

	#sec_contact .form .privacy .checkwrap {
		margin-top: 14.5rem;
	}

	#sec_contact .form .privacy .checkwrap input[type=checkbox] + span {
		padding-left: 9.8rem;
	}

	#sec_contact .form .privacy .checkwrap input[type=checkbox] + span::before {
		width: 7rem;
		height: 7rem;
		border-radius: 1.4rem;
	}

	#sec_contact .form .privacy .checkwrap input[type=checkbox]:checked + span::after {
		width: 3.2rem;
		height: 2rem;
		border-bottom: .6rem solid #005293;
		border-left: .6rem solid #005293;
		top: 1.7rem;
		left: 1.8rem;
	}

	#sec_contact .form .privacy .checkwrap input[type=checkbox] + span {
		text-align: left;
		font-size: 3.2rem;
	}

	/*submitbtn*/
	.submitbtn {
		position: relative;
		width: 100%;
		height: 15rem;
		margin: 10rem auto 0;
	}

	.submitbtn::before {
		width: 5rem;
		height: 2rem;
		background: url(../img/common/ico_arw_w.svg) no-repeat right center / auto 100%;
		right: 5rem;
		top: calc(50% - 1rem);
	}

	.submitbtn input {
		font-size: 3.6rem;
		border-radius: 1rem;
	}
}


/*wpcf7*/
.form .wpcf7-not-valid-tip {
	display: block;
}

.form .wpcf7-list-item {
	display: block;
}

.form .wpcf7-spinner {
	display: block;
	margin: 10px auto;
}

.form .wpcf7 form .wpcf7-response-output {
	font-size: 1.6rem;
	padding: 1em;
	text-align: center;
}

@media screen and (max-width: 767px) {
	.form .wpcf7-list-item + .wpcf7-list-item {
		margin-top: .7rem;
	}

	#sec_contact .form .wpcf7-not-valid-tip {
		font-size: 3.2vw;
	}
}


/* 確認画面
--------------------------------*/
#sec_contact.confirm .tb td {
	padding: 1.3rem 2rem;
}

#sec_contact.confirm .tb .message td {
	white-space: pre-wrap;
}

#sec_contact.confirm .form .address p + p {
	margin-top: 1rem;
}

#sec_contact.confirm .backbtn {
	position: relative;
	width: 25rem;
	height: 8rem;
	margin: 4rem auto 0;
}

#sec_contact.confirm .backbtn input {
	width: 100%;
	height: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #606060;
	font-weight: 600;
	font-size: 2rem;
	line-height: 1.5;
	letter-spacing: 0.1em;
	padding: 2rem;
	background: #edf0f2;
	border: .2rem solid #606060;
	border-radius: 1rem;
	transition: .3s ease;
	cursor: pointer;
}

#sec_contact.confirm .backbtn::before {
	content: "";
	width: 2.3rem;
	height: 1.1rem;
	background: url(../img/contact/ico_arw_backbtn.svg) no-repeat left center / auto 100%;
	position: absolute;
	left: 2rem;
	top: calc(50% - .55rem);
	transition: .3s ease;
}

@media screen and (min-width: 768px) {
	#sec_contact.confirmct .form .post_btn:hover {
		opacity: .7;
	}

	#sec_contact.confirm .backbtn:hover::before {
		opacity: 1;
		transform: translateX(-.5rem);
	}

}

@media screen and (max-width: 767px) {
	#sec_contact.confirm .formwrap {
		margin-top: 9rem;
	}

	#sec_contact.confirm .backbtn {
		width: 40rem;
		height: 12rem;
		margin: 8rem auto 0;
	}

	#sec_contact.confirm .backbtn button {
		font-size: 3.6rem;
		border-radius: 1.4rem;
	}

	#sec_contact.confirm .backbtn::before {
		width: 5.8rem;
		height: 2rem;
		left: 3rem;
		top: calc(50% - 1rem);
	}
}


/* 送信完了
--------------------------------*/
#sec_contact.thanks .leadwrap .btn {
	margin-top: 7rem;
}

#sec_contact.thanks .leadwrap .btn a {
	width: 44rem;
	height: 8rem;
	padding: 0 4rem;
}

#sec_contact.thanks .leadwrap .btn a span {
	display: block;
	width: 100%;
	margin: 0;
}

#sec_contact.thanks .leadwrap .btn a span::after {
	position: absolute;
	right: 0;
	top: .7rem;
}

@media screen and (max-width: 767px) {
	#sec_contact.thanks .leadwrap .btn {
		margin-top: 12rem;
	}

	#sec_contact.thanks .leadwrap .btn a {
		width: 50rem;
		height: 12rem;
	}

	#sec_contact.thanks .leadwrap .btn a span::after {
		top: .8rem;
	}
}