@media only screen and (max-width: 500px){
.intro-text img{
    width:90%;
  }
}
@media only screen and (max-width: 500px){
#indexmenu ul {
    list-style-type: none;
    margin: auto;
    width: 95%;
    padding: 0;
}
}
@media only screen and (max-width: 500px){
.nav-to a:hover{
    background-color: rgba(0,0,0,0.7);
}
}
@media only screen and (max-width: 500px){
#menu1 a {
  display: block;
  width: 100%;
  text-align: center;
  height: 100%;
  background-image: url(../img/indexmenu1.png);
  background-repeat: no-repeat;
  background-size: cover;
}
}
@media only screen and (max-width: 500px){
#menu2 a {
  display: block;
  width: 100%;
  text-align: center;
  height: 100%;
  background-image: url(../img/indexmenu2.png);
  background-repeat: no-repeat;
  background-size: cover;
}
}
@media only screen and (max-width: 500px){
#menu2 a {
    background-position: 0px 0;
}
}
@media only screen and (max-width: 500px){
#menu3 a {
  display: block;
  width: 100%;
  text-align: center;
  height: 100%;
  background-image: url(../img/indexmenu3.png);
  background-repeat: no-repeat;
  background-size: cover;
}
}
@media only screen and (max-width: 500px){
#menu3 a {
    background-position: 0px 0;
}
}

@media only screen and (max-width: 500px){
#indexmenu li {
    text-indent: -9999px;
    float: left;
    width: 32%;
    height: 60px;
    margin: 0;
    padding: 0;
}
}
@media only screen and (max-width: 500px){
#indexmenu ul {
    list-style-type: none;
    margin: auto;
    width: 90%;
    height: 100%;
    text-align: center;
    display: inline-block;
}
}
@media only screen and (max-width: 500px){
#indexmenu {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: 96px;
    text-align: center;
}
}
@media only screen and (max-width: 500px){
#indexmenu li {
    text-indent: -9999px;
    float: left;
    width: 33%;
    height: 29px;
    margin: 0;
    padding: 0;
}
}
@media only screen and (max-width: 500px){
.title sixteen columns img{
  width: 90%
}
}
/*about_img classの追加*/
@media only screen and (max-width: 500px){
  .about_img{
    width: 95%;
}
}
  /*model_img classの追加*/
  @media only screen and (max-width: 500px){
    .model_img{
      width: 95%
    }
    }
    /*portfolio_img classの追加*/
    @media only screen and (max-width: 500px){
      .portfolio_img{
        width: 95%
      }
      }
      /*contact_img classの追加*/
      @media only screen and (max-width: 500px){
        .contact_img{
          width: 95%
        }
        }
        /*footer_img classの追加*/
        @media only screen and (max-width: 500px){
          .footer_img{
            width: 95%
          }
          }
          @media only screen and (max-width: 479px){
          #parallax-5 {
            background-size: cover;
          }
        }
        @media only screen and (max-width: 479px){
        #menu1 a:hover {
            background-position: 0 -36px;
        }
      }
      @media only screen and (max-width: 479px){
        #menu2 a:hover {
            background-position: 0px -36px;
        }
      }
      @media only screen and (max-width: 479px){
      #menu3 a:hover {
      background-position: 0px -36px;
      }
    }
    @media only screen and (max-width: 500px){
    #page_top{
      width: 50px;
      height: 50px;
      position: fixed;
      right: 0;
      bottom: 0;
      background: rgba(0,0,0,0.2);
      z-index: 99999999999;
    }
  }
  @media only screen and (max-width: 500px){
    #page_top a{
      position: relative;
      display: block;
      width: 50px;
      height: 50px;
      text-decoration: none;
    }
  }
  @media only screen and (max-width: 500px){
    #page_top a::before{
      font-family: FontAwesome;
      content: '\f102';
      font-size: 25px;
      color: #fff;
      position: absolute;
      width: 25px;
      height: 25px;
      top: 0;
      bottom: 0;
      right: 0;
      left: 0;
      margin: auto;
      text-align: center;
    }
  }
  @media only screen and (max-width: 767px){
  .globalMenuSp {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    /*background: #fff;*/
    color: #000;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.6s;
    width: 100%;

}
}

  @media only screen and (max-width: 767px){
.globalMenuSp ul {
    background: rgba(0,0,0,0.3);
    margin: 0 auto;
    padding: 0;
    width: 100%;
}
}
  @media only screen and (max-width: 767px){
.globalMenuSp ul li {
    font-size: 1.1em;
    list-style-type: none;
    padding: 0;
    width: 100%;
    border-bottom: 1px dotted #333;
  }
}

/* 最後はラインを描かない */
.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.globalMenuSp ul li a {
    display: block;
    color: #000;
    padding: 1em 0;
}


/* このクラスを、jQueryで付与・削除する */
.globalMenuSp.active {
    transform: translateY(0%);
}
@media only screen and (min-width: 768px){
  .navToggle span{
    display: none;
  }
  }
@media only screen and (max-width: 767px){
.navToggle {
    display: block;
    position: fixed;    /* bodyに対しての絶対位置指定 */
    right: 7px;
    top: 4px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    z-index: 3;
    background: #fff;
    text-align: center;
    border: 1px solid;
}
}

  @media only screen and (max-width: 767px){
.navToggle span {
    display: block;
    position: absolute;    /* .navToggleに対して */
    width: 30px;
    border-bottom: solid 3px #000;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 6px;
}
}
  @media only screen and (max-width: 767px){
.navToggle span:nth-child(1) {
    top: 9px;
}
}
  @media only screen and (max-width: 767px){
.navToggle span:nth-child(2) {
    top: 18px;
}
}
  @media only screen and (max-width: 767px){
.navToggle span:nth-child(3) {
    top: 27px;
}
}
  @media only screen and (max-width: 767px){
.navToggle span:nth-child(4) {
    border: none;
    color: #000;
    font-size: 9px;
    font-weight: bold;
    top: 27px;
}
}
/* 最初のspanをマイナス45度に */
.navToggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
@media only screen and (max-width: 767px){
  ul.twelve.columns {
    width: 100%!important;
  }
}
@media only screen and (max-width: 767px){
nav #logo a.logo-img {
    top: -8px;
  }
}
