@charset "UTF-8";

/* 戸建て売却ページ（/page/sale/kodate）専用 */

/* ==== セクションの上下余白 ====
       ステージングではカスタマイザーの追加CSSにあったが本番には無いため、ここで補う。
       .page_purchase .head_sec など詳細度(0,2,0)の既存指定は従来どおり優先される */
.common_page_wrap section {
    padding: 80px 0
}

@media screen and (max-width:599px) {
    .common_page_wrap section {
        padding: 14vw 0
    }
}

/* ==== 区別戸建て売却相場（不動産情報ライブラリの取引実績データの表示枠） ==== */
/* アットホームやLIFULL HOME'Sなど、複数エリアの相場を1ページで扱うサイトを調べると、
       全エリアの詳細を並べるのではなく、区名と価格だけの一覧を並べ、興味のある区だけ
       詳細（中央値・価格帯・築年数別データ）を開く形が主流だった。
       戸建てを売りたい人は自分の区の相場が分かれば十分なことが多いため、
       ここでも一覧比較はできる形にしつつ、詳細はアコーディオンで区ごとに開閉する。 */
.ward_market_sec .market_list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 50px;
}

.ward_market_sec .market_row {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1), 0 4px 4px -4px rgba(0, 0, 0, .1);
    overflow: hidden
}

.ward_market_sec .ward_row_heading {
    margin: 0;
    font-size: inherit;
    font-weight: inherit
}

.ward_market_sec .market_row_toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 28px;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--swl-font_family)
}

.ward_market_sec .ward_name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color_text);
    min-width: 5.5em
}

.ward_market_sec .ward_summary {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 8px 28px;
    justify-content: flex-end;
    align-items: baseline
}

.ward_market_sec .summary_price {
    font-family: "Patua One", serif;
    color: var(--color_main);
    font-size: 19px
}

.ward_market_sec .summary_price .unit {
    font-size: 12px;
    font-family: var(--swl-font_family);
    color: var(--color_text);
    margin-left: .2em
}

.ward_market_sec .summary_count {
    font-size: 12px;
    color: var(--color_text);
    opacity: .65;
    align-self: center
}

.ward_market_sec .toggle_icon {
    font-size: 20px;
    color: var(--color_main);
    flex-shrink: 0;
    transition: transform .25s
}

.ward_market_sec .market_row.is-open .toggle_icon {
    transform: rotate(45deg)
}

.ward_market_sec .market_detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease
}

.ward_market_sec .market_row.is-open .market_detail {
    max-height: 2400px
}

.ward_market_sec .market_detail_inner {
    padding: 0 28px 32px
}

.ward_market_sec .market_lead {
    font-size: 13px;
    color: var(--color_text);
    opacity: .75;
    padding: 1.5em 0;
    margin-bottom: 1.5em;
    border-top: 1px solid rgba(0, 0, 0, .08)
}

.ward_market_sec .market_body {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px
}

.ward_market_sec .stat_sub .row {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    font-size: 13px;
    color: var(--color_text);
    padding: .65em 0;
    border-top: 1px solid rgba(0, 0, 0, .06)
}

.ward_market_sec .stat_sub .row:first-child {
    border-top: 0
}

.ward_market_sec .stat_sub .row dt {
    opacity: .65;
    margin: 0
}

.ward_market_sec .stat_sub .row dd {
    font-weight: 700;
    margin: 0;
    text-align: right
}

.ward_market_sec .market_chart .chart_ttl {
    font-size: 14px;
    font-weight: 700;
    color: var(--color_text);
    margin-bottom: 1.2em
}

.ward_market_sec .bar_row {
    display: grid;
    grid-template-columns: 92px 1fr 76px;
    align-items: center;
    gap: 14px;
    margin-bottom: 1em;
    font-size: 12px;
    color: var(--color_text)
}

.ward_market_sec .bar_track {
    background: #eee;
    border-radius: 4px;
    height: 10px;
    overflow: hidden
}

.ward_market_sec .bar_fill {
    display: block;
    height: 100%;
    background: var(--color_main);
    border-radius: 4px;
    width: 0%
}

.ward_market_sec .bar_value {
    text-align: right;
    font-weight: 700
}

.ward_market_sec .market_detail .desc {
    font-size: 13px;
    line-height: 1.85;
    color: var(--color_text);
    margin-top: 2em
}

.ward_market_sec .market_footnote {
    margin-top: 1.5em;
    padding-top: 1.5em;
    border-top: 1px solid rgba(0, 0, 0, .08);
    font-size: 11px;
    color: var(--color_text);
    opacity: .65;
    line-height: 1.9
}

.ward_market_sec .market_footnote a {
    color: var(--color_link);
    text-decoration: underline
}

@media screen and (max-width:959px) {
    .ward_market_sec .market_body {
        grid-template-columns: 1fr;
        gap: 2em
    }
}

@media screen and (max-width:599px) {
    .ward_market_sec .market_list{
        margin-top: 7vw;
    }

    .ward_market_sec .market_row_toggle {
        padding: 5vw;
        flex-wrap: wrap
    }

    .ward_market_sec .ward_name {
        font-size: 4vw;
        min-width: auto
    }

    .ward_market_sec .ward_summary {
        justify-content: space-between;
        width: 100%
    }

    .ward_market_sec .market_detail_inner {
        padding: 0 5vw 6vw
    }

    .ward_market_sec .bar_row {
        grid-template-columns: 20vw 1fr 15vw;
        font-size: 3vw
    }
}


/* ==== 戸建て売却の流れ：横スクロール ==== */
.flow_slider_sec .flow_slider_wrap {
    position: relative
}

.flow_slider_sec .flow_slider_wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 28px;
    width: 48px;
    background: linear-gradient(to right, rgba(253, 253, 253, 0), var(--color_bg));
    pointer-events: none
}

.flow_slider_sec .flow_slider_track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 8px 4px 28px;
    -webkit-overflow-scrolling: touch
}

.flow_slider_sec .flow_card {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1), 0 4px 4px -4px rgba(0, 0, 0, .1);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px
}

.flow_slider_sec .flow_card .circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color_main);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
    flex-shrink: 0
}

.flow_slider_sec .flow_card .circle .en {
    font-size: 10px;
    letter-spacing: .06em
}

.flow_slider_sec .flow_card .circle .num {
    font-size: 22px;
    font-weight: 700;
    font-family: "Patua One", serif
}

.flow_slider_sec .flow_card .step_ttl {
    font-size: 18px;
    font-weight: 700;
    color: var(--color_text)
}

.flow_slider_sec .flow_card .step_text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--color_text)
}

@media screen and (max-width:599px) {
    .flow_slider_sec .flow_card {
        width: 80vw;
        padding: 6vw 5vw
    }

    .flow_slider_sec .flow_card .step_ttl {
        font-size: 4.4vw
    }

    .flow_slider_sec .flow_card .step_text {
        font-size: 3.6vw
    }
}

/* ==== 戸建て売却の工夫：査定tips流用 ==== */

/* ==== 不動産売却の強み：カード見出しの文字間隔 ==== */
.support .card .title {
    letter-spacing: .05em
}

/* ==== セカンドビュー ==== */
.mark_yellow {
    background: -webkit-linear-gradient(transparent 64%, var(--color_mark_yellow) 0%);
    background: linear-gradient(transparent 64%, var(--color_mark_yellow) 0%)
}

.top_renovation.baikyaku {
    padding-top: 0;
    padding-bottom: 0
}

.top_renovation.baikyaku::before {
    content: none
}

.top_renovation.baikyaku .container {
    align-items: stretch;
    margin-top: 0
}

.top_renovation.baikyaku .container .body {
    height: auto
}

.top_renovation.baikyaku .container .image {
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px
}

.top_renovation.baikyaku .container .image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0
}

@media screen and (max-width:959px) {
    .top_renovation.baikyaku .container .image {
        min-height: 52vw
    }
}

@media screen and (max-width:599px) {
    .top_renovation.baikyaku .container .image {
        min-height: 70vw;
        border-radius: 12px
    }
}

/* ==== 戸建て売却でよくあるお悩み ==== */
.worry_sec {
    position: relative;
    overflow: hidden;
    background: #f7f7f4
}

.worry_sec::before {
    content: "?";
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Roboto", sans-serif;
    font-size: 250px;
    font-weight: 700;
    line-height: 1;
    color: rgba(82, 168, 142, .08);
    pointer-events: none
}

.worry_sec .wrap {
    position: relative;
    z-index: 1
}

.worry_sec .common_section_title {
    margin-bottom: 3.5em
}

.worry_sec .common_section_title .title_en {
    color: #8a7448
}

.worry_sec .point_list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px
}

.worry_sec .point_item {
    display: grid;
    grid-template-columns: 38px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 14px;
    row-gap: 14px;
    min-height: 220px;
    padding: 34px 30px;
    background: #fff;
    border: 1px solid #dedbd2;
    border-radius: 5px
}

.worry_sec .point_item>i {
    grid-column: 1;
    grid-row: 1;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(82, 168, 142, .12);
    color: var(--color_main);
    font-size: 18px
}

.worry_sec .point_item .theme {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
    color: #7f6d49;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .03em
}

.worry_sec .point_item .desc {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    padding-top: 17px;
    background: linear-gradient(to right, #d9d6ce 0 45%, transparent 45% 100%) top left / 8px 1px repeat-x;
    color: var(--color_text);
    font-size: 14px;
    line-height: 1.9
}

@media screen and (max-width:959px) {
    .worry_sec .point_list {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media screen and (max-width:599px) {
    .worry_sec::before {
        top: 3vw;
        font-size: 36vw
    }

    .worry_sec .common_section_title {
        margin-bottom: 9vw
    }

    .worry_sec .common_section_title .title_jp {
        font-size: 5.8vw;
        letter-spacing: 0;
        white-space: nowrap
    }

    .worry_sec .point_list {
        grid-template-columns: 1fr;
        gap: 4vw
    }

    .worry_sec .point_item {
        grid-template-columns: 10vw 1fr;
        column-gap: 3.5vw;
        row-gap: 3.5vw;
        min-height: 0;
        padding: 6vw 5vw
    }

    .worry_sec .point_item>i {
        width: 10vw;
        height: 10vw;
        font-size: 4.2vw
    }

    .worry_sec .point_item .theme {
        font-size: 4.2vw
    }

    .worry_sec .point_item .desc {
        padding-top: 4vw;
        font-size: 3.6vw
    }
}

/* ==== お悩みから強みへのつなぎ ==== */
.worry_answer_sec {
    position: relative;
    padding: 112px 0 48px;
    background: #fff;
    text-align: center
}

.worry_answer_sec::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 64px;
    background: #f7f7f4;
    clip-path: polygon(0 0, 100% 0, 50% 100%)
}

.worry_answer_sec .wrap {
    position: relative
}

.worry_answer_sec .label {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    margin: 0;
    padding: 10px 26px;
    background: #a48445;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em
}

.worry_answer_sec .label::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 20px;
    height: 11px;
    background: #a48445;
    clip-path: polygon(0 0, 100% 0, 50% 100%)
}

.worry_answer_sec .title {
    margin: 28px 0 0;
    color: #a48445;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .08em
}

@media screen and (max-width:599px) {
    .worry_answer_sec {
        padding: 22vw 0 10vw
    }

    .worry_answer_sec::before {
        height: 11vw
    }

    .worry_answer_sec .label {
        min-width: 42vw;
        padding: 2.5vw 5vw;
        font-size: 3.8vw
    }

    .worry_answer_sec .label::after {
        bottom: -2.5vw;
        width: 5vw;
        height: 2.7vw
    }

    .worry_answer_sec .title {
        margin-top: 7vw;
        font-size: 6vw;
        line-height: 1.6;
        letter-spacing: .04em
    }
}

/* ==== お悩みに対するメモリーハウスの向き合い方 ==== */
.common_page_wrap .worry_detail_sec {
    padding-top: 24px;
    background: #fff
}

.worry_detail_sec .detail_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: stretch
}

.worry_detail_sec .image {
    min-height: 430px;
    overflow: hidden;
    border-radius: 18px
}

.worry_detail_sec .copy {
    display: flex;
    flex-direction: column;
    justify-content: center
}

.worry_detail_sec .eyebrow {
    margin: 0 0 14px;
    color: #806c45;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em
}

.worry_detail_sec .title {
    margin: 0;
    color: var(--color_text);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: .04em
}

.worry_detail_sec .text {
    margin: 28px 0 0;
    color: var(--color_text);
    font-size: 15px;
    line-height: 2
}

.worry_detail_sec .promise_box {
    margin-top: 56px;
    padding: 34px 40px;
    background: #faf9f4;
    border: 1px solid #b8a77f;
    border-radius: 5px;
    text-align: center
}

.worry_detail_sec .promise_box .text {
    margin: 0;
    color: #9a7d3e;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: .04em
}

@media screen and (max-width:959px) {
    .worry_detail_sec .detail_grid {
        gap: 40px
    }

    .worry_detail_sec .image {
        min-height: 360px
    }

    .worry_detail_sec .title {
        font-size: 24px
    }

    .worry_detail_sec .promise_box .text {
        font-size: 21px
    }
}

@media screen and (max-width:599px) {
    .common_page_wrap .worry_detail_sec {
        padding-top: 2vw
    }

    .worry_detail_sec .detail_grid {
        grid-template-columns: 1fr;
        gap: 8vw
    }

    .worry_detail_sec .image {
        min-height: 0;
        aspect-ratio: 4/3;
        border-radius: 12px
    }

    .worry_detail_sec .eyebrow {
        margin-bottom: 3vw;
        font-size: 3.6vw
    }

    .worry_detail_sec .title {
        font-size: 5.5vw;
        line-height: 1.65
    }

    .worry_detail_sec .text {
        margin-top: 5vw;
        font-size: 3.7vw;
        line-height: 1.95
    }

    .worry_detail_sec .promise_box {
        margin-top: 10vw;
        padding: 7vw 5vw
    }

    .worry_detail_sec .promise_box .text {
        font-size: 5vw;
        line-height: 1.75
    }
}

/* ==== 途中オファー：フッターの common_contact をそのまま再利用 ==== */
.mid_offer_sec {
    margin-bottom: 0
}

/* ==== 画像を入れたときの表示調整 ==== */
.worry_detail_sec .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.kufu_sec .tips_list .img_ph img {
    border-radius: 5px
}