@charset "utf-8";



.header {
  position: relative;
  width: 100%;
  z-index: 9999;
  transition: var(--default);
}

.header.hide {
  transform: translateY(-100%);
}

.header .inner {
  padding-top: 40px;
  display: flex;
  align-items: flex-start;
}

.header .h_menu {
  display: flex;
  gap: 3%;
  width: 100%;
  justify-content: flex-end;
  margin-right: 4%;
  font-size: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
  color: #ccc5b3;
}

.fixed-menu {
  position: fixed;
  top: 4%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 99999;
}

.m-contact {
  z-index: 99;
}

.m-contact a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-radius: 10px 0px 0px 10px;
  background: #e6e2d8;
  writing-mode: vertical-lr;
  font-size: clamp(0.875rem, 0.784rem + 0.39vw, 1.25rem);
  color: #150e06;
}



.h_logo {
  max-width: 96px;
  width: 100%;
  position: fixed;
  z-index: 99;
}

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


.hamburger {
  font-size: clamp(0.875rem, 0.769rem + 0.45vw, 1.313rem);
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
  align-items: center;
  padding: 14px 8px 14px 14px;
  cursor: pointer;
  z-index: 100;
  position: relative;
  background: #e6e2d8;
  border-radius: 10px 0px 0px 10px;
}

.hamburger .unopen {
  opacity: 0;
  visibility: hidden;
  height: 0;
}

.hamburger.active .open {
  opacity: 0;
  visibility: hidden;
  height: 0;
}

.hamburger.active .unopen {
  opacity: 1;
  visibility: visible;
  height: auto;
}

.hamburger .d-wrap {
  display: flex;
  gap: 8px;
  position: relative;
  width: 30px;
  height: 5px;
}

.hamburger .dot {
  position: absolute;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50px;
  background-color: #150E06;
  transition: var(--default);
}

.hamburger .dot1 {
  top: 0;
}

.hamburger .dot2 {
  left: calc(50% - 2px);
}

.hamburger .dot3 {
  left: calc(100% - 5px);
}


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

.navigation .menu-list {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 40px;
  width: 100%;
}



.navigation a {
  width: 100%;
  padding: 0 20%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.navigation a::before {
  content: "";
  display: inline-block;
  background: url(/system_panel/uploads/images/20260721230538911763.svg) no-repeat center/contain;
  width: 7px;
  height: 10px;

}

.navigation a p {
  font-weight: 400;
  font-size: 18px;
  text-align: left;
  color: #150E06;
}

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

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



@media (max-width: 1180px) {
  .header .h_menu {
    display: none;
  }

  .navigation {
    width: 50vw;
  }
}

@media (max-width: 1023px) {
  .h_logo {
    width: 55px;
  }

  .fixed-menu {
    flex-direction: row-reverse;
    top: 0;
    right: 10px;
  }

  .hamburger,
  .m-contact a {
    border-radius: 0 0 10px 10px;
    padding: 0 16px;
  }

  .hamburger {
    padding: 6px 4px;
  }

  .m-contact a {
    writing-mode: horizontal-tb;
  }

}

@media (max-width: 767px) {
  .header .inner {
    padding-top: 16px;
  }

  .navigation {
    width: 100vw;
  }
}




/* 管理画面用 */

.gjs-dashed .fixed-menu {
  top: 100px;
}


.gjs-dashed .navigation {
  right: 0;
  top: 200px;
  pointer-events: all;
}