@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/*********************
 * リセット
 * ******************/
.wrap {
  width: 100%;
}
#toc{
	display:none;
}
.main {
  padding: 0 !important;
  border: 0;
}

.article h2 {
  background: none;
  margin: 0 !important;
}

.content {
  margin-top: 0;
}

.entry-content {
  margin-top: 0;
  margin-bottom: 0;
}
/*************************
 * top
 * *******************/
.header-container {
  display: none;
}

.home .article-header {
  display: none;
}

.date-tags {
  display: none;
}

/******************
 * page
 * *****************/
.page-header-title {
  max-width: 150px;
  margin: 0 auto 60px;
}

/*******************
 * ヘッダー画像
 * **************/
.slick01 {
  height: 100vh;
  margin: 0;
  position: relative;
}

.slick01 .full-image {
  height: 100vh;
  width: 100%;
  background-repeat: no-repeat; /*背景画像をリピートしない*/
  background-position: center; /*背景画像の位置を中央に*/
  background-size: cover; /*背景画像が.slider-item全体を覆い表示*/
}

.slick01 .main01 {
  background-image: url(https://beppu-tanpeneiga.com/wp-content/uploads/2021/06/DSC_2762_01.jpg);
}

.slick01 .main02 {
  /* background-image: url(https://beppu-tanpeneiga.com/wp-content/uploads/2021/06/20191123-D75_5391.jpg); */
  background-image: url(https://beppu-tanpeneiga.com/wp-content/uploads/2025/06/topimage5.jpg);
}

.slick01 .main03 {
  background-image: url(https://beppu-tanpeneiga.com/wp-content/uploads/2021/06/20180109-DSC_7209.jpg);
}

.slick01 .main04 {
  background-image: url(https://beppu-tanpeneiga.com/wp-content/uploads/2021/06/20180913-D75_2260.jpg);
}

.header-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.slide-animation {
  animation: fadezoom 8s linear 0s forwards;
}
@keyframes fadezoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

/****************
*フッター
*****************/
#footer {
    background-color: #b1b4b6 !important;
}
.footer-meta {
  display: none;
}

.footer {
  margin-top: 0;
  border-top: 1px solid #fff;
}

.footer-bottom {
  margin-top: 0;
}

/************************
 * メニューボタン
 * *********************/
/*ハンバーガーボタン*/
.hamburger {
  display: block;
  position: fixed;
  z-index: 3;
  right: 13px;
  top: 12px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
.hamburger span {
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 6px;
  background: #a9a9a9;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}

/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top: 16px;
  left: 6px;
  background: #a9a9a9;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  background: #a9a9a9;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

nav.globalMenuSp {
  position: fixed;
  z-index: 2;
  top: 0;
  right: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  width: 25%;
  opacity: 0;
  pointer-events: none;
  /*   display: none; */
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  transition: 0.4s all;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}
nav.globalMenuSp ul li:hover {
  background: #ddd;
}

nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration: none;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  opacity: 100;
  pointer-events: auto;
  /* display: block; */
}
/******************
 * ボタン
 * ***************/
.gr-btn {
  max-width: 250px;
  margin: 20px auto;
  background: -moz-linear-gradient(left, #add8e6, #007199);
  background: -webkit-linear-gradient(left, #add8e6, #007199);
  background: linear-gradient(to right, #add8e6, #007199);
  transition: 0.5s;
  position: relative;
}

.gr-btn a {
  text-decoration: none;
  padding: 10px;
  color: #fff;
  text-align: center;
  display: block;
}

.gr-btn a::after {
  position: absolute;
  right: 20px;
  transition: 0.4s;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f105";
  top: 5px;
  color: #fff;
  font-size: 20px;
}

.gr-btn a:hover::after {
  right: 10px;
}

/**********************
 * セクション
 * ******************/
.section-title {
  margin: 0 auto 60px;
  text-align: center;
  color:#000 !important;
}

.section-title h2 {
  font-size: 50px;
  font-family: Futura, "Century Gothic";
  font-weight: 400;
  color:#000;
}

.section-title.japanese {
  margin: 0 auto 40px;
}

.section-title.japanese h2 {
  font-size: 28px;
  color: #007199;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 600;
}

/**********************
 * message-section
 * ****************/
#message-section {
  background-color: #b1b4b6;
  margin: 50px 0;
  padding: 20px;
}

.message-inner {
  max-width: 431px;
  margin: 0 auto;
}

.message-inner img {
  width: 100%;
}

.message-inner p {
  color: #696969;
}

.message-inner p:nth-of-type(2) {
  margin-bottom: 0;
}

/*******************
 * info-section
 * ****************/
#info-section {
  background-color: #000;
  color: #fff;
}

#info-section02 {
  background-color: #707070;
  color: #fff;
}

.info-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 50px;
}

@media screen and (max-width: 480px) {
  .info-inner {
    padding: 20px;
  }
}
#about-section .section-title .section-subtitle{
  color:#fff;
  font-size: clamp(16px, 4.5vw, 26px);
  margin: .4em 0 .8em;
  line-height: 1.4;
}
/***********************
 * about-section
 * *******************/
#about-section {
  /* background-image: url(https://beppu-tanpeneiga.com/wp-content/uploads/2021/06/messageImage_1622532191628.jpg); */
  background-image: url(https://beppu-tanpeneiga.com/wp-content/uploads/2025/08/top-image3.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom 0 left 30%;
  padding: 100px 20px;
}

.about-inner {
  max-width: 800px;
  padding: 50px 100px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.about-word {
  color: #fff;
}

/****************************
 * movie-section
 * *************************/
#movie-section {
  background-color: #fff;
  padding: 80px 0 5px;
  width: 100%;
}

.movie-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

#movie-section .section-title {
  color: #fff;
}

#movie-section .video-container {
  max-width: 1200px;
  float: left;
  margin: 1%;
  width: 48%;
  box-sizing: border-box;
}

#movie-section .video-container:not(:last-of-type) {
  margin-bottom: 50px;
}

/********************************
 * director-section, cast-section
 * ******************************/
#director-section,
#cast-section {
  background-color: #b1b4b6;
  padding: 80px 10px;
}

#director-section .section-title,
#cast-section .section-title {
  color: #fff;
}

.director-inner,
.cast-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.director-item p,
.cast-item p {
  color: #000;
  text-align: center;
}

.slide-img {
  max-width: 280px;
  overflow: hidden;
  margin-bottom: 20px;
}

.slide-img img {
  transition: 0.5s;
  width: 100%;
}

/* .slide-img img:hover {
  transform: scale(1.1);
} */

.director-item a,
.cast-item a {
  text-decoration: none;
}

@media screen and (min-width: 834px) {
  .director-item a:hover .slide-img img {
    transform: scale(1.1);
  }

  .cast-item a:hover .slide-img img {
    transform: scale(1.1);
  }
}

.prev {
  display: inline-block;
  color: #000;
  font-size: 20px;
  /* background-color: rgba(255,255,255,.3); */
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  position: absolute;
  top: -40px;
  left: 0;
  transition: 0.3s;
}

.prev:hover {
  left: -5px;
}

.next {
  display: inline-block;
  color: #000;
  font-size: 20px;
  /* background-color: rgba(255,255,255,.3); */
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  position: absolute;
  top: -40px;
  right: 0;
  cursor: pointer;
  transition: 0.3s;
}

.next:hover {
  right: -5px;
}

/*coming soon用*/
#cast-section .cast-inner {
  position: relative;
}

#cast-section .coming-soon {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translateY(-60%) translateX(-50%);
  margin: auto;
  font-size: 40px;
  color: #fff;
  z-index: 1;
  text-align: center;
}

/*******************
 * cast-list-page
 * *************/
#cast-list-page {
  background-color: black;
  padding: 80px 10px;
}

#cast-list-page .name {
  padding-top: 50px;
  margin-top: -50px;
}

#cast-list-page .section-title {
  color: #fff;
}

#cast-list-page .name {
  font-size: 1.2em;
  /* 	font-weight: bold; */
}

.cast-list-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.cast-list-item {
  display: flex;
  padding: 20px;
  margin-bottom: 50px;
  background-color: #fff;
}

.cast-list-right {
  margin-left: 30px;
  padding: 20px;
  width: 70%;
}

/*リンク飛んだとき上に余白*/
p.anchor {
  display: block;
  padding-top: 250px;
  margin-top: -250px !important;
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
  .cast-list-right {
    width: 50%;
  }
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
  .cast-list-item {
    flex-direction: column;
    align-items: center;
  }
  .cast-list-left {
    width: 50%;
  }
  .cast-list-right {
    margin-left: 0;
    width: 100%;
    padding: 20px 0 0 0;
  }
  p.name {
    text-align: center;
  }
}
/*******************
 * sceneセクション
 * ***************/
#scene-section {
  width: 100%;
  background-color: #b1b4b6;
  padding: 80px 10px;
}

#scene-section ul {
  padding-left: 0;
}

#scene-section li {
  margin: 0;
}

#scene-section .section-title {
  color: #fff;
}

.scene-inner {
  margin: 0 auto;
  max-width: 1200px;
}

.scroll-area {
  width: 100%;
  position: relative;
}

.scene-inner p.scroll-txt {
  color: #fff;
  position: absolute;
  right: 0;
  top: -30px;
  padding-right: 20px;
  font-size: 14px;
  display: none;
}

.scroll-tab {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* 慣性スクロール */
  overflow-y: hidden;
}

/* .scene-inner p.scroll-txt {
  color: #fff;
  position: absolute;
  right: 0;
  top: 20px;
  padding-right: 20px;
  font-size: 14px;
  display: none;
} */

.scene-inner p.scroll-txt:after {
  font-family: "Font Awesome 5 Free";
  content: "\f101";
  font-weight: 900;
  animation: scroll-arrow 1.2s ease infinite;
  position: absolute;
  right: 0;
}

@keyframes scroll-arrow {
  0% {
    right: 8px;
    opacity: 0;
  }
  100% {
    right: 0;
  }
}

@media screen and (max-width: 834px) {
  .scene-inner p.scroll-txt {
    display: block;
  }
}

.tabs {
  min-width: 1000px;
  max-width: 1200px;
  display: flex;
  justify-content: flex-start;
  /* margin: 50px auto 30px; */
}

.tabs li {
  width: 20%;
  background-color: #000;
  text-align: center;
  position: relative;
  border: 1px solid #fff;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: 0.3s;
  list-style: none;
}

.tabs li p {
  font-size: 24px;
  margin: 5px;
}

.tabs li p:first-of-type {
  font-size: 16px;
  margin-top: 10px;
}

@media screen and (min-width: 834px) {
  .tabs li:not(.active):hover {
    opacity: 0.7;
  }
}

.tabs li.active {
  background-color: #007199;
  border: 1px solid #007199;
}

.tabs li.active::before {
  content: "";
  position: absolute;
  background: url(https://beppu-tanpeneiga.com/wp-content/uploads/2021/09/温泉マークのアイコン素材02.png);
  background-repeat: no-repeat;
  background-size: contain;
  /* top: 50%;
	transform: translateY(-50%); */
  top: 5px;
  left: 10px;
  width: 35px;
  height: 35px;
}

.tabs li.active::after {
  content: "";
  position: absolute;
  border: 10px solid transparent;
  border-top: 20px solid #007199;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.contents li {
  background-color: #007199;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 40px;
  display: none;
  user-select: none;
}

.contents li.active {
  display: block;
}

.contents .members {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* 2人の場合 */
@media screen and (min-width: 480px) {
  .contents .members.fl {
    justify-content: flex-start;
  }
  
  .contents .members.fl .member:first-of-type {
    margin-right: 3%;
  }
}

.members .member {
  max-width: 200px;
  width: 100%;
}

.contents .members::after {
  content: "";
  display: block;
  max-width: 200px;
  width: 32%;
}

.members .member img {
  width: 100%;
}

.member p {
  color: #fff;
  text-align: center;
}

#scene-section li.coming-soon {
  color: #fff;
  font-size: 20px;
}

#scene-section .swiper-container {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  height: 40vw;
  max-height: 600px;
  min-height: 400px;
}

/* .swiper-container {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  height: 40vw;
  max-height: 600px;
  min-height: 400px;
} */

.swiper-slide {
  text-align: center;

  line-height: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.swiper-slide img {
  display: inline;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  align-self: center;
}

.swiper-pagination {
  bottom: -7px !important;
}

.swiper-pagination-bullet {
  background: #dcdcdc !important; /* 色：緑 */
  opacity: 0.5 !important; /* 半透明（デフォルトでは0.2） */
}

.swiper-pagination-bullet-active {
  background: #fff !important; /* 色：黄色 */
  opacity: 1 !important; /* 不透明 */
}

.swiper-button-next,
.swiper-button-prev {
  --swiper-navigation-color: #fff;
  opacity: 0.5;
}

/*1023px以下*/
@media screen and (max-width: 1023px) {
}

/*834px以下*/
@media screen and (max-width: 834px) {
  .contents li {
    padding: 40px 20px;
  }
  .members .member {
    width: 32%;
  }
}

/*480px以下*/
@media screen and (max-width: 480px) {
  .tabs li p {
    font-size: 20px;
    margin: 5px;
  }

  .tabs li p:first-of-type {
    font-size: 14px;
    margin-top: 5px;
  }
  .contents li {
    padding: 20px 5px;
  }
  .members .member {
    width: 49%;
  }
}

/********************
 * works-section
 * ******************/
#works-section {
  background-color: #b1b4b6;
  padding: 80px 10px;
}

.works-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

#works-section .section-title {
  color: #000;
}

.swiper-works {
  overflow: hidden;
  position: relative;
}

.swiper-works .swiper-slide {
  width: 100%;
  height: 100%;
  text-align: center;
  flex-direction: column;
}

.swiper-works img {
  max-width: 425px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

.swiper-works p {
  margin: 15px auto;
  color: #000;
}

.swiper-works .swiper-pagination {
  position: static;
}

.swiper-works-thumb {
  max-width: 425px;
  width: 100%;
}

.swiper-works-thumb .swiper-slide {
  opacity: .5;
  transition: opacity .5s;
  width: calc(100% / 6) !important;
}
.swiper-works-thumb .swiper-slide.swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-works-thumb .swiper-wrapper {
  justify-content: center;
}
#works-section .swiper-button-next,#works-section .swiper-button-prev{
  color: #000 !important;
}

/********************
 * schedule-section
 * ******************/
 #schedule-section {
  background-color: #b1b4b6;
  padding: 80px 10px;
}

.schedule-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

#schedule-section .section-title {
  color: #fff;
}

#schedule-section .schedule {
  overflow: auto;
}

#schedule-section .schedule img {
  max-width: 1200px;
  display: block;
  margin: 0 auto;
}

#schedule-section p.scroll-txt {
  padding-right: 20px;
  font-size: 14px;
  color: #fff;
  text-align: right;
  display: none;
  position: relative;
  margin-bottom: 5px;
}

@media screen and (max-width: 1023px) {
  #schedule-section p.scroll-txt {
    display: block;
  }
}

@keyframes scroll-arrow {
  0% {
    right: 8px;
    opacity: 0;
  }
  100% {
    right: 0;
  }
}

#schedule-section p.scroll-txt:after {
  font-family: "Font Awesome 5 Free";
  content: "\f101";
  font-weight: 900;
  animation: scroll-arrow 1.2s ease infinite;
  position: absolute;
}

@media screen and (max-width: 834px) {
  #schedule-section .schedule img {
    max-width: 1000px;
  }
}

@media screen and (max-width: 480px) {
  #schedule-section .schedule img {
    max-width: 800px;
  }
}

/*********************
 * sponsor-section
 * *******************/
#sponsor01-section {
  background-color: #fff;
  padding: 80px 0;
  width: 100%;
}

.sponsor01-inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

#sponsor01-section .section-title {
  color: #007199;
}

#sponsor01-section .section-title p {
  text-align: center;
}

#sponsor01-section .banner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 5px 30px;
}

#sponsor01-section .banner:not(.s-banner) {
  border-bottom: 1px solid #ddd;
}

#sponsor01-section .banner a {
  text-decoration: none;
}

.apu-banner a {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 10px;
  margin-bottom: 30px;
}

.apu-banner img {
  display: block;
  width: 100%;
}

.xxl-banner a {
  width: 45%;
  margin: 0 10px 30px;
}

.xxl-banner img {
  display: block;
  margin: 0 auto;
  max-width: 512px;
  width: 100%;
}

.xl-banner a {
  width: 45%;
  margin: 0 10px 30px;
}

.xl-banner img {
  display: block;
  margin: 0 auto;
  max-width: 448px;
  width: 100%;
}

.l-banner a {
  width: 30.8%;
  margin: 0 10px 30px;
}

.l-banner img {
  display: block;
  margin: 0 auto;
  max-width: 384px;
  width: 100%;
}

.l-banner::after {
  display: block;
  content: "";
  width: 30.8%;
}

.m-banner a {
  width: 22.5%;
  margin: 0 10px 30px;
}

.m-banner img {
  display: block;
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
}

.s-banner a {
  width: 17.5%;
  margin: 0 10px 30px;
}

.s-banner img {
  display: block;
  margin: 0 auto;
  max-width: 256px;
  width: 100%;
}

.s-banner::after {
  content: "";
  width: 29%;
  display: block;
  margin: 0 10px;
}

/*834px以下*/
@media screen and (max-width: 834px) {
  .xxl-banner a {
    width: 100%;
  }
  .l-banner a,
  .m-banner a {
    width: 45%;
  }
  .s-banner a {
    width: 29%;
  }
  .m-dummy,
  .s-dummy {
    display: none;
  }
}

/*480px以下*/
@media screen and (max-width: 480px) {
  #sponsor01-section .banner {
    margin-bottom: 40px;
  }
  #sponsor01-section .banner a {
    margin-bottom: 20px;
  }
  .apu-banner, .xxl-banner {
    margin-bottom: 20px!important;
  }
  .xl-banner a,
  .l-banner a {
    width: 100%;
  }
  .m-banner a,
  .s-banner a {
    width: 43%;
  }
}

.special-thanks {
  margin: 0 auto 80px;
  padding: 0 5px;
}

.special-thanks-name {
  display: flex;
  flex-wrap: wrap;
}

.special-thanks-name p {
  font-size: 20px;
  width: 25%;
  text-align: center;
}

@media screen and (max-width: 834px) {
  .special-thanks {
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 480px) {
  .special-thanks {
    margin-bottom: 40px;
  }
  .special-thanks-name p {
    width: 50%;
  }
}

.sponsor-02 {
  margin: 0 auto 80px;
  padding: 0 5px;
}

.sponsor02-box {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  max-height: 350px;
  margin: 60px auto 0;
  padding: 30px 10px 10px;
  border: 1px solid #333;
  overflow-x: hidden;
   overflow-y: scroll;
}

.sponsor02-box p {
  text-align: center;
  color: #333;
  width: 20%;
}

@media screen and (max-width: 834px) {
  .sponsor02 {
    margin-bottom: 60px;
  }
  .sponsor02-box p {
    width: 25%;
  }
}

@media screen and (max-width: 480px) {
  .sponsor02 {
    margin-bottom: 40px;
  }
	  .sponsor02-box {
    width: 90%;
	max-height: 100%;
    overflow-y: visible;
  }
  .sponsor02-box p {
    width: 33.3%;
	margin-bottom: 6%;
  }
}
/***********************
 * kyousan-section
 * *********************/
#kyousan-section {
  background-color: #007199;
  padding: 80px 20px 100px;
}

.kyousan-inner {
  background-color: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 50px;
}
/********************
 * kyousan-page
 * **************/
#kyousan-page {
  background-color: #007199;
  padding: 100px 20px;
}

.kyousan-page-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px;
  background-color: #fff;
}

.fixed01 {
  position: sticky;
  left: 0;
  color: #333;
  background: #fff;
}

.fixed01:before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 100%;
  height: 100%;
  border: 1px solid #eee;
}

#kyousan-page table {
  display: block;
  overflow-x: scroll;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
  user-select: none;
}

.kyousan-table {
  position: relative;
}

.kyousan-table p.scroll-txt {
  position: absolute;
  right: 0;
  top: 0;
  padding-right: 20px;
  font-size: 14px;
}

.kyousan-table p.scroll-txt:after {
  font-family: "Font Awesome 5 Free";
  content: "\f101";
  font-weight: 900;
  animation: scroll-arrow 1.2s ease infinite;
  position: absolute;
  right: 0;
}

@keyframes scroll-arrow {
  0% {
    right: 8px;
    opacity: 0;
  }
  100% {
    right: 0;
  }
}

.kyousan-table p:nth-of-type(1) {
  margin-bottom: 5px;
}

#kyousan-page table th {
  background-color: #007199 !important;
  color: #fff;
}

/********************
 * contact-section
 * ****************/
#contact-section {
  background-color: #b1b4b6;
  padding: 80px 10px;
  color: #000;
}

.contact-inner {
  max-width: 650px;
  margin: 0 auto;
}

.contact-inner p.producer {
  max-width: 300px;
  margin: 0 auto 60px;
}

.contact-note {
  font-size: 14px;
  margin-bottom: 80px;
}

#contact-section .radio-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wpcf7-form p:nth-child(8) {
  max-width: 250px;
  margin: 20px auto;
  position: relative;
}

.wpcf7-form p:nth-child(8):after {
  position: absolute;
  right: 20px;
  transition: 0.4s;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f105";
  top: 3.5px;
  color: #fff;
  font-size: 20px;
}

.wpcf7-form p:nth-child(8):hover::after {
  right: 10px;
}

input[type="submit"] {
  border: 0;
  /* max-width: 250px; */
  /* margin: 20px auto; */
  background: -moz-linear-gradient(left, #add8e6, #007199);
  background: -webkit-linear-gradient(left, #add8e6, #007199);
  background: linear-gradient(to right, #add8e6, #007199);
  transition: 0.5s;
  color: #fff;
  padding: 12px;
  font-size: 14px;
}

.search-edit,
input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea,
select {
  font-size: 16px;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
  /*************
  about-section
  **************/
  #about-section {
    padding: 50px 20px;
  }
  .about-inner {
    padding: 50px 50px;
  }
  /***********************
 * kyousan-section
 * *********************/
  #kyousan-section {
    padding: 50px 20px;
  }

  .kyousan-inner {
    padding: 50px 50px;
  }
  /*********************
 * kyousan-page-section
 * *****************/
  #kyousan-page {
    padding: 50px 20px;
  }
  .kyousan-page-inner {
    padding: 50px 50px;
  }
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
  /**************
  ヘッダー画像
  **************/
  .header-title {
    width: 35%;
  }
  /**************
	 * ハンバーガーメニュー
	 * *************/
  nav.globalMenuSp {
    width: 50%;
  }
  /*************
  section
  *************/
  .section-title h2 {
    font-size: 40px;
  }
  .section-title.japanese h2 {
    font-size: 24px;
  }
  .section-title.japanese {
    margin: 0 auto 10px;
  }
  /******************
 * page
 * *****************/
  .page-header-title {
    max-width: 100px;
    margin: 30px auto 30px;
  }

  /*************
  about-section
  **************/
  #about-section {
    padding: 20px 20px;
  }
  .about-inner {
    padding: 20px 20px;
  }
  /**************
  movie-section
  ****************/
  #movie-section .video-container:not(:last-of-type) {
    margin-bottom: 50px;
  }
  /*****************
  director-cast-section
  *******************/
  #director-section,
  #cast-section {
    padding: 40px 10px;
  }
  /****************
	 * news-section
	 * ****************/
  .news-item {
    flex-direction: column;
  }
  .news-title {
    margin-left: 50px;
  }
  /***********************
 * kyousan-section
 * *********************/
  #kyousan-section {
    padding: 40px 20px;
  }

  .kyousan-inner {
    padding: 20px 20px;
  }
  /*********************
 * kyousan-page-section
 * *****************/
  #kyousan-page {
    padding: 20px 20px;
  }
  .kyousan-page-inner {
    padding: 20px 20px;
  }
  .kyousan-table p:nth-of-type(1) {
    margin-bottom: 30px;
  }
  .kyousan-table p.scroll-txt {
    top: 25px;
  }
}
  /*********************
 * actors-section
 * *****************/
.actors-hero{padding:clamp(12px,2vw,24px) 0;background:rgb(255, 255, 255);}
.actors-grid{
  display:grid;gap:clamp(8px,1.2vw,16px);
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
  align-items:stretch;max-width:1200px;margin:0 auto;padding:0 clamp(12px,2vw,24px);
}
.actor{position:relative;display:block;isolation:isolate;border-radius:16px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.35);}
.actor img{width:100%;height:100%;object-fit:cover;aspect-ratio:3/4;transform:scale(1.001);}
.actor .name{
  position:absolute;left:0;right:0;bottom:0;padding:.5em .6em;
  color:#fff;font-size:.9rem;line-height:1.2;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.65) 100%);
}
.actor:hover img{transform:scale(1.05);transition:transform .35s ease;}
@media (min-width: 768px){ .actors-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));} }
@media (min-width:1200px){ .actors-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));} }

.works-grid{
  display:grid; gap:clamp(12px,1.6vw,20px);
  grid-template-columns:repeat(auto-fill, minmax(180px,1fr));
  max-width:1200px; margin:0 auto;
}
.work .poster img{
  width:100%; aspect-ratio:2/3; object-fit:cover;
  border-radius:12px; box-shadow:0 2px 12px rgba(0,0,0,.25);
  transition:transform .3s ease;
}
@media (hover:hover){ .work:hover .poster img{ transform:translateY(-2px); } }
.work .title{
  margin-top:.5rem; background:none; border:none; cursor:pointer;
  color:var(--link-color,#0a77ff); font-weight:600;
  text-decoration:underline; text-underline-offset:2px;
}

/* モーダル */
/* =========================
 * ==== scenes-modal =======
 * =======================*/

/* 画面中央固定 */
.scenes-modal[open]{
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  z-index: 9999;
}

/* 背景の暗幕 */
.scenes-modal::backdrop{
  background: rgba(0,0,0,.6);
}

/* 閉じるボタン */
.scenes-modal .close{
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 48px;
  line-height: 1;
  background: transparent;
  border: 0;
  color: #000;
  cursor: pointer;
}

/* スライドリスト */
.scenes-modal .slides{
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 80vh; /* はみ出し対策 */
  overflow: auto;
}

/* WP側の固定幅を無効化（保険） */
.scenes-modal .slides li,
.scenes-modal .slides .wrap,
.scenes-modal .slides .swiper-container{
  width: auto !important;
}
/* 誤再帰防止 */
.scenes-modal .slides .js-open-scenes{ pointer-events: none; }

/* モーダル内に .contents li の見た目を適用 */
.scenes-modal .slides li{
  background-color: #fff;
  max-width: 1200px;
  width: 100%;
  margin: 0;
  padding: 60px 40px;
  display: block !important; /* .contents li の display:none を打消し */
  user-select: none;
  box-sizing: border-box;
}

/* テキスト色・画像・見出し余白 */
.scenes-modal .member p{ color:#000; }
.scenes-modal .slides li img{
  display: block;
  width: 100%;
  height: auto;
}
.scenes-modal .section-title{ margin: 0; }

/* 既存タブUIの保険 */
.contents > li{ display: none; }
.contents > li.active{ display: block; }


/* =========================
 * ===== works-grid ========
 * =======================*/
/* ===== works-grid（HTMLに合わせた決定版） ===== */

/* コンテナを1→2→3列のグリッドに */
.works-grid{
  display: grid !important;
  grid-template-columns: 1fr;                 /* モバイル: 1列 */
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
  justify-items: center;                      /* カードを中央寄せ */
}

/* タブレット: 2列 */
@media (min-width: 768px){
  .works-grid{
    grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
  }
}
/* デスクトップ(～FHD): 3列 */
@media (min-width: 1200px){
  .works-grid{
    grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
  }
}

/* 各カード: 旧テーマの float/幅 指定を無効化して縦積み */
.works-grid .work{
  width: auto !important;
  max-width: none !important;
  float: none !important;
  position: static !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  gap: 10px;
  min-width: 0;
  box-sizing: border-box;
}

/* 画像面 */
.works-grid .work .poster{
  display: block !important;
  margin: 0 !important;
  cursor: pointer;
}
.works-grid .work .poster img{
  display: block;
  width: 100% !important;     /* 列幅いっぱい */
  height: auto;
  max-width: none !important; /* 過去の max-width を打ち消し */
  vertical-align: top;
}

/* タイトル（リンク風装飾を除去＆中央＆サイズ可変） */
.works-grid .work > .title{
  display: block !important;
  margin: 0 !important;
  text-align: center;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
  font-weight: 550;
  line-height: 1.25;
  font-size: clamp(18px, 2.0vw, 24px) !important; /* 画像幅に追随して拡縮 */
  font-family: Futura, "Century Gothic";
  cursor: pointer;
}
.works-grid .work > .title:link,
.works-grid .work > .title:visited,
.works-grid .work > .title:hover,
.works-grid .work > .title:active{
  text-decoration: none;
  color: inherit;
}

/* 念のため、横並び系指定を完全解除 */
.works-grid .work .poster,
.works-grid .work .title{ float: none !important; }

/* ===== modal の中に li を入れても見えるよう最低限だけ保証 ===== */
.scenes-modal .slides{
  list-style: none; margin: 0; padding: 0;
  max-height: 80vh; overflow: auto;
}
.scenes-modal .slides li{
  display: block !important;  /* .contents > li {display:none} の打ち消し */
  width: auto !important;     /* WPテーマの幅固定回避 */
  background: #fff;
  padding: 40px 24px;
  box-sizing: border-box;
}
.scenes-modal .member p{ color:#000; }
/* ===== scenesModal: スクロール/余白の最終調整 ===== */
.scenes-modal .slides{
  max-height: 80vh;
  overflow: auto;
  overscroll-behavior: contain; /* 二重スクロールの鎖切り */
}
.scenes-modal .slides li{ overflow: visible; }

/* Swiper がある時の二重スクロール/余白ケア */
.scenes-modal .slides .swiper,
.scenes-modal .slides .swiper-container{
  overflow: hidden;              /* 縦スクロールを作らない */
  margin-bottom: 0 !important;   /* 下の謎余白を潰す */
}
.scenes-modal .slides .swiper-wrapper{ height: auto; }
.scenes-modal .slides .swiper-slide{ height: auto; }
.scenes-modal .slides .swiper-slide img{
  display: block; width: 100%; height: auto;
}
.scenes-modal .slides .swiper-pagination{ bottom: 8px; }
.scenes-modal .slides .swiper-button-prev,
.scenes-modal .slides .swiper-button-next{
  top: 50%; transform: translateY(-50%);
}

/* さらに保険：Swiperがある時は dialog 自体はスクロールさせない */
.scenes-modal.has-swiper{ overflow: hidden; }
.scenes-modal.has-swiper .slides{ overflow-y: auto; }
/* ===== ダイアログ内の画像を高さ制限 ===== */
.scenes-modal .slides img{
  max-height: 78vh;      /* ← 画面高の78%を上限（必要なら 72–82vh で微調整） */
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;   /* はみ出し防止（高さ上限内に収める） */
}

/* スクロール感触の最適化（iOS等） */
.scenes-modal .slides{
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
/* ===== scenes-modal の矢印を濃く ===== */
.scenes-modal{
  --swiper-navigation-color: #111; /* Swiper 8+ */
  --swiper-theme-color: #111;      /* 予備 */
}

/* Swiperの左右ナビ矢印 */
.scenes-modal .swiper-button-prev,
.scenes-modal .swiper-button-next{
  color: #111 !important;                 /* Swiper 5/6 系でも効く */
  filter: drop-shadow(0 0 2px rgba(255,255,255,.6)); /* 画像上でも視認性UP */
  z-index: 3;
}
.scenes-modal .swiper-button-prev::after,
.scenes-modal .swiper-button-next::after{
  font-size: 28px; /* お好みで 24〜36px */
}

/* （使っている場合）モーダル内の独自コントロールも濃く */
.scenes-modal .controls .prev,
.scenes-modal .controls .next{
  color: #111;
  background: rgba(255,255,255,.9);
  border: 1px solid #111;
  border-radius: 9999px;
}
/* ===== scenes-modal の Swiper 矢印制御 ===== */

/* ===== scenes-modal：Swiper矢印はスライダー内だけ表示 ===== */

/* まずモーダル内の矢印をデフォルト非表示 */
.scenes-modal .swiper-button-prev,
.scenes-modal .swiper-button-next{
  display: none !important;
}

/* 「slider○」クラスを持つ & 初期化済み & 横方向のときだけ矢印表示（slider1/2/3…全部OK） */
/* 旧(.swiper-container)／新(.swiper)の両方に対応 */
.scenes-modal .swiper-container[class*="slider"].swiper-initialized.swiper-horizontal .swiper-button-prev,
.scenes-modal .swiper-container[class*="slider"].swiper-initialized.swiper-horizontal .swiper-button-next,
.scenes-modal .swiper[class*="slider"].swiper-initialized.swiper-horizontal .swiper-button-prev,
.scenes-modal .swiper[class*="slider"].swiper-initialized.swiper-horizontal .swiper-button-next{
  display: flex !important;
  color: #011 !important; /* 濃いめ */
  filter: drop-shadow(0 0 2px rgba(255,255,255,.85));
  z-index: 5;
}

/* 見やすいサイズに */
.scenes-modal .swiper-button-prev::after,
.scenes-modal .swiper-button-next::after{
  font-size: 60px;
}

/* 矢印がスライダー外にハミ出さないように保険 */
.scenes-modal .swiper,
.scenes-modal .swiper-container{
  position: relative;
  overflow: hidden;
}

/* 矢印位置を少し内側に（お好みで調整） */
.scenes-modal .swiper-button-prev{ left: 8px; }
.scenes-modal .swiper-button-next{ right: 8px; }
/* ===== News: 中央寄せ＆可読幅（上書き） ===== */
#news-section .news-list{
  /* 既存の margin:0 / display:grid を無効化 */
  display: block !important;
  margin: 0 auto !important;

  /* 可読幅＆左右余白 */
  max-width: 920px;
  padding: 0 16px;

  list-style: none;
}

/* 1行 = [日付] [タイトル] の2カラム */
#news-section .news-list > li,
#news-section .news-list > li.news-item{
  display: grid;
  grid-template-columns: 8.5em 1fr; /* 日付幅はお好みで */
  gap: 8px 24px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.12);
}
#news-section .news-list > li:last-child{ border-bottom: 0; }

#news-section .news-list time{
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #666;
}

#news-section .news-list a{
  color: inherit;
  text-decoration: none;
}
#news-section .news-list a:hover{
  text-decoration: underline;
  color: #007199;
}

/* スマホは縦積み */
@media (max-width: 560px){
  #news-section .news-list > li,
  #news-section .news-list > li.news-item{
    grid-template-columns: 1fr;
    gap: 6px 0;
  }
  #news-section .news-list time{ text-align: left; color:#888; }
}