@charset "utf-8";

/* -----------------------------------------------------------
    page-title-area
-------------------------------------------------------------- */
.page-title-area {
    background: url(../img/webp/page-title-environment.webp) top/cover, no-repeat;
}

@media screen and (max-width: 768px) {
    .page-title-area {
        background-position: -15vw 0;
    }
}

/*-------------------------------------
    intro-area
-------------------------------------*/
.intro-area {
    padding: 100px 0;
    --gap: clamp(50px, 5vw, 120px);
}

.intro-area .inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap);
}

.intro-area .intro-img {
    width: 45%;
}

.intro-area .intro-txt {
    width: calc(55% - var(--gap));
    container-type: inline-size;
}

.intro-area .intro-sub-catch {
    font-size: clamp(1.7rem, 3cqw, 2.1rem);
}

.intro-area .intro-catch {
    font-size: clamp(3.2rem, 6.2cqw, 4.2rem);
}

.intro-area .anchor-list {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
}

.intro-area .anchor-item a {
    width: 300px;
    border-radius: 50px;
    padding: 25px;
    font-weight: 600;
    text-align: center;
    border: 1px solid var(--navy);
    position: relative;
    display: block;
    color: var(--navy);
    background: #fff;
}

.intro-area .anchor-item a::after {
    content: "\f107";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    font-size: 1.5rem;
    color: var(--blue);
}

@media screen and (min-width: 769px) {
    .intro-area .anchor-item a:hover {
        background-color: var(--navy);
        color: #fff;
    }

    .intro-area .anchor-item a:hover::after {
        transform: translateY(-30%);
        color: #fff;
    }
}

@media screen and (max-width: 768px) {
    .intro-area {
        padding: 10vw 0;
        --gap: 5vw;
    }

    .intro-area .intro-img {
        width: 100%;
        height: 50vw;
    }

    .intro-area .intro-txt {
        width: 100%;
    }

    .intro-area .intro-sub-catch {
        font-size: clamp(1.6rem, 5cqw, 1.8rem);
        margin: 0 0 2vw;
    }

    .intro-area .intro-catch {
        font-size: clamp(2.2rem, 7cqw, 2.8rem);
        margin: 3vw 0;
    }

    .intro-area .anchor-list {
        width: 100%;
        flex-wrap: wrap;
        gap: 4vw 2vw;
        justify-content: flex-start;
    }

    .intro-area .anchor-item {
        width: calc((100% - 2vw) / 2);
        container-type: inline-size;
    }

    .intro-area .anchor-item a {
        width: 100%;
        padding: 3.5vw 2vw 6vw;
        font-size: clamp(1.3rem, 8cqw, 1.8rem);
        letter-spacing: 0;
        font-feature-settings: "palt";
        line-height: 1.4;
    }

    .intro-area .anchor-item a::after {
        right: initial;
        transform: translateX(-50%);
        left: 50%;
        top: initial;
        bottom: 2cqw;
        font-size: clamp(1.0rem, 7cqw, 1.6rem);
    }
}

/*-------------------------------------
    contents-area
-------------------------------------*/
.contents-area {
    position: relative;
}

.contents-area .contents-header {
    width: 100%;
    height: clamp(500px, 40vw, 700px);
    position: relative;
    container-type: inline-size;
}

.contents-area .contents-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: calc(var(--inner-wide) + (100% - var(--inner-wide)) / 2);
    height: 100%;
    background-image: url(../img/webp/recruit-environment-education-header.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

#education .contents-header::before {
    background-image: url(../img/webp/recruit-environment-education-header.webp);
}

#benefit .contents-header::before {
    background-image: url(../img/webp/recruit-environment-benefit-header.webp);
}

#office .contents-header::before {
    background-image: url(../img/webp/recruit-environment-office-header.webp);
}

.contents-area .contents-header .contents-title-box {
    --padding: clamp(50px, 5vw, 100px);
    background: #fff;
    padding: var(--padding) var(--padding) calc(var(--padding) /2);
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
}

.contents-area .contents-header .contents-title {
    font-size: clamp(3.8rem, 2.8vw, 5.0rem);
    color: var(--blue);
}

.contents-area .contents-header .contents-catch {
    margin: 40px 0 0;
    font-size: clamp(2.8rem, 1.7vw, 3.8rem);
    font-feature-settings: "palt";
    letter-spacing: .1em;
}

.contents-area .contents-header .basic-txt {
    margin-top: 20px;
}

.contents-area .contents-header .ill-wrap {
    position: absolute;
    bottom: 85%;
    left: 15%;
    height: clamp(100px, 8vw, 200px);
}

.contents-area .contents-body {
    padding: 100px 0;
}

.contents-area .section-title .en {
    font-size: clamp(4.0rem, 2.7vw, 6.0rem);
}

.contents-area .section-title .jp {
    font-size: clamp(2.1rem, 1.3vw, 3.0rem);
}

.contents-area .contents-intro-txt {
    display: flex;
    align-items: center;
    gap: clamp(50px, 5vw, 100px);
}

.contents-area .contents-intro-catch {
    font-size: clamp(3.4rem, 5cqw, 4.0rem);
    flex-shrink: 0;
    margin: 0;
}

.contents-area .contents-block+.contents-block {
    margin-top: 120px;
}

.contents-area .contents-box {
    padding: clamp(50px, 5vw, 100px);
    background-color: var(--pale-main);
    margin-top: 50px;
}

.contents-area .contents-list {
    --gap: clamp(20px, 2.5vw, 60px);
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}

.contents-area .contents-item {
    width: calc((100% - var(--gap)*2) / 3);
    container-type: inline-size;
}

.contents-area .contents-txt {
    padding: 30px 0 0;
}

.contents-area .contents-item:not(:has(>.contents-img)) .contents-txt {
    padding-top: 0;
}

.contents-area .contents-name {
    font-size: clamp(2.6rem, 6cqw, 3.2rem);
    text-align: center;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 20px;
    line-height: 1.5;
}

.contents-area .contents-list .basic-txt {
    font-size: 1.6rem;
    line-height: 2.0;
}

.contents-area .contents-list .contents-sp-more-txt {
    display: contents;
}

/*オフィス環境*/
.contents-area .office-block-wrap {
    --gap: clamp(40px, 4vw, 80px);
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}

.contents-area .office-block {
    width: calc((100% - var(--gap) * 2) /3);
}

.contents-area .office-block .office-img {
    height: 300px;
}

.contents-area .office-block .office-img img {
    object-fit: contain;
}

.contents-area .office-block .office-txt {
    margin-top: 20px;
    text-align: center;
    container-type: inline-size;
}

.contents-area .office-block .office-name {
    margin-bottom: 15px;
    font-size: clamp(2.6rem, 7cqw, 3.2rem);
}

.contents-area .office-block .office-name::before {
    left: 50%;
    transform: translateX(-50%);
}

.contents-area .office-block .office-catch {
    font-size: clamp(2.0rem, 5cqw, 2.6rem);
    line-height: 1.6;
}

/*office-block-large*/
.contents-area .office-block-large {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--gap) 5%;
    padding-bottom: var(--gap);
    border-bottom: 1px solid #ddd;
}

.contents-area .office-block-large .office-img {
    width: 40%;
    position: relative;
}

.contents-area .office-block-large .office-sub-catch {
    /* --width: 150px; */
    position: absolute;
    top: -130px;
    left: 90%;
    /* width: var(--width);
    height: auto;
    aspect-ratio: 1/1;
    background-color: #fff;
    border: 2px solid var(--main); */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    color: var(--main);
    /* border-radius: calc(var(--width) / 2); */
    background: url(../img/deco-fukidashi.svg) no-repeat center/contain;
    aspect-ratio: 157/167;
    width: 200px;
    height: auto;

}

.contents-area .office-block-large .office-sub-catch-inner {
    text-align: center;
    letter-spacing: 0;
    font-feature-settings: "palt";
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1.5;
    display: inline-block;
    padding-left: 5px;
}

.contents-area .office-block-large .office-sub-catch em {
    font-size: 200%;
    line-height: 1;
    font-family: var(--en);
}

.contents-area .office-block-large .office-txt {
    width: 55%;
    container-type: inline-size;
}

.contents-area .office-block-large .office-name {
    font-size: clamp(3.2rem, 7cqw, 4.2rem);
    position: relative;
    display: inline-block;
}

.contents-area .office-block-large .office-catch {
    font-size: clamp(2.0rem, 4.3cqw, 3.2rem);
    line-height: 1.6;
}

/*office-photo-list*/
.contents-area .office-photo-list {
    --gap: clamp(10px, 1.5vw, 40px);
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--gap)*1.5) var(--gap);
    width: 100%;
}

.contents-area .office-photo-item {
    width: calc((100% - var(--gap)*3) / 4);
}


.contents-area .office-photo-item .img {
    position: relative;
    display: block;
}

.contents-area .office-photo-item .img::after {
    content: "\f002";
    display: inline-block;
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 3.0rem;
    color: #fff;
    font-family: var(--webicon);
    font-weight: bold;
    z-index: 1;
}


.contents-area .office-photo-item a {
    display: block;
    position: relative;
    container-type: inline-size;
}

.contents-area .office-photo-item a img {
    width: 100%;
    object-fit: cover;
    position: relative;
}

.contents-area .office-photo-name {
    text-align: center;
    font-size: clamp(1.6rem, 6cqw, 2.1rem);
    margin-top: 15px;
    color: var(--navy);
    font-weight: bold;
    /* display: flex;
    align-items: center;
    gap: 15px; */
}

/* .contents-area .office-photo-name::before,
.contents-area .office-photo-name::after {
    content: "";
    display: inline-block;
    height: 1px;
    background-color: var(--main);
    flex-grow: 1;
} */

.contents-area .office-photo-caption {
    /* text-align: center; */
    font-size: 1.4rem;
    line-height: 1.5;
    margin-top: 10px;
}

.fancybox-name {
    font-size: 2.6rem;
}

.fancybox-text {
    font-size: 1.7rem;
    display: none;
}

.qualification-item {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: .3em;
}

@media screen and (min-width: 769px) {
    .contents-area .contents-list.full .contents-item {
        --gap: clamp(30px, 3vw, 60px);
        width: 100%;
        display: flex;
        align-items: center;
        gap: var(--gap);
    }

    .contents-area .contents-list.full .contents-img {
        width: 40%;
    }

    .contents-area .contents-list.full .contents-txt {
        width: calc(60% - var(--gap));
    }

    .contents-area .contents-list.full .contents-name {
        text-align: left;
    }

    .contents-area .contents-list.full .check-list {
        padding: 30px;
        background-color: #fff;
    }

    .contents-area .office-photo-item a:hover {
        opacity: .7;
    }
}


@media screen and (max-width: 768px) {
    .contents-area .contents-header {
        width: 100%;
        height: auto;
    }

    .contents-area .contents-header::before {
        position: relative;
        top: initial;
        right: initial;
        height: 50vw;
        width: 100%;
        display: block;
    }

    .contents-area .contents-header .contents-title-box {
        --padding: 5vw;
        /* padding: var(--padding); */
        margin-top: -10vw;
        position: relative;
        bottom: initial;
        left: initial;
        /* background-color: var(--pale-main); */
    }

    .contents-area .contents-header .ill-wrap {
        bottom: initial;
        left: initial;
        right: -10vw;
        top: -12vw;
        height: auto;
        width: clamp(80px, 20vw, 150px);
    }

    .contents-area .contents-header .contents-title {
        font-size: clamp(2.4rem, 7cqw, 3.2rem);
    }

    .contents-area .contents-header .contents-catch {
        margin: 5vw 0 0;
        font-size: clamp(2.1rem, 5.6cqw, 2.6rem);
    }

    .contents-area .contents-header .basic-txt {
        display: none;
    }

    .contents-area .contents-body {
        padding: 5vw 0 10vw;
    }

    .contents-area .section-title .en {
        font-size: clamp(2.0rem, 5.3cqw, 3.0rem);
    }

    .contents-area .contents-intro-txt {
        gap: 5vw;
        flex-wrap: wrap;
        display: none;
    }

    .contents-area .contents-intro-catch {
        font-size: clamp(2.1rem, 6cqw, 2.4rem);
        flex-shrink: initial;
    }

    .contents-area .contents-box {
        padding: 5vw;
        margin-top: 5vw;
    }

    .contents-area .contents-list {
        --gap: 5vw;
    }

    .contents-area .contents-item {
        width: 100%;
    }

    .contents-area .contents-txt {
        padding: 5vw 0 0;
    }

    .contents-area .contents-block+.contents-block {
        margin-top: 10vw;
    }

    .contents-area .contents-name {
        font-size: clamp(2.1rem, 7.4cqw, 2.4rem);
        margin-bottom: 5vw;

    }

    .contents-area .contents-sp-more-btn {
        display: block;
        width: 100%;
        text-align: center;
        font-size: clamp(1.4rem, 6cqw, 1.8rem);
        font-family: var(--sans);
        font-weight: 600;
        padding-bottom: 10px;
        margin-bottom: 10px;
        margin-top: 5vw;
        border-bottom: 1px solid #ccc;
        color: var(--navy);
        position: relative;
    }

    .contents-area .contents-sp-more-btn .plus,
    .contents-area .contents-sp-more-btn .minus {
        width: 16px;
        height: 16px;
        position: absolute;
        top: 10%;
        right: 5vw;
    }

    .contents-area .contents-sp-more-btn .plus::before,
    .contents-area .contents-sp-more-btn .minus::before {
        content: "";
        width: 100%;
        height: 1px;
        background-color: var(--navy);
        position: absolute;
        top: 50%;
        left: 0;
    }

    .contents-area .contents-sp-more-btn .plus::after {
        content: "";
        width: 1px;
        height: 100%;
        background-color: var(--navy);
        position: absolute;
        top: 0;
        left: 50%;
    }

    /*最初非表示*/
    .contents-area .contents-list .contents-sp-more-txt {
        display: none;
    }


    /*オフィス環境 */
    .contents-area .office-block-wrap {
        --gap: 7vw;
    }

    .contents-area .office-block {
        width: 100%;
        position: relative;
    }

    .contents-area .office-block::before {
        content: "";
        position: absolute;
        top: 30%;
        left: 0;
        width: 100%;
        height: 70%;
        background-color: var(--pale-main);
        z-index: -1;
        display: block;
    }

    .contents-area .office-block .office-img {
        width: auto;
        height: 50vw;
    }

    .contents-area .office-block .office-txt {
        margin: 0;
        padding: 7vw 0 10vw;
    }

    .contents-area .office-block .office-name {
        margin-bottom: 3vw;
        font-size: clamp(2.2rem, 6.8cqw, 2.8rem);
    }

    .contents-area .office-block .office-catch {
        font-size: clamp(1.8rem, 5cqw, 2.1rem);
        line-height: 1.6;
    }

    /*office-block-large*/
    .contents-area .office-block-large {
        gap: var(--gap);
    }

    .contents-area .office-block-large .office-img {
        width: 100%;
    }

    .contents-area .office-block-large .office-txt {
        width: 100%;
    }

    .contents-area .office-block-large .office-name {
        font-size: clamp(2.1rem, 7.5cqw, 2.7rem);
    }

    .contents-area .office-block-large .office-catch {
        font-size: clamp(1.7rem, 5.5cqw, 2.0rem);
        line-height: 1.6;
    }

    .contents-area .office-photo-list {
        --gap: 3vw;
        gap: calc(var(--gap)*2) var(--gap);
    }

    .contents-area .office-photo-item {
        width: calc((100% - var(--gap)) / 2);
    }

    .contents-area .office-photo-name {
        font-size: clamp(1.6rem, 10cqw, 2.1rem);
        margin-top: 10px;
        line-height: 1.5;
    }

    .contents-area .office-photo-caption {
        font-size: 1.3rem;
    }

    .contents-area .office-photo-item .img::after {
        bottom: 3vw;
        right: 3vw;
        font-size: 2.4rem;
    }

    .fancybox-name {
        font-size: 2.2rem;
    }

    .fancybox-text {
        font-size: 1.5rem;
    }


}

/*-----------------------------------------------------------
    スクロール位置調整（アンカーリンク用）
-----------------------------------------------------------*/

#education,
#benefit,
#office {
    scroll-margin-top: 150px;
}

/*-----------------------------------------------------------
    template
-----------------------------------------------------------*/

@media screen and (max-width: 768px) {}