@charset "UTF-8";

.visual-box{
    background-image: url(../images/worksVisual.webp);
}

/* =============
　section-top
================ */
.section-top{
    margin-bottom: 0;
    height: 100vh;
}
.section-top::after{
    display: none;
}
.visual-box{
    background-image: url(../images/worksVisual.webp);
}
.top-phrase{
    margin: 3vh 0;
}
.visual-box::after{
    display: none;
}
.section-top .p-box{
    width: 90%;
    margin: 0 auto;
}
.section-top .p-box p{
    font-size: var(--fontSizeNormal);
    margin-bottom: 1rem;
}

/* --------  section-works  --------- */

.section-works{
    width: 100%;
    height: fit-content;
    padding-bottom: 15vh;
    margin: 0 auto;
    overflow: hidden;
}
.history-wrapper{
    width: 100vw;
    height: fit-content;
    margin: 3rem auto;
}
.works-wrapper{
    width: 100%;
    margin: 0 0 3rem 5vw;
}
.works-wrapper h2{
    color: var(--mainYellow);
    font-size: 3rem;
    font-weight: 600;
    padding-left: 1rem;
    border-bottom: 1px solid var(--mainYellow);
}
.works-box{
    margin: 4rem auto 0;
    display: flex;
    justify-content: left;
    overflow: scroll;
    padding: 0 15vw 0 8vw;
    gap: 7vw;
}
.works-box::-webkit-scrollbar{
  display: none;
}
.flyerBox{
    width: fit-content;
    margin: 0 auto;
}
.flyerBox img{
    width: min(75vw, 500px);
}
.textBox{
    text-align: center;
    padding: 2rem 0 0;
}
.textBox h3{
    font-size: var(--fontSizeNormal);
    font-weight: 500;
    transition: .3s;
}
.textBox p{
    transition: .3s;
}



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

    /* --------  section-top  --------- */
    .section-top{
        height: 90vh;
    }
    .top-phrase{
        font-size: 5rem;
        line-height: 10rem;
        letter-spacing: .5rem;
        top: 40%;
        left: 0;
    }
    .top-phrase span{
        padding: .6rem 1.5rem .6rem 3vw;
    }
    .section-top .p-box{
        position: absolute;
        bottom: 5vw;
        left: 3vw;
    }
    .section-top .p-box p{
        color: white;
        font-size: 2.2rem;
        font-weight: 500;
        letter-spacing: .1rem;
        text-shadow: 0px 0px 10px rgb(0, 0, 0);
        margin-bottom: 1.5rem;
    }

    /* --------  section-shows  --------- */
   
    .section-works{
        margin-top: .6px;
        padding: 10vh 0;
    }
    .history-wrapper{
        width: 75%;
        margin-top: 7vh;
    }
    .works-wrapper{
        margin: 0 auto 7vh;
    }
    .works-wrapper h2{
        font-size: 3.5rem;
        padding-left: 2rem;
    }
    .works-box{
        overflow: visible;
        padding: 0 0 0 2vw;
        gap: 5vw;
    }
    .works-item{
        transition: .3s;
    }
    .works-item:hover{
        transform: scale(1.05);
        img{
            opacity: 0.7;
        }
        h3,p{
            color: var(--mainYellow);
        }
    }
    .flyerBox img{
        width: 13vw;
        transition: .3s;
    }
    .textBox h3{
        font-weight: 600;
    }
}