@charset "utf-8";

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: var(--default);
  background-color: #0b3570;
}
.header.hide {
  transform: translateY(-100%);
}

.header .h_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 3%;
  border-bottom: 1px solid #989898;
}

.header .h_bottom {
  padding: 14px 5% 20px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .site-tit {
  font-weight: 400;
  font-size: clamp(0.625rem, 0.534rem + 0.39vw, 1rem);
  color: #fff;
}

.header .list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header .h_top a {
  font-weight: 400;
  font-size: clamp(0.625rem, 0.534rem + 0.39vw, 1rem);
  color: #fff;
}

.header .h_top a span {
  font-size: clamp(0.5rem, 0.439rem + 0.26vw, 0.75rem) !important;
}

.header .h_bottom a {
  font-weight: 400;
  font-size: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
  color: #fff;
}

.header .h_bottom .link-contact {
  padding: 10px 44px;
  border-radius: 50px;
  background-color: #fff;
  color: #192633;
}

.h_logo {
  max-width: 284px;
  width: 17%;
}

.h_logo img {
  width: 100%;
  height: auto;
}

.hamburger,
.navigation {
  display: none;
}

@media (max-width: 1180px) {
  .header .h_bottom {
    padding: 5px 2% 5px 2%;
  }
  .header .list {
    gap: 22px;
  }

  .header .h_bottom .link-contact {
    padding: 10px 24px;
  }
}

@media (max-width: 767px) {
  .header .h_bottom .link-contact {
    padding: 4px 16px;
  }
  .header .h_top a,
  .header .h_bottom .list > a {
    display: none;
  }

  .header .h_top .link-tel,
  .header .h_bottom a.link-contact,
  .header .h_bottom .h_logo a {
    display: block;
  }
  .h_logo {
    max-width: 144px;
    width: 100%;
  }

  .hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 10px;
    cursor: pointer;
    z-index: 100;
    position: relative;
  }

  .hamburger .line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 0.7px;
    border-radius: 50px;
    background-color: #fff;
    transition: var(--default);
  }

  .hamburger .line1 {
    top: 0;
  }

  .hamburger .line2 {
    top: 10px;
  }

  .hamburger.active .line1 {
    top: 5px;
    transform: rotate(17deg);
  }
  .hamburger.active .line2 {
    opacity: 0;
  }
  .hamburger.active .line3 {
    top: 5px;
    transform: rotate(-17deg);
  }

  .navigation .menu-inner {
    padding: 83px 0 100px;
    position: relative;
    min-height: 100%;
  }

  .navigation .menu-list {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding-bottom: 76px;
    border-bottom: 1px solid #fff;

    width: 100%;
  }
  /*.navigation .menu-inner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: url(/system_panel/uploads/images/20260708154948992093.svg) no-repeat top/contain;
    width: 100%;
    height: 61px;
  }*/
  .navigation a {
    width: 100%;
  }
  .navigation a p {
    font-weight: 400;
    font-size: 18px;
    text-align: center;
    color: #fff;
  }

  .navigation {
    display: block;
    position: fixed;
    pointer-events: none;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    background-color: #0d3676;
    transition: all 0.8s;
    z-index: 9995;
    overflow: auto;
    height: calc(100svh - var(--header-height));
  }

  .navigation.active {
    right: 0;
    pointer-events: all;
  }
}

@media (max-width: 1023px) {
}

@media (max-width: 767px) {
  .h_logo {
    width: 100%;
  }
}

/* 管理画面用 */
.gjs-dashed .navigation {
  right: 0;
  top: 0;
  pointer-events: all;
}
