
    body {
        font-family: 'Arial', sans-serif;
        font-family: Arial, sans-serif;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, "Avenir Next", "Avenir", "Segoe UI", "Lucida Grande", "Helvetica Neue", "Helvetica", "Fira Sans", "Roboto", "Noto", "Droid Sans", "Cantarell", "Oxygen", "Ubuntu", "Franklin Gothic Medium", "Century Gothic", "Liberation Sans", sans-serif;
        background-color: #FBFAF4;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        font-size: 16px; /* サイト全体のデフォルト文字サイズ */
        line-height: 1.5; /* 行の高さ */
    }

    header {
        background-color: #343a40;
        color: white;
        padding: 15px 0;
        text-align: center;
    }

    nav a {
        color: white;
        margin: 0 10px;
    }

    nav a:hover {
        color: #adb5bd;
    }

    .main-content {
        padding: 30px 0;
    }

  

    .post-section {
        margin-bottom: 40px;
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 5px;
        background-color: #ffffff;
    }

    .custom-post-item {
        display: flex;
        align-items: center;
        border-bottom: 1px solid #ddd;
        padding: 10px 3px;
    }

    .custom-img-container {
        flex: 0 0 35%;
        /* 画像部分を35%に変更 */
        position: relative;
        padding-bottom: 35%;
        /* 正方形を維持 */
        margin-right: 15px;
        /* 右側に余白を追加 */
        overflow: hidden;
        /* 余分な部分を隠す */
    }

    .custom-img-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100% !important;
        object-fit: cover !important;
        /* 画像がコンテナに収まるようにする */
    }

    .custom-flex-grow-1 {
        flex: 0 0 65%;
        /* テキスト部分を65%に変更 */
        /* padding-left: 10px; */
    }

    .pr-4.custom-flex-grow-1 h5 {
        font-size: 16px !important;
    }


    .custom-category-time-container {
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        padding: 0 10px 0 0px;
    }

    .time-ago {
        text-align: right;
        white-space: nowrap;
    }




    /* トップコンテンツに使用 */

    .post-section img {
        max-width: 100%;
        height: auto; /* 縦横比を保ちながら高さを自動調整 */
        object-fit: cover; /* 画像の切り取り方を調整する（必要に応じて） */
    }

    .post-item {
        display: flex;
        align-items: center;
    }

    .post-title {
        margin-left: 15px; /* 画像とテキストの間にスペースを追加 */
        flex-grow: 1;
    }



    /* ランキング部分のスタイルを向上させる */
    .sidebar .list-group {
        background-color: #f8f9fa; /* 背景色を明るく */
        border-radius: 8px; /* 角を丸く */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 影を追加 */
        overflow: hidden; /* 角丸部分からはみ出さないように */
    }

    /* タブのスタイリング */
    .sidebar .nav-tabs {
        background-color: #f8f9fa; /* タブ全体の背景色を明るく */
        border-bottom: 2px solid #ddd; /* 下にボーダーを追加 */
        border-radius: 8px 8px 0 0; /* 上の角を丸く */
        overflow: hidden; /* 角丸の外にはみ出さないように */
    }

    .sidebar .nav-tabs .nav-item {
        margin-bottom: -2px; /* アクティブタブが少し上に見えるように */
    }

    .sidebar .nav-tabs .nav-link {
        color: #007bff; /* タブのテキスト色をブランディングカラーに */
        font-weight: 500; /* テキストを少し太く */
        background-color: #e9ecef; /* デフォルトのタブ背景色 */
        border: 1px solid #ddd; /* ボーダーを追加 */
        border-bottom: none; /* 下のボーダーを削除 */
        border-radius: 8px 8px 0 0; /* 上の角を丸く */
        transition: background-color 0.3s ease, color 0.3s ease; /* ホバーとアクティブ時のスムーズなトランジション */
    }

    .sidebar .nav-tabs .nav-link:hover {
        background-color: #dee2e6; /* ホバー時の背景色を変更 */
        color: #0056b3; /* ホバー時のテキスト色を濃く */
    }

    .sidebar .nav-tabs .nav-link.active {
        background-color: #fff; /* アクティブタブの背景色 */
        color: #343a40; /* アクティブタブのテキスト色を濃く */
        border-color: #ddd; /* ボーダー色 */
        border-bottom: 2px solid #fff; /* アクティブタブが少し上に見えるように下のボーダー色を背景色と同じに */
    }


    /* フッターの基本スタイル */
    footer {
        background-color: #343a40; /* ダークグレーの背景色 */
        color: #f8f9fa; /* 明るい文字色 */
    }

    /* リンクのスタイル */
    footer a {
        color: #f8f9fa; /* リンクの文字色 */
        text-decoration: none; /* 下線を削除 */
    }

    footer a:hover {
        color: #adb5bd; /* ホバー時の文字色 */
        text-decoration: underline; /* ホバー時の下線 */
    }

    /* SNSアイコンのサイズ調整 */
    footer .bi {
        font-size: 1.5rem; /* アイコンサイズを大きく */
    }

    /* フッター内のヘッダースタイル */
    footer h5 {
        font-size: 1.25rem; /* 少し大きめのフォントサイズ */
        margin-bottom: 1rem; /* 下にスペースを追加 */
        color: #f8f9fa; /* ヘッダーの文字色 */
    }

    /* フッターのリスト */
    footer ul {
        padding-left: 0; /* リストのパディングを削除 */
        list-style: none; /* リストのマーカーを削除 */
    }

    footer ul li {
        margin-bottom: 0.5rem; /* リストアイテム間のスペースを追加 */
    }


    /* グリッドスタイル */
    @media (min-width: 992px) {
        .main-content {
            max-width: 1092px; /* 最大幅を800pxに設定 */
            margin-left: auto; /* 左右中央に配置 */
            margin-right: auto; /* 左右中央に配置 */
        }
        .post-section .col-lg-4 {
            flex: 0 0 auto;
            width: 33.3333%;
        }

        .custom-img-container {
            padding-bottom: 25%;
            /* 長方形にするための設定 */
        }
  
    
    }




    @media (max-width: 767.98px) {
        .post-section .col-sm-6 {
            flex: 0 0 auto;
            width: 50%;
        }
    }

    /* マージン設定 */
    .post-section {
        margin-left: 15px;
        margin-right: 15px;
    }


    /* 要素が枠外にはみ出るのを防ぐ */
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    body {
        overflow-x: hidden;
    }

    /* コンテンツの左右パディングを調整 */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .post-section {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        background-color: #ffffff;
    }


    .rss-container {
        background-color: #ffffff;
        border-radius: 5px;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }

    .rss-container h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        border-bottom: 2px solid #ddd;
        padding-bottom: 10px;
    }

    .rss-item {
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }

    .rss-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .rss-item-title {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .rss-item-link {
        color: #007bff;
        text-decoration: none;
    }

    .rss-item-link:hover {
        text-decoration: underline;
    }

    .rss-item-pubdate {
        font-size: 0.9rem;
        color: #888;
    }

    .rss-description {
        margin-top: 5px;
        font-size: 1rem;
        color: #555;
    }


    nav.navbar.navbar-expand a {
        color: wheat;
    }


    /* カテゴリリンクのスタイル */
    .btn-link {
        text-decoration: none; /* 下線を消す */
        color: wheat !important;

    }

    .btn-link:hover {
        color: #007bff; /* ホバー時の色 */
    }

    /* ドロップダウンのスタイル */
    .dropdown-menu {
        min-width: 200px; /* ドロップダウンの最小幅 */
    }
