@charset "UTF-8";

/* 仕事内容 */

.business-page__hero {
    height: 271px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../images/title-background.svg") center / 100% 100% no-repeat;
    overflow: hidden;
}

.business-page__hero h1 {
    font-family: Roboto, sans-serif;
    color: var(--blue);
    font-size: 72px;
    line-height: 1.2;
    margin: 0;
}

.business-page__hero::after {
    position: absolute;
    width: 160px;
    height: 157px;
    right: 8.4%;
    bottom: -28px;
}

.business-page__breadcrumb {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 40px 8.333333% 0;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

.business-page__breadcrumb [aria-current] {
    color: #b0b0b0;
}

.business-page__layout {
    display: grid;
    grid-template-columns: 154fr 894fr;
    gap: 12.666667%;
    padding: 96px 8.333333% 80px;
    align-items: start;
}

.business-page__nav {
    position: sticky;
    top: calc(var(--pc-header-height, 112px) + 40px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.business-page__nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    min-width: 154px;
    white-space: nowrap;
    transition: color .2s, background-color .2s;
}

.business-page__nav a::before {
    width: 8px;
    height: 8px;
    display: none;
}

.business-page__nav a.is-active {
    color: white;
    background: var(--blue);
    opacity: 1;
    padding: 8px 16px;
}

.business-page__nav a.is-active::before {
    display: block;
}

.business-page__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.business-page__job {
    scroll-margin-top: 24px;
}

.business-page__heading h2 {
    color: var(--blue);
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    padding-bottom: 5px;
    margin: 0 0 16px;
}

.business-page__catch {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
}

.business-page__text {
    margin: 31px 0 40px;
    font-size: 18px;
    line-height: 1.8;
}

.business-page__photo {
    width: 100%;
    aspect-ratio: 894 / 500;
}

.business-page__br-sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .business-page__hero {
        height: calc(124 / 375 * 100vw);
        background-image: url("../images/title-background-sp.svg");
    }

    .business-page__hero h1 {
        font-size: calc(32 / 375 * 100vw);
    }

    .business-page__hero::after {
        display: none;
    }

    .business-page__breadcrumb {
        margin: calc(16 / 375 * 100vw) calc(16 / 375 * 100vw) 0;
        gap: calc(16 / 375 * 100vw);
        font-size: calc(12 / 375 * 100vw);
        line-height: 1.166667;
    }

    .business-page__layout {
        display: block;
        padding: calc(32 / 375 * 100vw) calc(16 / 375 * 100vw);
    }

    .business-page__nav {
        display: none;
    }

    .business-page__content {
        gap: calc(100 / 375 * 100vw);
    }

    .business-page__job {
        scroll-margin-top: 60px;
    }

    .business-page__heading h2 {
        font-size: calc(24 / 375 * 100vw);
        padding: 0;
        margin-bottom: calc(8 / 375 * 100vw);
    }

    .business-page__catch {
        font-size: calc(18 / 375 * 100vw);
        line-height: 1.6;
    }

    .business-page__text {
        margin: calc(24 / 375 * 100vw) 0 calc(40 / 375 * 100vw);
        font-size: calc(16 / 375 * 100vw);
    }

    .business-page__br-sp {
        display: initial;
    }
}

@media screen and (min-width: 1440px) {
    .business-page__hero {
        height: calc(271 / 1440 * 100vw);
    }

    .business-page__hero h1 {
        font-size: calc(72 / 1440 * 100vw);
    }

    .business-page__hero::after {
        width: calc(160 / 1440 * 100vw);
        height: calc(157 / 1440 * 100vw);
        bottom: calc(-28 / 1440 * 100vw);
    }

    .business-page__breadcrumb {
        gap: calc(16 / 1440 * 100vw);
        margin: calc(40 / 1440 * 100vw) 8.333333% 0;
        font-size: calc(16 / 1440 * 100vw);
    }

    .business-page__layout {
        padding: calc(96 / 1440 * 100vw) 8.333333% calc(80 / 1440 * 100vw);
    }

    .business-page__nav {
        top: calc(var(--pc-header-height, calc(112 / 1440 * 100vw)) + calc(40 / 1440 * 100vw));
        gap: calc(8 / 1440 * 100vw);
        font-size: calc(18 / 1440 * 100vw);
    }

    .business-page__nav a {
        gap: calc(8 / 1440 * 100vw);
        padding: calc(8 / 1440 * 100vw) 0;
        min-width: calc(154 / 1440 * 100vw);
    }

    .business-page__nav a::before {
        width: calc(8 / 1440 * 100vw);
        height: calc(8 / 1440 * 100vw);
    }

    .business-page__content {
        gap: calc(120 / 1440 * 100vw);
    }

    .business-page__job {
        scroll-margin-top: calc(24 / 1440 * 100vw);
    }

    .business-page__heading h2 {
        font-size: calc(32 / 1440 * 100vw);
        padding-bottom: calc(5 / 1440 * 100vw);
        margin: 0 0 calc(16 / 1440 * 100vw);
    }

    .business-page__catch {
        font-size: calc(24 / 1440 * 100vw);
    }

    .business-page__text {
        margin: calc(31 / 1440 * 100vw) 0 calc(40 / 1440 * 100vw);
        font-size: calc(18 / 1440 * 100vw);
    }

    .business-page__nav a.is-active {
        padding: calc(8 / 1440 * 100vw) calc(16 / 1440 * 100vw);
    }
}
