@charset "UTF-8";
main {
    height:100vh;
    background-image: url(../photo/top.JPG);
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.portfolio-top {
    display: block;
    width: 100%;
    /*height:100vh;
    background-image: url(../photo/top.JPG);
    padding-top: 200px;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
    overflow-y: hidden;*/
}
.portfolio-top h1 {
    color: #fff;
    font-size: 60px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.3rem;
}
.portfolio-top h2 {
    color: #fff;
    font-size: 30px;
    text-align: center;
}
.logo {
    padding: 90px 0;
    height: 33px;
    width: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px;
}
.menu-list {
    color: #fff;
    width: 708px;
    border: solid 1px #fff;
    border-radius: 48px;
    margin: 0 auto 50px;
    padding: 30px 0;
}
.menu-list ul {
    display: flex;
    justify-content: space-between;
    vertical-align: middle;
}
.menu-list ul li {
    font-size: 20px;
}
.menu-list ul li:first-child {
    padding-left: 80px;
}
.menu-list ul li:last-child {
    padding-right: 80px;
}

.menu-list a {
    color : inherit;
    text-decoration : none;
}
.sns_icon {
    display: flex;
    text-align: center;
    width: 110px;
    margin: 0 auto 40px;
    justify-content: space-between;
}
.twitter_icon {
    height: 33px;
    width: 33px;
    object-fit: cover;
}
.instagram_icon {
    height: 33px;
    width: 33px;
    object-fit: cover;
}
.copyright {
    font-size: 14px;
    color: #fff;
    text-align: center;
    display: block;
    margin: 0 auto;
}


/*   動く下線 */ 
.btnlinestretches5{
    /*線の基点とするためrelativeを指定*/
	position:relative;
    /*リンクの形状*/ 
	color:#fff;
    padding: 0 0 3px;
	display:inline-block;
    text-decoration: none;
    outline: none;
}

/*線の設定*/
.btnlinestretches5::before {
    content: "";
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    /*線の形状*/
    width: 100%;
    height: 1px;
    background: #fff;
}
.btnlinestretches5::before {
    animation: arrowlong01 2s ease infinite;
}

@keyframes arrowlong01{
    0%{width:0;opacity:0}
    20%{width:0;opacity:1}
    80%{width:105%;opacity:1}
    100%{width:105%;opacity:0}
}

@keyframes arrowlong02{
    0%{left:0;opacity:0}
    20%{left:0;opacity:1}
    80%{left:103%;opacity:1}
    100%{left:103%;opacity:0}
}








@media screen and (max-width: 1024px) {
    /*
    .portfolio-top {
        padding-top: 90px;
    }*/
    .logo {
        padding: 60px 0;
    }
    .sns_icon {
        margin: 0 auto 30px;
    }
}



@media screen and (max-width: 813px) {
    /*
    .portfolio-top {
        height:100vh;
        background-image: url(../photo/top.JPG);
        padding-top: 100px;
    }*/
    .portfolio-top h1 {
        font-size: 40px;
        letter-spacing: 0.3rem;
    }
    .portfolio-top h2 {
        font-size: 16px;
    }
    .logo {
        padding: 20px 0;
        height: 36px;
        width: auto;
        margin: 20px auto;
    }
    .menu-list {
        width: auto;
        height: 262px;
        border: none;
        margin: 0 auto 35px;
        padding: 0;
    }
    .menu-list ul {
        display: block;
        margin: 0 auto;
    }
    .menu-list ul li {
        font-size: 18px;
        border: solid #fff 1px;
        border-radius: 22px;
        width: 140px;
        height: 43px;
        text-align: center;
        margin: 0 auto 25px;
    }
    .menu-list ul li:first-child {
        padding-left: 0px;
    }
    .menu-list ul li:last-child {
        padding-right: 0px;
    }
    
    .menu-list a {
        color : inherit;
        text-decoration : none;
        height: 43px;
        line-height: 43px;
    }
    .sns_icon {
        width: 75px;
        margin: 0 auto 30px;
    }
    .twitter_icon {
        height: 22px;
        width: 22px;
    }
    .instagram_icon {
        height: 22px;
        width: 22px;
    }
    .copyright {
        font-size: 12px;
    }


    .btnlinestretches5::before {
        display: none;
    }
    
    .works_li {
        border: 1px solid!important;
        /* border-image: linear-gradient(45deg,#3bade3,#9844b7,#44ea76)1!important; */
        background:linear-gradient(90deg, rgba(196, 182, 197, 1), rgba(35, 117, 163, 0.2));
        background-size: 200% 200%;
        animation: bggradient 20s ease infinite;
    }

    @keyframes bggradient{
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }
}
