@charset "utf-8"; 

/* ===========================================================================================================================
	トップページ top css
	
	---- INDEX ----
	メインビジュアルスライダー
	sec1 リードコピー／QMSロゴ
	sec2 コンテンツバナーー
============================================================================================================================== */
/* メインビジュアルスライダー
------------------------------------------ */
.slider {
	width: 100%;
	position: relative;
}
.slider ul {
	clear: both;
	width: 100%;
}
.slider ul li img{
	width: 100%;
}
.catchcopy {/*本件では使用せず*/
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	z-index: 2;
	width: 100%;
}
.catchcopy h1 {/*本件では使用せず*/
	display: inline-block;
	padding: 0 1em 0.4em 0;
	border-bottom: 1px solid #000;
	margin: 0 0 0.4em 0;
}
@media screen and (min-width: 1000px) {/* PC */
	#visualSp {
		display: none;/*SP用スライダーを非表示*/
	}
	.slider {
		margin-top: 136px;/*ヘッダー分空ける*/
	}
}
@media screen and (min-width: 768px) and (max-width: 999px) {/* TB */
	#visual {
		display: none;/*PC用スライダーを非表示*/
	}
	.slider {
		margin-top: 90px;/*ヘッダー分空ける*/
	}
}
@media screen and (max-width: 767px) {/* SP */
	#visual {
		display: none;/*PC用スライダーを非表示*/
	}
	.slider {
		margin-top: 60px;/*ヘッダー分空ける*/
	}
}

/* パララックス（今回は使用しない）
------------------------------------------ */
.parallax {
	width: 100%;
	height: 50vh;
	position: sticky;
	top: 100px;/*ヘッダー分空ける*/
	left: 0;
	z-index: -1;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
@media screen and (min-width: 768px) and (max-width: 999px) {/* TB */
	.parallax {
		top: 80px;/*ヘッダー分空ける*/
		height: 50vh;
	}
}
@media screen and (max-width: 767px) {/* SP */
	.parallax {
		top: 60px;/*ヘッダー分空ける*/
		height: 30vh;
	}
}
.parallax01 {
  background-image: url("../../img_top/visual1.jpg");
}
.parallax02 {
  background-image: url("../../img_top/visual2.jpg");
}
.parallax03 {
  background-image: url("../../img_top/visual3.jpg");
}

/* sec1 リードコピー
------------------------------------------ */
.lead {
	font-family: 'Noto Serif JP', serif;
}
.lead p {
	margin-bottom: 1em;
}
.qms p {
	font-size: 11px;
	text-align: center;
}
@media screen and (min-width: 1000px) {/* PC */
	.top_sec1 .contentsInner {
		display: flex;
		justify-content: space-between;/* 内包要素を両端に合わせて均等間隔に配置 */
	}
	.qms {
		width: 214px;
	}
	.lead {
		width: 726px;
		font-size: 22px;
	}
}
@media screen and (min-width: 768px) and (max-width: 999px) {/* TB */
	.top_sec1 .contentsInner {
		display: flex;
		justify-content: space-between;/* 内包要素を両端に合わせて均等間隔に配置 */
	}
	.qms {
		width: 214px;
	}
	.lead {
		width: calc(100% - 234px);
		font-size: 22px;
	}
}
@media screen and (max-width: 767px) {/* SP */
	.top_sec1 .contentsInner {
		display: flex;
		flex-direction: column-reverse;/* 内包要素を↑（下から上）に配置 */
	}
	.qms {
		width: 214px;
		margin: 0 auto;
	}
	.lead {
		font-size: 18px;
	}
}
@media screen and (min-width: 1000px) {/* PC */
}
@media screen and (min-width: 768px) and (max-width: 999px) {/* TB */
}
@media screen and (max-width: 767px) {/* SP */
}
/* sec2 コンテンツバナー
------------------------------------------ */
.top_sec2 {
	background: #F1F5FB;
}
ul.top_banner {
	display: flex;
	flex-wrap: wrap; /* 内包要素を折り返す（内包要素にwidth:を指定） */
	justify-content: space-between;/* 内包要素を両端に合わせて均等間隔に配置 */
}
ul.top_banner li {
	overflow: hidden;
	position: relative;
}
ul.top_banner li img {
	width: 100%;
	transition: 1s;
}
ul.top_banner li:hover img {
	transform: scale(1.2);
}
ul.top_banner li h2 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	width: 6em;
	text-align: center;
	font-weight: 600;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
ul.top_banner li p {
	position: absolute;
	bottom: 10px;
	right: 10px;
	color: #fff;
}
ul.top_banner li p i {
	padding-left: 10px;
}
@media screen and (min-width: 1000px) {/* PC */
	ul.top_banner li {
		width: 470px;
		height: 260px;
	}
	ul.top_banner li:nth-of-type(1),
	ul.top_banner li:nth-of-type(2) {
		margin-bottom: 60px;
	}
	ul.top_banner li h2 {
		font-size: 28px;
	}
}
@media screen and (min-width: 768px) and (max-width: 999px) {/* TB */
	ul.top_banner li {
		width: calc((100% - 20px) / 2);
		margin-bottom: 20px;
	}
	ul.top_banner li h2 {
		font-size: 28px;
	}
}
@media screen and (max-width: 767px) {/* SP */
	ul.top_banner li {
		width: 100%;
		margin-bottom: 20px;
	}
	ul.top_banner li h2 {
		font-size: 28px;
	}
}


@media screen and (min-width: 1000px) {/* PC */
}
@media screen and (min-width: 768px) and (max-width: 999px) {/* TB */
}
@media screen and (max-width: 767px) {/* SP */
}

