/* =========================================================
   Ra-Katsu ブログ テーマスタイル
   配色: コーラル・オレンジ基調の暖色系 + 白ベースの清潔感
   ========================================================= */

:root {
	--rk-coral: #f2593a;
	--rk-coral-dark: #d9432a;
	--rk-orange: #ff9f1c;
	--rk-orange-soft: #fff3e2;
	--rk-bg: #ffffff;
	--rk-bg-warm: #fff7f2;
	--rk-text: #2b2320;
	--rk-text-muted: #8a7a72;
	--rk-border: #f0e2d8;
	--rk-radius: 14px;
	--rk-shadow: 0 4px 16px rgba(217, 67, 42, 0.08);
	--rk-font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
		"Yu Gothic", Meiryo, system-ui, sans-serif;
}

/* ---------- ベース ---------- */

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--rk-font);
	font-size: 16px;
	line-height: 1.8;
	color: var(--rk-text);
	background: var(--rk-bg);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--rk-coral);
	text-decoration: none;
}

a:hover {
	opacity: 0.85;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.rk-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

.rk-container--narrow {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- ヘッダー ---------- */

.rk-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--rk-border);
}

.rk-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 64px;
}

.rk-header__sitename {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--rk-text);
}

.rk-header__sitename::before {
	content: "🍜 ";
}

.custom-logo {
	max-height: 44px;
	width: auto;
	display: block;
}

.rk-header__nav {
	flex: 1;
}

.rk-nav {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rk-nav a {
	display: block;
	padding: 8px 14px;
	border-radius: 999px;
	color: var(--rk-text);
	font-weight: 600;
	font-size: 0.95rem;
}

.rk-nav a:hover {
	background: var(--rk-orange-soft);
	color: var(--rk-coral);
	opacity: 1;
}

.rk-header__search {
	flex-shrink: 0;
}

/* ---------- 検索フォーム ---------- */

.rk-search {
	display: flex;
	background: #fff;
	border: 2px solid var(--rk-border);
	border-radius: 999px;
	overflow: hidden;
	transition: border-color 0.2s;
}

.rk-search:focus-within {
	border-color: var(--rk-coral);
}

.rk-search__input {
	border: 0;
	outline: 0;
	padding: 10px 18px;
	font-size: 0.95rem;
	font-family: inherit;
	width: 200px;
	background: transparent;
}

.rk-search__button {
	border: 0;
	cursor: pointer;
	padding: 0 20px;
	font-family: inherit;
	font-weight: 700;
	font-size: 0.9rem;
	color: #fff;
	background: linear-gradient(135deg, var(--rk-coral), var(--rk-orange));
}

/* ---------- ヒーロー ---------- */

.rk-hero {
	background: linear-gradient(135deg, #ff7a55 0%, var(--rk-coral) 45%, var(--rk-orange) 100%);
	color: #fff;
	padding: 64px 0 56px;
	text-align: center;
}

.rk-hero__title {
	margin: 0 0 12px;
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 800;
	letter-spacing: 0.02em;
}

.rk-hero__lead {
	margin: 0 0 28px;
	font-size: 1.05rem;
	opacity: 0.95;
}

.rk-hero__search {
	max-width: 560px;
	margin: 0 auto 20px;
}

.rk-hero__search .rk-search {
	border-color: transparent;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.rk-hero__search .rk-search__input {
	width: 100%;
	padding: 14px 22px;
	font-size: 1rem;
}

.rk-hero__search .rk-search {
	width: 100%;
}

.rk-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 8px;
}

.rk-chip {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--rk-coral-dark);
	font-size: 0.9rem;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rk-hero--about {
	padding: 48px 0;
}

.rk-archive__header .rk-hero__chips {
	justify-content: flex-start;
	margin: 12px 0 0;
}

.rk-archive__header .rk-chip {
	background: var(--rk-orange-soft);
	box-shadow: none;
}

/* ---------- セクション ---------- */

.rk-section {
	margin: 48px auto;
}

.rk-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.rk-section__title {
	font-size: 1.4rem;
	font-weight: 800;
	margin: 0 0 20px;
	padding-left: 14px;
	border-left: 5px solid var(--rk-coral);
	line-height: 1.4;
}

.rk-section__subtitle {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--rk-text-muted);
	margin-left: 6px;
}

.rk-section__more {
	font-weight: 700;
	font-size: 0.9rem;
	white-space: nowrap;
}

.rk-section__more::after {
	content: " →";
}

/* ---------- グリッド / カード ---------- */

.rk-grid {
	display: grid;
	gap: 24px;
}

.rk-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.rk-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

.rk-card {
	background: #fff;
	border: 1px solid var(--rk-border);
	border-radius: var(--rk-radius);
	overflow: hidden;
	box-shadow: var(--rk-shadow);
	display: flex;
	flex-direction: column;
	transition: transform 0.15s, box-shadow 0.15s;
}

.rk-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(217, 67, 42, 0.14);
}

.rk-card__link {
	color: inherit;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.rk-card__link:hover {
	opacity: 1;
}

.rk-card__media {
	position: relative;
	aspect-ratio: 3 / 2;
	background: var(--rk-orange-soft);
	overflow: hidden;
}

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

.rk-card__noimage {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: 2.5rem;
}

.rk-card__type {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--rk-coral);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
}

.rk-card__body {
	padding: 14px 16px 8px;
	flex: 1;
}

.rk-card__title {
	margin: 0 0 6px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
}

.rk-card__excerpt {
	margin: 0;
	font-size: 0.85rem;
	color: var(--rk-text-muted);
	line-height: 1.6;
}

.rk-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 8px 16px 14px;
}

.rk-card__date {
	margin-left: auto;
	font-size: 0.78rem;
	color: var(--rk-text-muted);
}

/* ---------- バッジ ---------- */

.rk-badge {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 2px 10px;
	border-radius: 999px;
	line-height: 1.7;
}

.rk-badge--type {
	background: var(--rk-coral);
	color: #fff;
}

.rk-badge--area {
	background: #fff;
	border: 1.5px solid var(--rk-coral);
	color: var(--rk-coral-dark);
}

.rk-badge--genre {
	background: var(--rk-orange-soft);
	color: #b36a00;
}

/* ---------- ボタン ---------- */

.rk-button {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	text-align: center;
}

.rk-button--primary {
	background: linear-gradient(135deg, var(--rk-coral), var(--rk-orange));
	color: #fff;
	box-shadow: 0 4px 14px rgba(242, 89, 58, 0.35);
}

.rk-button--ghost {
	border: 2px solid var(--rk-coral);
	color: var(--rk-coral-dark);
	background: #fff;
}

/* ---------- CTA ---------- */

.rk-cta {
	margin: 32px 0;
}

.rk-cta__link {
	display: block;
	border-radius: var(--rk-radius);
	overflow: hidden;
	box-shadow: var(--rk-shadow);
}

.rk-cta__link:hover {
	opacity: 0.93;
}

.rk-cta__image {
	display: block;
	width: 100%;
}

.rk-cta__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	padding: 32px 24px;
	background: linear-gradient(135deg, #ff7a55, var(--rk-coral) 55%, var(--rk-orange));
	color: #fff;
}

.rk-cta__headline {
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.5;
}

.rk-cta__text {
	font-size: 0.95rem;
	opacity: 0.95;
}

.rk-cta__button {
	display: inline-block;
	margin-top: 6px;
	padding: 12px 32px;
	border-radius: 999px;
	background: #fff;
	color: var(--rk-coral-dark);
	font-weight: 800;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rk-cta--about .rk-cta__body {
	padding: 48px 24px;
}

/* ---------- ストアボタン ---------- */

.rk-store {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 28px 0;
}

.rk-store__btn {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 200px;
	padding: 11px 26px;
	border-radius: 10px;
	background: var(--rk-text);
	color: #fff;
	line-height: 1.35;
	transition: transform 0.15s;
}

.rk-store__btn:hover {
	transform: translateY(-2px);
	opacity: 1;
}

.rk-store__sub {
	font-size: 0.72rem;
	opacity: 0.85;
}

.rk-store__main {
	font-size: 1.08rem;
	font-weight: 700;
}

/* ---------- 記事 ---------- */

.rk-breadcrumbs {
	font-size: 0.82rem;
	color: var(--rk-text-muted);
	padding: 14px 20px;
}

.rk-article {
	padding-bottom: 56px;
}

.rk-article__header {
	margin: 32px 0 20px;
}

.rk-article__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.rk-article__title {
	margin: 0 0 10px;
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	font-weight: 800;
	line-height: 1.45;
}

.rk-article__meta {
	display: flex;
	gap: 10px;
	font-size: 0.85rem;
	color: var(--rk-text-muted);
}

.rk-article__eyecatch {
	margin: 0 0 24px;
}

.rk-article__eyecatch img {
	width: 100%;
	border-radius: var(--rk-radius);
}

.rk-prose {
	font-size: 1.02rem;
}

.rk-prose h2 {
	font-size: 1.35rem;
	font-weight: 800;
	margin: 44px 0 16px;
	padding: 10px 16px;
	background: var(--rk-bg-warm);
	border-left: 5px solid var(--rk-coral);
	border-radius: 6px;
	line-height: 1.5;
}

.rk-prose h3 {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 36px 0 12px;
	padding-bottom: 6px;
	border-bottom: 2px solid var(--rk-border);
}

.rk-prose img {
	border-radius: 10px;
}

.rk-prose blockquote {
	margin: 20px 0;
	padding: 14px 20px;
	background: var(--rk-bg-warm);
	border-left: 4px solid var(--rk-orange);
	border-radius: 6px;
	color: var(--rk-text-muted);
}

/* ---------- 店舗情報ボックス ---------- */

.rk-shopinfo {
	margin: 40px 0;
	padding: 24px 28px;
	background: var(--rk-bg-warm);
	border: 1px solid var(--rk-border);
	border-radius: var(--rk-radius);
}

.rk-shopinfo__title {
	margin: 0 0 16px;
	font-size: 1.2rem;
	font-weight: 800;
	padding-left: 12px;
	border-left: 5px solid var(--rk-coral);
}

.rk-shopinfo__list {
	display: grid;
	grid-template-columns: 8em 1fr;
	gap: 8px 16px;
	margin: 0 0 18px;
}

.rk-shopinfo__list dt {
	font-weight: 700;
	color: var(--rk-coral-dark);
}

.rk-shopinfo__list dd {
	margin: 0;
}

.rk-points {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rk-points li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 4px;
}

.rk-points li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--rk-coral);
	font-weight: 800;
}

/* ---------- 地図 ---------- */

.rk-map {
	width: 100%;
	height: 380px;
	border-radius: var(--rk-radius);
	border: 1px solid var(--rk-border);
	background: var(--rk-bg-warm);
	z-index: 0;
}

.rk-map--wide {
	height: 440px;
}

/* ---------- 〇選 店舗カード ---------- */

.rk-ranklist {
	margin: 40px 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.rk-rankcard {
	position: relative;
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 20px;
	background: #fff;
	border: 1px solid var(--rk-border);
	border-radius: var(--rk-radius);
	box-shadow: var(--rk-shadow);
	padding: 20px;
}

.rk-rankcard__rank {
	position: absolute;
	top: -14px;
	left: -8px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--rk-coral), var(--rk-orange));
	color: #fff;
	font-size: 1.2rem;
	font-weight: 800;
	box-shadow: 0 4px 10px rgba(217, 67, 42, 0.3);
}

.rk-rankcard__media {
	border-radius: 10px;
	overflow: hidden;
	background: var(--rk-orange-soft);
	aspect-ratio: 3 / 2;
}

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

.rk-rankcard__name {
	margin: 0 0 8px;
	font-size: 1.25rem;
	font-weight: 800;
	background: none;
	border: none;
	padding: 0;
}

.rk-rankcard__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.rk-rankcard__excerpt {
	margin: 0 0 10px;
	font-size: 0.92rem;
	color: var(--rk-text-muted);
}

.rk-rankcard__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.rk-rankcard__actions .rk-button {
	padding: 9px 22px;
	font-size: 0.88rem;
}

/* ---------- タグ ---------- */

.rk-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 28px 0;
}

.rk-tags__label {
	font-weight: 700;
	font-size: 0.88rem;
	color: var(--rk-text-muted);
}

.rk-tags a {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 999px;
	background: #f5efeb;
	color: var(--rk-text-muted);
	font-size: 0.82rem;
	font-weight: 600;
}

.rk-tags a::before {
	content: "# ";
}

/* ---------- 人気記事(WordPress Popular Posts) ---------- */

.rk-popular .wpp-list,
.rk-popular-fallback {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: rk-rank;
}

.rk-popular .wpp-list li,
.rk-popular-fallback li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 4px;
	border-bottom: 1px solid var(--rk-border);
	counter-increment: rk-rank;
}

.rk-popular .wpp-list li::before,
.rk-popular-fallback li::before {
	content: counter(rk-rank);
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--rk-orange-soft);
	color: var(--rk-coral-dark);
	font-weight: 800;
	font-size: 0.9rem;
}

.rk-popular .wpp-list li:nth-child(-n + 3)::before {
	background: linear-gradient(135deg, var(--rk-coral), var(--rk-orange));
	color: #fff;
}

.rk-popular .wpp-thumbnail {
	border-radius: 8px;
	flex-shrink: 0;
}

.rk-popular .wpp-post-title,
.rk-popular-fallback a {
	font-weight: 700;
	color: var(--rk-text);
	font-size: 0.95rem;
	line-height: 1.5;
}

/* ---------- アーカイブ ---------- */

.rk-archive__header {
	margin: 32px 0 28px;
}

.rk-archive__title {
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	font-weight: 800;
	margin: 0 0 8px;
}

.rk-archive__description {
	color: var(--rk-text-muted);
	font-size: 0.95rem;
}

.rk-archive__searchagain {
	max-width: 480px;
	margin-top: 16px;
}

.rk-none {
	padding: 48px 0;
	text-align: center;
	color: var(--rk-text-muted);
}

/* ---------- ページネーション ---------- */

.pagination {
	margin: 40px 0;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1.5px solid var(--rk-border);
	color: var(--rk-text);
	font-weight: 700;
	font-size: 0.92rem;
}

.pagination .page-numbers.current {
	background: linear-gradient(135deg, var(--rk-coral), var(--rk-orange));
	border-color: transparent;
	color: #fff;
}

/* ---------- 404 ---------- */

.rk-404 {
	padding: 48px 20px 64px;
	text-align: center;
}

.rk-404__search {
	max-width: 480px;
	margin: 24px auto;
}

.rk-404 .rk-section {
	text-align: left;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- フッター ---------- */

.rk-footer {
	margin-top: 64px;
	background: #35241d;
	color: #f4e9e2;
	padding: 40px 0 24px;
}

.rk-footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.rk-footer__sitename {
	font-size: 1.15rem;
	font-weight: 800;
	margin: 0 0 6px;
}

.rk-footer__sitename::before {
	content: "🍜 ";
}

.rk-footer__description {
	margin: 0;
	font-size: 0.88rem;
	opacity: 0.8;
}

.rk-footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.rk-footer-nav a {
	color: #f4e9e2;
	font-size: 0.9rem;
	font-weight: 600;
}

.rk-footer__copyright {
	margin: 28px 0 0;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 0.8rem;
	opacity: 0.7;
	text-align: center;
}

/* ---------- レスポンシブ ---------- */

@media (max-width: 960px) {
	.rk-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.rk-grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.rk-header__search .rk-search__input {
		width: 140px;
	}
}

@media (max-width: 640px) {
	.rk-header__inner {
		flex-wrap: wrap;
		padding-top: 10px;
		padding-bottom: 10px;
		gap: 10px;
	}

	.rk-header__nav {
		order: 3;
		flex-basis: 100%;
		overflow-x: auto;
	}

	.rk-header__search {
		margin-left: auto;
	}

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

	.rk-rankcard {
		grid-template-columns: 1fr;
	}

	.rk-shopinfo__list {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.rk-shopinfo__list dt {
		margin-top: 10px;
	}

	.rk-map,
	.rk-map--wide {
		height: 300px;
	}
}
