/* ===============================
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;
    }
}

.consulting {
    padding: clamp(60px, 6.9vw, 95px) 0 clamp(80px, 8.8vw, 120px);
    margin: 0;
    background-color: #fff;
}

.consulting__inner {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    gap: clamp(32px, 4.4vw, 60px);
}

.consulting__text {
    flex: 1;
}

.consulting__text p {
    font-size: 16px;
    line-height: clamp(24px, 2.34vw, 32px);
    color: #333;
}

.consulting__image {
    flex: 1;
}

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

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

    .consulting__inner {
        flex-direction: column;
        gap: 32px;
    }

    .consulting__text p {
        font-size: 16px;
        line-height: 1.8;
    }
}

.consulting__inner {
    flex-direction: row-reverse;
}

@media screen and (max-width: 768px) {
    .consulting__inner {
        flex-direction: column;
    }
}

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