@charset "UTF-8";
html{
     	background-color:#ddd;
      margin:0px;
	padding:0px;
	font-family: "BIZ UDPGothic",Meiryo,"Hiragino Sans",sans-serif;
}
body {
	text-align: left;
	margin:0;
	padding: 0;
	width:100%;

}

header{
	position:relative;
}
header img{
	width:100%;
}
header nav{
	text-align:center;
	margin-bottom:1em;
}
header nav a{
	font-size:20pt;
	padding:0.5em 1em;
	width:3.5em;
	border:2px solid gray;
	text-align:center;
	border-radius:0.3em;
	background-color:white;
	line-height:200%;
	word-break:keep-all;
}
header nav a:hover{
	background-color:#fef;
	border-color:#f0f;
}
h1{
	position:relative;
	top: 0;
	text-align:center;
	width:100%;
	color:#0f4;
	text-shadow:2px 2px 2px #00f;
	font-size:min(30pt,5vw);
	word-break:keep-all;
}
h2{
	margin-left:1em;
	color:#080;
}
h3{
	margin:0 0 0 1.5em;
	color:#048;
}

main{
	background-color:white;
	width:100%;
	margin:0 auto;

}


article{
	text-align:center;
	width:100%;
	font-size:110%;
	line-height: 200%;
	background-color:#ddd;

}

section{
	vertical-align:top;
	display:inline-block;
	max-width:480px;
	width:100%;
	background-color: #fff;
	box-shadow: 0 0 8px 2px #bbb;
	text-align:left;
	margin: 0.5em 0.5em;
}
section a{
	width:100%;
}

section a:hover{
	border-color:red;
	text-shadow:3px 3px 3px #C9C9F8;
	color:red;
}
figure{
	margin:0;
}
figcaption{
	color:#a00;
	text-align:center;
	line-height:120%;
	margin:0;
}
#s5 figcaption{
	margin-bottom:1em;
}

section img{
	margin:0;
	padding:0;
	max-width:1300px;	
	width:100%;
}

.w50{
	width:45%;
	float:right;
	margin:2.5% 2.5% 0 2.5%;
}
.w30{
	width:25%;
	float:right;
	margin:2.5%;
}

section a img:hover{
	box-shadow: 0 0 8px 2px #00f;
}
p {
	font-family:"BIZ UDPGothic", Meiryo,sans-serif;
 	text-indent: 1em;
	text-align: left;
	margin: 0.5em 1em 0.5em 1em;
}

p.質問{
	color:#f00;
}
#先頭へ{
	position:fixed;
	top:0.1em;
	right:0.1em;	
}

#戻る{
	position:fixed;
	top:0.1em;
	left:0.1em;
}
#戻る, #先頭へ{
	font-size:20pt;
	padding:0.2em;
	width:3.5em;
	border:2px solid gray;
	text-align:center;
	border-radius:0.5em;
	opacity:0.2;
	font-family:"HG明朝E",游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",serif;
	text-decoration:none;
	color:blue;
}

#先頭へ:hover ,#戻る:hover{
	opacity:1;
	color:red;
	border-color:red;
	background-color:white;
	text-shadow:3px 3px 3px #C9C9F8;
}

u{
	padding:4px 4px;
	margin:8px 0;
	cursor:context-menu;
	text-decoration: #f00 wavy underline;
	background-color:#fffaff;
	box-shadow:0 0 4px 4px #fffff0;
}

u:hover{
	color:red;
	text-shadow:3px 3px 3px #C9C9F8;
	box-shadow:0 0 4px 4px #ffe;
}

.矢印{
	position:absolute;
	display:none;
	background-image:url("cursor.svg");
 	background-size: contain;
	width:100px;
	height:100px;
	margin-top:-50px;
	margin-left:-50px;
}


.図枠 {
    position: relative;
    display: inline-block;
	line-height:0;
}

.図枠 img{
	width:100%;
	max-width:720px;
}

#動く矢印1{
	animation-name:key作用点まで;
	animation-duration: 0.5s;
	animation-fill-mode:forwards;
	animation-iteration-count:1;
	animation-timing-function:linear;
}
#動く矢印2{
	animation-name:key力点まで;
	animation-duration: 0.5s;
	animation-fill-mode:forwards;
	animation-iteration-count: 1;
	animation-timing-function:linear;
}

@keyframes key作用点まで{
	  0%   {left:53.9%; top:80.6%; rotate:300deg;}
	100% {left:51.0%; top:93.5%; rotate:300deg;}
}

@keyframes key力点まで{
	  0%  {left:53.9%; top:80.6%;	rotate:120deg;}
	100%{left:74.2%; top:15.0%; rotate:120deg;}
}

