.p-menu__top-image {
  position: relative;
}

.p-menu__top-image-ttl {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.p-menu__content01 {
  backdrop-filter: #333;
}

.p-menu__content01-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding:4rem 0rem;
  gap: 2rem;
}

.p-menu__content01-list-item {
  width: 30%;
}

@media screen and (max-width: 768px) {

  .p-menu__content01-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 4rem 0;
    gap: 2rem;
  }

  .p-menu__content01-list-item {
        width: 47%;
  }
}

/* list-item button reset */
button.p-menu__content01-list-item {
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

button.p-menu__content01-list-item img {
  display: block;
  width: 100%;
  transition: opacity 0.25s;
}

button.p-menu__content01-list-item:hover img {
  opacity: 0.8;
}

/* dialog */
.p-menu__dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: 90vw;
  max-width: 900px;
  max-height: 90vh;
  padding: 0;
  border: none;
  background: transparent;
}

.p-menu__dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-menu__dialog::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.p-menu__dialog-img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.p-menu__dialog-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.p-menu__dialog-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.p-menu__dialog-prev,
.p-menu__dialog-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.p-menu__dialog-prev {
  left: 1rem;
}

.p-menu__dialog-next {
  right: 1rem;
}

.p-menu__dialog-prev:hover,
.p-menu__dialog-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 768px) {
  .p-menu__dialog {
    width: 96vw;
  }

  .p-menu__dialog-prev {
    left: 0.25rem;
  }

  .p-menu__dialog-next {
    right: 0.25rem;
  }
}