@charset "utf-8";
/* =====================================================================
   オフィス移転ガイド 一覧（archive-office_guide.php）
   namespace: .og_arch_page / .og_arch_*
   トンマナ: 紺 #001540 / 青 #1769c0 / ゴールド #e1ab31
   ===================================================================== */
.og_arch_page {
    --navy: #001540;
    --blue: #1769c0;
    --gold: #e1ab31;
    --gold-d: #b8861f;
    --line: #d7e3f1;
    --bg-soft: #f2f6fb;
    --text: #333a44;
    --muted: #6b7682;
    font-family: 'Noto Sans JP', sans-serif;
}

/* 親テーマ style12.css のグローバル svg{bottom:80px} / path{fill:none;stroke;animation} を打ち消す */
.og_arch_page svg {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: auto !important;
}
.og_arch_page svg path {
    fill: none !important;
    stroke: currentColor !important;
    stroke-dasharray: none !important;
    animation: none !important;
}

/* =====================================================================
   ヘッダー
   ===================================================================== */
.og_arch_head {
    text-align: center;
    padding: 48px 20px 8px;
}
.og_arch_eyebrow {
    margin: 0 0 14px;
}
.og_arch_eyebrow span {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 17px;
    letter-spacing: .16em;
    color: var(--gold-d);
}
.og_arch_eyebrow span::before,
.og_arch_eyebrow span::after {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--gold);
}
.og_arch_ttl {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--navy);
    line-height: 1.4;
}
.og_arch_lead {
    max-width: 720px;
    margin: 16px auto 0;
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--muted);
}

/* =====================================================================
   グリッド
   ===================================================================== */
.og_arch_sec {
    padding: 8px 0 80px;
}
.og_arch_inner {
    width: 92%;
    max-width: 1120px;
    margin: 0 auto;
}
.og_arch_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 26px;
    margin-top: 40px;
}

/* =====================================================================
   カード
   ===================================================================== */
.og_arch_card {
    display: flex;
}
.og_arch_card_link {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 4px 16px rgba(16, 46, 92, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.og_arch_card_link:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(16, 46, 92, .14);
    border-color: #bcd2ec;
}

/* ---------- サムネイル ---------- */
.og_arch_card_thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-soft);
}
.og_arch_card_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.og_arch_card_link:hover .og_arch_card_thumb img {
    transform: scale(1.05);
}
.og_arch_badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 6px;
    background: var(--gold);
    color: var(--navy);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    letter-spacing: .08em;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(184, 134, 31, .4);
}
.og_arch_card_ext {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(16, 46, 92, .15);
    transition: background .18s, color .18s;
}
.og_arch_card_ext svg {
    width: 17px;
    height: 17px;
    display: block;
}
.og_arch_card_link:hover .og_arch_card_ext {
    background: var(--navy);
    color: #fff;
}

/* ---------- 本文 ---------- */
.og_arch_card_body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 20px 22px 22px;
}
.og_arch_card_ttl {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.55;
    color: var(--navy);
    /* 2行でクランプ */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.og_arch_card_link:hover .og_arch_card_ttl {
    color: var(--blue);
}
.og_arch_card_excerpt {
    margin: 0 0 18px;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--text);
    /* 3行でクランプ */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.og_arch_card_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    align-self: flex-start;
    padding: 9px 20px;
    border: 1.5px solid var(--navy);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
    transition: background .18s, color .18s;
}
.og_arch_card_arw {
    font-size: 16px;
    line-height: 1;
}
.og_arch_card_link:hover .og_arch_card_btn {
    background: var(--navy);
    color: #fff;
}

/* =====================================================================
   ページネーション
   ===================================================================== */
.og_arch_pager {
    margin-top: 48px;
}
.og_arch_pager .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.og_arch_pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    transition: background .18s, color .18s, border-color .18s;
}
.og_arch_pager .page-numbers:hover {
    border-color: var(--blue);
    color: var(--blue);
}
.og_arch_pager .page-numbers.current {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.og_arch_pager .page-numbers.dots {
    border: none;
    background: none;
}

.og_arch_none {
    text-align: center;
    color: var(--muted);
    padding: 60px 0;
}

/* =====================================================================
   レスポンシブ
   ===================================================================== */
@media (max-width: 980px) {
    .og_arch_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 20px;
    }
}
@media (max-width: 768px) {
    .og_arch_head {
        padding: 32px 16px 4px;
    }
    .og_arch_ttl {
        font-size: 26px;
    }
    .og_arch_lead {
        font-size: 14.5px;
    }
    .og_arch_grid {
        margin-top: 28px;
    }
}
@media (max-width: 560px) {
    .og_arch_grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        gap: 22px;
    }
}
