/* リセット */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif; /* Material Designに合うフォント */
    line-height: 1.6;
    color: #E0E0E0; /* 明るいグレーの文字色 */
    background-color: #121212; /* ダークテーマの背景色 */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 全体のレイアウト */
html {
    background-color: #121212; /* ダークテーマの背景色 */
}

body {
    background-color: #1F1F1F; /* コンテンツ領域の背景色 */
    padding: 30px;
    max-width: 960px;
    margin: 30px auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Material Designらしい深みのある影 */
    border-radius: 12px; /* 少し丸みを強調 */
}

/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    background-color: #2C2C2C; /* ヘッダーの背景色 */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* ヘッダーの影 */
    margin-bottom: 30px;
}

.title {
    margin-left: 30px;
}

.title .ra {
    color: #E0E0E0; /* タイトル色 */
    font-size: 1.8em; /* ロゴサイズを調整 */
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s ease-in-out;
}

.title .ra:hover {
    color: #BB86FC; /* Material Designのアクセントカラー（パープル系） */
}

/* ナビゲーションメニュー */
header > div > ul {
    display: flex;
    padding-right: 30px;
}

header > div > ul > li {
    margin-left: 25px;
}

.ra {
    color: #E0E0E0; /* ナビゲーションリンク色 */
    font-weight: 500;
    padding: 10px 15px; /* パディングを少し大きく */
    border-radius: 6px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.ra:hover {
    background-color: #3A3A3A; /* ホバー時の背景色 */
    color: #BB86FC; /* ホバー時のアクセントカラー */
}

/* メインコンテンツ */
main {
    padding: 20px 0;
}

h2 {
    color: #BB86FC; /* Material Designのアクセントカラー */
    border-bottom: 2px solid #3A3A3A; /* 下線 */
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 500;
}

.da {
    display: inline-block;
    margin-bottom: 15px;
    color: #BB86FC; /* リンク色 */
    padding: 10px 20px;
    border: 1px solid #BB86FC;
    border-radius: 6px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.da:hover {
    background-color: #BB86FC;
    color: #121212; /* ホバー時は背景色に合わせて黒に */
    border-color: #BB86FC;
}

.p {
    width: 100%;
    line-height: 1.8;
    background-color: #333333; /* 落ち着いた背景色 */
    padding: 25px; /* パディングを増やす */
    border-radius: 8px;
    margin-top: 30px;
    color: #E0E0E0;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* 影 */
}

.a {
    color: #121212; /* ボタンの文字色 */
    background-color: #03DAC5; /* Material Designのセカンダリカラー（ティール系） */
    padding: 18px 30px; /* 大きめのパディング */
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25); /* より深みのある影 */
    font-weight: bold;
    width: 250px;
    text-align: center;
    margin: 50px auto;
    letter-spacing: 1.5px;
    display: block;
    transition: all 0.2s ease-out;
}

.a:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); /* ホバーで影を変化 */
    transform: translateY(3px); /* 少し下に移動 */
    background-color: #00C5B3; /* ホバーで色を少し濃く */
}


/* フッター */
footer {
    background-color: #2C2C2C; /* ヘッダーと合わせた色 */
    color: #B0B0B0; /* 落ち着いたグレー */
    padding: 30px 0;
    text-align: center;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0 20px;
}

.footer-section {
    margin-bottom: 20px;
    flex: 1;
    min-width: 200px;
}

.footer-section h2 {
    color: #03DAC5; /* フッター見出しのアクセントカラー */
    margin-bottom: 15px;
    border-bottom: none;
    font-weight: 500;
}

.footer-section p {
    font-size: 0.9em;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #B0B0B0;
    transition: color 0.3s ease-in-out;
}

.footer-section ul li a:hover {
    color: #03DAC5;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #3A3A3A; /* 区切り線 */
    font-size: 0.85em;
    color: #888888;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 0;
    }

    .title {
        margin-left: 0;
        margin-bottom: 15px;
    }

    header > div > ul {
        flex-direction: column;
        padding-right: 0;
        text-align: center;
    }

    header > div > ul > li {
        margin: 10px 0;
    }

    body {
        padding: 20px;
        margin: 15px auto;
        border-radius: 8px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }
}