/*
Theme Name: Dapples Works
Template: astra
Description: Astra Child Theme for DAPPLES - Swiss Modern (Final Fix v14 4:3 Ratio)
Author: DAPPLES
Version: 14.0.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;
}

/* 独自コンテナ（コンテンツの幅を制御） */
.dp-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

/* =========================================
   1. ヘッダー (全ページ共通・中央配置・白背景)
   ========================================= */
.dp-header {
    background: #ffffff;
    border-bottom: 1px solid var(--dp-border);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center; /* ★全体を中央寄せ */
    gap: 60px; /* ロゴとメニューの間隔 */
    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);
}

/* ナビゲーション */
.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;
}
.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 { text-align: left; }
}

/* =========================================
   フッターデザインの刷新 (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.active .dp-like-icon {
    color: #e0245e; /* ピンクレッド */
    font-weight: 900; /* ハートを塗りつぶし風に見せる（フォントによる） */
}

.dp-like-btn.active {
    color: #e0245e;
}

/* ついでに、タグリンクのスタイルも定義（ショートコード用） */
.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;
}
.dp-like-btn {
    display: inline-flex; align-items: center; gap: 8px;
    color: #1A2530; font-weight: 700; cursor: pointer; font-size: 14px;
}
.dp-like-icon { font-size: 20px; color: #ccc; transition: 0.3s; }
.dp-like-btn:hover .dp-like-icon { color: #e0245e; }

/* 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 ease;
    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; }
}