/* ページ全体の基本的な設定 */
body {
    /* 近代的で読みやすいフォントを優先順に指定 */
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    background-color: #f0f8ff; /* 背景色をごく薄い爽やかな水色に */
    color: #333; /* 文字色は真っ黒ではなく濃いグレーで目に優しく */
    margin: 0;
    padding: 0;
}

/* ヘッダー（ページ上部のタイトル部分） */
header {
    background: linear-gradient(135deg, #00b4db, #0083b0); /* 水色のグラデーションで近代的に */
    color: #fff;
    padding: 30px 0 0 0; /* 上の余白を少し広く */
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 131, 176, 0.2); /* ヘッダー下部に柔らかい影 */
}

header h1 {
    margin: 0;
    font-size: 28px;
    letter-spacing: 1px; /* 少し字間を広げて洗練された印象に */
}

/* ナビゲーションメニュー全体 */
nav {
    background-color: rgba(255, 255, 255, 0.15); /* ヘッダー内で少し透けるデザイン */
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex; /* Flexboxで綺麗に横並び */
    justify-content: center;
    gap: 30px; /* メニュー同士の隙間 */
}

nav li {
    display: inline-block;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 5px 10px;
    position: relative; /* アニメーションの基準点 */
}

/* ナビゲーションのホバー時の下線アニメーション（近代的） */
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease; /* 滑らかに線が伸びる */
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* メインコンテンツ部分 */
main {
    width: 90%;
    max-width: 800px;
    margin: 40px auto; /* 上下に余裕を持たせる */
    padding: 30px 40px; /* 内側の余白も広げてゆったりと */
    background-color: #fff;
    border-radius: 12px; /* 少し角丸を強く */
    box-shadow: 0 10px 25px rgba(0, 131, 176, 0.08); /* 影にもほんのり水色を混ぜて透明感を出す */
}

main h2 {
    color: #0083b0; /* 見出しを落ち着いた水色に */
    border-bottom: 3px solid #e1f5fe; /* 柔らかい太線のアンダーライン */
    padding-bottom: 10px;
    margin-top: 0;
}

/* PDFリスト */
/* -----------------------------------
   PDFリストの各項目（アニメーション追加）
----------------------------------- */
.pdf-list li {
    background-color: #fff;
    border: 1px solid #e1f5fe;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    
    /* 読み込み時のアニメーション設定 */
    opacity: 0; /* 最初は透明にして見えなくする */
    animation: fadeUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; /* ふわっと表示 */
    
    /* マウスホバー時の滑らかな動きの設定 */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ホバー時にカードが少し浮き上がる効果 */
.pdf-list li:hover {
    transform: translateY(-5px) !important; /* 読み込みアニメーションに打ち勝つため !important を付与 */
    box-shadow: 0 8px 20px rgba(0, 131, 176, 0.15); /* 影を少し強調 */
}

/* -----------------------------------
   項目ごとに表示タイミングをずらす（順番に表示）
----------------------------------- */
.pdf-list li:nth-child(1) { animation-delay: 0.1s; }
.pdf-list li:nth-child(2) { animation-delay: 0.2s; }
.pdf-list li:nth-child(3) { animation-delay: 0.3s; }
.pdf-list li:nth-child(4) { animation-delay: 0.4s; }
.pdf-list li:nth-child(5) { animation-delay: 0.5s; }
.pdf-list li:nth-child(6) { animation-delay: 0.6s; } /* 追加 */
.pdf-list li:nth-child(7) { animation-delay: 0.7s; } /* 追加 */
/* ※PDFの数が6個以上ある場合は、同様に :nth-child(6) { animation-delay: 0.6s; } のように追加してください */

/* -----------------------------------
   アニメーションの動きの定義
----------------------------------- */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px); /* 最初は20px下に配置 */
    }
    100% {
        opacity: 1; /* 完全に表示 */
        transform: translateY(0); /* 元の位置に戻る */
    }
}

/* PDFへのリンク */
.pdf-list a {
    display: flex; /* アイコンとテキストを並べる */
    align-items: center;
    padding: 18px 20px;
    text-decoration: none;
    color: #0277bd; /* 視認性の高い落ち着いた青水色 */
    font-weight: bold;
}
/* -----------------------------------
   イベントリスト（自己紹介ページ用）
----------------------------------- */
.event-year {
    color: #0083b0;
    margin-top: 30px;
    margin-bottom: 10px;
    border-left: 4px solid #00b4db; /* 左側に水色の線を引いて見出しっぽく */
    padding-left: 10px;
    font-size: 1.1em;
}

.event-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.event-list li {
    background-color: #fff;
    border: 1px solid #e1f5fe;
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    
    /* PDFリストと同じ読み込み時のアニメーション */
    opacity: 0; 
    animation: fadeUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; 
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ホバー時の浮き上がり効果 */
.event-list li:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 20px rgba(0, 131, 176, 0.15);
}

/* リンクをブロック状にして、枠内のどこをクリックしても飛べるようにする */
.event-list a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #0277bd;
    font-weight: bold;
    position: relative;
}

/* リンクの右端に「>」のような矢印アイコンをCSSで追加（リンクだと分かりやすくするため） */
.event-list a::after {
    content: '〉';
    position: absolute;
    right: 20px;
    color: #b3e5fc;
    font-size: 0.9em;
}

/* アニメーションの順番ずらし */
.event-list li:nth-child(1) { animation-delay: 0.1s; }
.event-list li:nth-child(2) { animation-delay: 0.2s; }
.event-list li:nth-child(3) { animation-delay: 0.3s; }
.event-list li:nth-child(4) { animation-delay: 0.4s; }

/* リンクの頭にアイコン代わりの絵文字を付ける（不要なら削除可） */
.pdf-list a::before {
    content: '📄'; 
    margin-right: 12px;
    font-size: 1.2em;
}

/* フッター（ページ下部） */
footer {
    text-align: center;
    margin-top: 50px;
    padding-bottom: 30px;
    color: #777;
    font-size: 0.9em;
}