/* /myblog/templates/arrays-right.html ファイルに対応している */


/* カテゴリ一覧 */
.blog-arrays-right .card {
    margin-bottom: 0.5rem; /* 各カードの間隔 */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgb(10, 109, 247); /* カードの影 */
}
.blog-arrays-right .card-body {
    padding: 1.0rem;
}
.blog-arrays-right #category-list {
    border: 1px solid #ddd;
    border-radius: 8px;
}
.blog-arrays-right #category-list .card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}
.blog-arrays-right #category-list ul {
    padding-left: 0;
}
.blog-arrays-right #category-list ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.blog-arrays-right #category-list ul li i {
    color: #ff0000; /* アイコン色 */
}
.blog-arrays-right #category-list ul li a {
    font-size: 1rem;
    color: #2c00ef;
    text-decoration: none;
    transition: color 0.3s ease;
}
.blog-arrays-right #category-list ul li a:hover {
    color: #007bff;
}
.blog-arrays-right #category-list ul li .badge {
    background-color: #6c757d;
    font-size: 0.875rem;
}


/* ソーシャルメディアリンク */
.blog-arrays-right #social-links .social-links a {
    margin: 0 10px;
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}
.blog-arrays-right #social-links .social-links a:hover {
    color: #007bff;
}


/* 空港マップ */
.blog-arrays-right #airport-map iframe {
    height: 240px; /* 空港マップ */
    width: 100%; /* 横幅を100%に設定 */
    margin: 0 auto; /* 中央揃え */
    display: block; /* 中央揃えを有効にするためにblock表示 */
}


/* 天気予報 */
.blog-arrays-right #weather-forecast {
    background-color: #f8f9fa;
}
.blog-arrays-right #weather-forecast .card-body {
    text-align: center;
}
.blog-arrays-right #weather-forecast #RealtimeClockArea2 {
    font-size: 1.2rem;
    color: #333;
    text-align: center;
}
.blog-arrays-right .weatherwidget-io {
    margin-top: 10px;
}


/* バックナンバー */
.blog-arrays-right #archive-list ul {
    padding-left: 0;
}
.blog-arrays-right #archive-list ul li {
    margin-bottom: 10px;
}
.blog-arrays-right #archive-list a {
    color: #007bff;
    font-size: 1rem;
    text-decoration: none;
}
.blog-arrays-right #archive-list a:hover {
    color: #0056b3;
}
/* 年ごとの月別リストを最初は非表示 */
.blog-arrays-right #archive-list .month-list {
    display: none;
    padding-left: 20px;
}
/* クリック可能な年のスタイル */
.blog-arrays-right #archive-list .year-toggle {
    cursor: pointer;
    font-weight: bold;
    color: #333;
}
.blog-arrays-right #archive-list .year-toggle:hover {
    color: #007bff;
}

/* ==========================
   レスポンシブ調整
========================== */
/* タブレット画面: 768px～991px */
@media (max-width: 991px) and (min-width: 768px) {
    .blog-arrays-right .card {
        margin-bottom: 1rem; /* カード間隔を調整 */
    }
    .blog-arrays-right .card-body {
        padding: 1rem; /* カード内のパディングを調整 */
    }
    .blog-arrays-right #category-list ul li {
        font-size: 0.9rem; /* アイテムのフォントサイズを調整 */
        margin-bottom: 8px; /* アイテム間隔を調整 */
    }
    .blog-arrays-right #category-list ul li a {
        font-size: 0.95rem; /* カテゴリリンクのフォントサイズ調整 */
    }
    .blog-arrays-right #airport-map iframe {
        height: 250px; /* 空港マップ */
    }
    .blog-arrays-right #social-links .social-links a {
        font-size: 1.2rem; /* ソーシャルメディアリンクアイコンサイズ調整 */
    }
    .blog-arrays-right #weather-forecast #RealtimeClockArea2 {
        font-size: 0.85rem;
        color: #333;
        text-align: center;
    }
    .blog-arrays-right #archive-list a {
        font-size: 0.95rem; /* バックナンバーのリンクサイズ調整 */
    }
}

/* スマホ対応: max-width: 767px */
@media (max-width: 767px) {
    .blog-arrays-right .card {
        margin-bottom: 0.75rem; /* カード間隔を縮小 */
    }
    .blog-arrays-right .card-body {
        padding: 0.75rem; /* カード内のパディングを調整 */
    }
    .blog-arrays-right #category-list ul li {
        font-size: 0.85rem; /* アイテムのフォントサイズを調整 */
        margin-bottom: 6px; /* アイテム間隔を調整 */
    }
    .blog-arrays-right #category-list ul li a {
        font-size: 0.9rem; /* カテゴリリンクのフォントサイズ調整 */
    }
    .blog-arrays-right #social-links .social-links a {
        font-size: 1.1rem; /* ソーシャルメディアリンクアイコンサイズ調整 */
    }
    .blog-arrays-right #airport-map iframe {
        display: none !important;
    }
    .blog-arrays-right #weather-forecast #RealtimeClockArea2 {
        font-size: 0.85rem;
        color: #333;
        text-align: center;
    }
    .blog-arrays-right #archive-list a {
        font-size: 0.9rem; /* バックナンバーのリンクサイズ調整 */
    }
    /* サイドバーの幅調整 */
    .blog-arrays-right .col-lg-3 {
        padding-left: 10px;
        padding-right: 10px;
    }
}
