.kocs-site-header,
.kocs-site-header * {
  box-sizing: border-box;
}

.kocs-site-header {
  position: relative;
  z-index: 1000;
  display: block;
  width: 100%;
  font-family: "Noto Serif JP", serif;
}

.kocs-site-header__logo-bar {
  display: flex;
  width: 100%;
  height: 60px;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #5ca21b;
}

.kocs-site-header__logo-inner {
  display: flex;
  width: 100%;
  height: 60px;
  align-items: center;
  justify-content: center;
}

.kocs-site-header__logo {
  display: block;
  width: 443px;
  max-width: 443px;
  margin: 0;
}

.kocs-site-header__logo img {
  display: block;
  width: 443px;
  height: 44px;
  object-fit: contain;
}

.kocs-site-header__navigation {
  display: flex;
  width: 100%;
  height: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #318548;
}

.kocs-site-header__list {
  display: flex;
  width: 620px;
  max-width: 620px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kocs-site-header__item {
  position: relative;
  display: flex;
  width: auto;
  height: 40px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.kocs-site-header__link {
  display: block;
  width: 100%;
  height: 40px;
  /* padding: 0 0 0 10px; */
  color: #bce595;
  font-size: 14px;
  font-weight: 400;
  line-height: 40px;
  text-decoration: none;
  white-space: nowrap;
}

.kocs-site-header__item--active .kocs-site-header__link {
  /* padding-left: 9px; */
  color: #fff;
  font-weight: 500;
}

.kocs-site-header__item--active::after {
  position: absolute;
  bottom: 0;
  /* left: 31px; */
  width: 100%;
  height: 2px;
  background: #fff;
  content: "";
}

.kocs-site-header__toggle,
.kocs-site-header__close,
.kocs-site-header__backdrop {
  display: none;
}

.kocs-site-header__screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

@media (max-width: 767px) {
  body.kocs-site-header-menu-open {
    overflow: hidden;
  }

  .kocs-site-header__logo-bar,
  .kocs-site-header__logo-inner {
    height: 60px;
    min-height: 60px;
  }

  .kocs-site-header__logo-bar {
    position: relative;
    z-index: 1004;
  }

  .kocs-site-header__logo-inner {
    position: relative;
    justify-content: flex-start;
    padding: 0 9px 0 11px;
  }

  .kocs-site-header__logo {
    width: min(300px, calc(100vw - 79px));
    max-width: 300px;
  }

  .kocs-site-header__logo img {
    width: 100%;
    height: 30px;
  }

  .kocs-site-header__toggle {
    position: absolute;
    top: 11px;
    right: 9px;
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .kocs-site-header__hamburger,
  .kocs-site-header__hamburger::before,
  .kocs-site-header__hamburger::after {
    display: block;
    width: 23px;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .kocs-site-header__hamburger {
    position: relative;
  }

  .kocs-site-header__hamburger::before {
    position: absolute;
    top: -7px;
    left: 0;
  }

  .kocs-site-header__hamburger::after {
    position: absolute;
    top: 7px;
    left: 0;
  }

  .kocs-site-header__navigation {
    position: fixed;
    z-index: 1002;
    top: 60px;
    left: 0;
    display: block;
    visibility: hidden;
    width: 100%;
    height: 294px;
    min-height: 294px;
    padding: 14px 0 0;
    overflow: hidden;
    background: #318548;
    opacity: 0;
    transition:
      opacity 0.15s ease,
      visibility 0.15s;
  }

  .kocs-site-header--open .kocs-site-header__navigation {
    visibility: visible;
    opacity: 1;
  }

  .kocs-site-header__list {
    display: flex;
    width: 100%;
    max-width: none;
    height: 280px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
  }

  .kocs-site-header__item {
    /* width: 92px; */
    height: 40px;
    flex: 0 0 40px;
  }

  .kocs-site-header__item:not(:last-child)::before {
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 100vw;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    content: "";
    transform: translateX(-50%);
  }

  .kocs-site-header__link,
  .kocs-site-header__item--active .kocs-site-header__link {
    /* width: 92px; */
    height: 40px;
    /* padding: 0 0 0 10px; */
    font-size: 14px;
    line-height: 40px;
  }

  .kocs-site-header__item--active .kocs-site-header__link {
    /* padding-left: 9px; */
  }

  .kocs-site-header__item--active::after {
    right: auto;
    bottom: 0;
    /* left: 31px; */
    width: 100%;
    height: 2px;
  }

  .kocs-site-header__close {
    position: absolute;
    z-index: 1;
    top: 11px;
    right: 9px;
    display: flex;
    visibility: hidden;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
  }

  .kocs-site-header--open {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
  }

  body.kocs-site-header-menu-open.admin-bar
    .kocs-site-header--open
    .kocs-site-header__backdrop {
    top: 400px;
  }

  .kocs-site-header--open .kocs-site-header__logo-bar {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .kocs-site-header--open .kocs-site-header__navigation {
    position: absolute;
    top: 60px;
  }

  .kocs-site-header--open .kocs-site-header__toggle {
    visibility: hidden;
  }

  .kocs-site-header--open .kocs-site-header__close {
    visibility: visible;
  }

  .kocs-site-header__backdrop {
    position: fixed;
    z-index: 1001;
    top: 354px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    visibility: hidden;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: default;
  }

  .kocs-site-header--open .kocs-site-header__backdrop {
    visibility: visible;
  }
}
