@charset "utf-8";

body {
  font-family: "Noto Sans JP";
  font-optical-sizing: auto;
  font-size: 16px;
  font-weight: 400;
  background-image: url(../images/body-background-img.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

ul{
    padding: 0;
    list-style: none;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-left{
    padding: 20px 0;
    margin-left: 10%;
}

.nav-left img{
    width: 80%;
}

.nav-right ul{
    display: flex;
    align-items: center;
    margin-right: 100px;
    margin-bottom: 0;
}

.nav-right li{
    margin-left: 3.5rem;
    font-weight: 500;
    font-size: clamp(0.813rem, 0.19rem + 1.05vw, 1.5rem);
    color: #333333;
}

.nav-right li a:hover {
    color: #962224;
}

a .instagram:hover{
    color: #962224;
}

a{
    text-decoration: none;
    color: #333333;
}

.catchcopy-box{
    background: url(../images/header-background.jpg) no-repeat;
    background-position: 70% 50%;
    background-size: cover;
    height: 800px;
    display: flex;
    justify-content: left;
    align-items: center;
}

h1 img{
    animation: fadeIn 2s ease forwards;
    max-width: 100%;
    height: auto;
    width: 90%;
}


.message-box{
    max-width: 1000px;
    max-height: 500px;
    margin-top: 80px;
    margin-bottom: 120px;
    letter-spacing: 2px;
    line-height: 1.8rem;
}

.brown-title{
    text-align: left;
    font-size: 2rem;
    font-weight: 700;
    color: #333333;
    letter-spacing: 2.5px;
}

.message-small{
    font-size: 0.8rem;
}

.brown-border{
    border: solid 0.5px #333333;
    justify-content: left;  
    width: 80%;
    margin-left: -50%;
}

.message-row{
    display: flex;
    align-items: center;
}

.message-text{
    display: flex;
    align-items: center;
    height: 100%;
}

.message-img-box{
    text-align: right;
}

.message-img{
    height: 250px;
    object-fit: cover;
}

#business{
   position: relative;
   max-width: 1000px;
   margin: 0 auto;
   width: 100%;
   max-height: fit-content;
   margin-bottom: 20%;
}

.business-background{
   position: relative;
   max-width: 80%;  
   z-index: 0;
}

.business-overlay{
    position: absolute;
    background-color: rgba(51, 51, 51, 0.95);
    padding: 5%;
    margin: -20% auto 0 10%;
    justify-content: flex-end;
    z-index: 1;
}


.white-title{
    text-align: left;
    padding-top: 10px;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 2.5px;
}

.white-border{
    border: solid 0.5px #fff;
    justify-content: right;  
    width: 100%;
}

.tags{
    max-width: 100%;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
    line-height: 3rem;
    color: #333333;
    font-weight: 500;
}

.tags span{
    background-color: #fff;
    margin-right: 15px;
    padding: 5px 10px;
    letter-spacing: 1.5px;
}

.business-text{
    color: #fff;
    align-items: center;
    letter-spacing: 2px;
    line-height: 1.8rem;
}

.works{
    max-width: 1000PX;
    width: 100%;
    margin-bottom: 12%;
}

.works-list{
    width: 100%;
    margin-top: 50px;
    margin: 0 auto;
}


.recruit{
    max-width: 1000px;
    width: 100%;
    margin: 5% auto;
    padding: 5% 5% 3% 5%;
    background-color: #fff;
    box-shadow: -70px -50px 0px 0 #686868;
}

.recruit-brown-border{
    border: solid 0.5px #333333;
    justify-content: right;  
    width: 100%;
}

.recruit p{
    width: 100%;
    letter-spacing: 1.5px;
    line-height: 180%;
}

.recruit a{
    display: inline-block;
    text-align: right;
    margin-top: 5%;
}

.recruit-button{
    width: 40%;
    display: inline-block;
    overflow: visible;
    animation: fadeIn 2s ease infinite;
}

#about{
    background-color: #333333;
    padding: 0;
} 

.about-title{
    max-width: 1000px;
    padding-top: 5%;
}

.about-white-title{
    text-align: left;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2.5px;
}

.about-white-border{
    border: solid 0.5px #fff;
    justify-content: left;  
    width: 80%;
    margin-left: -50%;
}

.about-box{
    max-width: 1000px;
    padding: 3% 5% 5% 0;
}

.about-text1,.about-text2{
    color: #fff;
    align-items: center;
    padding: 20px auto;
    letter-spacing: 1px;
    font-size: clamp(0.625rem, 0.551rem + 0.37vw, 0.875rem);
}

.about-text1 li,.about-text2 li{
    padding-top: 3px;
    padding-bottom: 3px;
}

.about-text1{
    text-align: right;
}

iframe{
    height: 90%;
    width: 100%;
}

.footer{
    height: 80px;
}

.copyright{
    text-align: center;
    padding: 30px;
    margin-bottom: 0;
}


/* アニメーション */
@keyframes fadeIn{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}


/* レスポンシブ */

@media screen and (max-width:960px){

    nav{
        position: initial;
        height: 50px;
        justify-content: center;
        padding-top: 10px;
    }
    
    .nav-right{
        display: none;
     }

    .nav-left{
        padding: 10%;
        margin-left: 0;
        text-align: center;
    }

    .nav-left img{
        width: 50%;
    }

    #business{
        margin-bottom: 30%;
    }

    .business-background{
        max-width: 90%;  
    }

    .business-overlay{
        margin: -25% auto 0 5%;
    }
}


@media screen and (max-width:768px){

   p{
        font-size: 14px;

    }
   .catchcopy-box{
        height: 600px;
    }


    .brown-title{
        font-size: 28px;
    }

    .brown-border{
        width: 120%;
    }

    .white-title{
        font-size: 28px;
    }

    .about-white-border{
        width: 120%;
    }

    .message-img-box{
        text-align: center;
    }

    .message-box{
        letter-spacing: 1px;
        line-height: 1.5rem;
    }
    

    #business{
        margin-bottom: 25%;
    }

    .business-overlay{
        padding: 3%;
        margin: -25% auto 0 5%;
    }

    .tags{
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .tags span{
        margin-right: 5px;
        padding: 3px 5px;
        letter-spacing: px;
    }

    .business-text{
        letter-spacing: 1px;
        line-height: 1.3rem;
    }

    .recruit{
        margin: 20% auto 0 auto;
        padding: 5% 5% 10% 5%;
        background-color: #fff;
        box-shadow: -30px -20px 0px 0 #B9B6B8;
    }


    .recruit p{
        letter-spacing: 1.5px;
        line-height: 150%;
    }

    .recruit a{
        text-align: center;
    }
    
    .recruit-button {
        width: 50%;
    }

   .about-box-left{
    width: 100%;
   }

    .about-list{
        padding-bottom: 0;

    }

    .about-text1,.about-text2{
        padding: 0;
        letter-spacing: 1px;
    }

    .about-text li{
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .about-map{
        width: 60%;
        height: 8%;
        position: relative;
        padding-top: 56.25%;
        padding-bottom: 20px;
    }

    iframe{
        position: absolute;
        top: 0;
        left: 10%;
        width: 145%;
        height: 80%;
    }

    .copyright{
        text-align: center;
        font-size: 12px;
        padding: 20px;
    }
  

}


@media screen and (max-width:598px){

    .catchcopy-box{
        height: 400px;
    }
    
    .message-box{
        margin-top: 30px;
    }

    .brown-title{
        font-size: 1.5rem;
        letter-spacing: 2.5px;
        padding-top: 1rem;
    }

    .white-title,.about-white-title{
        padding-top: 1rem;
        font-size: 1.5rem;
        letter-spacing: 2.5px;
    }
    
    #business{
        position: initial;
        margin: 15% auto;
    }

    .business-background{
        position: initial;
        display: none; 
    }

    .business-overlay{
        position: initial;
        background-image: url(../images/business-img);
        background-size: cover;
        padding: 5%;
        margin: 0;
        justify-content: center;
    }

    .tags{
        display: flex;
        flex-wrap: wrap; 
        gap: 0.5em;
        line-height: 1.2;
    }
      
      .tags span {
        max-width: calc(80% - 0.5em);

      }

    .business-text{
        line-height: 1.5em;
    }

    .works-img{
        text-align: center;
        margin-bottom: 1rem;
    }

    .recruit-button {
        width: 70%;
    }
}


/* ハンバーガー */
#drawer {
    position: sticky;
    top: 10px;
    left: 10px;
    z-index: 60;
    padding-left: 10px;
    margin-top: -35px;
    padding-bottom: 12px;

  }

  .unshown {
    display:none;
  }
  #open {
    display: inline-block;
    width: 30px;
    height: 22px;
    vertical-align: middle;
  }
  #open span, #open span::before, #open span::after {
    position: absolute;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #555;
    display: block;
    content: "";
    cursor: pointer;
  }
  #open span::before {
    bottom: -8px;
  }
  #open span::after {
    bottom: -16px;
  }
  #close {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
  }
  #menu-content {
    overflow: visible;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 90%;
    max-width: 230px;
    height: 100%;
    padding-top: 30px;
    background: #fff;
    transition: .3s ease-in-out;
    transform: translateX(-105%);
  }
  #menu-content li{
    padding: 20px;
    text-align: center;
    font-weight: 500;
  }
  #input:checked ~ #close {
    display: block;
    opacity: .5;
  }
  #input:checked ~ #menu-content {
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
  }
  
  @media screen and (min-width:961px) {
    #open {
      display:none;
    }
  }