@charset "Shift_JIS";

/*********************************
		clearfix!
*********************************/
.clearfix:after {
	content: ".";  /* �V�����v�f����� */
	display: block;  /* �u���b�N���x���v�f�� */
	clear: both;
	height: 0;
	visibility: hidden;
}
.clearfix { display: inline-block; }
.clearfix { display: block; }

* html .clearfix {
	height: 1px;
	/*\*//*/
	height: auto;
	overflow: hidden;
	/**/
}
/* h1
--------------------------------------------------------------------------------*/
h1{
	position:relative;
	top:0;
	left:0;
	margin:5px 0;
	padding:0;
	font-size:12px;
	font-weight:normal;
	line-height:1.2;
	color: #2149B1;
}

/* layout
--------------------------------------------------------------------------------*/
#wrapper{
	width:900px;
	height:768px;
	margin:0 auto;
}

#tel{
	position:relative;
	width:415px;
	height:130px;
	top:-38px;
	left:474px;
}

/* header
--------------------------------------------------------------------------------*/
#header{
	height:100px;
	background:URL('../images/header_back.jpg') no-repeat;
	margin:-130px 0 0 0;
	padding:0;
}
#header .logo{
	float:left;
	width:311px;
	padding:9px 0 0 14px;
}

/* global navi
--------------------------------------------------------------------------------*/
#g_navi{
	clear:both;
	height:60px;
	margin:0;
	padding:0;
}

#g_navi ul{
	list-style:none;
	margin:0;
	padding:0;
}

#g_navi ul li.button{
	float:left;
	width:120px;
	height:60px;
	margin:0;
	padding:0;
}
#g_navi ul li.space{
	float:left;
	width:180px;
	height:60px;
	margin:0;
	padding:0;
}

/* contents
--------------------------------------------------------------------------------*/
#contents{
	margin:0;
	padding:0;
}

/* banner area */
ul.banner_area{
	list-style:none;
	float:right;
	width:300px;
	margin:0;
	padding:0;
}
ul.banner_area li{
	width:300px;
	margin:0;
	padding:0;
}


/* footer
--------------------------------------------------------------------------------*/
#footer{
	width:900px;
	height:60px;
	/*margin:50px 0 0 0;*/
	margin:5px 0 0 0;
	padding:5px 0 0 0;
	background:URL('../images/footer.gif') no-repeat;
}

#footer a{
}

#footer a:link{
	color:#333333;
	text-decoration:underline;
}

#footer a:visited{
	color:#333333;
	text-decoration:underline;
}

#footer a:hover{
	color:#333333;
	text-decoration:none;
}
.fixedfooterArea{
    display: none;
}
img, div { behavior: url(js/iepngfix.htc) }

/* �X�}�z�p
--------------------------------------------------------------------------------*/
@media screen and ( max-width:768px) {

.clearfix { display: inline-block; }

#wrapper{
	width:auto;
	height:auto;
	margin:0 auto;
}

h1{
    float: left;
    width:100%;
	top:0;
	left:0;
	margin:0 0;
	padding:0;
	font-size:12px;
	font-weight:normal;
	line-height:1.2;
	color: #2149B1;
}

#tel{
    display:inline;
    width:100%;
	height:50px;
    top:0;
    left:0;
}
#tel img{
    float: right;
    position:relative;
	width:150px;
    height:auto;
	margin:0 0 0 0;
	padding:0;
    top:1px;
}

#header{
    clear: left;
	height:45px;
	background:URL('../images/header_back.jpg') no-repeat;
    background-size:cover;
	margin:-130px 0 0 0;
	padding:0;
}
#header .logo{
	float:left;
	width:40%;
	padding:4px 0 0 10px;
}

#header .logo img{
	float:left;
	width:auto;
    height:37px;
	padding:0 0 0 0px;
}




#contents{
	margin:0;
	padding:0;
}

#g_navi{
	clear:both;
	height:auto;
	margin:0;
	padding:0;
}

#g_navi ul{
	list-style:none;
	margin:0;
	padding:0;
}

#g_navi ul li.button{
	float:left;
	width:16.6666%;
	height:auto;
	margin:0;
	padding:0;
}
#g_navi ul li.button img{
	float:left;
	width:100%;
	height:auto;
	margin:0;
	padding:0;
}
#g_navi ul li.space{
    display:none;
}


/* banner area */
ul.banner_area{
	list-style:none;
	float:none;
	width:auto;
	margin:30px 0 0 0;
	padding:0;
}
ul.banner_area li{
	width:auto;
	margin:0;
	padding:0 20px 10px 20px;
}
ul.banner_area li img{
	width:100%;
	height:auto;

}
#footer{
	width:auto;
	height:100px;
	/*margin:50px 0 0 0;*/
	margin:30px 0 0 0;
	padding:5px 0 0 0;
	background:URL('../images/footer.gif') no-repeat;
    background-position-y: 25px;
}

.fixedfooterArea{
    display: block;
    z-index: 100;
    position: fixed!important;
    bottom: 0;
    left:0;
    width: 100%;
    padding: 10px 0;
    height: 45px;
    background-color: rgba(0,0,0,.3);
/*    background-color: rgba(255,255,255,0.7); */
  }
.MaincontentsB {
    width: 92%;
    margin: 0 4%;
    text-align:center;
    margin-top:10px;
}
.MaincontentsB a {
    text-decoration: none;
    background-color: transparent;
}
.btn_ow {
    width: 90%;
    margin: 2%;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 25px;
    border-radius: 5px;
    background-color: #555;
    text-align: center;
    color: #ffffff;
    box-shadow: 2px 2px 2px 1px #555;
    text-decoration: none;
    color: #FFF;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
background: #ffa670;
    background-image: -webkit-linear-gradient(45deg, #ffa670 0%, #fc5800 90%);    
    background-image: linear-gradient(45deg, #ffa670 0%, #fc5800 90%);
    transition: .4s;

}
}