@charset "UTF-8";

/* セクションタイトル */
.section-title {
  color: #373737;
  font-size: clamp(20px, 6vw, 70px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 2px #646364;
}

/* ボタン */
.btn1 {
  max-width: 120px;
  background-color: #fff;
  display: block;
  border: solid 1px #373737;
  font-size: 12px;
  padding: 10px 0;
  text-align: center;
  left: 100%;
  position: relative;
  transform: translateX(-100%);
  z-index: 10;
}
.btn1::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -10;
  background-color: #373737;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease 0.3s;
}
.btn1:hover {
  color: #fff;
  opacity: 1;
}
.btn1:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

.btn2 {
  max-width: 120px;
  background-color: #fff;
  display: block;
  border: solid 1px #373737;
  font-size: 12px;
  padding: 10px 0;
  text-align: center;
  position: relative;
  z-index: 10;
}
.btn2::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -10;
  background-color: #373737;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease 0.3s;
}
.btn2:hover {
  color: #fff;
  opacity: 1;
}
.btn2:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

/* Inview */
.fadein {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1s;
}
.fadein.inview {
  opacity: 1;
  transform: translateY(0);
}

/*-------------------------------------------
Mainvisual
-------------------------------------------*/
.mainvisual {
  height: 780px;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  position: relative;
}
.mainvisual .fade-img img {
  width: 100%;
  height: 780px;
  object-fit: cover;
}
.mainvisual .fade-img li {
  width: 100%;
  position: absolute;
  right: 0;
  opacity: 0;
  animation: fade 15s infinite;
}
.mainvisual .fade-img li:nth-child(1) {
  animation-delay: 0s;
}
.mainvisual .fade-img li:nth-child(2) {
  animation-delay: 5s;
}
.mainvisual .fade-img li:nth-child(3) {
  animation-delay: 10s;
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  45% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.mainvisual .catchphrase {
  font-family: 'M+PLUS+1+Code', sans-serif;
  font-size: 50px;
  color: #373737;
  text-shadow: 2px 2px 3px #646364;
  position: absolute;
  top: 210px;
  left: 6%;
}
.mini-concept {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 100px;
}

/*-------------------------------------------
Office
-------------------------------------------*/
.office {
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 100px;
}
.office .section-title {
  margin-top: 0;
  margin-left: 0;
  position: relative;
  z-index: 10;
}
.office .flex {
  display: flex;
  align-items: flex-start;
}
.office .flex .img {
  width: 65%;
}
.office .flex .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.office .flex .text {
  width: 35%;
  background-color: #e1d1b3;
  padding: 30px 0px 50px 30px;
}
.office .text .title {
  font-family: 'Zen Kaku Gothic New', serif;
  font-size: 24px;
  margin-bottom: 30px;
}
.office .text .description {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.office .text .span {
  text-align:right;
}

/*-------------------------------------------
Works
-------------------------------------------*/
.works {
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 50px;
}
.works .section-title {
  margin-top: 0;
  margin-left: 0;
  position: relative;
  z-index: 10;
}
.works .flex {
  display: flex;
  align-items: flex-start;
}
.works .flex .text {
  width: 40%;
  background-color: #e1d1b3;
  padding: 30px 30px 50px 0px;
}
.works .flex .list {
  width: 60%;
}
.works .text .description {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.works .works-list {
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  margin-top: 0px;
}
.works .works-list li {
  max-width: 700px;
}

/*-------------------------------------------
スマートフォン
-------------------------------------------*/
@media screen and (max-width: 767px) {
  .section-title {
    font-size: 20px;
  }

  /*-------------------------------------------
  Mainvisual
  -------------------------------------------*/
  .mainvisual {
    height: 400px;
    margin-bottom: 10px;
  }
  .mainvisual .fade-img img {
    height: 400px;
  }
  .mainvisual .fade-img li {
    width: 100%;
  }
  .mainvisual .catchphrase {
    color: #fff;
    text-shadow: 1px 1px 1px #646364;
    font-size: 28px;
    top: 300px;
  }
  .mini-concept {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 50px;
}

  /*-------------------------------------------
  Office
  -------------------------------------------*/
  .office {
    margin-bottom: 60px;
  }
  .office .section-title {
    margin-top: 0;
    margin-left: 0;
  }
  .office .flex {
    flex-direction: column;
  }
  .office .flex .img {
    width: 100%;
  }
  .office .flex .img img {
    height: 300px;
  }
  .office .flex .text {
    width: 100%;
    margin-left: 0;
    padding: 20px 20px 20px 0px;
  }
  .office .flex .text .title {
    font-size: 20px;
    margin-left: 0;
    margin-bottom: 20px;
  }
  .office .flex .text .description {
    margin-bottom: 20px;
  }

  /*-------------------------------------------
  Works
  -------------------------------------------*/
  .works {
    margin-bottom: 60px;
  }
  .works .section-title {
    margin-top: 0;
    margin-left: 0;
  }
  .works .flex {
    flex-direction: column;
  }
  .works .flex .text {
    width: 100%;
    margin-left: 0;
    padding: 20px 20px 20px 0px;
  }
  .works .flex .text .title {
    font-size: 20px;
    margin-left: 0;
    margin-bottom: 20px;
  }
  .works .flex .text .description {
    margin-bottom: 20px;
  }
  .works .flex .list {
    width: 100%;
  }
}