@charset "UTF-8";
/*
Theme Name: 洛西進学教室
Theme URL: http://www.mec-com.co.jp
Description: meccommunications
Author: Mec
Author URI: http://www.mec-com.co.jp
*/

/*全体の設定*/
* {
	margin: 0; 
	padding: 0; 
	list-style-type: none; 
	font-weight: normal;
}
/*リンク画像の枠を消す、テキストのセンターに配置*/
img {
	border-width: 0px;
	vertical-align: middle;
}
body {
	font-size: 0.8em;
	line-height:1.6em;
	font-family:"Verdana","ＭＳ Ｐゴシック", Osaka;
	color: #666666;
}
table {
	empty-cells:show; 
	border-collapse:collapse; 
	border-spacing:0;
	font-size: 100%;
	line-height:125%;
	font-family:"Verdana","ＭＳ Ｐゴシック", Osaka;
}
em{
	font-style:italic;
}
strong{
	font-weight: bold;
}

/*標準のリンク*/
a:link {
	color: #0066CC;
	text-decoration: underline;
}
a:visited {
	color: #0066CC;
	text-decoration: underline;
}
a:hover {
	color: #FF0000;
	text-decoration: none;
}
a:active {
	color: #FF0000;
	text-decoration: none;
}


/* 左右分けレイアウト*/
.clearfix:after {
  content: ".";  /* 新しい要素を作る */
  display: block;  /* ブロックレベル要素に */
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

* html .clearfix {
  height: 1px;
  /*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}

/*レイアウト枠：全体の枠と横幅・背景色*/
#page {
	background:url(css/header-bg.gif) 0px 82px repeat-x ;
	text-align: center;
}
/*--------------------------------------------ヘッダー*/
#header {
	margin: 0px auto;
	width: 900px;
	text-align: left;
}
#header a{
	text-decoration: none;
}
#header h1{
	margin: 0px auto;
	width: 900px;
	text-align: left;
	font-size:10px;
	line-height: 18px;
	height: 18px;
}
#header h1 a{
	color:#999999;
}
/*ヘッダーロゴ*/
#header-logo{
	height: 64px;
}
/* 補足ナビ*/
#assist-nav{
	height: 64px;
	margin: -64px 0 0 620px;

}
#assist-nav #tel {
	font-size:12px;
	line-height:16px;
	padding:5px 0px 5px 20px;
	background:url(css/header-tel.gif) left no-repeat ;
	height:16px;
}

/*グローバルナビ*/
#global-nav ul{
	background:url(css/global-nav.gif) bottom no-repeat ;
	height: 60px;
}
#global-nav li {
	float: left;
}

/*--------------------------------------------コンテンツ*/
#contents {
	margin: 0px auto;
	width: 900px;
	text-align: left;
}
/* --------------------------------------------パンくず*/
#path {
	margin:5px 0px 0px 0px;
	font-size: 10px;
	line-height:12px;
	color:#666666;
}
#path a {
	background: url(css/path.gif) no-repeat right;
	text-decoration:none;
}
#path a:hover{
	text-decoration:underline
}
/* --------------------------------------------本文*/
#main {
	margin-top:10px;
	width: 690px;
	float:right;
}
#main h2 {
	clear:both;
	font-size:14px;
	line-height:32px;
	color:#333333;
	background:url(css/h2.gif) 0px 20px no-repeat;
	padding:20px 0px 8px 20px;
	font-weight:bold;
	margin:0px 0px 0px 20px;
  /*\*//*/
	background:url(css/h2.gif)  no-repeat;
	padding:0px 0 8px 20px;
	margin:20px 0px 0px 20px;
  /**/
}
* html #main h2 {
	background:url(css/h2.gif)  no-repeat;
	padding:0px 0 8px 20px;
	margin:20px 0 0px 20px;
}

#main h3 {
	font-size:16px;
	line-height:20px;
	color:#003399;
	font-weight:bold;
	background:url(css/h3.gif) no-repeat;
	padding-left:20px;
	margin:10px 0 5px 20px;
}
#main h4 {
	font-size:14px;
	line-height:18px;
	color:#333333;
	font-weight:bold;
	margin:10px 0 5px 40px;
}
#main p,#main ul,#main ol {
	margin:5px 0 5px 40px;
}
#main p img{
	float:right;
	margin:0px 0px 0px 20px;
}
#main table{
	margin:5px 0 5px 40px;
}
#main table th {
	text-align:center;
	background:#E6E6E6;
}
#main table td, #main table th {
	border:1px solid #999999;
	padding:5px 8px;
}
#main table td h4,#main table th h4,#main table td p,#main table th p,#main table td ul,#main table td ol{
	margin:5px 0px;
}
#main table p img{
	float:none;
	margin:0;
}
#main ul li{
	margin:5px 0px 5px 1.5em;
	line-height:1.4em;
	list-style-type:square
}
#main ol li{
	margin:5px 0px 5px 1.5em;
	line-height:1.4em;
	list-style:decimal outside;
}
#main hr{
	clear:both;
	height:1px;
	background:url(css/dashed.gif) 0px 20px repeat-x;
	border:0 none;
	padding:20px 0 10px 0;
	margin:0px 0px 0px 20px;
}
* html #main hr {
	margin:20px 0px 10px 20px;
}

#main h2#pagetitle{
	clear:none;
	font-size:26px;
	font-weight:bold;
	line-height:30px;
	color:#333333;
	background:url(css/pagetitle.gif) no-repeat;
	padding:4px 0 8px 20px;
	margin:0 0 20px 0;
}
#main #pagetopcopy h3{
	font-size:23px;
	line-height:30px;
	font-weight:bold;
	margin:10px 0 5px 0px;
	background:none;
	padding:0;
}
#main #pagetopcopy h4,#main #pagetopcopy p,#main #pagetopcopy table,#main #pagetopcopy hr{
	margin-left:0px;
}
#main #pagetopcopy{
	margin-left:20px;
}
.ya a{
	background:url(css/ya.gif) left no-repeat;
	padding-left:15px;
}

/* --------------------------------------------サイドバー*/
#sidebar {
	margin-top:10px;
	width: 180px;
	float: left;
}
#sidebar h2{
	font-size: 100%;
	line-height:135%;
	margin-bottom:-1px;
	position:relative;
}

/*ローカルナビ*/
#local-nav ul{
	border-bottom:1px solid #BFBFBF
}
#local-nav li {
}
#local-nav a{
	font-size:12px;
	line-height:14px; 
	background: url(css/local-nav.gif) right no-repeat;
	width:160px;
	padding:10px 0px 10px 20px;
	display: block;
	text-decoration:none;
}
#local-nav a:hover{
	background: url(css/local-nav.gif) center no-repeat;
}
#local-nav li.current_page_item a,#local-nav li.current-cat a{
	background: url(css/local-nav.gif) left no-repeat;
}


/*サイドバー・バナー*/
#sidebar-banner {
	margin-top:20px;
}
#sidebar-banner p {
	margin-top: 4px;
}

/*セコムステッカー*/
#sidebar-stickersr {
	margin-top:20px;
	text-align: center;
}

/* --------------------------------------------ページトップへ戻るためのリンク*/
#up-link {
	margin: 20px 1px 0px 1px;
}
#up-link a {
	display: block;
	text-align:right;
	padding:0px 20px ;
	height:40px;
	line-height:40px;
	color: #999999;
	text-decoration: none;
}
#up-link a:hover {
	background: #E6E6E6;
	color: #666666;
	text-decoration: none;
}
#up-link a:hover {
	background: #E6E6E6;
	color: #666666;
	text-decoration: none;
}
.up-link {
	margin-top:20px;
	text-align:right;
}

/* --------------------------------------------フッター*/
#footer {
	font-size:12px;
}
#footer a{
	text-decoration:none;
}
#footer a:hover {
	text-decoration:underline
}
/*ナビ*/
#foot-nav{
	margin-top:1px;
	padding:3px;
	background:#CCCCCC;
}
#foot-nav a{
	color:#333333;
	margin:0px 5px;
}
/*補足ナビ*/
#foot-assist-nav{
	padding:3px;
	color:#FFFFFF;
	background:#FF6600;
	margin-top:1px;
}
#foot-assist-nav a{
	color:#FFFFFF;
	margin:0px 5px;
}
/*住所等*/
#footdata{
	margin: 10px auto;
	width:900px;
	text-align:left;
	padding-bottom:10px;
}
#foot-logo{
	float:left
}
#foot-logo img{
	margin-bottom:5px;
}
#foot-adress{
	float:right;
	width:770px;
	margin-bottom:5px;
}
#foot-adress b{
	color:#FF0000;
	font-size:16px;
	margin-right:5px;
}
/*教室*/
#foot-room{
	float:right;
	width:770px;
	margin-bottom:7px;
}

/*コピーライト*/
#copyright{
	float:right;
	width:770px;
	text-align:left;
	font-size:10px;
	line-height:100%;
	color:#999999;
}
#copyright a{
	color:#333333;
}


/* 編集する*/
p.hensyu{margin:8px; text-align:center}
.hensyu a {background:#FFFF99; border:1px solid #FFCC66; color:#993300; padding:0px 5px; ;text-decoration: none}
.hensyu a:hover{background:#FFCCCC; border:1px solid #FF9999; color:#660000; text-decoration:none}
