@charset "UTF-8";
/* CSS Document */

.mainvisual{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 450px;
	position: relative;
}
.mainvisual .object{
	background: #fff;
	width: 500px;
	text-align: center;
	border-radius: 20px;
	padding: 35px;
	z-index: 2
}
h2 span{
	font-family: 'Oswald', sans-serif;
	font-size: 6rem;
	color: #9ad1ee;
	letter-spacing: 0.5rem;
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 300;
}
h2{
	font-size: 2rem;
}
.mainvisual .object figure:first-child{
	width: 40%;
	margin: 0 auto;
}
.mainvisual .object figure{
	width: 84%;
	margin: 13px auto 30px;
}
.mainvisual .object h1{
	font-weight: normal;
	font-size: 1.8rem;
	line-height: 1.6;
}
.mainvisual .left-visual{
	position: absolute;
	width: 50%;
	height: 100%;
	background-position: center;
	background-image: url("../img/top/main-left.jpg");
	background-size: cover;
	left:0;
}
.mainvisual .right-visual{
	position: absolute;
	width: 50%;
	height: 100%;
	background-position: center;
	background-image: url("../img/top/main-right.jpg");
	background-size: cover;
	right: 0;
}
.service{
	padding: 100px 0 0;
}
.service h2{
	margin-bottom: 20%;
}
.service h3{
	font-size: 2.4rem;
	margin-bottom: 1rem;
}
.denshi figure{
	width:48%;
}
.denshi .in-denshi{
	width:48%;
}
.denshi .in-denshi p{
	width:70%;
}
.denshi .in-denshi .button{
	width:200px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #028bd5;
	height: 50px;
	position: relative;
	color:#fff;
	margin-top: 10%;
}
.denshi .in-denshi .button:hover{
	background: #047db2;
}
.button::after{
	content: "";
	position: absolute;
	width: 1rem;
	height: 1rem;
	right: 1.6rem;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
}
.other{
	position: relative;
	background: #e6f3fb;
	padding: 60px 0 100px;
}
.other:before {
	content: "";
	position: absolute;
	top: -39.9vh;
	left: 0;
	width: 0;
	height: 0;
	border-bottom: 40vh solid #e6f3fb;
	border-left: 100vw solid transparent;
	z-index: -1;
}
.other .service-contents{
	width: 48%;
}
.other .service-contents figure img:hover{
	transform: scale(1.1);
	transition: 0.3s ease;
}
.other .service-contents h3{
	margin-top: 2rem;
}
.news{
	padding: 100px 0;
}
.news h2{
	width: 20%;
}
.news ul{
	width: 80%;
	border-top: 1px solid #ccc;
}
.news li{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 2rem;
	border-bottom: 1px solid #ccc;
}
.news li time{
	width: 25%;
}
.news li p{
	width: 75%;
}
.contact{
	padding: 40px 0;
	background: #028bd5;
	color: #fff;
	text-align: center;
}
.contact-link{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 700px;
	margin: 0 auto;
	align-items: center;
}
.contact-link h3{
	font-family: 'Oswald', sans-serif;
	font-size: 5rem;
	color: #ff0;
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
}
.contact-link h3 span{
	font-size: 70%;
	font-weight: 300;
}
.contact-link .button{
	width:300px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffff00;
	height: 70px;
	position: relative;
	font-weight: bold;
}
.contact-link .button:hover{
	background: #ffdc00;
}
.contact-link .button::after{
	border-top-color: #555;
	border-right-color: #555;
}
.contact h2{
	margin-bottom: 1rem;
}
.link{
	padding: 25px 0;
	background: #f2f2f2;
}
.link a{
	width: 30%;
	margin: 5px 0;
	display: block;
}
@media only screen and (max-width: 844px){
	.mainvisual{
		height: 250px;
	}
	.mainvisual .object{
		width: 80%;
		padding: 25px;
	}
	h2 span{
		font-size: 3.4rem;
	}
	h2{
		font-size: 2rem;
		text-align: center;
	}
	.mainvisual .object figure:first-child{
		width: 40%;
		margin: 0 auto;
	}
	.mainvisual .object figure{
		width: 84%;
		margin: 13px auto 10px;
	}
	.mainvisual .object h1{
		font-size: 1.4rem;
	}
	.service{
		padding: 40px 0 0;
	}
	.service h2{
		margin-bottom: 10%;
	}
	.service h3{
		font-size: 2rem;
		margin-bottom: 1rem;
	}
	.denshi figure{
		width:100%;
		order: 2;
	}
	.denshi .in-denshi{
		width:100%;
		order: 1;
	}
	.denshi .in-denshi p{
		width:100%;
	}
	.denshi .in-denshi .button{
		width:100%;
		height: 50px;
		margin-bottom: 5%;
	}
	.other{
		padding: 40px 0 40px;
	}
	.other .service-contents{
		width: 100%;
		margin-bottom: 2rem;
	}
	.other .service-contents h3{
		margin-top: 2rem;
	}
	.news{
		padding: 40px 0;
	}
	.news h2{
		width: 100%;
	}
	.news ul{
		width: 100%;
		margin-top: 2rem;
	}
	.news li{
		padding: 1.6rem 0;
	}
	.news li time{
		width: 100%;
		margin-bottom: 0.5rem;
	}
	.news li p{
		width: 100%;
	}
	.contact-link{
		width: 100%;
	}
	.contact-link div{
		width: 100%;
		margin: 1rem 0;
	}
	.contact-link h3{
		font-size: 4rem;
		width: 100%;
	}
	.contact-link h3 a{
		color: #ff0;
	}
	.contact p{
		font-size: 1.2rem;
	}
	.contact-link .button{
		width:100%;
	}
	.link a{
		width: 100%;
	}
}