/* ============================================================
   Foods 個別記事 ―― 「市場と台所のあいだの一頁」
   対象：通常投稿 かつ 主カテゴリー(パンくず先頭)= Foods かつ
         content_type が ARTICLE / COLUMN / ESSAY のものだけ
   方式：親テーマ・single.php は変更しない。Body 誌面と同じ骨格。
   ============================================================ */
#body_wrap.vayu-fsingle-ready #top_title_area { display: none !important; }
#body_wrap.vayu-fsingle-ready > #breadcrumb {
	position: absolute !important;
	width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
#body_wrap.vayu-fsingle-ready,
#body_wrap.vayu-fsingle-ready #content,
#body_wrap.vayu-fsingle-ready #main_content { background-color: #fff; }
#body_wrap.vayu-fsingle-ready .l-mainContent__inner > .vayu-content-type.-single { display: none; }
#body_wrap .vayu-fsingle .p-articleHead.c-postTitle { all: unset; display: block; }
.vayu-fsingle .c-postTitle__ttl {
	margin: 0; color: #4a3f36; font-weight: 600;
	font-family: "Zen Kaku Gothic New", "Zen Maru Gothic", sans-serif;
}
.vayu-fsingle .c-postTitle__date,
.vayu-fsingle .p-articleMetas.-top { display: none; }
#body_wrap .vayu-fsingle .p-articleHead.c-postTitle::before,
#body_wrap .vayu-fsingle .p-articleHead.c-postTitle::after { content: none !important; display: none !important; }
#body_wrap.vayu-fsingle-ready .l-mainContent__inner > .post_content { margin-top: 30px; }
.vayu-fsingle { margin: 0 0 6px; font-feature-settings: "palt" 1; }
.vayu-fsingle * { box-sizing: border-box; }
.vayu-fsingle__back {
	display: inline-flex; align-items: center; gap: .5em;
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 11px; letter-spacing: .16em;
	color: #b58c72; text-decoration: none; padding: 4px 0;
	transition: color .18s ease;
}
.vayu-fsingle__back:hover { color: #7c5a44; }
.vayu-fsingle__kicker {
	margin: 0 0 16px; font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 11px; font-weight: 500; letter-spacing: .28em; color: #a98a72;
	display: flex; align-items: baseline; gap: 12px;
}
.vayu-fsingle__series { color: #b47758; }
.vayu-fsingle__ctype { letter-spacing: .22em; color: #bfa189; }
.vayu-fsingle__meta {
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 11px; letter-spacing: .12em; color: #a98a72;
}
.vayu-fsingle--article .vayu-fsingle__door {
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr) minmax(0, 34%);
	gap: 28px; align-items: start; margin-top: 16px;
	padding-bottom: 22px; border-bottom: 1px solid #efe2d6;
}
.vayu-fsingle--article .vayu-fsingle__kicker { margin-bottom: 12px; }
.vayu-fsingle--article .vayu-fsingle__kicker .vayu-fsingle__series { display: none; }
.vayu-fsingle--article .vayu-fsingle__obs {
	position: relative; padding-top: 4px; padding-left: 16px;
	font-family: "Zen Kaku Gothic New", sans-serif;
}
.vayu-fsingle__steam {
	position: absolute; left: 0; top: 2px;
	width: 12px; height: 34px; pointer-events: none;
}
.vayu-fsingle__steam::before,
.vayu-fsingle__steam::after {
	content: ""; position: absolute; bottom: 0;
	width: 1px; height: 30px;
	background: linear-gradient(to top, rgba(186,140,110,.5), rgba(186,140,110,0));
	border-radius: 1px;
}
.vayu-fsingle__steam::before { left: 3px; transform-origin: bottom center; animation: vayuFSteamA 3.4s ease-in-out .2s 1 forwards; }
.vayu-fsingle__steam::after  { left: 9px; transform-origin: bottom center; animation: vayuFSteamB 3.8s ease-in-out .4s 1 forwards; }
@keyframes vayuFSteamA {
	0%   { transform: translateY(6px) scaleY(.4) skewX(0deg);   opacity: 0; }
	30%  { opacity: .8; }
	100% { transform: translateY(-8px) scaleY(1.1) skewX(-8deg); opacity: 0; }
}
@keyframes vayuFSteamB {
	0%   { transform: translateY(6px) scaleY(.4) skewX(0deg);  opacity: 0; }
	35%  { opacity: .7; }
	100% { transform: translateY(-10px) scaleY(1.1) skewX(7deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.vayu-fsingle__steam::before,
	.vayu-fsingle__steam::after { animation: none; opacity: .4; transform: none; }
}
.vayu-fsingle__obsLabel {
	display: block; font-size: 9px; letter-spacing: .1em; line-height: 1.8;
	color: #a98a72; white-space: nowrap;
}
.vayu-fsingle__obsDate {
	display: block; margin-top: 10px;
	font-size: 11px; letter-spacing: .08em; color: #c1a891; white-space: nowrap;
}
.vayu-fsingle--article .vayu-fsingle__lede { padding-top: 2px; }
.vayu-fsingle--article .c-postTitle__ttl {
	font-size: clamp(1.7rem, 1.05rem + 2.1vw, 2.55rem);
	line-height: 1.42; letter-spacing: .01em;
}
.vayu-fsingle--article .vayu-fsingle__figure {
	position: relative; margin: 4px 0 0; border-radius: 8px;
	overflow: hidden; background: #f6ece1; aspect-ratio: 3 / 2;
}
.vayu-fsingle--article .vayu-fsingle__figure img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.vayu-fsingle--article .vayu-fsingle__figure::after {
	content: ""; position: absolute; left: -20px; top: -20px;
	width: 58px; height: 58px; border: 1px solid #d8bfa8;
	border-radius: 3px; background: transparent; transform: rotate(8deg);
}
.vayu-fsingle--article.is-no-figure .vayu-fsingle__door {
	grid-template-columns: 104px minmax(0, 1fr);
}
.vayu-fsingle--article.is-no-figure .vayu-fsingle__lede { position: relative; }
.vayu-fsingle--article.is-no-figure .vayu-fsingle__lede::after {
	content: ""; position: absolute; right: -6px; top: 4px;
	width: 42px; height: 42px; border: 1px solid #e0cbb6;
	border-right-color: transparent; border-bottom-color: transparent;
	border-radius: 3px; transform: rotate(8deg);
}
.vayu-fsingle__mapslot { margin: 10px 0 0; }
#body_wrap .vayu-fsingle__mapslot .p-toc {
	margin: 0; padding: 16px 0 4px; background: transparent; border: 0;
	border-top: 1px solid #efe2d6; max-width: none; width: 100%;
}
.vayu-fsingle__mapslot .p-toc__ttl {
	display: block; position: relative;
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 10px; letter-spacing: .22em; color: #a98a72;
}
.vayu-fsingle__mapslot .p-toc__ttl::before { display: none; }
.vayu-fsingle__mapslot .p-toc__ttl::after {
	content: "この記事の品書き"; display: block; margin-top: 3px;
	font-size: 12px; letter-spacing: .06em; color: #9c7c64;
}
.vayu-fsingle__mapslot .p-toc__list { columns: 2; column-gap: 34px; margin-top: 12px; }
.vayu-fsingle__mapslot .p-toc__list > li {
	break-inside: avoid; position: relative; padding-left: 16px; list-style: none;
}
.vayu-fsingle__mapslot .p-toc__list > li::before {
	content: ""; position: absolute; left: 0; top: .62em;
	width: 5px; height: 5px; border: 1px solid #cdaa8d;
}
.vayu-fsingle__mapslot .p-toc__list ol { list-style: none; padding-left: 14px; }
.vayu-fsingle__mapslot .p-toc__link { font-size: 13px; line-height: 1.75; color: #5c4a3c; }
.vayu-fsingle--column .vayu-fsingle__door {
	margin-top: 12px; margin-left: clamp(0px, 4vw, 54px);
	padding: 2px 0 22px 20px; border-bottom: 1px solid #efe2d6; max-width: 40em;
}
.vayu-fsingle--column .vayu-fsingle__figure { display: none; }
.vayu-fsingle--column .vayu-fsingle__lede { position: relative; }
.vayu-fsingle--column .vayu-fsingle__lede::before {
	content: ""; position: absolute; left: -20px; top: .2em; bottom: .2em;
	width: 1px; background: #cbae9c;
}
.vayu-fsingle--column .vayu-fsingle__lede::after {
	content: ""; position: absolute; left: -23px; top: -2px;
	width: 7px; height: 7px; border: 1px solid #b98a6f; background: #fff;
}
.vayu-fsingle--column .c-postTitle__ttl {
	font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem);
	line-height: 1.55; letter-spacing: .015em; max-width: 24em;
	padding-right: 78px;
}
.vayu-fsingle--column .vayu-fsingle__meta { margin-top: 16px; }
/* 題名の右上に、手描き風の小さなティーカップ＋湯気。REFERENCE ROOMの扉と同じ手描きの
   ゆらぎ（feTurbulence＋feDisplacementMap）を使った、Foodsらしい可愛いモチーフ。
   湯気は消えて見えなくならないよう、常にゆっくり動き続けるループにする。 */
.vayu-fsingle--column .vayu-fsingle__cupMark {
	position: absolute; top: 14px; right: 0;
	width: 64px; height: 64px; pointer-events: none;
}
.vayu-fsingle--column .vayu-fsingle__cupMark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.vayu-fsingle__cupSteamA, .vayu-fsingle__cupSteamB {
	transform-box: fill-box; transform-origin: 50% 100%;
	animation: vayuCupSteam 3.2s ease-in-out infinite;
}
.vayu-fsingle__cupSteamB { animation-delay: 1s; }
@keyframes vayuCupSteam {
	0%   { transform: translateY(2px) scaleY(.85); opacity: .25; }
	45%  { opacity: .8; }
	100% { transform: translateY(-4px) scaleY(1.08); opacity: .15; }
}
.vayu-fsingle__cupSpark {
	transform-box: fill-box; transform-origin: 50% 50%;
	animation: vayuCupSpark 2.4s ease-in-out infinite;
}
.vayu-fsingle__cupSpark:nth-of-type(2) { animation-delay: 1.1s; }
@keyframes vayuCupSpark {
	0%, 100% { opacity: .25; transform: scale(.7); }
	50%      { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.vayu-fsingle__cupSteamA, .vayu-fsingle__cupSteamB { animation: none; opacity: .5; transform: none; }
	.vayu-fsingle__cupSpark { animation: none; opacity: .6; transform: none; }
}
#body_wrap.vayu-fsingle-ready.vayu-ctype-column .post_content > *:not(.wp-block-image):not(figure):not(.p-toc):not(table):not(.wp-block-table) {
	max-width: 38em;
}
#body_wrap.vayu-fsingle-ready.vayu-ctype-column .post_content .p-toc {
	max-width: 38em; margin: 24px 0; padding: 10px 0; background: transparent;
	border: 0; border-top: 1px solid #f0e6dc; border-bottom: 1px solid #f0e6dc;
	border-radius: 0; font-size: .9em;
}
#body_wrap.vayu-fsingle-ready.vayu-ctype-column .post_content .p-toc__ttl { font-size: 10px; letter-spacing: .2em; color: #a98a72; }
#body_wrap.vayu-fsingle-ready.vayu-ctype-column .post_content .p-toc__ttl::before { display: none; }
.vayu-fsingle--essay .vayu-fsingle__door {
	display: grid; grid-template-columns: 42% 58%; gap: 34px;
	align-items: center; margin-top: 12px; padding-bottom: 24px;
	border-bottom: 1px solid #f0e6dc;
}
.vayu-fsingle--essay .vayu-fsingle__figure {
	margin: 0; border-radius: 10px; overflow: hidden; background: #f7efe6;
	aspect-ratio: 4 / 5; max-height: 400px;
}
.vayu-fsingle--essay .vayu-fsingle__figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vayu-fsingle--essay .vayu-fsingle__lede { position: relative; }
.vayu-fsingle--essay .vayu-fsingle__lede::before {
	content: ""; position: absolute; left: -30px; top: -18px;
	width: 74px; height: 74px; border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, rgba(198,150,110,.18), rgba(198,150,110,0) 70%);
	pointer-events: none;
}
.vayu-fsingle--essay .c-postTitle__ttl {
	font-size: clamp(1.4rem, 1.05rem + 1.4vw, 1.95rem);
	line-height: 1.62; font-weight: 500; color: #4f453b;
}
.vayu-fsingle--essay .vayu-fsingle__meta { margin-top: 16px; }
.vayu-fsingle--essay.is-no-figure .vayu-fsingle__door { grid-template-columns: 1fr; }
.vayu-fsingle--essay.is-no-figure .vayu-fsingle__figure { display: none; }
#body_wrap.vayu-fsingle-ready.vayu-ctype-essay .post_content > .p-toc { display: none; }
#body_wrap.vayu-fsingle-ready.vayu-ctype-essay.is-vayu-short-note .post_content::before { display: none !important; }
.vayu-fsingle__tMain { display: block; }
.vayu-fsingle__tSub {
	display: block; margin-top: 10px;
	font-size: 18px; line-height: 1.7; font-weight: 400;
	letter-spacing: .03em; color: #9c7c64;
}
.vayu-fsingle .c-postTitle__ttl { line-break: strict; word-break: keep-all; overflow-wrap: anywhere; }
.vayu-fsingle__mapslot .p-toc__link { line-break: strict; word-break: normal; overflow-wrap: anywhere; }
.vayu-fsingle__obsLabel { word-break: keep-all; }
@media (max-width: 900px) {
	.vayu-fsingle--article .vayu-fsingle__door,
	.vayu-fsingle--article.is-no-figure .vayu-fsingle__door { grid-template-columns: 1fr; gap: 16px; }
	.vayu-fsingle--article .vayu-fsingle__obs { order: 1; display: flex; align-items: baseline; gap: 14px; padding-left: 16px; }
	.vayu-fsingle--article .vayu-fsingle__obsDate { margin-top: 0; }
	.vayu-fsingle--article .vayu-fsingle__lede { order: 2; }
	.vayu-fsingle--article .vayu-fsingle__figure { order: 3; aspect-ratio: 16 / 10; }
	.vayu-fsingle__mapslot { order: 4; }
	.vayu-fsingle__mapslot .p-toc__list { columns: 1; }
	.vayu-fsingle--essay .vayu-fsingle__door { grid-template-columns: 1fr; gap: 16px; }
	.vayu-fsingle--essay .vayu-fsingle__lede { order: 1; }
	.vayu-fsingle--essay .vayu-fsingle__figure { order: 2; aspect-ratio: 4 / 3; }
	.vayu-fsingle--essay .vayu-fsingle__meta { order: 0; }
	.vayu-fsingle--column .vayu-fsingle__door { margin-left: 0; max-width: 100%; }
	#body_wrap.vayu-fsingle-ready.vayu-ctype-column .post_content > *:not(.wp-block-image):not(figure):not(.p-toc):not(table):not(.wp-block-table),
	#body_wrap.vayu-fsingle-ready.vayu-ctype-column .post_content .p-toc { max-width: 100%; }
}
@media (max-width: 600px) {
	.vayu-fsingle__kicker { flex-wrap: wrap; gap: 8px; }
	.vayu-fsingle--article .vayu-fsingle__figure::after { left: -12px; top: -12px; width: 40px; height: 40px; }
	.vayu-fsingle--essay .vayu-fsingle__lede::before { left: -16px; width: 54px; height: 54px; }
}
@media (max-width: 480px) {
	.vayu-fsingle--article .c-postTitle__ttl { font-size: 1.24rem; line-height: 1.55; }
	.vayu-fsingle--column  .c-postTitle__ttl { font-size: 1.18rem; line-height: 1.62; }
	.vayu-fsingle--essay   .c-postTitle__ttl { font-size: 1.24rem; line-height: 1.6; }
	.vayu-fsingle__tSub { font-size: 14px; margin-top: 8px; }
	.vayu-fsingle--column .vayu-fsingle__door { padding-left: 14px; }
	.vayu-fsingle--column .vayu-fsingle__lede::before { left: -14px; }
	.vayu-fsingle--column .vayu-fsingle__lede::after { left: -17px; }
}

/* ---- 読み込み中の跳ね上がり防止（2026-11-13） ----
   スクリプトが「準備完了」の印（vayu-fsingle-ready）を付けるまでのあいだも、SWELL標準のタイトル帯とパンくずを
   場所ごと外しておく。印が付いたあとは上の既存の指定がそのまま効くので、最終の表示は変わらない。
   スクリプトが動かなかったときは、4秒後に標準の表示へ戻す。 */
@keyframes vayuPreReadyRestore{to{position:relative;visibility:visible;pointer-events:auto}}
#body_wrap:not(.vayu-fsingle-ready):has(.vayu-fsingle) #top_title_area,
#body_wrap:not(.vayu-fsingle-ready):has(.vayu-fsingle) > #breadcrumb{position:absolute;visibility:hidden;pointer-events:none;animation:vayuPreReadyRestore 0s linear 4s forwards}
