@charset "utf-8";

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.centerGroup {
  margin: 0 auto;
  text-align: center;
  padding: 4.8rem 0 4.2rem;
}

.facilitiesSection {
  margin: 0 auto;
}
.facilitiesImg {
  margin: 0 22.8rem 13.5rem;
}

.facilitiesImg img {
  width: 100%;
  height: auto;
}

.theaterCard {
  display: flex;
  margin: 0 8rem;
  color: #8e3231;
  background-color: #f9f6f1;
  border-radius: 24px;
}

/* ↑のアニメーション */
.theaterCard {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  filter: blur(4px);
  transition: all 1.6s cubic-bezier(0.22, 1, 0.36, 1); /* ←イージングがキモ */
}

.theaterCard.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}


.theaterSeat img {
  width: 72rem;
  height: 42rem;
  object-fit: cover;
  border-radius: 8px;
  max-width: 100%;
  transition: transform 0.4s ease;
}
.theaterSeat img:hover {
  transform: scale(1.08); 
}

.roomName {
  font-family: "Yeseva One", serif;
  font-weight: 400;
  font-style: normal;
  /* margin-top: 6.4rem; */
  padding-bottom: 0.9rem;
}

.roomName h3 {
  font-size: 4.8rem;
  white-space: nowrap;

}


.roomName1 p {
  font-size: 1.6rem;
  margin-left: 11rem;
}

.roomName2 p {
  font-size: 1.6rem;
  margin-left: 13rem;
  white-space: nowrap;
}


.theaterInfo {
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
}

.theaterSeat,
.leftInfo {
  padding: 6.3rem 4.2rem;
}


.theaterDetail {
  margin-top: 12.5rem;

}
.theaterDetail p {
  margin-bottom: 2.8rem;
}
.theaterDetail a {
  color: #8e3231;
  position: relative;
  color: inherit;
  text-decoration: none;
}



.theaterDetail a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.theaterDetail a:hover::after {
  transform: scaleX(1);
}

.ticketDeco {
  font-size: 1.2rem;
  margin-top: 8rem;
  margin-left: 25.8rem;
  white-space: nowrap;
}

.rightInfo span {
  writing-mode: sideways-lr;
  font-family: "Libre Barcode 39 Text", cursive;
  font-size: 10rem; 
  letter-spacing: 1.8px; 
  padding: 2.8rem 2.3rem;

  position: relative;
  color: #8e3231;
  transition: color 0.3s;
  overflow: hidden;
}

/* 2個目のシアター */

.theaterCard2 {
  margin-top: 16rem;
  margin-bottom: 10rem;
}




/* バーコードのhover */

.rightInfo span::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
}

.rightInfo span:hover::after {
  animation: barcodeShine 0.8s forwards;
}
.rightInfo span:hover {
  color: #bc3200;
}

@keyframes barcodeShine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}



/* ここから料金 */
.priceSection {
  background-color: #f9f6f1;
  padding-top: 4.8rem ;
  padding-bottom: 13rem;
}

.priceGroup {
  color: #8e3231;
  padding-bottom: 8rem;
}

.priceTable {
  background-color: #8e3231;
  color: #f9f6f1;
  padding: 2.4rem 14.8rem;
  margin: 0 17.4rem;
}


.priceItem {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #f9f6f1;
  padding: 4.4rem 0 12px 0;
  font-size: 1.6rem;
}

.priceTable h4 {
  font-size: 2.4rem;
  padding-top: 4.6rem;
}

.priceLablContainer {
  display: flex;
  flex-direction: column;
}

.priceLablContainer small {
  font-size: 1.2rem;
  opacity: 0.8;
}

.pruceNote {
  text-align: center;
  margin: 2.4rem 0 4.3rem
}

.buyInfo {
  padding: 3.3rem 2.8rem;
  color: #8e3231;
  border: 1px solid #8e3231;
  margin: 12.3rem 27rem 0;

}

.buyInfo h5 {
  font-size: 2rem;

  margin-bottom: 1.3rem;
}


.box2 {
  margin-top: 4.6rem;
}

/* メディアクエリ */
@media (max-width: 768px) {
  .theaterCard {
    flex-direction: column;
    align-items: center;
  }

  .theaterImg img {
    width: 100%;
    height: auto;
  }
}
