body{
	max-width: 100%;
	height: 100%;
	font-family: 'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,sans-serif;
	background-color: rgb(245, 245, 245);
}

header{
	max-width: 100%;
	padding: 0;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15px;
	background-color: rgb(226, 255, 248);
	color: darkslategray;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom: solid 5px lightblue;
	border-left: solid 5px lightblue;
	border-right: solid 5px lightblue;
	height: 80px;
	min-width: 320px;
	position: relative;
	/*background: url(../images/test_top-topimg-bg.png) center / cover;*/
}

header.kokugo{
	background-color: rgb(226, 255, 226);
	color: darkslategray;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom: solid 5px lightgreen;
	border-left: solid 5px lightgreen;
	border-right: solid 5px lightgreen;

}

header.shakai{
	background-color: lemonchiffon;
	color: darkslategray;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom: solid 5px khaki;
	border-left: solid 5px khaki;
	border-right: solid 5px khaki;

}

header.sugaku{
	background-color: rgb(226, 255, 255);
	color: darkslategray;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom: solid 5px lightskyblue;
	border-left: solid 5px lightskyblue;
	border-right: solid 5px lightskyblue;

}

header.rika{
	background-color: rgb(255, 238, 216);
	color: darkslategray;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom: solid 5px orange;
	border-left: solid 5px orange;
	border-right: solid 5px orange;

}

header.eigo{
	background-color: #fde5e5;
	color: darkslategray;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom: solid 5px firebrick;
	border-left: solid 5px firebrick;
	border-right: solid 5px firebrick;

}

/* header.wonspo::after{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,.1) radial-gradient(rgba(0,0,0,.1) 25%, transparent 0) center / 5px 5px;
} */

h1{
	font-size: 1.5em;
	line-height: 25px;
	margin: 0;
	padding: 0;
	text-align: center;
	position: relative;
	top:50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 1;
}

#sample{
    width: 180px;
    height: 32px;
    font-size: 20px;
    line-height: 34px;
    font-weight: bolder;
    border: solid 2px indianred;
    border-radius: 20px;

    color: indianred;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    text-align: center;
}

article{
	max-width: 100%;
	height: auto;
	/*border: solid thin red;*/
}

ul{
	width: 300px;
	margin-left: auto;
	margin-right: auto;
	font-size: 16px;
	/*border: solid thin blue;*/
}

li.chu{
	list-style: none;
	color: crimson;
	margin-left: -0.4em;
	text-indent: -1em;
}

section{
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	background-color: #FFF;
	/*border: solid thin blue;*/
}

button.category_name.base{
	width: 227px;
	height: ;
	border: solid 2px rgba(30, 162, 250, 0.76);
	color: darkslategray;
	padding: 5px 0;
	background-color: rgba(253, 253, 253, 0.849);
	text-align: center;
	font-size: 20px;
	font-weight: bolder;
	margin-bottom: 5px;
	margin-left: auto;
	margin-right: 5px;
	z-index: 5000;
	cursor: pointer;
}

button.category_name.base:hover {
	background-color:rgb(177, 228, 248); /* 背景色 */
  }

button.category_name.manual{
	max-width: 500px;
	height: ;
	border: solid 2px rgba(250, 103, 35, 0.692);
	color: darkslategray;
	padding: 5px 0;
	background-color: rgb(255, 212, 195);
	text-align: center;
	font-size: 20px;
	font-weight: bolder;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	z-index: 5000;
	cursor: pointer;
}

button.category_name.manual:hover {
	background-color:rgb(248, 180, 153); /* 背景色 */
  }

button.category_name{
	width: 500px;
	height: ;
	color: darkslategray;
	padding: 5px 0;
	text-align: center;
	font-size: 20px;
	font-weight: bolder;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: 5px;
	z-index: 5000;
	cursor: pointer;
}

button.category_name.kokugo{
	border: solid 2px green;
	background-color: rgba(253, 253, 253, 0.849);
}

button.category_name.kokugo:hover {
	background-color:rgb(209, 253, 196); /* 背景色 */
  }

button.category_name.douga{
	border: solid 2px goldenrod;
	background-color: rgba(253, 253, 253, 0.849);
}

button.category_name.douga:hover {
	background-color:lemonchiffon; /* 背景色 */
  }

  button.category_name.drill{
	border: solid 2px navy;
	background-color: rgba(253, 253, 253, 0.849);
}

button.category_name.drill:hover {
	background-color:rgb(226, 255, 255); /* 背景色 */
  }

button.category_name.tebiki{
	border: solid 2px rgb(250, 133, 87);
	background-color: rgba(253, 253, 253, 0.849);
}

button.category_name.tebiki:hover {
	background-color:rgb(255, 243, 226); /* 背景色 */
  }

button.category_name.simu {
	border: solid 2px green;
	background-color: rgba(253, 253, 253, 0.849);
}

button.category_name.simu:hover {
	background-color:rgb(255, 243, 226); /* 背景色 */
  }

button.category_name.eigo{
	border: solid 2px crimson;
	background-color: rgba(253, 253, 253, 0.849);
}

button.category_name.eigo:hover {
	background-color:rgb(255, 226, 226); /* 背景色 */
  }

.category_name.flag{
	border: solid 2px cornflowerblue;
	background-color: cornflowerblue;
	color: white;
}

.category_name.dis{
	opacity: 0.6;
}

section.category{
	display: none;
	margin-bottom: 30px;
	animation: fade 1s 0s forwards;
}

@keyframes fade{
	0%{opacity: 0}
	100{opacity: 1}
}

.unit_set{
	margin-top: 20px;
}

.unit_set{
	display: ;
}

.u_no{
	display: inline-block;
	font-size: 16px;
	text-align: center;
	font-weight: bolder;
	margin-right: 7px;
	border: none;
	border-radius: 20px;
	background-color: forestgreen;
	color: white;
	padding: ;
	width: 26px;
	height: 26px;
	line-height: 26px;
}

.u_no.str{
	width: 50px;
}

.unit{
	/*display: inline-block;*/
	font-size: 18px;
	font-weight: bolder;
	opacity: 0.8;
}

span.list-title{
	font-size: 15px;
	border: solid 1px cornflowerblue;
}

span.list-letter{
	font-size: 14px;
	/*margin-left: 2px;*/
}

button.viewBtn {
	width: 320px;
	height: 60px;
	font-size: 16px;
	line-height: 25px;
	text-align: left;
	margin: 5px 0 5px 0;
	border: none;
	border-bottom-right-radius: 8px;
	background-color: lightcyan;
	box-shadow: 2px 1px gray;
	cursor: pointer;
}

button.viewBtn.orange {
	width: 320px;
	height: 60px;
	font-size: 16px;
	line-height: 25px;
	text-align: left;
	margin: 5px 0 5px 0;
	border: none;
	border-bottom-right-radius: 8px;
	background-color: peachpuff;
	box-shadow: 2px 1px gray;
	cursor: pointer;
}

button.viewBtn:hover {
	background-color: cornflowerblue;
	color: white;
	opacity: 0.8;
}

button.viewBtn.orange:hover {
	background-color: chocolate;
	color: white;
	opacity: 0.8;
}

span.no{
	display: inline-block;
	font-size: 14px;
	font-weight: bolder;
	text-align: center;
	border: none;
	border-radius: 3px;
	line-height: 20px;
	width: 20px;
	height: 20px;
	padding: ;
	margin-left: 5px;
	margin-right: ;
	background-color: royalblue;
	color: white;
}

span.no.shakai{
	background-color: chocolate;
}

span.no.sugaku{
	background-color: darkcyan;
	width: 36px;
}

span.title{
	font-size: 16px;
	font-weight: bolder;
	margin-left: 5px;
}

div.pages{
	float: right;
	font-size: 14px;
}

p.top{
	width: 320px;
	padding: 3px;
	margin: 0;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	color: midnightblue;
	text-align: center;
	font-weight: bolder;
	border-style:solid;
	border-radius: 10px;
}

p.sample{
	width: 320px;
	padding: 3px;
	margin: 0;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	color: midnightblue;
	text-align: left;
	font-weight: bolder;
	border-style:solid;
	border-radius: 10px;
}

aside.chu{
	max-width: 600px;
	padding: 0 10px 0;
	text-align: center;
	margin: 0;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	color:darkred;
	font-weight: bolder;
	border-style:solid;
	border-radius: 10px;
}


#modal{
    display: none;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
	z-index: 7000;
    animation: fade 0.5s 0s forwards;
}

@keyframes fade {
	0%{opacity: 0;}
	100%{opacity: 1}
}

#modalMask{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 6000;
    opacity: ;
}

#modalContent{
    position: relative;
    width: 100%;
	height: 100%;
	z-index: 9000;
}

iframe{
	width: 100%;
	height: 100%;
}

#modalShut{
	position: absolute;
    z-index: 9999;
	margin-top: 15px;
	margin-left: 15px;
}

div.videoframe{
	width: 320px;
	height: 240px;
	margin-left: auto;
	margin-right: auto;
}

h1.top{
	font-size: 1.5em;
}

button.top{
	/* ブラウザ特有のスタイルを無効に */
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	margin: 0; /* 前後の隙間 */
	padding: 10px; /* 塗りの余白 */
	font-size: 30px; /* フォントサイズ */
	background-color:royalblue; /* 背景色 */
	color: #FFF; /* テキストカラー */
	cursor: pointer; /* カーソルを指マークに */
	border-radius: 4px; /* 角の丸み */
	border: 0; /* 枠線を消す */
	min-width: 320px;
	text-align: left;
  }
  
  /* ホバー時（カーソルをのせた時）の見た目 */
  button.top:hover {
	background-color:skyblue; /* 背景色 */
  }

button.gray{
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	margin: 0; /* 前後の隙間 */
	padding: 10px; /* 塗りの余白 */
	font-size: 30px; /* フォントサイズ */
	background-color:gray; /* 背景色 */
	color: #FFF; /* テキストカラー */
	border-radius: 4px; /* 角の丸み */
	border: 0; /* 枠線を消す */
	min-width: 320px;
	text-align: left;
}

img.pict{
	vertical-align: middle; 
}

img.gray{
	vertical-align: middle; 
	filter: grayscale(100%);
}

section.kyougi.box{
	display: flex;
	flex-wrap: wrap;
	width: auto;
	max-width: 690px;
	padding:10px 5px 10px 5px;
	text-align: center;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
  }
  
article.kyougi{
	flex-basis: 200px;
	flex-grow: 1;
	flex-shrink: 5;
/*	background-color: lightcyan;
	border-radius: 10px; */
	margin: 20px 10px;
	}