@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ============================================================
   Reset / Base
============================================================ */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{
	margin:0;
	padding:0;
}

address,caption,cite,code,dfn,em,strong,th,var{
	font-style:normal;
}

ul{
	list-style:none;
}

table{
	border-collapse:collapse;
	border-spacing:0;
}

caption,th{
	text-align:left;
}

q:before,
q:after{
	content:'';
}

object,
embed{
	vertical-align:top;
}

legend{
	display:none;
}

h1,h2,h3,h4,h5,h6{
	font-size:100%;
}

img,abbr,acronym,fieldset{
	border:0;
}

body{
	font: 14px/1.9 'IBM Plex Sans', 'Noto Sans JP', Arial, Verdana, sans-serif;
	color: #1f2933;
	background: #f7f9fc;
	font-weight: 400;
	letter-spacing: 0.02em;
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
}

a{
	color: #0b5cad;
	text-decoration: none;
	transition: color .2s ease, opacity .2s ease, background-color .2s ease;
}

a:hover,
.active{
	color: #083f7a;
	text-decoration: none;
}

a:active,
a:focus,
input:active,
input:focus{
	outline: 0;
}

img{
	max-width: 100%;
	height: auto;
}

body,
input,
textarea,
select,
button,
h1,h2,h3,h4,h5,h6,
#mainnav a{
	font-family: 'IBM Plex Sans', 'Noto Sans JP', Arial, Verdana, sans-serif;
}
#mainnav li.nav-page a{
	margin-bottom: 8px;
	border: 1px solid #d9e2ec;
}

.highlight{
	color:red;
}

/* ============================================================
   Layout
============================================================ */

#wrapper{
	width: 100%;
	background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

#content{
	background: #fff;
	min-height: 100vh;
}

.inner{
	box-sizing: border-box;
	margin: 0 auto;
	width: 82%;
	max-width: 1040px;
	padding-bottom: 50px;
}

section{
	clear: both;
	padding: 20px 0 30px;
}

/* ============================================================
   Sidebar / Navigation
============================================================ */

#mainnav a{
	color: #000;
}

#sidebar h1{
	margin: 0;
	padding-left: 0;
	border: 0;
	font-size: 1rem;
	line-height: 1;
}

#sns{
	margin-top: 40px;
}

/* ============================================================
   Main Visual
============================================================ */

#mainVisual{
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #fff;
}

#mainVisual img{
	display: block;
	width: 100%;
	height: auto;
}

#mainVisual .main-copy{
	position: absolute;
	inset: 0;
	z-index: 2;
	color: #102a43;
}

#mainVisual .hero-title{
	position: absolute;
	top: 6%;
	left: 6%;
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: 0;
	padding: 0;
	color: #102a43;
	background: transparent;
	border: 0;
	box-shadow: none;
	font-size: clamp(20px, 3.2vw, 42px);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: 0.035em;
	text-align: left;
	white-space: nowrap;
}

#mainVisual .hero-title .hero-lab{
	display: block;
	margin-top: 0.42em;
	color: #334e68;
	font-size: 0.50em;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.055em;
	white-space: nowrap;
}

#mainVisual .hero-title .hero-en{
	display: block;
	margin-top: 0.28em;
	color: #486581;
	font-size: 0.43em;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.09em;
	white-space: nowrap;
}

#mainVisual .hero-message{
	position: absolute;
	right: 2%;
	bottom: 2%;
	display: block;
	width: fit-content;
	margin: 0;
	padding: clamp(6px, 0.9vw, 12px) clamp(7px, 1.1vw, 15px);
	box-sizing: border-box;
	color: #102a43;
	background: rgba(255,255,255,0.92);
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(16, 42, 67, 0.16);
}

#mainVisual .hero-message .hero-copy{
	display: block;
	width: auto;
	max-width: 100%;
	margin: 0 0 0.55em;
	color: #102a43;
	border: 0;
	font-size: clamp(12px, 1.35vw, 20px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

#mainVisual .hero-message .lead{
	display: block;
	width: auto;
	max-width: 100%;
	margin: 0 0 0.9em;
	color: #334e68;
	font-size: clamp(12px, 1.1vw, 15px);
	font-weight: 600;
	line-height: 1.55;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

#mainVisual .hero-message .description{
	display: block;
	width: auto;
	max-width: 100%;
	margin: 0;
	color: #243b53;
	font-size: clamp(8px, 1.0vw, 10px);
	font-weight: 500;
	line-height: 1.9;
	letter-spacing: 0.02em;
}

#mainVisual .green{
	color: #13823b;
	font-size: 1.2em;
}

#mainVisual .blue{
	color: #0b4db8;
	font-size: 1.2em;
}

/* ============================================================
   Headings
============================================================ */

section h2{
	width: 82%;
	max-width: 1040px;
	margin: 70px auto 28px;
	padding: 16px 22px;
	box-sizing: border-box;
	color: #102a43;
	background: linear-gradient(90deg, #e6f0fb 0%, #f7f9fc 100%);
	border-left: 6px solid #0b5cad;
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(16, 42, 67, 0.06);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.08em;
	text-align: left;
}

section h2 span{
	display: inline-block;
	padding-bottom: 0;
	border-bottom: 0;
}

section h2 .sub{
	display: block;
	margin-top: 4px;
	color: #486581;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.04em;
}

section h3{
	width: 82%;
	max-width: 1040px;
	margin: 46px auto 26px;
	padding: 12px 18px;
	box-sizing: border-box;
	color: #102a43;
	background: #f7f9fc;
	border-left: 4px solid #0b5cad;
	border-bottom: 1px solid #d9e2ec;
	border-radius: 8px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.05em;
}

section h3 span{
	display: inline-block;
}

#staff h3{
	width: 100%;
	max-width: 1040px;
}

.article h1,
.researchtitle{
	margin:  0 18px;
	padding: 0 0 10px;
	color: #102a43;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.03em;
	border-bottom: 1px solid #d9e2ec;
}

/* hoge */
.assignmenttitle{
	margin: 18px 0 18px;
	padding: 10px 10px 10px;
	color: #102a43;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.03em;
	border-top: 1px solid #d9e2ec;
	border-bottom: 1px solid #d9e2ec;
	background: linear-gradient(90deg, #e6f0fb 0%, #f7f9fc 100%);
}

/* ============================================================
   Content Blocks
============================================================ */

.article{
	box-sizing: border-box;
	clear: both;
	overflow: hidden;
	margin-bottom: 28px;
	padding: 26px;
	background: #fff;
	border: 1px solid #d9e2ec;
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(16, 42, 67, 0.05);
}

.article img{
	float: left;
	margin: 5px 20px 20px;
	border-radius: 10px;
}

.article p{
	margin-bottom: 20px;
	color: #334e68;
}

.article ol{
	margin: 0;
	padding-left: 2.0em;
	list-style-position: outside;
}

.article ol li{
	margin-bottom: 0.85em;
	padding-left: 0.15em;
	color: #334e68;
	line-height: 1.9;
}

/* ============================================================
   Map / Footer
============================================================ */

#map{
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
	z-index: 0;
	background: #d9e2ec;
	border-radius: 14px;
	box-shadow: 0 14px 30px rgba(16, 42, 67, 0.14);
}

#map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
	border-radius: 14px;
}

#footer{
	clear: both;
	padding: 50px 10px 50px 0;
	text-align: center;
	color: #627d98;
	background: #f7f9fc;
	font-size: 12px;
}

/* ============================================================
   PC
============================================================ */

@media only screen and (min-width: 800px){

	#content{
		width: 82%;
		box-shadow: 18px 0 40px rgba(16, 42, 67, 0.05);
	}

	#sidebar{
		position: fixed;
		top: 0;
		right: 2%;
		width: 14%;
		background: rgba(255,255,255,0.92);
		backdrop-filter: blur(8px);
	}

	#sidebar h1{
		padding: 38px 0 28px;
	}

	a#menu{
		display: none;
	}

	.panel{
		display: block !important;
	}

	#mainnav li{
		padding: 4px 0;
	}

	#mainnav li a{
		display: block;
		padding: 8px 10px;
		border-radius: 999px;
		color: #243b53;
		font-size: 13px;
		letter-spacing: 0.08em;
	}

	#mainnav li a:hover,
	#mainnav li a.active{
		color: #0b5cad;
		background: #e6f0fb;
	}

	#sns li{
		display: inline-block;
		padding-right: 10px;
	}

	#sns a:hover img{
		opacity: .8;
	}

	#map{
		height: 420px;
	}

	#footer{
		padding: 30px 10px 70px 0;
	}
}

/* ============================================================
   Mobile / Tablet navigation
============================================================ */

@media only screen and (max-width: 799px){

	#sidebar{
		position: fixed;
		width: 100%;
		z-index: 500;
	}

	#sidebarWrap{
		position: relative;
		width: 100%;
		height: 60px;
		background: #fff;
		border-bottom: 1px solid #ccc;
		box-shadow: 0 4px 16px rgba(16, 42, 67, 0.08);
	}

	#sidebar h1{
		text-align: center;
		padding-top: 15px;
	}

	#sidebar h1 img{
		width: auto !important;
		max-height: 25px;
	}

	a#menu{
		display: inline-block;
		position: relative;
		width: 40px;
		height: 40px;
		margin: 10px;
	}

	#menuBtn,
	#menuBtn:before,
	#menuBtn:after{
		display: block;
		position: absolute;
		left: 0;
		width: 18px;
		height: 2px;
		background: #000;
		transition: .3s;
		content: "";
	}

	#menuBtn{
		top: 50%;
		left: 50%;
		margin: -1px 0 0 -7px;
	}

	#menuBtn:before{
		top: 50%;
		margin-top: -7px;
	}

	#menuBtn:after{
		top: 50%;
		margin-top: 5px;
	}

	a#menu .close{
		background: transparent;
	}

	a#menu .close:before,
	a#menu .close:after{
		margin-top: 0;
	}

	a#menu .close:before{
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after{
		transform: rotate(-135deg);
		-webkit-transform: rotate(-135deg);
	}

	.panel{
		display: none;
		position: relative;
		top: -10px;
		left: 0;
		z-index: 100;
		width: 100%;
		overflow: hidden;
	}

	#mainnav{
		position: absolute;
		top: 0;
		width: 100%;
		text-align: right;
	}

	#mainnav ul{
		text-align: left;
		background: #fff;
		border-bottom: 1px solid #ccc;
	}

	#mainnav li a{
		position: relative;
		display: block;
		padding: 16px 28px;
		color: #243b53;
		background: #fff;
		border-bottom: 1px solid #ccc;
		font-weight: 400;
	}

	#mainnav li a:hover{
		color: #0b5cad;
		background: #f0f6ff;
	}

	#mainnav #sns li{
		display: inline-block;
	}

	#mainnav #sns li a{
		display: inline-block;
		padding: 15px 10px 0;
		border: 0;
	}

	#mainnav #sns li a:before{
		border: 0;
	}

	#mainnav li a:before{
		display: none;
	}

	#mainnav li a{
		padding-left: 28px;
	}

	#mainnav li a.active{
		color: #0b5cad;
		background: #e6f0fb;
		font-weight: 600;
	}

	#mainnav li.nav-page a{
		background: #f1f3f5;
		color: #243b53;
		font-weight: 600;
		border-top: 1px solid #d9e2ec;
		border-bottom: 1px solid #d9e2ec;
	}

	#mainnav li.nav-page a:hover,
	#mainnav li.nav-page a.active{
		background: #e6f0fb;
		color: #0b5cad;
	}
}

/* ============================================================
   Tablet
============================================================ */

@media only screen and (min-width: 641px) and (max-width: 799px){

	#content{
		width: 100%;
		padding-top: 70px;
	}

	.inner{
		width: 86%;
	}

	section h2{
		margin: 60px auto 24px;
		padding: 15px 20px;
		font-size: 20px;
	}

	#mainVisual .hero-title{
		top: 7%;
		left: 5%;
		margin-bottom: 3.8vw;
		font-size: clamp(17px, 4.2vw, 30px);
	}

	#mainVisual .hero-message{
		border-radius: 14px;
	}

	#mainVisual .hero-message .description{
		line-height: 1.8;
	}

	#map{
		height: 350px;
	}
}

/* ============================================================
   Mobile
============================================================ */

@media only screen and (max-width: 640px){

	body{
		font-size: 14px;
		line-height: 1.85;
	}

	#content{
		padding-top: 60px;
	}

	.inner{
		width: 90%;
		padding-bottom: 30px;
	}

	#mainVisual .hero-title .hero-lab{
		font-size: 0.50em;
		letter-spacing: 0.04em;
	}

	#mainVisual .hero-title .hero-en{
		font-size: 0.40em;
		letter-spacing: 0.055em;
	}

	section{
		padding: 10px 0 20px;
	}

	section h2{
		width: 90%;
		margin: 42px auto 20px;
		padding: 12px 14px;
		border-left-width: 5px;
		border-radius: 10px;
		font-size: 16px;
		letter-spacing: 0.06em;
	}

	section h3{
		width: 90%;
		margin: 36px auto 20px;
		padding: 10px 14px;
		font-size: 17px;
	}

	.article{
		padding: 20px;
		border-radius: 12px;
	}

	.article h1,
	.researchtitle{
		font-size: 15px;
	}

	.article img{
		float: none;
		display: block;
		margin: 0 auto 20px;
	}

	#map{
		height: 300px;
		border-radius: 12px;
	}

	#map iframe{
		width: 100% !important;
		left: 0;
		border-radius: 12px;
	}

	#footer{
		padding: 32px 10px 42px;
	}

	/* Mobile main visual layout */
	#mainVisual{
		position: relative;
		overflow: visible;
	}

	#mainVisual img{
		display: block;
		width: 100%;
		height: auto;
		min-height: 0;
		object-fit: contain;
		object-position: center;
	}

	#mainVisual .main-copy{
		position: static;
		inset: auto;
		z-index: auto;
	}

	#mainVisual .hero-title{
		position: absolute;
		top: 7%;
		left: 4%;
		z-index: 2;
		margin: 0;
		font-size: clamp(15px, 5vw, 24px);
	}

	#mainVisual .hero-message{
		position: static;
		width: 92%;
		max-width: none;
		margin: 16px auto 0;
		padding: 14px 16px;
		border-radius: 12px;
	}

	#mainVisual .hero-message .hero-copy,
	#mainVisual .hero-message .lead{
		white-space: normal;
	}

	#mainVisual .hero-message .description{
		line-height: 1.75;
	}
}

/* ============================================================
   Very small screens
============================================================ */

@media only screen and (max-width: 380px){
	#mainVisual .hero-title{
		font-size: 14px;
	}
}


/* ============================================================
   Intro Video
============================================================ */

.hero-media{
	position: relative;
	width: 100%;
	background: #9FA29F;
	overflow: hidden;
}

.hero-media .main-image{
	display: block;
	width: 100%;
	height: auto;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.hero-media .intro-video{
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: block;
	width: auto;
	height: calc(100% + 4px);
	min-width: calc(100% + 4px);
	max-width: none;
	transform: translate(calc(-50% - 5px), -50%) scale(1.10);
	transform-origin: center center;
	opacity: 1;
	transition: opacity 1.2s ease;
	backface-visibility: hidden;
}

.hero-media.is-finished .main-image{
	opacity: 1;
}

.hero-media.is-finished .intro-video{
	opacity: 0;
	pointer-events: none;
}

/* ============================================================
   Lab Assignment Setting
============================================================ */
.labassignment ul{
	list-style-type: disc;
	margin: 0 0 1em 0;
	padding-left: 1.8em;
}

.labassignment ul ul{
	list-style-type: circle;
	margin-top: 0.4em;
	margin-bottom: 0.4em;
}

.labassignment ul ul ul{
	list-style-type: square;
}

.labassignment ul ul ul ul{
	list-style-type: disc;
}

.labassignment ol{
	list-style-type: decimal;
	margin: 0 0 1em 0;
	padding-left: 2.0em;
}

.labassignment ol ol{
	list-style-type: lower-alpha;
	margin-top: 0.4em;
	margin-bottom: 0.4em;
}

.labassignment ol ol ol{
	list-style-type: lower-roman;
}

.labassignment li{
	margin-bottom: 0.5em;
}

.labassignment .labassignment-images{
	display: flex;
	gap: 4%;
	align-items: flex-start;
	width: 100%;
	margin-top: 24px;
	justify-content: center;
}

.labassignment .labassignment-images img{
	float: none;
	display: block;
	width: 48%;
	max-width: 48%;
	height: auto;
	margin: 0;
	border-radius: 10px;
}

/* ============================================================
   Icon
============================================================ */
.article .profile-links{
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.article .profile-links a{
	display: inline-flex;
	align-items: center;
}

.article .profile-links img{
	float: none;
	display: inline-block;
	width: 20px;
	height: auto;
	margin: 0;
	border-radius: 0;
}