@charset "utf-8";

/*=======================================================================

 Tablet(tablet.css)
 
========================================================================*/

@media screen and (max-width: 1024px) {

/*----------------------------------------------------------------------
 Common
----------------------------------------------------------------------*/
body {
	font-size:88%;
}
img {
    max-width:100%;
    height:auto;
}
.pagetop,
.pagetop a {
	_display: none;
}

#content,
#sidebar,
#footer1 .information {
	float: none;
}

/* トップエリア
=============================================================================*/
#toparea {
	min-height: 20px;
	_border-bottom: 3px solid #1e9ed7;
}

#toparea h1 {
    width: 96%;
}


/*----------------------------------------------------------------------
 Header
----------------------------------------------------------------------*/
#header1 {
	position: inherit;
	width: 96%;
	margin: 0 auto;
}

div.headerleft {
    float: none;
	margin: 0 auto;
	text-align:center;
	width:100%;
}

div.logoarea1 {
    float: none;
}
/*
div.addressarea {
    float: none;
	margin: 2px 0 0 ;
}*/

div.headerright {
    float: none;
	clear:both;
	text-align:center;
	width:100%;
}

div.telarea1 {
	margin: 0 0 0 0;
	height:100px;
}

div.telarea1 img {
    width:100%;
	max-width:363px;
}

div.telarea2 {
    display:none;
	margin: 0 0 0 0;
	height:100px;
}

div.telarea2 img {
    width:100%;
	max-width:363px;
}

div.optionmenu {
	margin: 0;
	clear:both;
	max-width:100%;
	text-align:right;
}

div.optionmenu img {
	margin: 10px 0;
}


/*----------------------------------------------------------------------
.headerNav li {
	float: left;
	margin: 0 !important;
}
----------------------------------------------------------------------*/

/*----------------------------------------------------------------------
 Nav
----------------------------------------------------------------------*/
#nav {
	margin: 0 auto 0;
	padding: 0;
}

#nav ul {
	width: 98%;
}

#nav ul li,
#nav ul li.last {
	width: 16.36% !important;
}

#nav ul li a {
	width: 100% !important;
}

/*----------------------------------------------------------------------
 Nav2
----------------------------------------------------------------------*/
#nav2 {
	margin: 0 auto 0;
	padding: 0;
}

#nav2 ul {
	width: 98%;
}

#nav2 ul li,
#nav2 ul li.last {
	width: 16.36% !important;
}

#nav2 ul li a {
	width: 100% !important;
}





/*----------------------------------------------------------------------
 Main
----------------------------------------------------------------------*/
#main {
	width: 100%;
}

#main .inner {
	width: 96%;
	padding: 0 0 20px;
	overflow: hidden;
}

/*----------------------------------------------------------------------
 Content
----------------------------------------------------------------------*/
.toppage #content {
	width: 100%;
}

#content {
	width: 96%;
	padding: 20px 2% 0;
}

/*----------------------------------------------------------------------
 トップページ　メインイメージ
----------------------------------------------------------------------*/

.mainimage {
	width:100%;
	height:330px;
	border-top: 3px solid #999999;
	border-bottom: 3px solid #999999;
	background: url(../../images/mainimage.jpg) ;
-moz-background-size:auto 100%;
background-size:auto 100%;
background-position: center top ; 
background-repeat: no-repeat;
}

.mainimage2 {
	width:100%;
	height:330px;
	border-top: 3px solid #999999;
	border-bottom: 3px solid #999999;
	background: url(../../images/mainimage_old.jpg) ;
-moz-background-size:auto 100%;
background-size:auto 100%;
background-position: center top ; 
background-repeat: no-repeat;
}

.mainimage_base {
	width:100%;
	height:330px;
	border-top: 3px solid #999999;
	border-bottom: 3px solid #999999;
	background: url(../../images/mainimage_gazou.jpg) ;
-moz-background-size:auto 100%;
background-size:auto 100%;
background-position: center top ; 
background-repeat: no-repeat;
text-align:center;
}

/*---animation---*/
#animation img {
	height:150px;
}





.img_control {
}

.img_control2 {
    width:100%;
}


/*========================================================
トップページ：バナーボックス
=========================================================*/
.banner-box img{
	max-width: 964px;
}


/*----------------------------------------------------------------------
 Sidebar
----------------------------------------------------------------------*/
#sidebar {
	width: 100%;
	margin: 20px auto 0;
	padding-bottom: 20px;
}

.toppage #sidebar {
	width: 100%;
	margin: 20px auto 0;
	padding-bottom: 20px;
}

#sidebar .lNav {
	margin: 0 15px 15px;
}
/*----------------------------------------------------------------------
.banner {
	float: left;
	width: 27%;
	margin: 0;
	padding: 0 0 0 2%;
}

.toppage .banner {
	width: 30% !important;
	padding: 0 !important;
}

.banner img {
	width: 100%;
	height: auto;
}
----------------------------------------------------------------------*/
.about {
	float: left;
	width: 45%;
	min-height: 173px;
	margin: 0 0 0 2%;
}

.toppage div.about {
	margin: 0 0 0 2%;
}

/*----------------------------------------------------------------------
 Footer
----------------------------------------------------------------------*/
#footer1 {
	clear: both;
	width: 100%;
	text-align: center;
}

.footerarea {
	width: 98%;
}

div.footershortcut {
    _padding-top:10px;
	text-align:center;
}

div.footerleft {
	height: auto;
	width:98%;
}

div.footerright {
    clear:both;
	width:98%;
}

div.footerright div.minimenu {
    width: auto;
	margin-right:30px;
}

div.footerright div.minimenu2 {
    width: auto;
	margin-right:30px;
}


}


