@charset "UTF-8";

/* ページイントロ */
.page-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.page-intro__text {
    width: 55%;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.page-intro__img {
    width: 40%;
}

.page-intro__img img {
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

/* セクション背景 */
.sec-bg-light {
    background-color: #faf9f7;
    padding: 60px 0;
}

.sec-bg-white {
    background-color: #ffffff;
    padding: 60px 0;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* 人気の検索条件 */
.other_joken {
    background: transparent;
    padding: 0;
    border: none;
    margin-top: 0;
}

.other_joken ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.other_joken li a {
    display: inline-block;
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.other_joken li a:hover {
    background: #e36a00;
    color: #fff;
    border-color: #e36a00;
}

/* 人気エリアタブ */
.custom-tabs-area {
    display: flex;
    width: 100%;
    border: 1px solid #e36a00;
    border-bottom: none;
    box-sizing: border-box;
}

.custom-tabs-area button {
    flex: 1;
    background: #fff;
    border: none;
    border-right: 1px solid #e36a00;
    color: #e36a00;
    padding: 15px 10px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    box-sizing: border-box;
    text-align: center;
}

.custom-tabs-area button:last-child {
    border-right: none;
}

.custom-tabs-area button.is-active,
.custom-tabs-area button:hover {
    background: #e36a00;
    color: #fff;
}

.custom-tab-panel-area {
    display: none;
    padding: 30px;
    border: 1px solid #e0e0e0;
    background: #fff;
    animation: fadeIn 0.5s ease;
}

.custom-tab-panel-area.is-active {
    display: block;
}

.area-intro {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.area-intro-img {
    width: 40%;
    flex-shrink: 0;
}

.area-intro-img img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.area-intro-text {
    width: 60%;
}

.area-intro-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    border-left: 4px solid #e36a00;
    padding-left: 10px;
    color: #333;
}

.area-intro-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* 物件カード（4カラム） */
.area-property-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.area-property-card {
    width: calc(25% - 15px);
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    background: #fff;
    transition: 0.3s;
}

.area-property-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.area-property-card .img {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
}

.area-property-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.area-property-card .info {
    padding: 15px;
}

.area-property-card .name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
/*     height: 2.8em; */
    overflow: hidden;
}

.area-property-card .price {
    color: #e60012;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.area-property-card .madori {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.area-property-card .access {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

/* エリア・沿線リンク */
.link-group-wrap {
    background: #fff;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    border-radius: 4px;
}

.link-group-title {
    border-left: 4px solid #e36a00;
    padding-left: 12px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.link-group dl {
    margin-bottom: 20px;
}

.link-group dt {
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
    margin-bottom: 12px;
    font-size: 16px;
}

.link-group dd ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-group dd li a {
    display: block;
    padding: 8px 16px;
    background: #faf9f7;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}

.link-group dd li a:hover {
    background: #e36a00;
    color: #fff;
    border-color: #e36a00;
}

/* 家賃相場テーブル */
.market-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.market-table th,
.market-table td {
    border: 1px solid #e0e0e0;
    padding: 15px;
    text-align: center;
}

.market-table th {
    background-color: #faf9f7;
    font-weight: bold;
}

.market-table .th02 {
    width: 60%;
}

.market-table .td01 a {
    color: #e36a00;
    text-decoration: none;
    font-weight: bold;
}

.market-table .td01 a:hover {
    text-decoration: underline;
}

.market-table .td02 {
    font-weight: bold;
    font-size: 16px;
    border-right: 1px solid #f0f0f0;
    width: 80px;
}

.market-table .td03 {
    text-align: left;
    width: 40%;
    vertical-align: middle;
    border-left: none;
}

.market-table .bar {
    display: inline-block;
    height: 12px;
    background-color: #e36a00;
    border-radius: 2px;
}

/* 家賃相場タブ */
.custom-tabs {
    display: flex;
    width: 100%;
    border: 1px solid #e36a00;
    border-bottom: none;
    box-sizing: border-box;
}

.custom-tabs button {
    flex: 1;
    background: #fff;
    border: none;
    border-right: 1px solid #e36a00;
    color: #e36a00;
    padding: 15px 10px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    box-sizing: border-box;
    text-align: center;
}

.custom-tabs button:last-child {
    border-right: none;
}

.custom-tabs button.is-active,
.custom-tabs button:hover {
    background: #e36a00;
    color: #fff;
}

.custom-tab-panel {
    display: none;
    padding: 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.custom-tab-panel.is-active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* 行政データ 注意書き・出典元 */
.admin-data-note {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 15px;
    padding: 15px 20px;
    background: #faf9f7;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    line-height: 1.8;
}

.admin-data-note__caution {
    margin: 0;
}

.admin-data-note__source {
    flex-shrink: 0;
    text-align: left;
    line-height: 1.4;
}

.admin-data-note__source-title {
    font-weight: bold;
    color: #333;
    margin: 0 0 5px;
}

.admin-data-note__source-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-data-note__source-list li {
    margin-bottom: 6px;
}

.admin-data-note__source-list a {
    color: #e36a00;
    text-decoration: none;
    word-break: break-all;
}

.admin-data-note__source-list a:hover {
    text-decoration: underline;
}

/* 行政データ */
.admin-data-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-data-wrap table {
    width: calc(50% - 10px);
    background: #fff;
    border-collapse: collapse;
}

.admin-data-wrap th,
.admin-data-wrap td {
    border: 1px solid #e0e0e0;
    padding: 12px;
    text-align: center;
}

.admin-data-wrap th {
    background-color: #faf9f7;
    font-weight: bold;
    width: 40%;
}

/* 人気の理由 */
.reason-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.reason-grid-item {
    display: flex;
    align-items: stretch;
    width: calc(50% - 10px);
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.reason-grid-img {
    width: 180px;
    flex-shrink: 0;
}

.reason-grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reason-grid-text {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reason-grid-catch {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.5;
}

.reason-grid-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

/* 注意点 */
.caution-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.caution-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.caution-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 30px;
    border: 3px solid #faf9f7;
}

.caution-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.caution-text {
    flex: 1;
}

.caution-catch {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.caution-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* ===========================================
   レスポンシブ（750px以下に統一）
   =========================================== */
@media (max-width: 750px) {

    /* ページイントロ */
    .page-intro {
        flex-direction: column;
    }

    .page-intro__text,
    .page-intro__img {
        width: 100%;
        margin-bottom: 20px;
    }

    /* エリアイントロ */
    .area-intro {
        flex-direction: column;
        gap: 20px;
    }

    .area-intro-img,
    .area-intro-text {
        width: 100%;
    }

    .area-intro-title {
        font-size: 18px;
    }

    /* タブパネル内余白を縮小 */
    .custom-tab-panel-area {
        padding: 20px 15px;
    }

    /* 物件カード: 2カラム → 1カラム */
    .area-property-card {
        width: 100%;
    }

    /* 人気エリアタブ: 2×2折り返し */
    .custom-tabs-area {
        flex-wrap: wrap;
        border-bottom: 1px solid #e36a00;
    }

    .custom-tabs-area button {
        width: 50%;
        flex: none;
        border-bottom: 1px solid #e36a00;
    }

    .custom-tabs-area button:nth-child(2) {
        border-right: none;
    }

    .custom-tabs-area button:nth-child(3),
    .custom-tabs-area button:nth-child(4) {
        border-bottom: none;
    }

    /* 家賃相場タブ: 2×2折り返し */
    .custom-tabs {
        flex-wrap: wrap;
        border-bottom: 1px solid #e36a00;
    }

    .custom-tabs button {
        width: 50%;
        flex: none;
        border-bottom: 1px solid #e36a00;
    }

    .custom-tabs button:nth-child(even) {
        border-right: none;
    }

    .custom-tabs button:nth-last-child(-n+2) {
        border-bottom: none;
    }

    /* 家賃相場テーブル: バーグラフ列を非表示 */
    .market-table .td03,
    .market-table .th02:last-child {
        /* display: none; */
    }

    .market-table th,
    .market-table td {
        padding: 10px 8px;
        font-size: 13px;
    }

    .market-table .td02 {
        font-size: 14px;
    }

    /* 行政データ: テーブル縦積み */
    .admin-data-wrap table {
        width: 100%;
    }

    .admin-data-wrap th,
    .admin-data-wrap td {
        padding: 10px 8px;
        font-size: 11px;
        width: auto;
    }

    /* 行政データ 注意書き */
    .admin-data-note {
        flex-direction: column;
        gap: 15px;
    }

    /* 人気の理由: 1カラム縦積み */
    .reason-grid-item {
        width: 100%;
        flex-direction: column;
    }

    .reason-grid-img {
        width: 100%;
        height: 200px;
    }

    .reason-grid-text {
        padding: 20px;
    }

    .reason-grid-catch {
        font-size: 16px;
    }

    /* 注意点: 縦積み */
    .caution-item {
        /* flex-direction: column; */
        align-items: flex-start;
        padding: 20px;
        gap: 20px;
    }

    .caution-img {
        width: 90px;
        height: 90px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .caution-catch {
        font-size: 16px;
    }

    .caution-desc {
        font-size: 14px;
    }

    /* エリア・沿線リンク */
    .link-group-wrap {
        padding: 20px 15px;
    }

    .link-group-title {
        font-size: 17px;
    }

    .link-group dt {
        font-size: 14px;
    }

    .link-group dd li a {
        padding: 7px 12px;
        font-size: 13px;
    }

    /* 物件リスト（buildinglist） */
    #buildinglist_cell .roomListTableDataCell.list02,
    #buildinglist_cell .roomListTableDataCell.list03,
    #buildinglist_cell .roomListTableDataCell.list07 {
        width: 100% !important;
        border-left: 1px solid #ddd;
    }
}