@charset "utf-8";

.header {
  transition: var(--default);
  position: fixed;
  z-index: 99;
  top: 15px;
  left: 0;
  right: 0;
  transition: .4s ease;
  max-width: 1920px;
  width: 95%;
  margin: 0 auto;
  background-color: #FFF;
}

.menu-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  inset: 0;
  backdrop-filter: blur(30px);
  background-color: rgba(255, 255, 255, 0.03);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
}

.menu-open .menu-bg {
  opacity: 1;
  visibility: visible;
}

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

.header .inner {
  width: 98%;
  margin: 0 auto;
  display: flex;
}

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

.h_logo {
  max-width: 364px;
  width: 22%;
  display: block;
  margin: auto 0;
  padding: 22px 0 24px;
}

.header .others {
  margin-left: auto;
  display: flex;
  margin-right: 15px;
}

.header .others .tel-link {
  display: grid;
  grid-template-areas: "icon tel"
    "icon time";
  gap: 5px 17px;
  align-items: center;
}

.header .others .tel-link .icon {
  width: 56px;
  aspect-ratio: 1/1;
  grid-area: icon;
}

.header .others .tel-link .link-text {
  font-family: var(--eng);
  font-weight: 400;
  font-size: clamp(1.25rem, 0.679rem + 0.89vw, 1.75rem);
  color: #112203;
  grid-area: tel;
  margin-top: auto;
}

.header .others .tel-link .time {
  font-family: var(--eng);
  font-weight: 500;
  font-size: clamp(0.75rem, 0.607rem + 0.22vw, 0.875rem);
  color: #112203;
  grid-area: time;
  margin-bottom: auto;
}

.header .others .box-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 152px;
}

.header .others .box-link .link-text {
  font-family: var(--main);
  font-weight: 500;
  font-size: 16px;
  text-align: center;
}

.header .others .line-link {
  background-color: #6E9834;
}

.header .others .mail-link {
  background: #c4c46a;
}

.header .others .line-link .link-text {
  color: #FFF;
}


.header .others .mail-link .link-text {
  color: #112203;
}



.hamburger {
  width: 82px;
  height: 68px;
  border-radius: 8px;
  background: #4A5F13;
  border: 2px solid #4A5F13;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  pointer-events: auto;
  transition: .4s ease;
  position: relative;
  margin: auto 0;
  z-index: 210;
}

.hamburger:hover {
  background: #fff;
}



.hamburger .line {
  position: absolute;
  left: 19px;
  margin: auto;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 50px;
  transition: var(--default);
}

.hamburger .line1 {
  width: 20px;
  top: 25px;
}

.hamburger .line2 {
  width: 31px;
  top: 33px;
}

.hamburger .line3 {
  width: 43px;
  top: 42px;
}


.hamburger:hover .line {
  background-color: #4A5F13;
}

.hamburger.active .line1 {
  top: 32px;
  width: 43px;
  transform: rotate(30deg);
}

.hamburger.active .line2 {
  opacity: 0;
}

.hamburger.active .line3 {
  top: 32px;
  width: 43px;
  transform: rotate(-30deg);
}

.navigation .menu-inner {
  padding: 132px 0 140px;
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 80%;
  margin: 0 auto;
}

.navigation {
  display: block;
  position: fixed;
  pointer-events: none;
  top: 0;
  right: -100vw;
  width: 66%;
  transition: all 0.8s;
  overflow: auto;
  background: #6e9834;
  height: 100vh;
  z-index: 200;
}

.navigation a {
  width: 100%;
  position: relative;
  font-family: var(--main);
  font-weight: 700;
  font-size: clamp(1rem, 0.939rem + 0.26vw, 1.25rem);
  letter-spacing: 0.04em;
  color: #514327;
  text-align: left;
  transition: .4s ease;

}

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

.navigation .menu-inner .list {
  margin-bottom: 40px;
}

.navigation .menu-inner .list .group {
  padding: 21px 0;
  display: flex;
  flex-direction: column;
  gap: 19px;
  border-top: 1px solid #FFF;
}

.navigation .menu-inner .list .group:last-child {
  border-bottom: 1px solid #FFF;
}

.navigation .menu-inner .list .group .parent-link {
  font-family: var(--main);
  font-weight: 400;
  font-size: clamp(1.25rem, 0.821rem + 0.67vw, 1.625rem);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--default);
}

.navigation .menu-inner .list .group .parent-link:hover {
  opacity: 50%;
}

.navigation .menu-inner .list .group .parent-link::before {
  content: "";
  width: 15px;
  aspect-ratio: 1/1;
  border-radius: 50px;
  border: 1px solid #FFF;
  display: inline-block;
}

.navigation .menu-inner .list .group .child-link {
  font-family: var(--main);
  font-weight: 400;
  font-size: clamp(1rem, 0.714rem + 0.45vw, 1.25rem);
  color: #fff;
  padding-left: 27px;
  transition: var(--default);
}

.navigation .menu-inner .list .group .child-link:hover {
  opacity: 50%;
}

.navigation .others {
  display: flex;
  margin: 0 auto;
  align-items: center;
}

.navigation .others .line-link {
  width: 62px;
  aspect-ratio: 1/1;
}

.navigation .others .line-link img {
  width: 100%;
}

.navigation .others .box-link {
  flex-direction: row;
  align-items: center;
  gap: 19px;
  width: auto;
  padding: 15px 34px 15px 14px;
}

.navigation .others .box-link .icon {
  width: 55px;
  aspect-ratio: 1/1;
}

.navigation .others .tel-link {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  margin-right: 15px;
}

.navigation .others .tel-link .link-text {
  font-family: var(--eng);
  font-weight: 400;
  font-size: 28px;
  margin: auto;
  color: #112203;
}

.navigation .others .contact-link {
  border-radius: 8px;
  background: #c4c46a;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  margin-right: 30px;
}

.navigation .others .contact-link .link-text {
  font-family: var(--main);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.22rem + 0.13vw, 1.375rem);
  color: #112203;
}


@media (max-width: 1280px) {
  .navigation {
    width: 100%;
  }
}

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

@media (max-width: 1023px) {

  .header .others .tel-link,
  .header .others .line-link,
  .header .others .mail-link {
    display: none;
  }

  .h_logo {
    max-width: 185px;
    width: 100%;
  }

  .hamburger {
    width: 47px;
    height: 40px;
    border-width: 1px;
  }

  .hamburger .line {
    left: 10px;
    height: 1px;
  }

  .hamburger .line1 {
    width: 11px;
    top: 14px;
  }

  .hamburger .line2 {
    width: 18px;
    top: 19px;
  }

  .hamburger .line3 {
    width: 25px;
    top: 24px;
  }

  .hamburger.active .line1,
  .hamburger.active .line3 {
    top: 19px;
    width: 28px;
  }

  .hamburger .line {
    left: 8px;
  }

  .navigation .others {
    flex-direction: column;
  }

  .navigation .others .tel-link,
  .navigation .others .line-link {
    display: flex;
  }

  .navigation .others .tel-link {
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
  }

  .navigation .others .contact-link {
    margin: 0 auto 22px;
    width: 100%;
  }


}



@media (max-width: 767px) {

  .header {
    width: calc(100% - 20px);
  }

  .header .inner {
    width: calc(100% - 10px);
  }

  .h_logo {
    padding: 10px 0;
  }

  .navigation .others .box-link .icon {
    width: 43px;
  }

  .navigation .others .contact-link {
    justify-content: flex-start;
  }
}




/* 管理画面用 */




.gjs-dashed .navigation {
  right: 140px;
  top: 120px;
  pointer-events: all;
  overflow: auto;
}

.gjs-dashed .navigation {
  height: 70vh;
}