@charset "UTF-8";

@media screen and (min-width: 1080px) {

  /*--------------------------------nav----------------------*/
  nav.global_nav {
    width: 100%;
    height: 66px;
    background: #80bfff url(../image/nav_bg.png) repeat-x;
    position: fixed;
    top: 85px;
    z-index: 98;
  }

  .openbtn {
    display: none;
  }

  ul.nav {
    width: 1080px;
    height: 66px;
    margin: 0 auto;
    display: flex;
  }

  ul.nav li {
    width: 180px;
    height: 66px;
    line-height: 66px;
    color: #fff;
    font-size: 1.6rem;
    text-align: center;
    background-image: url(../image/nav.png);
    background-position: 0px 0px;
  }

  li.small {
    display: none;
  }

  ul.nav li a {
    display: block;
    color: #fff;
    text-decoration: none;
    background-image: url(../image/nav.png);
    background-position: 0px -66px;
  }

  ul.nav li a:hover {
    text-decoration: none;
    color: #CC1470;
    background-image: url(../image/nav.png);
    background-position: 0px 0px;
  }

  li#last {
    background-image: url(../image/nav_last.png);
    background-position: 0px 0px;
  }

  li#last a {
    display: block;
    color: #fff;
    text-decoration: none;
    background-image: url(../image/nav_last.png);
    background-position: 0px -66px;
  }

  li#last a:hover {
    color: #CC1470;
    text-decoration: none;
    background-image: url(../image/nav_last.png);
    background-position: 0px 0px;
  }

  ul.bread {
    width: 1080px;
    margin: 161px auto 0 auto;
    display: flex;
    justify-content: flex-start;
  }

  ul.bread li {
    padding: 0 3px 0 0;
    font-size: 1.2rem;
  }

  ul.bread li a {
    color: #555;
  }

  ul.bread li a:hover {
    color: #CC1470;
  }
}

@media screen and (min-width:600px) and (max-width:1079px) {
  nav.global_nav {
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    /*ナビの高さ*/
    background: #999;
    /*動き*/
    transition: all 0.6s;
  }

  nav.global_nav.panelactive {
    right: 0;
  }

  ul.nav {
    width: 100%;
    height: 100%;
    padding-top: 80px;
    z-index: 999;
  }

  ul.nav li {
    width: 100%;
    height: 3em;
    line-height: 3em;
    font-size: 1.6rem;
    background-color: #fff;
    text-indent: 80px;
    border-bottom: 1px solid #fff;
    overflow: ;
  }

  ul.nav li a {
    display: block;
    background-color: #999;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
  }

  ul.nav li a:hover {
    background-color: #FFA64D;
  }

  .openbtn {
    position: fixed;
    z-index: 9999;
    /*ボタンを最前面に*/
    top: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
    background-color: #FFA64D;
  }

  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 15px;
    height: 2px;
    border-radius: ;
    background-color: #fff;
    width: 50%;
  }

  .openbtn span:nth-of-type(1) {
    top: 15px;
  }

  .openbtn span:nth-of-type(2) {
    top: 29px;
  }

  .openbtn span:nth-of-type(3) {
    top: 43px;
  }

  .openbtn.active span:nth-of-type(1) {
    top: 19px;
    left: 19px;
    transform: translateY(10px) rotate(-45deg);
    width: 40%;
  }

  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn.active span:nth-of-type(3) {
    top: 19px;
    left: 19px;
    transform: translateY(10px) rotate(45deg);
    width: 40%;
  }

  ul.bread {
    width: 100%;
    padding: 0.5% 4%;
    color: #fff;
    font-size: 1.1rem;
    background-color: #80bfff;
    border-top: 1px solid #4da6ff;
    border-bottom: 1px solid #4da6ff;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
  }

  ul.bread li {
    padding: 0 1% 0 0;
  }

  ul.bread li a {
    color: #fff;
  }




}

@media screen and (max-width: 599px) {
  nav.global_nav {
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    /*ナビの高さ*/
    background: #999;
    /*動き*/
    transition: all 0.6s;
  }

  nav.global_nav.panelactive {
    right: 0;
  }

  ul.nav {
    width: 100%;
    height: 100%;
    padding-top: 48px;
    z-index: 999;
  }

  ul.nav li {
    width: 100%;
    height: 3em;
    line-height: 3em;
    font-size: 1.6rem;
    background-color: #fff;
    text-indent: 48px;
    border-bottom: 1px solid #fff;
    overflow: ;
  }

  ul.nav li a {
    display: block;
    background-color: #999;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
  }

  ul.nav li a:hover {
    background-color: #FFA64D;
  }

  .openbtn {
    position: fixed;
    z-index: 9999;
    /*ボタンを最前面に*/
    top: 4px;
    right: 4px;
    width: 60px;
    height: 40px;
    background-color: #FFA64D;
  }

  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 21px;
    height: 2px;
    border-radius: ;
    background-color: #fff;
    width: 30%;
  }

  .openbtn span:nth-of-type(1) {
    top: 11px;
  }

  .openbtn span:nth-of-type(2) {
    top: 19px;
  }

  .openbtn span:nth-of-type(3) {
    top: 27px;
  }

  .openbtn.active span:nth-of-type(1) {
    top: 15px;
    left: 21px;
    transform: translateY(4px) rotate(-45deg);
    width: 35%;
  }

  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn.active span:nth-of-type(3) {
    top: 15px;
    left: 21px;
    transform: translateY(4px) rotate(45deg);
    width: 35%;
  }

  ul.bread {
    width: 100%;
    padding: 0.5% 4%;
    color: #fff;
    font-size: 1.1rem;
    background-color: #80bfff;
    border-top: 1px solid #4da6ff;
    border-bottom: 1px solid #4da6ff;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
  }

  ul.bread li {
    padding: 0 1% 0 0;
  }

  ul.bread li a {
    color: #fff;
  }

}