@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* おすすめエリアのキャッチコピー(h4)用CSS */
.p-attribute-item__subtitle {
    font-size: 1.1rem !important;
    color: #66b8c7 !important;
    font-weight: bold !important;
    margin-bottom: 16px !important;
    background: #f3f8fd !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    border: none !important;
}

.p-attribute-item__subtitle::before {
    display: none !important;
}

/* おすすめエリアのタイトル(h3)用CSS */
.p-attribute-item__title {
    font-size: 1.6rem !important;
    font-weight: bold !important;
    border-bottom: 2px solid #66b8c7 !important;
    padding-bottom: 8px !important;
    margin-bottom: 24px !important;
    color: #333 !important;
}

.p-attribute-item__title::before {
    display: none !important;
}

/* おすすめエリアの画像+テキスト並び用専用クラス */
.p-area-info-wrap {
    display: flex !important;
    gap: 32px !important;
    margin-bottom: 24px !important;
    align-items: flex-start !important;
}

.p-area-info-wrap__text {
    flex: 1 !important;
    min-width: 0 !important;
}

.p-area-info-wrap__text p {
    line-height: 1.8 !important;
}

.p-area-info-wrap__img {
    flex: 0 0 45% !important;
}

.p-area-info-wrap__img img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

@media screen and (max-width: 750px) {
    .p-area-info-wrap {
        flex-direction: column-reverse !important;
        gap: 16px !important;
    }

    .p-area-info-wrap__img {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* 新規追加: 物件一覧セクション用CSS */
.p-property-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
    margin-bottom: 40px;
}

.p-property-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.p-property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.p-property-card__image {
    position: relative;
    width: 100%;
    height: 220px;
    background: #f7f7f7;
}

.p-property-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-property-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #21b8c8;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
}

.p-property-card__content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.p-property-card__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e44141;
    margin-bottom: 8px;
    font-family: Arial, sans-serif;
}

.p-property-card__price span {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
    display: inline-block;
    margin-left: 3px;
}

.p-property-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #333;
}

.p-property-card__info {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.6;
}

.p-property-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.p-property-card__tag {
    background: #edf5ff;
    color: #3d79d5;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 4px;
}

.p-property-card__btn {
    margin-top: auto;
    display: block;
    text-align: center;
    background: #66b8c7;
    color: #fff;
    padding: 14px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.p-property-card__btn:hover {
    background: #4d8a95;
}

.p-property-search-btn {
    text-align: center;
    margin-top: 16px;
}

/* タブ用CSSを強化 */
.p-section .p-tab-list {
    display: flex !important;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    list-style: none !important;
    padding: 0 !important;
}

.p-section .p-tab-list__item {
    background: #fff;
    border: 2px solid #66b8c7;
    color: #66b8c7;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
    margin: 0 !important;
    text-align: center;
}

.p-section .p-tab-list__item.active,
.p-section .p-tab-list__item:hover {
    background: #66b8c7;
    color: #fff;
}

@media screen and (max-width: 750px) {
    .p-section .p-tab-list {
        justify-content: flex-start;
        flex-wrap: nowrap;
        /* overflow-x: auto; */
        padding-bottom: 12px !important;
        -webkit-overflow-scrolling: touch;
    }

    .p-section .p-tab-list__item {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* 新規追加: 駅情報テーブル用CSS */
.p-station-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
}

.p-station-table th,
.p-station-table td {
    border: 1px solid #ddd;
    padding: 12px 16px;
    text-align: left;
}

.p-station-table th {
    background-color: #f7f7f7;
    width: 30%;
    font-weight: bold;
    color: #555;
}

.p-station-table td {
    background-color: #fff;
    line-height: 1.6;
}

@media screen and (max-width: 750px) {

    .p-station-table th,
    .p-station-table td {
        display: block;
        width: 100%;
    }

    .p-station-table th {
        background-color: #eee;
        border-bottom: none;
    }

    .p-station-table td {
        border-top: none;
    }
}

/* 新規追加: 注意点セクション画像+テキスト並び用CSS */
.p-point-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.p-point-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 32px;
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

.p-point-row:nth-child(even) {
    flex-direction: row-reverse;
}

.p-point-row__image {
    flex: 0 0 45%;
    max-width: 45%;
}

.p-point-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.p-point-row__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.p-point-row__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    border-bottom: 2px solid #66b8c7;
    padding-bottom: 8px;
    display: inline-block;
}

.p-point-row__text {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
}

@media screen and (max-width: 750px) {

    .p-point-row,
    .p-point-row:nth-child(even) {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .p-point-row__image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .p-point-row__image img {
        height: 200px;
    }

    .page_woman_alone .p-attribute-item{
        margin-bottom: 0 !important;
    }
}