.heroSection {
    /* background-image: url(/img/bg-hero.jpg); */
    background-color: var(--secondary-background-color);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: grid;
    place-items: center;
    /* height: 800px; */
    padding: 0;
}


.hero--box {
    width: 100%;
    display: grid;
    row-gap: 24px;
}

.hero--imgGrid {
    display: grid;
    place-items: center;
    grid-template-columns: repeat(5, 1fr);
    max-width: 100%;
    column-gap: 20px;
}

.hero--top .hero--img {
    width: 100%;
    max-width: 560px;
    border-radius: 0px 0px 16px 16px;
}

.hero--titleBox {
    text-align: center;
    padding: 24px;
    display: grid;
    row-gap: 8px;
}

.hero--middle {
    padding: 32px;
    display: flex;
    justify-content: center;
    column-gap: 40px;
}

.hero--title {
    /* color: var(--white);
    font-size: 3.6rem;
    font-weight: bold;
    line-height: 1.5;
    filter: drop-shadow(1px 1px 3px var(--black));
    text-align: left; */
    width: 100%;
    max-width: 520px;
    flex-basis: 520px;
}

.hero--title--img {
    width: 100%;
}

.hero--middle-second {
    display: grid;
    column-gap: 32px;
    align-items: center;
}

.hero--text {
    font-size: 2.4rem;
    line-height: 1.5;
}

.hero--tagBox {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero--tag {
    padding: 8px 16px;
    background-color: var(--black);
    color: var(--white);
    letter-spacing: 1;
}

.hero--bottom .hero--img {
    width: 100%;
    max-width: 560px;
    border-radius: 16px 16px 0px 0px;
}

.hero--fukidashi {
    color: var(--black);
    width: fit-content;
    font-size: 4rem;
    font-weight: bold;
    text-align: left;
    background-color: var(--white);
    padding: 8px 24px;
    margin-bottom: 32px;
    border-radius: 8px;
    position: relative;
}

.hero--fukidashi::after {
    position: absolute;
    display: block;
    content: "";
    bottom: 0;
    left: 25%;
    transform: translate(-50%, 100%);
    width: 0;
    height: 0;
    border-color: var(--white) transparent transparent transparent;
    border-width: 24px 16px 0 16px;
    border-style: solid;
}

.hero .emphasis {
    color: var(--accent-color);
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */

    .hero--imgGrid {
        display: grid;
        place-items: center;
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
        column-gap: 20px;
    }

    .hero--middle {
        flex-direction: column;
        align-items: center;
        row-gap: 24px;
    }

    .hero--title {
        width: 100%;
        flex-basis: auto;
    }

    .hero--title--img {
        width: 100%;
    }

    .hero--middle-second {
        /* display: grid; */
        justify-items: center;
        row-gap: 24px;
    }

    .hero--text {
        text-align: center;
    }

    .hero--tagBox {
        max-width: 480px;
        justify-content: center;
    }

    .hero--tag {
        padding: 8px 16px;
        background-color: var(--black);
        color: var(--white);
        letter-spacing: 1;
    }

    .hero--fukidashi {
        padding-left: 16px;
        padding-right: 16px;
        margin-bottom: 24px;
        font-size: 2.4rem;
    }

    .hero--fukidashi::after {
        border-width: 16px 8px 0 8px;
    }
    
    .hero--title {
        font-size: 2.8rem;
        line-height: 1.5;
    }

    .hero--img {
        max-width: 400px;
    }

}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .hero--top {
        /* display: none; */
    }

    .hero--imgGrid {
        /* display: grid;
        place-items: center;
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
        column-gap: 20px; */
        /* grid-template-columns: 2fr 1fr;
        grid-template-rows: 2fr 1fr; */
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        justify-content: start;
        gap: 8px;
        padding-left: 8px;
        padding-right: 8px;
        padding: 8px;
    }

    .hero--top .hero--imgGrid-first {
        grid-area: 1 / 1 / 3 / 3;
        border-radius: 8px;
        width: 100%;
        height: 188px;
        object-fit: cover;
    }

    .hero--top .hero--imgGrid-second {
        border-radius: 8px;
        grid-area: 1 / 3 / 2 / 3;
        width: 100%;
        height: 90px;
    }

    .hero--top .hero--imgGrid-third {
        border-radius: 8px;
        grid-area: 2 / 3 / 3 / 3;
        width: 100%;
        height: 90px;
    }

    .hero--top .hero--imgGrid-first .hero--img {
        border-radius: 8px;
        width: 100%;
        height: 188px;
        object-fit: cover;
    }

    .hero--top .hero--imgGrid-second .hero--img {
        border-radius: 8px;
        width: 100%;
        height: 90px;
        object-fit: cover;
    }

    .hero--top .hero--imgGrid-third .hero--img {
        border-radius: 8px;
        width: 100%;
        height: 90px;
        object-fit: cover;
    }
    
    .hero--middle {
        padding: 0 24px;
        /* padding-top: 32px; */
    }

    .hero--text {
        font-size: 2rem;
    }

    .hero--tagBox {
        width: 100%;
        max-width: 100%;
        gap: 12px;
    }

    .hero--tag {
        padding: 8px 12px;
    }

    .hero--bottom .hero--imgGrid-first {
        grid-area: 1 / 1 / 3 / 3;
        grid-area: 1 / 1 / 2 / 2;
        border-radius: 8px;
        width: 100%;
        height: 90px;
        object-fit: cover;
    }

    .hero--bottom .hero--imgGrid-second {
        grid-area: 1 / 3 / 2 / 3;
        grid-area: 2 / 1 / 3 / 2;
        border-radius: 8px;
        width: 100%;
        height: 90px;
        object-fit: cover;
    }

    .hero--bottom .hero--imgGrid-third {
        grid-area: 1 / 2 / 3 / 4;
        border-radius: 8px;
        width: 100%;
        height: 188px;
        object-fit: cover;
    }

    .hero--bottom .hero--img {
        border-radius: 8px;
    }

    .hero--bottom .hero--imgGrid-first .hero--img {
        width: 100%;
        height: 90px;
        object-fit: cover;
    }

    .hero--bottom .hero--imgGrid-second .hero--img {
        grid-area: 1 / 3 / 2 / 3;
        grid-area: 2 / 1 / 3 / 2;
        border-radius: 8px;
        width: 100%;
        height: 90px;
        object-fit: cover;
    }

    .hero--bottom .hero--imgGrid-third .hero--img {
        width: 100%;
        height: 188px;
        object-fit: cover;
    }
}

.aboutCompanySection {
    position: relative;
    
    .backgroundText {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12rem;
        font-weight: bold;
        color: var(--primary-bland-color);
        opacity: 0.08;
    }
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */

    .aboutCompanySection {

        .backgroundText {
            font-size: 10rem;
            text-wrap: nowrap;
        }
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .aboutCompanySection {

        padding-top: 32px;
        padding-bottom: 32px;

        .backgroundText {
            font-size: 7.2rem;
            text-wrap: nowrap;
        }
    }
}

.strengthSection {

    background-color: var(--secondary-background-color);
    position: relative;

    .backgroundText {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12rem;
        font-weight: bold;
        color: var(--primary-bland-color);
        opacity: 0.08;
    }

    .media {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        column-gap: 32px;
    }

    .media--imgBox {
        flex: 0 1 400px;
        min-width: 320px;
        filter: drop-shadow(2px 2px 4px var(--grey));
    }

    .media--body {
        flex-grow: 1;
        display: grid;
        row-gap: 24px;
    }

    .media--img {
        width: 100%;
    }

    .media--title {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .media--text {
        line-height: 1.5;
    }

}

/* .strengthSection::before {
    position: absolute;
    content: "Strength";
    top: 0;
    left: 0;
    width: 50%;
    height: auto;
    color: var(--primary-bland-color);
    opacity: 0.08;
} */

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    .strengthSection {

        .backgroundText {
            font-size: 9rem;
            text-wrap: nowrap;
        }
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .strengthSection {

        padding-top: 32px;
        padding-bottom: 32px;

        .backgroundText {
            font-size: 7.2rem;
            text-wrap: nowrap;
        }

        .media {
            flex-direction: column-reverse;
            row-gap: 24px;
        }

        .media--imgBox {
            flex-basis: auto;
        }
    }
}

.ceoMessageSection {
    
    position: relative;
    
    .backgroundText {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12rem;
        font-weight: bold;
        color: var(--primary-bland-color);
        opacity: 0.08;
    }
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */

    .ceoMessageSection {

        .backgroundText {
            font-size: 9rem;
            text-wrap: nowrap;
        }
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .ceoMessageSection {

        padding-top: 32px;
        padding-bottom: 32px;

        .backgroundText {
            font-size: 7.2rem;
            text-wrap: nowrap;
        }
    }
}

.workSection {

    background-color: var(--secondary-background-color);
    position: relative;
    
    .backgroundText {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12rem;
        font-weight: bold;
        color: var(--primary-bland-color);
        opacity: 0.08;
    }

    .card-outline--imgBox {
        width: 17.5%;
        margin: 0 auto 8px;
    }

    .card-outline--img {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */

    .workSection {

        .backgroundText {
            font-size: 9rem;
            text-wrap: nowrap;
        }
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .workSection {

        padding-top: 32px;
        padding-bottom: 32px;

        .backgroundText {
            font-size: 7.2rem;
            text-wrap: nowrap;
        }
    }
}

.employeeSection {
    
    position: relative;
    
    .backgroundText {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12rem;
        font-weight: bold;
        color: var(--primary-bland-color);
        opacity: 0.08;
    }

    .employeeCard {
        display: grid;
        justify-content: flex-start;
        border: 1px solid var(--black);
        padding: 32px;
    }

    .grid-col2 {
        column-gap: 40px;
        align-items: stretch;
    }

    .employeeCard {
        width: 100%;
        display: grid;
        align-items: stretch;
        row-gap: 24px;
        /* グリッドの子要素の高さを合わせる設定 */
        grid-template-rows: subgrid;
        /* グリッドの高さを合わせたい子要素の数を指定 */
        grid-row: span 2;
    }

    .employeeCard--header {
        display: flex;
        column-gap: 24px;
        
    }

    .employeeCard--header--img {
        width: 80px;
        height: 80px;
        line-height: 1;
        border-radius: 50%;
    }

    .employeeCard--header--introductionBox {
        display: block;
    }

    .employeeCard--bottom {
        display: grid;
        align-content: start;
        row-gap: 24px;
    }

    .employeeCard--text {
        line-height: 1.5;
        text-align: justify;
    }
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    .employeeSection {

        .backgroundText {
            font-size: 9rem;
            text-wrap: nowrap;
        }

        .grid-col2 {
            column-gap: 24px;
        }
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .employeeSection {

        padding-top: 32px;
        padding-bottom: 32px;

        .backgroundText {
            font-size: 7.2rem;
            text-wrap: nowrap;
        }

        .grid-col2 {
            grid-template-columns: repeat(1, 1fr);
        }
    }
}

.forApplyConfidenceSection {

    background-color: var(--secondary-background-color);
    position: relative;
    
    .backgroundText {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12rem;
        font-weight: bold;
        color: var(--primary-bland-color);
        opacity: 0.08;
    }

    .media {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        column-gap: 24px;
    }

    .media--imgBox {
        flex-basis: 400px;
        min-width: 320px;
        filter: drop-shadow(2px 2px 2px var(--grey));
    }

    .media--body {
        flex-grow: 1;
        display: grid;
        row-gap: 24px;
    }

    .media--img {
        width: 100%;
    }

    .media--title {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .media--text {
        line-height: 1.5;
    }
}

@media screen and (max-width: 1024px) {
    /* 599pxまでの幅の場合に適応される */
    .forApplyConfidenceSection {

        .backgroundText {
            font-size: 9rem;
            text-wrap: nowrap;
        }
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .forApplyConfidenceSection {

        padding-top: 32px;
        padding-bottom: 32px;

        .backgroundText {
            font-size: 7.2rem;
            text-wrap: nowrap;
        }

        .media {
            flex-direction: column-reverse;
            row-gap: 24px;
        }

        .media--imgBox {
            flex-basis: auto;
        }
    }
}

.applySection {

    .applyBox {
        padding: 40px;
        border: 1px solid var(--black);
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .applySection {

        padding-top: 32px;
        padding-bottom: 24px;

        .applyBox {
            padding: 24px;
        }
    }
}

.recruitmentRequirementSection {
    position: relative;
    
    .backgroundText {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12rem;
        font-weight: bold;
        color: var(--primary-bland-color);
        opacity: 0.08;
    }

}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */

    .recruitmentRequirementSection {

        .backgroundText {
            font-size: 9rem;
            text-wrap: nowrap;
        }
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .recruitmentRequirementSection {

        padding-top: 32px;
        padding-bottom: 32px;

        .backgroundText {
            font-size: 7.2rem;
            text-wrap: nowrap;
        }
    }
}