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

.service-head-main{
	background: url("../images/about.jpeg");
	width: 100%;
	height: 100vh;
	background-size: cover;
	 background-position: top center;
	 background-repeat: no-repeat;
	position: relative;
}

.service-head-main h1{
	font-size: 48px;
	font-weight: bold;
	color: #fff;
	text-shadow: 0 4px 8px rgba(0,0,0,0.6);
}

.service-head-main .head-main-3-right{
	left: -60%;
	transform: skewX(-30deg);
}

.head-main-3-right.right2{
	left: -50%;
}

.sevice-text{
	width: 50%;
}

.service-image {
	width: 50%;
	min-height: 500px;
}

.service-image img {
	height: 100%;
	min-height: 500px;
	object-fit: cover;
}

.services h2.section-title{
	position: relative;
    text-align: center;
    color: #000;
    width: 100%;
    margin: 5% auto;
    transform: translateX(0);
	font-size: 36px;
}

.services .row{
	min-height: auto;
}

.service-text {
	width: 50%;
}

h2.about-section-title {
	color: #1749D6;
	font-size: 48px;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
}


.service-box.row {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 400px;
}


.head-main-3-right{
	height: 100%;
	width: 100%;
}

@media(max-width:780px){
	
	.services h2.section-title{
		font-size: 10vw;
		margin: 20px 0;
	}
	.service-box.row{
		flex-direction: column-reverse;
		min-height: 300px;
	}
	
	.service-box:nth-child(2).row{
		flex-direction: column-reverse;
	}
	.service-box:nth-child(3).row{
		flex-direction: column;
	}
	
	.service-text,.service-image{
		width: 100%;
	}
	
	.service-image{
		height: 220px;
		min-height: 220px;
	}
	
	.service-image img{
		min-height: 100%;
	}
	
	.service-head-main{
		height: 100vh;
	}
	
	.services{
		padding: 30px 20px;
	}
	h2.about-section-title {
		color: #1749D6;
		font-size: 24px;
		font-family: "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
	}

}

.htitle {
	position: absolute;
	left: 5%;
	top: 5%;
	display: flex;
	flex-direction: column;
	margin-left: 20px;
	padding: 10px;
	justify-content: space-around;
	height: 80vh;
}

.htitle h2{
	color: #fff;
	font-weight: bold;
	font-style: italic;
	line-height: 2.0em;
}

.htitle h1{

}

.htitle h3.col-2{
	font-size: 30px;
	color: #fff;
}

.row{
	height: auto;
	min-height: auto;
}

.row p.col-4{
	height: auto;
	min-height: auto;
	padding-left: 10px;
}

.htitle h2{
	color: #fff;
	font-size: 36px;
}

.htitle h2 span{
	width: 100%;
	font-size: 1.2em;
	color: #fff;
	text-shadow: 0 4px 4px #000;
	border-bottom: 2px solid #fff;
}

.htitle h3{
	font-size: 24px;
	color: #fff;
	padding: 20px;
	background: rgba(0,0,0,0.5);
}

section.mission{
	background: #eee;
	width: 100%;
	min-height: 80vh;
}

section.top {
	min-height: 80vh;
}

section.mission h2 span,section.top h2 span{
	border-bottom: 4px solid #000;
	padding-bottom: 6px;
}

section.mission .container p{
	font-size: 24px;
	line-height: 48px;
}

section.top .container p{
	font-size: 18px;
}

section.mission h2{
	font-size: 36px;
	margin: 0;
	padding: 40px 0;
}

.right {
	text-align: right;
}

section.top {
    transform: skewY(-15deg) translateY(-50%);
    background: #fff;
}
section.top {
    min-height: 60vh;
}

section.top .container{
	transform: skewY(15deg) translateY(50%);
}

@media(max-width:980px){
	
	.htitle{
		height: 90vh;
		top: 0;
		left: 0;
	}
	
	.htitle h1{
		font-size: 36px;
	}
	
	.htitle h2{
		font-size: 24px;
	}
	section.mission .container p{
		font-size: 18px;
		line-height: 24px;
	}
	section.mission {
		background: #eee;
		width: 100%;
		min-height: auto;
		padding-bottom: 20vh;
	}
	
	section.top .container {
		transform: skewY(15deg) translateY(0%);
	}
	
	section.top {
		min-height: auto;
		transform: translateY(-15%) skewY(-15deg);
	}
}
