:root {
  --hd_mt02: 60px;
}
@media screen and (min-width: 1024px) {
  :root {
    --hd_mt02: 120px;
  }
}

/* --- header ---*/
.hd {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: all 0.4s;
  z-index: 1000;
}
@media screen and (min-width: 1024px) {
  .hd {
    height: 120px;
  }
}
.hd.fixed {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}
.hd-cnt {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0 auto;
  padding-block: 10px;
  padding-inline: 15px;
  width: 100%;
  height: 100%;
}
@media screen and (min-width: 1024px) {
  .hd-cnt {
    padding-block: 20px;
    padding-inline: 30px;
  }
}
.gjs-dashed .hd-cnt {
  background-color: #ccc;
}
.hd-name {
  z-index: 1001;
  width: 177px;
}
@media screen and (min-width: 1024px) {
  .hd-name {
    width: auto;
  }
}
.hd-logo.--02 {
  display: none;
}
.hd-nav {
  position: fixed;
  top: 0;
  left: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  gap: 30px;
  padding-block: 90px 50px;
  width: 100%;
  max-width: 460px;
  height: 100svh;
  background: rgba(0, 0, 0, 0.9019607843);
  opacity: 0;
  transition: transform 0.2s, opacity 0.2s, visibility 0s 0.2s;
  visibility: hidden;
  z-index: 1000;
}
@media screen and (min-width: 1024px) {
  .hd-nav {
    position: relative;
    left: 0;
    justify-content: flex-end;
    flex-direction: row;
    gap: 25px;
    padding: 0;
    max-width: none;
    height: 100%;
    background: transparent;
    opacity: 1;
    visibility: visible;
  }
}
.hd-nav__list {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  flex-direction: column-reverse;
  gap: 6px;
}
@media screen and (min-width: 1024px) {
  .hd-nav__list {
    flex-direction: column;
  }
}
.hd-nav .nav-list {
  display: block;
}
@media screen and (min-width: 1024px) {
  .hd-nav .nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 20px;
  }
}
.hd-nav .nav-list__item {
  padding: 0;
  line-height: 1;
  text-align: center;
}
.hd-nav .nav-list__item.--pulldown {
  position: relative;
}
.hd-nav .nav-list__item.--pulldown::before {
  content: none;
  width: 12px;
  aspect-ratio: 12/7;
  background: url(/system_panel/uploads/images/icon_portal-arrow01.png) no-repeat center center/contain;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.4s;
}
@media screen and (min-width: 1024px) {
  .hd-nav .nav-list__item.--pulldown::before {
    content: "";
  }
}
.hd-nav .nav-list__link {
  position: relative;
  display: block;
  padding: 16px 0;
  transition: 0.4s;
}
@media screen and (min-width: 1024px) {
  .hd-nav .nav-list__link {
    padding: 0;
  }
}
.hd-nav .nav-list__link-st {
  font-family: "Zen Old Mincho", serif;
  display: block;
  letter-spacing: 0.05em;
  color: #fff;
}
.hd-nav .nav-list__submenu {
  transition: all 0.4s;
}
@media screen and (min-width: 1024px) {
  .hd-nav .nav-list__submenu {
    width: 120px;
    border-top: solid 30px transparent;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    opacity: 0;
    visibility: hidden;
  }
}
@media screen and (min-width: 1024px) {
  .gjs-dashed .hd-nav .nav-list__submenu {
    opacity: 1;
    visibility: visible;
  }
}
.hd-nav .nav-list__submenu-inr {
  margin-bottom: 20px;
}
@media screen and (min-width: 1024px) {
  .hd-nav .nav-list__submenu-inr {
    background-color: #fff;
    padding: 20px 15px;
    margin-bottom: 0;
  }
}
.hd-nav .nav-list__submenu-link {
  display: block;
}
.hd-nav .nav-list__submenu-link + .nav-list__submenu-link {
  margin-top: 10px;
}
.hd-nav .nav-list__submenu-st {
  font-family: "Zen Old Mincho", serif;
  letter-spacing: 0.05em;
  color: #fff;
}
@media screen and (min-width: 1024px) {
  .hd-nav .nav-list__submenu-st {
    color: #5f4c36;
  }
}
.hd-nav .nav-list__item.--pulldown:hover::before {
  transform: translateX(-50%) rotate(-180deg);
}
.hd-nav .nav-list__item.--pulldown:hover > .nav-list__submenu {
  opacity: 1;
  visibility: visible;
}
.hd-toggle {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1002;
}
@media screen and (min-width: 1024px) {
  .hd-toggle {
    width: 50px;
    height: 50px;
  }
}
@media screen and (min-width: 1024px) {
  .hd-toggle {
    display: none;
  }
}
.hd-toggle__txt {
  width: 100%;
  font-size: 1.2rem;
  line-height: 1;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.hd-toggle__inr {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 24px;
  height: 16px;
}
@media screen and (min-width: 1024px) {
  .hd-toggle__inr {
    width: 30px;
    height: 20px;
  }
}
.hd-toggle__line {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: #fff;
  transition: 0.35s ease-in-out;
}
.hd-toggle__line:nth-child(1) {
  top: 0;
}
.hd-toggle__line:nth-child(2) {
  top: 8px;
}
@media screen and (min-width: 1024px) {
  .hd-toggle__line:nth-child(2) {
    top: 10px;
  }
}
.hd-toggle__line:nth-child(3) {
  position: relative;
  top: 16px;
}
@media screen and (min-width: 1024px) {
  .hd-toggle__line:nth-child(3) {
    top: 20px;
  }
}
.hd.open .sp-nav {
  opacity: 1;
  transform: translateX(-100%);
  transition: transform 0.4s, opacity 0.4s;
  visibility: visible;
}
.hd.open .hd-toggle__line:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
.hd.open .hd-toggle__line:nth-child(2) {
  left: 50%;
  width: 0;
}
.hd.open .hd-toggle__line:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

.firstvisit .hd,
.recruit .hd,
.news .hd,
.newsdetail .hd {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}
.firstvisit .hd.fixed,
.recruit .hd.fixed,
.news .hd.fixed,
.newsdetail .hd.fixed {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}
.firstvisit .hd-logo.--01,
.recruit .hd-logo.--01,
.news .hd-logo.--01,
.newsdetail .hd-logo.--01 {
  display: none;
}
.firstvisit .hd-logo.--02,
.recruit .hd-logo.--02,
.news .hd-logo.--02,
.newsdetail .hd-logo.--02 {
  display: block;
}
.firstvisit .hd-nav,
.recruit .hd-nav,
.news .hd-nav,
.newsdetail .hd-nav {
  background: rgba(255, 255, 255, 0.9019607843);
}
@media screen and (min-width: 1024px) {
  .firstvisit .hd-nav,
  .recruit .hd-nav,
  .news .hd-nav,
  .newsdetail .hd-nav {
    background: transparent;
  }
}
.firstvisit .hd-nav .nav-list__item.--pulldown::before,
.recruit .hd-nav .nav-list__item.--pulldown::before,
.news .hd-nav .nav-list__item.--pulldown::before,
.newsdetail .hd-nav .nav-list__item.--pulldown::before {
  background: url(/system_panel/uploads/images/icon_portal-arrow05.png) no-repeat center center/contain;
}
.firstvisit .hd-nav .nav-list__link-st,
.recruit .hd-nav .nav-list__link-st,
.news .hd-nav .nav-list__link-st,
.newsdetail .hd-nav .nav-list__link-st {
  color: #5f4c36;
}
@media screen and (min-width: 1024px) {
  .firstvisit .hd-nav .nav-list__submenu-inr,
  .recruit .hd-nav .nav-list__submenu-inr,
  .news .hd-nav .nav-list__submenu-inr,
  .newsdetail .hd-nav .nav-list__submenu-inr {
    background-color: #5f4c36;
  }
}
.firstvisit .hd-nav .nav-list__submenu-st,
.recruit .hd-nav .nav-list__submenu-st,
.news .hd-nav .nav-list__submenu-st,
.newsdetail .hd-nav .nav-list__submenu-st {
  color: #5f4c36;
}
@media screen and (min-width: 1024px) {
  .firstvisit .hd-nav .nav-list__submenu-st,
  .recruit .hd-nav .nav-list__submenu-st,
  .news .hd-nav .nav-list__submenu-st,
  .newsdetail .hd-nav .nav-list__submenu-st {
    color: #fff;
  }
}
.firstvisit .hd-toggle__txt,
.recruit .hd-toggle__txt,
.news .hd-toggle__txt,
.newsdetail .hd-toggle__txt {
  color: #5f4c36;
}
.firstvisit .hd-toggle__line,
.recruit .hd-toggle__line,
.news .hd-toggle__line,
.newsdetail .hd-toggle__line {
  background: #5f4c36;
}