/*
トップページ style
front-page.php
*/


/*************************************
COMMON
**************************************/
.hero { padding-block: 0; }
/*.front-page__section { padding-block: 32px; }*/

/*************************************
LABO ABOUT
**************************************/
.labo-section {
	border: 1px solid #62c9df;
	display: flex;
	background: #fff;
	padding: 0;
	margin-top: min(80px, 6.66vw);
}
.labo-section > .ttl {
	background: #62c9df;
	color: #fff;
	font-size: clamp(20px, 2.66vw, 32px);
	font-weight: 400;
	/*width: 14.25em;*/
	line-height: 1.0625em;
	letter-spacing: 0;
	margin: 0;
	padding: 20px 15px 20px 25px;
	white-space: nowrap;
}
.labo-section > .ttl span {
	font-size: 0.9375em;
	display: block;
}
.labo-section > .ttl strong {
	font-weight: 700;
}
.labo-section > .txt {
	flex: 1;
	font-size: 1em;
	text-align: justify;
	line-height: 2.0;
	letter-spacing: .075em;
	padding: 20px 25px 20px 30px;
	margin: auto 0;
	font-feature-settings: "palt" 1;
}

@media (max-width: 600px) {
	.labo-section {
		flex-direction: column;
	}
}

/*************************************
ABOUT
**************************************/
.about-section{
	margin-top: min(7.9166vw, 95px);
}
.about-section > .ttl {
	margin-top: 0;
	margin-bottom: min(9.166vw, 110px);
}
.about-section > .ttl img {
	display: block;
	width: 100%;
}
.about-section > .ttl img + img {
	margin-top: 30px;
}

.about-section .contents-1 {
	display: flex;
	margin-bottom: min(13.33vw, 160px);
}
.about-section .contents-1 > .ttl{
	font-size: min(6vw, 72px);
	line-height: 1.16;
	font-weight: 700;
	position: relative;
	letter-spacing: .075em;
	width: 5.75em;
	margin: 0;
}
.about-section .contents-1 > .ttl .br{
	display: block;
	position: relative;
}
.about-section .contents-1 > .ttl .small{
	position: absolute;
	font-weight: 400;
	font-size: 0.22em;
	right: 1.75em;
	bottom: 100%;
	letter-spacing: .05em;
}
.about-section .contents-1 > .txt-block{
	flex: 1;
	border-left: 1px solid currentColor;
	padding-left: 2em;
	line-height: 2.0;
	letter-spacing: .1em;
	text-align: justify;
}
.about-section .contents-1 > .txt-block p {
	margin: 0;
}

@media (max-width: 600px){
	.about-section .contents-1 {
		flex-direction: column;
	}
	.about-section .contents-1 > .ttl{
		width: 100%;
		border-left: 1px solid currentColor;
		padding-left: 32px;
		padding-bottom: .5em;
	}
	.about-section .contents-1 > .ttl .br{
		display: inline-block;
	}
}

.about-section .contents-2 {
	display: flex;
}
.department-list__ttl{
	color: #e3f5f9;
	writing-mode: vertical-rl;
	font-size: clamp(35px, 7.33vw, 88px);
	font-weight: 700;
	order: 2;
	margin: 0 0.625em;
	line-height: 1.0;
	letter-spacing: -.025em;
	white-space: nowrap;
}
.department-list__item {
	width: 42.5%;
	margin-bottom: 0;
}
.department-list__item:nth-of-type(1){
	order: 1;
}
.department-list__item:nth-of-type(1)::after{
	content: "";
	display: block;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url(../img/home/illust-digital.png);
	padding-top: min(24.7%, 126px);
	width: 100%;
	margin-top: 30px;
}
.department-list__item:nth-of-type(2){
	order: 3;
}
.department-list__item:nth-of-type(2)::before{
	content: "";
	display: block;
	background-position: top right;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url(../img/home/illust-animal.png);
	padding-top: min(25.09%, 128px);
	width: 100%;
	margin-bottom: 40px;
}
.department-list__item dt {
	margin-bottom: 1em;
	font-size: 1em;
}
.department-list__item dd {
	margin-left: 0;
}
.department-list__item dd.txt {
	line-height: 2.0;
	text-align: justify;
	margin-top: 1.5625em;
}

@media (max-width: 800px){
	.about-section .contents-2 {
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.department-list__ttl{
		order: 0;
		writing-mode: horizontal-tb;
		width: 100%;
	    margin: 0 0 0.625em 0;
		white-space: normal;
	}
	.department-list__item {
		width: 46%;
	}
}
@media (max-width: 600px){
	.department-list__item {
		width: 100%;
	}
}

/*************************************
SERIAL ARTICLE
**************************************/
.article-section {
	display: flex;
	justify-content: space-between;
	gap: 6.66%;
	margin-top: min(13.3vw, 160px);
}
.article-section > .header {
	width: min(34.16%, 410px);
}
.article-section > .header .ttl {
	font-size: clamp(40px, 7.33vw, 88px);
	font-weight: 700;
	line-height: 1.09;
	letter-spacing: -.025em;
	color: #d8dcdd;
	border-bottom: 1px solid var(--text);
	padding-bottom: .3em;
	margin-top: 0;
	margin-bottom: .5em;
	width: 4.65em;
}
.article-section > .header .img {
	
}
.article-section > .contents {
	flex: 1;
}
.article-section > .contents p {
	margin: 0;
}

@media (max-width: 700px){
	.article-section {
		flex-direction: column;
	}
	.article-section > .header {
		width: 100%;
		margin-bottom: 2.5em;
		position: relative;
	}
	.article-section > .header .ttl {
		width: auto;
		margin-bottom: 0;
		padding-right: 30%;
	}
	.article-section > .header .img {
		position: absolute;
		right: 0;
		bottom: 0.75em;
		width: 22%;
	}
}
@media (max-width: 400px){
	
}