@charset "UTF-8";

html{
     	background-color:#eee;
      margin:0px;
	padding:0px;
	font-family: "BIZ UDPGothic",Meiryo,"Hiragino Sans",sans-serif;
}

body {
	text-align: left;
	margin:0;
	padding: 0;
	width:100%;
	background-color:#fff;

}

div.header{
	position: fixed ;
	top:1em;
	left:1em;
	color: blue;
	background-color:#fff;
	text-align:left;
	margin:0 ;
	font-size:13pt;
	border:0px solid #ff88e0;
}


h1{  

	color: #000;
	padding:0.5em 1em;
	background-color:white;
	text-align:center;
	margin:0 0 0 5em;
	font-size:16pt;
	text-shadow:3px 3px 3px #C9C9F8;
	word-break:keep-all;
}

article{
	text-align:center;
	padding-top:1em;
	background-color:#cdd;
}


.box{
	position:relative;
	width:300px;
	display: inline-block;
	border: 6px solid #aaf;
	margin: 0 20px 20px 0;
	padding-bottom: 2em;
	background-color: #fff ;
	vertical-align: top;
	line-height:100%;
}
.bix:hover{
	border-color:#08f;
	box-shadow:0 0 16px #0ff;
}


.box img{
	width:240px;
}

.動画{
	display:inline-block;
	border:2px solid #ddd;

}
.動画:hover{
	border-color:#08f;
	box-shadow:0 0 16px #0ff;
}
.動画:after{
	content: '';
	position:absolute;
	top:55px;
	left:calc(50% - 35px);
	display:flex;
	justify-content: center;
	align-items: center;
    background-image: url('youtube.webp');
	width:80px;
	height:80px;
    	display:  inline-block;	
 	background-size: contain;
	vertical-align: middle;
	opacity:0;
	border-radius:1em;

}
.動画:hover::after{
	opacity:1;
}

h2{
	font-size:16pt;
	margin-top:0.2em;
	margin-bottom:0.2em;
}
.時刻{
	position:absolute;
	bottom:0.5em;
	left:1.7em;
	font-size:12pt;
	color:green;
}

.参照{
	position:absolute;
	right:1.7em;
	bottom:0.5em;
	font-size:12pt;
	color:blue;
	text-decoration: underline;
	opacity:0.3;
}
.参照:hover{
	opacity:1;
}


a {
	color: #00A; 
	text-decoration:none ; 
 }

footer{

}

#戻る{
	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.3;
	font-family:"HG明朝E",游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",serif;
}

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