/* 全体のリセットと基本設定 */
body {
    font-family: 'Arial', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f9; /* 背景色 */
    color: #333;
}

/* ヘッダーのスタイル */
.page-header {
    background-color: #007bff; /* スクール/イベントのメインカラー */
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
    margin-top: 0;
    font-size: 2.5em;
}

/* メインコンテナ（コンテンツの幅制限と中央寄せ） */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 発表者リスト（グリッドレイアウトでカードを並べる） */
.presenter-list {
    display: grid;
    /* 画面サイズに応じて、1列または2列に自動調整 */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
}

/* 個々のプロジェクトカードのスタイル */
.project-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden; /* 画像がはみ出さないように */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px); /* マウスオーバーで少し浮き上がる */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image-placeholder img {
    width: 100%;
    height: 200px; /* 画像の高さ */
    object-fit: cover; /* 画像をトリミングしてきれいに表示 */
}

.card-content {
    padding: 20px;
}

.card-content h2 {
    font-size: 1.5em;
    color: #007bff; /* メインカラー */
    margin-bottom: 5px;
}

.card-content h3 {
    font-size: 1.1em;
    color: #555;
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.description {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
}

/* リンクボタンのグループ */
.link-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* リンクボタンの基本スタイル */
.link-button {
    flex-grow: 1; /* ボタンを横幅いっぱいに広げる */
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.2s, opacity 0.2s;
    font-size: 0.9em;
}

/* メインリンクボタン（制作サイト） */
.link-button.primary {
    background-color: #28a745; /* アクセントカラー（緑系） */
    color: white;
}

.link-button.primary:hover {
    background-color: #218838;
}

/* サブリンクボタン（GitHubなど） */
.link-button.secondary {
    background-color: #6c757d; /* グレー系 */
    color: white;
}

.link-button.secondary:hover {
    background-color: #5a6268;
}

/* フッターのスタイル */
.page-footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    border-top: 1px solid #ddd;
    background-color: white;
    font-size: 0.8em;
    color: #777;
}

/* スマートフォン表示への対応 (レスポンシブデザイン) */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2em;
    }
    
    .presenter-list {
        /* スマートフォンでは1列表示にする */
        grid-template-columns: 1fr; 
    }
    
    .container {
        margin: 20px auto;
    }
}