@charset "utf-8";
/*==================================================
	「研究内容」ページ固有のスタイル
==================================================*/
#content h3.sub {
	margin-bottom: 100px;
}
#content .list {
	counter-reset: number 0;
}
#content .box {
	position: relative;
	margin-bottom: 200px;
	padding: 80px 0 0 80px;
	background: #f4f4f4;
	left: 100px;
}
#content .box:nth-of-type(even) {
	padding: 80px 80px 0 0;
	left: auto;
	right: 100px;
}
#content .box:last-child {
	margin-bottom: 100px;
}
#content .box::before {
	left: auto;
	right: -100px;
	width: 50vw;
	background: #f4f4f4;
}
#content .box:nth-of-type(even)::before {
	left: -100px;
	right: auto;
}
#content .box::after {
	counter-increment: number 1;
	content: counter(number, decimal-leading-zero);
	font-size: 185px;
	line-height: 1;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	left: -210px;
	width: 186px;
	height: 238px;
	margin-left: 0;
	margin-right: 0;
	z-index: 1;
	pointer-events: none;
	font-weight: 600;
	color: rgba(221, 7, 23, 0.08);
}
#content .box:nth-of-type(even)::after {
	left: auto;
	right: -210px;
}
#content .box h4 {
	font-size: 30px;
	font-weight: 500;
	margin-bottom: 50px;
	line-height: 1.9;
}
#content .box h4::first-letter {
	color: var(--color-red);
}
#content .box .txt {
	font-size: 110%;
	line-height: 1.9;
	margin-bottom: -20px !important;
}
#content .box .img {
	position: relative;
	left: -180px;
	top: 80px;
	z-index: 1;
	background: #fff;
	line-height: 0;
	box-shadow: 0 0 4px rgba(38,45,67,0.15);
	border-radius: 5px;
}
#content .box:nth-of-type(even) .img {
	left: auto;
	right: -100px;
}
#content .box .img {
	background: #fff;
	width: calc(100% + 80px);
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
}
#content .box .img img {

}
@media print, screen and (min-width: 769px){ /* パソコンのみ */
}
@media print, screen and (min-width: 641px){ /* パソコン・タブレット */
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#content .box {
		left: 0;
		padding: 20px 0 0 20px;
		margin-bottom: 120px;
	}
	#content .box:nth-of-type(even) {
		padding: 20px 20px 0 0;
		right: 0;
	}
	#content .box::after {
		top: -60px;
		left: auto;
		font-size: 80px;
		-ms-writing-mode: unset;
		writing-mode: unset;
	}
	#content .box:nth-of-type(even)::after {
		right: auto;
		left: 0;
	}
	#content .box h4 {
		font-size: 22px;
		line-height: 1.7;
		margin-bottom: 20px;
	}
	#content .box .txt {
		margin-bottom: -10px !important;
	}
	#content .box .img {
		width: 100%;
		padding: 15px;
		left: auto;
		top: 40px;
	}
	#content .box:nth-of-type(even) .img {
		right: auto;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#content h3.sub {
		margin-bottom: 50px;
	}
	#content .list {
		margin-top: 0;
	}
	#content .box {
		margin-bottom: 100px;
	}
	#content .box:last-of-type {
		margin-bottom: 40px;
	}
	#content .box::after {
		font-size: 50px;
		top: -35px;
	}
	#content .box h4 {
		font-size: 17px;
	}
	#content .box .txt {
		font-size: 100%;
		line-height: 1.7;
	}
	#content .box .img {
		padding: 10px;
	}
}
@media only screen and (max-width: 320px){ /* 小さめスマホ */
}
