@charset "utf-8";


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table.table, caption, tbody, tfoot, thead, tr, th, td{
	border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;
}
:focus{
	outline: 0;
}

ol, ul{
	list-style: none;
}
table.table{
	border-collapse: separate;border-spacing: 0;
}
caption, th, td{
	font-weight: normal;text-align: left;
}
blockquote::before, blockquote::after,q::before, q::after{
	content: "";
}
blockquote, q{
	quotes: "" "";
}
a img{
	border: 0;
}
figure{
	margin:0;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{
	display: block;
}
/* -------------------------------------------------------------- */

body{
	color:#333;
font-size:small;
font-family:verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
background:#f1f1f1;
-webkit-text-size-adjust: none;
}


/* リンク設定
------------------------------------------------------------*/
a{
	color:#8aaa16;text-decoration:none;
}
a:hover{
	color:#708c0c;
}
a:active, a:focus{
	outline:0;
}


/* 全体
------------------------------------------------------------*/
#wrapper{
	margin:0 auto;
padding:0 1%;
width:98%;
position:relative;
background:#fff;
}

.inner{
	margin:0 auto;
width:100%;
}


/*************
/* ヘッダー
*************/
#header{
	height:110px;
}

#header h1{
	padding:5px 0 10px 10px;
font-size:12px;
font-weight:normal;
}

/*************
/* ロゴ
*************/
.logo{
	float:left;
}

.logo p{
	float:left;
}

.logo img{
	width:auto;
float:left;
padding:0 5px 0 10px;
}

.logo span{
	display:block;
}

/*************
/* 電話番号
*************/
.info{
	float:right;
padding-right:20px;
text-align:right;
}

.info .open{
	font-size:1.1em;
}


/*************
/* ロゴ+電話番号
*************/
.logo,.info .tel{
	color:#8aaa16;
font-size:24px;
font-weight:bold;
}

.logo span,.info span{
	color:#333;
font-size:.6em;
font-weight:normal;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
	margin:17px auto;
padding:0;
width:100%;
position:relative;
line-height:0;
}

#mainBanner img{
	max-width:100%;
height:auto;
border:4px solid #ebebeb;
}

.slogan{
	position:absolute;
max-width:100%;
height:auto;
bottom:10px;
left:10px;
padding:5px 10px;
line-height:1.4;
color:#fff;
background-color: rgba(0,0,0,0.4);
}

.slogan h2{
	padding-bottom:5px;
font-size:20px;
}


/**************************
/* グリッド
**************************/
.gridWrapper{
	padding-bottom:20px;
overflow: hidden;
}

* html .gridWrapper{
	height:1%;
}
	
.grid{
	float:left;
border-radius:5px;
background:#fff;
}

.box{
	margin:0 5px;
padding:10px;
border:1px solid #ebebeb;
}

.box img{
	max-width:100%;
height:auto;
border:4px solid #ebebeb;
}

.box h3{
	padding:10px 0 5px;
}

.box h3, .box p{
	text-align:left;
}

.box p.readmore{
	padding:10px 5px 5px;
text-align:right;
}



/*************
メイン コンテンツ
*************/
section.content article{
	padding:20px;
margin-bottom:20px;
border:1px solid #ebebeb;
overflow:hidden;
}

* html section.content article{
	height:1%;
}

section.content p{
	margin-bottom:5px;
}

h3.heading{
	font-weight:normal;
padding:0 10px;
line-height:36px;
color:#fff;
background : url(heading31.png) 0px 0px / auto auto repeat-x scroll padding-box border-box transparent;
}

section.content img{
	max-width:90%;
height:auto;
}

.alignleft{
	float:left;
clear:left;
margin:3px 10px 10px 0;
}

.alignright{
	float:right;
clear:right;
margin:3px 0 10px 10px;
}

#gallery .grid img,.border{
	border:4px solid #ebebeb;
}



/*************
テーブル
*************/
table.table{
	border-collapse:collapse;
margin:5px auto 15px auto;
}

table.table td{
	border-collapse:collapse;
background-color:#F9F9F9;
text-align:left;
padding:8px;
border:1px solid #D6D6D6;
line-height:20px;
}

table.table th{
	background-color:#F5F5F5;
text-align:right;
padding:8px;
white-space:nowrap;
color: #151515;
border-top:1px solid #D4D4D4;
border-right:4px solid #D4D4D4;
border-bottom:1px solid #D4D4D4;
border-left:1px solid #D4D4D4;
font-size:13px;
font-weight:normal;
letter-spacing:1px;
background-repeat:repeat-x;
background-position:top;
}


/*************
/* サイドバー
*************/
#sidebar ul{
	padding-top:10px;
}

#sidebar li{
	margin-bottom:10px;
padding-bottom:10px;
list-style:none;
border-bottom:1px dashed #ebebeb;
}

#sidebar li:last-child{
	border:0;
margin-bottom:0px;
}

#sidebar li a{
	display:block;
}

ul.list li{
	clear:both;
margin-bottom:5px;
padding:5px 0;
overflow:hidden;
}

ul.list li{
	height:1%;
}

ul.list li img{
	float:left;
margin-right:10px;
}

ul.list li{
	font-size:12px;
line-height:1.35;
}


/*************
/* フッター
*************/
#footer{
	clear:both;
overflow:hidden;
padding:10px 10px 20px 10px;
background:#e8e8e8;
}

* html #footer{
	height:1%;
}

#footer .grid{
	padding:10px 0 5px;
margin:0;
background:transparent;
}

#footer #info .logo, #footer #info .info{
	float:none;
}

#footer #info .info{
	clear:both;
padding:10px 0 0 15px;
text-align:left;
}

#footer .logo{
	font-size:18px;
}

#footer .info .tel,#footer .info .tel span,#footer #info .open{
	font-size:12px;
}

ul.footnav{
	float:right;
width:620px;
padding:10px 0;
}

ul.footnav li{
	float:left;
margin-bottom:10px;
padding:0 7px 0 8px;
border-right:1px solid #b6b6b6;
}

#footer a{
	color:#333;
}

#footer a:hover{
	color:#888;
}

address{
	clear:both;
padding:5px;
text-align:center;
font-style:normal;
font-size:12px;
color:#fff;
background:#333;
}


/* PC用
------------------------------------------------------------*/
@media only screen and (min-width: 960px){
  nav#mainNav{
	padding:0 14px;
	clear:both;
	overflow:hidden;
	position:relative;
	background : url(topnavBg.png) 0% 0% / auto auto repeat scroll padding-box border-box transparent;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	}

	nav#mainNav li.last{
	border-right:1px solid #ebebeb;
}

	nav#mainNav ul li a{
	display: block;
	text-align: center;
	_float:left;
	font-size:13px;
	width:154px;
	height:45px;
	padding-top:15px;
	color:#333;
	background : url(topnavSep1.png) 0% 0% / auto auto repeat scroll padding-box border-box transparent;
	border-left:1px solid #ebebeb;
	}

	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	display:block;
	}

	nav#mainNav ul li a span{
	color:#708c0c;
	font-size:10px;
	}

	nav div.panel{
	display:block !important;
	float:left;
	}

	a#menu{
	display:none;
}

	nav#mainNav li.active a, nav#mainNav li a:hover{
	color:#fff;
	background-position:0 -60px;
	padding-top:15px;
	}
	
	#mainBanner{
	margin-left:15px;
}
	#subpage #mainBanner{
	margin:15px auto;
}

	#wrapper,.inner{
	width:960px;
	padding:0;
	}
	
	#wrapper{
	padding-bottom:20px;
}
	
	#main{
	float:right;
	width:717px;
	padding-right:15px;
	}
	
	#sidebar{
	float:left;
	width:195px;
	padding:15px 0 0 15px;
	overflow:hidden;
	}
	
	#sidebar article{
	padding:7px;
	margin-bottom:20px;
	border:1px solid #ebebeb;
	overflow:hidden;
	}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -10px;
	}
	
	#gallery article{
	padding:10px 0 10px 10px;
}
	
	/* グリッド */
	.grid{
	float:left;
	width:300px;
	margin-left:20px;
	}
	
	#subpage .grid{
	width:auto;
}
	
  #gallery .grid{
	width:auto;
	margin:10px 0 2px 10px;
	}
}


@media only screen and (max-width:959px){
	*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	}
	
	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #f5f5f5), color-stop(0.5, #f0f0f0), color-stop(0.00, #f7f7f7));
	background: -webkit-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -moz-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -o-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -ms-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
  border:1px solid #e4e4e4;
	}

	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:40px;
	line-height:40px;
	font-weight: bold;
	text-align:left;
	}

	nav#mainNav a#menu span{
	padding-left:10px;
}
	nav#mainNav > a span::before{
	content: "→ ";
}
	nav#mainNav a.menuOpen span::before{
	content: "↓ ";
}

	nav#mainNav a:hover#menu{
	cursor:pointer;
}

	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

	nav#mainNav ul li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	background : url(../../../高校受験/images/bg.png) 0% 0% / auto auto repeat scroll padding-box border-box transparent;
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px dashed #ccc;
	}
	
	nav#mainNav ul li a span{
	padding-left:10px;
}
	
	nav#mainNav ul li:first-child a{
	border-top:1px solid #e4e4e4;
	}
	
	nav#mainNav ul li:last-child a{
	border:0;
}
	
	nav#mainNav ul li.active a{
	color:#708c0c;
}

	nav div.panel{
	float:none;
}
	
	#subpage #mainBanner{
	max-width:720px;
}
	
	#sidebar article{
	padding:7px 8px;
}
	
	#footer .grid,#footer ul.footnav{
	float:none;
	width:100%;
	text-align:center;
	}

	ul.footnav li{
	float:none;display:inline-block;
}
	
	.grid{
	width:32%;
	margin:10px 0 0 1%;
	}
	
	#gallery .grid{
	float:left;
	width:31%;
	margin:0 0 0 1%;
	}
	
	#footer .grid img, #footer .info{
	float:none;
}
	#footer .grid p{
	display:block;
}
	#footer #info .info{
	float:none;text-align:center;
}
	
	.logo#footer,#footer .info{
	width:100%;
	float:none;
	}
	
	#footer .logo p{
	float:none;display:block;
}
	#footer .logo img{
	float:none;padding:0;
}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#header{
	height:auto;
	padding-bottom:20px;
	}
	
	#header h1,.logo,.info{
	text-align:center;
}
	
	.logo,.info{
	clear:both;
	width:100%;
	float:none;
	}
	
	.logo p{
	float:none;display:block;
}
	.logo img{
	float:none;padding:0;
}
	
	.box img{
	max-width:180px;
	float:left;
	margin-right:5px;
	}
	
	.box h3{
	padding-top:0;
}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
	
	#gallery .grid{
	float:left;
}
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	.grid{
	width:100%;
}
	.box img{
	max-width:100px;
}
	#mainBanner h2,#mainBanner p{
	font-size:80%;
}
}