@charset "utf-8";

/* header */
#wrapper .main-hdr {
  align-items: center;
  background-color: #fff;
  box-shadow: 0 min(.43vw, 2px) min(1vw, 4.6px) min(.08vw, .4px) rgba(0, 0, 0, .16);
  display: flex;
  left: 0;
  min-height: min(13.04vw, 60px);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}

#wrapper .hdr-logo {
  margin-left: min(6.08vw, 28px);
  width: min(73.26vw, 337px);
}

#wrapper .hdr-logo a,
#wrapper .hdr-logo img {
  display: block;
}

#wrapper .imgArea .hdr-ham-btn {
  align-items: center;
  appearance: none;
  background-color: #009380;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  outline: none;
  padding: 0;
  position: absolute;
  top: 0;
  right: 0;
  width: min(13.04vw, 60px);
  height: min(13.04vw, 60px);
  z-index: 20;
}

.ham-icon,
.ham-icon::before,
.ham-icon::after {
  background-color: #fff;
  border-radius: 2px;
  display: block;
  height: min(.869vw, 4px);
}

.ham-icon {
  position: relative;
  transition: background-color .1s ease-in-out;
  width: 63.33%;
}

.ham-icon::before,
.ham-icon::after {
  content: "";
  position: absolute;
  transition: transform .1s ease-in-out;
  width: 100%;
}

.ham-icon::before {
  top: 0;
  transform: translateY(-350%);
}

.ham-icon::after {
  bottom: 0;
  transform: translateY(350%);
}

.active .ham-icon {
  background-color: transparent;
}

.active .ham-icon::before {
  transform: rotate(45deg);
}

.active .ham-icon::after {
  transform: rotate(-45deg);
}

.hdr-ham-menu-wrapper {
  background-color: #fff;
  bottom: 0;
  box-shadow: 0px 2px 4.6px 0.4px rgba(0, 0, 0, 0.16);
  box-sizing: border-box;
  display: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size: min(5.26vw, 30px);
  font-weight: 700;
  height: 0;
  max-height: calc(100vh - 60px);
  opacity: 1;
  overflow-y: scroll;
  padding: 0 0 60px;
  pointer-events: none;
  position: absolute;
  right: 0;
  scrollbar-width: thin;
  text-align: left;
  transform: translateY(100%);
  transition: height .2s ease-in-out, opacity .05s linear;
  width: min(100%, 570px);
  z-index: -1;
}

.hdr-ham-menu-wrapper.active {
  height: var(--menu-height);
  opacity: 1;
  pointer-events: auto;
}

.hdr-ham-menu-wrapper.active.height-auto {
  height: auto;
}

.hdr-ham-menu,
.hdr-ham-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hdr-ham-submenu {
  display: none;
  font-size: min(4.38vw, 25px);
  letter-spacing: -.02em;
}

.hdr-ham-menu-item-txt {
  align-items: center;
  color: #333;
  cursor: pointer;
  display: flex;
  text-decoration: none;
  line-height: 1;
  min-height: min(11.92vw, 68px);
  padding: 0 4.5%;
  position: relative;
}

.hdr-ham-menu-item-txt::after {
  border-right: min(.7vw, 4px) solid #009380;
  border-top: min(.7vw, 4px) solid #009380;
  content: "";
  display: block;
  height: min(3.85vw, 22px);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(-100%, -50%) rotate(45deg);
  width: min(3.85vw, 22px);
}

.hdr-ham-menu-item-txt::before {
  border-bottom: 2px solid #e5e5e5;
  bottom: 0;
  content: "";
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 93%;
}

.hdr-ham-menu-item-txt.submenu-sw::after {
  opacity: 1;
  transition: opacity .3s;
}

.hdr-ham-menu-item-txt.submenu-sw.active::after {
  opacity: 0;
}

.hdr-ham-menu-item-txt .fs-small {
  font-size: .8em;
  margin: 0 -.25em;
}

.hdr-ham-menu-item.top .hdr-ham-menu-item-txt {
  background-color: #009380;
  color: #fff;
  font-weight: 500;
  justify-content: center;
}

.hdr-ham-menu-item.top:not(:last-of-type) .hdr-ham-menu-item-txt {
  border-bottom: 2px solid #fff;
}

.hdr-ham-menu-item.top .hdr-ham-menu-item-txt::before {
  content: none;
}

.hdr-ham-menu-item.top .hdr-ham-menu-item-txt::after {
  border-color: #fff;
}