@charset "UTF-8";
/*
Theme Name: 山本塾
Author: meccommunications
Author URI: http://www.mec-com.co.jp
*/

/*全体の設定
-----------------------------------------------------------------------------------------*/
*{
	margin: 0; 
	padding: 0; 
	list-style-type: none; 
	font-weight: normal;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
img {
	border-width: 0px;
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
	width /***/:auto;
}
* html img {
	border-width: 0px;
	vertical-align: top;
	padding:-1px;
}
*:first-child+html img {
	border-width: 0px;
	vertical-align: middle;
	padding:-1px;
}
html{
	height:100%;
}
body {
	background:#FFFFFF;
	font-family:"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Meiryo",verdana,"ＭＳ Ｐゴシック",Osaka,sans-serif;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック';
	color: #000000;
	text-align:center;
	font-size:16px;
	line-height:30px;
	height:100%;
	-webkit-text-size-adjust:none;
	min-width:980px;
}
h1,h2,h3,h4,h5,h6,p,li,dt,dd,input,table,figure{
	font-size:16px;
	line-height:30px;
}
strong{
	font-weight:bold;
}
em{
	font-style:normal;
	color:#ED1C24;
	font-weight:bold;
}
table {
	empty-cells:show; 
	border-collapse:collapse; 
	border-spacing:0;
}
/* 左右分けレイアウト*/
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
.clearfix {
	min-height: 1px;
}
* html .clearfix {
	height: 1px;
	/*\*//*/
	height: auto;
	overflow: hidden;
	/**/
}

/*標準のリンク*/
a{
	color: #0071BC;
	text-decoration: none;
	outline:none;
}
a:hover {
	text-decoration: none;
	outline:none;
}
a:link,a:visited,a:hover,a:active {
	outline:none;
}
/*表示の切り替え*/
.sp{
	display:none;
}
/*-------------------------フッター固定（フッター高580px）
#wrapper {
	min-height:100%;
	height:auto !important;
	height:100%;
	margin:0 auto -580px;
}
#contents{
	padding-bottom:580px;
}
footer {
	height:580px;
	overflow:hidden;
}
*/
/*-------------------------全体の幅*/
.frame{
	width:1060px;
	margin:0 auto;
	text-align:left;
	padding-left:20px;
	padding-right:20px;
}
@media screen and (max-width: 1075px) {
.frame{width:auto;}
}

/*header
-----------------------------------------------------------------------------------------*/
header{
}
/*-------------------------スクロールで隠れる要素*/
#fixtop {
	margin:0 auto;
	padding:15px 10px;
	max-width:1040px;
}
@media screen and (max-width: 1055px) {
#fixtop{width:auto;}
}
/*-------------------------ロゴ*/
#fixtop h1{
	float:left;
}
/*-------------------------サブメニュー*/
#fixtop ul.pc{
	float:right;
}
#fixtop ul.pc li{
	float:left;
	margin-left:5px;
}
#fixtop ul.pc li a{
	display:block;
	width:100px;
	height:90px;
	border-radius: 5px;	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	position:relative;
	overflow:hidden;
}
#fixtop ul.pc li a:hover{
	height:85px;
	top:5px;
}
/*-------------------------スクロールで固定要素*/
#fixitem {
	width:100%;
	margin:0 auto;
}
/*-------------------------グローバルメニュー*/
header nav{
	background:#004097;
}
#nav_open,
header nav div{
	display:none;
}
header nav ul{
	max-width:1040px;
	padding:0 10px;
	margin:0 auto;
}
@media screen and (max-width: 1055px) {
header nav ul{width:auto;}
}
header nav li {
	float:left;
	width:18%;
}
header nav li:first-child{
	width:10%;
}
header nav li a{
	display:block;
	text-align:center;
	font-size:16px;
	letter-spacing:5px;
	line-height:50px;
	color:#FFFFFF;
	padding:5px 0 5px 5px;
}
header nav li:first-child a{
	padding:5px;
}
header nav li a:hover{
	background:#4D7AB6;
}
header nav li a.current{
	background:#3366AC;
}
/*-------------------------スクロールした時*/
#wrapper.scroll{
	padding-top:60px;
}
#wrapper.scroll #fixtop{
	display:none;
}
#wrapper.scroll #fixitem{
	position:fixed;
	top:0;
	z-index:1000;
}

/*contents
-----------------------------------------------------------------------------------------*/
#contents{
	position:relative;
}
#topics .hensyu a{
	float:right;
	font-size:12px;
	line-height:1;
	width:30px;
	margin-right:-30px;
	padding:10px;
	text-align:center;
	color:#CC0000;
	position:relative;
	z-index:1;
}
#event .hensyu a{
	display:block;
	font-size:12px;
	color:#CC0000;
	margin-bottom:10px;
	text-align:center;
}
#event .hensyu a:hover{
	background:#F1F1F1;
}

/*footer
-----------------------------------------------------------------------------------------*/
footer{
	background:#F6F5F0;
	color:#000000;
}
footer a{
	color:#000000;
}
footer a:hover{
	text-decoration:underline;
}
/*-------------------------お問い合わせ*/
#otoiawase{
	background:#D2F0FF;
	height:440px;
	border-bottom:1px solid #FFF;
}
#otoiawase div.frame{
	background:url(images/otoiawase.jpg) right no-repeat;
	height:100%;
	padding-top:50px;
}
#otoiawase h3{
	font-size:30px;
	line-height:45px;
	letter-spacing:5px;
	font-family: "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}
#otoiawase li{
	float:left;
	margin:12px 10px 12px 0;
}
#otoiawase li a{
	display:block;
	width:240px;
	height:106px;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	position:relative;
	overflow:hidden;
}
#otoiawase li a:hover{
	height:100px;
	top:6px;
}
/*-------------------------表示切り替え*/
#viewport{
	display:none;
}
#viewport li{
	float:left;
	width:50%;
	background:#003278;
}
#viewport a{
	display:block;
}
#viewport li + li{
	border-left:1px solid #FFF;
}
/*-------------------------フッターナビ*/
footer nav{
	-webkit-column-count: 4;
	-moz-column-count: 4;
	column-count: 4;
	-webkit-column-gap: 20px;
	-moz-column-gap: 20px;
	column-gap: 20px;
	padding-top:25px;
	padding-bottom:25px;
}
footer nav ul{
	margin-bottom:20px;
}
/*
footer nav ul.guide{
	margin-bottom:75px;
}
footer nav ul.siteinfo{
	margin-bottom:100px;
}
*/
footer nav li{
	font-size:14px;
	line-height:25px;
	background:url(images/footer_ya.png) left no-repeat;
	padding-left:14px;
}
footer nav li.cat{
	font-size:18px;
	line-height:30px;
	background:none;
	padding-left:0;
}
/*
footer nav li.cat + li.cat{
	margin-top:20px;
}
*/
footer nav li.cat a{
	font-weight:bold;
}
/*-------------------------コピーライト*/
footer small{
	display:block;
	text-align:center;
	font-size:12px;
	line-height:20px;
	letter-spacing:1px;
	padding-bottom:10px;
}
/*-------------------------上へ*/
#toPageTop {
	position:fixed;
	bottom: 10px;
	right: 10px;
	width:60px;
	height:60px;
	background:#999;
	border-radius: 30px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	opacity: 0.5;
	filter: alpha(opacity=50);
	-moz-opacity: 0.5;
	z-index:100;
}
* html #toPageTop {position:absolute;}
#toPageTop:hover{
	opacity: 1;
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	cursor:pointer;
}
/*-------------------------フォームのチェックボックスを改行する*/
/*span.wpcf7-list-item {
    width: 45%
}*/