/*
Theme Name: Resale Auto Theme
Author: Resale Auto
Version: 2.0
Description: プレ値・せどり情報特化型WordPress自動記事生成テーマ
*/

/* ==========================================================================
   リセット・ベース
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--c-bg: #f0f2f5;
	--c-surface: #ffffff;
	--c-text: #1a1a2e;
	--c-text-sub: #64748b;
	--c-border: #e2e8f0;
	--c-primary: #2563eb;
	--c-primary-dark: #1d4ed8;
	--c-accent: #f59e0b;
	--c-hot: #ef4444;
	--c-warm: #f97316;
	--c-green: #10b981;
	--c-dark: #0f172a;
	--c-dark-light: #1e293b;
	--radius: 10px;
	--radius-lg: 16px;
	--shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
	--shadow-md: 0 4px 16px rgba(0,0,0,0.08);
	--shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
	--font: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
	font-family: var(--font);
	background: var(--c-bg);
	color: var(--c-text);
	line-height: 1.7;
	font-size: 15px;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); }
img { max-width: 100%; height: auto; }

/* ==========================================================================
   レイアウト
   ========================================================================== */
.site-wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.site-header {
	background: var(--c-dark);
	padding: 0 24px;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: var(--shadow-md);
}
.header-inner {
	max-width: 1120px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 60px;
	gap: 20px;
}
.header-brand {
	display: flex;
	align-items: center;
	gap: 10px;
}
.brand-link {
	text-decoration: none;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 8px;
}
.brand-icon {
	width: 32px;
	height: 32px;
	background: var(--c-primary);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	font-size: 16px;
	color: #fff;
}
.site-title {
	font-size: 18px;
	font-weight: 800;
	color: #fff;
	letter-spacing: 0.02em;
}
.header-nav {
	display: flex;
	align-items: center;
}
.nav-list {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
}
.nav-list > li {
	position: relative;
}
.nav-list a {
	color: #cbd5e1;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 6px;
	transition: all 0.15s;
	display: flex;
	align-items: center;
	gap: 4px;
}
.nav-list a:hover {
	color: #fff;
	background: rgba(255,255,255,0.1);
}
/* ドロップダウン */
.nav-dropdown-toggle { cursor: pointer; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	padding-top: 8px;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	min-width: 200px;
	padding: 6px 0;
	z-index: 200;
	list-style: none;
}
.nav-dropdown:hover .nav-dropdown-menu {
	display: block;
}
.nav-dropdown-menu li { margin: 0; }
.nav-dropdown-menu a {
	color: var(--c-text) !important;
	padding: 9px 16px;
	border-radius: 0;
	font-size: 13px;
	display: flex;
	justify-content: space-between;
}
.nav-dropdown-menu a:hover {
	background: #f1f5f9 !important;
	color: var(--c-primary) !important;
}
.nav-dd-count {
	font-size: 11px;
	color: var(--c-text-sub);
	background: #f1f5f9;
	padding: 1px 7px;
	border-radius: 999px;
}
.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.search-form {
	display: flex;
	align-items: center;
}
.search-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}
.search-icon {
	position: absolute;
	left: 10px;
	color: #94a3b8;
	pointer-events: none;
}
.search-field {
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 999px;
	padding: 8px 14px 8px 32px;
	font-size: 13px;
	color: #fff;
	width: 200px;
	outline: none;
	transition: all 0.25s;
	font-family: var(--font);
}
.search-field::placeholder { color: #64748b; }
.search-field:focus {
	background: rgba(255,255,255,0.14);
	border-color: var(--c-primary);
	width: 260px;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.search-submit {
	display: none;
}

@media (max-width: 768px) {
	.header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
	.header-nav { order: 3; width: 100%; }
	.nav-list { overflow-x: auto; }
	.search-field { width: 160px; }
	.search-field:focus { width: 160px; }
}

/* ==========================================================================
   ヒーロー
   ========================================================================== */
.hero {
	background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-dark-light) 50%, #1e3a5f 100%);
	color: #fff;
	padding: 40px 32px;
	border-radius: var(--radius-lg);
	margin: 24px 0;
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	top: -40px;
	right: -40px;
	width: 200px;
	height: 200px;
	background: var(--c-primary);
	border-radius: 50%;
	opacity: 0.08;
}
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--c-accent);
	color: var(--c-dark);
	font-weight: 800;
	font-size: 11px;
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.hero-title {
	font-size: 28px;
	font-weight: 900;
	line-height: 1.3;
	margin-bottom: 8px;
}
.hero-sub {
	font-size: 14px;
	color: #94a3b8;
	max-width: 500px;
}

@media (max-width: 768px) {
	.hero { padding: 28px 20px; margin: 16px 0; }
	.hero-title { font-size: 22px; }
}

/* ==========================================================================
   セクション
   ========================================================================== */
.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}
.section-title {
	font-size: 18px;
	font-weight: 800;
	display: flex;
	align-items: center;
	gap: 8px;
}
.section-title::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 20px;
	background: var(--c-primary);
	border-radius: 2px;
}

/* ==========================================================================
   フィルター・タグ
   ========================================================================== */
.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--c-border);
}
.filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--c-text-sub);
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	text-decoration: none;
	transition: all 0.15s;
}
.filter-chip:hover {
	border-color: var(--c-primary);
	color: var(--c-primary);
}
.filter-chip.active {
	background: var(--c-primary);
	border-color: var(--c-primary);
	color: #fff;
}
.filter-count {
	font-size: 11px;
	background: rgba(0,0,0,0.08);
	padding: 1px 6px;
	border-radius: 999px;
}
.filter-chip.active .filter-count {
	background: rgba(255,255,255,0.25);
}
.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 20px;
}
.tag-chip {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--c-primary);
	background: #eef2ff;
	text-decoration: none;
	transition: all 0.15s;
}
.tag-chip:hover {
	background: var(--c-primary);
	color: #fff;
}
.section-count {
	font-size: 14px;
	color: var(--c-text-sub);
	font-weight: 600;
}

/* ==========================================================================
   カード一覧
   ========================================================================== */
.card-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 16px;
	margin-bottom: 32px;
}
.card {
	background: var(--c-surface);
	border-radius: var(--radius);
	border: 1px solid var(--c-border);
	overflow: hidden;
	transition: all 0.2s ease;
	display: flex;
	flex-direction: column;
}
.card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
	border-color: var(--c-primary);
}
.card-thumb {
	width: 100%;
	height: 180px;
	overflow: hidden;
	background: #f1f5f9;
}
.card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}
.card:hover .card-thumb img {
	transform: scale(1.05);
}
.card-cat {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	color: var(--c-primary);
	background: #eef2ff;
	padding: 2px 8px;
	border-radius: 4px;
}
.card-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.card-body {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.card-date {
	font-size: 12px;
	color: var(--c-text-sub);
}
.card-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--c-text);
}
.card-excerpt {
	font-size: 13px;
	color: var(--c-text-sub);
	line-height: 1.6;
	flex: 1;
}
.card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 20px;
	border-top: 1px solid var(--c-border);
	background: #fafbfc;
	gap: 4px;
}
.card-price {
	font-size: 12px;
	color: var(--c-text-sub);
	white-space: nowrap;
}
.card-price strong {
	color: var(--c-hot);
	font-weight: 700;
}

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

/* ==========================================================================
   利益バッジ
   ========================================================================== */
.profit-badge {
	display: inline-flex;
	align-items: center;
	font-size: 12px;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 999px;
	white-space: nowrap;
	letter-spacing: 0.02em;
}
.profit-badge.hot {
	background: var(--c-hot);
	color: #fff;
}
.profit-badge.warm {
	background: var(--c-warm);
	color: #fff;
}
.profit-badge.normal {
	background: #e2e8f0;
	color: var(--c-text);
}
/* content_html内のprofit-badge（Gemini生成分） */
.entry-content .profit-badge {
	font-size: 14px;
	padding: 6px 14px;
	margin-bottom: 16px;
}

/* 確信度バッジ */
.confidence-badge {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	white-space: nowrap;
}
.confidence-high   { background: #c8e6c9; color: #2e7d32; }
.confidence-medium { background: #fff3e0; color: #e65100; }
.confidence-low    { background: #ffcdd2; color: #c62828; }

/* ==========================================================================
   記事ページ
   ========================================================================== */
/* 2カラムレイアウト */
.single-layout {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 28px;
	margin: 24px 0 40px;
	align-items: start;
}
.single-main {
	min-width: 0;
}
@media (max-width: 900px) {
	.single-layout {
		grid-template-columns: 1fr;
	}
}

/* サイドバー */
.single-sidebar {
	display: flex;
	flex-direction: column;
	gap: 16px;
	position: sticky;
	top: 76px;
}
.sidebar-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	padding: 16px;
}
.sidebar-title {
	font-size: 13px;
	font-weight: 800;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--c-primary);
}
.sidebar-list {
	list-style: none;
}
.sidebar-list li { margin: 0; }
.sidebar-list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 7px 8px;
	border-radius: 6px;
	font-size: 13px;
	color: var(--c-text);
	text-decoration: none;
	transition: background 0.15s;
}
.sidebar-list a:hover {
	background: #f1f5f9;
	color: var(--c-primary);
}
.sidebar-count {
	font-size: 11px;
	color: var(--c-text-sub);
	background: #f1f5f9;
	padding: 1px 7px;
	border-radius: 999px;
}
.sidebar-recent {
	list-style: none;
}
.sidebar-recent li { margin: 0; }
.sidebar-recent .no-items {
	font-size: 13px;
	color: var(--c-text-sub);
	padding: 8px 0;
}
.sidebar-recent a {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid var(--c-border);
	text-decoration: none;
	color: var(--c-text);
	transition: color 0.15s;
}
.sidebar-recent li:last-child a {
	border-bottom: none;
}
.sidebar-recent a:hover {
	color: var(--c-primary);
}
.sidebar-thumb {
	width: 56px;
	height: 56px;
	border-radius: 6px;
	overflow: hidden;
	flex-shrink: 0;
}
.sidebar-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sidebar-recent-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.sidebar-recent-title {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.sidebar-recent-date {
	font-size: 11px;
	color: var(--c-text-sub);
}
.sidebar-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.single-article {
	max-width: 780px;
	margin: 24px auto 40px;
}
.single-thumb {
	width: 100%;
	max-height: 400px;
	overflow: hidden;
	border-radius: var(--radius);
	margin-bottom: 20px;
}
.single-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.single-cat {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	color: var(--c-primary);
	background: #eef2ff;
	padding: 4px 12px;
	border-radius: 999px;
	text-decoration: none;
	letter-spacing: 0.03em;
	margin-bottom: 8px;
}
.single-cat:hover {
	background: var(--c-primary);
	color: #fff;
}
.single-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 20px;
}
.single-header {
	margin-bottom: 24px;
}
.single-title {
	font-size: 26px;
	font-weight: 900;
	line-height: 1.4;
	margin-bottom: 12px;
}
.single-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--c-text-sub);
}
.single-date {
	white-space: nowrap;
}

/* 注意書きバー */
.notice-bar {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 12px 16px;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-radius: var(--radius);
	font-size: 13px;
	color: #0c4a6e;
	line-height: 1.6;
	margin-bottom: 20px;
}
.notice-icon {
	font-size: 16px;
	flex-shrink: 0;
	margin-top: 1px;
}
.notice-bar strong {
	color: #0369a1;
}

/* 価格情報カード */
.price-info-card {
	background: linear-gradient(135deg, #fef3c7, #fff7ed);
	border: 1px solid #fcd34d;
	border-radius: var(--radius);
	padding: 16px 20px;
	margin-bottom: 16px;
	display: flex;
	justify-content: space-around;
	gap: 8px;
}
.price-info-item {
	text-align: center;
	flex: 1;
	min-width: 0;
}
.price-info-label {
	font-size: 10px;
	font-weight: 700;
	color: #92400e;
	letter-spacing: 0.05em;
	margin-bottom: 4px;
	white-space: nowrap;
}
.price-info-value {
	font-size: 16px;
	font-weight: 800;
	color: var(--c-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.price-info-value.accent {
	color: var(--c-hot);
}

/* 仕入れ先一覧 */
.source-card {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	padding: 20px;
	margin-bottom: 24px;
}
.source-card-title {
	font-size: 15px;
	font-weight: 800;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.source-list {
	list-style: none;
	display: grid;
	gap: 8px;
}
.source-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	background: #f8fafc;
	border-radius: 8px;
	font-size: 14px;
}
.source-list li a {
	font-weight: 600;
}
.source-note {
	font-size: 12px;
	color: var(--c-text-sub);
	margin-left: auto;
}

/* 記事本文 */
.content {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.entry-content {
	padding: 32px;
	font-size: 15px;
	line-height: 1.85;
}
.entry-content h2 {
	font-size: 20px;
	font-weight: 800;
	margin: 32px 0 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--c-primary);
}
.entry-content h3 {
	font-size: 17px;
	font-weight: 700;
	margin: 24px 0 12px;
	padding-left: 12px;
	border-left: 3px solid var(--c-accent);
}
.entry-content p {
	margin-bottom: 16px;
}
.entry-content ul, .entry-content ol {
	margin: 12px 0;
	padding-left: 24px;
}
.entry-content li {
	margin-bottom: 6px;
}
.entry-content strong {
	color: var(--c-hot);
	font-weight: 700;
}
.entry-content a {
	border-bottom: 1px solid var(--c-primary);
}
.entry-content a:hover {
	border-bottom-color: transparent;
}
.entry-content blockquote {
	border-left: 4px solid var(--c-primary);
	padding: 12px 16px;
	background: #f8fafc;
	margin: 16px 0;
	border-radius: 0 var(--radius) var(--radius) 0;
}

/* 価格テーブル */
.price-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	margin: 16px 0;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--c-border);
}
.price-table thead th {
	background: var(--c-dark);
	color: #fff;
	padding: 10px 14px;
	text-align: left;
	font-weight: 700;
	font-size: 13px;
}
.price-table tbody td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--c-border);
}
.price-table tbody tr:nth-child(even) {
	background: #f8fafc;
}
.price-table tbody tr:hover {
	background: #eef2ff;
}

/* 参照元 */
.references {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--c-border);
}
.references-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--c-text-sub);
	margin-bottom: 8px;
}
.references-list {
	list-style: none;
	display: grid;
	gap: 4px;
}
.references-list li {
	font-size: 12px;
}
.references-list a {
	color: var(--c-text-sub);
}
.references-list a:hover {
	color: var(--c-primary);
}

@media (max-width: 768px) {
	.single-article { margin: 16px auto 32px; }
	.single-title { font-size: 22px; }
	.entry-content { padding: 20px; }
	.price-info-card { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   広告枠
   ========================================================================== */
.ad-slot {
	margin: 24px 0;
	padding: 16px;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: var(--radius);
	font-weight: 700;
	text-align: center;
	font-size: 13px;
	color: #92400e;
}

/* ==========================================================================
   ページネーション
   ========================================================================== */
.pagination {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin: 32px 0;
}
.pagination .page-numbers {
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--c-text-sub);
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	transition: all 0.15s;
}
.pagination .page-numbers:hover {
	border-color: var(--c-primary);
	color: var(--c-primary);
}
.pagination .page-numbers.current {
	background: var(--c-primary);
	border-color: var(--c-primary);
	color: #fff;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
	background: var(--c-dark);
	color: #94a3b8;
	margin-top: 48px;
}
.footer-inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 40px 24px 24px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 32px;
	margin-bottom: 24px;
}
.footer-title {
	font-weight: 800;
	color: #fff;
	font-size: 14px;
	margin-bottom: 12px;
}
.footer-desc {
	font-size: 13px;
	line-height: 1.7;
	color: #64748b;
}
.footer-list {
	list-style: none;
	display: grid;
	gap: 8px;
}
.footer-list a {
	color: #94a3b8;
	font-size: 13px;
	transition: color 0.15s;
}
.footer-list a:hover {
	color: #fff;
}
.footer-bottom {
	border-top: 1px solid #1e293b;
	padding-top: 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
}
.footer-status {
	display: flex;
	gap: 16px;
	font-size: 11px;
	color: #475569;
}

@media (max-width: 768px) {
	.footer-grid { grid-template-columns: 1fr; gap: 24px; }
	.footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ==========================================================================
   ユーティリティ
   ========================================================================== */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* ==========================================================================
   パンくずリスト
   ========================================================================== */
.breadcrumbs {
	max-width: 1200px;
	margin: 0 auto 16px;
	padding: 12px 24px 0;
	font-size: 13px;
	color: var(--c-text-sub);
}
.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 6px;
}
.breadcrumbs li {
	display: inline-flex;
	align-items: center;
}
.breadcrumbs li:not(:last-child)::after {
	content: "›";
	margin: 0 8px;
	color: #bbb;
}
.breadcrumbs a {
	color: var(--c-text-sub);
	text-decoration: none;
	transition: color .15s;
}
.breadcrumbs a:hover {
	color: var(--c-accent);
}
.breadcrumbs li[aria-current="page"] {
	color: var(--c-text);
	font-weight: 600;
}

/* ==========================================================================
   お問い合わせフォーム
   ========================================================================== */
.contact-form {
	margin: 24px 0;
	padding: 24px;
	background: #fafafa;
	border-radius: 12px;
	border: 1px solid var(--c-border);
}
.contact-form .form-row {
	margin-bottom: 18px;
	position: relative;
}
.contact-form label {
	display: block;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 6px;
	color: var(--c-text);
}
.contact-form .req {
	display: inline-block;
	background: #e53935;
	color: #fff;
	font-size: 10px;
	padding: 2px 6px;
	border-radius: 4px;
	margin-left: 6px;
	vertical-align: middle;
	font-weight: 700;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	width: 100%;
	padding: 12px 14px;
	font-size: 15px;
	border: 1px solid var(--c-border);
	border-radius: 8px;
	background: #fff;
	font-family: inherit;
	box-sizing: border-box;
	transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--c-accent);
	box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.12);
}
.contact-form textarea {
	resize: vertical;
	min-height: 160px;
}
.contact-form .form-privacy {
	font-size: 13px;
	color: var(--c-text-sub);
	padding: 12px 14px;
	background: #fff;
	border-radius: 8px;
	border: 1px dashed var(--c-border);
}
.contact-form .form-privacy p { margin: 0; }
.contact-form .form-privacy a {
	color: var(--c-accent);
	font-weight: 600;
}
.contact-submit {
	display: inline-block;
	background: var(--c-accent);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	padding: 14px 40px;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	transition: background .15s, transform .15s;
}
.contact-submit:hover {
	background: #e64a19;
	transform: translateY(-1px);
}

/* ==========================================================================
   固定ページ entry-content (privacy, about, contact)
   ========================================================================== */
.entry-content h2 {
	font-size: 20px;
	font-weight: 800;
	margin: 32px 0 12px;
	padding: 8px 0 8px 14px;
	border-left: 4px solid var(--c-accent);
	color: var(--c-text);
}
.entry-content h3 {
	font-size: 17px;
	font-weight: 700;
	margin: 24px 0 10px;
	color: var(--c-text);
}
.entry-content p {
	margin: 0 0 14px;
	line-height: 1.85;
	color: var(--c-text);
}
.entry-content ul,
.entry-content ol {
	margin: 0 0 14px;
	padding-left: 24px;
	line-height: 1.85;
}
.entry-content li {
	margin-bottom: 6px;
}
.entry-content a {
	color: var(--c-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.entry-content a:hover {
	text-decoration: none;
}
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0;
}
.entry-content table th,
.entry-content table td {
	padding: 10px 14px;
	border: 1px solid var(--c-border);
	text-align: left;
	font-size: 14px;
}
.entry-content table th {
	background: #f5f5f5;
	font-weight: 700;
	width: 140px;
}
