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.shakai {
	background-color: goldenrod;
}

header.sugaku {
	background-color: dodgerblue;
}

header.rika {
	background-color: coral;
}

header.eigo {
	background-color: crimson;
}

header.mix {
	background-color: purple;
}

header.sample{
	background-color:cornflowerblue;
	max-width: 800px;
	border-radius: 10px;
	border: solid 5px lightgray;
}

header.sampleconts{
	background-color:orangered;
	max-width: 400px;
	margin-top: 50px;
}


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;
		}

	}
h1.rakuraku{
	color:darkblue;
}

h1.sikkari{
	color:darkorange;
}

#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: 100%;
	margin: 0;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	color: midnightblue;
	text-align: center;
	font-weight: bolder;
	text-decoration-line: underline;
}

p.rakuraku{
	text-align:left;
	font-weight:normal;
	text-decoration-line: none;
	color: darkblue
}

p.sikkari{
	text-align:left;
	font-weight:normal;
	text-decoration-line: none;
	color: black
}

.kome{
	color:red;
	font-weight: bold;
}


p.sample{
	font-weight:normal;
	text-decoration-line: none;
	color:black;
}

p.chui{
	font-size:10pt;
	font-weight:normal;
	text-decoration-line: none;
	color:black;
}

#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;
}

aside{
	width: 340px;
	text-align: left;
	margin: 0;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	color: midnightblue;
	text-align: center;
	font-weight: bolder;
}

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

article.sikkari.mode{
	/* flex-basis: 250px;
	flex-grow: 1;
	flex-shrink: 5; */
	background-color: lemonchiffon;
	border-radius: 10px;
	margin-left: 10px;
	}
  
  #pr_douga{
	  min-height:350px;
	   }

button.pr_link{
	font-size: 15pt;
	color: white;
	background-color:darkorange;
	border-color:lightgoldenrodyellow;
	border-radius: 5px;
	min-width: 250px;
	margin: 10px;
	padding: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
}

a.gakusapoabimg{
	text-align: center;
	margin : 0 auto;
	max-width: 500px;
}

.gakusapoabimg img{
 display: block;
 width: 80%;
 margin-left: auto;
 margin-right: auto;
}

a.sgimg{
	text-align: center;
	margin : 0 auto;
	max-width: 650px;
}

.sgimg img{
 display: block;
 width: 100%;
 margin-left: auto;
 margin-right: auto;
 image-rendering: -webkit-optimize-contrast;
}

ul.sample li{
	padding-top: 20px;
	padding-bottom: 10px;
}

img.fukidasi{
	vertical-align: 20px;
	float: right;
	image-rendering: -webkit-optimize-contrast;
}

img.grayfilter{
	filter:grayscale(100%);
}