/* -------------------------------------- */
/* 1. 変数定義 / カラーパレット */
/* -------------------------------------- */
:root {
	--color-primary: #192A56;	  /* 濃藍 (Deep Indigo) - メインカラー */
	--color-accent: #FFBF00;	   /* 黄金色 (Gold Accent) - 強調色 */
	--color-background: #F4F4F4;   /* 白練 (Off-White) - 背景色 */
	--color-text: #333333;		 /* 墨色 (Charcoal) - 本文色 */
	--color-secondary: #5B8A8A;	/* 錆青磁 (Muted Teal) - 装飾色 */
	--color-white: #FFFFFF;
}

/* -------------------------------------- */
/* 2. リセット/共通スタイル (Mobile First) */
/* -------------------------------------- */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	/* フォント、文字サイズ、間隔の調整 */
	font-family: 'Noto Sans JP', '游ゴシック', 'Yu Gothic', 'メイリオ', Meiryo, sans-serif;
	font-size: 18px; /* 基本の文字サイズを大きく */
	line-height: 1.8; /* 行間を広げる */
	letter-spacing: 0.05em; /* 文字間隔を広げる */

	color: var(--color-text);
	background-color: var(--color-background);
}

.container {
	max-width: 90%;
	margin: 0 auto;
	padding: 0 15px;
}

.content-section {
	padding: 40px 0;
}

/* 見出しのサイズ調整 */
h2 {
	font-size: 1.8em; 
	margin-bottom: 20px;
}
h3 {
	font-size: 1.4em; 
	color: var(--color-primary);
	margin-bottom: 15px;
}

.hidden {
	display: none;
}

ul, ol {
	/* リストマーカーが表示されるように左パディングを確保 */
	padding-left: 2em; 
	margin-bottom: 1em; /* リスト下部のスペース確保 */
}


/* -------------------------------------- */
/* 3. ヘッダー/ナビゲーション (SPレイアウト) */
/* -------------------------------------- */
#header {
	background-color: var(--color-primary); /* 濃藍 */
	color: var(--color-white);
	padding: 10px 0;
	z-index: 10; 
}

#header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo a {
	color: var(--color-white);
	text-decoration: none;
	font-size: 24px; 
	font-weight: bold;
}

/* ナビゲーションリスト */
.nav-list {
	list-style: none;
}

.nav-list a {
	display: block;
	padding: 10px 15px;
	color: var(--color-white);
	text-decoration: none;
	transition: background-color 0.3s;
}

.nav-list a:hover {
	background-color: #334372; /* 濃藍より少し明るく */
}

/* SPメニュー非表示 */
#g-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background-color: var(--color-primary);
	z-index: 10;
}

/* SPメニュー表示時のスタイル（JavaScriptでクラスをトグル） */
#g-nav.is-open {
	display: block;
}

/* メニューボタン (ハンバーガーアイコン) */
.menu-button {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	width: 30px;
	height: 25px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.menu-button span {
	display: block;
	width: 100%;
	height: 3px;
	background-color: var(--color-white);
	transition: all 0.3s;
}

/* -------------------------------------- */
/* 4. メインコンテンツ/ボタン/セクション */
/* -------------------------------------- */

#hero {
	background-image: url('../img/hero_sp.jpg');
	background-size: cover;
	background-position: center;
	height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-white);
	text-align: center;
	position: relative;
	z-index: 1;
}

#hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4); 
	z-index: -1;
}

.hero-content h2 {
	/* SPビューのヒーローテキストサイズ調整 */
	font-size: 30px; 
	color: var(--color-white);
	margin-bottom: 15px;
}

/* ボタン (Call to Action) スタイル */
.button {
	display: inline-block;
	padding: 10px 20px;
	background-color: var(--color-accent); /* 黄金色 */
	color: var(--color-text); 
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: background-color 0.3s, transform 0.1s;
}

.button:hover {
	background-color: #e6ac00; /* 黄金色を少し濃く */
	transform: translateY(-2px);
}

.button-white {
	background-color: var(--color-white);
	color: var(--color-primary);
}

.button-white:hover {
	background-color: var(--color-background);
}

/* 活動報告リスト */
.activity-item {
	background-color: var(--color-white);
	border: 1px solid #ddd;
	padding: 15px;
	margin-bottom: 10px;
	border-left: 5px solid var(--color-secondary); /* 錆青磁で装飾 */
	border-radius: 3px;
}

/* アクセント背景セクション */
.bg-accent {
	background-color: var(--color-secondary); /* 錆青磁 */
	color: var(--color-white);
	text-align: center;
}

.bg-accent h3 {
	color: var(--color-white);
}

/* -------------------------------------- */
/* 5. フッター */
/* -------------------------------------- */
#footer {
	padding: 20px 0;
	text-align: center;
	font-size: 16px; 
}

#footer p a {
	color: white;
	text-decoration: underline;
}

/* -------------------------------------- */
/* 6. PCビュー用のブレイクポイント */
/* -------------------------------------- */
@media (min-width: 768px) {
	/* コンテナ幅の調整 */
	.container {
		max-width: 1100px;
	}

	/* ヘッダー/ナビゲーション (PCレイアウト) */
	.menu-button {
		display: none; 
	}
	
	#g-nav {
		display: block !important; 
		position: static;
		width: auto;
	}
	
.nav-list {
		display: flex; /* ナビリストを横並びに */
		/* PCビューでリストマーカーを非表示にする設定がない場合は、ここに追加しても良い */
		list-style: none;
		margin-bottom: 0px;
	}

	.nav-list li {
		/* 修正点：要素間の間隔を確保 */
		margin-left: 30px;
	}

	.nav-list a {
		padding: 5px 10px; /* リンク要素の内部パディング */
	}
	
	/* === PC版 ヘッダー固定 === */
	#header {
		position: fixed; /* ヘッダーを固定 */
		top: 0;		  /* 画面上部に配置 */
		width: 100%;	 /* 幅を画面いっぱいにする */
		z-index: 100;	/* 最前面に表示 */
	}

	/* === メインコンテンツのオフセット調整 === */
	/* ヘッダーが固定されるため、コンテンツが隠れないようスペースを確保 */
	main {
		padding-top: 70px; /* ヘッダーの高さ + 余裕分 */
	}

	/* ヒーローイメージの切り替え */
	#hero {
		background-image: url('../img/hero_pc.jpg');
		height: 600px;
	}

	/* PCビューのヒーローテキストサイズ調整 */
	.hero-content h2 {
		font-size: 52px;
	}

	/* コンテンツセクション */
	.content-section {
		padding: 80px 0;
	}

	/* 活動報告のレイアウト（3列表示）*/
	.activity-list {
		display: grid;
		grid-template-columns: repeat(3, 1fr); 
		gap: 20px;
	}
	
	.activity-item {
		margin-bottom: 0;
	}
}