/*
Theme Name: Dapples Works
Template: astra
Description: Astra Child Theme for DAPPLES - Swiss Modern (Final Fix v14 4:3 Ratio)
Author: DAPPLES
Version: 14.4.0
*/

/* =========================================
   0. 基本設定
   ========================================= */
:root {
    --dp-navy: #1A2530;
    --dp-gold: #C5A059;
    --dp-bg-light: #FAFAFA;
    --dp-white: #FFFFFF;
    --dp-border: #EEEEEE;
    --header-height: 100px;
}

body {
    background-color: var(--dp-bg-light);
    color: var(--dp-navy);
    font-family: 'Helvetica Neue', 'Arial', 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

img { max-width: 100%; height: auto; display: block; }


/* ★重要: トップページのコンテナ幅制限を解除 */
body.home .site-content > .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ★重要: ギャラリー詳細ページのコンテナ幅制限を強制解除 */
body.single-gallery .site-content > .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.single-gallery #primary,
body.single-gallery #main {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* ★重要: 指定した固定ページ(dp-force-fullwidth)の幅制限をCSSで強制解除 */
/* functions.php でクラスを付与し、ここでスタイルを適用するダブルバインド */
body.dp-force-fullwidth .site-content > .ast-container,
body.dp-force-fullwidth #primary,
body.dp-force-fullwidth #main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* 独自コンテナ（コンテンツの幅を制御） */
.dp-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

/* =========================================
   1. ヘッダー (PC/スマホ 完全分離)
   ========================================= */

.dp-header {
    background: #ffffff;
    border-bottom: 1px solid var(--dp-border);
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    box-sizing: border-box;
}

/* ロゴ共通 */
.dp-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.dp-logo img, .dp-logo .custom-logo {
    max-height: 40px;
    width: auto;
    height: auto;
}
.dp-logo a.site-title-text {
    font-weight: 900; font-size: 24px; letter-spacing: 0.1em;
    font-family: 'Playfair Display', serif; text-decoration: none; color: var(--dp-navy);
}

/* ▼▼▼ PC表示 (922px以上): 中央寄せ ▼▼▼ */
@media (min-width: 922px) {
    /* Astraのヘッダー構造を強制的に中央寄せにする */
    .site-header .ast-main-header-bar-content,
    .site-header .ast-builder-grid-row {
        justify-content: center !important;
        display: flex !important;
        gap: 60px !important; /* ロゴとメニューの間隔 */
    }

    /* ロゴエリアとメニューエリアの幅制約を解除 */
    .site-header .site-branding,
    .site-header .ast-builder-menu,
    .site-header .ast-header-break-point .main-header-bar-navigation {
        flex: 0 0 auto !important; 
        margin: 0 !important;
        width: auto !important;
    }

    /* Astra特有の「左エリア」「右エリア」の幅を無効化 */
    .site-header .site-header-primary-section-left,
    .site-header .site-header-primary-section-right {
        width: auto !important;
        flex: none !important;
        justify-content: center !important;
    }
    
    /* PC用のjustify設定 */
    .dp-header {
        justify-content: center;
    }
}

/* ▼▼▼ スマホ・タブレット表示 (921px以下): 左右配置（ロゴ左・メニュー右） ▼▼▼ */
@media (max-width: 921px) {
    /* グリッド全体を左右配置に */
    .site-header .ast-main-header-bar-content,
    .site-header .ast-builder-grid-row {
        justify-content: space-between !important;
        display: flex !important;
        width: 100% !important;
        gap: 0 !important;
    }
    
    /* ロゴエリアを左寄せ */
    .site-header .site-header-primary-section-left,
    .site-header .ast-builder-layout-element.site-header-focus-item {
        justify-content: flex-start !important;
        margin-right: auto !important;
        flex: 1 !important; /* 幅を確保 */
    }
    
    /* メニュー（ハンバーガー）エリアを右寄せ */
    .site-header .site-header-primary-section-right,
    .site-header .ast-mobile-menu-trigger-fill {
        justify-content: flex-end !important;
        margin-left: auto !important;
        flex: 0 0 auto !important;
    }
    
    /* ヘッダー内部要素の余白調整 */
    .ast-header-break-point .main-header-bar {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* ナビゲーション（PC用） */
.dp-nav ul {
    display: flex; gap: 30px; align-items: center; list-style: none; margin: 0; padding: 0;
}
.dp-nav li { position: relative; }
.dp-nav a {
    font-size: 13px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
    text-decoration: none; padding: 10px 0; display: block;
    color: var(--dp-navy);
    transition: 0.3s;
}
.dp-nav a:hover, .dp-nav a.active { color: var(--dp-gold); }

/* ドロップダウンメニュー */
.dp-dropdown {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
    background: #fff; min-width: 240px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 4px; opacity: 0; visibility: hidden; transition: all 0.3s;
    padding: 10px 0; border: 1px solid var(--dp-border);
    display: flex; flex-direction: column;
}
.dp-nav li:hover .dp-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dp-dropdown a { color: var(--dp-navy) !important; padding: 12px 20px; text-align: left; }
.dp-dropdown a:hover { background: var(--dp-bg-light); color: var(--dp-gold) !important; }

/* CONTACTボタン */
a.dp-btn-nav {
    background: var(--dp-gold); color: #fff !important;
    padding: 10px 25px !important; border-radius: 2px;
}
a.dp-btn-nav:hover { background: var(--dp-navy) !important; }

/* =========================================
   2. コンテンツ共通スタイル
   ========================================= */
/* セクションベース */
.dp-section {
    padding: 120px 0; /* 最新トレンドに合わせて余白を広めに */
    position: relative;
    width: 100%;
}

/* 背景色ユーティリティ */
.dp-bg-white { background-color: #FFFFFF; }
.dp-bg-gray { background-color: #F5F5F5; }
.dp-bg-navy { background-color: #1A2530; color: #fff; }

/* 見出し */
.dp-sec-title { margin-bottom: 60px; color: var(--dp-navy); text-align: left; }
.dp-sec-title.center { text-align: center; }
.dp-sec-title .en {
    display: block; font-size: 13px; letter-spacing: 0.3em; color: var(--dp-gold);
    margin-bottom: 15px; font-weight: 600; font-family: 'Playfair Display', serif;
}
.dp-sec-title .jp {
    display: block; font-size: 38px; font-weight: 900; line-height: 1.3;
}

/* Bento Grid */
.dp-bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.dp-bento-card {
    background: var(--dp-white); padding: 40px; border: 1px solid var(--dp-border); border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: 0.3s; display: flex; flex-direction: column;
    text-decoration: none; color: inherit; height: 100%; box-sizing: border-box;
}
.dp-bento-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.dp-bento-icon { font-size: 40px; color: var(--dp-gold); margin-bottom: 20px; }
.dp-bento-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 15px; color: var(--dp-navy); }
.dp-bento-card p { font-size: 15px; color: #555; margin-bottom: auto; line-height: 1.8; }

/* ボタン */
.dp-btn {
    display: inline-flex; align-items: center; justify-content: center; padding: 16px 45px;
    text-decoration: none; transition: 0.3s; font-weight: 700; border-radius: 2px; font-size: 14px;
    cursor: pointer;
}
.dp-btn-gold { background: var(--dp-gold); color: #fff; border: 1px solid var(--dp-gold); }
.dp-btn-gold:hover { background: var(--dp-navy); border-color: var(--dp-navy); color: #fff; }
.dp-btn-outline { border: 1px solid var(--dp-navy); color: var(--dp-navy); background: transparent; }
.dp-btn-outline:hover { background: var(--dp-navy); color: #fff; }

/* Works Grid */
.dp-works-grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.dp-work-card-v2 {
    background: var(--dp-white); border-radius: 4px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.4s; display: block; text-decoration: none; color: inherit;
}
.dp-work-card-v2:hover { transform: translateY(-8px); }
.dp-work-thumb-v2 { height: 260px; position: relative; overflow: hidden; }
.dp-work-thumb-v2 img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.dp-work-card-v2:hover .dp-work-thumb-v2 img { transform: scale(1.1); }
.dp-work-tag { position: absolute; top: 20px; left: 20px; background: rgba(26,37,48,0.9); color: #fff; font-size: 11px; padding: 6px 14px; border-radius: 2px; font-weight: 600; z-index: 2; }
.dp-work-price { position: absolute; bottom: 0; right: 0; background: var(--dp-gold); color: #fff; font-weight: 700; padding: 8px 20px; font-size: 14px; z-index: 2; }
.dp-work-body { padding: 25px; }
.dp-work-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--dp-navy); }

/* スプリットレイアウト */
.dp-split { display: flex; align-items: center; gap: 60px; justify-content: space-between; }
.dp-split-img { flex: 1; max-width: 50%; }
.dp-split-img img { width: 100%; border-radius: 2px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.dp-split-text { flex: 1; max-width: 50%; }

/* CTAセクション（リッチ）修正版 */
.dp-cta-rich {
    background-image: url('http://exterior.dapples.jp/wp-content/uploads/allcta2r-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* パララックス効果で奥行きを出す */
    color: #fff;
    text-align: center;
    padding: 160px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.dp-cta-rich::before {
    content: '';
    position: absolute;
    inset: 0;
    /* 修正前: background: rgba(26,37,48,0.85); */
    /* 修正後: 少し明るくし、青みを強調して写真を活かす */
    background: rgba(26, 37, 48, 0.65);
    /* オプション: すりガラス効果で文字を読みやすくする（モダンな処理） */
    backdrop-filter: blur(2px); 
    z-index: 1;
}

.dp-cta-content {
    position: relative;
    z-index: 2;
}

/* タイトルにアクセントを追加 */
.dp-cta-rich h2 {
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* CTAセクション修正 */
.dp-cta-rich h2 {
    /* 文字色をゴールドに変更して視認性確保 */
    color: var(--dp-gold) !important; 
    /* 読みやすくするための強い影 */
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    font-size: 42px; /* 少しサイズアップ */
}

/* 本文は白のままで、影を落として読みやすくする */
.dp-cta-rich p {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
    font-weight: 500;
}

/* フッター */
.dp-footer { background: var(--dp-navy); color: #fff; padding: 60px 0; text-align: center; width: 100%; }

/* ページヘッダー (下層) */
.dp-page-header { background-color: var(--dp-navy); color: #fff; padding: 100px 0; text-align: center; background-size: cover; background-position: center; width: 100%; }
.dp-page-title { font-size: 48px; font-family: 'Playfair Display', serif; color: var(--dp-gold); margin-bottom:10px; }
.dp-page-desc { font-size: 16px; opacity: 0.9; }

/* 詳細ページ系 */
.dp-service-detail-hero { width: 100%; height: 400px; display: flex; align-items: center; justify-content: center; background-size: cover; color: #fff; margin-bottom: 80px; }
.dp-detail-content { display: flex; gap: 50px; align-items: flex-start; margin-bottom: 80px; }
.dp-detail-text, .dp-detail-img { flex: 1; }

/* レスポンシブ */
@media (max-width: 1024px) {
    .dp-bento-grid, .dp-works-grid-v2 { grid-template-columns: repeat(2, 1fr); }
    .dp-container { padding: 0 25px; }
    .dp-split, .dp-detail-content { flex-direction: column; }
    .dp-split-img, .dp-split-text { max-width: 100%; }
}
@media (max-width: 768px) {
    .dp-container, .ast-container { padding: 0 3% !important; }
    .dp-bento-grid, .dp-works-grid-v2 { grid-template-columns: 1fr; }
    .dp-header { padding: 0 20px; }
    .dp-nav { display: none; } 
    /* dp-sec-title.center の左寄せ設定は削除（中央寄せ維持の要望が多いため） */
}

/* =========================================
   フッターデザインの刷新 (Silent Luxury)
   ========================================= */

/* フッター全体の背景をネイビーにし、余白を広げる */
.site-footer {
    background-color: #1A2530 !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0 !important;
}

/* 著作権テキストのデザイン */
.ast-footer-copyright {
    color: rgba(255, 255, 255, 0.6) !important; /* 少しグレーがかった白で上品に */
    font-size: 13px !important;
    letter-spacing: 0.05em;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* リンクがある場合のホバー色（念のため） */
.site-footer a {
    color: #ffffff !important;
}
.site-footer a:hover {
    color: #C5A059 !important; /* ホバー時にゴールド */
}

/* Astraのデフォルトの区切り線などを消す */
.ast-small-footer-section-1 {
    border: none !important;
}

/* =========================================
   Astra標準の余白（隙間）を強制削除
   ========================================= */
@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
        margin-bottom: 0 !important;
        /* もし上部の隙間も気になる場合は下記も有効化してください */
        /* margin-top: 0 !important; */
    }
}

/* =========================================
   Astraのページビルダー用デフォルト余白を強制削除
   ========================================= */
.ast-single-post.ast-page-builder-template .site-main > article, 
.ast-page-builder-template .post-navigation,
.ast-page-builder-template .entry-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* =========================================
   Contact Form 7 デザイン (Silent Luxury)
   ========================================= */

/* フォーム全体の幅調整（スマホで見やすく） */
.dp-form-container {
    width: 100%;
    max-width: 100%;
}

/* 行ごとのレイアウト */
.dp-form-row {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* ラベルデザイン */
.dp-form-label {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 14px;
    color: #1A2530; /* ネイビー */
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 必須・任意バッジ */
.dp-required, .dp-any {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 2px;
    font-weight: 500;
}
.dp-required { background: #C5A059; color: #fff; } /* ゴールド */
.dp-any { background: #eee; color: #666; }

/* 入力フィールド共通 */
.dp-form-control, .dp-form-select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 16px;
    background: #FAFAFA;
    transition: 0.3s;
    box-sizing: border-box; /* 枠からはみ出さない設定 */
}

/* フォーカス時（入力中） */
.dp-form-control:focus, .dp-form-select:focus {
    background: #fff;
    border-color: #1A2530; /* ネイビー */
    outline: none;
    box-shadow: 0 0 0 1px #1A2530;
}

/* テキストエリア */
textarea.dp-form-control {
    height: 180px;
    line-height: 1.6;
}

/* 送信ボタンエリア */
.dp-form-submit {
    text-align: center;
    margin-top: 40px;
}
.dp-form-submit .wpcf7-submit {
    width: 100%;
    max-width: 300px;
    padding: 18px 0;
    cursor: pointer;
}

/* プライバシーポリシーチェック */
.dp-privacy-row {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
}
.dp-privacy-check input {
    margin-right: 10px;
    transform: scale(1.2);
}

/* エラーメッセージの美化 */
.wpcf7-not-valid-tip {
    font-size: 12px;
    color: #d9534f;
    margin-top: 5px;
    font-weight: 500;
}

/* レスポンシブ対応 */
@media (min-width: 769px) {
    /* PCではラベルと入力を横並びにしたい場合（今回は縦並び推奨ですが、横にしたい場合はここを調整） */
    /* 現在のデザインは縦積み（Stack）で、モダンかつスマホファーストな設計にしています */
}

/* =========================================
   お気に入りボタンの状態変化
   ========================================= */

/* ボタン自体のスタイル（詳細ページ用） */
.dp-like-btn {
    display: inline-flex; 
    align-items: center; 
    gap: 12px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #1A2530;
    color: #1A2530;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.dp-like-btn:hover {
    background: #1A2530;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* アイコン */
.dp-like-icon {
    font-size: 18px;
    color: #ccc;
    transition: 0.3s;
}
.dp-like-btn:hover .dp-like-icon {
    color: #fff;
}

/* アクティブ（登録済み）の時 */
.dp-like-btn.active {
    border-color: #e0245e;
    color: #e0245e;
    background: #fff0f5;
}

.dp-like-btn.active .dp-like-icon {
    color: #e0245e; /* ピンクレッド */
    font-weight: 900; /* ハートを塗りつぶし風に見せる（フォントによる） */
    animation: heartPop 0.3s ease-out;
}
.dp-like-btn.active:hover {
    background: #e0245e;
    color: #fff;
}
.dp-like-btn.active:hover .dp-like-icon {
    color: #fff;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}


/* ついでに、タグリンクのスタイルも定義（ショートコード用） */
.dp-tag-list .dp-tag-link {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
    transition: 0.3s;
}
.dp-tag-list .dp-tag-link:hover {
    background: #ddd;
    color: #333;
}

/* =========================================
   施工事例詳細ページ (V3.0 FIXED + 4:3 Ratio)
   ========================================= */

/* 全体ラッパー */
.dp-case-wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    color: #333;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
}

/* セクション共通 */
.dp-case-section { margin-bottom: 100px; }

/* 見出し（英語サブタイトル付き） */
.dp-case-heading {
    font-size: 24px;
    font-weight: 700;
    color: #1A2530;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.dp-case-heading::before {
    content: attr(data-en);
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: #C5A059;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    display: block;
}

/* 1. ページ内ナビゲーション (目次) */
.dp-page-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.dp-nav-link {
    font-size: 14px;
    color: #888;
    padding: 5px 0;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.05em;
    border: none;
    background: none;
}
.dp-nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
    background: #C5A059; transition: 0.3s;
}
.dp-nav-link:hover { color: #1A2530; }
.dp-nav-link:hover::after { width: 100%; }
.dp-nav-link::before { content: '↓'; font-size: 10px; margin-right: 5px; opacity: 0.5; }

/* 2. ストーリー（課題・要望） */
.dp-story-box {
    background: #F9F9F9;
    padding: 60px;
    border-radius: 4px;
    text-align: center;
}
.dp-story-title { font-weight: 700; font-size: 18px; margin-bottom: 20px; color: #1A2530; }
.dp-story-text { font-size: 16px; line-height: 1.8; color: #555; }

/* 3. コンセプト (画像設定：4:3比率固定・レスポンシブ対応) */
.dp-concept-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; /* ★ここで縦横比を4:3に固定 */
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: block;
    object-fit: cover; /* 枠に合わせてトリミング（歪ませない） */
    object-position: center 60%; /* 中心よりやや下を基準 */
}
.dp-concept-text {
    font-size: 16px;
    line-height: 2.0;
    text-align: center;
    margin-bottom: 40px;
}

/* 4. こだわり (スプリットレイアウト - 画像設定：4:3比率固定) */
/* 標準レイアウト用 */
.dp-split { display: flex; align-items: center; gap: 50px; margin-bottom: 60px; }
.dp-split-img, .dp-split-text { flex: 1; }
.dp-split-img img { 
    width: 100%; 
    height: auto;
    aspect-ratio: 4 / 3; /* ★4:3固定 */
    border-radius: 4px; 
    display: block;
    object-fit: cover; /* トリミング */
}
.dp-point-title { font-size: 20px; font-weight: 700; margin-bottom: 15px; color: #1A2530; }

/* カスタムレイアウト用 (.dp-split-custom) - HTML側でよく使用されるクラス */
.dp-split-custom figure { margin: 0; width: 100%; }
.dp-split-custom figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; /* ★4:3固定 */
    display: block;
    border-radius: 8px;
    object-fit: cover; /* トリミング */
}

/* .dp-split-custom のPC/SPレイアウト調整 */
@media (min-width: 768px) {
    .dp-split-custom {
        display: flex;
        align-items: center;
        gap: 50px;
        margin-bottom: 60px;
    }
    /* 交互配置用: flex-direction: row-reverse を style属性で入れた場合も効くように */
    .dp-split-custom[style*="row-reverse"] {
        flex-direction: row-reverse;
    }
    .dp-split-custom > figure,
    .dp-split-custom > .dp-split-custom-text {
        flex: 1; /* 1:1 分割 */
    }
}
@media (max-width: 767px) {
    .dp-split-custom {
        display: block;
        margin-bottom: 40px;
    }
    .dp-split-custom > figure {
        margin-bottom: 20px;
    }
}

/* 5. Micro CTA (WEB閲覧タイプ) */
.dp-micro-cta {
    background: #fff;
    border: 2px solid #1A2530;
    padding: 60px 40px;
    margin: 80px auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 800px;
    width: 100%;
    
    /* 中身を中央揃え */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dp-micro-cta::before {
    content: 'FREE ACCESS';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #1A2530;
    color: #fff;
    padding: 5px 25px;
    font-size: 12px;
    letter-spacing: 0.1em;
    font-weight: 700;
    white-space: nowrap;
}

/* ボタンの幅調整 */
.dp-micro-cta .dp-btn {
    min-width: 300px;
    max-width: 100%;
}

/* 6. お客様の声 */
.dp-voice-box {
    border: 1px solid #eee;
    padding: 50px;
    position: relative;
    background: #fff;
    border-radius: 4px;
}
.dp-voice-icon {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    background: #C5A059; color: #fff; width: 40px; height: 40px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}

/* 7. 担当者 */
.dp-staff-box {
    display: flex; gap: 40px; align-items: flex-start;
    border-top: 1px solid #eee; padding-top: 40px; margin-top: 40px;
}
.dp-staff-img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* 8. タグ・お気に入り */
.dp-tags-area {
    margin-top: 60px; padding-top: 40px; border-top: 1px solid #eee;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}

/* 9. スマホ対応 (メディアクエリ) */
@media (max-width: 768px) {
    .dp-split { flex-direction: column !important; gap: 30px !important; }
    .dp-split-img, .dp-split-text { width: 100% !important; flex: auto !important; }
    .dp-staff-box { flex-direction: column; text-align: center; align-items: center; gap: 20px; }
    .dp-tags-area { flex-direction: column; text-align: center; }
    .dp-nav-link { font-size: 12px; width: 45%; text-align: center; }
    .dp-page-nav { justify-content: space-between; gap: 10px; }
    .dp-micro-cta { padding: 40px 20px; margin: 60px 0; }
    .dp-micro-cta .dp-btn { width: 100%; min-width: 0; }
}

/* =========================================
   10. Swiperデザイン (ギャラリー画像 4:3 固定修正版)
   ========================================= */
.swiper-pagination-bullet-active {
    background: var(--dp-gold) !important;
}

/* ▼▼▼ 修正：ギャラリー画像の比率を4:3に強制統一 ▼▼▼ */
.dp-works-slider img,
.dp-gallery-slider img, /* 念のため別クラス名も想定して追加 */
#gallery img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important; /* ★ここで縦横比を4:3に固定 */
    object-fit: cover !important;   /* 枠に合わせてトリミング（歪み防止） */
    border-radius: 4px;             /* 他の画像と合わせて角丸に */
}

/* ▼▼▼ 修正：スマホ表示時の設定 ▼▼▼ */
@media (max-width: 768px) {
    /* 以前の height: 300px !important; を削除し、アスペクト比指定を優先 */
    .dp-works-slider img {
        height: auto !important;        /* 固定高さを解除 */
        aspect-ratio: 4 / 3 !important; /* スマホでも4:3を維持 */
    }
}

/* ▼▼▼ リフォーム事例専用スタイル (Minimal & Luxury) ▼▼▼ */

/* 1. 概要セクション（シンプルに） */
.dp-reform-intro {
    margin-bottom: 50px;
    border-bottom: 1px solid #E1E4E8;
    padding-bottom: 30px;
}
.dp-reform-intro h2 {
    font-size: 24px;
    color: #1A2530; /* Navy */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.4;
}
.dp-reform-intro p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

/* 2. ポイントセクション（スペック表風リストデザイン） */
.dp-point-list {
    margin-bottom: 50px;
}
.dp-point-row {
    display: flex;
    border-top: 1px solid #E1E4E8;
    padding: 25px 0;
    align-items: baseline;
}
.dp-point-row:last-child {
    border-bottom: 1px solid #E1E4E8;
}

/* ナンバリング */
.dp-point-num {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #C5A059; /* Gold */
    font-weight: bold;
    width: 40px;
    flex-shrink: 0;
    padding-top: 2px;
}

/* 見出しと本文のラッパー */
.dp-point-content {
    width: 100%;
}

/* ポイントの見出し */
.dp-point-head {
    font-size: 18px;
    font-weight: bold;
    color: #1A2530;
    margin-bottom: 10px;
    display: block;
}

/* ポイントの本文 */
.dp-point-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 3. CTAエリア（リフォーム用） */
.dp-reform-cta {
    background-color: #F5F7FA;
    border: 1px solid #E1E4E8;
    border-radius: 4px; 
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 40px;
}
.dp-reform-cta h3 {
    font-size: 20px;
    color: #1A2530;
    font-weight: bold;
    margin-bottom: 15px;
}
.dp-btn-contact {
    display: inline-block;
    background: #1A2530; 
    color: #fff;
    font-weight: bold;
    padding: 16px 45px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 15px;
    letter-spacing: 0.05em;
}
.dp-btn-contact:hover {
    background: #C5A059;
    opacity: 1;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .dp-point-row { flex-direction: column; }
    .dp-point-num { margin-bottom: 5px; }
    .dp-reform-cta { padding: 30px 20px; }
}

/* =========================================
   DESIGN GALLERY STYLES (一覧用)
   ========================================= */

/* フィルターナビ */
.dp-gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}
.dp-gallery-filter a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 50px;
    transition: 0.3s;
    border: 1px solid transparent;
}
.dp-gallery-filter a:hover,
.dp-gallery-filter a.active {
    color: #1A2530;
    border-color: #1A2530;
    background: #f0f0f0;
}

/* ギャラリーグリッド（一覧） */
.dp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}
.dp-gallery-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 4px; /* 角丸を少し控えめに */
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.dp-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* 画像エリア */
.dp-gallery-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3; /* 4:3比率固定 */
}
.dp-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.dp-gallery-card:hover .dp-gallery-thumb img {
    transform: scale(1.05);
}

/* ホバー時のオーバーレイ */
.dp-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 37, 48, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}
.dp-gallery-card:hover .dp-gallery-overlay {
    opacity: 1;
}
.dp-view-btn {
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 0.1em;
    background: rgba(0,0,0,0.2);
}

/* カード情報 */
.dp-gallery-info {
    padding: 20px;
}
.dp-gallery-title {
    font-size: 16px;
    font-weight: 700;
    color: #1A2530;
    margin-bottom: 8px;
    line-height: 1.4;
}
.dp-gallery-cat {
    font-size: 12px;
    color: #C5A059;
    font-weight: 500;
}

/* 詳細ページ (一覧用) */
.dp-gallery-single-header {
    text-align: center;
    margin-bottom: 40px;
}
.dp-gallery-tags .dp-tag {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 15px;
    font-size: 12px;
    margin: 0 5px;
    border-radius: 50px;
}
.dp-gallery-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}
.dp-gallery-content img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 4px;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .dp-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .dp-gallery-grid { grid-template-columns: 1fr; gap: 40px; }
    .dp-gallery-info { padding: 15px; }
}

/* =========================================
   11. DESIGN GALLERY 詳細ページ用拡張 (New - 上記既存に追加)
   ========================================= */

/* 詳細ページ用グリッドレイアウト（既存の dp-gallery-grid とは別物として定義） */
.dp-gallery-grid-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 60px;
}
@media (min-width: 768px) {
    .dp-gallery-grid-detail {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* 全幅表示アイテム */
.dp-g-item.wide {
    grid-column: 1 / -1;
}

/* 詳細画像の装飾 */
.dp-g-item {
    margin: 0;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.dp-g-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: zoom-in; /* クリック可能を示唆 */
}
.dp-g-item:hover img {
    transform: scale(1.03);
}

/* 画像キャプション */
.dp-g-item figcaption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #666;
    font-family: 'Shippori Mincho', serif;
    letter-spacing: 0.05em;
    text-align: right;
}

/* 詳細ページ内の本文テキスト */
.dp-g-text {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 20px auto 40px;
    line-height: 2.2;
    color: #444;
    font-size: 1rem;
    text-align: justify;
}

/* ライトボックス (Design Gallery用) */
#lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
#lightbox-img {
    max-height: 85vh;
    max-width: 100%;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}
#lightbox-caption {
    position: absolute;
    bottom: 30px;
    color: #fff;
    font-family: 'Shippori Mincho', serif;
    letter-spacing: 0.1em;
    text-align: center;
    width: 100%;
}
#lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

/* ▼ 送信ボタンの位置ズレ修正 ▼ */

/* 1. CF7が勝手に挿入するpタグを強制的に中央揃えにする */
.dp-lp-right .wpcf7 form p {
    text-align: center !important;
    width: 100%;
}

/* 2. ボタンを囲むラッパーも念のため中央揃え属性を持つ */
.dp-form-submit {
    display: flex;
    justify-content: center !important; /* Flexboxでの中央寄せ */
    text-align: center !important;      /* テキストとしての中央寄せ */
    width: 100%;
}

/* 3. ボタン本体に左右自動マージンを与えて強制的に真ん中へ */
.dp-lp-right input[type="submit"] {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 顧客プロジェクト詳細ページの調整 */
.single-client_projects .ast-archive-description,
.single-client_projects .ast-breadcrumbs,
.single-client_projects .entry-header .entry-meta,
.single-client_projects .post-navigation {
    display: none !important;
}

/* タイトル周りの余白調整 */
.single-client_projects .entry-header {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}

/* 顧客プロジェクト詳細ページ (dp-force-fullwidthクラスが付与された場合) の幅制限を強制解除 */
body.dp-force-fullwidth .site-content > .ast-container,
body.dp-force-fullwidth #primary,
body.dp-force-fullwidth #main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* =========================================
   12. 顧客プロジェクトページ専用スタイル (FIXED)
   ========================================= */

/* 強制全幅設定 (single-client_projects用) */
body.single-client_projects .site-content > .ast-container,
body.single-client_projects #primary,
body.single-client_projects #main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* フォームラッパー */
.dp-docs-wrapper {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 40px;
    margin-top: 40px;
}
.dp-docs-head {
    font-size: 18px;
    font-weight: 700;
    color: #1A2530;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
    margin-bottom: 0;
    letter-spacing: 0.05em;
}
.dp-no-docs {
    text-align: center;
    padding: 40px;
    color: #888;
    background: #fff;
    border-radius: 4px;
}

/* リストアイテム */
.dp-doc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
}
.dp-doc-item:last-child {
    border-bottom: none;
}
.dp-doc-item:hover {
    background-color: #fcfcfc;
}
.dp-doc-info {
    flex: 1;
    padding-right: 20px;
}
.dp-doc-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}
.dp-doc-date {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #888;
    font-size: 14px;
}
.dp-doc-badge {
    background: #1A2530;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 2px;
    font-weight: 500;
}
.dp-doc-memo {
    font-size: 14px;
    color: #333;
    font-weight: 700;
}

/* ボタン */
.dp-btn-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #1A2530;
    color: #1A2530;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}
.dp-btn-view:hover {
    background: #1A2530;
    color: #fff;
}

/* モーダルスタイル */
.dp-doc-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.dp-doc-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.dp-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.dp-modal-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    background: #fff;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.dp-modal-header {
    padding: 15px 20px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.dp-modal-title {
    font-weight: 700;
    color: #1A2530;
    font-size: 14px;
}
.dp-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0;
}
.dp-modal-close:hover {
    color: #1A2530;
}

.dp-modal-body {
    flex: 1;
    position: relative;
    background: #525659; /* PDF背景色に合わせる */
    /* Google Docs Viewer用調整 */
    overflow: hidden; 
}

.dp-doc-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* スマホ対応 */
@media (max-width: 768px) {
    /* フォーム周り */
    .dp-docs-wrapper { padding: 20px; }
    .dp-doc-item { flex-direction: column; align-items: flex-start; gap: 15px; }
    .dp-doc-action { width: 100%; text-align: center; }
    .dp-btn-view { width: 100%; justify-content: center; }

    /* PDFモーダル（スマホ全画面最適化） */
    .dp-modal-container {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
    }
    
    /* モーダルヘッダー */
    .dp-modal-header {
        flex-shrink: 0;
        height: 50px;
        box-sizing: border-box;
    }

    /* モーダルボディ（Google Docs Viewerは内部スクロールを持つためoverflow不要） */
    .dp-modal-body {
        flex: 1;
        height: calc(100% - 50px);
        overflow: hidden !important; 
    }

    /* iframe自体 */
    .dp-doc-iframe {
        width: 100%;
        min-height: 100%;
        display: block;
        max-width: 100vw;
    }
}

/* style.css (修正版) */

/* =========================================
   PDF Embedder 表示調整 (スクロール優先版)
   ========================================= */

/* 1. モーダルボディのスクロール許可 */
/* ヘッダー以外の部分をスクロール可能エリアにする */
.dp-doc-modal .dp-modal-body {
    height: calc(100% - 60px); /* ヘッダーの高さを引いた残り */
    overflow-y: auto !important; /* 縦スクロールを許可 */
    -webkit-overflow-scrolling: touch; /* iOSで滑らかにスクロール */
    background: #525659; /* PDF背景色 */
    position: relative;
    padding-bottom: 60px; /* ★重要: ツールバーが被る分の余白を下部に確保 */
}

/* 2. PDFラッパーの高さ制限を解除 */
/* 無理に100%にせず、PDF本来の高さに任せる */
.dp-pdf-wrapper {
    width: 100%;
    height: auto !important; 
    min-height: 100%;
    display: block; /* Flex廃止 */
    position: relative;
}

/* 3. PDF Embedder 本体の調整 */
.pdfemb-viewer-canvas {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

/* 4. ツールバーの見た目調整 */
/* toolbarfixed="on" の場合、絶対配置になるため位置を微調整 */
.pdfemb-toolbar {
    background-color: rgba(26, 37, 48, 0.9) !important; /* ネイビー系の半透明 */
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 15px 0 !important; /* 指で押しやすいように太くする */
    z-index: 1000 !important;
    position: fixed !important; /* 画面下部に固定 */
}

/* ページ送りボタンを見やすく */
.pdfemb-toolbar button {
    color: #C5A059 !important; /* ゴールド色で視認性アップ */
    opacity: 1 !important;
}

/* ページ番号の文字色 */
.pdfemb-toolbar .pdfemb-page-num {
    color: #fff !important;
    font-weight: bold;
}

/* 5. ダウンロードリンクを隠す（念のため） */
a.pdfemb-download {
    display: none !important;
}

/* --- スマホ専用調整 --- */
@media (max-width: 768px) {
    /* モーダル全体の高さを画面いっぱいに */
    .dp-modal-container {
        height: 100% !important;
        max-height: 100% !important;
        border-radius: 0 !important;
    }
    
    /* ツールバーを少し大きくしてタップしやすく */
    .pdfemb-toolbar {
        padding: 20px 0 !important;
    }
}

/* =========================================
   PDF Embedder PC用視認性向上 (追加分)
   ========================================= */

@media (min-width: 769px) {
    /* 1. ツールバーの中身を中央寄せにする */
    .pdfemb-toolbar {
        display: flex !important;           /* Flexbox化 */
        justify-content: center !important; /* 左右中央揃え */
        align-items: center !important;     /* 上下中央揃え */
        gap: 30px !important;               /* ボタンとページ番号の間隔を広げる */
        
        /* 2. デザインを強調して「操作パネル」感を出す */
        background-color: #1A2530 !important; /* 完全に不透明なネイビーにして存在感を出す */
        box-shadow: 0 -4px 20px rgba(0,0,0,0.3); /* 上向きに影を落として浮き上がらせる */
        padding: 20px 0 !important;         /* 高さを出して見やすく */
        border-top: 1px solid #C5A059;      /* 上部にゴールドのラインを入れて気づきやすく */
    }

    /* 3. ボタン自体のサイズとカーソル調整 */
    .pdfemb-toolbar button {
        font-size: 14px !important; /* アイコン/文字サイズアップ */
        cursor: pointer !important;
        padding: 5px 15px !important;
        transition: opacity 0.3s;
    }
    .pdfemb-toolbar button:hover {
        opacity: 0.8 !important; /* ホバー時に反応させる */
    }

    /* 4. ページ番号表示を見やすく */
    .pdfemb-toolbar .pdfemb-page-num {
        font-size: 16px !important;
        letter-spacing: 0.1em;
    }
}

/* style.css の末尾に追加 */

/* =========================================
   スクリーンショット対策：透かし（タイル状パターン）
   ========================================= */

.dp-pdf-wrapper {
    position: relative;
    /* 念のためオーバーフロー対策 */
    overflow: hidden; 
}

.dp-pdf-wrapper::after {
    content: "";
    position: absolute;
    inset: 0; /* 上下左右0で全画面を覆う */
    z-index: 500;
    pointer-events: none; /* クリックを邪魔しない */

    /* ▼ SVGを使って「DAPPLES CONFIDENTIAL」を斜めに繰り返し表示する技術 */
    /* fill='rgba(0,0,0,0.08)' の数値を変更すると濃さを調整できます */
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='300' height='300' viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='50%25' y='50%25' transform='rotate(-30 150 150)' fill='rgba(0,0,0,0.08)' font-family='Helvetica, sans-serif' font-weight='bold' font-size='20' text-anchor='middle' dominant-baseline='middle'%3EDAPPLES CONFIDENTIAL%3C/text%3E%3C/svg%3E");
    
    /* パターンを繰り返す */
    background-repeat: repeat;
    background-position: center;
}

/* style.css 末尾に追加 */

/* =========================================
   資料リストのグルーピング装飾
   ========================================= */

/* 最新版とアーカイブの間隔 */
.dp-docs-section.archive {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px dashed #eee; /* 点線で区切る */
}

/* 最新版のバッジ色（ゴールド） */
.dp-docs-section.latest .dp-doc-badge {
    background: #C5A059 !important;
}

/* アーカイブの見出しを少し控えめに */
.dp-docs-section.archive .dp-docs-head {
    font-size: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    opacity: 0.8;
}