@charset "UTF-8";
/*
 * 共通スタイル
 * 基準：PC 1440px（数値は clamp / vw に換算、換算元の px をコメントで残す）
 * SP：レスポンシブで最適化（375px 想定）
 */

/* ===== Tokens ===== */
:root {
	/* 色 */
	--c-green: #2e6b3f;        /* 見出し・本文・ボタン */
	--c-green-dark: #1f3a29;   /* フッター・数字・ビジョンなど濃色セクション */
	--c-green-light: #3d8752;  /* ボタンhover */
	--c-cream: #f4f1e0;        /* ベースのクリーム背景 */
	--c-cream-deep: #efead3;   /* 販路開拓など一段濃いクリーム */
	--c-offwhite: #fafbf6;     /* オフホワイト背景 */
	--c-white: #fff;           /* カード */
	--c-beige: #e5d9c8;        /* ブロブ形状（お客様の声 / 契約栽培） */
	--c-mint: #cfe0d6;         /* 行動基準セクション */
	--c-line: #d9d9d9;         /* 罫線 */
	--c-gray: #4d4d4d;         /* カードの補足テキスト */
	--c-field: #e9efe9;        /* フォーム入力欄 */
	--c-yellow: #efc869;       /* お客様の声：直売・IMOKO */
	--c-pink: #d06689;         /* お客様の声：地域・行政 */
	--c-imoko-taupe: #b9afa3;  /* IMOKO ベース */
	--c-imoko-dark: #24170f;   /* IMOKO 濃色 */
	--c-imoko-card: #2f221b;   /* IMOKO メニューカード */
	--c-imoko-orange: #e8a62c; /* IMOKO アクセント */

	/* フォント（欧文・数字を Jost で表示させるため先頭に置く） */
	--ff-ja: "Jost", "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	--ff-en: "Kalam", "Jost", cursive;
	--ff-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--ff-catch: "fot-tsukuardgothic-std", "FOT-TsukuARdGothic Std", "TsukuARdGothic Std", "Zen Kaku Gothic New", sans-serif; /* FVキャッチコピー */

	/* 寸法 */
	--header-h: 100px;
	--container: 1080px;
	--gutter: 24px;
	--radius: 8px;
	--shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
	--sec-py: clamp(80px, 9.722vw, 140px); /* 140px @1440 */
	--wave: clamp(24px, 3.5vw, 50px);      /* 背景画像の波の高さ（50px @1440） */
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	:root {
		--header-h: 64px;
		--gutter: 20px;
		--sec-py: min(18.667vw, 90px); /* 70px @375 */
	}
}

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

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

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

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

img,
svg,
video,
iframe {
	max-width: 100%;
	vertical-align: middle;
}

img {
	height: auto;
}

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

input,
textarea,
select {
	font: inherit;
	color: inherit;
}

address {
	font-style: normal;
}

table {
	border-collapse: collapse;
}

/* ===== Base ===== */
body {
	overflow-x: clip;
	font-family: var(--ff-ja);
	font-size: clamp(14px, 1.042vw, 15px); /* 15px @1440 */
	font-weight: 500;
	line-height: 2;
	letter-spacing: 0.08em;
	color: var(--c-green);
	background: var(--c-offwhite);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.3s, color 0.3s, background-color 0.3s;
}

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

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

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 8px 16px;
	clip: auto;
	color: var(--c-white);
	background: var(--c-green);
}

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

.l-container--wide {
	--container: 1200px;
}

.l-container--narrow {
	--container: 896px;
}

.l-container--sm {
	--container: 1000px;
}

.l-main {
	display: block;
}

/* ===== Header ===== */
.l-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	transition: background-color 0.3s, box-shadow 0.3s;
}

.l-header.is-scrolled {
	background: rgba(244, 241, 224, 0.95);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.l-header__inner {
	position: relative;
	z-index: 2;
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding-inline: clamp(20px, 4.792vw, 69px) clamp(20px, 4.861vw, 70px); /* 69px / 70px @1440 */
}

.l-header__logo {
	position: relative;
	z-index: 3; /* SPメニュー展開時もロゴを表示 */
	flex-shrink: 0;
	width: clamp(200px, 20.972vw, 302px); /* 302px @1440 */
	line-height: 1;
}

.l-header__logo img {
	width: 100%;
}

.l-header__nav {
	display: flex;
	gap: clamp(16px, 1.667vw, 24px);
	align-items: center;
}

.l-header__menu {
	display: flex;
	gap: clamp(10px, 1.111vw, 16px); /* 16px @1440 */
	font-size: clamp(12px, 0.903vw, 13px); /* 13px @1440 */
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.l-header__menu a {
	position: relative;
	display: block;
	padding-block: 6px;
}

.l-header__menu a::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	content: "";
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s;
}

.l-header__menu .current-menu-item a::after,
.l-header__menu a[aria-current="page"]::after {
	transform: scaleX(1);
}

.l-header__contact {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: clamp(150px, 13.75vw, 198px); /* 198px @1440 */
	height: 53px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--c-white);
	background: var(--c-green);
	border-radius: 999px;
}

.l-header__toggle {
	display: none;
}

.l-header__deco {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	width: clamp(100px, 11.806vw, 170px); /* 170px @1440 */
	pointer-events: none;
	transition: opacity 0.3s;
}

.l-header.is-scrolled .l-header__deco {
	opacity: 0;
}

/* IMOKOページはヘッダーの配色を切り替える */
.is-imoko .l-header.is-scrolled {
	background: rgba(185, 175, 163, 0.95);
}

.is-imoko .l-header__contact {
	color: var(--c-imoko-dark);
	background: var(--c-imoko-orange);
}

@media (hover: hover) {
	.l-header__menu a:hover::after {
		transform: scaleX(1);
		transform-origin: left;
	}

	.l-header__contact:hover {
		background: var(--c-green-light);
	}

	.is-imoko .l-header__contact:hover {
		background: #f0b84e;
	}
}

@media (max-width: 1199px) {
	.l-header__toggle {
		position: relative;
		z-index: 3;
		display: block;
		width: 48px;
		height: 48px;
		background: var(--c-green);
		border-radius: 50%;
	}

	.is-imoko .l-header__toggle {
		background: var(--c-imoko-dark);
	}

	.l-header__toggle span {
		position: absolute;
		left: 14px;
		width: 20px;
		height: 2px;
		background: var(--c-white);
		border-radius: 2px;
		transition: transform 0.3s, opacity 0.3s;
	}

	.l-header__toggle span:nth-child(1) { top: 17px; }
	.l-header__toggle span:nth-child(2) { top: 23px; }
	.l-header__toggle span:nth-child(3) { top: 29px; }

	.l-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.l-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.l-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

	.l-header__nav {
		position: fixed;
		inset: 0;
		z-index: 2;
		flex-direction: column;
		gap: 32px;
		justify-content: center;
		padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
		overflow-y: auto;
		visibility: hidden;
		background: var(--c-cream);
		opacity: 0;
		transition: opacity 0.3s, visibility 0.3s;
	}

	.is-imoko .l-header__nav {
		background: var(--c-imoko-taupe);
	}

	.is-menu-open .l-header__nav {
		visibility: visible;
		opacity: 1;
	}

	.l-header__menu {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 4px 24px;
		width: min(100%, 420px);
		font-size: 15px;
	}

	.l-header__menu a {
		padding: 12px 4px;
		border-bottom: 1px dashed rgba(46, 107, 63, 0.3);
	}

	.l-header__menu a::after {
		display: none;
	}

	.l-header__contact {
		width: min(100%, 300px);
		height: 56px;
	}

	.l-header__tel.u-sp {
		display: grid;
		place-items: center;
		width: min(100%, 300px);
		height: 56px;
		font-size: 16px;
		font-weight: 700;
		border: 1px solid currentColor;
		border-radius: 999px;
	}

	.l-header__deco {
		width: 90px;
	}
}

/* ===== Footer ===== */
.l-footer {
	position: relative;
	z-index: 1;
	padding-top: clamp(100px, 9.722vw, 140px); /* 波 + 余白 */
	margin-top: calc(var(--wave) * -1);
	color: var(--c-white);
	background: url("../img/footer/common-back-footer-sitemap.webp") center top / 100% 100% no-repeat;
}

.l-footer__inner {
	display: flex;
	gap: 40px;
	align-items: flex-start;
	justify-content: space-between;
}

.l-footer__logo {
	width: clamp(240px, 21.597vw, 311px); /* 311px @1440 */
	line-height: 1;
}

.l-footer__tel {
	margin-top: 16px;
	font-size: clamp(18px, 1.528vw, 22px); /* 22px @1440 */
	font-weight: 500;
	letter-spacing: 0.04em;
}

.l-footer__address {
	display: grid;
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.9;
}

.l-footer__sns {
	margin-top: 4px;
	font-size: 13px;
}

.l-footer__sns a {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.l-footer__nav {
	max-width: 330px;
	padding-top: 40px;
}

.l-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	font-size: 12px;
	font-weight: 700;
	line-height: 2.2;
}

.l-footer__copy {
	padding: 48px 0 16px;
	font-size: 10px;
	text-align: center;
}

.l-footer__copy small {
	font-size: inherit;
}

@media (hover: hover) {
	.l-footer a:hover {
		opacity: 0.7;
	}
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.l-footer {
		padding-top: 80px;
		background-size: cover;
		background-color: var(--c-green-dark);
		background-position: center top;
	}

	.l-footer__inner {
		flex-direction: column;
		gap: 24px;
	}

	.l-footer__address {
		font-size: 12px;
	}

	.l-footer__nav {
		max-width: none;
		padding-top: 0;
	}

	.l-footer__menu {
		gap: 0 18px;
	}

	.l-footer__copy {
		padding-top: 32px;
	}
}

/* ===== Section Title ===== */
.c-sec-title__en {
	font-family: var(--ff-en);
	font-size: clamp(18px, 1.667vw, 24px); /* 24px @1440 */
	font-weight: 300;
	line-height: 1.4;
	letter-spacing: 0.12em;
}

.c-sec-title__ja {
	margin-top: 4px;
	font-size: clamp(24px, 2.5vw, 36px); /* 36px @1440 */
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.12em;
}

.c-sec-title--center {
	text-align: center;
}

.c-sec-title--white {
	color: var(--c-white);
}

.c-sec-title--sm .c-sec-title__ja {
	font-size: clamp(22px, 2.222vw, 32px); /* 32px @1440 */
}

/* 本文ブロック（段落の間隔） */
.c-text > * + * {
	margin-top: 1em;
}

.c-text--lg {
	line-height: 2.2;
}

/* ===== Button ===== */
.c-btn {
	position: relative;
	display: inline-flex;
	gap: 28px;
	align-items: center;
	justify-content: center;
	min-width: clamp(220px, 17.917vw, 258px); /* 258px @1440 */
	min-height: 53px;
	padding: 10px 32px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.1em;
	color: var(--c-white);
	background: var(--c-green);
	border: 2px solid var(--c-green);
	border-radius: 999px;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.c-btn__arrow {
	font-weight: 400;
	transition: transform 0.3s;
}

.c-btn--white {
	color: var(--c-green);
	background: var(--c-white);
	border-color: var(--c-white);
}

.c-btn--outline {
	color: var(--c-green);
	background: transparent;
}

.c-btn--orange {
	color: var(--c-imoko-dark);
	background: var(--c-imoko-orange);
	border-color: var(--c-imoko-orange);
}

.c-btn:disabled {
	cursor: not-allowed;
	opacity: 0.85;
}

@media (hover: hover) {
	.c-btn:not(:disabled):hover {
		background: var(--c-green-light);
		border-color: var(--c-green-light);
	}

	.c-btn:hover .c-btn__arrow {
		transform: translateX(4px);
	}

	.c-btn--white:not(:disabled):hover,
	.c-btn--outline:not(:disabled):hover {
		color: var(--c-white);
	}

	.c-btn--orange:not(:disabled):hover {
		background: #f0b84e;
		border-color: #f0b84e;
	}
}

.c-sub-link {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	font-size: 13px;
}

/* ===== Wave Background =====
 * 背景画像（上下が波形で透過）を 100% 100% で敷き、
 * 透過部分には前後のセクション色（--before / --after）を見せる。
 * SPは縦長になるため cover に切り替えて波の形を保つ。
 */
.u-wave {
	--before: transparent;
	--after: transparent;
	position: relative;
	background:
		var(--wave-img) center / 100% 100% no-repeat,
		linear-gradient(var(--before) 50%, var(--after) 50%);
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.u-wave {
		background-size: cover, auto;
	}
}

/* ===== Media（テキスト + 画像の2カラム） ===== */
.c-media {
	display: grid;
	grid-template-columns: 1fr minmax(0, 0.92fr);
	gap: clamp(32px, 4.444vw, 64px);
	align-items: center;
}

.c-media--reverse .c-media__img {
	order: -1;
}

.c-media--reverse {
	grid-template-columns: minmax(0, 0.92fr) 1fr;
}

.c-media__img {
	position: relative;
}

.c-media__img > img:not(.c-deco) {
	width: 100%;
}

.c-media__body .c-text,
.c-media__body .c-btn {
	margin-top: clamp(20px, 2.222vw, 32px);
}

.c-media__body .c-btn {
	margin-top: clamp(32px, 3.333vw, 48px);
}

/* 写真の周りの手描きアイコン */
.c-deco {
	position: absolute;
	pointer-events: none;
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.c-media,
	.c-media--reverse {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.c-media__img {
		order: -1;
		width: min(100%, 480px);
		margin-inline: auto;
	}

	.c-deco {
		scale: 0.7;
	}
}

/* ===== Card ===== */
.c-card {
	padding: clamp(20px, 1.944vw, 28px);
	background: var(--c-white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.c-card__title {
	font-size: clamp(17px, 1.389vw, 20px); /* 20px @1440 */
	font-weight: 700;
	line-height: 1.6;
}

.c-card__text {
	margin-top: 12px;
	font-size: 13px;
	line-height: 2;
	color: var(--c-gray);
}

.c-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 1.389vw, 20px) clamp(16px, 1.389vw, 20px);
}

/* 階段状にずらすステップ（デザインのリズムを再現） */
.c-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	align-items: start;
	counter-reset: step;
}

.c-steps__item:nth-child(2) { margin-top: 20px; }
.c-steps__item:nth-child(3) { margin-top: 40px; }

.c-steps__num {
	font-family: var(--ff-en);
	font-size: clamp(18px, 1.389vw, 20px);
	font-weight: 300;
	letter-spacing: 0.12em;
}

.c-steps__title {
	font-size: clamp(16px, 1.25vw, 18px);
	font-weight: 700;
	line-height: 1.5;
}

.c-steps .c-card__text {
	margin-top: 10px;
}

/* 小さいラベル（番号や作付面積など） */
.c-label {
	display: inline-block;
	padding: 1px 12px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--c-white);
	background: var(--c-green);
	border-radius: 999px;
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.c-card-grid,
	.c-steps {
		grid-template-columns: 1fr;
	}

	.c-steps__item:nth-child(n) {
		margin-top: 0;
	}
}

@media (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
	.c-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ===== Table ===== */
.c-table {
	width: 100%;
	font-size: clamp(13px, 0.972vw, 14px); /* 14px @1440 */
	line-height: 1.9;
	background: var(--c-white);
	box-shadow: var(--shadow);
}

.c-table th,
.c-table td {
	padding: 14px 28px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--c-line);
}

.c-table tr:last-child th,
.c-table tr:last-child td {
	border-bottom: 0;
}

.c-table th {
	width: 24%;
	font-weight: 500;
	color: #6aa07a;
	white-space: nowrap;
}

.c-table td {
	color: var(--c-green);
}

.c-table--history th {
	width: 30%;
}

.c-table--compact th,
.c-table--compact td {
	padding: 10px 28px;
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.c-table--stack th,
	.c-table--stack td {
		display: block;
		width: 100%;
		padding: 12px 18px;
	}

	.c-table--stack th {
		padding-bottom: 0;
		border-bottom: 0;
	}

	.c-table th,
	.c-table td {
		padding-inline: 16px;
	}
}

/* ===== Voice bubble（手描き線つきの吹き出し） ===== */
.c-voice {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(24px, 3.472vw, 50px);
	justify-content: center;
}

.c-voice__item {
	position: relative;
	display: grid;
	place-content: center;
	width: clamp(260px, 18.056vw, 260px);
	aspect-ratio: 404 / 255;
	padding: 0 24px 24px;
	text-align: center;
	background: var(--voice-img) center / contain no-repeat;
}

.c-voice__item:nth-child(2) {
	aspect-ratio: 416 / 294;
	background-image: var(--voice-img-2);
}

.c-voice__who {
	display: flex;
	gap: 6px;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	line-height: 1.6;
}

.c-voice__who::before {
	width: 15px;
	height: 12px;
	content: "";
	background: var(--quote-img, url("../img/icon/icon-quotationmark-green.svg")) center / contain no-repeat;
}

.c-voice__text {
	margin-top: 4px;
	font-size: clamp(15px, 1.111vw, 16px);
	font-weight: 700;
	line-height: 1.6;
}

@media (min-width: 768px) {
	.c-voice__item {
		width: 300px;
	}
}

/* ===== Form ===== */
.c-form {
	padding: clamp(24px, 2.778vw, 40px) clamp(20px, 2.5vw, 36px) clamp(32px, 3.333vw, 48px);
	background: var(--c-white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.c-form__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px 24px;
}

.c-form__item--full {
	grid-column: 1 / -1;
}

.c-form__label {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
	color: #333;
}

.c-form__req {
	padding: 0 10px;
	font-size: 11px;
	font-weight: 500;
	color: var(--c-white);
	background: var(--c-green);
	border-radius: 999px;
}

.c-form__input {
	display: block;
	width: 100%;
	height: 44px;
	padding: 8px 12px;
	font-size: 14px;
	color: #333;
	background: var(--c-field);
	border: 1px solid var(--c-green);
	border-radius: 4px;
}

/* SP：16px 未満だと iOS で入力時に画面が拡大されるため 16px にする */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.c-form__input,
	.c-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
	.c-form select,
	.c-form textarea {
		font-size: 16px;
	}
}

.c-form__input::placeholder {
	color: #9aa59c;
}

.c-form__input--textarea {
	height: 120px;
	resize: vertical;
}

.c-form__note {
	margin-top: 16px;
	font-size: 13px;
	line-height: 1.7;
	color: #333;
}

.c-form__note a {
	text-decoration: underline;
}

.c-form__submit {
	margin-top: 40px;
	text-align: center;
}

/* Contact Form 7 用の最低限の調整 */
.c-form .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]) {
	width: 100%;
	padding: 8px 12px;
	background: var(--c-field);
	border: 1px solid var(--c-green);
	border-radius: 4px;
}

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

.c-form .wpcf7-form-control.c-form__input--textarea {
	height: 120px;
}

.c-form .wpcf7-not-valid-tip {
	margin-top: 4px;
	font-size: 12px;
	color: #c0392b;
}

.c-form .wpcf7-response-output {
	margin: 24px 0 0 !important;
	font-size: 13px;
	text-align: center;
}

.c-form .wpcf7-spinner {
	display: block;
	margin: 12px auto 0;
}

.c-form .wpcf7-submit {
	cursor: pointer;
	min-width: 258px;
	min-height: 53px;
	font-weight: 700;
	color: var(--c-white);
	background: var(--c-green);
	border: 0;
	border-radius: 999px;
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.c-form__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* ===== FV（下層共通） ===== */
.p-fv {
	position: relative;
	height: 56.667vw; /* 816px @1440 */
	min-height: 520px;
}

/* 下端の波（透過）から次セクションの色を見せるため --fv-after を敷く */
.p-fv--bg {
	background:
		url("../img/fv/standard-back-fv.webp") center bottom / 100% 100% no-repeat,
		linear-gradient(transparent 80%, var(--fv-after, transparent) 80%);
}

.p-fv__photo {
	position: absolute;
	top: 4.653vw; /* 67px @1440 */
	left: 0;
	width: 92.5vw; /* 1332px @1440 */
}

.p-fv__photo img {
	width: 100%;
}

.p-fv__title-wrap {
	position: absolute;
	top: 14.5vw;  /* 209px @1440 */
	left: 3.75vw; /* 54px @1440 */
	z-index: 1;
	width: 26vw;
}

/* 見出しの背後の白いぼかし（デザインの光彩を再現） */
.p-fv__title-wrap::before {
	position: absolute;
	inset: -93% -23% -15% -39%; /* 文字に重なるよう左上寄せ・従来比1.3倍 */
	z-index: -1;
	content: "";
	background: radial-gradient(closest-side, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0));
	filter: blur(6px);
}

.p-fv__title {
	padding-left: 2.8vw;
	font-family: var(--ff-catch);
	font-size: clamp(22px, 2.5vw, 44px); /* 36px @1440 */
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.08em;
	transform: rotate(-12deg);
	transform-origin: left bottom;
}

.p-fv__title-en {
	font-family: var(--ff-catch);
	letter-spacing: 0.02em;
}

.p-fv__title-line {
	display: block;
	width: 20.903vw; /* 301px @1440 */
	margin-top: -2.4vw;
}

.p-fv__speech {
	position: absolute;
	top: 6.4vw;      /* 92px @1440 */
	right: 4vw;      /* 58px @1440 */
	z-index: 1;
	display: grid;
	place-items: center;
	width: 18.056vw; /* 260px @1440 */
	aspect-ratio: 519 / 419;
	font-family: var(--ff-catch);
	font-size: clamp(12px, 1.25vw, 22px); /* 18px @1440 */
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0.08em;
	background: url("../img/fv/fv-speech.webp") center / contain no-repeat;
}

.p-fv__speech span {
	display: block;
	transform: rotate(12deg);
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.p-fv {
		height: auto;
		min-height: 0;
		padding: calc(var(--header-h) + 8px) 0 64px;
	}

	.p-fv__photo {
		position: relative;
		top: 0;
		width: 100%;
	}

	.p-fv__title-wrap {
		top: calc(var(--header-h) + 8vw);
		left: 4vw;
		width: 48vw;
	}

	.p-fv__title {
		font-size: min(6.4vw, 32px); /* 24px @375 */
	}

	.p-fv__title-line {
		width: 40vw;
		margin-top: -3vw;
	}

	.p-fv__speech {
		top: auto;
		right: 2vw;
		bottom: 8px;
		width: 38vw;
		font-size: min(2.7vw, 14px); /* 10px @375 */
	}
}

/* SP縦向き：FVを画面の高さいっぱいにする */
@media (max-width: 767px) and (orientation: portrait), (orientation: portrait) and (max-width: 1023px) {
	/*
	 * デザイン fv-top-spイメージ（375×631）基準。
	 * 上部に見出し、中〜下部に横幅いっぱいの写真、右下に吹き出し。
	 */
	.p-fv {
		height: 100vh;
		height: 100svh; /* アドレスバー表示時の高さ */
		min-height: 560px;
		max-height: 1100px;
		padding: 0;
	}

	/*
	 * 写真は波形マスク済み画像（横長）を縦に拡大して中央を切り抜き、
	 * 上下の波をCSSのマスクで付け直す（元画像の透過部分は枠外に逃がす）。
	 */
	.p-fv__photo {
		position: absolute;
		top: 33%;
		bottom: 12%;
		width: 100%;
		overflow: hidden;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 375 100' preserveAspectRatio='none'%3E%3Cpath d='M0 7C95 1 205-2 300 2c30 1 55 3 75 6v84c-85 8-215 9-375-2z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 375 100' preserveAspectRatio='none'%3E%3Cpath d='M0 7C95 1 205-2 300 2c30 1 55 3 75 6v84c-85 8-215 9-375-2z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	}

	.p-fv__photo img {
		position: absolute;
		top: -10%;
		left: 0;
		height: 120%;
		object-fit: cover;
		object-position: 45% 50%;
	}

	.p-fv__title-wrap {
		top: calc(var(--header-h) + 7vw);
		left: 5vw;
		width: 72vw;
	}

	.p-fv__title {
		padding-left: 4vw;
		font-size: min(7.4vw, 40px); /* 28px @375 */
	}

	.p-fv__title-line {
		width: 58vw;
		margin-top: -10vw;
	}

	.p-fv__speech {
		top: auto;
		right: -1vw;
		bottom: 1.5%;
		width: 52vw;
		font-size: min(3.7vw, 20px); /* 14px @375 */
	}
}

/* ===== CTA（お問い合わせ） ===== */
.p-cta {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 48.472vw; /* 698px @1440 */
	padding-block: calc(var(--wave) + 40px) calc(var(--wave) + 60px);
	overflow: hidden;
	background:
		var(--cta-img, url("../img/footer/common-back-footer-contact.webp")) center top / 100% 100% no-repeat,
		linear-gradient(var(--cta-before, transparent) 50%, transparent 50%);
}

.p-cta--white {
	--cta-img: url("../img/company/company-back-footer-contact-company.webp");
}

.p-cta__inner {
	position: relative;
	z-index: 1;
}

/* PC: 左右の画像の間に収まるよう、本文の開始位置を画面幅基準で決める */
@media (min-width: 768px) and (orientation: landscape), (min-width: 1024px) {
	.p-cta__inner {
		width: 100%;
		max-width: none;
		margin: 0;
		padding-right: var(--gutter);
		padding-left: max(var(--gutter), min(13.9vw, 52.7vw - 550px)); /* 200px @1440 */
	}
}

.p-cta__body {
	width: min(100%, 560px);
}

.p-cta__text {
	margin-top: 28px;
	font-size: 14px;
}

.p-cta__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 32px;
}

.p-cta__btns .c-btn {
	min-width: min(100%, 258px);
}

.p-cta__img-left {
	position: absolute;
	top: 18%;
	left: 0;
	width: 9.167vw; /* 132px @1440 */
}

.p-cta__img-right {
	position: absolute;
	top: 11.5%;
	right: 0;
	width: 47.292vw; /* 681px @1440 */
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.p-cta {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
		padding-block: 70px 90px;
		background-size: cover, auto;
	}

	.p-cta__img-left {
		display: none;
	}

	.p-cta__img-right {
		position: relative;
		top: 0;
		align-self: flex-end;
		order: -1;
		width: 88vw;
		margin-bottom: 24px;
	}

	.p-cta__btns .c-btn {
		width: 100%;
	}
}

/* ===== Scroll fade-in =====
 * main.js が対象要素に .js-fade を付け、画面内に入ったら .is-inview を付与する。
 * 横並びの要素は左から順に --fade-delay（0.5s刻み）をずらして表示する。
 */
.js .js-fade {
	opacity: 0;
	transform: translateY(40px);
	transition:
		opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
		transform 1s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--fade-delay, 0s);
}

.js .js-fade.is-inview {
	opacity: 1;
	transform: none;
}

/* ===== SP固定フッターバー（電話・お問い合わせ） ===== */
.l-fixbar {
	display: none;
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.l-fixbar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 90; /* ヘッダー・SPメニュー（100）より下 */
		display: grid;
		grid-template-columns: 1fr 1fr;
		padding-bottom: env(safe-area-inset-bottom);
		background: var(--c-green-dark);
		box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);
	}

	.l-fixbar__btn {
		display: flex;
		gap: 8px;
		align-items: center;
		justify-content: center;
		min-height: 60px;
		font-size: 14px;
		font-weight: 700;
		line-height: 1.3;
		color: var(--c-white);
		letter-spacing: 0.05em;
	}

	.l-fixbar__btn--tel {
		background: var(--c-green);
	}

	.l-fixbar__btn span {
		display: grid;
	}

	.l-fixbar__btn small {
		font-size: 11px;
		font-weight: 500;
		letter-spacing: 0.02em;
	}

	.l-fixbar__icon {
		flex-shrink: 0;
	}

	/* バーで最下部のコピーライトが隠れないように */
	body {
		padding-bottom: calc(60px + env(safe-area-inset-bottom));
	}
}

/* ===== Utility ===== */
.u-pc {
	display: revert;
}

.u-sp {
	display: none !important;
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.u-pc {
		display: none !important;
	}

	.u-sp {
		display: revert !important;
	}
}

@media (max-width: 1199px) {
	.l-header__tel.u-sp {
		display: grid !important;
	}
}

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

/* 横向きで高さの低い画面：FVを詰める */
@media (orientation: landscape) and (max-height: 520px) {
	.p-fv {
		min-height: 0;
	}

	.l-header__nav {
		justify-content: flex-start;
	}
}

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

	.js .js-fade {
		opacity: 1;
		transform: none;
	}

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