/*-----共通部分-------*/

html{
    font-size: 100%;
}
body{    
    font-family: "Kosugi Maru" , sans-serif;
    margin:0;
    
}
a{
    text-decoration: none;
}
li{
    list-style: none;
}
img{
    width:100%;
}
.sp{
    display: none;
}
.sp-img{
    display: none;
}
.about,.service,.work-flow,.works-header,.contact{
    width:85%;
    margin:0 auto;
}
.sub-title{
    padding:50px 0 ;
    font-size: 7vw;
    font-weight: bold;
    text-align: left;
    position: relative;
    letter-spacing: 0.5rem;
    font-family: "Monomaniac One", sans-serif;
    color:#fff;
    text-decoration: underline;
    text-decoration-color: #fff;
    white-space: nowrap;
    overflow: hidden;
    width:0%;
}
/*-----logo ------*/
.sub-title.open{
    animation:jojo 10s linear forwards;
}
/*-----logo　光らせる ------*/
@keyframes jojo {

    from {
    width:0%;
    }
    to {
    width:100%;
    }
}
.sub-title span:first-child{
    -webkit-text-stroke: 1px #f71a1a;
    color:transparent;
}
/*-----star-area ------*/
.star-area{
    background-image: linear-gradient(0deg, #00dedc, #115d89, #080f1c); /* 星空の背景色 */
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.star {
    position: absolute;
    display: block;
    background-color: #fff; /* 星の色 */
    border-radius: 50%;
    box-shadow: 0 0 4px 2px rgba(#fff, 0.2); /* 星の影 */
    opacity: 0;
    animation: twinkle 5s infinite;
    z-index:1000;
}
@keyframes twinkle {
    0% {
      opacity: 0;
    }
  
    50% {
      transform: scale(1.1);
      opacity: 1;
    }
  
    100% {
      opacity: 0;
      transform: scale(1);
    }
}

/*-----header------*/
.header{
    width:90%;
    margin: 0 auto;
}   
.nav-area{
    padding-top: 50px;
    display: flex;
    justify-content: space-between;
}
.nav-area nav ul{
    display: flex;
    justify-content: flex-end;
}
.nav-area nav ul li{
    color:#fff;
    padding-right: 20px;
    font-size: 1rem;
    opacity: 0.7;
}
/*ネオンサイン --（https://coliss.com/articles/build-websites/operation/css/css-neon-sign-effects.html)からの転用*/
.logo {
    font-family: moon;
    font-size: 1.5rem;
    text-align: center;
    animation: jackpots 3s 0s ease infinite;
    -moz-animation: jackpots 3s 0s ease infinite;
    /* Firefox */
    -webkit-animation: jackpots 3s 0s ease infinite;
    /* Safari and Chrome */
    -o-animation: jackpots 3s 0s ease infinite;
    /* Opera */
}
@keyframes jackpots {
    /*基本の設定*/
    0%,
    50%,
    81%,
    83%,
    100% {
    text-shadow: 
    -.1vw 0vw .1vw #dabd58, -.15vw 0vw .2vw #dabd58, -.2vw 0vw .2vw #dabd58, 
    -.1vw 0vw 3vw #F0130B, -.2vw 0vw 3vw #F0130B, -.4vw 0vw 3vw #F0130B,
    -.1vw 0vw 5vw #F0130B, -.2vw 0vw 5vw #F0130B, -.4vw 0vw .8vw #F0130B, .2vw 0vw 10vw #F0130B;
      color: #dabd58;
    }
    25% {
    text-shadow: 
    -.1vw 0vw .1vw #705C12, -.15vw 0vw .2vw #705C12, -.2vw 0vw .2vw #705C12, 
    -.1vw 0vw .1vw #5C0704, -.2vw 0vw .1vw #5C0704, -.4vw 0vw .1vw #5C0704,
    -.1vw 0vw .2vw #5C0704, -.2vw 0vw .2vw #5C0704, -.4vw 0vw .2vw #5C0704, .2vw 0vw .5vw #5C0704;
      color: #705C12;
    }
    80%,82%,85%{
        text-shadow: 
        -.1vw 0vw .1vw #fffc40, -.15vw 0vw .2vw #fffc40, -.2vw 0vw .2vw #fffc40, 
        -.1vw 0vw 3vw #ff342d, -.2vw 0vw 3vw #ff342d, -.4vw 0vw 3vw #ff342d,
        -.1vw 0vw 5vw #ff342d, -.2vw 0vw 5vw #ff342d, -.4vw 0vw .8vw #ff342d, .2vw 0vw 10vw #ff342d;
          color: #fffc40;
    }
}
.main-title{
    color: #fff;
    font-size: 15vw;
    padding-top:20px ;
}
.main-title span{
/*text切り抜き*/
    -webkit-text-stroke: 3px #f71a1a;
    color:transparent;
}
/*-----hambureger----*/
.hamburger {
    width: 70px;
    height: 70px;
    background-color: #ff2a2a;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 30;
    cursor: pointer;
    transition: 0.3s;
}
.hamburger:hover {
    opacity: 0.7;
}
.hamburger span {
    width: 35px;
    height: 2px ;
    background: #fff;
    position: absolute;
    left: 20px;
    transition: 0.3s ease-in-out;
}
  /* 1本目の線の位置を設定 */
.hamburger span:nth-child(1) {
    top: 24px;
}
  /* 2本目の線の位置を設定 */
.hamburger span:nth-child(2) {
    top: 36px;
}
/* 3本目の線の位置を設定 */
.hamburger span:nth-child(3) {
    top: 48px;
}
.hamburger.active span:nth-child(1) {
    top: 36px;
    left: 20px;
    background :#fff;
    transform: rotate(-45deg);
}
  /* 2本目と3本目は重ねて45度回転 */
    .hamburger.active span:nth-child(2),
    .hamburger.active span:nth-child(3) {
    top: 36px;
    background: #fff;
    transform: rotate(45deg);
}
.navi {
    width: 100%;
    height: 100vh;
    background-color: #080f1c;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    opacity: 0;
    text-align: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    visibility: hidden;
}
.navi ul{
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 4rem;
}
.navi ul a li{
    font-size: 3rem;
}
.navi.active {
    opacity: 0.9;
    visibility: visible;
}
/*-----main----*/

/*-----about----*/
.about-area{
    width:100%;
    display: flex;
    justify-content: flex-end;
    transition-duration: 1000ms;
}

.about-text{
    width:50%;
    font-size: 3vw;
    color:#fff;
}
.about-text p{
    padding-bottom: 20px;
    opacity: 0;
    transform: translateY(100px);
}
/*ふわっと文字を下から表示*/
.about-area.active p{
    opacity: 1;
    transform: translateY(0px);
}
/*時間差で文字を表示*/
.about-area.active p:nth-child(1){
    transition-duration: 1s;
}
.about-area.active p:nth-child(2){
    transition-duration: 1.5s;
}
.about-area.active p:nth-child(3){
    transition-duration: 2s;
}
.about-area.active p:nth-child(4){
    transition-duration: 2.5s;
}

/*-----service------*/
.slide-in{
    margin-top: 50px;
    padding:20px 0;
    width:70%;
    display: flex;
    align-items: center;
    border: 2px solid #fff;
    border-radius: 10px;
    opacity: 0;
    /*クラスshowで変化する部分*/
    transform: translateX(-40%);
    transition-duration: 2s ;
}
/*slide-inでの変化*/
.slide-in.show{
    opacity:1;
    transform: translateX(0);
}
.slide-in:nth-of-type(2){
    margin-left: 100px;
}
.slide-in:nth-of-type(3){
    margin-left: 150px;
}
.img-area{
    padding-left: 50px;
}
.img-area svg{
    fill:#fff;
}
.text-area{
    padding:0 30px;
    color: #fff;
}
.text-area h4{
    font-size: 3vw;
}
.text-area p{
    padding-top: 20px;
}
/*-----work-flow------*/
.flow-area{
    display: flex;
    justify-content: space-between;
    color: #fff;
    padding-top: 50px;
}
.flow-point{
    width:20%;
    border: 2px solid #fff;
    position: relative;
}
.flow-point:nth-child(2),.flow-point:nth-child(3),.flow-point:nth-child(4){
    opacity:0;
    transform: translateX(-20%);
}
/*すこしづつづれて表示*/
.open .flow-point:nth-child(2),.open .flow-point:nth-child(3),.open .flow-point:nth-child(4){
    opacity:1;
    transform: translateX(0%);
}
.open .flow-point:nth-child(2){
    transition:2s ease 0s ;
}
.open .flow-point:nth-child(3){
    transition:1s ease 1.5s ;
}
.open .flow-point:nth-child(4){
    transition:1s ease 3s ;
}
.flow-point h4{
    text-align: center;
    padding: 20px 0;
    font-size: 2.5vw;
}
.flow-point p{
    padding:15px;
}
.flow-point:nth-child(1):before,.flow-point:nth-child(2):before,.flow-point:nth-child(3):before{
    position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
    right: -20px;
	width: 18px;
	height: 10px;
	background: #fff;
}
.flow-point:nth-child(1):after,.flow-point:nth-child(2):after,.flow-point:nth-child(3):after{
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
    right: -24px;
	width: 20px;
	height: 20px;
	border-top: 7px solid #fff;
	border-right: 7px solid #fff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
/*-----works------*/
.works{
    width:100%;
}
.sample-area{
    text-align: center;
    padding-top: 50px;
    width:100%;
}
.sample{
    width:60%;
    display: flex;
}
.separate{
    width:100%;
    display: flex;
}
.sample-img{
    width:50%;
    padding: 0 20px;
}
.sample-img img{
    height: 30vw;
    box-shadow: 2px 2px 7px;
}

.ready{
    position: relative;
    opacity: 0.8;
}
.ready::after{
    content: "comming soon";
    font-size: 3vw;
    position: absolute;
    top:26vh;
    left:3.5vw;
    z-index: 50;
    color: #121212;
    transform: rotate(30deg);
}

.sample-text h4{
    font-size: 2vw;
    font-weight: bold;
    text-align: center;
    padding: 30px 0;
}
.sample-text p{
    font-size: 1.3vw;
    padding:0 25px;
}
.impact{
    color: #f71a1a;
    border-bottom: 2px solid #f71a1a;
}
.text-ready{
    text-align: center;
    padding-top: 15%;

}
.text-ready h4{
    font-size: 4vw;
}
.sample-text{
    width:50%;
    line-height: 2.5rem;
    visibility: hidden;
    color: #fff;
    text-align: left;
    border:1px solid #fff;
    transform: translateX(-50%);
    margin:0  10px;
}
/*works 画像が中央時に紹介テキストを表示*/
.slick-center .sample-text{
    visibility: visible;
    border:3px solid #fff;
    animation: mieru 1s 0s ease-in-out forwards;
}
@keyframes mieru{
    0%{
        transform: translateX(-50%);
        opacity: 0;
    }
    100%{
        transform: translateX(0%);
        opacity: 1;
    }
}
.sample h3{
    display: inline-block;
    padding: 2px 5px;
    font-size: 3vw;
    letter-spacing: 0.3rem;
    color: #fff;
    margin: 20px auto;
}
/*-----contact----*/
.contact{
    position: relative;
}
form{
    width:80%;
    margin: 0 auto;
}
.label{
    display: block;
    margin-top: 30px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
}
input,textarea{
    margin:5px 0;
    display: block;
    border: 2px solid rgb(1, 31, 50);
    width:100%;
    font-size: 1.3rem;
    color: black;
}
textarea{
    margin:5px 0;
    display: block;
    border: 2px solid rgb(1, 31, 50);
    width:100%;
    font-size: 1.2rem;
}
.alert{
    color:rgb(238, 31, 31);
    visibility: visible;
}
/*メールアドレスが一致したら*/
.alert.active{
    visibility: hidden;
}
.send-button{
    margin:30px auto;
    padding:10px 20px;
    width:20%;
    font-weight: bold;
}


@keyframes message{
    to{
        display: block;
    }
    from{
        display:none;
    }
}
.thanks p{
    font-size: 3rem;
}
/*-----footer------*/
.footer{
    overflow: hidden; /* 星が枠外にはみ出すのを防ぐ */
    width:100%;
    height:50px;
}
#to-top {
    width: 50px;
    height: 50px;
    background-color: #121212;
    border: solid 1px #fff;
    border-radius: 50%;
    position: fixed;
    right: 25px;
    bottom: 25px;
}
/*中の三角は疑似要素で作成*/
#to-top::after {
    content: "";
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #fff;
    position: relative;
    left: 17px;
    bottom: 3px;
}
.footer p{
    text-align: center;
    font-size: 0.7rem;
    color:#fff;
    padding-top:20px;
}
/*-----confirm-page------*/
.confirm,.complete{
    background-image: linear-gradient(0deg, #00dedc, #115d89, #080f1c); /* 星空の背景色 */
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}
.confirm-area{
    width:80%;
    margin:0 auto;
    color:#fff
}
.confirm-area h2{
    padding-top: 50px;
    font-size: 4vw;
    font-weight: bold;
    text-align: left;
    position: relative;
    letter-spacing: 0.5vw;
    font-family: "Monomaniac One", sans-serif;
    color:#fff;
    text-decoration: underline;
    text-decoration-color: #fff;
    white-space: nowrap;
    overflow: hidden;
}
.confirm-area p{
    font-size: 2vw;
    font-weight: bold;
    padding-top: 20px;
}
.choose{
    margin-top: 50px;
    display: flex;
}
.choose input{
    width:30%;
    font-weight: bold;
    color: #fff;
    background-color: transparent;
    font-size: 2vw;
    font-weight: bold;
    text-align: center;
}
/*-----thank-page------*/

.thanks-page{
    text-align: center;
    color: #fff;
    font-size: 1.3rem;
}
.thanks-page h2{
    font-size: 3vw;
    padding:50px 0 ;
}
.thanks-page p{
    font-size: 1.5vw;
    padding-bottom: 50px;
}
.thanks-squere{
    color: #fff;
}
/*-----sp------*/

/*-----タブレット------*/
@media screen and (max-width: 990px) {
    .pc{
        display: none;
    }
    .sp{
        display: block;
    }
    .sub-title{
        padding:10px 0;
        margin-bottom: 10px;
    }
    .header{
        height:auto;
    }
    .nav-area{
        padding-top: 0;
    }
    .sub-title{
        padding-top: 20px;
    }
    .main{
        width:100%;
    }
    .main-title {
        padding: 0;
    }
    .slide-in{
        width:100%;
        margin-top: 0;
    }
    .slide-in:nth-of-type(2){
        margin-left: 0;
    }
    .img-area{
        padding-left: 0;
    }
    .sample-area{
        width:100%;
        margin: 0 auto;
        flex-direction: column;
    }
    .sample{
        width:100%;
    }
    .sample-img img{
        width:300px;
        height:400px;
        opacity:1;
        border-radius:30px;
        pointer-events: none;
    }
    .about-area{
        display: flex;
        flex-direction: column;
        width:100%;
        height:auto;
        align-items: center;
    }
    .cutting-area{
        height:30%;
    }
    .about-text{
        width:100%;
        font-size: 1rem;
    }
    .send-button{
        padding:0;
    }
    /*-----service------*/
    .slide-in{
        width:90%;
        padding:0;
    }
    .slide-in:nth-of-type(2),.slide-in:nth-of-type(3){
        margin:50px 0 0 0;
    }
    svg{
        width:70px;
        height:70px;
    }
    /*-----work-flow------*/
    .flow-point h4{
        padding: 5px 0;
    }
    .flow-point p{
        padding:5px;
    }
    /*-----works------*/
    .sample-area{
        padding-top: 0;
    }
}
/*-----スマホ------*/
@media screen and (max-width: 401px) {
    .logo{
        display:none;
    }
    .main-title{
        padding: 100px 0;
    }
    svg{
        width:50px;
        height:50px;
    }
    .about-text p{
        padding-bottom: 0;
    }
    .text-area p{
        font-size: 2.5vw;
        padding-top: 0;
    }
    .slide-in:nth-of-type(2),.slide-in:nth-of-type(3){
        margin:3px 0 0 0;
    }

    .flow-area{
        padding-top: 0;
    }
    .flow-point p{
        font-size: 2.5vw;
    }
    .flow-point:nth-child(1):before,.flow-point:nth-child(2):before,.flow-point:nth-child(3):before{
        width: 10px;
        height: 5px;
        right: -12px;
    }
    .flow-point:nth-child(1):after,.flow-point:nth-child(2):after,.flow-point:nth-child(3):after{
        width: 10px;
        height: 10px;
        border-top: 4px solid #fff;
        border-right: 4px solid #fff;
        right: -14px;
    }
    .label{
        margin-top: 5px;
    }
    .pc-img{
        display:none ;
    }
    .sp-img{
        display: block;
    }
    .sp-img{
        margin: 0 auto;
    }
    .sp-img img{
        width:230px;
        height:240px;
    }
    .sample-text{
        display: none;
    }
    .ready::after{
        font-size: 6vw;
        top:20vh;
        left:7vw;
    }
}
