/* 基本のリセットと全体のスタイル */
body {
    font-family: 'ヒラギノ角ゴ Pro W3', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f0f4f0; /* 薄い背景（渋めの緑基調） */
    color: #333; /* 文字色 */
    max-width: 800px; /* PCでの最大幅（中央寄せ） */
    margin-left: auto;
    margin-right: auto;
}

/* リンク */
a {
    color: #547df7;
    text-decoration: none;
    transition: color 0.8s;
}

a:hover {
    text-decoration: underline;
}

/* ヘッダー（背景画像） */
header {
    background-image: url('main-image.jpg'); /* 背景画像ファイル名を指定 */
    background-size: cover; 
    background-position: center;
    background-color: #2c6e49; /* 代替色（渋い緑） */
    color: white;
    padding: 3rem 5%; 
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* ナビゲーション（目次・横並び） */
nav#navigation {
    background-color: #4a7c59;
    padding: 1rem 5%;
}

nav#navigation h2 {
    color: white;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* スマホで折り返す */
}

.nav-list li a { 
    color: white; 
    padding: 0.5rem 1rem;
    display: block;
}

/* メインコンテンツ */
main { padding: 2rem 5%; }

section {
    margin-bottom: 3rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2rem;
}

/* 動画（50%表示・中央寄せ・キャプション付き） */
.video-container {
    text-align: center; 
    margin: 1.5rem 0;
}

.video-container figure {
    margin: 0; /* デフォルトマージンをリセット */
    display: inline-block; 
    width: 80%; /* 表示サイズを半分に */
}

.video-container video {
    width: 100%;      
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: block;
}

.video-container figcaption {
    text-align: center; 
    font-size: 0.9rem;  
    color: #555;        
    margin-top: 0.5rem; 
}

/* 見出し */
h2 { 
	margin-bottom: 10px;
	clear: both;
	padding: 0 20px;
	font-size: 60px;		/*文字サイズ*/
	text-align: center;		/*文字をセンタリング*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする指定*/
	background:　no;	/*背景色*/
	color: #fff;			/*文字色*/
	border-radius: 5px;	/*角を丸くする指定。大きめであれば適当で構いません。*/

}

h1, h3, h4, h5, h6 { 
	margin-bottom: 10px;
	clear: both;
	padding: 0 20px;
	font-size: 25px;		/*文字サイズ*/
	text-align: center;		/*文字をセンタリング*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする指定*/
	background: #4a7c59;	/*背景色*/
	color: #fff;			/*文字色*/
	border-radius: 5px;	/*角を丸くする指定。大きめであれば適当で構いません。*/

}

/* フッター */
footer {
    background-color: #2c6e49;
    color: white;
    text-align: center;
    padding: 2rem 5%;
    margin-top: 2rem;
}