@charset "UTF-8";

/* =============================================================
  seatmap.css
 =============================================================== */
#page-seatmap #wrapper {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
  min-height: 100vh;
}

#page-seatmap .page-title {
  width: 29.69%;
  max-width: 570px;
}

#seatmap {
  background: #ccfaea;
  padding: 45px 0 70px;
}

/* タブ */
#seatmap .tab {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 40px;
}

#seatmap .tab__item {
  border: 2px solid var(--white);
  border-radius: 100vmax;
  background: #ccfaea;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.4rem;
  font-weight: 500;
  font-family: var(--font-montserrat);
  padding: 10px 0;
  transition: all 0.5s;
  width: 18.18%;
}

#seatmap .tab__item:hover,
#seatmap .tab__item.active {
  background: var(--navy);
  border: 2px solid var(--navy);
  color: var(--white);
}

/* パネル */
#seatmap .panel {
  background: var(--white);
  border-radius: 20px;
  margin-bottom: 50px;
}

#seatmap .panel__item {
  background: var(--white);
  border-radius: 20px;
  display: none;
  padding: 125px 60px;
  width: 100%;
}

#seatmap .panel__item img {
  margin: 0 auto;
  width: 100%;
}

#seatmap .panel__item.active {
  display: block;
  animation: panel-show 0.9s ease-in-out forwards;
}

/* パネル切り替えのアニメーション */
@keyframes panel-show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* modal */
#seatmap .f_all {
  position: relative;
}

.seat-details__list > li {
  border-radius: 15px;
  height: 90px;
  position: absolute;
  text-align: center;
  width: 108px;
}

.seat-details__list > li > a > span {
  letter-spacing: 1px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.f2 .seat-details__list > li {
  background: #8480bc;
}

.f3 .seat-details__list > li {
  background: #5fb79c;
}

.f4 .seat-details__list > li {
  background: #c388b1;
}

.seat-details__list > li:hover {
  cursor: pointer;
  opacity: 0.8;
  transition: all 0.3s linear;
  text-decoration: none;
  color: inherit;
}

.seat-details__list .js-modal-open {
  box-sizing: border-box;
  color: #fff;
  display: block;
  font-size: 16px;
  line-height: 1.1;
  height: 100%;
  padding: 17px;
  position: relative;
}

#seatmap .modal {
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000000;
}

#seatmap .modal__bg {
  background: rgba(0, 0, 0, 0.8);
  height: 100%;
  position: absolute;
  width: 100%;
}

#seatmap .modal__content {
  background: #fff;
  left: 50%;
  height: 80vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 40px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

#seatmap a.js-modal-close {
  background: #555;
  border-radius: 30px;
  color: #fff;
  display: block;
  margin: 40px auto 0;
  padding: 10px;
  text-align: center;
  width: 40%;
}

#seatmap .seat-details__box {
  border-bottom: 1px solid #9f9fa0;
  background: #43403f;
  margin-top: -5px;
  padding: 30px 30px 50px;
  position: relative;
}

#seatmap .seat-details__note {
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  text-align: center;
}

#seatmap .fa-plus {
  position: absolute;
  bottom: 7px;
  right: 7px;
}

#seatmap .fa-plus:before {
  content: "\f067";
}

#seatmap .seat-addtext {
  color: #e23d57;
  text-align: center;
  font-size: 1.4rem;
  margin-top: 100px;
}

#seatmap .seat-addtext .fa-exclamation-triangle {
  font-size: 2.5rem;
  padding-right: 5px;
  vertical-align: middle;
}

@media screen and (min-width: 1024.01px) {
  .l01 {
    left: 62%;
    top: -5.7%;
  }

  .l05 {
    left: 38%;
    top: -5.7%;
  }

  .l11 {
    left: 12%;
    top: 6%;
  }

  .c16 {
    left: 6.5%;
    top: 42.5%;
  }

  .r24 {
    bottom: 6%;
    left: 12%;
  }

  .r29 {
    bottom: -6%;
    left: 38%;
  }

  .r32 {
    bottom: -6%;
    left: 62%;
  }

  .f2 .l01 {
    left: 62%;
    top: -5%;
  }

  .f2 .l05 {
    left: 38%;
    top: -5%;
  }

  .f2 .l11 {
    left: 12%;
    top: 6%;
  }

  .f2 .c16 {
    left: 6.5%;
    top: 38.6%;
  }

  .f2 .r24 {
    bottom: 12.6%;
    left: 15%;
  }

  .f2 .r29 {
    bottom: 5.5%;
    left: 38%;
  }

  .f2 .r32 {
    bottom: 5.5%;
    left: 62%;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .l01 {
    left: 62%;
    top: -12%;
  }

  .l05 {
    left: 38%;
    top: -12%;
  }

  .l11 {
    left: 9%;
    top: -1%;
  }

  .c16 {
    left: 1.5%;
    top: 40%;
  }

  .r24 {
    bottom: -1%;
    left: 9%;
  }

  .r29 {
    bottom: -12%;
    left: 38%;
  }

  .r32 {
    bottom: -12%;
    left: 62%;
  }

  .f2 .l01 {
    left: 62%;
    top: -12%;
  }

  .f2 .l05 {
    left: 38%;
    top: -12%;
  }

  .f2 .l11 {
    left: 9%;
    top: 0;
  }

  .f2 .c16 {
    left: 1.5%;
    top: 35.8%;
  }

  .f2 .r24 {
    left: 7%;
    bottom: 12.6%;
  }

  .f2 .r29 {
    bottom: 0.5%;
    left: 38%;
  }

  .f2 .r32 {
    bottom: 0.5%;
    left: 62%;
  }
}

@media screen and (max-width: 768px) {
  #page-seatmap .page-title {
    width: 62.73%;
    max-width: 470px;
  }

  #seatmap .tab {
    margin-bottom: 20px;
  }

  #seatmap .tab__item {
    font-size: 2.2rem;
    font-weight: 600;
    height: 65px;
    padding: 10px 0;
    width: 65px;
  }

  #seatmap .panel {
    border-radius: 10px;
    margin-bottom: 25px;
  }

  #seatmap .panel__item {
    border-radius: 10px;
    padding: 30px 25px;
  }

  #seatmap .panel__item img {
    width: 100%;
  }

  .seat-details__list {
    padding-top: 8%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .seat-details__list > li {
    display: inline-block;
    margin-bottom: 4%;
    position: relative;
    width: 48%;
  }

  .seat-details__list > li:nth-of-type(7) {
    margin-bottom: 0;
  }

  .seat-details__list .js-modal-open {
    font-size: 1.6rem;
  }

  #seatmap .modal__content {
    height: 60vh;
    padding: 50px 15px 15px;
    width: 90%;
  }

  #seatmap a.js-modal-close {
    font-size: 1.3rem;
  }

  #seatmap .seat-details__note {
    font-size: 1.2rem;
  }

  #seatmap .seat-addtext {
    font-size: 1.3rem;
    margin-top: 20px;
  }
}

@media screen and (max-width: 374px) {
  #seatmap .tab__item {
    font-size: 2rem;
    height: 55px;
    width: 55px;
  }
}
