@charset "utf-8";

#contents h1, #contents h2 {
	margin: 1em 0;
	padding: 0.5em 1em;
	font-size: 1.5em;
	color: var(--primary-inverse-color);
    background: linear-gradient(#fff, #eee);
    border-bottom: 1px solid #dcdcdc;
    border-top: 4px solid #273361;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.15);
    text-shadow: 0px 2px #fff;
}

#contents h1 .ensub, #contents h2 .ensub {
	margin-left: 1em;
	color: #ED7D31;
	font-size: 0.75em;
	font-style: italic;
}

#group, .prof, .staff, .student, .tech {
	margin-top: 1em;
	margin-bottom: 2em;
	padding-bottom: 1em;
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid var(--primary-inverse-color);
}

.prof, .staff, .student, .tech {
	padding: 1em;
	background: linear-gradient(#fff, #c8ebf5);
	border: 3px solid #eee;
	box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.45);
	overflow-wrap: anywhere;
}

.staff, .student, .tech {
	margin: 1em auto;
	width: 70vw;
}

#group p, .prof p, .staff p, .student p { margin: 1em; }

#group img, .prof > img, .staff > img, .student > img {
	margin: 0 auto;
	display: block;
	object-fit: contain;
}

#group img, .prof > img { width: 75vw; }

.staff >img, .student >img { width: 35vw; }

@media screen and (min-width:900px) {
	.prof, .staff, .student { flex-direction: row; }
	.container-box {
		display: flex;
		flex-wrap: wrap;
		justify-content: start;
	}
	.staff, .student, .tech {
		margin: 0.5em 0.5em 2em 0.5em;
		width: 38vw;
	}
	.prof p { width: 50vw; }
	.staff p, .student p { width: 22.5vw; }
	.prof > img { width: 30vw; }
	.staff > img, .student > img { width: 12.5vw; }
	.no-photo p { width: 35vw; }
}

/*Card Area Common Config*/
.card { margin: 1em; }

.card ul {
	padding-left: 0;
	list-style: none;
}

.card ul li {
	margin: 1em 2em;
}

.card ul li a { text-decoration: none; }

.card .orcid { color: #16ab05; }

.card ul li img { margin: 0; }

/* Profile professor Yamanaka */
.prof h3 { font-size: 1.5em; }

.prof .ensub {
	padding-left: 1em;
	font-size: 0.75em;
	color: #16ab05;
}

.prof .cv-nav {
	margin: 0.8em;
	padding: 0.75em 1.5em;
	font-size: 1.25em;
	color: var(--primary-color);
	background: var(--primary-inverse-color);
	position: relative;
}
.prof .cv-nav::before {
	content: "＋";
	position: absolute;
	right: 1em;
}
.prof .cv-nav.active::before{
	content: "－";
}
.prof .cv {
	padding: 1em;
	display: none;
	color: var(--primary-inverse-color);
	background: var(--primary-color);
	border: 2px solid var(--primary-color);
}

/* Profile Staff */
.staff h3 { font-size: 1.25em; }

.staff .ensub {
	padding-left: 1em;
	font-size: 0.8em;
	color: #16ab05;
}

/*Past Colleagues*/
.past p { line-height: 1.5; }
