/* 全体 */
* {
    font-family: "游ゴシック", "游ゴシック体", sans-serif;
    font-size: 13px;
    line-height: 2rem;
}

h1 {
    font-family: 'Montserrat Subrayada', sans-serif;
    font-size: 30px;
    line-height: 2rem;
}

h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-style: italic;
    font-size: clamp(50px, 100 / 1500 * 100vw, 100px);
    position: relative;
}

img {
    width: 100%;
    height: 100%;
}

/* ===================================  */
/* 左上 */
/* ===================================  */
.sign-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: fit-content;
    padding: 50px;
}

.sign {
    background-image: url("./img/top/sign.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 500px;
    height: 200px;
    margin: 50px;
    background-color: transparent;
}

/* ===================================  */
/* スライドショー */
/* ===================================  */
.slide-box {
    position: relative;
    height: 90vh;
    top: 0;
    left: 0;
    margin-top: 20vh;
}

/*  スライド全体　*/
.background-all {
    position: absolute;
    top: 0;
    left: 30vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 60vw;
    height: 90vh;
    opacity: 0;
    transition: all 1s;
} 

/* スライドショー別々 */
.background0 {
    background-image: url("/img/top/kv.jpg");
}

/* 
.background1 {
    background-image: url("/img/web_t002_548.jpg");
}

.background2 {
    background-image: url("/img/web_m001_0340.jpg");
}

.background3 {
    background-image: url("/img/web_m001_0631.jpg");
}

.background4 {
    background-image: url("/img/web_m001_1304.jpg");
} */

/* スライダー表示*/
.background-appear {
    opacity: 1;
    transition: all 3s;
}

/* 白黒スライダー */
.bg-slider {
    background-clip: border-box;
    filter: grayscale(1) brightness(0.5) blur(1px);
    width: 60vw;
    height: 90vh;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 30vw;
    opacity: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition: opacity 1.1s;
}

.slider-appear {
    opacity: 1;
    animation: sliderAnime 0.3s 1.5s linear forwards;
}

@keyframes sliderAnime {
    0% {
        clip-path: polygon(-50% 0, 100% 0, 100% 100%, 0 100%);
    }

    50% {

        clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 100%);
    }

    100% {
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 150% 100%);
    }
}

/* ===================================  */
/* プロフィール */
/* ===================================  */
.profile-box {
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 50vh;
    margin-left: 28vw;
    width: 72vw;
    height: 1000px;
}

/* テキスト */
.profile-textwrap {
    position: relative;
    /*テキスト全体基準*/
    left: -20vw;
    top: 200px;
    width: 35vw;
    height: fit-content;
    padding: 50px;
    background-color: rgba(255, 255, 255, 0.743);
    z-index: -2;
}

.profile-box p {
    font-size: 1.2rem;
    line-height: 2.6rem;
    letter-spacing: 0.1rem;
}

/* テキスト導線 */
.profile-sub-textwrap0 {
    position: absolute;
    top: 70px;
    width: 2px;
    height: 150px;
    background-color: black;
    /* transform:rotate(30deg); */
}

/* テキスト枠 */
.profile-sub-textwrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.profile-sub-textwrap1 {
    border-top: black solid 2px;
}

.profile-sub-textwrap2 {
    border-right: black solid 2px;
}

.profile-sub-textwrap3 {
    border-left: black solid 2px;
}

.profile-sub-textwrap4 {
    border-bottom: black solid 2px;
}


/* テキスト下線 */
.yellow-target {
    position: relative;
    /*下線基準*/
    display: inline-block;
    width: fit-content;
    height: 1.2rem;
    font-size: 1.2rem;
}

.yellow-none {
    position: absolute;
    top: 0.8rem;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    z-index: -1;
    transform: scaleX(0);
}

.yellow-appear {
    background-color: rgba(255, 255, 0, 0.63);
    animation: yellowAnime 0.5s 1s forwards;
}

@keyframes yellowAnime {
    0% {
        transform-origin: left;
        transform: scaleX(0);

    }

    100% {
        transform-origin: left;
        transform: scaleX(100%);

    }
}

/* ===================================  */
/* ポートフォリオ */
/* ===================================  */
.portfolio-box {
    width: 100vw;
    height: 70vh;
    margin-top: 1000px;
    padding-left: 30%;
}
.portfolio-titlewrap{
    display: flex;
    height: 80px;
}
.portfolio-titlewrap p{
    font-size: clamp(30px,50 / 1500 * 100vw,50px);
}

.portfolio-text{
    font-family: 'Josefin Sans', sans-serif;
    font-style: italic;
    font-size: clamp(20px,30 / 1500 * 100vw,30px);
}


/* ===================================  */
/* sns */
/* ===================================  */
#sns_box {
    width: 100vw;
    height: 100vh;
}
.sns-flex{
    display: flex;
}

.sns-left{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding-bottom: 10vh;
}
.sns-left h2{
    line-height: 80px;
}

.sns-right{
    width: 30vw;
    height: 90vh;
    overflow: hidden;
    z-index: -1;
}
.sns-right img{
    object-fit: cover;
}



.sns-textwrap {
    margin-top:50px;
    padding-left: 10vw;
}

.sns-textwrap li {
    font-size: 30px;
    width: 50vw;
    display: flex;
    margin-top: 50px;
}

.sns-under {
    display: inline-block;
    width: 100px;
    height: 30px;
    border-bottom: 3px solid black;
    margin: 0 20px;
}
.pyon-wrap{
    display: flex;
    position: relative;
    flex-wrap: no-wrap;
}
.pyon,
.pyon2{
    /* font-size: 40px; */
    font-family: 'Josefin Sans', sans-serif;
    font-style: italic;
    font-size: clamp(20px,40 / 1400 * 100vw, 40px);
    height: clamp(40px,80 / 1400 * 100vw, 80px);;
}

.pyon-a:hover{
    color: rgb(246, 221, 34);
    transition: all 0.3s;
}

/* ===================================  */
/* smartphone */
/* ===================================  */
@media screen and ( max-width:1200px) {
    .sign-box{
        position: relative;
        padding: 50px;
    }
    .profile-textwrap,
    .profile-sub-textwrap{
        width: 80vw;
    }
    .profile-box{
        margin-top: 200vh;
        height: fit-content;
        margin-bottom: 100vh;
    }

    .portfolio-box{
        display: flex;
        flex-direction: column;
margin-top:400vh;

    }
    .portfolio-titlewrap{
        flex-direction: column;
        height: fit-content;
    }
    .portfolio-titlewrap h2{
        line-height: 80px;
    }
    .portfolio-text{
        margin-top:50px;
    }

    .sns-flex{
        flex-direction: column-reverse;
        width: 100%;
    }
    .sns-right{
        width: 80vw;
        margin: 0 10vw;
    }
    .sns-left{
        height: fit-content;
        margin: 10vh;
    }
    .sns-textwrap{
        width: 100%;
        margin: initial;
        padding: initial;
    }
    .sns-textwrap li{
        width: 100%;
    }
    .pyon-wrap{
        flex-wrap: wrap;
    }
}


@media screen and (max-width : 800px) {
    .sign{
        width: 100%;
        margin: initial;
    }
    .container {
        width: 100vw;
        height: fit-content;
        display: flex;
        flex-direction: column-reverse;
    }

    .slide-box,
    .left,
    .background-all,
    .bg-slider {
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        right: 0;
        margin-top: 0;
        padding: initial;
    }

    .portfolio-box{

        padding-left:10%;
    }

    #sns_box{
        height: fit-content;
    }

}
@media screen and (max-width : 650px) {
    .profile-box{
        height: 50vh;
    }
    .sns-textwrap li {
        display: flex;
        flex-direction: column;
    }
    .sns-under{
        margin: 10px 0;
        width: 80%;
    }
    .pyon-wrap{
        margin: 50px 0;
    }
}
@media screen and (orientation:portrait) {
    canvas{
        width: 100vw;
    }
    
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2;
    height:calc(100vh - env(safe-area-inset-bottom));
}