@charset "UTF-8";

/*==========================
works-detail-header
==========================*/

.works-detail {
  font-size: 1.4rem;
  letter-spacing: 0.1rem;
}

.works-titleBox {
  margin-top: 70px;
  padding: 50px 2%;
  background-image: linear-gradient(
      to right,
      rgba(198, 196, 193, 0.4) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(198, 196, 193, 0.4) 1px, transparent 1px);
  background-size: 25px 25px;
  background-position: 12px 12px;
}

.works-title {
  width: fit-content;
  margin: 0 auto;
  padding: 1% 2%;
  font-size: 4.6rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1rem;
  color: var(--primary-brown);
  background-color: var(--primary-offwhite);
}

.works-hero-mockup {
  max-width: 800px;
  margin: 50px auto 100px;
  padding: 0 2%;
}

.works-detailBox {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.works-detail--left {
  width: 50%;
  padding-right: 5%;
}

.works-design {
  display: flex;
  justify-content: center;
  gap: 5%;
}

.mockup-pc {
  max-width: 311px;
}

.mockup-sp {
  max-width: 164px;
}

.works-detail--right {
  width: 50%;
}

.works-subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-brown);
  margin-bottom: 5px;
}

.works-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.works-lead {
  font-weight: 600;
  margin-bottom: 35px;
}

.works-section {
  margin-bottom: 35px;
}

.works-client-name {
  font-size: 1.2rem;
}

.works-link a {
  color: #216cf6;
  text-decoration: underline;
}

/* Mobile */
@media screen and (max-width: 767px) {

  .works-titleBox{
    padding: 25px 2%;
  }

  .works-title {
    font-size: 3rem;
  }

  .works-hero-mockup {
    margin: 30px auto 50px;
    padding: 0 var(--contentPadding);
  }

.works-detailBox {
  display: block;
}

.works-detail--left {
  width: 95%;
  padding-right: 0;
  margin-bottom: 30px;
}

.works-detail--right {
  width: 95%;
}

}
