@charset "UTF-8";
.c_l {
  text-align: center;
}

#popup {
  display: none;
  position: relative;
  z-index: 999;
}

.popupBg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.popupContainer {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 540px;
  height: 90%;
  max-height: 1000px;
  padding-bottom: 20px;
  background-color: #efefef;
  z-index: 2;
}

.popupHeader {
  padding: 5px 5px 10px;
}

.popupHeaderText h3 {
  font-size: 2rem;
}
.popupHeaderText p {
  font-size: 1.4rem;
}
.popupHeaderText p > span {
  color: red;
}

.popupBody {
  overflow-y: scroll;
  padding: 0 20px;
}

.popupItem:not(:last-child) {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
}

.itemImg {
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}
.itemImg img {
  width: 100%;
}

.itemName {
  text-align: center;
  font-weight: bold;
}

.closeBtn button {
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  margin-left: auto;
}
.closeBtn button::before, .closeBtn button::after { /* 共通設定 */
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px; /* 棒の幅（太さ） */
  height: 30px; /* 棒の高さ */
  background: #333;
}
.closeBtn button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.closeBtn button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (max-width: 500px) {
  .c_l {
    text-align: left;
  }
}