@charset "UTF-8";
/*
Theme Name: outi-cinema-ver2
Theme URI:
Description: おうちシネマ用 THE SONIC カスタマイズ子テーマ
Author: andco
Version: 0.1.5
Text Domain: outi-cinema-ver2
Template: thesonic
*/

/* =========================================================
   00. Tokens / Base
   ========================================================= */
:root {
    --oc-bg: #eeeeee;
    --oc-surface: #ffffff;
    --oc-border: rgba(0, 0, 0, 0.14);
    --oc-text: #000000;
    --oc-muted: rgba(0, 0, 0, 0.65);
    --oc-accent: #cc0000;
    --oc-accent-2: #cc0000;
    --oc-band: #000000;
    --oc-on-band: #ffffff;
    --oc-max: 1100px;
    --oc-radius-lg: 14px;
    --oc-radius-md: 12px;
    --oc-radius-pill: 999px;
    --oc-shadow-1: 0 10px 26px rgba(0, 0, 0, 0.08);
    --oc-divider: rgba(0, 0, 0, 0.10);
    --oc-header-top-h: 96px;
    --oc-header-bottom-h: 0px;
    --oc-header-h: var(--oc-header-top-h);
    --oc-spnav-h: 42px;
}

@media (min-width: 720px) {
    :root {
        /* ロゴを小さくせずに見切れ回避：上段を高くする */
        --oc-header-top-h: 112px;
        --oc-header-h: var(--oc-header-top-h);
    }
}

@media (min-width: 1020px) {
    :root {
        --oc-header-h: var(--oc-header-top-h);
    }
}

* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
body {
    margin: 0;
    background: var(--oc-bg);
    color: var(--oc-text);
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
        Meiryo, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}
@media (max-width: 719px) {
    body {
        font-size: 14px;
    }
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
a {
    color: var(--oc-accent);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.oc-backtotop {
    position: fixed;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: #d8d8d8;
    color: #000;
    text-decoration: none;
    border-radius: 999px;
    opacity: 1;
    backdrop-filter: none;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}
.oc-backtotop:hover,
.oc-backtotop:focus-visible {
    background: #cfcfcf;
    text-decoration: none;
}

@media (max-width: 719px) {
    .oc-backtotop {
        right: 12px;
        bottom: calc(72px + env(safe-area-inset-bottom)); /* SPはブラウザUIに隠れにくい位置へ */
    }
}

/* =========================================================
   90. THE SONIC overrides (parent theme fixes)
   - !important を使う対策は基本ここに集約
   ========================================================= */
/* THE SONIC：ASP広告ボタン（青背景＋白文字）などはリンク色で文字が染まらないように固定 */
a.tsnc-btn,
a.tsnc-btn:visited,
.tsnc-btn,
.is-style-btn-mark1 .tsnc-btn,
.is-style-btn-mark2 .tsnc-btn,
.is-style-corebtn-mark1 .wp-block-button__link,
.is-style-corebtn-mark2 .wp-block-button__link {
    color: #fff !important;
    text-decoration: none !important;
}
a.tsnc-btn:hover,
.is-style-corebtn-mark1 .wp-block-button__link:hover,
.is-style-corebtn-mark2 .wp-block-button__link:hover {
    color: #fff !important;
    text-decoration: none !important;
}

/* =========================================================
   10. Layout / Utilities
   ========================================================= */
.oc-container {
    max-width: var(--oc-max);
    margin: 0 auto;
    padding: 0 16px;
}
.oc-container.oc-container--single {
    max-width: 980px;
}
.oc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   20. Header / Navigation
   ========================================================= */
/* Header */
.oc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--oc-header-h);
    background: transparent;
    z-index: 50;
}
.oc-header a {
    color: inherit;
}

/* 2段ヘッダー：上段（白） */
.oc-header__top {
    height: var(--oc-header-h);
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0;
    box-sizing: border-box;
}
.oc-header__top-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 8px 0;
}
.oc-header__actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    position: relative;
    margin-left: auto;
}
.oc-search-toggle {
    appearance: none;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: #ffffff;
    color: #000;
    border-radius: 999px;
    height: 42px;
    width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.oc-search-toggle:focus {
    outline: 2px solid rgba(204, 0, 0, 0.25);
    outline-offset: 2px;
}

/* SP：ハンバーガーが右端ギリギリにならないよう少し余白 */
@media (max-width: 719px) {
    .oc-header__actions .oc-nav-toggle {
        margin-right: 4px;
    }
}

/* 検索バー：虫眼鏡押下で展開 */
.oc-searchbar {
    display: none;
    position: fixed;
    top: var(--oc-header-h);
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 55;
}
@media (max-width: 1019px) {
    /* SP：下段スライドナビの分だけ下に出す */
    .oc-searchbar {
        top: calc(var(--oc-header-h) + var(--oc-spnav-h));
    }
}
.oc-searchbar.is-open {
    display: block;
}
.oc-header-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    width: 100%;
}
.oc-header-search--top {
    display: none;
}
.oc-header-search__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 999px;
    padding: 0 14px;
    font: inherit;
    box-sizing: border-box;
}
.oc-header-search__submit {
    flex: 0 0 auto;
    height: 44px;
    width: 44px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: #ffffff;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* 下段黒帯（旧仕様）は廃止 */
.oc-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 0 0 auto;
    height: 100%;
}
.custom-logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}
.custom-logo-link img {
    max-height: 76px;
    width: auto;
    display: block;
}

/* 上段はロゴを小さくしない（見切れはヘッダー高さ/余白で吸収） */
.oc-header__top .oc-brand,
.oc-header__top .custom-logo-link {
    height: 100%;
}
.oc-brand__name {
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 720px) {
    .custom-logo-link img {
        max-height: 88px;
    }
    .oc-brand__name {
        font-size: 20px;
    }
}

/* PCでロゴが下寄りに見える場合の微調整 */
@media (min-width: 1020px) {
    .oc-brand {
        transform: translateY(0);
    }
}

/* 旧：ヘッダー内ナビ/ボタン（2段化したので上段アクションに統合） */
.oc-header__nav {
    display: none;
}

/* Header category nav (PC only) */
.oc-header-cats {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    align-items: center;
    justify-content: center;
}
/* 上段に移したナビ：PCのみ表示、右寄せ */
.oc-header-cats--top {
    display: none;
}

/* =========================================================
   SP：ヘッダー下段スライドナビ（親タブ + 子はタップでアコーディオン）
   ========================================================= */
.oc-header__spnav {
    display: none;
}
@media (max-width: 1019px) {
    .oc-header__spnav {
        display: block;
        position: fixed;
        top: var(--oc-header-h);
        left: 0;
        right: 0;
        height: var(--oc-spnav-h);
        background: #ffffff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        z-index: 54;
    }
    .oc-header__spnav-inner {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
    }
    .oc-header-cats--sp {
        width: 100%;
        height: 100%;
    }
    .oc-header__spnav .oc-hnav.oc-hnav--sp {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        gap: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        height: 100%;
    }
    .oc-header__spnav .oc-hnav.oc-hnav--sp::-webkit-scrollbar {
        display: none;
    }

    /* SP下段ナビ：カスタムスクロールインジケータ（長さを固定したいので自前表示） */
    .oc-header__spnav {
        overflow-x: hidden;
        overflow-y: visible;
    }
    .oc-spnav-scroll {
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: 4px;
        height: 2px;
        background: rgba(0, 0, 0, 0.10);
        border-radius: 999px;
        pointer-events: none;
        opacity: 0;
        transition: opacity 180ms ease;
    }
    .oc-spnav-scroll.is-visible {
        opacity: 1;
    }
    .oc-spnav-scroll__thumb {
        height: 100%;
        width: 33.333%;
        background: rgba(0, 0, 0, 0.28);
        border-radius: 999px;
        transform: translateX(0);
        will-change: transform;
    }
    .oc-header__spnav .oc-hnav.oc-hnav--sp > li {
        position: static;
        flex: 0 0 auto;
    }
    .oc-header__spnav .oc-hnav.oc-hnav--sp > li > a {
        display: inline-flex;
        align-items: center;
        height: 100%;
        padding: 0 4px;
        font-weight: 700;
        font-size: 13px;
        color: var(--oc-text);
        text-decoration: none;
        white-space: nowrap;
        border-bottom: 2px solid transparent;
    }
    /* 「サイトTOP」だけ下線（アクティブ線）を出さない */
    .oc-header__spnav .oc-hnav.oc-hnav--sp > li.oc-spnav-home > a {
        border-bottom: 0 !important;
    }
    .oc-header__spnav .oc-hnav.oc-hnav--sp > li.current-menu-item > a,
    .oc-header__spnav .oc-hnav.oc-hnav--sp > li.current-menu-ancestor > a {
        border-bottom-color: #000;
    }

    /* 子カテゴリ：通常は非表示（親タップで開く） */
    .oc-header__spnav .oc-hnav.oc-hnav--sp .sub-menu {
        display: none !important;
    }
    /* iOS対策：サブメニューは横スクロール領域の外（spNav直下）に表示する */
    .oc-header__spnav .oc-spnav-subpanel {
        display: none;
        /* fixed にして確実に表示（iOS/PCともにクリップ回避） */
        position: fixed;
        top: calc(var(--oc-header-h) + var(--oc-spnav-h));
        left: 0;
        right: 0;
        padding: 8px 0;
        margin: 0;
        background: #ffffff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.10);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
        z-index: 56;
    }
    .oc-header__spnav .oc-spnav-subpanel.is-open {
        display: block;
    }
    .oc-header__spnav .oc-spnav-subpanel__list {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .oc-header__spnav .oc-spnav-subpanel__list a {
        display: block;
        padding: 12px 16px;
        color: var(--oc-text);
        text-decoration: none;
        font-weight: 600;
        font-size: 12px;
        line-height: 1.25;
    }
    .oc-header__spnav .oc-spnav-subpanel__list a:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    /* 親に子がある時の小さな矢印 */
    .oc-header__spnav .oc-hnav.oc-hnav--sp > li.menu-item-has-children > a {
        padding-right: 16px;
        position: relative;
    }
    .oc-header__spnav .oc-hnav.oc-hnav--sp > li.menu-item-has-children > a::after {
        content: "▾";
        font-size: 11px;
        opacity: 0.7;
        position: absolute;
        right: 2px;
        top: 50%;
        transform: translateY(-50%);
    }
    .oc-header__spnav .oc-hnav.oc-hnav--sp > li.is-open.menu-item-has-children > a::after {
        transform: translateY(-50%) rotate(180deg);
    }
}
@media (min-width: 1020px) {
    .oc-header-cats--top {
        display: flex;
        justify-content: flex-end;
        flex: 1 1 auto;
        min-width: 0;
        margin-left: auto;
        transform: translateY(5px);
    }
    .oc-header__actions {
        margin-left: 0;
    }
}
/* 上段ナビ：白背景なので黒文字にする */
.oc-hnav.oc-hnav--top > li > a {
    color: var(--oc-text);
}
.oc-hnav.oc-hnav--top > li > a[data-oc-slug]::after {
    color: rgba(0, 0, 0, 0.55);
}
.oc-hnav.oc-hnav--top > li > a:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--oc-text);
}

/* =========================================================
   TOP：ヒーロー画像
   - PC：1024×576px（16:9）
   - SP：横幅100%、16:9
   ========================================================= */
.oc-top-eyecatch {
    width: 100%;
    max-width: 1024px;
    margin-top: 0;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

/* TOP：ヒーロー直下の差し込み（固定ページの中身） */
.oc-top-insert {
    padding: 8px 0 0;
}
.oc-top-insert__content {
    margin-top: 0;
    max-width: 100%;
    overflow-x: visible;
}
.oc-top-insert__title {
    margin: 0 0 14px;
    padding: 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 12px;
    background: #000;
    color: #fff;
    text-align: center;
    font-size: 20px;
    line-height: 1.2;
}
@media (max-width: 719px) {
    .oc-top-insert__title {
        font-size: 15px;
    }
}
/* TOP差し込み固定ページ内：H2だけ余白調整 */
.oc-top-insert__content h2 {
    margin: 2px 0 24px !important;
}

/* TOP差し込み固定ページ内：2カラム等の横はみ出し対策（SP） */
.oc-top-insert__content img,
.oc-top-insert__content video,
.oc-top-insert__content iframe,
.oc-top-insert__content embed,
.oc-top-insert__content object {
    max-width: 100%;
}
.oc-top-insert__content table {
    max-width: 100%;
    border: 0;
    outline: 0;
    box-shadow: none;
}
/* Gutenbergのテーブルブロック：外枠（薄い枠線）を消す（TOP差し込み内だけ） */
.oc-top-insert__content .wp-block-table {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.oc-top-insert__content .wp-block-table table {
    width: max-content;
    min-width: 100%;
}

.oc-top-insert__content .a-area,
.oc-top-insert__content .qa-content {
    max-width: 100%;
    min-width: 0;
}

/* QAボックス：Q/Aアイコンの右に少しだけ余白（サイト全体） */
.q-area .qa-label,
.a-area .qa-label {
    margin-right: 3px;
}

@media (max-width: 719px) {
    /* TOP差し込み内：左右の見切れ防止（overflowで切らず、はみ出し要因のマージン/幅を抑える） */
    .oc-top-insert__content > * {
        max-width: 100%;
        box-sizing: border-box;
    }
    .oc-top-insert__content .wp-block-group,
    .oc-top-insert__content .wp-block-cover,
    .oc-top-insert__content .wp-block-media-text,
    .oc-top-insert__content .wp-block-image,
    .oc-top-insert__content .wp-block-buttons {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }

    /* TOP差し込み固定ページ内：SPで左右が切れる原因（alignfull/alignwide の負マージン等）を無効化して、
       コンテナの左右パディング内に収める */
    .oc-top-insert__content .alignfull,
    .oc-top-insert__content .alignwide {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* リスト系：親テーマ/ブロック側の“左右に広げる”指定を打ち消して、padding内に収める */
    .oc-top-insert__content ul,
    .oc-top-insert__content ol,
    .oc-top-insert__content .wp-block-list {
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .oc-top-insert__content ul,
    .oc-top-insert__content ol {
        padding-left: 1.8em;
    }
    .oc-top-insert__content li {
        min-width: 0;
    }
    /* グループ/カラム等のブロックが内部で横幅を持っても切れないように保険 */
    .oc-top-insert__content .wp-block-group,
    .oc-top-insert__content .wp-block-columns,
    .oc-top-insert__content .wp-block-column {
        max-width: 100% !important;
    }

    /* TOP差し込み固定ページ内：tableが素で出てくるケースも横スクロールさせる */
    .oc-top-insert__content table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
@media (max-width: 719px) {
    /* Gutenberg Columns */
    .oc-top-insert__content .wp-block-columns {
        flex-wrap: wrap !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 14px !important;
        max-width: 100% !important;
    }
    .oc-top-insert__content .wp-block-column {
        min-width: 0 !important;
        flex-basis: 100% !important;
        width: 100% !important;
    }
}
.oc-top-eyecatch__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
@media (min-width: 1020px) {
    .oc-top-eyecatch {
        margin-top: 0;
        margin-bottom: 10px;
        width: 1024px;
        height: 576px;
    }
}

@media (min-width: 1020px) {
    .oc-header-cats {
        justify-content: center;
        transform: translateY(0);
    }
    /* 上段ナビは右寄せを優先（後勝ち対策） */
    .oc-header-cats.oc-header-cats--top {
        justify-content: flex-end;
        transform: translateY(25px) !important;
    }
    /* PC：虫眼鏡も同じだけ下に */
    .oc-header__actions .oc-search-toggle {
        transform: translateY(25px) !important;
    }
    .oc-hnav {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 14px 28px;
        height: 100%;
        width: 100%;
    }
    .oc-hnav > li {
        position: relative;
    }
    /* 親メニュー→ドロップダウンへマウス移動する時に「隙間」で閉じないようにする */
    .oc-hnav > li.menu-item-has-children::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 14px;
    }
    .oc-hnav > li > a {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 10px;
        color: inherit;
        text-decoration: none;
        font-weight: 700;
        font-size: 18px;
        line-height: 1.05;
        border-radius: 10px;
        min-height: 44px;
        position: relative;
        padding-right: 26px;
    }
    /* スラッグ（小さく） */
    .oc-hnav > li > a[data-oc-slug]::after {
        content: attr(data-oc-slug);
        font-size: 11px;
        font-weight: 400;
        letter-spacing: 0.04em;
        color: rgba(255, 255, 255, 0.72);
        line-height: 1.1;
        margin-top: 2px;
        width: 100%;
        text-align: center;
    }
    /* ドロップダウン矢印（スラッグと干渉しないよう別要素で表示） */
    .oc-hnav > li.menu-item-has-children > a::before {
        content: "▾";
        font-size: 12px;
        opacity: 0.7;
        position: absolute;
        right: 10px;
        top: 14px;
    }
    .oc-hnav > li > a:hover {
        background: rgba(255, 255, 255, 0.10);
        color: #fff;
        text-decoration: none;
    }

    /* 上段（白背景）に移したナビだけは1行横並びにする */
    .oc-hnav.oc-hnav--top {
        justify-content: flex-end;
        width: auto;
        flex-wrap: nowrap;
        gap: 8px 18px;
        height: auto;
    }
    .oc-hnav.oc-hnav--top > li > a {
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 8px 10px;
        font-size: 15px;
        line-height: 1.15;
        min-height: 0;
        padding-right: 18px;
        color: var(--oc-text);
        white-space: nowrap;
    }
    .oc-hnav.oc-hnav--top > li > a[data-oc-slug]::after {
        display: block;
        font-size: 11px;
        font-weight: 400;
        letter-spacing: 0.04em;
        line-height: 1.1;
        color: rgba(0, 0, 0, 0.55);
    }
    /* 上段ナビ：英字（スラッグ）表記の一部だけ置換 */
    .oc-hnav.oc-hnav--top > li > a[data-oc-slug="vod"]::after {
        content: "VOD";
    }
    .oc-hnav.oc-hnav--top > li > a[data-oc-slug="anime"]::after {
        content: "Anime";
    }
    .oc-hnav.oc-hnav--top > li > a[data-oc-slug="drama"]::after {
        content: "Drama";
    }
    .oc-hnav.oc-hnav--top > li > a[data-oc-slug="movie"]::after {
        content: "Movie";
    }
    .oc-hnav.oc-hnav--top > li > a:hover {
        background: rgba(0, 0, 0, 0.06);
        color: var(--oc-text);
    }
    .oc-hnav.oc-hnav--top > li.menu-item-has-children > a::before {
        top: 10px;
        color: rgba(0, 0, 0, 0.55);
        opacity: 1;
    }

    .oc-hnav .sub-menu {
        display: none;
        position: absolute;
        top: calc(100% + 6px);
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        min-width: 220px;
        max-width: 320px;
        padding: 8px 0;
        margin: 0;
        list-style: none;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.12);
        border-radius: 12px;
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
        z-index: 60;
    }
    .oc-hnav > li:hover > .sub-menu,
    .oc-hnav > li:focus-within > .sub-menu {
        display: block;
    }
    .oc-hnav .sub-menu a {
        display: block;
        padding: 10px 14px;
        color: #000;
        text-decoration: none;
        line-height: 1.2;
        font-weight: 600;
        white-space: nowrap;
    }
    .oc-hnav .sub-menu a:hover {
        background: rgba(0, 0, 0, 0.06);
        color: var(--oc-accent);
        text-decoration: none;
    }

    /* PCではハンバーガー（メニューボタン）を出さない */
    .oc-menu {
        display: none !important;
    }
    .oc-search-toggle {
        display: inline-flex;
    }
    .oc-header__actions .oc-nav-toggle {
        display: none;
    }
    /* PC：虫眼鏡の横に“重なって”出す（ヘッダ上にポップオーバー） */
    .oc-searchbar {
        position: absolute;
        top: 50%;
        right: calc(46px + 10px);
        transform: translateY(-50%);
        left: auto;
        width: min(360px, 46vw);
        background: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.12);
        border-radius: 12px;
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
        overflow: hidden;
        z-index: 60;
    }
    .oc-searchbar .oc-header-search {
        padding: 12px 14px;
    }
}

/* SP：黒帯にナビは出すが、子メニューはハンバーガー側に寄せる */
@media (max-width: 1019px) {
    .oc-hnav {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 18px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .oc-hnav::-webkit-scrollbar {
        display: none;
    }
    .oc-hnav .sub-menu {
        display: none !important;
    }
    .oc-hnav > li > a {
        color: inherit;
        text-decoration: none;
        font-weight: 700;
        font-size: 16px;
        white-space: nowrap;
        padding: 10px 6px;
    }
    .oc-hnav > li > a[data-oc-slug]::after {
        display: none;
    }
}

/* SP：ハンバーガーメニュー内（カテゴリ階層） */
.oc-mnav,
.oc-mnav .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.oc-mnav a {
    display: block;
    padding: 12px 16px;
    color: var(--oc-on-band);
    text-decoration: none;
}
.oc-mnav .sub-menu a {
    padding-left: 28px;
    color: rgba(255, 255, 255, 0.85);
}
.oc-mnav a:hover {
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}
.oc-mnav > li.menu-item-has-children > a::after {
    content: " ▾";
    opacity: 0.8;
    font-size: 12px;
}

/* SP用：ハンバーガーアイコン */
.oc-burger {
    width: 22px;
    height: 14px;
    position: relative;
    display: inline-block;
}
.oc-burger::before,
.oc-burger::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}
.oc-burger::before {
    top: 0;
}
.oc-burger::after {
    bottom: 0;
}
.oc-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    appearance: none;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background: transparent;
    color: #000;
    border-radius: 10px;
    height: 44px;
    padding: 0 12px;
    cursor: pointer;
}
.oc-nav-toggle:focus {
    outline: 2px solid rgba(204, 0, 0, 0.25);
    outline-offset: 2px;
}
.oc-menu {
    display: none;
    position: absolute;
    top: var(--oc-header-h);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.oc-menu::before {
    content: "";
    display: block;
}
.oc-menu.is-open {
    display: block;
}
.oc-menu__inner {
    padding: 12px 0 16px;
}
.oc-menu__inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.oc-menu__inner li a {
    display: block;
    padding: 10px 16px;
    color: var(--oc-on-band);
}
.oc-menu__inner li a:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* PC：メニューボタン直下に小さく表示（全幅にしない） */
@media (min-width: 720px) {
    .oc-menu {
        left: auto;
        right: 16px;
        width: min(360px, calc(100vw - 32px));
        margin-top: 10px;
        border: 1px solid rgba(0, 0, 0, 0.12);
        border-radius: 12px;
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
        overflow: hidden;
    }
    .oc-menu__inner {
        padding: 10px 0;
    }
    .oc-menu__inner li a {
        padding: 10px 14px;
    }
}

/* =========================================================
   30. Main / Breadcrumbs
   ========================================================= */
/* Main */
.oc-main {
    padding-top: 18px;
    padding-bottom: 56px;
}
.oc-main.oc-main--with-header {
    padding-top: var(--oc-header-h);
}
@media (max-width: 1019px) {
    .oc-main.oc-main--with-header {
        padding-top: calc(var(--oc-header-h) + var(--oc-spnav-h));
    }
}

/* Breadcrumbs */
.oc-breadcrumbs {
    margin: 10px 0 18px;
}

/* 親テーマ側の breadcrumb クラスにも念のため適用 */
.breadcrumb {
    margin-bottom: 2px;
}
.oc-breadcrumbs nav {
    background: transparent;
    border: none;
    border-radius: 0;
}
.oc-breadcrumbs ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    font-size: 13px;
    color: var(--oc-muted);
    overflow: hidden;
}
.oc-breadcrumbs li {
    flex: 0 0 auto;
}
.oc-breadcrumbs li:last-child {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.oc-breadcrumbs a {
    color: var(--oc-muted);
}
.oc-breadcrumbs .sep {
    opacity: 0.6;
}

.oc-top-section {
    padding: 18px 0 6px;
}
.oc-top-section__header {
    margin-bottom: 12px;
}
.oc-top-section__footer {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}
.oc-top-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.oc-top-pickup .oc-top-title,
.oc-top-latest .oc-top-title {
    font-size: 24px;
}
.oc-top-kicker {
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--oc-muted);
}

/* TOP：新着記事下の「記事一覧を見る」 */
.oc-top-latest__footer {
    padding-bottom: 8px;
}

/* Buttons */
.oc-btn,
.oc-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: var(--oc-surface);
    color: var(--oc-text);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        transform 0.15s ease;
}
.oc-btn:hover,
.oc-btn:focus-visible {
    border-color: rgba(0, 0, 0, 0.35);
    color: var(--oc-accent);
    text-decoration: none;
    transform: translateY(-1px);
}
.oc-btn--primary,
.oc-btn--primary:visited {
    background: var(--oc-band);
    border-color: #000;
    color: var(--oc-on-band);
}
.oc-btn--primary:hover,
.oc-btn--primary:focus-visible {
    background: #222;
    border-color: #222;
    color: var(--oc-on-band);
}
.oc-keywords {
    display: grid;
    gap: 12px;
    justify-items: center;
}
.oc-top-keywords__band {
    background: #e5e5e5;
    padding: 18px 0 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
}
.oc-search {
    width: 100%;
    max-width: 520px;
}
.oc-search .search-form {
    display: flex;
    gap: 8px;
    align-items: center;
    position: static !important;
}
.oc-search .search-form label {
    flex: 1 1 auto;
}
.oc-search .search-field {
    width: 100%;
    border: 1px solid var(--oc-border);
    background: var(--oc-surface);
    color: var(--oc-text);
    height: 42px;
    padding: 0 12px;
    font: inherit;
    border-radius: 0;
}
.oc-search .search-field:focus {
    outline: 2px solid rgba(204, 0, 0, 0.25);
    outline-offset: 2px;
}
.oc-search .search-submit {
    flex: 0 0 auto;
    height: 42px;
    width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: static !important;
    border: 1px solid #000 !important;
    background: #000 !important;
    color: #fff !important;
    cursor: pointer;
    font-weight: 700;
    border-radius: 0;
}
.oc-search .search-submit:hover {
    background: #222 !important;
}
.oc-tag-cloud {
    max-width: 820px;
    text-align: center;
}
.oc-tag-cloud a,
.oc-top-keywords .oc-tag-cloud a,
.oc-tag-cloud .tagcloud a,
.oc-top-keywords .oc-tag-cloud .tagcloud a {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 6px 12px;
    border: 1px solid rgba(0, 0, 0, 0.35) !important;
    background: #e0e0e0 !important;
    color: var(--oc-text) !important;
    font-size: 14px !important;
    line-height: 1.4;
    border-radius: 999px;
    text-decoration: none !important;
    white-space: nowrap;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}
.oc-tag-cloud a::before,
.oc-tag-cloud .tagcloud a::before {
    content: "#";
    margin-right: 2px;
}
.oc-tag-cloud a:hover,
.oc-top-keywords .oc-tag-cloud a:hover,
.oc-tag-cloud .tagcloud a:hover,
.oc-top-keywords .oc-tag-cloud .tagcloud a:hover {
    border-color: var(--oc-accent) !important;
    background: #d8d8d8 !important;
    color: var(--oc-accent) !important;
    text-decoration: none !important;
}

/* Titles */
.oc-page-title {
    margin: 0 0 16px;
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

/* Archive（カテゴリ/タグ）：見出しを統一 */
.oc-archive-head {
    margin: 0 0 18px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}
.oc-archive-kicker {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--oc-muted);
    text-transform: uppercase;
}
.oc-archive-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}
.oc-archive-desc {
    margin-top: 10px;
}
@media (max-width: 719px) {
    .oc-archive-title {
        font-size: 24px;
    }
}

/* 固定ページID=35（例：お問い合わせ）だけH1を調整 */
body.page-id-35 .oc-page-title {
    margin-bottom: 28px;
    font-size: 24px;
}
.oc-meta {
    color: var(--oc-muted);
    font-size: 13px;
}

/* 個別記事：日付下に「PR」表示 */
.oc-post-meta__line2 {
    margin-top: 6px;
}
.oc-pr {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: #e0e0e0;
    color: var(--oc-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    border-radius: 999px;
}

/* =========================================================
   40. Cards / Grids
   ========================================================= */
/* Post cards */
.oc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 720px) {
    .oc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}
@media (min-width: 1020px) {
    .oc-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

/* TOP用：少ない枚数でも中央揃え */
.oc-grid.oc-grid--center {
    justify-content: center;
}
@media (min-width: 720px) {
    .oc-grid.oc-grid--center {
        grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    }
}
@media (min-width: 1020px) {
    .oc-top-pickup .oc-grid.oc-grid--center {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 1020px) {
    .oc-top-latest .oc-grid.oc-grid--center {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.oc-card {
    border: 1px solid var(--oc-border);
    border-radius: var(--oc-radius-lg);
    overflow: hidden;
    background: var(--oc-surface);
    transition: border-color 0.15s ease;
    height: 100%;
    box-shadow: var(--oc-shadow-1);
}
.oc-card:hover {
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}
.oc-card a {
    color: var(--oc-text);
    text-decoration: none;
}
.oc-card a:hover {
    text-decoration: none;
}
.oc-card:hover .oc-card__title {
    color: var(--oc-accent);
}
.oc-card__thumb {
    aspect-ratio: 16/9;
    background: #ffffff;
    overflow: hidden;
}
.oc-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 個別記事：アイキャッチ（4:3の枠内に収める：見切れなし） */
.oc-post-thumb-figure {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
}
.oc-post-thumb {
    overflow: hidden;
    background: #ffffff;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.oc-post-thumb img {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
}
.oc-post-thumb__caption {
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--oc-muted);
    text-align: center;
}
.oc-post-thumb__caption a {
    color: var(--oc-accent);
    text-decoration: underline;
}
.oc-post-thumb__caption a:hover {
    text-decoration: none;
}

/* 個別記事：アイキャッチは記事幅に合わせる（縮小しない） */
.oc-card__body {
    padding: 12px 12px 14px;
}
.oc-card__title {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.oc-card__meta {
    margin-top: 8px;
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--oc-muted);
    font-size: 12px;
}
.oc-pill {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border-radius: 0;
    border: none;
    color: var(--oc-muted);
    font-size: 12px;
}

/* =========================================================
   50. Content (post/page body)
   ========================================================= */
/* Content */
.oc-content {
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
}
.oc-content a {
    color: var(--oc-accent);
    text-decoration: underline;
}
.oc-content p {
    margin: 0 0 1.2em;
}
.oc-content ul,
.oc-content ol {
    padding-left: 1.2em;
}

/* SP：個別投稿/固定ページ等でも左右切れ（alignfull/リストの横はみ出し）が起きないようにする */
@media (max-width: 719px) {
    /* Gutenberg：alignfull/alignwide の負マージン等を無効化して、本文の左右パディング内に収める */
    .oc-content .alignfull,
    .oc-content .alignwide,
    .entry-content .alignfull,
    .entry-content .alignwide {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* ブロックが内部幅を持っても、本文枠からはみ出さないように保険 */
    .oc-content .wp-block-group,
    .oc-content .wp-block-columns,
    .oc-content .wp-block-column,
    .entry-content .wp-block-group,
    .entry-content .wp-block-columns,
    .entry-content .wp-block-column {
        max-width: 100% !important;
    }

    /* リスト系：左右に広げる指定（負マージン/固定幅など）を打ち消してpadding内に収める */
    .oc-content ul,
    .oc-content ol,
    .oc-content .wp-block-list,
    .entry-content ul,
    .entry-content ol,
    .entry-content .wp-block-list {
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1.8em;
    }
    .oc-content li,
    .entry-content li {
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

}
.oc-content blockquote {
    margin: 18px 0;
    padding: 12px 14px;
    border-left: 4px solid rgba(204, 0, 0, 0.55);
    background: rgba(0, 0, 0, 0.03);
}

/* THE SONIC 目次：.entry-content 前提の開閉を .oc-content にも適用 */
.oc-content .mkj-content {
    display: block;
    position: relative;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.3s, opacity 0.3s;
}
.oc-content .mkj-input:checked ~ .mkj-content {
    height: auto;
    opacity: 1;
}

/* Pagination */
.pagination {
    margin: 22px 0 0;
    display: flex;
    justify-content: center;
}
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

/* 個別記事：検索（最小実装・はみ出し防止） */
.oc-panel {
    border: 1px solid var(--oc-border);
    border-radius: var(--oc-radius-lg);
    background: var(--oc-surface);
    box-shadow: var(--oc-shadow-1);
    overflow: hidden;
}
.oc-panel__head {
    padding: 10px 12px;
    border-bottom: 1px solid var(--oc-divider);
    background: #fff;
}
.oc-panel__title {
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
}
.oc-panel__body {
    padding: 12px;
}
.oc-panel__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.oc-single-search {
    margin: 16px 0 0;
}
.oc-single-search__form {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}
.oc-single-search__input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: var(--oc-radius-pill);
    background: #fff;
    color: var(--oc-text);
    font: inherit;
    outline: none;
}
.oc-single-search__input:focus {
    outline: 2px solid rgba(204, 0, 0, 0.25);
    outline-offset: 2px;
}
.oc-single-search__submit {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: var(--oc-radius-pill);
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: #f4f4f4;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.oc-single-search__submit:hover {
    background: #eaeaea;
}

/* 個別記事：人気記事（検索の下） */
.oc-single-popular {
    margin: 14px 0 0;
}

/* 個別記事：最新記事（人気記事の下） */
.oc-single-latest {
    margin: 14px 0 0;
}
.oc-card.oc-card--compact {
    box-shadow: none;
}
.oc-card.oc-card--compact .oc-card__body {
    padding: 10px 10px 12px;
}
.oc-card.oc-card--compact .oc-card__title {
    font-size: 14px;
    -webkit-line-clamp: 2;
}

/* サイドバー化（PCのみ右カラム、SPは下に積む）
   - 個別記事（single）
   - 投稿一覧（/column/ などの投稿ページ = is_home）
*/
/* /column/ は固定ページ扱いのため body クラスが環境で変わることがある。
   レイアウト用クラスに直接当てて、確実に2カラムが効くようにする。 */
.oc-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}
.oc-single-main,
.oc-single-side {
    min-width: 0;
}
@media (min-width: 1020px) {
    .oc-single-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 22px;
    }
    .oc-single-side {
        position: static; /* 固定しない（通常スクロール） */
        top: auto;
        align-self: start;
    }
    body.single-post .oc-single-search,
    body.single-post .oc-single-popular,
    body.single-post .oc-single-latest,
    body.blog .oc-single-search,
    body.blog .oc-single-popular,
    body.blog .oc-single-latest,
    body.home .oc-single-search,
    body.home .oc-single-popular,
    body.home .oc-single-latest,
    body.page-slug-post-list .oc-single-search,
    body.page-slug-post-list .oc-single-popular,
    body.page-slug-post-list .oc-single-latest {
        margin-top: 0;
    }
    body.single-post .oc-single-popular,
    body.blog .oc-single-popular,
    body.home .oc-single-popular,
    body.page-slug-post-list .oc-single-popular {
        margin-top: 14px;
    }
    body.single-post .oc-single-latest,
    body.blog .oc-single-latest,
    body.home .oc-single-latest,
    body.page-slug-post-list .oc-single-latest {
        margin-top: 14px;
    }
}

/* 個別記事：タグ（#付き）をTOPと同じチップ風に */
.oc-post-meta-footer {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.oc-post-tags-row {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.oc-post-tags-row::before,
.oc-post-tags-row::after {
    display: none !important;
    content: none !important;
}
.oc-post-tags a {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 6px 12px;
    border: 1px solid rgba(0, 0, 0, 0.35) !important;
    background: #e0e0e0 !important;
    color: var(--oc-text) !important;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 999px;
    text-decoration: none !important;
    white-space: nowrap;
}
.oc-post-tags a:hover {
    border-color: var(--oc-accent) !important;
    background: #d8d8d8 !important;
    color: var(--oc-accent) !important;
}

/* 個別記事：前/次の記事リンクも囲ったデザインに */
.pagination .nav-links {
    gap: 6px; /* 四角同士の隙間を少し詰める */
    align-items: center;
}
.pagination .nav-links a:not(.page-numbers) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: var(--oc-surface);
    color: var(--oc-text);
    border-radius: 12px;
    text-decoration: none;
    min-height: 44px;
}
.pagination .nav-links a:not(.page-numbers):hover {
    border-color: rgba(0, 0, 0, 0.35);
    color: var(--oc-accent);
    text-decoration: none;
}

/* 個別記事：関連記事 */
.oc-related {
    padding-top: 26px;
}
.oc-related__header {
    margin-top: 10px;
    margin-bottom: 16px;
}
.oc-related__en {
    font-size: 26px;
    letter-spacing: 0.08em;
    line-height: 1.05;
    font-weight: 800;
}
.oc-related__jp {
    margin-top: 6px;
    color: rgba(0, 0, 0, 0.55);
    font-size: 14px;
}

/* PC：関連記事は3列固定（SPは1列のまま） */
@media (min-width: 1020px) {
    .oc-related .oc-grid.oc-grid--center {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.oc-card__noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.18);
    font-weight: 800;
    letter-spacing: 0.08em;
}
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--oc-border);
    color: #000; /* 文字色は黒固定 */
    background: var(--oc-surface);
    white-space: nowrap;
    line-height: 1; /* 上下中央は flex で担保 */
    font-size: 18px; /* 数字を大きく */
    font-weight: 800;
    vertical-align: middle;
}

/* 親テーマ側で a/span に inline-block 等が当たっても上下中央を崩さない */
.pagination a.page-numbers,
.pagination span.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    line-height: 1 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* 親テーマ側で prev/next に矢印の擬似要素が付く場合の保険（「>> »」等の二重表示を防ぐ） */
.pagination .page-numbers.prev::before,
.pagination .page-numbers.prev::after,
.pagination .page-numbers.next::before,
.pagination .page-numbers.next::after {
    content: none !important;
}
.page-numbers.prev,
.page-numbers.next {
    min-width: 86px;
    padding: 0 14px;
    gap: 6px;
}
.page-numbers.current {
    border-color: rgba(204, 0, 0, 0.6); /* 選択中だけ赤で分かる */
    background: rgba(204, 0, 0, 0.08);
    color: #000; /* 選択中も文字は黒のまま */
}

/* =========================================================
   60. Footer / Forms
   ========================================================= */
/* Footer */
.oc-footer {
    border-top: 1px solid var(--oc-border);
    background: var(--oc-band);
    padding: 28px 0;
}
.oc-footer,
.oc-footer a {
    color: var(--oc-on-band);
}
.oc-footer a:hover {
    color: var(--oc-accent);
}
.oc-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.oc-footer__menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}
.oc-footer__copyright {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

/* Contact */
.oc-form {
    display: grid;
    gap: 12px;
}

/* 固定ページに貼る Googleフォーム（.google-form）用スタイル */
.google-form {
    max-width: 900px;
    margin: 0 auto;
}
.google-form form {
    display: block;
}
.google-form label {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
}
.google-form input[type="text"],
.google-form input[type="email"],
.google-form input[type="tel"],
.google-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
    background: #fff;
    color: var(--oc-text);
    padding: 12px 12px;
    font: inherit;
    font-size: 16px;
}
.google-form input[type="text"],
.google-form input[type="email"],
.google-form input[type="tel"] {
    min-height: 46px;
    margin-bottom: 10px;
}
.google-form #input-name {
    margin-bottom: 6px;
}
.google-form textarea {
    min-height: 220px;
    resize: vertical;
    margin-bottom: 10px;
}
.google-form input:focus,
.google-form textarea:focus {
    outline: 2px solid rgba(204, 0, 0, 0.25);
    outline-offset: 2px;
}
.google-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background: #bfbfbf;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
}
.google-form button[type="submit"]:hover {
    background: #a9a9a9;
}
.oc-field label {
    display: block;
    font-size: 13px;
    color: var(--oc-muted);
    margin-bottom: 6px;
}
.oc-field input,
.oc-field textarea {
    width: 100%;
    border: 1px solid var(--oc-border);
    border-radius: 12px;
    background: var(--oc-surface);
    color: var(--oc-text);
    padding: 10px 12px;
    font: inherit;
}
.oc-field input:focus,
.oc-field textarea:focus {
    outline: 2px solid rgba(204, 0, 0, 0.25);
    outline-offset: 2px;
}
.oc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(204, 0, 0, 0.55);
    background: rgba(204, 0, 0, 0.1);
    color: var(--oc-text);
    border-radius: 12px;
    height: 44px;
    padding: 0 16px;
    cursor: pointer;
    font-weight: 700;
}
.oc-button:hover {
    background: rgba(204, 0, 0, 0.16);
}
.oc-alert {
    border: 1px solid var(--oc-border);
    border-radius: 12px;
    padding: 10px 12px;
    background: var(--oc-surface);
}
.oc-alert.is-ok {
    border-color: rgba(0, 200, 120, 0.4);
    background: rgba(0, 200, 120, 0.08);
}
.oc-alert.is-ng {
    border-color: rgba(204, 0, 0, 0.5);
    background: rgba(204, 0, 0, 0.08);
}

/* =========================================================
   70. Headings (inside .oc-content)
   ========================================================= */
/* 見出しデザイン（h2 > h3 > h4 の順で主張を弱く） */
.oc-content h2 {
    background: var(--oc-band);
    color: var(--oc-on-band);
    border-left: none;
    padding: 10px 14px;
    margin: 28px 0 24px;
    border-radius: 0;
    line-height: 1.3;
    font-size: 22px;
}
.oc-content h2 a {
    color: var(--oc-on-band);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.55);
}

/* h3: 黒い下線（枠・背景なし） */
.oc-content h3 {
    background: transparent;
    color: var(--oc-text);
    border-left: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.85);
    padding: 0 0 6px;
    margin: 22px 0 12px;
    border-radius: 0;
    line-height: 1.35;
    font-size: 18px;
}
.oc-content h3 a {
    color: var(--oc-text);
    text-decoration: underline;
}

/* h4: さらに控えめ（左線＋下線のみ、背景なし） */
.oc-content h4 {
    background: transparent;
    color: var(--oc-text);
    border-left: 3px solid rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding: 6px 0 6px 10px;
    margin: 18px 0 8px;
    border-radius: 0;
    line-height: 1.4;
    font-size: 15px;
}
.oc-content h4 a {
    color: var(--oc-text);
    text-decoration: underline;
}

/* h5: 左の縦線のみ（最小限の主張） */
.oc-content h5 {
    background: transparent;
    color: var(--oc-text);
    border-left: 3px solid rgba(0, 0, 0, 0.35);
    border-bottom: none;
    padding: 4px 0 4px 10px;
    margin: 16px 0 6px;
    border-radius: 0;
    line-height: 1.45;
    font-size: 14px;
}
.oc-content h5 a {
    color: var(--oc-text);
    text-decoration: underline;
}
.qa-box{
  border: 1px solid var(--oc-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--oc-surface);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  padding: 16px;              /* 中身に余白が必要なら */
  box-sizing: border-box;
}

.qa-box:hover{
  border-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
