@charset "UTF-8";

/* -------------------------------------------
       キャンペーンLP専用スタイル
    ------------------------------------------- */
.main-page-campaign {
    color: var(--mstyle-text-color);
    margin: var(--main-mar-last);
}

/* 共通見出しスタイル（STEP1の要望：スタイル統一） */
.campaign-h3-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--mstyle-sub-color);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--mstyle-main-color);
    padding-bottom: 10px;
    font-weight: bold;
}

/* ファーストビュー */
.sec-campaign-hero {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--mstyle-light-green-color);
    margin-bottom: 40px;
}

.hero-catch {
    font-size: 1.6rem;
    color: var(--mstyle-red-color);
    font-weight: bold;
    margin-bottom: 15px;
    /* スマホでの変な改行を防ぐ */
    display: inline-block;
    white-space: nowrap;
}

.sec-campaign-hero .hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: bold;
}

.sec-campaign-hero .hero-prize {
    display: inline-block;
    background: var(--white-color);
    padding: 20px 40px;
    border-radius: 8px;
    border: 3px solid var(--mstyle-red-color);
    margin-top: 25px;
    font-size: 1.15rem;
    color: var(--mstyle-red-color);
    box-shadow: 0 4px 10px rgba(234, 85, 20, 0.15);
}

/* フロー（3ステップ） */
.sec-campaign-flow {
    padding: 40px 20px;
    background: var(--white-color);
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.step-box {
    flex: 1;
    min-width: 260px;
    background: var(--mstyle-light-grey-color);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid var(--mstyle-sub-grey-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.step-box img {
    width: 100%;
    max-width: 140px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
}

.step-box .step-num {
    display: inline-block;
    background: var(--mstyle-main-color);
    color: var(--white-color);
    padding: 6px 20px;
    border-radius: 30px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.step-box h4 {
    font-size: 1.1rem;
    color: var(--mstyle-sub-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.step-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

/* おすすめ物件エリア */
.sec-campaign-recommended {
    background: var(--white-color);
    margin-top: 20px;
    position: relative;
}

.sec-campaign-recommended .title-area {
    padding: 40px 20px;
}

.sec-campaign-recommended .description {
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}

/* FAQ */
.sec-campaign-faq {
    padding: 50px 20px;
    background: var(--mstyle-light-grey-color);
    margin-top: 40px;
}

.faq-item {
    background: var(--white-color);
    padding: 24px 48px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 5px solid var(--mstyle-main-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.faq-q {
    font-weight: bold;
    color: var(--mstyle-text-color);
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.faq-q::before {
    content: 'Q. ';
    color: var(--mstyle-main-color);
    font-size: 1.2em;
    margin-right: 5px;
}

.faq-a {
    color: #555;
    font-size: .875em;
    line-height: 1.6;
}

.faq-a::before {
    content: 'A. ';
    font-weight: bold;
    color: var(--mstyle-red-color);
    font-size: 1.2em;
    padding-left: 2.5px;
    margin-right: 5px;
}

.cta-area {
    text-align: center;
    padding: 60px 20px;
    background: var(--white-color);
    margin-bottom: 32px;
}

.cta-area p {
    margin-bottom: 50px;
    font-weight: bold;
    font-size: 1.1rem;
}

@media screen and (max-width:768px) {
    .hero-catch {
        font-size: 1.25rem;
    }

    .hero-text {
        font-size: 1rem;
        font-weight: normal;
    }

    .sec-campaign-hero .hero-prize {
        font-size: 1rem;
        font-weight: 600;
    }
}


/* ===============================================================
  おすすめ物件カード  property-cards  ■ BEGIN ■
  common-propert.cssが原本
=============================================================== */
.property-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 80px 60px;
    margin: 0 0 100px 0;
}

.property-card {
    display: flex;
    align-items: stretch;
    background: var(--white-color);
    position: relative;
}

.property-card .card-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: var(--base-radius);
    box-shadow: var(--box-shadow-card);
    position: relative;
    transition: var(--transition-main);
}

@media (hover: hover) {
    .property-card .card-wrapper:hover {
        transform: translate(1px, 1px);
        box-shadow: var(--box-shadow-card-hov);
    }
}

.property-cards:has(.no-favorite-text) {
    display: block;
}

.property-card .btn-wrapper {
    flex-grow: 1;
    display: block;
}

.property-card .main-pic {
    width: 100%;
    aspect-ratio: 3 / 2;
    background: var(--mstyle-light-green-color);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.property-card .main-pic .no-image {
    padding: 8%;
}

.property-card .property-name {
    display: grid;
    place-items: center;
    min-height: 64px;
    color: var(--white-color);
    font-weight: 700;
    line-height: 125%;
    background: var(--mstyle-main-color);
    padding: 12px 28px;
}

.property-card .property-name span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-card .wrapper {
    width: 80%;
    padding: 0 0 22px 0;
    margin: 0 auto;
}

.property-card .property-price {
    font-size: var(--fz-12);
    line-height: normal;
    text-align: center;
    background: var(--mstyle-light-green-color);
    border-radius: 0 0 8px 8px;
    padding: 12px 20px;
    margin: 0 0 22px 0;
}

.property-card .property-price .price {
    font-size: var(--fz-24);
    font-weight: 700;
    margin: 0 0 0 3px;
}

.property-card .property-meta {
    --svg-width: 16px;
    --svg-va: -3px;
    font-size: var(--fz-12);
    font-weight: 500;
    line-height: 150%;
    letter-spacing: .02em;
    padding: 0 0 16px 0;
    margin: 0 0 16px 0;
    position: relative;
}

.property-card .property-meta::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: var(--mstyle-main-color);
    border-radius: 5px;
    bottom: 0;
    left: 0;
}

.property-card .property-meta>li+li {
    margin: 6px 0 0 0;
}

.property-card .property-meta .flex {
    display: flex;
    align-items: flex-start;
    gap: 0 5px;
}

.property-card .property-meta .flex>svg {
    flex-shrink: 0;
}

.property-card .property-meta .clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-card .property-meta-sub {
    display: flex;
    align-items: center;
    gap: 0 22px;
}

.property-card .comment {
    height: 54px;
    font-size: var(--fz-12);
    font-weight: 500;
    line-height: 150%;
    letter-spacing: .02em;
}

.property-card .comment span {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-card .btn {
    display: block;
    font-size: var(--fz-12);
    font-weight: 700;
    line-height: 150%;
    letter-spacing: .02em;
    text-align: center;
    background: var(--mstyle-sub-grey-color);
    border-radius: 0 0 8px 8px;
    padding: 6px 0;
}

.property-card .btn svg {
    --svg-width: 20px;
    --svg-va: -5.5px;
    margin: 0 0 0 6px;
}

.property-card .update-date {
    --svg-width: 12px;
    --svg-va: -2px;
    position: absolute;
    font-size: var(--fz-10);
    line-height: 150%;
    letter-spacing: .02em;
    bottom: -20px;
    right: 0;
}

@media (max-width: 1023px) and (min-width: 769px) {
    .property-cards {
        margin: 0 0 200px 0;
    }
}

@media screen and (max-width:768px) {
    .only-pc-tag {
        display: contents;
    }

    .property-cards {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        gap: 0 15px;
        padding: 15px 4% 25px 4%;
        margin: 0 auto 50px 0;
        position: relative;
    }

    .property-card {
        flex-shrink: 0;
        max-width: 300px;
    }

    .property-card .property-price {
        padding: 12px 12px;
    }

    .scroll-hint.only-sp {
        display: flex;
    }

    .property-cards.only-pc {
        display: none;
    }
}

/* ------------ おすすめリボン ------------ */
.ribbon {
    position: absolute;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    color: var(--white-color);
    font-size: var(--fz-12);
    font-weight: 500;
    line-height: normal;
    letter-spacing: .06em;
    --ribbon-bg: url("data:image/svg+xml,%3Csvg width='300' height='295' viewBox='0 0 300 295' fill='%23EA5514' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2811_6340)'%3E%3Cpath d='M0 0.838135V254.181C0 261.902 8.51562 268.182 18.9844 268.182C22.8906 268.182 26.7187 267.318 29.9219 265.647L150 203.651L270.078 265.647C273.281 267.318 277.109 268.182 281.016 268.182C291.484 268.182 300 261.902 300 254.181V0.838135C300 -14.4304 283.203 -26.8181 262.5 -26.8181H37.5C16.7969 -26.8181 0 -14.4304 0 0.838135Z' /%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2811_6340'%3E%3Crect width='300' height='295' /%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    background-image: var(--ribbon-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding: 0 0 12px 0;
    z-index: 10;
    top: 0;
    right: 15px;
}

/* ------------ swipe.js ------------ */
.scroll-hint.only-sp {
    display: none;
}

@media (min-width: 769px) {
    .swipe-js {
        display: none;
    }
}

@media screen and (max-width:768px) {
    .scroll-hint.only-sp {
        display: flex;
    }

    .swipe-js {
        scroll-snap-type: x mandatory;
        overflow-x: auto;
        -ms-overflow-style: none;
        /* IE, Edge */
        scrollbar-width: none;
        /* Firefox */
        position: relative;
    }

    .swipe-js::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }

    .scroll-hint {
        --svg-width: 40px;
        --svg-color: var(--white-color);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 150px;
        aspect-ratio: 1;
        background-color: rgba(51, 51, 51, .7);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        color: var(--white-color);
        font-size: var(--fz-14);
        font-weight: 700;
        text-align: center;
        border-radius: var(--base-radius);
        z-index: 10;
        animation: blink 2s ease-in-out infinite;
        pointer-events: none;
    }

    @keyframes blink {

        0%,
        100% {
            opacity: 1;
        }

        50% {
            opacity: 0.7;
        }
    }
}




/* ===============================================================
  おすすめ物件カード  property-cards  ■ END ■
=============================================================== */