@charset "utf-8";
/************
ヘッダー本体 
*************/
header {
  height: 60px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fbfdff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
  z-index: 100;
}

.head-main
{
  display: flex;
  align-items: center;
  justify-content: left;
  width: 100%;
  height: 60px;
}

/*************
ヘッダーロゴ
*************/

.head-logo {
  height: 60px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: left;
  margin-left: 10px;
}
.head-logo h1 {
  font-size: 14px;
  color: #333;
}

.head-logo img {
  height: 60px;
  width: 200px;
}


/************
メニュー本体
************/
.head-menu-box {
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 100;
}


/***************
メニューボタン
***************/

/* メニューボタンのスタイル */
.menu-button {
  display: block;
  position: fixed;
  top: 15px;
  right: 15px;
  cursor: pointer;
  z-index: 99;
}
/* メニューバーのスタイル */
.toggle-bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: #333;
  transition: 0.4s;
}
/* メニューボタンがチェックされた場合の1つ目のバーのアニメーション */
#menu-toggle:checked ~ .menu-button .toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(4px, 8px);
}
/* メニューボタンがチェックされた場合の2つ目のバーのアニメーション */
#menu-toggle:checked ~ .menu-button .toggle-bar:nth-child(2) {
  opacity: 0;
}
/* メニューボタンがチェックされた場合の3つ目のバーのアニメーション */
#menu-toggle:checked ~ .menu-button .toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -8px);
}
/* メニュートグルのスタイル */
#menu-toggle {
  display: none;
}
/* メニュートグルがチェックされた場合のメニューの表示アニメーション */
#menu-toggle:checked ~ .head-menu {
  right: 0; /* メニューを表示させるために right を 0 に変更 */
}


/*************************
メニュー
*************************/
/* メニューのスタイル */
.head-menu {
  position: fixed;
  top: 0;
  right: -100%; /* 変更: メニューを右からスライドインさせるために right に設定 */
  width: 80%;
  height: 100%;
  background-color: #f3f3f3;
  transition: 0.4s;
  z-index: 1;
  overflow-y: auto;
  background-size: cover;
  background-position: center;
}
.head-menu-inner {
  position: relative;
  height: 100%;
  width: 100%;
}
.head-menu ul {
  list-style: none;
  padding: 70px 20px 20px;
}
.head-menu ul li {
  width: 100%;
  border-bottom: #333 dotted 2px;
  margin-bottom: 20px;
}
.head-menu ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  display: block;
  padding: 0 0 5px 5px;
}
.head-menu-under {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  padding: 20px;
}
.head-menu-under-icon ul {
  display: flex;
  justify-content: center;
  padding-bottom: 30px;
}
.head-menu-under-icon ul li {
  border: none;
  margin-bottom: 0;
  width: initial;
  margin-right: 20px;
}
.head-menu-under-icon ul li:last-child {
  margin-right: 0;
}
.head-menu-under-icon ul li a {
  padding: 0;
  font-size: 18px;
  line-height: 1;
}
.head-menu-under-bt a {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
}
.head-menu-under-icon ul li a .fa-line {
  font-size: 15.75px!important;
  margin-top: 1px;
}
.head-menu-under-bt i {
  margin-right: 5px;
}
.head-menu-under-bt .bt-one {
  border: solid 2px #333;
}
.head-menu-under-bt .bt-two {
  border: solid 2px #333;
  margin-top: 15px;
}

/***************
サブメニュー 
***************/
.head-menu-inner .menu-item-has-children {
  position: relative;
}
.head-menu-inner .sub-menu {
  margin-top: 10px;
  min-width: 200px;
  padding: 0;
}
.head-menu-inner .sub-menu li {
  border: none;
  margin-bottom: 5px;
}
.head-menu-inner .sub-menu li a {
  padding: 0 0 5px 5px;
}
.sub-bt {
  display: block;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 3px;
  right: 10px;
  border-radius: 5px;
  background-color: #00a496;
}
.sub-bt:before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  transition: all .3s ease-in-out;
  display: block;
  width: 10px;
  height: 10px;
  border-top: solid 3px #fff;
  border-right: solid 3px #fff;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}
.sub-bt.active:before {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 40%;
}

/****************************
メディアスクリーン1200px以上
****************************/
@media screen and (min-width:1200px)
{
  /* ヘッダー本体 */
  header {
    height: 100px;
  }
  .head-main {
    height: 100px;
    justify-content: space-between;
    margin: 0 auto;
  }

  /* ヘッダーロゴ */
  .head-logo {
    justify-content: left;
    height: 60px;
    width: 250px;
  }
  .head-logo img {
    height: 60px;
    width: 250px;
  }
  .head-logo h1 {
    font-size: 18px;
  }
  
  /* メニュー */
  .menu-button {
    display: none;
  }
  .head-menu {
    position: initial;
    height: 100px;
    width: auto;
    background: none !important;
    background-image: none !important;
    overflow-y: initial;
  }
  .head-menu-box {
    position: initial;
    display: flex;
    justify-content: right;
    overflow: initial;
    background: none !important;
  }
  .head-menu ul{
    display: flex;
    align-items: center;
    height: 100px;
    margin: 0;
    padding: 0;
  }
  .head-menu ul li {
    margin: 0;
    border: none;
    min-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    padding: 0 10px;
  }
  .head-menu ul li a {
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  .head-menu ul li a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000000;
    bottom: 8px; /*アンダーラインが現れ始める位置（aタグの下辺からの高さ）*/
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }  
  .head-menu ul li a:hover::after {
    visibility: visible;
    bottom: 12px; /*アニメーションが止まる位置*/
    opacity: 1;
  }
  .head-menu-under {
    display:none;
  }
  /* サブメニュー */
  .head-menu-inner .menu-item-has-children {
    position: relative;
  }
  .head-menu-inner .sub-menu {
    position: absolute;
    background-color: aqua;
    display: none;
    top: 70px;
    right: 10px;
    margin-top: 0;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.3);
    width: max-content;
    height: auto;
    text-align: left;
  }
  .head-menu-inner .sub-menu li {
    margin-bottom: 10px;
    height: initial;
  }
  .head-menu-inner .sub-menu li a {
    padding: 0 0 0 5px;
    display: block;
  }
  .head-menu-inner .sub-menu li a::after {
    display: none;
  }
  .head-menu-inner .sub-menu li a:hover {
    background-color: #ccc;
  }
  .head-menu-inner .sub-menu li {
    margin-bottom: 10px;
    height: initial;
  }
  .head-menu-inner .sub-menu li:last-child {
    margin-bottom: 0;
  }
  .head-menu-inner .sub-menu li ul {
    top: 30px;
    left: -10px;
    box-shadow: initial;
  }
  /* サブメニューボタン */
  .sub-bt {
    display: none;
  }
}