
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background-color: #121212; /* 基調となる黒 */
    color: #e0e0e0; /* 可読性の高い白に近い色 */
    display: flex;
    flex-direction: column; /* 縦方向に要素を並べる */
    justify-content: space-between; /* ヘッダー、コンテンツ、フッターを均等配置 */
    align-items: center;
    text-align: center;
}

/* * ヘッダー (サービス名) の修正 */
.header {
    height: 50px;
    width: 100%;
    background-color: #1d1d1d; /* ヘッダーの背景色を少し濃い黒に */
    padding: 20px 0; /* 上下のパディングを追加 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* 影を追加して立体感を出す */
    text-align: left; /* テキストを左寄せに */
    position: fixed; /* ヘッダーを上部に固定 */
    top: 0;
    left: 0;
    z-index: 1000; /* 他の要素より手前に表示 */
}

.header h1 {
    font-size: 2.2rem; /* フォントサイズを少し大きく */
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
    margin: 0 30px; /* 左右に余白 */
    display: inline-block; /* ロゴとして扱いやすく */
}

/* * コンテンツ全体のラッパー
    */
.container {
    max-width: 1000px;
    margin: auto; /* ヘッダーとフッターの間で中央に配置 */
    padding-top: 120px; /* 固定ヘッダーの高さ分、コンテンツを下にずらす */
    padding-bottom: 80px; /* 固定フッターの高さ分、コンテンツを上にずらす */
    display: flex;
    flex-direction: column;
    gap: 25px; /* 要素間のスペース */
    flex-grow: 1; /* コンテンツが利用可能なスペースを埋める */
    justify-content: center; /* コンテンツを垂直方向中央に */
    width: 100%; /* 幅を確保 */
}

/* * 警告アイコン 
    */
.icon-warning {
    font-size: 3rem;
    color: #ffcc00; /* 警告を示す黄色 */
}

/* * メッセージテキスト
    */
.message h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.message p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* * 公式サイトへのボタン
    */
.action-button {
    display: inline-block;
    background-color: #007bff; /* 目を引く青 */
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.action-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px); /* ホバー時に少し浮き上がるエフェクト */
}

/* * フッター
    */
.footer {
    width: 100%;
    background-color: #1d1d1d; /* フッターの背景色もヘッダーと同じに */
    padding: 20px 0;
    font-size: 0.8rem;
    color: #777;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5); /* 上部に影を追加 */
    position: fixed; /* フッターを下部に固定 */
    bottom: 0;
    left: 0;
    z-index: 1000;
}
.header-title {
    height: 50px;
    margin-left: 50px;
    filter: invert(100%); /* 色を反転させる */
}

/*
    * スマートフォン向けの調整
    */
@media (max-width: 1024px) {
    .container{
        max-width: 600px;
        width: 95%;
        margin: auto;
    }

    .header h1 {
        font-size: 1.8rem; /* 小さい画面では少し小さく */
        margin: 0 20px;
    }

    .container {
        padding-top: 100px; /* スマートフォン向けに調整 */
        padding-bottom: 60px;
        margin: 0 20px; /* 左右の余白を追加 */
    }

    .message h2 {
        font-size: 1.3rem;
    }

    .message p {
        font-size: 0.9rem;
    }
    .header-title {
        height: 50px;
        margin-left: 10px;
        filter: invert(100%); /* 色を反転させる */
    }

}
