@charset "UTF-8";

/* 共通部分 
-----------------------------------------*/
html{
    font-size: 100%;
    scroll-behavior: smooth;
}
body{
    font-family: "Italiana", "Poiret One", "Noto Sans JP","Inter" ,"sans-serif";
}
a {
    text-decoration: none;
    display: inline-block;
    position: relative;
    color: #0e0e0e;
}
li{
    list-style: none;
}
img{
    max-width: 100%;
    /* vertical-align: top; */
    height: auto;
}
.font-poiret{
    font-family: Poiret One;
}
.title{
    font-size: 50px;
    font-family: Italiana;
    margin-bottom: 60px;
    letter-spacing: 0.1rem;
}
p{
    font-family: Noto Sans JP;
    font-size: 16px;
    text-align: justify;
}
.sub-title{
    font-family: Noto Sans JP;
    font-size: 28px;
    margin-bottom: 40px;
    letter-spacing: 0.03rem;
}

.kaigyo{
    margin-top: 2em;
}
/* オープニングアニメーション 
-----------------------------------------*/
.loading {
    position: fixed;
    display: grid;
    place-items: center;
    width: 100vw;
    height: 100%;
    box-sizing: border-box;
    background-color: #0e0e0e;
    z-index: 999;
}
.remove-scrolling {
    height: 100%; 
    overflow: hidden; 
}
.loading-area {
    animation: fadeIn 0.7s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    display: flex;
    justify-content: center;
    gap: 5px;
}
.loading-area .red-font {
    color: #D00000;
}
.loading-area span {
    display: inline-block;
    color: #ffff
    ;
    font-family: Italiana;
    font-size: 2rem;
    font-weight: bold;
    animation: rotate 1.5s infinite linear;
    text-transform: uppercase;
    letter-spacing: -3px;
}

.loading-area span:nth-child(2) {
    animation-delay: 0.1s;
}

.loading-area span:nth-child(3) {
    animation-delay: 0.2s;
}

.loading-area span:nth-child(4) {
    animation-delay: 0.3s;
}

.loading-area span:nth-child(5) {
    animation-delay: 0.4s;
}

.loading-area span:nth-child(6) {
    animation-delay: 0.5s;
}

.loading-area span:nth-child(7) {
    animation-delay: 0.6s;
}

.loading-area span:nth-child(8) {
    animation-delay: 0.7s;
}

.loading-area span:nth-child(9) {
    animation-delay: 0.8s;
}

.loading-area span:nth-child(10) {
    animation-delay: 0.9s;
}
.loading-area span:nth-child(11) {
    animation-delay: 1s;
}
@keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

@keyframes rotate {
    70% {
        transform: rotateX(0deg);
    }

100% {
    transform: rotateX(360deg);
}

}

/* ヘッダー
----------------------------------------- */
.page-header{    
    position: fixed;
    width: 100%;
    height: 100px;
    top: 0;
    z-index: 1;
}
.nav_container{
    display: flex;
    justify-content: space-between;
    position: relative;
    height: 50px;
    margin-inline: 66px;
    margin-block: 25px;
}
.main_nav{
    display: flex;
    font-size: 18px;
    font-family: Poiret One;
    gap: 4rem;
    margin: 14.5px 0;
}

.link-border a::after{
    background-color: #0e0e0e;
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1.5px;
    bottom: -4px;
    transform: scale(0,1);
    transform-origin: left top;
    transition: transform 0.5s; 
}
.link-border a:hover::after{
    transform: scale(1,1);
    
}

/* ファーストビュー
------------------------------------ */
.fv_container{
    position: relative;
    padding-block: 18vh;
    display: flex;
    justify-content: space-between;
    
}
.hana{
    padding-top: 10vh;
    width: 40vw;
    height: auto;
}
.txt-wrapper{
    position: relative;
    display: flex;
    justify-content: center;
    width: 55vw;
    height: auto;
    min-width: max-content;
}
.txt-inner{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    min-width: max-content;
}
.fv-anime{
    font-family: Poiret One;
}
.fv-txt .fv-port span {
display: inline-block;
}

.fv-anime span:nth-of-type(2) {
animation-delay: 0.09s;
}
.fv-anime span:nth-of-type(3) {
animation-delay: .18s;
}
.fv-anime span:nth-of-type(4) {
animation-delay: .27s;
}
.fv-anime span:nth-of-type(5) {
animation-delay: .36s;
}
.fv-anime span:nth-of-type(6) {
animation-delay: .45s;
}
.fv-anime span:nth-of-type(7) {
animation-delay: .54s;
}
.fv-anime span:nth-of-type(8) {
animation-delay: .63s;
}
.fv-anime span:nth-of-type(9) {
animation-delay: .72s;
}
.fv-anime span:nth-of-type(10) {
animation-delay: .81s;
}
.fv-anime span:nth-of-type(11) {
animation-delay: .90s;
}
.fv-anime span:nth-of-type(12) {
animation-delay: 0.99s;
}
.fv-anime span:nth-of-type(13) {
    animation-delay: 1.08s;
}
.fv-anime span:nth-of-type(14) {
    animation-delay: 1.17s;
}
.fv-anime span:nth-of-type(15) {
    animation-delay: 1.26s;
}
.fv-anime span:nth-of-type(16) {
    animation-delay: 1.35s;
}
.fv-anime span:nth-of-type(17) {
    animation-delay: 1.44s;
}
.fv-anime span:nth-of-type(18) {
    animation-delay: 1.53s;
}
.fv-anime span:nth-of-type(19) {
    animation-delay: 1.62s;
}
.fv-anime span:nth-of-type(20) {
    animation-delay: 1.71s;
}
.fv-anime span:nth-of-type(21) {
    animation-delay: 1.80s;
}


.fv-anime span {
    opacity: 0;
    animation: leftRight .99s forwards;
    }

/* アニメdelay---------------------------------- */
.fv-anime-delay{
    font-family: Poiret One;
    animation:fadeIn 2.4s forwards;
    animation-duration: 3.29s;
}
.fv-anime-delay span:nth-of-type(1) {
    animation-delay: 2.3s;
    }
    .fv-anime-delay span:nth-of-type(2) {
    animation-delay: 2.39s;
    }
    .fv-anime-delay span:nth-of-type(3) {
    animation-delay: 2.48s;
    }
    .fv-anime-delay span:nth-of-type(4) {
    animation-delay: 2.57s;
    }
    .fv-anime-delay span:nth-of-type(5) {
    animation-delay: 2.66s;
    }
    .fv-anime-delay span:nth-of-type(6) {
    animation-delay: 2.75s;

    }
    .fv-anime-delay span:nth-of-type(7) {
    animation-delay: 2.84s;
    }
    .fv-anime-delay span:nth-of-type(8) {
    animation-delay: 2.93s;
    }
    .fv-anime-delay span:nth-of-type(9) {
    animation-delay: 3.02s;
    }
    .fv-anime-delay span:nth-of-type(10) {
    animation-delay: 3.11s;
    }
    .fv-anime-delay span:nth-of-type(11) {
    animation-delay: 3.20s;
    } 
    .fv-anime-delay span:nth-of-type(12) {
        animation-delay: 3.29s;
        }



@keyframes leftRight {
0%{
    opacity: 0;
}
100% {
    transform: translate(0) scale(1);
    opacity: 1;
}
}
@keyframes fadeIn{
0%{
    opacity: 0;
}
100%{
    opacity: 1;
}
    
}

.wmoji{
    letter-spacing: -9px;
}
.fv-txt{
    font-size: 2rem;
    letter-spacing: -5px;
}
.fv-name{
    font-size: 75px;
    font-family: Italiana;
    letter-spacing: -13px;
}
.red-font{
    color: #D00000;
}
.fv-port{
    font-size: 52px;
    letter-spacing: -9px;
    text-align: right;
}
.scroll{
    position: absolute;
    bottom: 4vh;
    left: 50%;
    transform: translateX(-50%);   
}

/* コンテンツ共通部分 */
.content-inner{
    padding: 20px;
    position: relative;
}


.content-container{
    font-size: 32px;
    padding-block:12vh;
    padding-inline: 40px;
    max-width: 1160px;
    margin: 0 auto;
    width: 100%;        /* 横幅いっぱい */
    opacity: 0;         /* 初期値は透明にしておく */
    transition: 1s;    /* 動くスピードを0.5秒に指定 */
    position: relative; /* 相対位置の設定 */
    top: 50px;          /* 事前に下に50pxずらしておく */
}
.active {
    opacity: 1;         /* 透明度を元に戻す */
    top: 0;             /* ずらしていた位置を戻すことで上に上がっているようにみえる */
 }
.more-wrapper{
    text-align: right;
    margin-top: 30px;
}
 
.more-text{
    vertical-align: baseline;
    font-size: 24px;
    
}
.more-text img{
    vertical-align: text-bottom;
}
.link-beforborder{
    display: inline-block;
    height: 42px;
}

.link-beforborder::after{
    position: absolute;
    content: "";
    height: 1.5px;
    background: #0e0e0e;
    bottom: 0;
    left: 0;
    width: 100%;
    transition:.5s;

}
.link-beforborder:hover::after{
    animation: hideAndShowUnderline 0.6s forwards;
}

@keyframes hideAndShowUnderline {
  0% {
    width: 100%;
  }
  5% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.bold{
    font-weight: 900;
}
.gaiyou{
    font-size: 16px;
}

/* アバウトーーーーーーーーーーーーーーー */
.about-description p{
    display: block;
    
}
.about-description{
    box-sizing: border-box;
    word-wrap: break-word;
    line-height: 3;
    font-size: 15px;
    letter-spacing: 0.03em;
    font-family: sans-serif;
}
.about-text-content{
    font-size: 16px;
    line-height: 2.6;
    letter-spacing: 0.03em;
    font-family: sans-serif;
}

.about-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;

}
.parent1{
    max-width: 68%;
}
.parent2{
    margin-left: 20px;
}
.about-top-img img{
    object-fit:cover;
    box-shadow: 0 25px 25px 0 rgba(0, 0, 0, .3);

}

/* ワークスーーーーーーーーーーー */
.work-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.item{
    aspect-ratio: 7/5;
    overflow: hidden;
}
.item img{
    object-fit: cover;
    width: 100%;
    height: auto;
    transition: .3s ease-in-out;
}
.item img:hover{
    transform:scale(1.1);
}
.works-cate{
    color: #626262;
    font-weight: bold;
    font-size: 12px;
    padding: 10px 0 0px 0;
}


/* コンタクトーーーーーーーーー */
.f-font{
    font-family: Noto Sans JP;
    font-size: 18px;
}
.f-imp{
    color: #f23a3c;
}
.form{
    margin: 10px 0 50px 0;
    max-width: 100%;
    border: 1px solid #404040;
    padding:0 10px;
    height: 50px;  
}
.form-long{
    margin: 10px 0 50px 0;
}
input{
    appearance: none;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}
textarea{
    width: 100%;
    height: 200px;
    border: 1px solid #404040;
    padding:10px 10px;
}
.button{
    display: inline-block; 
    width: 200px;
    height: 64px;
    text-align: center;
    border: 1px #0e0e0e solid;
    border-radius: 30px;
    font-size: 20px;
    font-family: Noto Sans JP;
    color: #0e0e0e;
    transition: .3s;
}
.button:hover{
    color: #ffffff;
    background: #0e0e0e;
}
.submit-b{
    text-align: center;
}
/* フッターーーーーーーーーーーーーーーー */
.footer{
text-align: center;
}
.pagetop{
    padding:2px 0 0 2px;
}
.copyright{
    background-color: #0e0e0e;
    color: #ffffff;
    font-size: 12px;
    padding: 1.5rem;
    margin-top: 150px;
}
.footer-nav{
    display: flex;
    justify-content: center;
    gap: 10rem;
}
.footer-nav a{
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    margin: 50px 0 100px 0;
}

/* 下層ページ共通部分*/
.kasou-container{
    padding-block:20vh 10vh;
    padding-inline: 40px;
    max-width: 1160px;
    margin: 0 auto;
    width: 100%;        /* 横幅いっぱい */
    top: 50px; 
}
p .kasou-container{
    display: inline-block;
}
.kasou-anime{
    animation: fadeIn .7s ease-in forwards;
    animation-delay: 0.7s;
    opacity: 0;
}
/* 下層ワークス */
.w-anime-img{
    animation-name: fadeIn700ms ;
    animation-delay: 700ms;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    transform: translateY(50px);
    opacity: 0;
    text-align: center;
}
.img-padding{
    padding: 0 10px;
}
.position-center{
    text-align: center;
    display: flex;
    justify-content: space-between;
}
.padding-block{
    padding-block: 0;
}
.w-typ-container{
    line-height: 1.8;
    margin-bottom: 50px;
}
.w-typ-container p{
    font-size: 13px;
    letter-spacing: .02em;
}
.w-title{
    font-size: 50px;
    font-family: Italiana;
}
.w-sub-margin{
    margin-top: 20px;
}
.w-description{
    box-sizing: border-box;
    word-wrap: break-word;
    width: 80%;
}
.works-column{
    margin: 10vh 0;
    display: flex;
    justify-content: space-between;
}
.w-sub-title{
    font-size: 16px;
    font-family: sans-serif;
    font-weight: 600;
}
.w-text p{
    font-size: 15px;
    font-family: sans-serif;
    line-height: 2.1;
    text-align: justify;
    letter-spacing: .03em;
}
.color-chart, .text-center{
    text-align: center;
}
.color-chart img{
    margin-top: 40px;
    width: 70%;
}
.w-img-size{
    max-width: 90%;
}
.img-shadow img{
    box-shadow: 0 25px 25px 0 rgba(0, 0, 0, .3);
}

.w-img-size-s{
    max-width: 500px;
}
.work-sp-mock, .roulette-d, .center{
    text-align: center;
}
.roulette-d{
    max-width: fit-content;
}
.work-sp-mock img{
    max-height: 600px;
}

@keyframes fadeIn700ms {
    0% {
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
/* 下層アバウト */
.about-kasou-top{
    max-width: 1160px;
    text-align: center;
}
.kasou-text{
    margin-top: 8vh;
    display: block;
    text-align: center;
    margin: 0 auto;

}
.a-anime-img{
    animation-name: fadeIn400ms ;
    animation-delay: 400ms;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease;
    transform: translateY(80px);
    opacity: 0;
    margin-bottom: 4em;
}
.a-anime-img img{
    max-width: 600px;
    box-shadow: 0 25px 25px 0 rgba(0, 0, 0, .3);
}

@keyframes fadeIn400ms {
    0% {
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
.about-margin{
    margin-inline: 40px;
}

/* ライクスグリッド */
.likes-container{
    display: flex;
    overflow-x: scroll;
    gap: 2em;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
}
.likes-inner{
    position: relative;
    aspect-ratio: 5/5;
    min-width: 320px;
}
.likes-inner img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.likes-inner .mask{
    width: 100%;
    height: 98%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.likes-inner:hover .mask{
    opacity: 1;
}
.like-text-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
    color: #ffffff;
    font-weight: bold;
    letter-spacing: .03em;
}
.likes-text{
    margin: 20px;
    font-size: 20px;
    font-family: Inter;
    
}
.likes-description{
    margin: 0 20px 20px 20px;
    font-size: 14px;
}
.likes-container::-webkit-scrollbar {
    width: 10px; /* スクロールバーの幅 */
    height: 10px; /* スクロールバーの高さ */
}

/* スクロールバーの背景部分をカスタマイズ */
.likes-container::-webkit-scrollbar-track {
    background: #f1f1f1; /* スクロールバーの背景色 */
    border-radius: 5px; /* 角丸にする */
}

/* スクロールバーの操作部分をカスタマイズ */
.likes-container::-webkit-scrollbar-thumb {
    background: #888; /* スクロールバーの操作部分の背景色 */
    border-radius: 5px; /* 角丸にする */
}
/* レスポンシブ中間ーーーーーーーーーーーー */

@media(max-width:960px){
.fv-name{
    font-size: 56px;
    letter-spacing: -9px;
    }
.scroll{
    bottom: 0;
}
.likes-inner{
    min-width: 240px;
}

}

/* レスポンシブスマホファーストビューーーーーーーーーーー */
@media (max-width: 768px) {
img.hana{
    padding: 0;
    min-width: 327px;
}
.fv-anime{
    font-size: min(2rem);
    letter-spacing: -6px;
}
.fv-name{
    font-size: 40px;
    letter-spacing: -6px;
}
.fv_container{
    position: relative;
    min-width: 327px;
}
.txt-wrapper{
    position: absolute;
    bottom: 10vh;
    right: 20px;
}
.txt-inner{
    min-width: max-content;
    right: 1vh;
}
.scroll{
    bottom: -8vh;
    width: 40px;
}
.nav_container{
    display: none;
}

/* コンテンツ部分ーーーーーー */
.content-container{
    font-size: 16px;
    padding-block:6vh;
    padding-inline: 30px;
}
.content-inner{
    max-width: 100%;
    padding:0 10px;
}
.title{
    font-size: 38px;
    margin-bottom: 40px;
}
.sub-title{
    font-size: 16px;
    margin-bottom: 30px;
    text-align: center;
}
/* アバウトSP */
.about-sp{
    margin-top:80px;
}
.about-wrapper, .w-description{
    flex-direction: column;
}
.about-description{
    font-size: 13px;
    line-height: 2.5;
}
.parent1{
    order: 2;
    width: 100%;
}
.parent2{
    order: 1;
    margin-bottom: 50px;
    margin-left: 0;
}
.about-text-content{
    font-size: 14px;
    line-height: 2.2;
}
.a-anime-img{
    margin-bottom: 2em;
}
.a-anime-img img{
    width: 100vw;
    margin: 0 calc(50% - 50vw);
}


/* ワークスSP */
.works-sp{
    grid-template-columns: 1fr;
}
.position-center{
    flex-direction: column;
}

/* コンタクト */
.f-coment, .form, .form-long{
    font-size: 15px;
}
.button{
    font-size: 18px;
    width: 160px;
    height: 60px;
}
/* フッター */
.smooth-scroll img{
    width: 40px;
}
.pagetop{
    font-size: 12px;
}
.copyright{
    margin-top: 100px;
}
.footer-nav{
    gap: 4rem;
}
.footer-nav a{
    font-size:14px;
    margin: 20px 0 50px 0;
}
/* サンクスページ */
.thanks-sp-title{
    font-size: 20px;
}
/* 下層共通部分 */
.kasou-container{
    padding-inline: 20px;
}

/* 下層ワークスSP */
.works-column{
    margin: 6vh 0;
    display: block;
}
.works-list{
    margin-top: 10vh;
}
.w-sub-title{
    font-size: 15px;
    margin-bottom: 18px;
}
.w-text{
    font-size: 13px;
    width: 100%;
    line-height: 1.8;
}
.w-title{
    letter-spacing: -4px;
}
.work-sp-mock img{
    max-height: 360px;
}

/* 下層アバウトSP */
.likes-inner{
   min-width: 180px;
}
.likes-text{
    font-size: 16px
}

}

@media (min-width: 768px) {
.hamburger-container{
    display: none !important;
}
}

/* ハンバーガーメニュー */
.hamburger-container{
    margin:16px 20px;
    display: flex;
    justify-content: space-between;
    height: 40px;
}
.hamburger{
    margin-top: 10px;
    width: 30px;
    height: 20px;
    position: relative;
  }
  .hamburger span{
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #0e0e0e;
    transition: .5s;
  }
  .hamburger span:first-of-type{/* ハンバーガーメニューの1番目の線 */
    top: 0;
  }
  .hamburger span:nth-of-type(2){/* ハンバーガーメニューの2番目の線 */
    top: 50%;
  }
  .hamburger span:last-of-type{/* ハンバーガーメニューの3番目の線 */
    top: 100%;
  }
  .slide-menu{
    background-color: #0e0e0e;
    width: 100%;
    height: 100vh;
    padding: 16vh 3vh;
    top: 0;
    left: 0;
    transform:translateX(-110%);
    transition:.4s;
  }
  .slide-menu li{
    font-size: 24px;
    line-height: 15vh;
    text-align: center;
  }
  .slide-menu a{
    color: #ffffff;
  }
  .hamburger.active span:first-of-type{/* ハンバーガーメニューの1番目の線 */
    top: 50%;
    transform: rotate(45deg);
    background-color: #ffffff;
  }
  .hamburger.active span:nth-of-type(2){/* ハンバーガーメニューの2番目の線 */
    opacity: 0;/* 透明にする */
  }
  .hamburger.active span:last-of-type{/* ハンバーガーメニューの3番目の線 */
    top: 50%;
    transform: rotate(-45deg);
    background-color: #ffffff;
  }
  .slide-menu.active{
    transform: translateX(0);
  }
  .body-hidden.active{
    overflow: hidden;
  }
  .page-header.active{
    background-color: #0e0e0e;
 }