/* ============================================================
   記事一覧 LP風レスポンシブデザイン
   ============================================================ */

body {
    font-family: "Noto Sans JP", sans-serif;
    color: #1a1a1a;
    background: #f7f6f3;
    -webkit-font-smoothing: antialiased;
}

main section { margin: 0 !important; font-size: 14px !important; }

/* ============================================================
   共通
   ============================================================ */

.ar_container_wide {
    margin: auto;
    padding: 0 20px;
    max-width: 1100px;
}

@media screen and (min-width: 600px) { .ar_container_wide { padding: 0 32px; } }

/* ============================================================
   ヘッダー
   ============================================================ */

.ar_header {
    padding: 100px 0 40px;
    background: #2c241e;
    text-align: center;
    margin: 0 !important;
}

@media screen and (min-width: 600px) { .ar_header { padding: 120px 0 48px; } }

.ar_header_label {
    font-family: "Noto Serif JP", serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: #c08b30;
    margin-bottom: 8px;
}

.ar_header_title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 12px;
}

.ar_header_title::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #c08b30;
    margin: 14px auto 0;
}

@media screen and (min-width: 600px) { .ar_header_title { font-size: 32px; } }

.ar_header_desc {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.04em;
}

/* ============================================================
   パンくず
   ============================================================ */

/* 旧パンくず非表示 */
.breadcrumbs { display: none !important; }

/* 自前パンくず */
.ar_breadcrumbs {
    background: #fff;
    border-bottom: 1px solid #eee8df;
}

.ar_breadcrumbs ul {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 14px 0;
    margin: 0;
    flex-wrap: wrap;
}

.ar_breadcrumbs ul li {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #999;
    letter-spacing: 0.02em;
}

.ar_breadcrumbs ul li:not(:last-child)::after {
    content: ">";
    margin: 0 10px;
    color: #ccc;
    font-size: 11px;
}

.ar_breadcrumbs ul li a {
    color: #8a6d2e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ar_breadcrumbs ul li a:hover { color: #c08b30; }

.ar_breadcrumbs ul li:last-child {
    color: #666;
    font-weight: 500;
}

@media screen and (min-width: 600px) {
    .ar_breadcrumbs ul li { font-size: 13px; }
}

/* ============================================================
   メインレイアウト（記事＋サイドバー）
   ============================================================ */

.ar_main_layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px 64px;
}

@media screen and (min-width: 600px) {
    .ar_main_layout { padding: 48px 32px 80px; }
}

@media screen and (min-width: 901px) {
    .ar_main_layout {
        flex-direction: row;
        gap: 40px;
    }
}

/* 記事エリア */
.ar_articles {
    flex: 1;
    min-width: 0;
}

/* サイドバー */
.ar_sidebar {
    display: none;
}

@media screen and (min-width: 901px) {
    .ar_sidebar {
        display: block;
        width: 260px;
        flex-shrink: 0;
    }
}

/* ============================================================
   記事グリッド
   ============================================================ */

.ar_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media screen and (min-width: 600px) {
    .ar_grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ============================================================
   記事カード
   ============================================================ */

.ar_card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #1a1a1a;
    border: 1px solid #eee8df;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ar_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* 画像 */
.ar_card_img_wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56%;
    overflow: hidden;
    background: #f5f1eb;
}

.ar_card_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.4s ease;
    margin: 0 !important;
}

.ar_card:hover .ar_card_img {
    transform: scale(1.05);
}

/* 画像がない場合のプレースホルダー */
.ar_card_img_placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c241e, #3d342c);
}

.ar_card_img_placeholder p {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
}

/* カテゴリ別カラー（落ち着いたトーン） */
.ar_card_img_placeholder--tenpo-baikyaku { background: linear-gradient(135deg, #2c241e, #4a3f33); }
.ar_card_img_placeholder--tenpo-kaiyaku { background: linear-gradient(135deg, #3d342c, #2c241e); }
.ar_card_img_placeholder--tenpo-open { background: linear-gradient(135deg, #2c241e, #3d342c); }
.ar_card_img_placeholder--tips { background: linear-gradient(135deg, #2c241e, #4a3f33); }

/* 本文 */
.ar_card_body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media screen and (min-width: 600px) { .ar_card_body { padding: 18px; } }

.ar_card_cat {
    display: inline-block;
    width: fit-content;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #c08b30;
    background: rgba(192, 139, 48, 0.08);
    border: 1px solid rgba(192, 139, 48, 0.2);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.ar_card_title {
    font-size: 15px;
    font-weight: 700;
    color: #2c241e;
    letter-spacing: 0.02em;
    line-height: 1.5;
    margin-bottom: 8px;
    /* 3行で切る */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (min-width: 600px) { .ar_card_title { font-size: 16px; } }

.ar_card_desc {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
    color: #999;
    /* 2行で切る */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: auto;
}

/* ============================================================
   ページネーション
   ============================================================ */

.ar_pagination {
    margin-top: 40px;
    text-align: center;
}

.ar_pagination .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ar_pagination .pagination a,
.ar_pagination .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.ar_pagination .pagination a {
    color: #2c241e;
    background: #fff;
    border: 1.5px solid #ddd7cd;
}

.ar_pagination .pagination a:hover {
    background: #c08b30;
    color: #fff;
    border-color: #c08b30;
}

.ar_pagination .pagination .pagination_current {
    color: #fff;
    background: #c08b30;
    border: 1.5px solid #c08b30;
}

.ar_pagination .pagination .pagination_dots {
    color: #bbb;
    border: none;
    background: none;
    min-width: 24px;
}

.ar_pagination .pagination .pagination_prev,
.ar_pagination .pagination .pagination_next {
    font-size: 13px;
    color: #8a6d2e;
}

.ar_pagination .pagination .pagination_prev:hover,
.ar_pagination .pagination .pagination_next:hover {
    color: #fff;
    background: #c08b30;
    border-color: #c08b30;
}

/* ============================================================
   サイドバー
   ============================================================ */

.ar_sidebar {
    font-family: "Noto Sans JP", sans-serif;
}

/* サイドバー内のタイトル */
.ar_sidebar .sideber_ttl,
.ar_sidebar h3,
.ar_sidebar h4,
.ar_sidebar p {
    font-family: "Noto Sans JP", sans-serif !important;
}

/* カテゴリーリスト等 */
.ar_sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ar_sidebar li {
    border-bottom: 1px solid #eee8df;
}

.ar_sidebar li:last-child {
    border-bottom: none;
}

.ar_sidebar a {
    display: block;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 400;
    color: #2c241e;
    text-decoration: none;
    transition: color 0.2s ease;
    letter-spacing: 0.04em;
}

.ar_sidebar a:hover {
    color: #c08b30;
}

/* ============================================================
   フッターCTA非表示
   ============================================================ */

.footer_cta { display: none !important; }
