/*
contact.css
*/


/* main
--------------------------------*/

/* sec01 */
#sec01 {
	background-color: #dfe3e9;
}

#sec01 .inner {
	padding: 5.2% 0 7.8%;
}

#sec01 .bg_container {
	background: url(../img/contact_sec01_bg.png) no-repeat 98% center;
	background-size: 30%;
}

#sec01 h3 {
	font-size: 2.25rem;
	line-height: 1.4;
	text-indent: -20px;
	color: #000;
	padding-top: 7.3%;
	margin-bottom: 3.33%;
}

#sec01 p {
	padding-bottom: 4.16%;
	font-size: 0.875rem;
	line-height: 2.1;
}



/* sec02 */
#sec02 .inner {
	padding: 10.4% 0;
}

.main_body {
	height: auto;
	display: block;
	overflow: hidden;
}

.contact_form {
	width: 100%;
	max-width: 710px;
	margin: 0 auto;
}

.contact_form p {
	text-align: center;
	font-size: 0.812rem;
	color: #656565;
	line-height: 1;
}

.contact_form .policy_top_txt {
	margin-bottom: 2.25%;
	font-size: 0.812rem;
	text-align: left;
}

.contact_form .policy {
	height: 400px;
	padding: 1% 0.5% 1% 2%;
	margin: 0 auto;
	border: 1px solid #8f8f8f;
	box-sizing: border-box;
}

.contact_form .policy .text {
	height: 380px;
	font-size: 0.75rem;
	color: #808080;
	line-height: 2;
	overflow-y: scroll;
}


/* ポリシー枠の縦横比固定用スタイル start */
.policy_container {
	position: relative;
	padding-bottom: 56.24%; /* 縦横比64:36(式36÷64x100)で算出した値 */
	height: 0;
	overflow: hidden;
	margin-bottom: 2.1%;
}
.contact_form .policy {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.contact_form .policy .text {
	height: -webkit-fill-available;
}
/* ポリシー枠の縦横比固定用スタイル end */


.contact_form input[type="image"]{
	display: block;
	margin: 0 auto 55px;
}

.contact_form input[type="image"]:hover{
	opacity: 0.8;
}

#policy_notice {
	text-align: center;
	color: #ff0000;
	visibility: hidden;
}

#agreement_btn {
	padding: 3.1% 8.45%;
	font-size: 1.125rem;
	line-height: 1;
	color: #808080;
	background-color: #e8e8e8;
	border: 1px solid #808080;
	margin: 1% auto 0;
	display: block;
	opacity: 0.5;
}

#agreement_btn.ready {
	color: #5876aa;
	background-color: #ffffff;
	border: 1px solid #5876aa;
	opacity: 1;
}
#agreement_btn.ready:hover {
	color: #ffffff;
	background-color: #5876aa;
	cursor: pointer;
}
#agreement_btn:focus {
	outline: none;
}


/* input_form */
#input_form {
	display: none;
	padding: 0 8.45%;
	margin-top: 9.85%;
}

#input_form .contact_btn {
	display: block;
	width: 100%;
	font-size: 1.125rem;
	font-weight: normal;
	line-height: 1.2;
	color: #ffffff;
	padding: 27px 0;
	text-align: center;
	background: #5876aa;
	margin: 0 auto;
	text-decoration: none;
}

#input_form .mail_container {
	margin: 0 auto;
}

#input_form li {
	font-size: 1rem;
	line-height: 1.5;
	margin-bottom: 1.7%;
}
#input_form li:last-of-type {
	margin-bottom: 0;
}

#input_form li span {
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
	margin-right: 10px;
	font-size: 0.75rem;
	line-height: 2.2;
	color: #ffffff;
	background-color: #5876aa;
	border-radius: 50%;
	text-align: center;
}

#input_form li span.capsule_allenge {
	width: 3rem;
	border-radius: 10px;
}

#input_form li small {
	font-size: 10px;
}

.contact_form .mail_notice {
	margin: 2.1% auto 6.2%;
}

.contact_form .show_mail {
	margin-bottom: 12%;
	color: #5876aa;
}

.contact_form .show_mail .triangle {
	display: block;
	margin-top:2.5%;
	font-size: 1rem;
}

#mail_open {
	display: none;
}

#input_form .ttl {
	font-size: 1rem;
	color: #000000;
	line-height: 1;
	padding-bottom: 2.2%;
	text-align: center;
	border-bottom: 1px solid;
	margin-bottom: 3.3%;
}

#ma .left_half.capsule {
	background-color: #5876aa;
	display: inline-block;
	padding: 12px 30px;
	color: #ffffff;
	font-size: 1rem;
	box-sizing: border-box;
}

#ma .cont {
	width: 50%;
	padding-top: 12px;
	padding-bottom: 12px;
	padding-left: 10px;
	font-size: 1rem;
	font-weight: bold;
	color: #5876aa;
	text-align: center;
}

#input_form .sub_ttl {
	font-size: 1rem;
	color: #000;
	line-height: 1.5;
	padding: 65px 0 17px;
	text-align: center;
	border-bottom: 1px dotted #434343;
	margin-bottom: 4.2%;
}

#input_form .sub_ttl span {
	display: block;
	margin-top: 1.4%;
	font-size: 0.75rem;
}

#input_form .txt_link {
	color: #5876aa;
	display: inline;
	font-size: 0.812rem;
}
#input_form .txt_link:hover {
	opacity: 0.5;
}

.indent_mail {
	text-indent: -2em;
	padding-left: 2em;
}

.indent_mail span {
	text-indent: 0;
}

.indent_mail_nest {
	margin-top: .5rem;
	text-indent: -1em;
	padding-left: 1em;
}

.none_number {
	padding-left: 2rem;
}

.comment {
	margin-top: 5%;
}

/****** responcive:smartphone ******/
@media screen and (max-width: 640px) {

/* main:sp
--------------------------------*/

/* sec01 */
	#sec01 .inner {
		padding: 5.2% 0 7.8% 6.25%;
	}

	#sec01 .bg_container {
		background: url(../img/contact_sec01_bg_sp.png) no-repeat left bottom;
		background-size: 93%;
	}

	#sec01 h3 {
		padding-top: 0;
		margin-bottom: 3.125%;
		font-size: 2rem;
		line-height: 1.6;
		text-indent: -8px;
		letter-spacing: -0.07rem;
	}

	#sec01 p {
		padding-bottom: 36%;
		font-size: 1.5rem;
		line-height: 1.6;
	}



/* sec02 */
	#sec02 .inner {
		padding: 10.4% 6.25%;
	}

	.contact_form p {
		font-size: 2.25rem;
		line-height: 1.5;
	}

	.contact_form .policy_top_txt {
		margin-bottom: 3.2%;
		font-size: 1.625rem;
		line-height: 1.3;
	}

	.contact_form .policy .text {
		height: 100%; /* スタイル効かなかった時の値 */
		height: -webkit-fill-available;
		font-size: 1.5rem;
		line-height: 1.7;
	}

	.policy_container {
		margin-bottom: 3%;
	}

	#policy_notice {
		font-size: 1.5rem;
	}

	#agreement_btn {
		width: 100%;
		padding: 7.1% 0;
		margin-top: 3%;
		font-size: 2.375rem;
		border: 1px solid #808080;
	}

	#input_form {
		padding: 0;
		margin-top: 17.8%;
	}

	#input_form .contact_btn {
		font-size: 2.562rem;
		padding: 14.2% 0;
	}

	#input_form li {
		font-size: 1.875rem;
		margin-bottom: 5.35%;
		line-height: 1.7;
	}

	#input_form li span {
		width: 2.5rem;
		height: 2.5rem;
		margin-right: 15px;
		font-size: 2rem;
		line-height: 1.2;
}

	#input_form li span.capsule_allenge {
		width: 5.5rem;
		border-radius: 15px;
	}

	#input_form .ttl {
		font-size: 1.875rem;
		padding-bottom: 0;
		border-bottom: 0;
		margin-bottom: 7.14%;
		line-height: 1.7;
		text-align: left;
	}

	#ma .left_half.capsule {
		width: 100%;
		padding: 3.6% 0;
		font-size: 1.875rem;
		text-align: center;
	}

	#ma .cont {
		width: 100%;
		padding-top: 7.14%;
		padding-bottom: 0;
		padding-left: 0;
		font-size: 2.5rem;
		/*font-size: 2.125rem;*/
		/*font-size: 3.125rem;*/
		/*overflow-x: scroll;*/
	}

	#input_form .sub_ttl {
		font-size: 2.25rem;
		line-height: 1.4;
		padding: 14.2% 0 6.25%;
		border-bottom: 1px dotted #434343;
		margin-bottom: 7.14%;
		text-align: left;
	}

	#input_form .sub_ttl span {
		margin-top: 3.8%;
		font-size: 1.5rem;
	}

	#input_form .txt_link {
		font-size: 2.5rem;
	}

	.contact_form .mail_notice {
		margin: 5.35% auto 0;
		font-size: 1.875rem;
		line-height: 1.7;
	}

	.contact_form .show_mail {
		margin-top: 14.3%;
	}

	.contact_form .show_mail .triangle {
		margin-top: 0;
		font-size: 2.5rem;
	}

	.indent_mail_nest {
		margin-top: 1rem;
	}

	.comment {
		margin-top: 9%;
	}

}