@charset "UTF-8";
/* ==========================================================================
   4747スパイス — main.css
   構成: tokens / base / layout(l-) / components(c-) / pages(p-) / entry / utils
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
	--c-yellow: #FFCB1E;       /* ターメリック：ブランド色（OGP・アイコンと同色） */
	--c-yellow-soft: #FFE58A;
	--c-orange: #FF9C1F;       /* パプリカ：アイコンの円 */
	--c-chili: #E2542B;
	--c-ink: #141414;
	--c-ink-sub: #5a5550;
	--c-cream: #FFF6D8;
	--c-paper: #FFFCF3;
	--c-white: #fff;

	/* カテゴリー色：スパイス由来の4色 + ニュートラル。
	   tint＝面（ラベル・特集背景。黒文字で読める明度）、deep＝小さな文字・アクセント用 */
	--cat-chili: #FFC4B0;     --cat-chili-deep: #C8401C;     /* 実践する */
	--cat-cardamom: #CBE3B3;  --cat-cardamom-deep: #3F7A2A;  /* 現場を見る */
	--cat-pea: #C6D3F6;       --cat-pea-deep: #3450B8;       /* 学ぶ */
	--cat-onion: #E5C8EC;     --cat-onion-deep: #86408F;     /* 考える */
	--cat-rice: #EDE6D6;      --cat-rice-deep: #6B6254;      /* その他 */
	--tone-turmeric: #FFE17A;

	/* 飾りの丸：正円だと機械的なので、四隅の丸みをずらした「いびつな形」を2種類使い分ける */
	--blob-a: 58% 42% 63% 37% / 44% 58% 42% 56%;
	--blob-b: 41% 59% 38% 62% / 57% 43% 57% 43%; /* カテゴリー以外（タグ・検索など）の見出し面 */

	--f-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
	--f-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", var(--f-body);
	--f-en: "Titan One", "Zen Maru Gothic", sans-serif;

	--bw: 2px;
	--r-xl: 40px;
	--r-lg: 28px;
	--r-md: 18px;
	--r-sm: 12px;

	--gutter: 24px;
	--container: 1280px;
	--header-h: 88px;
	--ease: cubic-bezier(.3, .7, .3, 1);
}

@media (max-width: 767px) {
	:root {
		--gutter: 16px;
		--r-xl: 28px;
		--r-lg: 22px;
		--header-h: 68px;
	}
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: .03em;
	color: var(--c-ink);
	background-color: var(--c-paper);
	background-image: radial-gradient(rgba(255, 156, 31, .16) 1.4px, transparent 1.6px);
	background-size: 22px 22px;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; vertical-align: middle; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
/* iOS のタップ時の灰色の四角を消す（代わりに下の「押した瞬間の反応」を出す） */
a, button, label, input[type="submit"] { -webkit-tap-highlight-color: transparent; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

:focus-visible {
	outline: 3px solid var(--c-orange);
	outline-offset: 3px;
	border-radius: 6px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	position: fixed !important;
	top: 8px; left: 8px;
	z-index: 1000;
	width: auto; height: auto;
	clip: auto;
	padding: 8px 16px;
	background: var(--c-ink);
	color: var(--c-yellow);
	border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.l-wrap { padding-top: var(--header-h); }
/* iOS Safari は body の overflow-x を無視するため、はみ出しは中身の側で切る
   （斜めの帯・飾りの丸などで横スクロールが出ないように） */
.l-wrap { overflow-x: hidden; }
@supports (overflow-x: clip) {
	.l-wrap { overflow-x: clip; }
}

.l-container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.l-container.is-narrow { max-width: calc(800px + var(--gutter) * 2); }

.l-main { padding-bottom: 120px; }

/* Header ------------------------------------------------------------------ */
.l-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	transition: background-color .3s, box-shadow .3s;
}
.admin-bar .l-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .l-header { top: 46px; }
	.admin-bar .l-header.is-scrolled { top: 0; }
}
.l-header.is-scrolled {
	background: rgba(255, 252, 243, .92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 2px 0 var(--c-ink);
}
.l-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 100%;
	padding-inline: 32px;
}
.l-header__brand {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-right: auto;
	min-width: 0;
}
.l-header__logo { line-height: 0; flex-shrink: 0; }
.c-logo { display: inline-block; line-height: 0; }
.c-logo__img { width: 184px; height: auto; }
.c-logo--invert .c-logo__img { filter: invert(1); }

.l-header__tagline {
	position: relative;
	padding-left: 18px;
	font-family: var(--f-head);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}
.l-header__tagline::before {
	content: "";
	position: absolute;
	left: 0; top: 50%;
	width: 2px; height: 30px;
	background: var(--c-ink);
	transform: translateY(-50%) rotate(14deg);
}

.c-gnav { display: flex; gap: 8px; }
/* ヘッダーの操作要素は「黒地×黄文字 → ホバー/現在地でパプリカ地×黒文字」に統一 */
.c-gnav a,
.l-header__search {
	color: var(--c-yellow);
	background: var(--c-ink);
	border-radius: 999px;
	transition: transform .2s var(--ease), background-color .2s, color .2s;
}
.c-gnav a {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 20px;
	font-size: 15px;
	font-weight: 700;
}
.c-gnav .current-menu-item > a,
.c-gnav .current-post-ancestor > a,
.c-gnav .current-category-ancestor > a { color: var(--c-ink); background: var(--c-orange); }
/* ホバー色はマウスのある端末だけ（スマホでタップ後に色が残らないように） */
@media (hover: hover) {
	.c-gnav a:hover,
	.l-header__search:hover { color: var(--c-ink); background: var(--c-orange); transform: translateY(-2px); }
}

.l-header__search {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
}
.l-header__search svg { width: 20px; }

.c-burger {
	display: none;
	position: relative;
	z-index: 120;
	width: 64px; height: 64px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 0;
	color: var(--c-yellow);
	background: var(--c-ink);
	border: 0;
	border-radius: 50%;
	transition: background-color .2s, color .2s;
}
@media (hover: hover) {
	.c-burger:hover { color: var(--c-ink); background: var(--c-orange); }
}
/* オーバーレイ本体へのフォーカスは枠を出さない（中のリンク・入力欄の枠はそのまま） */
.c-drawer:focus,
.c-search-modal:focus { outline: none; }
.c-burger__lines { display: grid; gap: 5px; width: 26px; }
.c-burger__lines span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .3s var(--ease), opacity .2s;
}
.c-burger__label { font-family: var(--f-en); font-size: 10px; line-height: 1; letter-spacing: .06em; }
.c-burger[aria-expanded="true"] .c-burger__lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.c-burger[aria-expanded="true"] .c-burger__lines span:nth-child(2) { opacity: 0; }
.c-burger[aria-expanded="true"] .c-burger__lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.l-header__nav { display: none; }
	.c-burger { display: flex; }
}
@media (max-width: 767px) {
	.l-header__inner { padding-inline: 12px 10px; gap: 8px; }
	.c-logo__img { width: 132px; }
	.l-header__tagline { display: none; }
	.c-burger { width: 52px; height: 52px; gap: 4px; }
	.c-burger__lines { width: 22px; }
	.l-header__search { width: 40px; height: 40px; }
}

/* Drawer ------------------------------------------------------------------ */
/* ヘッダー(z:100)の下に敷き、閉じるボタンを押せるようにする */
.c-drawer {
	position: fixed;
	inset: 0;
	z-index: 95;
	overflow-y: auto;
	background: var(--c-yellow);
	clip-path: circle(0 at calc(100% - 64px) 44px);
	visibility: hidden;
	transition: clip-path .5s var(--ease), visibility 0s .5s;
}
.c-drawer.is-open {
	clip-path: circle(150% at calc(100% - 64px) 44px);
	visibility: visible;
	transition: clip-path .6s var(--ease);
}
.c-drawer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	justify-items: center;
	max-width: 480px;
	margin: 0 auto;
	padding: 110px var(--gutter) 64px;
}
.c-drawer__inner > nav { width: 100%; }
.c-drawer__nav { display: grid; gap: 12px; width: 100%; }
.is-drawer-open .l-header {
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}
.is-drawer-open .c-pagetop { opacity: 0; visibility: hidden; }
.c-drawer__nav a {
	display: block;
	padding: 16px 24px;
	font-family: var(--f-head);
	font-size: 18px;
	font-weight: 900;
	text-align: center;
	color: var(--c-yellow);
	background: var(--c-ink);
	border-radius: 999px;
}
.c-drawer .c-searchform { width: 100%; }

/* Search modal ------------------------------------------------------------ */
.c-search-modal {
	position: fixed;
	inset: 0;
	z-index: 130;
	display: grid;
	/* 列幅を画面内に固定（中身の最小幅で箱が画面より広がらないように） */
	grid-template-columns: minmax(0, 1fr);
	place-items: center;
	padding: var(--gutter);
	background: rgba(20, 20, 20, .7);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s, visibility 0s .25s;
}
.c-search-modal.is-open { opacity: 1; visibility: visible; transition: opacity .25s; }
.c-search-modal__inner {
	position: relative;
	display: grid;
	gap: 24px;
	width: min(640px, 100%);
	padding: 48px 40px 40px;
	text-align: center;
	background: var(--c-paper);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-xl);
	transform: translateY(16px);
	transition: transform .3s var(--ease);
}
.c-search-modal.is-open .c-search-modal__inner { transform: none; }
.c-search-modal__title { font-family: var(--f-en); font-size: 48px; line-height: 1; }
@media (max-width: 767px) {
	.c-search-modal__inner { padding: 44px 20px 28px; }
	.c-search-modal__title { font-size: 40px; }
}
.c-search-modal__close {
	position: absolute;
	top: 16px; right: 16px;
	width: 44px; height: 44px;
	padding: 0;
	background: var(--c-ink);
	border: 0;
	border-radius: 50%;
}
.c-search-modal__close span {
	position: absolute;
	top: 50%; left: 50%;
	width: 18px; height: 2px;
	background: var(--c-yellow);
	transform: translate(-50%, -50%) rotate(45deg);
}
.c-search-modal__close span + span { transform: translate(-50%, -50%) rotate(-45deg); }

/* Footer ------------------------------------------------------------------ */
.p-curry-band {
	position: relative;
	overflow: hidden;
	background: var(--c-yellow);
	border-top: var(--bw) solid var(--c-ink);
}
.p-curry-band::before,
.p-curry-band::after {
	content: "";
	position: absolute;
	border-radius: var(--blob-b);
	background: var(--c-orange);
}
.p-curry-band::after { border-radius: var(--blob-a); }
/* 飾りの丸は画面の左右端でだけ切れるようにし、帯の上下の辺では切らない */
.p-curry-band::before { width: 320px; height: 320px; left: -140px; bottom: 40px; }
.p-curry-band::after { width: 220px; height: 220px; right: -90px; top: 40px; }
@media (max-width: 767px) {
	.p-curry-band::before { width: 180px; height: 180px; left: -90px; bottom: 24px; }
	.p-curry-band::after { width: 140px; height: 140px; right: -70px; top: 24px; }
}
.p-curry-band__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 28px;
	justify-items: center;
	padding: 112px var(--gutter) 128px;
	text-align: center;
}
.p-curry-band__kv { width: min(720px, 100%); }
.p-curry-band__text { font-family: var(--f-head); font-size: 17px; font-weight: 900; }

.l-footer {
	padding: 0 16px 16px;
	background: var(--c-yellow);
}
.l-footer__inner {
	display: grid;
	gap: 28px;
	justify-items: center;
	padding: 72px var(--gutter) 40px;
	color: var(--c-white);
	text-align: center;
	background: var(--c-ink);
	border-radius: var(--r-xl);
}
.l-footer__logo .c-logo__img { width: 220px; }
.l-footer__icon { width: 128px; }
.l-footer__nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.l-footer__nav a { font-size: 14px; font-weight: 700; }
@media (hover: hover) {
	.l-footer__nav a:hover { color: var(--c-yellow); }
}
.l-footer__copy { font-size: 12px; color: #aaa; }

.c-sns { display: flex; gap: 12px; justify-content: center; }
.c-sns a {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	color: var(--c-ink);
	background: var(--c-yellow);
	border-radius: 50%;
}
.c-sns svg { width: 20px; }

/* Page top ---------------------------------------------------------------- */
.c-pagetop {
	position: fixed;
	right: 20px; bottom: 20px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 84px; height: 84px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px) scale(.8);
	transition: opacity .3s, visibility 0s .3s, transform .3s var(--ease);
}
.c-pagetop.is-show { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
.c-pagetop__burst {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	fill: var(--c-yellow);
	stroke: var(--c-ink);
	stroke-width: 3;
	stroke-linejoin: round;
	transition: transform .6s var(--ease);
}
@media (hover: hover) {
	.c-pagetop:hover .c-pagetop__burst { transform: rotate(45deg); }
}
.c-pagetop__label { position: relative; font-family: var(--f-en); font-size: 17px; }
@media (max-width: 767px) {
	.c-pagetop { width: 64px; height: 64px; right: 12px; bottom: 12px; }
	.c-pagetop__label { font-size: 13px; }
}

/* --------------------------------------------------------------------------
   Components
   -------------------------------------------------------------------------- */

/* 吹き出し */
.c-bubble {
	position: relative;
	display: inline-block;
	margin-bottom: 18px;
	padding: 10px 26px;
	font-family: var(--f-head);
	font-size: 15px;
	font-weight: 900;
	line-height: 1.4;
	background: var(--c-yellow);
	border: var(--bw) solid var(--c-ink);
	border-radius: 999px;
}
.c-bubble::after {
	content: "";
	position: absolute;
	left: 28px; bottom: -8px;
	width: 13px; height: 13px;
	background: inherit;
	border-right: var(--bw) solid var(--c-ink);
	border-bottom: var(--bw) solid var(--c-ink);
	transform: rotate(45deg) skew(8deg, 8deg);
}
.c-bubble.is-center { display: table; margin-inline: auto; }
.c-bubble.is-center::after { left: calc(50% - 7px); }

/* 英字の大見出し */
.c-en-title {
	font-family: var(--f-en);
	font-size: clamp(44px, 7vw, 80px);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: .01em;
}
.c-en-title.is-center { text-align: center; }

/* ボタン */
.c-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px 12px 26px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--c-ink);
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: 999px;
	transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.c-btn svg { width: 18px; transition: transform .2s var(--ease); }
@media (hover: hover) {
	.c-btn:hover { color: var(--c-yellow); background: var(--c-ink); }
}
@media (hover: hover) {
	.c-btn:hover svg { transform: translateX(3px); }
}
.c-btn--more { padding: 16px 28px 16px 36px; }
/* 「もっと見る」は一覧の読み終わり位置（右下）に置く */
.c-more { display: flex; justify-content: flex-end; margin-top: 40px; }
@media (max-width: 767px) {
	.c-more .c-btn--more { width: 100%; justify-content: center; }
}
.c-btn--white { background: var(--c-white); }

/* スライダー矢印 */
.c-arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	padding: 0;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: 50%;
	transform: translateY(-50%);
	transition: background-color .2s;
}
.c-arrow svg { width: 22px; }
@media (hover: hover) {
	.c-arrow:hover { background: var(--c-yellow); }
}
.c-arrow--prev { left: -26px; }
.c-arrow--next { right: -26px; }
/* 枠が画面幅いっぱいに近い幅では、矢印が画面端に接しないよう小さくして内側へ */
@media (min-width: 901px) and (max-width: 1400px) {
	.p-hero .c-arrow { width: 44px; height: 44px; }
	.p-hero .c-arrow--prev { left: -18px; }
	.p-hero .c-arrow--next { right: -18px; }
}

/* カテゴリー・日付 */
.c-cat {
	display: inline-block;
	padding: 3px 12px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .04em;
	white-space: nowrap;
	background: var(--tone-turmeric);
	border: 1.5px solid var(--c-ink);
	border-radius: 999px;
}
@media (hover: hover) {
	a.c-cat:hover { background: var(--c-ink); color: var(--c-yellow); }
}
.c-date { font-family: var(--f-en); font-size: 12px; letter-spacing: .06em; line-height: 1; }
.c-date.is-updated { font-family: var(--f-body); font-weight: 700; color: var(--c-ink-sub); }
.c-date.is-updated time { font-family: var(--f-en); }

.is-chili { --tone: var(--cat-chili); --tone-deep: var(--cat-chili-deep); }
.is-cardamom { --tone: var(--cat-cardamom); --tone-deep: var(--cat-cardamom-deep); }
.is-pea { --tone: var(--cat-pea); --tone-deep: var(--cat-pea-deep); }
.is-onion { --tone: var(--cat-onion); --tone-deep: var(--cat-onion-deep); }
.is-rice { --tone: var(--cat-rice); --tone-deep: var(--cat-rice-deep); }
.is-turmeric { --tone: var(--tone-turmeric); --tone-deep: var(--c-ink); }
.c-cat[class*="is-"], .c-chip[class*="is-"] { background: var(--tone); }

/* チップ */
.c-chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.p-archive__children { margin-bottom: 40px; }
.c-search-modal .c-chip-list { justify-content: center; }
.c-chip {
	display: inline-block;
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 700;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: 999px;
	transition: transform .2s var(--ease);
}
@media (hover: hover) {
	.c-chip:hover { transform: translateY(-2px) rotate(-2deg); }
}

/* 記事カード */
.c-card { position: relative; min-width: 0; }
.c-card__link { display: block; height: 100%; }
.c-card__link { position: relative; }
/* 先頭カードのシール（キービジュアルの「いま推しのやつ」と同じ黒×黄） */
.c-card__badge {
	position: absolute;
	top: -14px; left: 20px;
	z-index: 2;
	padding: 7px 18px;
	font-family: var(--f-head);
	font-size: 14px;
	font-weight: 900;
	line-height: 1.4;
	color: var(--c-yellow);
	background: var(--c-ink);
	border-radius: 999px;
	transform: rotate(-4deg);
}
.c-card__thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--c-cream);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-md);
}
.c-card__thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .5s var(--ease);
}
@media (hover: hover) {
	.c-card__link:hover .c-card__thumb img { transform: scale(1.05); }
}
.c-noimg { display: grid; place-items: center; width: 100%; height: 100%; background: var(--c-yellow); }
.c-noimg img { width: 50% !important; height: auto !important; object-fit: contain !important; }
.c-card__body { display: grid; gap: 10px; padding-top: 14px; }
.c-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
}
/* ホバーの下線は text-decoration だと文字の塊ごとに太さ・位置がぶれるため、
   タイトル内の span に 2px 固定の背景線を引く（左から伸びるアニメーション付き） */
.c-card__title-text {
	background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat;
	transition: background-size .3s var(--ease);
}
.c-card__link:focus-visible .c-card__title-text { background-size: 100% 2px; }
@media (hover: hover) {
	.c-card__link:hover .c-card__title-text { background-size: 100% 2px; }
}
.c-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.c-card__excerpt { font-size: 14px; line-height: 1.9; color: var(--c-ink-sub); }

.c-card--large .c-card__thumb { border-radius: var(--r-lg); }
.c-card--large .c-card__body { gap: 14px; padding-top: 20px; }
.c-card--large .c-card__title { font-family: var(--f-head); font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; line-height: 1.55; -webkit-line-clamp: 4; }

.c-card--rank {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 8px;
	align-items: center;
}
.c-card__rank { font-family: var(--f-en); font-size: 44px; line-height: 1; text-align: center; }
/* 横並びの小さいカード（ランキング・サイドバーの新着で共通） */
.c-card--rank .c-card__link,
.c-card--row .c-card__link { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: 14px; align-items: center; }
.c-card--rank .c-card__thumb,
.c-card--row .c-card__thumb { border-radius: var(--r-sm); }
.c-card--rank .c-card__title,
.c-card--row .c-card__title { font-size: 13px; line-height: 1.55; }
.c-card--rank .c-card__body,
.c-card--row .c-card__body { gap: 6px; padding-top: 0; }
.c-card--rank .c-card__meta .c-cat,
.c-card--row .c-card__meta .c-cat { display: none; }
.c-ranking__list li:nth-child(1) .c-card__rank { color: var(--c-orange); -webkit-text-stroke: 2px var(--c-ink); paint-order: stroke fill; }

/* タブ：見出しより一段軽く。選択中の黒だけが目立つようにする */
.c-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 32px 0 44px;
}
.c-tabs__btn {
	flex-shrink: 0;
	min-height: 38px;
	padding: 6px 18px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	background: var(--c-white);
	border: 1.5px solid var(--c-ink);
	border-radius: 999px;
	transition: background-color .2s, color .2s;
}
@media (hover: hover) {
	.c-tabs__btn:hover { background: var(--c-cream); }
}
.c-tabs__btn.is-active { color: var(--c-yellow); background: var(--c-ink); }
@media (max-width: 767px) {
	.c-tabs {
		flex-wrap: nowrap;
		margin: 28px calc(var(--gutter) * -1) 32px;
		padding: 4px var(--gutter);
		overflow-x: auto;
		scrollbar-width: none;
	}
	.c-tabs::-webkit-scrollbar { display: none; }
	.c-tabs__btn { padding: 6px 16px; font-size: 13px; }
}

/* 流れる帯 */
.c-marquee {
	margin: 72px -20px;
	padding: 18px 0;
	overflow: hidden;
	white-space: nowrap;
	background: var(--c-ink);
	transform: rotate(-2deg);
}
.c-marquee__track {
	display: inline-flex;
	animation: s47-marquee 40s linear infinite;
}
.c-marquee__track span {
	padding-right: 1em;
	font-family: var(--f-head);
	font-size: clamp(20px, 2.6vw, 30px);
	font-weight: 900;
	line-height: 1.3;
	color: var(--c-yellow);
}
@keyframes s47-marquee {
	to { transform: translateX(-50%); }
}

/* 検索フォーム */
.c-searchform {
	position: relative;
	display: flex;
	width: 100%;
}
.c-searchform__input {
	flex: 1;
	width: 100%;
	min-width: 0;
	height: 60px;
	padding: 0 72px 0 28px;
	font: inherit;
	font-size: 16px;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: 999px;
	-webkit-appearance: none;
	appearance: none;
}
.c-searchform__input:focus { outline: none; box-shadow: 0 0 0 4px var(--c-yellow); }
.c-searchform__btn {
	position: absolute;
	top: 6px; right: 6px;
	display: grid;
	place-items: center;
	width: 48px; height: 48px;
	padding: 0;
	color: var(--c-yellow);
	background: var(--c-ink);
	border: 0;
	border-radius: 50%;
}
.c-searchform__btn svg { width: 20px; }

/* ランキング */
.c-ranking__title,
.c-side-block__title { margin-bottom: 32px; font-size: clamp(40px, 4vw, 52px); }
.c-ranking__list { display: grid; gap: 28px; }
.c-side-block__list { display: grid; gap: 20px; }
.c-chip__count { margin-left: 6px; font-family: var(--f-en); font-size: 11px; opacity: .6; }

/* パンくず */
.c-breadcrumb { padding: 20px 0 28px; font-size: 12px; font-weight: 700; }
.c-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.c-breadcrumb li { display: flex; align-items: center; min-width: 0; }
.c-breadcrumb li:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--c-orange); }
.c-breadcrumb li:last-child span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; color: var(--c-ink-sub); }
@media (hover: hover) {
	.c-breadcrumb a:hover { text-decoration: underline; }
}

/* ページネーション */
.c-pagination { margin-top: 64px; }
.c-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
/* paginate_links() は外側の ul にも .page-numbers を付けるので、a / span に限定する */
.c-pagination a.page-numbers,
.c-pagination span.page-numbers {
	display: grid;
	place-items: center;
	min-width: 48px; height: 48px;
	padding: 0 8px;
	font-family: var(--f-en);
	font-size: 16px;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: 999px;
}
.c-pagination .page-numbers svg { width: 20px; }
.c-pagination .page-numbers.dots { border-color: transparent; background: none; }
.c-pagination .page-numbers.current { color: var(--c-yellow); background: var(--c-ink); }
@media (hover: hover) {
	.c-pagination a.page-numbers:hover { background: var(--c-yellow); }
}

/* 空状態 */
.c-empty { display: grid; gap: 20px; justify-items: center; padding: 64px 0; text-align: center; }
.c-empty__title { font-family: var(--f-head); font-size: clamp(22px, 3vw, 30px); font-weight: 900; line-height: 1.6; }
.c-empty .c-searchform { max-width: 520px; }

/* --------------------------------------------------------------------------
   Front page
   -------------------------------------------------------------------------- */
.p-top { padding-bottom: 120px; }

/* ヒーロー */
.p-hero {
	position: relative;
	margin-top: calc(var(--header-h) * -1);
	padding: calc(var(--header-h) + 36px) var(--gutter) 64px;
	overflow: hidden; /* 飾りの丸を帯の中で切る */
	background: var(--c-yellow);
	/* 画面幅いっぱいの帯は直線（角丸は左右に余白のある箱だけに使う）。フッター上の帯と同じ区切り方 */
	border-bottom: var(--bw) solid var(--c-ink);
}
/* 飾りの丸は右上（大）と左下（小）の対角に置き、左右の重さを釣り合わせる。
   フッター上の帯と同じ構図。上下の辺では切れない位置に収める */
.p-hero::before,
.p-hero::after {
	content: "";
	position: absolute;
	z-index: 0;
	background: var(--c-orange);
	border-radius: var(--blob-a);
}
.p-hero::after { border-radius: var(--blob-b); }
.p-hero::before { width: 300px; height: 300px; right: -110px; top: calc(var(--header-h) + 24px); }
.p-hero::after { width: 200px; height: 200px; left: -80px; bottom: 40px; }
/* 枠の幅は本文（.l-container）と同じにして、下のセクションと左端をそろえる */
.p-hero__frame {
	position: relative;
	z-index: 1;
	max-width: var(--container);
	margin: 0 auto;
	padding: 64px 72px 56px;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-xl);
}
.p-hero__bubble {
	position: absolute;
	top: -26px; left: 48px;
	z-index: 2;
	color: var(--c-yellow);
	background: var(--c-ink);
	border-color: var(--c-ink);
}
.p-hero__track { display: grid; }
.p-hero__slide {
	grid-area: 1 / 1;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 56px;
	align-items: stretch; /* 全スライドを同じ高さの枠に揃える */
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s var(--ease), visibility 0s .6s;
}
.p-hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
/* 日付・カテゴリーは画像の上端、ボタンは下端に固定。タイトル長で位置が動かない */
.p-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.p-hero__text .c-btn { margin-top: auto; }
.p-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.p-hero__title {
	font-family: var(--f-head);
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 900;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.p-hero__title a {
	background: linear-gradient(var(--c-yellow), var(--c-yellow)) left 88% / 0 .35em no-repeat;
	transition: background-size .35s var(--ease);
}
.p-hero__title a:focus-visible { background-size: 100% .35em; }
@media (hover: hover) {
	.p-hero__title a:hover { background-size: 100% .35em; }
}
.p-hero__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	line-height: 2;
}
.p-hero__thumb {
	display: block;
	align-self: start;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--c-cream);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-lg);
}
.p-hero__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) {
	.p-hero__thumb:hover img { transform: scale(1.04); }
}
.p-hero__dots { display: flex; gap: 10px; margin-top: 32px; }
.p-hero__dots button {
	width: 12px; height: 12px;
	padding: 0;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: 50%;
	transition: width .3s var(--ease), background-color .3s;
}
.p-hero__dots button[aria-selected="true"] { width: 32px; background: var(--c-ink); border-radius: 999px; }

@media (max-width: 900px) {
	.p-hero { padding-top: calc(var(--header-h) + 36px); padding-bottom: 40px; }
	.p-hero__frame { padding: 44px 20px 28px; }
	.p-hero__bubble { left: 20px; top: -24px; font-size: 13px; padding: 8px 18px; }
	.p-hero__slide { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.p-hero__thumb { order: -1; border-radius: var(--r-md); }
	.p-hero__text { gap: 14px; }
	.p-hero__excerpt { -webkit-line-clamp: 3; font-size: 13px; }
	.p-hero__dots { justify-content: center; margin-top: 24px; }
	.c-arrow { width: 40px; height: 40px; top: 28%; }
	.c-arrow svg { width: 18px; }
	.c-arrow--prev { left: -14px; }
	.c-arrow--next { right: -14px; }
	.p-hero::before { width: 150px; height: 150px; right: -70px; top: calc(var(--header-h) + 12px); }
	.p-hero::after { width: 110px; height: 110px; left: -55px; bottom: 20px; }
}

/* 新着ストリップ */
.p-strip { padding-top: 56px; }
.p-strip__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}
.p-strip__title { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-head); font-size: 18px; font-weight: 900; }
.p-strip__en { font-family: var(--f-en); font-size: 36px; font-weight: 400; line-height: 1; }
/* 左端は本文の列に揃え、右端は画面端まで流して「続きがある」ことを示す。
   100vw はスクロールバー幅を含んでずれるため 100% で計算 */
.p-strip__track {
	--strip-inset: max(var(--gutter), calc((100% - var(--container)) / 2));
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 264px;
	gap: 24px;
	padding: 4px var(--strip-inset) 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--strip-inset);
	scrollbar-width: thin;
	scrollbar-color: var(--c-ink) transparent;
}
.p-strip__track > * { scroll-snap-align: start; }
@media (max-width: 767px) {
	.p-strip { padding-top: 36px; }
	.p-strip__en { font-size: 28px; }
	.p-strip__track { grid-auto-columns: 72%; gap: 16px; }
}

/* はじめての方へ */
.p-start { padding-top: 24px; }
.p-start .c-en-title { margin-bottom: 40px; }
.p-start__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.p-start__item {
	display: grid;
	overflow: hidden;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-lg);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.p-start__item figure { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: var(--bw) solid var(--c-ink); }
.p-start__item img { width: 100%; height: 100%; object-fit: cover; }
.p-start__title { padding: 16px 20px 20px; font-weight: 700; line-height: 1.6; }
@media (hover: hover) {
	.p-start__item:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--c-ink); }
}
@media (max-width: 767px) {
	.p-start .c-en-title { margin-bottom: 28px; }
	.p-start__list { gap: 12px; }
	.p-start__item { grid-template-columns: 44% 1fr; align-items: center; border-radius: var(--r-md); }
	.p-start__item figure { height: 100%; border-bottom: 0; border-right: var(--bw) solid var(--c-ink); }
	.p-start__title { padding: 10px 14px; font-size: 13px; }
}

/* 記事一覧 */
.p-articles { padding-top: 112px; }
.p-articles__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 48px;
	align-items: start;
}
.p-articles__sub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
/* 見出し（吹き出し＋Article）とタブを1行にまとめ、区切り線で「見出し」と「中身」を分ける。
   余白の段階：見出し内 12px ＜ 見出し→記事 48px ＜ セクション間 112px */
.p-articles__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
	margin-bottom: 48px;
	padding-bottom: 28px;
	border-bottom: 1.5px solid var(--c-ink);
}
.p-articles__head .c-bubble { margin-bottom: 12px; }
.p-articles__head .c-en-title { line-height: 1; }
.p-articles__top .c-tabs { justify-content: flex-end; margin: 0 0 6px; }
@media (max-width: 1080px) {
	.p-articles__top { flex-direction: column; align-items: stretch; }
	.p-articles__top .c-tabs { justify-content: flex-start; margin: 0; }
}
@media (max-width: 767px) {
	.p-articles__top { gap: 20px; margin-bottom: 36px; padding-bottom: 20px; }
	.p-articles__top .c-tabs { margin: 0 calc(var(--gutter) * -1); }
}
.p-articles .c-more { margin-top: 56px; }
@media (max-width: 1024px) {
	.p-articles__grid { grid-template-columns: minmax(0, 1fr); }
	.p-articles__sub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.p-articles { padding-top: 80px; }
	.p-articles__grid { gap: 32px; }
	.p-articles__sub { gap: 28px 14px; }
	.p-articles__sub .c-card__title { font-size: 14px; }
}

/* 特集 */
.p-feature {
	margin: 112px 16px 0;
	padding: 72px 0 80px;
	background: var(--tone, var(--tone-turmeric));
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-xl);
}
.p-feature + .p-feature { margin-top: 32px; }
.p-feature__head { margin-bottom: 40px; }
.p-feature__en { margin-bottom: 6px; font-family: var(--f-en); font-size: 15px; letter-spacing: .08em; color: var(--tone-deep, var(--c-ink)); }
.p-feature__title {
	font-family: var(--f-head);
	font-size: clamp(22px, 3vw, 34px);
	font-weight: 900;
	line-height: 1.5;
}
.p-feature__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.p-feature .c-card__thumb { background: var(--c-white); }
.p-feature .c-cat { background: var(--c-white); }
.p-feature .c-more { margin-top: 48px; }
@media (max-width: 1024px) {
	.p-feature__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.p-feature { margin: 80px 8px 0; padding: 48px 0 56px; }
	.p-feature__grid { gap: 28px 14px; }
	.p-feature .c-card__title { font-size: 14px; }
}

/* ブログ紹介 */
.p-about { padding-top: 112px; }
.p-about__box {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
	padding: 72px;
	background: var(--c-yellow);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-xl);
}
.p-about__text { display: grid; gap: 28px; justify-items: start; }
.p-about__title { font-family: var(--f-head); font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; line-height: 1.45; }
.p-about__body { font-size: 15px; font-weight: 700; line-height: 2.1; }
.p-about__visual {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	padding: 8%;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-lg);
}
.p-about__visual.has-photo { padding: 0; overflow: hidden; }
.p-about__visual.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.p-about__visual:not(.has-photo) img { animation: s47-wobble 6s ease-in-out infinite; }
@keyframes s47-wobble {
	0%, 100% { transform: rotate(-4deg); }
	50% { transform: rotate(4deg); }
}
@media (max-width: 900px) {
	.p-about { padding-top: 80px; }
	.p-about__box { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 24px; }
	.p-about__visual { order: -1; width: 70%; margin-inline: auto; }
}

/* 検索・カテゴリー・ランキング */
.p-explore {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: 80px;
	padding-top: 112px;
}
.p-explore__search .c-en-title { margin-bottom: 28px; }
.p-explore__sub { margin: 56px 0 24px; font-family: var(--f-en); font-size: 32px; font-weight: 400; line-height: 1; }
.p-cat-circles { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 28px 16px; }
.p-cat-circles__item { display: grid; justify-items: center; gap: 4px; text-align: center; }
.p-cat-circles__img {
	display: block;
	width: 100%;
	max-width: 140px;
	aspect-ratio: 1;
	margin-bottom: 10px;
	overflow: hidden;
	background: var(--tone);
	border: var(--bw) solid var(--c-ink);
	border-radius: 50%;
	transition: transform .3s var(--ease);
}
.p-cat-circles__img img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) {
	.p-cat-circles__item:hover .p-cat-circles__img { transform: rotate(-6deg) scale(1.04); }
}
.p-cat-circles__name { font-size: 15px; font-weight: 700; }
@media (max-width: 1024px) {
	.p-explore { grid-template-columns: minmax(0, 1fr); gap: 80px; }
}
@media (max-width: 767px) {
	.p-explore { padding-top: 80px; }
	.p-cat-circles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   Single
   -------------------------------------------------------------------------- */
.p-single__head {
	display: grid;
	grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
	gap: 56px;
	align-items: center;
	margin-bottom: 72px;
}
.p-single__thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--c-cream);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-xl);
}
.p-single__thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-single__intro { display: grid; gap: 20px; justify-items: start; }
.p-single__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.p-single__meta .c-cat { font-size: 12px; padding: 4px 14px; }
.p-single__title {
	font-family: var(--f-head);
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 900;
	line-height: 1.6;
	letter-spacing: .04em;
}
.p-single__lead { font-size: 14px; line-height: 2; }
.p-single__author { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; }
.p-single__author img { width: 48px; height: 48px; border: var(--bw) solid var(--c-ink); border-radius: 50%; background: var(--c-cream); }
@media (hover: hover) {
	.p-single__author:hover span { text-decoration: underline; }
}
@media (max-width: 900px) {
	.p-single__head { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 48px; }
	.p-single__thumb { border-radius: var(--r-lg); }
}

.l-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 72px;
	align-items: start;
}
.l-columns__main { max-width: 760px; width: 100%; margin-inline: auto; }
/* サイドバーは画面より高くなるので追従（sticky）はしない */
.l-columns__sticky { display: grid; gap: 64px; }
.l-columns__side .c-bubble { font-size: 13px; }
@media (max-width: 1024px) {
	.l-columns { grid-template-columns: minmax(0, 1fr); gap: 96px; }
	.l-columns__side { max-width: 760px; width: 100%; margin-inline: auto; }
	.l-columns__sticky { position: static; }
}

/* ウィジェット（クラシック／ブロック両対応） */
.c-widget { font-size: 14px; line-height: 1.7; }
/* ウィジェットの見出しはテーマの吹き出しと同じ見た目にそろえる */
.c-widget__title,
.c-widget .wp-block-heading,
.c-widget .wp-block-search__label {
	position: relative;
	display: inline-block;
	width: fit-content;
	margin-bottom: 20px;
	padding: 8px 22px;
	font-family: var(--f-head);
	font-size: 13px;
	font-weight: 900;
	line-height: 1.4;
	background: var(--c-yellow);
	border: var(--bw) solid var(--c-ink);
	border-radius: 999px;
}
.c-widget__title::after,
.c-widget .wp-block-heading::after {
	content: "";
	position: absolute;
	left: 24px; bottom: -8px;
	width: 12px; height: 12px;
	background: inherit;
	border-right: var(--bw) solid var(--c-ink);
	border-bottom: var(--bw) solid var(--c-ink);
	transform: rotate(45deg) skew(8deg, 8deg);
}
.c-widget ul { display: grid; gap: 0; }
.c-widget li { padding: 10px 0; border-bottom: 1.5px dashed rgba(20, 20, 20, .2); }
.c-widget li:first-child { padding-top: 0; }
.c-widget li a { font-weight: 700; }
@media (hover: hover) {
	.c-widget li a:hover { color: var(--c-ink-sub); }
}
.c-widget .wp-block-search__inside-wrapper { position: relative; }
.c-widget .wp-block-search__input {
	width: 100%;
	height: 48px;
	padding: 0 56px 0 20px;
	font: inherit;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: 999px;
}
.c-widget .wp-block-search__button {
	position: absolute;
	top: 4px; right: 4px;
	height: 40px;
	margin: 0;
	padding: 0 14px;
	font-size: 12px;
	font-weight: 700;
	color: var(--c-yellow);
	background: var(--c-ink);
	border: 0;
	border-radius: 999px;
}
.c-widget .wp-block-latest-comments { padding: 0; }
.c-widget img { border-radius: var(--r-sm); }

/* タグ */
.c-tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.c-tag-list a {
	display: inline-block;
	padding: 4px 14px;
	font-size: 13px;
	font-weight: 700;
	background: var(--c-white);
	border: 1.5px solid var(--c-ink);
	border-radius: 999px;
}
@media (hover: hover) {
	.c-tag-list a:hover { background: var(--c-yellow); }
}

/* シェア */
.c-share { margin-top: 56px; }
.c-share__label { margin-bottom: 16px; font-family: var(--f-head); font-weight: 900; }
.c-share__list { display: flex; flex-wrap: wrap; gap: 10px; }
.c-share__list a,
.c-share__list button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px;
	font-size: 13px;
	font-weight: 700;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: 999px;
	transition: background-color .2s, color .2s;
}
.c-share__list svg { width: 16px; }
@media (hover: hover) {
	.c-share__list a:hover,
		.c-share__list button:hover { color: var(--c-yellow); background: var(--c-ink); }
}
.c-share__list .is-copied { color: var(--c-ink); background: var(--c-yellow); }

/* 著者 */
.c-author {
	position: relative;
	margin-top: 72px;
	padding: 48px 40px 40px;
	background: var(--c-cream);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-xl);
}
.c-author__label {
	position: absolute;
	top: -20px; left: 32px;
	padding: 6px 20px;
	font-family: var(--f-head);
	font-size: 14px;
	font-weight: 900;
	background: var(--c-yellow);
	border: var(--bw) solid var(--c-ink);
	border-radius: 999px;
}
.c-author__inner { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; }
.c-author__avatar img { width: 120px; height: 120px; background: var(--c-white); border: var(--bw) solid var(--c-ink); border-radius: 50%; }
.c-author__name { font-family: var(--f-head); font-size: 20px; font-weight: 900; }
.c-author__desc { margin-top: 12px; font-size: 14px; line-height: 2; }
.c-author__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 14px; font-weight: 700; }
.c-author__links a { text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) {
	.c-author__links a:hover { color: var(--c-orange); }
}
@media (max-width: 767px) {
	.c-author { padding: 40px 20px 28px; }
	.c-author__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 16px; }
	.c-author__links { justify-content: center; }
	.c-author__label { left: 50%; transform: translateX(-50%); white-space: nowrap; }
}

/* 前後の記事 */
.c-post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.c-post-nav__item {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 14px;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-md);
	transition: background-color .2s;
}
@media (hover: hover) {
	.c-post-nav__item:hover { background: var(--c-cream); }
}
@media (hover: hover) {
	.c-post-nav__item:hover .c-card__title-text { background-size: 100% 2px; }
}
.c-post-nav__item.is-next { grid-column: 2; grid-template-columns: minmax(0, 1fr) 120px; text-align: right; }
.c-post-nav__item.is-next .c-post-nav__thumb { order: 2; }
.c-post-nav__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--c-cream);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-sm);
}
.c-post-nav__thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-post-nav__text { display: grid; gap: 6px; }
.c-post-nav__dir { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--c-ink-sub); }
.c-post-nav__item.is-next .c-post-nav__dir { justify-content: flex-end; }
.c-post-nav__dir svg { width: 14px; }
.c-post-nav__title { font-size: 14px; font-weight: 700; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767px) {
	.c-post-nav { grid-template-columns: minmax(0, 1fr); }
	.c-post-nav__item,
	.c-post-nav__item.is-next { grid-column: auto; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px; }
	.c-post-nav__item.is-next { text-align: left; }
	.c-post-nav__item.is-next .c-post-nav__thumb { order: 0; }
	.c-post-nav__item.is-next .c-post-nav__dir { justify-content: flex-start; }
	.c-post-nav__title { font-size: 13px; }
}

/* 関連記事 */
.p-related { padding-top: 120px; }
.p-related .c-en-title { margin-bottom: 44px; }
.p-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 900px) {
	.p-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
	.p-related .c-card__title { font-size: 14px; }
}

/* コメント */
.c-comments { margin-top: 72px; }
.c-comments__title,
.c-comments .comment-reply-title { margin-bottom: 20px; font-family: var(--f-head); font-size: 20px; font-weight: 900; }
.c-comments__list { display: grid; gap: 16px; margin-bottom: 40px; }
.c-comments__list .comment-body { padding: 20px; background: var(--c-white); border: var(--bw) solid var(--c-ink); border-radius: var(--r-md); }
.c-comments__list .children { margin: 16px 0 0 24px; display: grid; gap: 16px; }
.c-comments__list .avatar { border-radius: 50%; margin-right: 8px; }
.c-comments .comment-meta { font-size: 12px; margin-bottom: 8px; }
.c-comments textarea,
.c-comments input[type="text"],
.c-comments input[type="email"],
.c-comments input[type="url"] {
	width: 100%;
	padding: 12px 16px;
	font: inherit;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-sm);
}
.c-comments p { margin-bottom: 16px; }

/* --------------------------------------------------------------------------
   お問い合わせフォーム（Contact Form 7）
   新しいひな形（.s47-form）と、以前の表形式（.CF7_table）の両方に対応
   -------------------------------------------------------------------------- */
.wpcf7 { max-width: 720px; margin-inline: auto; }
.wpcf7-form {
	display: grid;
	gap: 24px;
	padding: 44px 40px 40px;
	font-size: 15px;
	line-height: 1.7;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-xl);
}
.wpcf7-form p { margin: 0; }
.s47-form { display: grid; gap: 28px; }
.s47-form__row { display: grid; gap: 10px; }
.s47-form__label { display: flex; align-items: center; gap: 10px; font-weight: 700; }

/* 必須／任意のチップ */
.s47-form__req,
.s47-form__opt,
.CF7_req,
.CF7_unreq {
	display: inline-block;
	padding: 1px 10px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
	border: 1.5px solid var(--c-ink);
	border-radius: 999px;
}
.s47-form__req, .CF7_req { background: var(--cat-chili); }
.s47-form__opt, .CF7_unreq { background: var(--cat-rice); }
.CF7_req, .CF7_unreq { margin-right: 8px; }

/* 入力欄 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	padding: 12px 16px;
	font: inherit;
	font-size: 16px; /* iOS で入力時に拡大されないよう 16px 以上 */
	color: var(--c-ink);
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-sm);
	-webkit-appearance: none;
	appearance: none;
	transition: box-shadow .2s;
}
.wpcf7 textarea { min-height: 200px; resize: vertical; }
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: #a39d93; }
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--c-yellow); }

/* ラジオボタン：チップ型。選択中は黄色 */
.wpcf7-radio,
.wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px; }
.wpcf7-radio .wpcf7-list-item,
.wpcf7-checkbox .wpcf7-list-item { margin: 0; }
.wpcf7-radio .wpcf7-list-item label,
.wpcf7-checkbox .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px;
	font-weight: 700;
	background: var(--c-white);
	border: 1.5px solid var(--c-ink);
	border-radius: 999px;
	cursor: pointer;
	transition: background-color .2s;
}
@media (hover: hover) {
	.wpcf7-radio .wpcf7-list-item label:hover,
		.wpcf7-checkbox .wpcf7-list-item label:hover { background: var(--c-cream); }
}
.wpcf7-radio .wpcf7-list-item label:has(input:checked),
.wpcf7-checkbox .wpcf7-list-item label:has(input:checked) { background: var(--c-yellow); }
.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--c-ink); }

/* 同意チェック */
.s47-form__agree { padding-top: 4px; font-weight: 700; }
.s47-form__agree .wpcf7-list-item { margin: 0; }
.s47-form__agree label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.s47-form__agree a { color: #b3470f; text-decoration: underline; text-underline-offset: 3px; }

/* 送信ボタン：ヘッダーのボタンと同じ「黒地×黄 → ホバーでオレンジ」 */
.s47-form__submit,
.CF7_btn { display: flex; align-items: center; justify-content: center; gap: 12px; }
.wpcf7 .wpcf7-submit {
	min-width: 240px;
	padding: 16px 48px;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	color: var(--c-yellow);
	background: var(--c-ink);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color .2s, color .2s, transform .2s var(--ease);
}
@media (hover: hover) {
	.wpcf7 .wpcf7-submit:hover:not(:disabled) { color: var(--c-ink); background: var(--c-orange); transform: translateY(-2px); }
}
.wpcf7 .wpcf7-submit:disabled { opacity: .35; cursor: not-allowed; }
.wpcf7-spinner { margin: 0; }

/* エラー表示 */
.wpcf7 .wpcf7-not-valid { border-color: var(--cat-chili-deep); background: #FFF6F2; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--cat-chili-deep); }

/* 送信結果のメッセージ */
.wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: 14px 20px;
	font-weight: 700;
	line-height: 1.6;
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-sm);
}
.wpcf7 form.sent .wpcf7-response-output { background: var(--cat-cardamom); border-color: var(--c-ink); }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output { background: var(--cat-chili); border-color: var(--c-ink); }

/* 以前の表形式（CF7_table）：本文の表スタイルを打ち消して、項目名｜入力欄の2列に */
.c-entry .wpcf7 table.CF7_table { width: 100%; background: none; border: 0; border-radius: 0; overflow: visible; font-size: inherit; }
.c-entry .wpcf7 .CF7_table th,
.c-entry .wpcf7 .CF7_table td { padding: 10px 0; background: none; border: 0; vertical-align: top; }
.c-entry .wpcf7 .CF7_table th { width: 32%; padding-top: 20px; padding-right: 20px; font-weight: 700; white-space: nowrap; }

@media (max-width: 767px) {
	.wpcf7-form { padding: 32px 20px 24px; border-radius: var(--r-lg); }
	.wpcf7 .wpcf7-submit { width: 100%; min-width: 0; }
	.c-entry .wpcf7 .CF7_table,
	.c-entry .wpcf7 .CF7_table tbody,
	.c-entry .wpcf7 .CF7_table tr,
	.c-entry .wpcf7 .CF7_table th,
	.c-entry .wpcf7 .CF7_table td { display: block; width: 100%; }
	.c-entry .wpcf7 .CF7_table th { padding: 16px 0 8px; white-space: normal; }
	.c-entry .wpcf7 .CF7_table td { padding: 0 0 8px; }
}

/* --------------------------------------------------------------------------
   Archive / Page
   -------------------------------------------------------------------------- */
.p-archive__head {
	display: grid;
	gap: 12px;
	justify-items: start;
	margin-bottom: 56px;
	padding: 56px clamp(24px, 5vw, 64px);
	background: var(--tone, var(--tone-turmeric));
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-xl);
}
/* 英字はスラッグから作るので長くなることがある（例：PREPARATION）。画面幅に合わせて縮め、念のため折り返しも許可 */
.p-archive__head .c-en-title { font-size: clamp(28px, 8.5vw, 80px); overflow-wrap: anywhere; }
.p-archive__title { font-family: var(--f-head); font-size: clamp(22px, 3vw, 32px); font-weight: 900; line-height: 1.5; }
.p-archive__desc { max-width: 640px; font-size: 14px; line-height: 2; }
.p-archive__count { font-size: 14px; font-weight: 700; }
.p-archive__head .c-searchform { max-width: 520px; margin-top: 12px; }
.p-archive__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
@media (max-width: 900px) {
	.p-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
	.p-archive__grid .c-card__title { font-size: 14px; }
}

.p-page__head { margin-bottom: 48px; }
.p-page__title {
	display: inline-block;
	font-family: var(--f-head);
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 900;
	line-height: 1.5;
	text-decoration: underline;
	text-decoration-color: var(--c-yellow);
	text-decoration-thickness: .4em;
	text-underline-offset: -.12em;
	text-decoration-skip-ink: none;
}
.p-page__thumb { margin-bottom: 48px; overflow: hidden; border: var(--bw) solid var(--c-ink); border-radius: var(--r-xl); }

.p-404 .c-en-title { font-size: clamp(80px, 16vw, 160px); color: var(--c-yellow); -webkit-text-stroke: 3px var(--c-ink); paint-order: stroke fill; }

/* --------------------------------------------------------------------------
   Entry content（本文）
   -------------------------------------------------------------------------- */
.c-entry {
	font-size: 16px;
	line-height: 2.05;
	word-break: break-word;
	overflow-wrap: anywhere;
}
@media (min-width: 768px) {
	.c-entry { font-size: 17px; }
}
.c-entry > * + * { margin-top: 1.7em; }
.c-entry > :first-child { margin-top: 0; }

.c-entry a:not([class]) {
	color: #b3470f;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
}
@media (hover: hover) {
	.c-entry a:not([class]):hover { color: var(--c-ink); background: var(--c-yellow-soft); }
}

.c-entry strong,
.c-entry b { background: linear-gradient(transparent 58%, var(--c-yellow-soft) 58%); }

.c-entry h2 {
	margin-top: 3.6em;
	margin-bottom: -.2em;
	font-family: var(--f-head);
	font-size: clamp(21px, 2.4vw, 26px);
	font-weight: 900;
	line-height: 1.6;
	text-decoration: underline;
	text-decoration-color: var(--c-yellow);
	text-decoration-thickness: .42em;
	text-underline-offset: -.12em;
	text-decoration-skip-ink: none;
}
.c-entry h2 strong,
.c-entry h3 strong { background: none; }
.c-entry h3 {
	position: relative;
	margin-top: 2.8em;
	padding-left: 28px;
	font-family: var(--f-head);
	font-size: clamp(18px, 2vw, 21px);
	font-weight: 900;
	line-height: 1.6;
}
.c-entry h3::before {
	content: "";
	position: absolute;
	left: 0; top: .45em;
	width: 16px; height: 16px;
	background: var(--c-orange);
	border: var(--bw) solid var(--c-ink);
	border-radius: 50%;
}
.c-entry h4 {
	margin-top: 2.4em;
	padding-bottom: 6px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.6;
	border-bottom: 2px dashed var(--c-orange);
}
.c-entry h5, .c-entry h6 { margin-top: 2em; font-size: 16px; font-weight: 700; }

.c-entry img { border-radius: var(--r-md); }
.c-entry .wp-block-image img { border: var(--bw) solid var(--c-ink); }
.c-entry figcaption,
.c-entry .wp-element-caption { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--c-ink-sub); text-align: center; }
.c-entry .wp-block-gallery { gap: 12px; }

.c-entry ul:not([class*="wp-block-"]):not(.c-toc__list),
.c-entry ul.wp-block-list,
.c-entry ol.wp-block-list,
.c-entry ol:not([class]) {
	padding: 24px 28px 24px 52px;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-md);
}
.c-entry ul.wp-block-list,
.c-entry ul:not([class*="wp-block-"]):not(.c-toc__list) { list-style: none; }
.c-entry ul.wp-block-list > li,
.c-entry ul:not([class*="wp-block-"]):not(.c-toc__list) > li { position: relative; }
.c-entry ul.wp-block-list > li::before,
.c-entry ul:not([class*="wp-block-"]):not(.c-toc__list) > li::before {
	content: "";
	position: absolute;
	left: -22px; top: .78em;
	width: 9px; height: 9px;
	background: var(--c-orange);
	border-radius: 50%;
}
.c-entry ol.wp-block-list,
.c-entry ol:not([class]) { list-style: decimal; }
.c-entry ol.wp-block-list > li::marker,
.c-entry ol:not([class]) > li::marker { font-family: var(--f-en); color: var(--c-orange); }
.c-entry li + li { margin-top: .4em; }
.c-entry li > ul, .c-entry li > ol { margin-top: .4em; padding: 0 0 0 1.4em !important; border: 0 !important; background: none !important; }

.c-entry blockquote,
.c-entry .wp-block-quote {
	position: relative;
	margin-inline: 0;
	padding: 36px 32px 28px;
	background: var(--c-cream);
	border: 0;
	border-radius: var(--r-md);
}
.c-entry blockquote::before {
	content: "“";
	position: absolute;
	top: -8px; left: 20px;
	font-family: var(--f-en);
	font-size: 64px;
	line-height: 1;
	color: var(--c-orange);
}
.c-entry blockquote cite { display: block; margin-top: 12px; font-size: 13px; font-style: normal; color: var(--c-ink-sub); }

.c-entry .wp-block-table { overflow-x: auto; }
.c-entry table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 15px;
	line-height: 1.7;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-md);
	overflow: hidden;
}
.c-entry th, .c-entry td { padding: 12px 16px; border: 0; border-bottom: 1px solid #e5dfd0; text-align: left; }
.c-entry tr:last-child td { border-bottom: 0; }
.c-entry th, .c-entry thead td { background: var(--c-yellow); font-weight: 700; }
.c-entry .wp-block-table figcaption { text-align: left; }

.c-entry hr,
.c-entry .wp-block-separator { height: 0; margin: 3em auto; border: 0; border-top: 3px dotted var(--c-orange); opacity: 1; }

.c-entry .wp-block-button__link {
	padding: 14px 32px;
	font-weight: 700;
	color: var(--c-yellow);
	background: var(--c-ink);
	border: var(--bw) solid var(--c-ink);
	border-radius: 999px;
}
.c-entry .wp-block-button.is-style-outline .wp-block-button__link { color: var(--c-ink); background: var(--c-white); }
@media (hover: hover) {
	.c-entry .wp-block-button__link:hover { color: var(--c-ink); background: var(--c-yellow); }
}

.c-entry code { padding: .1em .4em; font-size: .9em; background: var(--c-cream); border-radius: 6px; }
.c-entry pre { padding: 20px; overflow-x: auto; font-size: 14px; color: #f5f0e6; background: var(--c-ink); border-radius: var(--r-md); }
.c-entry pre code { padding: 0; background: none; }

.c-entry .wp-block-embed iframe { max-width: 100%; }
/* 本文に直接貼った iframe（Googleマップなど）も本文の幅に収める。
   width 属性で固定幅が指定されていても、スマホで列が広がらないように */
.c-entry iframe { max-width: 100%; }
.c-entry iframe[src*="google.com/maps"] {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	border: var(--bw) solid var(--c-ink) !important;
	border-radius: var(--r-md);
}
.c-entry .wp-block-embed.is-type-video iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-md); }

.c-entry .has-background { padding: 24px 28px; border-radius: var(--r-md); }
.c-entry .alignwide { margin-inline: calc(var(--gutter) * -1); }
.c-entry .alignleft { float: left; margin: .4em 1.5em 1em 0; }
.c-entry .alignright { float: right; margin: .4em 0 1em 1.5em; }
.c-entry .aligncenter { margin-inline: auto; text-align: center; }

.c-entry .has-turmeric-color { color: var(--c-yellow); }
.c-entry .has-paprika-color { color: var(--c-orange); }
.c-entry .has-chili-color { color: var(--c-chili); }
.c-entry .has-cream-color { color: var(--c-cream); }
.c-entry .has-ink-color { color: var(--c-ink); }
.c-entry .has-white-color { color: var(--c-white); }
.c-entry .has-turmeric-background-color { background-color: var(--c-yellow); }
.c-entry .has-paprika-background-color { background-color: var(--c-orange); }
.c-entry .has-chili-background-color { background-color: var(--c-chili); }
.c-entry .has-cream-background-color { background-color: var(--c-cream); }
.c-entry .has-ink-background-color { background-color: var(--c-ink); }
.c-entry .has-white-background-color { background-color: var(--c-white); }

.c-page-links { display: flex; gap: 8px; margin-top: 40px; font-weight: 700; }

/* ブログカード（自サイト記事の埋め込み）。トップの記事カードと同じ部品で構成 */
.c-entry .wp-block-embed.is-type-wp-embed { margin-inline: 0; }
.c-blogcard {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 20px;
	align-items: center;
	margin-top: 12px;
	padding: 20px;
	color: var(--c-ink);
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-md);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
@media (hover: hover) {
	.c-blogcard:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--c-ink); }
}
@media (hover: hover) {
	.c-blogcard:hover .c-card__title-text { background-size: 100% 2px; }
}
.c-blogcard__label {
	position: absolute;
	top: -14px; left: 20px;
	padding: 4px 14px;
	font-family: var(--f-head);
	font-size: 12px;
	font-weight: 900;
	line-height: 1.4;
	background: var(--c-yellow);
	border: var(--bw) solid var(--c-ink);
	border-radius: 999px;
}
.c-blogcard__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--c-cream);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-sm);
}
.c-entry .c-blogcard__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.c-blogcard__body { display: grid; gap: 8px; line-height: 1.6; }
.c-blogcard__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; font-weight: 700; }
.c-blogcard__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: var(--c-ink-sub); }
@media (max-width: 767px) {
	.c-blogcard { grid-template-columns: 38% minmax(0, 1fr); gap: 12px; padding: 18px 12px 12px; }
	.c-blogcard__title { font-size: 14px; -webkit-line-clamp: 3; }
	.c-blogcard__excerpt { display: none; }
}

/* 目次 */
.c-toc {
	margin-top: 2.4em;
	padding: 28px 32px 28px;
	font-size: 15px;
	line-height: 1.7;
	background: var(--c-white);
	border: var(--bw) solid var(--c-ink);
	border-radius: var(--r-lg);
}
.c-toc__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-family: var(--f-head);
	font-size: 17px;
	font-weight: 900;
}
.c-toc__title::before {
	content: "";
	width: 24px; height: 24px;
	background: var(--c-yellow);
	border: var(--bw) solid var(--c-ink);
	border-radius: 50%;
}
.c-entry .c-toc__list { counter-reset: toc; padding: 0; list-style: none; background: none; border: 0; }
.c-toc__list > li { counter-increment: toc; position: relative; padding-left: 36px; }
.c-toc__list > li + li { margin-top: 10px; }
.c-toc__list > li::before {
	content: counter(toc, decimal-leading-zero);
	position: absolute;
	left: 0; top: 0;
	font-family: var(--f-en);
	color: var(--c-orange);
}
.c-toc__list a { font-weight: 700; text-decoration: none !important; color: var(--c-ink) !important; }
@media (hover: hover) {
	.c-toc__list a:hover { background: var(--c-yellow-soft); }
}
.c-entry .c-toc__list ol { margin-top: 6px; padding: 0 !important; list-style: none; font-size: 14px; }
.c-toc__list ol li { position: relative; padding-left: 16px; }
.c-toc__list ol li::before { content: "–"; position: absolute; left: 0; color: var(--c-ink-sub); }
.c-toc__list ol a { font-weight: 500; }

/* --------------------------------------------------------------------------
   押した瞬間の反応（タッチ端末のみ）
   ホバーの演出はマウスのある端末だけなので、スマホでは「押せた」ことをここで伝える。
   ・触れて 0.05 秒後に反応（スクロールしようと指を置いただけではチラつかない）
   ・指を離すと元に戻る
   iOS Safari は touchstart のリスナーが無いと :active が効かないため、main.js で登録している
   -------------------------------------------------------------------------- */
@media (hover: none) {
	/* ボタン・タブ・チップなど：少し縮んで、少し暗く */
	.c-btn, .c-drawer__nav a, .c-tabs__btn, .c-chip, .l-header__search, .c-burger,
	.c-share__list a, .c-share__list button, .c-pagination a.page-numbers, .c-tag-list a,
	a.c-cat, .c-searchform__btn, .wpcf7 .wpcf7-submit, .c-entry .wp-block-button__link,
	.wpcf7-radio .wpcf7-list-item label, .wpcf7-checkbox .wpcf7-list-item label {
		transition: transform .08s ease-out .05s, filter .08s ease-out .05s;
	}
	.c-btn:active, .c-drawer__nav a:active, .c-tabs__btn:active, .c-chip:active,
	.l-header__search:active, .c-burger:active, .c-share__list a:active, .c-share__list button:active,
	.c-pagination a.page-numbers:active, .c-tag-list a:active, a.c-cat:active, .c-searchform__btn:active,
	.wpcf7 .wpcf7-submit:active:not(:disabled), .c-entry .wp-block-button__link:active,
	.wpcf7-radio .wpcf7-list-item label:active, .wpcf7-checkbox .wpcf7-list-item label:active {
		transform: scale(.97);
		filter: brightness(.9);
	}

	/* スライダーの矢印：上下中央の位置指定（translateY）を保ったまま縮める */
	.c-arrow { transition: filter .08s ease-out .05s; }
	.c-arrow:active { transform: translateY(-50%) scale(.94); filter: brightness(.9); }
	/* TOP ボタン：出入りのアニメーションはそのままに、ギザギザ部分だけ暗く */
	.c-pagetop:active .c-pagetop__burst { filter: brightness(.9); }

	/* 記事カード類：カード全体は動かさず、画像だけ少し暗く（一覧がスクロール中に揺れないように） */
	.c-card__thumb img, .p-hero__thumb img, .p-start__item img, .c-blogcard__thumb img,
	.c-post-nav__thumb img, .p-cat-circles__img {
		transition: filter .08s ease-out .05s;
	}
	.c-card__link:active .c-card__thumb img,
	.p-hero__thumb:active img,
	.p-start__item:active img,
	.c-blogcard:active .c-blogcard__thumb img,
	.c-post-nav__item:active .c-post-nav__thumb img,
	.p-cat-circles__item:active .p-cat-circles__img {
		filter: brightness(.8);
	}
	/* 画像のない部分（タイトル・背景）も押したことがわかるように */
	.p-start__item:active, .c-blogcard:active, .c-post-nav__item:active { background: var(--c-cream); }
	.c-card__link:active .c-card__title, .p-hero__title a:active { color: var(--c-ink-sub); }

	/* 本文中のリンク・目次・パンくず：黄色いマーカー */
	.c-entry a:not([class]):active, .c-toc__list a:active, .c-breadcrumb a:active,
	.l-footer__nav a:active, .c-widget li a:active, .c-author__links a:active {
		background: var(--c-yellow-soft);
	}
	.l-footer__nav a:active { background: none; color: var(--c-yellow); }
}

/* --------------------------------------------------------------------------
   Utils
   -------------------------------------------------------------------------- */
.u-center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
