/* ===============================
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
=============================== */
.company {
    padding: clamp(42px, 4.4vw, 60px) 20px clamp(49px, 5.1vw, 70px);
}

.company__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr clamp(336px, 35.1vw, 480px);
    gap: clamp(19px, 2vw, 27px);
    align-items: start;
}

.company__list {
    margin: 0;
}

.company__row {
    display: grid;
    grid-template-columns: clamp(112px, 11.7vw, 160px) 1fr;
    gap: clamp(7px, 0.7vw, 10px);
    padding: clamp(13px, 1.3vw, 18px) 0;
}

.company__row dt {
    font-weight: 700;
    color: #1a73e8;
    padding-bottom: clamp(21px, 2.2vw, 30px);
    border-bottom: 2px solid #1a73e8;
}

.company__row dd {
    margin: 0;
    line-height: 1.2;
    color: #000;
    padding-bottom: clamp(21px, 2.2vw, 30px);
    border-bottom: 1px solid #8E8E8E;
}

.company__row dt,
.company__row dd {
    display: flex;
    align-items: center;
}

.company__map {
    display: flex;
    flex-direction: column;
    gap: clamp(21px, 2.2vw, 30px);
    align-self: end;
}

.map-placeholder {
    width: 100%;
    height: clamp(224px, 23.4vw, 320px);
    background: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
}

.company__access-title {
    font-weight: 400;
    margin-bottom: clamp(7px, 0.7vw, 10px);
}

.company__access ul {
    list-style: disc;
    padding-left: clamp(28px, 2.9vw, 40px);
    margin: 0;
    font-size: 14px;
}

.company__access li {
    margin-bottom: clamp(4px, 0.4vw, 6px);
    line-height: 1.6;
}

.company__map-inner {
    width: clamp(336px, 35.1vw, 480px);
    height: clamp(336px, 35.1vw, 480px);
}

.company__map-inner iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.company__row:nth-child(odd) dt {
    color: #0158B5;
}

.company__row:nth-child(even) dt {
    color: #0080CC;
}

.company__row dt {
    border-bottom: 2px solid #0158B5;
}

@media (max-width: 730px) {
    .company {
        padding: 30px 20px 30px;
    }

    .company__row dt {
        padding-bottom: 5px;
    }

    .company__row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .company__row dd {
        padding-bottom: 20px;
        border-bottom: none;
    }

    .company__inner {
        grid-template-columns: 1fr;
    }

    .company__map {
        align-self: stretch;
    }

    .map-placeholder {
        height: 240px;
    }

    .company__map-inner {
        width: 100%;
        height: 300px;
    }
}