@charset "UTF-8";
/*初期設定
----------------------------------------------------*/
body {
	min-width: 320px;
	line-height: 2em;
	color: #333;
	font-size: 1rem;
	font-family: "リュウミン M-KL";

	
}

img {
	max-width: 100%;
	height: auto;
	margin: 0px;
	padding: 0px;
}
.name {
	text-align: right;
	padding-right: 10px;
	margin-top: 1em;
	font-size: 1.2em;
	font-family: "正楷書CB1";
}

.ie8 img{
  width: auto;
}
/*clearfix*/
.clearfix {
  zoom: 1;
}
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

a {
	color: #000;
	text-decoration: none;
}
a:visited {
	color: #000;
	text-decoration: none;
}
a:hover {
	color: #FF0037;
}

.glay_center {
	background-color: #EEE;
	text-align: center;
}
.caption {
	color: #F90;
	margin: 0px;
	font-size: 1.1em;
}


/*layout
----------------------------------------------------*/
#wrapper {
	max-width: 1000px;
	margin: 0 auto;
}
header {
	margin-bottom: 1.5em;
	margin-top: 1em;
}
header h1 {
	line-height: 1.1;
	font-size: 3複数;
	font-weight: normal;
	font-family: 'Marcellus SC', serif;
	color: #000;
	text-align: center;
}

nav {
	margin-bottom: 3em;
}

nav ul {
	margin: 0;
	padding: 0;
	height: 100px;
	position: relative;
	  border-top: 1px solid #DDD;
}
nav ul li {
  float: left;
  width: 50%;
  border-bottom: 1px solid #DDD;
  letter-spacing: 0.1em;
  text-align: center;
}
nav ul li a {
  display: block;
  padding: 10px 0;
  color: #000;
  text-decoration: none;
  line-height: 3em;
}

.ie7 ul li{
  width: 49.84375%;
}
nav ul li:nth-child(odd) a {
  border-right: 1px solid #DDD;
}



.ie7 ul{
  background: #1d4000;
}
.ie7 ul li{
  width: 49.84375%;
}
.form {
	width: 100%;
	text-align: center;
	border-collapse: collapse;
	border-spacing: 10;
	border: 1px #DDD solid;
}
.form tr td {
	text-align: left;
}

.centering {
	text-align: center;
}






#content {
	margin-bottom: 3em;
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;
}

#banner {
display:none;
}


article h2 {
	line-height: 1.1;
	font-size: 1.5em;
	font-weight: bold;
	margin-top: 0.2em;
	margin-right: 0em;
	margin-bottom: 0em;
	margin-left: 0em;
}
article section {
  margin-bottom: 2em;
}
aside{
	margin-bottom: 3em;
	background: rgba(255,255,255,0.8);
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
}
.rightnavi {
	padding: 0px;
	width: 100%;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #DDD;
	border-right-color: #DDD;
	border-left-color: #DDD;
	position: relative;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	height: 100px;
}

.rightnavi_last {
	padding: 0px;
	width: 100%;
	position: relative;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	border: 1px solid #DDD;
	height: 100px;
}



aside h3 {
  margin: 0.5em 0;
  font-size: 1.5em;
  font-weight: normal;
}
aside section{
  padding: 0px;
  font-size: 0.875em;
}
  #content aside{
	width: 100%;
	text-align: center;
	margin: 0px;
	padding: 0px;
  }


footer {
	clear: both;
	background: #FFFFFF;
	color: #333;
	text-align: center;
	border-top-width: 5px;
	border-top-style: solid;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	border-top-color: #FF0037;
	position: relative;
	padding-top: 1em;
	height: 90px;
}

.fast {
	width: 100%;
	text-align: center;
	position: relative;
	z-index: 1;
  }


.footer_left {
display:none;
}
.footer_right {
	width: 100%;
	position: relative;
	line-height: 2em;
	height: 2em;
	font-size: 0.9rem; 
}
.foonter_center {
	line-height: 2em;
	height: 2em;
	width: 100%;
		font-size: 0.9rem; 
}
.footer_main {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	position: relative;
}


.banner_box {
	width: 100%;
	position: relative;
	padding: 0px;
	text-align: center;
	border: 1px solid #DDD;

}

.banner_box_r {
	width: 100%;
	position: relative;
	padding: 0px;
	text-align: center;
	border: 1px solid #DDD;
}



/*media Queries
----------------------------------------------------*/
@media only screen and (min-width: 600px) {
  header h1 {
    line-height: 1.5;
  }


nav {
	margin-bottom: 0;
}
  
  
nav ul {
	border-top: none;
}  
  
  
  nav ul li {
  width: 17%;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
    position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%); /* Safari用 */
  transform: translateY(-50%);
  
  }
  .ie7 nav ul li{
    width: 16.9166%;
	
  }
  nav ul li a {
    border-right: 1px solid #DDD;
	  line-height: 1em;
	

  }
  nav ul li:last-child a {
    border-right: none;
  }
   /*old IE*/
  nav ul li.last a{
    border-right: none;
  }
  
  #content {
	margin-bottom: 3em;
	padding-top: 0;
	padding-right: 20px;
	padding-bottom: 0;
	padding-left: 20px;
  }
  #content article{
    float: left;
    width: 65.9574%;
    /*620px(8column)/940px*/
  }
  #content aside{
    float: right;
   width: 31.9148%;
    /*300px(4column)/940px*/
  }


.fast {
	width: 32%;
	text-align: left;
	position: relative;
	float: left;
  }
 

.rightnavi {
	padding: 0px;
	width: 100%;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #DDD;
	border-right-color: #DDD;
	border-bottom-color: #DDD;
	border-left-color: #DDD;
	position: relative;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	height: 100px;
}
#wrapper #content aside section .rightnavi img {
    position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%); /* Safari用 */
  transform: translateY(-50%);
}


.rightnavi_last {
	padding: 0px;
	width: 100%;
	position: relative;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	border: 1px solid #DDD;
	height: 100px;
}

#wrapper #content aside section .rightnavi_last img {
    position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%); /* Safari用 */
  transform: translateY(-50%);
}





  
  
}
@media only screen and (min-width: 960px) {
  #content{
    padding: 0;
  }
  
.footer_left {
	display:inherit;
	float: left;
	width: 25%;
	position: relative;
	text-align: left;
	height: 72px;
	line-height: 100px;
}
.footer_right {
	float: right;
	width: 25%;
	position: relative;
	line-height: 72px;
	height: 72px;
}
.foonter_center {
	line-height: 72px;
	height: 72px;
	float: left;
	width: 50%;
}

.footer_main {
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	position: relative;
}
  
.banner_box {
	.float: left;
	width:31.9148%;
	position: relative;
	padding: 0px;
	text-align: center;
	border: 1px solid #DDD;
	float: left;
	margin-right: 1.8%;
}

.banner_box_r {
	float: right;
	width:31.9148%;
	position: relative;
	padding: 0px;
	margin: 0%;
	text-align: center;
	border: 1px solid #DDD;
}

#banner {
		display:inherit;
	margin-bottom: 3em;
}


  
  
}
.right {
	text-align: right;
}
.formarea {
	width: 100%;
	height: 100%;
}
