@charset "UTF-8";

/*=======================================
不動産情報
=======================================*/
.pagetitle_wrap {
    background: url(../img/fudosan_img/pagetitle_bg.jpg) center center no-repeat;
    background-size: cover;
}

/*------------------------------------
不動産情報　一覧
--------------------------------------*/
/*物件一覧 ------------*/
.property_list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;

    @media (width >=768px) {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

.property_list_item {

    &>a {
        border: 1px solid var(--subcolor-light);
        display: flex;
        flex-direction: column;
        gap: 14px;
        height: 100%;
        padding: 16px 16px 24px;
        text-align: left;
        text-decoration: none;
        color: var(--base-tx-color);
        position: relative;
        transition: 0.2s;

        &:hover {
            border: 1px solid var(--subcolor);
            background: color-mix(in srgb, var(--subcolor-light), white 90%);

            .property_list_btn {
                background: var(--subcolor);
            }

            .property_list_ph {
                & img {
                    transform: scale(1.2);
                }
            }

        }
    }

    @media (width >=768px) {
        &>a {
            padding: 24px 24px 40px;
        }
    }
}

.status_list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;

    &>li {
        font-size: 12px;
        width: max-content;
        white-space: nowrap;
        color: var(--light-tx-color);
        padding: 0 0.6em;
        background: #104eb1;

        @media (width >=768px) {
            font-size: 14px;
        }

        &.status01 {
            background: #B18F10;
        }

        &.status02 {
            background: #10B16B;
        }

        &.status03 {
            background: #B1104E;
        }
    }
}

.property_list_title_group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.2;

    .property_list_title {
        font-weight: 700;
        font-size: 16px;

        @media (width >=768px) {
            font-size: 20px;
        }
    }
}

.property_list_cts_group {
    display: flex;
    flex-direction: column;
    gap: 16px;

    @media (width >=768px) {
        flex-direction: row;

        .property_list_ph {
            flex: 1;
        }

        .property_list_detail {
            flex: 2;
        }
    }
}

.property_list_ph {
    overflow: hidden;

    &>img {
        width: 100%;
        height: auto;
        transition: all 0.3s;
    }
}

.property_list_btn {
    position: absolute;
    inset: auto 0 0 auto;
    color: var(--light-tx-color);
    font-family: var(--font-en02);
    font-weight: var(--font-en02-weight);
    background: var(--subcolor-light);
    width: max-content;
    padding: 0.2em 1em;
    pointer-events: none;
    transition: 0.2s;
}

.property_list_detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.property_list_detail_item {
    display: flex;

    .property_list_detail_ti {
        white-space: nowrap;
        line-height: 1.2;
        min-width: 4.5ic;
        color: #617493;
    }

    .property_list_detail_tx {
        line-height: 1.2;

    }
}

/*不動産情報 -------------------*/
.prop_list {
    margin-top: 20px;

    & li {
        & a {
            display: block;
            height: 100%;
            text-decoration: none;
            color: var(--base-tx-color);

            & figure {
                position: relative;
                aspect-ratio: 4 / 3;

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

                &::before {
                    position: absolute;
                    right: 14px;
                    bottom: 14px;
                    display: block;
                    width: 30px;
                    height: 1px;
                    content: "";
                    background: var(--base-tx-color);
                    z-index: 1;
                }

                &::after {
                    position: absolute;
                    right: 14px;
                    bottom: 10.5px;
                    display: block;
                    width: 8px;
                    height: 8px;
                    content: "";
                    border-top: solid 1px var(--base-tx-color);
                    border-right: solid 1px var(--base-tx-color);
                    transform: rotate(45deg);
                    z-index: 1;
                }
            }

            & .prop_tx {
                position: relative;
                padding-top: 10px;
                font-size: 17px;

                &::after {
                    position: absolute;
                    top: -30px;
                    right: 0;
                    display: block;
                    width: 58px;
                    height: 30px;
                    content: "";
                    background: #fff;
                }

                & p {
                    line-height: 1.4;
                    font-size: 17px;

                    &.label {
                        margin-bottom: 0.35em;
                        font-size: 16px;
                        color: #617493;
                    }
                }
            }
        }
    }
}

@media print,
screen and (min-width:768px) {
    .prop_list {
        margin-top: 50px;

        & li {
            & a {
                transition: all 0.3s;

                & figure {
                    position: relative;
                    aspect-ratio: 4 / 3;
                    overflow: hidden;

                    & img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        transition: all 0.3s;
                    }

                    &::before {
                        position: absolute;
                        right: 14px;
                        bottom: 14px;
                        display: block;
                        width: 30px;
                        height: 1px;
                        content: "";
                        background: var(--base-tx-color);
                        z-index: 1;
                    }

                    &::after {
                        position: absolute;
                        right: 14px;
                        bottom: 10.5px;
                        display: block;
                        width: 8px;
                        height: 8px;
                        content: "";
                        border-top: solid 1px var(--base-tx-color);
                        border-right: solid 1px var(--base-tx-color);
                        transform: rotate(45deg);
                        z-index: 1;
                    }
                }

                & .prop_tx {
                    position: relative;
                    padding-top: 10px;
                    font-size: 17px;

                    &::after {
                        position: absolute;
                        top: -30px;
                        right: 0;
                        display: block;
                        width: 58px;
                        height: 30px;
                        content: "";
                        background: var(--bg-color01);
                        transition: all 0.3s;
                    }

                    & p {
                        line-height: 1.4;
                        font-size: 17px;

                        &.label {
                            margin-bottom: 0.35em;
                            font-size: 16px;
                            color: #617493;
                        }
                    }
                }

                &:hover {
                    & figure {
                        & img {
                            transform: scale(1.2);
                        }
                    }

                    & .prop_tx {
                        &::after {
                            background: rgba(255, 255, 255, 0.25);
                        }
                    }
                }
            }
        }
    }
}

.row_md2_col3 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: var(--lay_gap_sp);

    &>* {
        width: 100%;
    }

    @media (width >=576px) {
        flex-direction: row;
        gap: var(--lay_gap_md);

        &>* {
            width: calc(50% - var(--lay_gap_md) / 2);
        }
    }

    @media (width >=992px) {
        &>* {
            width: calc(100% / 3 - var(--lay_gap_md) * 2 / 3);
        }
    }
}

/*------------------------------------
不動産情報　詳細
--------------------------------------*/
.detail_area {
    text-align: left;
}

.detail_title_group {
    display: flex;
    gap: 8px;
    flex-direction: column;
    border: 4px solid var(--subcolor-light);
    border-image-source: linear-gradient(90deg, var(--subcolor-light) 0%, rgb(from var(--subcolor-light) r g b / 0.5) 100%);
    border-image-slice: 1;
    border-inline: none;
    margin-block: 16px 24px;
    padding-block: 10px;
    padding-inline: 4px;

    &>* {
        line-height: 1.2;
    }

    .detail_title {
        font-weight: 700;
        font-size: 18px;
    }

    @media (width >=768px) {
        gap: 12px;
        margin-block: 16px 32px;
        padding-block: 16px;

        .detail_title {
            font-size: 24px;
        }

        .detail_subtitle {
            font-size: 18px;
        }
    }

}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery_main_item {
    & img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.gallery_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;

    .gallery_list_item {
        &>a {
            display: block;
            height: 100%;

            &>img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }
    }

    @media (width >=768px) {
        grid-template-columns: repeat(4, 1fr);
    }
}



.detail_content {
    display: flex;
    flex-direction: column;
    gap: 24px;

    @media (width >=768px) {
        gap: 32px;
    }
}

.detail_table {
    width: 100%;
    border-collapse: collapse;

    & th,
    & td {
        border: 1px solid #96a7c2;
        padding: 8px;
    }

    & th {
        background: rgb(from var(--subcolor-light) r g b / 0.3);
    }

    @media (width >=768px) {

        & th,
        & td {
            padding: 16px;
        }
    }

}

.back_btn {
    border-top: 1px solid var(--subcolor-light);
    padding-top: 24px;
    margin-top: 24px;

    @media (width >=768px) {
        padding-top: 40px;
        margin-top: 40px;
    }

    &>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 700;
        text-decoration: none;
        border: 1px solid var(--accentcolor);
        background: var(--accentcolor);
        color: var(--light-tx-color);
        position: relative;
        padding: 0.8em 1em;
        width: 80%;
        max-width: 320px;
        margin-inline: auto;
        transition: 0.2s;


        &::after {
            content: "";
            aspect-ratio: 43/12;
            background: url(../img/common_img/arrow_rihgt.svg) center center no-repeat;
            background-size: cover;
            width: 43px;
            height: auto;
            display: block;
            pointer-events: none;
            transition: 0.2s;

        }

        &:hover {
            background: color-mix(in srgb, var(--accentcolor), white 20%);

            &::after {
                transform: translateX(4px);
            }
        }
    }
}

/*==============================
list
==============================*/
.detail_text_area{
    *+.list_basic01 {
        margin-top: 16px;
    }
    .list_basic01+* {
        margin-top: 16px;
    }
    *+*{
        margin-top: 16px;
    }
}

