@charset "utf-8";

/* ------------ 共通 ------------ */
.inner {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding-bottom: 50px;
	position: relative;
}

.box {
	display: flex;
	justify-content: space-between;
	width: 100%;
	max-width: 739px;
	position: absolute;
	top: -104px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
}

.box .detail {
	font-weight: bold;
}

.box .detail h2 {
	color: #000;
	font-size: 3.6rem;
}

.box .detail .catch {
	font-size: 5.1rem;
	line-height: 68px;
	margin-top: 24px;
}

.section-txt {
	color: #000;
	font-family: メイリオ, Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Arial, sans-serif;
	font-size: 1.8rem;
	line-height : 37px;
	width: 100%;
	max-width: 818px;
	margin: 34px auto 0;
}

.namebox {
	padding-top: 8px;
	color: #000;
	text-align: center;
}

.namebox .company{
	font-size: 2.2em;
}

.namebox .name{
	font-size: 3em;
    padding-top: 5px;
}

/* ------------ 動画部分 ------------ */
.youtube {
	display: block;
	/*cursor: pointer;*/
	padding-top: 207px;
	position: relative;
}

.youtube iframe {
	display: block;
	width: 720px;
	height: 428px;
	margin: 0 auto;
}

/* ------------ 動画入れたらこれ不要 ------------ */
.youtube img {
	display: block;
	width: 720px;
	height: 428px;
	margin: 0 auto;
}


/* ------------ young ------------ */
#young {
	margin-top: 210px;
}

#young:before {
	content: "";
	display: block;
	height: 105px;
	margin-top: -105px;
	vertical-align: top;
}

#young .inner {
	background: #cee7e5;
}


/* ------------ middle ------------ */
#middle {
	margin-top: 194px;
}

#middle:before {
	content: "";
	display: block;
	height: 105px;
	margin-top: -105px;
	vertical-align: top;
}

#middle .inner {
	background: #cee7ff;
}

#middle .box .detail .catch {
	color: #1047a2;
}


/* ------------ veteran ------------ */
#veteran {
	margin-top: 194px;
}

#veteran:before {
	content: "";
	display: block;
	height: 105px;
	margin-top: -105px;
	vertical-align: top;
}

#veteran .inner {
	background: #ffe1e1;
}

#veteran .box {
	max-width: 786px;
}

#veteran .box .detail .catch {
	color: #ba275f;
}


/* ------------ リンクボタン ------------ */
.link-box {
	margin: 109px 0 135px;
}

.link-box .link-btn {
	width: 429px;
}

/* ------------ レスポンシブ ------------ */
@media screen and (max-width: 768px) {
	/* ------------ ページタイトル ------------ */
	#page-ttl h1 img {
		width: 55%;
	}
	
	/* ------------ 共通 ------------ */
	.inner {
		padding: 22px 12.5px;
	}
	
	.box {
		justify-content: center;
		position: static;
		transform: none;
	}
	
	.img-box {
		width: 100%;
		max-width: 104px;
	}
	
	.box .detail {
		margin-left: 15px;
	}
	
	.box .detail h2 {
		font-size: 1.6rem;
		line-height : 21px;
	}
	
	.box .detail .catch {
		font-size: 1.75rem;
		line-height: 30px;
		margin-top: 4px;
	}
	
	.section-txt {
		font-size: 1.35rem;
		line-height: 24px;
		margin-top: 13px;
	}
	
	
	/* ------------ 動画部分 ------------ */
	.youtube {
		height: auto;
		margin-top: 10px;
		padding-top: 0;
	}

	.youtube iframe {
		display: block;
		width: 100%;
		height: 100vh;
		max-height: 250px;
		margin: 0 auto;
	}
	
	/* ------------ 動画入れたらこれ不要 ------------ */
		.youtube img {
		display: block;
		width: 100%;
		height: auto;
		max-height: 250px;
		margin: 0 auto;
	}
	

	
	/* ------------ イントロ ------------ */
	#intro p {
		max-width: calc(100% - 30px);
		margin: 0 auto;
	}
	

	/* ------------ young ------------ */
	#young {
		margin-top: 2px;
	}
	
	
	/* ------------ middle ------------ */
	#middle {
		margin-top: 0;
	}
	
	
	/* ------------ veteran ------------ */
	#veteran {
		margin-top: 0;
	}

	
	/* ------------ リンクボタン ------------ */
	.link-box {
		margin: 61.5px 0 120px;
	}

	.link-box .link-btn {
		width: 281px;
	}
	
	/* ------------ 20191217追記 ------------ */
	.namebox .company {
    font-size: 1em;
}
.namebox .name {
    font-size: 2em;
}
}
