@charset "utf-8";
/* CSS Document */

/* html,bodyタグの設定 */
html, body{
	margin: 0;	/* 余白の削除 */
	padding: 0;	/* 余白の削除 */
	height: 100%;	/* 縦の高さを100% */
	width: 100%;	/* 横の幅を100% */
}



/* 全体を囲う大枠 */
div#contents {
	background-image: url(../img/bg3.png);
	background-repeat: no-repeat;
	-moz-background-size:cover;
    background-size:cover;
    background-attachment: fixed;
	background-position: center center;
	position: relative;		/* フッター部の配置用に定義 */
	min-height: 100%;		/* 縦の表示領域を100% */
	min-width: 1024px;
	
	
}

/* ヘッダーの背景 */
div#header-bk { 
	background-color: rgba(0,0,0,0.50);
	padding:10px 0 0;       /* 上から10px分余白をあける */
	height:60px;           /* 縦の高さ140px */
	width:100%;             /* 横の幅を100% */
}
/* ヘッダーの表示領域 */
div#header { 
	height: 45px;  /* 縦の表示領域120px */
	width: 970px;   /* 横の幅970px */
	margin: auto;   /* 中央揃え */
}



/*メニュー*/
@import url('https://fonts.googleapis.com/css?family=Gloria+Hallelujah');
.menu {
  font-family: 'Raleway', Arial, sans-serif;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
}
.menu * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}
.menu li {
  display: inline-block;
  list-style: outside none none;
  margin: 0 1em;
  padding: 0;
}
.menu a {
  padding: 0.5em 0.5em;
  margin: 0.2em 0;
  display: block;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  text-decoration: none;
}
.menu a:before,
.menu a:after {
  height: 14px;
  width: 14px;
  position: absolute;
  content: '';
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  opacity: 0;
}
.menu a:before {
  left: 0;
  top: 0;
  border-left: 3px solid #c0392b;
  border-top: 3px solid #c0392b;
  -webkit-transform: translate(100%, 50%);
  transform: translate(100%, 50%);
}
.menu a:after {
  right: 0;
  bottom: 0;
  border-right: 3px solid #c0392b;
  border-bottom: 3px solid #c0392b;
  -webkit-transform: translate(-100%, -50%);
  transform: translate(-100%, -50%);
}
.menu a:hover,
.menu .current a {
  color: #ffffff;
}
.menu a:hover:before,
.menu .current a:before,
.menu a:hover:after,
.menu .current a:after {
  -webkit-transform: translate(0%, 0%);
  transform: translate(0%, 0%);
  opacity: 1;
}





/* ボディ */

#body{
  min-height: calc(100vh - 70px);
}
.footer {
  height: 60px;
}

/* ボディの大枠 */
div#body-bk{  
    background-color: rgba(255,255,255,0.50);
	position: relative;		/* フッター部の配置用に定義 */
	min-height: 100%;		/* 縦の表示領域を100% */
	width: 970px;       /* 横の幅970px */
	margin: auto;
	padding-bottom: 150px;   /* フッターの高さの分余白を取る */
}
 
/* ボディ */
div#body{  
	margin:0;
	padding:0;
	z-index: auto;

  min-height: calc(100vh - 70px); 
	
	/*ボディの指定があればここで*/
}

/*ページトップ*/
#pageTop {
   position: fixed;
   bottom: 20px;
   right: 20px;
 }

 

#pageTop i {
   padding-top: 6px
 }

 

#pageTop a {
  display: block;
  z-index: 999;
  padding: 8px 0 0 8px;
  border-radius: 30px;
  width: 35px;
  height: 35px;
background-image: url(../img/back_top.png)
}

 

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.7;
}



/* フッターの背景 */
div#footer-bk
{
	background-color: rgba(0,0,0,0.50);
	width:100%;               /* 横の幅を100% */
	height: 60px;            /* 縦の幅を120px */
	position: absolute;       /* 絶対位置指定することを定義 */
	bottom: 0px;              /* 絶対位置指定(左0px,下0px) */
	padding: 10px 0;          /* 上下に余白を取る */
}

/* フッターの表示領域 */
div#footer{
	height: 60px;          /* 縦幅の指定100px */
	width: 970px;           /* 横の幅970px */
	margin: auto;           /* 中央揃え */
	text-align: center;
	color: aliceblue;
}

@media screen and ( max-width:969px )
{
	#body{max-width:100vw;
		hight:auto;}
	overflow-x: scroll;
    -webkit-overflow-scrolling: touch;

}