@charset "utf-8";
/*
Theme Name: RIKEN RAP
Description: Original Theme
Version: 1.0
*/

/* Base Style
================================================== */
body {
	position: relative;
	background-color: #fff;
	color: var(--textBody);
	font-size: var(--font16);
	font-family: 'Noto Sans JP', YuGothic, 'Yu Gothic Medium', 'Yu Gothic', sans-serif;
	font-weight: 400;
	line-height: 1.5;
	position: relative;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
}

[lang="en"] body {
	font-family: 'Noto Sans', Arial, sans-serif;
}

[lang="ja"] {
	font-family: 'Noto Sans JP', YuGothic, 'Yu Gothic Medium', 'Yu Gothic', sans-serif;
}

a,
button,
input {
	transition: color .2s, background .2s;
}

a:link {
	color: var(--textLink);
	text-decoration: underline 1px;
	text-underline-offset: 3px;
}

a img {
	transition: opacity .2s;
}

@media (hover: hover) {
	a:hover {
		text-decoration-style: dashed;
	}
	
	a:hover img {
		opacity: .8;
	}
}

a:visited {
	color: #30c;
}

:focus-visible {
	outline: 2px solid var(--mainRed);
}

img,
svg {
	max-width: 100%;
	height: auto;
	image-rendering: -webkit-optimize-contrast;
}

#map-canvas img {
	max-width: none;
}

figcaption {
	margin-top: 6px;
	font-size: var(--font14);
	line-height: 1.75;
}

pre, code, kbd, samp, tt {
	font-family: 'Courier New', Courier, Monaco, monospace;
}

abbr[title], dfn[title] {
	border-bottom-color: #999;
	cursor: help;
}

input, select, textarea {
	color: #000;
	font-family: inherit;
	font-size: 100%;
}

input[type="submit"],
input[type="button"] {
	-webkit-appearance: none;
	-moz-appearance: none;
}

::-webkit-input-placeholder {
	padding-top: 2px;
}

.new {
	display: inline-block;
	padding: 0 5px;
	border-radius: 2px;
	background-color: var(--textAlert);
	color: #fff;
	font-size: 75%;
	font-weight: normal;
	line-height: 1.5;
	text-transform: uppercase;
}

.srOnly {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
}

.icon-external-link,
.icon-new-window {
	display: inline-block;
	margin: 0 .25em;
	vertical-align: middle;
	text-indent: initial;
}

@media screen and (min-width: 768px) {
	.sp {
		display: none !important;
	}
}

@media screen and (max-width: 767px) {
	.pc {
		display: none !important;
	}
}

#commonHeader p,
#commonFooter p {
	margin-bottom: 0;
}

#commonHeader ul,
#globalNav ul,
#commonFooter ul,
#commonFooter dl,
#home ul,
#home ol,
.breadcrumb ol,
.categories,
.postList,
.videosList,
.pdfList,
.childPages {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

#commonHeader h1,
#pageHeader h1 {
	margin-bottom: 0;
	font-size: inherit;
	padding-left: 0;
	border-left: 0;
}

.br {
	display: inline-block;
}

a[href$=".pdf"]::before,
a[href$=".docx"]::before,
a[href$=".doc"]::before,
a[href$=".xlsx"]::before,
a[href$=".xls"]::before,
.postList a[href$=".pdf"] .postTitle::before,
.postList a[href$=".docx"] .postTitle::before,
.postList a[href$=".doc"] .postTitle::before,
.postList a[href$=".xlsx"] .postTitle::before,
.postList a[href$=".xls"] .postTitle::before,
.eventList li.withPdf .pdf a::before {
	display: inline-block;
	font-family: icomoon;
	margin: 0 .25em;
	line-height: 1;
	vertical-align: middle;
	text-indent: initial;
}

a[href$=".pdf"]::before,
.postList a[href$=".pdf"] .postTitle::before,
.eventList li.withPdf .pdf a::before {
	content: '\f1c1';
	color: #c00;
}

a[href$=".docx"]::before,
a[href$=".doc"]::before,
.postList a[href$=".docx"] .postTitle::before,
.postList a[href$=".doc"] .postTitle::before {
	content: '\f1c2';
	color: #03c;
}

a[href$=".xlsx"]::before,
a[href$=".xls"]::before,
.postList a[href$=".xlsx"] .postTitle::before,
.postList a[href$=".xls"] .postTitle::before {
	content: '\f1c3';
	color: #060;
}

.postList a[href$=".pdf"]::before,
.postList a[href$=".docx"]::before,
.postList a[href$=".doc"]::before,
.postList a[href$=".xlsx"]::before,
.postList a[href$=".xls"]::before {
	content: none;
}

.postList a[href$=".pdf"] .postTitle::before,
.postList a[href$=".docx"] .postTitle::before,
.postList a[href$=".doc"] .postTitle::before,
.postList a[href$=".xlsx"] .postTitle::before,
.postList a[href$=".xls"] .postTitle::before,
.eventList li.withPdf .pdf a::before {
	margin-left: 0;
}

.more {
	margin: 36px auto 0;
	width: fit-content;
	min-width: 320px;
}

.more + .more {
	margin-top: 24px;
}

.more a {
	display: block;
	padding: 8px calc(24px + 1em) 8px 32px;
	border: 1px solid var(--mainRed);
	border-radius: 4px;
	background-color: var(--mainRed);
	color: #fff;
	font-size: var(--font20);
	font-weight: 500;
	text-decoration: none;
	line-height: 1.5;
	text-align: center;
	position: relative;
}

.more.rapSeminar a {
	border-color: var(--mainBlue);
	background-color: var(--mainBlue);
}

.more a::after {
	content: '\f105';
	font-family: icomoon;
	font-size: 140%;
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
}

@media screen and (max-width: 767px) {
	.more,
	.more.wide {
		margin-top: 24px;
		width: 100%;
		max-width: 400px;
		min-width: auto;
	}
	
	.more a {
		padding: 8px calc(12px + 1em) 8px 20px;
		font-size: var(--font18);
	}
	
	.more.wide a {
		padding-left: 12px;
	}
}

@media (hover: hover) {
	.more a:hover {
		background-color: var(--mainRedHover);
	}
	
	.more.rapSeminar a:hover {
		background-color: var(--mainBlueHover);
	}
}

#home .videos h2,
#videos .pageTitle h1,
#videos .breadcrumb span,
.footerNav .videos,
.sitemapTree .videos {
	text-transform: uppercase;
}

.videoWrap {
	aspect-ratio: 16 / 9;
}

.videoWrap iframe {
	width: 100%;
	height: 100%;
}

/* Layout
================================================== */
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

#commonFooter {
	margin-top: auto;
}

.inner,
main {
	width: calc(100% - 72px);
	max-width: 75em; /* 1200px */
	margin: 0 auto;
}

#content {
	margin: 0 auto;
}

body:not(#home) #content {
	max-width: 67.5em; /* 1080px */
}

#content.wide {
	max-width: 75em; /* 1200px */
}

.nallow {
	max-width: 60em; /* 960px */
	margin-right: auto;
	margin-left: auto;
}

.full {
	width: 100vw;
	margin-right: calc(-50vw - -50%);
	margin-left: calc(-50vw - -50%);
}

@media screen and (max-width: 1272px) {
	.inner,
	main {
		margin-right: 36px;
		margin-left: 36px;
	}
}

@media screen and (max-width: 767px) {
	.inner,
	main {
		width: auto;
		margin-right: var(--spMargin);
		margin-left: var(--spMargin);
	}
}

/* Block Skip
================================================== */
.skip a {
	display: block;
	height: 0;
	overflow: hidden;
}

.skip a:focus {
	height: auto;
}

/* Header
================================================== */
#commonHeader {
	background-color: #fff;
}

#commonHeader > .inner {
	padding: 20px 0 19px;
	display: flex;
	gap: 24px;
	align-items: flex-end;
	justify-content: space-between;
}

#commonHeader .siteId {
	min-width: 400px;
}

#commonHeader a {
	color: var(--textBody);
	line-height: 1.25;
}

.guideMenu,
.guideMenu ul {
	margin-left: auto;
	display: flex;
	gap: 6px 24px;
	align-items: center;
	line-height: 1.5;
}

@media screen and (max-width: 800px) {
	.guideMenu ul {
		column-gap: 16px;
	}
}

.guideMenu {
	flex-wrap: wrap;
}

.guideMenu a {
	padding-left: 1.25em;
	font-size: var(--font15);
	text-decoration-color: var(--gray);
	position: relative;
}

.guideMenu a::before {
	font-family: icomoon;
	position: absolute;
	left: 0;
	top: .15em;
}

.guideMenu .access a::before {
	content: '\e947';
}

.guideMenu .switchLang a::before {
	content: '\e9c9';
}

#searchform {
	margin-left: auto;
	width: 240px;
	border: 1px solid var(--gray);
	border-radius: 4px;
	position: relative;
}

#searchform input#s {
	width: 100%;
	padding: 3px calc(16px + 1.1em) 3px 8px;
	border: 0;
	font-size: var(--font15);
	line-height: 1;
}

#searchform .searchsubmit {
	position: absolute;
	top: 50%;
	right: 1px;
	transform: translateY(-50%);
	padding: 0 6px;
}

@media screen and (max-width: 767px) {
	#commonHeader {
		border-bottom: 6px solid;
		border-image: var(--rainbow) 1;
	}
	
	#commonHeader > .inner {
		height: 68px;
		align-items: center;
	}
	
	#commonHeader .siteId {
		width: 304px;
		min-width: auto;
		max-width: calc(100% - 48px);
	}
	
	#commonHeader > .inner .guideMenu {
		display: none;
	}
}

/* Gloval Nav
================================================== */
#globalNav {
	background-color: #fff;
}

#globalNav a {
	display: block;
	color: var(--textBody);
	font-size: var(--font17);
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
}

#globalNav .mainMenu > li > a {
	position: relative;
}

#globalNav .mainMenu > li > a::before {
	content: '';
	position: absolute;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: contain;
}

#globalNav .mainMenu > li.about > a::before {
	background-image: url(images/ico_about_r.svg);
}

#globalNav .mainMenu > li.labs > a::before {
	background-image: url(images/ico_labs_r.svg);
}

#globalNav .mainMenu > li.news > a::before {
	background-image: url(images/ico_news_r.svg);
}

#globalNav .mainMenu > li.events > a::before {
	background-image: url(images/ico_events_r.svg);
}

#globalNav .mainMenu > li.partnerships > a::before {
	background-image: url(images/ico_partnerships_r.svg);
}

#globalNav .mainMenu > li.opportunities > a::before {
	background-image: url(images/ico_opportunities_r.svg);
}

#globalNav .mainMenu > li.home > a::before {
	content: none;
}

#globalNav .child li a {
	font-size: var(--font16);
}
	
@media screen and (min-width: 768px) {
	#menuBtn,
	.focusTrap {
		display: none;
	}
	
	#globalNav {
		border-top: .5px solid var(--lightGray);
		padding-bottom: 6px;
		position: relative;
	}
	
	#globalNav::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		border-bottom: 6px solid;
		border-image: var(--rainbow) 1;
	}
	
	#globalNav .mainMenu {
		display: flex;
	}
	
	#globalNav .mainMenu > li {
		/* flex: 1 1 auto; */
		flex: 1;
		position: relative;
	}
	
	[lang="en"] #globalNav .mainMenu > li:not(.home) {
		flex: 1 1 auto;
		word-break: break-word;
	}
	
	@media screen and (max-width: 1280px) {
		#globalNav .mainMenu > li {
			flex: 1 1 auto;
		}
		
		#globalNav a {
			font-size: var(--font16);
		}
	}
	
	#globalNav .mainMenu > li > a {
		height: 100%;
		min-height: 52px;
		margin-left: 1px;
		padding: 48px 4px 6px;
		display: grid;
  	place-items: center;
		text-align: center;
		transition: .2s;
	}
	
	#globalNav .mainMenu > li > a::before {
		top: 8px;
		left: 50%;
		transform: translateX(-50%);
		width: 36px;
		height: 36px;
		transition: .2s;
	}
	
	#globalNav .mainMenu > li:not(.home):hover > a,
	#globalNav .mainMenu > li:not(.home):focus-within > a,
	#globalNav .mainMenu > li:not(.home).current > a {
		background-color: var(--whiteSmoke);
	}
	
	#globalNav .child {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 100%;
		z-index: 10;
		padding-top: 6px;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: 0.2s;
	}
	
	#globalNav .mainMenu > li:last-child .child {
		left: auto;
		right: 0;
	}
	
	#globalNav .child ul {
		width: max-content;
		min-width: 100%;
		padding: 0 19px;
		border: 1px solid #fff;
		border-top: 0;
		background-color: #fff;
		box-shadow: 0 1px 2px rgba(0,0,0,.3);
	}
	
	#globalNav .hasChild:hover .child,
	#globalNav .hasChild:focus-within .child {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}
	
	#globalNav .child li:not(:last-child) {
		border-bottom: 1px solid var(--lightGray);
	}
	
	#globalNav .child li a {
		margin: 0 -20px;
		padding: 12px 20px;
		min-width: 100%;
	}
	
	#globalNav .child li a:hover,
	#globalNav .child li a:focus,
	#globalNav .child li.current a {
		background-color: var(--whiteSmoke);
	}
	
	#globalNav .mainMenu .home {
		flex: 0 0 42px;
		margin-right: 4.5%;
		display: none;
	}
	
	#globalNav .mainMenu .home a {
		padding: 48px 0 6px;
	}
	
	body.fixed #globalNav {
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 90;
		animation: slide-down 500ms ease-in-out 1 forwards;
	}
	
	@keyframes slide-down {
		from {
			transform: translateY(-100%);
		}
		to {
			transform: translateY(0);
		}
 	}
	
	body.fixed #globalNav .mainMenu > li:not(.home) {
		flex: 1 1 auto;
	}
	
	body.fixed #globalNav .mainMenu > li > a {
		padding-top: 32px;
		padding-bottom: 4px;
		font-size: var(--font16);
	}
	
	body.fixed #globalNav .mainMenu > li > a::before {
		width: 24px;
		height: 24px;
	}
	
	body.fixed #globalNav .mainMenu .home {
		display: block;
	}
	
	body.fixed #globalNav .mainMenu .home a {
		padding: 0;
	}
	
	body.fixed main {
		margin-top: 86px;
	}
}

@media screen and (max-width: 767px) {
	#globalNav {
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: .3s ease;
		position: fixed;
		top: 0;
		z-index: 90;
		width: 100%;
		max-height: 100vh;
		max-height: 100dvh;
		padding-bottom: 36px;
		overflow-y: auto;
	}
	
	body.menuOpen #globalNav {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}
	
	body.menuOpen {
		overflow: hidden;
	}
	
	body.menuOpen::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 60;
		background-color: rgba(0,0,0,.5);
	}
	
	#globalNav .mainMenu {
		margin: 0;
		border-bottom: 1px solid var(--gray);
	}
	
	#globalNav .mainMenu > li:not(.home) {
		border-top: 1px solid var(--gray);
	}
	
	#globalNav .mainMenu a {
		padding: 16px var(--spMargin) 16px calc(var(--spMargin) + 44px);
	}
	
	#globalNav .mainMenu > li > a::before {
		top: 50%;
		left: var(--spMargin);
		transform: translateY(-50%);
		width: 28px;
		height: 28px;
	}
	
	#globalNav .mainMenu .home a {
		display: inline-block;
		padding: 16px var(--spMargin);
	}
	
	#globalNav .mainMenu .home img {
		width: 36px;
	}
	
	#globalNav .hasChild {
		position: relative;
	}
	
	#globalNav .hasChild > a {
		margin-right: calc(18px + var(--spMargin) * 2);
	}
	
	#globalNav .hasChild button {
		position: absolute;
		top: 0;
		right: 0;
		width: calc(18px + var(--spMargin) * 2);
		height: calc(30px + 1.6875em);
		background-color: var(--whiteSmoke);
	}
	
	#globalNav .hasChild button::before,
	#globalNav .hasChild button::after {
		content: '';
		position: absolute;
	}
	
	#globalNav .hasChild button::before {
		top: calc(50% - 1px);
		left: var(--spMargin);
		width: 18px;
		border-bottom: 2px solid var(--darkGray);
	}
	
	#globalNav .hasChild button::after {
		top: 50%;
		left: calc(var(--spMargin) + 8px);
		transform: translateY(-50%);
		height: 18px;
		border-right: 2px solid var(--darkGray);
		transition: .2s;
	}
	
	#globalNav .hasChild.open button::after {
		height: 0;
	}
		
	#globalNav .child {
		display: none;
	}
	
	#globalNav .child li {
		border-top: 1px dashed var(--gray);
	}
	
	#globalNav .child a {
		padding: 12px var(--spMargin) 12px calc(var(--spMargin) + 44px);
		font-weight: 400;
	}
	
	#globalNav .guideMenu {
		margin: 0 var(--spMargin);
	}
	
	#globalNav .guideMenu ul {
		margin-top: 18px;
		margin-left: 0;
		flex-wrap: wrap;
		gap: 16px 36px;
	}
	
	#globalNav .guideMenu a {
		font-size: var(--font16);
		font-weight: 400;
		text-decoration: underline 1px;
		text-underline-offset: 3px;
	}
	
	#globalNav #searchform {
		width: 100%;
		margin-top: 24px;
	}
	
	#globalNav #searchform input#s {
		padding-top: 12px;
		padding-bottom: 12px;
	}
}

/* Menu button
-------------------------------------------------- */
#menuBtn {
	position: fixed;
	top: 10px;
	right: 10px;
	width: 48px;
	height: 48px;
	z-index: 99;
	border: 1px solid #fff;
	border-radius: 4px;
	background-color: #fff;
}

@media screen and (max-width: 767px) {
	#menuBtn {
		right: 2.34375vw;
	}
}

#menuBtn button {
	width: 100%;
	height: 100%;
	vertical-align: top;
	position: relative;
}

#menuBtn::after,
#menuBtn button::before,
#menuBtn button::after {
	content: '';
	position: absolute;
	width: 32px;
	left: 50%;
	transform: translateX(-50%);
	border-bottom: 2px solid var(--blackSmoke);
	cursor: pointer;
	transition: top .15s, transform .15s;
}

#menuBtn::after {
	top: calc(40% - 1px);
}

#menuBtn button::before {
	top: 18%;
}

#menuBtn button::after {
	top: calc(62% - 2px);
}

#menuBtn button span {
	position: absolute;
	bottom: 6%;
	left: 50%;
	transform: translateX(-50%);
	font-size: var(--font12);
	line-height: 1;
}

body.menuOpen #menuBtn::after {
	width: 0;
}

body.menuOpen #menuBtn button::before,
body.menuOpen #menuBtn button::after {
	top: calc(40% - 1px);
	transition: top .15s, transform .15s;
}

body.menuOpen #menuBtn button::before {
	transform: translateX(-50%) rotate(-45deg);
}

body.menuOpen #menuBtn button::after {
	transform: translateX(-50%) rotate(45deg);
}

/* Splide
================================================== */
.splide__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.splide__controls {
	width: 100%;
	display: flex;
	gap: 12px;
	justify-content: center;
	align-items: center;
}

.splide__pagination {
	padding-top: 32px;
	gap: 12px;
}

.splide__pagination__page {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 1px solid var(--gray);
	border-radius: 50%;
	background-color: var(--gray);
	vertical-align: middle;
	position: relative;
}

.splide__pagination__page::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: 0;
	transition: .1s;
}

.splide__pagination__page:hover::after,
.splide__pagination__page.is-active::after {
	border: 8px solid var(--mainRed);
	border-radius: 50%;
}

.splide__toggle {
	width: 16px;
	height: 16px;
}

.splide__toggle svg {
	vertical-align: top;
	margin-top: -1px;
	fill: var(--mainRed);
	transition: fill .2s ease-out;
}

.splide__toggle svg.splide__toggle__play {
	margin-top: -2px;
}

.splide__toggle:hover svg {
	fill: var(--gray);
}

.splide__arrow {
	position: absolute;
	top: calc(50% - 22px);
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	z-index: 1;
	border: 1px solid var(--whiteSmoke);
	border-radius: 50%;
	background-color: var(--mainRed);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.splide__arrow svg {
	height: 20px;
	fill: #fff;
}

.splide__arrow--prev svg {
	transform: rotate(180deg);
}

.splide__arrow--prev {
	left: 24px;
}

.splide__arrow--next {
	right: 24px;
}

.splide__arrow:disabled {
	display: none;
}

@media screen and (max-width: 767px) {
	.splide__arrow {
		width: 30px;
		height: 30px;
	}
	
	.splide__arrow svg {
		height: 14px;
	}
	
	.splide__arrow--prev {
		left: 2%;
	}
	
	.splide__arrow--next {
		right: 2%;
	}
}

/* Home
================================================== */
#home #content section {
	margin-right: calc(-50vw - -50%);
	margin-left: calc(-50vw - -50%);
	padding-right: calc(50vw - 50%);
	padding-left: calc(50vw - 50%);
	padding-top: 47px;
	padding-bottom: 48px;
	border-top: 1px solid #f8f8f8;
}

#home #content section:last-child {
	padding-bottom: 120px;
}

@media screen and (max-width: 767px) {
	#home #content section:last-child {
		padding-bottom: 80px;
	}
}

#home #content h2 {
	margin: 0 auto 36px;
	border-bottom: 0;
	font-size: var(--font28);
	display: flex;
	flex-direction: column;
	gap: 2px 12px;
	align-items: center;
	justify-content: center;
	text-align: center;
}

#home #content h2::after {
	content: none;
}

#home #content h2::before {
	content: '';
	display: inline-block;
	width: 1.25em;
	height: 1.25em;
	background-repeat: no-repeat;
	background-position: 0 50%;
	background-size: contain;
}

#home #content .videos h2::before {
	background-image: url(images/ico_interview.svg);
}

#home #content .news h2::before {
	background-image: url(images/ico_news.svg);
}

#home #content .events h2::before {
	background-image: url(images/ico_events.svg);
}

#home #content .opportunities h2::before {
	background-image: url(images/ico_opportunities.svg);
}

#home #content .videos,
#home #content .events {
	background-color: #f8f8f8;
}

@media screen and (max-width: 767px) {
	#home #content section {
		padding-top: 35px;
		padding-bottom: 36px;
	}
	
	#home #content h2 {
		margin-bottom: 28px;
		padding-right: 0;
		padding-left: 0;
	}
}

/* KV
-------------------------------------------------- */
#home .kv {
	border-bottom: 1px solid #fff;
}
#home .kv li a {
	display: block;
	height: 100%;
	position: relative;
	text-decoration: none;
}

#home .kv li figure img {
	aspect-ratio: 5 / 2;
}

#home .kv li figcaption {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 8px 24px;
	background-color: rgba(0,0,0,.7);
	color: #fff;
	font-size: var(--font18);
	line-height: 1.75;
}

#home .kv li figcaption .icon-new-window {
	vertical-align: baseline;
}

#home .kv li .category {
	position: absolute;
	top: 0;
	left: 0;
	padding: 4px 24px;
	background-color: var(--mainBlue);
	color: #fff;
}

#home .kv .splide__slide {
	height: 480px;
	transition: .2s;
}

#home .kv .splide__slide a {
	transition: .2s;
}

#home .kv .splide__slide:not(.is-active) {
	background-color: var(--lightGray);
}

#home .kv .splide__slide:not(.is-active) a {
	filter: grayscale(1);
	opacity: .6;
	pointer-events: none;
}

#home .kv .splide__controls {
	padding: 12px;
	background-color: var(--whiteSmoke);
}

#home .kv .splide__pagination {
	padding-top: 0;
}

@media screen and (max-width: 1272px) {
	#home .kv .splide__slide {
		height: calc((100vw - 72px) * .4);
	}
}

@media screen and (max-width: 767px) {
	#home .kv .splide__slide {
		height: auto;
	}
	
	#home .kv li a {
		background-color: var(--darkGray);
	}
	
	#home .kv li figcaption {
		position: relative;
		background: transparent;
		font-size: var(--font16);
	}
}

@media screen and (min-width: 768px) {
	#home .kv .splide__arrow {
		top: 0;
		transform: none;
		width: calc(50vw - 600px);
		height: calc(100% - 40px);
		border: 0;
		border-radius: 0;
		background-color: transparent;
		display: block;
	}
	
	#home .kv .splide__arrow--prev {
		left: 0;
	}
	
	#home .kv .splide__arrow--next {
		right: 0;
	}
	
	#home .kv .splide__arrow::before {
		content: '';
		position: absolute;
		top: 50%;
		width: 42px;
		height: 42px;
		transform: translateY(-50%);
		border: 1px solid var(--whiteSmoke);
		border-radius: 50%;
		background-color: var(--mainRed);
		z-index: -1;
		transition: background-color .2s;
	}
	
	#home .kv .splide__arrow--prev::before {
		right: -21px;
	}
	
	#home .kv .splide__arrow--next::before {
		left: -21px;
	}
	
	@media (hover: hover) {
		#home .kv .splide__arrow:hover::before {
			background-color: var(--mainRedHover);
		}
	}
	
	#home .kv .splide__arrow svg {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		height: 24px;
	}
	
	#home .kv .splide__arrow--prev svg{
		right: -20px;
		transform: translateY(-50%) rotate(180deg);
	}
	
	#home .kv .splide__arrow--next svg {
		left: -20px;
	}
	
	@media screen and (max-width: 1272px) {
		#home .kv .splide__arrow {
			width: 36px;
		}
	}
}

/* Carrers
-------------------------------------------------- */
#home .careers {
	padding-top: 60px;
	padding-bottom: 60px;
}

#home .careers .banner {
	margin: 0;
	border: 2px solid var(--mainRed);
	position: relative;
	background-color: #f2f5fa;
	text-align: left;
	transition: opacity .2s;
}

#home .careers .banner:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 48%;
	height: 100%;
	background: url(images/img_careers.jpg) no-repeat 50% 45% / cover;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
}

#home .careers .banner a {
	aspect-ratio: 6 / 1;
	display: flex;
	align-items: flex-end;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: var(--mainRed);
	font-size: clamp(var(--font18), 2.6vw, var(--font34));
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}

#home .careers .banner a > span {
	width: 100%;
	padding: 2% 45% 2% 3%;
	position: relative;
	z-index: 1;
}

#home .careers .banner a > span b {
	font-weight: 600;
	font-size: 120%;
}

#home .careers .banner a .icon {
	font-size: var(--font18);
	vertical-align: inherit;
}

@media (hover: hover) {
	#home .careers .banner:hover {
		opacity: .8;
	}
	#home .careers .banner a:hover {
		background-color: transparent;
	}
}

@media screen and (max-width: 767px) {
	#home .careers {
		padding-top: 36px;
		padding-bottom: 36px;
	}
	
	#home .careers .banner a > span {
		padding: 12px 45% 12px 16px;
	}
}

/* Videos
-------------------------------------------------- */
#home .videos figcaption {
	font-size: var(--font16);
}

#home .videos .backnumber {
	margin: 24px 0 0;
	text-align: right;
}

#home .videos .backnumber a {
	display: inline-block;
	padding-left: .75em;
	position: relative;
}

#home .videos .backnumber a::before {
	content: '\f0da';
	font-family: icomoon;
	position: absolute;
	left: 0;
	top: 55%;
	transform: translateY(-50%);
}

/* Post List
================================================== */
.postList {
	/* max-width: 67.5em; /* 1080px */
	margin: 0 auto;
	border-top: 1px solid var(--lightGray);
}

.postList li {
	border-bottom: 1px solid var(--lightGray);
	transition: background-color .2s;
}

body:not(#home) h2:has(+ .postList) {
	margin-bottom: 0;
}

body:not(#home):not(.rap-seminar):not(#search) .postList {
	border-top: 0;
}

.postList li > a,
.postList li .noLink {
	padding: 16px 8px;
	display: flex;
	gap: 4px 32px;
	align-items: baseline;
	text-decoration: none;
}

.postList li .postMeta {
	width: 18.75em;
	display: flex;
	gap: 4px 12px;
	align-items: baseline;
	justify-content: space-between;
}

.category .postList li .postMeta {
	width: 8.5em;
}

[id^="event"] .eventList li .postMeta {
	width: 14em;
	flex-wrap: wrap;
}

.recruitList li .postMeta {
	width: auto;
}

.postList li .postTitle {
	flex: 1;
}

.postList li > a > span:not(.postTitle) {
	color: var(--textBody);
}

.postList:not(.eventList) li > a .postTitle,
.eventList li > a .eventTitle {
	text-decoration: underline 1px;
	text-underline-offset: 3px;
}

@media (hover: hover) {
	.postList li > a:hover {
		background-color: #fcfcfc;
	}
	
	.postList:not(.eventList) li > a:hover .postTitle,
	.eventList li > a:hover .eventTitle {
		text-decoration-style: dashed;
	}
	
	.eventList li.withPdf:has(.pdf:hover) {
		background-color: transparent;
	}
}

.newsList .new {
	margin-right: 8px;
}

.newsList .postDate {
	width: 8.5em;
}

.eventList .eventDate {
	width: 14em;
}

[lang="en"] .eventList .eventDate {
	width: 13em;
}

.eventList .eventDate .ended {
	display: block;
	color: var(--textGray);
}

.postMeta .category,
.postMeta .status {
	display: inline-block;
	padding: 0 2px;
	font-size: var(--font14);
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
}

.postMeta .category {
	width: 9.75em;
	min-width: 9.75em;
	border: 1px solid var(--mainBlue);
	color: var(--mainBlue);
}

.postMeta .status {
	min-width: 4.5em;
	border: 1px solid var(--textAlert);
	background-color: var(--textAlert);
	color: #fff;
}

[lang="en"] .postMeta .status {
	width: auto;
	width: 5.5em;
}

@media screen and (max-width: 767px) {
	.postMeta .category {
		width: 9.5em;
		min-width: 9.5em;
	}
	
	.postMeta .status {
		width: 4.5em;
		min-width: 4.5em;
	}
}

.eventList li .speaker,
.eventList li .venue {
	display: block;
	color: var(--textBody);
	font-size: var(--font14);
}

.eventList li.withPdf {
	position: relative;
}

.eventList li.withPdf > a {
	padding-bottom: calc(16px + 1.75em);
}

.eventList li.withPdf .pdf {
	position: absolute;
	left: calc(16em + 40px);
	bottom: 16px;
	font-size: var(--font14);
}

@media screen and (max-width: 960px) {
	.postList li a,
	.postList li .noLink {
		padding: 12px 0;
		flex-direction: column;
	}
	
	.postList li .postMeta,
	[id^="event"] .eventList li .postMeta {
		width: auto;
		justify-content: flex-start;
		flex-wrap: wrap;
	}
	
	.eventList .eventDate,
	[lang="en"] .eventList .eventDate {
		width: auto;
	}
	
	.eventList li.withPdf .pdf {
		left: 0;
	}
}

@media screen and (max-width: 960px) and (min-width: 768px), (max-width: 480px) {
	.recruitList li .postMeta {
		flex-wrap: wrap;
	}
	
	.recruitList li .postMeta .lab {
		width: 100%;
	}
}

.noPosts {
	margin-top: 36px;
}

#home .noPosts {
	text-align: center;
}

/* Recruit List
-------------------------------------------------- */
.recruitList {
	columns: 2 330px;
	column-gap: 36px;
}

.recruitList:has(li:only-child) {
	columns: auto;
}

.recruitList li {
	break-inside: avoid;
}

.recruitList li a {
	padding: 8px;
	flex-direction: column;
	gap: 2px;
}

.recruitList li .lab {
	line-height: 1.75;
}

.recruitList {
	border-top: 0;
}

.recruitList li {
	border-top: 1px solid var(--lightGray);
	margin-bottom: -1px;
}

/* Videos List
-------------------------------------------------- */
.videosList {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.videosList figcaption {
	font-size: var(--font16);
}

@media screen and (max-width: 960px) {
	.videosList {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 580px) {
	.videosList {
		grid-template-columns: 100%;
	}
}

#home .videosList {
	display: flex;
	justify-content: center;
}

#home .videosList li {
	width: calc((100% - 72px) / 3);
}

@media screen and (max-width: 767px) {
	#home .videosList {
		flex-direction: column;
	}
	
	#home .videosList li {
		width: 560px;
		max-width: 100%;
		margin: 0 auto;
	}
}

/* Search Results
-------------------------------------------------- */
.searchResults li > a {
	flex-direction: column;
}

.searchResults li > a > span.description {
	color: var(--textGray);
	font-size: var(--font14);
}

/* Categories
-------------------------------------------------- */
.categories {
	display: flex;
	gap: 6px;
}

.categories li {
	flex: 1;
}

.categories li.research-highlight {
	flex: 0 0 16.204%;
}

.categories li a,
.categories li .current {
	height: 100%;
	min-height: 40px;
	padding: 4px;
	border: 1px solid var(--gray);
	display: grid;
 	place-items: center;
	text-align: center;
	color: var(--textBody);
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
}

.categories li .current {
	border-color: var(--mainBlue);
	background-color: var(--mainBlue);
	color: #fff;
	font-weight: 600;
}

@media (hover: hover) {
	.categories li a:hover {
		background-color: var(--whiteSmoke);
	}
}

@media screen and (max-width: 767px) {
	.categories.newsCat {
		flex-wrap: wrap;
	}
	
	.categories.newsCat li {
		flex: 0 1 auto;
		width: calc((100% - 12px) / 3);
	}
}

@media screen and (max-width: 580px) {
	.categories.newsCat li {
		width: calc((100% - 6px) / 2);
	}
}

/* Year Select
-------------------------------------------------- */
.yearSelect {
	margin-top: 36px;
}

.yearSelect label {
	margin-right: .25em;
}

.yearSelect span:has(select) {
	max-width: calc(100% - 5em);
}

[lang="en"] .yearSelect span:has(select) {
	max-width: calc(100% - 6em);
}

.yearSelect select {
	padding-top: 6px;
	padding-bottom: 6px;
	cursor: pointer;
}

/* Pagination
-------------------------------------------------- */
.pagination {
	margin-top: 36px;
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.pagination a,
.pagination span {
	display: inline-block;
	padding: 0 2px;
}

/* Article
================================================== */
article .postMeta {
	margin: -24px 0 48px;
}

article .postMeta .category {
	margin-left: 24px;
}

/* Breadcrumb
================================================== */
.breadcrumb {
	padding: 12px 0;
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	align-items: center;
	font-size: var(--font14);
	line-height: 1.5;
}

.breadcrumb .home {
	text-transform: uppercase;
}

.breadcrumb li + li::before {
	content: '\f105';
	font-family: icomoon;
	speak: never;
	margin-right: 12px;
}

.breadcrumb li:last-child {
	padding-right: 36px;
}

.breadcrumb a {
	color: var(--textLink);
}

@media screen and (max-width: 767px) {
	.breadcrumb {
		margin: 0 calc(var(--spMargin) * -1);
		padding: 8px var(--spMargin);
		white-space: nowrap;
		overflow-x: auto;
	}
	
	.breadcrumb ol {
		flex-wrap: nowrap;
		font-size: var(--font12);
	}
	
	.breadcrumb li:last-child {
		padding-right: var(--spMargin);
	}
}

/* Content
================================================== */
body:not(#home) #content {
	padding-top: 48px;
	margin-bottom: 120px;
}

.pageTitle {
	margin-bottom: 48px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	justify-content: space-between;
	align-items: flex-start;
}

.pageTitle h1 {
	padding-left: 12px;
	border-left: 6px solid var(--mainRed);
}

.pageTitle .switchLang {
	margin-bottom: 0;
	margin-left: auto;
}

.pageTitle .switchLang a {
	display: inline-block;
	padding-left: .75em;
	position: relative;
}

.pageTitle .switchLang a::before {
	content: '\f0da';
	font-family: icomoon;
	position: absolute;
	left: 0;
	top: 55%;
	transform: translateY(-50%);
}

body:not(#home) .contentBody section:not(:first-child) {
	margin-top: 60px;
}

@media screen and (max-width: 767px) {
	body:not(#home) #content {
		padding-top: 24px;
		margin-bottom: 80px;
	}
	
	.pageTitle {
		margin-bottom: 36px;
		line-height: 1.5;
	}
	
	body:not(#home) .contentBody section:not(:first-child) {
		margin-top: 40px;
	}
}

.contentBody {
	overflow-wrap: break-word;
}

.wysiwyg div {
	line-height: 2;
}

.wysiwyg div:empty {
	height: 1em;
}

.banner a {
	color: var(--textBody);
	text-decoration: none;
}

@media (hover: hover) {
	.banner a:hover {
		background-color: #f8edef;
	}
}

.private {
	color: var(--textAlert);
	font-size: var(--font20);
}

/* Tab Content
-------------------------------------------------- */
.tablist {
	margin-top: 24px;
	display: flex;
	gap: 6px;
}

.tablist .tab {
	padding: 4px 16px;
	border: 1px solid var(--gray);
	text-align: center;
	color: var(--textBody);
	font-weight: 500;
	line-height: 1.5;
}

.tablist .tab.active {
	border-color: var(--mainBlue);
	background-color: var(--mainBlue);
	color: #fff;
	font-weight: 600;
}

@media (hover: hover) {
	.tablist .tab:not(.active):hover {
		background-color: var(--whiteSmoke);
	}
}

.tab.disabled {
	border-color: var(--lightGray);
	color: #767676;
	pointer-events: none;
	cursor: default;
}

.tabpanel {
	display: none;
}

.tabpanel.active {
	display: block;
}

@media screen and (max-width: 767px) {
	.tablist {
		margin-bottom: 16px;
	}
}

/* Child Pages
-------------------------------------------------- */
.contentBody + .relatedPages {
	margin-top: 80px;
}

.childPages {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px 36px;
}

.childPages:not(.teams) li:only-child {
	grid-column: 1 / -1;
	justify-self: center;
	width: 50%;
}

.childPages li {
	border: 1px solid var(--gray);
	background-color: #fff;
}

.childPages li > a,
.childPages li .noLink {
	padding: 16px;
	display: grid;
	grid-template-columns: 112px auto;
	gap: 16px;
	text-decoration: none;
}

.childPages li .thumb img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.childPages li .text {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.childPages li .title {
	margin-bottom: 0;
	font-size: var(--font18);
	line-height: 1.5;
}

.childPages li a .title {
	text-decoration: underline 1px;
	text-underline-offset: 3px;
}

@media (hover: hover) {
	.childPages li a:hover {
		background-color: #fafafa;
	}
	
	.childPages li a:hover .title {
		text-decoration-style: dashed;
	}
}

.childPages li p:not(.title) {
	margin-bottom: 0;
	color: var(--textBody);
	line-height: 1.5;
}

@media screen and (max-width: 767px) {
	.contentBody + .childPages {
		margin-top: 60px;
	}
	
	.childPages {
		grid-template-columns: 100%;
	}
	
	.childPages:not(.teams) li:only-child {
	grid-column: auto;
	justify-self: auto;
	width: auto;
	}
	
	.childPages li a,
	.childPages li .noLink {
		grid-template-columns: 98px auto;
	}
	
	.childPages li .title {
		font-size: var(--font16);
	}
	
	.childPages p {
		font-size: var(--font14);
	}
}

/* Laboratories
================================================== */
.labsList h2::after,
#labs h2::after {
	content: none;
}

.labsList h2 > span,
#labs h2 > span {
	position: absolute;
	top: 100%;
	left: 0;
	width: 230px;
	max-width: 50%;
	border-bottom: 4px solid;
}

.labsList .group:not(:first-child) {
	margin-top: 60px;
}

.labsList h2 {
	margin-bottom: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 2px 16px;
	align-items: baseline;
}

.labsList .teams {
	margin-top: 0;
	padding: 16px;
}

@media screen and (max-width: 767px) {
	.labsList .group:not(:first-child) {
		margin-top: 40px;
	}
	
	.labsList .group > .teams {
		margin: 0 calc(var(--spMargin) * -1);
	}
}

.teams li {
	position: relative;
}

.teams li:has(.recruiting) > * > .text {
	padding-bottom: calc(1.5em + 11px);
}

.teams li:has(> .teams) {
	grid-column: span 2;
}

@media screen and (max-width: 767px) {
	.teams li:has(> .teams) {
		grid-column: span 1;
	}
}

.teams li .teams {
	row-gap: 16px;
	padding: 0 16px 16px;
}

.teams li .recruiting {
	position: absolute;
	bottom: 18px;
	left: 145px;
}

.recruiting {
	display: inline-block;
}

.recruiting em {
	font-style: normal;
}

.recruiting a {
	width: fit-content;
	padding: 1px 16px 2px;
	border: 1px solid var(--textAlert);
	background-color: #fff;
	color: var(--textAlert);
	font-size: var(--font14);
	font-weight: 400;
	text-decoration: none;
}

@media (hover: hover) {
	.recruiting a:hover {
		padding: .5px 15.5px 1.5px;
		border-width: 1.5px;
		background-color: #fff !important;
		font-weight: 500;
	}
}

@media screen and (max-width: 767px) {
	.teams li .recruiting {
		left: 131px;
	}
}

/* Lab Single
-------------------------------------------------- */
#labs.lab .pageTitle:has(.leaderPhoto) {
	gap: 12px 24px;
}

#labs.lab .pageTitle h1 {
	padding-left: 0;
	border-left: 0;
}

#labs .labInfo {
	padding-left: 12px;
	border-left-width: 6px;
	border-left-style: solid;
}

#labs .labInfo .engName,
#labs .labInfo .engLeaderName {
	font-family: 'Noto Serif', serif;
}

#labs .labInfo .labName {
	display: flex;
	gap: 0 24px;
	flex-wrap: wrap;
	align-items: flex-start;
}

#labs .labInfo .engName {
	display: block;
	font-size: var(--font16);
	font-weight: 400;
}

#labs .labInfo .recruiting {
	margin-top: .75em;
}

#labs .labInfo p {
	margin-bottom: 0;
	line-height: 1.5;
}

#labs .labInfo .leader {
	margin-top: 18px;
}

#labs .labInfo .leader span:not(:last-child) {
	margin-right: 12px;
}

#labs .labInfo .leader .position {
	font-size: var(--font18);
	font-weight: 600;
}

#labs .labInfo .leader .leaderName {
	font-size: var(--font20);
}

#labs .leaderPhoto {
	margin-top: 24px;
	width: 100%;
}

#labs .leaderPhoto figure {
	aspect-ratio: 5 / 2;
}

#labs .leaderPhoto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 25%;
}

#labs .stack .switchLang {
	order: 3;
}

#labs .stack .leaderPhoto {
	order: 2;
}

@media screen and (max-width: 767px) {
	#labs .labInfo .engName {
		font-size: var(--font14);
	}
	
	#labs .labInfo .leader {
		margin-top: 12px;
		font-size: var(--font14);
	}
	
	#labs .labInfo .leader .position {
		display: block;
		font-size: var(--font16);
	}
	
	#labs .labInfo .leader .leaderName {
		font-size: var(--font18);
	}
	
	#labs .leaderPhoto {
		margin-top: 12px;
	}
}

#labs .pageIndex ul {
	list-style: none;
	padding-left: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 36px;
	line-height: 1.5;
}

#labs .pageIndex a,
#labs .pageIndex span {
	padding-left: 1em;
	position: relative;
}

#labs .pageIndex a::before,
#labs .pageIndex span::before {
	content: '\f0d7';
	font-family: icomoon;
	position: absolute;
	left: 0;
	top: 55%;
	transform: translateY(-50%);
}

#labs .pageIndex span {
	color: #767676;
}

#labs .outlineWrap {
	display: grid;
	grid-template-columns: auto 42%;
	gap: 24px 36px;
	align-items: start;
}

#labs .outlineWrap .text p:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 767px) {
	#labs .outlineWrap {
		grid-template-columns: 100%;
	}
	
	#labs .outlineWrap figure {
		order: 1;
	}
	
	#labs .outlineWrap .text {
		order: 2;
	}
}

#labs #outline h3 {
	margin-bottom: 4px;
}

#labs .imgWrap {
	margin-top: 42px;
	display: flex;
	gap: 36px;
	justify-content: center;
}

#labs .imgWrap figure {
	max-width: calc((100% - 36px) / 2);
	text-align: center;
}

#labs .imgWrap figure img {
	border: 1px solid var(--gray);
}

#labs .imgWrap figcaption {
	font-weight: 500;
	text-align: left;
}

@media screen and (max-width: 767px) {
	#labs .imgWrap {
		flex-direction: column;
	}
	
	#labs .imgWrap figure {
		max-width: 100%;
	}
}

#labs ul.themeList,
#labs ul.pubList {
	padding-left: 2em;
	list-style-type: decimal;
}

#labs ul.pubList li {
	margin-top: 1em;
}

#labs #achievements ul {
	list-style: none;
	padding-left: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
}

#labs #achievements li {
	width: 10em;
}

#labs #members table,
#labs #members td {
	border: 0;
}

#labs #members table {
	table-layout: fixed;
	border-top: 1px dashed var(--gray);
}

#labs #members tr {
	border-bottom: 1px dashed var(--gray);
}

#labs #members td {
	padding-left: 0;
}

#labs #members td:last-child {
	padding-right: 0;
}

html[lang="ja"] #labs #members td:nth-child(2) {
	font-family: 'Noto Serif', serif;
}

@media screen and (max-width: 767px) {
	#labs #members tr {
		padding: 12px 0;
		display: flex;
		gap: 8px;
		flex-wrap: wrap;
	}
	
	#labs #members td {
		padding: 0;
	}
	
	#labs #members td:not(:first-child) {
		padding-left: 16px;
	}
	
	#labs #members td:last-child {
		width: 100%;
	}
}

#labs #opportunities li {
	margin-top: .5em;
}

#labs #links dt {
	margin-top: 1em;
	margin-left: 1.5em;
	display: list-item;
}

#labs #links dd {
	margin-left: 1.5em;
}

#labs #access p > span {
	display: block;
}

#labs #access .phone span:has(+ span) {
	margin-right: 1em;
}

#labs #access ul {
	padding-left: 0;
	list-style: none;
}

/* Event Single
================================================== */
#events .outlineWrap {
	display: grid;
	grid-template-columns: auto 180px;
	gap: 24px 36px;
	align-items: start;
}

#events .outline table {
	margin-bottom: 0;
}

#events .outline table th {
	width: 24%;
	min-width: calc(4em + 34px);
}

#events .outline .outlineWrap table th {
	width: 31%;
}

#events .outline table td {
	overflow-wrap: anywhere;
}

#events .outline figcaption {
	text-align: center;
}

@media screen and (max-width: 767px) {
	#events .outlineWrap {
		grid-template-columns: 100%;
	}
	
	#events .outlineWrap figure {
		order: 1;
		max-width: 200px;
		margin: 0 auto;
	}
	
	#events .outlineWrap table {
		order: 2;
	}
}

#events .contentBody .other {
	margin-top: 60px;
}

@media screen and (max-width: 767px) {
	#events .contentBody .other {
		margin-top: 40px;
	}
}

/* Organization
================================================== */
.organizationChart {
	margin: 0 auto;
	font-weight: 500;
	text-align: center;
}

.organizationChart ul {
	margin-bottom: 0;
	padding-left: 0;
	list-style: none;
	line-height: 1.5;
	position: relative;
}

.organizationChart .head,
.organizationChart ul.sub div,
.organizationChart ul.group > li > div {
	min-height: calc(3em + 10px);
	padding: 3px 8px;
	border: 2px solid var(--darkGray);
	display: grid;
	place-items: center;
}

[lang="en"] .organizationChart ul.group > li > div {
	min-height: calc(4.5em + 10px);
}

.organizationChart .head {
	width: 21em;
	max-width: 100%;
	margin: 0 auto;
	font-size: var(--font18);
}

.organizationChart ul.sub {
	padding: 36px 0;
	display: flex;
	gap: 48px;
	justify-content: center;
	align-items: center;
}

.organizationChart ul.sub::before,
.organizationChart ul.sub::after {
	content: '';
	position: absolute;
	left: 50%;
}

.organizationChart ul.sub::before {
	top: 0;
	height: 100%;
	border-left: 1px solid var(--darkGray);
}

.organizationChart ul.sub::after {
	top: 50%;
	transform: translateX(-50%);
	width: 48px;
	border-top: 1px solid var(--darkGray);
}

.organizationChart ul.sub li {
	width: 16em;
	max-width: calc(50% - 24px);
}

.organizationChart ul.group {
	padding-top: 36px;
	display: flex;
	gap: 12px;
}

.organizationChart ul.group > li {
	flex: 1;
	position: relative;
}

.organizationChart ul.group > li > div {
	padding: 3px;
	position: relative;
}

.organizationChart ul.group > li::before {
	content: '';
	position: absolute;
	top: -36px;
	left: 0;
	width: calc(100% + 12px);
	border-top: 1px solid var(--darkGray);
}

.organizationChart ul.group > li:first-child::before {
	left: 50%;
	width: calc(50% + 12px);
}

.organizationChart ul.group > li:last-child::before {
	width: 50%;
}

.organizationChart ul.group > li > div::before {
	content: '';
	position: absolute;
	top: -38px;
	left: 50%;
	height: 36px;
	border-left: 1px solid var(--darkGray);
}

.organizationChart ul.team {
	font-size: var(--font15);
	text-align: left;
}

.organizationChart ul.team ul {
	padding-left: 16px;
}

.organizationChart ul.team li {
	margin-top: 24px;
}

.organizationChart .name {
	display: block;
	font-size: var(--font13);
	font-weight: 400;
}

@media screen and (max-width: 767px) {
	.organizationChart ul.sub {
		padding: 24px 0;
		gap: 24px;
	}
	
	.organizationChart ul.sub::after {
		width: 24px;
	}
	
	.organizationChart ul.sub li {
		max-width: calc(50% - 12px);
	}
	
	.organizationChart ul.group {
		margin-bottom: -24px;
		padding-top: 24px;
		flex-wrap: wrap;
		gap: 24px;
	}
	
	.organizationChart ul.group > li {
		flex: initial;
		width: calc((100% - 24px) / 2);
		padding-bottom: 24px;
	}
	
	.organizationChart ul.group > li:nth-child(2n):not(:last-child)::after {
		content: '';
		position: absolute;
		top: -24px;
		left: -12px;
		height: calc(100% + 24px);
		border-left: 1px solid var(--darkGray);
	}
	
	.organizationChart ul.group > li::before,
	.organizationChart ul.group > li:last-child::before {
		top: -24px;
		width: calc(50% + 12px);
	}
	
	.organizationChart ul.group > li:nth-child(2n-1)::before {
		left: 50%;
	}
	
	.organizationChart ul.group > li:nth-child(2n)::before {
		left: -12px;
	}
	
	.organizationChart ul.group > li > div::before {
		top: -26px;
		height: 24px;
	}
	
	.organizationChart ul.team li {
		margin-top: 16px;
	}
}

/* Publications
================================================== */
.publications .pdfList {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 36px;
}

.publications .pdfList li {
	border: 1px solid var(--gray);
}

.publications .pdfList li a {
	padding: 16px;
	display: grid;
	grid-template-columns: 148px auto;
	gap: 16px;
	color: var(--textBody);
	text-decoration: none;
}

.publications .pdfList li .thumb img {
	aspect-ratio: 45 / 64;
	border: 1px solid var(--lightGray);
	object-fit: cover;
}

.publications .pdfList li .text {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.publications .pdfList li a .title {
	margin-bottom: 0;
	font-size: var(--font18);
	text-underline-offset: 3px;
}

.publications .pdfList li p {
	margin-bottom: 0;
	line-height: 1.5;
}

.publications .pdfList li .date {
	flex: 1;
}

.publications .pdfList li a::before {
	display: none;
}

.publications .pdfList li .dl {
	padding: 8px 16px;
	border: 1px solid var(--mainBlue);
	border-radius: 4px;
	background-color: var(--mainBlue);
	color: #fff;
	text-align: center;
}

@media (hover: hover) {
	.publications .pdfList li a:hover {
		background-color: #fafafa;
	}
	
	.publications .pdfList li a:hover .title {
		text-decoration-style: dashed;
	}
	
	.publications .pdfList li a:hover .dl {
		background-color: var(--mainBlueHover);
	}
}

@media screen and (max-width: 767px) {
	.publications .pdfList {
		grid-template-columns: 100%;
		gap: 24px;
	}
	
	.publications .pdfList li a {
		grid-template-columns: 108px auto;
	}
}

/* opportunities
================================================== */
body.opportunities .recruitList {
	margin: 24px 0 48px;
}

.opportunities .noPosts {
	margin-top: 24px;
}

.opportunities .tablist {
	flex-wrap: wrap;
}

.opportunities .tablist .tab {
	min-width: 120px;
}

/* For Junior Scientists
================================================== */
.for-junior-scientists .groupList {
	padding-left: 0;
	list-style: none;
	margin: 48px auto 0;
	max-width: 100%;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 24px;
	align-items: center;
}

.for-junior-scientists .groupList li {
	border-width: 3px;
	border-style: solid;
	border-radius: 50%;
}

.for-junior-scientists .groupList li a {
	display: grid;
	place-content: center;
	padding: 0 6px;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	background-color: #fff;
	color: var(--textBody);
	font-size: var(--font20);
	font-weight: 500;
	text-decoration: none;
	line-height: 1.5;
	text-align: center;
	word-break: break-word;
}

[lang="en"] .for-junior-scientists .groupList li a {
	line-height: 1.25;
}

@media (hover: hover) {
	.for-junior-scientists .groupList li a:hover {
		background-color: rgba(255,255,255,.9);
	}
}

@media screen and (max-width: 1023px) {
	.for-junior-scientists .groupList {
		grid-template-columns: repeat(3, 1fr);
		max-width: 588px;
	}
}

@media screen and (max-width: 1280px) and (min-width: 1024px ), (max-width: 767px) {
	.for-junior-scientists .groupList {
		gap: 18px;
	}
	
	.for-junior-scientists .groupList li a {
		font-size: var(--font18);
	}
}

@media screen and (max-width: 767px) {
	.for-junior-scientists .groupList {
		margin-top: 36px;
	}
}

@media screen and (max-width: 480px) {
	.for-junior-scientists .groupList {
		gap: 12px;
	}
	
	.for-junior-scientists .groupList li a {
		font-size: var(--font14);
	}
}

/* Access
================================================== */
#access .col {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#access .col h3 {
	margin: 0;
}

#access .col h3 img {
	margin-bottom: 12px;
	width: 100%;
}

#access .col h3 + p {
	flex: 1;
}

#access .col p {
	margin-bottom: 0;
}

/* Sitemap
================================================== */
.sitemapTree {
	margin-left: 18px;
	columns: 2 460px;
	gap: 48px;
}

.sitemapTree ul {
	margin-bottom: 0;
	padding-left: 0;
	list-style: none;
	line-height: 1.5;
}

.sitemapTree li {
	margin-bottom: .75em;
	break-inside: avoid;
}

.sitemapTree li ul {
	margin-top: .75em;
	margin-bottom: .75em;
	margin-left: 48px;
}

.sitemapTree li ul li {
	padding-bottom: .25em;
	position: relative;
}

.sitemapTree li ul li::before {
	content: '';
	position: absolute;
	top: -0.5em;
	left: -16px;
	width: 10px;
	height: calc(100% + .75em);
	border-left: 1px solid var(--gray);
}

.sitemapTree li ul li:last-child::before {
	height: 1.25em;
}

.sitemapTree li ul li::after {
	content: '';
	position: absolute;
	top: .75em;
	left: -16px;
	width: 10px;
	border-bottom: 1px solid var(--gray);
}

.sitemapTree .major {
	margin-bottom: 36px;
}

.sitemapTree .major > a {
	font-size: var(--font20);
	font-weight: 500;
}

@media screen and (max-width: 767px) {
	.sitemapTree {
		columns: auto;
	}
	
	.sitemapTree > li > ul {
		columns: auto;
		margin-bottom: 0;
	}

	.sitemapTree:last-child {
		border-bottom: 2px solid var(--lightGray);
	}

	.sitemapTree li {
		margin-bottom: 0;
	}

	.sitemapTree li ul {
		margin: 0;
		padding-left: 1em;
		border-bottom: 0;
	}
	
	.sitemapTree > li > ul {
		padding-left: 0;
	}

	.sitemapTree li ul li {
		margin: 0;
		padding: 0;
	}

	.sitemapTree li ul li::before,
	.sitemapTree li ul li::after {
		content: none;
	}

	.sitemapTree li {
		border-top: 1px solid var(--lightGray);
	}

	.sitemapTree li ul li ul li {
		border-top-style: dotted;
	}

	.sitemapTree li ul li ul {
		padding-left: 1em;
	}

	.sitemapTree li a,
	.sitemapTree li span {
		display: block;
		padding: .5em 25px .5em 5px;
		text-decoration: none;
		position: relative;
	}

	.sitemapTree li a:after {
		content: '';
		display: block;
		position: absolute;
		top: 50%;
		right: 10px;
		width: 6px;
		height: 6px;
		margin-top: -4px;
		border-top: solid 2px var(--darkGray);
		border-right: solid 2px var(--darkGray);
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	
	.sitemapTree .major {
		margin-bottom: 0;
	}
	
	.sitemapTree .major > a {
		font-size: var(--font18);
	}

}

/* Form
================================================== */
.wpcf7-list-item {
	margin-left: 32px;
}

.wpcf7-list-item:first-child {
	margin-left: 0;
}

.wpcf7 form .wpcf7-response-output {
	margin: 48px 0 36px;
	padding: 16px;
}

.wpcf7 form.invalid .wpcf7-response-output {
	border: 2px solid var(--textAlert);
}

.wpcf7 form.sent .wpcf7-response-output {
	border: 2px solid var(--mainBlue);
}

.wpcf7 form .wpcf7-mail-sent-ok {
}

.wpcf7-form.sent .mailform {
	display: none;
}

/* Form Control
-------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
	max-width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--darkGray);
	border-radius: 4px;
	background-color: #fff;
	font-size: var(--font16);
	line-height: 1.5;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
	width: 100%;
}

textarea {
	height: 8em;
}

input[type="radio"],
input[type="checkbox"] {
	position: absolute;
	white-space: nowrap;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	height: 1px;
	width: 1px;
	margin: -1px;
}

input[type="radio"] + span,
input[type="checkbox"] + span {
	display: inline-block;
	padding-left: 30px;
	font-size: var(--font16);
	position: relative;
	cursor: pointer;
}

input[type="radio"] + span::before,
input[type="checkbox"] + span::before {
	content: '';
	position: absolute;
	left: 0px;
	height: 20px;
	width: 20px;
	border: 1px solid #999;
	background-color: #fff;
}

input[type="radio"] + span::before {
	top: calc(.875em - 10px);
	border-radius: 50%;
}

input[type="checkbox"] + span::before {
	top: calc(.875em - 10px);
	border-radius: 4px;
}

input[type="radio"]:focus-visible + span::before,
input[type="checkbox"]:focus-visible + span::before {
	border: 2px solid #e96000;
}

input[type="radio"]:checked + span::after,
input[type="checkbox"]:checked + span::after {
	content: '';
	position: absolute;
}

input[type="radio"]:checked + span::after {
	top: calc(.875em - 5px);
	left: 5px;
	height: 10px;
	width: 10px;
	border: 5px solid #333;
	border-radius: 50%;
}

input[type="checkbox"]:checked + span::after {
	top: calc(.875em - 5px);
	left: 4.5px;
	height: 7px;
	width: 11px;
	border: 3px solid #333;
	border-top: 0;
	border-right: 0;
	transform: rotate(-45deg);
}

span:has(select) {
	display: inline-block;
	max-width: 100%;
	position: relative;
}

span:has(select)::after {
	content: '\f0d7';
	font-family: icomoon;
	font-size: var(--font18);
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
}

span:has(select) select {
	background-color: transparent;
}

span:has(select) select {
	padding-right: calc(24px + 1.125em);
	position: relative;
	z-index: 1;
}

input:disabled,
select:disabled,
textarea:disabled {
	background-color: #ededed;
	color: #6a6a6a;
}

input[type="radio"]:disabled + sapn::before,
input[type="checkbox"]:disabled + span::before {
	background-color: #ededed;
}

input[type="radio"]:disabled + span,
input[type="checkbox"]:disabled + span {
	cursor: default;
}

::placeholder {
	color: #767676;
}

:disabled::placeholder,
.error::placeholder {
	color: #6a6a6a;
}

input.error,
select.error,
textarea.error,
input.wpcf7-not-valid,
select.wpcf7-not-valid,
textarea.wpcf7-not-valid  {
	border-color: #c00;
	background-color: #fbe7e8;
}

@media (-ms-high-contrast:active) {
	input.error,
	select.error,
	textarea.error,
	input.wpcf7-not-valid,
	select.wpcf7-not-valid,
	textarea.wpcf7-not-valid {
		border-width: 2px;
	}
}

.error input[type="radio"] + span::before,
.error input[type="checkbox"] + span::before,
.wpcf7-not-valid input[type="radio"] + span::before,
.wpcf7-not-valid input[type="checkbox"] + span::before {
	border-color: #c00;
}

input[type="submit"] {
	width: 320px;
	max-width: 100%;
	padding: 10px 30px;
	border: 1px solid var(--mainBlue);
	border-radius: 4px;
	background-color: var(--mainBlue);
	color: #fff;
	font-size: var(--font16);
}

@media (hover: hover) {
	input[type="submit"]:hover {
		background-color: var(--mainBlueHover);
	}
}

@media screen and (max-width: 767px) {
	input[type="submit"] {
		width: 400px;
	}
}

/* Contact
-------------------------------------------------- */
.mailform dt {
	margin-bottom: 4px;
	font-weight: 500;
}

.mailform .required {
	color: var(--textAlert);
	font-style: normal;
}

.mailform #your-name,
.mailform #your-email,
.mailform #your-affiliation {
	width: 540px;
}

.mailform #your-message {
	height: 15em;
}

.mailform .submit {
	width: fit-content;
	max-width: 100%;
	margin: 48px auto;
	font-size: var(--font18);
	text-align: center;
	position: relative;
}

.mailform .submit input {
	font-size: var(--font20);
}

.mailform .submit .wpcf7-spinner {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	margin: 0;
}

.contact h3 {
	margin-bottom: 0;
	font-size: var(--font16);
	line-height: 2;
}

/* Post Password From
-------------------------------------------------- */
.post-password-form,
.post-password-form span {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

.post-password-form label {
	white-space: nowrap;
}

.post-password-form input[type="password"] {
	width: 250px;
	max-width: calc(100% - 2em - 70px);
	padding: 10px 16px;
}

.post-password-form input[type="submit"] {
	width: auto;
}

/* Footer
================================================== */
#commonFooter {
	border-top: 1px solid #fff;
	background-color: var(--whiteSmoke);
	position: relative;
}

#commonFooter a {
	color: var(--textBody);
	text-decoration-color: var(--gray);
}

#commonFooter .footerNav ul {
	line-height: 1.5;
}

#commonFooter .mainMenu {
	margin: 48px auto 42px;
	display: flex;
	column-gap: 36px;
}

#commonFooter .mainMenu > li {
	flex: 1 1 auto;
}

@media screen and (min-width: 1024px) {
	[lang="en"] #commonFooter .mainMenu > li.about {
		flex-basis: 14%;
	}
	
	[lang="en"] #commonFooter .mainMenu > li.labs {
		flex-basis: 24%;
	}
	
	[lang="en"] #commonFooter .mainMenu > li.news {
		flex-basis: 18%;
	}
	
	[lang="en"] #commonFooter .mainMenu > li.events {
		flex-basis: 14%;
	}
	
	[lang="en"] #commonFooter .mainMenu > li.partnerships {
		flex-basis: 17%;
	}
	
	[lang="en"] #commonFooter .mainMenu > li.others {
		flex-basis: 13%;
	}
}

#commonFooter .mainMenu > li:last-child {
	flex-grow: 0;
}

#commonFooter .mainMenu > li > a,
#commonFooter .mainMenu > li:last-child a {
	display: block;
	border-bottom: 1px solid var(--gray);
	text-decoration: none;
}

@media (hover: hover) {
	#commonFooter a {
		color: var(--textGray);
	}
	
	#commonFooter .mainMenu > li > a:hover,
	#commonFooter .mainMenu > li:last-child a:hover {
		border-bottom-style: dashed;
	}
}

#commonFooter .mainMenu > li:not(:last-child) ul li {
	margin-top: 16px;
}

#commonFooter .mainMenu > li:not(:last-child) ul li a {
	display: inline-block;
	padding-left: 12px;
	font-size: var(--font13);
	position: relative;
}

#commonFooter .mainMenu > li:not(:last-child) ul li a::before {
	content: '';
	position: absolute;
	top: .75em;
	left: 0;
	width: 8px;
	border-bottom: 1px solid var(--textBody);
}

#commonFooter .mainMenu > li:last-child ul li:not(:first-child) {
	margin-top: 16px;
}

@media screen and (max-width: 1023px) {
	#commonFooter .mainMenu {
		margin: 32px auto;
		display: block;
		columns: 4;
		column-gap: 24px;
		font-size: var(--font15);
	}
	
	#commonFooter .mainMenu > li {
		break-inside: avoid;
		max-width: none;
	}
	
	#commonFooter .mainMenu > li:not(:last-child) {
		margin-bottom: 20px;
	}
	
	#commonFooter .mainMenu > li:not(:last-child) ul li {
		margin-top: 8px;
	}
}

@media screen and (max-width: 767px) {
	#commonFooter .mainMenu {
		columns: 2;
	}
}

#commonFooter .subMenu {
	padding-top: 36px;
	border-top: 1px solid var(--lightGray);
	display: flex;
	gap: 28px;
	justify-content: center;
}

#commonFooter .subMenu a {
	font-size: var(--font14);
}

@media screen and (max-width: 767px) {
	#commonFooter .subMenu {
		margin-right: calc(var(--spMargin) * -1);
		margin-left: calc(var(--spMargin) * -1);
		padding: 0;
		flex-wrap: wrap;
		gap: 0;
	}
	
	#commonFooter .subMenu li {
		width: 50%;
		border-bottom: 1px solid var(--lightGray);
	}
	
	#commonFooter .subMenu li:nth-child(2n) {
		border-left: 1px solid var(--lightGray);
	}
	
	#commonFooter .subMenu li a {
		display: block;
		padding: 12px var(--spMargin);
		
	}
}

#commonFooter .footerInfo {
	margin: 42px auto;
	text-align: center;
}

#commonFooter .logo {
	margin-bottom: 36px;
	display: flex;
	gap: 24px;
	justify-content: center;
}

#commonFooter .logo a {
	position: relative;
}

#commonFooter .logo a .icon {
	color: #3d64a9;
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	opacity: 0;
	transition: opacity .2s;
}

#commonFooter .logo a:hover .icon,
#commonFooter .logo a:focus .icon {
	opacity: 1;
}


#commonFooter .copyright {
	margin-left: auto;
	line-height: 1.25;
}

#commonFooter .copyright small {
	font-size: var(--font12);
}

@media screen and (max-width: 767px) {
	#commonFooter .footerInfo {
		margin: 28px 0 24px;
		flex-direction: column;
		align-items: center;
	}
	
	#commonFooter .logo {
		margin-bottom: 24px;
	}
	
	#commonFooter .logo img {
		width: auto;
		height: 36px;
	}
	
	#commonFooter .copyright small {
		font-size: var(--font11);
	}
}

/* Scroll top
-------------------------------------------------- */
#scrollTop {
	position: fixed;
	right: 36px;
	bottom: 24px;
	z-index: 50;
	display: none;
}

#scrollTop.absolute {
	position: absolute;
	bottom: calc(100% + 24px);
}

#scrollTop a {
	display: block;
	width: 5em;
	height: 5em;
	border: 1px solid #fff;
	border-radius: 4px;
	background-color: var(--mainRed);
	color: #fff;
	font-size: var(--font10);
	text-decoration: none;
	line-height: 1;
	text-align: center;
}

#scrollTop a::before {
	display: block;
	content: '\f106';
	font-family: icomoon;
	font-size: var(--font40);
	line-height: .75;
	margin-bottom: 2px;
}

@media (hover: hover) {
	#scrollTop a:hover {
		background-color: var(--mainRedHover);
	}
}

@media screen and (max-width: 767px) {
	#scrollTop {
		right: var(--spMargin);
		bottom: 12px;
	}
	
	#scrollTop.absolute {
		bottom: calc(100% + 12px);
	}
	
	#scrollTop a {
		font-size: .5rem;
	}
	
	#scrollTop a::before {
		font-size: var(--font32);
	}
}

/* 404
================================================== */
#searchform2 label {
	display: block;
	margin-bottom: 6px;
}

#searchform2 input#s2 {
	width: 360px;
	max-width: calc(100% - (34px + 2.25em));
	padding: 8px 16px;
}

[lang="en"] #searchform2 input#s2 {
	max-width: calc(100% - (34px + 3.5em));
}

#searchform2 .searchsubmit {
	width: auto;
	padding: 8px 16px;
}

#error .contentBody ul {
	list-style: none;
	padding-left: 0;
	margin-top: 1.5em;
}

#error .contentBody ul li {
	margin-top: 1em;
}

/* reCAPTCHA
================================================== */
.grecaptcha-badge {
	visibility: hidden;
}

/* Adminbar
================================================== */
#wpadminbar {
	height: 6px !important;
	overflow: hidden;
	opacity: 0.05;
	transition: all 0.3s ease-in-out;
}

#wpadminbar:hover {
	height: auto !important;
	filter: alpha(opacity=100);
	opacity: 1;
}

/* Clearfix
================================================== */
.clearfix:after {
	content: "";
	display: block;
	clear: both;
}
