@charset "utf-8";

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

.schedulePrev img,
.scheduleNext img {
  transition: transform 0.2s ease;
}
.schedulePrev:hover img,
.scheduleNext:hover img {
  transform: scale(1.5); /* ホバーでふわっと拡大🫧 */
}

.centerGroup {
  margin: 0 auto;
  text-align: center;
  padding: 12.8rem 0 5.3rem;
}

.schedulemovie {
  /* padding: 0 4rem; */
  width: 90%;
  margin: 0 auto;
}
.slideIn {
  animation: shuuun 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes shuuun {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.scheduleHead {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background-color: #8e3331;
}

.scheduleMenu {
  display: flex;
  width: calc(100% - 100px);
  text-align: center;
  justify-content: space-between;
}

.scheduleItem {
  width: 14.25%;
  background-color: #8e3331;
  padding: 1.4rem 2.4rem 1.6rem;
  cursor: pointer;
  height: 10rem;
  display: inline-block;

  /* min-width: 140px; */
  vertical-align: top;
  transition: all 0.2s ease;
}
.scheduleItem:hover {
  box-shadow: 0 0 8px #7eff84, 0 0 15px #7eff84;
  color: #7eff84;
  background-color: #542c2a;
  transition: all 0.3s ease;
  z-index: 1; 
}
.scheduleItem.active {
  background-color: #c54a48;
  color: #fff;
  box-shadow: 0 0 12px #ffcc70;
}

.scheduleNavi {
  width: 50px;
  background-color: #8e3331;
  /* padding: 2.6rem 0.9rem; */
  text-align: center;
  cursor: pointer;
}

.scheduleText {
  font-size: 1.4rem;
  text-align: center;
}

.scheduleDates {
  font-size: 2rem;
  padding-bottom: 1rem;
}

.day {
  font-size: 3rem;
}

/* ここから上映中の情報 */

.movieContainer {
  width: 90%;
  /* margin: 0 auto; */
  margin: 4rem auto 0;
  /* padding: 0 0.4rem; */
  background-color: #8e3331;
  padding: 2.4rem 5.7rem 4.5rem;
}

.movieLIst {
  display: flex;
  justify-content: space-between;
}

.movieTitle {
  font-size: 1.6rem;
}

.movieTitleLine {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.4rem;
}

.leftGroup {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.movieTitle h3 {
  margin-right: 3.4rem;
  font-size: 1.6rem;
}

.green {
  background-color: #7eff84;
  color: #8e3331;
  padding: 0 0.8rem;
}
.movieBox {
  width: 16rem;
  height: 24.6rem;
  border: #f9f6f1 1px solid;
  text-align: center;
  display: flex;
  flex-direction: column; /* 上から下に並べる */
  justify-content: center; /* 上下の中央寄せ！ */
  align-items: center; /* 左右の中央寄せ（text-alignと同じ効果） */
}

.movieBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.movieBox a {
  color: #f9f6f1;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.movieBox a:hover {
  color: #7eff84; /* 明るい緑でアクセント！ */
  border-bottom: 1px solid #7eff84; /* 下線つけると視認性UP⤴️ */
  cursor: pointer;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.room {
  font-size: 2.4rem;
  font-family: "Yeseva One", serif;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 3rem;
}

.time {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.timeBy {
  margin-bottom: 3rem;
}

.clickAble {
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.clickAble:hover {
  background: radial-gradient(circle at center, #ffffff22, transparent 70%);
  box-shadow: 0 0 10px #7eff84, 0 0 20px #7eff84;
  transition: 0.3s ease;
}
.clickable:hover::after {
  text-decoration: underline;
}

/* ポスタークリックしたとき */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85); /* 背景真っ暗 */
}

.modal-content {
  margin: 5% auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border: 4px solid #fff;
  box-shadow: 0 0 24px #000;
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  animation: fadeIn 0.3s ease forwards;
}

.modal.show {
  display: block;
}

.modal-content {
  margin: 5% auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border: 4px solid #fff;
  box-shadow: 0 0 24px #000;
  opacity: 0;
  transform: scale(0.9);
  animation: zoomIn 0.3s ease forwards;
}

/* フェードイン背景 */
@keyframes fadeIn {
  from {
    background-color: rgba(0, 0, 0, 0);
  }
  to {
    background-color: rgba(0, 0, 0, 0.85);
  }
}

/* ポスター拡大アニメ */
@keyframes zoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeBg {
  from {
    background-color: rgba(0, 0, 0, 0);
  }
  to {
    background-color: rgba(0, 0, 0, 0.85);
  }
}

.modal {
  animation: fadeBg 0.4s ease forwards;
}

/* メディアクエリ */

@media (max-width: 768px) {
  .scheduleItem {
    min-width: 100px;
    padding: 1rem;
  }

  .scheduleDates {
    font-size: 0.9rem;
  }

  .scheduleText {
    font-size: 0.8rem;
  }

  .schedulePrev,
  .scheduleNext {
    display: none;
  }
}
