@charset "UTF-8";

/******************* ヘッダーCSS ********************/

/* 枠組み */
header {
    /* position: fixed;
    top:0;
    left:0; */
    width:100%;
    /* z-index: 99; */
}
.header-inner {}
.header-content {
    background: #fff;
    /* height:50px; */
    padding:20px;
}

#header .header-logo-box .logo-img-box {
  text-align: center;
  padding:60px 0 40px;
}

#header .header-logo-box .logo-img-box img {
  width:160px;
  height:auto;
}

/* ヘッダーメニュー */
.header-menu-box {
  width:95%;
  max-width:1200px;
  margin:0 auto;
}
.header-menu-box .header-menu-list {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    margin:0;
}
li.header-menu-list-leaf{
    padding: 16px 0;
    cursor : pointer;
}

.header-menu-box .menu-leaf-content {position:relative;}
/* メニュータイトル */
.header-menu-box .menu-leaf-content .menu-leaf-title {
    color: #0b0b0b;
    /* font-family: 'Futura Md BT'; */
    font-style: normal;
    /* font-weight: bold; */
    font-size: 18px;
    line-height: 24px;
}.header-menu-box.active .menu-leaf-content .menu-leaf-title {
  color:#f7f7f7;
}

.header-menu-box .menu-leaf-content a {
  position: relative;
  padding: 5px;
  display: inline-block;
  transition: .3s;
  color: #878787;
  text-decoration: none;
}
.header-menu-box .menu-leaf-content a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  content: '';
  width: 0;
  height: 1px;
  background-color: #878787;
  transition: .3s;
  transform: translateX(-50%);
}
.header-menu-box .menu-leaf-content a:hover::after {
  width: 100%;
}

/* メニューサブタイトル */
.header-menu-box .menu-leaf-content .menu-leaf-subtitle {
    color: #0b0b0b;
    font-family: 'YuGothic';
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    display: none;
}
/* ホバー時の透過 */
/* .menu-leaf-title-op-full {
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    opacity: 1;
}

.menu-leaf-title-op-half {
    opacity: 0.5;
} */

/* メニューモーダル */
.header-menu-box .menu-leaf-content .menu-leaf-modal-content {
    background: #ffffff;
    border-radius: 0px 0px 10px 10px;
    padding:15px;
    position:absolute;
    top:115%;
    left:-8px;
    opacity:0;
}
.header-menu-box .menu-leaf-content .menu-leaf-modal-content p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 12px;
    color: #000000;
    word-break: keep-all;
    margin:0 0 8px 0;
    width:fit-content;
}

/* モーダルアニメーション */
/* フェードイン */
.menu-modal-fade-in-top {
	-webkit-animation: menu-modal-fade-in-top 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: menu-modal-fade-in-top 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
 @-webkit-keyframes menu-modal-fade-in-top {
    0% {
        display:block;
      -webkit-transform: translateY(-50px);
              transform: translateY(-50px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes menu-modal-fade-in-top {
    0% {
        display:block;
      -webkit-transform: translateY(-50px);
              transform: translateY(-50px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
/* フェードアウト */
.menu-modal-fade-out-top {
	-webkit-animation: menu-modal-fade-out-top 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: menu-modal-fade-out-top 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@-webkit-keyframes menu-modal-fade-out-top {
    0% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
    100% {
      -webkit-transform: translateY(-50px);
              transform: translateY(-50px);
      opacity: 0;
      display: none;
    }
  }
  @keyframes menu-modal-fade-out-top {
    0% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
    100% {
      -webkit-transform: translateY(-50px);
              transform: translateY(-50px);
      opacity: 0;
      display: none;
    }
  }

/* モーダル内メニュー */
.modal-underline {
    display: inline-block;
    padding-bottom: 6px;
    position: relative;
}
  
.modal-underline::after {
    background-color:#00A0E9;
    bottom: 0;
    content: '';
    display: block;
    height: 1px;
    left: 0;
    position: absolute;
    transition: .5s all;
    width: 0;
}
  
.modal-underline:hover::after {
    width: 100%;
}


/* フロントページ専用ヘッダー */
#header.front-page-header {
}
#header.front-page-header .header-content {
    background: rgba(245, 245, 245, 0);
}
/* メニュータイトル */
#header.front-page-header .header-menu-box .menu-leaf-content .menu-leaf-title {
    color: #000;
}
/* メニューサブタイトル */
#header.front-page-header .header-menu-box .menu-leaf-content .menu-leaf-subtitle {
    color: #000;
}


/************************ ヘッダー SP(レスポンシブ) ************************/
@media (max-width:599px){ 

  .header-content {
    display:block;
    /* background: rgba(0, 160, 233, 0.80); */
    height:auto;
    padding:0;
  }

  #header .header-logo-box {padding:12px;}
  #header .header-logo-box .logo-img-box img {
    width:150px;
    height:auto;
  }

  /*** メニュー ***/
  /* メニュー本体 */
  .header-menu-box {
    /* display:none; */
  }
  /* .header-menu-box.active {
    display:block;
  } */

  .header-menu-box {
    list-style: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    padding-top:50px;
    top: 0;
    clear: both;
    background-color: rgb(45, 45, 45);
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    transform: scale(1, 0);
    transform-origin: top;
  }
  
  /* Hamburger menu button */
  .header-menu-box.active {
    transform: scale(1, 1);
    transform-origin: top;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    z-index: 1;
  }

  .header-menu-box .header-menu-list li {
    opacity: 0;
    transition: 0.5s;
  }
  
  .header-menu-box.active .header-menu-list a,
  .header-menu-box.active .header-menu-list li {
    opacity: 1;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
  }

  .header-menu-box-inner {
    width:100vw;
    height: 100vh;
  }
  /* .header-menu-box.active .header-menu-box-inner {
  } */
  .header-menu-box .header-menu-list {
    margin:0;
    display: block;
  }

  

  /*** ハンバーガーアイコン ***/
  .header-menu-hambergur-icon {
    position: fixed;
    top:10px;
    right:16px;
    z-index: 2;
  }
  .openbtn{
    position: relative;/*ボタン内側の基点となるためrelativeを指定*/
    /* background:#57a2c7; */
    cursor: pointer;
    width: 50px;
    height:50px;
    border-radius: 5px;
  }
  
  /*ボタン内側*/
  .openbtn span{
      display: inline-block;
      transition: all .4s;/*アニメーションの設定*/
      position: absolute;
      left: 14px;
      height: 2px;
      border-radius: 2px;
    background:#0b0b0b;
      width: 30px;
    }
  .openbtn.active span{
      
    background:#f7f7f7;
    }
  
  .openbtn span:nth-of-type(1) {
    top:15px;	
  }
  
  .openbtn span:nth-of-type(2) {
    top:23px;
  }
  
  .openbtn span:nth-of-type(3) {
    top:31px;
  }
  
  /*activeクラスが付与されると線が回転して×に*/
  
  .openbtn.active span:nth-of-type(1) {
      top: 18px;
      left: 18px;
      transform: translateY(6px) rotate(-45deg);
      width: 30%;
  }
  
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;/*真ん中の線は透過*/
  }
  
  .openbtn.active span:nth-of-type(3){
      top: 30px;
      left: 18px;
      transform: translateY(-6px) rotate(45deg);
      width: 30%;
  }

}