@charset "utf-8";

/* カラー設定 */

:root{
    --bg-color:#F2FCFA;
    --text-color:#2E2E2E;
    --accent-color:#84C7AE;
}
/* 共通設定 */
body{
    font-family: "Sawarabi Gothic", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.05rem;
    color: var(--text-color);
    background-color: var(--bg-color);
}
.container,.footer{
    padding: 0 4%;
}
img{
    width: 100%;
}

/* header */

.header{
    position: fixed;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 4%;
    z-index: 50;
    align-items: center;
}
.logo{
    max-width: 80px;
}
.logo img{
    aspect-ratio: 59 / 33;
}

.hamburger{
    display: none;
}
.nav_list{
    display: flex;
    gap: 20px;
}
.nav_text{
    padding: 10px;
    transition: 0.3s;
}
.nav_text:hover{
    color: var(--accent-color);
}
@media screen and (max-width:768px) {
    .header{
        background-color: var(--bg-color);
    }
    .hamburger{
        display: block;
        position: relative;
        width: 30px;
        height: 30px;
    }
    .ham_wrap span{
        position: absolute;
        display: block;
        left: 0;
        height: 2px;
        width: 100%;
        background-color: var(--text-color);
        transition: 0.3s;
    }
    .ham_wrap span:first-child{
        top: 0;
    }
    .ham_wrap span:nth-child(2){
        top: 50%;
        width: 70%;
    }
    .ham_wrap span:nth-child(3){
        top: 100%;
    }
    .global_nav{
        position: fixed;
        display: block;
        top: -100%;
        left: 0;
        transition: 0.3s linear;
        opacity: 0;
        background-color: var(--bg-color);
        width: 100%;
    }
    /* クリック後 */
    .ham_wrap.show span:first-child{
        transform: rotate(45deg) ;
        top: 10px;
    }
    .ham_wrap.show span:nth-child(2){
        opacity: 0;
    }
    .ham_wrap.show span:nth-child(3){
        transform: rotate(-45deg) ;
        top: 10px;
    }
    .global_nav.show{
        display: block;
        position: absolute;
        top: 70px;
        opacity: 1;
    }
    .nav_list{
        display: block;
    }
    .nav_list-item{
        border-bottom: 1px solid var(--text-color);
        width: 90%;
        margin: 0 auto;
    }
    .nav_list-item:last-child{
        border: none;
    }
    .nav_text{
        font-size: 24px;
        padding: 15px 0;
        display:block;
    }
}

/* kv */

.kv{
    position: relative;
}
.kv_img{
    width: 100%;
    overflow: hidden;
}
.kv_img img{
    aspect-ratio: 16 / 9;
}
.kv_title{
    position: absolute;
    top: 20%;
    left: 30%;
    transform: translate(50%, 50%);
    font-size: 10vw;
    color: var(--bg-color);
}
@media screen and (max-width:768px) {
    .kv{
        padding-top: 70px;
    }
    .kv_title{
        top: 50%;
        transform: translateX(50%);
    }
}

/* 制作実績 */

#movie,#homepage{
    padding-top: 70px;
    height: 100vh;
    overflow: hidden;
}
/* 横スクロール */
.scroll_wrap,.scroll_wrap2{
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.scroll_list,.scroll_list2{
    position: absolute;
    top: 0;
    left: 0;
    height: 700px;
    display: flex;
}
@media screen and (min-height:840px){
    .scroll_list,.scroll_list2{
        top: 20%;
    }
}
/* セクションテキスト */
.section_textbox{
    position: absolute;
    width: 100%;
    top: 0;
    left: 1%;
    max-width: 42vw;
}

/* 制作物リスト */
.works_wrap{
    width: 100%;
    margin-left: 50vw;
    height: 100%;
}
@media screen and (max-width:431px) {
    .section_textbox{
        max-width: 300px;
    }
    .works_wrap{
        margin-left: 400px;
    }
}
.section_title{
    font-size: max(3vw,24px);
}
.text_ja{
    margin-bottom: 20px;
}
.works_list,.works_list2{
    column-gap: 30px;
    display: flex;
    margin-bottom: 2%;
    width: 100%;
}
.works_list2{
    margin-bottom: 0;
}
@media screen and (max-width:1025px){
    .works_list,.works_list2{
        column-gap: 50px;
    }
    .pc{
        display: none;
    }
}
@media screen and (max-width:376px){
    .works_list,.works_list2{
        margin-bottom: 0;
    }
}
.works_list-item{
    width: 100%;
}
.works_img{
    width: 350px;
}
#homepage .works_img{
    width: 310px;
}
.works_textbox{
    width: 100%;
    margin-top: 10px;
    text-align: center;
}
.works_title{
    font-size: 13px;
    display: block;
}
#homepage .works_title{
    margin:0;
}
.works_time{
    font-size: 12px;

}
.works_link{
    transition: 0.3s;
}
.works_link:hover{
    color: var(--accent-color);
}

/* フッター */

.footer{
    padding: 100px 4% 20px;
    position: relative;
}
.border{
    position: absolute;
    top: 30%;
    left: 20%;
    width: 60vw;
    height: 1px;
    background-color: var(--text-color);
}
.footer_title{
    text-transform: uppercase;
    font-size: 20px;
    margin-top: 50px;
}
.footer_subtitle{
    margin-bottom: 25px;
}
.footer_address{
    font-size: 14px;
}
.footer_copyright{
    display: block;
    text-align: center;
    margin-top: 20px;
}

