@charset "utf-8";

/*pc
----------------------------------------------------------------------------------------------*/

header{
	margin: 0 auto;
	padding: 0 0 0 0;
	}
	header .inner{
		width: 980px;
		margin: 0 auto;
		padding: 15px 0;
		}
	header h1{
		float: left;
		margin-right: 40px;
		}
		header h1 img{
			width: 180px;
			height: auto;
			}
	header nav{
		padding-top: 15px;
		float: left;
		}
		header nav ul li{
			float: left;
			}
		header nav ul li span{
			  padding: 0 15px;
			}
		header nav ul li a{
			font-size: 1.0em;
			text-decoration: none;
			}
		header nav ul li a:hover{
			text-decoration: underline;
			}
      header img{
        width: 100%;
        height: auto;
      }



/* footer --------------------------------------------------*/

footer{
	padding: 15px 0 15px 0;
	}
	footer #footerIn{
		width: 980px;
		margin: 0 auto;
		padding: 0 0 0 0;
		}
		footer #footerIn p{
			width: 180px;
			float: left;
			}
			footer #footerIn ul{
				margin-left: 40px;
				padding-top: 15px;
				float: left;
				}
			footer #footerIn ul li a{
				display: inline;
				text-decoration: none;
				font-size: 1.0em;
				}
				footer #footerIn ul li a:hover{
					text-decoration: underline;
					}
				footer #footerIn ul li span{
					padding: 0 15px;
					}
				footer #footerIn small{
					padding-top: 20px;
					font-size: 0.9em;
					display: block;
					text-align: center;
					}
          footer img{
            width: 100%;
            height: auto;
          }

#pageTop{
	width: 50px;
	position: fixed;
	bottom: 20px;
	right: 20px;
	}
  #pageTop img{
    width: 100%;
    height: auto;
  }


/*pc end
----------------------------------------------------------------------------------------------*/


/*sp
----------------------------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {

header{
	margin: 0 auto;
	padding: 0 0 0 0;
	position: relative;
	}
	header .inner{
		width: 100%;
		margin: 0 auto;
    padding: 15px 0;
		}
	header h1{
		float: none;
		text-align: center;
		margin-right: 0;
		}
		header h1 img{
			width: 180px;
			height: auto;
			}
	header #menuBtn{
		position:absolute;
		top: 20px;
		right: 15px;
		width: 26px;
		height: 24px;
		background: url(../images/bg_menu.png) 0 0 no-repeat;
		background-size: 26px 24px;
		}
		header #menuBtn.active img{
			display: none;
			}
	header nav{
		display: none;
		padding-top: 0;
		float: none;
		position: absolute;
		top: 66px;
		background: url(../images/bg_overlay.png) 0 0 repeat;
		z-index: 9999;
		left: 0;
		width: 100%;
		}
		header nav.active{
			display: block;
			}
		header nav ul li{
			float: none;
			}
		header nav ul li span{
			  padding: 0;
			  display: none;
			}
		header nav ul li a{
			font-size: 0.9em;
			text-decoration: none;
			display: block;
			padding: 10px;
			border-bottom: 1px solid #FFF;
			color: #FFF;
			}
		header nav ul li:last-child a{
			border-bottom: 0;
			}
		header nav ul li a:hover{
			text-decoration:none;
			color:#fff;
			}



/* footer --------------------------------------------------*/

footer{
	padding: 0 0 15px;
	}
	footer #footerIn{
		width: 100%;
		margin: 0 auto;
		padding: 0;
		}
		footer #footerIn p{
			width: 100%;
			float: none;
			padding-top: 15px;
			text-align: center;
			}
			footer #footerIn p img{
				width: 180px;
				height: auto;
				}
			footer #footerIn ul{
				padding-top: 0;
				background: #FFF;
				padding: 15px 0;
				float: none;
				text-align: center;
				}
			footer #footerIn ul li{
				display: inline;
				}
			footer #footerIn ul li a{
				display: inline;
				text-decoration: none;
				font-weight: bold;
				color: #333;
				}
				footer #footerIn ul li span{
					padding: 0 5px;
					color: #333;
					}
				footer #footerIn small{
					padding-top: 15px;
					display: block;
					font-size: 0.9em;
					text-align: center;
					}

#pageTop{
	width: 40px;
	position: fixed;
	bottom: 15px;
	right: 15px;
	}

} /* @media screen and (max-width: 768px) */


/*sp end
----------------------------------------------------------------------------------------------*/
