/*///////////////// style ////////////////*/
article h1 {
font-size:1.5rem;
text-align:center;
font-weight:700;
margin:30px 0 20px 0;
}

article h2 {
font-size:1.2rem;
text-align:center;
font-weight:700;
margin-bottom:30px;
}

article p{
font-size:.9rem;
line-height:1.6;
}

@media (min-width:768px) {
main{
margin:auto;
width:90vw;
max-width:1200px;
}

article h1 {
font-size: 32px;
padding: 60px 0 20px;
margin:0;
}

article p {
font-size:1rem;
}
}


/*///////////////// おすすめ動画 ////////////////*/

#tokyo2025_list .in_box{
  padding: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}

#video div#con-body {
color:#000;
background-color:#ECECEC;
}

#video .in_box {
background-color:#fff;
margin:0px 10px 10px 10px;
border-radius:15px;
padding:15px;
}
#tokyo2025 .in_box{
  padding: 15px 0;
}

@media (min-width:768px) {

#video .in_box {
padding:30px;
margin:30px auto;
max-width:1200px;
}
#tokyo2025 .in_box{
  padding: 30px 0;
}

}


/*///////////////// lazy ////////////////*/

.lazy {
position:relative;
display:block;
background:center top no-repeat;
background-size:cover;
margin:0 auto;
}

.lazy img {
position:absolute;
top:0;
left:0;
}


/*///////////////// sub_nav ////////////////*/

#video .sub_nav {
display:grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
padding:0 10px;
}


#video .sub_nav li a {
display:block;
justify-content:center;
align-items:center;
color:#fff;
background:#745399;
border-radius:4px;
text-decoration:none;
box-sizing:border-box;
padding: 10px 0 25px;
text-align: center;
border: 2px solid transparent;
}
#video .sub_nav li:first-child a{
  padding: 18px 0;
}

#video .sub_nav li a span {
display:block;
font-size:.8em;
line-height:1.2;
position: relative;
}

#video .sub_nav li a span::after {
display:block;
content:'';
background:url(img/subnav_arrow.svg)center center no-repeat;
background-size:contain;
height:1em;
margin-top:.5em;
position: absolute;
width: 30px;
right: 0;
left: 0;
margin: auto;
top: 120%;
}
#video .sub_nav li:first-child a span::after{
  transform: rotate(-90deg);
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + -30px), -50%) rotate(-90deg);
  transform-origin: 50% 50%;

}


#video .sub_nav li:first-child{
  grid-column: 1 / -1;

}
#video .sub_nav li:first-child a {
  aspect-ratio: initial;
} 
@media (min-width:768px) {
  #video .sub_nav{
    grid-template-columns: repeat(4, 1fr);
gap: 20px;
  }
  #video .sub_nav li a{
    padding: 10px 0 30px;
  }
  #video .sub_nav li:first-child{
    width: 49%;
    margin: auto;
  }
  #video .sub_nav li:first-child a {
    padding: 20px 0;
}

#video .sub_nav li a span {
display:block;
font-size:1.1em;
}
#video .sub_nav li:first-child a span{
  width: fit-content;
  margin: auto;
}
#video .sub_nav li a:hover {
  color:#A48B78;
  border:solid 2px #A48B78;
  background:#fff;
  }
  #video .sub_nav li:first-child a span::after{
    transform: rotate(-90deg);
    top: 50%;
    transform: translate(calc(-50% + 60px), -50%) rotate(-90deg);
  
  }
}


/*///////////////// video list ////////////////*/

.video_list {
display:flex;
flex-wrap:wrap;
}

.video_list li {
  width:48%;
  margin:0 1% 2% 1%;
  opacity:0;
  transform:translateY(10px);
  transition:opacity 0.5s ease, transform 0.5s ease;
  }

.video_list li .tmb {
position:relative;
aspect-ratio:16 / 9;
margin-bottom:0.5em;
background-color:#efefef;
}

.video_list li .tmb > a {
display:block;
width:100%;
height:100%;
}

.video_list li .cap {
font-size:75%;
}

.video_list li .cap > span {
display:block;
padding-top:0.3em;
}

.video_list li.is-visible {
opacity:1;
transform:translateY(0);
}

.more-btn {
text-align:center;
/*margin-top:20px;*/
}

.more-link {
/* display:inline-block; */
padding:10px 40px;
background-color:#ffffff;
border:4px solid #745399;
border-radius:30px;
color:rgb(116, 83, 153);
text-decoration:none;
font-weight:bold;
transition:background-color 0.3s, color 0.3s;
cursor:pointer;
font-size:.9rem;
display: block;
    width: fit-content;
    margin: auto;
    line-height: 1.5;
}

.more-btn a:hover {
background-color:rgba(116, 83, 153, 0.5);
}

@media all and (min-width:768px) {
.video_list li {
width:23%;
}

.video_list li .cap {
font-size:85%;
}
}


/*///////////////// mainvideo ////////////////*/

#video .main_mov {
border-bottom:solid 1px #E1DFDF;
}

#video .main_mov .in_mov {
position:relative;
width:100%;
height:0;
padding-top:56.25%;
aspect-ratio:16/9;
margin:0 auto;
white-space:nowrap;
overflow:hidden;
text-indent:110%;
background-position:center;
background-repeat:no-repeat;
background-size:contain;
z-index:1;
}

#video .main_mov .in_mov iframe,
#video .main_mov .in_mov span {
background-size:100%;
display:block;
height:100%;
position:absolute;
left:0;
top:0;
width:100%;
}

#video .main_mov p {
width:100%;
}

#video .main_mov p span {
margin-top:1em;
display:block;
}

#video .main_mov .in_mov a {
position:absolute;
left:0;
top:0;
display:block;
width:100%;
height:100%;
margin-bottom:0;
background-color:transparent;
}

@media (hover:hover) {
#video .main_mov .in_mov a :hover {
opacity:0.5;
}
}

@media all and (min-width:768px) {

#video .main_mov {
width:90%;
margin:2em auto 0;
padding-bottom:4em;
display:flex;
justify-content:space-between;
flex-wrap:wrap;
}

#video .main_mov .in_mov {
width:50%;
height:auto;
padding-top:0;
margin:0;
white-space:normal;
overflow:visible;
text-indent:0;
background-position:none;
background-repeat:none;
background-size:auto;
z-index:auto;
}

#video .main_mov .in_mov iframe,
#video .main_mov .in_mov span {
background-size:auto;
display:block;
height:100%;
position:static;
left:auto;
top:auto;
width:100%;
}

#video .main_mov p {
width:48%;
}

.video_inc .box {
display:flex;
justify-content:space-around;
}

.video_inc .main_mov {
border:0 !important;
width:70% !important;
padding-bottom:1em !important;
}

.video_inc .related_mov {
width:20% !important;
}

.video_inc .main_mov .cap {
margin-top:2em;
}

}

@media all and (max-width:767px) {

#video .main_mov {
width:100%;
margin:0 auto;
padding-bottom:2em;
flex-wrap:wrap;
}

#video .main_mov .in_mov {
width:100%;
margin-bottom:1em;
}

.video_inc .box {
padding-bottom:1em;
}

.video_inc .main_mov {
margin:2em auto 0;
border-bottom:solid 1px #E1DFDF;
}

.video_inc .related_mov {
margin:2em auto 0;
}

.video_inc .main_mov .cap {
margin-top:1em;
line-height:1.4;
}

}


/*///////////////// relativevideo ////////////////*/

#video .related_mov .tmb {
position:relative;
width:100%;
height:0;
margin-bottom:5px;
padding-top:56.25%;
background-color:rgba(0, 0, 0, 0.1);
}

#video .related_mov .tmb a {
position:absolute;
display:block;
left:0;
top:0;
width:100%;
height:100%;
transition:opacity 0.2s ease-out;
/* hover fade */
}

@media (hover:hover) {
#video .related_mov .tmb a:hover {
opacity:0.5;
}
}

#video .related_mov .tmb a span {
display:block;
width:100%;
height:100%;
background-position:center center;
background-repeat:no-repeat;
background-size:cover;
text-indent:-9999px;
}

#video .related_mov .cap {
line-height:110%;
color:#000;
}

#video .related_mov .cap span {
display:block;
margin-top:.5em;
}

@media all and (min-width:768px) {
.video_inc .related_mov {
margin:2em auto;
}

.video_inc .related_mov #relative {
width:100%;
}

.video_inc .related_mov ul li {
width:100%;
margin-bottom:1em;
}

.video_inc .related_mov .cap {
font-size:70%;
}
}

@media all and (max-width:767px) {

.video_inc .related_mov li {
margin:0 auto 1em;
display:flex;
justify-content:space-between;
}

.video_inc .related_mov li div:nth-of-type(1) {
width:38%;
}

.video_inc .related_mov li div:nth-of-type(2) {
width:58%;
}

.video_inc .related_mov .cap {
font-size:70%;
}
}

.video_inc .box {
border-bottom:solid 1px #E1DFDF;
}

.video_inc .main_mov {
padding-bottom:1em !important;
flex-wrap:wrap;
}

.video_inc .main_mov .in_mov {
width:100% !important;
height:0;
padding-top:56.25%;
aspect-ratio:16/9;
margin:0 auto;
position:relative;
white-space:nowrap;
overflow:hidden;
text-indent:110%;
background-position:center;
background-repeat:no-repeat;
background-size:contain;
z-index:1;
}

.video_inc .main_mov .in_mov iframe, .video_inc .main_mov .in_mov span {
background-size:100%;
display:block;
height:100%;
position:absolute;
left:0;
top:0;
width:100%;
}

.video_inc .main_mov .cap {
width:100% !important;
}

@media all and (min-width:768px) {
.video_inc .box {
display:flex;
justify-content:space-around;
align-items: flex-start;
}

.video_inc .main_mov {
border:0 !important;
width:70% !important;
}

.video_inc .related_mov {
width:20% !important;
}

.video_inc .main_mov .cap {
margin-top:2em;
}
}

@media all and (max-width:767px) {
.video_inc .box {
padding-bottom:1em ;
}

.video_inc .main_mov {
margin:2em auto 0;
border-bottom:solid 1px #E1DFDF;
}

.video_inc .related_mov {
margin:2em auto 0;
}

.video_inc .main_mov .cap {
margin-top:1em;
line-height:1.4;
}
}


/*///////////////// btn ////////////////*/

#video .btn {
display:block;
margin:auto;
background:#745399;
color:#fff;
text-align:center;
width:60%;
margin-top:2em;
padding:1em;
border-radius:50px;
transition:all 0.5s;
}

#video .btn:hover {
opacity:.5;
}

@media all and (min-width:768px) {

#video .btn{
max-width:200px;
}

}

/*/////////////////絞り込み ////////////////*/

/* リスト */
:root{
  --brand:#745399;
  --ink:#745399;
  --bg:#ffffff;
  --muted:#f6f7fb;
  --border:#e2e8f0;
  --link:#745399;
}

/* 絞り込みパネル */
.filter-panel{
  overflow:hidden
}
.filter-header{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px 20px;
  gap:8px
}
.filter-toggle{
  appearance:none;
  background:var(--brand);
  border-radius:9999px;
  font-size: 1em;
  color: #fff;
  border: none;
  padding: .8rem 1.5rem;
  cursor:pointer;
  font-weight:700;
  display:flex;
  align-items:center;
  gap:.4rem;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}
.filter-toggle.is-disabled{
  background:#cccccc;
  color:#999999;
  cursor: auto;
  opacity:0.6;
}
.filter-toggle.is-disabled:hover{
  background:#cccccc;
  color:#999999;
}
.filter-toggle .chev{
  display:inline-block;
  transition:transform .15s ease
}
.filter-panel.is-open .filter-toggle .chev{
  transform:rotate(180deg)
} /* 🔽→▲ */
.filter-body{
  padding:20px;
  background-color: #fff; 
  border-radius:15px;
  display:block;
  margin: 0 10px 20px;
  max-height: 500px;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  overflow: hidden;
  opacity: 1;
}
/* no-op: open state uses default block display */
.filter-panel.is-closed .filter-body{
  display:none
}

.panel-footer{
  display:flex;
  justify-content:center;
  padding: 15px 0 8px;
}
.close-link{
  background:none;
  border:none;
  color:var(--link);
  text-decoration:underline;
  cursor:pointer;
  font:inherit;
  padding:.2rem .1rem;
}

/* チップ */
.chip-wrap{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  align-items:center;
}
.chip{
  border:2px solid var(--brand);
  background:#fff;
  color:var(--brand);
  padding:.5rem .9rem;
  border-radius:999px;
  cursor:pointer;
  font-weight:700;
  line-height:1;
  transition:.15s;
  user-select:none;
  font-size: .8em;
}
.chip:focus-visible{
  outline:3px solid #99b4ff;
  outline-offset:2px
}
.chip[aria-pressed="true"]{
  background:var(--brand);
  color:#fff
}
.chip.is-hidden{
  display:none
}

/* アクティブ表示（選択時のみ表示） */
.active-filter{
  border-radius:10px;
  margin: 0 0px 20px;
  background:transparent;
  text-align:center;
}

.filter-panel.is-open + .active-filter{display:none}
.active-filter[hidden]{
  display:none
}
.active-filter .pill{
  display:inline-block;
  border:2px solid var(--brand);
  border-radius:999px;
  padding: .3rem .8rem;
  color:var(--brand);
  font-weight:700;
  background:#fff;
  font-size: .8em;
  line-height: 1.4;
}
.active-filter .clear-link{
  margin-top:20px;
  background:none;
  border:none;
  color:var(--link);
  text-decoration:underline;
  cursor:pointer;
  font:inherit;
  padding:0
}

/* 個別 */
.detail-tags{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  list-style:none;
  margin:14px 0;
  padding:0
}
.tag-chip{display:inline-block;border:2px solid var(--brand);border-radius:999px;padding:.35rem .8rem;color:var(--brand);text-decoration:none;font-weight:700;background:#fff;font-size: .8em;}
    .tag-chip:hover{background:var(--brand);color:#fff}
    .back{margin-top:8px}
    .back a{color:#334155}
    .desc{background:var(--muted);border:1px solid var(--border);border-radius:10px;padding:12px}

.is-hidden{display:none!important;}
/* 開状態での強制表示は不要 */
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}


@media all and (min-width:768px) {
  .filter-header{
    padding: 40px 12px 20px;
  }
  .active-filter .pill{
    font-size: 1em;
  }
  .chip{
    font-size: 1em;
  }
  .panel-footer{
    padding: 6px 0 8px;
  }
  .filter-body{
    margin: 0;
  }
  .filter-header{
    padding: 40px 12px 20px;
  }
  .tag-chip{
    font-size: 1em;
  }
}

/*///////////////// 会期中　おすすめ動画TOP ////////////////*/
#tokyo2025_list article h2 {
  font-size:1.5rem;
  }
#video .open .sub_nav{
  padding: 0 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
#video .open .sub_nav li{
  width: initial;
}
#video .open .sub_nav li:first-child{
  width: initial;
  aspect-ratio: initial;
  grid-column: 1 / -1;
}

#video .open .sub_nav li a{
  min-height: 42px;
  aspect-ratio: initial;
}
#video .open .sub_nav li:first-child a span{
  position: relative;
}
#video .open .sub_nav li:first-child a span::after{
  transform: rotate(-90deg);
  display: block;
  content: '';
  background: url(img/subnav_arrow.svg) center center no-repeat;
  background-size: 70%;
  height: 1em;
  margin-top: .5em;
  position: absolute;
  width: 30px;
  height: 100%;
  right: -90px;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 0;
}
/* 初期状態では非表示（JavaScriptで制御するまで） */
#tokyo2025_list .video_list li {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* JavaScriptで制御された後に表示 */
#tokyo2025_list .video_list.js-ready li {
  opacity: 1;
}

/* フィルター適用時の非表示 */
#tokyo2025_list .video_list li.is-hidden {
  opacity: 0;
}
#tokyo2025_list .more-btn a{
  padding: 14px 40px;
  background-color: #745399;
  color: rgb(255 255 255);
}

@media (min-width: 768px) {
  #video .open .sub_nav li:first-child a {
    aspect-ratio: initial;
        margin: 0 auto;
  }
  #video .open .sub_nav li a{
    height: calc(50vw/12);
}
#video .open .sub_nav{
  gap: 16px;
}
#video .open .sub_nav li:first-child a span::after{
  right: -100px;
}

}

/*/////////////ボタン/////////////////*/
.more-btn {
  text-align: center;

}
#tokyo2025_list .more-btn {
  margin: 3rem 0 3rem;
}

/* .more-link {
  display: inline-block;
  background-color: rgb(255, 255, 255);
  font-weight: bold;
  cursor: pointer;
  font-size: 0.9rem;
  color: rgb(116, 83, 153);
  padding: 0.8rem 1.2rem;
  border-radius: 9999px;
  transition: background-color 0.3s;
  border-width: 2px;
  border-style: solid;
  border-color: rgb(116, 83, 153);
  border-image: initial;
}

@media (min-width: 1201px) {
  .more-link {
      font-size: 18px;
      padding: 1.2rem 2rem;
  }
} */

/* おすすめ動画セクション */
.recommended-video {
margin-top: 30px;
}
.recommended-video h2{
  margin-bottom: 30px;
  font-size: 1.2rem;
}
.recommended-video h3{
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 5px;
}
.carousel-frame {
  margin-bottom: 30px;
}
.video-carousel1, .video-carousel2{
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 100%;
}

.video-slide .video-card {
  background-color: #fff;
  box-shadow: 1px 8px 8px #d2d2d2;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 10px;
  margin: 0 10px;
  width: 100%;
}


.video-thumb img {
  width: 100%;
  border-radius: 10px;
  display: block;
}
.video-thumb .lazy{
  aspect-ratio: 16/9;
  border-radius: 10px;
}
.video-date {
  font-size: 0.9rem;
  color: #745399;
  margin: 8px 0 4px;
  font-weight: 600;
}

.video-text {
  font-size: 1rem;
  color: #222;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
/* .carousel-frame {
  position: relative;
}

.video-prev,
.video-next {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 1;
  width: 60px;
  height: 60px;
  background-size: 100% auto;
  border: none;
  cursor: pointer;
  background-color: initial;
} */

.video-prev { left: -10px; }   
.video-next { right: -10px; } 

.video-controls {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.video-prev,
.video-next {
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: none;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
}
.video-prev {
  background-image: url('../img/arrow_left_white.png'); 
} 


.video-next {
  background-image: url('../img/arrow_right_white.png');
}
.video-carousel .slick-track {
  padding-bottom: 20px;

}
.player-section .lazy-img{
  height: 380px;
}

@media (min-width: 768px) {
  .recommended-video h2{
    font-size: 1.5rem;
  } 
 


  .video-carousel {
      max-width: 1200px;
      margin: 0 auto;
  }

  .video-slide .video-card {
      padding: 13px;
      box-sizing: border-box;
      margin: 0 10px;
      width: 100%;
  }

  .video-thumb img {
      width: 100%;
      border-radius: 10px;
      display: block;
  }

  .video-date {
      font-size: 0.9rem;
      margin: 8px 0 4px;
  }

  .video-text {
      font-size: 1rem;
      color: #222;
      line-height: 1.4;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
  }


.more-btn {
  margin: 0 0 1rem;

}
}

