@charset "utf-8";

/*====================================================================
活動内容ページ専用CSS
====================================================================*/

/*変数定義
---------------------------------------------------------------------------*/
:root {
	--spring-color: #8FBC8F;
	--spring-light: #E8F5E8;
	--summer-color: #4682B4;
	--summer-light: #E6F3FA;
	--fall-color: #CD853F;
	--fall-light: #FDF5E6;
	--winter-color: #708090;
	--winter-light: #F5F5F5;
	--nav-dark: #3a3a3a;
}


/*固定ナビゲーション
---------------------------------------------------------------------------*/
.fixed-season-nav {
	position: fixed;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 100;
	display: flex;
	flex-direction: column;
	gap: 12px;
}



.fixed-nav-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--nav-dark);
	border: none;
	border-radius: 50%;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 500;
	font-family: inherit;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
	position: relative;
	overflow: hidden;
}

.fixed-nav-btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.1);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.fixed-nav-btn:hover::before {
	opacity: 1;
}

.fixed-nav-btn:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* アクティブ状態 */
.fixed-nav-btn.active {
	background: #fff;
	color: var(--nav-dark);
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.fixed-nav-btn.active::after {
	content: "";
	position: absolute;
	left: -8px;
	top: 50%;
	transform: translateY(-50%);
	width: 3px;
	height: 20px;
	background: var(--nav-dark);
	border-radius: 2px;
}

/* トップへ戻るボタン */
.fixed-nav-btn.top-btn {
	background: transparent;
	border: 2px solid var(--nav-dark);
	color: var(--nav-dark);
	margin-top: 8px;
}

.fixed-nav-btn.top-btn:hover {
	background: var(--nav-dark);
	color: #fff;
}

.fixed-nav-btn.top-btn svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
}

/* ツールチップ */
.fixed-nav-btn .tooltip {
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translateY(-50%);
	background: var(--nav-dark);
	color: #fff;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 0.8rem;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	pointer-events: none;
}

.fixed-nav-btn .tooltip::after {
	content: "";
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	border: 6px solid transparent;
	border-left-color: var(--nav-dark);
}

.fixed-nav-btn:hover .tooltip {
	opacity: 1;
	visibility: visible;
}

/* スマホ用横並びナビ */
@media screen and (max-width: 768px) {
	.fixed-season-nav {
		position: fixed;
		right: auto;
		left: 50%;
		top: auto;
		bottom: 20px;
		transform: translateX(-50%);
		flex-direction: row;
		gap: 10px;
		background: rgba(58, 58, 58, 0.95);
		padding: 10px 16px;
		border-radius: 30px;
		box-shadow: 0 4px 20px rgba(0,0,0,0.3);
	}
	
	.fixed-nav-btn {
		width: 40px;
		height: 40px;
		font-size: 0.85rem;
		box-shadow: none;
	}
	
	.fixed-nav-btn:hover {
		transform: scale(1.05);
	}
	
	.fixed-nav-btn.active::after {
		display: none;
	}
	
	.fixed-nav-btn .tooltip {
		display: none;
	}
	
	.fixed-nav-btn.top-btn {
		border-color: rgba(255,255,255,0.5);
		color: #fff;
		margin-top: 0;
		margin-left: 5px;
	}
	
	.fixed-nav-btn.top-btn:hover {
		background: rgba(255,255,255,0.2);
	}
}


/*メインビジュアル
---------------------------------------------------------------------------*/
.hero-activity {
	position: relative;
	min-height: 60vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 0;
	margin-top: -60px;
	padding-top: 60px;
}

	@media screen and (min-width:600px) {
	.hero-activity {
		min-height: 80vh;
	}
	}

.hero-activity .hero-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.hero-activity .hero-image img,
.hero-activity .hero-image video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero-activity::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
	z-index: 1;
}

.hero-activity .hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #fff;
	padding: 1.5rem;
}

	@media screen and (min-width:600px) {
	.hero-activity .hero-content {
		padding: 2rem;
	}
	}

.hero-activity .hero-content h2 {
	color: #fff;
	margin-bottom: 1.5rem;
}

	@media screen and (min-width:600px) {
	.hero-activity .hero-content h2 {
		margin-bottom: 2rem;
	}
	}

.hero-activity .hero-tagline {
	font-size: 1.2rem;
	font-weight: 200;
	letter-spacing: 0.1em;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

	@media screen and (min-width:600px) {
	.hero-activity .hero-tagline {
		font-size: 2rem;
		letter-spacing: 0.2em;
	}
	}


/*旧季節ナビゲーション（非表示）
---------------------------------------------------------------------------*/
.season-nav {
	display: none;
}


/*季節セクション共通
---------------------------------------------------------------------------*/
.season-section {
	padding: 5vw;
	position: relative;
	overflow: hidden;
}

	@media screen and (min-width:600px) {
	.season-section {
		padding: var(--space-large) var(--space-large) calc(var(--space-large) * 2);
	}
	}

.season-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.03;
	pointer-events: none;
}

/*季節ごとの背景色*/
.spring-section { background: linear-gradient(180deg, var(--spring-light) 0%, #fff 100%); }
.summer-section { background: linear-gradient(180deg, var(--summer-light) 0%, #fff 100%); }
.fall-section { background: linear-gradient(180deg, var(--fall-light) 0%, #fff 100%); }
.winter-section { background: linear-gradient(180deg, var(--winter-light) 0%, #fff 100%); }


/*季節ヘッダー
---------------------------------------------------------------------------*/
.season-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 3rem;
	position: relative;
}

	@media screen and (min-width:600px) {
	.season-header {
		margin-bottom: 5rem;
	}
	}

.season-title {
	display: flex;
	flex-direction: column;
}

.season-kanji {
	font-size: 4rem;
	font-weight: 200;
	line-height: 1;
	letter-spacing: 0.1em;
}

	@media screen and (min-width:600px) {
	.season-kanji {
		font-size: 10rem;
	}
	}

.spring-section .season-kanji { color: var(--spring-color); }
.summer-section .season-kanji { color: var(--summer-color); }
.fall-section .season-kanji { color: var(--fall-color); }
.winter-section .season-kanji { color: var(--winter-color); }

.season-english {
	font-size: 0.85rem;
	letter-spacing: 0.3em;
	opacity: 0.6;
	margin-top: 0.8rem;
}

	@media screen and (min-width:600px) {
	.season-english {
		font-size: 1rem;
		margin-top: 1rem;
	}
	}

.season-desc {
	display: none;
}

.season-deco {
	position: absolute;
	right: 0;
	top: 0;
	width: 60px;
	height: 60px;
	opacity: 0.3;
}

	@media screen and (min-width:600px) {
	.season-deco {
		width: 100px;
		height: 100px;
	}
	}

	@media screen and (min-width:900px) {
	.season-deco {
		width: 150px;
		height: 150px;
	}
	}

.season-icon {
	width: 100%;
	height: 100%;
}

.spring-section .season-icon { color: var(--spring-color); }
.summer-section .season-icon { color: var(--summer-color); }
.fall-section .season-icon { color: var(--fall-color); }
.winter-section .season-icon { color: var(--winter-color); }


/*活動ブロック
---------------------------------------------------------------------------*/
.activity-block {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 4rem;
	position: relative;
}

	@media screen and (min-width:900px) {
	.activity-block {
		flex-direction: row;
		align-items: flex-start;
		gap: 5rem;
		margin-bottom: 6rem;
	}
	
	.activity-block.reverse {
		flex-direction: row-reverse;
	}
	
	.activity-block .activity-content {
		flex: 1;
	}
	
	.activity-block .activity-media {
		flex: 1;
	}
	}

.activity-block:last-child {
	margin-bottom: 0;
}


/*活動コンテンツ
---------------------------------------------------------------------------*/
.activity-content {
	position: relative;
}

.activity-number {
	font-size: 3rem;
	font-weight: 200;
	opacity: 0.15;
	line-height: 1;
	position: absolute;
	top: -1.5rem;
	left: -0.5rem;
}

	@media screen and (min-width:600px) {
	.activity-number {
		font-size: 6rem;
		top: -3rem;
		left: -2rem;
	}
	}

.activity-content h3 {
	font-size: 1.4rem;
	font-weight: 600;
	margin-bottom: 1rem;
	position: relative;
	padding-left: 1rem;
	border-left: 4px solid var(--primary-color);
}

	@media screen and (min-width:600px) {
	.activity-content h3 {
		font-size: 1.8rem;
		margin-bottom: 1.5rem;
	}
	}

.spring-section .activity-content h3 { border-left-color: var(--spring-color); }
.summer-section .activity-content h3 { border-left-color: var(--summer-color); }
.fall-section .activity-content h3 { border-left-color: var(--fall-color); }
.winter-section .activity-content h3 { border-left-color: var(--winter-color); }

.activity-content p {
	font-size: 0.9rem;
	line-height: 1.9;
	margin-bottom: 1rem;
}

	@media screen and (min-width:600px) {
	.activity-content p {
		font-size: 1rem;
		line-height: 2;
		margin-bottom: 1.5rem;
	}
	}


/*メディア（画像・動画）
---------------------------------------------------------------------------*/
.activity-media {
	position: relative;
}

.activity-media img,
.activity-media video {
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.15);
	object-fit: cover;
}

	@media screen and (min-width:600px) {
	.activity-media img,
	.activity-media video {
		border-radius: 15px;
	}
	}

/*1枚の画像*/
.activity-media.single img,
.activity-media.single video {
	aspect-ratio: 4/3;
}

/*動画*/
.activity-media.video video {
	aspect-ratio: 16/9;
}

/*動画を大きく表示*/
.activity-block.featured .activity-media.video {
	flex: 1;
}

	@media screen and (min-width:900px) {
	.activity-block.featured .activity-media.video {
		flex: 1.5;
	}
	}

.activity-block.featured .activity-media.video video {
	aspect-ratio: 16/9;
	width: 100%;
}

.media-caption {
	text-align: center;
	font-size: 0.8rem;
	color: #666;
	margin-top: 0.8rem;
	font-style: italic;
}

	@media screen and (min-width:600px) {
	.media-caption {
		font-size: 0.85rem;
		margin-top: 1rem;
	}
	}

/*2枚の画像*/
.activity-media.double {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.8rem;
}

	@media screen and (min-width:600px) {
	.activity-media.double {
		gap: 1.5rem;
	}
	}

.activity-media.double img {
	aspect-ratio: 1/1;
}

	@media screen and (min-width:600px) {
	.activity-media.double img:first-child {
		grid-row: span 2;
		aspect-ratio: 3/4;
	}
	
	.activity-media.double img:last-child {
		aspect-ratio: 4/3;
		align-self: end;
	}
	}

/*3枚の画像*/
.activity-media.triple {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.8rem;
}

	@media screen and (min-width:600px) {
	.activity-media.triple {
		gap: 1.5rem;
	}
	}

.activity-media.triple img {
	aspect-ratio: 4/3;
}

.activity-media.triple img:first-child {
	grid-column: span 2;
	aspect-ratio: 16/9;
}

	@media screen and (min-width:600px) {
	.activity-media.triple {
		grid-template-columns: 2fr 1fr;
	}
	
	.activity-media.triple img:first-child {
		grid-column: 1;
		grid-row: span 2;
		aspect-ratio: 3/4;
	}
	
	.activity-media.triple img:nth-child(2),
	.activity-media.triple img:nth-child(3) {
		aspect-ratio: 4/3;
	}
	}


/*特集ブロック（featured）
---------------------------------------------------------------------------*/
.activity-block.featured {
	background: rgba(255,255,255,0.7);
	padding: 1.5rem;
	border-radius: 15px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

	@media screen and (min-width:600px) {
	.activity-block.featured {
		padding: 4rem;
		border-radius: 20px;
	}
	}


/*テキストのみブロック
---------------------------------------------------------------------------*/
.activity-block.text-only .activity-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 1.5rem;
	background: rgba(255,255,255,0.8);
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

	@media screen and (min-width:600px) {
	.activity-block.text-only .activity-content {
		padding: 3rem;
	}
	}

/*テキストのみブロックを横並びにする*/
.text-only-row {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 4rem;
}

	@media screen and (min-width:900px) {
	.text-only-row {
		flex-direction: row;
		gap: 3rem;
		margin-bottom: 6rem;
	}
	
	.text-only-row .activity-block.text-only {
		flex: 1;
		margin-bottom: 0;
	}
	
	.text-only-row .activity-block.text-only .activity-content {
		max-width: none;
		height: 100%;
	}
	}


/*農法の特徴セクション
---------------------------------------------------------------------------*/
.features-section {
	padding: 5vw;
	background: #F5F4EC;
}

	@media screen and (min-width:600px) {
	.features-section {
		padding: var(--space-large);
	}
	}

.features-header {
	text-align: center;
	margin-bottom: 2.5rem;
}

	@media screen and (min-width:600px) {
	.features-header {
		margin-bottom: 4rem;
	}
	}

.features-header h2 {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.features-grid {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

	@media screen and (min-width:600px) {
	.features-grid {
		gap: 4rem;
	}
	}


/*特徴カード
---------------------------------------------------------------------------*/
.feature-card {
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0,0,0,0.1);
	display: flex;
	flex-direction: column;
}

	@media screen and (min-width:900px) {
	.feature-card {
		flex-direction: row;
		border-radius: 20px;
	}
	
	.feature-card:nth-child(even) {
		flex-direction: row-reverse;
	}
	}

.feature-icon {
	display: none;
}

.feature-content {
	padding: 1.5rem;
	flex: 1;
}

	@media screen and (min-width:600px) {
	.feature-content {
		padding: 3rem;
	}
	}

.feature-content h3 {
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--primary-color);
}

	@media screen and (min-width:600px) {
	.feature-content h3 {
		font-size: 1.5rem;
		margin-bottom: 1.5rem;
	}
	}

.feature-content p {
	font-size: 0.9rem;
	line-height: 1.9;
	margin-bottom: 0.8rem;
}

	@media screen and (min-width:600px) {
	.feature-content p {
		font-size: 1rem;
		line-height: 2;
		margin-bottom: 1rem;
	}
	}

.feature-content p:last-child {
	margin-bottom: 0;
}

.feature-image {
	flex: 0 0 100%;
	height: 200px;
	overflow: hidden;
}

	@media screen and (min-width:600px) {
	.feature-image {
		height: 250px;
	}
	}

	@media screen and (min-width:900px) {
	.feature-image {
		flex: 0 0 40%;
		height: auto;
	}
	}

.feature-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


/*田んぼ以外のイベントセクション
---------------------------------------------------------------------------*/
.events-section {
	padding: 5vw;
	background: linear-gradient(180deg, #fff 0%, #F5F4EC 100%);
}

	@media screen and (min-width:600px) {
	.events-section {
		padding: var(--space-large);
	}
	}

.events-header {
	text-align: center;
	margin-bottom: 2.5rem;
}

	@media screen and (min-width:600px) {
	.events-header {
		margin-bottom: 4rem;
	}
	}

.events-header h2 {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.events-grid {
	display: grid;
	gap: 2rem;
}

	@media screen and (min-width:900px) {
	.events-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 3rem;
	}
	}


/*イベントカード
---------------------------------------------------------------------------*/
.event-card {
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0,0,0,0.1);
	transition: transform 0.3s, box-shadow 0.3s;
}

	@media screen and (min-width:600px) {
	.event-card {
		border-radius: 20px;
	}
	}

.event-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

/* --- イベントカード画像：横幅100%・高さ動的設定 --- */

.event-image {
	width: 100%;
	height: auto;
	overflow: hidden;
	line-height: 0;
}

.event-image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: fill;
	transition: transform 0.5s;
}

.event-card:hover .event-image img {
	transform: scale(1.02);
}

.event-content {
	padding: 1.5rem;
}

	@media screen and (min-width:600px) {
	.event-content {
		padding: 2rem;
	}
	}

.event-tag {
	display: inline-block;
	background: var(--primary-color);
	color: #fff;
	padding: 0.25rem 0.8rem;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	margin-bottom: 0.8rem;
}

	@media screen and (min-width:600px) {
	.event-tag {
		padding: 0.3rem 1rem;
		font-size: 0.8rem;
		margin-bottom: 1rem;
	}
	}

.event-content h3 {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 0.8rem;
	color: var(--primary-color);
}

	@media screen and (min-width:600px) {
	.event-content h3 {
		font-size: 1.4rem;
		margin-bottom: 1rem;
	}
	}

.event-content p {
	font-size: 0.85rem;
	line-height: 1.8;
	margin-bottom: 0.8rem;
}

	@media screen and (min-width:600px) {
	.event-content p {
		font-size: 0.95rem;
		margin-bottom: 1rem;
	}
	}

.event-content p:last-child {
	margin-bottom: 0;
}


/*CTAセクション
---------------------------------------------------------------------------*/
.cta-section {
	background: linear-gradient(135deg, var(--primary-color) 0%, #a89a8d 100%);
	color: var(--primary-inverse-color);
	padding: 3rem 5vw;
	text-align: center;
}

	@media screen and (min-width:600px) {
	.cta-section {
		padding: 5rem var(--space-large);
	}
	}

.cta-section .cta-content h3 {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
	color: #fff;
}

	@media screen and (min-width:600px) {
	.cta-section .cta-content h3 {
		font-size: 2rem;
		margin-bottom: 2rem;
	}
	}

.cta-section .cta-content p {
	font-size: 0.95rem;
	line-height: 2;
	margin-bottom: 1.5rem;
}

	@media screen and (min-width:600px) {
	.cta-section .cta-content p {
		font-size: 1.05rem;
		margin-bottom: 2rem;
	}
	}

.cta-section .btn1 a {
	background: #fff;
	color: var(--primary-color);
	font-size: 1rem;
	padding: 0.8rem 2rem;
	display: inline-block;
}

	@media screen and (min-width:600px) {
	.cta-section .btn1 a {
		font-size: 1.1rem;
		padding: 1rem 3rem;
	}
	}

.cta-section .btn1 a:hover {
	background: #f0f0f0;
}


/*アニメーション強化
---------------------------------------------------------------------------*/
.activity-media img,
.activity-media video {
	transition: transform 0.5s ease;
}

.activity-block:hover .activity-media img,
.activity-block:hover .activity-media video {
	transform: scale(1.02);
}

/*スクロール時のフェードイン*/
.activity-block {
	opacity: 1;
}

.activity-content,
.activity-media {
	transition: opacity 0.8s ease, transform 0.8s ease;
}


/*プレースホルダー画像用スタイル（実際の画像がない場合）
---------------------------------------------------------------------------*/
.activity-media img[src=""],
.activity-media img:not([src]) {
	background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
	min-height: 200px;
}