/* @import url("common.css"); */
iframe {
    aspect-ratio:16 / 9;
    width:100%;
    height:100%
}


#canvas{
    max-width: 1200px;
    margin: 0 auto;
    padding: 75px;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 100px auto;
    height: 100px;
}
    .logo img{
        height: 40px;
    }
    /* .logo h2{
        font-family: futura-pt;
        font-weight: 700;
        font-size: 42px;
        margin: 15px 0 0 0;
    } */

        .logo p{
            font-family: futura-pt;
            font-weight: 300;
            font-size: 12px;
            color: var(--sub-col);
            margin: 15px 0 0 0;
        }

    .hamburger{
        display: none;
    }

    .nav-bar ul{
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100px;
        gap: 30px;
    }

        .nav-bar ul li{
            list-style: none;
        }

            input[type="checkbox"]{
                -webkit-appearance: none;
                visibility: hidden;
                display: none;
            }

                .check{
                    position: relative;
                    display: block;
                    cursor: pointer;
                    overflow: hidden;
                    color: var(--sub-col);
                }

                .check:hover{
                    color: var(--main-col);
                }

            .nav-bar ul li a{
                white-space: nowrap;
                text-decoration: none;
                color: var(--sub-col);
                font-size: 13px;
                font-family: futura-pt;
                font-weight: 400;
            }

            .nav-bar ul li a:hover{
                color: var(--main-col);
            }



    #pop-up .video-item{
        margin-right: 300px;
        display: none;
    }

        #pop-up .active-project{
            display: block;
            margin-bottom: 50px;
        }

            #pop-up .project-meta{
                margin-right: -300px;
                width: 250px;
                float: right;
            }

            h3{
                font-weight: 300;
            }

                .image-title{
                    font-family: "游明朝体","Yu Mincho",YuMincho,"ヒラギノ明朝 Pro","Hiragino Mincho Pro",Noto Serif JP,serif;
                    font-weight: 600;
                }

                .thumbnail-container {
                    position: relative;
                }

                    .thumbnail-container img {
                        display: block;
                        width: 100%;
                        height: 100%;
                    }

                    .video-img {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        display: none;
                    }

                    .thumbnail-container.active .video-img {
                        display: block;
                    }

                        #pop-up .image-list .image .video-img{
                            width: 100%;
                        }

                            #pop-up .image-list .image .video-img iframe{
                                width: 100%;
                                height: 100%;
                            }

                        #pop-up .image-list .image .image-meta{
                            text-align: center;
                            margin: 0.5em 0 2em;
                        }

                        .image-desc{
                            font-family:"游明朝体","Yu Mincho",YuMincho,"ヒラギノ明朝 Pro","Hiragino Mincho Pro",Noto Serif JP,serif;
                        }

        .pop-control{
            margin-top: 15px;
            width: 100%;
            display: flex;
            justify-content: space-between;
        }

            .clickable{
                cursor: pointer;
                color: var(--sub-col);
            }

            .clickable:hover{
                color: var(--nav-hover-col);
            }

                .pop-cnt-right{
                    margin-right: -300px;
                }



.main-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

    .box{
        width: 370px;
        height: 300px;
        object-fit: cover;
    }

        .box-position{
            width: 100%;
            height: 100%;
            position: relative;
        }

        /* .box-position iframe{
            width: 100%;
            top: 0;
            left: 0;
        } */

            .box img{
                /* top: 0;
                left: 0; */
                width: 100%;
                object-fit: cover;
            }

            .box-text{
                margin: 5px 0;
                text-align: center;
                font-family: futura-pt;
                font-size: 1rem;
                font-weight: 300;
                color: var(--sub-col);
            }

    .box img:hover{
        opacity: 80%;
    }


@media screen and (max-width:1300px){
    #canvas{
        padding: 75px 100px;
    }
}

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

    #canvas{
        padding: 50px 75px;
    }

        header{
            height: auto;
            flex-flow: column;
            flex-direction: column-reverse;
            font-size: 20px;
            font-family: futura-pt;
            transition: 0.5s;
        }
        .logo a{
            text-align: center;
        }
        .logo img{
            height: 20px;
            margin: 0 auto;
        }
        .logo p{
            text-align: center;
        }

        .header.active{
            margin-top: 250px;
            transition: 0.5s;    
        }

            .hamburger{
                display: block;
                cursor: pointer;
            }

                .hamburger-text{
                    color: var(--sub-col);
                    margin: 6px 0;
                }

            .nav-bar{
                height: 0;
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                width: 100vw;
                background: var(--main-bg);
                transition: 0.5s;
                overflow: hidden;
            }

            .nav-bar.active{
                height: 250px;
                transition: 0.5s;
            }

                .nav-bar ul{
                    display: flex;
                    flex-flow: column;
                    padding: 0;
                    justify-content: center;
                    margin: 80px auto 0 auto;
                    text-align: center;
                }

                .nav-bar.active ul{
                    margin: 80px auto 0 auto;
                    opacity: 0;
                }

                .nav-bar.active ul{
                    opacity: 1;
                }

                    /* .nav-bar ul li{
                        gap: 20px;
                    } */

                    .nav-bar ul li a{
                        margin-bottom: 40px;
                        color: var(--sub-col);
                    }

        #pop-up .video-item{
            margin-right: 0;
        }

        #pop-up .active-project{
            display: block;
            margin-bottom: 0;
        }

            #pop-up .project-meta{
                margin-right: 0;
                width: auto;
                float: left;
            }

            .main-box{
                justify-content: center;
            }

            .box{
                width: 70%;
                height: auto;
            }

}

@media screen and (max-width:630px){
    #canvas{
        padding:50px;
    }

    .box{
        width: auto;
    }

    .logo{
        text-align: center;
    }
}