.page .site-content {
  padding-top: 0 !important;
}


.section-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 28px;
  margin: 60px 0 30px;
}

.section-title {
  font-size: 28px !important;
}

.custom-works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.custom-work-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dcdcdc;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.custom-work-item::before {
  content: "";
  display: block;
  height: 4px;
  background: #168e01;
}

.custom-work-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(22, 142, 1, 0.14);
}

.custom-work-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.custom-work-item h3 {
  text-align: center;
  margin: 16px 12px 20px;
  font-size: 24px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  line-height: 1.6;
}

.page .site-content {
  padding-top: 0 !important;
}

.section-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 28px;
  margin: 60px 0 30px;
}

.custom-works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.custom-work-item {
  position: relative;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dcdcdc;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.custom-work-item::before {
  content: "";
  display: block;
  height: 4px;
  background: #168e01;
}

.custom-work-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(22, 142, 1, 0.14);
}

.custom-work-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.custom-work-item h3 {
  text-align: center;
  margin: 16px 12px 20px;
  font-size: 24px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
}

.custom-work-item:hover h3 {
  color: #168e01;
}

.card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  text-indent: -9999px;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 20px !important;
  }

  .custom-works {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .p-header-slider img {
    object-fit: cover;
    object-position: center center !important;
  }
}