@charset "utf-8";
/*----------------
メイン画像
----------------*/
.mainimage {
	position: relative;
	margin-top: -100px;
	@media (width <= 999px) {
		margin-top: 0;
	}
	&::before {
		content: "";
		display: block;
		width: 100%;
		height: 150px;
		background: linear-gradient(to bottom,  rgba(0,0,0,0.7) 0%,rgba(0,0,0,0) 100%);
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1;
		@media (width <= 999px) {
			display:none;
		}
	}
	.mainimageTxt {
		position: absolute;
		bottom: 15%;
		left: 5%;
		color: #fff;
		font-weight: bold;
		font-size: 2.4rem;
		text-shadow: 0 0 80px rgba(0,0,0,0.5), 0 0 80px rgba(0,0,0,0.5);
		@media (width <= 767px) {
			bottom: 55px;
			left: 10px;
			font-size: 1.3rem;
			line-height:1.4;
			text-shadow: 0 0 50px rgba(0,0,0,0.5), 0 0 50px rgba(0,0,0,0.5);
		}
		
		.mainimageTxt-l {
			font-size: 5vw;
			line-height: 1.3;
			margin-bottom: 5%;
			@media (width <= 767px) {
				font-size: 2.4rem;
				margin-bottom: 5px;
			}
			
			> span {
				font-size: 4.0vw;
				@media (width <= 767px) {
				font-size:2.0rem;
				}
			}
		}
	}
	.mainimageImg {
		picture, video {
			display: block;
			width: 100%;
			background: #000;
			height:100vh;
			min-height: 500px;
			object-fit: cover;
			@media (width <= 999px) {
				height:auto;
				min-height: auto;
			}
			source,img {
				display: block;
				margin: 0 auto;				
			}
		}
	}
}
.en-US {
    .mainimage {
        .mainimageTxt {
            font-size: 2.0rem;
            @media (width <= 767px) {
                font-size: 1.2rem;
            }

            .mainimageTxt-l {
                font-size: 3vw;
                @media (width <= 767px) {
                    font-size: 1.9rem;
                }
            }
        }
    }
}

/*----------------
共通設定
----------------*/
h2 {
	font-size: 4.0rem;
	font-weight: bold;
	text-align: center;
	position: relative;
	margin-bottom: 80px;
	
	@media (width <= 999px) {
		font-size: 2.8rem;
		margin-bottom: 50px;
	}
	
	&::before, &::after {
		content: "";
		display: block;
		height: 5px;
		position: absolute;
		bottom: -15px;
		left: calc(50% - 50px);
	}
	&::before {
		width: 100px;
		background: var(--color-sub);
	}
	&::after {
		width: 50px;
		background: var(--color-main);
	}
}

.indexBox {
	padding-bottom: 100px;
	@media (width <= 999px) {
		padding-bottom: 80px;
	}
}

/*----------------
NEWS
----------------*/
.news {
	padding-top: 80px;
	padding-bottom: 80px;
	display: grid;
	grid-template-columns: 260px 1fr;
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	grid-gap: 0 50px;
	grid-template-areas:
		"A B"
		"C C";
	grid-auto-rows:auto;
	position: relative;
	
	@media (width <= 999px) {
		padding-top: 25px;
		padding-bottom: 80px;
		display: block;
	}
	
	h2 {
		grid-area: A;
		margin-bottom: 0;
		text-align: left;
		
		&::before, &::after {
			display: none;
			margin-bottom: 15px;
		}
	}
	.postList, .postList-none {
		grid-area: B;
	}
	.linkMore1 {
		grid-area: C;
		margin-bottom: 0;
	}
}

/*----------------
研究紹介
----------------*/
#main .aboutResearch {
	.aboutResearchInfo {
		width: 1400px;
		margin: 0 auto;
		background: var(--color-main-light);
		border-radius: 30px;
		position: relative;
		min-height: 583px;
		padding: 80px 25px;
		
		@media (width <= 1399px) {
			width:calc(100% - 30px);
			padding: 0 0 100px 0;
			min-height: auto;
		}
		@media (width <= 999px) {
			width:100%;
		}
		
		.aboutResearchInfoimg {
			
			@media (width <= 1399px) {
				display:grid;
				grid-template-columns: repeat(4, 1fr);
				grid-gap: 0 2px;
			}
			img {
				display: block;
				width: 300px;
				height: calc(50% - 1px);
				object-fit: cover;
				position: absolute;
				
				@media (width <= 1399px) {
					position: static;
					width: 100%;
					height: auto;
					aspect-ratio: 1;
					margin-bottom: 50px;
				}
			}
			.aboutResearchInfoimg1 {				
				top: 0;
				left: 0;
				border-radius: 30px 0 0 0;
			}
			.aboutResearchInfoimg2 {				
				bottom: 0;
				left: 0;
				border-radius: 0 0 0 30px;
				@media (width <= 1399px) {
					border-radius:0;
				}
			}
			.aboutResearchInfoimg3 {
				top: 0;
				right: 0;
				border-radius: 0 30px 0 0;
				@media (width <= 1399px) {
					border-radius:0;
				}
			}
			.aboutResearchInfoimg4 {
				bottom: 0;
				right: 0;
				border-radius: 0 0 30px 0;
				@media (width <= 1399px) {
					border-radius:0 30px 0 0;
				}
			}
		}
		> p {
			max-width: 600px;
			margin: 0 auto;
			@media (width <= 1399px) {
				padding:0 25px;
			}
		}
	}
	.aboutResearchFeaturedResearch {
		width: 1000px;
		background: #fff;
		border-radius: 30px;
		padding: 50px 200px;
		margin: -200px auto 0;
		position: relative;
		box-shadow: 0 0 50px 0 rgba(150,150,150, 0.3);
		display: grid;
		grid-template-columns: 1fr 220px;
		align-items: center;
		
		@media (width <= 1399px) {
			width: calc(100% - 100px);
			margin: -50px auto 0;
			padding: 50px 100px;
		}
		
		@media (width <= 999px) {
			display: block;
			padding: 35px 25px 25px;
			width: calc(100% - 50px);
			box-shadow: 0 0 30px 0 rgba(150,150,150, 0.3);
		}		
		img {
			display: block;
		}		
		> div:nth-of-type(1) {
			.aboutResearchFeaturedResearch-title {
				font-weight: bold;
				font-size: 3.0rem;
				line-height: 1.3;
				margin-bottom: 15px;
				
				@media (width <= 999px) {
					font-size: 2.0rem;
					text-align: center;
					line-height: 1.5;
					margin-bottom: 15px
				}
			}
			img {
				@media (width <= 999px) {
					width:200px;
					margin: 0 auto 15px;
				}
			}
		}
		> div:nth-of-type(2) {
			img {
				border-radius: 50%;
				@media (width <= 999px) {
					width:150px;
					margin: 0 auto;
				}
			}
		}
	}
}
.en-US {
    #main .aboutResearch {
        .aboutResearchFeaturedResearch {
            padding: 50px 185px;
            @media (width <= 1399px) {
                padding: 50px 100px;
            }
            @media (width <= 1399px) {
                padding: 35px 25px 25px;
            }
        }
    }
}

/*----------------
AIRECとは？
----------------*/
#main .aboutAIREC {
	p {
		max-width: 600px;
		margin: 0 auto 50px;
	}
	.aboutAIREC-img {
		display: block;
		margin: 0 auto 50px;
	}
	.linkMore1 {
		margin-bottom: 0;
	}
}

/*----------------
教授紹介
----------------*/
#main .professor {
	display: grid;
	grid-template-columns: 1fr 260px;
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	grid-gap: 0 25px;
	grid-template-areas:
		"A A"
		"B C"
		"D D";
	grid-auto-rows:auto;
	position: relative;
	
	@media (width <= 999px) {
		grid-template-columns: 1fr 200px;
	}
	@media (width <= 767px) {
		display: block;
	}
	
	h2 {
		grid-area: A;
	}
	
	.professor-info {
		grid-area: B;
		
		.professor-name {
			margin-bottom: 30px;			
			@media (width <= 767px) {
				padding-right: 120px;
				min-height:130px;
				font-size:1.5rem;
			}
			
			> div:nth-of-type(1) {
				font-weight: bold;
				font-size: 2.6rem;
				@media (width <= 767px) {
					font-size: 2.3rem;
				}
				span {
					color: var(--color-sub);
					font-weight: normal;
					font-size: 1.6rem;
					@media (width <= 767px) {
						display: block;
						margin-bottom: 5px;
					}
				}
			}
		}
		p {
			margin-bottom: 40px;
		}
		ul {
			font-size: 0;
			li {
				font-size: 1.6rem;
				display: inline-block;
				margin-right: 25px;
				@media (width <= 999px) {
					margin-right: 5px;
				}
				.linkMore1 {
					margin-bottom: 0;
					a {
						@media (width <= 999px) {
							min-width: auto;
							min-width: initial;
						}
					}
				}
			}
		}
	}
	.professor-photo {
		grid-area: C;
		@media (width <= 767px) {
			position: absolute;
			top: 100px;
			right: 0;
			width: 100px;
		}
		img {
			display: block;
			margin: 0 auto;
			border-radius: 30px;
			@media (width <= 767px) {
				border-radius: 10px;
			}
		}
	}
	.professor-keywords {
		grid-area: D;
		margin-top: 50px;
		background: var(--color-main-light);
		padding: 25px;
		border-radius: 10px;
		@media (width <= 767px) {
			padding: 20px;
		}
	}
}

/*----------------
関連リンク
----------------*/
.link {
	ul {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 25px 25px;
		@media (width <= 999px) {
			grid-gap: 10px 10px;
		}
		@media (width <= 767px) {
			display: block;
		}
		> li {
			text-align: center;
			@media (width <= 767px) {
				margin-bottom:10px;
			}
			a {
				display: flex;
				align-items: center;
				justify-content: center;
				height: 100%;
				border: 1px solid var(--color-btnBorder);
				position: relative;
				background: #fff;
				padding: 15px 25px 15px 15px;
				color: #000;
				text-decoration: none;
				font-weight: bold;
				font-size: 1.8rem;
				min-height: 100px;
				@media (width <= 767px) {
					font-size: 1.6rem;
					min-height: 80px;
				}

					&::before {
						font-family: var(--fa);
						font-weight: 900;
						content: "\f0da";
						color: var(--color-sub);
						display: flex;
						align-items: center;
						justify-content: flex-start;
						position: absolute;
						top: 0;
						right: 0;
						width: 15px;
						height: 100%;
					}
					&:hover {
						border: 1px solid var(--color-sub);
					}
			}
		}
	}
}
