@charset "utf-8";

.main__contents {
	position: relative;
	background-color: #f0f0f0;
}

.main__inner {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
}

.contents__inner {
	padding: 20px;
	margin: 0 auto;
	background-color: #fff;
}

.contents__inner h2 {
	margin: 0 auto 50px;
	font-size: 4.0rem;
	text-align: center;
	letter-spacing: 0.2em;
}

.contents__inner h2::before {
	content: "";
	display: block;
	width: 50px;
	height: 1px;
	margin: 0 auto 10px;
	background-color: #e11b1b;
}

.contents__inner h2::after {
	content: "";
	display: block;
	margin: 10px auto 0;
}

.contents__inner h3 {
	padding:0 0 7px;
	margin: 0 0 50px;
	font-size: 3.0rem;
	font-weight:700;
	letter-spacing: 0.1em;
	border-bottom:solid 1px #dcdcdc;
	box-sizing: border-box;
	position: relative;
}

.contents__inner h3::after {
	content: "";
	width:36.3%;
	height:1px;
	display: block;
	position:absolute;
	bottom:-1px;
	left:0;
	background:#e60012;
}

/* #main__visual_cover
-------------------------------------------*/
#main__visual_cover {
	position: relative;
	width: 100%;
	height: 0;
	max-width: 1500px;
	margin: 0 auto;
	padding: 46% 0 0;
	z-index: 0;
}

#main__visual_cover .main__inner {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

/* #sympathy
-------------------------------------------*/
#sympathy {
	position: relative;
	width: 100%;
	padding:45px 0 50px;
	background: url(../asset/images/bg_sympathy.png) repeat 0 0;
}

#sympathy .main__inner {
	padding: 0;
	text-align: center;
}

#sympathy .main__inner h2 {
	font-size: 2.0rem;
	font-weight: 700;
	margin:0 0 5px;
}

#sympathy .main__inner p {
	font-size: 1.8rem;
	font-weight: 400;
}


/* #services
-------------------------------------------*/
#services {
	padding: 80px 40px;
}

#services .contents__inner h2::after {
	width: 87px;
	height: 15px;
	background: url(../images/h2_information_en.png) no-repeat 50% 50%;
	background-size: contain;
}

#mapLink {
	max-width:1100px;
	margin:0 auto 100px;
}
#sp_map {display:none;}


/* #ayumi
-------------------------------------------*/
#ayumi {
	max-width:1100px;
	margin:0 auto 100px;
}
.ayumi_inner, .ninka_inner {
	width:1000px;
	margin:0 auto;
}
#ayumi p {
	font-size:2.0rem;
	line-height:2;
	padding:0;
	margin: 0 0 40px;
	letter-spacing: 0.05em;
}
#ayumi h4 {
	color:#e60012;
	font-size:4.0rem;
	font-weight:700;
	line-height:1;
	padding:0;
	margin: 0 0 25px;
	letter-spacing: 0.05em;
}

/* #ninka
-------------------------------------------*/
#ninka {
	max-width:1100px;
	margin:0 auto;
	padding:0 0 15px;
}
#ninka .box {
	width:100%;
	display:flex;
	margin:0 0 50px;
}
#ninka .box .image {
	text-align: center;
	width:300px;
	min-width:300px;
	padding:0 0 0 40px;
}
#ninka #ninka2 {
	margin-top:120px;
}
#ninka2 .image img {
	width:224px;
}
#ninka .box h4 {
	font-size:2.0rem;
	font-weight:700;
	line-height:1.2;
	padding:0 0 15px 35px;
	margin:0 0 10px;
	letter-spacing: 0.05em;
	position: relative;
	border-bottom:solid 1px #dcdcdc;
}
#ninka .box h4::after {
	content: "";
	width:20px;
	height:20px;
	display:block;
	position:absolute;
	top:2px;
	left:10px;
	background: url(../asset/images/ico_circle.png) no-repeat 0 0;
}
#ninka .box p {
	font-size:2.0rem;
	line-height:2;
	padding:0;
	margin:0;
	letter-spacing: 0.05em;
}
#ninka .box p.date {
	text-align: right;
}

/* parallax
-------------------------------------------*/

.js-parallax {
	position: relative;
	z-index: 0;
}

.js-parallax p {
	position: absolute;
	top: 0;
	left: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-ms-flex-line-pack: center;
	align-content: center;
	width: 100%;
	height: 100%;
	margin: 0 auto;
}

.js-parallax picture {
	display: block;
	-webkit-box-flex: 0;
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	-ms-flex-item-align: center;
	align-self: center;
	max-width: 1500px;
	margin: 0 auto;
}

/* #parallax01
-------------------------------------------*/

#parallax01 {
	width:100%;
	height:0;
	padding:70vh 0 0;
	background-image: url(../asset/images/bg_bottom.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	background-attachment: fixed;
	background-size: cover;
	-webkit-transform: translateZ(0px);
}


@media screen and (max-width:1140px) {
	#services {
    padding:80px 10px;
	}
}

@media screen and (max-width:1100px) {
	.ayumi_inner, .ninka_inner {
		width:100%;
	}
	#ninka #ninka2 {
    margin-top:50px;
	}
}


/* SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
	.contents__inner h2 {
		font-size: 2.0rem;
		margin: 0 auto 25px;
	}

	.contents__inner h2::before {
		width: 25px;
	}

	.contents__inner h2::after {
		margin: 7px auto 0;
	}

	.contents__inner h3 {
    padding: 0 10px 7px;
    margin: 0 -10px 25px;
    font-size: 1.7rem;
	}
	.contents__inner h3::after {
		width:58.5%;
	}

	#main__visual_cover {
		height: auto;
		padding: 0;
		z-index: 0;
	}
	#main__visual_cover .main__inner {
    position: relative;
    top: auto;
    left: auto;
    -webkit-transform: none;
    transform: none;
	}

	#services .contents__inner h2::after {
		width: 85px;
		height: 9px;
	}

	#services {
		padding:40px 0;
	}

	#services .contents__inner {
		padding:10px;
	}
	#mapLink {display:none;}
	#sp_map {
		margin:0 0 50px;
		display:block;
	}
	#sp_map h4 {
		color:#fff;
		font-size:1.0rem;
		font-weight:700;
		padding:7px 0 7px 10px;
		background:#323232;
	}
	#sp_map h4 a {
		color:#fff;
		text-decoration:none;
		font-size:0.8rem;
		padding:1px 5px;
		margin:0 5px 0 0;
		border-radius:3px;
		display:block;
		float:right;
		position:relative;
		top:-1px;
	}
	#sp_map h4 a.jpn {background:#0061e6;}
	#sp_map h4 a.eng {background:#e60012;}
	#sp_map h4 a.thi {background:#ffc106;}
	#sp_map h4 a.vtm {background:#169950;}

	#ayumi {
		margin:0 0 50px;
	}
	#ayumi p {
		font-size:1.2rem;
		line-height:1.9;
		margin:0 0 20px;
	}
	#ayumi h4 {
		color:#e60012;
		font-size:2.2rem;
		line-height:1.5;
		margin: 0 0 15px;
	}

	#ninka .box {
		display:block;
		margin:0 0 10px;
	}
	#ninka #ninka2 {
    margin-top:0;
	}
	#ninka .box h4 {
    font-size: 1.2rem;
    padding: 0 0 10px 20px;
	}
	#ninka .box h4::after {
    width:10px;
    height:10px;
    top: 2px;
    left: 6px;
		background-size:10px auto;
	}
	#ninka .box p {
		font-size:1.2rem;
		line-height:1.9;
	}
	#ninka .box .image {
    width:100%;
    padding:15px 0 20px;
	}
	#ninka .box .image img {
		max-width:225px;
		margin:0 auto;
		display:block;
	}
	#ninka2 .image img {
    width:170px;
	}

	#parallax01 {
		height: 0;
		padding-top:100vh;
		background-image: url(../asset/images/bg_bottom_sp.jpg);
		background-repeat: no-repeat;
		background-position: center top;
		background-size: cover;
		background-attachment: scroll;
	}

	/* #sympathy
	-------------------------------------------*/
	#sympathy {
		padding:15px 0 20px;
	}
	#sympathy .main__inner {
		padding:0 10px;
		box-sizing: border-box;
	}
	#sympathy .main__inner h2 {
		font-size:1.6rem;
	}
	#sympathy .main__inner p {
		font-size: 1.3rem;
	}

}
