@charset "utf-8";
/* =====================================================================
   オフィス移転ガイド 詳細ページ 専用スタイル（single-office_guide.php）
   namespace: .og_guide_page / .og_guide_head / .og_guide
   トンマナ: 紺 #001540 / 青 #1769c0 / ゴールド #e1ab31
   ===================================================================== */
.og_guide_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;
}

/* =====================================================================
   タイトルエリア（中央・幅を絞って装飾）
   ===================================================================== */
.og_guide_head {
    padding: 44px 20px 4px;
}
.og_guide_head_inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}
.og_guide_eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--blue);
}
.og_guide_eyebrow span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: .14em;
    color: var(--gold-d);
    padding-right: 12px;
    border-right: 2px solid var(--line);
}
.og_guide_head .og_guide_ttl,
.og_guide_head h1.entry-title {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0 22px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .02em;
    color: var(--navy);
    text-align: center;
}
/*.og_guide_head .og_guide_ttl::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    border-radius: 2px;
    background: var(--gold);
}*/
.og_guide_date {
    margin: 18px 0 0;
    font-size: 13px;
    letter-spacing: .04em;
    color: var(--muted);
}

/* =====================================================================
   本文エリア（白カード化）
   ===================================================================== */
.og_guide.kasobox {
    max-width: 880px;
    margin: 12px auto 72px;
    padding: 48px 56px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(16, 46, 92, .08);
}
.og_guide .entry-content {
    color: var(--text);
}
.og_guide .entry-content p {
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 2;
    letter-spacing: .02em;
}
.og_guide .entry-content a {
    color: var(--blue);
    text-decoration: underline;
    word-break: break-all;
}

/* ---------- アイキャッチ／本文画像 ---------- */
.og_guide .featured-media {
    margin: 0 0 40px;
}
.og_guide .featured-media img,
.og_guide .entry-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 8px auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(16, 46, 92, .12);
}
.og_guide .entry-content figure {
    margin: 32px 0;
}

/* ---------- WordPress埋め込み（内部リンクカード等）のはみ出し防止 ---------- */
.og_guide .entry-content iframe {
    max-width: 100%;
}
.og_guide .entry-content .wp-embedded-content {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
}
/* 埋め込みを囲む p / figure もはみ出さないように */
.og_guide .entry-content .wp-block-embed,
.og_guide .entry-content p {
    max-width: 100%;
}
.og_guide .entry-content figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* ---------- 見出し ---------- */
.og_guide .entry-content h2 {
    position: relative;
    margin: 56px 0 28px;
    padding: 15px 22px;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .03em;
    color: var(--navy);
    background: linear-gradient(90deg, var(--bg-soft), #fbfdff);
    border-left: 6px solid var(--gold);
    border-bottom: none;
    border-radius: 0 8px 8px 0;
}
.og_guide .entry-content h2:first-child,
.og_guide .entry-content > *:first-child h2 {
    margin-top: 0;
}
.og_guide .entry-content h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 44px 0 18px;
    padding: 0 0 12px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .02em;
    color: var(--blue);
    border-bottom: 2px solid #e6eef8;
}
.og_guide .entry-content h3::before {
    content: "";
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
    background: var(--gold);
    border-radius: 2px;
    transform: rotate(45deg);
}
.og_guide .entry-content h4 {
    margin: 32px 0 14px;
    padding-left: 14px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--navy);
    border-left: 4px solid var(--blue);
}

/* ---------- リスト ---------- */
.og_guide .entry-content ul,
.og_guide .entry-content ol {
    list-style: none;
    margin: 0 0 28px;
    padding: 22px 24px 22px 26px;
    background: var(--bg-soft);
    border-radius: 10px;
}
.og_guide .entry-content ul li,
.og_guide .entry-content ol li {
    position: relative;
    margin: 0;
    padding: 12px 0 12px 36px;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text);
    border-bottom: 1px dashed #d3deec;
}
.og_guide .entry-content ul li:last-child,
.og_guide .entry-content ol li:last-child {
    border-bottom: none;
}
/* ul：ゴールドのチェック */
.og_guide .entry-content ul li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 16px;
    width: 8px;
    height: 14px;
    border-right: 3px solid var(--gold-d);
    border-bottom: 3px solid var(--gold-d);
    transform: rotate(45deg);
}
/* ol：紺の連番バッジ */
.og_guide .entry-content ol {
    counter-reset: og_ol;
}
.og_guide .entry-content ol li {
    counter-increment: og_ol;
    padding-left: 42px;
}
.og_guide .entry-content ol li::before {
    content: counter(og_ol);
    position: absolute;
    left: 0;
    top: 11px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

/* ---------- 目次プラグイン（#toc_container）内はガイド用リスト装飾を無効化 ---------- */
.og_guide #toc_container ul,
.og_guide #toc_container ol {
    list-style: none !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    counter-reset: none !important;
}
.og_guide #toc_container ul ul {
    padding-left: 1.2em !important;
}
.og_guide #toc_container li {
    margin: 0 !important;
    padding: 4px 0 !important;
    border: none !important;
}
/* レ点・連番バッジを出さない */
.og_guide #toc_container li::before {
    content: none !important;
    display: none !important;
}

/* ---------- テーブル ---------- */
.og_guide .wp-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 28px 0;
}
.og_guide .entry-content table {
    width: 100%;
    margin: 28px 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    font-size: 15px;
}
.og_guide .wp-table-responsive table {
    margin: 0;
}
.og_guide .entry-content th,
.og_guide .entry-content td {
    padding: 14px 16px;
    text-align: left;
    line-height: 1.7;
    border-bottom: 1px solid #e6eef8;
    vertical-align: top;
}
.og_guide .entry-content thead th,
.og_guide .entry-content table th {
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    border-bottom: none;
}
.og_guide .entry-content tbody tr:nth-child(even) td {
    background: #f7faff;
}
.og_guide .entry-content tbody tr:last-child td {
    border-bottom: none;
}

/* ---------- 引用 ---------- */
.og_guide .entry-content blockquote {
    margin: 30px 0;
    padding: 22px 26px;
    background: var(--bg-soft);
    border-left: 5px solid var(--blue);
    border-radius: 0 8px 8px 0;
    color: #33404f;
    font-size: 15.5px;
    line-height: 1.9;
}
.og_guide .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/* ---------- 強調（記事内 class="b"） ---------- */
.og_guide .entry-content .b {
    font-weight: 700;
    background: linear-gradient(transparent 65%, #fff1c4 65%);
}
.og_guide .entry-content .b.blue {
    color: var(--blue);
    background: linear-gradient(transparent 65%, #dcebfa 65%);
}
.og_guide .entry-content .b.orange {
    color: #d97417;
    background: linear-gradient(transparent 65%, #fde3cc 65%);
}

/* ---------- 区切り線 ---------- */
.og_guide .entry-content hr {
    margin: 44px 0;
    border: none;
    border-top: 1px dashed var(--line);
}

/* =====================================================================
   一覧へ戻る
   ===================================================================== */
.og_guide_foot {
    margin-top: 48px;
    text-align: center;
}
.og_guide_back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border: 1.5px solid var(--navy);
    border-radius: 999px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.og_guide_back:hover {
    background: var(--navy);
    color: #fff;
}
.og_guide_back_arw {
    font-size: 18px;
    line-height: 1;
}

/* =====================================================================
   スマホ
   ===================================================================== */
@media (max-width: 768px) {
    .og_guide_head {
        padding: 28px 16px 0;
    }
    .og_guide_head .og_guide_ttl,
    .og_guide_head h1.entry-title {
        font-size: 22px;
        padding-bottom: 18px;
    }
    .og_guide_eyebrow {
        font-size: 12px;
    }
    .og_guide.kasobox {
        margin: 8px auto 48px;
        padding: 28px 18px;
        border-radius: 12px;
    }
    .og_guide .entry-content p {
        font-size: 15.5px;
        line-height: 1.95;
    }
    .og_guide .entry-content h2 {
        margin: 40px 0 22px;
        padding: 13px 16px;
        font-size: 19px;
    }
    .og_guide .entry-content h3 {
        margin: 32px 0 16px;
        font-size: 17px;
    }
    /* テーブルは幅100%でコンパクトに（display:blockは行・列が崩れるため不可） */
    .og_guide .entry-content table {
        font-size: 14px;
    }
    .og_guide .entry-content th,
    .og_guide .entry-content td {
        padding: 11px 12px;
    }
}
