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

.contact-hero__text {
    max-width: 880px;
    font-size: 16px;
    color: #000;
    margin: clamp(16px, 2.2vw, 30px) auto clamp(40px, 5.9vw, 80px);
}

@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;
    }

    .contact-hero__text {
        margin: 16px auto 20px 0
    }
}

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

/* ===============================
section3
=============================== */
.cf7-form {
    max-width: 880px;
    margin: 0 auto;
    background: #F9F9F9;
    border-radius: 5px;
}

.cf-box {
    padding: 33px 40px;
}

.cf7-field {
    margin-bottom: 28px;
}

.cf7-field label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-bottom: -25px;
}

.cf7-field .req {
    color: #FF8F86;
    margin-left: -5px;
}

.cf7-field input,
.cf7-field textarea {
    width: 100%;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 10px 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.cf7-field input {
    max-width: 520px;
}

.cf7-field textarea {
    min-height: 180px;
    resize: vertical;
}

.cf7-privacy {
    font-size: 16px;
    margin-bottom: 32px;
}

.cf7-privacy input {
    margin-right: 8px;
}

.cf7-submit {
    text-align: left;
}

.cf7-submit input[type="submit"] {
    background: #0158B5;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 75px;
    font-size: 16px;
}

.cf7-submit input[type="submit"]:hover {
    opacity: 0.85;
}

.wpcf7-not-valid-tip {
    font-size: 13px;
    margin-top: 6px;
}

.wpcf7-response-output {
    margin-top: 24px;
    border-radius: 6px;
}

.wp-block-contact-form-7-contact-form-selector {
    margin-top: 0;
    margin-bottom: 175px;
}

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

    .cf-box {
        padding: 20px 10px
    }

    .cf7-submit input[type="submit"] {
        width: 100%;
        padding: 16px 0;
    }

    .wpcf7-list-item {
        margin: 0;
    }

    .wp-block-contact-form-7-contact-form-selector {
        margin-top: 0;
        margin-bottom: 0;
    }
}