/*
Theme Name: AnimalEdge
Theme URI: https://animaledge.example.com
Description: エキゾチックアニマル特化型知識共有サービス「アニマレッジ」のカスタムテーマ
Version: 1.0.0
Author: AnimalEdge Team
Author URI: https://animaledge.example.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: animaledge
Tags: community, knowledge-sharing, exotic-animals
*/

/* =====================================
   リセットと基本スタイル
   ===================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-color: #00C744;
	--primary-dark: #00A838;
	--secondary-color: #F5F5F5;
	--text-color: #333;
	--text-light: #666;
	--border-color: #DDD;
	--footer-bg: #333;
	--white: #FFF;
	--badge-rookie: #FFD700;
	--badge-veteran: #C0C0C0;
	--badge-expert: #CD7F32;
	--header-height: 76px;
	--menu-bar-height: 51px;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
	color: var(--text-color);
	line-height: 1.6;
	font-size: 16px;
	background-color: var(--white);
	padding-top: calc(var(--header-height) + var(--menu-bar-height));
}

/* WordPress管理バー対応 */
body.admin-bar {
	padding-top: calc(var(--header-height) + var(--menu-bar-height) + 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		padding-top: calc(var(--header-height) + var(--menu-bar-height) + 46px);
	}
}

body.menu-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.3s;
}

a:hover {
	opacity: 0.7;
}

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

/* レスポンシブ画像 */
.article-featured-image img,
.article-image img,
.mypage-item-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* iframe・video のレスポンシブ対応 */
iframe,
video,
embed,
object {
	max-width: 100%;
	height: auto;
}

/* テーブルのレスポンシブ対応 */
.table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

table {
	width: 100%;
	border-collapse: collapse;
}

button,
input,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
}

/* =====================================
   ヘッダー
   ===================================== */
.site-header {
	background-color: var(--white);
	border-bottom: 1px solid var(--border-color);
	padding: 15px 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: var(--header-height);
	z-index: 1000;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* WordPress管理バー対応 - ヘッダー位置調整 */
.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.header-container {
	max-width: 1720px;
	margin: 0 auto;
	padding: 0 100px;
	display: flex;
	align-items: center;
	gap: 30px;
	height: 100%;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: bold;
	color: var(--primary-color);
}

.site-logo img {
	height: 40px;
	width: auto;
}

/* 検索フォーム */
.header-search {
	width: 400px !important;
	margin-left: auto !important;
}

.search-form {
	position: relative;
	width: 100%;
}

.search-form input[type="search"] {
	width: 100%;
	padding: 10px 15px;
	border: 1px solid #e1e4e8;
	border-radius: 8px;
	background-color: #f6f8fa;
	outline: none;
	transition: all 0.3s ease;
}

.search-form input[type="search"]:focus {
	border-color: var(--primary-color);
	background-color: var(--white);
	box-shadow: 0 0 0 3px rgba(58, 151, 212, 0.1);
}

/* ハンバーガーメニューボタン */
.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 30px;
	height: 24px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1001;
}

.mobile-menu-toggle span {
	display: block;
	width: 100%;
	height: 3px;
	background-color: var(--primary-color);
	border-radius: 2px;
}

/* ヘッダーボタン */
.header-buttons {
	display: flex;
	gap: 10px;
	align-items: center;
}

/* ユーザープロフィールドロップダウン */
.user-profile-dropdown {
	position: relative;
}

.user-profile-trigger {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 12px;
	background-color: var(--white);
	border: 2px solid var(--border-color);
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.user-profile-trigger:hover {
	border-color: var(--primary-color);
	box-shadow: 0 2px 8px rgba(58, 151, 212, 0.15);
}

.user-avatar-small {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.user-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-color);
}

.dropdown-arrow {
	font-size: 10px;
	color: var(--text-color);
	opacity: 0.6;
	transition: transform 0.3s ease;
}

.user-profile-trigger:hover .dropdown-arrow {
	opacity: 1;
}

.user-dropdown-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	background-color: var(--white);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	min-width: 200px;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
}

.user-dropdown-menu.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	color: var(--text-color);
	transition: all 0.2s ease;
	border-bottom: 1px solid var(--border-color);
}

.dropdown-item:last-child {
	border-bottom: none;
}

.dropdown-item:hover {
	background-color: #f6f8fa;
	padding-left: 22px;
}

.dropdown-icon {
	font-size: 18px;
	width: 24px;
	text-align: center;
}

.btn {
	padding: 10px 25px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s ease;
	white-space: nowrap;
	text-align: center;
	display: inline-block;
}

.btn-outline {
	background-color: transparent;
	border: 2px solid var(--text-color);
	color: var(--text-color);
}

.btn-outline:hover {
	background-color: var(--text-color);
	color: var(--white);
	opacity: 1;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-primary {
	background-color: var(--primary-color);
	color: var(--white);
	border: 2px solid var(--primary-color);
	box-shadow: 0 2px 4px rgba(58, 151, 212, 0.2);
}

.btn-primary:hover {
	background-color: var(--primary-dark);
	border-color: var(--primary-dark);
	opacity: 1;
	box-shadow: 0 4px 8px rgba(58, 151, 212, 0.3);
	transform: translateY(-1px);
}

.btn-secondary {
	background-color: var(--white);
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
	box-shadow: 0 2px 4px rgba(58, 151, 212, 0.1);
}

.btn-secondary:hover {
	background-color: var(--primary-color);
	color: var(--white);
	border-color: var(--primary-color);
	opacity: 1;
	box-shadow: 0 4px 8px rgba(58, 151, 212, 0.3);
	transform: translateY(-1px);
}

/* =====================================
   メニューバー
   ===================================== */
.menu-bar {
	background-color: var(--white);
	border-bottom: 1px solid var(--border-color);
	padding: 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
	position: fixed;
	top: var(--header-height);
	left: 0;
	right: 0;
	width: 100%;
	height: var(--menu-bar-height);
	z-index: 999;
}

/* WordPress管理バー対応 - メニューバー位置調整 */
.admin-bar .menu-bar {
	top: calc(var(--header-height) + 32px);
}

@media screen and (max-width: 782px) {
	.admin-bar .menu-bar {
		top: calc(var(--header-height) + 46px);
	}
}

.menu-bar-container {
	max-width: 600px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-around;
	height: 100%;
	align-items: center;
}

.menu-bar-container a {
	padding: 15px 20px;
	font-weight: 500;
	color: var(--text-color);
	white-space: nowrap;
	display: inline-block;
	border-bottom: 3px solid transparent;
	transition: all 0.3s ease;
	text-align: center;
	position: relative;
}

.menu-bar-container a::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%) scaleX(0);
	width: 80%;
	height: 3px;
	background: var(--primary-color);
	border-radius: 2px 2px 0 0;
	transition: transform 0.3s ease;
}

.menu-bar-container a:hover {
	color: var(--primary-color);
	opacity: 1;
}

.menu-bar-container a:hover::before {
	transform: translateX(-50%) scaleX(1);
}

.menu-bar-container a.current {
	color: var(--primary-color);
	font-weight: 600;
}

.menu-bar-container a.current::before {
	transform: translateX(-50%) scaleX(1);
}

/* =====================================
   ヒーローセクション
   ===================================== */
.hero-section {
	position: relative;
	height: 300px;
	overflow: hidden;
}

.hero-images {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	z-index: 1;
}

.hero-image {
	flex: 1;
	position: relative;
	overflow: hidden;
}

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

/* 斜めのスラッシュ（右上から左下）を実現 */
.hero-image-1 {
	clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
}

.hero-image-2 {
	clip-path: polygon(20% 0, 100% 0, 95% 100%, 0 100%);
	margin-left: -5%;
}

.hero-image-3 {
	clip-path: polygon(20% 0, 100% 0, 95% 100%, 0 100%);
	margin-left: -5%;
}

.hero-image-4 {
	clip-path: polygon(20% 0, 100% 0, 95% 100%, 0 100%);
	margin-left: -5%;
}

.hero-image-5 {
	clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
	margin-left: -5%;
}

/* PC表示では複製画像を非表示 */
.hero-image-clone {
	display: none;
}

/* 半透明の黒オーバーレイ */
.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2);
	z-index: 2;
}

/* ヒーローコンテンツ（テキスト） */
.hero-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	text-align: center;
	color: var(--white);
	max-width: 800px;
	width: 90%;
}

.hero-content h1 {
	font-size: 48px;
	font-weight: bold;
	margin-bottom: 20px;
	line-height: 1.3;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
	font-size: 20px;
	line-height: 1.8;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* =====================================
   フッター
   ===================================== */
.site-footer {
	background-color: var(--footer-bg);
	color: var(--white);
	padding: 30px 0;
	margin-top: 60px;
}

.footer-container {
	max-width: 1720px;
	margin: 0 auto;
	padding: 0 100px;
}

.footer-nav {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.footer-nav a {
	color: var(--white);
	font-size: 14px;
}

.footer-copyright {
	text-align: center;
	font-size: 12px;
	color: #AAA;
}

/* =====================================
   コンテナ・レイアウト
   ===================================== */
.container {
	max-width: 1720px;
	margin: 0 auto;
	padding: 40px 100px;
}

.page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 30px;
	gap: 20px;
}

.page-title {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 30px;
	padding-left: 15px;
	border-left: 5px solid var(--primary-color);
	color: #24292e;
	letter-spacing: -0.02em;
}

.page-header .page-title {
	margin-bottom: 0;
}

.page-title.no-border-left {
	border-left: none;
	padding-left: 0;
}

/* =====================================
   カードスタイル
   ===================================== */
.card {
	background-color: var(--white);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.card:hover {
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
	border-color: #d0d7de;
}

.card-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.card:hover .card-image {
	transform: scale(1.05);
}

.card-body {
	padding: 20px;
}

.card-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
	line-height: 1.4;
}

.card-meta {
	display: flex;
	gap: 15px;
	font-size: 14px;
	color: var(--text-light);
	margin-bottom: 10px;
}

.favorite-count {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.favorite-count-icon {
	width: 14px;
	height: 14px;
	display: inline-block;
	/* ピンク色（#FF69B4） */
	filter: brightness(0) saturate(100%) invert(67%) sepia(64%) saturate(2798%) hue-rotate(299deg) brightness(101%) contrast(101%);
}

.card-excerpt {
	font-size: 14px;
	color: var(--text-light);
	line-height: 1.6;
}

/* =====================================
   グリッドレイアウト
   ===================================== */
.grid-3 {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
}

.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

/* =====================================
   バッジスタイル
   ===================================== */
.badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 400;
	background-color: transparent;
	border: 1px solid;
}

.badge-status {
	border-color: #003CFF;
	color: #003CFF;
}

.badge-solved {
	border-color: #C70700;
	color: #C70700;
}

.badge-category {
	background-color: var(--primary-color);
	color: var(--white);
	border: none;
}

/* 質問カードホバー効果 */
.question-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

/* =====================================
   ログインページ
   ===================================== */
.login-page-container {
	max-width: 500px;
	margin: 60px auto;
	padding: 0;
}

.login-page-container .page-title {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 30px;
	padding-left: 15px;
	border-left: 5px solid var(--primary-color);
	color: #24292e;
	letter-spacing: -0.02em;
}

.login-page-container .form-group {
	margin-bottom: 20px;
}

.login-page-container label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--text-color);
	margin-bottom: 8px;
}

.login-page-container .input {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	background-color: #F9F9F9;
	font-size: 16px;
	box-sizing: border-box;
	transition: all 0.3s;
}

.login-page-container .input:focus {
	border-color: var(--primary-color);
	outline: none;
	background-color: var(--white);
}

.login-page-container .input::placeholder {
	color: #999;
}

.login-page-container .forgetmenot {
	margin-bottom: 20px;
	text-align: left;
}

.login-page-container .forgetmenot a {
	color: #007ACC;
	font-size: 14px;
	text-decoration: none;
}

.login-page-container .forgetmenot a:hover {
	text-decoration: underline;
}

.login-page-container .register-link {
	margin-bottom: 20px;
	text-align: left;
}

.login-page-container .register-link a {
	color: #007ACC;
	font-size: 14px;
	text-decoration: none;
}

.login-page-container .register-link a:hover {
	text-decoration: underline;
}

.login-page-container .submit {
	margin-bottom: 0;
}

.login-page-container .button-primary {
	width: 100%;
	padding: 12px 25px;
	background-color: var(--primary-color);
	color: var(--white);
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s;
}

.login-page-container .button-primary:hover {
	background-color: var(--primary-dark);
	opacity: 1;
}

.login-page-container .login-error {
	padding: 12px 15px;
	background-color: #FFEBEE;
	border-left: 4px solid #D32F2F;
	border-radius: 4px;
	color: #C62828;
	font-size: 14px;
	margin-bottom: 20px;
}

/* パスワードリセットページ追加スタイル */
.login-page-container .form-description {
	font-size: 14px;
	color: var(--text-light);
	line-height: 1.7;
	margin-bottom: 25px;
}

.login-page-container .reset-success-message {
	padding: 20px;
	background-color: #E8F5E9;
	border-left: 4px solid var(--primary-color);
	border-radius: 4px;
	margin-bottom: 25px;
}

.login-page-container .reset-success-message p {
	font-size: 14px;
	color: #2E7D32;
	margin-bottom: 10px;
}

.login-page-container .reset-success-message p:last-child {
	margin-bottom: 0;
}

.login-page-container .reset-success-message .reset-note {
	font-size: 13px;
	color: #558B2F;
	margin-top: 15px;
}

.login-page-container .back-to-login {
	margin-top: 20px;
	text-align: center;
}

.login-page-container .back-to-login a {
	color: #007ACC;
	font-size: 14px;
	text-decoration: none;
}

.login-page-container .back-to-login a:hover {
	text-decoration: underline;
}

.login-page-container .submit a.button-primary {
	display: block;
	width: 100%;
	padding: 12px 25px;
	background-color: var(--primary-color);
	color: var(--white);
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
}

.login-page-container .submit a.button-primary:hover {
	background-color: var(--primary-dark);
	opacity: 1;
}

/* =====================================
   新規登録ページ
   ===================================== */
.register-page-container {
	max-width: 500px;
	margin: 60px auto;
	padding: 0;
}

.register-page-container .page-title {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 30px;
	padding-left: 15px;
	border-left: 5px solid var(--primary-color);
	color: #24292e;
	letter-spacing: -0.02em;
}

.register-page-container .form-group {
	margin-bottom: 20px;
}

.register-page-container label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--text-color);
	margin-bottom: 8px;
}

.register-page-container .input {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	background-color: #F9F9F9;
	font-size: 16px;
	box-sizing: border-box;
	transition: all 0.3s;
}

.register-page-container .input:focus {
	border-color: var(--primary-color);
	outline: none;
	background-color: var(--white);
}

.register-page-container .input::placeholder {
	color: #999;
}

/* reCAPTCHAボックス */
.recaptcha-box {
	border: 1px solid var(--border-color);
	border-radius: 4px;
	padding: 15px;
	margin-bottom: 20px;
	background-color: #F9F9F9;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.recaptcha-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 14px;
	font-weight: normal;
	margin-bottom: 0;
}

.recaptcha-label input[type="checkbox"] {
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.recaptcha-label span {
	color: var(--text-color);
	font-weight: normal;
}

.recaptcha-logo {
	display: flex;
	align-items: center;
}

/* チェックボックスグループ */
.register-page-container .checkbox-group {
	margin-bottom: 15px;
}

.checkbox-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: normal;
	margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	padding: 0;
	cursor: pointer;
	flex-shrink: 0;
	vertical-align: middle;
}

.checkbox-label span {
	font-size: 14px;
	color: var(--text-color);
	line-height: 1;
	vertical-align: middle;
	display: inline-block;
}

.checkbox-label a {
	color: #007ACC;
	text-decoration: none;
}

.checkbox-label a:hover {
	text-decoration: underline;
}

.register-page-container .submit {
	margin-top: 30px;
	margin-bottom: 0;
}

.register-page-container .button-primary {
	width: 100%;
	padding: 12px 25px;
	background-color: var(--primary-color);
	color: var(--white);
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s;
}

.register-page-container .button-primary:hover {
	background-color: var(--primary-dark);
	opacity: 1;
}

.register-page-container .register-error {
	padding: 12px 15px;
	background-color: #FFEBEE;
	border-left: 4px solid #D32F2F;
	border-radius: 4px;
	color: #C62828;
	font-size: 14px;
	margin-bottom: 20px;
}

/* =====================================
   お問い合わせページ
   ===================================== */
.contact-page-container {
	max-width: 700px;
	margin: 40px auto;
	padding: 40px;
	background-color: var(--white);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-page-container .page-title {
	font-size: 28px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
	color: var(--text-color);
	padding-bottom: 15px;
	border-bottom: 5px solid var(--primary-color);
}

.contact-description {
	text-align: center;
	color: #666;
	font-size: 14px;
	line-height: 1.8;
	margin-bottom: 30px;
	padding: 0 20px;
}

.contact-page-container .form-group {
	margin-bottom: 25px;
}

.contact-page-container label {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: var(--text-color);
	margin-bottom: 8px;
}

.contact-page-container .required {
	color: #D32F2F;
	font-weight: bold;
}

.contact-page-container .input {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid var(--border-color);
	border-radius: 8px;
	font-size: 16px;
	transition: all 0.3s;
	box-sizing: border-box;
}

.contact-page-container .input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(58, 151, 212, 0.1);
}

.contact-page-container .input::placeholder {
	color: #999;
	font-size: 16px;
}

.contact-page-container .select-input {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 12px;
	padding-right: 40px;
	cursor: pointer;
}

.contact-page-container .textarea-input {
	resize: vertical;
	min-height: 150px;
	font-family: inherit;
	line-height: 1.6;
}

.contact-page-container .submit {
	margin-top: 30px;
	margin-bottom: 0;
}

.contact-page-container .button-primary {
	width: 100%;
	padding: 14px 30px;
	background-color: var(--primary-color);
	color: var(--white);
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(58, 151, 212, 0.2);
}

.contact-page-container .button-primary:hover {
	background-color: var(--primary-dark);
	box-shadow: 0 4px 8px rgba(58, 151, 212, 0.3);
	transform: translateY(-1px);
	opacity: 1;
}

.contact-error {
	padding: 12px 15px;
	background-color: #FFEBEE;
	border-left: 4px solid #D32F2F;
	border-radius: 8px;
	color: #C62828;
	font-size: 14px;
	margin-bottom: 15px;
}

.contact-success-message {
	padding: 20px 25px;
	background-color: #E8F5E9;
	border-left: 4px solid #00C744;
	border-radius: 8px;
	color: #2E7D32;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 25px;
	text-align: center;
}

.contact-back-link {
	text-align: center;
	margin-top: 30px;
}

.contact-back-link .btn {
	display: inline-block;
	min-width: 250px;
}

/* =====================================
   投稿フォーム（記事・質問）
   ===================================== */
.post-form-container {
	max-width: 800px;
	margin: 0 auto;
}

.post-form-container .page-title {
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 40px;
	padding-left: 15px;
	border-left: 4px solid var(--primary-color);
}

.post-form .form-group {
	margin-bottom: 30px;
}

.post-form label {
	display: inline-block;
	font-size: 16px;
	font-weight: 500;
	color: var(--text-color);
	margin-bottom: 10px;
	padding-bottom: 5px;
	border-bottom: 2px solid var(--primary-color);
}

.post-form .form-input,
.post-form .form-select {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	background-color: var(--white);
	font-size: 16px;
	box-sizing: border-box;
	transition: all 0.3s;
}

.post-form .form-input:focus,
.post-form .form-select:focus {
	border-color: var(--primary-color);
	outline: none;
}

.post-form .form-textarea {
	width: 100%;
	padding: 15px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	background-color: var(--white);
	font-size: 16px;
	font-family: inherit;
	line-height: 1.6;
	box-sizing: border-box;
	resize: vertical;
	transition: all 0.3s;
}

.post-form .form-textarea:focus {
	border-color: var(--primary-color);
	outline: none;
}

.post-form .form-textarea::placeholder {
	color: #999;
}

/* モバイル用メディア追加ボタン（デフォルトは非表示） */
.mobile-media-button-wrapper {
	display: none;
}

/* アイキャッチ画像アップロード */
.thumbnail-upload-area {
	margin-top: 10px;
}

.thumbnail-upload-label {
	display: block;
	cursor: pointer;
	border-bottom: none !important;
	padding-bottom: 0 !important;
	margin-bottom: 0;
}

.thumbnail-preview {
	width: 280px;
	min-height: 150px;
	background-color: #F5F5F5;
	border: 2px dashed var(--border-color);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
}

.thumbnail-preview:hover {
	border-color: var(--primary-color);
	background-color: #FAFAFA;
}

.thumbnail-preview .upload-text {
	color: #999;
	font-size: 16px;
}

.thumbnail-preview img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

/* 飼育環境入力 */
.environment-input {
	margin-bottom: 15px;
}

.environment-input:last-of-type {
	margin-bottom: 0;
}

/* 送信ボタン */
.post-form .form-submit {
	text-align: center;
	margin-top: 40px;
}

.btn-large {
	min-width: 300px;
	padding: 15px 40px;
	font-size: 18px;
	font-weight: 600;
}

.btn-large:hover {
	transform: translateY(-2px);
}

/* エラーメッセージ */
.form-error {
	padding: 12px 15px;
	background-color: #FFEBEE;
	border-left: 4px solid #D32F2F;
	border-radius: 4px;
	color: #C62828;
	font-size: 14px;
	margin-bottom: 20px;
}

/* =====================================
   マイページ
   ===================================== */
.mypage-layout {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 40px;
	margin-top: 30px;
}

.mypage-main {
	min-width: 0;
}

/* タブ */
.mypage-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
}

.tab-button {
	padding: 10px 30px;
	background-color: var(--white);
	border: 2px solid var(--border-color);
	border-radius: 4px;
	font-size: 16px;
	font-weight: 500;
	color: var(--text-color);
	cursor: pointer;
	transition: all 0.3s;
}

.tab-button:hover {
	border-color: var(--primary-color);
}

.tab-button.active {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	color: var(--white);
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
}

/* マイページアイテム */
.mypage-item {
	background-color: var(--white);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	transition: all 0.3s;
}

.mypage-item:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mypage-item-link {
	display: flex;
	gap: 20px;
	text-decoration: none;
	color: inherit;
}

.mypage-item-image {
	flex-shrink: 0;
	width: 120px;
	height: 90px;
	overflow: hidden;
	border-radius: 4px;
}

.mypage-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mypage-item-content {
	flex: 1;
	min-width: 0;
}

.mypage-item-content.full-width {
	width: 100%;
}

.mypage-item-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
	color: var(--text-color);
}

.mypage-item-meta {
	margin-bottom: 10px;
}

.rating-stars {
	color: #FFD700;
	font-size: 18px;
}

.rating-stars .star {
	color: #DDD;
}

.rating-stars .star.filled {
	color: #FFD700;
}

.mypage-item-excerpt {
	font-size: 14px;
	color: var(--text-light);
	line-height: 1.6;
	padding: 10px;
	background-color: #F0FFF4;
	border: 1px solid var(--primary-color);
	border-radius: 4px;
	margin-top: 10px;
}

/* マイページの管理者評価 */
.mypage-admin-rating {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mypage-rating-label {
	font-size: 13px;
	font-weight: 600;
	color: #666;
}

.mypage-rating-stars {
	display: flex;
	gap: 2px;
}

.mypage-rating-stars .star {
	font-size: 18px;
}

.mypage-rating-stars .star.filled {
	color: #FFD700;
}

.mypage-rating-stars .star:not(.filled) {
	color: #ccc;
}

.mypage-rating-comment {
	font-size: 13px;
	line-height: 1.6;
	padding: 12px 15px;
	border-radius: 8px;
	margin-top: 12px;
	border-left: 4px solid;
}

/* 未評価時 */
.mypage-rating-comment.rating-0 {
	background-color: #f8f9fa;
	border-color: #6c757d;
	color: #495057;
}

/* ★（1つ星） */
.mypage-rating-comment.rating-1 {
	background-color: #fff3cd;
	border-color: #ffc107;
	color: #856404;
}

/* ★★（2つ星） */
.mypage-rating-comment.rating-2 {
	background-color: #d1ecf1;
	border-color: #17a2b8;
	color: #0c5460;
}

/* ★★★（3つ星） */
.mypage-rating-comment.rating-3 {
	background-color: #d4edda;
	border-color: #28a745;
	color: #155724;
}

.no-items {
	text-align: center;
	padding: 40px;
	color: var(--text-light);
}

/* プロフィールカード */
.profile-card {
	background-color: #F5F5F5;
	padding: 30px 20px;
	border-radius: 8px;
	text-align: center;
}

.profile-avatar {
	position: relative;
	display: inline-block;
	margin-bottom: 20px;
}

.avatar-image {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 3px solid var(--white);
	object-fit: cover;
}

.profile-badge {
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	padding: 5px 15px;
	border-radius: 15px;
	font-size: 12px;
	font-weight: bold;
	color: var(--white);
	white-space: nowrap;
}

.profile-badge-image {
	position: absolute;
	bottom: -30px;
	left: -30px;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: var(--white);
	padding: 5px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	z-index: 10;
	cursor: pointer;
	transition: all 0.3s ease;
}

.profile-badge-image:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* バッジ情報モーダル */
.badge-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 10000;
	backdrop-filter: blur(5px);
	animation: fadeIn 0.3s ease;
}

.badge-modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.badge-modal-content {
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	border-radius: 20px;
	padding: 40px;
	max-width: 500px;
	width: 90%;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	position: relative;
	animation: slideUp 0.3s ease;
}

.badge-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 35px;
	height: 35px;
	border: none;
	background: #f0f0f0;
	border-radius: 50%;
	cursor: pointer;
	font-size: 20px;
	color: #666;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	padding: 0;
}

.badge-modal-close:hover {
	background: #e0e0e0;
	color: #333;
}

.badge-modal-header {
	text-align: center;
	margin-bottom: 30px;
}

.badge-modal-icon {
	width: 120px;
	height: 120px;
	margin: 0 auto 20px;
	background: var(--white);
	border-radius: 50%;
	padding: 15px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.badge-modal-icon img {
	width: 100%;
	height: 100%;
}

.badge-modal-title {
	font-size: 28px;
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
}

.badge-modal-subtitle {
	font-size: 14px;
	color: #666;
	margin-bottom: 30px;
}

.badge-levels {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.badge-level-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 20px;
	background: var(--white);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
}

.badge-level-item:hover {
	transform: translateX(5px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.badge-level-item.current {
	border: 2px solid var(--primary-color);
	background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.badge-level-icon {
	width: 50px;
	height: 50px;
	flex-shrink: 0;
	background: var(--white);
	border-radius: 50%;
	padding: 5px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badge-level-icon img {
	width: 100%;
	height: 100%;
}

.badge-level-info {
	flex: 1;
}

.badge-level-name {
	font-size: 16px;
	font-weight: bold;
	color: #333;
	margin-bottom: 5px;
}

.badge-level-condition {
	font-size: 13px;
	color: #666;
	line-height: 1.5;
}

.badge-level-status {
	font-size: 12px;
	padding: 4px 12px;
	border-radius: 12px;
	font-weight: bold;
	white-space: nowrap;
}

.badge-level-status.achieved {
	background: #d4edda;
	color: #155724;
}

.badge-level-status.current {
	background: #fff3cd;
	color: #856404;
}

.badge-level-status.locked {
	background: #f8f9fa;
	color: #6c757d;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		transform: translateY(30px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.badge-rookie {
	background-color: var(--badge-rookie);
	color: var(--text-color);
}

.badge-veteran {
	background-color: var(--badge-veteran);
	color: var(--text-color);
}

.badge-expert {
	background-color: var(--badge-expert);
	color: var(--white);
}

.profile-username {
	font-size: 18px;
	font-weight: bold;
	color: var(--text-color);
	margin-bottom: 20px;
}

.profile-bio {
	font-size: 14px;
	color: var(--text-color);
	line-height: 1.7;
	margin-bottom: 20px;
	padding: 15px;
	background-color: var(--secondary-color);
	border-radius: 8px;
	text-align: left;
}

.profile-stats {
	margin-bottom: 20px;
	text-align: center;
}

.stat-row {
	display: flex;
	justify-content: space-around;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--border-color);
}

.stat-row:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.stat-item {
	flex: 1;
}

.stat-item.single {
	text-align: center;
}

.stat-label {
	font-size: 12px;
	color: var(--text-light);
	margin-bottom: 5px;
}

.stat-value {
	font-size: 18px;
	font-weight: bold;
	color: var(--text-color);
}

.btn-block {
	width: 100%;
	display: block;
}

/* =====================================
   プロフィール編集ページ
   ===================================== */
.profile-form .form-help {
	font-size: 13px;
	color: var(--text-light);
	margin-top: 5px;
}

.profile-avatar-upload {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

.current-avatar {
	flex-shrink: 0;
	text-align: center;
}

.current-avatar-preview {
	margin-bottom: 15px;
}

.current-avatar-preview img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	border: 3px solid var(--white);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	object-fit: cover;
}

.remove-avatar-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 14px;
	color: #D32F2F;
}

.remove-avatar-checkbox input[type="checkbox"] {
	cursor: pointer;
}

.upload-avatar-area {
	flex: 1;
}

.avatar-upload-label {
	display: block;
	cursor: pointer;
	border: none;
	padding: 0;
	margin-bottom: 10px;
}

.avatar-upload-preview {
	width: 200px;
	height: 200px;
	background-color: #F5F5F5;
	border: 2px dashed var(--border-color);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
}

.avatar-upload-preview:hover {
	border-color: var(--primary-color);
	background-color: #FAFAFA;
}

.avatar-upload-preview .upload-text {
	color: #999;
	font-size: 14px;
	text-align: center;
	padding: 20px;
}

.avatar-upload-preview img {
	width: 100%;
	height: 100%;
	border-radius: 8px;
	object-fit: cover;
}

.form-section {
	margin-top: 40px;
	padding-top: 40px;
	border-top: 2px solid var(--border-color);
}

.section-title {
	font-size: 22px;
	font-weight: bold;
	color: var(--text-color);
	margin-bottom: 10px;
	padding-left: 15px;
	border-left: 4px solid var(--primary-color);
}

.section-help {
	font-size: 14px;
	color: var(--text-light);
	margin-bottom: 30px;
	padding: 12px;
	background-color: #FFF9E6;
	border-left: 4px solid #FFC107;
	border-radius: 4px;
}

.form-submit {
	display: flex;
	gap: 15px;
	justify-content: center;
}

.form-submit .btn {
	min-width: 200px;
}

.form-success {
	padding: 12px 15px;
	background-color: #E8F5E9;
	border-left: 4px solid var(--primary-color);
	border-radius: 4px;
	color: #2E7D32;
	font-size: 14px;
	margin-bottom: 20px;
	font-weight: 500;
}

/* =====================================
   ユーティリティ
   ===================================== */
.text-center {
	text-align: center;
}

.mt-20 {
	margin-top: 20px;
}

.mt-40 {
	margin-top: 40px;
}

.mb-20 {
	margin-bottom: 20px;
}

.mb-40 {
	margin-bottom: 40px;
}

/* =====================================
   レスポンシブ
   ===================================== */
@media (max-width: 768px) {
	/* モバイル版ではメニューバーがサイドメニューになるため、padding-topを調整 */
	html, body {
		overflow-x: hidden;
	}

	body {
		padding-top: var(--header-height);
	}

	/* コンテナ調整 */
	.container {
		padding: 20px 15px;
	}

	/* ページタイトル */
	.page-title {
		font-size: 22px;
	}

	/* ハンバーガーメニュー表示 */
	.mobile-menu-toggle {
		display: flex;
	}

	/* ヒーローセクション - 横スライド形式 */
	.hero-section {
		height: 250px;
	}

	.hero-images {
		display: flex;
		position: absolute;
		top: 0;
		left: 0;
		width: 600%;
		height: 100%;
		transition: transform 2.5s ease-in-out;
	}

	.hero-image {
		flex: 0 0 16.666%;
		width: 16.666%;
		position: relative;
		overflow: hidden;
		clip-path: none !important;
		margin-left: 0 !important;
	}

	/* スマホ表示では複製画像を表示（無限ループ用） */
	.hero-image-clone {
		display: block;
	}

	.hero-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	/* ヘッダーのレイアウト調整 */
	.header-container {
		flex-wrap: wrap;
		position: relative;
		padding: 0 20px;
	}

	.header-search {
		flex: 1;
		width: auto !important;
		margin-left: 0 !important;
		order: 2;
	}

	.mobile-menu-toggle {
		order: 3;
	}

	.site-logo {
		order: 1;
	}

	/* ヘッダーボタンをモバイルで非表示（モバイルメニューで代替） */
	.header-buttons {
		display: none;
	}

	.header-buttons .btn {
		width: 100%;
		justify-content: center;
	}

	.user-profile-dropdown {
		width: 100%;
	}

	.user-profile-trigger {
		width: 100%;
		justify-content: space-between;
	}

	/* メニューバーをモバイルメニュー化 */
	.menu-bar {
		position: fixed;
		top: 76px;
		left: 0;
		width: 280px;
		max-width: 80%;
		height: calc(100vh - 76px);
		background: white;
		box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
		transform: translateX(-100%);
		transition: transform 0.3s ease;
		z-index: 998;
	}

	.menu-bar.mobile-active {
		transform: translateX(0);
	}

	.menu-bar-container {
		flex-direction: column;
		max-width: 100%;
		padding: 20px 0;
	}

	.menu-bar-container a {
		padding: 15px 20px;
		border-bottom: 1px solid var(--border-color);
		font-size: 16px;
	}

	/* オーバーレイ */
	body.menu-open::before {
		content: '';
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 997;
	}

	/* ページヘッダー */
	.page-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.page-header .btn {
		width: 100%;
	}

	/* メニューバー */
	.menu-bar-container {
		max-width: 100%;
	}

	.menu-bar-container a {
		padding: 12px 10px;
		font-size: 14px;
	}

	/* ヒーローセクション */
	.hero-section {
		height: 400px;
	}

	.hero-content h1 {
		font-size: 32px;
	}

	.hero-content p {
		font-size: 16px;
	}

	/* モバイルでは斜めのカットを緩やかに */
	.hero-image-1 {
		clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%);
	}

	.hero-image-2,
	.hero-image-3,
	.hero-image-4 {
		clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
		margin-left: -3%;
	}

	.hero-image-5 {
		clip-path: polygon(3% 0, 100% 0, 100% 100%, 0 100%);
		margin-left: -3%;
	}

	.grid-3 {
		grid-template-columns: 1fr;
	}

	.grid-4 {
		grid-template-columns: 1fr;
	}

	/* マイページ */
	.mypage-layout {
		grid-template-columns: 1fr;
	}

	.mypage-sidebar {
		order: -1;
	}

	.mypage-item-link {
		flex-direction: column;
	}

	.mypage-item-image {
		width: 100%;
		height: 200px;
	}

	/* プロフィール編集 */
	.profile-avatar-upload {
		flex-direction: column;
	}

	.avatar-upload-preview {
		width: 100%;
	}

	.form-submit {
		flex-direction: column;
	}

	.form-submit .btn {
		width: 100%;
	}

	/* バッジモーダル レスポンシブ */
	.badge-modal-content {
		padding: 20px;
		max-width: 95%;
		width: 95%;
		max-height: 90vh;
		overflow-y: auto;
		border-radius: 16px;
	}

	.badge-modal-close {
		top: 10px;
		right: 10px;
		width: 30px;
		height: 30px;
		font-size: 18px;
	}

	.badge-modal-header {
		margin-bottom: 20px;
	}

	.badge-modal-icon {
		width: 80px;
		height: 80px;
		margin-bottom: 15px;
		padding: 10px;
	}

	.badge-modal-title {
		font-size: 20px;
		margin-bottom: 8px;
	}

	.badge-modal-subtitle {
		font-size: 13px;
		margin-bottom: 20px;
	}

	.badge-levels {
		gap: 12px;
	}

	.badge-level-item {
		padding: 12px;
		gap: 10px;
		flex-wrap: wrap;
	}

	.badge-level-icon {
		width: 40px;
		height: 40px;
		padding: 4px;
	}

	.badge-level-info {
		flex: 1;
		min-width: 0;
	}

	.badge-level-name {
		font-size: 14px;
		margin-bottom: 3px;
	}

	.badge-level-condition {
		font-size: 11px;
		line-height: 1.4;
	}

	.badge-level-status {
		font-size: 10px;
		padding: 3px 8px;
	}

	.footer-nav {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}

	/* 記事詳細 */
	.article-detail-layout {
		grid-template-columns: 1fr !important;
		gap: 20px;
	}

	.article-featured-image {
		width: 100% !important;
		max-width: 400px;
		height: auto !important;
		aspect-ratio: 400 / 270;
		position: relative;
	}

	.article-featured-image .no-image-placeholder {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
	}

	.article-detail-sidebar {
		order: 2;
		margin-top: 20px;
	}

	.article-detail-sidebar .sidebar-widget {
		padding: 15px;
	}

	.article-detail-meta {
		gap: 10px;
	}

	.article-meta-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.article-meta-right {
		margin-left: 0;
		width: 100%;
	}

	.admin-rating {
		font-size: 14px;
	}

	.admin-rating-stars {
		font-size: 18px;
	}

	.badge {
		font-size: 12px;
		padding: 4px 10px;
	}

	.article-detail-title {
		font-size: 24px;
	}

	.article-detail-body {
		font-size: 15px;
	}

	.article-detail-body img {
		max-width: 100%;
		height: auto;
	}

	.article-detail-body h2 {
		font-size: 20px;
	}

	.article-detail-body h3 {
		font-size: 16px;
	}

	.article-detail-actions {
		flex-direction: column;
		gap: 10px;
	}

	.article-detail-actions .btn {
		width: 100%;
		justify-content: center;
	}

	.post-actions {
		flex-wrap: wrap;
		gap: 8px;
	}

	.post-actions .btn {
		flex: 1 1 auto;
		min-width: 80px;
	}

	.related-article-card {
		padding: 10px;
	}

	.related-article-image {
		width: 80px;
		height: 80px;
		min-width: 80px;
		min-height: 80px;
	}

	.related-article-title {
		font-size: 13px;
	}

	.related-article-excerpt {
		font-size: 12px;
	}

	/* 質問一覧 */
	.question-list-layout {
		grid-template-columns: 1fr !important;
		gap: 20px;
	}

	.question-list-sidebar {
		order: -1;
		margin-top: 0;
		margin-bottom: 20px;
	}

	.question-list-sidebar .sidebar-widget {
		padding: 15px;
	}

	/* カテゴリフィルターをアコーディオン形式に */
	.category-parent-title {
		background: white;
		padding: 12px 15px;
		margin-bottom: 0;
		border: 1px solid #DDD;
		border-radius: 4px;
		cursor: pointer;
		position: relative;
		transition: all 0.3s;
	}

	.category-parent-title::after {
		content: '▼';
		position: absolute;
		right: 15px;
		top: 50%;
		transform: translateY(-50%);
		font-size: 12px;
		transition: transform 0.3s;
	}

	.category-parent-title.active::after {
		transform: translateY(-50%) rotate(180deg);
	}

	.category-group {
		margin-bottom: 10px;
	}

	.category-children {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
		margin-top: 0;
		padding: 0 15px;
		background: white;
		border: 1px solid #DDD;
		border-top: none;
		border-radius: 0 0 4px 4px;
	}

	.category-children.active {
		max-height: 500px;
		padding: 10px 15px;
		margin-top: -1px;
	}

	.category-child-link {
		display: block;
		margin-bottom: 8px;
		padding: 8px 12px;
	}

	/* 質問詳細 */
	.question-detail-layout {
		grid-template-columns: 1fr !important;
		gap: 20px;
	}

	.question-detail-sidebar {
		order: 999;
		margin-top: 20px;
	}

	.question-detail-sidebar .sidebar-widget {
		padding: 15px;
	}

	.question-detail-title {
		font-size: 24px;
	}

	.question-detail-body {
		font-size: 15px;
	}

	.question-detail-body img {
		max-width: 100%;
		height: auto;
	}

	.question-detail-body h2 {
		font-size: 20px;
	}

	.question-detail-body h3 {
		font-size: 16px;
	}

	.question-detail-actions {
		flex-direction: column;
		gap: 10px;
	}

	.question-detail-actions .btn {
		width: 100%;
		justify-content: center;
	}

	.related-question-card {
		padding: 10px;
	}

	.related-question-image {
		width: 80px;
		height: 80px;
		min-width: 80px;
		min-height: 80px;
	}

	.related-question-title {
		font-size: 13px;
	}

	.related-question-excerpt {
		font-size: 12px;
	}

	.answer-item {
		padding: 15px;
	}

	.answer-content {
		font-size: 15px;
	}

	.answer-meta {
		flex-direction: column;
		gap: 8px;
	}

	.answer-actions {
		flex-wrap: wrap;
		gap: 8px;
	}

	.answer-actions .btn {
		flex: 1 1 auto;
		min-width: 70px;
	}

	/* トップページのセクション */
	.section-articles,
	.section-questions {
		padding: 40px 20px;
	}

	.section-header {
		flex-direction: column;
		gap: 15px;
	}

	.section-header h2 {
		font-size: 24px;
	}

	/* 記事カードのグリッド */
	.articles-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.article-card {
		flex-direction: column;
	}

	.article-image {
		width: 100%;
		height: 200px;
	}

	/* 質問リスト */
	.questions-list {
		gap: 15px;
	}

	.question-item {
		padding: 15px;
	}

	.question-meta {
		flex-wrap: wrap;
		gap: 10px;
	}

	/* コンテナ */
	.container,
	.page-container {
		padding: 20px 15px;
	}

	/* テーブル */
	table {
		font-size: 14px;
	}

	table th,
	table td {
		padding: 10px 8px;
	}

	/* タブ */
	.tab-buttons {
		flex-wrap: wrap;
		gap: 10px;
	}

	.tab-button {
		flex: 1 1 auto;
		min-width: 80px;
	}

	/* 投稿フォーム */
	.form-group {
		margin-bottom: 20px;
	}

	.form-group label {
		font-size: 14px;
	}

	.form-group input,
	.form-group textarea,
	.form-group select {
		font-size: 16px;
		padding: 10px;
	}

	/* モバイル用メディア追加ボタン */
	.mobile-media-button-wrapper {
		display: block;
		margin-bottom: 10px;
	}

	.mobile-media-button {
		display: inline-flex;
		align-items: center;
		gap: 5px;
		padding: 10px 16px;
		font-size: 14px;
	}

	.mobile-media-button .dashicons {
		font-size: 18px;
		width: 18px;
		height: 18px;
	}

	/* サイドバー */
	.sidebar-widget {
		padding: 20px;
	}

	.sidebar-widget h3 {
		font-size: 18px;
	}

	/* ユーザープロフィール */
	.user-profile {
		padding: 20px;
	}

	.user-profile-header {
		flex-direction: column;
		text-align: center;
	}

	.avatar-large {
		margin-bottom: 15px;
	}

	/* コメント */
	.comments-list {
		padding: 20px 15px;
	}

	.comment {
		padding: 15px;
	}

	.comment-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

/* モバイル（480px以下） */
@media (max-width: 480px) {
	/* ヘッダー */
	.site-header {
		padding: 10px 0;
	}

	.header-container {
		padding: 0 10px;
	}

	.site-logo img {
		height: 45px !important;
	}

	.header-buttons .btn {
		font-size: 13px;
		padding: 8px 12px;
	}

	.user-profile-trigger {
		font-size: 13px;
		padding: 6px 10px;
	}

	.user-avatar-small {
		width: 32px;
		height: 32px;
	}

	/* メニューバー */
	.menu-bar-container a {
		padding: 10px 8px;
		font-size: 13px;
	}

	/* ヒーロー */
	.hero-section {
		height: 300px;
	}

	.hero-content h1 {
		font-size: 24px;
	}

	.hero-content p {
		font-size: 14px;
	}

	.hero-content .btn {
		padding: 10px 20px;
		font-size: 14px;
	}

	/* セクションタイトル */
	.section-header h2 {
		font-size: 20px;
	}

	/* 記事カード */
	.article-card {
		padding: 15px;
	}

	.article-card h3 {
		font-size: 16px;
	}

	.article-meta {
		font-size: 12px;
	}

	/* 質問アイテム */
	.question-item h3 {
		font-size: 16px;
	}

	.question-meta {
		font-size: 12px;
	}

	/* ボタン */
	.btn {
		font-size: 14px;
		padding: 10px 16px;
	}

	.btn-small {
		font-size: 12px;
		padding: 6px 8px;
	}

	/* タブ */
	.tab-button {
		font-size: 13px;
		padding: 10px 12px;
	}

	/* フォーム */
	.form-group input,
	.form-group textarea,
	.form-group select {
		font-size: 16px;
		padding: 8px;
	}

	/* 記事詳細 */
	.article-detail-content,
	.question-detail-content {
		padding: 20px 15px;
		max-width: 100%;
		overflow-x: hidden;
		box-sizing: border-box;
	}

	.article-detail-content h1,
	.question-detail-content h1 {
		font-size: 22px;
	}

	/* マイページ */
	.mypage-item {
		padding: 15px;
	}

	.mypage-item-title {
		font-size: 16px;
	}

	/* コメント */
	.comment {
		padding: 12px;
	}

	.comment-content {
		font-size: 14px;
	}

	/* サイドバー */
	.sidebar-widget {
		padding: 15px;
	}

	/* テーブル */
	table {
		font-size: 12px;
	}

	table th,
	table td {
		padding: 8px 5px;
	}

	/* アクションボタン */
	.post-actions {
		flex-direction: column;
		gap: 8px;
	}

	.btn-edit,
	.btn-delete,
	.btn-favorite,
	.btn-like {
		width: 100%;
		justify-content: center;
	}

	/* 記事詳細 */
	.article-detail-title {
		font-size: 20px;
	}

	.article-detail-body {
		font-size: 14px;
	}

	.article-detail-body h2 {
		font-size: 18px;
	}

	.article-detail-body h3 {
		font-size: 15px;
	}

	.article-meta-row {
		font-size: 13px;
	}

	.admin-rating {
		font-size: 13px;
	}

	.badge {
		font-size: 11px;
		padding: 3px 8px;
	}

	.related-article-card {
		padding: 8px;
		gap: 10px;
	}

	.related-article-image {
		width: 70px;
		height: 70px;
		min-width: 70px;
		min-height: 70px;
	}

	.related-article-title {
		font-size: 12px;
	}

	.related-article-excerpt {
		font-size: 11px;
	}

	/* 質問詳細 */
	.question-detail-title {
		font-size: 20px;
	}

	.question-detail-body {
		font-size: 14px;
	}

	.question-detail-body h2 {
		font-size: 18px;
	}

	.question-detail-body h3 {
		font-size: 15px;
	}

	.related-question-card {
		padding: 8px;
		gap: 10px;
	}

	.related-question-image {
		width: 70px;
		height: 70px;
		min-width: 70px;
		min-height: 70px;
	}

	.related-question-title {
		font-size: 12px;
	}

	.related-question-excerpt {
		font-size: 11px;
	}

	.answer-item {
		padding: 12px;
	}

	.answer-content {
		font-size: 14px;
	}

	/* コンテナ */
	.container {
		padding: 15px 10px;
	}

	/* ページタイトル */
	.page-title {
		font-size: 20px;
	}
}

/* =====================================
   No Image プレースホルダー
   ===================================== */
.no-image-placeholder {
	background: #E0E0E0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-weight: bold;
	font-size: 18px;
	text-align: center;
}

/* =====================================
   記事詳細ページ
   ===================================== */
.article-detail-layout {
	display: grid;
	grid-template-columns: 1fr 450px;
	gap: 30px;
	margin-top: 30px;
}

.article-detail-content {
	background: white;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 40px;
}

.article-featured-image {
	position: relative;
	margin-bottom: 30px;
	border-radius: 8px;
	overflow: hidden;
	width: 400px;
	height: 270px;
	margin-left: auto;
	margin-right: auto;
}

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

.article-featured-image .no-image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #E0E0E0;
	color: #999;
	font-size: 14px;
}

.article-image-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
	padding: 30px 20px 20px;
}

.article-overlay-title {
	color: white;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.4;
	margin: 0;
}

.article-detail-title {
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 20px;
	line-height: 1.4;
}

.article-detail-meta {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px dashed var(--border-color);
}

.article-meta-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.article-meta-left {
	display: flex;
	gap: 20px;
	align-items: center;
	flex-wrap: wrap;
}

.article-meta-right {
	display: flex;
	align-items: center;
	margin-left: auto;
}

.article-author-info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.article-author-info img {
	border-radius: 50%;
}

.article-author-info span {
	font-size: 14px;
	color: var(--text-light);
}

/* 著者プロフィールリンク */
.author-link {
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.author-link:hover {
	opacity: 0.7;
}

a.article-author-info,
a.question-author-info,
a.answer-author {
	color: var(--text-light);
}

a.answer-avatar {
	display: block;
	flex-shrink: 0;
}

.article-date {
	font-size: 14px;
	color: var(--text-light);
}

.article-detail-body {
	line-height: 1.8;
	font-size: 16px;
	margin-bottom: 30px;
}

.article-detail-body h2,
.article-detail-body h3 {
	color: #333;
	margin-top: 30px;
	margin-bottom: 15px;
	font-weight: bold;
}

.article-detail-body h2 {
	font-size: 22px;
	padding-left: 10px;
	border-left: 4px solid var(--primary-color);
}

.article-detail-body h3 {
	font-size: 18px;
	padding-bottom: 8px;
	border-bottom: 3px solid var(--primary-color);
}

.article-detail-body p {
	margin-bottom: 15px;
}

.article-detail-body a {
	color: #4A90E2;
	text-decoration: underline;
}

.article-detail-body a:hover {
	color: #357ABD;
	text-decoration: underline;
}

.article-detail-body ul,
.article-detail-body ol {
	margin-bottom: 15px;
	padding-left: 25px;
}

.article-detail-body li {
	margin-bottom: 8px;
}

.btn.btn-like {
	padding: 8px 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: opacity 0.3s;
	cursor: pointer;
	font-size: 14px;
	white-space: nowrap;
	background: transparent !important;
	color: #333 !important;
	border: none !important;
}

.btn.btn-like.processing {
	pointer-events: none;
}

.btn.btn-like .like-icon {
	width: 20px;
	height: 20px;
	display: block;
	transition: all 0.2s ease;
	/* グレーの色 */
	filter: brightness(0) saturate(100%) invert(65%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.btn.btn-like:hover .like-icon {
	/* 濃いグレー */
	filter: brightness(0) saturate(100%) invert(35%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
	transform: scale(1.1);
}

.btn.btn-like.liked .like-icon {
	/* ピンク色（#FF69B4） */
	filter: brightness(0) saturate(100%) invert(67%) sepia(64%) saturate(2798%) hue-rotate(299deg) brightness(101%) contrast(101%);
}

.btn.btn-like.liked:hover .like-icon {
	/* 濃いピンク色 */
	filter: brightness(0) saturate(100%) invert(47%) sepia(81%) saturate(2697%) hue-rotate(312deg) brightness(100%) contrast(101%);
	transform: scale(1.1);
}

/* 関連記事サイドバー */
.article-detail-sidebar .sidebar-widget {
	padding: 20px;
}

.article-detail-sidebar .sidebar-title {
	margin-bottom: 20px;
	font-size: 18px;
	font-weight: bold;
	padding-left: 10px;
	border-left: 4px solid var(--primary-color);
}

.related-article-card {
	display: flex;
	gap: 15px;
	padding: 15px;
	margin-bottom: 15px;
	background: var(--white);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
	transition: all 0.2s ease;
}

.related-article-card:last-child {
	margin-bottom: 0;
}

.related-article-card:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.related-article-image {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	border-radius: 4px;
	overflow: hidden;
	background: var(--secondary-color);
}

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

.related-article-image .no-image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--secondary-color);
	color: var(--text-light);
	font-size: 12px;
}

.related-article-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.related-article-title {
	font-size: 15px;
	line-height: 1.5;
	font-weight: 600;
	color: var(--text-color);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.related-article-excerpt {
	font-size: 13px;
	line-height: 1.6;
	color: var(--text-light);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* =====================================
   質問一覧ページ
   ===================================== */
.question-list-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 40px;
}

.question-list-sidebar .sidebar-widget {
	background: #F5F5F5;
	padding: 20px;
	border-radius: 8px;
}

.sidebar-title {
	margin-bottom: 20px;
	font-size: 18px;
	font-weight: bold;
	padding-left: 10px;
	border-left: 4px solid var(--primary-color);
}

.category-filter {
}

.category-group {
	margin-bottom: 20px;
}

.category-parent-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 10px;
	cursor: default;
}

.category-children {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.category-child-link {
	padding: 5px 12px;
	background: white;
	border: 1px solid #DDD;
	border-radius: 15px;
	font-size: 12px;
	color: var(--primary-color);
	text-decoration: none;
	transition: all 0.3s;
}

.category-child-link:hover {
	background: var(--primary-color);
	color: white;
	border-color: var(--primary-color);
}

/* =====================================
   記事投稿ページ - カテゴリ選択
   ===================================== */
.category-selection-area {
	background: #F5F5F5;
	padding: 20px;
	border-radius: 8px;
}

.category-group-select {
	margin-bottom: 20px;
}

.category-group-select:last-child {
	margin-bottom: 0;
}

.category-parent-title-select {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 10px;
	color: #333;
}

.category-children-select {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.category-child-button {
	padding: 5px 12px;
	background: white;
	border: 1px solid #DDD;
	border-radius: 15px;
	font-size: 12px;
	color: var(--primary-color);
	cursor: pointer;
	transition: all 0.3s;
}

.category-child-button:hover {
	background: var(--primary-color);
	color: white;
	border-color: var(--primary-color);
}

.category-child-button.selected {
	background: var(--primary-color);
	color: white;
	border-color: var(--primary-color);
	font-weight: bold;
}

/* =====================================
   質問詳細ページ
   ===================================== */
.question-detail-layout {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 30px;
	margin-top: 30px;
}

.question-detail-main {
	min-width: 0;
}

.question-detail-content {
	background: white;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 40px;
	margin-bottom: 30px;
}

.question-detail-title {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 20px;
	line-height: 1.4;
}

.question-detail-meta {
	display: flex;
	gap: 20px;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px dashed var(--border-color);
	flex-wrap: wrap;
}

.question-author-info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.question-author-info img {
	border-radius: 50%;
}

.question-author-info span {
	font-size: 14px;
	color: var(--text-light);
}

.question-date {
	font-size: 14px;
	color: var(--text-light);
}

.question-detail-body {
	line-height: 1.8;
	font-size: 16px;
}

.question-detail-body h2,
.question-detail-body h3 {
	color: #333;
	margin-top: 30px;
	margin-bottom: 15px;
	font-weight: bold;
}

.question-detail-body h2 {
	font-size: 22px;
	padding-left: 10px;
	border-left: 4px solid var(--primary-color);
}

.question-detail-body h3 {
	font-size: 18px;
	padding-bottom: 8px;
	border-bottom: 3px solid var(--primary-color);
}

.question-detail-body a {
	color: #4A90E2;
	text-decoration: underline;
}

.question-detail-body a:hover {
	color: #357ABD;
	text-decoration: underline;
}

.question-detail-body .question-section-title {
	color: #333;
	font-size: 18px;
	font-weight: bold;
	margin-top: 30px;
	margin-bottom: 15px;
	padding-left: 10px;
	padding-bottom: 0;
	border-left: 4px solid var(--primary-color);
	border-bottom: none !important;
}

.question-section-title:first-child {
	margin-top: 0;
}

.question-environment-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
	margin-bottom: 20px;
	border: 1px solid var(--border-color);
}

.question-environment-table th,
.question-environment-table td {
	padding: 12px 15px;
	border: 1px solid var(--border-color);
	text-align: left;
}

.question-environment-table th {
	background: var(--secondary-color);
	font-weight: bold;
	width: 40%;
}

.question-environment-table td {
	background: white;
}

/* 回答セクション */
.answers-section {
	background: white;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 40px;
}

.answers-title {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 30px;
}

.answer-item {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--border-color);
}

.answer-item:last-of-type {
	border-bottom: none;
}

.answer-item.best-answer {
	background: linear-gradient(135deg, #FFF9E6 0%, #FFF3CC 100%);
	padding: 20px;
	border-radius: 8px;
	margin: -10px;
	margin-bottom: 20px;
	border: 3px solid #FFD700;
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
	position: relative;
	padding-bottom: 20px;
}

.answer-content {
	display: flex;
	gap: 15px;
}

.answer-avatar {
	flex-shrink: 0;
}

.answer-avatar img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

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

.answer-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.answer-author {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-color);
}

.answer-text {
	line-height: 1.6;
	margin-bottom: 15px;
	word-wrap: break-word;
}

.answer-text a {
	color: #4A90E2;
	text-decoration: underline;
}

.answer-text a:hover {
	color: #357ABD;
	text-decoration: underline;
}

.btn-best-answer {
	background: #FFD700;
	color: #333;
	border: none;
	padding: 8px 20px;
	font-size: 14px;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 500;
	transition: opacity 0.3s;
	margin-bottom: 10px;
}

.btn-best-answer:hover {
	opacity: 0.8;
}

.best-answer-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
	color: #333;
	padding: 8px 16px;
	border-radius: 20px;
	font-weight: bold;
	font-size: 14px;
	box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
	font-size: 12px;
	font-weight: 500;
	margin-bottom: 10px;
}

.answer-actions {
	display: flex;
	gap: 15px;
	margin-top: 10px;
	font-size: 14px;
	align-items: center;
}

.btn.btn-answer-like {
	background: transparent !important;
	border: none !important;
	padding: 5px 10px !important;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn.btn-answer-like:hover {
	background: transparent !important;
	transform: scale(1.05);
}

.btn.btn-answer-like .answer-like-icon {
	width: 20px;
	height: 20px;
	display: block;
	transition: all 0.2s ease;
	/* グレーの色 */
	filter: brightness(0) saturate(100%) invert(65%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.btn.btn-answer-like:hover .answer-like-icon {
	/* 濃いグレー */
	filter: brightness(0) saturate(100%) invert(35%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
	transform: scale(1.1);
}

.btn.btn-answer-like.liked .answer-like-icon {
	/* ピンク色（#FF69B4） */
	filter: brightness(0) saturate(100%) invert(67%) sepia(64%) saturate(2798%) hue-rotate(299deg) brightness(101%) contrast(101%);
}

.btn.btn-answer-like.liked:hover .answer-like-icon {
	/* 濃いピンク色 */
	filter: brightness(0) saturate(100%) invert(47%) sepia(81%) saturate(2697%) hue-rotate(312deg) brightness(100%) contrast(101%);
	transform: scale(1.1);
}

.btn.btn-answer-like .answer-like-count {
	font-size: 14px;
	color: #333;
	font-weight: 500;
}

.btn.btn-answer-like:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.answer-action {
	color: var(--text-light);
	cursor: pointer;
	transition: opacity 0.3s;
}

.answer-action:hover {
	opacity: 0.7;
}

/* =====================================
   返信機能スタイル
   ===================================== */

/* 返信ボタン */
.btn-reply {
	background: transparent;
	border: 1px solid var(--border-color);
	padding: 6px 14px;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	border-radius: 4px;
	color: var(--text-light);
}

.btn-reply:hover {
	background: var(--secondary-color);
	border-color: var(--text-light);
	color: var(--text-color);
}

.btn-reply .reply-icon {
	width: 16px;
	height: 16px;
	opacity: 0.6;
}

.btn-reply:hover .reply-icon {
	opacity: 1;
}

/* 返信折りたたみボタン */
.btn-show-more-replies {
	background: transparent;
	border: none;
	padding: 8px 0;
	font-size: 13px;
	color: var(--primary-color);
	cursor: pointer;
	display: block;
	width: 100%;
	text-align: left;
	margin-top: 10px;
	margin-bottom: 15px;
	transition: color 0.2s ease;
}

.btn-show-more-replies:hover {
	color: var(--primary-dark);
	text-decoration: underline;
}

/* 返信一覧の後の返信ボタン */
.replies-container + .btn-reply {
	margin-top: 15px;
}

/* 返信フォームコンテナ */
.reply-form-container {
	margin-top: 15px;
	padding: 15px;
	background: #f9f9f9;
	border-radius: 8px;
	border: 1px solid var(--border-color);
}

.reply-form .form-group {
	margin-bottom: 10px;
}

.reply-textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
	resize: vertical;
	min-height: 80px;
	font-family: inherit;
}

.reply-textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(0, 199, 68, 0.1);
}

.reply-form-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

.reply-form-actions .btn {
	padding: 8px 16px;
	font-size: 13px;
}

/* 返信一覧コンテナ */
.replies-container {
	margin-top: 20px;
	margin-left: 30px;
	padding-left: 20px;
	border-left: 2px solid #e0e0e0;
}

/* 返信アイテム */
.reply-item {
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
}

.reply-item:last-child {
	border-bottom: none;
}

.reply-content {
	display: flex;
	gap: 12px;
}

.reply-avatar {
	flex-shrink: 0;
}

.reply-avatar img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

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

.reply-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
	flex-wrap: wrap;
}

.reply-author {
	font-size: 13px;
	font-weight: 500;
	color: var(--text-color);
}

.reply-author a {
	color: inherit;
	text-decoration: none;
}

.reply-author a:hover {
	color: var(--primary-color);
}

.reply-date {
	font-size: 12px;
	color: var(--text-light);
}

.reply-text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-color);
	word-wrap: break-word;
}

.reply-actions {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}

/* 返信編集・削除ボタン（回答の編集・削除ボタンと同じスタイル） */
.btn-edit-reply,
.btn-delete-reply {
	background: none;
	border: none;
	padding: 5px 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.btn-edit-reply:hover,
.btn-delete-reply:hover {
	transform: scale(1.1);
}

.btn-edit-reply .edit-icon,
.btn-delete-reply .delete-icon {
	width: 18px;
	height: 18px;
	display: block;
	transition: all 0.2s ease;
	/* グレーの色 */
	filter: brightness(0) saturate(100%) invert(65%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.btn-edit-reply:hover .edit-icon {
	/* 青色（編集） */
	filter: brightness(0) saturate(100%) invert(43%) sepia(98%) saturate(401%) hue-rotate(166deg) brightness(94%) contrast(89%);
}

.btn-delete-reply:hover .delete-icon {
	/* 赤色（削除） */
	filter: brightness(0) saturate(100%) invert(24%) sepia(93%) saturate(3815%) hue-rotate(346deg) brightness(91%) contrast(88%);
}

/* 返信編集フォーム */
.reply-edit-form {
	margin-top: 10px;
}

.reply-edit-form .edit-textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
	resize: vertical;
	min-height: 60px;
	font-family: inherit;
	margin-bottom: 10px;
}

.reply-edit-form .edit-textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(0, 199, 68, 0.1);
}

.reply-edit-actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}

.reply-edit-actions .btn {
	padding: 6px 12px;
	font-size: 12px;
}

/* 返信成功メッセージ */
.reply-success-message {
	background: #d4edda;
	color: #155724;
	padding: 10px 15px;
	border-radius: 6px;
	margin-top: 10px;
	font-size: 14px;
}

/* 返信エラーメッセージ */
.reply-error-message {
	background: #f8d7da;
	color: #721c24;
	padding: 10px 15px;
	border-radius: 6px;
	margin-top: 10px;
	font-size: 14px;
}

/* モバイル対応 */
@media (max-width: 768px) {
	.replies-container {
		margin-left: 15px;
		padding-left: 15px;
	}

	.reply-avatar img {
		width: 32px;
		height: 32px;
	}

	.reply-content {
		gap: 10px;
	}

	.reply-header {
		gap: 6px;
	}

	.reply-author {
		font-size: 12px;
	}

	.reply-date {
		font-size: 11px;
	}

	.reply-text {
		font-size: 13px;
	}

	.reply-form-container {
		padding: 12px;
	}

	.reply-form-actions {
		flex-direction: column;
	}

	.reply-form-actions .btn {
		width: 100%;
	}
}

/* 質問アクション（いいね・違反報告） */
.question-actions {
	display: flex;
	gap: 15px;
	margin-top: 20px;
	padding-top: 15px;
	border-top: 1px solid var(--border-color);
	font-size: 14px;
	align-items: center;
}

.btn.btn-question-like {
	background: transparent !important;
	border: none !important;
	padding: 5px 10px !important;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn.btn-question-like:hover {
	background: transparent !important;
	transform: scale(1.05);
}

.btn.btn-question-like .question-like-icon {
	width: 20px;
	height: 20px;
	display: block;
	transition: all 0.2s ease;
	/* グレーの色 */
	filter: brightness(0) saturate(100%) invert(65%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.btn.btn-question-like:hover .question-like-icon {
	/* 濃いグレー */
	filter: brightness(0) saturate(100%) invert(35%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
	transform: scale(1.1);
}

.btn.btn-question-like.liked .question-like-icon {
	/* ピンク色（#FF69B4） */
	filter: brightness(0) saturate(100%) invert(67%) sepia(64%) saturate(2798%) hue-rotate(299deg) brightness(101%) contrast(101%);
}

.btn.btn-question-like.liked:hover .question-like-icon {
	/* 濃いピンク色 */
	filter: brightness(0) saturate(100%) invert(47%) sepia(81%) saturate(2697%) hue-rotate(312deg) brightness(100%) contrast(101%);
	transform: scale(1.1);
}

.btn.btn-question-like .question-like-count {
	font-size: 14px;
	color: #333;
	font-weight: 500;
}

.btn.btn-question-like:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.btn.btn-report-question {
	background: transparent !important;
	border: none !important;
	padding: 5px 10px !important;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn.btn-report-question:hover {
	background: transparent !important;
	transform: scale(1.05);
}

.btn.btn-report-question .report-icon {
	width: 18px;
	height: 18px;
	display: block;
	filter: brightness(0) saturate(100%) invert(65%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
	transition: all 0.2s ease;
}

.btn.btn-report-question:hover .report-icon {
	filter: brightness(0) saturate(100%) invert(35%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
	transform: scale(1.1);
}

/* 回答編集・削除ボタン */
.btn-edit-answer,
.btn-delete-answer {
	background: none;
	border: none;
	padding: 5px 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.btn-edit-answer:hover,
.btn-delete-answer:hover {
	transform: scale(1.1);
}

.btn-edit-answer .edit-icon,
.btn-delete-answer .delete-icon {
	width: 20px;
	height: 20px;
	display: block;
	transition: all 0.2s ease;
	/* グレーの色 */
	filter: brightness(0) saturate(100%) invert(65%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.btn-edit-answer:hover .edit-icon {
	/* 青色（編集） */
	filter: brightness(0) saturate(100%) invert(43%) sepia(98%) saturate(401%) hue-rotate(166deg) brightness(94%) contrast(89%);
}

.btn-delete-answer:hover .delete-icon {
	/* 赤色（削除） */
	filter: brightness(0) saturate(100%) invert(24%) sepia(93%) saturate(3815%) hue-rotate(346deg) brightness(91%) contrast(88%);
}

/* 記事通報ボタン */
.btn-report-article {
	background: none;
	border: none;
	padding: 5px 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.btn-report-article:hover {
	transform: scale(1.1);
}

.btn-report-article .report-icon {
	width: 20px;
	height: 20px;
	display: block;
	transition: all 0.2s ease;
	/* グレーの色 */
	filter: brightness(0) saturate(100%) invert(65%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.btn-report-article:hover .report-icon {
	/* 赤色 */
	filter: brightness(0) saturate(100%) invert(24%) sepia(93%) saturate(3815%) hue-rotate(346deg) brightness(91%) contrast(88%);
}

/* ボタンカラー（モーダル用） */
.btn-danger {
	background: linear-gradient(135deg, #FF5252 0%, #E03E3E 100%) !important;
	color: white !important;
	border: none !important;
	padding: 12px 24px !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	transition: all 0.2s ease !important;
}

.btn-danger:hover {
	background: linear-gradient(135deg, #E03E3E 0%, #C82333 100%) !important;
	transform: translateY(-1px);
}

.btn-danger:disabled {
	background: #ccc !important;
	cursor: not-allowed;
	transform: none;
}

.report-modal-footer .btn-secondary {
	background: #f0f0f0 !important;
	color: #666 !important;
	border: 1px solid #ddd !important;
	padding: 12px 24px !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	transition: all 0.2s ease !important;
}

.report-modal-footer .btn-secondary:hover {
	background: #e0e0e0 !important;
	color: #333 !important;
}

/* コメントフォーム */
.comment-form-area {
	margin-top: 40px;
	padding-top: 40px;
	border-top: 1px solid var(--border-color);
}

.comment-form-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 20px;
}

.question-comment-form {
	margin-top: 20px;
}

.question-comment-form .form-group {
	margin-bottom: 20px;
}

.question-comment-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 15px;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	background-color: var(--white);
	font-size: 16px;
	font-family: inherit;
	line-height: 1.6;
	box-sizing: border-box;
	resize: vertical;
	transition: all 0.3s;
}

.question-comment-form textarea:focus {
	border-color: var(--primary-color);
	outline: none;
}

.question-comment-form .file-upload-wrapper {
	margin-top: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	flex-wrap: nowrap;
}

.question-comment-form .file-upload-left {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
	flex: 0 1 auto;
}

.question-comment-form .file-upload-right {
	flex: 0 0 auto;
	text-align: right;
}

.question-comment-form .form-file-input {
	display: none;
}

.question-comment-form .file-upload-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
	border: 2px dashed #CCC;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s;
	font-size: 14px;
	color: #666;
	font-weight: 500;
	user-select: none;
}

.question-comment-form .file-upload-label:hover {
	background: linear-gradient(135deg, #e8e8e8 0%, #ddd 100%);
	border-color: var(--primary-color);
	color: var(--primary-color);
}

.question-comment-form .file-upload-icon {
	font-size: 18px;
}

.question-comment-form .file-upload-text {
	font-size: 14px;
}

.question-comment-form .file-upload-name {
	font-size: 13px;
	color: #666;
	padding: 8px 12px;
	background: #f9f9f9;
	border-radius: 4px;
	max-width: 300px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.community-guidelines-link {
	font-size: 13px;
	color: #007bff;
	text-decoration: underline;
	transition: color 0.3s;
	white-space: nowrap;
}

.community-guidelines-link:hover {
	color: #0056b3;
}

@media (max-width: 768px) {
	.question-comment-form .file-upload-wrapper {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.question-comment-form .file-upload-right {
		text-align: left;
	}
}

.answer-attachment {
	margin-top: 15px;
	margin-bottom: 15px;
}

.answer-attachment-image {
	max-width: 100%;
	max-height: 400px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.answer-attachment-video {
	max-width: 100%;
	max-height: 400px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ========================================
   固定ページ
======================================== */
body.page .container {
	padding-top: 0 !important;
}

.page-content-wrapper {
	max-width: 100%;
	margin: 0 auto 40px;
	padding: 0;
}

.page-content {
	background: var(--white);
	padding: 40px 45px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 固定ページ レスポンシブ */
@media (max-width: 768px) {
	.page-content-wrapper {
		margin: 0 auto 20px;
		padding: 0 5px;
	}

	.page-content {
		padding: 20px 10px;
	}

	.page-content .page-title {
		font-size: 24px;
		margin-bottom: 20px;
		padding-bottom: 15px;
	}

	.page-body {
		font-size: 15px;
	}

	.page-body h2 {
		font-size: 20px;
		margin-top: 25px;
		margin-bottom: 12px;
	}

	.page-body h3 {
		font-size: 18px;
		margin-top: 20px;
		margin-bottom: 10px;
	}
}

.page-content .page-title {
	font-size: 32px;
	font-weight: bold;
	color: #333;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 3px solid var(--primary-color);
	border-left: none;
	padding-left: 0;
}

.page-body {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
}

.page-body h2 {
	font-size: 24px;
	font-weight: bold;
	color: #333;
	margin-top: 30px;
	margin-bottom: 15px;
}

.page-body h3 {
	font-size: 20px;
	font-weight: bold;
	color: #333;
	margin-top: 25px;
	margin-bottom: 12px;
}

.page-body p {
	margin-bottom: 15px;
}

.page-body ul,
.page-body ol {
	margin-left: 25px;
	margin-bottom: 15px;
}

.page-body li {
	margin-bottom: 8px;
}

.page-body strong {
	font-weight: bold;
	color: #333;
}

.page-body a {
	color: #007bff;
	text-decoration: underline;
}

.page-body a:hover {
	color: #0056b3;
}

.login-prompt {
	margin-top: 40px;
	padding: 20px;
	background: var(--secondary-color);
	border-radius: 8px;
	text-align: center;
}

.login-prompt a {
	color: var(--primary-color);
	text-decoration: underline;
}

/* 質問サイドバー */
.question-detail-sidebar .sidebar-widget {
	background: var(--secondary-color);
	padding: 20px;
	border-radius: 8px;
}

.question-detail-sidebar .sidebar-title {
	margin-bottom: 20px;
	font-size: 16px;
	font-weight: bold;
	padding-left: 10px;
	border-left: 4px solid var(--primary-color);
}

.related-question-card {
	display: flex;
	gap: 12px;
	padding: 12px;
	margin-bottom: 12px;
	background: var(--white);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
	transition: all 0.2s ease;
}

.related-question-card:last-child {
	margin-bottom: 0;
}

.related-question-card:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

/* トップページの質問アイテム */
.question-item .avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.question-item-card {
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 15px;
	background-color: var(--white);
	transition: box-shadow 0.2s ease;
}

.question-item-card:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.question-item-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.question-item-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.question-item-avatar {
	flex-shrink: 0;
}

.question-item-avatar img {
	border-radius: 50%;
	width: 48px;
	height: 48px;
	object-fit: cover;
}

.question-item-author {
	flex: 1;
	font-size: 14px;
	color: var(--text-light);
}

.question-item-badge {
	flex-shrink: 0;
}

.question-item-body {
	margin-bottom: 15px;
}

.question-item-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 8px;
	line-height: 1.5;
	color: var(--text-color);
}

.question-item-excerpt {
	font-size: 14px;
	color: var(--text-light);
	line-height: 1.6;
}

.question-item-footer {
	display: flex;
	align-items: center;
	gap: 10px;
}

.related-question-image {
	width: 100px;
	height: 100px;
	flex-shrink: 0;
	border-radius: 4px;
	overflow: hidden;
	background: var(--secondary-color);
}

.related-question-image .no-image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--primary-color);
	color: var(--white);
	font-size: 36px;
	font-weight: bold;
}

.related-question-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.related-question-title {
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
	color: var(--text-color);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.related-question-excerpt {
	font-size: 12px;
	line-height: 1.5;
	color: var(--text-light);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* =====================================
   違反報告機能
   ===================================== */
.btn-report-answer {
	background: none;
	border: none;
	padding: 5px 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.btn-report-answer:hover {
	transform: scale(1.1);
}

.btn-report-answer:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.btn-report-answer .report-icon {
	width: 20px;
	height: 20px;
	display: block;
	transition: all 0.2s ease;
	/* グレーの色 */
	filter: brightness(0) saturate(100%) invert(65%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.btn-report-answer:hover .report-icon {
	/* 赤色 */
	filter: brightness(0) saturate(100%) invert(24%) sepia(93%) saturate(3815%) hue-rotate(346deg) brightness(91%) contrast(88%);
}

/* 違反報告モーダル */
.report-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	z-index: 10000;
	overflow-y: auto;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.report-modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
}

.report-modal-content {
	background: var(--white);
	border-radius: 16px;
	max-width: 900px;
	width: 100%;
	padding: 40px 50px;
	position: relative;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	animation: slideUp 0.3s ease;
	max-height: 90vh;
	overflow-y: auto;
}

@keyframes slideUp {
	from {
		transform: translateY(30px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.report-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	padding: 0;
	width: 36px;
	height: 36px;
	cursor: pointer;
	color: #666;
	transition: all 0.2s ease;
	border-radius: 50%;
}

.report-modal-close:hover {
	background-color: #f0f0f0;
	color: #333;
}

.report-modal-header {
	margin-bottom: 20px;
}

.report-modal-title {
	font-size: 24px;
	font-weight: bold;
	color: var(--text-color);
	margin: 0;
	padding-left: 15px;
	border-left: 4px solid #00C744;
}

.report-notice {
	background-color: #FFFBF0;
	padding: 14px 18px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--text-color);
	margin-bottom: 20px;
}

.report-notice .report-link {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 600;
}

.report-notice .report-link:hover {
	text-decoration: underline;
}

.report-section-title {
	font-size: 16px;
	font-weight: bold;
	color: var(--text-color);
	margin-bottom: 12px;
	margin-top: 0;
}

.report-reasons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 20px;
	margin-bottom: 20px;
}

.report-reason-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	padding: 12px 14px;
	border: 1px solid #E0E0E0;
	border-radius: 8px;
	transition: all 0.2s ease;
	background-color: var(--white);
}

.report-reason-item:hover {
	border-color: #B0B0B0;
	background-color: #FAFAFA;
}

.report-reason-item:has(input[type="radio"]:checked) {
	border-color: var(--primary-color);
	background-color: rgba(58, 151, 212, 0.04);
}

.report-reason-item input[type="radio"] {
	width: 20px;
	height: 20px;
	cursor: pointer;
	margin: 0;
	margin-top: 1px;
	flex-shrink: 0;
}

.report-reason-text {
	font-size: 14px;
	color: var(--text-color);
	cursor: pointer;
	flex: 1;
	line-height: 1.5;
	user-select: none;
}

@media (max-width: 768px) {
	.report-modal-content {
		max-width: 95%;
		padding: 30px 25px;
	}

	.report-reasons {
		grid-template-columns: 1fr;
	}

	.report-notice {
		font-size: 13px;
		padding: 14px 16px;
	}

	.btn-submit-report {
		padding: 12px 40px;
		font-size: 15px;
	}
}

.report-form .form-group {
	margin-bottom: 20px;
}

.report-textarea {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #E0E0E0;
	border-radius: 8px;
	font-size: 16px;
	font-family: inherit;
	resize: vertical;
	transition: all 0.3s;
	box-sizing: border-box;
	background-color: #F5F5F5;
	min-height: 80px;
	max-height: 150px;
}

.report-textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(58, 151, 212, 0.1);
	background-color: var(--white);
}

.report-textarea::placeholder {
	color: #999;
}

.report-modal-actions {
	display: flex;
	justify-content: center;
	margin-top: 25px;
}

.btn-submit-report {
	padding: 14px 60px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 25px;
	cursor: pointer;
	transition: all 0.3s ease;
	background-color: #00C744;
	color: var(--white);
	border: none;
}

.btn-submit-report:hover {
	background-color: #00A838;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 199, 68, 0.3);
}

.btn-submit-report:disabled {
	background-color: #ccc;
	cursor: not-allowed;
	transform: none;
}

.report-success {
	text-align: center;
	padding: 20px;
}

.report-success-icon {
	width: 80px;
	height: 80px;
	background-color: #00C744;
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	margin: 0 auto 20px;
	animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
	from {
		transform: scale(0);
	}
	to {
		transform: scale(1);
	}
}

.report-success h3 {
	font-size: 22px;
	font-weight: bold;
	color: var(--text-color);
	margin-bottom: 12px;
}

.report-success p {
	font-size: 15px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 25px;
}

.report-success .btn {
	display: inline-block;
	min-width: 200px;
}

/* =====================================
   管理者評価機能
   ===================================== */
.admin-rating-container {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: 20px;
	padding: 8px 12px;
	background-color: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
}

.admin-rating-label {
	font-size: 13px;
	font-weight: 600;
	color: #666;
}

.admin-rating-stars {
	display: flex;
	gap: 2px;
}

.admin-rating-star {
	font-size: 20px;
	cursor: default;
	transition: all 0.2s ease;
	user-select: none;
}

.admin-rating-stars[data-editable="true"] .admin-rating-star {
	cursor: pointer;
}

.admin-rating-stars[data-editable="true"] .admin-rating-star:hover {
	transform: scale(1.2);
}

.admin-rating-star.filled {
	color: #FFD700;
}

.admin-rating-star:not(.filled) {
	color: #ccc;
}

.admin-rating-star.hover {
	color: #FFD700;
}

.admin-rating-none {
	font-size: 12px;
	color: #999;
	font-style: italic;
	margin-left: 8px;
}

/* ==========================================
   編集・削除ボタン
   ========================================== */

/* 投稿詳細ページのアクションボタン */
.post-actions {
	display: flex;
	gap: 12px;
	margin: 20px 0;
	flex-wrap: wrap;
}

/* 編集ボタン */
.btn-edit {
	background: transparent;
	color: #4A90E2;
	padding: 8px 12px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: none;
	cursor: pointer;
	white-space: nowrap;
}

.btn-edit:hover {
	background: rgba(0, 0, 0, 0.05);
	color: #4A90E2;
}

.btn-edit .edit-icon {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(195deg) brightness(97%) contrast(97%);
	transition: filter 0.2s ease;
}

/* 削除ボタン */
.btn-delete {
	background: transparent;
	color: #E74C3C;
	padding: 8px 12px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: none;
	cursor: pointer;
	white-space: nowrap;
}

.btn-delete:hover {
	background: rgba(0, 0, 0, 0.05);
	color: #E74C3C;
}

.btn-delete:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.btn-delete .delete-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	filter: brightness(0) saturate(100%) invert(35%) sepia(93%) saturate(1358%) hue-rotate(342deg) brightness(96%) contrast(90%);
	transition: filter 0.2s ease;
}

/* お気に入りボタン */
.btn-favorite {
	background: transparent;
	color: #666;
	padding: 8px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	cursor: pointer;
	white-space: nowrap;
}

.btn-favorite .favorite-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	transition: all 0.2s ease;
	/* グレーの色 */
	filter: brightness(0) saturate(100%) invert(65%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.btn-favorite:hover .favorite-icon {
	/* 濃いグレー */
	filter: brightness(0) saturate(100%) invert(35%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(90%);
	transform: scale(1.1);
}

.btn-favorite.favorited {
	color: #F39C12;
}

.btn-favorite.favorited .favorite-icon {
	/* オレンジ色（#F39C12） */
	filter: brightness(0) saturate(100%) invert(56%) sepia(93%) saturate(1523%) hue-rotate(2deg) brightness(98%) contrast(93%);
}

.btn-favorite.favorited:hover .favorite-icon {
	/* 濃いオレンジ色 */
	filter: brightness(0) saturate(100%) invert(46%) sepia(93%) saturate(1523%) hue-rotate(2deg) brightness(88%) contrast(93%);
	transform: scale(1.1);
}

/* 小さいボタン（マイページ用） */
.btn-small {
	padding: 6px;
	font-size: 13px;
	border-radius: 4px;
}

.btn-small .favorite-icon,
.btn-small .delete-icon {
	width: 16px;
	height: 16px;
}

.btn-small .edit-icon {
	width: 18px;
	height: 18px;
}

/* マイページのアクションボタン */
.mypage-item {
	position: relative;
}

.mypage-item-actions {
	display: flex;
	gap: 8px;
	margin-top: 12px;
	padding: 0 15px 12px;
}

/* レスポンシブ対応 */
/* =====================================
   モバイルメニューオーバーレイ
   ===================================== */
.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
	opacity: 1;
	visibility: visible;
}

.mobile-menu-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	color: var(--white);
	font-size: 40px;
	font-weight: 300;
	cursor: pointer;
	padding: 0;
	width: 40px;
	height: 40px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.mobile-menu-close:hover {
	transform: rotate(90deg);
}

.mobile-menu-nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
	margin-bottom: 60px;
}

.mobile-menu-item {
	color: var(--white);
	font-size: 24px;
	font-weight: 500;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.mobile-menu-item:hover {
	opacity: 0.7;
}

.mobile-menu-search {
	width: 280px;
	max-width: 90%;
	margin-bottom: 30px;
}

.mobile-menu-search .search-form {
	width: 100%;
}

.mobile-menu-search input[type="search"] {
	width: 100%;
	padding: 12px 20px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 25px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--white);
	font-size: 16px;
	transition: all 0.3s ease;
}

.mobile-menu-search input[type="search"]::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.mobile-menu-search input[type="search"]:focus {
	background: rgba(255, 255, 255, 0.2);
	border-color: var(--primary-color);
	outline: none;
}

.mobile-menu-buttons {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 280px;
	max-width: 90%;
}

.mobile-menu-btn {
	display: block;
	text-align: center;
	padding: 15px 30px;
	border-radius: 25px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.mobile-menu-btn-white {
	background: var(--white);
	color: #333;
}

.mobile-menu-btn-white:hover {
	background: #f0f0f0;
}

.mobile-menu-btn-primary {
	background: var(--primary-color);
	color: var(--white);
}

.mobile-menu-btn-primary:hover {
	background: #45a049;
}

/* デスクトップではモバイルメニューを非表示 */
@media (min-width: 769px) {
	.mobile-menu-overlay {
		display: none;
	}
}

/* ====================================
   内部リンク ブログカード
   ==================================== */

/* URLリンクテキストを非表示（ブログカードのみ表示） */
.wp-block-embed.is-type-wp-embed > a,
.wp-block-embed__wrapper > a:first-child:not(.internal-link-card) {
	display: none !important;
}

.wp-block-embed__wrapper,
.wp-embedded-content {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.2s ease;
	text-decoration: none;
	color: inherit;
	background: var(--white);
	margin: 20px 0;
}

.wp-block-embed__wrapper:hover,
.wp-embedded-content:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ブログカード iframe スタイル */
.wp-embedded-content iframe {
	width: 100% !important;
	max-width: 100% !important;
	border: none;
	min-height: 200px;
}

/* 内部リンクカード用のカスタムスタイル */
.internal-link-card-wrapper {
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	margin: 20px 0;
	background: var(--white);
	transition: box-shadow 0.2s ease;
	max-width: 680px;
}

.internal-link-card-wrapper:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.internal-link-card-link {
	display: flex;
	text-decoration: none;
	color: inherit;
}

/* 左側：アイキャッチ画像 */
.internal-link-card-thumbnail {
	flex-shrink: 0;
	width: 180px;
	min-height: 140px;
	background-size: cover;
	background-position: center;
	background-color: #f5f5f5;
}

.internal-link-card-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 13px;
}

/* 右側：コンテンツ */
.internal-link-card-content {
	flex: 1;
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 140px;
}

.internal-link-card-title {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.5;
	margin: 0 0 8px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.internal-link-card-description {
	flex: 1;
	font-size: 13px;
	color: #666;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 10px;
}

.internal-link-card-site {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #999;
}

.internal-link-card-icon {
	width: 16px;
	height: 16px;
	border-radius: 50%;
}

.internal-link-card-wp-icon {
	font-size: 16px;
	color: #0073aa;
	width: 16px;
	height: 16px;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
	.internal-link-card-link {
		flex-direction: column;
	}

	.internal-link-card-thumbnail {
		width: 100%;
		height: 160px;
		min-height: auto;
	}

	.internal-link-card-content {
		min-height: auto;
	}

	.internal-link-card-title {
		-webkit-line-clamp: 3;
	}

	.internal-link-card-description {
		-webkit-line-clamp: 3;
	}
}

/* ===================================
   WordPress ボタンブロック
   ===================================== */
.wp-block-button__link,
.wp-element-button {
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 25px;
	padding: 12px 30px;
	display: inline-block;
	font-weight: 600;
	transition: opacity 0.3s, transform 0.2s;
}

/* ボタン内のすべてのテキスト要素を白色に */
.wp-block-button__link *,
.wp-element-button *,
.wp-block-button a *,
.wp-block-button__link strong,
.wp-element-button strong {
	color: #fff !important;
	text-decoration: none !important;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
	opacity: 0.9;
	text-decoration: none !important;
	transform: translateY(-1px);
}

/* 赤いボタン */
.wp-block-button.is-style-fill .wp-block-button__link,
.wp-block-button .wp-block-button__link,
.has-vivid-red-background-color.wp-block-button__link,
.has-background.wp-block-button__link {
	color: #fff !important;
}

/* ボタンブロック内のリンク */
.wp-block-buttons .wp-block-button a {
	color: #fff !important;
	text-decoration: none !important;
}

/* ===================================
   飼育環境テーブル
   ===================================== */
.environment-table {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
}

.environment-row {
	display: flex;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	overflow: hidden;
	background: var(--white);
}

.environment-label {
	flex: 0 0 220px;
	padding: 15px 20px;
	background: var(--secondary-color);
	border-right: 1px solid var(--border-color);
	font-weight: 600;
	font-size: 14px;
	color: var(--text-color);
	display: flex;
	align-items: center;
}

.environment-input-wrapper {
	flex: 1;
	padding: 8px 15px;
	display: flex;
	align-items: center;
}

.environment-input {
	width: 100%;
	border: none;
	outline: none;
	padding: 8px 5px;
	font-size: 16px !important;
	background: transparent;
}

.environment-input::placeholder {
	color: #999;
	font-size: 16px !important;
}

@media (max-width: 768px) {
	.environment-row {
		flex-direction: column;
	}

	.environment-label {
		flex: 0 0 auto;
		border-right: none;
		border-bottom: 1px solid var(--border-color);
	}
}

/* ===================================
   ページネーション
   ===================================== */
.pagination {
	margin: 40px 0;
	text-align: center;
}

.pagination .page-numbers {
	display: inline-flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 8px;
}

.pagination .page-numbers li {
	list-style: none;
}

.pagination .page-numbers a,
.pagination .page-numbers .current,
.pagination .page-numbers .dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	background: var(--white);
	color: var(--text-color);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s;
}

.pagination .page-numbers a:hover {
	background: var(--primary-color);
	color: var(--white);
	border-color: var(--primary-color);
}

.pagination .page-numbers .current {
	background: var(--primary-color);
	color: var(--white);
	border-color: var(--primary-color);
}

.pagination .page-numbers .dots {
	border: none;
	background: transparent;
}

.pagination .page-numbers .prev,
.pagination .page-numbers .next {
	font-weight: 600;
}

@media (max-width: 768px) {
	.pagination .page-numbers a,
	.pagination .page-numbers .current,
	.pagination .page-numbers .dots {
		min-width: 40px;
		height: 40px;
		font-size: 14px;
	}
}

/* ========================================
   通知機能（Notification System）
   ======================================== */

/* PC通知ドロップダウン */
.notification-dropdown {
	position: relative;
	margin-right: 10px;
}

.notification-trigger {
	background: none;
	border: none;
	cursor: pointer;
	position: relative;
	padding: 8px;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.notification-trigger:hover {
	opacity: 0.8;
}

.notification-icon {
	display: block;
	width: 28px;
	height: 28px;
	max-width: none;
}

.notification-badge {
	position: absolute;
	top: 0;
	right: 0;
	background: #e53935;
	color: white;
	font-size: 11px;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 10px;
	min-width: 18px;
	text-align: center;
	line-height: 1.2;
}

.notification-menu {
	position: absolute;
	top: 100%;
	right: 0;
	width: 350px;
	max-height: 450px;
	background: var(--white);
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.2s ease;
	z-index: 1000;
	overflow: hidden;
}

.notification-menu.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.notification-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	border-bottom: 1px solid var(--border-color);
	font-weight: bold;
	color: var(--text-color);
}

.mark-all-read {
	background: none;
	border: none;
	color: var(--primary-color);
	cursor: pointer;
	font-size: 12px;
	padding: 4px 8px;
	border-radius: 4px;
	transition: background 0.2s;
}

.mark-all-read:hover {
	background: rgba(25, 118, 210, 0.1);
}

.notification-list {
	max-height: 380px;
	overflow-y: auto;
}

.notification-loading {
	padding: 30px 20px;
	text-align: center;
	color: var(--text-light);
}

.notification-empty {
	padding: 40px 20px;
	text-align: center;
	color: var(--text-light);
}

.notification-item {
	display: flex;
	padding: 12px 15px;
	border-bottom: 1px solid #f5f5f5;
	cursor: pointer;
	transition: background 0.2s, opacity 0.2s;
	text-decoration: none;
	color: var(--text-color);
	opacity: 0.5;
}

.notification-item:hover {
	background: #f9f9f9;
	opacity: 0.7;
}

.notification-item.unread {
	opacity: 1;
}

.notification-item.unread:hover {
	background: #f0f0f0;
}

.notification-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin-right: 12px;
	flex-shrink: 0;
	object-fit: cover;
}

.notification-content {
	flex: 1;
	min-width: 0;
}

.notification-text {
	font-size: 14px;
	line-height: 1.4;
	color: var(--text-color);
	word-break: break-word;
}

.notification-time {
	font-size: 12px;
	color: var(--text-light);
	margin-top: 4px;
}

/* モバイル通知バッジ（ハンバーガーメニュー上） */
.mobile-menu-toggle {
	position: relative;
}

.mobile-notification-badge {
	position: absolute;
	top: -5px;
	right: -5px;
	background: #e53935;
	color: white;
	font-size: 10px;
	font-weight: bold;
	padding: 2px 5px;
	border-radius: 10px;
	min-width: 16px;
	text-align: center;
	line-height: 1.2;
}

/* モバイルメニュー内通知セクション */
.mobile-notification-section {
	padding: 15px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-notification-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	color: white;
	font-weight: bold;
	font-size: 14px;
}

.mark-all-read-mobile {
	background: none;
	border: none;
	color: #90caf9;
	cursor: pointer;
	font-size: 12px;
	padding: 4px 8px;
}

.mark-all-read-mobile:hover {
	color: white;
}

.mobile-notification-list {
	max-height: 200px;
	overflow-y: auto;
}

.mobile-notification-list .notification-loading,
.mobile-notification-list .notification-empty {
	color: rgba(255, 255, 255, 0.7);
	padding: 20px;
	font-size: 14px;
}

.mobile-notification-item {
	display: flex;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	margin-bottom: 8px;
	text-decoration: none;
	color: white;
	transition: background 0.2s, opacity 0.2s;
	opacity: 0.5;
}

.mobile-notification-item:last-child {
	margin-bottom: 0;
}

.mobile-notification-item:hover {
	background: rgba(255, 255, 255, 0.15);
	opacity: 0.7;
}

.mobile-notification-item.unread {
	opacity: 1;
}

.mobile-notification-item.unread:hover {
	background: rgba(255, 255, 255, 0.2);
}

.notification-avatar-small {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	margin-right: 10px;
	flex-shrink: 0;
	object-fit: cover;
}

.mobile-notification-item .notification-content {
	flex: 1;
	min-width: 0;
}

.mobile-notification-item .notification-text {
	font-size: 13px;
	line-height: 1.4;
	color: white;
}

.mobile-notification-item .notification-time {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 3px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.notification-dropdown {
		display: none;
	}
}

@media (min-width: 769px) {
	.mobile-notification-badge {
		display: none;
	}
}

/* =====================================
   マイページ ページネーション
   ===================================== */
.mypage-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--border-color);
}

.mypage-pagination a {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	background: var(--primary-color);
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-size: 14px;
	transition: background 0.2s;
}

.mypage-pagination a:hover {
	background: var(--primary-dark);
}

.mypage-pagination .pagination-info {
	color: var(--text-light);
	font-size: 14px;
}

@media (max-width: 768px) {
	.mypage-pagination {
		gap: 8px;
	}

	.mypage-pagination a {
		padding: 6px 12px;
		font-size: 13px;
	}

	.mypage-pagination .pagination-info {
		font-size: 13px;
	}
}
