body {
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
    font-size: 98%;
    margin: auto;
    line-height: 1.5;
    box-sizing: border-box;
    height: 100%;
    position: relative;
}

a:link,
a:visited,
a:hover,
a:active {color:black;}

a {
    text-decoration: none;
}

*, *::before, *::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box; 
}

.page-top a:link,
.page-top a:visited,
.page-top a:hover,
.page-top a:active {color:white;}


footer {
    width: 100%;
    background: #4f535c;
    text-align: center;
    padding: 20px 0;
    font-size: 120%;
    color: white;
    position:absolute;
    bottom:0;
}

footer a:link,
footer a:visited,

footer a:active {color:white;}

footer a:hover{
  opacity: .8;
}

footer a{
    text-decoration: none;
}


@media screen and (min-width:769px) {
    .wrapper {
        max-width: 1280px;
        margin: 0 auto;
        height: auto;
        
    }

    header {
      max-width: 1280px;
    }
    #tenpo {
      margin-top: -100px;
      padding-top: 100px;
    }

    .page-top {
      height: 100px;
      margin: 0 auto;
      padding: 0;
      position: fixed;
      z-index: 500;
      width: 100%;
      background: white;
  }
  
  .page-logo {
      float: left;
      width: 100px;
      position: fixed;
      z-index: 600;
  }
  
  
  .page-logo img{
      width: 100%;
      height: 100px;
      object-fit: cover;
  }
  
  .page-title {
      position: absolute;
      float: left;
      padding: 20px 0 0 10px;
      font-weight: bold;
      font-size: 200%;
      bottom: 20px;
      left: 120px;
  }


  .menu-trigger {
    display: inline-block;
    width: 36px;
    height: 28px;
    vertical-align: middle;
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 28px;
    z-index: 100;
  /*   transform: translateX(0);
    transition: transform .5s;
   */}
  /* .menu-trigger.active {
    transform: translateX(-250px);
  }
   */.menu-trigger span {
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #000;
    transition: all .5s;
  }
  .menu-trigger.active span {
    background-color: #000;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger.active span:nth-of-type(1) {
    transform: translateY(12px) rotate(-45deg);
  }
  .menu-trigger span:nth-of-type(2) {
    top: 12px;
  }
  .menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }
  .menu-trigger.active span:nth-of-type(3) {
    transform: translateY(-12px) rotate(45deg);
  }
  
  .global-nav {
    width: 250px;
    height: 100%;
    padding-top: 0px;
    background-color: #E41E26;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    transform: translate(250px);
    transition: all .5s;
    text-align: cenger;
  }
  .global-nav.open {
    transform: translateZ(0);
  }
  .global-nav ul{
    padding-top: 100px;
  }
  .global-nav li {
    font-size: 100%;
    text-align: left;
    padding: 10px  20px;
    font-weight: bold;
    color: white;
  }

  .ol {
    font-size: 95%;
    font-weight: normal;
    padding-left: 4px;
  }

  .menu-trigger {
    transform: translateX(0);
  }
  .menu-trigger.active {
    display: none;
  }

  .overlay {    
    text-align: center;
    width: 60px;
    padding: 16px 0 0;
    position: fixed;
    right: 12px;
  }

  .overlay img{
    width: 100%;
  }
  .sp {display: none;}
}


@media (max-width: 768px) {
    /*スマホと縦向きタブレット用*/
    
    .wrapper {
        width: 100%;
    }

    #tenpo {
      margin-top: -50px;
      padding-top: 50px;
    }
      .menu-trigger {
        display: inline-block;
        width: 36px;
        height: 28px;
        vertical-align: middle;
        cursor: pointer;
        position: absolute;
        top: 10px;
        right: 3px;
        z-index: 1000;
      /*   transform: translateX(0);
        transition: transform .5s;
       */}
      /* .menu-trigger.active {
        transform: translateX(-250px);
      }
       */.menu-trigger span {
        display: inline-block;
        box-sizing: border-box;
        position: absolute;
        left: 0;
        width: 100%;
        height: 4px;
        background-color: #000;
        transition: all .5s;
      }
      .menu-trigger.active span {
        background-color: #fff;
      }
      .menu-trigger span:nth-of-type(1) {
        top: 0;
      }
      .menu-trigger.active span:nth-of-type(1) {
        transform: translateY(12px) rotate(-45deg);
      }
      .menu-trigger span:nth-of-type(2) {
        top: 12px;
      }
      .menu-trigger.active span:nth-of-type(2) {
        opacity: 0;
      }
      .menu-trigger span:nth-of-type(3) {
        bottom: 0;
      }
      .menu-trigger.active span:nth-of-type(3) {
        transform: translateY(-12px) rotate(45deg);
      }
      
      .global-nav{
        width: 250px;
        height: 100%;
        padding-top: 60px;
        background-color: #E41E26;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 500;
        transform: translate3d(250px,0,0);
        transition: all .5s;
      }
      .global-nav.open {
        transform: translate3d(0,0,0);
      }
      .global-nav li {
        font-size: 90%;
        text-align: left;
        padding: 10px  20px;
        font-weight: bold;
        color: white;
      }

      .ol {
        font-size: 80%;
        font-weight: normal;
        padding-left: 4px;
      }

      .menu-trigger {
        transform: translate3d(0,0,0);
      }

      .page-top {

        height: 50px;
        margin: 0;
        width: 100%;
        position: fixed;
        z-index: 300;
        background: white;
        
    }
    
    .page-logo {
        float: left;
        width: 50px;
        z-index: 600;
        position: fixed;
    }
    
    
    .page-logo img{
        width: 100%;
        height: 50px;
        object-fit: cover;
    }
    
    .page-title {
        position: absolute;
        float: left;
        font-weight: bold;
        font-size: 120%;
        top: 10px;
        bottom: 0;
        right: 0;
        left: 0;
        text-align: center;
    }
    .pc {
      display: none;
    }

}
