@charset "utf-8";
/*==================================================================

		STORYページ（扉）
		パネル・タブの見た目は cast.css の #cast と共通（:is で共用）
		ここには扉ページだけの差分を書く

==================================================================*/


/*------------------------------ パネル全体をリンクにする ------------------------------*/
#story_index > div > section > a {
	position: absolute;
	inset: 0;
	z-index: 4;
	border-radius: 5px;
	outline: none;
}
#story_index > div > section > a:focus-visible {
	box-shadow: inset 0 0 0 2px #FFF;
}


/*------------------------------ パネルを縦並びにする ------------------------------*/
#story_index > div {
	flex-direction: column;
	height: auto;
}
#story_index > div > section {
	flex: none;
	height: 300px;
}
/* 横長に切り抜くので、絵の見せる位置をグループごとに調整 */
#story_index #lunight   { --cast-pos: center 25%; }
#story_index #group02   { --cast-pos: center; }
#story_index #group03   { --cast-pos: center; }
#story_index #seishunbu { --cast-pos: center 22%; }

@media screen and (max-width: 640px) {
	#story_index > div > section {
		height: 250px; /* SPは今までどおり */
	}
}




/*------------------------------ 扉用の画像（CASTと別の絵にする場合だけ） ------------------------------*/
/* 指定しなければ cast.css の --cast-img（images/cast/○○.jpg）がそのまま使われる */
#story_index #lunight   { --cast-img: url("../images/cast/lunight_bg.jpg");   --cast-pos: center; }
#story_index #group02   { --cast-img: url("../images/cast/group02.jpg"); }
#story_index #group03   { --cast-img: url("../images/cast/group03.jpg"); }
#story_index #seishunbu { --cast-img: url("../images/cast/seishunbu_bg.jpg"); --cast-pos: center 10%; }




/*==================================================================

		STORY下層ページ　＊　メインビジュアルの見出し
		「グループ名 ＋ -STORY-」の2段にする
		＊ #mainvisual のすぐ後ろが #story のページだけに効く

==================================================================*/
#mainvisual:has(+ #story) h2 span {
	display: block;
	margin-top: 18px;
	font-family: "Rosarivo", serif;
	font-size: 18px;
	letter-spacing: 0.4em;
}

/* 青春部：グループ名だけ和文フォントに */
.seishunbu #mainvisual:has(+ #story) h2 {
	font-family: "Shippori Mincho", serif;
	font-weight: 500;
	letter-spacing: 0.2em;
}

@media screen and (max-width: 640px) {
	#mainvisual:has(+ #story) h2 span {
		margin-top: 10px;
		font-size: 12px;
		letter-spacing: 0.3em;
	}
}

/*------------------------------ メンバー名を横並びにする（SPと同じ） ------------------------------*/
#story_index > div > section > ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0 1em;
}
#story_index > div > section > ul li {
	margin-top: 0;
}




