@charset "UTF-8";

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.content {
  width: 100%;
  padding: 20px;
}

.theater-content {
  max-width: 1200px;
  margin: 0 auto;
}

.theater-iframe-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.theater-iframe-lead {
  font-size: 17px;
  line-height: 2;
  margin-bottom: 64px;
}

.theater-iframe-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 30px;
}

.theater-iframe-item {
  width: 100%;
  position: relative;
}

.theater-iframe-item-thumb {
  width: 100%;
  aspect-ratio: 1920/1080;
  overflow: hidden;
  cursor: pointer;
}

.theater-iframe-item-thumb:hover {
  opacity: 0.7;
}

.theater-iframe-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theater-iframe-item-title {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.theater-iframe-item-title-icon {
  width: 55px;
  display: flex;
  align-items: center;
}
.theater-iframe-item-title-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theater-iframe-item-title-txt {
  flex: 1;
  font-size: 18px;
  font-weight: bold;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theater-iframe-item-desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theater-iframe-item-date {
  margin-top: 10px;
  font-size: 14px;
  text-align: right;
  color: #b2b2b2;
}

.theater-iframe-pagination {
  display: none;
  margin-top: 60px;
}

.theater-iframe-link {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.theater-iframe-link a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: #003884;
  width: 340px;
  height: 100px;
  text-decoration: none;
}

.theater-iframe-link a span {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.theater-iframe-link a img {
  width: 23px;
  height: 23px;
  object-fit: cover;
}

.theater-iframe-link a:hover {
  opacity: 0.7;
}

.theater-iframe-link .kome {
  font-size: 16px;
  margin-top: 10px;
}

/* モーダルスタイル */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.modal-video-container {
  position: relative;
  width: 80vw;
  height: 45vw;
  max-width: 800px;
  max-height: 450px;
}

.modal-video-container iframe {
  width: 100%;
  height: 100%;
}

/* スマホ表示 */
@media screen and (max-width: 767px) {
  .content {
    padding: 15px 0;
  }
  .theater-iframe-title {
    font-size: 28px;
    line-height: 1.6;
  }
  .theater-iframe-title.-small {
    font-size: 26px;
    line-height: 1.4;
  }
  .theater-iframe-lead {
    margin-bottom: 24px;
    font-size: 13px;
  }
  .theater-iframe-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .theater-iframe-item-title {
    gap: 8px;
  }
  .theater-iframe-item-title-txt {
    font-size: 16px;
  }
  .theater-iframe-item-desc {
    font-size: 10px;
  }
  .theater-iframe-item-date {
    margin-top: 8px;
  }
  .theater-iframe-link a {
    height: auto;
    aspect-ratio: 620/100;
    gap: 12px;
  }
  .theater-iframe-link a span {
    font-size: 15px;
  }
  .theater-iframe-link a img {
    width: 18px;
    height: 18px;
  }
  .theater-iframe-link .kome {
    font-size: 14px;
  }
  /* モーダルスマホ対応 */
  .modal-video-container {
    width: 95vw;
    height: 53vw;
    max-width: none;
    max-height: none;
  }
  .modal-close {
    top: 5px;
    right: 10px;
    font-size: 24px;
    width: 35px;
    height: 35px;
  }
}