/*
2 Theme Name: Template
3 Theme URI: https://www.webpro.pensama.com/
4 Description: テーマ
5 Version: 1.0.0
6 Author: Penmoko
7 Author URI: https://www.webpro.pensama.com/
8 */



@charset "UTF-8";

html{
    font-size: 100%;
    letter-spacing: 0.1rem;
}

body{
    color: #24292e;
    font-family: EB Garamond, serif, sans-serif;
    
}

a{
    text-decoration: none;
}

p{
    font-size: 1rem;
    line-height: 2;
}

img{
    max-width: 100%;
}

li{
    list-style: none;
}

#header{
    max-width: 100%;
}

nav{
    display: flex;
    /* position: fixed; */
    
    width: 100%;
    align-items: center;
    justify-content: space-between;
    /* margin: 5px auto; */
    padding: 0 4%;
    z-index: 1000;

}

nav ul{
    display: flex;
    padding: 5px 0;
    margin: 0 0;
    align-items: center;
}

nav ul li{
    font-size: 0.9rem;
    margin-left: 20px;
}

nav ul li a{
    color: #fff;
    transition: all 0.3s;
}


nav ul li a:hover{
    opacity: 0.5;
}

nav .site-title{
    line-height: 1px;
    font-weight: 400;
    font-size: 1.2rem;
    color: #fff;
}

.animation-img{
    position: relative;
    top: -10vh;
    height: 80vh;
    z-index: -1;
}

.animation-img h1{
    position: absolute;
    right: 20%;
    bottom: 30%;
    z-index: 20;
    color: #fff;
    font-size: 2rem;
}


.img-all{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    height: 80vh;
    animation: image_anime 20s infinite;
}

.img1{
    background-image: url("./portfolio-img/main-image4.jpg");
    position: absolute;
    background-size: cover;
    background-position: center center;
    object-fit: contain;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
}

.img2{
    background-image: url("./portfolio-img/main-image5.jpg");
    position: absolute;
    background-size: cover;
    background-position: center center;
    object-fit: contain;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
}

@keyframes image_anime{
    0%{ opacity: 0;}
    5%{ opacity: 1;}
    50%{ opacity: 1;}
    70%{ opacity: 0;}
    100%{ opacity: 0;}
}



.img-all:nth-of-type(1) {
    animation-delay: 0s;
}
.img-all:nth-of-type(2) {
    animation-delay: 10s;
}


#section0 h2{
    margin-top: 10vh;
    margin-bottom: 20vh;
    font-size: 2rem;
    text-align: center;
}

#section0 img{
    width: 100%;
    height: 50vh;
    object-fit: cover;
}





/* nav-fadein-nav-fadein-nav-fadein-nav-fadein-nav-fadein-nav-fadein-nav-fadein-nav-fadein-nav-fadein-nav-fadein- */
.nav_fixed{
    opacity: 0;
    transform: translate(0, -50%);
    transition: 2s;
    color: #fff;

}

.nav_fixed.fadein {
    transform: translate(0, 0);
    opacity: 1;
    background: #fff;
    border-bottom: 1px solid #000000;
    position: fixed;
    top: -10px;
    z-index: 2000;
    height: 5vh;
}
.nav_fixed.fadein h1,
.nav_fixed.fadein a{
    color: #000000;
}
 


/* fadein-text-fadein-text-fadein-text-fadein-text-fadein-text-fadein-text-fadein-text-fadein-text- */
.element{
    opacity: 0;
    transform: translate(10px, 10px);
    transition: 2s;
}

.element.fadein-text{
    transform: translate(0, 0);
    opacity: 1;
}



/* pagetop-pagetop-pagetop-pagetop-pagetop-pagetop-pagetop-pagetop-pagetop-pagetop-pagetop-pagetop */
.pagetop{
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-size: 1rem;
    line-height: 3;
    z-index: 99;
}

.pagetop:hover{
    opacity: 0.5;
}

  
.pagetop a {
    background: #000000;
    border: 1px solid #000000;
    text-decoration: none;
    color: #fff;
    width: 50px;
    height: 50px;
    padding: 0 auto 0 auto;
    text-align: center;
    display: block;
    border-radius: 50%;
    opacity: 0.9;
    transition: all 0.3s ease;
  }

  .pagetop a:hover {
    text-decoration: none;
    opacity: 0.5;
  }




/* works-works-works-works-works-works-works-works-works-works-works-works */
#works .section-title{
    position: relative;
    height: 30vh;
}

#works .section-title .border{
    position: absolute;
    padding: 1px 0;
    width: 100%;
    top: 100px;
    border-top: solid 1px #e87e0c23;
    border-bottom: solid 1px #e87e0c23;
}


#works .section-title h2{
    position: absolute;
    top: 70px;
    right: 20%;
    writing-mode: vertical-lr;
}

.work1{
    width: 50%;
}

.work1 h3{
    font-weight: bold;
}

#works h2 .ja{
    font-size: 2rem;
    display: block;
    border-right: 1px solid #000000;
    padding: 5px 3px 0 0;
}

#works h2 .en{
    font-size: 0.7rem;
    display: block;
    letter-spacing: 0.1rem;
    padding: 5px 0 0 3px;
}

#works .works-items{
    min-height: 50vh;
}


#works .works-items #h3{
    margin-left: 15%;
    margin-bottom: 2%;
    font-size: 1.3rem;
}

#works .works-items .flex{
    display: flex;

}

#works .works-items .flex .left,
#works .works-items .flex .right{
    width: 100%;
}

#works .works-items .flex .left .item{
    margin-left: 5%;
    margin-right: 5%;
    justify-content: center;
    text-align: center;
}


#works .works-items .flex .left img{
    padding: 0 5% 0 5%;
    width: 80%;
    margin-bottom: 10px;
}


#works .works-items .item h3{
    text-align: center;
    font-size: 1.1rem;
}

#works .works-items .item p{
    text-align: center;
}


#works .works-items .flex .right img{
    align-items: center;
    padding: 0 10% 0 30%;
    width: 50%;
}


#skill{
    margin-bottom: 10%;
}


#skill .section-title{
    position: relative;
    height: 30vh;
}

#skill .section-title .border{
    position: absolute;
    padding: 1px 0;
    width: 100%;
    top: 100px;
    border-top: solid 1px #e87e0c23;
    border-bottom: solid 1px #e87e0c23;
}


#skill .section-title h2{
    position: absolute;
    top: 60px;
    right: 20%;
    writing-mode: vertical-lr;
}


#skill h2 .ja{
    font-size: 2rem;
    display: block;
    border-right: 1px solid #000000;
    padding: 5px 3px 0 0;
}

#skill h2 .en{
    font-size: 0.7rem;
    display: block;
    letter-spacing: 0.1rem;
    padding: 5px 0 0 3px;
}


#skill .skill-items{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}


#skill .skill-items .left-item,
#skill .skill-items .right-item{
    display: flex;
    justify-content: center;
    width: 90%;
    margin-top: 50px;
}

#skill .skill-items img{
    width: 10%;
}

#skill .skill-items .left-item .text{
    margin-left: 5%;
}

#skill .skill-items .right-item .text{
    margin-right: 5%;
}



#skill .skill-items .circle{
    font-size: 1.2rem;
    border-radius: 50%;
    border: 1px solid #000000;
    background: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 25px;
    margin-bottom: 10px;
}




#skill .skill-items .left-item .text h3{
    font-size: 1.3rem;
}

#skill .skill-items .left-item .text p{
    margin-top: 20px;
    font-size: 1rem;
}


#skill .skill-items .right-item .text h3{
    font-size: 1.3rem;
}

#skill .skill-items .right-item .text p{
    margin-top: 20px;
    font-size: 1rem;
}





.about{
    min-height: 80vh;
    align-items: center;
    background-image: url(./portfolio-img/about_bg.jpg);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 60px 80px;
    padding-top: 20vh;
    text-align: center;
}

.about h2{
    font-size: 6rem;
    font-weight: bold;
    font-family: system-ui, sans-serif;
    margin-bottom: 1.5em;
    opacity: 0.3;
    color: #fff;
    overflow-wrap: normal;
}

.about p{
    margin-top: 10vh;
    color: #fff;
}




.hobby-list{
    background-image: url(./portfolio-img/bmx.png);
    background-color:rgba(255,255,255,0.8);
    background-blend-mode:lighten;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    height: 80vh;
    display: flex;
    justify-content: space-around;
}

.hobby-list .hobby{
    margin-top: auto;
    margin-bottom: auto;
    height: 40%;
    padding:auto 10px auto 10px;
    text-align: center;
    border-left: 2px solid black;
}

.hobby-list .hobby h3{
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hobby-list .hobby p{
    font-size: 1rem;
    padding-left: 20px;
} 



footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5% 15% 5% 15%;
}

footer ul{
    display: flex;
}

footer .list{
    font-size: 1.2rem;
}

footer ul li{
    margin-left: 30px;
}

footer .new{
    margin-right: 15%;
}


/* sp-sp-sp-sp-sp-sp-sp-sp-sp-sp-sp-sp-sp-sp-sp */
@media screen and (max-width: 768px) {
    p{
        font-size: 0.8rem;
    }
    /* header */
    nav{
        padding: 3px auto;

        flex-direction: column;
        height: auto;
    }

    .nav_pc .site-title{
        padding-top: 5px;
    }

    .nav_fixed{
        padding-top: 5px;
    }

    .nav_fixed.fadein {
        height: auto;
    }

    nav .site-title h1{
        padding-top: 5px;        
    }

    nav .site-title{
        padding-top: 5px;
        font-size: 1rem;
    }

    nav ul{
        display: flex;
        padding: 5px 0;
        margin: 0 0;
        align-items: center;
    }

    nav ul li{
        font-size: 0.8rem;
        margin-left: 15px;
    }

    .animation-img{
        height: 50vh;
    }
    .img-all{
        height: 50vh;
    }

    #section0 h2{
        margin-top: 15vh;
        margin-bottom:  15vh;
        margin-left: 4%;
        margin-right: 4%;
        font-size: 1.5rem;

    }

    #section0 img{
        width: 100%;
        height: 30vh;
        object-fit: cover;
    }

    #works .section-title{
        position: relative;

    }



    #works .works-items{
        min-height: 30vh;
        font-size: 0.6rem;
    }

    #works .works-items

    #works .works-items h3{
        font-size: 0.8rem;
    }

    #works .works-items .flex{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .work1{
        width: 100%;
        margin-bottom: 50px;
    }

    .work1 a{
        font-size: 1rem;
    }
    




    #skill .skill-items .left-item,
    #skill .skill-items .right-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 10%;
    margin-left: 10%;
    }

    #skill .section-title{
        position: relative;
    }



    .about{
        min-height: 40vh;
        align-items: center;
        background-image: url(./portfolio-img/about_bg.jpg);
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        padding: 80px 80px;
    }

    .about p{
        margin-top: 5vh;
    }


    .about h2{
        font-size: 3rem;
    }

    .hobby-list{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    footer{
        flex-direction: column;
        text-align: center;
    }

    footer .list{
        font-size: 0.7rem;
    }

    footer ul li{
        margin-left: 10px;
        text-align: center;
    }
    
    footer .new{
        margin-right: 15%;
        margin-left: 15%;   
    }

    footer ul{
        padding: 0 auto 0 auto;
    }

}

