@charset "utf-8";
/* CSS Document */
*{
	margin: 0;
	padding: 0;
} 
body {
	line-height: 1.7;
	font-size: 15px;
	color: #000;
	font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
}
@media all and (-ms-high-contrast: none){
  body{
	font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
  }
}
img{
	vertical-align:bottom;
	width: 100%;
	height: auto;
}
h1,h2,h3,h4,h5{
	font-size:100%;
	font-weight: normal; 
}
ul{
	list-style-type: none;
}
a{
	text-decoration: none;
}
address{
	font-style: normal;
}
#wrap{
	max-width: 768px;
	margin: 0 auto;
	background-color:#f2ede7;
}
/*ヘッダー-------------------------*/
header{
}
#page-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
	z-index: 99;
}
#page-top a img{
	height: auto;
	width:100px;
}
/*navgation------------------------------------------------------------*/
#home{
	width: 100%;
	margin: 0 auto;
	height: 30px;
	text-align: center;
	position: relative;
}
.logo{
	width: 174px;
	text-align: center;
	display: block;
	padding-top: 20px;
	padding-left: 10px;
	
}
.inner {
	margin: 0 auto;
}
/* header */
#top-head {
	top: -100px;
	position: absolute;
	width: 100%;
	margin: 100px auto 0;
	padding: 30px 0 0;
	line-height: 1;
	z-index: 999;
}
#top-head a,
#top-head {
	color: #FFF;
	text-decoration: none;
}
#global-nav ul {
	list-style: none;
	position: absolute;
	right: 0;
	bottom: 0;
}
#global-nav ul li {
	float: left;
}
#global-nav ul li a {
	padding: 0 30px;
	font-size: 14px;
}
/* Fixed */
#top-head.fixed {
	margin-top: 0;
	top: 0;
	position: fixed;
	padding-top: 10px;
	height: 55px;
	background: #fff;
	background: rgba(255,255,255,.7);
	transition: top 0.65s ease-in;
	-webkit-transition: top 0.65s ease-in;
	-moz-transition: top 0.65s ease-in;
}
/* Toggle Button */
#nav-toggle {
	position: absolute;
	right: 10px;
	top: 20px;
	width: 45px;
	height: 36px;
	cursor: pointer;
	z-index: 101;
}
#nav-toggle div {
	position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	background: #fff;
	left: 0;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
	top: 0;
}
#nav-toggle span:nth-child(2) {
	top: 11px;
}
#nav-toggle span:nth-child(3) {
	top: 22px;
}

#top-head,
.inner {
	width: 100%;
	max-width:768px;
	min-width:320px;
	padding: 0;
}
#top-head {
	top: 0;
	position: fixed;
	margin-top: 0;
}
/* Fixed reset */
#top-head.fixed {
	padding-top: 0;
	background: transparent;
}
#mobile-head {
	background-image: url(../img/header.jpg);
	background-position:left top;
	background-repeat: no-repeat;
	background-size:cover;
	width: 100%;
	height: 60px;
	z-index: 9998;
	position: relative;
}
#global-nav {
	position: absolute;
/* 開いてないときは画面外に配置 */
	top: -530px;
	background: #fff;
	width: 100%;
	text-align: center;
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}
#global-nav ul {
	list-style: none;
	position: static;
	right: 0;
	bottom: 0;
	font-size: 16px;
}
 #global-nav ul{
    width: 90%;
    padding: 5%;
    overflow-x: auto;
  }
#global-nav ul li {
	float: none;
	position: static;
}
#top-head #global-nav ul li a,
#top-head.fixed #global-nav ul li a {
	width: 100%;
	display: block;
	color: #000;
	background: #fff;
	padding: 20px 0;
	letter-spacing: 2px;
}
#top-head #global-nav ul li a:hover,
#top-head.fixed #global-nav ul li a:hover{
	color: #000;
	background-color: #fff;
}
#nav-toggle {
	display: block;
}
/* #nav-toggle 切り替えアニメーション */
.open #nav-toggle span:nth-child(1) {
	top: 11px;
	-webkit-transform: rotate(315deg);
	-moz-transform: rotate(315deg);
	transform: rotate(315deg);
}
.open #nav-toggle span:nth-child(2) {
	width: 0;
	left: 50%;
}
.open #nav-toggle span:nth-child(3) {
	top: 11px;
	-webkit-transform: rotate(-315deg);
	-moz-transform: rotate(-315deg);
	transform: rotate(-315deg);
}
/* #global-nav スライドアニメーション */
.open #global-nav {
/* #global-nav top + #mobile-head height */
	-moz-transform: translateY(590px);
	-webkit-transform: translateY(590px);
	transform: translateY(590px);
}
#global-nav {
		max-height: 90vh;
		overflow: scroll;
		top: -730px;
		background: #fff;
		overflow-x:hidden;
		overflow-y:auto;
}
.open #global-nav {
/* #global-nav top + #mobile-head height */
		-moz-transform: translateY(790px);
		-webkit-transform: translateY(790px);
		transform: translateY(790px);
}
/*フッター-------------------------*/
#footer{
	background-image: url(../img/../img/footer_bg.jpg);
	background-repeat:no-repeat;
	background-position: left top;
	background-size:cover;
	padding:40px 0 0 0;
	text-align: center;
	color:#fff;
	font-size:0.9rem;
}
#footer figure{
	width:30%;
	margin:auto;
	margin-bottom:30px;
}
#footer #copyright{
	padding:10px;
	margin-top:25px;
}
#footer #copyright a{
	color:#fff;
}
.clearfix::after{
	clear:both;
	content:".";
	visibility:hidden;
	display:block;
	height:0;
}
/*ここからスマホ用（700px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 700px){
#page-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
	z-index: 99;
}
#page-top a img{
	height: auto;
	width:70px;
}
#footer #copyright{
	padding-bottom:100px;
}
}
