/* Shinemon Theme - base styles (mobile first) */

*,
*::before,
*::after {
	box-sizing: border-box;
}

.site-header {
	padding: 1rem;
	border-bottom: 1px solid #ddd;
}

/*
 * 主要セクション見出し共通の「WEB」顔マーク。
 * テキストラベルではなく、案内役「WEB」本人のサインとして見出しの直前に置く。
 * サイズ・タイトルとの間隔・配置(左揃え)はセクション間で統一し、
 * 背景の明暗に応じて mono(黒マーク)/ stamp(白抜き)を出し分ける。
 */
.section-web-mark {
	display: block;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0 0 0.625rem;
}

/*
 * WEB顔とタイトルを横1行のユニットとして扱う共通ラッパー。
 * どこで会える？/ 新右衛門さんってなによ？！/ 一回見てみる？ の3見出しで使用。
 */
.section-heading {
	display: flex;
	align-items: center;
	gap: 0.875rem;
}

.section-heading .section-web-mark {
	flex: 0 0 auto;
	margin: 0;
}

/*
 * タイトル側は margin をリセットし、line-height を統一する共通ベース。
 * フォントサイズ・太さ・色は各セクションの `__heading` クラス(next-live__heading等)側で指定する。
 */
.section-heading__title {
	margin: 0;
	min-width: 0;
	line-height: 1.7;
}

.site-header__title {
	font-size: 1.25rem;
	font-weight: bold;
	text-decoration: none;
	color: inherit;
}

.first-view {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 3rem 1rem;
	background: #14141a;
	color: #f5f5f2;
}

.first-view__intro {
	text-align: center;
}

.first-view__logo {
	display: block;
	width: min(55vw, 240px);
	height: auto;
	margin: 0 auto 1.25rem;
	filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}

.first-view__kicker {
	margin: 0 0 0.5rem;
	color: #ffe600;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
}

.first-view__name {
	margin: 0 0 0.35rem;
	font-size: clamp(2.25rem, 10vw, 3.25rem);
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: 0.02em;
}

.first-view__since {
	margin: 0 0 1.5rem;
	color: #ffe600;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
}

.first-view__greeting {
	margin: 0 0 1.75rem;
	color: #e6e1d3;
	font-size: 1rem;
	line-height: 1.9;
}

.first-view__scroll {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1.5rem;
	border: 1px solid rgba(245, 245, 242, 0.4);
	border-radius: 999px;
	color: inherit;
	text-decoration: none;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
}

.first-view__scroll::after {
	content: "\2193";
}

.first-view__collage {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.5rem;
}

.fv-photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
	filter: saturate(0.92) contrast(1.05);
}

.fv-photo--mobile-main {
	grid-column: 1 / -1;
	aspect-ratio: 4 / 5;
}

.fv-photo--main {
	grid-column: 1 / -1;
	aspect-ratio: 4 / 3;
}

.fv-photo--bg-wide,
.fv-photo--bg-crowd {
	aspect-ratio: 4 / 3;
}

.fv-photo--accent-hiranoken,
.fv-photo--accent-hands,
.fv-photo--accent-lyrics {
	aspect-ratio: 1 / 1;
}

.fv-members {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	overflow: hidden;
}

.fv-members__photo {
	display: block;
	width: 100%;
	min-height: 0;
	flex: 1 1 0;
	object-fit: cover;
	border-radius: 4px;
}

.fv-members__photo--odatomo {
	flex-grow: 1.15;
	object-position: 50% 30%;
}

.fv-members__photo--au {
	object-position: 32% 28%;
}

.fv-members__photo--kazuyoshi {
	object-position: 74% 28%;
}

.next-live {
	padding: 3rem 1rem;
}

.next-live .section-heading {
	margin-bottom: 1.25rem;
}

.next-live__heading {
	font-size: clamp(1.35rem, 5.5vw, 1.75rem);
	font-weight: 800;
	color: #221815;
}

.next-live__card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 14px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	padding: 1rem;
}

.next-live__image img,
.next-live__image-placeholder {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eee;
	color: #888;
	border-radius: 8px;
}

.next-live__meta {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.25rem 0.75rem;
	margin: 1rem 0;
}

.next-live__meta dt {
	font-weight: bold;
	color: #666;
}

.next-live__meta dd {
	margin: 0;
}

.next-live__date {
	margin: 0.25rem 0 0.75rem;
	font-size: 1.05rem;
	font-weight: bold;
	color: #333;
}

.next-live__comment {
	white-space: pre-line;
}

/* サイト内の他の矢印テキストリンク(NEWSの「ほかも見る →」等)と同じトーンに合わせる。
   ボタン化はせず、詳細ページへの導線として自然に読めるリンクに留める。 */
.next-live__link a {
	font-size: 0.9rem;
	font-weight: 700;
	color: #221815;
	text-decoration: none;
}

.next-live__link a:hover {
	text-decoration: underline;
}

.live-status {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	padding: 0.55rem 0.85rem;
	border-radius: 10px;
	width: fit-content;
}

.live-status__icon {
	display: block;
	width: 1.75rem;
	height: 1.75rem;
	flex: 0 0 auto;
}

.live-status__text {
	margin: 0;
	font-size: 0.9rem;
	font-weight: bold;
	line-height: 1.5;
}

.live-status--available {
	background: #e9efc9;
	color: #3c4a12;
}

.live-status--few {
	background: #fdf1c7;
	color: #6b4c00;
}

.live-status--soldout {
	background: #221815;
}

.live-status--soldout .live-status__text {
	color: #fff;
}

.next-live__actions {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin: 1rem 0;
}

.next-live__action-btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 1rem;
	border: 1px solid #ccc;
	border-radius: 999px;
	background: #f7f7f5;
	color: inherit;
	text-decoration: none;
	text-align: center;
	font-size: 0.95rem;
	font-weight: bold;
	cursor: pointer;
	list-style: none;
}

.next-live__action-btn::-webkit-details-marker {
	display: none;
}

.next-live__action-btn--ticket {
	background: #221815;
	border-color: #221815;
	color: #fff;
}

.next-live__action-btn--stream {
	background: #fff;
	border-color: #c7de5a;
	color: #3c4a12;
}

.next-live__action-btn--reserve {
	background: #fff;
}

.next-live__action-btn--reserve-submit {
	background: #c7de5a;
	border-color: #c7de5a;
	color: #221815;
}

.reserve__panel {
	margin-top: 0.75rem;
	padding: 1rem;
	border: 1px solid #eee;
	border-radius: 8px;
	background: #faf8f2;
}

.reserve__notice {
	margin: 0 0 1rem;
	padding: 0.6rem 0.85rem;
	border-radius: 6px;
	font-size: 0.9rem;
	font-weight: bold;
}

.reserve__notice--success {
	background: #e9efc9;
	color: #3c4a12;
}

.reserve__notice--error {
	background: #fdf1c7;
	color: #6b4c00;
}

.reserve__closed {
	margin: 0;
	padding: 0.7rem 0.9rem;
	border-radius: 8px;
	background: #f2f1ec;
	color: #666;
	font-size: 0.9rem;
}

.reserve__form {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.reserve__field {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.reserve__field label {
	font-size: 0.85rem;
	font-weight: bold;
}

.reserve__required {
	margin-left: 0.4em;
	padding: 0.05em 0.4em;
	border-radius: 4px;
	background: #e0463c;
	color: #fff;
	font-size: 0.7rem;
	font-weight: bold;
	vertical-align: middle;
}

.reserve__field input,
.reserve__field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.6rem 0.7rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
	font-family: inherit;
}

.reserve__field input:invalid:not(:placeholder-shown) {
	border-color: #e0463c;
}

.reserve__privacy {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.6;
	color: #888;
}

.reserve__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.venue-detail {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #eee;
}

.venue-detail p {
	margin: 0 0 0.3rem;
	font-size: 0.9rem;
	line-height: 1.6;
}

.venue-detail__name {
	font-weight: bold;
}

.venue-detail__access {
	color: #666;
}

.venue-detail__map a {
	color: #3c4a12;
	font-weight: bold;
}

.reserve__deadline-notice {
	margin: 0 0 1rem;
	font-size: 0.8rem;
	color: #666;
}

.next-live__archive-link {
	margin: 1rem 0 0;
	text-align: right;
}

.next-live__archive-link a {
	color: inherit;
	font-weight: bold;
	text-decoration: none;
	font-size: 0.9rem;
}

/* 公開中の次回ライブが0件の場合の表示。カードは出さず、案内文+リンクだけの軽い1ブロックにする */
.next-live__empty {
	margin: 0;
	color: #555;
	font-size: 0.95rem;
	line-height: 1.8;
}

.next-live__empty-link {
	display: inline-block;
	margin-top: 0.4rem;
	color: #221815;
	font-weight: bold;
	text-decoration: none;
	font-size: 0.9rem;
}

/* ライブ一覧ページ */

.live-archive {
	padding: 1.5rem 1rem 3rem;
}

.live-archive__heading {
	margin: 0 0 1.5rem;
}

.live-archive__empty {
	color: #666;
}

.live-archive__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.live-archive__item {
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
}

.live-archive__item-link {
	display: flex;
	gap: 1rem;
	padding: 0.75rem;
	color: inherit;
	text-decoration: none;
}

.live-archive__item-image {
	flex: 0 0 96px;
	width: 96px;
}

.live-archive__item-image img,
.live-archive__item-image .next-live__image-placeholder {
	width: 96px;
	height: 96px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eee;
	color: #888;
	border-radius: 4px;
	font-size: 0.7rem;
	text-align: center;
}

.live-archive__item-body {
	flex: 1;
	min-width: 0;
}

.live-archive__item-title {
	margin: 0 0 0.25rem;
	font-weight: bold;
}

.live-archive__item-date {
	margin: 0 0 0.4rem;
	font-size: 0.85rem;
	color: #444;
}

.live-archive__item-meta {
	margin: 0.4rem 0 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.15rem 0.5rem;
	font-size: 0.8rem;
}

.live-archive__item-meta dt {
	font-weight: bold;
	color: #666;
}

.live-archive__item-meta dd {
	margin: 0;
}

.live-archive__past {
	margin-top: 2rem;
}

.live-archive__past-toggle {
	cursor: pointer;
	font-weight: bold;
	color: #666;
}

.live-archive__past .live-archive__list {
	margin-top: 1rem;
}

/* ライブ詳細ページ */

.live-single {
	padding: 1.5rem 1rem 3rem;
	max-width: 640px;
	margin: 0 auto;
}

.live-single__back {
	margin: 0 0 1rem;
}

.live-single__back a {
	color: #666;
	font-size: 0.85rem;
	text-decoration: none;
}

.live-single__hero img,
.live-single__hero .next-live__image-placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eee;
	color: #888;
	border-radius: 8px;
}

.live-single__body {
	margin-top: 1.25rem;
}

.live-single__title {
	margin: 0 0 0.35rem;
	font-size: 1.4rem;
}

.live-single__date {
	margin: 0 0 0.75rem;
	font-weight: bold;
}

.about {
	padding: 3.5rem 1.25rem;
	background: #faf8f2;
}

.about .section-heading {
	margin-bottom: 2rem;
}

.about__heading {
	font-size: clamp(1.35rem, 5.5vw, 1.75rem);
	font-weight: 800;
	color: #221815;
}

.about__chat {
	display: flex;
	flex-direction: column;
}

.chat__row {
	display: flex;
	align-items: flex-end;
	gap: 0.5rem;
	margin-top: 1.15rem;
}

.chat__row:first-child {
	margin-top: 0;
}

.chat__row--grouped {
	margin-top: 0.3rem;
}

.chat__row--viewer {
	justify-content: flex-end;
}

.chat__avatar {
	flex: 0 0 2rem;
	width: 2rem;
	height: 2rem;
}

.chat__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.chat__bubble {
	position: relative;
	max-width: 78%;
	padding: 0.65rem 0.95rem;
	border-radius: 16px;
	font-size: 0.95rem;
	line-height: 1.7;
	overflow-wrap: break-word;
}

.chat__bubble--short {
	max-width: fit-content;
	padding: 0.4rem 0.85rem;
	font-size: 0.85rem;
}

.chat__bubble--long {
	max-width: 88%;
}

.chat__bubble--web {
	background: #f1efe6;
	color: #221815;
}

.chat__bubble--web::after {
	content: "";
	position: absolute;
	left: -5px;
	bottom: 2px;
	width: 0;
	height: 0;
	border: 6px solid transparent;
	border-right-color: #f1efe6;
	border-left: 0;
	border-bottom: 0;
}

.chat__bubble--viewer {
	background: #e9efc9;
	color: #2b2b1f;
}

.chat__bubble--viewer::after {
	content: "";
	position: absolute;
	right: -5px;
	bottom: 2px;
	width: 0;
	height: 0;
	border: 6px solid transparent;
	border-left-color: #e9efc9;
	border-right: 0;
	border-bottom: 0;
}

.chat__bubble--photo {
	max-width: 240px;
	padding: 0.3rem;
	background: transparent;
}

.chat__bubble--photo::after {
	display: none;
}

.chat__bubble--photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	filter: saturate(0.95) contrast(1.03);
}

/*
 * ABOUTチャットが終わった後、WEBが追加で案内する「おまけ」の外部リンク導線。
 * .chat__* とは別クラスにし、既存チャットの表示ロジックには影響させない。
 */
.about__postscript {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	max-width: 480px;
	margin: 2.75rem auto 0;
	padding-top: 1.4rem;
	border-top: 1px dashed #ddd;
}

.about__postscript-avatar {
	flex: 0 0 2rem;
	width: 2rem;
	height: 2rem;
}

.about__postscript-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.about__postscript-body {
	min-width: 0;
}

.about__postscript-bubble {
	position: relative;
	margin: 0 0 0.4rem;
	max-width: fit-content;
	padding: 0.6rem 0.9rem;
	background: #f1efe6;
	color: #221815;
	border-radius: 16px;
	font-size: 0.9rem;
	line-height: 1.6;
}

.about__postscript-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0.3rem 0 0.5rem;
	padding: 0.5rem 1.1rem;
	border: 1px solid #c7de5a;
	border-radius: 999px;
	background: #fff;
	color: #3c4a12;
	font-weight: 700;
	font-size: 0.88rem;
	text-decoration: none;
	transition: background 0.15s ease;
}

.about__postscript-link:hover,
.about__postscript-link:focus-visible {
	background: #f1efe6;
}

.about__postscript-note {
	margin: 0;
	font-size: 0.75rem;
	color: #888;
}

/*
 * CONTACT(#14141a)から続けて、フッターもダークのまま閉じる。
 * FIRST VIEWの世界観と呼応させ、サイトの開始と終わりを暗色でつなぐ。
 */
.site-footer {
	padding: 1.75rem 1rem 2rem;
	background: #14141a;
	color: #888;
	text-align: center;
}

.site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.1rem;
	margin: 0 0 1.25rem;
	font-size: 0.8rem;
}

.site-footer__nav a {
	color: #e6e1d3;
	text-decoration: none;
	letter-spacing: 0.02em;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
	color: #ffe600;
}

.site-footer__copy {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.7;
	color: #888;
}

@media (min-width: 768px) {
	.first-view__collage {
		grid-template-columns: repeat(3, 1fr);
	}

	.next-live__card {
		flex-direction: row;
	}

	.next-live__image {
		flex: 0 0 40%;
	}

	.next-live__body {
		flex: 1;
	}
}

@media (min-width: 1024px) {
	.next-live {
		padding: 4rem 3rem;
	}

	.first-view {
		display: grid;
		grid-template-columns: minmax(240px, 1fr) minmax(0, 1.4fr);
		align-items: center;
		gap: 3rem;
		padding: 4rem 3rem;
	}

	.first-view__intro {
		text-align: left;
	}

	.first-view__logo {
		width: min(16vw, 220px);
		margin: 0 0 1.5rem;
	}

	.first-view__collage {
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: repeat(3, 1fr);
		grid-template-areas:
			"main main bgwide bgwide"
			"main main mobilemain acchiranoken"
			"bgcrowd acchands mobilemain acclyrics";
		gap: 0.75rem;
		aspect-ratio: 4 / 3;
	}

	.fv-photo--main,
	.fv-photo--mobile-main,
	.fv-photo--bg-wide,
	.fv-photo--bg-crowd,
	.fv-photo--accent-hiranoken,
	.fv-photo--accent-hands,
	.fv-photo--accent-lyrics {
		grid-column: auto;
		aspect-ratio: auto;
	}

	.fv-photo--main { grid-area: main; }
	.fv-photo--mobile-main { grid-area: mobilemain; }
	.fv-photo--bg-wide { grid-area: bgwide; }
	.fv-photo--bg-crowd { grid-area: bgcrowd; }
	.fv-photo--accent-hiranoken { grid-area: acchiranoken; }
	.fv-photo--accent-hands { grid-area: acchands; }
	.fv-photo--accent-lyrics { grid-area: acclyrics; }

	.about {
		padding: 5rem 3rem;
	}

	.about__chat {
		max-width: 640px;
		margin: 0 auto;
	}

	.chat__row {
		margin-top: 1.3rem;
	}

	.chat__row--grouped {
		margin-top: 0.35rem;
	}

	.chat__bubble {
		max-width: 72%;
		font-size: 1rem;
	}

	.chat__bubble--long {
		max-width: 82%;
	}
}

/* MUSIC / MOVIE */

.music-movie {
	padding: 3rem 1rem;
	background: #fff;
}

.music-movie .section-heading {
	margin-bottom: 1.75rem;
}

.music-movie__heading {
	font-size: clamp(1.35rem, 5.5vw, 1.75rem);
	font-weight: 800;
	color: #221815;
}

.music-movie__videos {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.music-movie__video-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	overflow: hidden;
	background: #111;
}

.music-movie__video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.music-movie__video-title {
	margin: 0.6rem 0 0;
	font-weight: bold;
	font-size: 0.95rem;
	color: #221815;
}

.music-movie__video-comment {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0.35rem 0 0;
	font-size: 0.85rem;
	color: #666;
}

.music-movie__video-comment img {
	width: 1.5rem;
	height: 1.5rem;
	flex: 0 0 auto;
}

.song-zone {
	position: relative;
	margin-top: 3rem;
	padding: 2rem 1.1rem 2.25rem;
	border-radius: 20px;
	background:
		radial-gradient(circle at 12% 12%, rgba(183, 226, 58, 0.45), transparent 55%),
		radial-gradient(circle at 88% 8%, rgba(255, 230, 0, 0.35), transparent 50%),
		radial-gradient(circle at 55% 96%, rgba(242, 148, 31, 0.22), transparent 55%),
		#1c1712;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	overflow: hidden;
}

.song-zone .section-web-mark {
	margin-left: auto;
	margin-right: auto;
}

.music-movie__songs-heading {
	margin: 0 0 1.25rem;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.5;
	color: #fdfcf6;
	text-align: center;
}

.song-zone__intro {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	max-width: 420px;
	margin: 0 auto 1.5rem;
}

.song-zone__web-icon {
	width: 3rem;
	height: 3rem;
	flex: 0 0 auto;
	margin: -0.5rem -0.3rem 0 0;
	padding: 0.15rem;
	background: #fff;
	border-radius: 999px;
}

.song-zone__intro-text {
	min-width: 0;
}

.song-zone__web-line {
	margin: 0;
	padding: 0.5rem 0.8rem;
	background: rgba(253, 252, 246, 0.94);
	border-radius: 10px 10px 10px 2px;
	color: #221815;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.5;
}

.song-zone__note {
	margin: 0.4rem 0 0 0.2rem;
	font-size: 0.7rem;
	color: rgba(253, 252, 246, 0.6);
}

.song-field {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
	gap: 0.9rem 0.8rem;
}

.song-field__item {
	--song-motion-scale: 1;
	rotate: var(--song-tilt, 0deg);
	scale: var(--song-size-scale, 1);
	animation: song-float var(--song-duration, 7s) ease-in-out var(--song-delay, 0s) infinite;
}

.song-field__item:hover {
	animation-play-state: paused;
}

.song-chip {
	display: inline-block;
	padding: 0.6rem 1.1rem;
	border: 2px solid transparent;
	border-radius: 10px;
	font-family: inherit;
	font-weight: 700;
	font-size: 0.92rem;
	line-height: 1.4;
	cursor: pointer;
	transition: scale 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15), 0 6px 14px rgba(0, 0, 0, 0.22);
}

.song-chip:hover,
.song-chip:focus-visible {
	scale: 1.1;
	box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18), 0 10px 20px rgba(0, 0, 0, 0.28);
}

.song-chip:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px rgba(34, 24, 21, 0.6);
}

.song-chip--c1 {
	background: #b7e23a;
	color: #23310a;
}

.song-chip--c2 {
	background: #ffe600;
	color: #33280a;
}

.song-chip--c3 {
	background: #221815;
	color: #f7f5ea;
	border-color: #ffe600;
}

.song-chip--c4 {
	background: #fffdf5;
	color: #221815;
	border-color: #b7e23a;
}

.song-chip--c5 {
	background: #f2941f;
	color: #2a1400;
}

@keyframes song-float {
	0%,
	100% {
		translate: 0 0;
	}
	50% {
		translate:
			calc(var(--song-dx, 0px) * var(--song-motion-scale, 1))
			calc(var(--song-dy, 0px) * var(--song-motion-scale, 1));
	}
}

.song-card-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: rgba(20, 20, 26, 0.4);
}

.song-card-backdrop[hidden] {
	display: none;
}

.song-card {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: 80vh;
	overflow-y: auto;
	padding: 1.5rem 1.25rem 1.75rem;
	background: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
}

.song-card__close {
	position: absolute;
	top: 0.5rem;
	right: 0.75rem;
	width: 2rem;
	height: 2rem;
	border: 0;
	background: transparent;
	color: #888;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

/* 見た目(サイズ・位置)は変えず、タップ領域だけ疑似要素で44px四方程度まで拡張する。 */
.song-card__close::after {
	content: '';
	position: absolute;
	inset: -6px;
}

.song-card__badge {
	display: inline-block;
	margin: 0 0 0.6rem;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: bold;
}

.song-card__badge--real {
	background: #e9efc9;
	color: #3c4a12;
}

.song-card__badge--fake {
	background: #fdf1c7;
	color: #6b4c00;
}

.song-card__title {
	margin: 0 0 0.75rem;
	padding-right: 1.5rem;
	font-size: 1.15rem;
	color: #221815;
}

.song-card__desc {
	margin: 0 0 0.9rem;
	font-size: 0.9rem;
	line-height: 1.7;
	color: #444;
	white-space: pre-line;
}

.song-card__web {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	padding: 0.6rem 0.8rem;
	background: #f1efe6;
	border-radius: 10px;
	font-size: 0.85rem;
	color: #221815;
}

.song-card__web img {
	width: 1.5rem;
	height: 1.5rem;
	flex: 0 0 auto;
}

.song-card__youtube {
	display: inline-block;
	margin: 0 0 0.5rem;
	color: #221815;
	font-weight: bold;
	text-decoration: none;
}

.song-card__youtube[hidden] {
	display: none;
}

.song-card__vote {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #eee;
}

.song-card__vote-question {
	margin: 0 0 0.6rem;
	font-weight: bold;
	color: #221815;
}

.song-card__vote-btn {
	padding: 0.6rem 1.4rem;
	border: 1px solid #c7de5a;
	border-radius: 999px;
	background: #c7de5a;
	color: #221815;
	font-weight: bold;
	font-size: 0.9rem;
	cursor: pointer;
}

.song-card__vote-btn:disabled {
	background: #eee;
	border-color: #ddd;
	color: #999;
	cursor: default;
}

.song-card__vote-result {
	margin: 0.6rem 0 0;
	font-size: 0.85rem;
	color: #666;
}

body.song-card-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.song-field__item {
		--song-motion-scale: 0.3;
		rotate: calc(var(--song-tilt, 0deg) * 0.25);
		scale: 1;
	}

	.song-chip {
		padding: 0.75rem 1.15rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.song-field__item {
		animation: none;
	}
}

@media (min-width: 768px) {
	.music-movie__videos {
		flex-direction: row;
		gap: 1.5rem;
	}

	.music-movie__video {
		flex: 1;
		min-width: 0;
	}

	.song-card-backdrop {
		align-items: center;
	}

	.song-card {
		border-radius: 16px;
	}

	.song-zone__web-icon {
		width: 3.75rem;
		height: 3.75rem;
		margin: -0.6rem -0.4rem 0 0;
	}

	.section-web-mark {
		width: 3rem;
		height: 3rem;
	}
}

@media (min-width: 1024px) {
	.music-movie {
		padding: 4rem 3rem;
	}

	.song-zone {
		padding: 3rem 2rem 3.25rem;
	}

	.song-field {
		max-width: 900px;
		margin: 0 auto;
	}
}

/* MEMBERS */

.members {
	padding: 3rem 1rem;
	background: #faf8f2;
}

.members__heading {
	font-size: clamp(1.35rem, 5.5vw, 1.75rem);
	font-weight: 800;
	color: #221815;
}

.members__intro {
	margin: 1.75rem 0 2rem;
}

.members__intro img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.member-field {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.member-card {
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #eee;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.member-card__face {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0.9rem 0.8rem 1.1rem;
	cursor: pointer;
	list-style: none;
}

.member-card__face::-webkit-details-marker {
	display: none;
}

.member-card__face:hover,
.member-card__face:focus-visible {
	background: #faf8f2;
}

.member-card__face:focus-visible {
	outline: 2px solid #221815;
	outline-offset: -2px;
}

.member-card__photo {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	border-radius: 10px;
	overflow: hidden;
	background: #f1efe6;
	margin-bottom: 0.7rem;
}

.member-card__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.member-card__now-printing {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border: 1px dashed #ccc;
	color: #999;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-align: center;
	line-height: 1.4;
}

.member-card__name {
	font-weight: 800;
	font-size: 0.95rem;
	color: #221815;
}

.member-card__role {
	margin-top: 0.15rem;
	font-size: 0.72rem;
	color: #666;
}

.member-card__color-tag {
	display: block;
	width: 2rem;
	height: 4px;
	margin: 0.5rem 0;
	border-radius: 999px;
	background: #ccc;
}

.member-card--color-red .member-card__color-tag {
	background: #e0463c;
}

.member-card--color-green .member-card__color-tag {
	background: #4a9350;
}

.member-card--color-blue .member-card__color-tag {
	background: #3a6cc7;
}

.member-card--color-yellow .member-card__color-tag {
	background: #ffe600;
}

.member-card--color-black .member-card__color-tag {
	background: #221815;
}

.member-card--color-pink .member-card__color-tag {
	background: #e88fb3;
}

.member-card--color-silver .member-card__color-tag {
	background: #b9b9b9;
}

.member-card__answer {
	margin-top: 0.3rem;
	font-size: 0.78rem;
	line-height: 1.5;
	color: #444;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.member-card__detail {
	padding: 0 0.9rem 1rem;
	border-top: 1px solid #f0ede4;
}

.member-card__bio {
	margin: 0.8rem 0 0;
	font-size: 0.85rem;
	line-height: 1.7;
	color: #444;
	white-space: pre-line;
}

.member-card__web-comment {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0.7rem 0 0;
	padding: 0.5rem 0.7rem;
	background: #f1efe6;
	border-radius: 8px;
	font-size: 0.8rem;
	color: #221815;
}

.member-card__web-comment img {
	width: 1.3rem;
	height: 1.3rem;
	flex: 0 0 auto;
}

.member-card__empty {
	margin: 0.8rem 0 0;
	font-size: 0.8rem;
	color: #999;
}

@media (min-width: 768px) {
	.members {
		padding: 4rem 3rem;
	}

	.member-field {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.25rem;
	}
}

@media (min-width: 1024px) {
	.members__intro {
		max-width: 900px;
		margin-left: auto;
		margin-right: auto;
	}

	.member-field {
		grid-template-columns: repeat(4, 1fr);
		max-width: 1100px;
		margin: 0 auto;
		gap: 1.5rem;
	}
}

/* PLAYGROUND */
/*
 * 白い余白の中にWEBの顔と曲名が存在し、オレンジ(生成する)と黄緑(参加・投票する)だけが
 * 時々強く出てくる、という抑えた配色にする。ピンクはハート・票数表示等の小アクセントのみ。
 * 基本は 黒/濃茶・白/生成り・オレンジ・黄緑・ピンク の5色以内に収め、装飾は最小限にする。
 */

.playground {
	padding: 3rem 1rem;
	background: #fffdf6;
}

.playground .section-heading {
	margin-bottom: 0.45rem;
}

.playground__heading {
	font-size: clamp(1.35rem, 5.5vw, 1.75rem);
	font-weight: 800;
	color: #221815;
}

/* 見出し本体は折り返さず、括弧の補足だけ窮屈な幅で自然に次行へ落ちるようにする */
.playground__heading-main {
	white-space: nowrap;
}

/* スマホ幅では見出し本体と同じ行に収まりきらず括弧の途中で不自然に回り込むため、
   見出し直下に小さな補足文として独立させる(768px以上ではPC従来通りの横並びに戻す)。 */
.playground__heading-sub {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.55em;
	font-weight: 500;
	color: #888;
}

.playground__panel {
	max-width: 560px;
	margin: 0 auto;
}

.playground__intro {
	margin: 0 0 0.9rem;
	font-size: 0.9rem;
	line-height: 1.7;
	color: #555;
}

.playground__form {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.playground__input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.85rem 1rem;
	border: 2px solid #221815;
	border-radius: 10px;
	background: #fff;
	font-size: 1rem;
	font-family: inherit;
}

.playground__input:focus {
	outline: none;
	border-color: #ff9142;
	box-shadow: 0 0 0 3px rgba(255, 145, 66, 0.25);
}

.playground__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 0.4rem;
}

.playground__btn {
	padding: 0.75rem 1.3rem;
	border: 2px solid #ddd;
	border-radius: 999px;
	background: #f7f7f5;
	color: #221815;
	font-weight: 700;
	font-size: 0.9rem;
	cursor: pointer;
}

.playground__btn:disabled {
	opacity: 0.5;
	cursor: default;
}

.playground__btn--primary {
	background: #ff9142;
	border-color: #ff9142;
	color: #221815;
}

.playground__btn--vote {
	background: #c7de5a;
	border-color: #c7de5a;
	color: #221815;
}

.playground__loading {
	margin: 1rem 0 0;
	font-size: 0.85rem;
	color: #888;
	text-align: center;
}

.playground__result {
	margin-top: 1.75rem;
	padding: 1.5rem;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.playground__result-label {
	margin: 0 0 0.4rem;
	font-size: 0.8rem;
	color: #888;
}

.playground__result-title {
	margin: 0 0 1.4rem;
	font-size: clamp(1.5rem, 7vw, 2.1rem);
	font-weight: 800;
	color: #221815;
	line-height: 1.4;
}

.playground__reaction {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
}

.playground__reaction-icon {
	width: 2rem;
	height: 2rem;
	flex: 0 0 auto;
}

.playground__reaction-text {
	margin: 0;
	padding: 0.5rem 0.8rem;
	background: #faf8f2;
	border-radius: 10px 10px 10px 2px;
	font-size: 0.9rem;
	color: #221815;
	line-height: 1.5;
}

.playground__result-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.playground__vote-note {
	margin: 0.6rem 0 0;
	font-size: 0.85rem;
	color: #666;
}

.playground__public {
	max-width: 760px;
	margin: 3rem auto 0;
}

.playground__public-heading {
	margin-bottom: 0.5rem;
}

.playground__public-title {
	font-size: clamp(1.1rem, 4.5vw, 1.4rem);
	font-weight: 800;
	color: #221815;
}

.playground__public-intro {
	margin: 0 0 1.25rem;
	font-size: 0.85rem;
	color: #666;
}

.playground__song-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	/* 1frではなくminmax(0, 1fr)にすることで、票数バッジ等の中身がどれだけ長くなっても
	   グリッド自体がコンテナ幅を超えて広がらないようにする(いわゆるgrid blowout対策)。
	   中身が収まっている現状の見た目には影響しない。 */
	grid-template-columns: minmax(0, 1fr);
	gap: 0.85rem;
}

.playground-song {
	min-width: 0;
	padding: 1.15rem 1.2rem 1.05rem;
	background: #fff;
	border-radius: 10px;
	border: 1px solid #eee;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.playground-song__title {
	margin: 0 0 0.8rem;
	font-size: clamp(1.05rem, 4vw, 1.25rem);
	font-weight: 800;
	color: #221815;
	line-height: 1.5;
}

.playground-song__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

/* 票数表記: 単なる「N票」ではなく、誰かが本気にした感じが出るよう人数+ハートで表現する */
.playground-song__votes {
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	background: #ffe1ec;
	color: #c2477a;
	font-size: 0.75rem;
	font-weight: 800;
	white-space: nowrap;
}

.playground-song__like {
	padding: 0.5rem 1rem;
	border: 2px solid #c7de5a;
	border-radius: 999px;
	background: #fff;
	color: #5c7a1f;
	font-weight: 700;
	font-size: 0.8rem;
	cursor: pointer;
}

.playground-song__like:disabled {
	background: #c7de5a;
	border-color: #c7de5a;
	color: #221815;
	opacity: 1;
	cursor: default;
}

.playground__public-empty {
	margin: 0;
	padding: 1.5rem 0;
	text-align: center;
	font-size: 0.85rem;
	color: #888;
}

@media (min-width: 640px) {
	.playground__song-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.playground {
		padding: 4rem 3rem;
	}
}

/* PC表示は従来通り、見出し本体と同じ行に横並びで表示する */
@media (min-width: 768px) {
	.playground__heading-sub {
		display: inline;
		margin-top: 0;
	}
}

/* NEWS */
/* PLAYGROUNDのような強いアクセントは使わず、白背景・黒文字ベースで可読性を優先する。 */

.news {
	padding: 3rem 1rem;
	background: #fff;
}

.news .section-heading {
	margin-bottom: 1.5rem;
}

.news__heading {
	font-size: clamp(1.35rem, 5.5vw, 1.75rem);
	font-weight: 800;
	color: #221815;
}

.news__list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	max-width: 640px;
}

.news-item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 0.7rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid #eee;
}

.news-item__date {
	flex: 0 0 auto;
	font-size: 0.8rem;
	color: #888;
}

.news-item__type {
	flex: 0 0 auto;
	padding: 0.15rem 0.55rem;
	border-radius: 4px;
	background: #f0f0ec;
	color: #221815;
	font-size: 0.72rem;
	font-weight: 700;
}

.news-item__type--web_update {
	background: #eaf3d1;
}

.news-item__title,
.news-item__title--plain {
	flex: 1 1 100%;
	font-size: 0.95rem;
	color: #221815;
	text-decoration: none;
}

a.news-item__title:hover {
	text-decoration: underline;
}

.news-item__title--plain {
	color: #555;
}

.news__empty {
	font-size: 0.9rem;
	color: #888;
}

.news__archive-link a {
	font-size: 0.9rem;
	font-weight: 700;
	color: #221815;
	text-decoration: none;
}

.news__archive-link a:hover {
	text-decoration: underline;
}

@media (min-width: 640px) {
	.news-item {
		flex-wrap: nowrap;
	}

	.news-item__title,
	.news-item__title--plain {
		flex: 1 1 auto;
	}
}

@media (min-width: 1024px) {
	.news {
		padding: 4rem 3rem;
	}
}

/* NEWS一覧ページ / 詳細ページ(archive-shinemon_news.php / single-shinemon_news.php) */

.news-archive,
.news-single {
	max-width: 720px;
	margin: 0 auto;
	padding: 3rem 1rem;
}

.news-archive__heading {
	margin: 0 0 1.5rem;
	font-size: 1.5rem;
	font-weight: 800;
	color: #221815;
}

.news-archive__list {
	margin-bottom: 2rem;
}

.news-archive__empty {
	color: #888;
}

.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.page-numbers li {
	display: inline-block;
}

.page-numbers a,
.page-numbers span {
	display: inline-block;
	padding: 0.4rem 0.8rem;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 0.85rem;
	color: #221815;
	text-decoration: none;
}

.page-numbers .current {
	background: #221815;
	border-color: #221815;
	color: #fff;
}

.news-single__meta {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	color: #888;
}

.news-single__type {
	padding: 0.15rem 0.55rem;
	border-radius: 4px;
	background: #f0f0ec;
	color: #221815;
	font-weight: 700;
}

.news-single__title {
	margin: 0 0 1.5rem;
	font-size: clamp(1.3rem, 5vw, 1.8rem);
	font-weight: 800;
	color: #221815;
}

.news-single__body {
	font-size: 0.95rem;
	line-height: 1.9;
	color: #333;
}

.news-single__body p {
	margin: 0 0 1.2em;
}

.news-single__back {
	margin-top: 2.5rem;
}

.news-single__back a {
	font-size: 0.9rem;
	color: #221815;
}

/* CONTACT */
/*
 * TOP最下部。FIRST VIEWと同じダーク配色(#14141a)に戻し、サイトの開始と終わりを呼応させる。
 * 白文字+黄緑(#c7de5a)アクセント程度に留め、PLAYGROUNDのように色を多用しない。
 * 「連絡してみる →」で同じセクション内に問い合わせフォームを展開する(別ページへは移動しない)。
 */

.contact {
	padding: 3rem 1rem;
	background: #14141a;
	color: #f5f5f2;
}

.contact .section-heading {
	margin-bottom: 1.25rem;
}

.contact__heading {
	font-size: clamp(1.35rem, 5.5vw, 1.75rem);
	font-weight: 800;
	color: #f5f5f2;
}

.contact__body {
	max-width: 480px;
	margin: 0 0 1.75rem;
	font-size: 0.95rem;
	line-height: 1.9;
	color: #e6e1d3;
}

.contact__cta {
	align-items: center;
	gap: 0.4rem;
	padding: 0.75rem 1.6rem;
	border: 1px solid rgba(245, 245, 242, 0.4);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	text-decoration: none;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
}

/* [hidden]属性による非表示より display 指定が勝ってしまわないよう、:not([hidden])の時だけ適用する */
.contact__cta:not([hidden]) {
	display: inline-flex;
}

.contact__cta:hover,
.contact__cta:focus-visible {
	border-color: #c7de5a;
	color: #c7de5a;
}

.contact__cta:disabled {
	opacity: 0.6;
	cursor: default;
}

/* 問い合わせフォーム */

.contact__form-wrap {
	max-width: 480px;
	margin-top: 1.75rem;
}

.contact__form {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.contact-field {
	margin: 0;
	padding: 0;
	border: 0;
}

.contact-field--honeypot {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.contact-field__label {
	display: block;
	margin: 0 0 0.4rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: #f5f5f2;
}

.contact-field__required {
	margin-left: 0.4em;
	font-size: 0.7rem;
	font-weight: 700;
	color: #c7de5a;
}

.contact-field__input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.8rem 0.9rem;
	border: 1px solid rgba(245, 245, 242, 0.3);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	color: #f5f5f2;
	font-size: 1rem;
	font-family: inherit;
}

.contact-field__input::placeholder {
	color: rgba(245, 245, 242, 0.4);
}

.contact-field__input:focus {
	outline: none;
	border-color: #c7de5a;
	box-shadow: 0 0 0 3px rgba(199, 222, 90, 0.2);
}

.contact-field__input--textarea {
	resize: vertical;
	min-height: 7rem;
	line-height: 1.7;
}

.contact-field--invalid .contact-field__input {
	border-color: #ff8a80;
}

.contact-field__radio {
	display: block;
	margin: 0 0 0.5rem;
	font-size: 0.9rem;
	color: #e6e1d3;
}

.contact-field__radio input {
	margin-right: 0.5rem;
	accent-color: #c7de5a;
}

.contact-field__error {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.8rem;
	color: #ff8a80;
}

.contact__general-error {
	margin: 0;
	font-size: 0.85rem;
	color: #ff8a80;
}

.contact__success {
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.75rem;
	padding: 1rem 1.2rem;
	max-width: 480px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 14px;
}

/* [hidden]属性による非表示より display 指定が勝ってしまわないよう、:not([hidden])の時だけ適用する */
.contact__success:not([hidden]) {
	display: flex;
}

.contact__success-icon {
	width: 2rem;
	height: 2rem;
	flex: 0 0 auto;
}

.contact__success-text {
	margin: 0;
	font-size: 0.95rem;
	color: #f5f5f2;
}

@media (min-width: 1024px) {
	.contact {
		padding: 4rem 3rem;
	}

	.site-footer {
		padding: 2.25rem 3rem 2.5rem;
	}
}

/* ENTRANCE(無駄1ページ) */
/*
 * 「発掘されたコミックロックバンド」。TOPページ本文の手前に一度だけ挟む全画面オーバーレイ。
 * FIRST VIEW/CONTACTと同系統のダーク基調(#14141a)に、化石風の背景写真+暗めのオーバーレイで
 * 文字を読みやすくする。派手なアニメーションは使わず、フェードアウトのみ。
 */

/*
 * [hidden]属性はUAスタイルシートのdisplay:noneで非表示になるが、
 * display:flexを無条件指定すると同じ詳細度で作者スタイルシートが勝ってしまい、
 * JS側でentrance.hidden=trueにしても実際には非表示にならず、画面全体を覆う
 * position:fixedのオーバーレイがpointerイベントを奪い続けてしまう
 * (以前PLAYGROUND/CONTACTで発見・修正したのと同じ不具合パターン)。
 * そのため :not([hidden]) の時だけdisplay:flexを適用する。
 */
.entrance:not([hidden]) {
	display: flex;
}

.entrance {
	position: fixed;
	inset: 0;
	z-index: 500;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
	background-color: #14141a;
	background-size: cover;
	background-position: center 30%;
	background-repeat: no-repeat;
	transition: opacity 0.4s ease;
}

.entrance--closing {
	opacity: 0;
}

/*
 * 誕生日版。通常版の骨格(overlay/body/CTA等)をそのまま使い、背景の与え方だけ変える。
 * .entrance自体には背景を持たせず、専用の .entrance__bg レイヤーに本人写真を
 * ドアップ寄りで表示する(メンバーごとの顔位置・拡大率はPHP側のインラインstyleで指定)。
 */
.entrance--birthday {
	background-image: none;
}

.entrance__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-repeat: no-repeat;
	transform-origin: center center;
}

.entrance__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 20, 26, 0.35) 0%, rgba(20, 20, 26, 0.55) 55%, rgba(20, 20, 26, 0.82) 100%);
}

.entrance__body {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
	padding: 2rem 1.5rem 3rem;
	text-align: center;
	color: #f5f5f2;
}

.entrance__title {
	margin: 0 0 0.5rem;
	font-size: clamp(2rem, 9vw, 3rem);
	font-weight: 900;
	letter-spacing: 0.03em;
}

.entrance__subtitle {
	margin: 0 0 1rem;
	font-size: 0.8rem;
	letter-spacing: 0.15em;
	color: #ffe600;
}

.entrance__note {
	margin: 0 0 1.75rem;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	color: #cfcabb;
}

.entrance__bday-name {
	margin: 0 0 0.6rem;
	font-size: clamp(1.5rem, 7vw, 2.25rem);
	font-weight: 900;
	letter-spacing: 0.02em;
	/* 現状の6名は1行に収まるが、将来より長い名前が登録された場合の保険として、
	   単語の途中でも安全に折り返せるようにする(現状の見た目には影響しない)。 */
	overflow-wrap: break-word;
}

.entrance__bday-question {
	margin: 0 0 1.5rem;
	font-size: 1rem;
	color: #e6e1d3;
}

.entrance__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 2.2rem;
	border: 1px solid rgba(245, 245, 242, 0.5);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	cursor: pointer;
}

.entrance__cta:hover,
.entrance__cta:focus-visible {
	border-color: #ffe600;
	color: #ffe600;
}

/* 確認ステップ(YES/NO)・WEBの一言のパネル。中央コンテンツの差し替えとして表示する。
   新規モーダルは作らず、静かな展示物っぽさを保つため半透明の小さな枠のみ添える。 */
.entrance__panel--framed {
	padding: 1.5rem 1.25rem;
	border: 1px solid rgba(245, 245, 242, 0.3);
	border-radius: 14px;
	background: rgba(20, 20, 26, 0.4);
}

.entrance__confirm-text {
	margin: 0 0 1.1rem;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.entrance__confirm-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.entrance__cta--small {
	padding: 0.6rem 1.6rem;
	font-size: 0.85rem;
}

.entrance__reply-text {
	margin: 0;
	font-size: 0.95rem;
	color: #f5f5f2;
}

/*
 * 常時表示の非常口「>>SKIP」。通常版・誕生日版・確認質問中を問わず、
 * ENTRANCE表示中は常にユーザーがTOP本体へ抜けられるようにする控えめなボタン。
 * メインCTA(.entrance__cta)より目立たないよう、枠なし・淡い色・小さい文字にしている。
 */
.entrance__skip {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 2;
	max-width: calc(100vw - 32px);
	padding: 0.35rem 0.7rem;
	border: none;
	border-radius: 999px;
	background: rgba(20, 20, 26, 0.12);
	color: rgba(245, 245, 242, 0.55);
	font: inherit;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease;
}

/* 見た目(サイズ・位置・配色)は変えず、タップ領域だけ疑似要素で44px四方程度まで拡張する。
   疑似要素は透明で背景・枠を持たないため、視覚的には何も変わらない。 */
.entrance__skip::after {
	content: '';
	position: absolute;
	inset: -10px;
}

.entrance__skip:hover,
.entrance__skip:focus-visible {
	color: rgba(245, 245, 242, 0.9);
	background: rgba(20, 20, 26, 0.28);
}

body.entrance-open {
	overflow: hidden;
}

@media (min-width: 768px) {
	.entrance {
		align-items: center;
	}

	.entrance__body {
		padding-bottom: 2rem;
	}
}
