@charset "UTF-8";
/* =========================================================
   映画版 下層ページ 共通CSS（common.css の後に読み込む）
   デザイン準拠: tacopi_movie_06_staffcast（下層ベース）
   ・白ボックスは角丸なし（直角）
   ・背景 = bg.jpg（薄い場面写）＋左右リボンを fixed で重ねる
   ・見出しはトップと同じテキスト方式（M PLUS 900）
   すべて .movie-sub 配下にスコープ
   ========================================================= */

html,
body{
	min-height: 100%;
	background-color: #111 !important;
}

.movie-sub{
	line-height: 1.5;
}

/* ヘッダー（トップと同様） */
.movie-sub .header-area{
	display: flex; align-items: center; gap: 12px;
	box-sizing: border-box; max-width: 100%;
}
.movie-sub .header-badge{ display: inline-block; line-height: 0; }
.movie-sub .header-badge img{ width: 100%; }

/* セクション見出し（トップと同じ・M PLUS 900） */
.movie-sub .sec-h2{
	display: flex; align-items: baseline; justify-content: space-between;
	width: 100%; max-width: 980px; margin: 0 auto 28px;
	padding-bottom: 10px; border-bottom: 2px solid #e4007f;
	color: #e4007f; line-height: 1;
}
/* 下層は日英併記のまま（日本語＝主／英語＝右側の従。TOPは日本語のみ） */
.movie-sub .sec-h2__ja{
	font-family: "M PLUS 1p","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",YuGothic,"Meiryo",sans-serif;
	font-size: 34px; font-weight: 900; letter-spacing: .06em;
}
.movie-sub .sec-h2__en{
	font-family: "M PLUS 1p","Helvetica Neue",Arial,sans-serif;
	font-size: 22px; font-weight: 900; letter-spacing: .1em;
}

/* リード文 */
.movie-sub .sub-lead{ text-align: center; line-height: 1.9; color: #333; margin: 0 auto 28px; }

/* 白ボックス（直角・TOPと同じドロップシャドウ） */
.movie-sub .sub-box{
	background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
	margin: 0 auto 28px;
}
.movie-sub .sub-h3{
	color: #e4007f; font-weight: bold; line-height: 1.3;
	border-left: 6px solid #e4007f; padding-left: 12px; margin: 0 0 18px;
}

/* お知らせ（丸アイコンは意匠なので許容） */
.movie-sub .notice{ display: flex; gap: 16px; align-items: flex-start; }
.movie-sub .notice__mark{
	flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
	background: #e4007f; color: #fff; font-weight: bold;
	display: flex; align-items: center; justify-content: center;
}
.movie-sub .notice__body{ flex: 1; line-height: 2.2; }
.movie-sub .notice__body p{ line-height: 1.5em; }
.movie-sub .accent{ color: #e4007f; font-weight: bold; }

/* 定義テーブル */
.movie-sub .info-table{ width: 100%; border-collapse: collapse; }
.movie-sub .info-table th,
.movie-sub .info-table td{ text-align: left; vertical-align: top; padding: 16px 8px; border-bottom: 1px solid #eee; font-weight: normal; line-height: 1.7; }
.movie-sub .info-table th{ color: #e4007f; font-weight: bold; white-space: nowrap; width: 26%; }
.movie-sub .info-table tr:last-child th,
.movie-sub .info-table tr:last-child td{ border-bottom: 0; }

/* ボタン風リンク（直角） */
.movie-sub .sub-btn{
	display: flex; align-items: center; justify-content: center; gap: 14px;
	max-width: 420px; margin: 8px auto 0; padding: 18px 28px;
	background: #e4007f; color: #fff; font-weight: bold;
	text-decoration: none; transition: opacity .4s ease;
}
.movie-sub .sub-btn:hover{ opacity: .7; color: #fff; text-decoration: none; }
.movie-sub .sub-btn--disabled{
	background: #777; cursor: default; opacity: .65;
}
.movie-sub .sub-note{ font-size: 13px; color: #777; margin: 14px auto 0; }

/* プレースホルダ画像（直角） */
.movie-sub .ph-img{
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #f3f4f6, #e7ecf1); color: #9aa3ad;
	font-size: 13px; aspect-ratio: 16 / 10; width: 100%;
}

/* 入場者特典ブロック */
.movie-sub .present-item{ display: flex; gap: 28px; align-items: flex-start; }
.movie-sub .present-item__visual{ flex: 0 0 40%; }
.movie-sub .present-item__body{ flex: 1; }

/* グッズグリッド */
.movie-sub .goods-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.movie-sub .goods-item .ph-img{ aspect-ratio: 1 / 1; }
.movie-sub .goods-item__name{ font-weight: bold; font-size: 15px; margin: 12px 0 10px; }
.movie-sub .goods-item__price{ color: #999; font-weight: normal; font-size: 12px; }

/* ===== スタッフ＆キャスト（下層ベース） ===== */
.movie-sub .sc-group + .sc-group{ margin-top: 56px; }
.movie-sub .sc-cat{
	text-align: center; color: #e4007f;
	font-family: "M PLUS 1p","Hiragino Kaku Gothic ProN","Hiragino Sans",sans-serif;
	font-weight: 900; letter-spacing: .08em; margin: 0 0 22px;
}
.movie-sub .sc-divider{ display: flex; align-items: center; margin: 26px 0; }
.movie-sub .sc-divider::before,
.movie-sub .sc-divider::after{ content: ""; flex: 1; height: 1px; background: #e4007f; }
.movie-sub .sc-divider span{
	padding: 0 24px; color: #e4007f; font-weight: bold;
	font-family: "Hiragino Mincho ProN","YuMincho","游明朝","MS Mincho",serif;
	font-size: 15px; letter-spacing: .14em; white-space: nowrap;
}
.movie-sub .sc-grid{ display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 40px; }
.movie-sub .sc-item{ flex: 0 1 220px; min-width: 0; text-align: center; }
.movie-sub .sc-role{ font-size: 13px; color: #555; margin: 0 0 6px; line-height: 1.3; }
.movie-sub .sc-name{
	font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",YuGothic,sans-serif;
	font-size: 22px; font-weight: bold; color: #111; margin: 0; line-height: 1.35;
}
.movie-sub .sc-item--distribution{ flex: 0 0 100%; }
.movie-sub .sc-item--distribution .sc-name{
	font-size: clamp(15px, 4.2vw, 20px);
	white-space: nowrap;
}
.movie-sub .sc-note{
	font-size: 12px; color: #777; line-height: 1.5; margin: 6px 0 0;
}

/* BACK ボタン（枠線・直角） */
.movie-sub .back-btn{
	display: flex; align-items: center; justify-content: center; gap: 8px;
	width: fit-content; margin: 28px auto 0;
	padding: 12px 40px; border: 2px solid #e4007f; color: #e4007f;
	font-weight: bold; text-decoration: none; transition: .3s;
}
.movie-sub .back-btn:hover{ background: #e4007f; color: #fff; text-decoration: none; }

/* ニュース一覧（下層） */
.movie-sub .news-row{
	display: flex; align-items: center; gap: 20px;
	padding: 20px 4px; border-bottom: 1px solid #e7e7e7;
	text-decoration: none; color: #222;
}
.movie-sub .news-row:last-child{ border-bottom: 0; }
.movie-sub .news-row__date{ min-width: 108px; font-weight: bold; color: #e4007f; font-size: 14px; }
.movie-sub .news-row__text{ flex: 1; font-size: 15px; }
.movie-sub a.news-row:hover .news-row__text{ color: #e4007f; }

/* ニュース詳細記事（記事全体を1つのボックスに。アニメ版 newspage-wrap 準拠） */
.movie-sub .news-article__header{
	border-bottom: 2px solid #e4007f;
	padding-bottom: 18px;
	margin-bottom: 26px;
}
.movie-sub .news-detail__date{ color: #e4007f; font-size: 14px; font-weight: bold; margin: 0 0 10px; }
.movie-sub .news-detail__title{
	color: #111; font-size: 20px; font-weight: 900; line-height: 1.5; margin: 0;
	font-family: "M PLUS 1p","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",YuGothic,"Meiryo",sans-serif;
}
.movie-sub .news-detail__text{ line-height: 1.9; color: #333; margin: 0; }
.movie-sub .news-detail__text--caution{ font-size: 12px; line-height: 1.6; color: #666; margin: 8px 0 0; }
.movie-sub .news-article__body .sub-h3{ margin: 36px 0 18px; }
.movie-sub .news-detail__img{ margin: 20px 0 0; text-align: center; }
.movie-sub .news-detail__img--50{ width: 50%; margin-left: auto; margin-right: auto; }
.movie-sub .news-detail__img--30{ width: 30%; margin-left: auto; margin-right: auto; }
.movie-sub .news-detail__img img{ max-width: 100%; height: auto; display: block; margin: 0 auto; }
.movie-sub .news-detail__video{ position: relative; width: 100%; padding-top: 56.25%; margin: 20px 0 0; background: #111; }
.movie-sub .news-detail__video iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 登場人物 */
.movie-sub .char-nav{ display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin: 0 auto 28px; }
.movie-sub .char-nav__item{
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	width: 90px; height: auto;
	border: 0; background: transparent; box-shadow: none;
	line-height: 1.2; text-decoration: none; color: #333;
	transition: transform .25s, filter .25s;
}
.movie-sub .char-nav__item img{ display: block; width: 90px; height: 90px; }
.movie-sub .char-nav__item:hover{ transform: translateY(-3px); }
.movie-sub .char-nav__item.is-active{
	transform: translateY(-4px);
	filter: drop-shadow(0 5px 0 rgba(17,17,17,.35));
	color: #e4007f;
}
.movie-sub .sub-box.char-box{ position: relative; padding: 0; overflow: hidden; }
.movie-sub .char-pager{
	position: absolute; z-index: 2; left: 0; right: 0; top: 28.125vw;
	transform: translateY(-50%);
	display: flex; align-items: center; justify-content: space-between;
	list-style: none; margin: 0; padding: 0 18px; box-sizing: border-box;
	pointer-events: none;
}
.movie-sub .char-pager__btn{
	display: block; line-height: 0; transition: opacity .25s; pointer-events: auto;
}
.movie-sub .char-pager__btn:hover{ opacity: .65; }
.movie-sub .char-pager__btn img{ display: block; width: 74px; height: auto; }
.movie-sub .char-detail{ display: flex; flex-direction: column; }
.movie-sub .char-detail[hidden]{ display: none !important; }
.movie-sub .char-detail__visual{ width: 100%; line-height: 0; }
.movie-sub .char-detail__visual img{ width: 100%; height: auto; display: block; }
.movie-sub .char-detail__head{
	display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
	gap: 12px; border-bottom: 2px solid #e4007f; padding-bottom: 14px; margin: 0 0 20px;
}
.movie-sub .char-name{
	font-family: "M PLUS 1p","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",YuGothic,"Meiryo",sans-serif;
	font-size: 32px; font-weight: 900; color: #e4007f; margin: 0; line-height: 1;
}
.movie-sub .char-cv{ font-size: 15px; font-weight: bold; color: #e4007f; margin: 0; }
.movie-sub .char-desc{ line-height: 2.3; color: #222; }
.movie-sub .char-desc p{ margin: 0 0 10px; line-height: 1.5em; }
.movie-sub .char-desc p:last-child{ margin-bottom: 0; }

@media all and (min-width: 768px) {
	.movie-sub .char-detail{ flex-direction: row; align-items: stretch; }
	.movie-sub .char-detail__visual{ flex: 0 0 58%; width: 58%; }
	.movie-sub .char-detail__body{
		flex: 1; display: flex; flex-direction: column; justify-content: center;
	}
	.movie-sub .char-pager{
		width: 58%; right: auto; top: 50%;
	}
}

/* 動画グリッド */
.movie-sub .movie-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.movie-sub .movie-thumb{ display: block; text-decoration: none; color: #222; }
.movie-sub .movie-thumb__frame{ position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; border: 1px solid #e4007f; }
.movie-sub .movie-thumb__frame > img{ display: block; width: 100%; height: 100%; object-fit: cover; }
.movie-sub .movie-thumb__play{
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.movie-sub .movie-thumb__play::before{
	content: "▶"; width: 56px; height: 56px; border-radius: 50%;
	background: #e4007f; color: #fff; display: flex; align-items: center; justify-content: center;
	font-size: 18px; padding-left: 4px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.movie-sub .movie-thumb:hover .movie-thumb__play::before,
.movie-sub .movie-thumb:focus-visible .movie-thumb__play::before{
	transform: scale(1.1);
	box-shadow: 0 0 0 7px rgba(228, 0, 127, .2);
}
.movie-sub .movie-thumb__cap{
	margin: 10px 0 0;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.7;
	text-align: center;
}

/* フッター（ロゴ＋著作権のみ） */
.movie-sub .top-footer{ background: #111; text-align: center; }
.movie-sub .copyright{ color: #fff; font-size: 12px; }

/* =========================================================
   背景（bg.jpg ＋ 左右リボン）
   ========================================================= */
.movie-sub .under-main-wrap{
	background-color: #eef1f4;
	background-image:
		url("../img/bg_ribbon_left.png"),
		url("../img/bg_ribbon_right.png"),
		url("../img/bg.jpg?v=20260911-1");
	background-repeat: no-repeat, no-repeat, no-repeat;
	background-position: left top 28%, right top 66%, top center;
	background-size: 30vw auto, 30vw auto, cover;
}

/* =========================================================
   PC（>=768px）
   ========================================================= */
@media all and (min-width: 768px) {
	.movie-sub .header-area{ padding: 16px 28px; gap: 24px; }
	.movie-sub .header-logo{ width: 194px; margin: 0; } /* TOPと統一：素材の原寸幅 */
	.movie-sub .header-badge{ width: 118px; }

	/* リボン=fixed（画面に固定）／bg.jpg=scroll（ページと一緒に動く）
	   ※背景レイヤー順: リボン左, リボン右, bg.jpg */
	.movie-sub .under-main-wrap{
		min-width: 0; /* common.css の .top-main-wrap系 min-width:980px 継承対策（横スクロール防止） */
		background-attachment: fixed, fixed, scroll;
		padding: 0 0 90px;
	}
	.movie-sub .section-inner{
		width: 100%;
		max-width: 980px;
		margin: 0 auto;
	} /* common.css の section-inner:980px固定による横はみ出し対策（流動幅に） */
	.movie-sub .under-content-section{ padding: 64px 0 20px; }

	.movie-sub .sub-box{ padding: 34px 44px; }
	.movie-sub .char-detail__body{ padding: 34px 44px 52px; }
	.movie-sub .sub-lead{ font-size: 16px; max-width: 720px; }
	.movie-sub .sub-h3{ font-size: 21px; }
	.movie-sub .info-table th,
	.movie-sub .info-table td{ font-size: 15px; }

	/* スタッフ＆キャスト */
	.movie-sub .sc-box{ padding: 56px 7% 64px; max-width: 1000px; }
	.movie-sub .sc-group{ max-width: 820px; margin: 0 auto; }
	.movie-sub .sc-cat{ font-size: 38px; }

	.movie-sub .top-footer{ padding: 76px 0; }
	.movie-sub .footer-logo{ width: 460px; margin: 0 auto 22px; }
}

/* =========================================================
   SP（<=767px）
   ========================================================= */
@media all and (max-width: 767px) {
	.movie-sub .header-area{ padding: 10px 14px; gap: 10px; }
	/* TOPページと同じヘッダーサイズ */
	.movie-sub .header-logo{ width: 30%; max-width: 132px; margin: 0; }
	.movie-sub .header-badge{ width: 19%; max-width: 80px; }

	/* リボン=fixed／bg.jpg=scroll（SPも同方針。fixed非対応ブラウザではscrollに自動フォールバック）
	   共通の::beforeは無効化 */
	.movie-sub .under-main-wrap{
		background-attachment: fixed, fixed, scroll;
		background-position: left -6% top 20%, right -6% top 72%, top center;
		background-size: 62vw auto, 62vw auto, cover;
		padding: 0 0 40px;
	}
	.movie-sub .under-main-wrap::before{ display: none; }
	.movie-sub .under-content-section{ padding: 32px 0 0; }

	.movie-sub .sec-h2{ margin: 0 auto 16px; }
	.movie-sub .sec-h2__ja{ font-size: 22px; }
	.movie-sub .sec-h2__en{ font-size: 14px; }

	.movie-sub .sub-box{ padding: 22px 18px; }
	.movie-sub .sub-lead{ font-size: 14px; text-align: left; }
	.movie-sub .sub-lead--ticket{ text-align: center; }
	.movie-sub .sub-h3{ font-size: 18px; }
	/* 書籍見出しは1行に収める */
	.movie-sub .sub-h3--comics{ font-size: 15px; white-space: nowrap; }

	.movie-sub .info-table th{ display: block; width: auto; padding: 12px 4px 2px; border-bottom: 0; }
	.movie-sub .info-table td{ display: block; padding: 0 4px 14px; }

	.movie-sub .present-item{ flex-direction: column; }
	.movie-sub .present-item__visual{ flex: none; width: 100%; }

	.movie-sub .goods-grid{ grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.movie-sub .char-nav{ flex-wrap: nowrap; gap: 6px; margin-bottom: 20px; }
	.movie-sub .char-nav__item{ flex: 1 1 0; width: auto; max-width: 72px; }
	.movie-sub .char-nav__item img{ width: 100%; height: auto; }
	/* 画像（16:9）の中央に矢印の中心を合わせる */
	.movie-sub .char-pager{ top: auto; bottom: 26.4375vw; transform: translateY(50%); padding: 0 10px; }
	.movie-sub .char-pager__btn img{ width: clamp(36px, 10vw, 56px); }
	.movie-sub .char-detail__body{ order: -1; padding: 22px 18px 18px; }
	.movie-sub .char-name{ font-size: 24px; }
	.movie-sub .char-cv{ font-size: 13px; }
	.movie-sub .movie-grid{ grid-template-columns: 1fr; gap: 16px; }
	.movie-sub .news-row{ gap: 12px; padding: 14px 2px; }
	.movie-sub .news-row__date{ min-width: 84px; font-size: 13px; }

	/* スタッフ＆キャスト */
	.movie-sub .sc-box{ padding: 32px 20px 40px; }
	.movie-sub .sc-cat{ font-size: 28px; }
	.movie-sub .sc-grid{ gap: 22px 20px; }
	.movie-sub .sc-item{ flex-basis: calc(50% - 10px); }
	.movie-sub .sc-item--distribution{ flex-basis: 100%; }
	.movie-sub .sc-name{ font-size: 18px; }
	/* 「タコピーの原罪」だけ、2段に折れないサイズにする */
	.movie-sub .sc-name__title{ font-size: 14px; white-space: nowrap; }
	.movie-sub .sc-divider span{ padding: 0 14px; font-size: 13px; letter-spacing: .08em; }

	.movie-sub .top-footer{ padding: 44px 0; }
	.movie-sub .footer-logo{ width: 74%; margin: 0 auto 18px; }
	.movie-sub .copyright{ font-size: 10px; }
}


/* ハンバーガーメニュー（デザイン未確定のため簡易表示に上書き） */
.movie-sub #g-nav-sp{
	background: #111; background-image: none;
	font-family: "M PLUS 1p","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",YuGothic,"Meiryo",sans-serif;
	font-weight: 900;
}
.movie-sub .g-nav-logo{ width: 190px; margin: 0 auto 32px; }
.movie-sub #g-nav-sp ul{ width: 100%; }
.movie-sub #g-nav-sp li{ font-size: 16px; margin: 0 0 14px; text-align: left; }
.movie-sub #g-nav-sp ul li a,
.movie-sub #g-nav-sp ul li .nav-unavailable,
.movie-sub .g-nav-close a{
	background: none; display: block; padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .2);
	font-family: "M PLUS 1p","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",YuGothic,"Meiryo",sans-serif;
	font-weight: 900;
}
.movie-sub #g-nav-sp ul li .nav-unavailable{ opacity: .48; text-decoration: line-through; pointer-events: none; } /* 準備中：クリック不可 */
.movie-sub #g-nav-sp ul li.is-unavailable{ cursor: not-allowed; }
.movie-sub .g-nav-close{ margin-top: 20px; font-size: 14px; text-align: center; }
.movie-sub .g-nav-close a{ border-bottom: 0; }

/* PCも項目が多いため2列にする */
@media all and (min-width: 768px) {
	.movie-sub .g-nav-list-inner{ width: 70%; max-width: 640px; }
	.movie-sub #g-nav-sp ul{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.movie-sub #g-nav-sp li{
		width: 47%;
	}
}

/* SPは項目が多いため2列にする */
@media all and (max-width: 767px) {
	.movie-sub .g-nav-list-inner{ width: 88%; max-width: none; }
	.movie-sub #g-nav-sp ul{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		width: 92%;
		margin: 0 auto 24px;
	}
	.movie-sub #g-nav-sp li{
		width: 47%;
		font-size: 0.92em;
		margin: 0 0 1.1em;
	}
	.movie-sub #g-nav-sp li a{ white-space: nowrap; }
}

/* アニメ公式HPへの遷移は、ナビゲーションの最終行を1カラムで表示 */
.movie-sub #g-nav-sp li.nav-anime-link{ flex: 0 0 100%; width: 100%; }
