@charset "UTF-8";

/* リセットCSS的な記述（余白を消して全画面綺麗に見せるため） */
body {
    margin: 0;
    padding: 0;
}

/* 全体のレイアウト設定 (100vhでペライチ化) */
.dashboard-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f9; /* 業務アプリっぽい清潔な薄いグレー */
    font-family: "Helvetica Neue", Arial, sans-serif;
    padding: 20px;
    box-sizing: border-box;
}

/* ヘッダー周り */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.header p {
    font-size: 0.9rem;
    color: #666;
}

/* ボタンを並べるグリッドエリア */
.menu-grid {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 800px;
    justify-content: center;
}

/* カード型ボタンのデザイン */
.menu-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 40px 20px;
    border-radius: 16px; /* 角丸で優しく */
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eee;
    min-width: 200px; /* 最小幅 */
}

/* ホバー時の動き（PC用） */
.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* アイコンと文字 */
.icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.menu-card h2 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.menu-card p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

/* 個別の色分け（アクセント） */
.app-card h2 { color: #2c3e50; } /* シックな紺色 */
.pop-card h2 { color: #e74c3c; } /* 寒ブリやPOPの赤色 */

/* フッター */
.footer {
    margin-top: auto; /* 画面下部に押し出し */
    padding-top: 20px;
    color: #aaa;
    font-size: 0.75rem;
}

/* 📱スマホ用レスポンシブ対応 */
@media (max-width: 600px) {
    .menu-grid {
        flex-direction: column; /* 縦並びに変更 */
        gap: 15px;
    }

    .menu-card {
        flex-direction: row; /* スマホなら横長カードにして、アイコンと文字を横並びに */
        justify-content: flex-start;
        padding: 20px;
        width: 100%;
    }

    .icon {
        margin-bottom: 0;
        margin-right: 20px;
        font-size: 2.5rem;
    }
    
    .text-content {
        text-align: left;
    }
}