/*------------------------------------------------------------
header
------------------------------------------------------------*/
/*header
------------------------------------------------------------*/
#header {
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background: #fff;
  z-index: 1001; }
#header .h_box h1 {
  display: none; }
#header .h_box {
  padding: 30px 0 30px; }

#header .h_box .logo{
  max-width: 280px;
  line-height: 60px; }

#header .h_box .logo > a > img{
  max-width: 100%; }

  #header .h_box {
    position: relative;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between; }

#wrapper{
    width:calc(100% - 7.6% - 280px); }

  @media screen and (max-width: 960px) { }

#global-navi {
    /* position: fixed; */
    top: 0;
    right: 0px;
    width: 100%;
}



.menu{
  display: flex;
  justify-content: space-between; }
#wrapper nav ul li{
    font-size: 1.4rem;
    /* margin: 0 0 10px 10px; */ }
#wrapper nav ul li.is-active a{
  border-bottom: 1px solid #9c0; }

#wrapper nav ul li a{
    text-decoration: none;
    font-weight: 400;
    opacity: 1;
    padding: 0 0 10px 0;
    -webkit-transition: all 400ms;
    transition: all 400ms;
    line-height: 60px;
    border-bottom: 1px solid transparent; }
#wrapper nav ul li.is-active a, #wrapper nav ul li a:hover{
  border-bottom: 1px solid #9c0; }
/*スマホ画面で例１のハンバーガーメニューの形にする*/

@media screen and (max-width: 960px) {

#header .h_box {
  padding: 16px 0 17px 20px; }

#header .h_box .logo{
  max-width: 280px;
  line-height: 27.5px; }

#header .h_box .logo > a > img{
  line-height: 27.5px; }
/*
#header .h_box .logo{
  max-width: 228px;
  max-height: 40px; }
  */

.menu{
  display: block; }
#wrapper nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    padding-top: 50px;
    background:rgba(32,32,32,0.8);
    font-size: 16px;
    box-sizing: border-box;
    z-index: 2; }
#wrapper nav ul li {
    font-size: 2.4rem;
    display:block;
    padding: 15px 28px;
}
 
#wrapper nav ul li a {
    text-decoration: none;
    color: #ddd;
}

#wrapper .btn-gnavi {
    position: fixed;
    top: 35px;
    right: 35px;
    width: 24px;
    height: 40px;
    z-index: 3;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}
 

#wrapper .btn-gnavi span {
    position: absolute;
    width: 24px;
    height: 4px;
    background: #666;
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}
 
#wrapper .btn-gnavi span:nth-child(1) {
    top: 0; }
 
#wrapper .btn-gnavi span:nth-child(2) {
    top: 7px; }
 
#wrapper .btn-gnavi span:nth-child(3) {
    top: 14px; }

#wrapper .btn-gnavi.open span:nth-child(1) {
    top: 14px;
    left: 10px;
    width: 24px; }
 
#wrapper .btn-gnavi.open span:nth-child(2) {
    top: 14px;
    left: 10px;
    width: 24px; }
 
#wrapper .btn-gnavi.open span:nth-child(3) {
    top: 14px;
    left: 10px;
    width: 24px; }

 
/*#wrapper .btn-gnavi.open {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg); }*/

 #wrapper .btn-gnavi.open {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 7px; }

 #wrapper .btn-gnavi.open span:nth-child(2) {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg); }


#wrapper .btn-gnavi.open span {
    background: #fff; }
 
#wrapper .btn-gnavi.open span {
    width: 48px; }
#wrapper .contents section p {
    position: absolute;
    top: 50%;
    width: 30%;
    line-height: 1.4;
    font-size: 20px;
    color: #fff;
    text-shadow: 0 0 6px #666; }
 
#wrapper .contents section:nth-child(odd) p {
    left: 10%; }
 
#wrapper .contents section:nth-child(even) p {
    right: 10%; }
}


@media screen and (max-width: 640px) {

#header .h_box {
  padding: 16px 0 17px 20px; }

#header .h_box .logo{
  max-width: 140px;
  line-height: 27.5px; }

#header .h_box .logo > a > img{
  line-height: 27.5px; }
/*
#header .h_box .logo{
  max-width: 228px;
  max-height: 40px; }
  */

.menu{
  display: block; }
#wrapper nav {
    position: fixed;
    top: 0;
    right: -240px;
    width: 240px;
    height: 100%;
    padding-top: 50px;
    background:rgba(32,32,32,0.8);
    font-size: 16px;
    box-sizing: border-box;
    z-index: 2; }
#wrapper nav ul li {
    font-size: 2.4rem;
    display:block;
    padding: 14px 28px;
}
 
#wrapper nav ul li a {
    text-decoration: none;
    color: #ddd;
    line-height: 30px;
    font-size: 1.8rem;
}
 
#wrapper .btn-gnavi {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 40px;
    z-index: 3;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}

 #wrapper .btn-gnavi.open {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 10px;
    right: 30px; }

 #wrapper .btn-gnavi.open span:nth-child(2) {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg); }


#wrapper .btn-gnavi.open span {
    background: #fff; }
 
#wrapper .btn-gnavi.open span {
    width: 36px; }
#wrapper .contents section p {
    position: absolute;
    top: 50%;
    width: 30%;
    line-height: 1.4;
    font-size: 20px;
    color: #fff;
    text-shadow: 0 0 6px #666; }
 
#wrapper .contents section:nth-child(odd) p {
    left: 10%; }
 
#wrapper .contents section:nth-child(even) p {
    right: 10%; }
}
