@charset "utf-8";
/*--------------------------
        selection settings
--------------------------*/

::selection { background: #A7DC83; color:#fff;}

/* Firefox*/
::-moz-selection { background: #A7DC83; color:#fff;}


/* ==========================================
   リンク全般の基本スタイル（テーマの黒い下線・影を完全消去）
========================================== */
a {
    color: #6ABA34 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

a:link {
    color: #6ABA34 !important;
    text-decoration: underline !important;
    border-bottom: none !important;
    box-shadow: none !important;
    opacity: 1.0;
    transition: 0.5s;
}

a:visited {
    color: #6ABA34 !important;
    text-decoration: underline !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

a:hover {
    color: #6ABA34 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    opacity: 0.5;
    background-blend-mode: overlay;
    filter: alpha(opacity=50);
    transition: 0.5s;
}

a:active {
    color: #6ABA34 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}


/* --------------------
		margin settings
-------------------- */
.mrgB5		{margin-bottom: 5px !important;}
.mrgB10	{margin-bottom: 10px !important;}
.mrgB15	{margin-bottom: 15px !important;}
.mrgB20	{margin-bottom: 20px !important;}
.mrgB25	{margin-bottom: 25px !important;}
.mrgB30	{margin-bottom: 30px !important;}
.mrgB35	{margin-bottom: 35px !important;}
.mrgB40	{margin-bottom: 40px !important;}
.mrgB45	{margin-bottom: 45px !important;}
.mrgB50	{margin-bottom: 50px !important;}
.mrgB55	{margin-bottom: 55px !important;}
.mrgB60	{margin-bottom: 60px !important;}
.mrgB65	{margin-bottom: 65px !important;}
.mrgB70	{margin-bottom: 70px !important;}
.mrgB75	{margin-bottom: 75px !important;}
.mrgB80	{margin-bottom: 80px !important;}


/* --------------------
		padding settings
-------------------- */
.padB5		{padding-bottom: 5px !important;}
.padB10	{padding-bottom: 10px !important;}
.padB15	{padding-bottom: 15px !important;}
.padB20	{padding-bottom: 20px !important;}
.padB25	{padding-bottom: 25px !important;}
.padB30	{padding-bottom: 30px !important;}
.padB35	{padding-bottom: 35px !important;}
.padB40	{padding-bottom: 40px !important;}
.padB45	{padding-bottom: 45px !important;}
.padB50	{padding-bottom: 50px !important;}
.padB55	{padding-bottom: 55px !important;}
.padB60	{padding-bottom: 60px !important;}
.padB65	{padding-bottom: 65px !important;}
.padB70	{padding-bottom: 70px !important;}
.padB75	{padding-bottom: 75px !important;}
.padB80	{padding-bottom: 80px !important;}


/* ==========================================
   背景色
========================================== */
/* 1. サイト全体の背景色（左右一体化・疑似要素含む） */
html,
body,
#page,
.site,
.site-content,
.sidebar,
#secondary,
#content,
body::before,
.site::before,
#page::before {
    background-color: #F8F6F0 !important;
    background: #F8F6F0 !important;
}

/* 2. サイドバーロゴ位置背景 */
.site-header,
.site-branding {
    background-color: transparent !important;
}

/* 3. 右メインエリア背景 */
.widget_fudo_top_r {
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
}

/* ==========================================
   1. 不要クレジット非表示 ＆ 横スクロール防止
========================================== */
#nendebcopy,
div#nendebcopy {
    display: none !important;
}

html, body {
    overflow-x: hidden !important;
}

/* ==========================================
   2. PC用レイアウト（Twenty Fifteen純正構造で右コンテンツ復帰）
========================================== */
@media screen and (min-width: 59.6875em) {
    body,
    body::before,
    .site,
    .site::before {
        background-color: #F8F6F0 !important;
        background: #F8F6F0 !important;
    }

    .site, #page {
        max-width: 1200px !important;
        margin: 0 auto !important;
        position: relative !important;
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .site-content {
        display: block !important;
        position: relative !important;
        background-color: #F8F6F0 !important;
        flex: 1 0 auto !important; 
        min-height: 1050px !important; 
    }

    /* 左サイドバー：幅300px固定・絶対配置 */
    .sidebar {
        width: 300px !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        height: auto !important;
        z-index: 10 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        background-color: transparent !important;
    }

    .site-header,
    #secondary {
        width: 300px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        background-color: transparent !important;
    }

    /* 右メインエリア */
    #content {
        margin-left: 300px !important;
        width: calc(100% - 300px) !important;
        padding-left: 30px !important;
        box-sizing: border-box !important;
        float: right !important;
    }

    #primary,
    #top_fbox {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* 物件カード：PC横4列 */
    .widget_fudo_top_r ul.grid-content li.box1 {
        width: calc(25% - 11.25px) !important;
    }
}

/* ==========================================
   3. サイドバーパーツ
========================================== */

/* ロゴ */
.site-branding {
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

.site-branding img.custom-logo {
    display: block !important;
    margin: 0 !important;
}

/* 【1段目】メインメニュー */
#site-navigation.main-navigation,
.main-navigation div,
.main-navigation ul {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

#site-navigation.main-navigation {
    margin-bottom: 25px !important;
}

.main-navigation ul.nav-menu {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.main-navigation ul.nav-menu li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-navigation ul.nav-menu a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    background: #59B31F !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08) !important;
    transition: all 0.2s ease !important;
    position: relative !important;
}

.main-navigation ul.nav-menu a:hover {
    background: #469615 !important;
    transform: translateY(-2px) !important;
}

.main-navigation ul.nav-menu a::after {
    content: "▸" !important;
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* 【2段目】物件カテゴリ */
aside.widget_fudo_cat,
.widget_fudo_cat {
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 25px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    padding: 0 !important;
    display: block !important;
}

.widget_fudo_cat h2.widget-title,
.widget_fudo_cat .widget-title {
    font-size: 15px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    background: #59B31F !important;
    padding: 10px 15px !important;
    margin: 0 !important;
    border-radius: 5px 5px 0 0 !important;
    display: block !important;
}

.widget_fudo_cat nav,
.widget_fudo_cat ul {
    width: 100% !important;
    padding: 10px 15px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    list-style: none !important;
    background: #ffffff !important;
}

.widget_fudo_cat li {
    padding: 8px 0 !important;
    border-bottom: 1px dashed #edf2f7 !important;
    font-size: 13px !important;
}

.widget_fudo_cat li:last-child {
    border-bottom: none !important;
}

.widget_fudo_cat a {
    color: #2d3748 !important;
    text-decoration: none !important;
    font-weight: bold !important;
}

.widget_fudo_cat a:hover {
    color: #59B31F !important;
}

/* 【3段目】物件検索 */
aside.widget_fudo_b_k,
.widget_fudo_b_k {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 15px !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: block !important;
}

.widget_fudo_b_k h2.widget-title,
.widget_fudo_b_k .widget-title {
    font-size: 15px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    background: #59B31F !important;
    padding: 10px 15px !important;
    margin: -15px -15px 15px -15px !important;
    border-radius: 5px 5px 0 0 !important;
    display: block !important;
}

.widget_fudo_b_k form,
.widget_fudo_b_k select,
.widget_fudo_b_k input[type="text"],
.widget_fudo_b_k .shubetsu,
.widget_fudo_b_k .chiiki {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.widget_fudo_b_k select.half_size {
    width: 45% !important;
}

.widget_fudo_b_k #btn {
    width: 100% !important;
    margin-top: 10px !important;
    padding: 10px !important;
    background: #59B31F !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    cursor: pointer !important;
}

/* 物件検索フォーム（設備・条件展開時の高さを固定スクロール） */
.widget_fudo_b_k #setsubi_cb,
.widget_fudo_b_k #madori_cb,
.widget_fudo_b_k div[id*="cb"] {
    max-height: 250px !important;
    overflow-y: auto !important;
    border: 1px solid #e2e8f0 !important;
    padding: 10px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    background: #f8fafc !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}

.widget_fudo_b_k #setsubi_cb::-webkit-scrollbar {
    width: 6px !important;
}
.widget_fudo_b_k #setsubi_cb::-webkit-scrollbar-thumb {
    background: #cbd5e0 !important;
    border-radius: 3px !important;
}

/* ==========================================
   4. メインコンポーネント（スライダー・カード共通）
========================================== */
#top_fbox,
.site-main .hentry,
.widget_block {
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    width: 100% !important;
    max-width: 100% !important;
}

.metaslider,
.ml-slider,
.flexslider {
    width: 100% !important;
    max-width: 100% !important;
}

.metaslider .slides img {
    width: 100% !important;
    height: auto !important;
    border-radius: 6px !important;
}

#metaslider-id-1740 .flexslider .caption-wrap .caption {
    background: rgba(255, 255, 255, 0.80) !important;
    padding: 15px 20px 20px 20px !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}
#metaslider-id-1740 .flexslider .caption-wrap .caption h3 {
    padding-bottom: 5px !important;
}

/* トップページスライダー：ボタン文字色・下線打ち消し */
.metaslider a.ms-custom-button,
.metaslider a.ms-custom-button:link,
.metaslider a.ms-custom-button:visited,
.metaslider a.ms-custom-button:hover,
.metaslider a.ms-custom-button:active,
#metaslider-id-1740 a.ms-custom-button,
#metaslider-id-1740 a.ms-custom-button:link,
#metaslider-id-1740 a.ms-custom-button:visited {
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important; 
}
.metaslider a.ms-custom-button:hover {
    opacity: 0.85 !important;
    color: #ffffff !important;
}

.widget_fudo_top_r {
    padding: 15px 20px !important;
    background: #ffffff !important;
    margin-top: 15px !important;
    border-radius: 6px !important;
}

.widget_fudo_top_r .widget-title {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #59B31F, #428816) !important;
    padding: 10px 18px !important;
    margin-bottom: 20px !important;
    border-radius: 6px !important;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08) !important;
}

.widget_fudo_top_r ul.grid-content {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget_fudo_top_r ul.grid-content li.box1 {
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 10px !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04) !important;
}

.widget_fudo_top_r ul.grid-content li.box1:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 15px rgba(89,179,31,0.15) !important;
    border-color: #59B31F !important;
}

.widget_fudo_top_r ul.grid-content li .box1image {
    width: 100% !important;
    height: 140px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    margin-bottom: 8px !important;
}

.widget_fudo_top_r ul.grid-content li .top_title {
    font-size: 15px !important;
    font-weight: bold !important;
    color: #1a202c !important;
    line-height: 1.3 !important;
    display: block !important;
    margin-bottom: 6px !important;
}

.widget_fudo_top_r ul.grid-content li .top_price {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #e53e3e !important;
    display: block !important;
    margin-bottom: 4px !important;
}

.widget_fudo_top_r ul.grid-content li .top_madori,
.widget_fudo_top_r ul.grid-content li .top_shozaichi,
.widget_fudo_top_r ul.grid-content li .top_kotsu,
.widget_fudo_top_r ul.grid-content li .top_menseki {
    font-size: 12px !important;
    color: #4a5568 !important;
    line-height: 1.4 !important;
}

.widget_fudo_top_r ul.grid-content li .top_r_footer {
    margin-top: 8px !important;
    padding-top: 6px !important;
    border-top: 1px dashed #e2e8f0 !important;
    text-align: right !important;
}

.widget_fudo_top_r ul.grid-content li .top_r_footer a {
    font-size: 12px !important;
    font-weight: bold !important;
    color: #59B31F !important;
    text-decoration: none !important;
}

/* ==========================================
   5. フッター
========================================== */

/* 1) PC表示時：サイドバー（約1500px） */
@media screen and (min-width: 59.6875em) {
/* 1. 右側メイン領域（#content / .site-content）の最小高さを強制確保 */
    #content,
    .site-content,
    #primary,
    body #content,
    body .site-content {
        min-height: 2000px !important;
        box-sizing: border-box !important;
    }

    /* 2. サイドバーとメインコンテンツを含む領域 */
    .site-main,
    #container,
    #page,
    .site {
        min-height: 1650px !important;
    }

    /* 3. フッターバナーおよびフッター本体の上部クリア指定 */
    .footer-banner-wrapper,
    footer#colophon {
        clear: both !important;
        margin-top: 0 !important;
    }
}

/* 2) 画面横100%（100vw）に伸ばす全幅指定（フッターバナー＆フッター本体） */
.footer-banner-wrapper,
footer#colophon,
.site-footer {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    clear: both !important;
    box-sizing: border-box !important;
    z-index: 100 !important;
}

/* 3) バナーエリア */
.footer-banner-wrapper {
    background: #ffffff !important;
    border-top: 2px solid #e2e8f0 !important;
    border-bottom: 2px solid #59B31F !important;
    padding: 15px 0 !important;
    margin-top: 40px !important;
}

.footer-banner-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}

.footer-banner-item {
    flex: 1 !important;
    display: block !important;
    text-align: center !important;
    transition: transform 0.2s ease !important;
}

.footer-banner-item:hover {
    transform: translateY(-3px) !important;
}

.footer-banner-item img {
    width: 100% !important;
    max-width: 200px !important;
    height: auto !important;
    max-height: 50px !important;
    object-fit: contain !important;
    display: inline-block !important;
    border-radius: 4px !important;
}

/* 4) フッター本体　*/
footer#colophon,
.site-footer {
    background: #59B31F !important;
    color: #ffffff !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.tsukasa-footer-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 30px 20px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}

.tsukasa-footer-left {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    flex-shrink: 0 !important;
}

.tsukasa-footer-logo img {
    max-height: 48px !important;
    width: auto !important;
    max-width: 180px !important;
    display: block !important;
    background: #ffffff !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
}

.tsukasa-footer-address {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    white-space: nowrap !important;
}

.tsukasa-footer-border {
    width: 2px !important;
    height: 55px !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 25px !important;
    flex-shrink: 0 !important;
}

.tsukasa-footer-right {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px 30px !important;
    flex-grow: 1 !important;
}

.tsukasa-footer-right a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: bold !important;
    white-space: nowrap !important;
    transition: opacity 0.2s ease !important;
}

.tsukasa-footer-right a:hover {
    opacity: 0.8 !important;
    text-decoration: underline !important;
}

.tsukasa-footer-right a::before {
    content: "▸ " !important;
    margin-right: 3px !important;
    font-size: 11px !important;
}

.tsukasa-copyright {
    width: 100vw !important;
    background: #f4f4f4 !important;
    color: #444444 !important;
    text-align: center !important;
    padding: 14px 10px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    box-sizing: border-box !important;
}

/* ==========================================
   6. スマホ（画面幅768px以下）最適化
========================================== */
@media screen and (max-width: 768px) {
    /*  スマホ表示時のロゴサイズ指定　 */
    .site-branding img,
    .site-branding img.custom-logo,
    .site-header img {
        max-width: 90px !important;
        height: auto !important;
        width: auto !important;
    }


    #metaslider-id-1740 .flexslider .caption-wrap .caption {
        position: absolute !important;
        top: auto !important;
        bottom: 15px !important;
        left: 8px !important;
        right: auto !important;
        width: 47% !important; 
        max-width: 170px !important;
        padding: 6px 8px !important;
        background: rgba(255, 255, 255, 0.8) !important;
        border-radius: 4px !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
    }

    #metaslider-id-1740 .flexslider .caption-wrap .caption * {
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 1.25 !important;
    }

    #metaslider-id-1740 .flexslider .caption-wrap .caption h3,
    #metaslider-id-1740 .flexslider .caption-wrap .caption h3 * {
        font-size: 11px !important;
        font-weight: normal !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        color: #222222 !important;
    }

    #metaslider-id-1740 .flexslider .caption-wrap .caption p,
    #metaslider-id-1740 .flexslider .caption-wrap .caption p * {
        display: none !important;
    }

    #metaslider-id-1740 .flexslider .caption-wrap .caption a {
        display: inline-block !important;
        font-size: 9px !important;
        font-weight: normal !important;
        padding: 2px 8px !important;
        background: #59B31F !important;
        color: #ffffff !important;
        border-radius: 3px !important;
        text-decoration: none !important;
    }

    .widget_fudo_top_r ul.grid-content {
        gap: 10px !important;
    }

    .widget_fudo_top_r ul.grid-content li.box1 {
        width: calc(50% - 5px) !important;
        padding: 8px !important;
    }

    .widget_fudo_top_r ul.grid-content li .box1image {
        height: 100px !important;
    }

    .widget_fudo_top_r ul.grid-content li .top_title {
        font-size: 12px !important;
    }

    .widget_fudo_top_r ul.grid-content li .top_price {
        font-size: 13px !important;
    }

    .widget_fudo_top_r ul.grid-content li .top_madori,
    .widget_fudo_top_r ul.grid-content li .top_shozaichi,
    .widget_fudo_top_r ul.grid-content li .top_kotsu {
        font-size: 10px !important;
    }

    .footer-banner-container {
        flex-wrap: wrap !important;
    }
    .footer-banner-item {
        flex: 0 0 calc(50% - 10px) !important;
    }
    .tsukasa-footer-container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }
    .tsukasa-footer-border {
        display: none !important;
    }
    .tsukasa-footer-left {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}


/* ==========================================
   7. 物件一覧・カテゴリ・検索結果ページ
========================================== */

/* 1) PC表示時：上部余白調整と右エリアの幅確保 */
@media screen and (min-width: 59.6875em) {
    body.archive #content,
    body.search #content {
        margin-left: 300px !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        padding-top: 70px !important; /* トップページと同じロゴ位置に統一 */
        padding-left: 30px !important;
        padding-right: 0 !important;
        width: calc(100% - 300px) !important;
        max-width: none !important;
        box-sizing: border-box !important;
        float: right !important;
    }

    /* 内部の二重 #content や #container の幅制限を打ち消して全幅化 */
    body.archive #container,
    body.archive #container #content,
    body.search #container,
    body.search #container #content,
    body.archive #primary,
    body.search #primary {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        box-sizing: border-box !important;
    }
}

/* 2) ページ最上部タイトル（「検索【物件カテゴリ】〜」） */
.archive header.page-header,
.search header.page-header,
.archive .page-header,
.search .page-header {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 18px 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.archive h1.page-title,
.search h1.page-title,
.archive .page-title,
.search .page-title {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    background: #59B31F !important;
    padding: 12px 18px !important;
    margin: 0 0 18px 0 !important; /* タイトル帯と下のソート枠との間に18pxの隙間を確保 */
    border-radius: 6px !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
}

.archive h1.page-title *,
.search h1.page-title * {
    color: #ffffff !important;
}

/* ソート枠（価格・面積...10件）のはみ出し防止・左位置矯正＆全幅揃え */
.fudo-list-sort,
div[class*="sort"],
.navigation,
.archive .navigation,
.archive #content .navigation,
#fudo_sort_box {
    background: #ffffff !important;
    padding: 12px 18px !important;
    border-radius: 6px !important;
    margin-top: 0 !important;
    margin-bottom: 25px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 13px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    float: none !important;
    clear: both !important;
}

/* ソート枠内の子要素（左：ソート項目 / 右：件数）の配置補正 */
.archive #content .navigation .nav-previous {
    float: none !important;
    margin: 0 !important;
}

.archive #content .navigation .nav-next {
    float: none !important;
    margin-left: auto !important; /* 「10件」を枠内の右端へ押し出す */
    text-align: right !important;
}

/* 3) 物件個別枠 */
.archive article,
.search article,
div[id^="fudo_box"],
.fudo_list_box,
.fudo-archive-item,
.archive article.hentry,
.search article.hentry {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 4) 物件タイトル：list_simple_boxtitle */

/* 【1】一番外側の枠（div.list_simple_boxtitle）を「1枚の横幅100%緑帯」 */
div.list_simple_boxtitle,
.list_simple_boxtitle {
    background: #59B31F !important;
    background-color: #59B31F !important;
    padding: 0 18px 12px 18px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
    border: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 12px !important;
    display: block !important;
}

/* 【2】中の h2 見出し：背景・影・枠・パディングを完全に消去して親（div）と一体化 */
div.list_simple_boxtitle h2,
div.list_simple_boxtitle h2.entry-title,
.list_simple_boxtitle .entry-title {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: block !important;
    width: 100% !important;
    line-height: 1.4 !important;
}

/* 【3】最深部の a リンクタグ */
div.list_simple_boxtitle a,
div.list_simple_boxtitle h2 a,
div.list_simple_boxtitle h2.entry-title a,
.list_simple_boxtitle a {
    font-size: 22px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: inline-block !important;
    text-decoration: none !important;
    width: auto !important;
}

/* 5) 「物件の詳細を見る」ボタン */
.archive article a.button,
.search article a.button,
.archive article .more-link,
.archive article .fudo_detail_btn,
.archive article a[href*="fudo"] {
    background-color: #59B31F !important;
    background: #59B31F !important;
    border: none !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    display: inline-block !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    max-width: 100% !important;
}

/* ボタン内部の黒要素のスタイル消去 */
.archive article .box1,
.archive article div[class*="btn"],
.archive article div[style*="background"],
.archive article .fudo_detail_btn div,
.archive article a[href*="fudo"] div,
.archive article a[href*="fudo"] span {
    background: transparent !important;
    background-color: transparent !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 13px !important;
    white-space: nowrap !important;
}

.archive article a[href*="fudo"]:hover,
.archive article a.button:hover {
    background-color: #469615 !important;
    background: #469615 !important;
    color: #ffffff !important;
}

/* 6) 「ご成約済」「4LDK 102.46m²」 */
.archive article .seiyaku,
.archive article div[class*="seiyaku"],
.archive article span[class*="seiyaku"],
.archive article font[color="red"],
.archive article font[color="#ff0000"] {
    font-size: 18px !important;
    font-weight: bold !important;
}

.archive article .madori,
.archive article .menseki,
.archive article div[class*="madori"],
.archive article div[class*="menseki"],
.archive article h4,
.archive article .top_madori {
    font-size: 15px !important;
    font-weight: bold !important;
}

/* プラグイン内部テーブルの全幅化 */
.archive article form,
.archive article table,
.search article table,
.archive article .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.archive article table td,
.archive article table th,
.search article table td,
.search article table th {
    border-bottom: 1px dashed #edf2f7 !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
}


/* ==================================================
   物件詳細ページ
================================================== */

/* 1. 全体を包む白いカード枠（コンテナ）化 */
body.single-fudo #list_simplepage2,
body.single #list_simplepage2 {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 25px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 2. PC表示時：右エリアの位置・幅拡張 */
@media screen and (min-width: 59.6875em) {
    body.single-fudo #content,
    body.single #content {
        margin-left: 300px !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        padding-top: 70px !important; /* ロゴ画像上辺と高さを揃える */
        padding-left: 30px !important;
        padding-right: 0 !important;
        width: calc(100% - 300px) !important;
        max-width: none !important;
        box-sizing: border-box !important;
        float: right !important;
    }

    /* 内部の二重構造コンテナの不要な幅制限を解除 */
    body.single-fudo #container,
    body.single-fudo #container #content,
    body.single-fudo #primary,
    body.single #container,
    body.single #container #content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        box-sizing: border-box !important;
    }

    /* 内側のブロック・テーブル群を横幅100%に揃える */
    body.single-fudo .list_simple_box,
    body.single-fudo .list_detail,
    body.single-fudo #list_add_table,
    body.single-fudo #list_other_table,
    body.single-fudo #list_add,
    body.single-fudo #list_other {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* 3. タイトル（緑帯）の調整 */
.single-fudo h1.entry-title,
.single-fudo .entry-title,
#list_simplepage2 h1 {
    background: #59B31F !important;
    background-color: #59B31F !important;
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: bold !important;
    padding: 12px 18px !important;
    border-radius: 6px !important;
    margin-bottom: 22px !important;
    margin-top: 0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
    line-height: 1.4 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 4. 物件スペックテーブル（所在地・スペック表） */
#list_add_table,
#list_other_table {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

#list_add,
#list_other {
    width: 100% !important;
    border-collapse: collapse !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

#list_add th,
#list_other th,
#list_add td,
#list_other td {
    border: 1px solid #e2e8f0 !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

#list_add th,
#list_other th {
    background-color: #f8fafc !important;
    color: #2d3748 !important;
    font-weight: bold !important;
    width: 22 !important;
}

/* 5. お問合せ先カード */
#toiawasesaki {
    background-color: #ffffff !important;
    border: 2px solid #59B31F !important;
    border-radius: 8px !important;
    padding: 20px 24px !important;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important;
}

#toiawasesaki h3 {
    color: #59B31F !important;
    font-size: 18px !important;
    font-weight: bold !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px dashed #cbd5e0 !important;
}

#toiawasesaki p {
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    color: #4a5568 !important;
}

/* 不動産プラグイン 地図の非表示 */
#map_canvas,
.map_canvas,
.map_comment,
div[id*="map_canvas"],
div[class*="map_canvas"],
.fudo-map-title,
.bukken-map-title {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}



/* ==========================================
   本番環境トップページ（右・上寄り＆横幅）確定補正
   ========================================== */
@media screen and (min-width: 59.6875em) {
    /* 1. 右エリアの上部位置調整（左側ロゴ画像の上辺とピッタリ垂直位置を合わせる） */
    body.home #content {
        margin-left: 300px !important;
        margin-top: 0 !important;
        padding-top: 70px !important; /* ロゴ画像の上位置と水平線を揃える余白 */
        padding-left: 30px !important;
        width: calc(100% - 300px) !important;
        max-width: none !important;
        float: right !important;
        box-sizing: border-box !important;
    }

    /* 右エリア内コンテナの不要な上幅・浮きをリセット */
    body.home #top_fbox,
    body.home #top_fbox #container,
    body.home #top_fbox #content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        box-sizing: border-box !important;
    }

    /* 2. メイン画像スライダー（MetaSlider）の全幅化と下部余白 */
    body.home #top_fbox .metaslider,
    body.home #top_fbox .ml-slider,
    body.home #top_fbox .flexslider,
    body.home #metaslider-id-1740 {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 25px !important; /* スライダーとおすすめ物件の間のスキマ */
        padding: 0 !important;
    }

    body.home #top_fbox .metaslider .slides img {
        width: 100% !important;
        height: auto !important;
        border-radius: 6px !important;
    }

    /* 3. 各物件枠（おすすめ・新着売買・新着賃貸）間の縦のスキマ調整 */
    body.home div.widget_fudo_top_r,
    body.home aside.widget_fudo_top_r,
    body.home .widget_fudo_top_r {
        width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 22px !important; /* 物件枠同士の縦のスキマ（多すぎず詰まりすぎない適正値） */
        padding: 18px 20px !important;   /* 白枠内部の上下左右のパディング */
        background: #ffffff !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
    }

    /* タイトル（緑帯）とカード間の余白調整 */
    body.home .widget_fudo_top_r .widget-title {
        margin-top: 0 !important;
        margin-bottom: 16px !important;
    }

    /* おすすめ物件カード（PC横4列） */
    body.home .widget_fudo_top_r ul.grid-content li.box1 {
        width: calc(25% - 11.25px) !important;
        box-sizing: border-box !important;
    }
}

