@charset "utf-8";
* {
    margin: 0;
    padding: 0;
}
html {
    font-size: 16px;
}
a {
  text-decoration: none;
}
img {
    vertical-align: bottom;
}
ul,
li {
  list-style: none;
}


main {
  background: #fff;
  height: 800px;
  display: flex;
}

#wrap {
    position: relative;
}

/* ヘッダー */


header {
    background: #000;
    width: 100%;
    height: 48px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    overflow-x: clip;  
    z-index: 9999
}

.header__inner {
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: inherit;
    position: relative;
}


/* ヘッダーのロゴ部分 */
.header__title {
    width: 150px;
    margin-left: 10px;
}
.logo_pc {
    display: none;
}



.header__title > img {
    width: 100%;
    height: 100%;
    padding-left: 10px;
}

/* ヘッダーのナビ部分 */

.header__nav {
  position: fixed;
  right: 0;
  left: 0;
  top: 48px;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background: rgba(0,0,0,.8);
    transition: ease .4s;   
    z-index: 9999;    
}

.nav-items {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
}




/* ナビのリンク */
.nav-items__item a {
    color: #fff;
    width: 100%;
    display: block;
    font-size: 1.2em;
    padding: 0 10px 30px;
    font-family: 'Noto Sans JP', sans-serif;  
    font-weight: bold;
    z-index: 10000;    
}

.nav-items__item > a > span {
    font-size: 0.8em;
    margin-left: 10px;
}

/* ハンバーガーメニュー */

.header__hamburger {
  width: 30px;
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 999999;
}



/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 2px;
  background-color: #fff;
  position: relative;
  transition: ease .4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 7px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}


/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
/*  top: 5px;*/
  top: 9px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;

}

.hamburger.active span:nth-child(3) {
/*  top: -13px;*/
  top: -9px;
  transform: rotate(-45deg);
}


@media screen and (min-width:768px)  {
    header {
        background: none; 
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10;
    }

    .header__inner {
        padding: 0;
        height: 100%;         
    }  


    /* ヘッダーのロゴ部分 */
    .header__title {
        width: 100px;
        background: #fff;        
        position: absolute;
        height: 100%;        
        top: 0;
        margin: 0;
    }    
    .logo_pc {
        width: 100px;
        height: 85%;
        padding: 0 20px 20px 20px;
        box-sizing: border-box;
        display: block;
        margin-left: 0; 
    }  
    .logo_sp {
        display: none;
    }    



    
    /* ハンバーガーメニュー */

    .header__hamburger {
        width: 100px;
        height: 15%;
        position: absolute;
        bottom: 0;
    }

    .hamburger {
        padding: 20px;
        background: #000;
        border-color: transparent;
        z-index: 9999;        
    }
    
     /* リンク */   
    .nav-items {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }    
    .nav-items__item {
        width: 50%;
    }
    .nav-items__item > a {
        font-size: 1.8em;
        padding: 20px 0;
    }
    
    /* ハンバーガーメニューの線 */
    .hamburger span {
        width: 100%;
        height: 3px;
        background: #fff;
        position: relative;
        transition: ease .4s;
        display: block;

    }

    .hamburger span:nth-child(2) {
      margin: 15px 0;
    }

    /* ハンバーガーメニュークリック後のスタイル */
    .hamburger.active span:nth-child(1) {
        top: 15px;
        transform: rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
      top: -20px;
      transform: rotate(-45deg);
    }
    
    /* ヘッダーのナビ部分 */

    .header__nav {
      left: 100px;
      top: 0;
      width: 100%;
      height: 100vh;
      transform: translateX(100%);
      background-color: rgba(0,0,0,.8);
      transition: ease .4s;
    }
    


}