/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 30 2026 | 08:16:20 */
/* =========================================================
   お問い合わせ・相談フォーム 統合スタイル (contactdatecss)
========================================================= */

/* 非表示・基本レイアウト */
.com_head01, .breadcrumbs { display: none; }
.cform { width: 100%; margin: 0 auto; }
.cform div { display: flex; flex-wrap: wrap; border-bottom: 1px solid #e2e8f0; padding: 20px 10px; }
.cform dt { width: 30%; font-weight: bold; color: #334155; }
.cform dd { width: 70%; }

/* ラベル・見出し */
.form_subtit { background: #f8fafc; padding: 15px 20px; font-weight: bold; margin-top: 30px; border-left: 4px solid #978779; }
.required-srt { background: #d32f2f; color: #fff; font-size: 0.7rem; padding: 2px 8px; border-radius: 2px; margin-right: 10px; }
.any-srt { font-size: 0.7rem; padding: 2px 8px; border-radius: 2px; margin-right: 10px; color: #231815; background-color: #fff; border: 1px solid #231815; line-height: 2.5em; }
.form_note { padding-top: 10px; }

/* フォームコントロール */
.text-reset { width: 100%; padding: 10px; border: 1px solid #cbd5e1; border-radius: 4px; box-sizing: border-box; background-color: #fff; }
select.text-reset, input[type="text"].text-reset { height: 44px; color: #334155; }
select.text-reset { cursor: pointer; }
.textarea-reset { width: 100%; height: 150px !important; min-height: 100px; padding: 15px; border: 1px solid #cbd5e1; border-radius: 4px; box-sizing: border-box; font-family: inherit; background: #fff; resize: vertical; }

/* 読み込み専用のプロパティ項目スタイル */
input[name^="prop"][name$="-name"],
input[name^="prop"][name$="-price"],
textarea[name^="prop"][name$="-options"] { 
    background: #f1f5f9 !important; 
    color: #64748b !important; 
    border: 1px solid #cbd5e1 !important; 
    font-weight: bold; 
}

.cform dd.w2 { display: flex; gap: 10px; flex-wrap: wrap; }
.cform dd.w2 .text-reset { flex: 1; min-width: 150px; }
.cform dd.w2 .error { width: 100%; }
.cform dd.w100 { width: 100%; margin-top: 15px; }

/* =========================================================
   ショールーム表示カード
   ※ .cform div の強力な影響を正確に打ち消す
========================================================= */
#showroom-info-wrap { width: 100%; }
.cform #showroom-info-wrap > div,
.cform #showroom-info-wrap .sr-list-container > div,
.cform #showroom-info-wrap .sr-card > div,
.cform #showroom-info-wrap .sr-details-wrap > div,
.cform #showroom-info-wrap .sr-details-flex > div,
.cform #showroom-info-wrap .sr-text > div {
    border-bottom: none;
    padding: 0;
}

.cform #showroom-info-wrap .sr-list-container { display: flex; flex-direction: row; gap: 12px; width: 100%; margin-top: 15px; margin-bottom: 20px; flex-wrap: nowrap; }
.cform #showroom-info-wrap .sr-card { flex: 1; background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 8px; padding: 10px; box-sizing: border-box; cursor: pointer; transition: all 0.3s ease; display: block; }
.cform #showroom-info-wrap .sr-card:hover { border-color: #cbd5e1; opacity: 0.8; }
.cform #showroom-info-wrap .sr-card.is-active { padding: 20px; background: #fff; border-color: #978779; box-shadow: 0 4px 15px rgba(0,0,0,0.05); cursor: default; opacity: 1; }

.cform #showroom-info-wrap .sr-img { width: 100%; aspect-ratio: 4 / 3; height: auto; max-height: 400px; border-radius: 4px; object-fit: cover; transition: all 0.4s ease; display: block; }
.cform #showroom-info-wrap .sr-card.is-active .sr-img { aspect-ratio: 2 / 1; margin-bottom: 15px; }

/* ▼ 画像下のラベル（PC用） */
.cform #showroom-info-wrap .sr-card-label { text-align: center; font-weight: bold; color: #64748b; margin-top: 10px; margin-bottom: 5px; font-size: 0.95rem; display: block; width: 100%; }
.cform #showroom-info-wrap .sr-short-address { font-size: 0.85rem; font-weight: normal; }
.cform #showroom-info-wrap .sr-card.is-active .sr-card-label { display: none !important; }

/* ▼ 画像上のボタンコンテナ（PC用） */
.cform #showroom-info-wrap .sr-btn-wrap { display: none; justify-content: space-between !important; gap: 15px !important; margin-bottom: 15px !important; padding-bottom: 0 !important; border-bottom: none !important; width: 100% !important; box-sizing: border-box !important; flex-wrap: nowrap !important; }
.cform #showroom-info-wrap .sr-card.is-active .sr-btn-wrap { display: flex !important; }
.cform #showroom-info-wrap .sr-btn-wrap button {
    flex: 1 1 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.3 !important;
    padding: 12px 10px !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
}
.cform #showroom-info-wrap .sr-btn-back { background: #fff !important; border: 1px solid #978779 !important; color: #978779 !important; }
.cform #showroom-info-wrap .sr-btn-confirm { background: #978779 !important; border: 1px solid #978779 !important; color: #fff !important; }

/* ▼ 詳細エリアのフレックスレイアウト（左にテキスト、右に地図：PC用） */
.cform #showroom-info-wrap .sr-details-wrap { width: 100%; display: block; }
.cform #showroom-info-wrap .sr-details-flex {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}
.cform #showroom-info-wrap .sr-text { flex: 1; width: calc(50% - 15px); display: block; }
.cform #showroom-info-wrap .sr-map-wrap { flex: 1; width: calc(50% - 15px); border-radius: 4px; overflow: hidden; border: 1px solid #cbd5e1; display: block; }
.cform #showroom-info-wrap .sr-map-wrap iframe { width: 100%; height: 100%; min-height: 250px; display: block; }

.cform #showroom-info-wrap .sr-title { font-weight: bold; font-size: 1.1rem; color: #978779; margin-bottom: 8px; border-bottom: 2px solid #978779 !important; padding-bottom: 4px !important; display: inline-block; width: auto; }
.cform #showroom-info-wrap .sr-address,
.cform #showroom-info-wrap .sr-hours { font-size: 0.9rem; color: #475569; line-height: 1.6; display: block; width: 100%; margin-bottom: 5px; }
.cform #showroom-info-wrap .sr-tel-wrap { font-weight: bold; font-size: 1.1rem; margin-top: 8px; display: block; }
.cform #showroom-info-wrap .sr-tel-link { color: #334155; text-decoration: none; transition: opacity 0.2s ease; display: inline-block; }
.cform #showroom-info-wrap .sr-tel-link:hover { opacity: 0.7; text-decoration: underline; }
.page_contact .contact_block .contact_btn01, .page_contact .contact_block .showroom_tel { width:300px; background-image: none; line-height: 1.5em;}
.page_contact .contact_block .contact_btn01 { font-weight: bold; background: #cdddf9;}
/* ========================================================= */

/* 日付選択グループ */
.cform .date-select-group {
    display: inline-flex !important;
    max-width: 320px;
    width: 100%;
    vertical-align: middle;
    margin-right: 10px;
    margin-bottom: 5px;
    border-bottom: none !important;
    padding: 0 !important;
}

.cform select.text-reset,
.cform select.select-reset {
    max-width: 360px;
}

.cform select[name^="calendar_time"] {
    max-width: 180px;
    vertical-align: middle;
    margin-bottom: 5px;
}

/* MW WP Form 確認画面メッセージ表示制御 */
.contact_fin {
    text-align: center;
    font-size: 22px;
    color: red;
    padding-top: 20px;
    padding-bottom: 30px;
    font-weight: 600;
    display: none;
}
.mw_wp_form_confirm .contact_fin { display: block; }
.mw_wp_form_confirm .contact_lead { display: none !important; }
.contact_lead { margin-bottom: 40px; }

/* レスポンシブ */
@media screen and (min-width: 768px) {
    .submit-btn { display: flex; justify-content: center; align-items: center; gap: 30px; margin-top: 40px; }
}
@media screen and (max-width: 767px) {
    .cform dt, .cform dd { width: 100% !important; }
    .cform dt { margin-bottom: 8px; }
    .submit-btn { margin-top: 30px; }
    .submit-btn input[type="submit"], .submit-btn input[type="button"] { width: 100%; box-sizing: border-box; margin: 5px 0; }
    .page_contact .contact_lead { font-size: 0.8em; }
	.inner, .inner_s2, .inner_ss { max-width: 95%; }
    
    /* スマホ時のショールームカード・余白調整 */
    .cform #showroom-info-wrap .sr-list-container { flex-direction: row; gap: 6px; margin-bottom: 30px; }
    .cform #showroom-info-wrap .sr-card { padding: 6px; }
    .cform #showroom-info-wrap .sr-card.is-active { padding: 15px; padding-bottom: 25px; }

    .cform #showroom-info-wrap .sr-card-label { font-size: 0.6rem; margin-top: 5px; margin-bottom: 2px; }
    .cform #showroom-info-wrap .sr-short-address { font-size: 0.65rem; }

    /* スマホ時のボタン調整 */
    .cform #showroom-info-wrap .sr-btn-wrap { gap: 8px !important; margin-bottom: 15px !important; }
    .cform #showroom-info-wrap .sr-btn-wrap button { font-size: 0.6rem !important; padding: 10px 5px !important; }

    /* スマホ時の詳細エリアレイアウト（縦並びに） */
    .cform #showroom-info-wrap .sr-details-flex { flex-direction: column; gap: 15px; }
    .cform #showroom-info-wrap .sr-text,
    .cform #showroom-info-wrap .sr-map-wrap { width: 100%; flex: auto; display: block; }
}
/* =========================================================
   フォーム上部UX改善（ビジュアル、メリット、アコーディオン）
========================================================= */

/* 戻るボタン */
.back_btn_wrap {
    margin-bottom: 20px;
    text-align: left;
}
.btn_back_prev {
    display: inline-block;
    padding: 8px 15px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background 0.3s;
}
.btn_back_prev:hover {
    background: #e2e8f0;
}

/* ヒーロービジュアル */
.form_hero_visual {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    background: #000;
}
.form_hero_visual .hero_img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.7; /* テキストを目立たせるため少し暗く */
}
.form_hero_visual .hero_copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    color: #fff;
}
.form_hero_visual .hero_copy h2 {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
.form_hero_visual .hero_copy p {
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* メリット提示ボックス */
.simulation_merit_box {
    background: #fffbea;
    border: 2px solid #ffd700;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}
.simulation_merit_box h3 {
    color: #b78a00;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
}
.simulation_merit_box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.simulation_merit_box li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.6;
}
.simulation_merit_box .merit_num {
    display: inline-block;
    background: #ffd700;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    margin-right: 8px;
}

/* アコーディオン（注意事項） */
.form_accordion_note {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    margin-bottom: 40px;
    overflow: hidden;
}
.form_accordion_note summary {
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    color: #475569;
    list-style: none;
    position: relative;
}
.form_accordion_note summary::-webkit-details-marker {
    display: none;
}
.form_accordion_note summary::after {
    content: "▼";
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
}
.form_accordion_note[open] summary::after {
    content: "▲";
}
.form_accordion_note .accordion_content {
    padding: 0 20px 20px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.8;
}
/* =========================================================
   ご予約前確認（2択カード）エリア
========================================================= */
.form_guidance_box {
    background: #fdfbf7; /* 薄いベージュ系 */
    border: 1px solid #f0e9dc;
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 40px;
    text-align: center;
}
.form_guidance_box .guidance_title {
    color: #9c7b64;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.form_guidance_box .guidance_lead {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 35px;
}
.form_guidance_box .marker_yellow {
    background: linear-gradient(transparent 60%, #ffeaa7 60%);
    font-weight: bold;
    padding: 0 4px;
}
.form_guidance_box .guidance_cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}
.form_guidance_box .g_card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 25px 25px;
    width: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}
.form_guidance_box .g_badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #e6a85c;
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 18px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}
.form_guidance_box .g_card_title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
}
.form_guidance_box .g_card_desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 25px;
    flex-grow: 1;
}
.form_guidance_box .g_btn {
    display: block;
    width: 100%;
    padding: 16px 10px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: opacity 0.3s;
    font-size: 0.9rem;
    box-sizing: border-box;
    margin-top: auto; /* ▼追加：これをいれるだけでボタンがカードの最下部にピタッと揃います▼ */
}
.form_guidance_box .g_btn:hover {
    opacity: 0.8;
}
.form_guidance_box .g_btn_green { background: #7ab390; }
.form_guidance_box .g_btn_brown { background: #8c7e6b; }

/* スマホ向けレスポンシブ */
@media screen and (max-width: 767px) {
    .form_guidance_box {
        padding: 25px 15px;
    }
    .form_guidance_box .guidance_title {
        font-size: 1.2rem;
    }
    .form_guidance_box .guidance_lead {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }
    .form_guidance_box .guidance_cards {
        flex-direction: column;
        gap: 30px; /* カード同士の間隔（バッジ分少し広め） */
    }
    .form_guidance_box .g_card {
        width: 100%;
        padding: 30px 15px 20px;
    }
}