/* ====================================
	Base
======================================*/

html{
	scroll-behavior: smooth;
}

/* ====================================
	Header
======================================*/
.site-header{
	background: white;	
	width: 100%;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	
	position: static;
	top: auto;
	z-index: auto;
}

.header-top{
	position: static;
	padding: 10px 20px;
	text-align: left;
	max-width: 10000px;
	margin: 0 auto;
	background: #eef4fa;
}

.header-top a{
	text-decoration: none;
	display: inline-block;
}

.logo{
	width: 80px;
	height: auto;
	margin-right: 30px;
	transform: translateY(12px);
}

.unit-name{
	font-family: "Inter", sans-serif;
	font-size: 2.7rem;
	font-weight: 700;
	color: #002d5e;
	letter-spacing: 0.01em;
	display: block;
	margin-bottom: -8px;	
}

.parent-org{
	font-family: "Inter", sans-serif;
	font-size: 1.0rem;
	color: #222;
	display: inline-block;
	margin-bottom: 0px;
}

/* ====================================
	Navigation
======================================*/
.header-nav{
	position: sticky;
	background-color: #002d5e;
	top: 0;
	z-index: 1000;
}

.nav-list{
	display: flex;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 100%;
	width: 100%;
}

.nav-list li{
	flex: 1;
	text-align: center;
}

.nav-list a{
	color: #ffffff;
	text-decoration: none;
	display: block;
	padding: 15px 0px;
	font-size: 1.1rem;
	font-weight: 1000;
	transition: 0.5s;
	border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-list a:hover{
	background-color: #004a99;
	color: #ffffff;
}

.nav-list li:last-child a{
	border-right: none;
} 

/* ====================================
	Contents
======================================*/

body{
	font-family: "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #f8f9fa;
	margin: 0;
	padding: 0;
	padding-bottom: 100px;
}

section{
	scroll-margin-top: 80px;
	padding: 0px 20px;
	max-width: 1000px;
	margin: 0 auto;
}

details{
	background: #f9f9f9;
	padding: 10px;
	border-radius: 4px;
	cursor: pointer;
}

h2{
	font-size: 1.8rem;
	font-weight: 600;
	border-left: 5px solid #004a99;
	padding-left: 12px;
	margin: 40px 0 20px;
}

h2.section-title{
	border-left: none;
	padding-left: 0;
}

h3{	
	font-size: 1.3rem;
	margin-top: 10px;
	margin-bottom: -25px;
}

h4{
	font-size: 1.2rem;
	margin-bottom: 0px;
}

/* ====================================
	Hero
======================================*/

#hero{
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
	color: white;
}

.hero-title{
	font-size: 1.5rem;
	font-family: "Avenir Next";
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -60%);
	text-align: center;
	white-space: nowrap;
}

.hero-text{
	font-size: 1.1rem;
	position: absolute;
	top: 75%;
	left:50%;
	transform: translateX(-50%);
	text-align: left;
	white-space: nowrap;
	font-family: "Yu-Mincho", "Hiragino Mincho ProN", "MS PMincho", serif; 
}

.hero-img{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	background-color: #eee;
	margin-bottom: 5px;
	overflow: hidden;
	border-radius: 4px;
}

.hero-img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 50%
}

/* ====================================
	Overview
======================================*/

#overview{
	padding: 0px 10px;
	text-align: center;
}

.section-title{
	color: #002d5e;
	margin-bottom: 20px;
	font-size: 2.0rem;
}

.resource-grid{
	display: flex;
	max-width: 1000px;
	margin: 0 auto;
	gap: 40px;
}

.resource-item{
	flex: 1;
	border-top: 3px solid #002d5e;
	padding-top: 0px;
}

.resource-item p{
	font-size: 1.0rem;
	color: #555;
	line-height: 1.5;
}

/* ====================================
	Equipments
======================================*/

.equipment-container{
	display: flex;
	gap: 20px;
	max-width: 1000px;
	margin: 0 auto;
	align-items: flex-start;
}

.equipment-container article{
	flex: 1;
	padding: 20px;
	background-color: #ffffff;
	border: 1px solid #eee;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.mri-header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-top: 30px;
}

.mri-header p{
	font-size: 1.3rem;
	font-weight: 700;
	margin-left: 20px;
}

.mri-header img{
	object-fit: cover;
	width: 160px;
	aspect-ratio: 4/3;
	height: auto;
	border-radius: 6px;
}

#equipments hr{
	display: none;
}

#equipments h3{
	color: #002d5e;
	border-bottom: 2px solid #002d5e;
	padding-bottom: 5px;
	margin-top: 0;
	text-align: center;
}

#equipments p{
	font-size: 1.3rem;
	font-weight: 700;
	margin-top: 40px;
}

.detail-content table{
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

.detail-content th, .detail-content td{
	border-bottom: 1px solid #eee;
	padding: 8px;
	text-align: left;
}

article{
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 30px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ====================================
	Research
======================================*/
#research{
	margin-top: 0px;
}

#research a{
	font-size: 1.3rem;
}

.card-list{
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.image-card{
	position: relative;
	display: block;
	width: 180px;
	aspect-ratio: 1/1;
	overflow: hidden;
	border-radius: 8px;
}

.card-title{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	
	color: white;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 8px;
	margin-left: 0px;
	text-align: center;
	white-space: nowrap;
	
	text-shadow: 2px 2px 5px rgba(0,0,0,0.8)
}

.image-card img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.image-card:hover{
opacity: 8px;
}

.app-grid{
	display: flex;
	gap: 20px;
	max-width: 1000px;
	margin: 0 auto;
}

.app-card{
	flex: 1;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.app-img img{
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.app-info{
	padding: 15px;
}

.app-info h4{
	margin: 0 0 10px 0;
	color: #002d5e;
}

.app-info p{
	font-size: 0.85rem;
	color: #666;
}

/* ====================================
	Contact
======================================*/

