
html {
  overflow-x: hidden;
}

body{
    background-color: #EDE9E2;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.gallery-page{
    background: url('../images/gallery/bg-pc.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    background-color: #EDE9E2;
}

.sns-banner {
    position: relative;
}

#banner {
    background-image: url('../images/gallery/banner-pc-1.png');
    background-repeat: no-repeat;
    width: 100vw;
    height: 21.82vw;
    background-size: 100%;
}

.banner-recruit-logo{
    position: absolute;
    top: 18.2291666667vw;
    left: -27px;
    right: 71.1458333333vw;
    z-index: 3;
}

.container-information{
    padding: 0 5.2vw;
}

.access-group{
    min-height: 100px;
    background: #fff;
    border: 5px solid #000;
    box-shadow: 10px 10px 0px -5px #fff, 10px 10px 0px 0px #000;
    min-height: 115vw;
}

.block-title{
    margin-top: 100px;
    display: flex;
    justify-content: center;
}

.block-title.mobile{
    display: none;
}

.library-image{
    padding: 193px 12vw 485px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.image-item{
    width: fit-content;
    border: 5px solid black;
    box-shadow: 8px 8px 0px 0px #000, 8px 8px 0px -5px #000;
    margin-bottom: 4vw;
}

.image-item.odd{
    background: #EAE6DE;
}

.image-item.even{
    background: #FF7600;
}


.link-img {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.description-image {
    margin-top: 20px;
    max-height: 69px ;
    display: inline-block;
    width: fit-content;
    text-align: center;
    background: #000;
    border: 5px solid #000;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 98% 100%, 0% 100%);
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
}

.description-image > span {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    width: 16.6666666667vw;
    padding: 1.1979166666666667vw  0;
    -webkit-clip-path: polygon(0% 0%, 100% -20%, 98% 100%, 0% 100%);
    clip-path: polygon(2% 0%, 100% -20%, 98% 100%, 0% 100%);
    background: #000000;
    font-size: 0.9375vw; 
    font-weight: bold;
    line-height: 12px;
}

section {
     padding: 0;
}

@media screen and (max-width: 1440px) {
    .description-image > span {
        font-size: 14px;
    }
}

@media screen and (max-width: 1133px) {
    .description-image > span {
        line-height: 0.85vw;
        height: 3.895833333333333vw ;
        font-size: 1.09375vw;
    }

}

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

    #banner {
        background-image: url('../images/gallery/banner-sp-1.png');
        background-repeat: no-repeat;
        width: 100vw;
        height: 106vw;
        background-size: 100%;
    }
    .gallery-page{
        background: url(../images/gallery/bg-sp.png);
    }

    .banner-recruit-logo {
        width: 57.085417vw;
        height: 14.179167vw;
        bottom: -22vw;
        left: -13vw;
        top: unset;
    }

    .description-image > span {
        width: 320px;
        font-size: 18px;
        line-height: 12px;
        height: auto;
        padding: 3.552631578947368vw;
    }

    .access-group{
        box-shadow: none;
        min-height: unset;
    }
    .block-title.mobile{
        display: flex;
        margin-top: 15vw;
    }

    .library-image{
        padding: 135px 2vw 400px;
        justify-content: center;
    }

    .link-img {
        margin-top: 100px;
    }

}

@media screen and (max-width: 600px){
    .library-image{
        padding-top: 95px;
    }
}

@media screen and (max-width: 425px){
    .description-image > span {
        width: 270px;
        font-size: 16px;
        line-height: 12px;
    }
}
@media screen and (min-width: 761px) and (max-width:767px) {
    .gallery-page .row  .col-md-3 {
        width: 25%;
    }
}