/* Hamming bird English*/
@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c:400,700&subset=japanese');
@import url("font-awesome.min.css");


html{
	height: 100%;
}

/* 全体の設定 */

*{
	margin: 0; 
	padding: 0; 
	font: normal normal normal 100% 2em; 
	border: none; 
}



body{
	text-align: center; 
	height: 100%;
	background-color: #f0f0f0;
	font-style: normal; 
	/*font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "游ゴシック  Medium", ‘ヒラギノ角ゴシック’, ‘メイリオ’ ,sans-serif;*/
font-family: 'M PLUS Rounded 1c',‘ヒラギノ角ゴシック’, ‘メイリオ’ ,sans-serif;
	font-size: 110%;
	color: #000000; 
}



/* =====コンテナ===== */
#container {
	position: relative; 
	width: 90%;
	margin: 0 auto;  /* センタリングの胆 */
	text-align: left; 
	/*min-height: 100%; 内容が少ない時、高さ最高*/

}

body > #container {
height: auto;
}


@media screen and ( max-width:480px ){
	#container{
	width: 95%;
	}
}


/* =====ヘッダ===== */

#header {
display: table;
text-align: center;
width: 100%;
background-color: #f0f0f0;
font-size: 100%;
}


#header img{
height: 8em;
border: none; 
float: left; 
}

p.logo{
font-size: 100%;
}

/* MENU */
.menu {
display: table-cell;
vertical-align: middle;
background-color: #f0f0f0;
}

.menu a:link{
color: black; 
text-decoration: none;
}
.menu a:visited{
color: black;
}


.menu-table {
	display: table; 
	table-layout: fixed; 
	text-align: center;
	width: 100%;
	background-color: #f0f0f0;
	height: 4em; 
}

.menu-table li {
 display: table-cell;
 vertical-align: middle; 
  border-left: 1px solid pink;
}

/* 最初の左線を消す
.menu-table li:first-child {
 border-left: none;
}
*/
.menu-table li a {
  color: black;
  display: block;
  text-decoration: none;
  padding: 10px 0;
}


/* ★スマホだけに適用するCSS★ */
@media screen and ( max-width:479px ){
#header img{
width: 100%; 
height: auto;

}
	.menu{
		display: none;
		}
}



/* =====中央部===== */
#center {
width: 100%; 
height: auto;
line-height: 1.5em; 
background-color: #F0F0F0;
margin-top: 0em;
padding-bottom: 1em;
padding-top: 1em;
}


/* =====sub-box===== */
div.boxwrap{
background-color: none;
display: flex; /* Flex box--float 使わずに横並び*/
justify-content:center;　/*flex boxの水平位置指定*/
margin-top: 2em;
margin-bottom: 1em;
padding-top: 1.5em;
}

/* indexで使用*/
div.box_1,div.box_2,div.box_3{
width: calc(33.33333% - 4em);
margin: 0.5em; 
height: auto;
min-height: 13em;
font-size: 110%;
padding: 1em;/*上下　左右　*/
border-radius: 9px; /*角を丸くする*/
text-align: left; 
font-size: 110%;
box-shadow: 0 5px 8px #b4b4b4;/*左右（正＝右・負＝左）　上下（正＝下・負＝上）　ぼかし距離　ひろがり　色　内側*/
/*背景グラデーション上から下*/
/*
background: -moz-linear-gradient(top, #f8dcea, #FFFFFF);
background: -webkit-linear-gradient(top, #f8dcea, #FFFFFF);
background: linear-gradient(to bottom, #f8dcea, #FFFFFF);/*方向、始点の色、終点の色*/
}

div.box_1{
background-color: #fce3ec;
}

div.box_2{
background-color: #fcf1e3;
}

div.box_3{
background-color: #dcebf5;
}

p.notice1,.notice2,.notice3{
font-weight: bold;
font-size: 120%;
padding-bottom: 0.5em;
text-align: center;
}

p.notice1{
color: #fc7cac;}
p.notice2{
color: #fca139;}
p.notice3{
color: #4cb0f4;}


div.box_memo{
padding: 1em;
margin: 0 auto; /*上下　左右*/
background-color: #FFFFFF;
text-align: center;
width: 90%;
font-size: 100%;
}

div.box_news{
padding: 1.5em;
margin: 0 auto; /*上下　左右*/
text-align: center;
width: 30em;
font-size: 100%;
border: medium #81CA9F solid;

border-radius: 9px; /*角を丸くする*/
}



/* パソコンで見たときは"pc"のclassがついた画像が表示される */
img.border_pc { 
	display: block !important; 
	margin: 0 auto;}
img.border_sp { 
	display: none !important;
	margin: 0 auto; }
	

p.point2_pc{
display: block !important; 
font-size: 100%;
font-weight: bold;
margin-bottom: -1.5em;
}

p.point2_sp { 
	display: none !important;
	font-size: 100%;
	font-weight: bold;
	margin-bottom: -1.5em;
	text-align: center;
	 }

.info {
margin: 0.5em 0.5em; /*上下　左右*/
background-color: #FFFFFF;
text-align: center;
border-radius: 10px;
box-shadow: 0 5px 8px #b4b4b4;/*左右　上下　ぼかし　ひろがり　色　内側*/
}

.info img{
	width: 100%;
	border-radius: 10px;
	}
/*
p.top_pc{
	display: block !important; }
p.top_sp{
	display: none !important; }
*/

p.copy{
text-align: center;
font-weight: bold;
font-size: 200%;
color: #fc7cac;
padding-top: 1em;
line-height: 1.5em;
}


/* ★スマホ対応★ */
@media screen and ( max-width:750px )
{
	div.boxwrap{
	display: block;
	margin-bottom: 1em;
	text-align: center;
	}
	
	div.box_1,
	div.box_2,
	div.box_3{
	width: 80%;
	margin: 0 auto;
	margin-top: 1em;
	}
	
	div.box_memo{
	padding: 0.5em;
	margin: 0 auto; /*上下　左右*/
	background-color: #FFFFFF;
	text-align: left;
	width: 86%;
	font-size: 100%;
	}
/*
div.box img{
width: 100%;
margin-bottom: 1em;
}*/

	div.box_news{
	padding: 0.5em;
	width: 86%;
	font-size: 100%;
	}


}

@media screen and ( max-width: 750px )
{
/*
	p.top_pc { display: none !important; }
	p.top_sp { display: block !important; }*/
	
	img.border_pc { display: none !important; }
	img.border_sp { display: block !important; }
	/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */

	p.point2_pc { display: none !important; }
	p.point2_sp { display: block !important; }
	/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
	

}
/* ★スマホ対応終わり★ */




/*===Header===*/
h1{
font-size: 150%;
letter-spacing: 0.3em; 
text-align: center;
padding: 1em 0;
margin-bottom: 1em;
background-color: #fc7cac;/*pink*/
color: #FFFFFF;
text-decoration: bold;

}

h2{
font-size: 120%;
letter-spacing: 0.3em; 
background: #fc7cac;/*色*/
color: #FFFFFF;
padding: 0.5em;
margin: 0 auto;
width: 10em;
border-radius: 4px;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

/*mapで使用*/
h3{
font-size: 120%;
/*padding: 0.5em 1em;*/
/*bg imgの時*/
padding: 1em 1em;
text-decoration: none;
background: #f7f7f7;
background-size: cover;
border-left: solid 6px #fca139;/*左線*/
color: #fca139;/*文字色　オレンジ*/
font-weight: bold;
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
margin: 1.5em 0;
border-radius: 5px;
/*text-shadow: 2px 2px 4px rgba(0,0,0,0.5);*/

}


h4{
font-size: 120%;
padding: 0.5em 1em;
text-decoration: none;
background: #f7f7f7;
border-left: solid 6px #4cb0f4;/*左線*/
color: #4cb0f4;/*文字色 水色*/
font-weight: bold;
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
border-radius: 5px;
}



/* --- TOP　コース説明 で使用--- */
.midashi{
font-size: 180%;
letter-spacing: 0.3em; 
text-align: center;
padding: 1em 0;
color: black;
font-weight: bold;
}


/* コースの特徴 */
.box_cs{
margin: 0.5em 0.5em 1.5em 0.5em; /*［上］ と ［右］ と ［下］ と ［左］*/
background-color:  #f5f5f5;
border-radius: 5px;
padding-bottom: 1em;
}
/* コースの特徴　表示・非表示切り替え */
.hidden_box {
    margin: 2em 0;
    padding: 0;
}

/*ボタン装飾*/
.hidden_box label {
    padding: 15px;
    font-weight: bold;
    background: #e6e6e6;
    border-radius: 5px;
    cursor :pointer;
    transition: 0.5s;
}

/*アイコンを表示*/
.hidden_box label:before {
    display: inline-block;
    content: '\f054';
    font-family: 'FontAwesome';
    padding-right: 5px;
    transition: 0.2s;
}


/*ボタンホバー時*/
.hidden_box label:hover {
    background: silver;
}

/*アイコンを切り替え*/
.hidden_box input:checked ~ label:before {
     content: '\f078';
     -webkit-transform: rotate(360deg);
     transform: rotate(360deg);
     color: #668ad8;
}

/*チェックは見えなくする*/
.hidden_box input {
    display: none;
}

/*中身を非表示にしておく*/
.hidden_box .hidden_show {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}

/*クリックで中身表示*/
.hidden_box input:checked ~ .hidden_show {
    padding: 10px 0;
    height: auto;
    opacity: 1;
}


/*インデックスで使うボタン*/




/* ★スマホ対応★ */
@media screen and ( max-width:480px )
{
.midashi2{
text-align: left;
padding-left: 1em;
padding-right: 1em;
}


}


/* =====Container2===== */
#container2 {
background-color: #FFFFFF;
}

/* 箱を横ならびさせるラップ Top講師紹介 Course Mapで使用*/
div.boxwrap2{
width: 90%;
background-color: #FFFFFF;
margin: 0 auto;  /* センタリングの胆 */
display: -webkit-flex;
display: flex; /* Flex box--float 使わずに横並び*/
-webkit-justify-content: center;
justify-content:center;　/*flex boxの水平位置指定*/
}

div.box2{
min-width: 35%;
background-color: #FFFFFF;
margin: 0.5em; 
height: auto;
text-align: center;
padding: 1em;/*上　左右　下*/
}


div.box2 p{
text-align: left;
margin-top: 1em;
padding: 0.5em;
}

div.box2 img{
margin: 1em 0 1em;
max-width: 100%;
}
div.box2_m img{
margin: 1em 0 1em;
max-width: 100%;
}

/*箱を横ならびさせるラップ Top　ご挨拶で使用*/
div.box2_g{
width:100%;
height:auto;
background:url(../../img/sky_pc.jpg);/*画像ファイル名とパス*/
background-size:100%; 
background-repeat: no-repeat;
text-align: center;
margin: 0.5em; 
text-align: center;
padding: 1em;/*上　左右　下*/

}

div.box2_g p{
text-align: left;
margin-top: 1em;
padding: 0.5em;
}

/*　mapで使用　*/
div.box2_m{
background-color: #FFFFFF;
margin: 1em auto; 
height: auto;
text-align: left;
padding: 1em;/*上　左右　下*/
}

p.bo {/*Bold-orange*/
font-size: 110%;
color: #fca139;/*文字色　オレンジ*/
font-weight: bold;
}

p.ann {/*annotation*/
font-size: 95%;
}

/* ★スマホ対応★ */
@media screen and ( max-width:480px )
{

p.copy{
font-size: 150%;
}
	div.boxwrap2{
	display: block;
	margin-bottom: 1em;
	padding-bottom: 0.5em;
	}
	
	div.box2{
	width: calc(97% - 15px);
	}
	
	div.box2_g{
	width: calc(97% - 15px);
	background:url(../../img/sky_sp.jpg);/*画像ファイル名とパス*/
	background-size:100%; 
	background-repeat: no-repeat;
		}
	
	/* map */	
	div.box2_m{
	width: calc(95% - 15px);;
	}
}
/* ★スマホ対応終わり★ */


/* --methodで使用　横並びなし-- */
div.boxwrap3{
width: 90%;
background-color: #FFFFFF;
margin: 0 auto;  /* センタリングの胆 */
text-align: left;
padding-bottom: 3em;
}

/* メソッドで使用　横並びアクティビティボックス*/
div.activity{
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;/*親ボックスの端で折り返す*/
width: 90%;
background-color: #FFFFFF;
-webkit-justify-content: space-between;
justify-content: space-between;/*並列均等配置　左右隙間なし 親要素に適用*/
margin: 0 auto;
}

div.box-a{
  width : 33.33333% ; /* 未対応ブラウザ用フォールバック */
  width : -webkit-calc(33.3% - 10px);
  width : calc(33.3% - 10px);
  height: auto;
  background-color: #f0f0f0;
  text-align: center;
  margin: 1em 0.5em 0 0;
  border-radius: 5px; 
}

div.box_photo img{
max-width: 70%;
border-radius: 10px; 
margin: 0.5em 0;
}

div.box_comment{
background-color: #f0f0f0;
padding: 1em;
text-align: left;
  border-radius: 5px; 
}


div.m_photo{ /*method 内写真用*/
margin: 1em;
}

div.m_photo img{ /*method 内写真用*/
width: 30%;
}

/* Native Lesson用 */

div.n-l img{
margin: 1em 0;
width: 100%;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.nl_pc { display: block !important; }
.nl_sp { display: none !important; }


.nlbutton {
font-size: 120%;
/*padding: 0.5em 1em;*/
/*bg imgの時*/
padding: 1em 1em;
text-align: center;
text-decoration: none;
background: #f7f7f7;
background-size: cover;
border-left: solid 6px #fca139;/*左線*/
color: #fca139;/*文字色　オレンジ*/
font-weight: bold;
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
margin: 1.5em 0;
border-radius: 5px;
/*text-shadow: 2px 2px 4px rgba(0,0,0,0.5);*/
width: 20em;
}

/* ★スマホ対応★ */
@media screen and ( max-width:750px ){
.nlbutton{
font-size: 90%;
padding: 0.5em;
width: 90%;
}

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
    .nl_pc { display: none !important; }
    .nl_sp { display: block !important; }
}

}



/* ボタン */
.sc_btn {
    position: relative;
    display: inline-block;
    padding: 0.5em;
    text-decoration: none;
    color: #FFFFFF;
    background: #fd9535;/*背景色*/
    border-bottom: solid 2px #d27d00;/*少し濃い目の色に*/
    border-radius: 4px;/*角の丸み*/
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    line-height: 1.5em;
    font-size: 100%;
}

.sc_btn:hover {
    border-bottom: solid 2px #fd9535;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
    color: #FFFFFF;
}

.sc_btn a:link{
color: #FFFFFF;
}

/* method内で使用 font awsome */
	.icon {
		color: #f7e5ad;
	}

/* ★スマホ対応★ */
@media screen and ( max-width:480px ){

div.m_photo img{
width: 100%;
}

div.activity{
display: block;
margin-bottom: 1em;
padding-bottom: 0.5em;
	}
	
	div.box-a{
	width: 100%;
	}

p.center{
text-align: center;
}
	

}
/* ★スマホ対応終わり★ */

/* courseで使用 */
div.box4{
background-color: #FFFFFF;
margin: 0 0 1em; 
height: auto;
text-align: center;
padding: 1em;/*上　左右　下*/
width: calc(50% - 10px);
}

div.box4 p{
text-align: left;
margin-top: 1em;
padding: 0.5em;
}

div.box4 img{
min-width: 250px;
max-width: 100%;
margin-top: 1em;
}


p.point{
font-size: 110%;
font-weight: bold;
color: #4cb0f4;/*lightblue*/
margin-bottom: -1.5em;
}



.memo {
padding: 1em;
margin: 1em 0.5em; /*上下　左右*/
border-radius: 5px;
border: thick #4cb0f4 double;
box-shadow: 0 5px 8px #b4b4b4;/*左右　上下　ぼかし　ひろがり　色　内側*/}

.box5{
background-color: #FFFFFF;
margin: 0 auto; 
height: auto;
text-align: center;
padding: 1em;/*上　左右　下*/
width: calc(50% - 10px);
}

p.point2{
font-size: 110%;
font-weight: bold;
color: #4cb0f4;/*lightblue*/
padding: 1em;
}



/* ★スマホ対応★ */
@media screen and ( max-width:480px )
{
	div.box4{
	width: calc(95% - 15px);
	margin-top: -1em;
	background-color: #f0f0f0;
	border-radius: 5px;
	}

	div.box5{
	width: calc(95% - 15px);
	}


}
/* ★スマホ対応終わり★ */





/* ===FAQ　===

ul.faq{
margin-top: 3px; /* headerと離す 
font-size:12px;
padding: 1em 3em;
}

li.q{
list-style-image: url(../../img/q.gif);
padding-bottom: 2em;
}

li.a{
list-style-image: url(../../img/a.gif);
margin-left: 2em;
margin-bottom: 3em;
}
*/



/* =====フッタ===== */
#footer {
width: 100%; 
min-height: 50px;
/*height: 60px; 高さを決めたいとき*/
/*position: absolute;*/
/*bottom: 0;  中身が少ないとき*/
background-color: #f0f0f0; 
color: black; 
text-align: center;
padding-top: 1.5em; 

}

div.contact{
width: 90%;
background-color: #f0f0f0;
margin: 0 auto;  /* センタリングの胆 */
display: -webkit-flex;
display: flex; /* Flex box--float 使わずに横並び*/
-webkit-justify-content: space-between;
justify-content: space-between;/*並列均等配置　左右隙間なし*/
margin-bottom: 1em;
}

div.box3{
background-color: #f0f0f0;
margin: 0.5em; 
height: auto;
text-align: center;
padding: 1em;/*上　左右　下*/
}

div.box3 p{
text-align: left;
margin-top: 1em;
padding: 0.5em;
}

div.box3 img{
width: 200px;
}

div.box3 p.appeal{
border: 2px #b4b4b4 dotted;
border-radius: 5px;
padding: 2em;
text-align: center;
}

p.copyright{
padding-bottom: 1em;
color: #7c7c7c;
font-size: 90%;
}

/* ★スマホ対応★ */
@media screen and (max-width:1000px)
{
	div.contact{
	display: block;
	margin-bottom: 1em;
	}
	
	div.box3{
	width: calc(97% - 30px);
	}
	
	div.box3-1{
	border: none;
	margin-bottom: 1em;
	}
}
/* ★スマホ対応終わり★ */



/* ===スマホの時だけメニュー=== */
/*ドロワーメニューのClose時のスタイルシート*/

.drawer { display: none !important; }

@media only screen and (max-width: 480px) {
.drawer {
display: block !important; 
  position:fixed;
  top:0;
  left:0;
  width: 300px; /*スマホ用サイズ*/
  height: 100%; /*　画面いっぱいに*/
  background: #FFFFFF;
  padding-top: 2em;
  -webkit-transform: translateX(-300px);
  transform: translateX(-300px);/*Close時に左に隠す*/
  -webkit-transition:ease .5s; 
  transition:ease .5s;/*滑らかに*/
  z-index:9999;
  text-align: left;
    filter:alpha(opacity=93); /*透過*/ 
    -moz-opacity: 0.93;
    opacity: 0.93;
}


/*ドロワーメニューの開閉ボタン*/
.drbtn {
  position: fixed;
  top:0;
  right: -50px;/*メニューがClose時でも見える*/
  width: 50px;
  height: 50px;
  -webkit-transition:ease .5s;
  transition:ease .5s;
  cursor:pointer;
  align-items: flex-end;
  display: flex;
  justify-content: center;
  font-size: 10px;
  padding-bottom: 2px;
  z-index: 10000;
  background-color: lightgrey;
   filter:alpha(opacity=50); /*透過*/ 
    -moz-opacity: 0.5;
    opacity: 0.5;
   border-radius: 4px;/*角を丸くする*/
    
}

/*ハンバーガーボタンを作るスタイルシート*/
.menuline {
  position: absolute;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  height: 2px;
  width: 30px;
  background: #5c6b80;
  -webkit-transition: ease .5s;
  transition: ease .5s;
}
.menuline:nth-child(1) {
    top: 20%;
    left: 50%;
}
.menuline:nth-child(2) {
    top: 40%;
    left: 50%;
}
.menuline:nth-child(3) {
    top: 60%;
    left: 50%;
}

/*ドロワーメニューをOPENにするスタイルシート*/
.drawer.action {
-webkit-transform:translateX(0);
transform:translateX(0);
overflow-y: auto;/*メニューリストが多くでもスクロールできる*/
-webkit-overflow-scrolling: touch;
}
/*ボタンをドロワーメニュー内に表示*/
.drbtn.action {
right: 0;
}
/*ボタンを「×」に変える*/

.drbtn.action .menuline:nth-child(1) {
		top: 50%;
		-webkit-transform: translate(-50%,-50%) rotate(45deg);
		transform: translate(-50%,-50%) rotate(45deg);
	}
.drbtn.action .menuline:nth-child(2) {
		top: 50%;
		-webkit-transform: translate(-50%,-50%);
		transform: translate(-50%,-50%);
		opacity: 0;
	}
.drbtn.action .menuline:nth-child(3) {
		top: 50%;
		-webkit-transform: translate(-50%,-50%) rotate(-45deg);
		transform: translate(-50%,-50%) rotate(-45deg);
	}

.drawer ul{
		padding: 0 1em;
		}
.drawer li{
		display: block;
		padding: 0;
		list-style: none;
		border-top: solid 1px lightgrey;
		}				
				
.drawer ul li a{
	display: block;
	padding: 1em 0;
	line-height: 1.5;
	border: 0;
	color: inherit;
	font-size: 1em;
	letter-spacing: 0.35em;
	text-transform: uppercase; /*uppercase=すべて大文字*/
	text-decoration: none;
	}
/*最初の装飾を消す*/
.drawer ul li:first-child {
						border-top: 0;
						margin-top: -1em;
}
}

/*TOPに戻るボタン*/
#page_top{
  width: 50px;
  height: 100px;
  position: fixed;
  right: 0.5em;
  bottom: 0.5em;
  background-image: url("../../img/logo-s.png");
  background-repeat: no-repeat;
  -webkit-background-size: 100% auto;
  -o-background-size: 100% auto;
  background-size: 100% auto;
  /*background: #fca139;/*orange*/
  opacity: 0.6;
 /* border-radius: 50%;*/
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 100px;
  text-decoration: none;
}
#page_top a::before{
  font-family: FontAwesome;
  content: '\f102';
  font-size: 30px;
  color: #FFFFFF;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  padding-top: 30px;
  text-align: center;
}


/*---
https://ics.media/entry/13117
http://degitekunote.com/blog/2014/12/05/css3-display-flex/
http://delaymania.com/201410/web/css-table-cell-03/

Drop Shadow
https://ferret-plus.com/8961
https://saruwakakun.com/html-css/basic/box-shadow

Button Design
https://saruwakakun.com/html-css/reference/buttons
---*/