@charset "UTF-8";
/* ==========================================================================
   Home Cooking Japan
   Notion「デザインルール」準拠のスタイルシート

   - 使用色は #e71f18 / #fff100 / #000000 / #ffffff の4色のみ
   - 見出し 40px / 最小 16px、375px以下では 見出し 24px / 最小 10px
   - 斜体禁止、字間は最大 3px、数字は日本語フォント
   - スカラップ・波・円弧・角丸でポップに
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. トークン
   -------------------------------------------------------------------------- */

:root {
	/* 色（この4色以外を使わない） */
	--red: #e71f18;
	--yellow: #fff100;
	--black: #000000;
	--white: #ffffff;

	/* フォント */
	--font-en-head: "Archivo Black", "Noto Sans JP", sans-serif;
	--font-en: "Playfair Display", "Noto Sans JP", serif;
	--font-jp-head: "M PLUS 2", "Noto Sans JP", sans-serif;
	/* 大きく見せる数字（料金・電話番号・ステップ番号）だけ Dela Gothic One */
	--font-num: "Dela Gothic One", "M PLUS 2", sans-serif;
	--font-jp: "Noto Sans JP", sans-serif;
	--font-accent: "Abril Fatface", "Noto Sans JP", serif;

	/* 文字サイズ：375px→1280px の線形補間。上限＝見出し40px、下限＝24px */
	--fs-display: clamp(24px, 17.37px + 1.77vw, 40px);
	--fs-h2: clamp(22px, 17.03px + 1.33vw, 34px);
	--fs-h3: clamp(18px, 15.51px + 0.66vw, 24px);
	--fs-h4: clamp(17px, 15.76px + 0.33vw, 20px);
	--fs-body: clamp(15px, 14.17px + 0.22vw, 17px);
	--fs-small: clamp(12px, 10.34px + 0.44vw, 16px);
	--fs-label: clamp(12px, 10.34px + 0.44vw, 16px);

	/* 余白：コンテンツ同士の余白は基本的に統一する */
	--s-1: 4px;
	--s-2: 8px;
	--s-3: 12px;
	--s-4: 16px;
	--s-5: 24px;
	--s-6: 32px;
	--s-7: 48px;
	--s-8: 64px;
	--s-9: 96px;
	--section-y: clamp(56px, 3.5vw + 40px, 112px);
	--gap: clamp(20px, 2vw + 8px, 32px);

	/* 角丸：角丸コンテンツ多め */
	--r-sm: 12px;
	--r: 20px;
	--r-lg: 32px;
	--r-xl: 48px;
	--r-pill: 999px;

	/* レイアウト */
	--container: 1400px;
	--container-narrow: 800px;
	--gutter: clamp(20px, 4vw, 40px);
	--header-h: 72px;
	/* 装飾 */

	/* 弧を六つ横に並べた形。viewBox 12×1 に半径1の弧を6つ置いている。
	   帯の aspect-ratio は 17/1。数学的な半円（12/1）より平たいが、
	   参考にした beardpapa.jp の比率がこのあたりで、半円だと縦に伸びて見える。 */
	--scallop-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 1' preserveAspectRatio='none'%3E%3Cpath d='M0,1 A1,1 0 0 1 2,1 A1,1 0 0 1 4,1 A1,1 0 0 1 6,1 A1,1 0 0 1 8,1 A1,1 0 0 1 10,1 A1,1 0 0 1 12,1 Z' fill='%23fff'/%3E%3C/svg%3E");
	--border: 2px solid var(--black);
	--shadow: 0 6px 0 var(--black);
	--shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media (min-width: 900px) {
	:root {
		--header-h: 88px;
	}
}

/* --------------------------------------------------------------------------
   2. リセット / ベース
   -------------------------------------------------------------------------- */

*,
*::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;
	background: var(--white);
	color: var(--black);
	font-family: var(--font-jp);
	font-size: var(--fs-body);
	/* 本文はやや太めに。M PLUS 2 の見出しと並べても痩せて見えないようにする */
	font-weight: 500;
	/* 行間は詰めすぎず、あけすぎない */
	line-height: 1.75;
	letter-spacing: 0.04em;
	text-align: center;
	font-feature-settings: "palt" 1;
	overflow-wrap: anywhere;
	word-break: normal;
	line-break: strict;
}

/* 斜体禁止 */
i,
em,
cite,
address,
dfn,
var {
	font-style: normal;
}

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.28em;
}

a:hover {
	text-decoration: none;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

figure,
dl,
dd {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--font-jp-head);
	font-weight: 800;
	line-height: 1.45;
	/* 字間は最大3px。見出しは締めて組む */
	letter-spacing: 0.02em;
}

p {
	margin: 0;
}

p + p {
	margin-top: 1.7em;
}

strong,
b {
	font-weight: 700;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}

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

:focus-visible {
	outline: 3px solid var(--black);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection {
	background: var(--red);
	color: var(--white);
}

/* 数字はすべて日本語フォントを使う */
.num {
	font-family: var(--font-jp);
	font-feature-settings: "palt" 0;
	letter-spacing: 0.01em;
}

h1 .num,
h2 .num,
h3 .num,
h4 .num {
	font-family: var(--font-jp-head);
}

/* 大きく見せる数字だけ Dela Gothic One */
.num--display {
	font-family: var(--font-num);
	font-weight: 400;
	letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   3. レイアウト部品
   -------------------------------------------------------------------------- */

.container {
	width: min(100% - var(--gutter) * 2, var(--container));
	margin-inline: auto;
}

.container--narrow {
	width: min(100% - var(--gutter) * 2, var(--container-narrow));
	/* .container を伴わずに単体でも使うため、ここでも中央寄せする */
	margin-inline: auto;
}

.section {
	position: relative;
	padding-block: var(--section-y);
}

.section--yellow {
	background: var(--yellow);
	--scallop-color: var(--yellow);
}

.section--red {
	background: var(--red);
	color: var(--white);
	--scallop-color: var(--red);
}

.section--black {
	background: var(--black);
	color: var(--white);
	--scallop-color: var(--black);
}

.section--white {
	background: var(--white);
	--scallop-color: var(--white);
}

.section + .section {
	margin-top: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: var(--s-3) var(--s-5);
	background: var(--black);
	color: var(--white);
	border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus {
	left: 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* スカラップライン（セクションの上端）

   半円を三つ、横に並べてつなげる。
   帯の高さは 幅/12（＝半円の高さ）。aspect-ratio で幅から決めるので、
   画面幅が変わっても形が崩れない。
   グラデーションのタイル繰り返しだと継ぎ目に線が出るため、
   SVGをマスクに使って一枚の形として抜いている。 */
.section__scallop {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	/* 幅から高さが決まる。半円3つ分の高さ */
	aspect-ratio: 17 / 1;
	height: auto;
	/* 1px重ねて、セクションとの境目に隙間が出ないようにする */
	transform: translateY(calc(-100% + 1px));
	background: var(--scallop-color, var(--red));
	-webkit-mask-image: var(--scallop-shape);
	mask-image: var(--scallop-shape);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	pointer-events: none;
}

/* 波型ディバイダ */
.wave {
	line-height: 0;
	/*
	 * 上に並ぶキャラクターの置きどころにする。
	 * z-index を上げるのは、キャラの足もとが波より下（次の節）へ
	 * はみ出すため。上げないと、次の節の背景に塗りつぶされる。
	 */
	position: relative;
	z-index: 1;
}

/* --------------------------------------------------------------------------
   波の上に並ぶキャラクター

   いただいたモックの位置・大きさを実測して写している。
   ・置く場所（--x）は画面幅に対する割合。画面が広くなっても間が空きすぎない
   ・大きさ（--h）と沈み（--sink）は、共通の単位 --wave-u の倍数
     ばらばらに px で書くと、画面幅を変えたとき列がくずれるため
   ・--sink は「黄色が始まる線から、足もとがどれだけ下か」

   高さで大きさを決めて、幅は絵の比率にまかせる。
   幅を指定して高さを固定すると、絵が横に伸びてしまう。
   -------------------------------------------------------------------------- */

.wave__charas {
	position: absolute;
	inset: 0;
	/* 飾りなので、クリックの邪魔をしない */
	pointer-events: none;
	/* モックの実測に合わせた基準の大きさ（幅1323pxのとき100px） */
	--wave-u: clamp(56px, 7.56vw, 112px);
}

.wave__chara {
	position: absolute;
	display: block;
	width: auto;
	height: calc(var(--h) * var(--wave-u));
	/* 画像全体にかかる max-width: 100% で縮むのを止める */
	max-width: none;
	left: var(--x);
	bottom: calc(var(--sink) * var(--wave-u) * -1);
	/*
	 * 置いたときの傾きは transform に持たせる。
	 * 歩くゆれは rotate / translate なので、打ち消し合わない。
	 */
	transform: translateX(-50%) rotate(var(--tilt, 0deg));
}

.wave__chara--ikeike {
	--x: 11.5%;
	--h: 2.54;
	--sink: 1.01;
}

.wave__chara--mitt {
	--x: 28.6%;
	--h: 1.44;
	/* 傾けると外枠が下へ 0.07 ぶん広がるので、その手前で止めてある */
	--sink: 0.22;
	--tilt: -8deg;
}

.wave__chara--ladle {
	--x: 42%;
	--h: 1.7;
	--sink: 0.68;
}

.wave__chara--carrot {
	--x: 67.3%;
	--h: 2.23;
	/* 横に長い絵なので、少し傾けるだけで外枠が下へ 0.25 ぶん広がる */
	--sink: 0.555;
	--tilt: -7deg;
}

.wave__chara--pan {
	--x: 84.5%;
	--h: 1.38;
	--sink: 0.79;
}

/*
 * いちばん右。モックでは画面の端ぎりぎりだが、
 * 傾き＋ゆれ（±4度）で外枠が横に張り出し、
 * 画面がはみ出してしまうので、少しだけ内側に置いてある。
 */
.wave__chara--turner {
	--x: 95%;
	--h: 1.69;
	--sink: -0.01;
	--tilt: 12deg;
}

/*
 * 狭い画面では6体は入りきらない。
 * 人物（いけいけ）を軸に3体だけ残して、間隔を取り直す。
 */
@media (max-width: 899.98px) {
	.wave__charas {
		--wave-u: clamp(38px, 6.4vw, 58px);
	}

	.wave__chara--mitt,
	.wave__chara--carrot,
	.wave__chara--turner {
		display: none;
	}

	.wave__chara--ikeike {
		--x: 17%;
	}

	.wave__chara--ladle {
		--x: 50%;
	}

	.wave__chara--pan {
		--x: 83%;
	}
}

.wave svg {
	width: 100%;
	height: clamp(40px, 5vw, 80px);
	display: block;
}

.wave--from-white {
	background: var(--white);
}
.wave--from-yellow {
	background: var(--yellow);
}
.wave--from-red {
	background: var(--red);
}
.wave--from-black {
	background: var(--black);
}

.wave--to-white svg path {
	fill: var(--white);
}
.wave--to-yellow svg path {
	fill: var(--yellow);
}
.wave--to-red svg path {
	fill: var(--red);
}
.wave--to-black svg path {
	fill: var(--black);
}

/* --------------------------------------------------------------------------
   4. 見出し / テキスト
   -------------------------------------------------------------------------- */

.section-head {
	margin-bottom: var(--s-7);
}

.section-head__label {
	font-family: var(--font-en-head);
	font-size: var(--fs-label);
	/* 英字は頭文字のみ大文字 */
	text-transform: none;
	letter-spacing: 0.14em;
	color: var(--red);
	margin-bottom: var(--s-3);
}

.section--red .section-head__label,
.section--black .section-head__label {
	color: var(--white);
}

.section-head__title {
	font-size: var(--fs-display);
}

.section-head__lead {
	margin-top: var(--s-4);
	max-width: 42em;
	margin-inline: auto;
}

.lead {
	max-width: 40em;
	margin-inline: auto;
}

.statement {
	/* 折り返しを揃えるため、幅は絞らない。原稿側の <br> で行が決まる */
	max-width: none;
	margin-inline: auto;
	line-height: 1.8;
	/*
	 * 画面が狭いと1文が何行にも折り返して長く見えるので、
	 * 本文より少し小さくする（狭い画面で13.5px、広い画面では本文と同じ17px）。
	 */
	font-size: clamp(13.5px, 12.2px + 0.34vw, 17px);
}

.statement > * + * {
	margin-top: 1.9em;
}

.statement strong {
	font-weight: 700;
}

.catch {
	font-family: var(--font-jp-head);
	font-size: var(--fs-h3);
	line-height: 1.6;
	color: var(--red);
}

.section--red .catch,
.section--black .catch {
	color: var(--white);
}

.catch--big {
	font-size: var(--fs-h2);
}

.en-accent {
	font-family: var(--font-accent);
	font-size: var(--fs-h2);
	letter-spacing: 0.02em;
}

.note {
	font-size: var(--fs-small);
	line-height: 1.8;
}

.note--muted {
	opacity: 0.75;
}

/* --------------------------------------------------------------------------
   5. ボタン / リンク
   -------------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--s-3);
	min-height: 60px;
	padding: var(--s-3) var(--s-6);
	border-radius: var(--r-pill);
	border: var(--border);
	background: var(--red);
	color: var(--white);
	font-family: var(--font-jp-head);
	font-size: var(--fs-body);
	letter-spacing: 0.02em;
	line-height: 1.4;
	text-decoration: none;
	box-shadow: var(--shadow);
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover {
	transform: translateY(3px);
	box-shadow: 0 3px 0 var(--black);
}

.btn:active {
	transform: translateY(6px);
	box-shadow: 0 0 0 var(--black);
}

.btn--yellow {
	background: var(--yellow);
	color: var(--black);
}

.btn--outline {
	background: var(--white);
	color: var(--black);
}

.btn--ghost {
	background: transparent;
	color: inherit;
	box-shadow: none;
	border-color: currentColor;
}

.btn--ghost:hover {
	transform: none;
	background: var(--white);
	color: var(--black);
}

.btn__arrow {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: currentColor;
	position: relative;
	flex: none;
}

.btn__arrow::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 6px;
	height: 6px;
	border-top: 2px solid var(--red);
	border-right: 2px solid var(--red);
	transform: translateX(-1px) rotate(45deg);
}

.btn--yellow .btn__arrow::before,
.btn--outline .btn__arrow::before {
	border-color: var(--white);
}

.btn--yellow .btn__arrow,
.btn--outline .btn__arrow {
	background: var(--red);
}

.btn-note {
	display: block;
	font-size: var(--fs-small);
	margin-top: var(--s-2);
}

.actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s-4);
	margin-top: var(--s-7);
}

.more {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
	font-family: var(--font-jp-head);
	font-size: var(--fs-small);
	color: var(--red);
	text-decoration: none;
	border-bottom: 2px solid currentColor;
	padding-bottom: 2px;
}

.section--red .more,
.section--black .more {
	color: var(--white);
}

.more__arrow {
	transition: transform 0.16s ease;
}

.more:hover .more__arrow,
.card__link:hover .more__arrow {
	transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. ヘッダー
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--white);
	border-bottom: 2px solid var(--black);
}

/* --------------------------------------------------------------------------
   TOPページのヘッダー

   キービジュアルの上では、地の黄色に溶け込ませる。
   少しでもスクロールしたら、下線が出て帯になる。

   ヘッダーを透明にするやり方は採らない。sticky は場所を取るので、
   透明にすると後ろに見えるのはキービジュアルではなく白い地になる。
   ヘッダーごと黄色にすれば、キービジュアルと continuous につながって
   デザインどおりの見え方になる。

   印（is-scrolled）は assets/js/main.js が付ける。
   JavaScript が動かない環境では、はじめから下線ありの帯になる。
   -------------------------------------------------------------------------- */

.home .site-header {
	background: var(--yellow);
	transition: border-color 0.2s ease;
}

/* 先頭にいるあいだだけ、下線を消して地とつなげる */
.home.hcj-has-js:not(.is-scrolled) .site-header {
	border-bottom-color: transparent;
}

.site-header__inner {
	width: min(100% - var(--gutter) * 2, 1360px);
	margin-inline: auto;
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-5);
}

/* --- ロゴ：制作中のため領域のみ確保（中身は空） --- */
.site-logo {
	flex: none;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.site-logo__slot {
	display: block;
	width: 148px;
	height: 44px;
	border-radius: var(--r-sm);
}

@media (min-width: 900px) {
	.site-logo__slot {
		width: 220px;
		height: 56px;
	}
}

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

/*
 * ロゴ（SVG）。塗りは currentColor にしてあるので、色はここで決まる。
 * 横長版は 625 : 102 とかなり平たいので、高さではなく幅で合わせる。
 */
.site-logo__svg {
	display: block;
	width: 148px;
	height: auto;
	color: var(--black);
}

@media (min-width: 900px) {
	.site-logo__svg {
		width: 220px;
	}
}

.footer__logo {
	display: block;
	width: 150px;
	height: auto;
	/* フッターの背景は黒なので、ここだけ白く出す */
	color: var(--white);
}

/* ログイン中の編集者にだけ、未入稿であることを示す */
.logged-in .site-logo__slot:empty::after {
	content: "Logo";
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border: 2px dashed var(--red);
	border-radius: var(--r-sm);
	font-family: var(--font-en-head);
	font-size: 12px;
	color: var(--red);
}

/* --- ナビゲーション --- */
.nav {
	display: none;
}

.nav__list {
	display: flex;
	align-items: center;
	gap: clamp(12px, 1.4vw, 26px);
}

.nav__list > .menu-item {
	position: relative;
}

.nav__list > .menu-item > a {
	display: inline-block;
	padding: var(--s-3) 2px;
	font-family: var(--font-jp-head);
	font-size: var(--fs-small);
	letter-spacing: 0.03em;
	text-decoration: none;
	white-space: nowrap;
}

.nav__list > .menu-item > a::after {
	content: "";
	display: block;
	height: 4px;
	margin-top: 4px;
	border-radius: var(--r-pill);
	background: var(--red);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.18s ease;
}

.nav__list > .menu-item:hover > a::after,
.nav__list > .current-menu-item > a::after,
.nav__list > .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	min-width: 260px;
	padding: var(--s-3);
	background: var(--white);
	border: var(--border);
	border-radius: var(--r);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.nav__list > .menu-item:hover .sub-menu,
.nav__list > .menu-item:focus-within .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.nav__list .sub-menu a {
	display: block;
	padding: var(--s-3) var(--s-4);
	border-radius: var(--r-sm);
	font-size: var(--fs-small);
	text-decoration: none;
	text-align: left;
}

.nav__list .sub-menu a:hover {
	background: var(--yellow);
}

.header__cta {
	display: none;
}

@media (min-width: 1100px) {
	.nav {
		display: block;
	}

	.header__cta {
		display: inline-flex;
		align-items: center;
		gap: var(--s-3);
	}

	.header__cta .btn {
		min-height: 48px;
		padding-inline: var(--s-5);
		font-size: var(--fs-small);
	}

	.nav-toggle {
		display: none;
	}
}

/* --- モバイル：ドロワー --- */
.nav-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 52px;
	height: 52px;
	padding: 0 12px;
	border: var(--border);
	border-radius: var(--r-pill);
	background: var(--white);
}

.nav-toggle__bar {
	display: block;
	height: 3px;
	border-radius: var(--r-pill);
	background: var(--black);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

.drawer {
	position: fixed;
	inset: var(--header-h) 0 0;
	z-index: 99;
	background: var(--red);
	color: var(--white);
	padding: var(--s-7) var(--gutter) var(--s-9);
	overflow-y: auto;
	overscroll-behavior: contain;
	display: none;
}

.drawer.is-open {
	display: block;
}

@media (min-width: 1100px) {
	.drawer,
	.drawer.is-open {
		display: none;
	}
}

.drawer .menu-item > a {
	display: block;
	padding: var(--s-4) 0;
	font-family: var(--font-jp-head);
	font-size: var(--fs-h4);
	text-decoration: none;
	border-bottom: 2px solid var(--yellow);
}

.drawer .sub-menu {
	padding: var(--s-2) 0 var(--s-4);
}

.drawer .sub-menu a {
	display: block;
	padding: var(--s-3) 0 var(--s-3) var(--s-5);
	font-size: var(--fs-small);
	font-family: var(--font-jp);
	text-decoration: none;
	border-bottom: 0;
}

.drawer__cta {
	display: grid;
	gap: var(--s-4);
	margin-top: var(--s-7);
}

.drawer__tel {
	margin-top: var(--s-6);
	font-family: var(--font-jp-head);
	font-size: var(--fs-h3);
}

.drawer__tel a {
	text-decoration: none;
}

body.is-locked {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   7. ヒーロー：制作中のため領域のみ確保（中身は空）
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	background: var(--yellow);
	/*
	 * 画面いっぱい。ヘッダーは居座る帯なので、その高さぶんを引く。
	 * svh はスマホのアドレスバーの出入りで高さが跳ねないようにするため。
	 * 対応していないブラウザには上の vh のほうが効く。
	 */
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100svh - var(--header-h));
	display: grid;
	place-items: center;
	overflow: hidden;
}

.hero__slot {
	width: 100%;
	min-height: inherit;
}

/*
 * キービジュアル。枠いっぱいに敷く。
 * 画面が横に長いときは左（キャラクター側）が切れないように寄せる。
 */
.hero__image {
	display: block;
	width: 100%;
	/*
	 * 高さは .hero と同じ式で決める。
	 * height:100% だと親の高さが決まらず、画像の実寸ぶんだけ伸びてしまう。
	 */
	height: calc(100vh - var(--header-h));
	height: calc(100svh - var(--header-h));
	object-fit: cover;
	/* 画面が横に長いときに、左のキャラクターが切れないよう寄せる */
	object-position: 34% center;
}

/* --------------------------------------------------------------------------
   キービジュアルのキャラクター

   黄色の地に3体を、画面の縁で切って置く。
   縁で切っているので、出てくるときに縮めると切り口が見えてしまう。
   そこで、それぞれが寄りかかっている縁を軸（transform-origin）にして、
   その縁に吸い付いたまま大きくなるようにしている。
   -------------------------------------------------------------------------- */

.hero--art .hero__slot {
	position: relative;
}

.hero__art {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hero__chara {
	position: absolute;
	display: block;
	width: auto;
	height: auto;
	/*
	 * 画像ぜんぶに効いている max-width: 100% を、ここでは外す。
	 * キービジュアルは画面より大きく置いて縁で切る作りなので、
	 * 器の幅で頭打ちになると、指定した幅が効かず絵が縦に潰れる。
	 */
	max-width: none;
}

/*
 * 人物。真ん中に立ち、下は画面の外へ続く。
 * 3体のうちいちばん手前に置く（フライパンとミトンは背後）。
 */
.hero__chara--ikeike {
	left: 18%;
	top: -9%;
	height: 152%;
	z-index: 3;
	transform-origin: bottom center;
}

/* フライパン。左上の角から差し込む。絵の持つ角度のままでデザインに合う */
.hero__chara--pan {
	left: -2%;
	top: -17%;
	width: 68%;
	z-index: 1;
	transform-origin: top left;
}

/* ミトン。右下の角から差し込む */
.hero__chara--mitt {
	right: 1%;
	top: 45%;
	width: 33%;
	z-index: 2;
	transform-origin: bottom right;
}

/* キャッチコピー。いちばん下、中央 */
.hero__catch {
	position: absolute;
	left: 50%;
	/* 下の白い円弧より上に置く（円弧は clamp(40px, 6vw, 80px)） */
	bottom: clamp(52px, 4.6vw + 14px, 88px);
	translate: -50% 0;
	margin: 0;
	white-space: nowrap;
	font-family: var(--font-en-head);
	font-size: clamp(15px, 1.9vw, 34px);
	z-index: 4;
	letter-spacing: 0.01em;
	color: var(--black);
}

/*
 * 出てくる動き。
 * 縁を軸にしたまま大きくなるので、切り口は見えない。
 * 順番（人物 → フライパン → ミトン）は data-hcj-delay で決めている。
 */
@keyframes hcj-hero-in {
	0% {
		opacity: 0;
		scale: 0.7;
	}

	16% {
		opacity: 1;
	}

	48% {
		scale: 1.05;
	}

	72% {
		scale: 0.98;
	}

	88% {
		scale: 1.01;
	}

	100% {
		opacity: 1;
		scale: 1;
	}
}

.hero__chara[data-hcj-pop='in'] {
	animation: hcj-hero-in 0.7s ease-out both;
	/*
	 * 出す順（人物 → フライパン → ミトン）は JavaScript が --pop-delay に入れる。
	 * animation の一括指定は delay を 0 に戻してしまうので、
	 * そのあとに必ず書き直す。ここを忘れると3体が同時に出る。
	 */
	animation-delay: var(--pop-delay, 0s);
}

/*
 * 画面が縦長のときの組み方。
 * デザインは横長を前提にしているので、そのままだと人物が右にずれて顔が切れる。
 * 人物は「顔」が真ん中に来るように置き直す。
 * 絵の中で顔は左から68%のあたりにあるので、その分だけ左へずらす。
 */
@media (max-width: 1199.98px) {
	.hero__chara--ikeike {
		left: 50%;
		top: auto;
		bottom: -6%;
		height: 74%;
		translate: -68% 0;
	}

	.hero__chara--pan {
		left: -18%;
		top: -6%;
		width: 92%;
	}

	.hero__chara--mitt {
		right: -12%;
		top: auto;
		bottom: -6%;
		width: 46%;
	}
}
/*
 * スマートフォンの組み方。いただいたモバイル版のデザインに合わせる。
 * フライパンは左上から、ミトンは右上から差し込み、
 * 人物は顔を真ん中あたりに置いて、体は画面の下へ続かせる。
 * 人物の上げた腕は左の外へ出す（デザインどおり）。
 */
@media (max-width: 700px) {
	/*
	 * 数値はモバイル版のデザインから逆算した。
	 * 絵の中の目印（人物は顔、フライパンは灰色の内側、ミトンは黄色い本体）が
	 * デザインと同じ位置・同じ大きさに来るようにしてある。
	 */
	/*
	 * 人物は大きく。腕は左右の外へ、脚は画面の下へ出す。
	 * 横位置は「顔」を基準にする。left だけで置くと、画面の幅が変わったとき
	 * 絵の幅（高さから決まる）との関係がずれて、顔の位置が動いてしまう。
	 * 絵の中で顔は左から55.2%にあるので、その分だけ左へずらす。
	 */
	/*
	 * 数値はモバイル版のデザイン（ヒーローモバイル.png）を測って出した。
	 * 元画像とデザインの両方で同じ目印を探し、
	 * 画面に対する割合が一致するようにしてある。
	 *   人物 … 顔（頬まわりのひとつながりの肌色）
	 *   フライパン … 灰色の内側の右端と上端
	 *   ミトン … 黄色い本体の左端と上端
	 * 人物の横位置は left ＋ translate で顔を基準にしている。
	 * left だけだと、画面の幅が変わったとき顔の位置が動いてしまう。
	 */
	.hero__chara--ikeike {
		left: 62.8%;
		top: 26.8%;
		bottom: auto;
		height: 98.6%;
		translate: -64.34% 0;
	}

	.hero__chara--pan {
		left: -16.3%;
		top: 4.8%;
		width: 126.7%;
	}

	/* ミトンは「目」を基準に置く。袖口は右端で切れていて基準にならない */
	.hero__chara--mitt {
		right: -36%;
		top: 17.6%;
		bottom: auto;
		width: 87%;
	}
}


.hero__arc {
	position: absolute;
	left: -6%;
	right: -6%;
	bottom: -2px;
	height: clamp(40px, 6vw, 80px);
	background: var(--white);
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   8. 下層ページヘッダー
   -------------------------------------------------------------------------- */

.page-header {
	position: relative;
	background: var(--red);
	color: var(--white);
	padding-block: clamp(48px, 6vw, 88px) clamp(72px, 8vw, 128px);
}

.page-header__label {
	font-family: var(--font-en-head);
	font-size: var(--fs-label);
	letter-spacing: 0.14em;
	color: var(--white);
	margin-bottom: var(--s-3);
}

.page-header__title {
	font-size: var(--fs-display);
}

.page-header__lead {
	margin-top: var(--s-5);
	max-width: 40em;
	margin-inline: auto;
}

.page-header__arc {
	position: absolute;
	left: -6%;
	right: -6%;
	bottom: -2px;
	height: clamp(40px, 6vw, 72px);
	background: var(--white);
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.page-header + .section--yellow .page-header__arc,
.page-header.is-on-yellow .page-header__arc {
	background: var(--yellow);
}

/* --------------------------------------------------------------------------
   9. パンくず
   -------------------------------------------------------------------------- */

.breadcrumb {
	padding-block: var(--s-4);
	font-size: var(--fs-small);
}

.breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s-2) var(--s-3);
}

.breadcrumb__item + .breadcrumb__item::before {
	content: "›";
	margin-right: var(--s-3);
}

.breadcrumb a {
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

/* --------------------------------------------------------------------------
   10. メディアスロット / サムネイル
   -------------------------------------------------------------------------- */

.media-slot,
.thumb {
	position: relative;
	aspect-ratio: var(--ratio, 4 / 3);
	border-radius: var(--r);
	overflow: hidden;
	background: var(--yellow);
}

.thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.media-slot__hint {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--font-jp);
	font-size: var(--fs-small);
	color: var(--red);
	opacity: 0.5;
	padding: var(--s-4);
}

.section--yellow .media-slot,
.section--yellow .thumb {
	background: var(--white);
}

/* --------------------------------------------------------------------------
   11. カード
   -------------------------------------------------------------------------- */

.cards {
	display: grid;
	gap: var(--gap);
}

.card {
	background: var(--white);
	border: var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.section--yellow .card {
	background: var(--white);
}

.card:hover {
	transform: translateY(3px);
	box-shadow: 0 3px 0 var(--black);
}

.card__link {
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.card__media {
	border-radius: 0;
}

.card__body {
	padding: var(--s-5);
	display: grid;
	gap: var(--s-3);
}

.card__title {
	font-size: var(--fs-h3);
	color: var(--red);
}

/*
 * レシピ・お客様の声のカードは、見出しが長くなりがちで
 * 赤のままだと読みづらい。ここだけ黒にする。
 * （シーンカードやジャンルカードは短いので赤のまま）
 */
.cards--post .card__title {
	color: var(--black);
}

.card__catch {
	font-family: var(--font-jp-head);
	font-size: var(--fs-body);
	line-height: 1.6;
}

.card__text {
	font-size: var(--fs-small);
	text-align: left;
}

.card__meta {
	font-size: var(--fs-small);
	color: var(--red);
}

/* シーンカード */
@media (min-width: 640px) {
	.cards--scene {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.cards--scene {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ジャンルカード（7枚） */
.cards--genre {
	grid-template-columns: repeat(2, 1fr);
	gap: var(--s-4);
}

@media (min-width: 720px) {
	.cards--genre {
		grid-template-columns: repeat(4, 1fr);
	}
}

.card--genre {
	border-radius: var(--r);
}

.card--genre .card__link {
	display: grid;
	gap: var(--s-2);
	padding: var(--s-5) var(--s-4);
	align-content: start;
}

.card--genre__name {
	font-size: var(--fs-h4);
}

.card--genre__arrow {
	color: var(--red);
	font-size: var(--fs-body);
}

.cards--genre-detail {
	grid-template-columns: 1fr;
}

@media (min-width: 720px) {
	.cards--genre-detail {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.cards--genre-detail {
		grid-template-columns: repeat(3, 1fr);
	}
}

.card--genre__dishes {
	counter-reset: dish;
	display: grid;
	gap: var(--s-2);
	margin-top: var(--s-3);
	text-align: left;
}

.card--genre__dishes li {
	counter-increment: dish;
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: var(--s-2);
	font-size: var(--fs-small);
	line-height: 1.6;
}

.card--genre__dishes li::before {
	content: counter(dish);
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--red);
	color: var(--white);
	font-family: var(--font-jp-head);
	font-size: 12px;
}

/* 料金プランカード */
.cards--plan {
	grid-template-columns: 1fr;
}

@media (min-width: 800px) {
	.cards--plan {
		grid-template-columns: repeat(3, 1fr);
	}
}

.card--plan {
	padding: var(--s-6) var(--s-5);
	display: grid;
	gap: var(--s-2);
	align-content: start;
}

.card--plan__name {
	font-size: var(--fs-h3);
	color: var(--red);
}

.card--plan__lead {
	font-size: var(--fs-small);
}

.card--plan__price {
	font-family: var(--font-jp-head);
	font-size: clamp(30px, 22px + 2.1vw, 44px);
	line-height: 1.2;
	margin-top: var(--s-3);
}

.card--plan__yen {
	font-family: var(--font-en-head);
	font-size: 0.6em;
	margin-right: 0.1em;
}

.card--plan__unit {
	font-family: var(--font-jp);
	font-size: 0.42em;
	margin-left: 0.2em;
}

.card--plan__note {
	font-size: var(--fs-small);
}

/*
 * 「このプランで予約する」。カードの高さが違っても、
 * ボタンの位置がそろうように下端へ寄せる。
 */
.card--plan {
	display: flex;
	flex-direction: column;
}

.card--plan__action {
	margin-top: auto;
	padding-top: var(--s-5);
	text-align: center;
}

.card--plan__spec {
	display: grid;
	gap: var(--s-2);
	margin-top: var(--s-4);
	padding-top: var(--s-4);
	border-top: 2px dotted var(--yellow);
	text-align: left;
}

.card--plan__spec > div {
	display: grid;
	grid-template-columns: 5.5em 1fr;
	gap: var(--s-3);
	font-size: var(--fs-small);
	line-height: 1.7;
}

.card--plan__spec dt {
	font-family: var(--font-jp-head);
	color: var(--red);
}

/* 記事カード（Voice / Recipe） */
.cards--post {
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.cards--post {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.cards--post {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* レシピ：細横長1×3 */
.cards--recipe-row {
	grid-template-columns: 1fr;
}

@media (min-width: 900px) {
	.cards--recipe-row {
		grid-template-columns: repeat(3, 1fr);
	}
}

.card--row .card__link {
	display: grid;
	grid-template-columns: 104px 1fr;
	align-items: center;
	gap: var(--s-4);
	padding: var(--s-3);
	text-align: left;
}

.card--row .media-slot,
.card--row .thumb {
	border-radius: var(--r-sm);
}

.card--row .card__title {
	font-size: var(--fs-body);
	color: var(--black);
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. 特徴リスト（チームの変化 / こんなシーンに）
   -------------------------------------------------------------------------- */

.benefits {
	display: grid;
	gap: var(--s-4);
	grid-template-columns: 1fr;
}

@media (min-width: 700px) {
	.benefits {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.benefits {
		grid-template-columns: repeat(3, 1fr);
	}
}

.benefits li {
	display: grid;
	grid-template-columns: 32px 1fr;
	align-items: center;
	gap: var(--s-3);
	padding: var(--s-4) var(--s-5);
	background: var(--white);
	border: var(--border);
	border-radius: var(--r-pill);
	font-family: var(--font-jp-head);
	font-size: var(--fs-small);
	line-height: 1.5;
	text-align: left;
}

.benefits li::before {
	content: "";
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--red);
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s-3);
}

.tag-list li,
.tag-list a {
	display: inline-block;
	padding: var(--s-2) var(--s-5);
	border-radius: var(--r-pill);
	background: var(--yellow);
	color: var(--black);
	font-size: var(--fs-small);
	text-decoration: none;
	line-height: 1.8;
}

.section--yellow .tag-list li,
.section--yellow .tag-list a {
	background: var(--white);
}

.section--red .tag-list li,
.section--red .tag-list a {
	background: var(--white);
}

/*
 * 件数。ボタンの中で少し弱く、数字だけ小さく見せる。
 * 押す前に何件あるかが分かると、0件の行き止まりを踏まなくてすむ。
 */
.tag-list__count {
	font-size: 0.85em;
	opacity: 0.7;
}

/* いま選んでいる絞り込み。 */
.tag-list a[aria-current] {
	background: var(--red);
	color: var(--white);
}

.tag-list a:hover {
	background: var(--red);
	color: var(--white);
}

/* 利用企業様 */
.clients {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s-3) var(--s-5);
	max-width: 60em;
	margin-inline: auto;
}

.clients li {
	font-family: var(--font-jp-head);
	font-size: var(--fs-small);
	line-height: 1.7;
}

/* --------------------------------------------------------------------------
   13. 流れ（8ステップ）
   -------------------------------------------------------------------------- */

.flow {
	counter-reset: step;
	display: grid;
	gap: var(--s-5);
	max-width: 60em;
	margin-inline: auto;
}

.flow__item {
	counter-increment: step;
	position: relative;
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: var(--s-4);
	align-items: start;
	padding: var(--s-5);
	background: var(--white);
	border: var(--border);
	border-radius: var(--r-lg);
	text-align: left;
}

.flow__item::after {
	content: "";
	position: absolute;
	left: calc(var(--s-5) + 32px);
	bottom: calc(var(--s-5) * -1 - 2px);
	width: 2px;
	height: var(--s-5);
	background: var(--black);
}

.flow__item:last-child::after {
	display: none;
}

.flow__num {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--red);
	color: var(--white);
	font-family: var(--font-jp-head);
	font-size: var(--fs-h3);
}

.flow__body {
	display: grid;
	gap: var(--s-2);
	padding-top: var(--s-2);
}

.flow__title {
	font-size: var(--fs-h4);
}

.flow__text {
	font-size: var(--fs-small);
	line-height: 1.75;
}

/* --------------------------------------------------------------------------
   14. 課題料理マトリクス
   -------------------------------------------------------------------------- */

.matrix-wrap {
	max-width: 100%;
}

.matrix {
	background: var(--white);
	border: var(--border);
	border-radius: var(--r);
	overflow: hidden;
	font-size: var(--fs-small);
}

.matrix caption {
	caption-side: top;
	padding-bottom: var(--s-4);
	font-size: var(--fs-small);
}

.matrix th,
.matrix td {
	padding: var(--s-3) var(--s-4);
	border: 1px solid var(--yellow);
	line-height: 1.6;
	vertical-align: middle;
}

.matrix thead th {
	background: var(--red);
	color: var(--white);
	font-family: var(--font-jp-head);
	font-weight: 400;
	white-space: nowrap;
}

.matrix tbody th {
	background: var(--yellow);
	font-family: var(--font-jp-head);
	font-weight: 400;
	white-space: nowrap;
}

.matrix tbody th a,
.matrix td a {
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

.matrix tbody th a:hover,
.matrix td a:hover {
	color: var(--red);
}

@media (min-width: 900px) {
	.matrix-wrap {
		overflow-x: auto;
		border-radius: var(--r);
	}
}

/* モバイル：行を積む */
@media (max-width: 899px) {
	.matrix,
	.matrix tbody,
	.matrix tr,
	.matrix th,
	.matrix td {
		display: block;
		border: 0;
	}

	.matrix {
		border: 0;
		background: transparent;
	}

	.matrix thead {
		display: none;
	}

	.matrix tr {
		background: var(--white);
		border: var(--border);
		border-radius: var(--r);
		overflow: hidden;
		margin-bottom: var(--s-4);
	}

	.matrix tbody th {
		font-size: var(--fs-h4);
		padding: var(--s-4);
		text-align: center;
	}

	.matrix td {
		display: grid;
		grid-template-columns: 5.5em 1fr;
		gap: var(--s-3);
		text-align: left;
		border-top: 1px solid var(--yellow);
	}

	.matrix td::before {
		content: attr(data-label);
		font-family: var(--font-jp-head);
		color: var(--red);
		font-size: 12px;
		line-height: 1.7;
	}
}

/* --------------------------------------------------------------------------
   15. ご利用条件
   -------------------------------------------------------------------------- */

.condition {
	max-width: 52em;
	margin-inline: auto;
	background: var(--white);
	border: var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
	text-align: left;
}

.condition__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-1);
	padding: var(--s-4) var(--s-5);
}

.condition__row + .condition__row {
	border-top: 2px dotted var(--yellow);
}

@media (min-width: 720px) {
	.condition__row {
		grid-template-columns: 12em 1fr;
		gap: var(--s-4);
		align-items: baseline;
	}
}

.condition__term {
	font-family: var(--font-jp-head);
	color: var(--red);
	font-size: var(--fs-small);
}

.condition__desc {
	font-size: var(--fs-small);
	line-height: 1.75;
}

/* --------------------------------------------------------------------------
   16. Supervisor / Access
   -------------------------------------------------------------------------- */

.people {
	display: grid;
	gap: var(--gap);
	grid-template-columns: 1fr;
}

@media (min-width: 700px) {
	.people {
		grid-template-columns: repeat(3, 1fr);
	}
}

.person {
	display: grid;
	gap: var(--s-3);
}

.person .media-slot,
.person .thumb {
	border-radius: var(--r-lg);
}

/*
 * 監修する料理研究家。
 * 手がけた料理の写真を帯にして、その上にご本人の写真を丸く重ねる（旧サイト踏襲）。
 */
.person__head {
	display: grid;
	justify-items: center;
}

.person__dish {
	width: 100%;
}

.person__avatar {
	width: 116px;
	/* 帯に半分ほど食い込ませる */
	margin-top: -58px;
	border: 5px solid var(--white);
	border-radius: 50%;
	box-shadow: var(--shadow);
	background: var(--white);
}

.person__avatar.thumb,
.person__avatar.media-slot {
	border-radius: 50%;
}

.person__avatar img {
	border-radius: 50%;
	/* 顔は写真の上寄りにあるので、切り抜く位置も少し上へ */
	object-position: center 28%;
}

.person__role {
	font-size: var(--fs-small);
	color: var(--red);
}

.person__name {
	font-size: var(--fs-h4);
}

.person__name a {
	text-decoration: none;
	border-bottom: 2px solid var(--red);
}

.person__text {
	font-size: var(--fs-small);
	text-align: left;
	line-height: 1.75;
}

.studio {
	display: grid;
	gap: var(--gap);
	grid-template-columns: 1fr;
	max-width: 60em;
	margin-inline: auto;
	text-align: left;
}

@media (min-width: 800px) {
	.studio {
		grid-template-columns: 1fr 1fr;
		align-items: center;
	}
}

.studio__area {
	display: inline-block;
	padding: var(--s-1) var(--s-4);
	border-radius: var(--r-pill);
	background: var(--red);
	color: var(--white);
	font-family: var(--font-jp-head);
	font-size: var(--fs-small);
	margin-bottom: var(--s-3);
}

.studio__name {
	font-size: var(--fs-h3);
}

.studio__address {
	margin-top: var(--s-3);
	font-size: var(--fs-small);
	line-height: 1.75;
}

.studio__text {
	margin-top: var(--s-3);
	font-size: var(--fs-small);
}

/* --------------------------------------------------------------------------
   17. 動画
   -------------------------------------------------------------------------- */

.video {
	max-width: 900px;
	margin-inline: auto;
}

.video__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	border: var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	background: var(--black);
}

.video__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.video__title {
	margin-top: var(--s-4);
	font-size: var(--fs-small);
}

/* --------------------------------------------------------------------------
   18. CTA
   -------------------------------------------------------------------------- */

.section--cta {
	background: var(--red);
	color: var(--white);
	--scallop-color: var(--red);
}

.cta__label {
	font-family: var(--font-en-head);
	font-size: var(--fs-label);
	letter-spacing: 0.14em;
	color: var(--white);
	margin-bottom: var(--s-3);
}

.cta__title {
	font-size: var(--fs-display);
}

.cta__lead {
	margin-top: var(--s-4);
	max-width: 36em;
	margin-inline: auto;
}

.cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s-4);
	margin-top: var(--s-7);
}

.cta__tel {
	margin-top: var(--s-7);
	display: grid;
	gap: var(--s-2);
}

.cta__tel-label {
	font-size: var(--fs-small);
}

.cta__tel-link {
	font-family: var(--font-jp-head);
	font-size: clamp(28px, 20px + 2.1vw, 40px);
	text-decoration: none;
	line-height: 1.2;
}

/* --------------------------------------------------------------------------
   19. フッター
   -------------------------------------------------------------------------- */

.site-footer {
	background: var(--black);
	color: var(--white);
	padding-block: var(--section-y) var(--s-7);
}

.footer__grid {
	display: grid;
	gap: var(--s-7);
	grid-template-columns: 1fr;
	text-align: left;
}

@media (min-width: 900px) {
	.footer__grid {
		grid-template-columns: 1.2fr 1fr 1fr;
		gap: var(--s-8);
	}
}

.footer__logo-slot {
	display: block;
	width: 180px;
	height: 48px;
	border-radius: var(--r-sm);
}

.logged-in .footer__logo-slot:empty::after {
	content: "Logo";
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border: 2px dashed var(--yellow);
	border-radius: var(--r-sm);
	font-family: var(--font-en-head);
	font-size: 12px;
	color: var(--yellow);
	opacity: 0.6;
}

.footer__tagline {
	margin-top: var(--s-4);
	font-size: var(--fs-small);
	line-height: 1.75;
}

.footer__heading {
	font-family: var(--font-en-head);
	font-size: var(--fs-label);
	letter-spacing: 0.14em;
	color: var(--yellow);
	margin-bottom: var(--s-4);
}

.footer__list {
	display: grid;
	gap: var(--s-3);
	font-size: var(--fs-small);
}

.footer__list a {
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.footer__list a:hover {
	border-bottom-color: var(--red);
	color: var(--yellow);
}

.footer__contact {
	display: grid;
	gap: var(--s-3);
	font-size: var(--fs-small);
}

.footer__tel {
	font-family: var(--font-jp-head);
	font-size: var(--fs-h3);
	text-decoration: none;
}

.footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
	margin-top: var(--s-4);
}

.footer__social a {
	display: inline-block;
	padding: var(--s-2) var(--s-4);
	border: 2px solid var(--yellow);
	border-radius: var(--r-pill);
	font-size: var(--fs-small);
	text-decoration: none;
	font-family: var(--font-en);
}

.footer__social a:hover {
	background: var(--yellow);
	color: var(--black);
}

.footer__bottom {
	margin-top: var(--s-8);
	padding-top: var(--s-5);
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	display: grid;
	gap: var(--s-3);
	font-size: var(--fs-small);
	/* フッターは上と揃えて左寄せ */
	justify-items: start;
	text-align: left;
}

@media (min-width: 700px) {
	.footer__bottom {
		grid-template-columns: 1fr auto;
		align-items: center;
		text-align: left;
	}
}

.footer__company a {
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

/* --------------------------------------------------------------------------
   20. 記事本文 / アーカイブ
   -------------------------------------------------------------------------- */

.entry-content {
	max-width: var(--container-narrow);
	margin-inline: auto;
	text-align: left;
	line-height: 1.85;
}

.entry-content > * + * {
	margin-top: 1.7em;
}

.entry-content h2 {
	font-size: var(--fs-h2);
	margin-top: 2em;
	padding-bottom: var(--s-3);
	border-bottom: 3px solid var(--red);
}

.entry-content h3 {
	font-size: var(--fs-h3);
	margin-top: 1.8em;
	color: var(--red);
}

.entry-content h4 {
	font-size: var(--fs-h4);
	margin-top: 1.6em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
	display: grid;
	gap: var(--s-2);
}

.entry-content ul {
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content a {
	color: var(--red);
	text-decoration: underline;
}

.entry-content img {
	border-radius: var(--r);
}

.entry-content blockquote {
	margin: 0;
	padding: var(--s-5);
	background: var(--yellow);
	border-radius: var(--r);
}

.entry-content table {
	font-size: var(--fs-small);
}

.entry-content th,
.entry-content td {
	padding: var(--s-3);
	border: 1px solid var(--yellow);
	text-align: left;
}

.entry-content th {
	background: var(--yellow);
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s-3);
	font-size: var(--fs-small);
	margin-top: var(--s-4);
}

.entry-meta a {
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

.entry-footer {
	max-width: var(--container-narrow);
	margin: var(--s-8) auto 0;
	padding-top: var(--s-6);
	border-top: 2px dotted var(--yellow);
	display: grid;
	gap: var(--s-4);
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s-3);
	margin-top: var(--s-8);
}

/*
 * the_posts_pagination() は数字を <div class="nav-links"> で包んで出す。
 * この div は普通のブロックなので、ここを並べないと数字が縦に積み上がる。
 */
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s-3);
	width: 100%;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 48px;
	min-height: 48px;
	padding-inline: var(--s-3);
	border: var(--border);
	border-radius: var(--r-pill);
	background: var(--white);
	font-family: var(--font-jp-head);
	font-size: var(--fs-small);
	text-decoration: none;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--red);
	color: var(--white);
}

.post-nav {
	display: grid;
	gap: var(--s-4);
	margin-top: var(--s-7);
}

@media (min-width: 700px) {
	.post-nav {
		grid-template-columns: 1fr 1fr;
	}
}

.post-nav a {
	display: block;
	padding: var(--s-4) var(--s-5);
	border: var(--border);
	border-radius: var(--r);
	background: var(--white);
	text-decoration: none;
	font-size: var(--fs-small);
	text-align: left;
}

.post-nav a:hover {
	background: var(--yellow);
}

/* 検索フォーム */
.search-form {
	display: flex;
	gap: var(--s-3);
	max-width: 34em;
	margin-inline: auto;
}

.search-form .search-field {
	flex: 1;
	min-height: 56px;
	padding: var(--s-3) var(--s-5);
	border: var(--border);
	border-radius: var(--r-pill);
	background: var(--white);
	font: inherit;
	font-size: var(--fs-small);
}

.search-form .search-submit {
	min-height: 56px;
	padding-inline: var(--s-6);
	border: var(--border);
	border-radius: var(--r-pill);
	background: var(--red);
	color: var(--white);
	font-family: var(--font-jp-head);
	font-size: var(--fs-small);
}

/* 404 / 空状態 */
.empty {
	max-width: 36em;
	margin-inline: auto;
	display: grid;
	gap: var(--s-5);
}

.empty__code {
	font-family: var(--font-accent);
	font-size: clamp(64px, 40px + 8vw, 140px);
	line-height: 1;
	color: var(--red);
}

/* --------------------------------------------------------------------------
   21. 汎用ユーティリティ
   -------------------------------------------------------------------------- */

.stack {
	display: grid;
	gap: var(--s-5);
}

.stack--lg {
	gap: var(--s-7);
}

.mt-4 {
	margin-top: var(--s-4);
}
.mt-5 {
	margin-top: var(--s-5);
}
.mt-6 {
	margin-top: var(--s-6);
}
.mt-7 {
	margin-top: var(--s-7);
}
.mt-8 {
	margin-top: var(--s-8);
}

.text-left {
	text-align: left;
}

.text-center {
	text-align: center;
}

.price-from {
	font-family: var(--font-jp-head);
	font-size: clamp(26px, 18px + 2.1vw, 40px);
	line-height: 1.3;
	color: var(--red);
}

.section--red .price-from,
.section--black .price-from {
	color: var(--white);
}

.price-from__unit {
	font-family: var(--font-jp);
	font-size: 0.42em;
	margin-left: 0.2em;
}

/* --------------------------------------------------------------------------
   22. モーション配慮
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

/* --------------------------------------------------------------------------
   23. 印刷
   -------------------------------------------------------------------------- */

@media print {
	.site-header,
	.site-footer,
	.section--cta,
	.nav-toggle,
	.drawer,
	.breadcrumb {
		display: none !important;
	}

	body {
		color: #000;
		background: #fff;
	}
}

/* --------------------------------------------------------------------------
   24. 管理バー分の調整
   -------------------------------------------------------------------------- */

body.admin-bar .site-header {
	top: 32px;
}

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

/*
 * ログイン中は上に管理バーが乗るので、その分だけヒーローを縮める。
 * これがないと、編集中だけ画面いっぱいに収まらない。
 */
body.admin-bar .hero,
body.admin-bar .hero__image {
	min-height: calc(100vh - var(--header-h) - 32px);
	min-height: calc(100svh - var(--header-h) - 32px);
}

body.admin-bar .hero__image {
	height: calc(100vh - var(--header-h) - 32px);
	height: calc(100svh - var(--header-h) - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .hero,
	body.admin-bar .hero__image {
		min-height: calc(100vh - var(--header-h) - 46px);
		min-height: calc(100svh - var(--header-h) - 46px);
	}

	body.admin-bar .hero__image {
		height: calc(100vh - var(--header-h) - 46px);
		height: calc(100svh - var(--header-h) - 46px);
	}
}

body.admin-bar .drawer {
	top: calc(var(--header-h) + 32px);
}

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

/* --------------------------------------------------------------------------
   25. 中央揃えの徹底

   カード列は grid だと端数の行（7枚を4列、5枚を3列 など）が左に寄ってしまう。
   flex + justify-content:center に変え、幅は基準値で固定して端数行を中央に置く。
   -------------------------------------------------------------------------- */

.cards--scene,
.cards--post,
.cards--recipe-row,
.cards--genre,
.benefits {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
}

.cards--scene > *,
.cards--post > *,
.cards--recipe-row > *,
.cards--genre > *,
.benefits > * {
	/* flex-grow は 0。端数行の1枚が横に伸びないようにする */
	flex: 0 1 100%;
	max-width: 100%;
}

/*
 * 画面が狭いときの列数。
 * 1枚ずつ縦に積むと延々スクロールすることになるので、
 * ジャンルは3列（7枚 → 3・3・1）、記事とシーンは2列で並べる。
 *
 * 1枚あたりの幅が 100〜160px と狭くなるぶん、
 * カードの中の文字も小さくして行数が増えすぎないようにする。
 */
@media (max-width: 639px) {
	.cards--post .card__title,
	.cards--scene .card__title {
		font-size: 15px;
		line-height: 1.55;
	}

	.cards--post .card__meta,
	.cards--post .card__text,
	.cards--scene .card__catch {
		font-size: 12px;
		line-height: 1.7;
	}

	.cards--post .card__body,
	.cards--scene .card__body {
		padding: var(--s-4);
		gap: var(--s-2);
	}

	/*
	 * 楽しみ方のカードは、見出しとキャッチだけで用が足りる。
	 * 説明文まで入れるとカードが縦に伸びすぎるので、狭い画面では出さない。
	 */
	.cards--scene .card__text {
		display: none;
	}

	/*
	 * お客様の声は企業・団体名で見分けられる。
	 * 「〜にてお料理ファシリテーションをご利用いただきました。」まで出すと
	 * カードが縦に伸びるので、狭い画面では企業名を見出しとして見せる。
	 * 記事タイトルは読み上げ用に残す。
	 */
	.card--voice .card__meta {
		order: -1;
		font-size: 14px;
		font-family: var(--font-jp-head);
		font-weight: 700;
		color: var(--black);
		line-height: 1.5;
	}

	.card--voice .card__title,
	.card--voice .card__text {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	/*
	 * レシピは料理名だけ見えれば選べる。
	 * ラベルもポイント（説明文）も、狭い画面では出さない。
	 */
	.cards--post .card__tags,
	.card--recipe .card__text {
		display: none;
	}

	/* 「イタリアン」「スペイン料理」が1行に収まる大きさ */
	.cards--genre .card--genre__name {
		font-size: 14px;
		line-height: 1.5;
	}

	/* 3列だと1枚が約100px。左右の余白を詰めて文字幅を稼ぐ */
	.cards--genre .card--genre__name,
	.cards--genre .card--genre__dishes,
	.cards--genre .card--genre__arrow {
		padding-inline: var(--s-2);
	}

	/* ジャンルカードは中身が少ないので、上下の余白も詰める */
	.cards--genre .card--genre .card__link {
		gap: var(--s-1);
		padding-bottom: var(--s-3);
	}

	.cards--genre .card--genre__arrow {
		margin-top: 0;
	}
}

/* --------------------------------------------------------------------------
   クッキングイベントの詳細ページ
   -------------------------------------------------------------------------- */

/* 受付終了などのお知らせ。本文より先に目に入るよう、枠で囲む */
.note--notice {
	border: var(--border);
	border-radius: var(--r-lg);
	background: var(--yellow);
	padding: var(--s-5) var(--s-6);
	margin-bottom: var(--s-7);
	font-weight: 700;
}

/* 当日の流れ。番号は自前で振る（写真が入っても位置がずれないように） */
.steps {
	list-style: none;
	counter-reset: hcj-step;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--s-6);
}

.step {
	counter-increment: hcj-step;
	/* 節が中央寄せなので、中の文章だけ左に戻す */
	text-align: left;
	display: grid;
	gap: var(--s-4);
	align-items: start;
	border: var(--border);
	border-radius: var(--r-lg);
	background: var(--white);
	box-shadow: var(--shadow);
	padding: var(--s-5);
}

.step__media {
	border-radius: var(--r-sm);
	overflow: hidden;
}

.step__title {
	font-weight: 700;
	font-size: var(--fs-h4);
	line-height: 1.5;
}

/* 見出しの前に番号を置く */
.step__title::before {
	content: counter(hcj-step);
	display: inline-grid;
	place-items: center;
	width: 1.9em;
	height: 1.9em;
	margin-right: 0.6em;
	border-radius: 50%;
	background: var(--red);
	color: var(--white);
	font-family: var(--font-en-head);
	font-size: 0.8em;
	vertical-align: 0.1em;
}

.step__body {
	margin-top: var(--s-3);
	line-height: 1.9;
}

/* 写真があるときは、広い画面で横に並べる */
@media (min-width: 720px) {
	.step:has(.step__media) {
		grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
		gap: var(--s-6);
		align-items: center;
	}
}

/* --------------------------------------------------------------------------
   見出しのまわりのキャラクター

   波の上に並ぶ3〜6体（.wave__chara）と同じ考え方。
   画面が狭いうちは見出しの上に小さく置き、
   文字の左右に余白ができる幅からは、見出しの横へ寄せる。

   大きさは「高さ」で決めて、幅は絵の比率にまかせる。
   幅を指定して高さを固定すると、絵が横に伸びてしまうため。

   横に寄せるときは、器（見出しのかたまり）の高さをキャラぶん確保して、
   キャラを器の中で上下中央に置く。
   こうしないと、背の高いキャラが下のカードや帯に垂れ下がってかぶる。

   横幅は、見出しの中心から器の端まで（約350px）に収める必要がある。
   にんじんのように横に広い絵は、高さを抑えて幅を稼がないようにしてある。
   -------------------------------------------------------------------------- */

.section-head--chara {
	position: relative;
}

.section-chara {
	display: block;
	width: auto;
	margin: 0 auto var(--s-4);
	height: var(--chara-h);
}

.section-chara.is-lg {
	--chara-h: 108px;
}

.section-chara.is-sm {
	--chara-h: 78px;
}

/* 人物は主役なので、狭い画面でも少し大きく */
.section-chara.is-person {
	--chara-h: 132px;
}

/*
 * 1つの見出しに2体いるときは、狭い画面では縦に積まず、人物だけを残す。
 * 積むと見出しの上が背伸びして、文字が下へ押しやられるため。
 */
@media (max-width: 1279.98px) {
	/* 人物がいるときは、道具のほうを隠す */
	.section-head--chara.has-person .section-chara:not(.is-person) {
		display: none;
	}

	/* それでも2体以上残るときは、先頭の1体だけにする（人物が2体のときなど） */
	.section-head--chara.has-person .section-chara.is-person ~ .section-chara.is-person {
		display: none;
	}

	/* 人物がいない見出しで2体あるときも、先頭の1体だけ */
	.section-head--chara:not(.has-person) .section-chara ~ .section-chara {
		display: none;
	}
}

/*
 * 見出しの横に出せるのは、文字の左右に余白ができてから。
 * それより狭いと文字に重なるので、上に並べたままにする。
 * 1280px は TOP冒頭の3体と同じ切り替え幅。
 */
@media (min-width: 1280px) {
	.section-chara {
		position: absolute;
		/* 高さだけ決めて、幅は絵の比率にまかせる */
		height: var(--chara-h);
		width: auto;
		margin: 0;
		pointer-events: none;
		/* 器の中で上下の真ん中に */
		top: 50%;
		transform: translateY(-50%) rotate(var(--chara-tilt, 0deg));
	}

	/* 見出しの中心から、どれだけ外へ離すか */
	.section-chara.on-left {
		right: calc(50% + var(--chara-gap, 310px));
	}

	.section-chara.on-right {
		left: calc(50% + var(--chara-gap, 310px));
	}

	/* --- 大きさ（高さ）。器の高さも同じ値で確保する --- */
	.section-chara.is-lg {
		--chara-h: clamp(150px, 12.4vw, 210px);
	}

	.section-chara.is-sm {
		--chara-h: clamp(100px, 8.3vw, 140px);
	}

	.section-head--chara.has-chara-lg {
		min-height: clamp(150px, 12.4vw, 210px);
	}

	.section-head--chara.has-chara-sm {
		min-height: clamp(100px, 8.3vw, 140px);
	}

	/* --- キャラごとの高さ・傾き・離す距離 --- */
	.section-chara--pot {
		--chara-tilt: -7deg;
		--chara-gap: 330px;
	}

	.section-chara--pan {
		--chara-tilt: 6deg;
		--chara-gap: 330px;
	}

	.section-chara--whisk {
		--chara-tilt: -10deg;
		--chara-gap: 338px;
	}

	.section-chara--ladle {
		--chara-tilt: -6deg;
		--chara-gap: 336px;
	}

	.section-chara--mitt {
		--chara-tilt: 8deg;
		--chara-gap: 334px;
	}

	.section-chara--turner {
		--chara-tilt: -8deg;
		--chara-gap: 342px;
	}

	/*
	 * 人物は道具より大きく。ただし幅が器からはみ出さない高さにとどめる。
	 * 傾けると横に張り出すので、人物は傾けない。
	 */
	.section-chara--ikeike.is-lg,
	.section-chara--ikeike.is-sm {
		--chara-h: clamp(200px, 16.5vw, 280px);
		--chara-gap: 336px;
		--chara-tilt: 0deg;
	}

	.section-chara--bread.is-lg,
	.section-chara--bread.is-sm {
		--chara-h: clamp(210px, 17.4vw, 296px);
		--chara-gap: 344px;
		--chara-tilt: 0deg;
	}

	/*
	 * 卵は「何を作る？」だけに置く。この見出しは字の半幅が152pxなので、
	 * 内側に寄せられる。横に広い絵なので高さは控えめに。
	 */
	.section-chara--egg.is-lg,
	.section-chara--egg.is-sm {
		--chara-h: clamp(220px, 18vw, 300px);
		--chara-gap: 200px;
		--chara-tilt: 0deg;
	}

	/* なべまぜ・ピザは字の長い見出しに置くので、外へ寄せる */
	.section-chara--stir.is-lg,
	.section-chara--stir.is-sm,
	.section-chara--pizza.is-lg,
	.section-chara--pizza.is-sm {
		--chara-h: clamp(230px, 19vw, 320px);
		--chara-gap: 280px;
		--chara-tilt: 0deg;
	}

	/* フライパンは卵と並ぶので、内側に寄せて釣り合いを取る */
	.section-chara--pan.is-sm {
		--chara-gap: 210px;
	}

	.section-head--chara.has-egg {
		min-height: clamp(220px, 18vw, 300px);
	}

	.section-head--chara.has-stir,
	.section-head--chara.has-pizza {
		min-height: clamp(230px, 19vw, 320px);
	}

	/*
	 * にんじんは「楽しみ方いろいろ」だけに置く。
	 * この見出しは文字が短く（半幅163px）、横に400px以上空いている。
	 * ほかより内側に寄せられるので、そのぶん大きく出せる。
	 */
	.section-chara--carrot.is-lg,
	.section-chara--carrot.is-sm {
		--chara-h: clamp(210px, 17.5vw, 292px);
		--chara-gap: 200px;
		--chara-tilt: 0deg;
	}

	/*
	 * 文字を左に寄せて、右側を絵のために空ける形。
	 * 絵は器の右端に置く（見出しの中心からではなく）。
	 * 空ける幅は絵ごとに変える。にんじんは横に広いので多めに。
	 */
	.section-head--left {
		text-align: left;
		/*
		 * 文字の幅ぴったりに縮めて、絵とあわせたひと組を真ん中に置く。
		 * 決め打ちの幅にすると、文字が短いときに左へ取り残されて
		 * 絵との間が大きく空いてしまう。
		 */
		width: fit-content;
		max-width: 100%;
		margin-inline: auto;
	}

	/*
	 * 折り返しの指定を戻す。
	 * overflow-wrap: anywhere が効いていると、幅を中身に合わせたときに
	 * 一文字ずつでも折り返せると見なされ、見出しが不自然に縮む。
	 * 日本語はもともとどこでも折り返せるので、これで困らない。
	 */
	.section-head--left .section-head__label,
	.section-head--left .section-head__title,
	.section-head--left .section-head__lead {
		overflow-wrap: normal;
	}

	.section-head--left .section-head__lead {
		margin-inline: 0;
	}

	.section-head--left .section-chara.on-right {
		left: auto;
		/* ぴったり0にすると、画素のまるめで数pxはみ出すことがある */
		right: 8px;
	}

	/*
	 * 絵のために空ける幅。割合ではなく実寸で指定する。
	 * padding の % は、この要素の幅ではなく外側の器の幅に対してかかるため、
	 * 割合で書くと思ったより広く空いてしまう。
	 */
	/* 卵の幅は 高さ(18vw) × 縦横比(1.303) ＝ 約23.5vw。それにすき間を足す */
	.section-head--left.has-egg {
		padding-right: clamp(349px, 23.5vw + 48px, 439px);
	}

	/* にんじんは横に広いので、ひと組の幅も空ける幅も多めに */
	/* にんじんの幅は 高さ(17.5vw) × 縦横比(1.867) ＝ 約32.7vw */
	.section-head--left.has-carrot {
		padding-right: clamp(466px, 32.7vw + 48px, 593px);
		/*
		 * 少し右へ寄せる。
		 * にんじんは右側が葉っぱで細いため、絵の重さが左に寄っている。
		 * 数字の上で真ん中に置くと、目には左へずれて見える。
		 */
		translate: clamp(24px, 2.6vw, 50px) 0;
	}

	/* 上に寄せて置く（ファシリテーションの流れなど） */
	.section-chara.is-top {
		top: 0;
		transform: rotate(var(--chara-tilt, 0deg));
	}


	/* 人物がいる見出しは、その人物の高さぶん器を確保する */
	.section-head--chara.has-ikeike {
		min-height: clamp(200px, 16.5vw, 280px);
	}

	.section-head--chara.has-bread {
		min-height: clamp(210px, 17.4vw, 296px);
	}

	.section-head--chara.has-carrot {
		min-height: clamp(210px, 17.5vw, 292px);
	}

	.section-head--chara {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}

/* --------------------------------------------------------------------------
   ポップアニメーション（飾りだけ）

   画面に入ってきたら、手前に跳ねてから収まる動き。
   印（data-hcj-pop）は JavaScript が付けるので、
   JavaScript が動かない環境では最初から表示されたままになる。

   動きは scale / translate / rotate で付ける。transform ではない。
   transform にはキャラの傾きやABOUT写真のずらしが入っているので、
   そこを書き換えると打ち消し合ってしまう。
   -------------------------------------------------------------------------- */

/* 飾り全般。ひと回り小さいところから、ぽんと手前に出て収まる */
@keyframes hcj-pop {
	0% {
		opacity: 0;
		scale: 0.68;
		translate: 0 14px;
	}

	/* 出はじめですぐ濃くする。ゆっくり薄れて出ると「動き」が見えなくなる */
	18% {
		opacity: 1;
	}

	/* 手前に行きすぎるところ。ここがポップさの山 */
	40% {
		scale: 1.1;
		translate: 0 -6px;
	}

	62% {
		scale: 0.97;
		translate: 0 2px;
	}

	82% {
		scale: 1.02;
		translate: 0 -1px;
	}

	100% {
		opacity: 1;
		scale: 1;
		translate: 0 0;
	}
}

/*
 * キャラクターは少しだけ大きく跳ねさせ、軽く首を振らせる。
 * rotate は transform とは別に動くので、
 * もとの傾き（rotate(-8deg) など）に上乗せされる。
 */
@keyframes hcj-pop-chara {
	0% {
		opacity: 0;
		scale: 0.62;
		translate: 0 18px;
		rotate: -9deg;
	}

	16% {
		opacity: 1;
	}

	40% {
		scale: 1.15;
		translate: 0 -8px;
		rotate: 5deg;
	}

	62% {
		scale: 0.96;
		translate: 0 3px;
		rotate: -2deg;
	}

	82% {
		scale: 1.03;
		translate: 0 -1px;
		rotate: 1deg;
	}

	100% {
		opacity: 1;
		scale: 1;
		translate: 0 0;
		rotate: 0deg;
	}
}

/* キービジュアルは画面いっぱいなので、寄りから収まるだけ */
@keyframes hcj-pop-hero {
	0% {
		opacity: 0;
		scale: 1.07;
	}

	18% {
		opacity: 1;
	}

	70% {
		scale: 0.996;
	}

	100% {
		opacity: 1;
		scale: 1;
	}
}

/*
 * ひと跳ねしたあと、そのまま左右にゆれ続ける（歩いているような動き）。
 *
 * 左右の傾きだけだと振り子に見えるので、まん中を通るときに
 * 少し浮かせて、体重を右足・左足へ移し替えている感じにしてある。
 *
 * rotate / translate で書くのは、置いたときの傾き（transform）を
 * 消さないため。この2つは transform とは別に重なる。
 */
@keyframes hcj-walk {
	0% {
		rotate: 0deg;
		translate: 0 0;
	}

	25% {
		rotate: -4deg;
		translate: 0 -4px;
	}

	50% {
		rotate: 0deg;
		translate: 0 0;
	}

	75% {
		rotate: 4deg;
		translate: 0 -4px;
	}

	100% {
		rotate: 0deg;
		translate: 0 0;
	}
}

/* 逆回り。となりの子とそろわないように、こちらから始める子をまぜる */
@keyframes hcj-walk-alt {
	0% {
		rotate: 0deg;
		translate: 0 0;
	}

	25% {
		rotate: 4deg;
		translate: 0 -4px;
	}

	50% {
		rotate: 0deg;
		translate: 0 0;
	}

	75% {
		rotate: -4deg;
		translate: 0 -4px;
	}

	100% {
		rotate: 0deg;
		translate: 0 0;
	}
}

/* 出番が来るまでは隠しておく */
[data-hcj-pop] {
	opacity: 0;
}

[data-hcj-pop='in'] {
	/* ease-out にすると、ひと跳ねごとに減速して跳ねた感じになる */
	animation: hcj-pop 0.4s ease-out both;
	/*
	 * 出す順の遅らせは JavaScript が --pop-delay に入れる。
	 * animation-delay を直接書きかえると、
	 * 動きを2つ重ねている子（キャラクター）の
	 * 2つめ（ゆれ）の始まりまで消してしまうため。
	 */
	animation-delay: var(--pop-delay, 0s);
}

/*
 * キャラクターは、ぽんと出たあとそのまま歩き続ける。
 * 動きを2つ重ね、うしろの「歩き」はポップが終わる 0.46 秒ちょうどから始める。
 * ゆれの型は止まった形から始まるので、つなぎ目で待ちも飛びも出ない。
 *
 * そろって動くと機械じみて見えるので、ずらしは
 * 「始まりを遅らせる」のではなく「回る向き（--walk-name）と
 * 1周の長さ（--walk-dur）を変える」ことで作る。
 * 遅らせると、そのぶん止まって見えてしまうため。
 */
.catch-chara[data-hcj-pop='in'],
.wave__chara[data-hcj-pop='in'],
.section-chara[data-hcj-pop='in'] {
	animation-name: hcj-pop-chara, var(--walk-name, hcj-walk);
	animation-duration: 0.46s, var(--walk-dur, 2.6s);
	animation-timing-function: ease-out, ease-in-out;
	animation-delay: var(--pop-delay, 0s), calc(var(--pop-delay, 0s) + 0.46s);
	animation-iteration-count: 1, infinite;
	animation-fill-mode: both, none;
}

/* 並んでいる順に、向きと速さを変える */
.catch-chara:nth-of-type(2),
.wave__chara:nth-of-type(2),
.section-chara:nth-of-type(2) {
	--walk-name: hcj-walk-alt;
	--walk-dur: 2.9s;
}

.catch-chara:nth-of-type(3),
.wave__chara:nth-of-type(3),
.section-chara:nth-of-type(3) {
	--walk-dur: 2.35s;
}

.catch-chara:nth-of-type(4),
.wave__chara:nth-of-type(4),
.section-chara:nth-of-type(4) {
	--walk-name: hcj-walk-alt;
	--walk-dur: 3.1s;
}

.wave__chara:nth-of-type(5) {
	--walk-dur: 2.5s;
}

.wave__chara:nth-of-type(6) {
	--walk-name: hcj-walk-alt;
	--walk-dur: 2.75s;
}

.hero__image[data-hcj-pop='in'] {
	animation-name: hcj-pop-hero;
	animation-duration: 0.6s;
	animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   見出しのかたまりのまわりのキャラクター

   波の上に並ぶ3〜6体（.wave__chara）と同じ考え方。
   画面が狭いうちは見出しの上に横並び、
   文字の左右に余白ができる幅からは、四隅に散らす。

   横に寄せるのは1500px以上から。
   ページによって文字の広がりが違い（個人向けは中心から390px、
   法人向けは490px）、それより狭いと文字に重なるため。

   大きさは高さで決めて、幅は絵の比率にまかせる。
   幅を決めて高さを固定すると、絵が横に伸びてしまう。
   -------------------------------------------------------------------------- */

.catch-block {
	position: relative;
}

.catch-charas {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: var(--s-5);
	margin-bottom: var(--s-6);
}

.catch-chara {
	display: block;
	width: auto;
	height: 96px;
}

/*
 * 狭い画面では1体だけにする。横に並べると小さくなって、
 * 何のキャラか分からなくなるため。
 * 人物がいるときは人物を残す（道具より目を引くので）。
 */
@media (max-width: 1499.98px) {
	/* 人物がいるときは、道具のほうを隠す */
	.catch-charas.has-person .catch-chara:not(.is-person) {
		display: none;
	}

	/* 人物が2体以上いても、先頭の1体だけ */
	.catch-charas.has-person .catch-chara.is-person ~ .catch-chara.is-person {
		display: none;
	}

	/* 人物がいないときは、先頭の1体だけ */
	.catch-charas:not(.has-person) .catch-chara ~ .catch-chara {
		display: none;
	}

	/* 1体になったぶん、少し大きく見せる */
	.catch-chara {
		height: 116px;
	}
}

@media (min-width: 1500px) {
	/*
	 * 文字の組み幅（--catch-w、ページごとに実測して渡す）の外側に置く。
	 * 器の幅を基準にすると、ページによって文字に寄りすぎる。
	 */
	.catch-charas {
		position: absolute;
		inset: 0;
		display: block;
		width: min(var(--catch-w, 800px), 100%);
		margin-inline: auto;
		margin-bottom: 0;
		pointer-events: none;
	}

	.catch-chara {
		position: absolute;
		height: var(--catch-h, clamp(180px, 14.5vw, 210px));
		width: auto;
	}

	.catch-chara.at-left-top,
	.catch-chara.at-left-bottom {
		right: 100%;
		margin-right: 16px;
	}

	.catch-chara.at-right-top,
	.catch-chara.at-right-bottom {
		left: 100%;
		margin-left: 16px;
	}

	.catch-chara.at-left-top,
	.catch-chara.at-right-top {
		/* キャラごとに下げられるようにしておく */
		top: var(--catch-top, -6px);
	}

	/* 下の2つは、かたまりの下端にそろえる。写真の上へはみ出さない */
	.catch-chara.at-left-bottom,
	.catch-chara.at-right-bottom {
		bottom: 0;
	}

	/*
	 * 高さは、幅が「文字の外側の余白」に収まるように決めてある。
	 * いちばん狭いのは法人向けで、片側200px。
	 */
	.catch-chara--pot,
	.catch-chara--pan {
		--catch-h: clamp(110px, 8.4vw, 125px);
	}

	.catch-chara--bread {
		--catch-h: clamp(190px, 15.5vw, 240px);
		--catch-top: 70px;
	}

	.catch-chara--turner {
		--catch-h: clamp(190px, 15.5vw, 230px);
	}

	.catch-chara--carrot,
	.catch-chara--egg {
		--catch-h: clamp(90px, 6.8vw, 100px);
	}

	/* 少し傾けて、置いた感じを出す */
	.catch-chara--bread {
		transform: rotate(-4deg);
	}

	.catch-chara--pot {
		transform: rotate(6deg);
	}

	.catch-chara--turner {
		transform: rotate(-8deg);
	}

	/*
	 * ピザは大きめに。
	 * 器（container）の端は少し越えるが、この節は白い面が画面の端まで
	 * 続いているので、はみ出して見えることはない。
	 * 気にするのは、文字にかぶらないことと、ページ自体がはみ出さないこと。
	 * 傾けると外枠が横に張り出すので、傾きは浅く（2度）してある。
	 */
	.catch-chara--pizza {
		--catch-h: clamp(200px, 15.5vw, 244px);
		--catch-top: 44px;
		transform: rotate(2deg);
	}

	.catch-chara--ladle {
		--catch-top: 44px;
		transform: rotate(-6deg);
	}
}

/* --------------------------------------------------------------------------
   節の見出しの動き

   キャラクターだけが動くと浮いて見えるので、節の見出しにも小さな動きを足す。
   本文やカードの文字は動かさない（読みたいものが遅れて出るのを避ける）。
   -------------------------------------------------------------------------- */

/*
 * 節の見出し（英字ラベル・タイトル・説明文）。
 * 上から順に少しずつ遅れて、下から出てくる。
 * 遅れは assets/js/main.js が並び順で付ける（0 / 50 / 100ms）。
 * 跳ねさせると読みにくいので、跳ねはなし。
 */
.section-head__label[data-hcj-pop='in'],
.section-head__title[data-hcj-pop='in'],
.section-head__lead[data-hcj-pop='in'] {
	animation: hcj-label-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: var(--pop-delay, 0s);
}

/*
 * カード。下からふわっと出す。
 * 動きは translate で付ける。transform はホバーの沈み込みが使っているので、
 * そちらを書き換えると打ち消し合ってしまう。
 * 同じ並びのカードは 50ms ずつ遅れる（assets/js/main.js）。
 */
.card[data-hcj-pop='in'] {
	animation: hcj-card-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: var(--pop-delay, 0s);
}

@keyframes hcj-card-in {
	from {
		opacity: 0;
		translate: 0 18px;
	}

	to {
		opacity: 1;
		translate: 0 0;
	}
}

@keyframes hcj-label-in {
	from {
		opacity: 0;
		translate: 0 10px;
	}

	to {
		opacity: 1;
		translate: 0 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.section-head__label[data-hcj-pop],
	.section-head__label[data-hcj-pop='in'],
	.section-head__title[data-hcj-pop],
	.section-head__title[data-hcj-pop='in'],
	.section-head__lead[data-hcj-pop],
	.section-head__lead[data-hcj-pop='in'],
	.card[data-hcj-pop],
	.card[data-hcj-pop='in'] {
		opacity: 1;
		translate: 0 0;
		animation: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	[data-hcj-pop],
	[data-hcj-pop='in'],
	.catch-chara[data-hcj-pop='in'],
	.wave__chara[data-hcj-pop='in'],
	.section-chara[data-hcj-pop='in'] {
		opacity: 1;
		rotate: 0deg;
		translate: 0 0;
		animation: none;
	}
}

/* 楽しみ方の詳細ページ：追加の見出しと本文のかたまり */
.scene-block + .scene-block {
	margin-top: var(--s-8);
}

/* レシピのラベル（クリスマス料理／監修：白井有沙 など） */
.card__tags,
.page-header__tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	list-style: none;
	padding: 0;
	margin: 0;
}

.card__tags li {
	padding: 2px var(--s-3);
	border: 1px solid var(--black);
	border-radius: var(--r-pill);
	font-size: var(--fs-small);
	line-height: 1.7;
}

.page-header__tags {
	justify-content: center;
	margin-top: var(--s-4);
}

.page-header__tags li {
	padding: 2px var(--s-4);
	border: 1px solid currentColor;
	border-radius: var(--r-pill);
	font-size: var(--fs-small);
	line-height: 1.8;
}

.cards--genre > * {
	flex-basis: calc((100% - var(--gap) * 2) / 3);
	max-width: calc((100% - var(--gap) * 2) / 3);
}

.cards--scene > *,
.cards--post > * {
	flex-basis: calc((100% - var(--gap)) / 2);
	max-width: calc((100% - var(--gap)) / 2);
}

/* 2列（560px〜） */
@media (min-width: 640px) {
	.benefits > * {
		flex-basis: calc((100% - var(--gap)) / 2);
		max-width: calc((100% - var(--gap)) / 2);
	}
}

/* 3列（1000px〜） */
@media (min-width: 1000px) {
	.cards--scene > *,
	.cards--post > *,
	.benefits > * {
		flex-basis: calc((100% - var(--gap) * 2) / 3);
		max-width: calc((100% - var(--gap) * 2) / 3);
	}
}

@media (min-width: 900px) {
	.cards--recipe-row > * {
		flex-basis: calc((100% - var(--gap) * 2) / 3);
		max-width: calc((100% - var(--gap) * 2) / 3);
	}
}

/* 4列（720px〜）：ジャンルカードは7枚なので端数行が必ず出る */
@media (min-width: 720px) {
	.cards--genre > * {
		flex-basis: calc((100% - var(--gap) * 3) / 4);
		max-width: calc((100% - var(--gap) * 3) / 4);
	}
}

.cards--genre {
	--gap: var(--s-4);
	gap: var(--s-4);
}

.cards--genre-detail > * {
	flex-basis: 100%;
	max-width: 100%;
}

@media (min-width: 720px) {
	.cards--genre-detail > * {
		flex-basis: calc((100% - var(--gap)) / 2);
		max-width: calc((100% - var(--gap)) / 2);
	}
}

@media (min-width: 1000px) {
	.cards--genre-detail > * {
		flex-basis: calc((100% - var(--gap) * 2) / 3);
		max-width: calc((100% - var(--gap) * 2) / 3);
	}
}

/* 端数行が出ないものは grid のままでよい */
.cards--plan {
	display: grid;
}

/* カード内のテキストも中央に揃える */
.card__text,
.person__text {
	text-align: center;
}

.card--genre__dishes {
	max-width: 22em;
	margin-inline: auto;
}

/* 単独カラムのときは中央、横並びになったら左揃え */
.studio {
	text-align: center;
}

@media (min-width: 800px) {
	.studio {
		text-align: left;
	}
}

/* フッターは画面幅にかかわらず左揃えでそろえる */
.footer__social,
.footer__list {
	justify-content: flex-start;
}

/* 画像はカード幅いっぱいに置く */
.card__media,
.card .thumb {
	border-radius: 0;
	width: 100%;
}

.card--row .thumb,
.card--row .media-slot {
	border-radius: var(--r-sm);
}

/* --------------------------------------------------------------------------
   26. レシピ詳細
   -------------------------------------------------------------------------- */

.spec {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s-3) var(--s-5);
}

.spec__item {
	display: grid;
	gap: var(--s-1);
	min-width: 96px;
	padding: var(--s-3) var(--s-5);
	border: var(--border);
	border-radius: var(--r);
	background: var(--yellow);
}

.spec__label {
	display: block;
	font-size: var(--fs-small);
	font-family: var(--font-jp-head);
}

.spec__value {
	display: block;
	font-family: var(--font-jp-head);
	font-size: var(--fs-h4);
	line-height: 1.3;
}

.spec__value--sm {
	font-size: var(--fs-body);
}

.callout {
	max-width: 44em;
	margin-inline: auto;
	padding: var(--s-5) var(--s-6);
	border: var(--border);
	border-radius: var(--r-lg);
	background: var(--white);
	box-shadow: var(--shadow);
}

.callout__label {
	font-family: var(--font-jp-head);
	color: var(--red);
	font-size: var(--fs-small);
	margin-bottom: var(--s-2);
}

.callout__text {
	line-height: 1.75;
}

.recipe-body {
	display: grid;
	gap: var(--s-8);
	max-width: 44em;
	margin-inline: auto;
}

.recipe-block__title {
	font-size: var(--fs-h2);
	color: var(--red);
	margin-bottom: var(--s-5);
}

.recipe-group + .recipe-group {
	margin-top: var(--s-6);
}

.recipe-group__title {
	display: inline-block;
	padding: var(--s-1) var(--s-5);
	border-radius: var(--r-pill);
	background: var(--yellow);
	border: var(--border);
	font-size: var(--fs-small);
	margin-bottom: var(--s-4);
}

.recipe-list {
	display: grid;
	gap: var(--s-2);
	max-width: 30em;
	margin-inline: auto;
	text-align: left;
}

.recipe-list li {
	display: grid;
	grid-template-columns: 12px 1fr;
	gap: var(--s-3);
	align-items: baseline;
	padding-bottom: var(--s-2);
	border-bottom: 1px dotted var(--black);
	font-size: var(--fs-small);
	line-height: 1.8;
}

.recipe-list li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--red);
}

.recipe-steps {
	counter-reset: step;
	display: grid;
	gap: var(--s-4);
	max-width: 34em;
	margin-inline: auto;
	text-align: left;
}

.recipe-steps li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 32px 1fr;
	gap: var(--s-4);
	align-items: start;
	font-size: var(--fs-small);
	line-height: 1.75;
}

.recipe-steps li::before {
	content: counter(step);
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--red);
	color: var(--white);
	font-family: var(--font-jp-head);
	font-size: 14px;
}

/* --------------------------------------------------------------------------
   27. お客様の声
   -------------------------------------------------------------------------- */

.quote {
	max-width: 44em;
	margin-inline: auto;
	padding: var(--s-7) var(--s-6) var(--s-6);
	border: var(--border);
	border-radius: var(--r-lg);
	background: var(--yellow);
	position: relative;
}

.quote::before {
	content: "“";
	position: absolute;
	top: -6px;
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--font-accent);
	font-size: 72px;
	line-height: 1;
	color: var(--red);
}

.quote__text {
	margin: 0;
	font-family: var(--font-jp-head);
	font-size: var(--fs-h4);
	line-height: 1.8;
}

.quote__cite {
	margin-top: var(--s-4);
	font-size: var(--fs-small);
}

/* --------------------------------------------------------------------------
   28. 黄色面での調整
   -------------------------------------------------------------------------- */

/* 黄色の上では、赤の細字より黒のほうが読みやすい */
.section--yellow .media-slot__hint {
	color: var(--black);
}

.section--yellow .card--plan__spec,
.section--yellow .condition__row + .condition__row {
	border-color: var(--black);
}

/* ジャンルカードに写真が入ったときのレイアウト */
/* 英語表記をやめたぶん、写真と文字の間・下の余白も詰めてある */
.card--genre .card__link {
	padding: 0 0 var(--s-3);
	gap: 0;
}

.card--genre__media {
	border-radius: 0;
	margin-bottom: var(--s-3);
	width: 100%;
}

.card--genre__name,
.card--genre__dishes,
.card--genre__arrow {
	padding-inline: var(--s-4);
}

.card--genre__arrow {
	display: block;
	margin-top: var(--s-3);
}

/* --------------------------------------------------------------------------
   29. ヘッダーの取りこぼし修正

   .nav-toggle の定義がブレイクポイントの指定より後ろに来ていたため、
   デスクトップ幅でもハンバーガーが出てしまっていた。ここで打ち消す。
   -------------------------------------------------------------------------- */

@media (min-width: 1100px) {
	.nav-toggle {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   30. ヘッダーのお問い合わせボタン（ホバーで行き先が開く）

   サイト内の問い合わせ導線はこの赤ボタン1つに集約する。
   -------------------------------------------------------------------------- */

.contact-menu {
	position: relative;
}

.contact-menu__trigger {
	min-height: 48px;
	padding-inline: var(--s-5);
	font-size: var(--fs-small);
}

.contact-menu__list {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 20;
	min-width: 280px;
	padding: var(--s-3);
	background: var(--white);
	border: var(--border);
	border-radius: var(--r);
	box-shadow: var(--shadow);
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

/* ボタンとリストの間の隙間でホバーが切れないよう橋を渡す */
.contact-menu__list::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -14px;
	height: 14px;
}

.contact-menu:hover .contact-menu__list,
.contact-menu:focus-within .contact-menu__list,
.contact-menu__trigger[aria-expanded="true"] + .contact-menu__list {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.contact-menu__list a {
	display: grid;
	gap: 2px;
	padding: var(--s-3) var(--s-4);
	border-radius: var(--r-sm);
	text-decoration: none;
}

.contact-menu__list a:hover,
.contact-menu__list a:focus-visible {
	background: var(--yellow);
}

.contact-menu__label {
	font-family: var(--font-jp-head);
	font-size: var(--fs-body);
	line-height: 1.4;
}

.contact-menu__note {
	font-size: var(--fs-small);
	line-height: 1.5;
	opacity: 0.7;
}

/* --------------------------------------------------------------------------
   31. 下層見出しの2段組み

   「お料理ファシリテーション ｜ つくる × 食べる ＝ チームの輪」のように
   ｜ 以降はキャッチコピー。h1には残したまま、行と文字サイズを分ける。
   -------------------------------------------------------------------------- */

.page-header__title-main {
	display: block;
}

.page-header__title-sub {
	display: block;
	margin-top: var(--s-4);
	font-size: var(--fs-h4);
	line-height: 1.6;
	letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   32. ファーストビューを詰める

   パンくずは左端へ寄せ、下層ページのキャッチが最初の画面に入るようにする。
   -------------------------------------------------------------------------- */

.page-header {
	padding-block: clamp(36px, 3.5vw, 56px) clamp(52px, 5vw, 80px);
}

.breadcrumb {
	padding-block: var(--s-3);
	text-align: left;
}

.breadcrumb__list {
	justify-content: flex-start;
}

/* パンくず直後のセクションは上の余白を詰める */
.breadcrumb + .section,
.breadcrumb + .wave + .section {
	padding-top: var(--s-6);
}

.breadcrumb + .section .section-head,
.breadcrumb + .section > .container > .container--narrow > .catch:first-child {
	margin-top: 0;
}

/* 過去のイベントカード */
.card--past__media {
	position: relative;
}

.card--past__status {
	position: absolute;
	top: var(--s-3);
	left: var(--s-3);
	padding: var(--s-1) var(--s-4);
	border-radius: var(--r-pill);
	border: var(--border);
	background: var(--black);
	color: var(--white);
	font-family: var(--font-jp-head);
	font-size: var(--fs-small);
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   33. お問い合わせフォーム
   -------------------------------------------------------------------------- */

.form {
	text-align: left;
	max-width: 44em;
	margin-inline: auto;
}

.form__trap {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.form__grid {
	display: grid;
	gap: var(--s-5);
	grid-template-columns: 1fr;
}

@media (min-width: 720px) {
	.form__grid {
		grid-template-columns: 1fr 1fr;
	}

	.form__row--full {
		grid-column: 1 / -1;
	}
}

.form__label {
	display: flex;
	align-items: center;
	gap: var(--s-3);
	font-family: var(--font-jp-head);
	font-size: var(--fs-small);
	margin-bottom: var(--s-2);
}

.form__required {
	display: inline-block;
	padding: 2px var(--s-3);
	border-radius: var(--r-pill);
	background: var(--red);
	color: var(--white);
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: 0.06em;
}

.form__input-wrap {
	display: flex;
	align-items: center;
	gap: var(--s-3);
}

.form__input {
	width: 100%;
	min-height: 56px;
	padding: var(--s-3) var(--s-4);
	border: var(--border);
	border-radius: var(--r-sm);
	background: var(--white);
	font: inherit;
	font-size: var(--fs-body);
	color: var(--black);
}

textarea.form__input {
	min-height: 0;
	line-height: 1.8;
	resize: vertical;
}

select.form__input {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--black) 50%),
		linear-gradient(135deg, var(--black) 50%, transparent 50%);
	background-position: calc(100% - 20px) center, calc(100% - 14px) center;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: var(--s-8);
}

.form__input::placeholder {
	color: var(--black);
	opacity: 0.35;
}

.form__input:focus {
	outline: 3px solid var(--black);
	outline-offset: 2px;
}

.form__suffix {
	flex: none;
	font-family: var(--font-jp-head);
	font-size: var(--fs-small);
}

.form__desc {
	margin-top: var(--s-2);
	font-size: var(--fs-small);
	opacity: 0.7;
}

.form__error {
	margin-top: var(--s-2);
	font-size: var(--fs-small);
	font-family: var(--font-jp-head);
	color: var(--red);
}

.form__row.is-invalid .form__input,
.form__consent.is-invalid {
	border-color: var(--red);
	box-shadow: 0 0 0 2px var(--red);
	border-radius: var(--r-sm);
}

.form__check {
	display: flex;
	align-items: flex-start;
	gap: var(--s-3);
	font-size: var(--fs-small);
	line-height: 1.8;
	cursor: pointer;
}

.form__check input {
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 4px;
	accent-color: var(--red);
}

.form__consent {
	margin-top: var(--s-7);
	padding: var(--s-5);
	border: var(--border);
	border-radius: var(--r);
	background: var(--yellow);
}

.form-errors {
	max-width: 44em;
	margin: 0 auto var(--s-7);
	padding: var(--s-5) var(--s-6);
	border: var(--border);
	border-radius: var(--r);
	background: var(--white);
	box-shadow: var(--shadow);
	text-align: left;
}

.form-errors__title {
	font-family: var(--font-jp-head);
	color: var(--red);
	margin-bottom: var(--s-3);
}

.form-errors__list {
	display: grid;
	gap: var(--s-2);
	font-size: var(--fs-small);
	list-style: disc;
	padding-left: 1.4em;
}

.form-done {
	max-width: 40em;
	margin-inline: auto;
	padding: var(--s-8) var(--s-6);
	border: var(--border);
	border-radius: var(--r-lg);
	background: var(--yellow);
	box-shadow: var(--shadow);
	display: grid;
	gap: var(--s-5);
}

.form-done__title {
	font-family: var(--font-jp-head);
	font-size: var(--fs-h3);
}

.form-done__text {
	font-size: var(--fs-small);
	line-height: 1.75;
}

.form-done__tel a {
	font-family: var(--font-jp-head);
	font-size: var(--fs-h3);
	text-decoration: none;
	border-bottom: 3px solid var(--red);
}

/* フォームの細部 */
.form__required {
	font-size: var(--fs-small);
	padding: 2px var(--s-3);
}

/* 「名」などの単位が枠からはみ出さないようにする */
.form__input-wrap .form__input {
	width: auto;
	flex: 1 1 auto;
	min-width: 0;
}

/* --------------------------------------------------------------------------
   34. ウェイトの調整（M PLUS 2 への差し替えに伴う）
   -------------------------------------------------------------------------- */

/* キャッチは p に付くこともあるので、見出し以外でも太さを揃える */
.catch {
	font-weight: 800;
}

/* 本文が 500 になったぶん、強調は 700 でしっかり差を付ける */
strong,
b {
	font-weight: 700;
}

/* Dela を使う数字まわりは、隣の記号や単位も同じ書体で揃える */
.card--plan__yen,
.price-from .card--plan__yen {
	font-family: var(--font-num);
	font-weight: 400;
}

.flow__num,
.recipe-steps li::before,
.card--genre__dishes li::before {
	font-family: var(--font-num);
	font-weight: 400;
}

/* --------------------------------------------------------------------------
   35. TOPの導入ブロック

   中央揃え。ただし版面を広めに取って1行を長くし、
   縦に伸びてスクロールが長くなるのを避ける。
   -------------------------------------------------------------------------- */

.intro {
	position: relative;
	max-width: none;
	margin-inline: auto;
	text-align: center;
}

.intro__label {
	font-family: var(--font-en-head);
	font-size: var(--fs-label);
	letter-spacing: 0.14em;
	color: var(--red);
	margin-bottom: var(--s-3);
}

.intro__title {
	font-size: var(--fs-display);
	line-height: 1.4;
}

.intro__body {
	margin-top: var(--s-7);
	line-height: 1.8;
}

.intro__body > * + * {
	margin-top: 1.9em;
}

.intro__close {
	font-family: var(--font-jp-head);
	font-weight: 800;
	font-size: var(--fs-h3);
	line-height: 1.6;
	color: var(--red);
}

.intro__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s-4);
	margin-top: var(--s-7);
}

/* --------------------------------------------------------------------------
   36. 横スクロールの修正

   .page-header__arc / .hero__arc は左右に6%はみ出させて円弧を作っている。
   .hero は overflow:hidden で収まっていたが、.page-header は素通しで
   狭い画面（375px）で7pxの横スクロールが出ていた。

   overflow-x: clip なら、横のはみ出しだけ切って、
   円弧が下に2px潜り込む縦方向のはみ出しはそのまま残せる。
   -------------------------------------------------------------------------- */

.page-header {
	overflow-x: clip;
}

/* 版面より外に出る装飾が増えても横スクロールが出ないようにする保険 */
body {
	overflow-x: clip;
}

/* --------------------------------------------------------------------------
   37. 円弧のディバイダ

   背景色の境目が直線ばかりにならないよう、
   波（.wave）／正円3つ（.section__scallop）／円弧（.wave--arc）を使い分ける。
   -------------------------------------------------------------------------- */

.wave--arc svg {
	height: clamp(48px, 6vw, 110px);
}
/* --------------------------------------------------------------------------
   38. スカラップの分の場所を確保する

   スカラップは幅/12の高さを持ち、セクションの上にはみ出して描かれる。
   そのままだと前のセクションの中身を覆ってしまうので、場所を空ける。

   前がセクションなら「前のセクションの下余白」で稼ぐ。
   こうするとスカラップの谷（切り抜かれた部分）に前のセクションの地色が
   そのまま続き、白い帯が挟まらない。

   % の余白は「包含ブロックの幅」に対して解決されるので、
   calc(100% / 12) がそのままスカラップの高さになる。
   -------------------------------------------------------------------------- */

.section:has(> .section__scallop) {
	margin-top: calc(100% / 17);
}

/* 前がセクションのときは、その下余白で稼ぐ（地色が続く） */
.section:has(+ .section > .section__scallop) {
	padding-bottom: calc(var(--section-y) + 100% / 17);
}

.section + .section:has(> .section__scallop) {
	margin-top: 0;
}

/* :has() が使えない環境では重なりを避けるため、スカラップを控えめな高さにする */
@supports not selector(:has(*)) {
	.section__scallop {
		aspect-ratio: auto;
		height: clamp(28px, 3.4vw, 60px);
	}
}

.page-header--arc-yellow .page-header__arc {
	background: var(--yellow);
}

.breadcrumb--yellow {
	background: var(--yellow);
}

/* --------------------------------------------------------------------------
   40. TOPの入口（法人向け／個人向けの横並び）

   縦に積むと片方が長くなって比べにくいので、PCでは2カラムで並べる。
   -------------------------------------------------------------------------- */

.paths {
	display: grid;
	gap: var(--s-8) var(--gap);
	grid-template-columns: 1fr;
}

@media (min-width: 900px) {
	.paths {
		grid-template-columns: 1fr 1fr;
	}
}

.path {
	display: grid;
	/* ボタンを下端で揃えるため、テキストの下を伸ばす */
	grid-template-rows: auto auto auto auto 1fr auto;
	gap: var(--s-4);
}

.path__label {
	font-family: var(--font-en-head);
	font-size: var(--fs-label);
	letter-spacing: 0.14em;
	color: var(--red);
}

.path__title {
	font-size: var(--fs-h2);
}

.path__media {
	border-radius: var(--r-lg);
	border: var(--border);
	overflow: hidden;
	margin-block: var(--s-2);
}

.path__catch {
	font-family: var(--font-jp-head);
	font-weight: 800;
	font-size: var(--fs-h3);
	line-height: 1.5;
	color: var(--red);
}

.path__text {
	line-height: 1.8;
}

.path__actions {
	display: flex;
	justify-content: center;
	align-self: end;
}
/* --------------------------------------------------------------------------
   41. ABOUTの導入（写真5枚をジグザグに、間にコピー）

   上に1枚、左右に大小2枚ずつ。大きさと高さをずらして、
   整列させずに散らす（参考：beardpapa.jp）。
   -------------------------------------------------------------------------- */

.about-hero {
	display: grid;
	gap: var(--gap);
	grid-template-columns: 1fr 1fr;
	grid-template-areas:
		"body body"
		"left right";
}

.about-hero__body {
	grid-area: body;
}

.about-hero__side {
	display: grid;
	gap: var(--s-6);
	align-content: start;
}

.about-hero__side--left {
	grid-area: left;
}

.about-hero__side--right {
	grid-area: right;
}

.about-hero__pic {
	border-radius: var(--r-lg);
	border: var(--border);
}

.about-hero__pic--lg {
	width: 100%;
}

/* 小さい方を片側に寄せて、上下でジグザグにする */
.about-hero__pic--sm {
	width: 74%;
}

.about-hero__side--left .about-hero__pic--sm {
	margin-left: auto;
}

.about-hero__side--right .about-hero__pic--sm {
	margin-right: auto;
}

@media (min-width: 1000px) {
	.about-hero {
		grid-template-columns: minmax(190px, 1fr) minmax(0, 2.4fr) minmax(190px, 1fr);
		grid-template-areas:
			"left body right";
		gap: var(--s-7);
		align-items: start;
	}

	/* 左右で高さをずらす */
	.about-hero__side--left {
		transform: translateY(28px);
	}

	.about-hero__side--right {
		transform: translateY(-20px);
	}

	.about-hero__body {
		padding-top: var(--s-6);
	}
}

/* --------------------------------------------------------------------------
   42. 区切りの形の使い分け

   スカラップ（半円の連なり）は主張が強いので、使いどころを絞る。
   既定は大きな円弧ひとつ（--arc）にして、スカラップは見せ場だけに使う。
   -------------------------------------------------------------------------- */

.section__scallop--arc {
	/* 幅いっぱいの円弧ひとつ */
	--scallop-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 1' preserveAspectRatio='none'%3E%3Cpath d='M0,1 C4,-0.35 8,-0.35 12,1 Z' fill='%23fff'/%3E%3C/svg%3E");
	aspect-ratio: 14 / 1;
}

.section:has(> .section__scallop--arc) {
	margin-top: calc(100% / 14);
}

.section:has(+ .section > .section__scallop--arc) {
	padding-bottom: calc(var(--section-y) + 100% / 14);
}

/* ヘッダーのナビは少し太く */
.nav__list > .menu-item > a,
.drawer .menu-item > a {
	font-weight: 700;
}


/* 大きい写真だけ外側へ「ずらす」。大きさは変えない */
@media (min-width: 1000px) {
	.about-hero__side--left .about-hero__pic--lg {
		transform: translateX(-40px);
	}

	.about-hero__side--right .about-hero__pic--lg {
		transform: translateX(40px);
	}
}

.footer__policy a {
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

/* --------------------------------------------------------------------------
   43. お客様の声：管理画面で足した「見出し＋本文」
   -------------------------------------------------------------------------- */

/*
 * お客様の声の記事。
 * 見出しは中央、本文は左揃えの箱にする。
 * サイト全体は中央揃えだが、1文ずつ中央に並ぶと目が左右に振られて読めない。
 */
.voice-sections {
	display: grid;
	gap: var(--s-8);
	/* ふつうの記事サイトと同じくらいの幅。細すぎると折り返しが多くなる */
	max-width: 46em;
	margin-inline: auto;
}

.voice-section__title {
	font-size: var(--fs-h3);
	color: var(--red);
	margin-bottom: var(--s-5);
}

.voice-section__photo {
	margin-bottom: var(--s-6);
}

.voice-section__body {
	text-align: left;
	line-height: 1.75;
}

/*
 * 段落の間。
 * 原稿を段落ごとにまとめたときに、ひとつづきに見えない広さにしておく。
 * 旧サイトから移した原稿は1文ごとに空行が入っていて、
 * その状態だとやや空いて見えるが、原稿側を直せば落ち着く。
 */
.voice-section__body p + p {
	margin-top: 0.9em;
}
