@charset "utf-8";

/* =====================================
   WORKS PAGE
===================================== */

/* =========================
   WORKS HERO
========================= */
.service-page-hero {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 120px;
  padding: 20px 6%;

  background: #fafafa;
  overflow: hidden;
}

.service-hero-bg-text {
  position: absolute;
  left: 50%;
  top: 42%;

  transform: translate(-50%, -50%);

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(52px, 9vw, 130px);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;

  color: rgba(239, 151, 71, .08);

  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.service-hero-title {
  position: relative;
  z-index: 2;

  text-align: center;
  margin-top: 45px;
}

.service-hero-title p {
  margin: 0;

  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing: .12em;

  color: #222;
}

/* =========================
   WORKS CATEGORY
========================= */
.works-category {
  padding: 30px 6% 50px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, .05);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.works-category-list {
  max-width: 620px;
  margin: 0 auto;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
}

.works-category-item {
  text-align: center;
  color: #222;
  transition: .3s;
}

.works-category-item svg {
  width: 58px;
  height: 58px;

  stroke: #333;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;

  margin-bottom: 20px;

  transition: .3s;
}

.works-category-item p {
  margin: 0;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .08em;
  color: #333;

  transition: .3s;
}

.works-category-item:hover {
  transform: translateY(-5px);
}

.works-category-item:hover svg,
.works-category-item:hover p {
  color: #ef9747;
  stroke: #ef9747;
}

/* =========================
   WORKS PAGE SECTION
========================= */
.works-page-section {
  padding: 50px 6%;
  background: #fff;
}

.works-category-section {
  max-width: 1200px;
  margin: 0 auto 120px;
  padding: 30px 0 110px;

  border-top: 1px solid #ececec;
}

/* 固定ヘッダーでアンカー位置が隠れないようにする */
#website,
#lp,
#banner {
  scroll-margin-top: 80px;
}

.works-category-section:first-child {
  border-top: none;
}

.works-category-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* =========================
   WORKS SECTION TITLE
========================= */
.works-section-title {
  text-align: center;
  margin-bottom: 50px;
}

.works-section-title span {
  display: block;
  margin-bottom: 8px;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 46px;
  font-weight: 400;
  letter-spacing: .18em;

  color: #ef9747;
}

.works-section-title h2 {
  margin: 0;

  font-size: 18px;
  font-weight: 400;
  letter-spacing: .12em;
  color: #333;
}

/* =========================
   WORKS PAGE LIST
========================= */
.works-page-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.works-page-link,
.works-page-item {
  display: block;
  color: inherit;
}

.works-page-item {
  position: relative;
  text-align: center;
  transition: .35s ease;
}

.works-page-item img {
  width: 100%;
  height: 300px;

  object-fit: contain;
  object-position: center;

  background: #fff;
  transition: .35s ease;
}

.works-page-text {
  padding-top: 22px;
  text-align: center;
}

.works-page-text span {
  display: block;
  margin-bottom: 8px;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: .12em;

  color: #ef9747;
}

.works-page-text h2 {
  margin: 0;

  font-size: 20px;
  font-weight: 500;
  letter-spacing: .06em;

  color: #222;
}

.works-page-text p {
  margin: 12px 0 0;

  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .04em;

  color: #666;
  display: inline-block;
  text-align: left;
}


.works-page-item:hover {
  transform: translateY(-6px);
}

.works-page-item:hover img {
  transform: scale(1.03);
}


/* =========================
   CONTACT
========================= */
.contact {
  padding: 60px 6%;

  background: linear-gradient(135deg, #fffaf0, #fff4f7, #f8fbff);
  text-align: center;
}

.contact-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  width: 320px;
  height: 70px;

  margin-top: 30px;

  border-radius: 999px;
  background: linear-gradient(90deg, #f5e5bd, #f4ddd1, #f0ccdc);

  font-size: 18px;
  letter-spacing: .08em;

  transition: .3s ease;
}

.contact-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}

/* =========================
   WORKS PAGE SP
========================= */
@media (max-width: 768px) {

  .service-page-hero {
    min-height: 140px;
    padding: 25px 6%;
  }

  .service-hero-bg-text {
    top: 40%;
    font-size: clamp(48px, 18vw, 90px);
  }

  .service-hero-title {
    margin-top: 0;
  }

  .service-hero-title p {
    font-size: 17px;
    letter-spacing: .08em;
  }

  .works-category {
    padding: 38px 6%;
  }

  .works-category-list {
    gap: 38px;
  }

  .works-category-item svg {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
  }

  .works-category-item p {
    font-size: 13px;
  }

  .works-page-section {
    padding: 70px 6%;
  }

  .works-category-section {
    margin-bottom: 80px;
    padding: 24px 0 70px;
  }

  .works-section-title {
    margin-bottom: 40px;
  }

  .works-section-title span {
    font-size: 34px;
    letter-spacing: .14em;
  }

  .works-section-title h2 {
    font-size: 16px;
  }

  .works-page-list {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .works-page-item img {
    height: 280px;
  }

  .works-page-text {
    padding-top: 18px;
    padding-bottom: 70px;
  }

  .works-page-text h2 {
    font-size: 19px;
  }

  .works-page-text p {
    font-size: 14px;
  }

  .contact {
    padding: 50px 6%;
  }

  .contact-link {
    width: 100%;
    max-width: 320px;
  }


}

.works-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  margin: 0;

  font-size: 20px;
  font-weight: 500;
  letter-spacing: .06em;
}


.works-arrow {
  width: 32px;
  height: 32px;

  color: #ef9747;
  stroke-width: 2.5;

  transition: .3s;
}

.works-page-item:hover .works-arrow {
  transform: translateX(6px);
}