@charset "UTF-8";
/* =====================================================================
 *
 *  CHUOU TEKKOTSU Co.,Ltd. - Theme Custom Styles
 *  ────────────────────────────────────────────────
 *  File:  /assets/css/custom.css
 *  Theme: chuou-tk-theme
 *
 *  目次 (Table of Contents)
 *  ─────────────────────────
 *   1. Fonts (@import)
 *   2. Variables (:root)
 *   3. Base / Reset           — h1-h6, a, b, lead, placeholders
 *   4. Color Utilities        — bg-gradient-*, text-gradient-*
 *   5. Buttons (.btn)
 *   6. Layout Components      — header, navbar, footer, newsletter
 *   7. News List Base         — .news_list_item, .news_item など
 *   8. Tables                 — .custom-1, .custom-2
 *   9. SDGs Color Utilities
 *  10. Misc                   — .heading-1, .heading-2
 *  11. Theme Responsive       — タイポグラフィのブレイクポイント
 *  12. Shared Page Components — .page-hero / .breadcrumb / .pill / .back-btn
 *  13. Contact Form 7         — .cform-*
 *  14. News Pages             — single.php / archive.php (お知らせ)
 *  15. Project Pages          — single-project.php (施工実績詳細)
 *
 * ===================================================================== */


/* =====================================================================
 *  1. Fonts
 * ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap');


/* =====================================================================
 *  2. Variables
 * ===================================================================== */
:root {
    /* ── テーマ基本色 ── */
    --base-color:  #004098;
    --dark-gray:   #252840;
    --medium-gray: #484c52;

    /* ── 共通デザイントークン（single / single-project / 各種ページ用） ── */
    --navy:        #004098;   /* base-color に統一 */
    --navy-dark:   #002c6b;
    --ink:         #1a1a1a;
    --sub:         #6b7280;
    --line:        #e5e7eb;
    --bg:          #ffffff;
    --bg-soft:     #fafbfc;
    --bg-accent:   #eef2f8;
    --maxw:        1120px;
    --readw:       780px;
    --font-jp:     'Noto Sans JP', "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    --font-en:     'Manrope', 'Cormorant Garamond', 'Times New Roman', serif;
}


/* =====================================================================
 *  3. Base / Reset
 * ===================================================================== */
h1, .h1 { font-size: 4.175rem; line-height: 5.675rem; }
h2, .h2 { font-size: 2.638rem; line-height: 3.838rem; }
h3, .h3 { font-size: 2.013rem; line-height: 3.225rem; }
h4, .h4 { font-size: 1.475rem; line-height: 2.25rem; }
h5, .h5 { font-size: 1.265rem; line-height: 2.05rem; }
h6, .h6 { font-size: 1.105rem; line-height: 1.85rem; }

.page-title-extra-small h2 {
    font-size: 3rem;
    line-height: 3.8rem;
}

a { color: #868d98; }
b, strong { font-weight: 600; }

.lead {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 2.15rem;
    color: #252840;
}

::-webkit-input-placeholder {
    color: #868d98 !important;
    text-overflow: ellipsis;
}
::-moz-placeholder {
    color: #868d98 !important;
    text-overflow: ellipsis;
    opacity: 1;
}
:-ms-input-placeholder {
    color: #868d98 !important;
    text-overflow: ellipsis;
    opacity: 1;
}

table {
    border-collapse: collapse;
    width: 100%;
}


/* =====================================================================
 *  4. Color Utilities (背景・テキストグラデーション)
 * ===================================================================== */
.bg-gradient-emerald-blue-emerald-green {
    background-image: linear-gradient(50deg, #004098 0, #19e089 100%);
}
.bg-gradient-black-green {
    background-image: linear-gradient(to right top, #1f2021, #1b1d1c, #1b1d1c, #222523, #333c37);
}
.bg-gradient-sherpa-blue-black {
    background-image: linear-gradient(to right top, #23248C, #22236D, #232348, #222226, #232323);
}

.text-gradient-emerald-blue-emerald-green {
    background-image: linear-gradient(to right top, #004098, #19e089);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-light-gray-white {
    background-image: linear-gradient(to bottom, #eaeaea, #efefef, #f7f7f7, #fafafa, #ffffff);
}

.btn-gradient-emerald-blue-emerald-green {
    background-image: linear-gradient(to right, #004098, #19e089, #004098);
    background-size: 200% auto;
    color: var(--white);
}


/* =====================================================================
 *  5. Buttons
 * ===================================================================== */
.btn {
    font-weight: 500;
    text-transform: inherit;
}
.btn.btn-extra-large { font-size: 22px; }
.btn.btn-large       { font-size: 17px; }
.btn.btn-medium      { font-size: 16px; }
.btn.btn-small       { font-size: 15px; }
.btn.btn-very-small  { font-size: 13px; }

.btn.btn-large .btn-icon i { top: 1px; }
.btn.btn-link              { padding: 0 0 2px; }
.btn.btn-link-gradient     { padding: 0 0 3px; }

.sticky .header-transparent .header-button .btn {
    color: var(--dark-gray);
    border-color: var(--dark-gray);
}
.sticky .header-transparent .header-button .btn:hover {
    border-color: var(--dark-gray);
    color: var(--white);
    background: var(--dark-gray);
}


/* =====================================================================
 *  6. Layout Components
 * ===================================================================== */
/* ── Header ── */
header .navbar-brand img {
    max-height: 34px;
}
.navbar .navbar-nav .nav-link {
    font-size: 16px;
    letter-spacing: 1px;
    padding: 10px 22px;
}
.push-menu .close-menu {
    right: 30px;
    top: 30px;
}

/* ── Newsletter ── */
.newsletter-style-02 input {
    font-size: 14px;
}

/* ── Footer ── */
footer ul li {
    margin-bottom: 2px;
}
.footer-dark a:hover {
    color: var(--white);
}
.footer-navbar li a:hover {
    color: var(--white);
}
.copy {
    font-family: var(--alt-font) !important;
    font-size: 14px;
    letter-spacing: 1px;
}


/* =====================================================================
 *  7. News List Base (Litho 上書き)
 * ===================================================================== */
.news_list_item {
    padding: 25px 0;
    border-bottom: 1px solid #E6E6E6;
}
.news_list_item:first-child {
    border-top: 1px solid #E6E6E6;
}
.news_list_item p {
    margin-bottom: 0;
}
.news_list_item a {
    position: relative;
    display: flex;
    padding-right: 30px;
    color: var(--dark-grey);
}
.news_list_item a:hover {
    color: var(--aluminium-grey);
}
.news_list_date {
    font-size: 15px;
    display: flex;
    margin-right: 15px;
    align-items: center;
}
.news_item {
    font-size: 12px;
    color: #fff;
    background: #004098;
    border-radius: 100px !important;
    width: 8em;
    text-align: center;
    margin-left: 20px;
}

@media screen and (max-width: 1024px) {
    .news_list_item a {
        display: block;
    }
}
@media screen and (max-width: 769px) {
    .news_item {
        font-size: 12px;
        width: 8em;
    }
    .news_list_date {
        margin-bottom: 10px;
    }
}


/* =====================================================================
 *  8. Tables (.custom-1 / .custom-2)
 * ===================================================================== */
/* ── custom-1: 縦型（SP）→ 横型（PC）切り替え ── */
.custom-1 {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    background: #fff;
    border: none;
}
.custom-1 th {
    font-weight: 600;
    color: #fff;
    background: #004098;
}
.custom-1 th,
.custom-1 td {
    display: block;
    width: 100%;
    border: none;
    padding: 8px 10px;
    vertical-align: top;
    text-align: left;
    box-sizing: border-box;
    border-radius: 4px;
}
@media screen and (min-width: 768px) {
    .custom-1 th,
    .custom-1 td {
        display: table-cell;
        border-bottom: 1px solid #E6E6E6;
        color: #000;
        background: #fff;
    }
    .custom-1 th {
        color: #000;
        background: #fff;
        letter-spacing: 1px;
        vertical-align: middle;
        text-align: center;
    }
    .custom-1 tr th:first-child {
        width: 34%;
    }
}

/* ── custom-2: ヘッダー行付き ── */
.custom-2 {
    background: #fff;
}
.custom-2 .head th {
    background: #004098;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}
.custom-2 th,
.custom-2 td {
    padding: 10px;
    border: solid 1px #ccc;
    box-sizing: border-box;
}
@media screen and (max-width: 640px) {
    .custom-2 .head { display: none; }
    .custom-2 { width: 100%; }
    .custom-2 th,
    .custom-2 td {
        display: block;
        width: 100%;
        border-bottom: none;
    }
    .custom-2 th:first-child {
        background: #004098;
        color: #fff;
        font-weight: bold;
    }
    .custom-2 tr:last-child {
        border-bottom: solid 1px #ccc;
    }
}


/* =====================================================================
 *  9. SDGs Color Utilities
 * ===================================================================== */
.bg-sdgs-3        { background-color: #4C9F38; }
.bg-sdgs-3-hover  { background-color: #2f6323; }
.bg-sdgs-7        { background-color: #FCC30B; }
.bg-sdgs-7-hover  { background-color: #a68007; }
.bg-sdgs-8        { background-color: #A21942; }
.bg-sdgs-8-hover  { background-color: #520c21; }
.bg-sdgs-11       { background-color: #FD9D24; }
.bg-sdgs-11-hover { background-color: #a66717; }
.bg-sdgs-12       { background-color: #BF8B2E; }
.bg-sdgs-12-hover { background-color: #664b1c; }


/* =====================================================================
 * 10. Misc
 * ===================================================================== */
.heading-1 {
    background-color: #efefef;
    padding: 16px;
}
.heading-2 {
    display: inline-block;
    border-top: 1px solid #252840;
    border-bottom: 1px solid #252840;
    padding: 3px 0 5px 0;
    letter-spacing: 1px;
}


/* =====================================================================
 * 11. Theme Responsive
 * ===================================================================== */
@media (max-width: 1199px) {
    .navbar .navbar-nav .nav-link {
        padding: 10px 17px;
    }
}

@media (max-width: 767px) {
    body { line-height: 30px; }

    h1, .h1 { font-size: 3.075rem; line-height: 4.475rem; }
    h2, .h2 { font-size: 2.038rem; line-height: 3.238rem; }
    h3, .h3 { font-size: 1.913rem; line-height: 3.025rem; }
    h4, .h4 { font-size: 1.665rem; line-height: 2.65rem; }
    h5, .h5 { font-size: 1.325rem; line-height: 2.185rem; }
    h6, .h6 { font-size: 1.385rem; line-height: 2.185rem; }

    p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .lead { line-height: 2.0rem; }

    .btn.btn-large {
        font-size: 15px;
        padding: 14px 28px;
    }

    .heading-2 { padding: 12px; }
}


/* =====================================================================
 * 12. Shared Page Components
 *     .page-hero / .breadcrumb / .pill / .back-btn
 *     ※ news single, project single 等 複数ページから共通利用
 * ===================================================================== */
/* ── ページヘッダー ── */
.section-news       { padding: 20px 0; }
.section-breadcrumb { padding: 10px 0; }

.page-hero {
    padding: 80px 40px 40px;
    text-align: center;
    border-bottom: 1px solid var(--line);
}
.page-hero .en {
    font-family: var(--font-en);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.28em;
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.page-hero h1.page-title {
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: clamp(28px, 4vw, 40px);
    color: var(--navy);
    letter-spacing: 0.1em;
    margin: 0;
}

/* ── パンくず ── */
.breadcrumb {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 16px 40px;
    font-size: 11px;
    color: var(--sub);
    letter-spacing: 0.08em;
}
.breadcrumb a {
    color: var(--sub);
    text-decoration: none;
}
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep    { margin: 0 10px; opacity: 0.5; }

/* ── カテゴリピル ── */
.pill {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    padding: 5px 18px;
    border-radius: 999px;
    line-height: 1.6;
}

/* ── 戻るボタン ── */
.back-btn-wrap {
    text-align: center;
    margin: 60px 0 0;
}
.back-btn {
    display: inline-block;
    padding: 16px 60px;
    border: 1.5px solid var(--navy);
    color: var(--navy);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    background: #fff;
    transition: all 0.25s ease;
}
.back-btn:hover {
    background: var(--navy);
    color: #fff;
}


/* =====================================================================
 * 13. Contact Form 7 (.cform-*)
 *     ─ すべて cform- プレフィックスで Litho と干渉しない独立クラス
 * ===================================================================== */
/* ── 13.1 カラートークン（フォーム内のみ） ── */
.wpcf7-form {
    --cform-navy:    #0a2a5e;
    --cform-navy-d:  #061e45;
    --cform-ink:     #1a1a1a;
    --cform-sub:     #6b7280;
    --cform-line:    #e5e7eb;
    --cform-bg-soft: #fafbfc;
    --cform-req:     #c53030;
}

/* ── 13.2 CF7 自動挿入の <p> / <br> 余白を抑制 ── */
.wpcf7-form > p,
.wpcf7-form > br {
    margin: 0;
    padding: 0;
}
.wpcf7-form > br {
    display: none;
}

/* ── 13.3 上部の必須案内 ── */
.cform-note {
    margin: 0 0 40px;
    font-size: 13px;
    text-align: center;
    color: var(--cform-sub);
    letter-spacing: 0.04em;
}

/* ── 13.4 必須・任意 バッジ ── */
.cform-req-pill,
.cform-opt-pill {
    display: inline-block;
    padding: 3px 8px;
    margin: 0 4px !important;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.1em;
    color: #fff;
    border-radius: 2px;
    vertical-align: middle;
}
.cform-req-pill { background: var(--cform-req); }
.cform-opt-pill { background: var(--cform-sub); }
.cform-label br { display: none; }

/* ── 13.5 フォーム行（ラベル220px / 入力 1fr） ── */
.cform-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid var(--cform-line);
    align-items: start;
}
.cform-row:first-of-type {
    border-top: 1px solid var(--cform-line);
}
.cform-field p {
    margin-bottom: 0;
}

/* ── 13.6 ラベル ── */
.cform-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--cform-ink);
    letter-spacing: 0.05em;
}
.cform-label .cform-req-pill,
.cform-label .cform-opt-pill {
    margin: 0;
}
.cform-label p {
    margin-bottom: 0;
}

/* ── 13.7 入力フィールド共通 ── */
.cform-input {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    color: var(--cform-ink);
    background: #fff;
    border: 1px solid var(--cform-line);
    border-radius: 2px;
    box-sizing: border-box;
    box-shadow: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.cform-input:focus {
    outline: none;
    border-color: var(--cform-navy);
    box-shadow: 0 0 0 3px rgba(10, 42, 94, 0.08);
}
textarea.cform-input {
    min-height: 180px;
    line-height: 1.8;
    resize: vertical;
}
.cform-help {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: var(--cform-sub);
    letter-spacing: 0.03em;
}

/* ── 13.8 ラジオボタン（カード型） ── */
.cform-radio-group .wpcf7-form-control-wrap {
    display: block;
}
.cform-radio-group .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 0;
    padding-top: 8px;
}
.cform-radio-group .wpcf7-list-item {
    margin: 0;
    padding: 0;
}
.cform-radio-group .wpcf7-list-item label {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--cform-ink);
    background: #fff;
    border: 1px solid var(--cform-line);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cform-radio-group .wpcf7-list-item label:hover {
    border-color: var(--cform-navy);
}
.cform-radio-group .wpcf7-list-item input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--cform-navy);
}
/* チェック中のラベル文字色（古いブラウザ向けフォールバック） */
.cform-radio-group .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label {
    color: var(--cform-navy);
    font-weight: 700;
}
/* チェック中のカード全体（モダンブラウザ） */
.cform-radio-group .wpcf7-list-item label:has(input:checked) {
    border-color: var(--cform-navy);
    background: #f8f9fa;
    color: var(--cform-navy);
    font-weight: 700;
}

/* ── 13.9 個人情報同意 ── */
.cform-privacy {
    margin: 50px 0 0;
    padding: 30px;
    background: var(--cform-bg-soft);
    border: 1px solid var(--cform-line);
}
.cform-policy-box {
    max-height: 160px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--cform-line);
    font-size: 12px;
    line-height: 1.8;
    color: var(--cform-sub);
}
.cform-acceptance {
    text-align: center;
}
.cform-acceptance .wpcf7-acceptance {
    display: block;
}
.cform-acceptance .wpcf7-list-item {
    margin: 0;
    padding: 0;
}
.cform-acceptance .wpcf7-list-item label {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--cform-ink);
    cursor: pointer;
}
.cform-acceptance .wpcf7-list-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--cform-navy);
}

/* ── 13.10 送信ボタン ── */
.cform-submit-area {
    margin: 60px 0 0;
    text-align: center;
}
input.cform-submit,
button.cform-submit {
    display: inline-block;
    min-width: 320px;
    padding: 20px 60px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #fff;
    background: var(--cform-navy);
    border: 1.5px solid var(--cform-navy);
    border-radius: 0;
    cursor: pointer;
    -webkit-appearance: none;
            appearance: none;
    transition: all 0.25s ease;
}
input.cform-submit:hover,
button.cform-submit:hover {
    background: var(--cform-navy-d);
    border-color: var(--cform-navy-d);
}
.cform-submit-note {
    margin-top: 16px;
    font-size: 11px;
    color: var(--cform-sub);
    letter-spacing: 0.05em;
}

/* ── 13.11 バリデーション ── */
.wpcf7-form .cform-input.wpcf7-not-valid {
    border-color: var(--cform-req);
}
.wpcf7-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--cform-req);
    letter-spacing: 0.04em;
}
.wpcf7-form .wpcf7-response-output {
    margin: 30px 0 0;
    padding: 14px 20px;
    font-size: 13px;
    text-align: center;
    border-radius: 2px;
}
.wpcf7-form .wpcf7-spinner {
    margin-left: 12px;
    vertical-align: middle;
}

/* ── 13.12 確認モード時：入力欄を読み取り専用らしく ── */
.wpcf7-form .cform-input[readonly],
.wpcf7-form .cform-input[disabled] {
    background: var(--cform-bg-soft);
    color: var(--cform-ink);
    border-color: var(--cform-line);
    cursor: default;
    box-shadow: none;
}
.wpcf7-form .cform-input[readonly]:focus,
.wpcf7-form .cform-input[disabled]:focus {
    border-color: var(--cform-line);
    box-shadow: none;
}

/* ── 13.13 Confirm Plus が生成する「戻る」ボタン ── */
.wpcf7-form .wpcf7c-btn-back,
.wpcf7-form input[type="button"].wpcf7c-elm-step1 {
    display: inline-block;
    min-width: 200px;
    padding: 18px 40px;
    margin-right: 16px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--cform-ink);
    background: #fff;
    border: 1.5px solid var(--cform-line);
    border-radius: 0;
    cursor: pointer;
    -webkit-appearance: none;
            appearance: none;
    transition: all 0.25s ease;
}
.wpcf7-form .wpcf7c-btn-back:hover {
    border-color: var(--cform-ink);
}

/* ── 13.14 レスポンシブ ── */
@media (max-width: 768px) {
    .cform-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 0;
    }
    .cform-label {
        padding-top: 0;
    }
    .cform-privacy {
        padding: 20px;
    }
    input.cform-submit,
    button.cform-submit {
        min-width: 100%;
        padding: 18px 30px;
    }
}
@media (max-width: 575.98px) {
    .wpcf7-form .wpcf7c-btn-back {
        display: block;
        width: 100%;
        margin: 0 0 12px 0;
    }
}

/* ===== 確認・戻るボタン（Confirm Plus） ===== */

/* 「修正する」ボタン */
input.cform-back,
button.cform-back {
  display: inline-block;
  min-width: 200px;
  padding: 20px 40px;
  margin-right: 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cform-ink);
  background: #fff;
  border: 1.5px solid var(--cform-line);
  border-radius: 0;
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
  transition: all 0.25s ease;
}
input.cform-back:hover,
button.cform-back:hover {
  border-color: var(--cform-ink);
}

/* 「入力内容を確認する」ボタン（送信ボタンと同じ見た目で良いため、cform-submit と同じスタイルを継承） */
input.cform-confirm,
button.cform-confirm {
  display: inline-block;
  min-width: 320px;
  padding: 20px 60px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #fff;
  background: var(--cform-navy);
  border: 1.5px solid var(--cform-navy);
  border-radius: 0;
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
  transition: all 0.25s ease;
}
input.cform-confirm:hover,
button.cform-confirm:hover {
  background: var(--cform-navy-d);
  border-color: var(--cform-navy-d);
}

/* 確認モード時：入力欄を読み取り専用らしく */
.wpcf7-form .cform-input[readonly],
.wpcf7-form .cform-input[disabled] {
  background: var(--cform-bg-soft);
  color: var(--cform-ink);
  border-color: var(--cform-line);
  cursor: default;
  box-shadow: none;
}
.wpcf7-form .cform-input[readonly]:focus,
.wpcf7-form .cform-input[disabled]:focus {
  border-color: var(--cform-line);
  box-shadow: none;
}

/* スマホで戻る・送信を縦並びに */
@media (max-width: 575.98px) {
  input.cform-back,
  button.cform-back,
  input.cform-confirm,
  button.cform-confirm {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0 0 12px 0;
  }
}
/* =====================================================================
 * 14. News Pages
 *     single.php (お知らせ詳細) + archive.php (一覧)
 * ===================================================================== */
/* ── 14.1 SNSシェアアイコン（丸ボタン） ── */
.news-share {
    display: flex;
    gap: 8px;
}
.news-share a {
    width: 34px;
    height: 34px;
    border: 1px solid #dcdcdc;
    border-radius: 50%;
    color: var(--base-color, #0a2a5e);
    background: #fff;
    transition: all 0.25s ease;
}
.news-share a:hover {
    background: var(--base-color, #0a2a5e);
    color: #fff;
    border-color: var(--base-color, #0a2a5e);
}

/* ── 14.2 前後記事ナビ ── */
.news-pn-cell {
    transition: background 0.2s ease;
}
.news-pn-cell:hover {
    background: #fafbfc;
}
.news-pn-cell a > div {
    transition: opacity 0.2s ease;
}
@media (min-width: 768px) {
    /* PC: 中央に縦罫線 */
    .news-pn-cell-right {
        border-left: 1px solid var(--extra-medium-gray, #e5e7eb);
    }
}
@media (max-width: 767.98px) {
    /* SP: 上下区切り */
    .news-pn-cell-right {
        border-top: 1px solid var(--extra-medium-gray, #e5e7eb);
    }
    .news-pn-cell-right a {
        text-align: left !important;
    }
}

/* ── 14.3 月別アーカイブ ── */
.news-archive-month {
    transition: all 0.2s ease;
    border-radius: 3px;
}
.news-archive-month:hover {
    border-color: var(--base-color, #0a2a5e) !important;
    color: var(--base-color, #0a2a5e) !important;
}
.news-archive-month-current {
    background: var(--base-color, #0a2a5e) !important;
    color: #fff !important;
    border-color: var(--base-color, #0a2a5e) !important;
    pointer-events: none;
    font-weight: 600;
}

/* ── 14.4 本文（ブロックエディタ）の余白調整 ── */
.news-content p {
    line-height: 2;
    margin-bottom: 1.6em;
}
.news-content h2 {
    font-weight: 700;
    font-size: 22px;
    color: var(--dark-gray, #1a1a1a);
    margin: 2em 0 0.8em;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--base-color, #0a2a5e);
}
.news-content h3 {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark-gray, #1a1a1a);
    margin: 1.6em 0 0.6em;
    padding-left: 12px;
    border-left: 3px solid var(--base-color, #0a2a5e);
}
.news-content ul,
.news-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.6em;
}
.news-content ul li,
.news-content ol li {
    margin-bottom: 0.4em;
    line-height: 1.9;
}
.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}
.news-content figure {
    margin: 1.8em 0;
}
.news-content figure figcaption {
    font-size: 12px;
    color: var(--medium-gray, #6b7280);
    text-align: center;
    margin-top: 8px;
}
.news-content blockquote {
    border-left: 3px solid var(--extra-medium-gray, #e5e7eb);
    padding: 8px 20px;
    margin: 1.6em 0;
    color: var(--medium-gray, #6b7280);
    background: #fafbfc;
}

/* ── 14.5 一覧ページ：記事リスト ── */
.news-list { padding: 10px; }
.news-list a { padding: 15px; }

.news-list-item {
    transition: all 0.25s ease;
    color: inherit;
}
.news-list-item:hover {
    background: #fafbfc;
    padding-left: 25px !important;
}
.news-list-item:hover .news-list-title {
    color: var(--base-color, #0a2a5e) !important;
}
.news-list-item:hover .news-list-arrow {
    transform: translateX(4px);
}
.news-list-item .news-list-arrow {
    transition: transform 0.25s ease;
}
.news-list-title {
    line-height: 1.6;
}
.news-list-empty {
    padding: 60px 20px;
    text-align: center;
}

/* ── 14.6 ページネーション ── */
.news-pagination ul li .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--extra-medium-gray, #e5e7eb);
    background: #fff;
    color: var(--dark-gray, #1a1a1a);
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    border-radius: 3px;
}
.news-pagination ul li .page-numbers:hover {
    background: var(--base-color, #0a2a5e);
    color: #fff;
    border-color: var(--base-color, #0a2a5e);
}
.news-pagination ul li .page-numbers.current {
    background: var(--base-color, #0a2a5e);
    color: #fff;
    border-color: var(--base-color, #0a2a5e);
    cursor: default;
}
.news-pagination ul li .page-numbers.dots {
    border-color: transparent;
    background: transparent;
}
.news-pagination ul li .page-numbers.dots:hover {
    background: transparent;
    color: var(--medium-gray, #6b7280);
}

/* ── 14.7 News レスポンシブ微調整 ── */
@media (max-width: 767.98px) {
    .news-archive-row .alt-font.fs-18 {
        font-size: 16px;
    }
    .news-list-title {
        font-size: 14px !important;
    }
    .news-list-item:hover {
        padding-left: 15px !important;
    }
}


/* =====================================================================
 * 15. Project Pages (single-project.php)
 *     施工実績 詳細ページ専用スタイル
 * ===================================================================== */
.section-projects {
    padding: 20px 0;
}
/* ── 15.1 メイン画像 ── */
.project-hero-img {
    width: 100%;
    max-width: var(--maxw);
    margin: 50px auto 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-soft);
}
.project-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── 15.2 物件タイトル ── */
.project-title {
    padding: 56px 40px 0;
    max-width: var(--maxw);
    margin: 0 auto;
    text-align: center;
}
.project-title .tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}
.project-title h1 {
    font-weight: 900;
    font-size: clamp(24px, 3.2vw, 34px);
    color: var(--navy);
    letter-spacing: 0.08em;
    margin: 0 0 20px;
    line-height: 1.5;
}
.project-title .location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--sub);
    letter-spacing: 0.08em;
}
.project-title .location .pin {
    width: 14px;
    height: 14px;
    border: 1.5px solid var(--navy);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
}
.project-title .location .pin::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--navy);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ── 15.3 OUTLINE セクション共通 ── */
.outline-section {
    max-width: var(--maxw);
    margin: 80px auto 0;
    padding: 0 40px;
}
.section-head {
    text-align: center;
    margin-bottom: 50px;
}
.section-head .en {
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 0.3em;
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}
.section-head h2 {
    font-weight: 900;
    font-size: clamp(22px, 2.8vw, 30px);
    color: var(--navy);
    letter-spacing: 0.1em;
    margin: 0;
}

/* ── 15.4 概要リード文（ブロックエディタ出力） ── */
.outline-text {
    max-width: var(--readw);
    margin: 0 auto 60px;
}
.outline-text h2,
.outline-text h3 {
    font-weight: 700;
    font-size: clamp(18px, 2.2vw, 24px);
    color: var(--navy);
    line-height: 1.7;
    letter-spacing: 0.05em;
    margin: 0 0 24px;
}
.outline-text p {
    font-size: 15px;
    line-height: 2;
    margin: 0 0 1.4em;
}

/* ── 15.5 担当者コメント ── */
.staff-comments {
    max-width: var(--maxw);
    margin: 0 auto;
}
.comment-block {
    margin-bottom: 40px;
}
.comment-block:last-child {
    margin-bottom: 0;
}
.comment-head {
    background: var(--bg-accent);
    padding: 0px 24px;
    border-left: 4px solid var(--navy);
    margin-bottom: 24px;
}
.comment-head h3 {
    font-weight: 700;
    font-size: 16px;
    color: var(--navy);
    letter-spacing: 0.08em;
    margin: 0;
}
.comment-body {
    display: grid;
    grid-template-columns: 1fr 160px;
    gap: 40px;
    align-items: start;
    padding: 0 24px;
}
.comment-body .text {
    font-size: 15px;
    line-height: 2;
}
.comment-body .person {
    text-align: center;
}
.comment-body .person .photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--bg-soft);
    margin: 0 auto 10px;
    overflow: hidden;
}
.comment-body .person .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.comment-body .person .name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
}
.comment-body .person .role {
    font-size: 11px;
    color: var(--sub);
    margin-top: 4px;
    letter-spacing: 0.05em;
}

/* ── 15.6 スペックテーブル ── */
.spec-section {
    max-width: var(--maxw);
    margin: 80px auto 0;
    padding: 0 40px;
}
.spec-table {
    max-width: 720px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}
.spec-table dl {
    display: grid;
    grid-template-columns: 180px 1fr;
    margin: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 8px;
    gap: 24px;
    align-items: baseline;
    background: var(--bg-soft);
}
.spec-table dl:nth-child(even) {
    background: #fff;
}
.spec-table dt {
    font-size: 13px;
    letter-spacing: 0.12em;
    color: var(--navy);
    font-weight: 700;
    padding-left: 16px;
}
.spec-table dd {
    margin: 0;
    font-size: 14px;
}

/* ── 15.7 サブ画像ギャラリー ── */
.gallery {
    max-width: var(--maxw);
    margin: 80px auto 0;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.gallery .thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-soft);
}
.gallery .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── 15.8 前後記事ナビ ── */
.pn-nav {
    max-width: var(--maxw);
    margin: 100px auto 0;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.pn-nav .divider {
    background: var(--line);
}
.pn-nav a,
.pn-nav .disabled {
    display: block;
    padding: 28px 20px;
    text-decoration: none;
    color: var(--ink);
    transition: background 0.2s;
}
.pn-nav a:hover {
    background: var(--bg-soft);
}
.pn-nav .label {
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--navy);
    margin-bottom: 10px;
    display: block;
}
.pn-nav .row {
    display: flex;
    gap: 16px;
    align-items: center;
}
.pn-nav .row.right {
    justify-content: flex-end;
    text-align: right;
}
.pn-nav .thumb-s {
    width: 72px;
    height: 54px;
    background: var(--bg-soft);
    flex-shrink: 0;
    overflow: hidden;
}
.pn-nav .thumb-s img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pn-nav .info .year {
    font-size: 11px;
    color: var(--sub);
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}
.pn-nav .info .ttl {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}
.pn-nav .left .label  { text-align: left; }
.pn-nav .right .label { text-align: right; }

/* ── 15.9 年度アーカイブ ── */
.archive-nav {
    margin: 100px 0 0;
    padding: 60px 40px;
    background: var(--bg-soft);
}
.archive-nav .inner {
    max-width: var(--maxw);
    margin: 0 auto;
}
.archive-nav h3 {
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--navy);
    margin: 0 0 16px;
    font-weight: 700;
}
.archive-nav h3 .en {
    font-family: var(--font-en);
    font-weight: 500;
    margin-right: 12px;
    opacity: 0.7;
}
.archive-nav .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.archive-nav .tag {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 12px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    border-radius: 2px;
}
.archive-nav .tag:hover {
    border-color: var(--navy);
    color: var(--navy);
}
.archive-nav .tag.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.archive-nav .tag.disabled {
    color: #c8ccd2;
    background: #f5f6f8;
    cursor: default;
}

/* ── 15.10 Project レスポンシブ ── */
@media (max-width: 768px) {
    .project-title { padding: 40px 20px 0; }

    .outline-section {
        padding: 0 20px;
        margin-top: 60px;
    }
    .comment-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
        text-align: center;
    }
    .comment-body .person { order: -1; }
    .comment-body .text   { text-align: left; }

    .spec-section {
        padding: 0 20px;
        margin-top: 60px;
    }
    .spec-table dl {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 14px 12px;
    }

    .gallery {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .pn-nav {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    .pn-nav .divider {
        width: 100%;
        height: 1px;
    }

    .archive-nav { padding: 40px 20px; }

    /* Shared components SP 調整 */
    .page-hero  { padding: 50px 20px 30px; }
    .breadcrumb { padding: 12px 20px; font-size: 10px; }
}
