@charset "utf-8";

/* -----------------------------------------------------------
    詳細
-------------------------------------------------------------- */
#case .title-box .date {
	color: #222;
	display: inline-block;
	font-size: 1.2rem;
	padding: 0 0 15px 0;
	width: 80px;
}

@media screen and (max-width: 768px) {
	#case .case-detail {
		padding: 0 0;
		border: none;
		box-shadow: none;
	}
	#case .case-detail {
		padding: 0 0;
		border: none;
		box-shadow: none;
	}
	#case .case-detail .case-de-date {
		width: 70px;
		padding: 10px 0 4px 0;
		margin: 0 0 0 0;
		font-size: 1.2rem;
	}
}


/*  詳細ページテキストエリア  */

#case .cmn-title .jp-title.det {
	line-height: 1.3;
}

#case .top-title h2.main-title.det {
	margin: 30px 0 0;
	padding: 0 0 70px;
	font-size: 3rem;
}

#case .case-detail .case-de-title {
	font: 700 2.8rem / 1.4 'Noto Sans JP', sans-serif;
	text-align: left;
	margin: 40px 0 50px;
}

#case .case-detail .case-de-txt {
	line-height: 2;
	letter-spacing: 0.05em;
	font-size: 1.5rem;
	padding: 0;
}

#case .case-detail .case-de-txt h2,
#case .case-detail .case-de-txt h3,
#case .case-detail .case-de-txt h4 {
	font-weight: bold;
	letter-spacing: 0.05em;
	line-height: 1.5;
}

#case .case-detail .case-de-txt h2 {
	margin: 40px 0 30px 0;
	padding: 0 0 10px;
	border-bottom: 5px solid #549B7E;
	font-size: 2.6rem;
}

#case .case-detail .case-de-txt .event-area h2 {
	margin: 40px 0 30px 0;
	padding: 0 0 0;
	border-bottom: none;
}

#case .case-detail .case-de-txt h3 {
	margin: 40px 0 30px;
	padding: 15px 30px;
	font-size: 2.2rem;
	border-radius: 6px;
	background: #e4f3d9;
}

#case .case-detail .case-de-txt p {
	margin-bottom: 1.5em;
	font-weight: 500;
	font-size: 1.6rem;
}

#case .case-detail .case-de-txt a:link {
	color: #1e4f91;
	text-decoration: underline;
	display: inline-block;
}

#case .case-detail .case-de-txt a:hover {
	text-decoration: none;
}

#case .case-detail .case-img {
	max-height: 500px;
}

#case .case-detail .case-img img {
	width: auto;
	height: 100%;
	max-height: 500px;
	display: inline-block;
}

@media screen and (max-width: 768px) {
	/*  詳細ページテキストエリア  */
	#case .top-title h2.main-title.det {
		margin: 15px 0 0 0;
		padding: 0 0 10px;
		font-size: 2.2rem;
		line-height: 1.6;
	}
	#case .case-detail .case-de-title {
		margin: 0 0 20px 0;
		font-size: 2.2rem;
		line-height: 1.6;
	}
	#case .case-detail .case-de-title span {}
	#case .case-detail .case-de-txt {
		line-height: 2;
		letter-spacing: 0.02em;
		font-size: 1.6rem;
		padding: 0 0 0 0;
	}
	#case .case-detail .case-de-txt h2,
	#case .case-detail .case-de-txt h3,
	#case .case-detail .case-de-txt h4 {
		letter-spacing: 0.02em;
	}
	#case .case-detail .case-de-txt h2 {
		margin: 30px 0 20px 0;
		padding: 0 0 8px;
		border-width: 3px;
		font-size: 2.0rem;
	}
	#case .case-detail .case-de-txt h3 {
		margin: 30px 0 20px 0;
		padding: 15px 15px;
		font-size: 1.8rem;
	}
	
	#case .case-detail .case-img img {
		float: none;
		width: 100%;
		max-width: 480px;
		margin: 0 auto;
		text-align: center;
		height: auto;
		display: block;
	}
}


/*  詳細ページ関連記事  */

#case .case-kanren-area {
	border: 1px #DDD solid;
	margin: 40px 0 30px;
	padding: 40px 40px 15px;
}

#case .case-kanren-area .kanren-title {
	font-size: 1.8rem;
	line-height: 1.5;
	padding: 0 0 0 16px;
	position: relative;
}

#case .case-kanren-area .kanren-title::before {
	position: absolute;
	top: 6px;
	left: 0;
	display: block;
	content: '';
	width: 5px;
	height: calc(100% - 10px);
	background: #14703F;
	border-radius: 5px;
}

#case .case-kanren-area ul {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	margin: 20px 0 0;
}

#case .case-kanren-area ul li {
	width: 160px;
	margin: 0 25px 25px 0;
}

#case .case-kanren-area ul li:nth-of-type(4n) {
	margin: 0 0 25px;
}

#case .case-kanren-area ul li a {
	display: block;
}

#case .case-kanren-area .thumb {
	width: 160px;
	height: 110px;
	text-align: center;
	overflow: hidden;
}

#case .case-kanren-area .thumb img {
	width: auto;
	max-height: 100%;
}

#case .case-kanren-area .title {
	font-size: 1.4rem;
	line-height: 1.6;
	padding: 10px 0 0;
}

@media screen and (max-width: 768px) {
	/*  詳細ページ関連記事  */
	#case .case-kanren-area {
		border: none;
		margin: 30px 0 20px;
		padding: 0;
		background: none;
	}
	#case .case-kanren-area ul {
		display: block;
		margin: 0;
	}
	#case .case-kanren-area ul li {
		width: 100%;
		border-bottom: 1px #E7E7E7 solid;
		margin: 0;
	}
	#case .case-kanren-area ul li:nth-of-type(4n) {
		margin: 0;
	}
	#case .case-kanren-area ul li a {
		display: flex;
		width: 100%;
		padding: 20px 0 15px;
		position: relative;
	}
	#case .case-kanren-area ul li a::before {
		display: inline-block;
		content: "\f105";
		font-family: "Font Awesome 5 Free";
		font-weight: bold;
		font-size: 1.8rem;
		color: #314038;
		position: absolute;
		right: 0;
		top: 42%;
	}
	#case .case-kanren-area .kanren-title {
		padding: 10px 20px;
		font-size: 1.4rem;
		background: #549B7E;
		color: #FFF;
		font-weight: bold;
	}
	#case .case-kanren-area .kanren-title::before {
		display: none;
	}
	#case .case-kanren-area .thumb {
		width: 90px;
		height: 60px;
	}
	#case .case-kanren-area .title {
		flex: 1;
		padding: 0 15px;
	}
}
