@charset "UTF-8";
/* Scss Document */
/* CSS Document */
#top-head {
  display: none;
}

@media screen and (max-width: 480px) {
  /* header */
  #top-head {
    display: block;
    top: 0px;
    position: fixed;
    width: 100%;
    margin: 0 auto 0;
    padding: 0;
    line-height: 1;
    z-index: 20000;
  }

  #global-nav {
    position: absolute;
    /* 開いてないときは画面外に配置 */
    top: -700px;
    background: rgba(46, 167, 224, 0.9);
    width: 100%;
    text-align: center;
    padding: 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
  }

  #global-nav img {
    width: auto;
  }

  #global-nav ul {
    list-style: none;
    position: static;
    font-size: 1.5em;
    padding: 120px 0 0;
    display: inline-block;
    text-align: left;
  }

  #global-nav ul li {
    line-height: 2.5;
    border-top: 1px solid #fff;
  }
  #global-nav ul li:last-child {
    border-bottom: 1px solid #fff;
  }

  #global-nav ul li a {
    width: 100%;
    display: block;
    padding: 0;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
  }
  #global-nav ul li a:hover {
    text-decoration: none;
  }
  #global-nav ul li a div {
    width: 100%;
    border-radius: 0.5em;
    padding: 0 1.5em;
    box-sizing: border-box;
  }

  /* Fixed */
  #mobile-head {
    width: 100%;
    height: 80px;
    z-index: 999;
    position: relative;
    background: #fff;
  }
  #mobile-head .h1 {
    width: 329px;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Toggle Button */
  #nav-toggle {
    position: absolute;
    box-sizing: border-box;
    padding: 10px 14px 0;
    right: 10px;
    top: 10px;
    width: 60px;
    height: 60px;
    background: #2ea7e0;
    cursor: pointer;
    z-index: 101;
  }

  #nav-toggle div.span {
    position: relative;
    width: 100%;
  }
  #nav-toggle div.ham_menu {
    position: absolute;
    left: 6px;
    bottom: 5px;
    width: 48px;
  }

  #nav-toggle span {
    position: absolute;
    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) {
    height: 4px;
    width: 100%;
    background: #fff;
    top: 0;
  }

  #nav-toggle span:nth-child(2) {
    height: 4px;
    width: 100%;
    background: #fff;
    top: 11px;
  }

  #nav-toggle span:nth-child(3) {
    height: 4px;
    width: 100%;
    background: #fff;
    top: 22px;
  }

  .open #nav-toggle span {
    background: #fff;
  }

  .open #nav-toggle span:nth-child(1) {
    top: 12px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }

  .open #nav-toggle span:nth-child(2) {
    display: none;
  }

  .open #nav-toggle span:nth-child(3) {
    top: 12px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }

  /* #global-nav スライドアニメーション */
  .open #global-nav {
    -moz-transform: translateY(700px);
    -webkit-transform: translateY(700px);
    transform: translateY(700px);
    height: 100vh;
  }
}
