*{ box-sizing: border-box; }
html, body { margin: 0;}
li{list-style: none;}
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.5;
  background: #1254ac;
  font-family: ryo-gothic-plusn, sans-serif;
font-weight: 500;
font-style: normal;
}
img { max-width: 100%; height: auto; display: inline-block; }
a { color: #2b6cb0; text-decoration: none; }
a:hover { text-decoration: underline; }
header{line-height: 0;}

.container{
  min-height: 100dvh;
  position: relative;
  isolation: isolate;
  color: #fff;      
  padding: 40px 0 0;
}
.container::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url(../img/bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0);
  backface-visibility: hidden;
  pointer-events: none; 
  will-change: transform; 
}
@media (min-width: 768px) {
  .container{      
    padding: 50px 0 0;
  }
}

/*////////////////// header /////////////////////*/
#header{
  width: 100%;
  height: 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  /* background: linear-gradient(90deg, #0f306c 0%,#1d5295 50%, #0f306c 100%); */
  background: url(../img/bg4.jpg) no-repeat center bottom -300px;
  background-size: cover;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}
#header .header-sns-list {
  display: grid;
  gap: 22px;
  padding-left: 8px;
  grid-template-columns: auto auto auto;
}
#header .header-sns-item a {
  color: #fff;
  font-size: 2em;
}

#header .header-sns-item img{
  width: 22px;
}
/*スライダー*/
.kv-slider {
  position: relative;
}

.kv-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.6s ease;
}

.kv-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.kv-slide:not(:first-child) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.mainArea {
  position: relative;
  width: 100%;
  height: 141.16vw;

}

.mainArea p {
  position: absolute;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0; 
  transform: none;
  animation-fill-mode: forwards;
  animation-play-state: paused;
  will-change: opacity, transform;
}

/* スライド1（pattern1）のアニメーション */
.kv-slide--pattern2 .main1 {
  background-image: url("../img/main_sp.webp"); 
  background-position: center top;
  background-size: contain;
  animation-name: main1Fade;
  animation-duration: 0.9s;
  animation-timing-function: ease-out;
  animation-delay: 0.1s;
  width: 100%;
  height: 141.16vw;
  
}
@keyframes main1Fade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.kv-slide--pattern2 .main2 {
  background-image: url("../img/copy.webp"); 
  animation-name: main2Zoom;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-delay: 1.1s;
  transform-origin: center center; 
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  right: 0;
  left: 0;
top:11px;
    margin: auto;
    width: 9.5vw;
    height: 60vw;

}
@keyframes main2Zoom {
  0% {
    opacity: 0;
    transform: scale(1.3);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.kv-slide--pattern2 .main3 {
  background-image: url("../img/main_cast_sp.webp"); 
  animation-name: main3Reveal;
  animation-duration: 0.5s;
  animation-timing-function: ease-out;
  animation-delay: 1.7s;
  animation-fill-mode: forwards;
width: 100%;
  top: 46%;
  right: 0;
  left: 0;
  margin: auto;
  height: 38.16vw;
}
@keyframes main3Reveal {
  0% {
    opacity: 0;
    clip-path: inset(0 50% 0 50%);
  }
  50% {
    opacity: 1;
    clip-path: inset(0 10% 0 10%);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0); 
  }
}
.kv-slide--pattern2 .main4 {
  background-image: url("../img/logo.webp"); 
  background-position: center center;
  animation-name: main4Zoom;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
  animation-delay: 1.9s;
  width: 75%;
    top: 67%;
    left: 0;
    right: 0;
    margin: auto;
    height: 35vw;
 
}
.kv-slide--pattern2 .main5 {
  background-image: url("../img/rs.webp"); 
  background-position: center center;
  animation-name: main4Zoom;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
  animation-delay: 1.9s;
  width: 25%;
  top: 92%;
  left: 0;
  right: 0;
  height: 9vw;
  margin: auto;

}

  @keyframes main4Zoom {
    0% {
      opacity: 0;
      transform: scale(1.1);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }

  /* スライド2（pattern2）のアニメーション */
.kv-slide--pattern1 .main1 {
  background-image: url("../img/drama_main_sp.webp");
  background-position: center top;
  background-size: contain;
  animation-name: main1Fade;
  animation-duration: 0.9s;
  animation-timing-function: ease-out;
  animation-delay: 0.1s;
  width: 100%;
  height: 141.16vw;
}

.kv-slide--pattern1 .main2 {
  background-image: url("../img/d_copy.webp");
  animation-name: main2Zoom;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-delay: 1.1s;
  transform-origin: center center;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  right: 0;
  left: 0;
  top: 19px;
  margin: auto;
  width: 12.5vw;
  height: 55vw;
}

.kv-slide--pattern1 .main3 {
  background-image: url("../img/d_logo.webp");
  animation-name: main3Reveal;
  animation-duration: 0.5s;
  animation-timing-function: ease-out;
  animation-delay: 1.7s;
  animation-fill-mode: forwards;
  width: 76%;
  top: 53%;
  right: 0;
  left: 0;
  margin: auto;
  height: 52.16vw;
}

.kv-slide--pattern1 .main4 {
  background-image: url("../img/d_oa.webp");
  background-position: center center;
  animation-name: main4Zoom;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
  animation-delay: 1.9s;
  width: 32%;
  top: 89%;
  left: 0;
  right: 0;
  margin: auto;
  height: 16vw;
}

  
.mainArea p img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0; 
  pointer-events: none;
}


/* 初回表示時のみアニメーション実行 */
.kv-slide.first-time.is-active .main1,
.kv-slide.first-time.is-active .main2,
.kv-slide.first-time.is-active .main3,
.kv-slide.first-time.is-active .main4,
.kv-slide.first-time.is-active .main5 {
  animation-play-state: running;
}

/* 2回目以降は即座に表示 */
.kv-slide:not(.first-time).is-active .main1,
.kv-slide:not(.first-time).is-active .main2,
.kv-slide:not(.first-time).is-active .main3,
.kv-slide:not(.first-time).is-active .main4,
.kv-slide:not(.first-time).is-active .main5 {
  opacity: 1;
  animation: none;
}


@media (min-width: 768px) {
  #header{
    height: 50px;
  }
  #header .header-sns-item img{
    width: 27px;
    vertical-align: text-bottom;
  }
  
  .mainArea {
    height: 73.16vw;
  }
  .mainArea p {
    background-size: contain;
  }
  .kv-slide--pattern2 .main1{
    background-image: url("../img/main_pc.webp"); 
    height: 73.16vw;
  }
  .kv-slide--pattern1 .main1{
    background-image: url("../img/drama_main_pc.webp");
    height: 73.16vw;
    background-size: cover;
  }
  .kv-slide--pattern2 .main2{
    width: 4.5vw;
    top: 0;
    height: 29.16vw;
  }
  .kv-slide--pattern1 .main2 {
    width: 9vw;
    top: 0;
    height: 38vw;
  }
  .kv-slide--pattern2 .main3{
    background-image: url("../img/main_cast_pc.webp"); 
    top: 30vw;
    width: calc(1224vw/14.4);
  }
  .kv-slide--pattern1 .main3{
    background-image: url("../img/d_logo.webp");
    top: 39vw;
    width: 47vw;
    left: 0;
    right: 0;
    margin: auto;
    height: 33vw;
  }
  .kv-slide--pattern2 .main4 {
    width: 42vw;
    top: 51vw;
    left: 0;
    right: 0;
    margin: auto;
    height: 20vw;
  }
  .kv-slide--pattern1 .main4{
    top: 61vw;
    width: 27vw;
    left: 73vw;
    right: 0;
    margin: auto;
    height: 12vw;
  }
  .kv-slide--pattern2 .main5{

  width: 14vw;
  top: 65.5vw;
  left: 61vw;
  height: 6vw;
  }
}

/*////////////////// tab /////////////////////*/
.tab-btn-container {
  position: relative;
  padding: 6% 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: solid 12px #0f306c;
  background: #fff
}
.tab-btn-container a{
  transition: all .4s 
ease;
  line-height: 0;
}

@media screen and (min-width: 1024px) {
  .tab-btn-container {
    padding:1.5vw 0 0;
      border-bottom: solid 22px #0f306c;
  }
}

.tab-btn {
  width: 50%
}

.tab-btn:nth-child(2):hover {
  opacity: 1
}

.tab-btn:nth-child(1) {
  opacity: .7
}

.tab-btn:nth-child(1):hover {
  opacity: 1
}

.bnr-area {
  position: relative;
  background: #fff;
  padding: 3%;
  width: calc(100% - 24px);
  margin: 0 auto
}

@media screen and (min-width: 1024px) {
  .bnr-area {
      display:flex;
      justify-content: center;
      align-items: center;
      gap: 30px;
      margin: 0 auto;
      padding: 20px 0;
      background: #fff;
      width: calc(100% - 44px)
  }
}
/*////////////////// nav /////////////////////*/
.container nav{
  width: 100%;
  border-top: 1px solid #161f2a;
}
.container nav ul { list-style: none; margin: 0; padding: 0; }
.container nav ul {
  display: grid; 
  grid-template-columns: repeat(6, 1fr);
  margin: 0; padding: 0; list-style: none;
}
.container nav ul li{
  grid-column: span 2;
}
.container nav li:nth-child(1),
.container nav li:nth-child(2) {
  grid-column: span 3;
}
.container  nav li a {
  display: block;
  padding: 12px 3px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  line-height: 1.3;
  position: relative;
  overflow: hidden;
  font-size: 0.8em;
  font-feature-settings: "palt";
  font-weight: bold;
}
.container  nav li.no a {
  color: #153560;
}
.container nav li:nth-child(odd) a {
  background: linear-gradient(to top left,#171717  50%, #1254ac 100%);
}
.container nav li:nth-child(even) a {
  background: linear-gradient(to top left, #000000 50%, #1254ac 100%);
}

.container nav li a > span {
  font-family: "anton", sans-serif;
font-weight: 400;
font-style: normal;
  display: block;
  margin-bottom: 6px;
  font-size: 1.6rem;
  line-height: 1.1;

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(155deg, #e00717 0%, #e00717 15%, #ffffff 15%, #ffffff 100%);
  background-size: 172px 43px;
  background-position: left top;
  background-repeat: no-repeat;  
  width: fit-content;
  margin: 0 auto 8px;
}

.container nav li.no a > span {
  background-image: linear-gradient(155deg, #380206 0%, #380206 20%, #153560 20%, #153560 100%);
}
.container nav li.no a:hover{
opacity: 1;
}

/* 
.container nav li:nth-child(even) a > span {
  background-image: linear-gradient(
    to top left,
    #e00717 0%, #e00717 26%,
    #ffffff 26%, #ffffff 100%
    
  );
  width: fit-content;
  margin: 0 auto 8px;
} */

@media all and (min-width:768px) {
  .container nav{
  background-color: #161f2a;
  border-top: 1px solid #000;
}
.container nav ul{
  grid-template-columns: repeat(5, 1fr);
    max-width: 1200px;
    margin: auto;
  }
  .container nav ul li,.container nav li:nth-child(1),
  .container nav li:nth-child(2) {
    grid-column: initial;
  }
  .container nav li a{
    font-size: 1rem;
    padding: 20px 0;
  }
  .container nav li a > span{
    font-size: 2.4rem;
    background-image: linear-gradient(155deg, #e00717 0%, #e00717 20%, #ffffff 20%, #ffffff 100%);

  }

}



/*/////////////// BASE /////////////////*/

.alt {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.conts{
  padding:24px 15px ;
}
div:nth-child(3 of .conts),div:nth-child(5 of .conts){
  padding: 37px 10px;
  --edge: 7vw;   
  background: url(../img/bg2.jpg)no-repeat center top;
  background-size: cover;
  color: #181818;
  clip-path: polygon(0 var(--edge), 100% 0, 100% calc(100% - var(--edge)), 0 100%);
  
}
div:nth-child(3 of .conts) h2>span,div:nth-child(5 of .conts) h2>span{
  background-image: linear-gradient(
    to bottom right, 
    #e00717 0%, #e00717 30%,
    #000 30%, #000 100%
  );
}
div:nth-child(3 of .conts) h2>span:after ,div:nth-child(5 of .conts) h2>span:after{
  border-bottom: 1px solid #000;
}

.conts h2{
  font-size: 12px;
  text-align: center;
  margin-bottom: 24px;
  
}
.conts h2 > span {
  font-family: "anton", sans-serif;
font-weight: 400;
font-style: normal;
  margin-bottom: 6px;
  font-size: 1.1rem;
  line-height: 1;
  font-size: 32px;
  position: relative;

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.conts h2 > span::after{
  content: "";
  position: absolute;
  border-bottom: 1px solid #fff;
  width: 100%;
  bottom: 10px;
  right: 0;
  left: 0;
}
.conts:nth-of-type(odd) h2 > span{
  background-image: linear-gradient(to bottom right, #e00717 0%, #e00717 30%, #ffffff 30%, #ffffff 100%);
}
.conts:nth-of-type(even) h2 > span{
  background-image: linear-gradient(
    to bottom right, 
    #e00717 0%, #e00717 30%,
    #fff 30%, #fff 100%
  );
}


.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
  will-change: opacity, transform;
}

.fade-up.is-inview {
  opacity: 1;
  transform: translateY(0);
}

a:hover{
  opacity: .9;
}
.lazy {position:relative; display: block; background-repeat: no-repeat; background-position: center center; background-size: cover;}
.lazy img {position:absolute;left:0;top:0; width:100%; height:100%;}

@media all and (min-width:768px) {
  br.smp{
  display: none;
  }
  .conts{
    padding: 32px 15px 56px;
  }
  div:nth-child(3 of .conts),div:nth-child(5 of .conts){
    padding: 140px 10px 120px;
  }
  .conts h2 {
    font-size: 22px;
  }
  .conts h2 > span{
  font-size: 52px;

  }
  .conts h2 > span::after{
    bottom: 16px;
  }
}
/*/////////////// SPOT /////////////////*/
.spot{
  padding: 40px 10px;
}

.spot .mov-box{
  background: linear-gradient(to bottom right, rgb(0,0,0, 0.6) 50%, hsla(214, 81%, 37%, 0.6) 100%);
  padding: 10px;
}
.container .yt-player{
  background: linear-gradient(to bottom right,rgb(0,0,0,0.7)  50%, rgb(18, 84, 172,0.7) 100%);
}
.container .yt-player ul{
display: grid;
grid-template-columns: auto auto;
padding: 0 10px 10px;
gap: 10px;
margin: 10px 0 0;
}

.container .yt-playlist-btn ul li{
  border: 2px solid #fff;
  grid-column:initial;
}

.container .yt-playlist-btn ul li a{
  background: initial;
  font-weight: bold;
}

.spot .mov-inner {
  width: 100%;
  max-width: 100%;
  display: block;
  background: #000; 
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.spot .mov-inner iframe{
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
@media all and (min-width:768px) {
  .spot .mov-box{
    max-width: 1020px;
    margin: auto;
    padding: 20px;
  }
  .spot .mov-box nav{
    background-color: initial;
  }
  .container .yt-playlist-btn ul li a{
    font-size: 1.2rem;
  }
  .container .yt-player ul{
    padding: 0 180px 10px;
    gap: 20px;
  }
}

/*/////////////// INTRO /////////////////*/

#intro{
  background-color: rgb(1, 20, 45,0.8);
  padding: 24px 15px;
}

.copy_box {
  display: grid;
  grid-template-columns: 1fr; 
  row-gap: 6px;    
  align-items: start;    
  justify-items: center; 
}

.copy_box .copy {
  margin: 0;
  padding: 0.3em 0.8em;
  background: #000; 
  color: #fff;
  font-size: 1.1rem;
  text-align: center; 
}
#intro .copy{
  background-color: #e00717;
  font-size: 1.4rem;
  font-weight: 900;
  font-family: toppan-bunkyu-midashi-go-std, sans-serif;
  font-style: normal;
  margin: 0 auto 4px;
  width: fit-content;
  padding: 0 5px;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  will-change: opacity, clip-path;
  text-align: center;
}
.copy.is-inview {
  animation: catchReveal 0.3s ease-out 0s forwards;
}
@keyframes catchReveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  30% {
    opacity: 1; 
    clip-path: inset(0 70% 0 0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0); 
  }
}
#intro .main_txt{
  margin-top: 24px;
  position: relative;
}
#intro .main_txt p{
  margin: 0 0 1em;
  line-height: 1.9;
  text-align: justify;
  overflow-wrap: anywhere;
}


#intro .main_txt p.clear-float{
  clear: both;
}

@media all and (min-width:768px) {
  .copy_box {
    grid-template-columns: max-content max-content;
    justify-content: flex-start;   
    justify-content: center; 
  }

  .copy_box .copy:first-child {
    grid-column: 1 / -1;
  }
  #intro{
    padding: 32px 15px;
  }
  #intro .main_txt p{
    line-height: 2.2;
  }
  #intro .copy{
    font-size: 32px;
  margin: 0 auto 8px;
  }
  #intro .text_box{
    max-width: 860px;
    margin: auto;
  }
  #intro h2{
    margin-bottom: 56px;
  }
  #intro .copy:last-of-type{
    margin-bottom: 32px;
  }
  #intro .text_box{
    font-size: 1.1rem;
  }
}
/*/////////////// STORY（画像あり） /////////////////*/
#story{
  background:url(../img/story_bg.webp)no-repeat center top ;
  background-size: contain;
  padding-top:235px ;
}
.blur-on-scroll {
  filter: blur(10px);
  opacity: 0;
  transition:
    filter 0.8s ease-out,
    opacity 0.8s ease-out;
  will-change: filter, opacity;
}
.blur-on-scroll.is-inview {
  filter: blur(0);
  opacity: 1;
}
#story h2{
  margin-bottom: 15px;
  
}
#story h2 span{
  background-image: linear-gradient(
    to bottom right, 
    #e00717 0%, #e00717 30%,
    #000 30%, #000 100%
  );
}
#story h2 span::after{
  border-bottom: 1px solid #000000;
}

#story .story_box{
  background: url(../img/bg3.jpg)no-repeat center top;
background-size: cover;
padding: 15px 10px;
  color: #fff;
  line-height: 1.7;
  position: relative;
  overflow: hidden;
}
#story .story_box::before{
  content: "";
  background: url(../img/jukon.png) no-repeat;
  width: 44%;
  height: 15%;
  position: absolute;
  bottom: 0;
  left: -10px;
  background-size: contain;
  z-index: -1;
  opacity: .3;
}

#story .story_box::after{
  content: "";
  background: url(../img/jukon.png) no-repeat;
  width: 60%;
  height: 20%;
  position: absolute;
  top: -30px;
  right: -68px;
  background-size: contain;
  z-index: -1;
  opacity: .3;
}


#story .catch_box {

  margin-bottom: 40px;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  will-change: opacity, clip-path;
}
#story .catch_box.is-inview {
  animation: catchReveal 0.8s ease-out 0s forwards;
}
#story p.catch {
  text-align: left;
  color: #fff;
  font-size: 1rem;
  margin: 0 auto 5px;
  font-weight: 900;
  font-feature-settings: "palt";
  letter-spacing: .04em;
  font-family: toppan-bunkyu-midashi-go-std, sans-serif;
font-style: normal;
text-align: center;
text-shadow: 1px 1px 6px #000;

}
#story .story_box p:not(#story .catch_box p){
  padding: 0 10px;
margin-bottom: 20px;
text-shadow: 1px 1px 6px #000;
}
li.space {
  text-align: center;
  margin: 30px 0;
  font-size: 1.3rem;
}
li.space.guest{
  font-size: 1rem;
  font-weight: bold;
  margin: 50px 0 10px;
}
@media all and (min-width:768px) {
  #story{
    background-size: contain;
    padding: calc(910vw / 14.4) calc(120vw/14.4) 0;

  }
  #story .catch_box {
    margin: 0 auto calc(40vw/14.4) ;
  }
  #story .story_box{
    margin: 0px auto;
    padding: calc(35vw/14.4) 0 calc(35vw/14.4);
    font-size: calc(17vw/14.4);
    line-height: 2;

  }
  #story .story_box::before{
    width: calc(250vw/14.4);
    height: calc(250vw/14.4);
    position: absolute;
    bottom: 0;
    left: calc(10vw/14.4);
  }
  #story .story_box:after{
    width: calc(400vw/14.4);
    height: calc(400vw/14.4);
    position: absolute;
    top: 0;
    right: calc(-80vw/14.4);
  }
  #story .story_box p:not(#story .catch_box p){
  padding: 0 calc(60vw/14.4);
    margin: auto;
  }
  #story p.catch {
    font-size: calc(32vw / 14.4);
    line-height: 1.4;
    margin: 0 auto calc(6vw/14.4);
    padding: 0 calc(10vw/14.4);
  }


}
@media all and (min-width:1441px) {
  #story{
    background-size:contain;

  }
  #story .catch_box {
    margin: 0px auto 40px;
  }
  #story .story_box{
    margin: 0px auto 40px;
    padding: 35px 0;
    font-size: 1.1rem;
    line-height: 2;
    max-width: 1200px;
  }
  #story .story_box::before{
    width: 250px;
    height: 250px;
    position: absolute;
    bottom: 0px;
    left: 10px;
  }
  #story .story_box:after{
    width: 400px;
    height: 400px;
    position: absolute;
    top: 0;
    right: -80px;
  }
  #story .story_box p:not(#story .catch_box p){
    padding: 0 60px;
    margin: auto;
  }
  #story p.catch {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 6px;
    padding: 0 10px;
  }


} 

/*/////////////// CAST&STAFF /////////////////*/
#caststaff h2 > span::after{

  border-bottom: 1px solid #000;

}
#caststaff .role{
  color:#0f306c ;
  font-weight: bold;
  font-size: .9rem;
}
.cast { list-style:none; margin: 0 0 60px; padding:0; }
.cast-row{
  display:grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items:baseline;
  gap:.5rem;
  margin-bottom: .5rem;

}
.cast-row.br{
  margin-bottom: 2rem;
}
.cast-row.brbr{
  margin-bottom:4rem ;
}

.cast-row::before,
.cast-row .role,
.cast-row .actor { grid-row:1;font-weight: bold; }

.cast-row::before{
  content:"…";
  grid-column:2;   
  justify-self:center; 
  white-space:nowrap; 
}

.cast-row .role{
  grid-column:1;
  justify-self:end;
  text-align:right;

}
.cast-row .actor{
  grid-column:3;
  justify-self:start;
  text-align:left;
}

.cast-row .actor .group{
  font-size: 10px;
}

/* ルビ */
ruby { ruby-position: over; }
rt   { font-size:.6em; line-height:1;margin-bottom: 3px; }


ul.staff{
  width: fit-content;
  margin: 0 auto;

}
ul.staff li{
  text-align: center;
  margin-bottom: 15px;
}
ul.staff li span{
  line-height: 1.7;
}

ul.staff .name{
  font-weight: bold;
}
@media all and (min-width:768px) {

  #caststaff .role{
    font-size: 1.4rem;
  }
  .cast-row{
    gap: 1.5rem;
  }
  .cast-row.br{
    margin-bottom: 3rem;
  }
  .cast-row.brbr{
    margin-bottom:6rem ;
  }
  .cast-row .actor,ul.staff .name{
    font-size: 1.5rem;
  }
  .cast-row .actor .group{
    font-size: 1rem;
  }
  .cast-row {
    margin-bottom: .8rem;
  }
  li.space {
    margin: 50px 0;
    font-size: 1.7rem;
}
li.space.guest{
  font-size: 1.2rem;}
}
/*/////////////// TOPICS /////////////////*/
#tbstopics{
  position: relative;
  padding: 0 15px 24px;
}
#tbstopics .outer{
  background-color: #fff;
width: 95%;
  margin: auto;

}
#tbstopics .outer a{
  display: block;
    padding: 15px;
    transition: all .2s;
}
#tbstopics .outer a:hover{
  text-decoration: none;
}
#tbstopics .topics_content {
  color: #000;
}
#tbstopics .topics_content .date{
  color: #fff;
  background-color: #000;
  padding: 0 5px;
  width: fit-content;
  margin: 10px 0;
  font-size: .9rem;
  font-family: "anton", sans-serif;
font-weight: 400;
font-style: normal;
}
#tbstopics .topics_content .topics_txt{
  font-size: .9rem;
}
#tbstopics .topics_photo{
  display: block;
    margin: 0 auto;
    width: 100%;
    background-image: url(../img/topics/thumb_first.webp);
    background-size: cover;
    height: calc(200vw/3.75);
    background-repeat: no-repeat;
}

#tbstopics .lazy{
  aspect-ratio: 16/9;
}
  #tbstopics a.tolist{
    box-shadow: 2px 1px 6px #153560;
    color: #fff;
    text-decoration: none;
    margin: 0 auto;
    display: block;
    background-image: linear-gradient(to bottom right, #e00717 0%, #e00717 48%, #c60211 48%, #c60211 100%);
    width: fit-content;
    padding: 5px 30px;
    margin-top: 40px;
    font-size: 1.2rem;
    position: relative;
  }
  #tbstopics a.tolist::after{
    position: absolute;
    content: "";
    background: url(../img/small_arrow_r.svg) no-repeat center right;
    right: 3px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    background-size: contain;
  }
  #tbstopics .tolist img{
    vertical-align: middle;
    width: 20%;
  }
  @media all and (min-width: 768px) {
    #tbstopics .topics_photo{
      height: 347px;
    }
    #tbstopics{
      padding: 0 15px 54px;
    }
  #topics{
    max-width:1080px; 
    margin:0 auto;

  }
  #tbstopics .outer{
    width: 550px;
  }
  #topics a.tolist{
    position: absolute;
    right: 0;
    bottom: -80px;
    font-size: 1.8rem;
    padding: 5px 50px;
  }
  #tbstopics a.tolist::after{
    right: 0px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 30px;
    height: 30px;
  }
  #tbstopics .topics_content .topics_txt{
    font-size: 1.1rem;}
  }

/*/////////////// NEWS /////////////////*/


#news article{
  background-color: rgb(255 255 255);
  padding: 10px;
  border-top: 10px solid #0f306c;
  border-bottom: 10px solid #0f306c;
  margin-bottom: 50px;
  box-shadow: 1px 3px 15px #bfbfbf;

}
#news article:not(:last-child){
    margin-bottom: 10px;
}

#news article header{
  border-bottom: 1px solid #0f306c;
  display: flex;
  margin-bottom: 10px;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 5px;
  line-height: 1.5;
}
#news article header h3{
  color: #0f306c;
}
#news article header .date{
  font-size: 12px;
  text-align: right;
  font-weight: bold;
  color: #0f306c;
  font-family: "anton", sans-serif;
font-weight: 400;
font-style: normal;
margin-bottom: 3px;
}
#news article .news_txt{
  margin: 10px 0;
}

.article_contents figure{
  text-align: center;
}
@media all and (min-width:768px) {
  #news .news_box{
    max-width: 860px;
    margin: 0 auto;
    padding: 15px;
  }
  #news article{
    padding: 20px 30px;
  }
  #news article:not(:last-child){
    margin-bottom: 15px;
  }
  #news article header{
    justify-content: space-between;
  }
  #news article header{
  font-size: 1.3rem;
  margin-bottom: 30px;
  }
  #news article header h3{
    margin-right: 30px;
    font-size: 1.5rem;
  }
  #news article header .date{
    font-size: 1rem;
  }
  .article_contents {
    font-size: 1.2em;
}
.article_contents figure{
  margin-bottom: 30px;

}
}

/*/////////////// 前作バナー /////////////////*/

.ex-drama .bnr_exdrama{
  display: block;
    margin: 0 auto;
    width: 100%;
    background-image: url(../img/bnr_exdrama.jpg);
    background-size: cover;
height: calc(84vw/3.75);
    background-repeat: no-repeat;
}

.ex-drama {
  width: 100%;
background: url(../img/bg_s.jpg) no-repeat center center;
background-size: cover;
padding: 15px 0;
}
.ex-drama a{
  width: 90%;
  display: block;
  margin: auto;
}
.ex-drama .lazy{
  aspect-ratio:600/150 ;
}
@media all and (min-width:768px) {
  .ex-drama .bnr_exdrama{
    height: 150px;
  }
  .ex-drama {
    width: 100%;
    padding: 20px 0;
}
  .ex-drama a  {
    width: 600px;


  }
}

/*/////////////// Footer /////////////////*/
footer{
  background-color: #000;
  line-height: 1.5;
}
.share-links {
 background-color:#161f2a;
  padding: 16px 0;
  margin-bottom: 10px;
}
 .share-links p{
text-align: center;
}

 .share-links .share-icons{
  display: grid;
  grid-template-columns: auto auto auto;
  padding: 0 90px;
  justify-items: center;
  gap: 20px;
  margin: 20px 0 0;
}
footer figure{
  text-align: center;
}

footer figure img:first-child{
width: 34%;
margin: 0 auto 10px;
}


footer figure img:nth-of-type(2){
  width: 50%;
  margin:0 auto 10px;
  }
footer figure img:nth-of-type(3){
  width: 28%;
  margin: -15px auto 10px;
  }

 footer p.copy {
  font-size: .5em;
    text-align: center;
    font-family: "anton", sans-serif;
    margin-bottom: 6px;
}
footer p.copy:last-child{
  margin-bottom: 0;
}
.pp-wrap {
  justify-content: center;
  gap: 10px;
  padding: 10px 0 10px;
  background:url(../img/bg4.jpg)no-repeat center bottom -300px;
  background-size: cover;
}

footer p.copy a{
  color: #fff;
}
footer p.copy:first-child a{
  text-decoration: underline;
}
footer p.copy a:hover{
opacity: 1;
text-decoration: none;
}

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

  .share-links{
    margin:0 auto 20px;
  }
  .share-links .share-icons{
    max-width: 450px;
    gap: 20px;
    padding: 0 120px;
    margin: 20px auto 0px;
  }
  footer figure img:first-child{
    max-width: 180px;
    margin: 0 auto 10px;
  }
  footer figure img:nth-of-type(2){
    max-width:290px;
    margin: 0px auto;
  }
  footer figure img:nth-of-type(3){
    max-width: 160px;
    margin: -6px auto 20px;
  }
  footer p.copy {
    font-size: .9em;
    margin-bottom: 10px;
  }
}
