@charset "utf-8";

/*  font-family: "EB Garamond", serif; */
/*  font-family: "Noto Sans JP", sans-serif; */

body{
  background-color: #fff;
  color: #222;
}

.wrapper{
  max-width: 1440px;
  margin: 0 auto;
}

h2{
  font-family: "EB Garamond", serif;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  padding-bottom: 50px;
}

p,a{
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
}

.sub-copy{
  font-family: "EB Garamond", serif;
  font-size: 20px;
  font-weight: 500;
}

span{
  display: block;
  padding-left: 80px;
}

section{
  margin: 100px auto 0 auto;
}

.button{
  width: 50%;
  margin: 50px auto 0 auto;

  a{
    display: block;
    border-bottom: 1px solid #222;
    color: #222;
    transition: 0.2s;
  }

  a:hover{
    color: orange;
    border-bottom: 1px solid orange;
  }
}


header{
  width: 100%;
  background-color: #22222259;
  padding: 10px;
  position: fixed;
  top: 0;
  z-index: 1000;
  
  h1{
    margin: 0 auto;
    font-size: 40px;
  }

  h1 a{
    text-align: center;
    font-size: 48px;
    display: block;
    color: #fff;


  }


  nav{
    padding: 10px;
    width: 80%;
    margin: 0 auto;

    ul{
      display: flex;
      justify-content: space-evenly;
      gap: 10px;

      li{
        width: calc(100% / 3 -20px);

        a{
          display: block;
          padding: 10px;
          color: #fff;
          border-bottom: 1px solid #fff;
          transition: 400ms;
        }
        a:hover{
          background-color: #fff;
          color: #222;
          border: none;
          border-radius: 2px;
        }
      }
    }
  }
}

.first-view{
  background-image: url(../images/ava-first-view.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
  background-color: #ddd;
  height: 90vh;



  .first-view-copy{
text-align: center;
    padding-top: 30px;
    font-family: serif;
    font-weight: 800;
    font-size: 50px;
    color: #222;

  }
}

.about{
  width: 90%;
  max-width: 1100px;

  .about-inner{
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    .about-inner-txt{
      width: 40%;

      span{
        padding-left: 50px;
      }

      p{
        line-height: 1.5;
        padding: 10px;
      }
    }

    .about-inner-img{
      width: 60%;
      
      img{
        width: 100%;
        overflow: hidden;
      }
    }
  }

}

.business{
  width: 100%;
  padding: 20px;
  background-image: url(../images/business-back.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;

  h2{
    color: #fff;
  }

  ul{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;

    li{
      background-color: rgba(0, 0, 0, 50%);
      width:80%;
      padding: 20px;
      display: flex;
      justify-content: space-between;
      color: #fff;

      .business-number{
        padding-left: 10px;
        padding-right: 10px;
        width: 120px;
        text-align: center;
        color: #fff;
        font-size: 70px;
        align-self: center;
      }

      .business-content{
        width: calc(100% - 120px);

        .sub-copy{
          padding-bottom: 10px;
          font-size: 24px;
        }
      }
    }
    
    li:nth-child(2){
      align-self: flex-end;
      
      .business-number{
        order: 2;
      }
    }
  }
  .button {

    a{
    display: block;
    color: #fff;
    border-bottom: 1px solid #fff;
    }

    a:hover{
    color: orange;
    border-bottom: 1px solid orange;
    }
  }
}

.project{
  width: 100%;

  ul{
    margin: 20px auto;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;

    li{
      width: calc(100% / 3 -20px);

      a{
        display: block;
      }
    }
  }
}

.contact{
  width: 70%;
  
  p{
    text-align: center;
    line-height: 1.5;
    padding: 10px;

    a{
      display: inline-block;
      margin: 0 auto;
      padding: 10px;
      border-radius: 10px;
      background-color: #222;
      color: #fff;
      font-size: 24px;
    }

    a:hover{
      background-color: orange;
    }
  }

}





footer{
  margin-top: 100px;
  padding: 30px 10px 10px 10px;
  background-color: #222;

  h1{
    margin: 0 auto;

    a{
      display: block;
      text-align: center;
    }

    a img{
      width: 150px;
      height: auto;
    }

  }

  p{
    padding-top: 10px;
    padding-left: 5px;
    text-align: center;
    color: #fff;
  }

  nav{
    width: 80%;
    margin: 0 auto;

    ul{
      padding: 20px;

      li{
        padding: 10px;

        a{
          display: block;
          padding: 10px;
          border-bottom: 1px solid #fff;
          color: #fff;
          text-align: center;
        }

        a:hover{
          background-color: #fff;
          border: none;
          color: #222;

        }
      }
    }
  }
}











/* loading画面 */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  background: #999;
}
#loading_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}
.loading-one {
  display: inline-block;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}
.loading-one p.loading-txt {
  color: #fff;
  font-size: 20px;
  letter-spacing: 0.25em;
  line-height: 2.0;
  padding: 2em 0;
}

/*==================
.animation_loading
==================*/

.animation_loading {
  animation: equalizer_loading 7000ms infinite;
  animation-iteration-count: 10;
}
@keyframes equalizer_loading {
  0% {
    width: 70%;
  }
  10% {
    width: 50%;
  }
  20% {
    width: 100%;
  }
  30% {
    width: 10%;
  }
  40% {
    width: 50%;
  }
  50% {
    width: 70%;
  }
  60% {
    width: 50%;
  }
  70% {
    width: 10%;
  }
  80% {
    width: 100%;
  }
  90% {
    width: 10%;
  }
  100% {
    width: 70%;
  }
}

/* ふわっと */
.fadeItem {
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.6s ease-out;
  text-align: center;
  font-size: 24px;
  color: #333;
}

.fadeItem.active {
  opacity: 1;
  transform: translateY(0);
}