/*
Theme Name: Nobeoka Cinema
Theme URI: https://nobeoka-cinema.local
Author: Development Team
Description: 延岡シネマの上映スケジュール管理システム
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nobeoka
Domain Path: /languages
*/

/* リセット */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	background-color: #f5f5f5;
}

/* グローバルスタイル */
a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #666;
	text-decoration: underline;
}

.site-container {
	max-width: 1200px;
	margin: 0 auto;
	background: white;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-content {
	flex: 1;
	padding: 40px 20px;
}

/* ヘッダー */
.site-header {
	background: #666;
	color: white;
	padding: 30px 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.site-header h1 {
	font-size: 2.5rem;
	margin: 0;
	text-align: center;
}

.site-header p {
	text-align: center;
	margin-top: 10px;
	font-size: 0.95rem;
	opacity: 0.95;
}

/* フッター */
.site-footer {
	background: #333;
	color: white;
	padding: 30px 20px;
	text-align: center;
	font-size: 0.9rem;
	margin-top: auto;
}

/* メインナビゲーション */
.main-navigation {
	background: #222;
	overflow: hidden;
}

.main-navigation ul {
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.main-navigation li {
	display: inline-block;
}

.main-navigation a {
	display: block;
	padding: 15px 20px;
	color: white;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.main-navigation a:hover {
	background-color: #444;
	text-decoration: none;
	color: white;
}

/* レスポンシブ */
@media (max-width: 768px) {
	.site-header h1 {
		font-size: 1.8rem;
	}

	.site-header p {
		font-size: 0.9rem;
	}

	.site-content {
		padding: 20px 15px;
	}

	.main-navigation ul {
		flex-direction: column;
	}

	.main-navigation li {
		width: 100%;
	}

	.main-navigation a {
		border-bottom: 1px solid #333;
	}
}

/* ページの見出し */
.page-title {
	font-size: 2.5rem;
	margin-bottom: 30px;
	color: #333;
	border-bottom: 2px solid #333;
	padding-bottom: 15px;
}

/* ローディング */
.loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(0, 0, 0, 0.1);
	border-top-color: #333;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* アラートメッセージ */
.alert {
	padding: 15px 20px;
	margin: 20px 0;
	border-radius: 3px;
	border-left: 3px solid #666;
	background-color: #f9f9f9;
	color: #333;
}

.alert-success {
	background-color: #f9f9f9;
	color: #333;
	border-left-color: #666;
}

.alert-error {
	background-color: #f9f9f9;
	color: #333;
	border-left-color: #666;
}

.alert-info {
	background-color: #f9f9f9;
	color: #333;
	border-left-color: #666;
}

/* ボタン */
.button,
button {
	display: inline-block;
	padding: 10px 20px;
	background-color: #333;
	color: white;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	font-size: 1rem;
	transition: background-color 0.3s ease;
}

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

/* 公開投稿 */
.post {
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid #ddd;
}

.post-title {
	font-size: 1.8rem;
	margin-bottom: 10px;
}

.post-meta {
	color: #999;
	font-size: 0.9rem;
	margin-bottom: 20px;
}

.post-content {
	line-height: 1.8;
}
