@charset "UTF-8";

/**
 * オリジナルcss
 */

.header_hm_button_wrap {
  display: none;
}

.hm_button {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  width: 60px;
  height: 60px;
  padding: 10px;
  cursor: pointer;
  background: var(--c2);
}

.admin-bar .hm_button {
  top: 46px;
  img {
    width: 30px;
    margin: 0 auto;
  }
}

.hm_button_menu {
  color: #fff;
  font-size: 1.2rem;
  font-family: var(--en);
}

.hm_button1 {
  display: block;
  position: absolute;
  top: 30px;
  right: 19px;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.hm_button2 {
  display: block;
  position: absolute;
  top: 40px;
  left: 19px;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.hm_button3 {
  display: block;
  position: absolute;
  top: 50px;
  left: 19px;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.hm_button_active .hm_button1 {
  transform: rotate(-45deg);
  top: 40px;
  width: 30px;
  right: 15px;
  background: #fff;
}

.hm_button_active .hm_button2,
.hm_button_active .hm_button3 {
  transform: rotate(45deg);
  width: 30px;
  top: 40px;
  left: 15px;
  background: #fff;
}

.hm_main {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.7);
  transition: 0.6s;
  opacity: 0;
}

.hm_main_active {
  visibility: visible;
  opacity: 1;
}

.hm_main_inner {
  position: fixed;
  width: 100%;
  height: calc(100% - 80px);
  top: 0;
  right: -100%;
  transition: 0.6s;
}

.admin-bar .hm_main_inner {
  top: 46px;
  height: calc(100% - 140px);
}

.hm_main_active .hm_main_inner {
  right: 0;
}

.hm_blank {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hm_body {
  background-color: var(--c2);
  background-image: url("../images/header/bg_hm.png");
  background-repeat: no-repeat;
  background-position: bottom center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  overflow-y: auto;
  padding: 0;
}

.hm_main_active .hm_body {
  right: 0;
  height: 100%;
}

.hm_logo {
  width: 100%;
  height: 60px;
  padding-top: 4px;
  padding-left: 7px;
  padding-right: 7px;
  background: #fff;
  a {
    display: inline-block;
    width: fit-content;
    img {
      max-width: 189px;
    }
  }
}

.hm_list {
  padding-top: 60px;
  padding-bottom: 180px;
  .hm_menu {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    container-type: inline-size;
    a {
      width: 100%;
      text-align: center;
      color: #fff;
      font-family: var(--go);
      font-size: 4cqw;
      text-decoration: none;
    }
  }
}

@media screen and (max-width: 1110px) {
}
@media screen and (max-width: 900px) {
  .hm_blank {
    display: none;
  }
}
@media screen and (max-width: 740px) {
  .header_hm_button_wrap {
    display: block;
  }
}
@media screen and (max-width: 639px) {
  .hm_list {
    .hm_menu {
      a {
        font-size: 7cqw;
      }
    }
  }
}
@media screen and (max-width: 500px) {
}
