@charset "utf-8";


/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-family: 'Avenir Next','Avenir','Helvetica Neue','Helvetica','Hiragino Sans','ヒラギノ角ゴシック','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic', sans-serif;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	position: relative;
	max-width:1200px;
	margin:0 auto;
	letter-spacing: 0.05em;
	font-feature-settings: "palt";
}
.clear {
    clear: both;
}
.clearfix {
    zoom: 100%;
}
.clearfix:after {
    content: "";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
}
p {
	font-size: 16px;
	line-height: 1.6em;
}
ul{
	list-style-type: none;
}
img {
	border: none;
}
input,textarea,select {
	font-size: 1em;
}
form {
	margin: 0px;
}
table {
	border-collapse:collapse;
	font-size: 100%;
	border-spacing: 0;
}
strong {
	font-weight: normal ;
}
section{
	margin-bottom: 20px;
}

a {
	color: #333;
	text-decoration: none;
}
a:hover {
	color: #142ff6;
	text-decoration: none;
}
li a:hover {
	color: #142ff6;
	text-decoration: none;
}
h1 {
	margin: 0 auto;
	padding: 0px 20px 0px 20px;	
	font-size: 14px;
	font-weight: normal;	
	line-height: 20px;
}
#container {
	width: calc(100% - 200px);
	float: left;
	max-width: 1000px;
	margin: 5px auto 0;
	padding: 0px 5px 20px 5px;	
	background-color: #FFF;	
}

header {
	/*position:fixed;*/
	width: 100%;
	/*border-top: 2px solid #666;*/
	background:#FFF;
	top:0;
	left:0;
	z-index:100; 
}
.header_inner {
	padding-top: 10px;
	width: 100%;
	/*max-width: 940px;*/
	position: relative;
	margin: 0 auto;
}
.header_logo{
	float: left;
}
.header_logo img{
	float: left;
	width: 110px;
	margin-left: 5px;
}
.header_logo h1{
	float: left;
	width: initial;
	padding: 0px 0px 0px 20px;	
}
header .hedder_list{
	float: right;
	margin-top: 5px;
}
header .hedder_list li{
	display: inline-block;
	margin:2px;
	padding: 6px 10px 4px;
	line-height: 1;
	color: #FFF;
	font-size: 20px;
	background: #009;
	border-radius: 5px;
}
header .hedder_list li a{
	color: #FFF;
}

/*ロゴ画像*/
.logo img {
	position: absolute;
	z-index: 3;
	left: 6%;
	top: 17%;
	width: 21%;
	height: auto;
}

#topimg {
	width: 100%;
	max-width: 940px;
	margin: 20px 0px;
}
topimg ul {
	width: 100%;
	height: 250px;
}


/*--------------------------------------------------------------------------
メニュー
--------------------------------------------------------------------------*/


.pcmenu{
	width: 194px;
	float:left;
	margin: 5px 3px 50px;
}
.pcmenu ul{
				width: 100%;
				border-bottom:1px solid #AAA;
}
.pcmenu li{
				width: 100%;
				padding: 10px 0;
				border-top:1px solid #AAA;
}
.pcmenu li:first-child{
				border-top:none;
}
.pcmenu .menu-title{
	background: #009;
	color: #FFF;
	font-size: 20px;
	letter-spacing: 4px;
	font-weight: bold;
	text-align: center;
}
.pcmenu li a{
				font-size: 16px;
				font-weight: 600;
}


.spmenu_block{
	display: none;
	background: #AAA;
	position:fixed;
	bottom:0;
	right:0;
	width: 100%;
	height: 50px;
	z-index: 1000;
}
.spmenu_btn {
	position:absolute;
	bottom:20px;
	right:15px;
	width:30px;
	height:22px;
	background:#FFF;
	border-top:10px solid #AAA;
	border-bottom:10px solid #AAA;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	-moz-transition:all .5s;
	-webkit-transition:all .5s;
	transition:all .5s;
	cursor: pointer;
}
.spmenu_btn:before {
	content:'';
	position:absolute;
	width:30px;
	height:2px;
	background:#FFF;
	top:-9px;
	right:0;
	-moz-transition:all .5s;
	-webkit-transition:all .5s;
	transition:all .5s;
}
.spmenu_btn:after {
	content:'';
	position:absolute;
	width:30px;
	height:2px;
	background:#FFF;
	bottom:-9px;
	right:0;
	-moz-transition:all .5s;
	-webkit-transition:all .5s;
	transition:all .5s;
}
.spmenu_btn.active {
	background:#FFF;
}
.spmenu_btn.active:before {
	-moz-transform:rotate(-135deg);
	-webkit-transform:rotate(-135deg);
	transform:rotate(-135deg);
	top:0;
	right:0;
}
.spmenu_btn.active:after {
	-moz-transform:rotate(135deg);
	-webkit-transform:rotate(135deg);
	transform:rotate(135deg);
	bottom:0;
	right:0;
}
.spmenu_text:after {
	content:'MENU';
	font-size: 10px;
	line-height:10px;
	font-weight: bold;
	text-align: center;
	color: #FFF;
	position:absolute;
	bottom: 5px;
	right: 14px;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	-moz-transition:all .5s;
	-webkit-transition:all .5s;
	transition:all .5s;
}
.spmenu_text.active:after {
	content:'CLOSE';
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	-moz-transition:all .5s;
	-webkit-transition:all .5s;
	transition:all .5s;
}
.spmenu {
	display: none;
}

nav {
	display:block;
	width:100%;
	margin:0 auto;
}

.spmenu h5 {
	margin: 0 auto;
	width: 100%;
	background-color: #999;	
	font-size: 120%;
	color: #fff;
	text-align: center;	
}
.spmenu ul li {
	width: 25%;
	position: relative;
}
.spmenu ul li a {
	text-decoration: none;
	text-align: left;	
	display: block;
	font-size: 95%;
	background-color: #fff;	
	border-bottom: 1px dotted #999;
	margin: 0 auto;
	width: 99%;
	box-sizing: border-box;
	padding: 5px 0px 5px 30px;
	-webkit-transition: 0.5s;
	transition: 0.5s;
}
.spmenu ul li a:hover {
	background-color: #dbdfff;
	}
/*最後のメニューの設定*/
.spmenu ul{
	margin-bottom: 1px;
}
.btn-arrow{
position: absolute;
top:  5px;
left:  0px;
filter: alpha(opacity=0);
-moz-opacity: 0;
opacity: 0;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
li:hover .btn-arrow {
	left: 20px;
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
	}

/*メインコンテンツ
---------------------------------------------------------------------------*/
#main {
	width: 100%;
	float: right;	
	padding: 0 0 10px 10px;
	position:relative;
}
#main h1 {
	font-size: 3.5rem;
	line-height: 3.8rem;
	font-weight: bold;
	width: 100%;
	padding: 0 2%;
	clear: both;
	color: #FFF;
	margin: 0;
	position: absolute;
	top: 16px;
	left: 0;
	-webkit-filter:drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
  -moz-filter:drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
  -ms-filter:drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
  filter:drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
}
#main h2 {
	background-color: #FFF;	
	font-size: 1.4rem;
	font-weight: bold;
	padding-left: 5px;
	clear: both;
	color: #555;	/*文字色*/
	border-left: 5px solid #00BBFF;	
	margin-top: 5px;
	margin-bottom:5px;
}
#main h3 {
	background-color: #FFF;	
	font-size: 2rem;
	line-height: 2.2rem;
	clear: both;
	color: #333;	/*文字色*/
	border-bottom: 1px solid #8c8c8c;	
	margin:10px 0;
}
#main h4 {
	font-size: 1.4rem;
	padding: 5px 10px 10px 5px;
	line-height: 1.4em;
	font-weight: bold;
	color: #333;
}
#main h5 {
	display: inline-block;
	font-size: 1.2rem;
	line-height: 1.2em;
	font-weight: bold;
	color: #333;
	margin:10px 0;
	border-left: 1.4rem solid  #0062ac;
	border-bottom: 1px solid  #0062ac;
}
#main h6 {
	font-size: 1rem;
	line-height: 1.4em;
	font-weight: bold;
}
#main p {
	padding: 0 0 1em;
	letter-spacing: 0.1em;
}
#main img {
	width:100%;	
}



/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	background-color: #666;
	color: #fff;
	padding-top: 15px;
	padding-bottom: 15px;
}
.footer_inner{
	width :100%;
	max-width: 960px;
	padding : 0 10px;
	margin: 0 auto;
	box-sizing: border-box;
}
footer p, small {
	color: #FFF;
	font-size: 14px;
	float: left;
}
footer a {
	color: #FFF;
}
footer a:hover{
	color: #AAA;
}

/*テーブル-*/
.ta1 {
	width: 660px;
	margin: 0px auto;
}
.ta1, .ta1 td, .ta1 th{
	border: 1px solid #CCC;	/*テーブルの枠線の幅、線種、色*/
	line-height: 2;
}
/*テーブル内の右側*/
.ta1 td{
	padding: 10px;
}
/*テーブル内の左側*/
.ta1 th{
	width: 180px;
	padding: 10px;
	text-align: center;
	background-color: #ececed;	/*背景色*/
}
/*テーブル１行目に入った見出し部分*/
.ta1 th.tamidashi{
	width: auto;
	text-align: left;
	background-color: #e9ddae;	
	background-image: -webkit-gradient(linear, left top, left bottom, from(#efe6c5), to(#e9ddae));	
	background-image: -webkit-linear-gradient(#efe6c5, #e9ddae);
	background-image: linear-gradient(#efe6c5, #e9ddae);			/*同上*/
}

/*PAGE TOP設定---------*/
#pagetop {
	width: 100%;
	max-width: 930px;
	margin: 0 auto;
}
#pagetop a {
	color: #FFF;
	font-size: 16px;
	line-height: 20px;
	background-color: #666;
	text-decoration: none;
	text-align: center;	
	border-top: 1px solid #666;
	border-left: 1px solid #666;
	border-right: 1px solid #666;
	width: 100px;
	height: 50px;
	padding-top: 6px;
	box-sizing: border-box;	
	display: block;
	float: right;
	border-top-left-radius: 50px;
	border-top-right-radius: 50px;
}
/*マウスオン時*/
#pagetop a:hover {
	background-color: #EEE;	
	color: #666;
	border-top: 1px solid #EEE;
	border-left: 1px solid #EEE;
	border-right: 1px solid #EEE;
}

/*その他-------*/
.right{
	float: right;
	width: 75%;
}
.left{
	float: left;
	width: 15%;
}

/*終了試験-------*/
.link-block{
	margin-top: 30px;
	display:flex;
	justify-content: space-between;
}
.examination{
	display: inline-block;
	padding: 10px;
	background: #1fa9a7;
	color: #FFF;
	font-size: 24px;
}
.free_lesson_back{
	display: inline-block;
	padding: 10px;
	background: #b74486;
	color: #FFF;
	font-size: 24px;
}
.free_lesson_back:before{
	content: "\f0a8　";
	font-family: "Font Awesome 5 Free";
}
.examination:after {
	content: "　\f0a9";
	font-family: "Font Awesome 5 Free";
}


@media only screen and (max-width: 940px) {
	header .hedder_list{
	display: none;
	}
	.pcmenu{
	display: none;
	}
	.spmenu_block{
	display: block;
	}
	.spmenu {
	display: block;
	position:absolute;
	top:-1000px;
	left:0;
	/*opacity: 0.5;*/
	width:100%;
	background:#FFF;
	z-index: 100;
	-moz-transition:all 1s;
	-webkit-transition:all 1s;
	transition:all 1s;
	}
	.spmenu.active {
	opacity: 1;
	top:0;
	-moz-transition:all 1s;
	-webkit-transition:all 1s;
	transition:all 1s;
	position: fixed;
	z-index: 1000;
	}
	.spmenu{
	-moz-transition:all 1s;
	-webkit-transition:all 1s;
	transition:all 1s;
	}
	.spmenu ul li {
	width: 33.3%;
	}
	#container {
	width: 100%;
	}
	#main {
	padding: 0 10px 10px 10px;
	}
	footer{
	padding-bottom: 65px;
	}
	.spmenu_block .spmenu_block_list{
	/*float: left;*/
	}
	.spmenu_block .spmenu_block_list ul{
	font-size:0px;
	}
	.spmenu_block .spmenu_block_list li{
	display: inline-block;
	height: 100%;
	margin: 0;
	padding: 0;
	line-height: 50px;
	color: #FFF;
	font-size: 16px;
	background: #FFF;
	width: calc((100% - 60px) / 3);
	text-align: center;
	}
	.spmenu_block .spmenu_block_list li.bg-red{
	background:#B00;
	}
	.spmenu_block .spmenu_block_list li.bg-blue{
	background:#0AA;
	}
	.spmenu_block .spmenu_block_list li.bg-green{
	background:#080;
	}

	.spmenu_block .spmenu_block_list li a{
	color: #009;
	}	
}
@media only screen and (max-width: 640px) {
	p {
	font-size: 13px;
	line-height: 1.6em;
	}
	#main h1 {
	font-size: 1.7rem;
	line-height: 2rem;
	padding: 0 5%;
	top:5px;
	}
	.spmenu{
	top: -1000px;
	-moz-transition:all 1s;
	-webkit-transition:all 1s;
	transition:all 1s;
	}
	.spmenu ul li {
	width: 50%;
	}
	footer p {
	font-size: 12px;
	}
	.examination, .free_lesson_back{
	padding: 5px;
	font-size: 18px;
	}
}
@media only screen and (max-width: 480px) {
	.header_logo h1{
	/*display: none;*/
	padding: 0px 0px 0px 5px;	
	font-size: 13px;
	}
	.header_logo img{
	width:  90px;
	}
.list a{
	border-radius:  5px;
	margin: 0 1% 5px 0;
	}
	#main section.list article p{
	font-size: 12px;
	margin: 0px 2px 2px 2px;
	line-height: 1.3em;
	}
	#main section.list article img{
	margin-right: 5px;
	}
	#main section.list article h4{
		font-size: 90%;
		line-height: 1.7em;
		padding: 0;
	}
	.spmenu h5 {
	font-size: 100%;
	width: 90%;
	margin: 0 5%;
	}
	.spmenu ul li {
	width: 90%;
	margin: 3px 5%;
	}
	.spmenu ul li a {
	line-height: 1.1em;
	}
	img.btn{
		width: 100%;
	}

	.spmenu_block .spmenu_block_list li{
	/*font-size: 12px;*/
	}
	#pagetop a {
	font-size: 12px;
	line-height: 14px;
	background-color: #666;
	text-decoration: none;
	text-align: center;
	width: 60px;
	height: 30px;
	padding-top: 2px;		
	display: block;
	float: right;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	}
	.examination, .free_lesson_back{
	padding: 10px;
	font-size: 16px;
	}

}