/* ==========================================
   おおみや鉄道アドオンポータル専用スタイル（差分）
   ========================================== */

/* ポータルヘッダー（大きく「おおみや鉄道アドオンポータル」を表示） */
.portal-hero {
    text-align: center;
    padding: 60px 20px 40px;
}

.portal-hero h1 {
    font-size: 2.8rem;
    /* タイトルの文字を大きく */
    color: #00c8c8;
    /* テーマカラー [cite: 2026-05-26] */
    margin-bottom: 25px;
    font-weight: bold;
}

.portal-desc {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.1rem;
    /* 説明文の文字を少し大きく */
    line-height: 1.8;
    color: #cccccc;
}

/* ポータルメインコンテンツエリア */
.portal-content {
    max-width: 1100px;
    /* 全体の横幅を少し拡大 */
    margin: 0 auto;
    padding: 20px;
}

/* カテゴリごとのセクション */
.category-section {
    margin-bottom: 60px;
}

.category-section h2 {
    font-size: 1.8rem;
    /* カテゴリ名（遊ぶ・作る等）の文字を大きく */
    border-left: 6px solid #00c8c8;
    /* 左側にアクセントライン [cite: 2026-05-26] */
    padding-left: 15px;
    margin-bottom: 30px;
    color: #ffffff;
}

/* ボタンのグリッド配置（横長・均一サイズ） */
.portal-buttons-grid {
    display: grid;
    /* 画面幅に合わせて自動調整。ボタンの最小横幅を320pxに固定して均一化 */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    /* ボタン同士の間隔を少し広めに */
}

/* 横長で大きなボタンの個別スタイル */
.portal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    /* ボタンにしっかりとした高さを確保 */
    padding: 20px;
    background-color: #004b96;
    /* アクセントカラー [cite: 2026-05-26] */
    color: #ffffff;
    text-decoration: none;
    border-radius: 0px;
    /* 角は四角 [cite: 2026-05-26] */
    box-sizing: border-box;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* ボタンのホバー（マウスを乗せたとき）の効果 */
.portal-btn:hover {
    background-color: #00c8c8;
    /* ホバー時はテーマカラーに変更 [cite: 2026-05-26] */
    transform: translateY(-3px);
    /* 少し上に浮き上がらせる */
}

/* ボタン内の文字サイズ調整 */
.portal-btn .btn-text {
    font-weight: bold;
    font-size: 1.2rem;
    /* 文字サイズを拡大 */
    line-height: 1.5;
    word-break: break-all;
}
