@charset "utf-8";

/* =========================================================
   GLOBAL<div class="photo">
  <img src="talent.jpg" class="guarded">
</div><div class="guarded">
  <img src="talent.jpg">
</div>
========================================================= */
@media print {
  .no-print {
    display: none !important;
  }
}


/* guarded image */

.guarded{
  pointer-events:none;
}

.guarded img{
  -webkit-user-select:none;
  user-select:none;
  -webkit-user-drag:none;
}

/* ロゴランナー */


/* =========================================================
   RESET / BASE
========================================================= */
*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
}

/* 横スクロール防止 */
body{
  overflow-x:hidden;
}


/* =========================================================
   VIEWPORT / SCROLL
========================================================= */

/* スムーススクロール */
html{
  scroll-behavior:smooth;

  /* iOS Safari viewport対策 */
  height:-webkit-fill-available;
}

/* iOS 100vhズレ対策 */
body{
  min-height:100vh;
  min-height:-webkit-fill-available;

  text-rendering:optimizeLegibility;
  font-size:clamp(0.95rem,1vw,1.05rem);
  line-height:1.75;
  font-weight:500;
  color:#fff;
background:rgba(79, 30, 121, 1);
   /*linear-gradient(rgba(79, 30, 121, 0.9), rgba(79, 30, 121, 0.9)),
 url(../img/bg-pp.webp);
    background-position:  center top;
    background-attachment: fixed ;*/
}

@media (max-width: 992px){

  body{
    background-attachment: scroll;
  }

  .storyHero{
    background-attachment: scroll;
  }

  .introHero{
    background-attachment: scroll;
  }

}/**/

/* 見出し */
h1, h2, h3, .headline {
  font-weight: 700;
  letter-spacing: .06em;
}

/* 本文（和文） */
body, p, li, .text {
  font-family: "Noto Sans JP", sans-serif;
 font-weight: 700;
  line-height: 1.9;
}

.lead-copy,.comment-name {
font-family: "Noto Serif JP", serif; 
  font-weight: 700;
  line-height: 1.4;
}

/* 数字・価格 */
.price, .num,.copyright,.sns,.follow a,.scroll-circle text,.btn-comment,.commentDetail__en,.commentBackFloat,.commentDetail__back,.news-date{
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  font-variant-numeric: lining-nums;
}

.btn-comment span,.btn-movie span{font-family: "Libre Baskerville", serif;}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: #f5f5f5;
  text-decoration: none;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}


.lead-copy{
  font-size: clamp(1.15rem, 3vw, 1.65rem); /* ★一段大きく */
  font-weight: 700;
  line-height: 1.75;
  margin: 1.2em auto ;                   /* ★上下余白をしっかり */
  letter-spacing: .03em;

  text-align: center;                     /* PC基準 */
}
@media (max-width: 992px){
  .lead-copy{
    text-align: left;
    margin: 1.6em 0 ;                /* ★SPは上下さらに余白 */
    max-width: none; letter-spacing: 0;
  }
}


p {
  /*letter-spacing: 0.05rem;*/
  text-align: left;
  margin-bottom: 0.3rem;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 10px 0;
  font-weight: 500;
  text-align: justify;
    
}


section{
padding:60px 0;
}

@media (max-width:768px){
section{
padding:40px 0;
}
}

#intro h3,#story h3 {
color: #ffe66d; /* ロゴ連動 */}

#intro p{
  text-align: left;
  text-justify: auto;  color:#fff;
  line-height:2.05;
  letter-spacing:.03em;
}
#intro p strong,#story p strong{
  color:#e3c86a; font-weight:700;
}


/* area */
#container {
  position: relative;
  overflow-x: hidden;
}
#header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0;
}
#content-area {
  width: 100%;
  padding: 0 0 0 0;
}
@media screen and (max-width:990px) {
  #header {
    position: relative;
    width: 100%;
    height: auto;
    padding: 0;
    display: none;
  }
  #content-area {
    padding: 0;
  }
}


/* =========================================================
   MOVIE 
}
========================================================= */

#topics-movie{background: #c8619d;}


#topics-movie.movieSection{
  padding:60px 0;
}


#topics-movie .videos,
#topics-movie .movieSection__inner{
  width: min(1100px, 92vw);
  margin: 0 auto;
  text-align: center;
}




.movieSection__list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}


#topics-movie .movieItem{
  width:100%;
  max-width:760px;
  margin:0 auto;
}


#topics-movie .movie--node{
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
border:3px solid #4f1e79;
}

/* lazy button */
#topics-movie .yt-lazy{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: block;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  text-decoration: none;
}


/* 薄い暗幕 */
#topics-movie .yt-lazy::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.14),
    rgba(0,0,0,.40)
  );
}

/* 再生ボタンを中央に */
#topics-movie .yt-play{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;

  width: min(92px, 22vw);
  height: min(92px, 22vw);
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.9);
  background: rgba(0,0,0,.42);

  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter:blur(2px);
  transition: background .25s ease, transform .25s ease, opacity .25s ease;
}

#topics-movie .yt-play img{
  width: 34px;
  height: auto;
  pointer-events: none;
}

/* caption */
#topics-movie .movieItem__cap{
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .14em;
  color: rgba(255,255,255,.82);
  font-family: "Libre Baskerville", serif;
}

/* hover */
@media (hover:hover){
  #topics-movie .yt-lazy:hover .yt-play{
    background: rgba(0,0,0,.58);
    transform: translate(-50%, -50%) scale(1.04);
  }
}

/* focus */
#topics-movie .yt-lazy:focus-visible{
  outline: 2px solid rgba(255,255,255,.9);
  outline-offset: 4px;
}

/* SP */
@media screen and (max-width: 768px){
	

  #topics-movie .movieSection__list{
    grid-template-columns:1fr;
  }
    
  #topics-movie.movieSection{
    padding: 50px 0;
  }


  #topics-movie .videos,
  #topics-movie .movieSection__inner{
    width: min(80vw, 560px);
  }

  #topics-movie .movieItem__cap{
    margin-top: 10px;
    font-size: 13px;
    letter-spacing: .12em;
  }

  #topics-movie .yt-play img{
    width: 28px;
  }
}



/* ------------------------------------------------------------------- 
 * latest
 * ------------------------------------------------------------------- */
#latest {padding:0;

}
.latest-inner{
  width: 100%;
  max-width: 900px; /*調整*/
  margin: 0 auto;
  text-align: center;
}


/* =====================
   NEWS
===================== */
.news-item{margin: 0 0 20px;
  display:flex;
  align-items:stretch;
}
.news-item{
  position:relative;

  background:#000;
  line-height:1.4;
  color:#eee;
  padding:8px;
  text-decoration:none;

  flex:1;
  display:flex;
  align-items:flex-start;
  text-align:left;

  z-index:1;
}

/* 黒版ずれ */
.news-item::before{
  content:"";
  position:absolute;
  inset:0;

  background:#c8619d;

  transform:translate(-3px,-3px); /* ←ズレ量 */

  z-index:-1;
}
/* 日付側 */
.news-date{

  color:#F1E75B;
  padding:8px;
  white-space:nowrap;
  display:flex;
  align-items:center;
}

/* タイトル側 */
.news-title{
line-height: 1.4;
  color:#eee;
  padding:8px;
  text-decoration:none;
  flex:1;
  display:flex;
  align-items:center;text-align: left;
	
	

}

.news-title:hover{
  text-decoration:underline;
}


/* =========================
   upper buttons
========================= */
.base-area{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 20px;
}

.base-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  text-decoration: none;
  color: #f3f1e8;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, #44305f, #7a3e5c);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.base-button:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
}

/* ------------------------------------------------------------------- 
 * responsive:
 * latest
 * ------------------------------------------------------------------- */
@media screen and (max-width:992px) {
  #latest {

  }
.latest-inner{
  max-width:100%;
}

  .news-item{font-size: 0.9rem;
display: block;
    gap:6px;
  }


} /*end*/

/* ---------------------------------------------
   INTRO
--------------------------------------------- */
#intro{
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #4f1e79;

  /* 疑似要素装飾のz-index干渉防止 */
  isolation: isolate;
}

/* 大ギア */
#intro::after{
  content:"";
  position:absolute;

  right:-120px;
  bottom:-120px;

  width:300px;
  height:300px;

  background:url("../img/Gear.webp") no-repeat center;
  background-size:contain;

  opacity:.12;
  animation:gear 30s linear infinite;

  pointer-events:none;
}

/* 小ギア */
#intro::before{
  content:"";
  position:absolute;

  right:120px;
  bottom:80px;

  width:120px;
  height:120px;

  background:url("../img/Gear.webp") no-repeat center;
  background-size:contain;

  opacity:.15;
  animation:gear 18s linear infinite reverse;

  pointer-events:none;
}

/* 回転 */
@keyframes gear{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}

.intro-inner{
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 900px;
  padding-bottom: 30px;
  margin: auto;
  text-align: center;
}

@media (max-width: 992px){
  .intro-inner{
    max-width: 90%;
  }
}
/* ---------------------------------------------
   STORY HERO
--------------------------------------------- */
/* 上の“帯＋見出し” */
.storyHero{
  background: url("../img/akechico_illust1920.webp") no-repeat center;
  background-size: 160%;
  background-attachment: fixed;
  background-position:5% 20%;
  padding: 20vh 0 15vh;
  height:45vh;
}
/* tablet */
@media (max-width: 992px){
.storyHero{max-width: 90%;margin: 30px auto 0;
    background: url("../img/bg_chara2SP.webp") no-repeat center;
       background-size: 100%;
    background-position:top center;
    background-attachment: scroll;
     
       padding: 33% 0 0 0; height:auto;   /* ←これ */
  }
}/**/

/* ---------------------------------------------
   STORY
--------------------------------------------- */
#story{
  /*background: #4f1e79;*/
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;

  /* 疑似要素装飾のz-index干渉防止 */
  isolation: isolate;
	
	  background-image:url("../img/menu-bg.webp") !important;
  background-position:center bottom;
  background-size:cover;
	
}


/* SP背景 */
@media (max-width:768px){

  #story{
    background-image:url("../img/menu-bg-sp.webp");
    background-position:center bottom;
    background-size:cover;
  }

}


.story-inner{
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 900px;
  padding-bottom: 30px;
  margin: 0 auto;
  text-align: center;
}

#story p{
  text-align: left;
  text-justify: auto;
  line-height: 2.5;
}

/* ---------------------------------------------
   CHARACTER ICON
--------------------------------------------- */

.charaIcon{
  position:relative;
  display:inline-block;
  padding-left:53px;
  line-height:2.5;
}

.charaIcon::before{
  content:"";
  position:absolute;
  left:1px;
  top:50%;
  transform:translateY(-50%);
  width:50px;
  min-height:50px;
  background-size:contain;
  background-repeat:no-repeat;
}

.chara-miyano::before{
  background-image:url("../img/icon-miyano.webp");
}

.chara-kamiyama::before{
  background-image:url(../img/icon-kamiyama.webp);
}

.chara-ishida::before{
  background-image:url(../img/icon-ishidaS.webp);
}

.chara-hamada::before{
  background-image:url(../img/icon-hamada.webp);
}

.chara-shida::before{
  background-image:url(../img/icon-shida.webp);
}

.chara-awane::before{
  background-image:url(../img/icon-awane.webp);
}

.chara-furuta::before{
  background-image:url(../img/icon-furutaS.webp);
}

.charaIcon:hover::before{
  transform:translateY(-50%) scale(1.2);
}

/* ---------------------------------------------
   992px以下
--------------------------------------------- */

@media (max-width: 992px){

  #story{
    padding-bottom:0;
  }

  .story-inner{
    max-width: 90%;
  }

 }/**/	

/* ---------------------------------------------
   480px以下
--------------------------------------------- */

@media (max-width: 480px){

  .charaIcon::before{
    left:2px;
    top:50%;
    transform:translateY(-50%);
    width:45px;
    min-height:45px;
  }

}
/* =========================
   footer上 ロゴランナー
========================= */

.logo-runner{
  overflow:hidden;
  padding:0;
  position:relative;
	background:#de5f9a;/*ローズピンク*/
}

.logo-runner__track{
  display:flex;
  gap:50px;
  width:max-content;

  animation: logoRunnerMove 40s linear infinite;
}

.logo-runner img{
  height:200px;
  opacity:0.2;
}

/* 流れる */

@keyframes logoRunnerMove{

  from{
    transform:translateX(0);
  }

  to{
    transform:translateX(-50%);
  }

}

@media (max-width: 992px){
.logo-runner img{
  height:100px;
}
}	
	

.ticketHero{
  opacity: 0;
  transform: translateY(36px) scale(.985);
  transition:
    opacity .9s ease,
    transform 1s cubic-bezier(.22,1,.36,1),
    filter 1s ease;
  filter: brightness(.88);
}

.ticketHero.is-inview{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: brightness(1);
}


	/* =========================
 TICKET 背景ロゴパターン（PCのみ）
========================= */

@media (min-width: 992px){

  #ticket{
    position: relative;
    overflow: hidden;
  }

  #ticket::before{
    content:"";
    position:absolute;
    inset:-50%;
    pointer-events:none;
    z-index:0;

    background-image:url("../svg/logo1-runPP.svg");
    background-repeat:repeat;
   background-size:200px auto;

   opacity:.07;

    transform:rotate(-18deg);

    animation: aketchikoDrift 90s linear infinite;
  }

  #ticket > *{
    position: relative;
    z-index: 1;
  }
}

/* アニメーション */

@keyframes aketchikoDrift{

  from{
    background-position:0 0;
  }

  to{
    background-position:600px -600px;
  }

}

/* =========================================================
   TICKET
========================================================= */

/* 背景 */
#ticket{
  position:relative;
  background:linear-gradient(180deg,#de5f9a 0%,#b64e9e 45%,#4f1e79 100%);
}

section#ticket{
  padding:0 0 60px;
}


/* =========================================================
   HERO
========================================================= */

.introHero{
  height:45vh;
  padding:20vh 0 15vh;
  background:url("../img/akechico_illust1920.webp") no-repeat center;
  background-size:180%;
  background-position:35% 70%;
  background-attachment:fixed;
}


/* =========================================================
   AREA NAV
========================================================= */

.ticketNav{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  width:100%;
  margin:0 auto;
  padding:0 0 30px;
}

.ticketNav__pill.btnGrad{
  font-size:16px;
  padding:14px 22px;
}


/* =========================================================
   CARD
========================================================= */

.ticketCard{
  width:min(1100px,100%);
  margin:0 auto 15px;
  padding:36px 0 40px;
  overflow:hidden;

  color:#222;
  border:3px solid #4f1e79;
  background:url("../img/bg_ticket.jpg");
}

.ticketCard__inner{
  width:100%;
  padding:0 36px;
  margin:0 auto;
  position:relative;
}

.ticketCard__grid{
  display:grid;
grid-template-columns:minmax(320px,380px) 1fr;
  gap:28px;
  align-items:start;
}

/* 画像 */
.ticketCard img{
  width:100%;
  height:auto;
  display:block;
}


/* =========================================================
   RIGHT COLUMN
========================================================= */

.ticketHd{
  margin:8px 0 10px;
  padding:10px 12px 10px 16px;
  font-size:15px;
  font-weight:800;
  letter-spacing:.08em;
  border-left:6px solid #562c7a;
}

.ticketHd--mt{
  margin-top:18px;
}

.ticketBtns{
  display:grid;
  gap:14px;
}

.ticketBtns__item{
  padding:14px 14px 12px 0;
  text-align:center;
}

.ticketBtns__note{
  margin:0 auto;padding: 10px 0;
  font-size:15px;text-align:center;
}


/* =========================================================
   BUTTON
========================================================= */

.ticketBtn{
  display:flex;
  justify-content:center;
  align-items:center;

  width:90%;
  margin:0 auto 8px;
  padding:16px 18px;

  font-size:17px;
  font-weight:900;
  letter-spacing:.06em;
  text-decoration:none;

  color:#111;
  background:#f2c94c;
  border:2px solid #111;

  box-shadow:
    0 3px 0 #111,
    0 10px 22px rgba(0,0,0,.2);

  transition:.18s;
}

.ticketBtn:hover{
  transform:translateY(-2px);
  background:#f7d86a;
}


/* =========================================================
   INFO
========================================================= */

.ticketInfo{
  padding:14px 14px 12px;
  border-left:2px solid #562c7a;
  line-height:1.7;
}

.ticketInfo__num{
  margin-left:6px;
  font-weight:800;
}

.ticketInfo__small{
  margin-left:6px;
  font-size:.9em;
  opacity:.85;
}


/* =========================================================
   PC
========================================================= */

@media (min-width:993px){

  .ticketNav__pill.btnGrad{
    font-size:18px;
    padding:14px 30px;
  }

  .ticketCard__grid{
    grid-template-columns:1fr 1fr;
  }

	
	
.ticketBtns__item{
  padding:14px 14px 12px;
  text-align:center;
  border-left:2px solid #562c7a;
}

	
	
  .ticketCard__date{
    grid-column:1 / 3;
    display:flex;
    align-items:flex-end;
    justify-content:flex-start;
    gap:20px;
    max-width:90%;
  }

.ticketCard__date img{
  width:auto;
  max-width:580px;
}

  .ticketCard__date .venueLink{
    flex:0 0 auto;
  }

  /* 福岡・大阪だけ微調整 gapはそのまま */
.ticketCard--fukuoka .ticketCard__date,
.ticketCard--osaka .ticketCard__date{
  gap:10px;
}

/* 大阪 */
.ticketCard--osaka .ticketCard__date .venueLink{
  margin-left:-80px;
}

/* 福岡 */
.ticketCard--fukuoka .ticketCard__date .venueLink{
  margin-left:-100px;
}

	
}


/* =========================================================
   SP
========================================================= */

@media (max-width:992px){

  section#ticket{
    padding:0 0 70px;
  }

  .introHero{
    height:auto;
    max-width:90%;
    margin:30px auto 0;
    padding:33% 0 0;
    background:url("../img/bg_charaSP.webp") no-repeat top center;
    background-size:100%;
    background-attachment:scroll;
  }

	
	.ticketCard__inner{
  width:100%;
  padding:0 25px;
}
	
	
  /* カード1列 */
  .ticketCard__grid{
    grid-template-columns:1fr;
    gap:18px;
    align-items:center;
  }

  /* ナビ3列 */
 
  .ticketBtn{
    width:100%;
    padding:18px 8px;
  }

	
	
}

/* =========================================================
   CAST STAFF
========================================================= */
.castStaff {
  position: relative;
	isolation: isolate;/*この要素の中の z-index は この要素の中だけで完結 */
  padding: 100px 0;
background: linear-gradient(180deg,
  #4f1e79 0%,/*深紫*/
  #b64e9e 80%,/*マゼンタパープル*/
  #de5f9a 100%/*ローズピンク*/
);
  /* 共通変数
     7人全員この幅を使うので、段が違っても写真サイズは揃う */
  --cast-gap: clamp(14px, 1.8vw, 26px);
  --cast-card-w: clamp(190px, 22vw, 380px);
  --cast-photo-ratio: 3 / 4;
}



/* =========================
   CAST バラ装飾（古田さん横）
========================= */

.castStaff__container::after{
  content:"";
  position:absolute;

  left:-180px;
  top:50%;

  width:260px;
  height:260px;

  background:url("../img/rose-bouquet.webp") no-repeat center;
  background-size:contain;

  transform:rotate(6deg);
  opacity:.28;

  pointer-events:none;
  z-index:0;

  animation: castRoseSway 7.5s ease-in-out infinite;
}

@keyframes castRoseSway{
  0%{
    transform: translateY(0) rotate(6deg) scale(1);
  }
  25%{
    transform: translateY(-4px) rotate(8deg) scale(1.01);
  }
  50%{
    transform: translateY(0) rotate(5deg) scale(1);
  }
  75%{
    transform: translateY(3px) rotate(7deg) scale(.995);
  }
  100%{
    transform: translateY(0) rotate(6deg) scale(1);
  }
}

/* =========================
   CAST&STAFF 虎
   ふわっと上下
========================= */
.castStaff::after{
  content:"";
  position:absolute;
  right:-110px;   /* 顔だけ見える位置 */
  bottom:22%;
  width:220px;
  height:220px;

  background:url("../img/icon-tora.webp") no-repeat center;
  background-size:contain;

  opacity:.35;
  pointer-events:none;
  z-index:1;

  animation:tigerPeek 8s ease-in-out infinite;
}

@keyframes tigerPeek{

  /* 最初：顔だけ */
  0%{
    transform: translateX(0) rotate(5deg);
  }

  /* 少し待つ */
  30%{
    transform: translateX(0) rotate(5deg);
  }

  /* 半分出る */
  45%{
    transform: translateX(-70px) rotate(5deg);
  }

  /* 半分状態キープ */
  70%{
    transform: translateX(-70px) rotate(5deg);
  }

  /* 戻る */
  85%{
    transform: translateX(0) rotate(5deg);
  }

  /* 顔だけ */
  100%{
    transform: translateX(0) rotate(5deg);
  }

}

/* =========================
   CAST&STAFF 歯車
   ゆっくり回転
========================= */

.castStaff::before{
  content:"";
  position:absolute;
  left:-90px;
  bottom:10%;
  width:280px;
  height:280px;
  background:url("../img/Gear.webp") no-repeat center;
  background-size:contain;
  transform:rotate(5deg);
  opacity:.40;
  pointer-events:none;
  z-index:1;

  animation: castGearSpin 24s linear infinite;
}

@keyframes castGearSpin{
  from{
    transform: rotate(0deg);
  }
  to{
    transform: rotate(360deg);
  }
}



.castStaff__container{
  position: relative;
  z-index: 2;
  width: 90%;
  margin: 0 auto;
}

.castStaff__credit{
  width: min(80%, 900px);
  margin: 80px auto;
}
.Staffonly__credit {
  width: min(78%, 700px);
  margin: 80px auto;
}

/* =================================================
   ROW
================================================= */

.castStaff__row {
  display: grid;
  justify-content: center;
  gap: clamp(18px, 2vw, 34px);
  margin-bottom: var(--cast-gap);
}

/* 2人段 */
.castStaff__row--2 {
  grid-template-columns: repeat(2, minmax(0, var(--cast-card-w)));
}

/* 4人段 */
.castStaff__row--4 {
  grid-template-columns: repeat(4, minmax(0, var(--cast-card-w)));
  align-items: start;
}

/* 1人段 */
.castStaff__row--1 {
  grid-template-columns: minmax(0, var(--cast-card-w));
  justify-content: center;
}

/* STAFF段 */
.castStaff__row--staff {
  grid-template-columns: repeat(2, minmax(0, var(--cast-card-w)));
}

/* =================================================
   CARD
================================================= */

.castCard {
  position: relative;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


/* =================================================
   PHOTO
================================================= */


.castCard__photoWrap {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: var(--cast-photo-ratio);
  background: #111;
  text-decoration: none;

  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.castCard__photoWrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
}

.castCard__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;

  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.castCard:hover .castCard__photo,
.castCard:focus-within .castCard__photo {
  transform: scale(1.06) translateY(-6px);
}

/* =================================================
   NAME
================================================= */

.castCard__name {
  margin-top: 14px;
  line-height: 1.45;
}

.castCard__role {background: #000;
  display: block;padding: 0 6px 2px;
	border-radius: 30px;
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: .08em;
  opacity: .8;
}
.castCard__person{
  display:inline-block;
  font-size:clamp(24px, 2vw, 28px);
  font-weight:600;
  letter-spacing:.06em;
  line-height:1.1;

  color:#fff;

  /* h2寄りの黒フチ */
  text-shadow:
    -1.5px -1.5px 0 #111,
     1.5px -1.5px 0 #111,
    -1.5px  1.5px 0 #111,
     1.5px  1.5px 0 #111;

  /* 版ずれ */
  filter: drop-shadow(4px 3px 0 #111);
}
/* =================================================
   BUTTON
================================================= */

.castCard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.castCard__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 8px;

  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;

  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.25);


  transition:
    transform .15s ease,
    filter .15s ease;
}

.castCard__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-comment {background:#4b2c8c; 
}

.btn-movie {background:#4b2c8c;
}

.castCard__btn:active {
  transform: translateY(1px);
  box-shadow:
    0 1px 0 rgba(0,0,0,.35),
    0 3px 8px rgba(0,0,0,.18);
}

/* =================================================
   STAFFカード
================================================= */

.castCard--staff .castCard__photoWrap {
  aspect-ratio: 4 / 3;
}

.castCard--staff .castCard__photo {
  object-position: center 20%;
}

/* =================================================
   動画モーダル
================================================= */

.videoModal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.videoModal.is-open {
  display: block;
}

.videoModal__bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.76);
}

.videoModal__dialog {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(960px, calc(100% - 32px));
}

.videoModal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.videoModal__frameWrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.videoModal__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* =================================================
   写真トリミング微調整
   サイズは同じ、見せる位置だけ変える
================================================= */

.photo-miyano   { object-position: center 14%; }
.photo-kamiyama { object-position: center 16%; }
.photo-awane    { object-position: center 14%; }
.photo-ishida   { object-position: center 15%; }
.photo-hamada   { object-position: center 16%; }
.photo-shida    { object-position: center 15%; }
.photo-furuta   { object-position: center 14%; }

/* =================================================
   1200以下
   幅に応じて全段まとめて少し小さく
================================================= */

@media (max-width: 1200px) {
  .castStaff__container {
    width: min(94vw, 1280px);
  }

  .castStaff {
    --cast-card-w: clamp(150px, 20vw, 240px);
  }
}

/* =================================================
   992以下
   全段1列 / サイズは共通
================================================= */

@media (max-width: 992px) {
  .castStaff {
    padding: 72px 0;
    --cast-card-w: min(300px, 100%);
  }

  .castStaff__container {
    width: min(92vw, 560px);
  }

	

  .castStaff__row,
  .castStaff__row--2,
  .castStaff__row--4,
  .castStaff__row--1,
  .castStaff__row--staff {
    grid-template-columns: 1fr;
	      gap: 48px;            /* カード同士の余白 */
    margin-bottom: 48px;  /* 段と段の余白 */
  }

  .castCard {
    width: 100%;
    max-width: var(--cast-card-w);
    margin: 0 auto;/* 下marginを消す */
  }



  .castCard__photoWrap {
    aspect-ratio: 4 / 5;
  }

  .castCard__actions {
    gap: 8px;
  }

  .castCard__btn {
    min-width: 120px;
    min-height: 42px;
  }

  /* 4人段だけSP順変更
     石田 → 浜田 → 志田 → 粟根 */
  .castStaff__row--4 article:nth-child(1) { order: 4; }
  .castStaff__row--4 article:nth-child(2) { order: 1; }
  .castStaff__row--4 article:nth-child(3) { order: 2; }
  .castStaff__row--4 article:nth-child(4) { order: 3; }
	
	
	
	  /* バラの花束 */
.castStaff__container::after{
 left:-280px;
	top:55%;
    width:240px;
    height:240px;

  }




	
	/*トラ柄*/
.castStaff::after{
  right:-80px;
  bottom:18%;
  width:160px;
  height:160px;
  transform:rotate(5deg);
  opacity:.35;
}
	
	/*歯車*/
.castStaff::before{

 left:-150px;
  bottom:10%;

  width:260px;
  height:260px;
  transform:rotate(5deg);
  opacity:.40;
}
	
	
}/**/



/*背景スマホ動きまとめ書き*/
@media (max-width: 992px){



  .castStaff::after{
    animation: castTigerFloat 5.5s ease-in-out infinite;
  }

  .castStaff::before{
    animation: castGearSpin 24s linear infinite;
  }

}




/* ------------------------------------------------------------------- 
 * footer
 * ------------------------------------------------------------------- */
#footer {padding-top: 60px;

}
.footer-content {
  margin: 0 auto;
  text-align: center;
}

.staffcredit-content {
  width: 100%;
  max-width:740px; /*調整*/
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  margin: 0 auto;
  text-align: center;
  padding-bottom: 30px;
}
.footer-logo img {
  width:380px;
}
  .copyright {
    text-align: center;margin:3em auto 1.5em;font-size: 0.8em;

  }

/* ------------------------------------------------------------------- 
 * responsive:
 * footer
 * ------------------------------------------------------------------- */

@media screen and (max-width:992px) {
    
    #footer {
  padding: 0 0 80px;

}
    
    
.staffcredit-content {
    width: 100%;
    max-width: 90%; /*調整*/
    margin: 0 auto;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
  }
  .footer-logo img {
    width: 78%;
  }
  #footer .footer-link {
    width: 100%;
    display: block;
  }



} /*end*/
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
  display: block !important;
}
.sp {
  display: none !important;
}

.pc-sp {
  display: none !important;
}


	
	
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 992px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
	
	
}



/* -------------------------------------------------------------------
 * overlay banner
 * ------------------------------------------------------------------- */
.fix-banner{
  position: fixed;
  left: 10px;
  bottom: 20px;
  z-index: 9998;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;

  animation: fadey_bottom_start 4s ease both;
}

/* バナー本体 */
.fix-banner__link{
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  min-width: 132px;
  min-height: 74px;
  padding: 8px 16px 10px;

background: #4f1e79;
  color: #fff;
  text-decoration: none;
  line-height: 1;

  border: 1px solid rgba(255,255,255,1);

  overflow: visible;

  transition:
    background-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

/* hover */
.fix-banner__link:hover{
  background:#4f1e79;
  transform:translateY(-3px);
  border-color:rgba(255,255,255,.24);
  box-shadow:0 14px 30px rgba(0,0,0,.28);
}

/* --------------------------------------------------
 * NEWバッジ（右上・外側）
 * -------------------------------------------------- */
.fix-banner__link::before{
  content:"TICKET";
  position:absolute;

  top:-10px;
  right:-2px;

  font-size:.7rem;
  font-weight:700;
  letter-spacing:.08em;
  line-height:1;

  padding:1px 7px 3px;

  color:#000;
  background:#f1e411;

  border-radius:14px;

  box-shadow:0 4px 10px rgba(0,0,0,.25);
}

/* 上の小さい文字 */
.fix-banner__sub{
  display:block;
  margin-bottom:3px;
  font-size:.88rem;
  font-weight:600;
  letter-spacing:.14em;
  line-height:1.1;
  white-space:nowrap;
  opacity:.9;
}

/* メイン文字 */
.fix-banner__main{
  display:block;

  font-size:1rem;
  font-weight:800;
  letter-spacing:.18em;
  line-height:1.1;
  white-space:nowrap;
}

/* --------------------------------------------------
 * responsive
 * -------------------------------------------------- */
@media (max-width:1024px){

  .fix-banner{
    left:10px;
    bottom:12px;
    gap:7px;
  }

  .fix-banner__link{
    min-width:120px;
    min-height:66px;
    padding:10px 13px 11px;
  }

  .fix-banner__sub{
    margin-bottom:6px;
    font-size:.58rem;
    letter-spacing:.12em;
  }

  .fix-banner__main{
    font-size:.88rem;
    letter-spacing:.16em;
  }

}

@media (max-width:767px){

  .fix-banner{
    left:8px;
    bottom:10px;
    gap:6px;
  }

  .fix-banner__link{
    min-width:112px;
    min-height:60px;
    padding:9px 11px 10px;

    box-shadow:0 8px 18px rgba(0,0,0,.2);
  }

  .fix-banner__sub{
    margin-bottom:5px;
    font-size:.54rem;
    letter-spacing:.1em;
  }

  .fix-banner__main{
    font-size:.8rem;
    letter-spacing:.14em;
  }


  .fix-banner__link::before{
    font-size:.5rem;
    padding:3px 6px 2px;

    top:-8px;
    right:-8px;
  }

}


@keyframes fadey_bottom_start{
  0%{ opacity: 0; }
  90%{ opacity: 0; }
  100%{ opacity: 1; }
}

/* ===============================
最初は本編を見せない 
=============================== */
/* 初期は中身を見せない */
#container{
  opacity: 0;
}

body.appear #container{
  animation: PageAnimeAppear .45s ease forwards;
  animation-delay: .14s;
}

@keyframes PageAnimeAppear{
  from{ opacity: 0; }
  to{ opacity: 1; }
}

/* ロゴはJSで後から */
.title-label{
  opacity: 0;
  transform: translateY(18px) scale(.992);
}

.title-label.is-in{
  animation: logo-soft-in .82s cubic-bezier(.22,1,.36,1) both;
}

/* KV本体：blurは使わず、明度だけ */
.top-content{
  animation: kv-emerge 1.45s cubic-bezier(.22,1,.36,1) both;
}

@keyframes kv-emerge{
  0%{
    transform: scale(1.035);
    opacity: .72;
    filter: brightness(.58);
  }
  55%{
    transform: scale(1.018);
    opacity: .9;
    filter: brightness(.82);
  }
  100%{
    transform: scale(1);
    opacity: 1;
    filter: brightness(1);
  }
}





/* =========================
  Container appear
========================= */
#container{ opacity:0; }
body.appear #container{
  animation: PageAnimeAppear .65s ease forwards;
  animation-delay: .18s; /* 割れた瞬間から見せる */
}
@keyframes PageAnimeAppear{
  from{ opacity:0; }
  to{ opacity:1; }
}


/* =========================
   preloader base
========================= */
#preloader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #de5f9a;     /* ★背景色は #preloader に統合（.preloaderbg使わない） */
  opacity: 1;
  transition: opacity .42s ease;
  pointer-events: auto;  filter: drop-shadow(0 0 0 rgba(0,0,0,0)); /* ダミー */
}
/* ★appear後：preloaderをフェードアウトして前面を明け渡す */
body.appear #preloader{
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
   preloader: SECRET (ring + unified icon + "SHUUU")
========================================================= */

#preloader_area{
  position:absolute;
  inset:0;
}

/* 単色背景（#preloader の背景色は既存を活かしてもOK） */
#preloader{
background: #4f1e79;
}

/* 中央ユニット：縦積みで「アイコン → テキスト」 */
.secret-wrap{
  position:absolute;
  inset:0;
  display:flex;              /* ★ grid → flex */
  flex-direction: column;    /* ★縦積み */
  justify-content: center;
  align-items: center;
  gap: 14px;                 /* ★ bubble と文字の距離 */
}

/* 小さな円（画面幅の約10%） */
.secret-bubble{
  width: 40vw;
  height: 40vw;
  max-width:200px;
  max-height: 200px;
  min-width: 200px;
  min-height:200px;

  border-radius: 999px;
  display:grid;
  place-items:center;
  overflow:hidden;
  isolation:isolate;

  /* 円の見た目   border: 2px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.01);*/


  transform: scale(1);
  opacity: 1;
}

/* 外部SVG（唇＋指） */
.secret-icon{
  width: 68%;
  height: 68%;
  display:block;
  opacity: .95;
  transform: translateY(0);
}

/* KEEP SECRET（秘密ワード） */
.secret-word{
  position: relative;        /* ★ absolute をやめる */
  left: auto;
  top: auto;
  transform: none;

  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(16px, 2.9vw, 34px);
  letter-spacing: .22em;

  color: rgba(245,233,41,.95);
  text-shadow: 0 10px 22px rgba(0,0,0,.28);

  opacity: 0;
  filter: blur(10px);
  pointer-events:none;
  white-space: nowrap;
}


/* ===== アニメの段取り（JSがクラス付与する） ===== */

/* ① ワードがスッ…と入る */
.secret-wrap.is-word-in .secret-word{
  animation: secretWordIn .55s cubic-bezier(.2,.9,.1,1) forwards;
}

@keyframes secretWordIn{
  from{
    opacity:0;
    transform: translateY(10px);
    filter: blur(10px);
  }
  to{
    opacity:1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ② 円が一気に拡大してフェード（画面を覆う） */
.secret-wrap.is-expand .secret-bubble{
  animation: secretBubbleExpand .85s cubic-bezier(.2,.9,.1,1) forwards;
}

@keyframes secretBubbleExpand{
  0%{
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }

  20%{
    transform: scale(1) rotate(30deg); /* 首かしげ */
    opacity: 1;
  }

  100%{
    transform: scale(5) rotate(0deg); /* 正面に戻して押し切り */
    opacity: 0.94;
  }
}

/* ③ ワードも拡大に巻き込む（位置基準をtranslateYに） */
.secret-wrap.is-expand .secret-word{
  animation: secretWordZoom .85s cubic-bezier(.2,.9,.1,1) forwards;
}
@keyframes secretWordZoom{
  0%{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100%{
    opacity: 0;
    transform: translateY(0) scale(1.55);
  }
}

@media screen and (max-width:992px) {

}




/* =================================================
TOP MAIN
================================================= */
#top-main{
  position:relative;
isolation: isolate;
  z-index:10;
  width:100%;
  display:grid;
  place-items:center;


}

.top-content{
  top:0;
  position:relative;
  margin-inline:auto;
  width:min(100vw,1100px);
  aspect-ratio:1000 / 1408;
  transform:none;
  filter:none;
  opacity:1;
  animation:none;
}

.mainV{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
}

.mainV img{
  position:absolute;
  display:block;
  object-fit:cover;
  object-position:top center;
  user-select:none;
  -webkit-user-drag:none;
  width:100%;
  max-width:1100px; 
   /* 追加：ズーム演出 */
  transform: scale(1.2);
  transition: transform 2.4s cubic-bezier(.2,.9,.1,1);
  will-change: transform;
}


.mainV-sub{
  position:absolute;
  right:5%;
  bottom:10%;
}

.mainV-sub img{
  width:140px;
  position:static;
}


body.appear .mainV img{
  transform:scale(1);
  opacity:1;
  transition-delay: 0.5s; /* ドア1.05s + 少し */
}

.toplogo-area{
  position:absolute;
  left:0;
  right:0;
  top:37%;
  transform:translateY(-50%);
  z-index:4;
  display:flex;
  justify-content:center;
}

.title-label{
  opacity:1;
  transform:none;
  filter:none;
  will-change:auto;
}

.title-label.is-pre{
  opacity:0;
  transform:translateX(1800px);
  filter:none;
}

.title-label.is-in{
  animation:shinkansen-in .55s cubic-bezier(.05,1.05,.2,1) both;
}

@keyframes shinkansen-in{
  0%{ transform: translateX(1400px) rotate(2deg) scale(1.02); }
  60%{ transform: translateX(-22px) rotate(-1deg) scale(1.01); }
  78%{ transform: translateX(10px) rotate(-1deg) scale(1); }
  92%{ transform: translateX(-2px) rotate(-1deg) scale(1); }
  100%{ transform: translateX(0) rotate(0deg) scale(1); }
}

.title-label img{
  display:block;
  width:clamp(238px,50vw,600px);
  height:auto;
  filter:none;
}

/* =========================
   KV 縦コピー
========================= */

.kv-copy-outer{
  position:absolute;
  z-index:30;

  writing-mode:vertical-rl;
  text-orientation:upright;
  white-space:nowrap;

  font-family:"Noto Serif JP",serif;
  font-weight:700;
  letter-spacing:.12em;
  line-height:1.6;

  color:#fff;
  pointer-events:none;
}

/* 左コピー */

.kv-copy-outer--left{
  top:100px;
left:calc(50% - min(550px,44vw) - clamp(64px,4vw,96px));
 font-size:clamp(26px,2vw,40px);

  transform:rotate(-0.6deg);

  opacity:0;
  animation:kvCopySnap .32s cubic-bezier(.2,.9,.2,1) forwards;
  animation-delay:3.5s;
}

/* 右コピー */

.kv-copy-outer--right{
  top:765px;
  left:calc(50% + min(550px,44vw) + clamp(8px,1vw,18px));
 font-size:clamp(22px,1.7vw,34px);

  transform:rotate(0.6deg);

  opacity:0;
  animation:kvCopySnapRight .32s cubic-bezier(.2,.9,.2,1) forwards;
  animation-delay:5.5s;
}

/* 右コピーの！だけ遅延させる */
.kv-copy-outer--right .bang{
  animation-delay:6.2s;
}

@keyframes kvCopySnapRight{

  0%{
    opacity:0;
    transform:translateY(10px) scale(.96) rotate(1.6deg);
  }

  60%{
    transform:translateY(-2px) scale(1.03) rotate(1.6deg);
  }

  100%{
    opacity:1;
    transform:translateY(0) scale(1) rotate(1.6deg);
  }

}

/* 感嘆符 */
.bang{
  display:inline-block;
  transform-origin:center bottom;
  animation:bangBounce 0.9s ease-out 4s 1 forwards;
	animation-timing-function:cubic-bezier(.3,1.4,.4,1);
}

@keyframes bangBounce{

  0%{
    transform:translateY(-20px) scale(.8);
  }

  25%{
    transform:translateY(0px) scale(1.25);
  }

  45%{
    transform:translateY(-10px) scale(.95);
  }

  65%{
    transform:translateY(0px) scale(1.1);
  }

  82%{
    transform:translateY(-5px) scale(.98);
  }

  100%{
    transform:translateY(0px) scale(1);
  }

}

/* スナップ表示 */

@keyframes kvCopySnap{

  0%{
    opacity:0;
    transform:translateY(10px) scale(.96) rotate(-1.6deg);
  }

  60%{
    transform:translateY(-2px) scale(1.03) rotate(-1.6deg);
  }

  100%{
    opacity:1;
    transform:translateY(0) scale(1) rotate(-1.6deg);
  }

}

/* SP非表示 */

@media (max-width:992px){
  .kv-copy-outer{
    display:none;
  }
}
/* ===============================
CITY
=============================== */

.top-city{
  width:min(100vw,1000px);
  margin-inline:auto;

  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;

  position:absolute; z-index: 5;
  bottom:30px;
  left:0;
  right:0;
}

.top-city img{
  width:100%;
  height:auto;
  transition:transform .35s ease, filter .35s ease;
}

.top-city img:hover{
  transform:translateY(-6px) scale(1.04);
  filter:brightness(1.15);
}

.top-city__item{
  opacity:0;
  transform:translateY(40px) scale(.96);
  filter:blur(6px);
  transition:
    transform .9s cubic-bezier(.22,1,.36,1),
    opacity .9s ease,
    filter .9s ease;
}

.stagger-wrap.is-inview .top-city__item{
  opacity:1;
  transform:translateY(0) scale(1);
  filter:blur(0);
}

/* 遅延 */
.stagger-wrap.is-inview .top-city__item:nth-child(1){transition-delay:.05s;}
.stagger-wrap.is-inview .top-city__item:nth-child(2){transition-delay:.18s;}
.stagger-wrap.is-inview .top-city__item:nth-child(3){transition-delay:.31s;}
.stagger-wrap.is-inview .top-city__item:nth-child(4){transition-delay:.44s;}
/* ===============================
SP
=============================== */

@media (max-width:992px){

  .top-city{
    position:static;
    margin:15px auto 30px;
  gap:20px;     grid-template-columns:1fr; /* 段積み */
    text-align:center;   /* 中央寄せ */
  }

  .top-city__item img{
    width:65%;
    height:auto;
    display:block;
    margin:0 auto;
  }
.stagger-wrap .top-city__item:nth-child(1) img{
    width:90%;
    height:auto;
    display:block;
    margin:0 auto;
  }

	
}/**/

/* =========================================================
   COMMENT DETAIL
========================================================= */

body.comment-page{
  color:#111;
  line-height:1.95;

  background-image:url(../img/bg_ticket.jpg);

}

@media (min-width: 992px){

body.comment-page{
background-attachment: fixed;
}

}

.comment-page img{
  max-width:100%;
  height:auto;
  vertical-align:bottom;
}

.commentDetail{  
  position:relative;
  padding:40px 0 96px;
  overflow:hidden;
  
}

body.comment-page::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.45), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(0,0,0,.03), transparent 25%);
  pointer-events:none;
}

.commentDetail__inner{
  position:relative;
  z-index:1;
  width:min(1120px, calc(100% - 32px));
  margin:0 auto;
}

.commentDetail__head{
  margin-bottom:34px;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.commentDetail__logo{
  width:min(360px, 62vw);
  margin-bottom:24px;
}

.commentDetail__back{
  display:inline-flex;
  align-items:center;
  justify-content:center;


  font-weight:600;

  padding:10px 16px;

  font-size:13px;
  letter-spacing:.06em;

  color:#fff;
  text-decoration:none;

  background:#4b2c8c;
  border:1px solid rgba(0,0,0,.35);


  transition:
    transform .18s ease,
    filter .18s ease;
}

.commentDetail__back:hover{
  transform:translateY(-2px);
  filter:brightness(1.1);
}

.commentDetail__grid{
  display:grid;
  grid-template-columns:minmax(280px, 380px) minmax(0, 1fr);
  gap:clamp(28px, 4vw, 64px);
  align-items:start;

}

.commentDetail__photoCol{
  position:sticky;
  top:24px;
}

.commentDetail__photoWrap{
  overflow:hidden;
  background:#0d0d0d;
  aspect-ratio:3 / 4;
  box-shadow:0 18px 40px rgba(0,0,0,.14);
}

.commentDetail__photo{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 16%;
  display:block;
  transform:scale(1.01);
}




.staffPhoto{
  aspect-ratio:1/1;
}


.commentDetail__content{
  position: relative;
  padding-top: 8px;
  min-width: 0;
  isolation: isolate;
}


/*イラスト*/
.commentDetail__chara{
  position:absolute;
right:-150px; 
  bottom:220px;
width:320px;
opacity:.20; 
transform:rotate(12deg);
pointer-events:none;
z-index:0;
}

@media (min-width:1200px){
.pf-furuta .commentDetail__chara{
right:-240px; bottom:50px;
width:360px;
opacity:.20; 
transform:rotate(12deg);
}
}/**/



.commentDetail__meta{
  position:relative;
  z-index:1;
  margin-bottom:28px;
  padding-bottom:22px;border-bottom:1px solid rgba(0,0,0,0.3);
}



.commentDetail__role{padding: 0 10px;  font-weight:400;
  margin-bottom:10px;
  font-size:14px;
  letter-spacing:.14em;
  opacity:.68;background: #000;color:  #eee; border-radius: 20px;
}


.commentDetail__name{
  margin:0;
  font-size:clamp(36px, 4.2vw, 52px);
  line-height:1.2;
  letter-spacing:.06em;
  font-weight:600;
}
.commentDetail__en{
  display:block;
  margin-top:11px;
  font-size:11px;
  letter-spacing:.6em;text-transform: uppercase; 
}

.commentDetail__body{
  max-width:42em;
  font-size:clamp(15px, 1.5vw, 17px);
  letter-spacing:.02em;
}

.commentDetail__body p{
  margin:0 0 1.35em;
}

.commentDetail__body p:last-child{
  margin-bottom:0;
}

.commentDetail__body .qa{
margin-bottom:48px;
}

.commentDetail__body .q{
  font-weight:600;
  margin:2em 0 0.2em;
  letter-spacing:.04em;

  display:inline-block;
  border-bottom:1px solid #f8e961;
  padding-right:.5em;
}
.commentDetail__body .a{
margin:0 0 1.25em;
line-height:1.95;

}

.commentDetail__body .commonQ{
margin:60px auto 20px;text-align: center;
}
.commentDetail__body .commonQ img{
width: 80%; max-width: 500px;
}
.commentDetail__body .profile{
margin:60px auto 20px;text-align: center;
}
.commentDetail__body .profile img{
width: 100px; 
}



.commentDetail__body .profile-txt{font-size: 0.9rem; margin-bottom:48px;line-height: 1.5;}


/* 元に戻る　ボタン*/
.commentBackFloat{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 12px 18px;

background: #4b2c8c;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .06em;
  line-height: 1.4;

border:1px solid rgba(0,0,0,.35);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);

  transition:
    opacity .3s ease,
    transform .3s ease,
    visibility .3s ease,
    background .25s ease;
}

.commentBackFloat.is-show{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.commentBackFloat:hover{
  background: rgba(17,17,17,1);
}


@media (max-width:992px){
  .commentDetail{
    padding:28px 0 72px;
  }

  .commentDetail__head{
    margin-bottom:24px;
  }

  .commentDetail__grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .commentDetail__photoCol{
    position:static;
  }

  .commentDetail__photoWrap{
    max-width:460px;
    margin:0 auto;
  }

  .commentDetail__content{
    padding-top:0;
  }

  .commentDetail__meta{
    margin-bottom:22px;
    padding-bottom:18px;
  }

  .commentDetail__body{
    max-width:none;
  }
}


@media (max-width:768px){

  .commentDetail__photoWrap{
    aspect-ratio: 4 / 5; /* 16:9より縦を少し残す */
    max-width:300px;
    margin: 0 auto;
  }

  .commentDetail__photo{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    transform:none; /* まずは消す */
  }

  .commentDetail__inner{
    width:calc(100% - 24px);
  }

  .commentDetail__logo{
    width:min(280px, 68vw);
    margin-bottom:18px;
  }


  .commentDetail__body{
    font-size:15px;
    line-height:1.9;
  }
      .commentDetail__meta{
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
  }
      .commentBackFloat{
    right: 12px;
    bottom: 12px;
    min-height: 42px;
    padding: 11px 14px;
    font-size: 12px;
  }
    
}




/* ===== スタッフ写真だけ調整 ===== */
.commentDetail__photoWrap.staffPhoto{
  aspect-ratio: 1 / 1;
  max-width: 280px;
  margin: 0;
}

.commentDetail__photoWrap.staffPhoto .commentDetail__photo{
  object-fit: cover;
  object-position: center top;
  transform: none;
}

/* PCでスタッフ写真を少し小さめに */
@media (min-width: 993px){
  .staff-page .commentDetail__grid{
  grid-template-columns:260px minmax(0,1fr);
  gap:100px;
}
	
	.commentDetail__photoWrap.staffPhoto{
    max-width: 260px;
  }
	
	
}

/* TB〜SPで中央寄せ＋少し小さく */
@media (max-width: 992px){
  .commentDetail__photoWrap.staffPhoto{
    max-width: 240px;
    margin: 0 auto;
  }
}

/* SPではさらに自然なサイズに */
@media (max-width: 768px){
  .commentDetail__photoWrap.staffPhoto{
    aspect-ratio: 1 / 1;
    max-width: 220px;
    margin: 0 auto 8px;
  }

  .commentDetail__photoWrap.staffPhoto .commentDetail__photo{
    object-fit: cover;
    object-position: center top;
    transform: none;
  }
}


/* =========================================================
   GRAIN OVERLAY（soles寄せ・最終）
========================================================= */
.grain{
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  pointer-events: none;

  background-image: url("../img/grain.webp");
  background-repeat: repeat;
  background-size: 220px 220px;

  opacity: .12;

  /* ★要素は動かさず、背景だけ切り替える */
  animation: grainBg 1.4s steps(1) infinite;
  will-change: background-position;
}

@keyframes grainBg{
  0%   { background-position:   0px   0px; }
  10%  { background-position:  12px  -8px; }
  20%  { background-position:  -8px  14px; }
  30%  { background-position:  16px   6px; }
  40%  { background-position: -14px  -6px; }
  50%  { background-position:   8px -14px; }
  60%  { background-position: -16px   8px; }
  70%  { background-position:  14px  12px; }
  80%  { background-position:  -6px -16px; }
  90%  { background-position:  10px   2px; }
  100% { background-position:   0px   0px; }
}


/* =========================================================
   MEDIA PAGE
========================================================= */

.mediaHero{min-height: 400px;
  width:100%;
  max-width:1200px;
  margin:0 auto;
  background:url("../img/bg_factorysmokePC.webp") no-repeat center;
  background-size:110%;
  background-position:56% top;
  background-attachment:scroll;

  padding:200px 0 50px;
  height:clamp(280px,40vh,420px);

  position:relative;
  overflow:hidden;

  opacity:0;
  animation:heroBgIn 1.3s cubic-bezier(.22,1,.36,1) .1s forwards;
}

.mediaHero::before{
  content:"";
  position:absolute;
  inset:0;
}

/* 背景アニメ */

@keyframes heroBgIn{

  0%{
    opacity:0;
    background-position:62% top;
    background-size:118%;
  }

  50%{
    opacity:1;
  }

  100%{
    opacity:1;
    background-position:56% top;
    background-size:110%;
  }

}
.mediaHero h1,
.mediaHero h2{

  opacity:0;
  transform:translateY(24px);

  animation:heroTitleIn .8s cubic-bezier(.22,1,.36,1) 1.45s forwards;

}

@keyframes heroTitleIn{

  to{
    opacity:1;
    transform:translateY(0);
  }

}



.mediaHero__inner{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: auto;
  text-align: center;
  padding: 0 20px;
}


.mediaHero__title{
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.08;
  text-align: center;
  color: #fff;
}

.mediaHero__lead{
  margin: 14px 0 0;
  color: rgba(255,255,255,.92);
  text-align: center;
}

.mediaPage{
  padding: 60px 0 100px;
}

.mediaWrap{
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.mediaIntro{
  margin: 0 0 34px;
}

.mediaIntro p{
  margin: 0;
  text-align: left;
}

.mediaTable{
  border-top: 1px solid rgba(255,255,255,.28);
}

.mediaRow{
  display: grid;
  grid-template-columns: 170px 130px 1fr;
  gap: 22px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.mediaHead{
  font-weight: 700;
  letter-spacing: .12em;
  font-size: .84rem;
  opacity: .72;
}

.mediaDate{
  font-weight: 600;
  line-height: 1.7;
}

.mediaType{
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .06em;
}

.mediaBody{
  line-height: 1.9;
}

.mediaBody a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .14em;
}

.mediaNew{border-radius: 15px;
  display: inline-block;
  margin-left: 8px;
  padding: 0px 6px 2px;
  font-size: .62rem;
  line-height: 1;
  letter-spacing: .08em;
  font-weight: 700;
  color: #fff;
  background: #ff2d6b;
  vertical-align: middle;
}



/* tablet */
@media (max-width: 992px){
  .mediaHero{min-height: 100px;
    max-width: 90%;
    margin: 30px auto 0;
    background: url("../img/bg_factorysmoke.webp") no-repeat center;
    background-size: 100%;
    background-position: top center;
    background-attachment: scroll;
    padding: 33% 0 0 0;
    height: auto;
  }

  .mediaRow{
    grid-template-columns: 150px 110px 1fr;
    gap: 18px;
  }
}

/* sp */
@media (max-width: 768px){
  .mediaPage{
    padding: 40px 0 80px;
  }

  .mediaHead{
    display: none;
  }

  .mediaRow{
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .mediaType{
    font-size: .82rem;
    opacity: .72;
  }

  .mediaNew{
    margin-left: 6px;
    padding: 3px 5px 2px;
    font-size: .58rem;
  }
}


/* =========================================================
   DOWNLOAD PAGE
========================================================= */

.downloadPage{
  padding: 110px 0 100px;
}

.downloadWrap{
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.downloadHeading{
  text-align: center;
  margin-bottom: 42px;
}







.downloadGrid{
  max-width: 760px;
  margin: 0 auto;
}

.downloadCard__image{
  display: block;
  text-decoration: none;
}

.downloadCard__image img{
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255,255,255,.16);
}

.downloadCard__body{
  padding-top: 18px;
  text-align: center;
}



.downloadCard__text{
  margin: 0;
  text-align: center;
  color: rgba(255,255,255,.88);
}


@media (max-width: 768px){
  .downloadPage{
    padding: 92px 0 80px;
  }

  .downloadHeading{
    margin-bottom: 30px;
  }


}


