@charset "UTF-8";

/* ------ぱんくずリスト------ */
.breadcrumb {
    background-color: var(--color-base);
    width: 100%;
    height: 40px;
    font-family: var(--font-sansSerif);
    font-size: 13px;
    font-weight: 400;
}

.breadcrumb__inner {
    border-left: 1px solid #d9d9d9;
    width: 100%;
    height: 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.breadcrumb__list {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    color: var(--color-gray);
}

.breadcrumb__item:not(:last-child)::after {
    display: inline-block;
    margin-left: 15px;
    color: var(--color-gray);
    content: '/';
}

.breadcrumb__item a {
    color: var(--color-main);
    font-weight: 500;
}

.breadcrumb__item a:hover {
    text-decoration: underline;
}


/* ========================================
   SP
======================================== */
@media only screen and (max-width: 767px) {

    .container {
        margin-top: 72px;
    }

    .breadcrumb {
        font-size: 12px;
        overflow-x: auto;
        overflow-y: hidden;

        /* スクロールバーを非表示 */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .breadcrumb__list {
        gap: 5px;
        width: max-content;
        min-width: 100%;
        padding: 10px 20px;
        white-space: nowrap;
    }

    .breadcrumb__item {
        flex-shrink: 0;
    }

    .breadcrumb__item:not(:last-child)::after {
        margin-left: 5px;
    }

}
/* ------KV------ */

.page-kv {
    width: 100%;
    height: 603px;
    background-repeat: no-repeat;
    background-size: 100%;
}

.page-kv__inner {
    max-width: 1280px;
    margin: 0 auto;
    color: #203B49;
    padding: 80px 48px;
}

.page-kv__title {
    font-family: var(--font-gothic);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 2.5%;
}

.page-kv__title--white {
    color: #ffffff;
}

.page-kv__title ::before {
    content: url('/recruit/careers/img/kv__title.svg');
    margin: 0 10px 0 0;
}

.page-kv__title-en {
    font-family: var(--font-sansSerif);
    font-size: 42px;
    font-weight: 600;
    line-height: 1.4;
    margin-left: -38px;
}

.page-kv__title-en--white {
    color: #ffffff;
}


@media only screen and (min-width: 2000px) {

    .page-kv {
        background-size: 100% auto !important;
    }


}

@media only screen and (max-width: 767px) {

    .page-kv {
        font-family: var(--font-sansSerif);
        width: 100%;
        height: 390px;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .page-kv__inner {
        padding: 37px 34px;
    }

    .page-kv__title ::before {
        content: url('/recruit/careers/img/kv__title-sp.svg');
        margin: 0 3px 0 0;
    }

    .page-kv__title {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.25;
        letter-spacing: 2.5%;
    }

    .page-kv__title-en {
        font-size: 24px;
        font-weight: 600;
        line-height: 1.4;
        margin-left: -19px;
    }
}

/* ------section-title------ */
.section-title {
    font-family: var(--font-sansSerif);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2.5%;
    min-width: 120px;
    color: var(--color-main);
}

.section-title::before {
    content: url('/recruit/careers/img/section-title.svg');
    margin: 0 5px 0 0;
}

.section-title--white {
    color: #ffffff;
}


@media only screen and (max-width: 767px) {
    .section-title {
        font-size: 13px;
    }

    .section-title::before {
        content: url('/recruit/careers/img/section-title-sp.svg');
        margin: 0 3px 0 0;
    }
}

/* ------recommended------ */
.recommended {
    background-color: var(--color-text2);
    color: #ffffff;
    padding: 70px 0 89px 0;
}

.recommended-title {
    font-family: var(--font-sansSerif);
    font-size: 27px;
    font-weight: 350;
    line-height: 1.4;
    letter-spacing: 2.5%;
}

.recommended__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 1160px;
    margin: 50px auto 0;
    /* Firefox */
    scrollbar-color: #738792 #31566A;
    scrollbar-width: thin;

}

.recommended__list::-webkit-scrollbar {
    height: 5px;
}

.recommended__list::-webkit-scrollbar-track {
    background-color: #31566A;
    border-radius: 8px;
}

.recommended__list::-webkit-scrollbar-thumb {
    background-color: #738792;
    border-radius: 8px;
}

.recommended__item {
    flex-shrink: 0;
}

.recommended__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.recommended__name {
    font-family: var(--font-gothic);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 2.5%;
    color: #ffffff;
    margin-top: 11px;
    margin-bottom: 24px;
}

.recommended__img-wrapper {
    position: relative;
    display: block;
    width: 100%;
    max-width: 360px;
    overflow: hidden;
}
.recommended__item {
    overflow: hidden; /* 枠からはみ出た画像を隠す */
}
.recommended__item a{
    overflow: hidden;
    object-fit: cover;
    display: block;/* 枠からはみ出た画像を隠す */
}

.recommended__img {
    width: 100%;
    max-width: 360px;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.recommended__list li:hover img{
    transform: scale(1.042);
}


.recommended__tag {
    position: absolute;
    top: 10px;
    left: 13px;
    color: var(--color-text2);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1;
    font-family: var(--font-sansSerif);
    font-weight: 700;
    font-style: Bold;
    font-size: 15px;
    line-height: 130%;
}

.recommended__tag--white {
    color: #ffffff;
}

.recommended__tag::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* ------4アイテムの時、2列2行------ */
.recommended__list:has(.recommended__item:nth-child(4):last-child) {
    flex-wrap: wrap;
    max-width: 760px;
}


@media only screen and (max-width: 767px) {
    .recommended {
        padding: 50px 0 57px 0;
    }

    .recommended-title {
        font-size: 21px;
    }

    .recommended__inner {
        padding: 0 25px;
    }

    .recommended__list {
        gap: 16px;
        margin-top: 28px;
        flex-wrap: nowrap;
        overflow-x: auto;
        align-items: start;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        justify-content: flex-start;
    }

    .recommended__list:has(> :only-child) {
        justify-content: center;
    }

    .recommended__item {
        width: 100%;
        max-width: 290px;
    }

    .recommended__name {
        margin-top: 9px;
        font-size: 15px;
    }

    .recommended__img {
        width: 100%;
        max-width: 290px;
    }

    .recommended__tag {
        font-size: 11px;
    }

    /* ------4アイテムの時、2列2行------ */
    .recommended__list:has(.recommended__item:nth-child(4):last-child) {
        flex-wrap: nowrap;
        overflow-x: auto;
        align-items: start;
    }
}