/* ============================================
   Section Link Customize - Mobile First
   ============================================ */

/* Section container */
.section-link-customize {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    width: 100%;
    padding-inline: var(--content-spacing);
    box-sizing: border-box;
}

/* Button wrapper - mobile: column layout */
.section-link-customize .link-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    width: 100%;
    max-width: 540px;
    box-sizing: border-box;
}

/* Individual button - shared styles */
.section-link-customize .link-wrapper .link-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 90px;
    border-radius: 3px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding-right: 38px;
    background: linear-gradient(0deg, rgba(253, 237, 163, 1) 18%, rgba(253, 176, 48, 1) 100%);
}

.section-link-customize .link-wrapper .link-list:hover {
    opacity: 0.7;
}
/* ---- 売買物件を探す (Baibai) ---- */

/* Background image - shared */
.section-link-customize .link-baibai .link-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 102px;
    object-fit: fill;
    z-index: 0;
}

/* SP: show SP image, hide PC image */
.section-link-customize .link-baibai .link-bg-img--pc {
    display: none;
}
.section-link-customize .link-baibai .link-bg-img--sp {
    display: block;
}

/* Semi-transparent blue overlay */
.section-link-customize .link-baibai .link-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ---- 賃貸物件を探す (Chintai) ---- */


/* Wave pattern images */
.section-link-customize .link-chintai .link-wave {
    position: absolute;
    object-fit: cover;
    z-index: 0;
    width: 70px;
    height: 34px;
}

.section-link-customize .link-chintai .link-wave-1 {
    left: 54px;
    top: 44px;
}

.section-link-customize .link-chintai .link-wave-2 {
    left: 12px;
    top: 15px;
}

/* ---- Title ---- */
.section-link-customize .link-wrapper .link-list .title {
    position: relative;
    z-index: 2;
    color: #0C0C3F;
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.95em;
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

/* ---- Arrow chevron (::after) ---- */
.section-link-customize .link-wrapper .link-list::after {
    content: "";
    position: absolute;
    right: 10px;
    z-index: 2;
    width: 12px;
    height: 17px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='20' viewBox='0 0 12 20' fill='none'%3E%3Cpath d='M1.06072 1.06068L9.546 9.54596L1.06072 18.0312' stroke='%230C0C3F' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    top: 54%;                 
    transform: translateY(-50%);
}


/* ============================================
   Desktop (min-width: 768px)
   ============================================ */
@media (min-width: 1000px) {
    .section-link-customize {
        padding-inline: var(--content-spacing);
    }

    /* Button wrapper - desktop: row layout */
    .section-link-customize .link-wrapper {
        flex-direction: row;
        justify-content: center;
        gap: 21px;
        width: 100%;
        max-width: 100%;
    }

    /* Individual button - desktop sizing */
    .section-link-customize .link-wrapper .link-list {
        width: 100%;
        max-width: 100%;
        height: 101.5px;
    }

    /* 売買 - background image desktop positioning */
    .section-link-customize .link-baibai .link-bg-img {
        top: 0;
        left: 0;
        width: 724px;
        height: 130px;
    }

    /* Desktop: show PC image, hide SP image */
    .section-link-customize .link-baibai .link-bg-img--pc {
        display: block;
    }
    .section-link-customize .link-baibai .link-bg-img--sp {
        display: none;
    }

    /* 賃貸 - wave pattern desktop sizing & positioning */
    .section-link-customize .link-chintai .link-wave {
        width: 107px;
        height: 52px;
    }

    .section-link-customize .link-chintai .link-wave-1 {
        left: 139.5px;
        top: 36px;
    }

    .section-link-customize .link-chintai .link-wave-2 {
        left: 34.5px;
        top: 15px;
    }

    /* Title - desktop font size */
    .section-link-customize .link-wrapper .link-list .title {
        font-size: 26px;
        line-height: 1.5em;
    }

    /* Arrow - desktop positioning and stroke width */
    .section-link-customize .link-wrapper .link-list::after {
        width: 12px;
        height: 17px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='20' viewBox='0 0 12 20' fill='none'%3E%3Cpath d='M1.06072 1.06068L9.546 9.54596L1.06072 18.0312' stroke='%230C0C3F' stroke-width='3'/%3E%3C/svg%3E");
    }
}
