@charset 'UTF-8';

/* ヘッダー */

header nav {
    background: #3984bd;
}
header li {
    color: white;
}

#menu_button {
    background: #7f7f7f;
}

.menu_mobile {
    background: #7f7f7f;
}

/* トップページ */

.top_fixed {
    width: 100%;
    height: calc(100vh - 5rem);
    position: relative;
}

.top_cover {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 0;
}
.cover_back {
    position: absolute;
    right: 6rem;
    background: #3984bd;
    z-index: -1;
}
.top_cover > div:nth-child(2) {
    display: flex;
    height: 100%;
}
.top_scroll {
    width: 20rem;
    height: 6rem;
    position: absolute;
    bottom: 5rem;
    right: -7rem;
    transform: rotate(90deg);
    color: #8e8e8e;
    display: flex;
    align-items: flex-end;
    padding-bottom: 1rem;
}
.top_scroll hr {
    flex: 1;
    border-top: #8e8e8e 2px solid;
    margin-left: .5rem;
    padding-bottom:.5rem;
}

.cover_left {
    width: 60vw;
    height: calc(80vh - 6rem);
    background: url('../images/img14.jpg') no-repeat;
    background-size: cover;
    position: relative;
    top: 6rem;
    overflow: hidden;
    margin: auto 0;
}
.cover_left a {
    border-bottom: olivedrab;
}
video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    overflow: hidden;
    width: auto;
    height: auto;
    z-index: 0;
}
.cover_left > div {
    background: white;
    position: absolute;
    bottom: 30px;
    right: 30px;
    padding: 2rem;
    z-index: 1;
}
.cover_left th,
.cover_left td {
    padding: .3rem;
}
.cover_left th {
    color: #333;
}
.cover_left td {
    color: #8e8e8e;
}
.cover_left tr:last-child a {
    display: block;
    position: absolute;
    color: #8e8e8e;
    background: white;
    /* bottom: 1.6rem; */
    right: 1rem;
    z-index: 2;
}
.left_news {
    font-size: 2rem;
}
.left_news a:hover {
    color: black;
    background-color: white;
}

.cover_right {
    flex: 1;
    position: relative;
    color: white;
    padding: 6rem 6rem 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cover_right p {
    font-family: serif;
    line-height: 140%;
    padding: .8rem 1.6rem;
}
.cover_right p:first-child {
    font-size: 4.6rem;
    font-weight: bold;
}
.cover_right p:nth-child(2) {
    font-size: 1.8rem;
}
.cover_right a {
    display: block;
    border: white 2px solid;
    text-align: center;
    margin: 1rem 3rem;
    padding: 1rem 4rem;
}

.cover_text a:hover {
    color: black;
    background-color: white;

}

.top_intro {
    width: 100%;
    height: 48rem;
    background: linear-gradient(180deg, #c8ddee 0%, #c8ddee 50%, #fff 50%, #fff 100%);
    position: relative;
    writing-mode: vertical-rl;
    display: flex;
    justify-content: center;
    align-items: center;
}
.top_intro p {
    line-height: 220%;
    padding: 2rem;
}
.top_intro p:last-child {
    font-family: serif;
    font-size: 1.8rem;
    margin-right: -10px;
}
.top_intro small {
    font-size: 1.4rem;
}
.top_intro span {
    text-combine-upright: all;
}

.top_recruit,
.top_work,
.top_sample {
    background: white;
    position: relative;
}

.top_recruit {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}
.top_recruit div {
    position: relative;
}
.top_recruit div:first-child {
    margin-bottom: 8rem;
}
.top_recruit div:last-child {
    margin-top: 8rem;
}
.recruit_img1 {
    width: 35vw;
    margin: 0 2rem;
}
.recruit_img2 {
    width: 15vw;
    position: absolute;
    left: 0;
    bottom: 15px;
}

.top_work {
    padding: 2rem 0 0 10vw;
}
.top_work::before {
    content: '';
    background: #9ec3de;
    width: 30%;
    height: 400px;
    position: absolute;
    top: 0;
    left: 0;
}
.top_work > div {
    font-family: serif;
    position: relative;
    z-index: 1;
}

h3 {
    font-size: 3rem;
    font-weight: bold;
    padding: 1rem 0;
}

.view_button {
    display: block;
    width: 15rem;
    color: white;
    font-size: 1.7rem;
    text-align: center;
    background: black;
    border-radius: 1.5rem / 50%;
    padding: 1.5rem;
}
.view_button:hover {
    color: black;
    background: white;
}

.work_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem,19vw));
    justify-content: right;
    
}
.work_grid > div {
    height: 35rem;
    color: white;
    font-family: serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
@media screen and (min-width:1350px) {
    .work_grid > div {
        height: 45rem;
    }
}

.work_grid > div:nth-child(1) {
    background: url('/images/SIEポスター3.png');
    background-size: cover;
}
.work_grid > div:nth-child(2) {
    background: url('../images/img7.jpg');
    background-size: cover;
}
.work_grid > div:nth-child(3) {
    background: url('../images/img8.jpg');
    background-size: cover;
}
.work_grid > div:nth-child(4) {
    background: url('../images/img9.jpg');
    background-size: cover;
}
.work_grid p {
    font-size: 2.2rem;
    line-height: 130%;
    padding: 1rem 0;
}
.work_grid li {
    padding: .5rem 0;
}
.work_grid li::before {
    content: '\2015';
    margin-right: .5rem;
}

.work_part:hover {
    opacity: 0.6;
}

.top_sample {
    background: #f2f2f2;
    padding: 5rem 0 5rem 10vw;
}
.top_sample > div {
    font-family: serif;
    position: relative;
}

.sample_slide {
    display: grid;
    grid-template-columns: repeat(6, 33rem);
    gap: 8rem;
    overflow: hidden;
    padding: 2rem 0 4rem 5rem;
}
.sample_slide > div {
    height: 24rem;
    background: #d6d5d3;
}
.sample {
    position: relative;
}

.sample img {
    object-fit: fill;
    position: absolute;
    width: 100%;
    height: 100%;
}


/* 横幅1024px以下 */

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

    .cover_left {
        width: 48vw;
    }

}

/* 横幅799px以下 */

@media screen and (max-width:799px) {
    header nav {
        background: transparent;
    }

    .intro2 {
        display: none;
    }

    .cover_back {
        visibility: hidden;
    }

    .top_cover > div:nth-child(2) {
        flex-direction: column;
    }

    .cover_left {
        width: calc(84vw - 6rem);
    }
    .cover_right {
        width: 60vw;
        position: absolute;
        top: 6rem;
        right: 6rem;
        background: #3984bd;
        padding: 0;
    }

    .top_intro div {
        /* width: 100%; */
        overflow-x: scroll;
    }
    .top_intro {
        float: center;
    }

    .recruit_img1 {
        width: 40vw;
    }

    .recruit_img2 {
        width: 30vw;
    }

    .top_work {
        padding: 2rem 0 0 5vw;
    }
    .top_work::before {
        width: 45%;
    }
    .work_grid {
        grid-template-columns: repeat(auto-fit, minmax(21rem,19vw));
    }
    .work_grid > div {
        height: 29rem;
    }

    .work_grid p {
        font-size: 2rem;
    }

    .top_sample {
        padding: 4rem 0 4rem 5vw;
    }

}

/* 横幅599px以下 */

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

    .cover_left {
        width: calc(100% - 6rem);
    }

    .cover_right {
        width: calc(90vw - 6rem);
    }
    .cover_right p:first-child {
        font-size: 3.6rem;
    }

    .top_work::before {
        width: 60%;
    }

    .top_intro p {
        padding: 1.5rem;
    }

    #top_name {
        margin-left: 5px;
    }

    .recruit_img2 {
    width: 30vw;
    }
}

.SIE img {
    object-fit: fill;
}