﻿/*-------------------------------

   COMMON CSS

--------------------------------*/
body {
	width: 100%;
	height: 100%;
	background: #fff;
	color: #333;
	margin: 0;
	padding: 0;
	line-height: 0;
	font-family: " メイリオ",Meiryo,Osaka," ヒラギノ角ゴ ProW3","Hiragino Kaku Gothic Pro"," ＭＳ Ｐゴシック","MSPGothic",sans-serif;
}
img, a img {
	border-style: none;
	margin: 0;
	padding: 0;
}

.contents {
	max-width: 760px;
	margin: 0 auto;
	padding: 0px 50px 0 50px;
	line-height: 0;
}
h2 {
	clear: both;
	letter-spacing: 0.4em;
	font-size: 120%;
	line-height: 100%;
	color: #273E5F;
	margin: 25px 0px 20px 0px;

	letter-spacing: 0.1em ;
}

.responsive {
	max-width:100%;
	height:auto;
}

/* header logo & tel
------------------------------------------- */
#header {
	height: 59px;
	background: #0F3055;
	margin: 0 auto;
	padding: 9px 0px 0 0;
	line-height:130%;
}
#head {
	max-width: 780px;
	margin: 0 auto;
}

#head h1 {
	margin: 0;
	padding-left: 2%;
	float: left;
	width: 35%;
}

#address {
	float: left ;
	text-align: right;
	margin: 0;
	padding: 5px 0px 0 0;
	color: #c9c9c9;
	font-size: 11px;
	list-style: none;

}

.tel {
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	font-weight: 400;
	letter-spacing: 0.12em;
	color: #A9C8DE;
}
.tel a {
	color: #A9C8DE;
	text-decoration: none;
}

@media only screen and (min-width: 631px) {
  #address {
    padding-right: 2%;
    width: 61%;
  }
  #bread {
    width: 97%;
  }
}
	
@media only screen and (max-width: 630px) {
  .contents {
    padding: 0;
  }
  #head h1 {
    width: 94%;
    margin: 0;
  }
  #address {
    width: 100%;
    margin-top: 8px;
    padding-top: 9px;
    padding-left: 0;
    font-size: 11px;
    text-align: center;
    /*border-bottom: 1px solid #ddd;*/
    line-height: 210%;
    color: #444;
  }
  .tel {
    font-size: 20px;
    text-align: center;
    padding-bottom: 10px;
    color: #689AB7;
  }
  .tel a {
    color: #689AB7;
  }
  #menu li{
    border-top: 1px solid #ddd;
    font-size: 12px;
    line-height: 160%;
    background: #fff ;
  }
  #menu li a, #menu li.current{
    height: 20px;
  }
  #menu li a {
    border-bottom: 3px solid #ccc;
  }

  #menu li:last-child {
    width: 25%;
    background: #fff;
  }
  #bread {
    width: 97%;
  }
  .foot-menu {
  	padding-top: 0px;
  }
  .foot-menu ul {
    background: #0F3055;
  }
  .foot-menu ul li {
    width: 100%;
    border-top: 1px solid #002032;
    border-right: none;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .foot-menu ul li:first-child {

    border-top: none;

  }
  .footer-inner #address {
    border: none;
  }
  #footer {
	padding: 20px 0 0 ;
	height: 230px;
  }
}

/* main navigation menu
------------------------------------------- */
#menu {
	position: relative;
	clear: both;
	max-width: 780px;
	margin: 0 auto;
	padding: 0;
	line-height: 150%;
	z-index: 2;
}

#menu li {
	width: 25%;
	color: #000;
	font-weight: bold;
	margin: 0;
	padding: 0;
	text-align: center;
	display: block ;
	float: left ;
	background: #fff;
}
#menu li:last-child {
	width: 24.8%;
}

#menu li a {
	color: #000;
	padding-top: 30px;
	padding-bottom: 23px;
	text-decoration: none;
	cursor: pointer;
	display: block ;
}
#menu li a:hover {
	color: #689AB7;
	border-bottom: 3px solid;
}
#menu li.current {
	padding-top: 30px;
	padding-bottom: 23px;
	cursor: default;
	display: block ;
	border-bottom: 3px solid;
} 


/* BREAD SUB MENU 
------------------------------------------- */
#bread {
	position: relative;
	width: 100%;
	padding: 6px 0 14px 0 ;
	font-size: 14px ;
	line-height: 100%;
	z-index: 1;
	background: #e9e9e9;
}
#bread ul {
	margin: 0 auto;
	padding: 0;
	max-width: 780px;
}
#bread li {
	margin-top: 10px;
	margin-left: 0;
	float: left;
	list-style: none;
	padding: 6px 15px 6px 15px ;
	display: block;
	border-right: 1px solid #ccc; /* 区切り線 */
}
#bread li:last-child {
	border: none;
}
#bread li a {
	color: #333;
}
#bread li a:hover {
	color: #999;
}

/* foot-menu
-------------------------------------*/
.foot-menu {
	padding-top: 50px;
	width: 100%;
	height: 110px;
	background: #fff url(../img/footmenu_bg.png) center top;
}
.foot-menu ul {
	position: relative;
	clear: both;
	max-width: 780px;
	margin: 0 auto;
	padding: 0 0 0 0%;
	line-height: 150%;
	z-index: 2;
}

.foot-menu li {
	width: 24.8%;
	color: #fff;
	font-weight: bold;
	margin: 0;
	text-align: center;
	display: block ;
	float: left ;
	background: #0F3055;
	border-right: 1px solid #002032;
	padding-top: 15px;
	padding-bottom: 13px;
}
.foot-menu li:last-child {
	border-right: none;
}

.foot-menu li a {
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	display: block ;
}
.foot-menu li a:hover {
	color: #689AB7;

}
.foot-menu li.current {
	color: #fff;
	cursor: default;
	display: block ;

} 


/* FOOTER ------------------------------------------- */

#footer {
	position: relative;
	width: 100%;
	clear: both;
	background: #0F3055 url(../img/footer_bg.png)top ;
	padding-bottom: 20px;
	z-index: 500;
	line-height: 28px
}
.footer-inner {
	margin: 0 auto;
	padding: 60px 0 0px 0 ;
	max-width: 460px;
	line-height: 28px;
	text-align: center ;
}
.footer-inner h1 {
	margin: 0 0 0 -7px;
}
.footer-inner #address {
	width: 100%;
	text-align: center;
	margin: 0;
	padding: 7px 0 0 0;
	color: #444444;
	font-size: 11px;
	list-style: none;
}
.footer-inner .tel {
	margin-top: -5px;
	font-size: 20px;
	color: #689AB7;
}
.footer-inner .tel a {
	color: #689AB7;
}
#footer #copyright{
	clear: both;
	font-family: "Roboto", sans-serif;
	font-size: 12px;
	font-weight: 900;
	color: #273E5F;
	text-align: center;
	padding: 15px 0 0 0;
}

/*  to page-top button
--------------------------- */
#page-top{
	display:none;
	position:fixed;
	right:20px;
	bottom:20px;
	z-index: 6000;
}
#page-top p {
	margin:0;
	padding: 0;
	text-align:center;
}
#page-top p:hover {

}
 
#move-page-top {
	color:#fff;
	line-height:100%;
	text-decoration:none;
	display:block;
	cursor:pointer;
}

/* clearfix ---------------------------------------- */
.clearfix:after{
    content:".";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
}

.clearfix{
    display:inline-block;
    min-height:1%;  /* for IE 7*/
}