@charset "UTF-8";

body {
	margin: 0;
	padding: 0;
	display: flex;
	flex-flow: column;
	min-height: 100vh;
	font-family: Segoe UI, Meiryo UI, sans-serif;
	background-image: url('gendai.jpg');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
	background-color: #E5E6AD;
}

header {
	font-family: serif;
	font-size: 42px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: .66;
	background: #fff;
	padding: 0;
	margin: 0;
	z-index: 10;
}

header span {
	color: #555;
	z-index: 100;
	margin: .25em .5em;
}

header img {
	width: 1em;
	height: 1.41em;
	margin: .5em;
	z-index: 100;
}

nav {
	font-family: serif;
	color: #444;
	background: silver;
	opacity: .66;
}

nav ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0;
	padding: 0 .75em;
}

nav li {
	list-style-type: none;
	padding: .5em 2em;
	position: relative;
}

nav span {
	display: none;
	font-weight: bold;
}

nav li:hover span {
	display: inline;
	position: absolute;
}

nav li:hover span:first-child {
	bottom: 0;
	left: 0;
}

nav li:hover span:last-child {
	top: 0;
	right: 0;
}

main {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

study {
	display: block;
	height: auto;
	min-width: 20em;
}

study h2 {
	border-bottom: 1px solid transparent;
	margin: 0;
	text-align: right;
	font-weight: 100;
	font-style: italic;
}

study hr {
	margin: .15em 0;
}

study a {
	color: #555;
	text-decoration: none;
	background: rgba(252, 252, 252, .75);
	display: block;
	margin: .5em;
	padding: .5em 1em;
}

study a:hover {
	color: #111;
}

study a:hover h2 {
	border-bottom: 1px solid #111;
	animation: fadeunderline .6s ease;
}

@keyframes fadeunderline {
	0% {
		border-bottom: transparent 1px solid;
	}
	100% {
		border-bottom: #111 1px solid;
	}
}

study tag {
	font-weight: bold;
}

footer {
	font-family: serif;
	font-size: 12px;
	text-align: center;
	opacity: .66;
	background: #fff;
	padding: 0;
	margin: 0;
	z-index: 10;
}
