/* ===============================
section3
=============================== */
.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
=============================== */
.pc-none {
    display: none;
}

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

:root {
    --smb-space-base: clamp(calc(calc(1.8 / 3 * 3) + calc(1.8 / 3 * 8) * 0.28125) * 1rem,
            calc(calc(-22.5 * ((calc(1.8 / 3 * 8) - calc(calc(1.8 / 3 * 3) + calc(1.8 / 3 * 8) * 0.28125)) / 57.5) + calc(calc(1.8 / 3 * 3) + calc(1.8 / 3 * 8) * 0.28125)) * 1rem + calc((calc(1.8 / 3 * 8) - calc(calc(1.8 / 3 * 3) + calc(1.8 / 3 * 8) * 0.28125)) / 57.5) * 100vw),
            calc(1.8 / 3 * 8) * 1rem);
}

.service-colorBox {
    margin-top: calc(var(--smb-space-base) * 0.55);
}

.service-colorBoxUP {
    padding-bottom: calc(var(--smb-space-base) * 0.45);
}

.contact-hero {
    padding-top: clamp(24px, 3.7vw, 50px);
}

.contact-hero__head {
    display: flex;
    align-items: flex-end;
    gap: clamp(12px, 1.83vw, 25px);
    margin-bottom: clamp(32px, 4.39vw, 60px);
}

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

.contact-hero__label {
    font-size: clamp(16px, 1.318vw, 18px);
    font-weight: 400;
    color: #fff;
    margin-bottom: clamp(10px, 1.46vw, 20px);
}

.message-hero {
    position: relative;
    min-height: clamp(1200px, 140.7vw, 1922px);
    padding: 20px 20px clamp(24px, 3.44vw, 47px) 20px;
    color: #fff;
    background-image: url("/wp-content/uploads/2026/01/Greeting-bacimg-scaled.webp");
    background-size: cover;
    background-position: center bottom;
    width: 100%;
    max-width: 1366px;
    margin: 0 auto clamp(32px, 4.39vw, 60px);
}

.message-hero::before {
    content: "";
    position: absolute;
    inset: 0;
}

.message-hero__inner {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
}

.message-hero__text {
    line-height: clamp(22px, 2.34vw, 32px);
    font-size: clamp(14px, 1.17vw, 16px);
    font-weight: bold;
    margin-bottom: clamp(48px, 7.32vw, 100px);
}

.message-hero__mission {
    text-align: right;
}

.message-hero__mission h2 {
    font-size: clamp(20px, 2.64vw, 36px);
    line-height: clamp(22px, 2.34vw, 32px);
    margin-bottom: clamp(8px, 1.1vw, 15px);
    letter-spacing: 0;
    padding-bottom: clamp(8px, 1.1vw, 15px);
    border-bottom: 1px solid #fff;
    width: clamp(360px, 50.5vw, 690px);
    margin-left: auto;
}

.message-hero__mission p {
    font-size: clamp(14px, 1.17vw, 16px);
    line-height: clamp(22px, 2.34vw, 32px);
    font-weight: bold;
}

.message-hero__sign {
    margin-top: clamp(10px, 1.32vw, 18px);
}

@media (max-width: 768px) {
    .message-hero {
        padding: 15px 20px;
        background-position: center;
        width: 100%;
    }

    .message-hero__header {
        max-width: none;
        text-align: center;
    }

    .message-hero__text {
        font-size: 16px;
        text-align: left;
        line-height: 1.8;
        text-shadow:
            0 1px 2px rgba(0, 0, 0, 0.6),
            0 0 8px rgba(0, 0, 0, 0.3);
    }

    .message-hero__mission {
        margin-top: 40px;
        text-align: left;
    }

    .message-hero__mission h2 {
        font-size: 18px;
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
        text-shadow:
            0 1px 2px rgba(0, 0, 0, 0.6),
            0 0 8px rgba(0, 0, 0, 0.3);
    }

    .message-hero__mission p {
        text-shadow:
            0 1px 2px rgba(0, 0, 0, 0.6),
            0 0 8px rgba(0, 0, 0, 0.3);
        font-size: 16px;
        line-height: 1.8;
        font-weight: bold;
    }

    .message-hero__sign {
        text-align: right;
    }

    .pc-none {
        display: block;
    }
}

@media (max-width: 720px) {
    .contact-hero__head {
        display: block;
        text-align: left;
    }

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

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