/* */
@font-face {
font-family: "YuGothic M";
src: local("Yu Gothic Medium"),
     local("Yu Gothic");
font-weight: 500;
}

*{
letter-spacing: 0.2em;
font-size: 18px;
line-height: 2em;
/*  英数字はHelvetica、日本語は游ゴシックが適用される。 */
font-family: Helvetica , "游ゴシック", sans-serif;
}
body{
width: 100%;
margin: 0;
background-size:cover;
}
img{
max-width: 100%;
height: auto;
}
ul{
margin: 0;
}
p{
margin: 0;
padding: 0;
}
a{
color: #333;
}
a:hover{
color: #333;
opacity: 0.8;
}
a:visited{
color: #333;
}

/*Navbar pc*/
.navbar{
 padding: 0 10em;
 text-align: center;
}
.nav-link {
    display: block;
    padding:0;
  }
.navbar a{
 text-decoration: none;
 color: #ffffff;
 font-weight: bold;
}
.navbar a:hover {
 text-decoration: none;
 color: #ffffff;
 font-weight: bold;
 filter: alpha(opacity=50);
 -moz-opacity: 0.5;
 opacity: 0.5;
}
.navbar span{
 color: #ffffff;
 font-weight: bold;
 font-size: 25px;
}
.line{
  background-color:#fff;
  height: 20px;
}

/*Navbar sp*/
#nav-drawer {
 position: relative;
 margin-left: 0;
 margin-top: 0;
 padding: 10px;
 text-align: right;
}
/*チェックボックス等は非表示に*/
.nav-unshown {
 display: none;
}
/*アイコンのスペース*/
#nav-open {
 display: inline-block;
 top: 40px;
 right: 20px;
 width: 30px;
 height: 12px;
 vertical-align: middle;
}
/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
 position: absolute;
 height: 3px;/*線の太さ*/
 width: 25px;/*長さ*/
 border-radius: 3px;
 background: #fff;/*線の色*/
 display: block;
 content: '';
 cursor: pointer;
}
#nav-open span:before {
 bottom: -8px;
}
#nav-open span:after {
 bottom: -16px;
}
/*閉じる用の薄黒カバー*/
#nav-close {
 display: none;/*はじめは隠しておく*/
 position: fixed;
 z-index: 99;
 top: 0;/*全体に広がるように*/
 left: 0;
 width: 100%;
 height: 100%;
 background: black;
 opacity: 0;
 transition: .3s ease-in-out;
}
/*中身*/
#nav-content {
 overflow: auto;
 position: fixed;
 top: 0;
 right: 0;
 z-index: 9999;/*最前面に*/
 width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
 max-width: 330px;/*最大幅（調整してください）*/
 height: 100%;
 background: #87cefa;/*背景色*/
 transition: .3s ease-in-out;/*滑らかに表示*/
 -webkit-transform: translateX(130%);
 transform: translateX(130%);/*左に隠しておく*/
}
/*チェックが入ったらもろもろ表示*/
#nav-input:checked~#nav-close {
 display: block;/*カバーを表示*/
 opacity: .5;
}
#nav-input:checked~#nav-content {
 -webkit-transform: translateX(0%);
 transform: translateX(0%);/*中身を表示（右へスライド）*/
 box-shadow: 6px 0 25px rgba(0, 0, 0, .15);
 z-index: 9998;
}
/*ハンバーガーメニューの中身もろもろ*/
.hamburger-top {
 position: relative;
 text-align: center;
 padding: 2.5px;
 font-size: 22px;
 font-weight: bold;
 text-align: center;
 letter-spacing: 5px;
 color: #fff;
}
.humburger-top .cancel{
 display: inline-block;
 padding: 10px 3px;
}
.cancel {
 display: inline-block;
 position: absolute;
 cursor: pointer;
 top: 10px;
 right: 20px;
 width: 5px;
 height: 30px;
 background: #fff;
 transform: rotate(45deg);
 z-index: 99;
}
.cancel:before {
 display: block;
 content: "";
 position: absolute;
 top: 50%;
 left: -13px;
 width: 31px;
 height: 5px;
 margin-top: -3px;
 background: #fff;
}
.menu-container{
 padding: 5px 10px;
 color: #fff;
}
.menu-container li {
 float: none;
 font-size: 15px;
 padding: 10px 15px 10px 15px;
 list-style: none;
 text-align: center;
}
.menu-container li img{
 width: 80%
}
.menu-container li:last-child {
 border: none;
}
.menu-container li a {
 text-decoration: none;
 color: #fff;
 font-weight: bold;
}
.menu-container li a:hover {
 text-decoration: none;
 color: #ffffff;
 font-weight: bold;
 filter: alpha(opacity=70);
 -moz-opacity: 0.7;
 opacity: 0.7;
}

/*logo*/
#logo{
 padding-top: 3em;
 margin-bottom: 3em;
 text-align: center;
}

/*contents*/
.contents{
 margin-top: 3em;
 margin-bottom: 3em;
}

/*howto*/
#howto{
 position: relative;
}
#howto .button_download{
 position: absolute;
 bottom: 9.5%;
 text-align: center;
}
#howto .button_download img{
 width: 60%;
}
/*attention*/
#attention .contentBox {
 margin: 0 auto;
 background: url(../img/haikei2.png) repeat-y 50% 10% ;
 background-size: 100% auto;
}
#attention p {
 text-align: center;
 margin: -2px auto;
}
#attention .contentBox p {
 margin: 0 auto;
 width: 90%;
 padding: 3px;
 text-align: left;
}
#attention .contentBox div{
 width: 90.5%;
 margin: 0 auto;
 background: #fcf8da;
 z-index: 9997;
}
#attention .top img {
 vertical-align: bottom;
}

/*footer*/
footer{
 text-align: center;
 padding-top: 3em;
}

@media screen and (min-width:1000px) { /*pc*/
/*Navbar sp*/
 .sp{
  display: none!Important;
 }
}

@media screen and (min-width:750px) and (max-width:1000px) { /*tablet*/
/*Navbar pc*/
.navbar{
 padding: 0 5em;
}

/*Navbar sp*/
 .sp{
  display: none!Important;
 }
}

@media screen and (max-width:749px) { /*sp*/
 *{
  line-height: 2em;
  font-size:15px;
 }

 /*Navbar pc*/
  .pc{
   display: none!Important;
  }
  /**logo*/
  #logo{
   padding-top: 1em;
   margin-bottom: 1em;
   text-align: center;
  }

  /*howto*/
  #howto .button_download{
   left: -3px;
  }

  /*contents*/
  .contents{
   margin-top: 2em;
   margin-bottom: 2em;
  }

  /*attention*/
  #attention .contentBox {
   margin: 0 auto;
   background: url(../img/haikei2.png) repeat-y 50% 10% ;
   background-size: 100% auto;
  }
  #attention p {
   text-align: center;
   margin: -2px auto;
  }
  #attention .contentBox p {
   margin: 0 auto;
   width: 90%;
   padding: 3px;
   text-align: left;
  }
  #attention .contentBox div{
   width: 90.5%;
   margin: 0 auto;
   background: #fcf8da;
   z-index: 9997;
  }
  #attention .top img {
   vertical-align: bottom;
  }

  /*footer*/
  footer{
   text-align: center;
   padding-top: 3em;
  }
}
