body{
	max-width: 100%;
	height: 100%;
	font-family: 'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,sans-serif;
}

header {
	width: 310px;
	height: 42px;
	padding: 0;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15px;
	background-color: forestgreen;
	color: white;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom: solid 5px lightgray;
	border-left: solid 5px lightgray;
	border-right: solid 5px lightgray;
}

header.sample {
	height: 84px;
}

header.shakai {
	background-color: goldenrod;
}

header.sugaku {
	background-color: dodgerblue;
}

header.rika {
	background-color: coral;
}

header.eigo {
	background-color: crimson;
}

header.mix {
	background-color: purple;
}

h1{
	font-size: 24px;
	line-height: 45px;
	margin: 0;
	padding: 0;
	text-align: center;
}

	@media screen and (max-width: 736px) {

		h1 {
			font-size: 21px;
		}
	}

	@media screen and (max-width: 400px) {

		h1 {
			font-size: 18px;
		}

	}

#sample{
    width: 180px;
    height: 32px;
    font-size: 18px;
    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{
	width: 320px;
	margin-left: auto;
	margin-right: auto;
	/*border: solid thin blue;*/
}

button.category_name{
	width: 320px;
	height: ;
	border: solid 2px indianred;
	color: indianred;
	padding: 5px 0;
	background-color: seashell;
	text-align: center;
	font-size: 20px;
	font-weight: bolder;
	margin-bottom: 5px;
	margin-left: auto;
	margin-right: auto;
	z-index: 5000;
	cursor: pointer;
}

button.category_name:hover{
	background-color: cornflowerblue;
	color: seashell;
	opacity: 0.8;
}

.category_name.kokugo{
	text-align: left;
	padding: 5px 0 5px 20px;
}

.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;
}

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:hover{
	background-color: cornflowerblue;
	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;
}

span.title{
	font-size: 16px;
	font-weight: bolder;
	margin-left: 5px;
}

div.pages{
	float: right;
	font-size: 14px;
}

p{
	width: 340px;
	text-align: left;
	margin: 0;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	color: midnightblue;
	text-align: center;
	font-weight: bolder;
	text-decoration-line: underline;
}

#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;
}

