/* Theater・ラグ・203 — 静的サイト用の追加スタイル */

@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap");

/* --- 全体レイアウト --- */
body {
	background-color: #eceae6 !important;
}

div#main-container {
	max-width: 960px;
	margin-left: auto !important;
	margin-right: auto !important;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07) !important;
}

div#main-container #footer {
	width: auto !important;
	min-height: 0 !important;
	background-color: #f5f4f2 !important;
	border-top: 1px solid #e0ddd8;
}

div#main-container #footer #footer-inner {
	padding: 20px 32px 24px !important;
	margin: 0 !important;
}

.footer-copyright {
	margin: 0;
	font-size: 12px;
	color: #888;
	text-align: center;
}

div#main-content-inner {
	margin: 32px 32px 48px !important;
}

div#right-sidebar-inner {
	margin: 32px 32px 48px 0 !important;
	padding: 20px 18px;
	background: #faf9f7;
	border: 1px solid #eceae6;
	border-radius: 8px;
}

/* --- ヘッダー --- */
div#main-container #header {
	padding: 20px 32px 0 !important;
	background: #fff !important;
	border-bottom: none !important;
	overflow: hidden;
}

div#main-container #header::after {
	content: "";
	display: block;
	clear: both;
	height: 3px;
	margin: 16px 0 0;
	background: linear-gradient(90deg, #c9a227 0%, #e8d48a 50%, #c9a227 100%);
}

div#main-container #header .site-brand {
	float: left;
}

div#main-container #header .site-brand-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

div#main-container #header .site-brand-link:hover {
	text-decoration: none;
	opacity: 0.85;
}

.site-brand-name {
	display: block;
	line-height: 1.2;
	margin: 0 0 4px;
	white-space: nowrap;
}

.site-brand-theater {
	font-family: "Merriweather", Georgia, serif;
	font-style: italic;
	font-size: 26px;
	font-weight: 400;
	color: #3d4f63;
}

.site-brand-ragu {
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
	letter-spacing: 0.04em;
}

.site-brand-num {
	font-family: "Merriweather", Georgia, serif;
	font-size: 26px;
	font-weight: 700;
	color: #9a7b2f;
}

.site-brand-tagline {
	display: block;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #999;
}

div#main-container #header ul.nav {
	float: right;
	margin-top: 12px;
	margin-right: 0;
	margin-bottom: 4px;
}

div#main-container #header ul.nav li a {
	color: #444 !important;
	padding: 8px 12px !important;
	border-radius: 4px;
	font-size: 13px;
}

div#main-container #header ul.nav li a:hover,
div#main-container #header ul.nav li.nav-selected a,
div#main-container #header ul.nav li.nav-path-selected a {
	background-color: #f0ede8 !important;
	color: #1a1a1a !important;
	text-decoration: none !important;
}

div#main-container #header-image {
	clear: both;
	margin: 16px -32px 0;
}

/* --- ページ見出し・本文 --- */
.page-header {
	margin-bottom: 28px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e8e4df;
}

.page-header h1 {
	margin: 0 !important;
	font-size: 1.6rem !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	line-height: 1.4 !important;
}

.page-header .page-lead {
	margin: 6px 0 0;
	font-size: 0.85rem;
	color: #999;
	font-style: italic;
}

.prose {
	font-size: 14px;
	line-height: 1.85;
	color: #333;
}

.prose p {
	margin: 0 0 1em;
}

.prose hr {
	margin: 28px 0;
	border: none;
	border-top: 1px solid #e8e4df;
}

.hub-nav {
	display: grid;
	gap: 10px;
	max-width: 420px;
	margin: 8px auto 0;
	padding: 0;
	list-style: none;
}

.hub-nav a {
	display: block;
	padding: 14px 18px;
	border: 1px solid #e0ddd8;
	border-radius: 6px;
	text-decoration: none !important;
	color: #333 !important;
	font-size: 15px;
	text-align: center;
	background: #fff;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.hub-nav a:hover {
	border-color: #c9a227;
	background: #faf8f5;
}

/* --- サイドバー --- */
.sidebar-link {
	font-size: 13px;
	margin-bottom: 0;
	padding: 8px 0;
	border-bottom: 1px solid #eceae6;
}

.sidebar-link:last-child {
	border-bottom: none;
}

.sidebar-link a {
	color: #444 !important;
	text-decoration: none;
}

.sidebar-link a:hover {
	color: #9a7b2f !important;
}

.sidebar-link a.nav-selected,
.sidebar-link a.nav-path-selected {
	font-weight: 700;
	color: #1a1a1a !important;
}

.slideshow {
	position: relative;
	width: 100%;
	height: 212px;
	overflow: hidden;
	background: #f2f2f2;
}

.slideshow img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
}

.slideshow img.is-active {
	opacity: 1;
}

.blog-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.blog-list li {
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #ddd;
	position: relative;
}

.blog-edit-link {
	margin-left: 10px;
	padding: 2px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #f7f5f2;
	font-size: 12px;
	cursor: pointer;
	vertical-align: middle;
}

.blog-empty {
	color: #888;
	list-style: none;
	margin-left: 0;
}

.blog-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.blog-toolbar h1 {
	margin: 0 !important;
	padding: 0 !important;
}

.blog-toolbar-spacer {
	flex: 1;
}

.blog-manage {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
	padding: 12px;
	background: #faf8f5;
	border: 1px solid #e8e4df;
	border-radius: 8px;
}

.blog-manage[hidden] {
	display: none;
}

.blog-manage-btn {
	padding: 10px 16px;
	border: 1px solid #9a7b2f;
	border-radius: 6px;
	background: #c9a227;
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	min-height: 44px;
}

.blog-manage-btn-muted {
	border-color: #ccc;
	background: #fff;
	color: #555;
	font-weight: 600;
}

.blog-editor-dialog {
	width: min(640px, 100%);
	max-height: 92vh;
	overflow-y: auto;
}

.blog-editor-tools {
	margin: 0 0 12px;
}

.blog-editor-tools button,
.blog-delete-btn {
	padding: 8px 14px;
	border: 1px solid #ccc;
	background: #f5f5f5;
	font: inherit;
	cursor: pointer;
}

.blog-delete-btn {
	margin-left: auto;
	border-color: #e8b4b4;
	color: #b71c1c;
}

.news-editor-actions {
	flex-wrap: wrap;
}

.blog-post-body p {
	margin: 0 0 1em;
	line-height: 1.85;
}

.blog-post-image img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

.blog-date {
	font-size: 12px;
	color: #888;
	margin: 0 0 4px;
}

.blog-excerpt {
	font-size: 13px;
	color: #666;
	margin: 4px 0 0;
}

.blog-post .blog-date {
	margin-bottom: 8px;
}

.blog-back {
	margin-top: 32px;
	font-size: 14px;
}

.member-row {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid #ddd;
}

.member-card {
	flex: 1 1 280px;
	text-align: center;
}

.member-card img {
	display: block;
	margin: 0 auto 12px;
	object-fit: cover;
}

.member-name {
	font-size: 15px;
	font-weight: bold;
	line-height: 1.5;
	margin: 0 0 8px;
}

.member-name-male {
	color: #0000ff;
}

.member-name-female {
	color: #ffa500;
}

.member-role {
	font-size: 13px;
	color: #696969;
	line-height: 1.5;
	margin: 0;
}

.prose img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

.member-intro {
	font-size: 13px;
	color: #888;
	margin: 0 0 24px;
}

.member-coming-soon {
	margin: 28px 0 0;
	padding: 20px;
	font-size: 14px;
	line-height: 1.7;
	text-align: center;
	color: #666;
	background: #faf9f7;
	border: 1px solid #e8e4df;
	border-radius: 6px;
}

.member-section-title {
	font-size: 18px;
	margin: 40px 0 8px;
	padding-top: 16px;
	border-top: 2px solid #ccc;
}

.member-former .member-name-former {
	color: #663399;
}

.member-inactive .member-name-inactive,
.member-inactive .member-role {
	color: #aaa;
}

.member-inactive img {
	opacity: 0.65;
	filter: grayscale(40%);
}

.main-notice {
	line-height: 1.7;
	margin: 0;
	padding: 0;
	border: none;
}

.memorial-note {
	margin: 0 0 12px;
	font-size: 12px;
	line-height: 1.75;
	color: #999;
}

.matsui-promo {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e8e4df;
	text-align: center;
}

.matsui-promo-title {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 700;
	color: #663399;
}

.matsui-promo-sub {
	margin: 0 0 12px;
	font-size: 13px;
	color: #666;
}

.matsui-promo-link {
	font-size: 13px;
}

.matsui-promo-link a {
	color: #9a7b2f !important;
	font-weight: 700;
}

.site-news {
	margin-bottom: 0;
}

.site-news-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e0ddd8;
}

.site-news-toolbar .site-news-heading {
	flex: 1;
}

.site-news-secret {
	display: block;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	line-height: 0;
	opacity: 0.72;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.site-news-secret:hover,
.site-news-secret:focus {
	opacity: 1;
	transform: scale(1.05);
	outline: none;
}

.site-news-secret img {
	display: block;
	width: 28px;
	height: 28px;
}

.site-news-heading {
	font-family: "Merriweather", Georgia, serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #666;
}

.site-news-body {
	min-height: 2.4em;
	padding: 12px 8px 16px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.6;
	text-align: center;
	color: #333;
	white-space: pre-wrap;
}

.site-news-rule {
	display: block;
	margin: 4px 0 16px;
	border: 0;
	border-top: 1px solid #cfc9c0;
	height: 0;
}

.news-editor {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(20, 28, 40, 0.55);
}

.news-editor[hidden] {
	display: none;
}

.news-editor-dialog {
	width: min(520px, 100%);
	padding: 24px;
	background: #fff;
	border-top: 4px solid #c9a227;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.news-editor-title {
	margin: 0 0 16px;
	font-size: 18px;
	color: #243447;
}

.news-editor-field {
	display: block;
	margin-bottom: 14px;
}

.news-editor-field span {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: bold;
	color: #666;
}

.news-editor-field input,
.news-editor-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px solid #ccc;
	font: inherit;
}

.news-editor-field textarea {
	resize: vertical;
	min-height: 120px;
	line-height: 1.6;
}

.news-editor-actions {
	display: flex;
	gap: 10px;
	margin-top: 4px;
}

.news-editor-actions button {
	padding: 8px 18px;
	border: 1px solid #ccc;
	background: #f5f5f5;
	font: inherit;
	cursor: pointer;
}

.news-editor-actions #news-save,
.news-editor-actions #blog-save {
	border-color: #2d6b2d;
	background: #009900;
	color: #fff;
}

.news-editor-msg {
	min-height: 1.2em;
	margin: 12px 0 0;
	font-size: 12px;
}

.news-editor-msg.is-error {
	color: #c00;
}

.news-editor-msg.is-ok {
	color: #2d6b2d;
}

.fontpurple18 {
	color: #663399;
}

.kiseki-title {
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e8e4df;
}

.kiseki-title span,
.kiseki-title strong {
	color: #1a1a1a !important;
	font-size: 1.4rem !important;
	font-weight: 700 !important;
}

.kiseki-list {
	max-width: 720px;
}

.kiseki-list p {
	margin: 0;
	line-height: 1.9;
	font-size: 14px;
}

.kiseki-list p strong {
	font-weight: normal;
}

.kiseki-list a {
	font-weight: bold;
}

.kiseki-sub {
	display: block;
	padding-left: 2.2em;
	color: #555;
	font-size: 13px;
	line-height: 1.7;
}

.kiseki-subnav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0 40px 40px;
	padding: 16px 0 0;
	border-top: 1px solid #ddd;
}

.kiseki-subnav .sidebar-link {
	margin: 0;
	font-size: 14px;
}

.page-locus {
	background: #fff;
	color: #333;
}

.locus-content {
	max-width: 560px;
	margin: 0 auto;
	padding: 24px 16px 48px;
}

.locus-content img {
	max-width: 100%;
	height: auto;
}

/* --- スマホ対応（960グリッドを流動化） --- */
@media (max-width: 960px) {
	html {
		-webkit-text-size-adjust: 100%;
	}

	body {
		min-width: 0 !important;
		overflow-x: hidden;
	}

	div#main-container.container_24,
	div#main-container {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-shadow: none !important;
	}

	div#main-container .grid_1,
	div#main-container .grid_2,
	div#main-container .grid_3,
	div#main-container .grid_4,
	div#main-container .grid_5,
	div#main-container .grid_6,
	div#main-container .grid_7,
	div#main-container .grid_8,
	div#main-container .grid_9,
	div#main-container .grid_10,
	div#main-container .grid_11,
	div#main-container .grid_12,
	div#main-container .grid_13,
	div#main-container .grid_14,
	div#main-container .grid_15,
	div#main-container .grid_16,
	div#main-container .grid_17,
	div#main-container .grid_18,
	div#main-container .grid_19,
	div#main-container .grid_20,
	div#main-container .grid_21,
	div#main-container .grid_22,
	div#main-container .grid_23,
	div#main-container .grid_24,
	div#main-container #main-content-container,
	div#main-container #right-sidebar-container,
	div#main-container #left-sidebar-container {
		float: none !important;
		display: block !important;
		clear: both !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		left: auto !important;
	}

	div#main-container #header {
		padding: 16px 16px 0 !important;
		overflow: visible;
	}

	div#main-container #header h1,
	div#main-container #header .site-brand,
	div#main-container #header ul,
	div#main-container #header ul.nav {
		float: none !important;
		display: block !important;
		text-align: center;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-bottom: 0 !important;
	}

	.site-brand-name {
		white-space: normal;
	}

	div#main-container #header ul.nav {
		display: flex !important;
		flex-wrap: wrap;
		justify-content: center;
		gap: 4px;
		margin: 14px 0 8px !important;
		padding: 0;
		list-style: none;
	}

	div#main-container #header ul.nav li {
		float: none !important;
		display: inline-block !important;
		margin: 0;
	}

	div#main-container #header ul.nav li a {
		display: block;
		padding: 10px 12px !important;
		font-size: 14px;
		min-height: 44px;
		box-sizing: border-box;
	}

	.site-brand-theater,
	.site-brand-ragu,
	.site-brand-num {
		font-size: 22px;
	}

	div#main-container #header-image {
		margin: 12px 0 0;
		width: 100%;
	}

	.slideshow {
		height: 42vw;
		min-height: 140px;
		max-height: 220px;
	}

	div#main-content-inner,
	div#right-sidebar-inner,
	div#left-sidebar-inner {
		margin: 20px 16px 28px !important;
	}

	div#right-sidebar-inner {
		margin-top: 0 !important;
		margin-bottom: 24px !important;
	}

	div#main-container #footer {
		width: 100% !important;
		max-width: 100% !important;
		min-height: 0 !important;
	}

	div#main-container #footer #footer-inner {
		padding: 16px !important;
		margin: 0 !important;
	}

	div#footer #footer-inner p.footer-copyright {
		float: none !important;
		display: block !important;
		text-align: center;
	}

	.page-header h1 {
		font-size: 1.35rem !important;
	}

	.hub-nav {
		max-width: none;
	}

	.hub-nav a {
		padding: 14px 16px;
		min-height: 48px;
		box-sizing: border-box;
	}

	.sidebar-link {
		font-size: 14px;
		padding: 12px 0;
	}

	.kiseki-list {
		font-size: 14px;
		line-height: 1.85;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.kiseki-subnav {
		margin: 0 16px 28px;
		gap: 10px 16px;
	}

	.member-row {
		gap: 20px;
	}

	.member-card {
		flex: 1 1 100%;
	}

	.member-card img {
		max-width: 100%;
		height: auto;
	}

	.prose,
	.site-news-body,
	.memorial-note {
		overflow-wrap: anywhere;
	}

	.news-editor {
		padding: 12px;
		align-items: flex-end;
	}

	.news-editor-dialog {
		width: 100%;
		max-width: none;
		border-radius: 12px 12px 0 0;
	}

	img {
		max-width: 100%;
		height: auto;
	}

	table {
		max-width: 100%;
	}
}
