/* ================================================
   common.css - アオキ畜産
================================================ */

/* ================================
   カスタムプロパティ
================================ */
:root {
	/* カラー（白・青ベース） */
	--color-primary: #2a6496;
	--color-primary-dark: #1a4a70;
	--color-primary-light: #eaf3fa;
	--color-secondary: #5ba3d0;
	--color-accent: #f0a500;
	--color-text: #333333;
	--color-title: #2a2a2a;
	--color-text-light: #6a6a6a;
	--color-bg: #ffffff;
	--color-bg-light: #f5f9fd;
	--color-bg-fafafa: #fafafa;
	--color-bg-skyblue: #c8e6fa;
	--color-border: #d6e6f0;

	/* ================================
       フォント
       【日本語メイン】
         ✅ 使用中：Kiwi Maru
         比較用：Zen Maru Gothic（下2行を解除し上2行をコメントアウト）
       【英字装飾 --font-en】
         ✅ 使用中：Caveat
         候補：Itim / Slackside One（header.phpのコメントアウトと合わせて切り替え）
    ================================ */
	--font-family: 'Kiwi Maru', sans-serif;
	--font-heading: 'Kiwi Maru', sans-serif;
	/* --font-family:  'Zen Maru Gothic', sans-serif; */
	/* --font-heading: 'Zen Maru Gothic', sans-serif; */
	--font-en: 'Caveat', cursive;
	/* ✅ Caveat */
	/* --font-en:   'Itim', cursive; */
	/* --font-en:   'Slackside One', cursive; */

	--body-font-size-sp: 1rem;
	--body-font-size-pc: clamp(1rem, 1.8vw, 1.1rem);
	--body-line-height-sp: 1.8;
	--body-line-height-pc: 1.9;
	--body-letter-spacing: 0.05em;

	/* 角丸 */
	--radius-xs: 0.25rem;
	--radius-sm: 0.5rem;
	--radius-md: 0.75rem;
	--radius-lg: 1rem;
	--radius-xl: 1.5rem;

	/* 影 */
	--shadow-sm: 0 2px 8px rgba(42, 100, 150, 0.06);
	--shadow-md: 0 4px 16px rgba(42, 100, 150, 0.1);
	--shadow-lg: 0 8px 20px rgba(42, 100, 150, 0.16);

	/* スペーシング */
	--spacing-xxs: 0.5rem;
	--spacing-xs: 0.75rem;
	--spacing-sm: 1.5rem;
	--spacing-md: 2rem;
	--spacing-lg: 3rem;
	--spacing-xl: 4rem;
	--spacing-xxl: 5.5rem;
	--spacing-3xl: 8rem;

	/* セクション幅 */
	--section-width-sm: 576px;
	--section-width-md: 768px;
	--section-width-lg: 1024px;
	--section-width-xl: 1200px;
}

/* ================================
   ボックスモデルリセット
================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* ================================
   ベーススタイル
================================ */
html {
	font-size: 16px;
	scroll-behavior: smooth;
	overflow-x: hidden;
	overscroll-behavior-y: none;
}

html:not(.js-ready) {
	scroll-behavior: auto;
}

/* 375px未満：375px幅でレイアウトしたまま終端幅に合わせてズームアウト */
/*
 * html に scale をかける。
 * position:fixed の要素（drawer-nav・hamburger）は後述の @media で上書きする。
 * （CSSカスケード上、.drawer-nav の宣言より後に置かないと上書きされるため
 *   .drawer-nav 補正用 @media はファイル末尾付近に別ブロックで定義している）
 */
@media (max-width: 374px) {
	html {
		width: 375px;
		transform-origin: top left;
		transform: scale(calc(100vw / 375));
	}
}

body {
	margin: 0;
	font-family: var(--font-family);
	color: var(--color-text);
	background-color: var(--color-bg);
	line-height: var(--body-line-height-sp);
	overflow-x: hidden;
	overscroll-behavior-x: none;
	touch-action: pan-y;
	letter-spacing: var(--body-letter-spacing);
}

@media (min-width: 768px) {
	body {
		line-height: var(--body-line-height-pc);
	}
}

body.menu-open {
	overflow: hidden;
}

/* 見出しリセット（ブラウザデフォルトの bold を上書き） */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	line-height: 1.4;
	margin: 0;
}

h1,
h2 {
	font-weight: 500;
}

h3,
h4,
h5,
h6 {
	font-weight: 500;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

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

button {
	appearance: none;
	-webkit-appearance: none;
	border: none;
	background: none;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	color: inherit;
}

/* ================================
   レイアウト共通
================================ */
.l-container {
	width: 90%;
	max-width: 576px;
	/* SP（〜767px）：576px */
	margin-inline: auto;
}

@media (min-width: 768px) {
	.l-container {
		max-width: 720px;
		/* MD（768px〜1023px）：720px */
	}
}

@media (min-width: 1024px) {
	.l-container {
		max-width: 1300px;
		/* PC（1024px〜）：制限なし（既存） */
	}
}

/* ================================
   共通コンポーネント
================================ */

/* セクションタイトルブロック（英語ラベル＋日本語h2の縦並び） */
.c-sec-title {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	margin: 0 0 2rem;
}

.c-sec-title .c-en-label {
	margin: 0;
}

.c-sec-title h2 {
	margin: 0;
}

/* 中央揃えモディファイア */
.c-sec-title--center {
	align-items: center;
	text-align: center;
}

/* イントロテキストエリア：c-sec-title＋pのラッパー */
.c-intro-body {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
}

@media (min-width: 1024px) {
	.c-intro-body {
		max-width: none;
		margin: 0;
	}
}

.c-intro-body p {
	font-size: clamp(1rem, 0.93rem + 0.3vw, 1.2rem);
}

/* サブラベルラッパー（タイトル＋足跡装飾） */
.c-sec-label-wrap {
	display: flex;
	align-items: flex-end;
	gap: 1rem;
	margin-bottom: 1.25rem;
	width: 100%;
}

.c-sec-label-wrap .c-sec-label {
	margin-bottom: 0;
	flex-shrink: 0;
}

.c-sec-label-deco {
	flex: 1;
	height: 28px;
	overflow: hidden;
	opacity: 0.3;
}

.c-sec-label-deco.is-visible {
	clip-path: inset(0 0% 0 0);
}

/* サブラベルブロック（英語ラベル＋日本語h3の縦並び） */
.c-sec-label {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: 0 0 1.25rem;
}

.c-sec-label .c-en-label {
	font-size: clamp(0.85rem, 2vw, 1rem);
	margin: 0;
}

.c-sec-label h3 {
	margin: 0;
}

/* 中央揃えモディファイア */
.c-sec-label--center {
	align-items: center;
	text-align: center;
}

/* 英語サブタイトル（タイトル上部） */
.c-en-label {
	display: block;
	font-family: var(--font-en);
	font-size: clamp(1rem, 2.5vw, 1.3rem);
	font-weight: 400;
	color: var(--color-primary);
	letter-spacing: 0.05em;
	margin: 0 0 0.25rem;
	line-height: 1;
}

/* ボタン（カプセル型・全セクション共通） */
.c-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 2rem;
	/* SP */
	background-color: var(--color-primary);
	color: #fff;
	border-radius: 9999px;
	font-size: 0.85rem;
	/* SP */
	letter-spacing: 0.1em;
	transition: none;
	white-space: nowrap;
	position: relative;
	overflow: hidden;
}

@media (min-width: 768px) {
	.c-btn {
		padding: 0.875rem 2.5rem;
		font-size: 0.9rem;
	}
}

@media (min-width: 1024px) {
	.c-btn {
		padding: 1rem 3rem;
		font-size: 1rem;
	}
}

@media (min-width: 1440px) {
	.c-btn {
		padding: 1.125rem 3.5rem;
		font-size: 1.05rem;
	}
}

/* 足跡：左（::before）・右（::after）共通 */
.c-btn::before,
.c-btn::after {
	content: '';
	display: block;
	width: 1em;
	height: 1em;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	opacity: 0.6;
	transition: opacity 0.25s ease;
	pointer-events: none;
	background-image: url('../images/pig-footprint.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	filter: brightness(0) invert(1);
}

/* 左の足跡 */
.c-btn::before {
	left: 0.75rem;
}

/* 右の足跡 */
.c-btn::after {
	right: 0.75rem;
}

/* ホバー時：足跡をくっきり */
.c-btn:hover::before,
.c-btn:hover::after {
	opacity: 1;
}

/* 白背景バリアント（recruit CTAなど暗い背景上で使用） */
.c-btn--outline {
	background-color: transparent;
	border: 2px solid #fff;
	color: #fff;
}

.c-btn--outline:hover {
	background-color: rgba(255, 255, 255, 0.15);
	box-shadow: none;
}

/* ページヒーロー：fv画像オーバーレイ */
.page-hero__fv-img {
	position: absolute;
	top: 0;
	height: 100%;
	width: 50%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
	pointer-events: none;
}

.page-hero__fv-img--left {
	left: 0;
}

.page-hero__fv-img--right {
	right: 0;
}

/* ページヒーロー（下層ページ共通） */
.page-hero {
	position: relative;
	min-height: 240px;
	aspect-ratio: 16 / 5;
	overflow: visible;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

/* ページヒーロー：看板イラスト（左下・wave上に重なる） */
.page-hero__sign {
	position: absolute;
	left: 3%;
	bottom: 0;
	width: clamp(120px, 11vw, 170px);
	height: auto;
	z-index: 2;
	pointer-events: none;
}

/* page-heroの波::after（参考サイトと同じアプローチ） */
.page-hero::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	aspect-ratio: 1300 / 160;
	background-image: var(--hero-wave-img, none);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	z-index: 1;
}

@media (min-width: 768px) {
	.page-hero {
		min-height: 320px;
	}
}

.page-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-color: var(--color-primary-light);
}

.page-hero__inner {
	position: relative;
	z-index: 1;
	text-align: center;
	width: 100%;
}

.page-hero__title {
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	font-weight: 500;
	color: var(--color-primary-dark);
}

/* ================================
   アンカーリンク スクロールオフセット
   ハンバーガー背景（hamburger::before）の高さに合わせる
   SP    : 6rem    → offset 7rem
   768px : 6.375rem → offset 7.5rem
   1024px: 7.125rem → offset 8rem
   1200px: 7.875rem → offset 9rem
================================ */
section[id] {
	scroll-margin-top: 7rem;
}

@media (min-width: 768px) {
	section[id] {
		scroll-margin-top: 7.5rem;
	}
}

@media (min-width: 1024px) {
	section[id] {
		scroll-margin-top: 8rem;
	}
}

@media (min-width: 1200px) {
	section[id] {
		scroll-margin-top: 9rem;
	}
}

/* セクション共通余白 */
section {
	padding: var(--spacing-xl) 0;
}

@media (min-width: 768px) {
	section {
		padding: var(--spacing-xxl) 0;
	}
}

/* ================================
   ロゴ（静的・追従なし）
================================ */
.site-logo {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
}

.site-logo__inner {
	display: flex;
	align-items: center;
	height: 4.75rem;
	/* hamburger::beforeから-1.25rem */
	padding-left: 0.75rem;
	/* hamburgerの横paddingと同じ */
}

.site-logo__img {
	height: 56px;
	width: auto;
	display: block;
}

@media (min-width: 576px) {
	.site-logo__inner {
		height: 4.75rem;
		padding-left: 0.75rem;
	}

	.site-logo__img {
		height: 64px;
	}
}

@media (min-width: 768px) {
	.site-logo__inner {
		height: 5.125rem;
		/* hamburger::before 768pxから-1.25rem */
		padding-left: 0.75rem;
	}

	.site-logo__img {
		height: 72px;
	}
}

@media (min-width: 1024px) {
	.site-logo__inner {
		height: 5.875rem;
		/* hamburger::before 1024pxから-1.25rem */
		padding-left: 0.875rem;
	}

	.site-logo__img {
		height: 80px;
	}
}

@media (min-width: 1200px) {
	.site-logo__inner {
		height: 6.625rem;
		/* hamburger::before 1200pxから-1.25rem */
		padding-left: 1.125rem;
	}
}

@media (min-width: 1440px) {
	.site-logo__inner {
		height: 7.375rem;
		/* hamburger::before 1440pxから-1.25rem */
		padding-left: 1.25rem;
	}
}

/* ================================
   ハンバーガー（固定・常時追従）
   構造：[ライングループ] [テキストグループ (menu / open 縦並び)]
================================ */
.hamburger {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 110;
	display: flex;
	flex-direction: row;
	/* 左：ライン、右：テキスト */
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem;
}

.hamburger::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 7.5rem;
	height: 5.625rem;
	/* 4:3 比率 */
	background-image: url('../images/hamburger-bg.webp');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: top right;
	z-index: -1;
}

@media (min-width: 576px) {
	.hamburger {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}

	.hamburger::before {
		width: 8rem;
		height: 6rem;
	}
}

/* 左：3本線ラッパー */
.hamburger__lines {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 28px;
	height: 44px;
	flex-shrink: 0;
}

.hamburger__line {
	display: block;
	width: 100%;
	height: 2px;
	background-color: #fff;
	border-radius: 9999px;
	transition:
		transform 0.3s ease,
		opacity 0.3s ease;
	transform-origin: center;
}

/* 2本目：豚の鼻ライン */
.hamburger__line--nose {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 2px;
	width: 70%;
	margin: 0 auto;
	background-color: #fff;
	position: relative;
	border-radius: 9999px;
}

/* 鼻の穴：両端の丸いドット */
.hamburger__nose {
	display: block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background-color: #fff;
	flex-shrink: 0;
	transition: opacity 0.3s ease;
}

/* 右：テキストグループ */
.hamburger__text {
	position: relative;
	width: 2.5rem;
	height: 2rem;
}

/* テキスト共通 */
.hamburger__label {
	font-family: var(--font-en);
	font-size: 0.95rem;
	font-weight: 400;
	color: #fff;
	letter-spacing: 0.05em;
	line-height: 1;
	display: block;
	position: absolute;
	left: 0;
	transition: opacity 0.4s ease;
}

/* menu：常時上段に表示 */
.hamburger__label--menu {
	top: 0;
	opacity: 1;
}

/* open：通常時は下段に表示 */
.hamburger__label--open {
	top: 1.1rem;
	opacity: 1;
}

/* close：通常時は下段に隠す */
.hamburger__label--close {
	top: 1.1rem;
	opacity: 0;
}

/* is-open時 */
.hamburger.is-open .hamburger__lines .hamburger__line:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.hamburger.is-open .hamburger__lines .hamburger__line:nth-child(2) {
	opacity: 0;
}

.hamburger.is-open .hamburger__nose {
	opacity: 0;
}

.hamburger.is-open .hamburger__lines .hamburger__line:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

.hamburger.is-open .hamburger__label--open {
	opacity: 0;
}

.hamburger.is-open .hamburger__label--close {
	opacity: 1;
}

@media (min-width: 576px) {
	.hamburger {
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
	}
}

@media (min-width: 768px) {
	.hamburger {
		top: 0;
		right: 0;
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
	}

	.hamburger::before {
		width: 8.5rem;
		height: 6.375rem;
		/* 4:3 比率 */
	}
}

@media (min-width: 1024px) {
	.hamburger {
		padding: 0.875rem 0.875rem;
		gap: 0.625rem;
	}

	.hamburger::before {
		width: 9.5rem;
		height: 7.125rem;
		/* 4:3 比率 */
	}

	.hamburger__lines {
		width: 34px;
		height: 54px;
		gap: 7px;
	}

	.hamburger__nose {
		width: 5px;
		height: 5px;
	}

	.hamburger__text {
		width: 3rem;
		height: 2.4rem;
	}

	.hamburger__label {
		font-size: 1.05rem;
	}

	.hamburger__label--open,
	.hamburger__label--close {
		top: 1.25rem;
	}

	.hamburger.is-open .hamburger__lines .hamburger__line:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	}

	.hamburger.is-open .hamburger__lines .hamburger__line:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	}
}

@media (min-width: 1200px) {
	.hamburger {
		padding: 0.925rem 1.125rem;
		gap: 0.75rem;
	}

	.hamburger::before {
		width: 10.5rem;
		height: 7.875rem;
		/* 4:3 比率 */
	}

	.hamburger__lines {
		width: 38px;
		height: 60px;
		gap: 8px;
	}

	.hamburger__text {
		width: 3.25rem;
		height: 2.65rem;
	}

	.hamburger__label {
		font-size: 1.15rem;
	}

	.hamburger__label--open,
	.hamburger__label--close {
		top: 1.375rem;
	}

	.hamburger.is-open .hamburger__lines .hamburger__line:nth-child(1) {
		transform: translateY(10px) rotate(45deg);
	}

	.hamburger.is-open .hamburger__lines .hamburger__line:nth-child(3) {
		transform: translateY(-10px) rotate(-45deg);
	}
}

@media (min-width: 1440px) {
	.hamburger {
		padding: 0.925rem 1.125rem;
		gap: 0.75rem;
	}

	.hamburger::before {
		width: 10.5rem;
		height: 7.875rem;
		/* 4:3 比率 */
	}

	.hamburger__lines {
		width: 38px;
		height: 60px;
		gap: 8px;
	}

	.hamburger__text {
		width: 3.25rem;
		height: 2.65rem;
	}

	.hamburger__label {
		font-size: 1.15rem;
	}

	.hamburger__label--open,
	.hamburger__label--close {
		top: 1.375rem;
	}

	.hamburger.is-open .hamburger__lines .hamburger__line:nth-child(1) {
		transform: translateY(10px) rotate(45deg);
	}

	.hamburger.is-open .hamburger__lines .hamburger__line:nth-child(3) {
		transform: translateY(-10px) rotate(-45deg);
	}
}

/* ================================
   ドロワーナビ
   閉：右端に隠れた状態（translateX(100%)）
   開：全画面（100dvh × 100vw）
   PC（1024px〜）：左カラム画像＋右カラムナビの2分割
================================ */
.drawer-nav {
	position: fixed;
	top: 0;
	right: 0;
	width: 100vw;
	height: 100dvh;
	background-color: var(--color-primary-dark);
	z-index: 105;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.6s ease;
}

.drawer-nav.is-open {
	opacity: 1;
	pointer-events: auto;
}

/* ---- 左カラム：画像（1023px以下は非表示） ---- */
.drawer-nav__image {
	display: none;
}

@media (min-width: 1024px) {
	.drawer-nav__image {
		display: block;
		flex: 1;
		height: 100dvh;
		overflow: hidden;
	}
}

.drawer-nav__image-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.drawer-nav__image-placeholder {
	width: 100%;
	height: 100%;
	background-color: var(--color-primary);
}

/* ================================================
 * 左右カラム境界の縦ウェーブ（1024px以上のみ表示）
 * 画像仕様：
 *   ファイル名 : drawer-wave.webp
 *   配置先  : assets/images/drawer-wave.webp
 *   サイズ    : 幅 80〜100px × 高さ 1000px以上（縦長）
 *   色       : 左側（画像側）「透明」、右側（ナビ側）「#1A4A70」
 *   波の形   : 山型を縦に3〜4回繰り返す構図推奨
 *   備考     : background-size: 100% 100%で縦に引き伸ばすため全画面高さに追従する
 * ================================================ */
.drawer-nav__wave {
	display: none;
}

@media (min-width: 1024px) {
	.drawer-nav__wave {
		display: block;
		position: absolute;
		right: 480px;
		/* ナビリストカラム幅（480px）に合わせて調整 */
		top: 0;
		width: 80px;
		height: 100%;
		/* 画像確定後に以下を有効化する */
		/* background-image: url("assets/images/drawer-wave.webp"); */
		background-size: 100% 100%;
		background-repeat: no-repeat;
		pointer-events: none;
		z-index: 1;
	}
}

/* ---- 右カラム：ナビリスト（上揃え・上パディングあり・下は画像配置のため0） ---- */
.drawer-nav__body {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 6rem 0 0;
}

@media (min-width: 768px) {
	.drawer-nav__body {
		padding: 7rem 0 0;
	}
}

@media (min-width: 1024px) {
	.drawer-nav__body {
		flex: 0 0 480px;
	}
}

.drawer-nav__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	text-align: left;
	width: 100%;
}

.drawer-nav__list li {
	border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.drawer-nav__list li:first-child {
	border-top: 1px dashed rgba(255, 255, 255, 0.3);
}

.drawer-nav__list a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.1rem;
	font-weight: 500;
	color: #fff;
	letter-spacing: 0.1em;
	padding: 1.25rem 0;
}

@media (max-height: 767px) {
	.drawer-nav__list a {
		font-size: 0.9rem;
		padding: 0.75rem 0;
	}
}

.drawer-nav__link-text {
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.drawer-nav__list a:hover .drawer-nav__link-text,
.drawer-nav__list a[aria-current='page'] .drawer-nav__link-text {
	opacity: 1;
}

.drawer-nav__icon {
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.drawer-nav__list a:hover .drawer-nav__icon,
.drawer-nav__list a[aria-current='page'] .drawer-nav__icon {
	opacity: 1;
}

/* __body直下：幅をmax-widthで制限するラッパー */
.drawer-nav__inner {
	width: 100%;
	max-width: 320px;
	height: 100%;
	display: flex;
	flex-direction: column;
}

/* nav全体を縦にまとめるコンテナ */
.drawer-nav__content {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	width: 90%;
	margin-inline: auto;
}

/* nav-list下：ロゴ・住所・TEL */
.drawer-nav__info {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.drawer-nav__info-logo-img {
	height: 56px;
	width: auto;
	display: block;
	opacity: 0.9;
}

.drawer-nav__info-address {
	font-size: 0.75rem;
	font-weight: 300;
	font-style: normal;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.6;
	margin: 0;
}

.drawer-nav__info-tel {
	font-size: 0.75rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
}

.drawer-nav__info-tel a {
	color: rgba(255, 255, 255, 0.8);
	transition: opacity 0.2s;
}

.drawer-nav__info-tel a:hover {
	opacity: 0.7;
}

/* 足跡アイコン */
.drawer-nav__icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	filter: brightness(0) invert(1);
	opacity: 0.7;
	object-fit: contain;
}

/* ================================
   オーバーレイ
   ※全画面ドロワーのため実質不要だが
     JS側の制御と合わせて残す
================================ */
.nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 90;
}

.nav-overlay.is-open {
	display: block;
}

/* 375px未満：position:fixed 要素の補正（CSSフォールバック）
 * ※ .drawer-nav { width: 100vw } より後に置くことでカスケードが正しく機能する。
 * JS (fixSmallViewport) が実行時に精密値を inline で設定する。以下は JS 未実行時のフォールバック。
 */
@media (max-width: 374px) {
	.drawer-nav {
		top: 0;
		left: 0;
		right: 0;
		width: auto;
		/* left:0 + right:0 + width:auto → html全幅（375px）を自動充填 */
		/* height は JS が逆算する。フォールバック：最小端末（320px）想定の概算値 */
		height: 150dvh;
	}
}

/* ================================
   フッター
================================ */
.site-footer {
	background-color: var(--color-primary);
	/* sec-recruitと同色 */
	color: var(--color-text);
	padding: 0 0 1rem;
}

.site-footer__inner {
	width: 90%;
	max-width: 1300px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
	text-align: center;
	background-color: #fafafa;
	border-radius: var(--radius-lg);
	padding: 1rem;
}

@media (min-width: 576px) {
	.site-footer__inner {
		padding: 1.5rem;
	}
}

/* Google Map ラッパー（innerの外側に独立） */
.site-footer__map-wrap {
	padding: var(--spacing-md) 0 0;
	/* 下の隙間をなくす */
}

.site-footer__map-inner {
	width: 85%;
	max-width: 1235px;
	margin-inline: auto;
	background-color: #fafafa;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	/* 768未満：縦並び */
	gap: 1.5rem;
	position: relative;
	z-index: 1;
	margin-bottom: -1rem;
}

@media (min-width: 576px) {
	.site-footer__map-inner {
		padding: 1.5rem;
		margin-bottom: -1.5rem;
	}
}

@media (min-width: 768px) {
	.site-footer__map-inner {
		flex-direction: row;
		/* 768以上：左テキスト・右地図 */
		align-items: stretch;
	}
}

/* map-text + イラストの縦並び（768未満：横並び） */
.site-footer__map-side {
	display: flex;
	flex-direction: row;
	/* 768未満：テキスト左・イラスト右 */
	align-items: stretch;
	gap: 1rem;
	flex: 0 0 auto;
}

@media (min-width: 768px) {
	.site-footer__map-side {
		flex-direction: column;
		/* 768以上：テキスト上・イラスト下 */
		width: 200px;
	}
}

.site-footer__map-text {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	flex: 65;
}

.site-footer__map-illust {
	flex: 35;
	background-color: var(--color-primary-light);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
}

@media (min-width: 768px) {
	.site-footer__map-illust {
		flex: none;
	}

	.site-footer__map-text {
		flex: 1;
	}
}

.site-footer__map-illust img {
	width: 95%;
	height: auto;
	display: block;
}

/* 仮プレースホルダー：イラスト配置時にis-placeholderを削除 */
.site-footer__map-illust.is-placeholder {
	width: 80px;
	height: 80px;
	background-color: var(--color-primary-light);
	border-radius: var(--radius-md);
	border: 2px dashed var(--color-border);
}

@media (min-width: 768px) {
	.site-footer__map-illust.is-placeholder {
		width: 100%;
		height: 100px;
	}
}

.site-footer__map-info {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.site-footer__map-info dt {
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--color-text-light);
	letter-spacing: 0.05em;
}

.site-footer__map-info dd {
	font-size: 0.875rem;
	font-weight: 300;
	color: var(--color-text);
	margin: 0.25rem 0 0;
	line-height: 1.7;
}

.site-footer__access-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.site-footer__access-list li {
	font-size: 0.85rem;
	color: var(--color-text);
	font-weight: 300;
}

.site-footer__access-list li span {
	font-weight: 500;
	color: var(--color-primary);
	margin-left: 0.125rem;
}

.site-footer__map-label {
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--color-text-light);
	letter-spacing: 0.1em;
	padding: 0;
	margin: 0;
	text-align: left;
}

/* Google Map */
.site-footer__map {
	width: 100%;
	flex: 1;
	height: 280px;
	border-radius: var(--radius-lg);
	overflow: hidden;
}

@media (min-width: 768px) {
	.site-footer__map {
		height: 360px;
	}
}

.site-footer__map iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.site-footer__logo-img {
	height: 56px;
	width: auto;
	display: block;
}

.site-footer__address {
	font-size: 0.8rem;
	font-weight: 300;
	font-style: normal;
	color: var(--color-text-light);
	margin: 0;
}

.site-footer__tel-number {
	font-size: 0.9rem;
	font-weight: 300;
	color: var(--color-text-light);
	margin: 0;
}

.site-footer__tel-number a {
	color: var(--color-primary);
	font-weight: 600;
}

.site-footer__tel-number a:hover {
	opacity: 0.75;
}

.site-footer__info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.site-footer__nav {
	margin-top: 0;
	width: 100%;
}

.site-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0.75rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 300;
	color: #fff;
	background-color: var(--color-primary);
	border-radius: var(--radius-md);
	width: 100%;
}

.site-footer__nav li {
	min-width: 7em;
	text-align: left;
}

@media (max-width: 474px) {
	.site-footer__nav ul {
		justify-content: flex-start;
	}
}

@media (min-width: 768px) {
	.site-footer__nav {
		width: auto;
	}

	.site-footer__nav ul {
		flex-wrap: nowrap;
		justify-content: center;
		gap: 0.5rem 1.5rem;
		padding: 0.6rem 1.75rem;
		border-radius: 9999px;
		width: auto;
	}

	.site-footer__nav li {
		min-width: 0;
		text-align: left;
	}
}

.site-footer__nav a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: color 0.3s ease;
}

.site-footer__nav-text {
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.site-footer__nav a:hover .site-footer__nav-text,
.site-footer__nav a[aria-current='page'] .site-footer__nav-text {
	opacity: 1;
}

.site-footer__nav-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.site-footer__nav-icon img {
	width: 1rem;
	height: 1rem;
	object-fit: contain;
	display: block;
	filter: brightness(0) invert(1);
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.site-footer__nav a:hover .site-footer__nav-icon img,
.site-footer__nav a[aria-current='page'] .site-footer__nav-icon img {
	opacity: 1;
}

.site-footer__copy {
	font-size: 0.75rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.6);
	text-align: center;
	padding: 1rem 0 0;
	margin: 0;
	width: 100%;
}

/* ================================
   採用案内 CTA（全ページ共通）
================================ */
.sec-cta-recruit {
	background-color: var(--color-primary);
	color: #fff;
	text-align: center;
}

.sec-cta-recruit__title {
	font-size: clamp(1.4rem, 3vw, 2rem);
	margin: 0 0 1rem;
}

.sec-cta-recruit__body p {
	font-size: clamp(1rem, 2vw, 1.1rem);
	font-weight: 300;
	margin: 0;
	opacity: 0.9;
}

.sec-cta-recruit .c-en-label {
	color: rgba(255, 255, 255, 0.8);
}

.sec-cta-recruit .c-sec-title {
	margin: 0;
	/* __inner の gap で管理するためリセット */
}

.sec-cta-recruit .c-sec-title .c-en-label {
	margin: 0;
}

.sec-cta-recruit .c-btn {
	background-color: #fff;
	color: var(--color-primary);
}

.sec-cta-recruit .c-btn::before,
.sec-cta-recruit .c-btn::after {
	background-image: url('../images/btn-blue-footprint.png');
	filter: none;
}

/* inner：2グループを縦並びでgap管理 */
.sec-cta-recruit__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
}

/* グループA：画像・導入文・採用ボタン */
.sec-cta-recruit__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	width: 100%;
}

/* グループB：導入文・関連リンク */
.sec-cta-recruit__nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5rem;
	width: 100%;
}

/* p + 採用ボタンのグループ */
.sec-cta-recruit__cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

/* リクルート画像エリア */
.sec-cta-recruit__image {
	width: 100%;
	max-width: 768px;
	border-radius: var(--radius-md);
	overflow: hidden;
}

.sec-cta-recruit__image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius-md);
}

/* 画像未配置時のプレースホルダー */
.sec-cta-recruit__image-placeholder {
	width: 100%;
	aspect-ratio: 16 / 7;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-md);
	border: 1.5px dashed rgba(255, 255, 255, 0.3);
}

/* 関連リンク導入文（sec-cta-recruit p と同スタイル・サイズのみ変更） */
.sec-cta-recruit__links-lead {
	font-size: clamp(1rem, 2vw, 1.1rem);
	margin: 0;
}

/* 関連リンク：こだわりボタンの豚イラストラッパー */
.sec-cta-recruit__link-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.sec-cta-recruit__link-wrap {
		width: 100%;
		max-width: 320px;
		margin: 0;
	}
}

.sec-cta-recruit__link-pig {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -60%);
	width: 140px;
	height: auto;
	display: block;
	pointer-events: none;
	z-index: 1;
}

.sec-cta-recruit__link-pig--commitment {
	transform: translate(-50%, -59%);
}

.sec-cta-recruit__link-pig--daily {
	transform: translate(-50%, -63.5%);
}

/* 関連リンクグループ */
.sec-cta-recruit__links {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	/* 768未満：横幅一杯 */
	gap: 5rem;
	width: 100%;
}

@media (min-width: 768px) {
	.sec-cta-recruit__links {
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 2.5rem;
	}
}

/* 関連リンクボタン（独自スタイル・後で画像装飾追加予定） */
.sec-cta-recruit__link-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
	color: rgba(255, 255, 255, 0.9);
	padding: 1.75rem 4.5rem;
	background-color: rgba(255, 255, 255, 0.12);
	border-radius: 9999px;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
	max-width: 400px;
	width: 100%;
	margin: 0 auto;
	/* 768未満：横幅一杯 */
}

@media (max-width: 767px) {
	.sec-cta-recruit__link-btn {
		padding: 1rem 2rem;
	}

	.sec-cta-recruit__link-prefix {
		font-size: 0.65rem;
	}

	.sec-cta-recruit__link-main {
		font-size: 0.95rem;
	}
}

@media (min-width: 768px) {
	.sec-cta-recruit__link-btn {
		width: 100%;
		max-width: 320px;
		margin: 0;
	}
}

.sec-cta-recruit__link-btn:hover {
	background-color: rgba(255, 255, 255, 0.22);
	color: #fff;
}

/* ボタン内：「アオキ畜産の」（小さめ・控えめ） */
.sec-cta-recruit__link-prefix {
	font-size: 1rem;
	font-weight: 300;
	opacity: 0.75;
	letter-spacing: 0.08em;
	line-height: 1;
	white-space: nowrap;
	/* 必ず1行で表示 */
	display: block;
}

/* ボタン内：メインテキスト（大め） */
.sec-cta-recruit__link-main {
	font-size: 1.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1;
	white-space: nowrap;
	/* 必ず1行で表示 */
	display: block;
}

/* .c-btn:hover の足跡演出はcommon.cssのベーススタイルをそのまま使用 */

/* ================================
   wave divider 共通（全ページ共通）
================================ */
.wave-divider {
	display: block;
	width: 100%;
	aspect-ratio: 1300 / 160;
	margin: 0;
	line-height: 0;
	position: relative;
	/* ::after達の持ち出し用 */
}

/* 波画像本体：bottom: -1pxで次セクションに1px重ねて境目を隔なす */
.wave-divider::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: 100%;
	background-image: var(--wave-img, none);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
}

.wave-divider--to-recruit {
	--wave-img: url('../images/blue-wave-center.webp');
	background-color: var(--color-bg);
	/* 上：下層ページの白背景と同色 */
}

/* ================================
   cta-recruit前 wave-divider：小豚装飾
   wave-divider--to-recruit（下層ページ）と
   wave-divider--commitment-to-recruit（TOP）の両方に対応
================================ */
.wave-divider__pig {
	position: absolute;
	left: 50%;
	bottom: -64px;
	transform: translateX(-50%);
	width: clamp(120px, 10vw, 150px);
	height: auto;
	z-index: 2;
	pointer-events: none;
}

/* 中央配置モディファイア */
.wave-divider__pig--center {
	left: 50%;
	transform: translateX(-50%);
	width: clamp(132px, 10vw, 180px);
}

/* 右下配置モディファイア */
.wave-divider__pig--right {
	left: auto;
	right: 4%;
	transform: none;
	width: clamp(132px, 10vw, 180px);
}

/* 左下配置モディファイア */
.wave-divider__pig--left {
	left: 4%;
	transform: none;
	width: clamp(132px, 10vw, 180px);
}

@media (min-width: 768px) {
	.wave-divider__pig--mini.wave-divider__pig--right {
		right: 20%;
		bottom: -96px;
	}

	.wave-divider__pig--mini.wave-divider__pig--left {
		left: 20%;
		bottom: -96px;
	}
}

/* 576未満時のみ改行 */
.u-br-sp {
	display: block;
}

@media (min-width: 576px) {
	.u-br-sp {
		display: none;
	}
}

/* ================================
   キーワード強調（丸み点線下線）
================================ */
.u-keyword--white {
	background-image: repeating-linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.6) 0px,
		rgba(255, 255, 255, 0.6) 4px,
		transparent 4px,
		transparent 8px
	);
	background-size: 8px 2px;
	background-repeat: repeat-x;
	background-position: 0 100%;
	padding-bottom: 4px;
}

.u-keyword {
	background-image: repeating-linear-gradient(
		90deg,
		rgba(42, 100, 150, 0.6) 0px,
		rgba(42, 100, 150, 0.6) 4px,
		transparent 4px,
		transparent 8px
	);
	background-size: 8px 2px;
	background-repeat: repeat-x;
	background-position: 0 100%;
	padding-bottom: 4px;
}


/* ================================
   ドロワーナビ：下部（info＋pig）
================================ */
.drawer-nav__footer {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.drawer-nav__pig {
	width: 100%;
	padding: 0 1rem;
	margin-top: auto;
	text-align: center;
}

.drawer-nav__pig img {
	width: 75%;
	height: auto;
	display: block;
	margin: 0 auto;
}
