@charset "UTF-8";

.page-hero {
  height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../img/works/works-main-visual.jpg");
  display: flex;
  align-items: center;
  color: var(--white);
}

.page-hero-inner {
  height: 100%;
  display: flex;
  align-items: center;
}

.page-hero-content {
  color: var(--white);
  max-width: 500px;
}

.page-hero-en {
  color: var(--corporate-color);
  margin: 20px 0;
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 500;
}

.page-hero-title {
  font-size: clamp(40px, 4.5vw, 72px);
  line-height: 1.2;
  margin-bottom: 15px;
}

.page-hero-copy {
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.7;
  margin-bottom: 30px;
}

.page-hero-text {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 50px;
}

.breadcrumb {
  display: flex;
  gap: 15px;
  font-size: 13px;
}

.works-section {
  padding: 100px 0 50px;
}

.works-head {
  text-align: center;
  margin-bottom: 70px;
}

.works-head h2 {
  margin: 0;
  font-size: clamp(34px, 3vw, 52px);
  color: var(--blue);
}

.works-list {
  width: 100%;
}

.works-item {
  display: grid;
  grid-template-columns: 505px 1fr;
  gap: 55px;
  align-items: center;
  padding-bottom: 45px;
  margin-bottom: 45px;
  border-bottom: 1px solid #d5d5d5;
}

.works-item:last-child {
  border-bottom: none;
}

.works-images {
  display: flex;
  gap: 5px;
  width: 505px;
}

.works-image {
  position: relative;
  width: 250px;
  height: 320px;
  overflow: hidden;
}

.works-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works-image span {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 6px 12px;
  background: var(--blue-deep);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.works-content {
  min-width: 0;
}

.works-content h3 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 0;
  padding: 8px 14px;
  background: var(--gray);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  color: var(--blue);
  line-height: 1.4;
}

.works-content h3 img {
  flex: 0 0 45px;
  width: 45px;
  height: 50px;
  object-fit: contain;
}

.works-detail {
  display: flex;
  align-items: center;
  background: var(--blue-deep);
  color: var(--white);
  padding: 9px 14px;
  margin-bottom: 22px;
}

.works-detail p {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.works-detail strong {
  display: flex;
  align-items: center;
  align-self: stretch;
  flex-shrink: 0;
  margin-right: 10px;
  padding-right: 10px;
  border-right: 1px solid var(--white);
  font-weight: 700;
  white-space: nowrap;
}

.works-point {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 15px;
  align-items: start;
}

.works-point strong {
  white-space: nowrap;
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
}

.works-point p {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  text-align: justify;
  color: var(--sumi);
}

.works-anchor {
  position: relative;
  top: -120px;
  height: 0;
  margin: 0;
  padding: 0;
}

@media (max-width: 1200px) {
  .works-item {
    grid-template-columns: 505px 1fr;
    gap: 35px;
  }
}

@media (max-width: 900px) {
  .works-item {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .works-images {
    width: 100%;
    max-width: 505px;
    margin: 0 auto;
  }

  .works-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-hero {
    height: 550px;
    display: flex;
    align-items: center;
    background-image: url("../img/works/sp/sp-works-main-visual.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .page-hero-inner {
    height: 100%;
    display: flex;
    align-items: center;
  }

  .page-hero-content {
    max-width: 330px;
  }

  .page-hero-en {
    margin: 0 0 8px;
    font-size: 16px;
  }

  .page-hero-title {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 20px;
  }

  .page-hero-copy {
    font-size: 22px;
    line-height: 1.45;
    margin-bottom: 24px;
  }

  .page-hero-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 34px;
  }

  .breadcrumb {
    font-size: 13px;
    gap: 12px;
  }

  .works-section {
    padding: 70px 0 0px;
  }

  .works-head {
    margin-bottom: 45px;
  }

  .works-item {
    gap: 25px;
    padding-bottom: 35px;
    margin-bottom: 35px;
  }

  .works-images {
    gap: 4px;
    max-width: 100%;
  }

  .works-image {
    width: calc(50% - 2px);
    height: auto;
    aspect-ratio: 250 / 320;
  }

  .works-content h3 {
    gap: 12px;
    min-height: 45px;
    font-size: 22px;
  }

  .works-content h3 img {
    flex-basis: 40px;
    width: 40px;
    height: 45px;
  }

  .works-detail {
    margin-bottom: 20px;
    padding: 8px 10px;
  }

  .works-point {
    gap: 10px;
  }

  .works-point p {
    line-height: 1.9;
  }
}

@media (max-width: 540px) {
  .works-section {
    padding: 60px 0 0;
  }

  .works-content h3 {
    gap: 10px;
    font-size: 20px;
  }

  .works-content h3 img {
    flex-basis: 36px;
    width: 36px;
    height: 40px;
  }

  .works-point {
    gap: 8px;
  }

  .works-point p {
    font-size: 15px;
  }

  .works-point strong {
  font-size: 15px;
}
}