@charset "UTF-8";
/* ------------------------------------------------------------
 * Gensha Article Header Cascading Style Sheets
 * first edition: 2017-06-01
 * -----------------------------------------------------------*/

/* -------------------------------------- */
/*        Default Style of Header         */
/* -------------------------------------- */
header {
	position: relative;
	margin: 0 auto;
	padding: 0;
	padding-top: 0.4em;
	padding-bottom: 1.2em;
	width: 90%;
	max-width: 1500px;
}

header h1 {
	position: relative;
	margin: 0;
	margin-left: 0;
	padding: 0;
	width: 70%;
	min-width: 260px;
	max-width: 533px;
	text-align: center;
	font-size: 60px;
	font-weight: bold;
}

header h2 {
	position: relative;
	top: 3.5em;
	margin-top: 0em;
	margin-bottom: 1.5em;
	margin-left: 0.4em;
	margin-right: 15%;
	padding: 0;
	text-align: left;
	white-space: nowrap;
	font-size: 28px;
	font-family: 'Yu Mincho', 'YuMincho', serif;
}

header img {
	display: inline-block;
}

header h1:hover a img,
header h1.index-on-mouse a img {
	visibility: hidden;
	/*animation: fade-out 0.5s linear 1;*/
}

header #general-logo {
	display: inline-block;
	position: relative;
	width: 71px;
	height: 87px;
	z-index: 6;
}

header #general-logo:hover,
header#general h1.index-on-mouse #general-logo {
	background: url("../images/gensha-logo-g.svg") no-repeat left top !important;
	background-size: contain !important;
}

header h1:hover #general-logo,
header h1.index-on-mouse #general-logo {
	background: url("../images/gensha-logo-g-no-selected.svg") no-repeat left top;
	background-size: contain;
}

header#general #general-logo:after,
header #general-logo:hover:after {
	content: '';
	display: inline-block;
	position: absolute;
	top: 90px !important;
	left: 0px !important;
	width: 178px !important;
	height: 33px !important;
	background: url("../images/general-view-logo-full.svg") no-repeat left top !important;
}

header #education-logo {
	display: inline-block;
	position: relative;
	width: 89px;
	height: 87px;
	z-index: 5;
}

header #education-logo:hover,
header#education h1.index-on-mouse #education-logo {
	background: url("../images/gensha-logo-e.svg") no-repeat left top !important;
	background-size: contain !important;
}

header h1:hover #education-logo,
header h1.index-on-mouse #education-logo {
	background: url("../images/gensha-logo-e-no-selected.svg") no-repeat left top;
	background-size: contain;
}

header#education #education-logo:after,
header #education-logo:hover:after {
	content: '';
	display: inline-block;
	position: absolute;
	top: 90px !important;
	left: 18px !important;
	width: 133px !important;
	height: 33px !important;
	background: url("../images/education-logo-full.svg") no-repeat left top !important;
}

header #news-logo {
	display: inline-block;
	position: relative;
	width: 95px;
	height: 87px;
	z-index: 4;
}

header #news-logo:hover,
header#news-and-events h1.index-on-mouse #news-logo {
	background: url("../images/gensha-logo-n.svg") no-repeat left top !important;
	background-size: contain !important;
}

header h1:hover #news-logo,
header h1.index-on-mouse #news-logo {
	background: url("../images/gensha-logo-n-no-selected.svg") no-repeat left top;
	background-size: contain;
}

header#news-and-events #news-logo:after,
header #news-logo:hover:after {
	content: '';
	display: inline-block;
	position: absolute;
	top: 90px !important;
	left: 18px !important;
	width: 204px !important;
	height: 33px !important;
	background: url("../images/news-and-events-logo-full.svg") no-repeat left top !important;
}

header #staff-logo {
	display: inline-block;
	position: relative;
	width: 95px;
	height: 87px;
	z-index: 3;
}

header #staff-logo:hover,
header#staff h1.index-on-mouse #staff-logo {
	background: url("../images/gensha-logo-s.svg") no-repeat left top !important;
	background-size: contain !important;
}

header h1:hover #staff-logo,
header h1.index-on-mouse #staff-logo {
	background: url("../images/gensha-logo-s-no-selected.svg") no-repeat left top;
	background-size: contain;
}

header#staff #staff-logo:after,
header #staff-logo:hover:after {
	content: '';
	display: inline-block;
	position: absolute;
	top: 90px !important;
	left: 12px !important;
	width: 62px !important;
	height: 33px !important;
	background: url("../images/staff-logo-full.svg") no-repeat left top !important;
}

header #home-logo {
	display: inline-block;
	position: relative;
	width: 83px;
	height: 87px;
	z-index: 2;
}

header #home-logo:hover,
header#home h1.index-on-mouse #home-logo {
	background: url("../images/gensha-logo-h.svg") no-repeat left top !important;
	background-size: contain !important;
}

header h1:hover #home-logo,
header h1.index-on-mouse #home-logo {
	background: url("../images/gensha-logo-h-no-selected.svg") no-repeat left top;
	background-size: contain;
}

header#home #home-logo:after,
header #home-logo:hover:after {
	content: '';
	display: inline-block;
	position: absolute;
	top: 90px !important;
	left: 7px !important;
	width: 81px !important;
	height: 33px !important;
	background: url("../images/home-logo-full.svg") no-repeat left top !important;
}

header #activities-logo {
	display: inline-block;
	position: relative;
	width: 100px;
	height: 87px;
	z-index: 1;
}

header #activities-logo:hover,
header#activities h1.index-on-mouse #activities-logo {
	background: url("../images/gensha-logo-a.svg") no-repeat left top !important;
	background-size: contain !important;
}

header h1:hover #activities-logo,
header h1.index-on-mouse #activities-logo {
	background: url("../images/gensha-logo-a-no-selected.svg") no-repeat left top;
	background-size: contain;
}

header#activities #activities-logo:after,
header #activities-logo:hover:after {
	content: '';
	display: inline-block;
	position: absolute;
	top: 90px !important;
	left: 12px !important;
	width: 121px !important;
	height: 33px !important;
	background: url("../images/activities-logo-full.svg") no-repeat left top !important;
}

header #general-logo:hover,
header #education-logo:hover,
header #news-logo:hover,
header #staff-logo:hover,
header #home-logo:hover,
header #activities-logo:hover,
header#general #general-logo:after,
header#education #education-logo:after,
header#news-and-events #news-logo:after,
header#staff #staff-log:after,
header#home #home-logo:after,
header#activities #activities-logo:after,
header .index-on-mouse #general-logo,
header .index-on-mouse #education-logo,
header .index-on-mouse #news-logo,
header .index-on-mouse #staff-logo,
header .index-on-mouse #home-logo,
header .index-on-mouse #activities-logo,
header#general .index-on-mouse #general-logo:after,
header#education .index-on-mouse #education-logo:after,
header#news-and-events .index-on-mouse #news-logo:after,
header#staff .index-on-mouse #staff-logo:after,
header#home .index-on-mouse #home-logo:after,
header#activities #activities-logo:after,
header h1 img {
	animation: fade-in 0.5s linear 1;
}

@keyframes fade-in {
	0% {
		opacity: 0.0;
	}
	100% {
		opacity: 1.0;
	}
}

@keyframes fade-out {
	0% {
		opacity: 1.0;
	}
	100% {
		opacity: 0.0;
	}
}

header #general-logo:hover:after,
header #education-logo:hover:after,
header #news-logo:hover:after,
header #staff-logo:hover:after,
header #home-logo:hover:after,
header #activities-logo:hover:after {
	display: inline-block !important;
}

header#general h1:hover #general-logo:after,
header#education h1:hover #education-logo:after,
header#news-and-events h1:hover #news-logo:after,
header#staff h1:hover #staff-logo:after,
header#home h1:hover #home-logo:after,
header#activities h1:hover #activities-logo:after {
	display: none;
}


/* -------------------------------------- */
/*           Customized Header            */
/* -------------------------------------- */
header#search-app #staff-logo:after {
	content: '';
	display: inline-block;
	position: absolute;
	top: 90px;
	left: 12px;
	width: 86px;
	height: 32px;
	background: url("../images/search-logo-full.svg") no-repeat left top;
}

header#sitemap #staff-logo:after {
	content: '';
	display: inline-block;
	position: absolute;
	top: 90px;
	left: 12px;
	width: 104px;
	height: 32px;
	background: url("../images/sitemap-logo-full.svg") no-repeat left top;
}

header#students #staff-logo:after {
	content: '';
	display: inline-block;
	position: absolute;
	top: 90px;
	left: 12px;
	width: 158px;
	height: 33px;
	background: url("../images/students-logo-full.svg") no-repeat left top;
}

header#history #home-logo:after {
	content: '';
	display: inline-block;
	position: absolute;
	top: 90px;
	left: 7px;
	width: 100px;
	height: 32px;
	background: url("../images/history-logo-full.svg") no-repeat left top;
}

header#access #activities-logo:after {
	content: '';
	display: inline-block;
	position: absolute;
	top: 90px;
	left: 12px;
	width: 86px;
	height: 33px;
	background: url("../images/access-logo-full.svg") no-repeat left top;
}

header#admission #activities-logo:after {
	content: '';
	display: inline-block;
	position: absolute;
	top: 90px;
	left: 12px;
	width: 138px;
	height: 33px;
	background: url("../images/admission-logo-full.svg") no-repeat left top;
}

header#alumni #activities-logo:after {
	content: '';
	display: inline-block;
	position: absolute;
	top: 90px;
	left: 12px;
	width: 145px;
	height: 33px;
	background: url("../images/alumni-logo-full.svg") no-repeat left top;
}

header#search-app #staff-log:after,
header#sitemap #staff-logo:after,
header#students #staff-logo:after,
header#history #home-logo:after,
header#access #activities-logo:after,
header#admission #activities-logo:after,
header#alumni #activities-logo:after {
	animation: fade-in 0.5s linear 1;
}

header#search-app h1:hover #staff-logo:after,
header#sitemap h1:hover #staff-logo:after,
header#students h1:hover #staff-logo:after,
header#history h1:hover #home-logo:after,
header#access h1:hover #activities-logo:after,
header#admission h1:hover #activities-logo:after,
header#alumni h1:hover #activities-logo:after {
	display: none;
}


/* -------------------------------------- */
/*   Table of Contents Style in Header    */
/* -------------------------------------- */
header .contents-index {
	position: absolute;
	top: 2em;
	right: 1em;
	margin: 0;
	padding: 0;
	width: 29%;
	max-width: 15em;
}

header .contents-index li {
	display: inline-block;
	position: relative;
	background: transparent;
	border-style: none;
	list-style-type: none;
	list-style-image: none;
	margin: 0;
	padding: 0.1em 0em;
	width: 6.2em;
	white-space: nowrap;
	line-height: 1.5em;
	text-align: left;
	color: #8f8f8f;
}

header .contents-index li:nth-child(odd) {
	margin-right: 1em;
}

header .contents-index li:before {
	content: '■';
	color: #a1c88c;
	position: relative;
	top: -0.1em;
	margin-right: 0.2em;
}

header .contents-index li:hover {
	color: #040404;
}

header .contents-index li:hover:before {
	color: #81a86c;
}
