@charset "utf-8";
@import url("../../assets/css/secondlayer.css");
/* CSS Document */
/* headerの設定 */
.secondary_img {	
object-position: 50% 30%;
}

.mail_imgb,.mail_imgg {
	display: none;
}
.mail_contact {
	display: block;
}
.reaf_bg {
	width: 100%;
}
.reaf_bg::before {
	top: 2%;
}
.reaf_bg::after {
	top: 81%;
}
.secondary_contact {
	width: 80%;
	margin: 0 auto 4em;
	text-align: center;
	position: relative;
	z-index: 1;
	border: solid #1E841E 1px;
}
.secondary_contact:nth-child(2) {
	margin-top: 3em;
}
.secondary_contact img {
	width: 100%;
	max-height: 170px;
	object-fit: cover;
	display: block;
}
.contact_tel,.contact_mail {
	width: 100%;
}
.secondary_contact h2 {
	color: #1E841E;
	margin: 1em auto 0;
	font-weight: 300;
	font-size: 1.2em;
}
.secondary_contact a {
	font-weight: 500;
	color: black;
	line-height: 4em;
	display: block;
}
.secondary_contact a:hover {
	color: #1E841E;
	opacity: 0.8;
}
.contact_tel a {
	padding-left: 1em;
}
.contact_mail a {
	padding-left: 0.5em;
}
.contact_tel p:nth-child(3) {
	position: relative;
	width: 225px;
	line-height: 1.2em;
	margin: auto;
	font-size: 1.3em;
}
.contact_mail p {
	width: 260px;
	position: relative;
	line-height: 1.2em;
	margin: auto;
	font-size: 0.85em;
	letter-spacing: 0.05rem
}
 .contact_tel a::before {
	content: "";
	background: url("../images/tel.svg") no-repeat;
	background-size: 100%;
	position: absolute;
	width: 25px;
	height: 100%;
	top: 36%;
	left: 0;
}
.contact_mail a::before {
	content: "";
	background: url("../images/mail.svg") no-repeat;
	background-size: 100%;
	position: absolute;
	width: 19px;
	height: 100%;
	top: 37%;
	left: -0;
}
.small {
	font-size: 0.9em;
}
@media print, screen and (min-width: 480px) {
.contact_mail p {
	font-size: 1.1em;
}
.contact_mail a::before {
	width: 25px;
	top: 34%;
	left: -25px;
}
}
@media print, screen and (min-width: 670px) {
	.reaf_bg::after {
	top: 73%;
	}
	.secondary_contact {
		max-width: 900px;
		height: 200px;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.secondary_contact:nth-child(2) {
		margin-top: 2em;
	}
	.secondary_contact h2 {
		font-size: 1.4em;
		font-weight: 500;
	}
	.secondary_contact img {
		width: 50%;
		height: 100%;
		max-height: none;
	}
	.secondary_contact a {
		font-size: 1.2em;
		line-height: 3em;
	}
	.contact_tel a {
		padding-left: 1.2em;
	}
	.contact_tel p:nth-child(3) {
		width: 250px;
	}
	.contact_mail p {
		width: 250px;
		font-size: 0.9em;
	}
	.contact_mail a::before {
		width: 28px;
		top: 30%;
		left: -30px
	}
	.small {
	font-size: 1em;
	}
}
@media print, screen and (min-width: 768px) {
	.secondary_contact {
		width: 90%;
	}
	.secondary_contact img {
		width: 100%;
		height: 100%;
		max-height: none;
	}
}
@media print, screen and (min-width: 1024px) {
	.reaf_bg {
		padding-bottom: 12em;
	}
	.reaf_bg::after {
		top: 74%;
	}
	.secondary_contact {
		height: 270px;
	}
	.secondary_contact h2 {
		font-size: 1.6em;
	}
	.secondary_contact a {
		font-size: 1.8em;
	}
	.contact_tel p:nth-child(3) {
		width: 360px;
	}
	.small {
		font-size: 1.1em;
	}
	.contact_mail p {
		width: 340px;
		font-size: 0.7em
	}
	.contact_tel a::before {
		width: 35px;
		top: 35%;
	}
	.contact_mail a::before {
		width: 30px;
		top: 37%;
		left: -10px;
	}
	.contact_mail a {
		padding-left: 1.5em;
	}
}
@media print, screen and (min-width: 1300px) {
	.reaf_bg::after {
		top: 69%;
	}
}