@charset "utf-8";
html{
    height:100%;
}
body {
	height: 100%;
	font-family: Verdana , Arial, "メイリオ"  ,Meiryo  ,"ヒラギノ角ゴPro W3" , "Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",sans-serif;
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 14px;
	color: #666666;
	line-height: 1.3;
	background-image: url(../img/bk.gif);
}
* html body {
	font-size: 88%;
	}
* html #contents{
    height:100%;
}
body > #contents {
        height: auto;
}
div, ol, ul, dl, form {
	margin: 0px;
	padding: 0px;
	}
p ,h1 ,h2 ,h3 ,h4 ,h5 ,h6, dt, dd, input, textarea {
	margin: 0px;
	padding: 0px;
	font-size: 100%;
	}
em {
	font-style: normal;
	font-weight: bold;
	}
th, td {
	margin: 0px;
	padding: 0px;
	line-height: normal;
	font-weight: normal;
	}
a {
	text-decoration: none;
}
a img {
	border: none;
	}
li {
	list-style-type: none;
}
img {
	border: 0px;
	vertical-align: bottom;
}
.clearfix:after {
	font-size: 1px;
	content: ".";
	display: block;
	height: 0px;
	clear: both;
	}
.clearfix {
	zoom: 1;
	}
.left{
	float:left;
	}
.right {
	float:right;
	}

#contents {
	position:relative;
	min-height: 100%;
	width: 100%;
}
header {
	width: 960px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 5px;
	display: block;
	text-align: left;
	height: 100px;
	position: relative;
}
header #logo {
	float: left;
	padding-top: 10px;
}
header #upper-navi {
	padding-top: 7px;
	text-align: center;
	background-color: #FFCCCC;
	position: absolute;
	top: 0px;
	right: 0px;
	width: 330px;
	padding-bottom: 7px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	font-size: 10pt;
}
header #upper-navi li {
	display: inline;
	padding-right: 10px;
	padding-left: 10px;
}
header #upper-navi li a {
	color: #333;
}
header #upper-navi li a:hover {
	color: #666;
}
#menu {
	text-align: right;
	position: absolute;
	bottom: 10px;
	right: 0px;
}

#menu li{
	float: left;
	display: block;
	background-image: url(../img/menu-icon.png);
	background-repeat: no-repeat;
	background-position: 2px;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 40px;
}
#menu li a{
	color: #0C2646;
	display:block;
}
#menu li a span {
	font-size: 8px;
	font-weight: normal;
}
#main {
	padding-bottom: 180px;
	height: 100%;
	min-height: 100%;
	width: 960px;
	margin-right: auto;
	margin-left: auto;
	display: block;
	text-align: left;
	background-color: #FFF;
	border-radius:10px;
	}
footer {
	position: absolute;
	bottom: 0px;
	width: 100%;
	display: block;
	height: 130px;
	text-align: left;
	left: 0px;
	border-top: 30px solid #EAF0F1;
	background-color: #FFF;
}

footer #upper {
	width: 960px;
	margin-right: auto;
	margin-left: auto;
	height: 75px;
	padding-top: 20px;
}
footer #upper address {
	font-style: normal;
}

footer  #upper  dl  {
	float: left;
	padding-top: 10px;
	padding-left: 20px;
}
footer  #upper  #emblem dd {
	float: left;
}
footer #upper dl dt  {
	font-size: 0.9em;
}
footer #upper img {
	padding-right: 30px;
}

footer #bottom {
	text-align: center;
	font-family: "Gentium Basic";
	font-weight: normal;
	padding-top: 3px;
	height: 22px;
	position: absolute;
	bottom: 0;
	width: 100%;
}
footer #bottom p{
	float: left;
	padding-left: 80px;
	font-size: 1.2em;
}
footer #bottom ul{
	float: right;
	padding-right: 80px;
}
footer #bottom li {
	display: inline;
	text-align: center;
}
footer #bottom a {
	background-image: url(../img/footer_icon.gif);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 15px;
	margin-left: 10px;
	color: #171C61;
	text-decoration: none;
}
#b-menu {
	display:none;
}
/*===============================================
画面の横幅が960pxまで
===============================================*/
@media screen and (max-width: 960px) {
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
img {
	max-width: 100%;
	height: auto;
	width /***/: auto;　
}
#contents,
header,
#main,
footer #upper {
	width: 100%;
}
header #logo {
	width: 30%;
}
header .right {
	width: 100%;
}

footer  #upper  dl
  {
	  padding-top: 0px;
	width:45%;
}
footer  #upper  dl .uniho
  {
	width:60%;
}
footer  #upper  dl .zen
  {
	width:25%;
}

footer #b-menu {
	display:none;
}
}
/*===============================================
画面の横幅が767pxまで
===============================================*/
@media screen and (max-width: 767px) {
header #logo {
	width:20%;
}
#menu {
	margin-left:0%;
}

#main {
	padding-bottom: 0;
}
footer {
	height: auto;
	position:static;
}
footer #upper{
	height: auto;
}
footer  #upper  dl {
	float:none;
	width:100%;
	padding-bottom:10px;
}
footer #bottom {
	font-size:0.9em;
	height: auto;
	position:static;
}
footer #bottom p,
footer #bottom ul {
	float:none;
	text-align:center;
	padding-left: 5%;
	padding-right: 5%;
	margin:0 auto;
}
footer #b-menu {
	display:block;
}
footer #b-menu ul li{
	float:left;
	width: 50%;
	font-size: 0.9em;
	border-bottom:1px solid #CCC;
}
footer #b-menu ul li a{
	display:block;
	color:  #0C2646;
	background-image: url(../img/link.gif);
	background-repeat: no-repeat;
	background-position: 5px center;
	padding:5px 5px 5px 20px;
}
footer #b-menu ul li a:hover{
	color: #1E60B0;
}
}
/*===============================================
 画面の横幅が480pxまで
 ===============================================*/
@media screen and (max-width: 480px) {
header {
	height: 250px;
}
header #logo {
	width: 100%;
	text-align:center;
	float:none;
	padding:50px 0px 0px 0px;
}
header .right {
	width: 100%;
	float:none;
}
header #upper-navi{
	padding-top:10px;
	width:100%;
	text-align:center;
	font-size:0.9em;
}

#menu {
	top: 150px;
	width: 100%;
	left: 10%;
	
}
#menu ul li{
	width:50%;
	text-align:left;
	padding-bottom:10px;
}
footer  #upper  dl
  {
	width:90%;
	padding-left: 5%;
}
}
/*===============================================
 画面の横幅が320pxまで
 ===============================================*/
@media screen and (max-width:320px) {
header #upper-navi {
	font-size:0.75em;
}
#menu {
	left: 5%;
	
}
}
