@charset "UTF-8";
/* トップページ */

/* ===== Hero（FV + About 共通背景） ===== */
.p-top-hero {
	background: url("../img/top/top-back-fvabout.webp") center top / 100% 100% no-repeat;
}

.p-fv--top .p-fv__title-wrap {
	top: 13.4vw; /* 193px @1440 */
	width: 30vw;
}

.p-fv--top .p-fv__title {
	line-height: 1.5;
}

.p-fv__title-sm {
	font-size: 0.72em;
}

.p-fv--top .p-fv__title-line {
	margin-top: -4.6vw;
	margin-left: 1vw;
}

.p-fv--top .p-fv__speech {
	top: 7.6vw;
	right: 4.2vw;
}

.p-top-about {
	padding: clamp(0px, 0.5vw, 8px) 0 calc(var(--sec-py) + var(--wave));
}

.p-top-about .l-container {
	--container: 1120px;
	grid-template-columns: minmax(0, 500px) minmax(0, 574px);
	justify-content: space-between;
}

.p-top-about__deco {
	top: -4%;
	right: -2%;
	width: 2.639vw; /* 38px @1440 */
	min-width: 26px;
}

/* ===== Service ===== */
.p-top-service {
	padding: clamp(40px, 3.5vw, 60px) 0 clamp(120px, 13vw, 190px);
}

.p-top-service__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2.292vw, 33px); /* 33px @1440 */
	margin-top: clamp(32px, 3.333vw, 48px);
}

.p-top-service__item {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--c-white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.p-top-service__img img {
	width: 100%;
	aspect-ratio: 338 / 230;
	object-fit: cover;
}

.p-top-service__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 16px clamp(20px, 1.944vw, 28px) 28px;
}

.p-top-service__num {
	font-family: var(--ff-en);
	font-size: clamp(18px, 1.528vw, 22px); /* 22px @1440 */
	font-weight: 300;
	line-height: 1.5;
}

.p-top-service__title {
	margin-top: 8px;
	font-size: clamp(17px, 1.389vw, 20px); /* 20px @1440 */
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.1em;
}

.p-top-service__text {
	flex: 1;
	margin-top: 12px;
	font-size: 13px;
	line-height: 2.1;
}

.p-top-service__btn {
	min-width: min(100%, 222px);
	margin-top: 16px;
}

/* ===== Numbers ===== */
.p-top-numbers {
	--wave-img: url("../img/top/top-back-numbers.webp");
	--before: var(--c-offwhite);
	--after: var(--c-cream);
	padding: clamp(110px, 10.5vw, 150px) 0 clamp(120px, 12vw, 170px);
	margin-top: calc(clamp(50px, 6vw, 88px) * -1);
	color: var(--c-white);
}

.p-top-numbers__list {
	display: flex;
	flex-wrap: wrap;
	gap: 24px clamp(24px, 3.6vw, 52px);
	justify-content: center;
	margin-top: clamp(28px, 3vw, 44px);
	text-align: center;
}

.p-top-numbers__value {
	display: flex;
	align-items: baseline;
	justify-content: center;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
}

.p-top-numbers__num {
	font-size: clamp(40px, 4.167vw, 60px); /* 60px @1440 */
}

.p-top-numbers__unit {
	margin-inline: 2px;
	font-size: clamp(15px, 1.389vw, 20px);
}

.p-top-numbers__text {
	margin-top: 8px;
	font-size: 12px;
	line-height: 1.7;
}

/* ===== Concept ===== */
.p-top-concept {
	padding: clamp(40px, 4vw, 60px) 0 calc(var(--sec-py) + 20px);
	background: var(--c-cream);
}

.p-top-concept .l-container {
	--container: 1100px;
	grid-template-columns: minmax(0, 498px) minmax(0, 510px);
	justify-content: space-between;
}

.p-top-concept__deco {
	top: -4%;
	left: -6%;
	width: 2.778vw; /* 40px @1440 */
	min-width: 28px;
}

/* ===== IMOKO ===== */
.p-top-imoko {
	--wave-img: url("../img/top/top-back-imoko.webp");
	--before: var(--c-cream);
	--after: var(--c-cream);
	padding: calc(var(--sec-py) + 10px) 0 calc(var(--sec-py) + 10px);
}

.p-top-imoko .l-container {
	--container: 1030px;
	grid-template-columns: minmax(0, 470px) minmax(0, 430px);
	justify-content: space-between;
}

.p-top-imoko__links {
	display: inline-flex;
	flex-direction: column;
	gap: 14px;
	align-items: center;
	margin-top: clamp(32px, 3.333vw, 48px);
}

.p-top-imoko__links .c-btn {
	margin-top: 0;
}

.p-top-imoko__deco {
	top: -6%;
	right: -4%;
	width: 3.958vw; /* 57px @1440 */
	min-width: 36px;
}

@media (hover: hover) {
	.c-sub-link:hover {
		opacity: 0.7;
	}
}

/* ===== Agricultural experience ===== */
.p-top-experience {
	padding: clamp(40px, 4vw, 60px) 0 clamp(80px, 8vw, 120px);
	background: var(--c-cream);
}

.p-top-experience .l-container {
	--container: 1100px;
	grid-template-columns: minmax(0, 642px) minmax(0, 370px);
	justify-content: space-between;
}

.p-top-experience__deco {
	top: -4%;
	left: -5%;
	width: 6.181vw; /* 89px @1440 */
	min-width: 50px;
}

/* ===== Recruit ===== */
.p-top-recruit {
	--wave-img: url("../img/top/top-back-recruit.webp");
	--before: var(--c-cream);
	--after: var(--c-cream);
	display: flex;
	align-items: center;
	min-height: 39.583vw; /* 570px @1440 */
	padding-block: calc(var(--wave) + 40px);
	color: var(--c-white);
}

.p-top-recruit .l-container {
	--container: 1000px;
}

.p-top-recruit__body {
	max-width: 470px;
}

.p-top-recruit .c-text {
	margin-top: 28px;
}

.p-top-recruit .c-btn {
	margin-top: 40px;
}

/* ===== Voice / FAQ ===== */
.p-top-links {
	padding: clamp(30px, 3vw, 44px) 0 clamp(70px, 7vw, 100px);
	background: var(--c-cream);
}

.p-top-links__inner {
	--container: 1200px;
	display: grid;
	grid-template-columns: 590fr 538fr;
	gap: clamp(16px, 4vw, 60px);
	align-items: center;
}

/* 文字ブロックをブロブの中央に配置（行頭は左揃えのまま） */
.p-top-links__item {
	display: grid;
	place-content: center;
	justify-items: start;
	aspect-ratio: 590 / 394;
	padding: 4% 6% 6%;
	background: url("../img/top/top-voice.svg") center / 100% 100% no-repeat;
}

.p-top-links__item--faq {
	aspect-ratio: 538 / 400;
	padding: 4% 6% 6% 8%;
	background-image: url("../img/top/top-faq.svg");
}

.p-top-links__text {
	margin-top: 16px;
	font-size: 13px;
	line-height: 2;
}

.p-top-links__item .c-btn {
	margin-top: 28px;
}

/* ===== Blog ===== */
.p-top-blog {
	--wave-img: url("../img/top/top-back-blog.webp");
	--before: var(--c-cream);
	padding: calc(var(--sec-py) + 20px) 0 clamp(120px, 12vw, 170px);
}

.p-top-blog .l-container {
	--container: 1200px;
}

.p-top-blog__head {
	width: min(100%, 1080px);
	margin-inline: auto;
	grid-template-columns: minmax(0, 600px) minmax(0, 462px);
	justify-content: space-between;
}

.p-top-blog__list {
	margin-top: 24px;
	border-top: 1px solid var(--c-line);
}

.p-top-blog__list li {
	border-bottom: 1px solid var(--c-line);
}

.p-top-blog__list a {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 16px;
	padding: 18px 0;
	font-size: 14px;
	line-height: 1.7;
}

.p-top-blog__list time {
	letter-spacing: 0.04em;
}

.p-top-blog__empty {
	margin-top: 24px;
	font-size: 14px;
}

.p-top-blog__deco {
	top: 4%;
	right: -6%;
	width: 2.917vw; /* 42px @1440 */
	min-width: 30px;
}

@media (hover: hover) {
	.p-top-blog__list a:hover {
		opacity: 0.65;
	}
}

/* 取材動画 */
.p-top-media {
	margin-top: clamp(24px, 2.5vw, 36px);
}

.p-top-media__bubble {
	width: min(100%, 390px);
	padding-bottom: 44px;
	margin-left: auto;
	font-size: clamp(16px, 1.389vw, 20px); /* 20px @1440 */
	font-weight: 700;
	line-height: 1.75;
	color: #222;
	text-align: center;
	background: url("../img/top/top-blog-speechbubble.svg") center bottom / 100% auto no-repeat;
}

.p-top-media__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(16px, 1.528vw, 22px);
	margin-top: 12px;
}

.p-top-media__video {
	aspect-ratio: 16 / 9;
	background: #000;
}

.p-top-media__video iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.p-top-media__caption {
	margin-top: 12px;
	font-size: 14px;
	text-align: center;
}

/* ===== Tablet ===== */
@media (max-width: 1023px) {
	.p-top-links__item {
		padding-left: 10%;
	}

	.p-top-links__text br {
		display: none;
	}
}

/* ===== SP ===== */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.p-top-hero {
		background-size: cover;
	}

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

	.p-fv--top .p-fv__title-line {
		margin-top: -6vw;
	}

	.p-fv--top .p-fv__speech {
		top: auto;
		right: 2vw;
		bottom: 12px;
	}

	.p-top-about {
		padding: 16px 0 calc(var(--sec-py) + 20px);
	}

	.p-top-about .l-container,
	.p-top-concept .l-container,
	.p-top-imoko .l-container,
	.p-top-experience .l-container,
	.p-top-blog__head {
		grid-template-columns: 1fr;
	}

	.p-top-service__list {
		grid-template-columns: 1fr;
		width: min(100%, 400px);
		margin-inline: auto;
	}

	.p-top-numbers {
		padding: 100px 0 110px;
		margin-top: -40px;
	}

	.p-top-numbers__list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 12px;
	}

	.p-top-numbers__item:first-child {
		grid-column: 1 / -1;
	}

	.p-top-recruit {
		min-height: 0;
		padding-block: 100px;
	}

	/* 写真の上に文字が乗るため、SPでは読みやすさ確保の暗幕を足す */
	.p-top-recruit::before {
		position: absolute;
		inset: var(--wave) 0;
		content: "";
		background: rgba(31, 58, 41, 0.35);
	}

	.p-top-recruit .l-container {
		position: relative;
	}

	.p-top-links__inner {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.p-top-links__item,
	.p-top-links__item--faq {
		aspect-ratio: auto;
		min-height: 300px;
		padding: 56px 36px 66px;
	}

	.p-top-blog__list a {
		grid-template-columns: 1fr;
		gap: 2px;
		padding: 14px 0;
	}

	.p-top-media__bubble {
		margin-inline: auto;
	}

	.p-top-media__list {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

/* SP縦向き：画面いっぱいのFV */
@media (max-width: 767px) and (orientation: portrait), (orientation: portrait) and (max-width: 1023px) {
	.p-fv--top .p-fv__title-wrap {
		top: calc(var(--header-h) + 13vw);
		width: 72vw;
	}

	.p-fv--top .p-fv__title-line {
		width: 62vw;
		margin-top: -16vw;
		margin-left: 4vw;
	}

	.p-fv--top .p-fv__speech {
		top: auto;
		right: -1vw;
		bottom: 1.5%;
	}
}
