@charset "UTF-8";
@media (max-width: 767px) {
  :root {
    --header_height: 65px;
  }
}

/*------------------------------
header
------------------------------*/
header {
  padding: 20px 0;
  border-bottom: 1px solid #E0E0E0;
}
@media (max-width: 767px) {
  header {
    height: var(--header_height);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 500;
  }
}

@media (min-width: 768px) {
  .header__inner {
    padding: 0 5.6%;
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .header__inner {
    width: 100%;
  }
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  width: min(204px, 14.1666666667vw);
}
@media (max-width: 999px) {
  .header__logo {
    width: 180px;
  }
}
@media (max-width: 767px) {
  .header__logo {
    width: 153px;
  }
}

.header__nav {
  display: flex;
  align-items: center;
}

.header__menu {
  display: flex;
}
.header__menu li:nth-child(n+2) {
  margin-left: min(40px, 2.7777777778vw);
}
.header__menu li a {
  display: inline-block;
  font-size: min(1.4rem, 0.9722222222vw);
  font-weight: 700;
}
.header__menu li a.none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
@media (hover: hover) {
  .header__menu li a.none:hover {
    opacity: 1;
  }
}
.header__menu li:has(.header-submenu) {
  position: relative;
}
@media (hover: hover) {
  .header__menu li:has(.header-submenu):hover .header-submenu {
    opacity: 1;
    pointer-events: auto;
  }
  .header__menu li:has(.header-submenu):hover .header__item-bar2 {
    transform: translate(-50%, -50%);
  }
}
@media (max-width: 999px) {
  .header__menu {
    display: none;
  }
}

.header-submenu {
  position: absolute;
  top: 100%;
  left: 0%;
  transform: translate(0%, 0%);
  padding-top: 10px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 500;
}

.header-submenu-body {
  background: #fff;
  border-radius: 4px;
  border: 1px solid #E0E0E0;
  width: 200px;
  font-size: 14px;
  font-weight: bold;
  color: #555;
}
.header-submenu-body li:first-child {
  padding: 1em;
  border-bottom: 1px solid #E0E0E0;
}
.header-submenu-body li:nth-child(n+2) {
  padding: 0 1em;
  margin: 0;
  margin-top: 1em;
}
.header-submenu-body li:last-child {
  padding-bottom: 1em;
}

.header__item-icon {
  display: block;
  width: 12px;
  aspect-ratio: 1/1;
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  .header__item-icon {
    display: none;
  }
}
.header__item-icon.is-open .header__item-bar2 {
  transform: translate(-50%, -50%);
}

.header__item-bars {
  position: relative;
  width: 100%;
  height: 100%;
}

.header__item-bar1,
.header__item-bar2 {
  width: 10px;
  height: 2px;
  background: #6EA0A5;
  border-radius: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.header__item-bar2 {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: all 0.3s;
}

.header__contact {
  margin-left: min(85px, 5.9027777778vw);
}
.header__contact a {
  display: flex;
  align-items: center;
  font-size: min(1.4rem, 1.2vw);
  font-weight: 700;
  padding: 0.7em;
  border: 1px solid #1B1B1B;
  border-radius: 4px;
}
.header__contact a::before {
  display: inline-block;
  content: "";
  position: relative;
  background: url(../img/icon_mail.png) no-repeat center center/contain;
  width: 24px;
  aspect-ratio: 1/1;
  margin-right: 8px;
}
@media (max-width: 767px) {
  .header__contact {
    margin-left: 0;
    margin-top: 20px;
  }
  .header__contact a {
    font-size: 1.6rem;
    justify-content: center;
  }
}

.drawer-icon {
  z-index: 300;
  display: none;
  transition: transform 0.5s ease 0s;
  cursor: pointer;
  margin-left: 40px;
  nav-right: 5px;
}
@media (max-width: 999px) {
  .drawer-icon {
    display: block;
  }
}
.drawer-icon.is-active .drawer-icon__bar1 {
  transform: rotate(-45deg);
  top: 8px;
}
.drawer-icon.is-active .drawer-icon__bar2 {
  display: none;
}
.drawer-icon.is-active .drawer-icon__bar3 {
  transform: rotate(45deg);
  top: 8px;
}

.drawer-icon__bars {
  width: 22px;
  height: 20px;
  display: block;
  position: relative;
  z-index: 400;
}

.drawer-icon__bar1,
.drawer-icon__bar2,
.drawer-icon__bar3 {
  position: absolute;
  width: 22px;
  height: 2px;
  background: #1B1B1B;
  top: 0;
  left: 0;
}

.drawer-icon__bar1 {
  top: 0;
  transition: transform 0.3s;
}

.drawer-icon__bar2 {
  top: 8px;
}

.drawer-icon__bar3 {
  top: 16px;
  transition: transform 0.3s;
}

.drawer-content {
  position: fixed;
  z-index: 299;
  transition: transform 0.5s ease 0s;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain; /* scroll伝番防止 */
  opacity: 0;
  transition: opacity 0.3s;
  padding: 30px 24px;
  background: #fff;
  top: 65px;
  left: 50%;
  height: calc(100% - 65px);
  transform: translateX(-50%);
  pointer-events: none;
  width: 100%;
  max-width: unset;
  background: rgba(62, 109, 130, 0.7);
}
.drawer-content.is-active {
  pointer-events: auto;
  opacity: 1;
}
@media screen and (min-width: 1000px) {
  .drawer-content {
    display: none;
  }
}

.drawer-nav {
  background: #fff;
  width: 100%;
  padding: 7%;
}

.drawer-item {
  border-top: 1px solid #39677E;
}
.drawer-item a {
  padding: 15px 0;
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: #047FAC;
}

.drawer-item--has-submenu {
  padding: 15px 0;
}
.drawer-item--has-submenu a {
  padding: 0;
}

.drawer-submenu {
  margin-top: 16px;
}
.drawer-submenu li {
  font-weight: 400;
  color: #555;
}
.drawer-submenu li:nth-child(n+2) {
  margin-top: 16px;
}
.drawer-submenu li a {
  position: relative;
  color: #555;
  padding: 0 0 0 16px;
}
.drawer-submenu li a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: #555;
  width: 8px;
  height: 1px;
}

.drawer-background {
  position: fixed;
  top: 65px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(62, 109, 130, 0.7);
  z-index: 298;
  display: none;
}
.drawer-background.is-active {
  display: block;
}
/*# sourceMappingURL=header.css.map */