/*
 * Nobeoka Cinema Theme Styles (theme.css)
 *
 * 05_web (Metronic Shop UI) のCSSスタックの後に読み込む前提のテーマ固有スタイル。
 * 旧 rinji.css からカレンダー・映画カード・作品紹介・お知らせ等の
 * コンポーネントスタイルを移植し、Metronicのトーンに調整したもの。
 * （旧 rinji.css のグローバルリセット・ヘッダー・フッター・ドロワー定義は
 *   Metronic側と衝突するため移植していない）
 */

:root {
	--rinji-text: #222;
	--rinji-muted: #777;
	--rinji-line: #e6e6e6;
	--rinji-bg: #fff;
	--rinji-chip: #6b6b6b;
	--rinji-chip-text: #fff;
	--rinji-btn-line: #d7d7d7;
	--rinji-shadow: 0 6px 18px rgba(0, 0, 0, .08);
	--rinji-radius: 16px;
	--rinji-radius-2: 22px;
	--rinji-max: 980px;
}

/* ============================================================
   [2] Calendar (旧 calendar.css)
   ============================================================ */

.schedule-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin: 40px 0;
}

/* カレンダー全体 */
.nobeoka-calendar {
	background: white;
	border-radius: 4px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	border: 1px solid #ddd;
}

.calendar-header {
	margin-bottom: 20px;
	text-align: center;
}

.calendar-header h2 {
	font-size: 1.8rem;
	color: #333;
	margin: 0;
}

/* カレンダーテーブル */
.calendar-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

/* 週間カレンダー用テーブル */
.calendar-table-weekly {
	margin-bottom: 0;
}

.calendar-table thead {
	background-color: #f0f0f0;
	color: #333;
}

.calendar-table th {
	padding: 12px 8px;
	text-align: center;
	font-weight: 600;
	border: 1px solid #ddd;
	color: #333;
}

.calendar-table td {
	padding: 0;
	border: 1px solid #ddd;
	height: 120px;
	position: relative;
	background-color: white;
	transition: background-color 0.3s ease;
}

.calendar-table td.empty {
	background-color: #f9f9f9;
	cursor: default;
}

/* 日付セル */
.calendar-table td.day {
	cursor: pointer;
	user-select: none;
}

.calendar-table td.day:hover {
	background-color: #f5f5f5;
}

.calendar-table td.day.sunday {
	background-color: #f9f9f9;
}

.calendar-table td.day.sunday:hover {
	background-color: #f0f0f0;
}

.calendar-table td.day.saturday {
	background-color: #f9f9f9;
}

.calendar-table td.day.saturday:hover {
	background-color: #f0f0f0;
}

/* 上映日 */
.calendar-table td.day.screening-day {
	background-color: #f0f0f0;
	font-weight: bold;
	border-color: #666;
}

.calendar-table td.day.screening-day:hover {
	background-color: #e8e8e8;
}

/* 今日 */
.calendar-table td.day.today {
	border: 2px solid #333;
}

.day-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 8px;
	text-align: center;
}

.day-number {
	font-size: 1.2rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 4px;
}

.screening-indicator {
	width: 6px;
	height: 6px;
	background-color: #666;
	border-radius: 50%;
	display: inline-block;
}

/* 週間カレンダー用スタイル */
.calendar-table-weekly {
	width: 100%;
	display: table;
	table-layout: fixed;
}

.calendar-table-weekly th {
	padding: 12px 8px;
	text-align: center;
	font-weight: 600;
	border: 1px solid #ddd;
	background-color: #f0f0f0;
	color: #333;
	word-wrap: break-word;
}

.day-header {
	display: table-cell;
	vertical-align: middle;
}

.day-header-content {
	display: block;
}

.day-name {
	font-size: 0.9rem;
	font-weight: 600;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
	color: #333;
}

.day-number {
	font-size: 1.3rem;
	font-weight: 700;
	display: block;
	color: #333;
}

.day-header.sunday {
	color: #333;
}

.day-header.saturday {
	color: #333;
}

/* 週間カレンダーセル */
.calendar-table-weekly td {
	padding: 12px 8px;
	min-height: 150px;
	vertical-align: top;
	border: 1px solid #ddd;
}

/* ナビゲーション */
.calendar-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #ddd;
}

.nav-button {
	padding: 10px 20px;
	background-color: #333;
	color: white;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	text-decoration: none;
	font-size: 0.95rem;
	transition: background-color 0.3s ease;
	display: inline-block;
}

.nav-button:hover {
	background-color: #555;
	text-decoration: none;
	color: white;
}

.nav-current {
	font-size: 1.1rem;
	font-weight: 600;
	color: #333;
	white-space: nowrap;
}

.nav-current-week {
	font-size: 1.1rem;
	font-weight: 600;
	color: #333;
	white-space: nowrap;
}

/* 映画セクション */
.movies-section {
	background: white;
	border-radius: 4px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	height: fit-content;
	position: sticky;
	top: 20px;
	border: 1px solid #ddd;
}

.selected-date-info {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #ddd;
}

.selected-date-info h2 {
	font-size: 1.5rem;
	color: #333;
	margin: 0;
}

.selected-date-info .date-text {
	color: #666;
	font-size: 0.95rem;
	margin-top: 5px;
}

/* 映画リスト */
.movies-list {
	min-height: 200px;
}

.movies-list .loading {
	display: flex;
	justify-content: center;
	padding: 40px 20px;
}

.no-movies-message {
	text-align: center;
	padding: 40px 20px;
	color: #999;
	font-style: italic;
}

.movie-card {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.movie-card:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

/* カレンダーのレスポンシブ */
@media (max-width: 1024px) {
	.schedule-container {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.movies-section {
		position: static;
	}

	.calendar-table td {
		height: 20px;
	}

	.day-number {
		font-size: 1rem;
	}
}

@media (max-width: 768px) {
	.calendar-table {
		font-size: 0.85rem;
	}

	.calendar-table th {
		padding: 8px 4px;
		font-size: 0.8rem;
	}

	.calendar-table td {
		height: 80px;
		padding: 4px;
	}

	.day-content {
		padding: 4px;
	}

	.day-number {
		font-size: 0.9rem;
	}

	.screening-indicator {
		width: 5px;
		height: 5px;
	}

	.calendar-navigation {
		flex-wrap: wrap;
	}

	.nav-button {
		flex: 1;
		min-width: 100px;
		padding: 8px 12px;
		font-size: 0.85rem;
	}

	.nav-current {
		width: 100%;
		text-align: center;
		margin: 10px 0;
	}

	.nobeoka-calendar,
	.movies-section {
		padding: 15px;
	}

	.schedule-container {
		gap: 20px;
		margin: 20px 0;
	}

	.calendar-header h2 {
		font-size: 1.5rem;
	}

	.movies-section {
		height: auto;
	}
}

@media (max-width: 480px) {
	.calendar-table {
		font-size: 0.75rem;
	}

	.calendar-table th {
		padding: 6px 2px;
		font-size: 0.7rem;
	}

	.calendar-table td {
		height: 60px;
	}

	.day-number {
		font-size: 0.8rem;
	}

	.screening-indicator {
		width: 4px;
		height: 4px;
	}

	.nav-button {
		font-size: 0.8rem;
		padding: 6px 10px;
	}

	.calendar-header h2 {
		font-size: 1.3rem;
	}
}

/* ============================================================
   [3] Movie (旧 movie.css)
   ============================================================ */

/* 映画カード */
.movie-card {
	background: white;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #ddd;
}

.movie-card:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

/* 映画リスト内のカード（横レイアウト） */
.movies-list .movie-card {
	flex-direction: row;
	gap: 16px;
	align-items: stretch;
	overflow: visible;
	margin-bottom: 16px;
	padding-bottom: 0;
	border-bottom: none;
}

.movies-list .movie-card-header {
	flex-shrink: 0;
	width: 160px;
	min-width: 160px;
}

.movies-list .movie-thumbnail {
	width: 160px;
	height: 160px;
	margin: 0;
}

.movies-list .movie-card-body {
	flex: 1;
	padding: 12px 0 12px 0;
	display: flex;
	flex-direction: column;
}

.movies-list .movie-title {
	font-size: 1.1rem;
	margin: 0 0 8px 0;
}

.movies-list .movie-excerpt {
	margin-bottom: 8px;
	flex: 1;
	font-size: 0.9rem;
}

.movies-list .screening-times {
	margin: 8px 0;
	padding: 8px;
	margin-bottom: 10px;
}

.movies-list .movie-card-footer {
	padding-top: 0;
	border-top: none;
	margin-top: auto;
}

.movies-list .movie-card-footer .button {
	width: auto;
	padding: 8px 16px;
	font-size: 0.9rem;
}

.movie-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.movie-card-header {
	overflow: hidden;
	background-color: #f9f9f9;
}

.movie-thumbnail {
	width: 100%;
	height: 250px;
	overflow: hidden;
	background-color: #eee;
	display: flex;
	align-items: center;
	justify-content: center;
}

.movie-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.movie-card:hover .movie-thumbnail img {
	transform: scale(1.03);
}

.movie-thumbnail.placeholder {
	color: #999;
	font-size: 1rem;
	font-style: italic;
}

.movie-card-body {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.movie-title {
	font-size: 1.3rem;
	margin: 0 0 12px 0;
	line-height: 1.3;
	color: #333;
}

.movie-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.movie-title a:hover {
	color: #666;
}

.movie-details {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
	font-size: 0.9rem;
}

/* レーティングバッジ */
.rating-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 3px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background-color: #f0f0f0;
	color: #333;
	border: 1px solid #ccc;
}

.rating-g,
.rating-pg12,
.rating-r15plus,
.rating-r18plus {
	background-color: #f0f0f0;
	color: #333;
	border: 1px solid #ccc;
}

.movie-duration {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #666;
}

.movie-duration .label {
	font-weight: 600;
}

.movie-duration .value {
	font-family: monospace;
}

.movie-genre {
	display: flex;
	gap: 8px;
	align-items: center;
	color: #666;
}

.movie-genre strong {
	font-weight: 600;
}

.movie-excerpt {
	flex: 1;
	margin-bottom: 12px;
	color: #666;
	line-height: 1.6;
	font-size: 0.95rem;
}

.movie-excerpt p {
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* 上映時刻 */
.screening-times {
	margin: 12px 0;
	padding: 12px;
	background-color: #f9f9f9;
	border-left: 2px solid #666;
	border-radius: 3px;
}

.screening-times strong {
	display: block;
	margin-bottom: 8px;
	color: #333;
	font-size: 0.9rem;
}

.screening-times ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.screening-times li {
	display: inline-block;
	background-color: #e8e8e8;
	color: #333;
	padding: 6px 12px;
	border-radius: 3px;
	margin-right: 8px;
	margin-bottom: 6px;
	font-weight: 500;
	font-size: 0.85rem;
	border: 1px solid #ccc;
}

.movie-card-footer {
	padding-top: 12px;
	border-top: 1px solid #ddd;
}

.movie-card-footer .button {
	width: 100%;
	text-align: center;
	padding: 10px;
	background-color: #333;
	color: white;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	font-weight: 600;
	transition: background-color 0.3s ease;
	text-decoration: none;
	display: block;
}

.movie-card-footer .button:hover {
	background-color: #555;
	text-decoration: none;
	color: white;
}

/* レーティング説明 */
.rating-legend {
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 20px;
	margin: 20px 0 30px 0;
}

.rating-legend h3 {
	font-size: 1.1rem;
	margin: 0 0 15px 0;
	color: #333;
}

.rating-legend ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.rating-legend li {
	padding: 8px 0;
	border-bottom: 1px solid #eee;
	color: #666;
	font-size: 0.95rem;
	line-height: 1.5;
}

.rating-legend li:last-child {
	border-bottom: none;
}

.rating-legend strong {
	color: #333;
	font-weight: 600;
	display: inline-block;
	min-width: 60px;
}

/* 映画グリッド */
.movies-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
	margin: 30px 0;
}

/* 単一映画ページ */
.single-movie {
	max-width: 800px;
	margin: 0 auto;
}

.movie-header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #333;
}

.movie-header h1 {
	font-size: 2.5rem;
	margin: 0 0 20px 0;
	color: #333;
}

.movie-meta {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	align-items: center;
	font-size: 0.95rem;
}

.movie-rating {
	display: flex;
	align-items: center;
}

.movie-genre,
.movie-duration {
	display: flex;
	gap: 8px;
	align-items: center;
}

.movie-genre strong,
.movie-duration strong {
	font-weight: 600;
	color: #333;
}

.movie-thumbnail {
	margin: 30px 0;
	text-align: center;
	overflow: hidden;
	border-radius: 4px;
	max-height: 400px;
	background-color: #f0f0f0;
	border: 1px solid #ddd;
}

.movie-thumbnail img {
	max-width: 100%;
	height: auto;
	display: block;
}

.movie-content {
	margin: 30px 0;
	line-height: 1.8;
	color: #555;
}

.movie-content p {
	margin-bottom: 15px;
}

.movie-schedule {
	margin: 40px 0;
	padding: 20px;
	background-color: #f9f9f9;
	border-left: 2px solid #666;
	border-radius: 4px;
	border: 1px solid #ddd;
}

.movie-schedule h2 {
	font-size: 1.5rem;
	margin-top: 0;
	color: #333;
}

.schedule-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
}

.schedule-table thead {
	background-color: #f0f0f0;
	color: #333;
	border: 1px solid #ddd;
}

.schedule-table th {
	padding: 12px;
	text-align: left;
	font-weight: 600;
	border: 1px solid #ddd;
}

.schedule-table td {
	padding: 12px;
	border: 1px solid #ddd;
	background-color: white;
}

.schedule-table tbody tr:nth-child(even) td {
	background-color: #f9f9f9;
}

.schedule-table tbody tr:hover td {
	background-color: #f5f5f5;
}

.times-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.times-list li {
	background-color: #f0f0f0;
	color: #333;
	padding: 6px 12px;
	border-radius: 3px;
	font-weight: 500;
	font-size: 0.9rem;
	border: 1px solid #ccc;
}

.times-badge {
	display: inline-block;
	background-color: #f0f0f0;
	color: #333;
	padding: 6px 12px;
	border-radius: 3px;
	font-weight: 600;
	font-size: 0.9rem;
	margin-right: 8px;
	margin-bottom: 8px;
	border: 1px solid #ccc;
}

.no-schedule {
	text-align: center;
	padding: 30px 20px;
	color: #999;
	font-style: italic;
	background-color: #f9f9f9;
	border-radius: 4px;
	border: 1px solid #ddd;
}

.movie-footer {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #ddd;
}

/* 特記メモ表示 */
.movie-note {
	margin: 40px 0;
	padding: 20px;
	background-color: #f9f9f9;
	border-left: 2px solid #666;
	border-radius: 4px;
	border: 1px solid #ddd;
}

.movie-note h3 {
	font-size: 1.2rem;
	margin: 0 0 12px;
	color: #333;
}

.movie-note-body {
	font-size: 0.95rem;
	line-height: 1.8;
	color: #444;
	word-wrap: break-word;
}

/* チケット料金表示 */
.movie-pricing {
	margin: 40px 0;
	padding: 20px;
	background-color: #f9f9f9;
	border-left: 2px solid #666;
	border-radius: 4px;
	border: 1px solid #ddd;
}

.movie-pricing h3 {
	font-size: 1.3rem;
	margin-top: 0;
	color: #333;
	margin-bottom: 15px;
}

.pricing-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
	background-color: white;
	border-radius: 3px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pricing-table thead {
	background-color: #f0f0f0;
	color: #333;
}

.pricing-table th {
	padding: 12px;
	text-align: left;
	font-weight: 600;
	border: 1px solid #ddd;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.pricing-table td {
	padding: 12px;
	border: 1px solid #ddd;
	background-color: white;
}

.pricing-table tbody tr:nth-child(even) td {
	background-color: #f9f9f9;
}

.pricing-table tbody tr:hover td {
	background-color: #f5f5f5;
}

.pricing-category {
	font-weight: 500;
	color: #333;
}

.pricing-amount {
	font-family: monospace;
	font-weight: 600;
	color: #333;
	font-size: 1.1rem;
}

/* カード内の料金プレビュー */
.movie-pricing-preview {
	margin-top: 12px;
	padding: 12px;
	background-color: #f0f0f0;
	border-radius: 3px;
	display: flex;
	gap: 8px;
	align-items: center;
	font-size: 0.95rem;
	border: 1px solid #ccc;
}

.movie-pricing-preview .label {
	font-weight: 600;
	color: #333;
}

.movie-pricing-preview .price {
	font-family: monospace;
	font-weight: 600;
	color: #333;
	font-size: 1.1rem;
}

/* アーカイブ */
.archive-movie {
	margin: 30px 0;
}

.archive-header {
	margin-bottom: 40px;
}

.archive-header h1 {
	font-size: 2.5rem;
	margin: 0;
	color: #333;
	border-bottom: 2px solid #333;
	padding-bottom: 15px;
}

.no-posts {
	text-align: center;
	padding: 60px 20px;
	background-color: #f9f9f9;
	border-radius: 4px;
	color: #999;
	border: 1px solid #ddd;
}

.no-posts p {
	font-size: 1.1rem;
	margin: 0;
}

.schedule-status {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 3px;
	font-size: 0.8rem;
	font-weight: 600;
	margin: 8px 0;
	background-color: #f0f0f0;
	color: #333;
	border: 1px solid #ccc;
}

.schedule-status.no-schedule {
	background-color: #f0f0f0;
	color: #333;
	border: 1px solid #ccc;
}

.read-more {
	display: inline-block;
	margin-top: 12px;
	color: #333;
	font-weight: 600;
	transition: color 0.3s ease;
}

.read-more:hover {
	color: #666;
}

/* movie のレスポンシブ */
@media (max-width: 768px) {
	.movies-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 16px;
	}

	.movie-thumbnail {
		height: 200px;
	}

	.movie-card-body {
		padding: 15px;
	}

	.movie-title {
		font-size: 1.1rem;
	}

	.movie-header h1 {
		font-size: 1.8rem;
	}

	.movie-details {
		gap: 8px;
	}

	.rating-badge {
		padding: 3px 8px;
		font-size: 0.75rem;
	}

	.screening-times li {
		padding: 5px 10px;
		font-size: 0.75rem;
		margin-right: 6px;
	}

	.schedule-table {
		font-size: 0.9rem;
	}

	.schedule-table th,
	.schedule-table td {
		padding: 8px;
	}

	.times-list {
		gap: 6px;
	}

	.times-list li {
		padding: 4px 8px;
		font-size: 0.85rem;
	}

	.movie-pricing {
		padding: 15px;
		margin: 30px 0;
	}

	.movie-pricing h3 {
		font-size: 1.1rem;
		margin-bottom: 12px;
	}

	.pricing-table {
		font-size: 0.9rem;
	}

	.pricing-table th,
	.pricing-table td {
		padding: 8px;
	}

	.pricing-amount {
		font-size: 1rem;
	}

	.movie-pricing-preview {
		font-size: 0.9rem;
		padding: 10px;
	}

	.rating-legend {
		padding: 15px;
		margin: 20px 0 25px 0;
	}

	.rating-legend h3 {
		font-size: 1rem;
		margin-bottom: 12px;
	}

	.rating-legend li {
		padding: 6px 0;
		font-size: 0.9rem;
	}

	.archive-header h1 {
		font-size: 1.8rem;
	}
}

@media (max-width: 480px) {
	.movies-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.movie-card {
		display: grid;
		grid-template-columns: 120px 1fr;
		gap: 12px;
	}

	.movie-card-header {
		grid-column: 1;
		grid-row: 1 / 3;
	}

	.movie-thumbnail {
		height: 120px;
		margin: 0;
	}

	.movie-card-body {
		grid-column: 2;
		grid-row: 1;
		padding: 12px;
	}

	.movie-card-footer {
		grid-column: 1 / 3;
		padding: 12px;
	}

	.movie-title {
		font-size: 1rem;
		margin-bottom: 8px;
	}

	.movie-details {
		gap: 6px;
		font-size: 0.85rem;
	}

	.screening-times {
		margin: 8px 0;
		padding: 8px;
	}

	.screening-times strong {
		font-size: 0.85rem;
		margin-bottom: 6px;
	}

	.screening-times li {
		padding: 4px 8px;
		font-size: 0.7rem;
		margin-right: 4px;
		margin-bottom: 4px;
	}

	.movie-excerpt {
		margin-bottom: 8px;
		font-size: 0.85rem;
	}

	.movie-excerpt p {
		-webkit-line-clamp: 2;
	}

	.read-more {
		font-size: 0.85rem;
		margin-top: 8px;
	}

	.movie-header h1 {
		font-size: 1.5rem;
	}

	.movie-meta {
		gap: 12px;
		font-size: 0.85rem;
	}

	.schedule-table {
		font-size: 0.8rem;
	}

	.schedule-table th,
	.schedule-table td {
		padding: 6px;
	}

	.times-list {
		gap: 4px;
	}

	.times-list li {
		padding: 3px 6px;
		font-size: 0.75rem;
	}

	.movie-pricing {
		padding: 12px;
		margin: 20px 0;
	}

	.movie-pricing h3 {
		font-size: 1rem;
		margin-bottom: 10px;
	}

	.pricing-table {
		font-size: 0.8rem;
	}

	.pricing-table th,
	.pricing-table td {
		padding: 6px;
	}

	.pricing-category {
		font-size: 0.85rem;
	}

	.pricing-amount {
		font-size: 0.9rem;
	}

	.movie-pricing-preview {
		font-size: 0.85rem;
		padding: 8px;
		flex-direction: column;
		align-items: flex-start;
	}

	.rating-legend {
		padding: 12px;
		margin: 15px 0 20px 0;
	}

	.rating-legend h3 {
		font-size: 0.95rem;
		margin-bottom: 10px;
	}

	.rating-legend li {
		padding: 5px 0;
		font-size: 0.85rem;
	}

	.rating-legend strong {
		min-width: 50px;
	}

	.archive-header h1 {
		font-size: 1.5rem;
	}
}


/* ===== Main ===== */
main {
	padding: 22px 0 46px;
}

.section-title {
	margin: 18px 0 10px;
	font-size: 14px;
	color: var(--rinji-muted);
	font-weight: 600;
	letter-spacing: .04em;
}

.rule {
	height: 1px;
	background: var(--rinji-line);
	margin: 8px 0 18px;
}

/* ===== News ===== */
.news {
	display: grid;
	gap: 10px;
	font-size: 13px;
	color: #555;
}

.news-row {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 12px;
	align-items: start;
}

.news-row a {
	color: inherit;
}

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

.news-date {
	color: #777;
}

.news-more {
	display: flex;
	justify-content: flex-end;
	margin-top: 8px;
	color: #777;
	font-size: 12px;
}

.news-more a {
	border-bottom: 1px solid #cfcfcf;
	padding-bottom: 2px;
}

.news-excerpt {
	font-size: 12px;
	color: #888;
	margin-top: 4px;
	line-height: 1.5;
}

.news-pagination {
	margin: 24px 0 12px;
	font-size: 13px;
}

.news-pagination .page-numbers {
	display: inline-block;
	padding: 6px 10px;
	margin: 0 2px;
	border: 1px solid var(--rinji-btn-line);
	border-radius: 6px;
	color: #666;
	background: #fff;
}

.news-pagination .page-numbers.current {
	background: #8a8a8a;
	color: #fff;
	border-color: #8a8a8a;
}

/* ===== News layout (sidebar + main) ===== */
.news-layout {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 32px;
	align-items: start;
}

.news-sidebar .section-title {
	margin-top: 0;
}

.news-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
	color: #555;
}

.news-cat-list li {
	padding: 6px 0;
	border-bottom: 1px solid var(--rinji-line);
}

.news-cat-list li:last-child {
	border-bottom: none;
}

.news-cat-list a {
	color: inherit;
	display: inline-block;
}

.news-cat-list a:hover {
	color: #222;
	text-decoration: underline;
}

.news-cat-list .children {
	list-style: none;
	margin: 6px 0 0;
	padding-left: 12px;
	border-top: 1px solid var(--rinji-line);
}

.news-cat-list .children li:last-child {
	padding-bottom: 0;
}

.news-single {
	padding: 12px 0 24px;
}

.news-single-date {
	font-size: 12px;
	color: #888;
	margin-bottom: 6px;
}

.news-single-title {
	font-size: 20px;
	font-weight: 600;
	color: #333;
	margin: 0 0 16px;
	line-height: 1.4;
}

.news-single-content {
	font-size: 14px;
	color: #444;
	line-height: 1.8;
}

.news-single-content p {
	margin: 0 0 12px;
}

/* ===== Movie 詳細ページのシアターバッジ ===== */
.theater-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--rinji-chip);
	color: var(--rinji-chip-text);
	font-size: 12px;
	white-space: nowrap;
}

.theater-badge.is-unset {
	background: #eee;
	color: #999;
}

/* ===== 作品紹介ページ (page-works.php) ===== */
.works-hero {
	background: #111;
	color: #fff;
	padding: 26px 0;
}

.works-hero-title {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
	color: #fff;
	letter-spacing: .04em;
}

.breadcrumbs {
	font-size: 11px;
	color: #999;
	padding: 12px 0 0;
}

.breadcrumbs a {
	color: #999;
}

.breadcrumbs-sep {
	margin: 0 6px;
	color: #ccc;
}

.works-page {
	padding-bottom: 40px;
}

.works-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 16px 0 20px;
}

.works-tab {
	appearance: none;
	background: #fff;
	color: #666;
	border: 1px solid var(--rinji-btn-line);
	border-radius: 8px;
	padding: 14px 12px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.4;
	transition: background .15s ease, color .15s ease;
}

.works-tab.is-active {
	background: #8a8a8a;
	color: #fff;
	border-color: #8a8a8a;
}

.works-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.works-list.is-hidden {
	display: none;
}

.works-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--rinji-btn-line);
	border-radius: var(--rinji-radius-2);
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: box-shadow .15s ease, transform .15s ease;
}

.works-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
	transform: translateY(-1px);
	text-decoration: none;
}

.works-card-poster {
	flex: 0 0 auto;
	width: 60px;
	height: 84px;
	background: #bfbfbf;
	border-radius: 6px;
	overflow: hidden;
}

.works-card-poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.works-card-body {
	flex: 1;
	min-width: 0;
}

.works-card-title {
	font-size: 13px;
	font-weight: 600;
	color: #555;
	line-height: 1.4;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.works-card-sub {
	font-size: 12px;
	color: #777;
	margin-top: 4px;
}

.works-empty {
	padding: 30px 12px;
	text-align: center;
	color: #999;
	font-size: 13px;
	border: 1px dashed var(--rinji-btn-line);
	border-radius: 12px;
}

/* ===== 2x2 buttons ===== */
.grid-2x2 {
	margin-top: 18px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.panel-btn {
	border: 1px solid var(--rinji-btn-line);
	border-radius: 10px;
	padding: 18px 12px;
	text-align: center;
	background: #fff;
	font-weight: 600;
	color: #666;
	display: block;
}

.panel-btn small {
	display: block;
	font-weight: 500;
	color: #777;
	margin-top: 4px;
	line-height: 1.4;
}

/* ===== Schedule ===== */
.note {
	font-size: 11px;
	color: #777;
	margin: 10px 0 16px;
}

/* Date tabs — 左右矢印ボタン + 横スクロール */
.date-tabs-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 12px 0 18px;
}

.date-tabs-arrow {
	flex: 0 0 auto;
	width: 32px;
	height: 40px;
	border: 1px solid var(--rinji-btn-line);
	border-radius: 6px;
	background: #fff;
	color: #666;
	font-size: 14px;
	cursor: pointer;
	line-height: 1;
}

.date-tabs-arrow:disabled {
	opacity: .35;
	cursor: default;
}

.date-tabs {
	flex: 1 1 auto;
	display: flex;
	gap: 0;
	border: 1px solid var(--rinji-btn-line);
	border-radius: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scrollbar-width: thin;
}

.date-tabs::-webkit-scrollbar {
	height: 6px;
}

.date-tabs::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 3px;
}

.date-tabs button {
	flex: 0 0 auto;
	min-width: 92px;
	border: 0;
	border-right: 1px solid var(--rinji-btn-line);
	background: #fff;
	padding: 10px 12px;
	font-size: 12px;
	color: #666;
	cursor: pointer;
	white-space: nowrap;
}

.date-tabs button:last-child {
	border-right: 0;
}

.date-tabs button.is-active {
	background: #8a8a8a;
	color: #fff;
	font-weight: 600;
}

.date-tabs-empty {
	flex: 1 1 auto;
	padding: 12px;
	font-size: 12px;
	color: #999;
	text-align: center;
	border: 1px dashed var(--rinji-btn-line);
	border-radius: 8px;
}

/* ===== Movie cards ===== */
.movies-container {
	min-height: 60px;
}

.movies-loading {
	padding: 20px;
	text-align: center;
	color: #999;
	font-size: 12px;
}

.movies-empty {
	padding: 30px 12px;
	text-align: center;
	color: #999;
	font-size: 13px;
	border: 1px dashed var(--rinji-btn-line);
	border-radius: 12px;
	margin: 14px 0;
}

.movie-card {
	border: 1px solid var(--rinji-btn-line);
	border-radius: var(--rinji-radius-2);
	padding: 14px;
	margin: 14px 0;
	background: #fff;
}

.movie-head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.poster {
	width: 74px;
	height: 74px;
	border-radius: 12px;
	background: #bfbfbf;
	flex: 0 0 auto;
	overflow: hidden;
}

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

/* ===== NO IMAGE プレースホルダ（トップページ / 作品紹介 共通） ===== */
.poster.poster-noimage,
.works-card-poster.poster-noimage {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #d0d0d0;
	color: #6a6a6a;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-align: center;
}

.poster.poster-noimage span,
.works-card-poster.poster-noimage span {
	display: inline-block;
	padding: 0 4px;
	line-height: 1.2;
}

.movie-meta {
	flex: 1;
	min-width: 0;
}

.movie-title {
	font-size: 13px;
	font-weight: 600;
	color: #555;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.movie-sub {
	font-size: 12px;
	color: #777;
	margin-top: 4px;
}

.movie-action {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #777;
	font-size: 12px;
	flex: 0 0 auto;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.chev {
	width: 0;
	height: 0;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 9px solid #888;
	margin-top: 2px;
	transition: transform .2s;
}

.movie-card.is-open .chev {
	transform: rotate(180deg);
}

.movie-body {
	display: none;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--rinji-line);
}

.movie-card.is-open .movie-body {
	display: block;
}

.info-link {
	display: inline-block;
	border: 1px solid var(--rinji-btn-line);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 12px;
	color: #666;
	background: #fff;
	margin-bottom: 12px;
}

.times {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.time-chip {
	background: var(--rinji-chip);
	color: var(--rinji-chip-text);
	border-radius: 999px;
	padding: 10px 14px;
	font-size: 12px;
	min-width: 160px;
	text-align: center;
}

.time-chip span {
	display: block;
	font-size: 11px;
	opacity: .95;
	margin-bottom: 2px;
}

/* ===== Bottom CTA ===== */
.bottom-cta {
	margin-top: 22px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

/* ===== Rinji Responsive ===== */
@media (max-width: 720px) {
	.news-row { grid-template-columns: 110px 1fr; }
	.grid-2x2 { grid-template-columns: 1fr; }
	.bottom-cta { grid-template-columns: 1fr; }
	.news-layout { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================================
   [5] Metronic (05_web) トーン調整レイヤー
   ============================================================ */

/* ページタイトル帯（ワイヤーフレーム共通の黒帯） */
.page-title-band {
	background: #2b2b2b;
	color: #fff;
	padding: 45px 0;
	margin-bottom: 25px;
}

.page-title-band h1 {
	margin: 0;
	font-size: 28px;
	font-weight: 400;
	color: #fff;
	letter-spacing: .05em;
}

/* パンくず */
.breadcrumbs {
	margin: 0 0 20px;
	font-size: 12px;
	color: #999;
}

/* セクション見出しを Metronic の h2 トーンに */
.section-title {
	font-size: 22px;
	font-weight: 400;
	color: #333;
	margin: 30px 0 8px;
}

.rule {
	border-bottom: 1px solid #e6e6e6;
	margin-bottom: 18px;
}

/* アクセント（Metronic shop red） */
.date-tabs button.is-active,
.works-tab.is-active {
	background: #2b2b2b;
	color: #fff;
	border-color: #2b2b2b;
}

.panel-btn:hover,
.works-card:hover .works-card-title,
.news-row a:hover {
	color: #e84d1c;
}

.info-link:hover,
.news-more a:hover {
	color: #e84d1c;
	border-color: #e84d1c;
}

/* Metronic 内のコンテンツ余白調整 */
main {
	display: block;
}

main > .container,
main .schedule-container,
main .archive-movie,
main .single-movie {
	margin-top: 10px;
	margin-bottom: 40px;
}

/* 交通アクセス・料金・前売り 固定ページ共通 */
.page-static .map-embed,
.page-static .map-placeholder {
	width: 100%;
	min-height: 380px;
	background: #9d9d9d;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	margin: 10px 0 12px;
}

.page-static .map-embed iframe {
	width: 100%;
	min-height: 380px;
	border: 0;
	display: block;
}

.page-static .sub-heading {
	font-size: 20px;
	font-weight: 400;
	margin: 30px 0 6px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e6e6e6;
}

.page-static .note-box {
	border: 1px solid #ccc;
	border-radius: 16px;
	padding: 22px 26px;
	margin: 26px 0;
}

.page-static .note-box h3 {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 400;
}

/* 料金表 */
.price-table {
	width: 100%;
	border-collapse: collapse;
	margin: 14px 0 20px;
	font-size: 14px;
}

.price-table th,
.price-table td {
	border: 1px solid #444;
	padding: 8px 12px;
	text-align: left;
	vertical-align: middle;
}

.price-table td.price {
	text-align: right;
	white-space: nowrap;
	width: 140px;
}

.price-table .group-head {
	background: #f5f5f5;
}

.price-table .sub-note {
	font-size: 12px;
	color: #555;
}

/* 前売りチケットカード */
.ticket-card {
	border: 1px solid #ccc;
	border-radius: 16px;
	padding: 22px;
	margin-bottom: 24px;
	display: grid;
	grid-template-columns: 170px 1fr;
	gap: 22px;
}

.ticket-card .poster {
	width: 170px;
	height: 240px;
}

.ticket-card .ticket-title {
	font-size: 16px;
	margin-bottom: 4px;
}

.ticket-card .ticket-sub {
	color: #777;
	font-size: 13px;
	margin-bottom: 14px;
}

.ticket-card .ticket-body p {
	margin: 0 0 6px;
	font-size: 14px;
}

.ticket-card .ticket-benefit {
	margin-top: 14px;
	font-weight: bold;
	font-size: 14px;
}

/* 作品詳細（single-movie）ワイヤーフレーム構成 */
.movie-detail-card {
	border: 1px solid #ccc;
	border-radius: 22px;
	padding: 30px;
	margin-bottom: 30px;
}

.movie-detail-head {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 30px;
	margin-bottom: 26px;
}

.movie-detail-head .poster {
	width: 100%;
	max-width: 300px;
	height: auto;
	aspect-ratio: 3 / 4;
}

.movie-detail-head .poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.movie-detail-title {
	font-size: 20px;
	margin: 0 0 6px;
}

.movie-detail-sub {
	color: #777;
	font-size: 14px;
	margin-bottom: 16px;
}

.movie-detail-content {
	font-size: 14px;
	line-height: 1.9;
}

.movie-detail-content iframe {
	max-width: 100%;
}

.movie-detail-actions {
	margin-top: 26px;
	display: grid;
	gap: 14px;
}

.movie-detail-actions .panel-btn {
	text-align: center;
}

.movie-detail-actions .actions-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

/* お知らせ詳細の本文画像 */
.news-single-content img {
	max-width: 100%;
	height: auto;
}

/* レスポンシブ補足 */
@media (max-width: 767px) {
	.page-title-band {
		padding: 28px 0;
	}

	.page-title-band h1 {
		font-size: 22px;
	}

	.movie-detail-head,
	.ticket-card {
		grid-template-columns: 1fr;
	}

	.ticket-card .poster {
		margin: 0 auto;
	}

	.movie-detail-actions .actions-row {
		grid-template-columns: 1fr;
	}

	.date-tabs button {
		font-size: 12px;
	}
}

/* テキストロゴ（カスタムロゴ未設定時） */
.header .site-logo-text {
	display: inline-block;
	float: left;
	padding: 20px 0;
	font-size: 22px;
	color: #333;
	letter-spacing: .06em;
	text-decoration: none;
}

.header .site-logo-text:hover {
	color: #e84d1c;
	text-decoration: none;
}

/* ============================================================
   [6] v2: Metronic実マークアップ用の調整レイヤー
   ============================================================ */

/* タイトル帯: 05_webの.title-wrapperをシネマ用（黒帯・写真なし）に調整 */
.title-wrapper.title-wrapper-cinema {
	background: #2b2b2b;
	min-height: 0;
	padding: 40px 0 30px;
}

.title-wrapper.title-wrapper-cinema .container-inner {
	float: none;
}

.ecommerce .title-wrapper.title-wrapper-cinema h1 {
	font-size: 32px;
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 4px;
}

.title-wrapper.title-wrapper-cinema h1 span {
	color: #fff;
}

.title-wrapper.title-wrapper-cinema em {
	text-align: left;
	font-size: 13px;
	color: #e84d1c;
	letter-spacing: .2em;
	padding: 0 9px;
}

/* product-item: ポスター用プレースホルダーと補足テキスト */
.pi-noimage {
	width: 100%;
	aspect-ratio: 3 / 4;
	background: #9d9d9d;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	letter-spacing: .1em;
}

.pi-noimage.pi-noimage-tall {
	min-height: 320px;
}

.product-item .pi-sub {
	color: #777;
	font-size: 12px;
	margin-bottom: 10px;
}

/* 公開中/公開予定タブ: Metronicトーン（角丸なし・赤アクセント） */
.works-tabs {
	display: flex;
	gap: 0;
	margin-bottom: 25px;
}

.works-tab {
	flex: 1;
	padding: 14px 10px;
	border: 1px solid #e6e6e6;
	background: #fff;
	color: #333;
	font-size: 15px;
	border-radius: 0;
	cursor: pointer;
	transition: background .2s, color .2s;
}

.works-tab + .works-tab {
	border-left: none;
}

.works-tab.is-active {
	background: #e84d1c;
	border-color: #e84d1c;
	color: #fff;
}

/* クイックパネル（2x2 / 下部CTA）: Metronicトーン */
.quick-panels .panel-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 90px;
	margin-bottom: 20px;
	padding: 18px 14px;
	border: 1px solid #e6e6e6;
	border-radius: 0;
	background: #fff;
	color: #333;
	font-size: 16px;
	text-align: center;
	text-decoration: none;
	transition: border-color .2s, color .2s;
	box-shadow: none;
}

.quick-panels .panel-btn:hover {
	border-color: #e84d1c;
	color: #e84d1c;
	text-decoration: none;
}

.quick-panels .panel-btn small {
	font-size: 12px;
	color: #777;
}

/* 機能コンポーネントの角丸をMetronicトーン（スクエア）に統一 */
.movie-card,
.date-tabs button,
.date-tabs-arrow,
.movie-action,
.time-chip,
.time-chip span,
.note,
.movies-empty,
.works-empty,
.date-tabs-empty,
.note-box,
.map-placeholder,
.info-link {
	border-radius: 0;
}

.movie-card {
	border-color: #e6e6e6;
	box-shadow: none;
}

.date-tabs button.is-active {
	background: #e84d1c;
	border-color: #e84d1c;
	color: #fff;
}

/* WPページネーション（the_posts_pagination）をMetronic/bootstrapトーンに */
.works-paginator .nav-links {
	text-align: right;
}

.works-paginator .page-numbers {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 2px 4px 0;
	border: 1px solid #e6e6e6;
	color: #333;
	font-size: 13px;
	text-decoration: none;
}

.works-paginator .page-numbers.current {
	background: #e84d1c;
	border-color: #e84d1c;
	color: #fff;
}

.works-paginator .page-numbers:hover {
	border-color: #e84d1c;
	color: #e84d1c;
	text-decoration: none;
}

/* サイドバー: カテゴリー件数 */
.sidebar-menu .pull-right {
	color: #999;
	font-size: 12px;
}

/* 前売りチケット: 作品ブロック */
.ticket-item {
	border: 1px solid #e6e6e6;
	padding: 24px;
	margin-bottom: 24px;
}

.ticket-item h2 {
	margin-top: 0;
}

/* 作品詳細: アクションボタン */
.movie-detail-actions .btn {
	margin: 0 8px 8px 0;
}

.movie-detail-sub {
	color: #777;
	font-size: 14px;
	margin-bottom: 14px;
}

/* 地図プレースホルダー（sidebar幅に依存しない汎用化） */
.map-placeholder {
	width: 100%;
	min-height: 380px;
	background: #9d9d9d;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

/* v2 レスポンシブ補足 */
@media (max-width: 767px) {
	.title-wrapper.title-wrapper-cinema {
		padding: 26px 0 20px;
	}

	.ecommerce .title-wrapper.title-wrapper-cinema h1 {
		font-size: 24px;
	}

	.quick-panels .panel-btn {
		min-height: 70px;
	}
}
