/*＝＝＝＝＝＝ メイン画面＝＝＝＝＝＝ */
.main-img{
    background-image:url(../img/main.png) ;
    background-repeat:no-repeat;
    width: clamp(0px, 1400 / 1440 * 90vw, 1400px);
    height: clamp(0px, 875 / 1440 * 80vw, 875px);
    background-position: left;
    background-size:cover;   
    position: relative;
}

.main-text{
    width: 100;
    position: absolute;
    top: 43%;
    right: 5%;
}
/* 文字アニメーション */
.blur{
    font-size: clamp(75px, 100 / 1440 * 100vw, 100px);
    letter-spacing: 0.025em;
    animation-name:blurAnime;
    animation-duration:2.5s;
    animation-fill-mode:forwards;
  }
  
  @keyframes blurAnime{
    from {
    filter: blur(10px);
    transform: scale(1.02);
    opacity: 0;
    }
  
    to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
    }
  }
   
  .blurTrigger{
      opacity: 0;
  }

/* ＝＝＝＝＝＝自己紹介部分＝＝＝＝＝＝ */
#about{
    margin-bottom: 60px;
}
h2{
    display:inline-block;
    font-size: 28px;
    padding: 0 20px;
    margin-top: 100px;
    background-image: repeating-linear-gradient(-45deg, 
    #fcf69f 0, #fcf69f 2px, 
    transparent 2px, transparent 4px 
  );
  background-repeat: no-repeat;
  background-position: left bottom; 
  background-size: 100% 0.5em; 
}
.double{
    text-align: center;

}


.about-container{
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img{
    width: 250px;
}

.name {
    font-size: 24px;
    margin-bottom: 15px;
}

.name span{
    font-size: 15px;
}

.about-text{
    font-size: 15px;
    line-height: 1.5;
    letter-spacing:0.2em; 
    
}

/* ＝＝＝＝＝コンセプト＝＝＝＝＝ */
#concept{
    background-color: #FAFAFA;
}
.concept-h2{
    padding: 40px 0 0 0;
    margin-top: 0;
}

.concept-title{
    display: flex;
    justify-content: center;
    align-items: center;
}
h3{
    width: 500px;
    font-size: 22px;
    letter-spacing: 0.2em;
    text-align: right;
    line-height:100px;
}

    
.concept-title img{
    width: 130px;
}

.concept-text{
    font-size: 15px;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.2em;
    padding-bottom: 40px;
}


/* ＝＝＝＝＝サービス＝＝＝＝＝ */
#service{
    width:100%;
    margin: 0 auto;
}
.service-ul{
    display: flex;
    justify-content: space-between;
    margin-top: 60px;

}

#service li{
    width: 30%;
    height: 400px;
    background-color:#E7DB73;
    text-align: center;
    border-radius:10px;
    padding: 40px 0 0 0;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .1);
}

.maru{
    background-color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: inset 0 2px 5px 0 rgba(0, 0, 0, .25);
    display: block;
    margin: 0 auto;

    
}


.service-img{
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin:60px 0 60px 0;
    
    
} 
.service-img2{
    width: 33%;
    display: none;
    margin-right: 5%;
}

.service-name{
    color: white;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 15px;
}

.service-text{
    color:white;
    font-size: 13px;
    letter-spacing: 0.1em;
    line-height: 1.5;
}
.hoverーtext{
    display: none;
}
.material-box{
    display: none;
}

/* ホバーした時 */
#service li:hover{
    background-color: rgba(0,0,0,0.2);
}

#service li:hover .service-text{
    display: none;
   }

#service li:hover .hoverーtext{
    display: block;
    color:white;
    font-size: 18px;
    letter-spacing: 0.1em;
}

#service li:hover .service-btn{
    display: inline-block;
    width: 180px;
    border:  solid 1px white;
    border-radius: 5px;
    font-size: 15px;
    line-height: 2;
    margin-top: 20px;
    text-align: center;
}



/* ＝＝＝＝＝実績部分＝＝＝＝＝ */
#works{
    margin-top: 20px;
}
.slider {
    width:100%;
    height: 45vh;
    margin-top: 60px;
}

.slider img {
    width:40vw;
    height:45vh;
    object-fit:contain ;
    border: 1px solid;
    border-radius: 5px;
    padding: 1% 2%;
}
.slider img:hover{
    opacity: 0.5;
}

.slider .slick-slide {
  transform: scale(0.9);
  transition: all .5s;
}

.slider .slick-slide.slick-center{
  transform: scale(1);
  opacity: 1;
}

.slick-dots {
    bottom: -40px;
}
.view-more{
    width: 180px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid;
    border-radius: 5px;
    font-size: 15px;
    letter-spacing: 0.1em;
    margin: 70px auto 0 auto;
}
.view-more:hover{
    color: white;
    background-color: #8B8B8E;
}

/* ＝＝＝＝お問い合わせ＝＝＝＝＝ */
.form-container{
    background-color: #FAFAFA;
    border-radius: 10px;   
    margin-bottom:100px; 
    margin-top: 20px;
}
.form-title{
    font-size:20px;
    font-weight:bold;
    letter-spacing: 0.2em;
    text-align: center;
    padding: 50px 0 15px 0;
    margin-top: 60px;
}
.form-sub{
    font-size: 15px;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.1em;
}
.form{
    width: 60%;
    margin: 0 auto;
    padding-bottom: 20px;
}
label{
    display: block;
    font-size: 15px;
    text-align: center;
    color: white;
    width: 150px;
    height: 30px;
    line-height: 30px;
    border-radius: 5px;
    background-color: #E7DB73;
}

input[type="text"],input[type="email"]{
    color: black;
    display: block;
    width: 100%;
    height: 40px;
    background-color: white;
    border: solid 1px #8B8B8E;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 35px;
    padding-left: 20px;
}



input[type="submit"]{
    display: block;
    width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: white;
    border:solid 1px;
    border-radius: 5px;
    margin: 60px auto;
}
input[type="submit"]:hover{
    color: white;
    background-color:#8B8B8E;
    border:none;
}
textarea{
    display: block;
    width: 100%;
    height: 120px;
    background-color: white;
    border: solid 1px #8B8B8E;
    border-radius: 5px;
    padding:10px 20px;
    margin-top:5px;
}

::placeholder {
    color: #b2b2b2;;
  }





@media screen and (max-width:850px) {

    
    /* 文字アニメーション */
    .blur{
        font-size: clamp(24px, 75 / 850 * 100vw, 75px);
        letter-spacing: 0.025em;
        animation-name:blurAnime;
        animation-duration:2.5s;
        animation-fill-mode:forwards;
      }
      
      @keyframes blurAnime{
        from {
        filter: blur(10px);
        transform: scale(1.02);
        opacity: 0;
        }
      
        to {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
        }
      }
       
      .blurTrigger{
          opacity: 0;
      }

    
    /* about */
    .about-container{
        display: block;
        text-align: center;
    }
    
    .about-img{
        width: 180px;
        margin-top: 20px;
    }
    
    .name {
        margin-bottom: 30px;
    }
    
    .name span{
        font-size: 13px;
    }
    
    .about-text{
        width: 90%;
        font-size: 15px;
        text-align: justify;
        line-height: 1.8;
        margin: 0 auto;
    }
    .about-br{
        display: none;
    }

    /* コンセプト */
    .concept-h2{
        padding-top: 60px;
        margin-top: 0px;
        margin-bottom: 30px;
    }
    
    .concept-title{
        flex-wrap: wrap;
        text-align: center;
    }
    h3{
        width:100%;
        font-size: 22px;
        text-align: center;
        order: 2;
    }
    
        
    .concept-title img{
        width: 130px;
        order: 1;
    }
    
    .concept-text{
        width: 85%;
        text-align: justify;
        padding-bottom: 60px;
        margin: 0 auto;

    }
    
    .concept-br{
        display:none;
    }
    
    /* service */
    .service-ul{
        display: block;
        justify-content: space-between;
        margin: 60px auto 0 auto;
        width: 90%;
    
    }
    
    #service li{
        width: 100%;
        height: 20vh;
        background-color:transparent;
        text-align: center;
        padding: 0;
        box-shadow:none;
        border-radius: 0;
        margin-bottom: 10px;
        border-bottom: solid 1px;
    }
   
    
    .service-box{
        height: 20vh;
        display: flex;
        justify-content: center;
        align-items: center;
       
    }
    
    .maru{
        display: none;
    
        
    }
    
    .service-img2{
        display: block;
        width: 7vh;
        height: 7vh;
        object-fit: contain;
        
    }
    
    .service-img{
        display: none;
        
    } 
    .service-textbox{
        width: 60%;
        margin-left:5%;
    }
    .service-name{
        color:#8B8B8E;
        font-weight: normal;
        font-size: 24px;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .service-text{
        color:#8B8B8E;
        font-size: 13px;
        line-height: 1.3;
        text-align: center;

    }
    .service-spbtn{
        border: 1px solid;
        border-radius: 5px;
        font-size: 13px;
        margin-top: 10px;
        padding: 2.5px;
    }

    .material-box{
        display: block;
        margin-left: 5%;
    }    

    /* ホバーした時 */
    #service li:hover{
        background-color:transparent;
    }

    #service li:hover .service-text{
        display: block;
    }

    #service li:hover .hoverーtext{
        display:none;
    }

   

    /* works */
    #works{
        width: 90%;
        margin: 20px auto 0 auto;
    }
    .slider {
        width:100%;
        height: 40vh;
        margin-top: 60px;
    }
    
    .slider img {
        height:35vh;
    }
    
    .slick-dots {
        bottom: 0px;
    }
    .view-more{
        margin: 0px auto ;
    }

    /* もっと見るボタンは共有部分に */


    /* コンタクト */

    .form-container{
        background-color: #FAFAFA;
        border-radius: 10px;   
        margin-bottom:100px; 
    }
    .form{
        width: 90%;
    }
}

@media screen and (max-width:415px) {
    
.slider img {
    width: 100%;  
}
.slider {
    margin-top: 40px;
}
.slider .slick-slide {
    transform: scale(1);
  }
}

@media screen and (max-width:500px) {
    .main-img{
        background-image:url(../img/main2.png) ; 

        width: clamp(0px, 375 / 375 * 100vw, 375px);
        height: clamp(0px, 800 / 375 * 60vw, 800px);
        background-color: antiquewhite;
        background-position:left; 
    }
    .blur{
        font-size: clamp(30px, 45 / 375 * 100vw, 45px);
      }
    h3{
        font-size: 18px;
    }

    #service li{
        width: 95%;
        margin: 0 auto;
    }

    .service-img2{
        width: 6vh;
        height: 6vh;
        margin-right: 10px;
    }
    .service-textbox{
        width: 65%;
        margin-left:5%;
    }
    .material-box{
        margin-left: 3%;
    }   
    .service-name{
        text-align: left;
    }
    
    .service-text{
        text-align: left;
    } 
   
    .form-title{
        margin-top: 40px;
        padding: 40px 0 10px 0;
    }

}