@charset "utf-8";
/* CSS Document */

#global_nav .dropdown>li {
	width: 16.66%;
	color:#7a7a7a;
	font-size: 14px;
	font-weight: bold;
	border-left: 1px solid #cccccc;
	border-bottom: 3px solid #e6e7e4;
	box-sizing: border-box;
	text-align: center;
	height: 41px;
	display: table-cell;
	vertical-align: middle;
	padding: 11px 0;
}
#global_nav .dropdown>li.line2 {
	border-bottom: 3px solid #e6e7e4;
	padding: 0;
}
#global_nav .dropdown>li:first-child {
	border-left: none;
}
#global_nav .dropdown>li a {
	display: block;
	color:#7a7a7a;
	padding: 0;
}
#global_nav .dropdown>li:hover {
	border-bottom: 3px solid #9facb3;
}
#global_nav .dropdown>li a:hover {
	opacity: 0.5;
}

#sp_nav a {
	display: none;
}

#sp_nav a.main {
	display: none;
	border: 2px #F00 solid;
}

/* base */
html,body,h1,h2,h3,h4,h5,h6,p,div,
ul,ol,li,dl,dt,dd,img {
  	margin:0;
  	padding:0;
}

body {
	color:#312626;
	font-size:13px;
    *font-size:small;
    *font:x-small;
	line-height:1;
	background:url(../images/bg.jpg) #e6e7e4;
	text-align:center;
	letter-spacing:0.2em;
}

h1,h2,h3,h4,h5,h6 {
    font-size:100%;
	font-weight:normal;
}

ol,ul {
	list-style:none;
}

img {
	border:0;
}

a:hover img {
	border:0;
	filter: alpha(opacity=50);
	-ms-filter: "alpha(opacity=50)";
	opacity: 0.5;
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
}


a:link,
a:visited {
	color: #663333;
	text-decoration:none;
}

a:hover {
	color:#9facb3;
	text-decoration:none;
}

.clearfix:after{
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}

.clearfix{
	zoom:1;
}


/* header */

#header {
	max-width: 1026px;
	background: #e6e7e4;
	margin: 0 auto;
	text-align: left;
	position: relative;
}

#header p.logo {
	 float:left;
	 width:272px;
	 margin:13px 0 24px 30px;
	 display:inline;
}

#header p.links {
	float: right;
	padding-top: 10px;
	margin-right: 26px;
	margin-left: 0;
	margin-bottom: 0;
	display: inline;
}

#header p.links a {
	background:url(../images/arrow03.png) no-repeat left top;
	padding-left:22px;
	margin-left:15px;
	line-height: 14px;
	display: inline-block;
}

#header div.sns_parts {
	position: absolute;
	right: 26px;
	bottom: 0px;
}
#header div.sns_parts p{
	display:inline-block;
	float:left;
	width:45%;
	margin:0px;
} 



/* main_img */

p#main_img {
	width:100%;
	background:url(../images/top_main_bg.jpg) repeat-x left top;	
}

p#main_img img {
	width:1024px;
	margin:0 auto;
}


/* lower_main_img */

p#lower_main_img {
	width:100%;
	background:url(../images/nav_shadow.jpg) repeat-x left top;	
	margin-bottom:12px;
}

p#lower_main_img img {
	width:1039px;
	margin:0 auto;
	margin-left:-15px;
}

h1#page_ttl {
	color: #383838;
	font-size: 108%;
	font-weight: bold;
	line-height: 1.0;
	padding: 0 0 8px 22px;
	border-bottom: solid 4px #cccccc;
	margin: 22px auto 15px;
	max-width: 982px;
	text-align: left;
}


/* contents */

#contents {
	max-width:1004px;
	width: 99%;
	margin:0 auto;
	text-align:left;
	padding: 0 0.5%;
}


/* mainarea */

#contents #mainarea {
	float:right;
	max-width:790px;
	width: 78.685%;
}

#mainarea .left {
	float: left;
	/*width: 500px;*/
	width: 60%;
	padding: 5px 0 5px;
}

#mainarea .right {
	float: right;
	/*width: 240px;*/
	width: 38%;
}
#mainarea .right img {
	width: 100%;
	height: auto;
}


/* pagetop */

#contents #mainarea .pagetop {
	background:url(../images/arrow05.gif) no-repeat right top;
	padding-right:24px;
	text-align:right;
	margin:27px 0 32px;
	line-height: 14px;
}
#contents #mainarea .pagetop a{
	color: #f4b4cf;
}


/* bnr */

#contents #mainarea .bnr {
	margin-top:15px;
}

#contents #mainarea .trial_lesson {
	position:relative;
	left:-10px;
}
#contents #mainarea .allBnr {
	clear:both;
	padding-top:20px;
}
#contents #mainarea .allBnr img{
	float:left;
	padding:0 10px 0 0;
}
#contents #mainarea .allBnr img.right{
	padding:0;
}

.bnr02 {
	margin: 20px auto 0;
}
.bnr02 img {
	width: 100%;
	height: auto;
}
.bnr02 ul {
	overflow: hidden;
	margin: 20px auto 0;
}
.bnr02 li {
	float: left;
	margin: 0 0 20px 2.531%;
	width: 31.646%;
}
.bnr02 li img {
	width: 100%;
	height: auto;
}
.bnr02 li:nth-child(1),
.bnr02 li:nth-child(4) {
	margin: 0 0 20px;
}

/* sidebar */

/*#sidebar {
	float:left;
	width:193px;
}*/

#sidebar .banner {
	margin-bottom:10px;
}

#sidebar .banner a:hover img {
	opacity:0.50;
/*	filter:alpha(opacity=50);
	-ms-filter: "alpha( opacity=50 )";*/
}

#sidebar .twitter_area {
	/*width:193px;*/
	height:638px;
	background:#ccc;
	width: 100%;
}

#sidebar .tel {
	margin: 15px 0 35px;
}

#sidebar .contact {
	margin-top:10px;
}


/* footer */

#footer {
	border-top: dotted 1px #7f7f7f;
	margin:20px auto 0;
	/*background:url(../images/footer_shadow.gif) #4f4b40 repeat-x left top;*/
	letter-spacing:2px;
	line-height:130%;
}

#footer ul {
	width:1004px;
	margin:0 auto;
}

#footer ul li {
	float:left;
	margin:20px 9px 0 0;
}

#footer ul li.last {
	margin-right:0;
}

#footer p.copyright {
	padding:20px 0;
	text-align: center;
}

/*************
サイド（左側）コンテンツ
*************/
#sidebar {
float: left;
max-width: 193px;
padding: 0;
margin: 7px 0 0;
width: 19.223%;
}

#sidebar p{margin-bottom: 20px;}
#sidebar p.contact {
	margin-top:10px;
	margin-bottom:0;
}

#sidebar h3 {
color: #383838;
margin: 20px 0 15px 24px;
line-height: 1.0;
font-size: 108%;
font-weight: bold;
}

#sidebar ul{
padding: 0 0 5px 24px;
border-bottom: dotted 1px #7f7f7f;
margin-bottom: 15px;
}

#sidebar li{
margin: 0 0 15px 0;
list-style: none;
}

#sidebar li a{
font-size: 93%;
background: url(../images/list02.jpg) no-repeat 0 50%;
display: block;
padding:0 0 0 20px;
margin-bottom:5px;
}

#sidebar li a:hover{
background-position: 3px 50%;
}

h5 {
margin: 1px 0 20px 0;
padding:20px;
line-height: 25px;
font-size: 18px;
font-weight: bold;
color: #252525;
border-bottom: 2px dotted #a59985;
}

/* sitemap */
#mainarea .ttl_icon03{
	/*background:url(../images/icon02.png) no-repeat left top;*/
	font-size: 108%;
	font-weight: bold;
	line-height: 21px;
	padding: 0 0 8px 0;
	margin: 0 25px 10px;	
}

#mainarea .list{
	font-size: 100%;
	font-weight: normal;
	line-height: 10px;
	padding: 0 0 8px 30px;
	margin: 0 25px 10px;	
}


/* go to top */
    #gototop {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
    }
    #gototop a {
	display: block;
	width: 4rem;
	height: 2.5rem;
	line-height: 1rem;
	font-weight: bold;
	color: #fff;
	padding-top: 1rem;
	text-align: center;
	line-height: 10px;
	background-color: #cccccc;
	font-size: 0.8rem;
	text-decoration: none;
	transition: all 0.2s linear 0s;
	-webkit-transition: all 0.2s linear 0s;
	-o-transition: all 0.2s linear 0s;
    }
    #gototop a:hover {
	background-color: #8c8c8c;
    }

#sidebar .tel {
	margin: 15px 0 35px;
}
#sidebar img {
	width: 100%;
	height: auto;
}
#sidebar .tel ul {
	padding: 5px 0 0;
	border-bottom: none;
}
#sidebar .tel li {
	margin: 8px auto 0;
}
#sidebar .tel li:first-child {
	margin: 0;
}

#sidebar .sns{
	width: 30%;
	float: left;
	padding-left: 6px;
}
#sidebar .banner.mb10_sns{
	float: left;
    width: 33%;
    margin:0;
}
	
#sidebar .banner.mb10_sns img{
	float: left;
    width: 100%;
    margin:  0 0 10px 0;
}


/******* 768px **************************************************/
@media screen and (max-width : 883px ){

#header div.sns_parts {
	display:none;
}


/* base */
img {
	max-width: 100%;
	height: auto;
}

#header p.logo {
    float: none;
    width: auto;
    margin: 13px 20px 24px;
    display: block;
    text-align: left;
}
#header p.links {
    display: none;
}

#sp_nav>a {
	display: block;
	border-top: 1px dotted #ddd;
	border-bottom: 1px dotted #ddd;
	background: url(../images/ico_menu.png) no-repeat left center;
	background-size: 18px auto;
	text-align: left;
	padding: 18px 18px 18px 36px;
	font-size: 18px;
	font-weight: bold;
	box-sizing:border-box;
	margin: 0 20px;
	position: relative;
}
#sp_menu {

	position: absolute;
	z-index: 5;
	background: #fff;
	width: 100%;
	display: none;
}
#sp_menu li a {
	display: block;
	color: :#663333;
	font-size: 14px;
	padding: 18px;
	border-top: 1px solid #fff;
}
#sp_menu li a:hover {
	color:#9facb3;
}


/* contents */
#contents {
	margin: 0 20px;
	width: auto;
}

/* mainarea */
#contents #mainarea {
	float: none;
	width: auto;
}
#mainarea .left {
    width: 60%;
}
#mainarea .right {
    width: 38%;
}


#sidebar {
	float: none;
	width: auto;
	overflow: hidden;
	margin: 20px auto 0;
	max-width: none;
}
#sidebar .twitter_area {
	width:auto;
}
#sidebar .tel {
	text-align: center;
}
#sidebar .tel img{
	width: 100%;
}
#sidebar .banner {
    width: 31%;
    float: left;
    margin: 0 2% 0 0;
}
/*#sidebar .banner.mb10 {
	margin-bottom: 10px;
}
#sidebar .banner.mb_sns {
	margin-bottom: 50px;
	background-color: #F00;
}*/
	
#sidebar .banner.mb10_sns{
	float: left;
    width: 30%;
    margin:0;
}
	
#sidebar .banner.mb10_sns img{
	float: left;
    width: 60%;
    margin:  5px 0;
}
	
#sidebar .banner.mb20 {
	margin-bottom: 21px;
}
#sidebar .banner.last {
    margin: 0 0 2% 0;
}

#sidebar .tel {
	margin: 15px 0;
}
#sidebar .tel>img {
	max-width: 193px;
}
#sidebar .tel ul {
	padding: 0;
	border-bottom: none;
	width: 100%;
}
#sidebar .tel li {
	margin: 8px auto 0;
	display: inline-block;
	width: 48%;
}
#sidebar .tel li:first-child {
	margin: 0;
}

#sidebar img {
	max-width: 100%;
	width: 100%;
	height: auto;
}
	
#sidebar .sns{
	width: 30%;
	float: left;
	padding-left: 6px;
}
	
#sidebar .sns img{
	width: 30%;
	float: left;
	padding-left: 6px;
}

.bnr02 li {
	width: 47.5%;
	margin: 0 0 10px 5%;
}
.bnr02 li:nth-child(1),
.bnr02 li:nth-child(3),
.bnr02 li:nth-child(5) {
	margin: 0 0 10px;
}
.bnr02 li:nth-child(4) {
	margin: 0 0 10px 5%;
}


}


/******* 375px **************************************************/
@media screen and (max-width: 375px) {

#sidebar .tel img{
	width: 100%;
}
#sidebar .banner,
#sidebar .banner.mb10,
#sidebar .banner.mb20,
#sidebar .banner.last {
	float: left;
    width: 48%;
    text-align: center;
    margin: 0 1% 10px;
}
	
#sidebar .banner.mb10_sns{
	float: left;
    width: 30%;
    margin:0;
}
	
#sidebar .banner.mb10_sns img{
	float: left;
    width: 60%;
    margin:  5px 0;
}
	
#mainarea .left,
#mainarea .right {
	float: none;
    width: 100%;
}

#sidebar .tel {
	margin: 15px 0 35px;
}
#sidebar .tel>img {
	max-width: 100%;
}
#sidebar .tel ul {
	padding: 5px 0 0;
	border-bottom: none;
	width: 100%;
}
#sidebar .tel li {
	display: block;
	width: 100%;
}
#sidebar .tel li:first-child {
	margin: 0;
}

#sidebar .sns{
	width: 30%;
	float: left;
	padding-left: 6px;
}
	
#sidebar .sns img{
	width: 30%;
	float: left;
	padding-left: 6px;
}

}
