@charset "utf-8";

/* ==========================================================================
   賃貸ページ（rent）専用スタイル
   ========================================================================== */

/* 1. 冒頭の見出し専用 */
#rent-header-custom {
    text-align: center !important;
    padding: 120px 0 40px !important;
    background: #fff !important;
    display: block !important;
}
#rent-header-custom h2 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 3.5rem !important;
    line-height: 1 !important;
    border: none !important;
    background: none !important;
    color: #333 !important;
    font-weight: 700 !important;
}
#rent-header-custom h2::after {
    display: none !important;
}
.rent-blue-bar {
    width: 80px !important;
    height: 8px !important;
    background-color: #5b8bd0 !important;
    margin: 20px auto 15px !important;
}
#rent-header-custom p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.8rem !important;
    font-weight: bold !important;
    color: #333 !important;
}

/* 2. 「理想のお部屋探し」セクション（ここを2列にする専用指定） */
/* sell.cssの影響を完全に遮断するための専用ID */
#rent-topics-custom {
    padding: 80px 0 !important;
    text-align: center !important;
    display: block !important;
    clear: both !important;
}
/* 見出し（ sell.css の装飾を解除 ） */
#rent-topics-custom h2 {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin: 0 0 50px !important;
    border: none !important;
    background: none !important;
    display: inline-block !important;
}
#rent-topics-custom h2::after { display: none !important; }

/* 2列レイアウト用のコンテナ（ul） */
#rent-topics-custom ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important; /* 左右に均等配置 */
    max-width: 900px !important; /* 横幅を広げて2列の視認性を確保 */
    margin: 0 auto !important;
    padding: 0 20px !important;
    list-style: none !important;
}

/* リストアイテム：PCでは2列 */
#rent-topics-custom ul li {
    width: 48% !important;           /* 約2分割 */
    text-align: left !important;
    margin-bottom: 25px !important;  /* 行の間隔 */
    font-size: 1.6rem !important;    /* image_10.png のような大きな文字 */
    font-weight: 500 !important;
    color: #333 !important;
    line-height: 1.4 !important;
    position: relative !important;
    padding-left: 30px !important;   /* 黒丸用の余白 */
    box-sizing: border-box !important;
}

/* 箇条書きの黒丸を自作（崩れ防止） */
#rent-topics-custom ul li::before {
    content: "●" !important;
    position: absolute !important;
    left: 0 !important;
    color: #333 !important;
    font-size: 1.2rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* 3. スマホ対応（レスポンシブ） */
@media screen and (max-width: 768px) {
    #rent-header-custom {
        padding: 100px 0 30px !important;
    }
    #rent-header-custom h2 {
        font-size: 2.5rem !important;
    }
    
    /* スマホでは縦1列に戻す */
    #rent-topics-custom ul {
        flex-direction: column !important;
    }
    #rent-topics-custom ul li {
        width: 100% !important;
        font-size: 1.2rem !important; /* スマホでは読みやすいサイズに調整 */
        margin-bottom: 15px !important;
    }
}