/* ==========================================================================
   食の道場LABO 商品開発事業部 — main.css
   Figma: PC 64:1281 (1440px) / Mobile 353:2 (390px)

   Base styles  = Mobile design (〜767px)
   min-width 768 = PC design（768〜1023px はタブレット向けに調整）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
	--c-ink: #171717;
	--c-black: #000;
	--c-white: #fff;
	--c-red: #c8102e;
	--c-red-deep: #b20d1f;
	--c-gold: #af860a;
	--c-gold-soft: #b8963e;
	--c-ivory: #fcfbf8;
	--c-beige: #f1ece5;
	--c-sand: #d4c1a0;
	--c-brown: #2a2420;
	--c-brown-dark: #382e26;
	--c-footer: #1a1a1a;

	--c-text: #686868;
	--c-text-lead: #646464;
	--c-text-sub: #6b6b6b;
	--c-text-soft: #737373;
	--c-text-muted: #8a8a8a;
	--c-text-footer: #a3a3a3;

	--c-border: #e8e3dc;
	--c-border-cool: #e6e4df;
	--c-divider: #dadad6;

	--font-base: "Inter", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

	--content: 1280px;
	--content-narrow: 960px;
	--gutter: 20px;
	--header-h: 68px;

	/* Figma "Auto" line-height for Inter */
	--lh-auto: 1.21;
}

@media (min-width: 768px) {
	:root {
		--gutter: clamp(40px, 5.556vw, 80px);
		--header-h: 96px;
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

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

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	font-family: var(--font-base);
	font-size: 16px;
	line-height: 1.6;
	color: var(--c-ink);
	background: var(--c-white);
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.is-nav-open {
	overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
	margin: 0;
}

h1,
h2,
h3,
h4 {
	font-size: inherit;
	font-weight: inherit;
}

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

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

a {
	color: inherit;
	text-decoration: none;
}

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

small {
	font-size: inherit;
}

:focus-visible {
	outline: 2px solid var(--c-red);
	outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
br.u-pc {
	display: none;
}

@media (max-width: 767px) {
	.u-nowrap {
		white-space: nowrap;
	}
}

@media (min-width: 768px) {
	br.u-pc {
		display: inline;
	}

	br.u-sp {
		display: none;
	}
}

.u-visually-hidden,
.u-visually-hidden-focusable:not(:focus):not(:focus-within) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.c-skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 700;
	background: var(--c-white);
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

/* Mobile: avoid breaking Japanese words mid-phrase.
   Explicit breaks use <br class="u-sp">; auto-phrase (Chromium) refines the rest. */
@media (max-width: 767px) {
	.l-main :is(h1, h2, h3, h4, p, dd) {
		line-break: strict;
		word-break: auto-phrase;
		text-wrap: pretty;
	}
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.l-inner {
	width: min(100% - var(--gutter) * 2, var(--content));
	margin-inline: auto;
}

.l-inner--narrow {
	width: min(100% - var(--gutter) * 2, var(--content-narrow));
}

/* --------------------------------------------------------------------------
   5. Components
   -------------------------------------------------------------------------- */

/* Section heading ---------------------------------------------------------
   Mobile: children join the section's flex gap (display: contents). */
.c-sec-head {
	display: contents;
}

.c-sec-head__en {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 1.5px;
	color: var(--c-red);
	text-transform: uppercase;
}

.c-sec-head__title {
	font-size: 30px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--c-ink);
}

.c-sec-head__lead {
	font-size: 15px;
	line-height: 1.75;
	color: var(--c-text);
}

.c-accent-line {
	display: none;
}

@media (min-width: 768px) {
	.c-sec-head {
		display: flex;
		flex-direction: column;
		gap: 18px;
		align-items: flex-start;
	}

	.c-sec-head__en {
		font-size: 16px;
		line-height: var(--lh-auto);
		letter-spacing: 0;
	}

	.c-sec-head__title {
		font-size: clamp(40px, 3.889vw, 56px);
		line-height: 1.1;
	}

	.c-sec-head__lead {
		font-size: clamp(18px, 1.528vw, 22px);
		font-weight: 500;
		line-height: 1.45;
		color: var(--c-text-lead);
	}

	/* 48px title variant (FAQ / COMPANY) */
	.c-sec-head--md {
		gap: 16px;
	}

	.c-sec-head--md .c-sec-head__title {
		font-size: clamp(36px, 3.333vw, 48px);
		line-height: 1.15;
	}

	/* Accent-line variant (PROCESS / BUSINESS / NETWORK) */
	.c-sec-head--line {
		gap: 20px;
	}

	.c-sec-head--line .c-sec-head__en {
		font-size: 14px;
	}

	.c-sec-head--line .c-sec-head__title {
		font-size: clamp(32px, 2.778vw, 40px);
		line-height: 1.15;
	}

	.c-sec-head--line .c-sec-head__lead {
		font-size: 18px;
		line-height: 1.8;
		color: var(--c-text-sub);
	}

	.c-accent-line {
		display: block;
		width: 72px;
		height: 4px;
		background: var(--c-red);
		border-radius: 999px;
	}

	/* Centered variant (YOUR CHALLENGES) */
	.c-sec-head--center {
		gap: 16px;
		align-items: stretch;
		text-align: center;
	}

	.c-sec-head--center .c-sec-head__en {
		color: var(--c-black);
	}

	.c-sec-head--center .c-sec-head__title {
		font-size: clamp(36px, 3.333vw, 48px);
		line-height: 1.15;
		color: var(--c-red);
	}

	/* On dark background (RESULTS) */
	.c-sec-head--light .c-sec-head__title {
		color: #f7f2eb;
	}

	.c-sec-head--light .c-sec-head__lead {
		color: var(--c-white);
	}
}

/* Buttons ---------------------------------------------------------------- */
.c-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	transition: opacity 0.2s ease;
}

.c-btn:hover {
	opacity: 0.85;
}

.c-btn--primary {
	color: var(--c-white);
	background: var(--c-red);
}

.c-text-link {
	font-weight: 700;
	color: var(--c-red);
}

/* Brand ------------------------------------------------------------------- */
.c-brand {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.c-brand__mark {
	display: block;
	flex: none;
	width: 35.35px;
	height: 36px;
	object-fit: contain;
}

.c-brand__text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	line-height: 1.1;
}

.c-brand__name {
	font-size: 16px;
	font-weight: 700;
	color: var(--c-ink);
}

.c-brand__sub {
	font-size: 9px;
	color: var(--c-text);
}

/* --------------------------------------------------------------------------
   6. Header / Global navigation
   -------------------------------------------------------------------------- */
.l-header {
	position: relative;
	z-index: 100;
	background: var(--c-white);
}

.l-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	padding: 0 20px;
}

.l-header__toggle {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-right: -2px;
	border-radius: 50%;
}

.l-header__toggle-icon {
	position: relative;
	display: block;
	width: 40px;
	height: 40px;
	background: var(--c-ink);
	border-radius: 50%;
}

.l-header__toggle-icon span,
.l-header__toggle-icon::before,
.l-header__toggle-icon::after {
	position: absolute;
	left: 11px;
	width: 18px;
	height: 2px;
	background: var(--c-white);
	border-radius: 1px;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.l-header__toggle-icon::before,
.l-header__toggle-icon::after {
	content: "";
}

.l-header__toggle-icon::before {
	top: 12px;
}

.l-header__toggle-icon span {
	top: 19px;
}

.l-header__toggle-icon::after {
	top: 26px;
}

.l-header__toggle[aria-expanded="true"] .l-header__toggle-icon::before {
	transform: translateY(7px) rotate(45deg);
}

.l-header__toggle[aria-expanded="true"] .l-header__toggle-icon span {
	opacity: 0;
}

.l-header__toggle[aria-expanded="true"] .l-header__toggle-icon::after {
	transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer (no Figma frame: minimal panel using design tokens) */
.l-gnav {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	display: none;
	max-height: calc(100vh - var(--header-h));
	max-height: calc(100dvh - var(--header-h));
	overflow-y: auto;
	background: var(--c-white);
	border-top: 1px solid var(--c-border);
	/* Dim the page behind the drawer. */
	box-shadow: 0 16px 24px rgba(0, 0, 0, 0.08), 0 100vh 0 100vh rgba(23, 23, 23, 0.4);
}

.l-header.is-open .l-gnav {
	display: block;
}

.l-gnav__list {
	padding: 4px 20px 24px;
}

.l-gnav__list a {
	display: flex;
	align-items: center;
	min-height: 56px;
	font-size: 16px;
	font-weight: 700;
	border-bottom: 1px solid var(--c-border);
}

@media (min-width: 768px) {
	.l-header__inner {
		max-width: 1440px;
		margin-inline: auto;
		padding: 0 clamp(20px, 2.778vw, 40px) 0 var(--gutter);
	}

	.c-brand__mark {
		display: block;
	}

	.l-header .c-brand__name {
		font-size: 18px;
		letter-spacing: 2px;
		line-height: var(--lh-auto);
	}

	.l-header .c-brand__sub {
		font-size: 10px;
		line-height: var(--lh-auto);
		color: var(--c-text-lead);
	}

	.l-header__toggle {
		display: none;
	}

	.l-gnav {
		position: static;
		display: block;
		max-height: none;
		overflow: visible;
		background: none;
		border: 0;
		box-shadow: none;
	}

	.l-gnav__list {
		display: flex;
		gap: 16px;
		padding: 0;
	}

	.l-gnav__list a {
		min-height: 44px;
		font-size: 16px;
		font-weight: 400;
		border: 0;
		transition: color 0.2s ease;
	}

	.l-gnav__list a:hover {
		color: var(--c-red);
	}
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.p-hero {
	background: var(--c-ivory);
}

.p-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 44px 20px 40px;
}

.p-hero__copy {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

/* Mobile: CTA sits below the product visual. */
@media (max-width: 767px) {
	.p-hero__copy {
		display: contents;
	}

	.p-hero__visual {
		order: 1;
	}

	.p-hero__cta {
		order: 2;
	}
}

.p-hero__eyebrow {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 1.5px;
	color: var(--c-red);
}

.p-hero__title {
	/* 44px (Figma) — shrinks slightly so "売れるところまで" stays on one line. */
	font-size: min(44px, calc((100vw - 40px) / 8.1));
	font-weight: 900;
	line-height: 1.08;
}

.p-hero__lead {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.4;
}

.p-hero__badges {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.p-hero__badge {
	display: flex;
	flex: 1 1 0;
	min-width: 0;
	padding: 14px clamp(10px, 3.4vw, 14px);
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 12px;
}

.p-hero__badge-icon {
	display: none;
}

.p-hero__badge-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.p-hero__badge-value {
	font-size: min(22px, 4.8vw);
	font-weight: 900;
	line-height: 1.05;
	color: var(--c-red);
	white-space: nowrap;
}

.p-hero__badge-label {
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--c-text);
}

.p-hero__cta {
	width: 100%;
	height: 54px;
	font-size: 15px;
	border-radius: 999px;
}

.p-hero__visual {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.p-hero__image {
	width: 100%;
	aspect-ratio: 350 / 250;
	object-fit: contain;
	border-radius: 18px;
}

.p-hero__note {
	font-size: 10px;
	line-height: 1.2;
	color: var(--c-text);
	text-align: right;
}

@media (min-width: 768px) {
	.p-hero {
		overflow: hidden;
		background: var(--c-white);
	}

	.p-hero__inner {
		position: relative;
		max-width: 1440px;
		margin-inline: auto;
		padding: 48px var(--gutter) 64px;
	}

	.p-hero__copy {
		gap: 25px;
		align-items: flex-start;
	}

	.p-hero__eyebrow {
		font-size: 16px;
		line-height: var(--lh-auto);
		letter-spacing: 0;
	}

	.p-hero__title {
		font-size: clamp(52px, 5vw, 72px);
		line-height: 1.1;
	}

	.p-hero__lead {
		font-size: 18px;
		font-weight: 400;
		line-height: var(--lh-auto);
	}

	.p-hero__badges {
		flex-wrap: wrap;
		gap: 16px;
	}

	.p-hero__badge {
		flex: none;
		gap: 14px;
		align-items: center;
		padding: 16px 24px 16px 20px;
		border: 0;
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	}

	.p-hero__badge-icon {
		display: grid;
		flex: none;
		place-items: center;
		width: 40px;
		height: 40px;
		background: var(--c-red);
		border-radius: 999px;
	}

	.p-hero__badge-text {
		gap: 2px;
		line-height: var(--lh-auto);
	}

	.p-hero__badge-value {
		line-height: var(--lh-auto);
	}

	.p-hero__badge-label {
		font-size: 16px;
		font-weight: 800;
		line-height: var(--lh-auto);
		letter-spacing: 0.5px;
		color: var(--c-ink);
	}

	.p-hero__cta {
		width: auto;
		height: 56px;
		padding: 0 48px;
		font-size: 16px;
		line-height: var(--lh-auto);
		border-radius: 8px;
	}

	.p-hero__visual {
		gap: 12px;
	}

	.p-hero__image {
		aspect-ratio: 1228 / 726;
		border-radius: 12px;
	}

	.p-hero__note {
		font-size: 12px;
		line-height: var(--lh-auto);
		color: #666;
	}
}

/* Desktop: copy overlaps the product visual (Figma 1440 layout). */
@media (min-width: 1024px) {
	.p-hero__inner {
		display: block;
		min-height: min(804px, 55.833vw);
		padding: 86px var(--gutter) 48px;
	}

	.p-hero__copy {
		position: relative;
		z-index: 1;
		width: min(656px, 45.56vw);
	}

	.p-hero__visual {
		position: absolute;
		top: 17px;
		left: 24.514%;
		width: 85.278%;
		display: block;
	}

	.p-hero__note {
		position: absolute;
		top: 95.73%;
		right: 13.1%;
		white-space: nowrap;
	}
}

/* Small desktop: keep the product visual clear of the copy block. */
@media (min-width: 1024px) and (max-width: 1279px) {
	.p-hero__visual {
		left: 34%;
		width: 76%;
	}
}

/* --------------------------------------------------------------------------
   8. Intro wrapper: YOUR CHALLENGES + Bridge (shared kitchen photo on PC)
   -------------------------------------------------------------------------- */
.p-intro {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

@media (min-width: 768px) {
	.p-intro::before {
		position: absolute;
		top: 7px;
		bottom: -7px;
		left: 50%;
		z-index: -1;
		width: 124.45%;
		content: "";
		background:
			linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
			url("../images/bg-kitchen.webp") center / cover no-repeat;
		filter: blur(5px);
		transform: translateX(-50%);
	}
}

/* --------------------------------------------------------------------------
   9. YOUR CHALLENGES
   -------------------------------------------------------------------------- */
.p-challenges {
	padding: 80px 0;
	background: var(--c-white);
}

.p-challenges > .l-inner {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.p-challenges .c-sec-head__en {
	line-height: 1.2;
}

.p-challenges__list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.p-challenges__card {
	padding: 18px;
	background: var(--c-ivory);
	border: 1px solid var(--c-border);
	border-radius: 14px;
}

.p-challenges__icon {
	display: none;
}

.p-challenges__body {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.p-challenges__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.p-challenges__text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--c-text);
}

@media (min-width: 768px) {
	.p-challenges {
		padding: 112px 0 72px;
		background: linear-gradient(
			180deg,
			#fff 0%,
			#fff 8%,
			rgba(255, 255, 255, 0.9) 20%,
			rgba(255, 255, 255, 0.7) 40%,
			rgba(255, 255, 255, 0.5) 60%,
			rgba(255, 255, 255, 0.3) 80%,
			rgba(255, 255, 255, 0) 100%
		);
	}

	.p-challenges > .l-inner {
		gap: 48px;
	}

	.p-challenges .c-sec-head__en {
		line-height: var(--lh-auto);
	}

	.p-challenges__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.p-challenges__card {
		display: flex;
		gap: 20px;
		align-items: center;
		min-height: 164px;
		padding: 32px;
		background: var(--c-white);
		border: 0;
		border-radius: 12px;
		box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	}

	.p-challenges__icon {
		display: grid;
		flex: none;
		place-items: center;
		width: 88px;
		height: 88px;
		background: #fff1f1;
		border-radius: 18px;
	}

	.p-challenges__body {
		flex: 1 1 0;
		gap: 16px;
		min-width: 0;
	}

	.p-challenges__title {
		font-size: 21px;
		line-height: 1.5;
	}

	.p-challenges__text {
		font-size: 16px;
		color: var(--c-text-soft);
	}
}

@media (min-width: 768px) and (max-width: 1279px) {
	.p-challenges__card {
		gap: 16px;
		padding: 24px;
	}

	.p-challenges__icon {
		width: 64px;
		height: 64px;
		border-radius: 14px;
	}

	.p-challenges__icon img {
		width: 36px;
		height: 36px;
	}
}

@media (min-width: 1280px) {
	.p-challenges__list {
		grid-template-columns: repeat(3, minmax(0, 405px));
	}
}

/* --------------------------------------------------------------------------
   10. Bridge
   -------------------------------------------------------------------------- */
.p-bridge {
	position: relative;
	color: var(--c-white);
	text-align: center;
	background:
		linear-gradient(rgba(42, 36, 32, 0.78), rgba(42, 36, 32, 0.78)),
		url("../images/bg-kitchen.webp") center / cover no-repeat;
}

.p-bridge__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: auto;
	min-height: 470px;
	padding: 86px 30px 70px;
}

.p-bridge__accent,
.p-bridge__arrow {
	display: none;
}

.p-bridge__title {
	font-size: 30px;
	font-weight: 800;
	line-height: 1.35;
}

.p-bridge__text {
	margin-top: 32px;
	font-size: 15px;
	line-height: 1.8;
}

.p-bridge__next {
	margin-top: 47px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	opacity: 0.82;
}

@media (min-width: 768px) {
	.p-bridge {
		background: none;
	}

	.p-bridge::before {
		position: absolute;
		inset: 0 0 -7px;
		content: "";
		background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
	}

	.p-bridge__inner {
		position: relative;
		gap: 28px;
		justify-content: center;
		width: min(100% - var(--gutter) * 2, 1040px);
		min-height: 520px;
		padding: 16px 0 112px;
	}

	.p-bridge__accent {
		display: block;
		width: 64px;
		height: 3px;
		background: var(--c-gold-soft);
	}

	.p-bridge__title,
	.p-bridge__text {
		text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
	}

	.p-bridge__title {
		font-size: clamp(32px, 3.333vw, 48px);
		font-weight: 700;
		line-height: 1.4;
	}

	.p-bridge__text {
		margin-top: 0;
		font-size: clamp(18px, 1.667vw, 24px);
		font-weight: 500;
		line-height: 1.9;
	}

	.p-bridge__next {
		margin-top: 0;
		font-size: clamp(24px, 2.5vw, 36px);
		font-weight: 800;
		line-height: var(--lh-auto);
		color: var(--c-red);
		opacity: 1;
	}

	.p-bridge__arrow {
		display: block;
		width: 61px;
		max-width: none;
		height: 41px;
		margin: -2.5px -6.5px -10.5px;
	}
}

/* --------------------------------------------------------------------------
   11. DIFFERENCE
   -------------------------------------------------------------------------- */
.p-difference {
	padding: 80px 0 88px;
	background: var(--c-ivory);
}

.p-difference > .l-inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.p-difference .c-sec-head__en {
	line-height: 1.2;
}

/* Core message */
.p-difference__core {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	background: var(--c-ink);
	border: 1px solid var(--c-border);
	border-radius: 16px;
}

.p-difference__core-label {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 1.2px;
	color: var(--c-gold);
}

.p-difference__core-bar {
	display: none;
}

.p-difference__core-text {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--c-white);
}

/* Lanes */
.p-difference__lanes {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.p-lane {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 16px;
}

.p-lane__head {
	display: contents;
}

.p-lane__badge {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 1px;
	color: var(--c-text);
}

.p-lane--labo .p-lane__badge {
	color: var(--c-red);
}

.p-lane__title {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.35;
}

.p-lane__lead {
	font-size: 13px;
	line-height: 1.65;
	color: var(--c-text);
}

.p-lane__lead--empty {
	display: block;
	height: 1.65em;
}

.p-lane__steps {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.p-lane__step {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.p-lane__num {
	display: grid;
	flex: none;
	place-items: center;
	width: 34px;
	height: 34px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--c-ink);
	background: var(--c-beige);
	border-radius: 999px;
}

.p-lane--labo .p-lane__num {
	color: var(--c-white);
	background: var(--c-red);
}

.p-lane__step-body {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.p-lane__step-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.p-lane__step-text {
	font-size: 12px;
	line-height: 1.55;
	color: var(--c-text);
}

/* Mobile: "ここで終了" + note render as one bold text block (Figma). */
.p-lane__step--end {
	margin-top: 4px;
}

.p-lane__step--end .p-lane__num,
.p-lane__step--end .p-lane__step-text {
	display: none;
}

.p-lane__step--end .p-lane__step-title {
	font-size: 13px;
	line-height: 1.55;
}

.p-lane__note {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.55;
}

.p-lane--oem .p-lane__note {
	margin-top: -14px;
}

.p-lane--labo .p-lane__note {
	color: var(--c-red);
}

.p-lane__note-bar,
.p-lane__turn {
	display: none;
}

.p-difference__turn {
	padding: 16px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.45;
	color: var(--c-red);
	text-align: center;
	background: #fff1f1;
	border: 1px solid var(--c-red);
	border-radius: 14px;
}

.p-difference__closing {
	padding: 18px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.55;
	text-align: center;
	background: var(--c-beige);
	border: 1px solid var(--c-border);
	border-radius: 14px;
}

@media (min-width: 768px) {
	.p-difference {
		padding: 112px 0;
		background: var(--c-white);
	}

	.p-difference > .l-inner {
		gap: 56px;
	}

	.p-difference .c-sec-head__en {
		line-height: var(--lh-auto);
	}

	.p-difference__core {
		gap: 12px;
		align-items: center;
		padding: 32px;
		background: var(--c-red-deep);
		border: 0;
		box-shadow: 0 8px 12px rgba(0, 0, 0, 0.07);
	}

	.p-difference__core-label {
		display: inline-flex;
		gap: 8px;
		align-items: center;
		padding: 8px 12px;
		font-size: 14px;
		line-height: var(--lh-auto);
		letter-spacing: 0;
		background: rgba(255, 255, 255, 0.07);
		border-radius: 999px;
	}

	.p-difference__core-bar {
		display: block;
		width: 24px;
		height: 4px;
		background: var(--c-gold);
		border-radius: 999px;
	}

	.p-difference__core-text {
		font-size: clamp(28px, 2.778vw, 40px);
		line-height: 1.2;
		text-align: center;
	}

	.p-difference__lanes {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
		align-items: start;
	}

	.p-difference__turn {
		display: none;
	}

	.p-lane {
		gap: 24px;
		padding: 27px;
		border-radius: 16px;
	}

	.p-lane--oem {
		background: #f7f7f5;
		border-color: var(--c-border-cool);
	}

	.p-lane--labo {
		background: #fff8f2;
		border-color: #f0d9b7;
		box-shadow: 0 8px 12px rgba(0, 0, 0, 0.05);
	}

	.p-lane__head {
		display: flex;
		flex-direction: column;
		gap: 10px;
		align-items: flex-start;
	}

	.p-lane__badge {
		padding: 6px 10px;
		font-size: 12px;
		line-height: var(--lh-auto);
		letter-spacing: 0;
		background: #ecece8;
		border-radius: 999px;
	}

	.p-lane--labo .p-lane__badge {
		color: var(--c-white);
		background: var(--c-red);
	}

	.p-lane__title {
		font-size: clamp(24px, 2.222vw, 32px);
		font-weight: 700;
		line-height: 1.2;
	}

	.p-lane__lead {
		font-size: 16px;
		line-height: 1.5;
		color: var(--c-text-lead);
	}

	.p-lane__steps {
		gap: 12px;
		width: 100%;
	}

	.p-lane__step {
		gap: 16px;
		align-items: center;
		padding: 17px;
		background: var(--c-white);
		border: 1px solid var(--c-border-cool);
		border-radius: 12px;
	}

	.p-lane__num {
		width: 36px;
		height: 36px;
		font-size: 14px;
		line-height: var(--lh-auto);
		color: var(--c-text);
		background: #ecece8;
	}

	.p-lane__step-body {
		gap: 4px;
	}

	.p-lane__step-title {
		font-size: 18px;
		line-height: var(--lh-auto);
	}

	.p-lane__step-text {
		font-size: 14px;
		line-height: 1.45;
	}

	.p-lane--labo .p-lane__step-text {
		color: var(--c-text-lead);
	}

	.p-lane__step--end {
		margin-top: 0;
		background: #eeede9;
		border-color: #d7d3cc;
	}

	.p-lane__step--end .p-lane__num {
		display: grid;
		background: var(--c-ink);
	}

	.p-lane__step--end .p-lane__step-text {
		display: block;
	}

	.p-lane__step--end .p-lane__step-title {
		font-size: 18px;
		line-height: var(--lh-auto);
	}

	.p-lane__step--highlight {
		background: var(--c-red-deep);
		border-color: var(--c-red-deep);
	}

	.p-lane--labo .p-lane__step--highlight .p-lane__num {
		color: var(--c-ink);
		background: var(--c-gold);
	}

	.p-lane__step--highlight .p-lane__step-title {
		color: var(--c-white);
	}

	.p-lane--labo .p-lane__step--highlight .p-lane__step-text {
		color: #d9d9d9;
	}

	.p-lane__turn {
		display: flex;
		gap: 12px;
		align-items: center;
		padding: 15px;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.45;
		background: #fff4d8;
		border: 1px solid var(--c-gold);
		border-radius: 12px;
	}

	.p-lane__turn-dot {
		flex: none;
		width: 12px;
		height: 12px;
		background: var(--c-gold);
		border-radius: 999px;
	}

	.p-lane__note,
	.p-lane--oem .p-lane__note,
	.p-lane--labo .p-lane__note {
		display: flex;
		gap: 12px;
		align-items: center;
		width: 100%;
		margin-top: 0;
		padding: 15px;
		font-size: 16px;
		font-weight: 400;
		line-height: 1.5;
		border: 1px solid;
		border-radius: 12px;
	}

	.p-lane--oem .p-lane__note {
		color: var(--c-text);
		background: var(--c-white);
		border-color: var(--c-border-cool);
	}

	.p-lane--labo .p-lane__note {
		color: var(--c-ink);
		background: #fff4d8;
		border-color: var(--c-gold);
	}

	.p-lane__note-bar {
		display: block;
		flex: none;
		width: 4px;
		height: 40px;
		background: #d7d3cc;
		border-radius: 999px;
	}

	.p-lane--labo .p-lane__note-bar {
		background: var(--c-gold);
	}

	.p-difference__closing {
		padding: 0;
		font-size: clamp(17px, 1.389vw, 20px);
		font-weight: 500;
		line-height: 1.5;
		color: var(--c-red);
		background: none;
		border: 0;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.p-lane {
		padding: 20px;
	}

	.p-lane__step {
		padding: 14px;
	}
}

/* --------------------------------------------------------------------------
   12. THREE STRENGTHS
   -------------------------------------------------------------------------- */
.p-strengths {
	padding: 84px 0;
	background: var(--c-white);
}

.p-strengths > .l-inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.p-strengths__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.p-strength {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 16px;
}

.p-strength__accent {
	display: none;
}

.p-strength__image {
	width: 100%;
	height: 132px;
	object-fit: cover;
}

.p-strength__copy {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 20px 0;
}

.p-strength__num {
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
	color: var(--c-red);
}

.p-strength__title {
	font-size: 21px;
	font-weight: 800;
	line-height: 1.35;
}

.p-strength__text {
	font-size: 14px;
	line-height: 1.7;
	color: var(--c-text);
}

.p-strength__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 10px 20px 20px;
}

.p-strength__tags li {
	width: 120px;
	padding: 7px 10px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.1;
	text-align: center;
	background: var(--c-beige);
	border-radius: 999px;
}

@media (min-width: 768px) {
	.p-strengths {
		padding: 112px 0;
	}

	.p-strengths > .l-inner {
		gap: 48px;
	}

	.p-strengths__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
		align-items: start;
	}

	.p-strength {
		justify-content: space-between;
		padding: 27px;
		background: var(--c-ivory);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
	}

	.p-strength__accent {
		display: block;
		flex: none;
		height: 4px;
		background: var(--c-red);
	}

	.p-strength--gold .p-strength__accent {
		background: var(--c-gold);
	}

	.p-strength__content {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.p-strength__image {
		height: 116px;
		border-radius: 12px;
	}

	.p-strength__copy {
		gap: 16px;
		padding: 0;
	}

	.p-strength__num {
		font-size: 48px;
		font-weight: 800;
	}

	.p-strength--gold .p-strength__num {
		color: var(--c-gold);
	}

	.p-strength__title {
		font-size: clamp(24px, 1.944vw, 28px);
		line-height: 1.25;
	}

	.p-strength__text {
		font-size: 16px;
		line-height: 1.8;
	}

	.p-strength__tags {
		gap: 8px;
		padding: 0;
	}

	.p-strength__tags li {
		width: auto;
		padding: 6px 10px;
		font-size: 13px;
		font-weight: 700;
		line-height: var(--lh-auto);
		color: var(--c-text);
		border: 1px solid #e3ddd3;
	}

	.p-strength:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1200px) {
	.p-strengths__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.p-strength {
		min-height: 430px;
	}

	.p-strength:last-child:nth-child(odd) {
		grid-column: auto;
	}
}

/* --------------------------------------------------------------------------
   13. RESULTS IN NUMBERS
   -------------------------------------------------------------------------- */
.p-results {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 84px 0;
	background:
		linear-gradient(rgba(42, 36, 32, 0.9), rgba(42, 36, 32, 0.9)),
		url("../images/hero-ramen-768.webp") center / cover no-repeat,
		var(--c-white);
}

.p-results > .l-inner {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.p-results .c-sec-head__en {
	color: var(--c-gold);
}

.p-results .c-sec-head__title {
	color: var(--c-white);
}

.p-results .c-sec-head__lead {
	font-size: 14px;
	color: var(--c-white);
	opacity: 0.85;
}

.p-results__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.p-results__card {
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 16px;
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 14px;
}

.p-results__value {
	font-size: 30px;
	font-weight: 900;
	line-height: 1.1;
	color: var(--c-red);
}

.p-results__card--text .p-results__value {
	font-size: 16px;
}

/* Mobile: 3 cards → the lead metric spans the full width, the other two sit side by side. */
.p-results__card:first-child {
	grid-column: 1 / -1;
}

.p-results__label {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
}

.p-results__text {
	font-size: 11px;
	line-height: 1.55;
	color: var(--c-text);
}

@media (min-width: 768px) {
	.p-results {
		padding: 112px 0;
		background: var(--c-brown-dark);
	}

	.p-results::before {
		position: absolute;
		inset: 0;
		z-index: -1;
		content: "";
		background: url("../images/bg-results.webp") center / cover no-repeat;
		opacity: 0.35;
		filter: blur(12px);
	}

	.p-results > .l-inner {
		gap: 56px;
	}

	.p-results .c-sec-head__en {
		color: var(--c-red);
	}

	.p-results .c-sec-head__title {
		color: #f7f2eb;
	}

	.p-results .c-sec-head__lead {
		font-size: clamp(18px, 1.528vw, 22px);
		opacity: 1;
	}

	.p-results__list {
		gap: 20px;
	}

	.p-results__card {
		gap: 16px;
		padding: 27px;
		border-color: #e6e6e6;
		border-radius: 16px;
	}

	.p-results__value {
		font-size: clamp(40px, 3.333vw, 48px);
		font-weight: 800;
	}

	.p-results__card--text .p-results__value {
		font-size: clamp(22px, 1.875vw, 27px);
	}

	.p-results__label {
		font-size: 18px;
		line-height: 1.4;
	}

	.p-results__text {
		font-size: 14px;
		line-height: 1.6;
		color: var(--c-text-soft);
	}
}

@media (min-width: 768px) {
	.p-results__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.p-results__card:first-child {
		grid-column: auto;
	}
}

/* --------------------------------------------------------------------------
   14. CASE STUDIES
   -------------------------------------------------------------------------- */
.p-cases {
	padding: 84px 0;
	background: var(--c-ivory);
}

.p-cases > .l-inner,
.p-cases__features,
.p-cases__cards,
.p-cases__more,
.p-cases__projects {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* 01〜03 */
.p-cases__feature {
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 18px;
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 14px;
}

.p-cases__feature-num {
	font-size: 26px;
	font-weight: 900;
	line-height: 1;
	color: var(--c-red);
}

.p-cases__feature-title {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
}

.p-cases__feature-text {
	font-size: 13px;
	line-height: 1.65;
	color: var(--c-text);
}

/* Case cards */
.p-case {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 16px;
}

.p-case__photo img {
	width: 100%;
	height: 230px;
	object-fit: cover;
}

.p-case__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 20px 22px;
}

.p-case__tag {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.6px;
	color: var(--c-red);
}

.p-case__name {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.25;
}

.p-case__lead {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
}

.p-case__text {
	font-size: 13px;
	line-height: 1.7;
	color: var(--c-text);
}

.p-case__metrics {
	display: flex;
	gap: 8px;
}

.p-case__metric {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	padding: 12px;
	border: 1px solid var(--c-border);
	border-radius: 12px;
}

.p-case__metric-value {
	font-size: 25px;
	font-weight: 900;
	line-height: 1;
	color: var(--c-red);
}

.p-case__metric-label {
	font-size: 10px;
	font-weight: 600;
	line-height: 1.35;
}

.p-case__note--box {
	padding: 12px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.5;
	background: var(--c-beige);
	border: 1px solid var(--c-border);
	border-radius: 12px;
}

/* Mobile: POINT box and the note below read as one box (Figma). */
.p-case__point {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 12px 0;
	background: var(--c-beige);
	border: 1px solid var(--c-border);
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
}

.p-case__point-label {
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--c-gold);
}

.p-case__point-text {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
}

.p-case__note--point {
	margin-top: -4px;
	padding: 0 12px 12px;
	font-size: 11px;
	line-height: 1.5;
	color: var(--c-text);
	background: var(--c-beige);
	border: 1px solid var(--c-border);
	border-top: 0;
	border-radius: 0 0 12px 12px;
}

/* MORE PROJECTS */
.p-cases__more-head {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 12px;
}

.p-cases__more-en {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 1.2px;
	color: var(--c-red);
}

.p-cases__more-title {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.3;
}

.p-project {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px;
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 14px;
}

.p-project__bar {
	display: block;
	width: 40px;
	height: 4px;
	background: var(--c-gold);
	border-radius: 2px;
}

.p-project__title {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--c-red);
}

.p-project__text {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.55;
}

@media (min-width: 768px) {
	.p-cases {
		padding: 112px 0;
	}

	.p-cases > .l-inner {
		gap: 48px;
	}

	.p-cases .c-sec-head__lead {
		color: var(--c-text-sub);
	}

	.p-cases__features,
	.p-cases__cards,
	.p-cases__projects {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.p-cases__feature {
		gap: 16px;
		padding: 23px;
		border-radius: 16px;
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
	}

	.p-cases__feature-num {
		font-size: 40px;
		font-weight: 800;
	}

	.p-cases__feature-title {
		font-size: 22px;
		line-height: 1.35;
	}

	.p-cases__feature-text {
		font-size: 15px;
		line-height: 1.8;
	}

	.p-cases__feature:last-child:nth-child(odd),
	.p-project:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.p-case {
		gap: 24px;
		padding: 27px;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
	}

	.p-case__photo {
		overflow: hidden;
		border-radius: 12px;
	}

	.p-case__photo img {
		height: 280px;
	}

	.p-case__body {
		gap: 20px;
		padding: 0;
	}

	.p-case__tag {
		align-self: flex-start;
		padding: 6px 12px;
		font-size: 13px;
		line-height: var(--lh-auto);
		letter-spacing: 0;
		color: var(--c-white);
		background: var(--c-red);
		border-radius: 999px;
	}

	.p-case__name {
		font-size: clamp(28px, 2.5vw, 36px);
		line-height: 1.2;
	}

	.p-case__lead {
		font-size: clamp(18px, 1.389vw, 20px);
		font-weight: 600;
		line-height: 1.5;
	}

	.p-case__text {
		font-size: 16px;
		line-height: 1.8;
	}

	.p-case__metrics {
		gap: 12px;
		padding: 20px;
		color: var(--c-white);
		background: var(--c-red);
		border-radius: 12px;
	}

	.p-case__metric {
		gap: 4px;
		padding: 0;
		border: 0;
		border-radius: 0;
	}

	.p-case__metric-value {
		font-size: 32px;
		font-weight: 800;
		line-height: 1.1;
		color: var(--c-white);
	}

	.p-case__metric-label {
		font-size: 14px;
		font-weight: 700;
		line-height: 1.5;
	}

	.p-case__note--box,
	.p-case__note--point {
		margin-top: 0;
		padding: 0;
		font-size: 13px;
		font-weight: 400;
		line-height: 1.6;
		color: var(--c-text-muted);
		background: none;
		border: 0;
		border-radius: 0;
	}

	.p-case__point {
		gap: 8px;
		padding: 17px;
		background: #f7f4ef;
		border-bottom: 1px solid var(--c-border);
		border-radius: 12px;
	}

	.p-case__point-label {
		font-size: 13px;
		line-height: var(--lh-auto);
		color: var(--c-red);
	}

	.p-case__point-text {
		font-size: 15px;
		line-height: 1.6;
	}

	.p-cases__more {
		gap: 32px;
	}

	.p-cases__more-head {
		gap: 14px;
		padding-top: 0;
	}

	.p-cases__more-en {
		font-size: 16px;
		line-height: var(--lh-auto);
		letter-spacing: 0;
	}

	.p-cases__more-title {
		font-size: clamp(32px, 2.778vw, 40px);
		line-height: 1.15;
	}

	.p-project {
		gap: 10px;
		padding: 23px;
		border-radius: 16px;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
	}

	.p-project__bar {
		display: none;
	}

	.p-project__title {
		font-size: clamp(22px, 1.944vw, 28px);
		font-weight: 800;
		line-height: 1.25;
		color: var(--c-ink);
	}

	.p-project__text {
		font-size: 16px;
		font-weight: 400;
		line-height: 1.8;
		color: var(--c-text);
	}
}

@media (min-width: 1024px) {
	.p-cases__features,
	.p-cases__projects {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.p-cases__feature:last-child:nth-child(odd),
	.p-project:last-child:nth-child(odd) {
		grid-column: auto;
	}
}

/* --------------------------------------------------------------------------
   15. DEVELOPMENT PROCESS
   Mobile/Tablet: vertical timeline. Desktop: 3 × 2 cards with arrows.
   -------------------------------------------------------------------------- */
.p-process {
	padding: 84px 0;
	background: var(--c-white);
}

.p-process > .l-inner {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.p-process__list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.p-process__step {
	position: relative;
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

/* timeline line under the number */
.p-process__step:not(:last-child)::before {
	position: absolute;
	top: 52px;
	left: 22px;
	width: 2px;
	height: 64px;
	content: "";
	background: var(--c-border);
	border-radius: 1px;
}

.p-process__num {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--c-white);
	background: var(--c-red);
	border-radius: 999px;
}

.p-process__card {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	padding: 16px;
	background: var(--c-ivory);
	border: 1px solid var(--c-border);
	border-radius: 14px;
}

.p-process__title {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.35;
}

.p-process__text {
	font-size: 13px;
	line-height: 1.65;
	color: var(--c-text);
}

@media (min-width: 768px) {
	.p-process {
		padding: 112px 0;
		background: var(--c-ivory);
	}

	.p-process > .l-inner {
		gap: 56px;
	}

	.p-process__card {
		background: var(--c-white);
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	.p-process__list {
		gap: 24px;
	}

	.p-process__title {
		font-size: 20px;
	}

	.p-process__text {
		font-size: 15px;
		line-height: 1.8;
	}
}

@media (min-width: 1200px) {
	.p-process__list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px 64px;
		align-items: center;
	}

	.p-process__step {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		gap: 18px 16px;
		align-items: center;
		padding: 23px;
		background: var(--c-white);
		border: 1px solid var(--c-border);
		border-radius: 16px;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
	}

	.p-process__step:not(:last-child)::before {
		content: none;
	}

	.p-process__step--emphasis {
		background: #fff8f8;
	}

	.p-process__step--emphasis::before,
	.p-process__step--emphasis:not(:last-child)::before {
		position: absolute;
		top: -1px;
		bottom: -1px;
		left: -1px;
		width: 4px;
		height: auto;
		content: "";
		background: var(--c-red);
		border-radius: 999px;
	}

	/* ▶ between cards in the same row */
	.p-process__step:not(:nth-child(3n))::after {
		position: absolute;
		top: 50%;
		right: -40px;
		font-size: 16px;
		font-weight: 700;
		line-height: var(--lh-auto);
		color: var(--c-red);
		content: "▶";
		opacity: 0.45;
		transform: translateY(-50%);
	}

	.p-process__num {
		display: block;
		width: auto;
		height: auto;
		font-size: 32px;
		font-weight: 800;
		line-height: var(--lh-auto);
		color: var(--c-red);
		background: none;
		border-radius: 0;
	}

	.p-process__card {
		display: contents;
	}

	.p-process__title {
		font-size: 22px;
		line-height: 1.35;
	}

	.p-process__text {
		grid-column: 1 / -1;
		font-size: 16px;
		line-height: 1.8;
	}
}

/* --------------------------------------------------------------------------
   16. FOR YOUR BUSINESS
   -------------------------------------------------------------------------- */
.p-business {
	padding: 84px 0;
	background: var(--c-ivory);
}

.p-business > .l-inner,
.p-business__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.p-biz {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 16px;
}

.p-biz__photo {
	position: relative;
}

.p-biz__photo img {
	width: 100%;
	height: 210px;
	object-fit: cover;
}

/* C: keep the ramen counter (right side of the photo) in the mobile crop. */
.p-biz--c .p-biz__photo img {
	object-position: 80% center;
}

.p-biz__body {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
}

.p-biz__text {
	display: contents;
}

.p-biz__head {
	display: flex;
	gap: 10px;
	align-items: center;
}

.p-biz__letter {
	display: grid;
	flex: none;
	place-items: center;
	width: 34px;
	height: 34px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--c-white);
	background: var(--c-red);
	border-radius: 999px;
}

.p-biz__en {
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 1px;
	color: var(--c-gold);
}

.p-biz__title {
	font-size: 21px;
	font-weight: 800;
	line-height: 1.35;
}

.p-biz__case {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.p-biz__case-label {
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.8px;
	color: var(--c-red);
}

.p-biz__case-text,
.p-biz__desc {
	font-size: 13px;
	line-height: 1.65;
	color: var(--c-text);
}

.p-biz__link {
	display: flex;
	align-items: center;
	min-height: 44px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--c-red);
}

.p-biz__link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (min-width: 768px) {
	.p-business {
		padding: 112px 0;
	}

	.p-business > .l-inner {
		gap: 48px;
	}

	.p-business__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.p-biz {
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	}

	.p-biz__photo img {
		height: auto;
		aspect-ratio: 626 / 312;
	}

	.p-biz__photo::after {
		position: absolute;
		inset: 0;
		content: "";
		background: linear-gradient(153.58deg, rgba(0, 0, 0, 0) 42.5%, rgba(0, 0, 0, 0.502) 75%);
	}

	.p-biz--d .p-biz__photo::after {
		background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.5) 100%);
	}

	.p-biz__body {
		justify-content: space-between;
		gap: 14px;
		padding: 27px;
	}

	.p-biz__text {
		display: flex;
		flex-direction: column;
		gap: 14px;
	}

	/* Watermark letter over the photo */
	.p-biz__letter {
		position: absolute;
		bottom: calc(100% + 18px);
		left: 31px;
		z-index: 1;
		display: block;
		width: auto;
		height: auto;
		font-size: 120px;
		font-weight: 800;
		line-height: var(--lh-auto);
		background: none;
		border-radius: 0;
		opacity: 0.15;
		pointer-events: none;
	}

	.p-biz__en {
		font-size: 12px;
		line-height: var(--lh-auto);
		letter-spacing: 0;
		color: var(--c-red);
	}

	.p-biz__title {
		font-size: 24px;
		line-height: 1.25;
	}

	.p-biz__case {
		flex-direction: row;
		gap: 8px;
		align-items: center;
	}

	.p-biz__case-label {
		flex: none;
		padding: 4px 10px;
		font-size: 11px;
		line-height: var(--lh-auto);
		letter-spacing: 0;
		background: #f6e9e0;
		border-radius: 999px;
	}

	.p-biz__case-text {
		flex: 1 1 0;
		font-size: 15px;
		font-weight: 600;
		line-height: 1.5;
		color: var(--c-text-sub);
	}

	.p-biz__desc {
		font-size: 15px;
		line-height: 1.5;
		color: var(--c-text-sub);
	}

	.p-biz--d .p-biz__desc {
		font-weight: 500;
		line-height: 1.6;
	}

	.p-biz__link {
		font-size: 16px;
		line-height: var(--lh-auto);
	}
}

@media (min-width: 1024px) {
	.p-biz {
		min-height: 520px;
	}
}

/* --------------------------------------------------------------------------
   17. SUPPORT NETWORK
   -------------------------------------------------------------------------- */
.p-network {
	padding: 84px 0;
	background: var(--c-white);
}

.p-network > .l-inner,
.p-network__main,
.p-network__partners,
.p-network__partner-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.p-network__highlights {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.p-network__main {
	margin-top: -8px;
}

.p-network__stat,
.p-network__count {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	background: var(--c-ivory);
	border: 1px solid var(--c-border);
	border-radius: 14px;
}

.p-network__stat-image {
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 12px;
}

.p-network__stat-title,
.p-network__count-label {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--c-red);
}

.p-network__stat-text,
.p-network__count-value,
.p-network__count-text {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.55;
}

.p-network__count-text {
	margin-top: -10px;
}

.p-network__partners-title {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.3;
}

.p-partner {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px;
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 12px;
}

.p-partner__category {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.6px;
	color: var(--c-gold);
}

.p-partner__names {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.55;
}

.p-network__closing {
	padding: 18px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.65;
	color: var(--c-white);
	background: var(--c-brown);
	border: 1px solid var(--c-border);
	border-radius: 14px;
}

@media (min-width: 768px) {
	.p-network {
		padding: 112px 0;
		background: var(--c-ivory);
	}

	.p-network > .l-inner {
		gap: 48px;
	}

	.p-network__highlights {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.p-network__stat {
		position: relative;
		gap: 18px;
		justify-content: flex-start;
		min-height: 220px;
		overflow: hidden;
		padding: 40px;
		background: var(--c-sand);
		border: 0;
		border-radius: 16px;
	}

	/* Illustration: 12% sand tint = image at 88% opacity over the sand card. */
	.p-network__stat-image {
		position: absolute;
		top: 50%;
		right: -10px;
		width: 220px;
		height: 160px;
		opacity: 0.88;
		transform: translateY(-50%);
	}

	.p-network__stat-title,
	.p-network__stat-text {
		position: relative;
		max-width: calc(100% - 210px);
	}

	.p-network__stat-title {
		font-size: 40px;
		font-weight: 800;
		line-height: 1.05;
		color: var(--c-brown);
	}

	.p-network__stat-num {
		font-size: 52px;
		font-weight: 900;
		line-height: 0.95;
		color: var(--c-red);
	}

	.p-network__stat-title--plain {
		color: var(--c-red);
	}

	.p-network__stat-text {
		font-size: 17px;
		font-weight: 500;
		line-height: 1.75;
		color: var(--c-brown);
	}

	.p-network__main {
		flex-direction: column;
		gap: 32px;
		margin-top: 0;
	}

	.p-network__count {
		flex: none;
		gap: 20px;
		padding: 40px;
		background: var(--c-sand);
		border: 0;
		border-radius: 20px;
	}

	.p-network__count-label {
		font-size: 15px;
		line-height: var(--lh-auto);
		color: var(--c-brown);
	}

	.p-network__count-value {
		display: flex;
		gap: 12px;
		align-items: flex-end;
		white-space: nowrap;
	}

	.p-network__count-num {
		font-size: 168px;
		font-weight: 900;
		line-height: 0.85;
		color: var(--c-red);
	}

	.p-network__count-unit {
		font-size: 40px;
		font-weight: 800;
		line-height: var(--lh-auto);
		color: var(--c-brown);
	}

	.p-network__count-text {
		margin-top: 0;
		font-size: 16px;
		font-weight: 400;
		line-height: 1.75;
		color: var(--c-brown);
	}

	.p-network__partners {
		flex: 1 1 0;
		min-width: 0;
	}

	.p-network__partners-title {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.p-network__partner-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
		align-items: start;
	}

	.p-partner {
		gap: 18px;
		padding: 27px;
		border-radius: 16px;
		box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
	}

	.p-partner:last-child {
		grid-column: 1 / -1;
	}

	.p-partner__category {
		font-size: 18px;
		line-height: var(--lh-auto);
		letter-spacing: 0;
		color: var(--c-red);
	}

	.p-partner__names {
		font-size: 17px;
		line-height: 1.65;
	}

	.p-network__closing {
		padding: 24px 32px;
		font-size: clamp(18px, 1.667vw, 24px);
		font-weight: 500;
		line-height: 1.75;
		color: #4e4a45;
		text-align: center;
		background: #f5f0e8;
		border: 0;
		border-radius: 16px;
	}
}

@media (min-width: 1200px) {
	.p-network__highlights {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.p-network__main {
		flex-direction: row;
		align-items: flex-start;
	}

	.p-network__count {
		width: 432px;
	}
}

/* --------------------------------------------------------------------------
   18. FAQ
   -------------------------------------------------------------------------- */
.p-faq {
	padding: 84px 0;
	background: var(--c-ivory);
}

.p-faq > .l-inner,
.p-faq__list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.p-faq__item {
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 12px;
}

.p-faq__button {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 44px;
	padding: 18px 14px 18px 16px;
	text-align: left;
	border-radius: 12px;
}

.p-faq__question-text {
	flex: 1 1 0;
	min-width: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.p-faq__icon {
	flex: none;
	width: 24px;
	font-size: 22px;
	line-height: 1;
	color: var(--c-red);
	text-align: center;
	transition: transform 0.25s ease;
}

.p-faq__button[aria-expanded="true"] .p-faq__icon {
	transform: rotate(45deg);
}

.p-faq__answer {
	padding: 0 16px 18px;
	font-size: 14px;
	line-height: 1.8;
	color: var(--c-text);
}

.p-faq__todo {
	padding: 8px 12px;
	font-size: 13px;
	color: var(--c-red);
	border: 1px dashed currentColor;
	border-radius: 8px;
}

@media (min-width: 768px) {
	.p-faq {
		padding: 112px 0;
		background: var(--c-white);
	}

	.p-faq > .l-inner {
		gap: 48px;
	}

	.p-faq__list {
		gap: 0;
	}

	.p-faq__item {
		background: none;
		border: 0;
		border-bottom: 1px solid var(--c-divider);
		border-radius: 0;
	}

	.p-faq__button {
		align-items: flex-start;
		padding: 24px 0;
		border-radius: 0;
	}

	.p-faq__question-text {
		font-size: 18px;
		font-weight: 700;
		line-height: var(--lh-auto);
		color: var(--c-black);
	}

	.p-faq__icon {
		width: auto;
		font-size: 28px;
		line-height: var(--lh-auto);
	}

	.p-faq__answer {
		padding: 0 0 24px;
		font-size: 16px;
	}
}

/* --------------------------------------------------------------------------
   19. COMPANY
   -------------------------------------------------------------------------- */
.p-company {
	padding: 84px 0;
	background: var(--c-white);
}

.p-company > .l-inner,
.p-company__list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.p-company__row {
	padding: 16px 0;
	border-bottom: 1px solid var(--c-border);
}

.p-company__row dt {
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--c-text);
}

.p-company__row dd {
	margin-top: 6px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.55;
}

@media (min-width: 768px) {
	.p-company {
		padding: 112px 0;
	}

	.p-company > .l-inner {
		gap: 48px;
	}

	.p-company__list {
		gap: 0;
	}

	.p-company__row {
		display: flex;
		gap: 40px;
		align-items: flex-start;
		padding: 22px;
		border: 0;
	}

	.p-company__row:nth-child(even) {
		background: #ecece9;
	}

	.p-company__row dt {
		flex: none;
		width: 180px;
		font-size: 16px;
		font-weight: 700;
		line-height: var(--lh-auto);
		color: var(--c-red);
	}

	.p-company__row dd {
		flex: 1 1 0;
		min-width: 0;
		margin-top: 0;
		font-size: 16px;
		font-weight: 400;
		line-height: var(--lh-auto);
	}
}

.p-company__link {
	color: var(--c-red);
	text-decoration: underline;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}

.p-company__link:hover {
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   20. CONTACT
   -------------------------------------------------------------------------- */
.p-contact {
	color: var(--c-white);
	background: var(--c-brown);
}

.p-contact__inner {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 72px 20px 18px;
}

.p-contact__title {
	/* 32px (Figma) — shrinks slightly so "一緒につくりませんか。" stays on one line. */
	font-size: min(32px, calc((100vw - 40px) / 11.1));
	font-weight: 900;
	line-height: 1.28;
}

.p-contact__text {
	font-size: 14px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.88);
}

.p-contact__actions {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.p-contact__tel {
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	justify-content: center;
	min-height: 90px;
	padding: 19px;
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 14px;
}

.p-contact__tel-number {
	font-size: 26px;
	font-weight: 900;
	line-height: 1.2;
	color: var(--c-red);
}

.p-contact__tel-hours {
	font-size: 12px;
	line-height: 1.35;
	color: var(--c-text);
}

.p-contact__form {
	height: 56px;
	padding: 0 16px;
	font-size: 14px;
	color: var(--c-white);
	background: var(--c-red);
	border-radius: 999px;
}

.p-contact :focus-visible {
	outline-color: var(--c-white);
}

@media (min-width: 768px) {
	.p-contact {
		background: var(--c-red);
	}

	.p-contact__inner {
		gap: 28px;
		align-items: center;
		max-width: 1440px;
		margin-inline: auto;
		padding: 96px clamp(40px, 11.111vw, 160px);
		text-align: center;
	}

	.p-contact__title {
		font-size: clamp(36px, 3.611vw, 52px);
		line-height: 1.2;
	}

	.p-contact__text {
		max-width: 800px;
		font-size: 17px;
		color: var(--c-white);
	}

	.p-contact__actions {
		flex-flow: row wrap;
		gap: 24px 32px;
		align-items: center;
		justify-content: center;
	}

	.p-contact__tel {
		gap: 4px;
		align-items: flex-start;
		min-height: 0;
		padding: 0;
		text-align: left;
		background: none;
		border: 0;
		border-radius: 0;
	}

	.p-contact__tel-number {
		font-size: 30px;
		line-height: var(--lh-auto);
		color: var(--c-white);
	}

	.p-contact__tel-hours {
		font-size: 16px;
		line-height: var(--lh-auto);
		color: var(--c-white);
	}

	.p-contact__form {
		padding: 0 48px;
		font-size: 16px;
		line-height: var(--lh-auto);
		color: var(--c-red);
		background: var(--c-white);
		border-radius: 8px;
	}
}

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.l-footer {
	color: var(--c-white);
	background: var(--c-brown);
}

.l-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 20px;
	padding: 23px 0 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.l-footer__top {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.l-footer .c-brand {
	gap: 10px;
}

.l-footer .c-brand__text {
	gap: 4px;
}

.l-footer .c-brand__name {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--c-white);
}

.l-footer .c-brand__sub {
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--c-text-footer);
}

.l-footer__list {
	display: grid;
	grid-template-columns: repeat(2, 150px);
	gap: 12px 16px;
}

.l-footer__list a {
	display: flex;
	align-items: center;
	min-height: 44px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
}

.l-footer__list a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.l-footer__bottom {
	font-size: 11px;
	line-height: 1.35;
	color: var(--c-text-footer);
}

.l-footer__official {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--c-white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.l-footer__official:hover {
	text-decoration: none;
}

.l-footer :focus-visible {
	outline-color: var(--c-white);
}

@media (min-width: 768px) {
	.l-footer {
		background: var(--c-footer);
	}

	.l-footer__inner {
		gap: 24px;
		max-width: 1440px;
		margin: 0 auto;
		padding: 48px var(--gutter);
		border: 0;
	}

	.l-footer__top {
		flex-flow: row wrap;
		gap: 16px 24px;
		align-items: center;
		justify-content: space-between;
	}

	.l-footer .c-brand {
		gap: 12px;
		min-height: 44px;
	}

	.l-footer .c-brand__mark {
		display: block;
	}

	.l-footer .c-brand__text {
		gap: 2px;
	}

	.l-footer .c-brand__name {
		font-size: 16px;
		line-height: var(--lh-auto);
	}

	.l-footer .c-brand__sub {
		line-height: var(--lh-auto);
	}

	.l-footer__list {
		display: flex;
		flex-wrap: wrap;
		gap: 0 24px;
	}

	.l-footer__list a {
		display: flex;
		align-items: center;
		min-height: 44px;
		font-size: 14px;
		line-height: var(--lh-auto);
	}

	.l-footer__bottom {
		display: flex;
		flex-wrap: wrap;
		gap: 0 24px;
		align-items: center;
		justify-content: space-between;
		padding-top: 24px;
		font-size: 14px;
		line-height: var(--lh-auto);
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.l-footer__copyright {
		margin-left: auto;
	}
}

/* --------------------------------------------------------------------------
   21b. Contact page (page-contact.php) + Contact Form 7
   No Figma frame: built from the LP's tokens.
   -------------------------------------------------------------------------- */
.p-contact-page {
	padding: 64px 0 84px;
	background: var(--c-ivory);
}

.p-contact-page .l-inner {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.p-contact-page__tel {
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: center;
	padding: 18px;
	text-align: center;
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 14px;
}

.p-contact-page__tel-label {
	font-size: 12px;
	font-weight: 700;
	color: var(--c-text);
}

.p-contact-page__tel-number {
	font-size: 26px;
	font-weight: 900;
	line-height: 1.2;
	color: var(--c-red);
}

.p-contact-page__tel-hours {
	font-size: 12px;
	color: var(--c-text);
}

.p-contact-page__form {
	padding: 24px 20px;
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 16px;
}

/* Form ------------------------------------------------------------------- */
.p-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.p-form__row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.p-form__label {
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.p-form__badge {
	flex: none;
	padding: 4px 8px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	color: var(--c-white);
	background: var(--c-red);
	border-radius: 999px;
}

.p-form__badge--optional {
	color: var(--c-text);
	background: var(--c-beige);
}

.p-form .wpcf7-form-control-wrap {
	display: block;
}

.p-form input[type="text"],
.p-form input[type="email"],
.p-form input[type="tel"],
.p-form select,
.p-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	font: inherit;
	font-size: 16px; /* 16px 以上で iOS の自動ズームを防ぐ */
	line-height: 1.5;
	color: var(--c-ink);
	background: var(--c-white);
	border: 1px solid #d7d3cc;
	border-radius: 10px;
	appearance: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.p-form ::placeholder {
	color: #a8a39c;
}

.p-form select {
	padding-right: 44px;
	background:
		linear-gradient(45deg, transparent 50%, var(--c-red) 50%) right 22px center / 6px 6px no-repeat,
		linear-gradient(-45deg, transparent 50%, var(--c-red) 50%) right 16px center / 6px 6px no-repeat,
		var(--c-white);
}

.p-form textarea {
	min-height: 200px;
	resize: vertical;
}

.p-form input:focus,
.p-form select:focus,
.p-form textarea:focus {
	border-color: var(--c-red);
	outline: none;
	box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

/* Checkboxes */
.p-form .wpcf7-checkbox {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
}

.p-form .wpcf7-list-item {
	margin: 0;
}

.p-form .wpcf7-checkbox label,
.p-form .wpcf7-acceptance label {
	display: flex;
	gap: 10px;
	align-items: center;
	min-height: 44px;
	cursor: pointer;
}

.p-form .wpcf7-checkbox label {
	padding: 10px 14px;
	font-size: 15px;
	line-height: 1.4;
	background: var(--c-white);
	border: 1px solid #d7d3cc;
	border-radius: 10px;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.p-form .wpcf7-checkbox label:has(input:checked) {
	background: #fff1f1;
	border-color: var(--c-red);
}

.p-form input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--c-red);
}

/* Consent */
.p-form__consent {
	display: flex;
	justify-content: center;
	font-size: 15px;
}

.p-form__consent a {
	color: var(--c-red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Submit */
.p-form__submit {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.p-form .wpcf7-submit {
	width: 100%;
	height: 56px;
	padding: 0 32px;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
}

.p-form .wpcf7-submit:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.p-form .wpcf7-spinner {
	margin: 12px 0 0;
}

/* Validation / response */
.p-form .wpcf7-form-control.wpcf7-not-valid {
	border-color: var(--c-red);
}

.wpcf7 .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--c-red);
}

.wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 14px 16px;
	font-size: 14px;
	line-height: 1.7;
	border: 1px solid var(--c-red);
	border-radius: 10px;
}

.wpcf7 form.sent .wpcf7-response-output {
	color: var(--c-ink);
	background: #fff4d8;
	border-color: var(--c-gold);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	color: var(--c-red);
	background: #fff1f1;
}

@media (min-width: 768px) {
	.p-contact-page {
		padding: 96px 0 112px;
	}

	.p-contact-page .l-inner {
		gap: 40px;
	}

	.p-contact-page__tel {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px 20px;
		justify-content: center;
		padding: 24px;
		border-radius: 16px;
	}

	.p-contact-page__tel-label,
	.p-contact-page__tel-hours {
		font-size: 14px;
	}

	.p-contact-page__tel-number {
		font-size: 30px;
	}

	.p-contact-page__form {
		padding: 48px clamp(24px, 5vw, 64px);
	}

	.p-form {
		gap: 28px;
	}

	.p-form__label {
		font-size: 16px;
	}

	.p-form .wpcf7-checkbox {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.p-form .wpcf7-submit {
		width: min(100%, 360px);
		border-radius: 8px;
	}
}

/* --------------------------------------------------------------------------
   22. Generic pages (index.php / 404.php)
   -------------------------------------------------------------------------- */
.p-page {
	padding: 80px 0 112px;
}

.p-page__title {
	margin-bottom: 32px;
	font-size: clamp(28px, 3.333vw, 40px);
	font-weight: 800;
	line-height: 1.3;
}

.p-page__entry-title {
	font-size: 20px;
	font-weight: 700;
}

.p-page__article + .p-page__article {
	margin-top: 32px;
}

.p-page__content > * + * {
	margin-top: 1.5em;
}
