/* ===============================
section1
=============================== */
.l-contents__inner {
    margin-top: 0px !important;
}

.c-entry__header {
    display: none;
}

.l-contents__inner {
    padding: 0 !important;
}

.wp-block-snow-monkey-blocks-section.smb-section.smb-section--fit {
    padding-top: 10px;
}

.hero {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    clip-path: polygon(0 clamp(120px, 18vw, 240px),
            clamp(260px, 40vw, 560px) 0,
            100% 0,
            100% 100%,
            0 100%);
    background-image: url("/wp-content/uploads/2026/01/un-visual01.webp");
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
}

.hero-shape {
    position: absolute;
    inset: 0;
    clip-path: polygon(0 25%,
            35% 0,
            100% 0,
            100% 100%,
            0 100%);
    display: flex;
    align-items: flex-end;
    padding: clamp(20px, 2.93vw, 40px) clamp(24px, 4.39vw, 60px);
}

.hero-shape {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero-text h1 {
    color: #fff;
    font-size: clamp(60px, 8.79vw, 120px);
    font-weight: 400;
    line-height: 0.9;
    margin: 0 0 16px;
    font-family: "din-2014", sans-serif;
}

.hero-text p {
    color: #fff;
    font-size: clamp(16px, 1.46vw, 20px);
    margin: 0;
}

.hero-text .line {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}


.hero.is-active .hero-text .line {
    animation: fadeUp 0.5s cubic-bezier(.4, 0, .2, 1) forwards;
}

.hero.is-active .hero-text .line-2 {
    animation-delay: 0.1s;
}

.hero.is-active .hero-text .line-3 {
    animation-delay: 0.5s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 730px) {

    .hero {
        height: 30vh;
        border-radius: 0;
        clip-path: none;
        background-image: url("/wp-content/uploads/2026/01/un-visualsp.webp");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-shape {
        clip-path: none;
        background: none;
        padding: 24px 20px;
        align-items: flex-end;
    }

    .hero-text h1 {
        font-size: 52px;
        line-height: 1;
    }

    .hero-text p {
        font-size: 16px;
    }

    .c-container.alignfull {
        padding: 0;
    }

    .wp-block-snow-monkey-blocks-section.smb-section.smb-section--fit {
        padding-top: 0px;
    }
}

@media (min-width: 1366px) {
    .hero {
        height: calc(450px + (100vw - 1366px) * 0.15);
    }
}

/* ===============================
section2
=============================== */
.contact-hero {
    max-width: 1120px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
}

.contact-hero__head {
    display: flex;
    align-items: flex-end;
    gap: clamp(29.5px, 4.1vw, 56px);
}

.contact-hero__title {
    font-family: "din-2014", sans-serif;
    font-size: clamp(60px, 8.79vw, 120px);
    letter-spacing: -0.02em;
    font-weight: 400;
    color: #0158B5;
    line-height: 0.83;
    margin: 0;
    white-space: nowrap;
}

.contact-hero__label {
    font-size: clamp(16px, 1.318vw, 18px);
    font-weight: 600;
    color: #0080CC;
    margin: 0;
}

@media (max-width: 720px) {
    .contact-hero__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .contact-hero__title {
        font-size: 48px;
    }

    .contact-hero__label {
        padding-left: 5px;
        font-size: 17px;
    }
}

.l-contents__inner {
    margin-top: 0px;
}

/* ===============================
section3
=============================== */
.contents-wap {
    max-width: 1120px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.contents-wap p {
    font-size: clamp(18px, 2.34vw, 32px);
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    line-height: 1.5;
    color: #333;
    margin-top: clamp(40px, 5.86vw, 80px);
}

@media (max-width: 767px) {
    .sp-none {
        display: none;
    }

    .contents-wap p {
        font-size: 18px;
    }

}

.service {
    max-width: 1120px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: clamp(80px, 9.5vw, 130px);
    display: grid;
    gap: clamp(28px, 2.93vw, 40px);
    padding-bottom: clamp(60px, 7.3vw, 100px);
}

.service-item {
    position: relative;
    display: block;
    color: #fff;
    border-radius: clamp(12px, 1.5vw, 20px);
    overflow: hidden;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    height: clamp(260px, 29vw, 400px);
}

.service-text {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: clamp(20px, 2.3vw, 32px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
}

.service-en {
    font-size: clamp(16px, 1.8vw, 24px);
    line-height: 1.6;
    font-weight: 300;

}

.service-ja {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: clamp(16px, 2.2vw, 30px);
}

.service-desc {
    font-size: 16px;
    line-height: 1.2;
}

.service-1 {
    background-image: url("/wp-content/uploads/2026/02/service-RealEstate1img.webp");
}

.service-2 {
    background-image: url("/wp-content/uploads/2026/02/service-RealEstate2img.webp");
}

.service-3 {
    background-image: url("/wp-content/uploads/2026/02/service-RealEstate3img.webp");
}

@media (max-width: 768px) {
    .service-text {
        padding: 24px;
    }

    .service-ja {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .service-desc {
        font-size: 16px;
        line-height: 1.5;
    }
}

.service-benefits {
    margin: 0 auto;
    padding: clamp(14px, 1.46vw, 20px) 0 clamp(40px, 4.39vw, 60px);
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.2vw, 30px);
}

.benefit-card {
    display: grid;
    grid-template-columns: clamp(220px, 21.96vw, 300px) 1fr;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 clamp(2px, 0.29vw, 4px) clamp(2px, 0.29vw, 4px) rgba(0, 0, 0, 0.25);
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.benefit-content {
    padding: 0 clamp(40px, 5.12vw, 70px);
    display: flex;
    flex-direction: column;
}

.benefit-heading {
    font-size: clamp(20px, 1.9vw, 26px);
    font-weight: 500;
    color: #0080CC;
    line-height: clamp(30px, 2.93vw, 40px);
    margin-bottom: clamp(15px, 1.46vw, 20px);
    margin-top: clamp(20px, 2.2vw, 30px);
}

.benefit-content p {
    font-size: 16px;
    line-height: clamp(20px, 1.76vw, 24px);
    color: #000;
}

@media (max-width: 999px) and (min-width: 768px) {
    .benefit-card {
        grid-template-columns: 240px 1fr;
    }

    .benefit-content {
        padding: 30px 30px;
    }

    .benefit-heading {
        font-size: 22px;
        margin-bottom: 16px;
        margin-top: 0;
    }

    .benefit-content p {
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (max-width: 767px) {

    .benefit-card {
        grid-template-columns: 1fr;
    }

    .benefit-image {
        height: 240px;
    }

    .benefit-content {
        padding: 24px;
    }

    .benefit-heading {
        font-size: 20px;
        margin-top: 0;
    }

    .benefit-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .service-benefits {
        padding-bottom: 0;
    }
}

.support {
    margin: 0 auto;
    padding-bottom: clamp(60px, 7.32vw, 100px);

}

.support__title {
    font-size: clamp(22px, 2.3vw, 32px);
    font-weight: 700;
    color: #0158B5;
    margin-bottom: clamp(20px, 2.2vw, 30px);
}

.support__image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .support {
        padding: 40px 0;
    }
}

.c-page-header {
    display: none;
}