html,body{
	margin:0;
	padding:0;
	
	font-size:10px;
}

body {
	margin-bottom: 60px;
}

a {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	box-sizing: border-box;
}
a:hover {
}

header,
article{
	margin: auto;
	max-width: 800px;
}

ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
li {
	font-size: 2.4rem;
	font-weight: bold;
	box-sizing: border-box;
}
li span {
	font-size: 0.8em;
}

nav {
	margin: 20px 0px;
}
nav ul {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
nav li {
	display: block;
	height: 100%;
	border: solid 1px #6666cc;

	background-color: #f9f9ff;
	
	font-size:1.6em;
	
}
nav li a {
	display: block;
	padding:1.5em 1em;
	vertical-align: middle;
	color:#000000;
}
nav li,
nav li a:after,
nav li a:hover:before{
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}
nav li span {
	display: block;
	font-size:0.8em;
	position: absolute;
	top:0.8em;
	
}

h1 {
	position: relative;
	text-align: center;
}
h1 img {
	vertical-align: bottom;
}
article {
	clear:both;
	width: 100%;
}
article ul {
	margin: auto;
	width: 90%;
}
article li {
	margin-bottom: 8px;
}
article li a {
	padding: 0.5em;
	border: 1px solid #2244aa;
	background-color: #f9f9ff;
	color: #2244aa;
	letter-spacing: 0.1em;
	-webkit-box-shadow: 0px 1px 2px #666666;
	-moz-box-shadow: 0px 1px 2px #666666;
	box-shadow: 0px 1px 2px #666666;
	box-sizing: border-box;
}
article li a,
article li a:after,
article li a:hover:before {
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}


nav a:after ,
#btn_column:after ,
article li a:after {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left:0;
	top:0;
	background: -moz-linear-gradient(top,
		rgba(255, 255, 255, 1) 0%,
		rgba(255, 255, 255, 0) 15%,
		rgba(0, 0, 0, 0) 85% ,
		rgba(0, 0, 0, 0.2) 100% );
	background: -webkit-linear-gradient(top,
		rgba(255, 255, 255, 1) 0%,
		rgba(255, 255, 255, 0) 15%,
		rgba(0, 0, 0, 0) 85% ,
		rgba(0, 0, 0, 0.2) 100% );
	background: linear-gradient(top,
		rgba(255, 255, 255, 1) 0%,
		rgba(255, 255, 255, 0) 15%,
		rgba(0, 0, 0, 0) 85% ,
		rgba(0, 0, 0, 0.2) 100% );
}

nav a:hover:before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left:0;
	top:0;
	background: rgba(255, 255, 212, 0.4);
}
article li a:hover {
	background: rgba(34, 68, 170, 1);
	color:#ffffff;
}

#canvas {
	position:relative;
	display: none;
	margin:auto;
	left:0;right:0;
	max-width:800px;
	max-height:500px;
	-webkit-tap-highlight-color: transparent;
}

#pre {
	position: relative;
	display: block;
	margin: auto;
	max-width:800px;
	max-height:500px;
	padding-top: 62.5%;
	background:no-repeat center url(img/preload.gif);
}

article + img {
	display: none;
}

.back {
	text-align: right;
}
.back a {
	display: inline-block;
	width: auto;
	padding:1em;
	color: #2244aa;
	font-size: 1rem;
	font-weight: bold;
	text-decoration: underline;
	border: solid 1px #2244aa;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.back a:hover {
	text-decoration: none;
}


@media screen and (max-width: 700px) {

nav ul {
	flex-direction: column;
}
nav ul li {
	width: 100%;
	text-align: center;
	border-bottom: 0px;
}
nav ul:last-child {
	border-bottom: 1px solid #6666cc;
}
nav li span {
	display: inline;
	font-size:0.8em;
	position: relative;
	top:0;
}
nav li a {
	padding: 0.75em;
}
nav li,
nav li a:after,
nav li a:hover:before{
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

}

/* 201707追記 animateCC更新対応 */
#animation_container {
	position:absolute;
	margin:auto;
	left:0;right:0;
	top:0;bottom:0;
}
#dom_overlay_container {
	pointer-events:none;
	overflow:hidden;
	width:auto;
	height:auto;
	position:absolute;
	left: 0px;
	top: 0px;
	display:block;
}

/* 202007追記 時間掲載 */
article li.att{
	font-size: 1.5em;
	font-weight: normal;
	text-align: center;
}
article li a {
	width: 90%;
	display:inline-block;
	vertical-align: middle;
}
article li div {
	box-sizing: border-box;
	width: 10%;
	display:inline-block;
	font-size:0.6em;
	font-weight:normal;
	padding-left:1em;
}
@media screen and (max-width: 700px) {
article li a {
	width: 80%;
}
article li div {
	width: 20%;
}

}
