/* ************************************************************************************************
ファイル名: top.css
概要: TOP(ホーム)用のCSS
作成日: 2024.03.27
更新日: xxxx.xx.xx
Copyright Hitachi Systems, Ltd.
************************************************************************************************ */

@charset "utf-8";

/* ==================== */
/* eyecatch */
/* ==================== */
#eyecatch {
    position: relative;
    z-index: 0;
}

#eyecatch-txt-strong {
    text-align: center;
}

#eyecatch #eyecatch-txt-strong > img {
    width: auto;
    max-width: 100%;
}

#eyecatch-txt {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-bg-deep-contrast);
    text-shadow: 0 0 5px #000;
}

#eyecatch-txt p + p {
    margin-top: 1em;
}

#eyecatch-bg-box {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

#eyecatch #eyecatch-bg-box .eyecatch-bg {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.3s ease-in-out;
}

#eyecatch #eyecatch-bg-box .eyecatch-bg.active {
    opacity: 1;
}

@media (max-width: 767px){
    #eyecatch-txt {
        font-size: 0.625rem;
    }
}


/* ==================== */
/* message */
/* ==================== */
#message {
    background: url(/-/media/career-recruiting/top/image/message-bg.jpg) center center no-repeat;
    background-size: cover;
    padding: var(--contents-space) var(--side-space);
    box-sizing: border-box;
}

#message-inner {
    max-width: 1300px;
    margin: 0 auto;
    background: #fff;
}

#message-imgs {
    display: flex;
    justify-content: center;
    gap: min( calc(16 / 1061 * 100vw) ,16px);
}

.message-img-box {
    width: clamp( calc(166 / 530 * 100%), calc(166 / 1061 * 100vw) , 166px);
}

.message-img-box:nth-child(1) {
    transform: translateY(-115px);
}

.message-img-box:nth-child(3) {
    transform: translateY(-140px);
}

.message-img-box > img {
    width: 100%;
    mask-image: url(/-/media/career-recruiting/top/image/message-img-mask.png);
    mask-mode: alpha;
    mask-repeat: no-repeat;
    mask-position: center top;
    mask-size: 100% auto;
}

#message-heading {
    padding: 0;
    margin: 0 0 45px;
    font-size: clamp(0.75rem ,2vw ,1.5rem);
    font-weight: bold;
    color: var(--color-default);
}

#message-heading > strong {
    display: block;
    font-size: clamp(2.5rem ,6.5vw ,4.625rem);
    font-weight: bold;
    line-height: 1em;
    margin-bottom: 20px;
}

#message-heading > span {
    display: block;
    background: none;
    padding: 0;
    margin: 0;
    color: inherit;
}

#message-heading-txt {
    font-size: 1.5rem;
    margin-bottom: 65px;
}

@media (min-width: 768px){
    #message-inner-in {
        display: flex;
        justify-content: space-between;
        gap: 55px;
    }
    
    #message-imgs {
        width: fit-content;
        order: 2;
        margin-bottom: calc(var(--contents-space) * -1);
    }

    #message-contents {
        flex: 1;
        order: 1;
    }
}

@media (max-width: 767px){
    #message {
        padding-top: 38px;
        padding-bottom: 42px;
        position: relative;
        z-index: 1;
    }

    #message-imgs {
        margin-bottom: -45px;
        transform: translateY(-65px);
    }

    .message-img-box:nth-child(1) {
        transform: translateY(-40px);
    }
    
    .message-img-box:nth-child(3) {
        transform: translateY(-50px);
    }

    #message-heading {
        margin-bottom: 20px;
    }

    #message-heading > strong {
        margin-bottom: 5px;
    }

    #message-heading-txt {
        font-size: 0.875rem;
        margin-bottom: 20px;
    }
}

/* ==================== */
/* interview */
/* ==================== */
#interview {
    position: relative;
}

#interview::before,
#interview::after {
    content: "";
    display: block;
    position: absolute;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#interview::before {
    left: 0;
    top: 0;
    width: clamp(210px, 60vw, 420px);
    height: clamp(210px, 60vw, 420px);
    background-image: url(/-/media/career-recruiting/top/image/interview-deco-left.png);
}

#interview::after {
    right: 0;
    bottom: 0;
    width: clamp(310px, 60vw, 620px);
    height: clamp(310px, 60vw, 620px);
    background-image: url(/-/media/career-recruiting/top/image/interview-deco-right.png);
}

#interview-heading {
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    font-size: 2.25rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 70px;
    text-align: center;
    color: var(--color-default);
}
#interview-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}

#interview-inner::after {
    content: "INTERVIEW";
    display: block;
    width: 100%;
    color: #ccc;
    position: absolute;
    top: 60px;
    left: 0;
    line-height: 1;
    font-size: 17vw;
    z-index: -1;
    opacity: 0.2;
}

.interview-content {
    position: relative;
    margin-bottom: 30px;
}

.interview-content a {
    color: var(--color-default);
    text-decoration: none;
    width: 100%;
    display: block;
}

.interview-content-photo {
    width: calc(900 / 965 * 100%);
    margin-left: auto;
    height: clamp(230px, 52vw, 540px);
    transition: opacity 0.3s ease-out;
}

.interview-content a:hover .interview-content-photo {
    opacity: 0.8;
}


#interview .interview-content-photo img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.interview-content-txtbox {
    position: absolute;
    left: 0;
    bottom: -3%;
}

.interview-content-label,
.interview-content-message-line,
.interview-content-status {
/*    background: var(--color-default);*/
    background: rgba(var(--color-default-rgb), 0.4);
    background: var(--color-bg-deep-contrast);
    color: var(--color-bg-deep-contrast);
    padding: 0 10px;
    width: fit-content;
    position: relative;
    z-index: 1;
}

.interview-content-label::after,
.interview-content-message-line::after,
.interview-content-status::after {
    content: "";
    display: block;
    background: var(--color-default);
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s ease-out 0.3s;
}

.interview-content-label::after,
.interview-content-status::after {
    transition-delay: 0.6s;
}

.slick-current .interview-content-label::after,
.slick-current .interview-content-message-line::after,
.slick-current .interview-content-status::after {
    width: 100%;
}

.interview-content-label {
    font-size: 1.125rem;
    line-height: 36px;
    margin-bottom: 14px;
}

.interview-content-message {
    margin-bottom: 20px;
}

.interview-content-message-line {
    display: block;
    font-size: min(3vw ,2.25rem);
    line-height: 52px;
    margin-bottom: 8px;
}

.interview-content-status {
    font-size: min(1.7vw ,var(--font-size-small));
    font-weight: normal;
    padding: 10px;
}

.interview-slide .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 40px;
    height: 100px;
    border: none;
    appearance: none;
    border-radius: 0;
	outline: none;
    margin: 0;
    padding: 0;
    font-size: 0;
    text-indent: 100%;
    overflow: hidden;
    cursor: pointer;
    background: none;
    opacity: 0.3;
    transition: opacity 0.3s ease-out;
}

.interview-slide .slick-arrow:hover {
    opacity: 1;
}

.interview-slide .slick-arrow::before,
.interview-slide .slick-arrow::after {
    content: "";
    display: block;
    width: 50px;
    height: 10px;
    background: var(--color-default);
    position: absolute;
    top: calc(50% - 5px);
}

.interview-slide .slick-prev {
    right: calc( 100% +  60px);;
}

.interview-slide .slick-prev::after,
.interview-slide .slick-prev::before {
    left: 8px;
}

.interview-slide .slick-prev::after {
    transform: rotate(-55deg);
    transform-origin: left bottom;
}

.interview-slide .slick-prev::before {
    transform: rotate(55deg);
    transform-origin: left top;
}

.interview-slide .slick-next {
    left: calc( 100% +  60px);
}

.interview-slide .slick-next::before,
.interview-slide .slick-next::after {
    right: 8px;
}

.interview-slide .slick-next::after {
    transform: rotate(55deg);
    transform-origin: right bottom;
}

.interview-slide .slick-next::before {
    transform: rotate(-55deg);
    transform-origin: right top;
}

.interview-slide-control {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.interview-slide-pause,
.interview-slide-start {
    width: 20px;
    height: 20px;
    appearance: none;
    outline: none;
    border: none;
    position: relative;
    background: none;
    font-size: 0;
    line-height: 0;
    color: transparent;
    cursor: pointer;
}

.interview-slide-pause::before,
.interview-slide-pause::after {
    content: "";
    display: block;
    width: 4px;
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgba(var(--color-default-rgb), .3);
    transition: background-color 0.3s ease-out;
}

.interview-slide-pause:hover::before,
.interview-slide-pause:hover::after {
    background: rgba(var(--color-default-rgb), 1);
}

.interview-slide-pause::before {
    left: 3px;
}

.interview-slide-pause::after {
    right: 3px;
}

.interview-slide-start::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-color: transparent transparent transparent rgba(var(--color-default-rgb), .3);
    border-style: solid;
    border-width: 9px 0 9px 18px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 1px;
    transition: border-color 0.3s ease-out;
}

.interview-slide-start:hover::before {
    border-left-color: rgba(var(--color-default-rgb), 1);
}

.interview-slide-control .slick-dots {
    display: flex;
    justify-content: flex-start;
    margin-left: 2px;
}

.interview-slide-control .slick-dots > li {
    margin-left: 2px;
}

.interview-slide-control .slick-dots > li > button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 14px;
    height: 14px;
    margin: 3px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: rgba(var(--color-default-rgb), .3);
    appearance: none;
    border-radius: 50%;
    transition: background-color 0.3s ease-out;
}

.interview-slide-control .slick-dots > li.slick-active > button {
    background: var(--color-primary);
}

.interview-slide-control .slick-dots > li > button:hover {
    background: rgba(var(--color-default-rgb), 1);
}


@media (max-width: 1200px){
    .interview-slide .slick-arrow {
        top: 22vw;
    }

    .interview-slide .slick-prev {
        right: 100%;
        transform: translateX(50%);
    }

    .interview-slide .slick-next {
        left: 100%;
        transform: translateX(-50%);
    }
}

@media (max-width: 767px){
    #interview-heading {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .interview-content {
        margin-bottom: 30px;
        padding-bottom: 60px;
    }

    .interview-content-photo {
        width: calc(630 / 654 * 100%);
    }

    .interview-content-txtbox {
        bottom: 4%;
    }

    .interview-content-label,
    .interview-content-message-line {
        padding-left: 5px;
        padding-right: 5px;
    }

    .interview-content-label {
        font-size: 0.75rem;
        line-height: 20px;
        margin-bottom: 10px;
    }

    .interview-content-message {
        margin-bottom: 10px;
    }

    .interview-content-message-line {
        font-size: 0.8125rem;
        line-height: 27px;
        margin-bottom: 3px;
    }

    .interview-content-status {
        padding: 5px;
        margin-top: 10px;
        font-size: 0.6875rem;
    }

    .interview-slide .slick-prev {
        transform-origin: left top;
        transform: translateX(65%) scale(0.5);
    }

    .interview-slide .slick-next {
        transform-origin: right top;
        transform: translateX(-65%) scale(0.5);
    }

    .interview-slide-control {
        margin-bottom: 25px;
    }
}

/* ==================== */
/* slide-imgs */
/* ==================== */
#slide-imgs {
    overflow: hidden;
    position: relative;
}

#slide-imgs::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -1px;
    width: 6.25vw;
    height: calc(100% + 1px);
    z-index: 1;
    background: url(/-/media/career-recruiting/top/image/slide-img-deco.jpg) center top no-repeat;
    background-size: cover;
}

@keyframes slide-imgboxes-anime {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(25 * 6 * -1vw)); }
}

@keyframes slide-imgboxes-anime-sp {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(160px * -6)); }
}

#slide-imgboxes {
    display: flex;
    flex-wrap: nowrap;
    transform: translateX(0);
    position: relative;
    left: -12.5vw;
    animation: slide-imgboxes-anime 40s linear 0s infinite normal;
}

.slide-imgbox {
    display: flex;
    flex-wrap: nowrap;
}

.slide-img {
    width: 25vw;
}

.slide-img > img {
    width: 100%;
}

@media (max-width: 767px){
    #slide-imgs::before { 
        display: none;
    }

    #slide-imgboxes {
        left: -64px;
        animation: slide-imgboxes-anime-sp 30s linear 0s infinite normal;
    }

    .slide-img {
        width: 160px;
    }
}


/* ==================== */
/* workstyle */
/* ==================== */

#workstyle {
    background: url(/-/media/career-recruiting/top/image/workstyle-bg.jpg) center top no-repeat;
    background-size: cover;
}

#workstyle-heading {
    margin-bottom: 50px;
}

#workstyle-heading img {
    width: 100%;
}

#workstyle-inner {
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 767px){
    #workstyle-heading {
        margin-bottom: 25px;
    }
}

/* ==================== */
/* lumada */
/* ==================== */
#lumada {
    position: relative;
}

#lumada-inner {
    position: relative;
    z-index: 1;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
