.k-header {
  height: 100px;
  width: 100%;
  align-items: center;
  margin: 0 auto;
  padding: 0 10px;
  background-color: #fff;
}
.k-header_inner {
  display: flex;
  vertical-align: middle;
  height: 60px;
}
.k-header_logo {
  font-size: 20px;
  font-weight: bold;
  display: flex;
  z-index: 1000;
}
.k-header_logo_img {
  margin: 0 auto;
  display: flex;
}
.k-header_logo_img img {
  width: 80px;
  height: 80px;
}
.k-header_logo_text {
  padding-left: 15px;
  font-size: 18px;
  vertical-align: middle;
  display: inline-block;
  line-height: 80px;
}
.k-header_logo_text span{
  font-size: 28px;
}
.k-header_title {
  font-size: 18px;
  padding: 30px;
}
.k-header_nav {
  margin-left: auto;
  font-size: 18px;
  height: 100px;
}
.k-header_nav_list {
  display: flex;
  align-items: center;
  height: 100px;
}
.header_nav_item {
  list-style: none;
  margin-right: 60px;
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}
.header_nav_item a {
  position: relative;
}
.header_nav_item a::before {
  background: #000;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.header_nav_item a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
.header_nav_contact {
  margin-top: 25px;
}
.header_nav_tel {
  position: relative;
  padding-left: 25px;
  letter-spacing: .1em;
  font-size: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2e2e2e;
}
.header_nav_tel::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 21px;
  background: url(../img/ico-tel.png);
  background-size: cover;
  left: 0;
  top: 4px;
}
@media (max-width: 767px) { 
  .k-header {
    height: 80px;
    width: 100%;
    align-items: center;
    margin: 0 auto;
    padding: 10px;
    background-color: #fff;
  }
  .k-header_nav {
    height: auto;
  }
  .k-header_logo_img img {
    width: 60px;
    height: 60px;
  }
  .k-header_logo_text {
    padding-left: 10px;
    font-size: 14px;
    line-height: 60px;
  }
  .k-header_logo_text span{
    font-size: 20px;
  }
  .header_nav_item:nth-child(n+1) {
    margin-top: 15px;
  }

}
.k-header_inner {
  display: flex;
  align-items: center;
  position: relative; /* ハンバーガー中央配置のために追加 */
  height: 100px; /* 高さを100pxに調整するならここも */
}

/* ハンバーガーメニューの中央配置 */
.k-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
  position: absolute;
  top: 50%;
  right: 20px; /* 右寄せ */
  transform: translateY(-50%);
}

.k-hamburger span {
  display: block;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: 0.3s;
}

/* 開いたときのアニメーション（Xアイコン） */
.k-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.k-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.k-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  .k-header_inner {
    flex-wrap: wrap;
    align-items: flex-start;
    height: auto;
  }
  .k-hamburger {
    display: flex;
  }
  .k-header_nav {
    display: none;
    position: absolute;
    top: 0px; /* headerの高さに応じて調整 */
    right: 0;
    width: 100%;
    height: 100vh;
    background: #6E8252;
    z-index: 1000;
  }
  .k-header_nav.open {
    display: block;
  }
  .k-header_nav_list {
    flex-direction: column;
    height: auto;
    margin: 0 auto;
    padding: 250px 20px;
  }

  .header_nav_item {
    line-height: 70px;
    text-align: center;
    width: 80%;
    margin: 0 auto;
    border-bottom: 1px solid #fff;
  }
  .header_nav_item a{
    color: #fff;
    display: block;
  }
  .header_nav_item:nth-child(n+1) {
    margin-top: 0;
  }
  .header_nav_item a::before {
    background: #fff;
    content: '';
    width: 0;
  }
}

.k-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 999;
}

/* 開いたときに表示 */
.k-overlay.active {
  display: block;
}

@media (max-width: 500px) {
  .k-header_logo_img {
    margin: 0 auto;

  }
  .k-header_logo_img img {
    width: 60px;
    height: 60px;
  }
  .k-header_logo_text {
    padding-left: 5px;
    font-size: 12px;
    line-height: 60px;
  }
  .k-header_logo_text span{
    font-size: 18px;
  }
}