#menu {
  z-index: 500;
}

/* メニュー（ヘッダー） */
.menu-header-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  display: block;
}

.menu-header-content-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 120px;
  background-color: #19223B;
}

.menu-header-content-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-family: var(--primary-font);
  font-size: 24px;
  font-weight: bold;
  line-height: 1.15;
  letter-spacing: 0em;
  color: #fff;
}
.menu-header-content-text-container p {
  cursor: pointer;
  font-family: var(--primary-font);
  font-size: 24px;
  font-weight: bold;
  line-height: 1.15;
  letter-spacing: 0em;
  color: #fff;
}

.menu-header-content-text-container p:hover {
  text-decoration: underline;
}

/* メニュー（開いた画面） */
.menu-screen-container {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

.menu-screen-container.open {
  display: flex;
}

.menu-screen-container.absolute {
  position: absolute;
  align-items: flex-end;
  height: 100%;
  top: auto;
  bottom: 0;
}

.menu-screen-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #19223B;
  opacity: 0.9;
  z-index: -1;
}

.menu-screen-content-container {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  width: 100%;
  height: 465px;
  margin-top: 100px;
}

.menu-screen-content-container.absolute {
  position: relative;
  justify-content: baseline;
  padding-bottom: 100px;
  margin-top: 0px;
}

.menu-screen-image {
  width: 683px;
  height: 500px;
  background-image: url(../../images/topPage/menu_decoration.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.menu-screen-text-container {
  width: 370px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.menu-screen-text-container-item {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.menu-screen-text-container-item:hover {
  color: #fff;
  text-decoration: underline;
}

.menu-screen-text-container-item p {
  width: 100%;
  cursor: pointer;
  text-align: left;
  font-family: var(--primary-font);
  font-size: 32px;
  font-weight: bold;
  line-height: 1.15;
  letter-spacing: 0em;
  color: #fff;
}

.menu-screen-text-link-icon { 
  width: 12px;
  height: 20px;
  background-image: url(../../images/topPage/menu_icon.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.menu-screen-text-container-item-line {
  width: 100%;
  height: 1px;
  background-color: #A3A3A3;
}


/* メニュー（ボタン） */
.menu-screen-button {
  cursor: pointer;
  position: fixed;
  top: 128px;
  right: 32px;
  width: 54px;
  height: 54px;
  background-image: url(../../images/topPage/menu_button.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 100;
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

.menu-screen-button.hide {
  opacity: 0;
  pointer-events: none;
}

.menu-screen-button:hover {
  opacity: 0.6;
}
.menu-screen-button.open {
  background-image: url(../../images/topPage/menu_close_icon.svg);
}

/* レスポンシブ */
@media (min-width: 1280px) {
  .menu-screen-image {
    width: 683px;
    height: 500px;
  }
}

@media (min-width: 768px) and (max-width: 1280px) {
  .menu-screen-image {
    max-width: calc(255px + (683 - 255) * ((100vw - 768px) / (1280 - 768)));
    max-height: calc(188px + (500 - 188) * ((100vw - 768px) / (1280 - 768)));
  }
}

@media  (max-width: 767px) {
  .menu-screen-image {
    display: none;
  }

  .menu-header-container {
    display: none;
  }

  .menu-screen-text-container {
    max-width: 370px;
    width: 100%;
    padding: 0 16px;
  }

  .menu-screen-text-container-item p {
    font-size: 16px;
  }

  .menu-screen-text-link-icon {
    width: 7.2px;
    height: 12px;
  }
}

/* スクロール禁止用のクラス */
.no-scroll {
  overflow: hidden;
}