@charset "utf-8";
body {
  margin: 0;
}

.portfolio-page {
  background: #000;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  overflow-x: hidden;
  position: relative;
}

.portfolio-page img {
  max-width: 100%;
  display: block;
}

/* HERO */
.portfolio-hero {
  color: #050505;
  padding: 140px 6% 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.6) 1px, transparent 1px),
    linear-gradient(45deg, rgba(0, 0, 0, 0.6) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(
      135deg,
      #f7f7f7 0%,
      #f7f7f7 42%,
      #bfbfbf 49%,
      #222 56%,
      #050505 100%
    );
  background-size:
    42px 42px,
    80px 80px,
    56px 56px,
    cover;
}

.portfolio-kicker {
  color: #4fa3a5;
  letter-spacing: 0.24em;
  font-size: 12px;
  font-weight: bold;
  margin: 0 0 22px;
}

.portfolio-hero h1 {
  font-size: clamp(34px, 7vw, 86px);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 28px;
  line-height: 1.2;
}

.portfolio-lead {
  max-width: 760px;
  font-size: clamp(14px, 2vw, 18px);
  line-height: 2.2;
  margin: 0;
}

/* CATEGORY NAV */
.portfolio-category {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.portfolio-category a {
  color: #fff;
  text-decoration: none;
  padding: 22px 6%;
  font-size: 14px;
  letter-spacing: 0.12em;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.portfolio-category a:hover {
  color: #4fa3a5;
  background: rgba(255, 255, 255, 0.04);
}

/* COMMON SECTION */
.portfolio-section {
  padding: 100px 6%;
}

.section-title {
  margin-bottom: 42px;
}

.section-title span {
  display: block;
  color: #4fa3a5;
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: clamp(26px, 5vw, 56px);
  font-weight: normal;
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin: 0;
}

.section-text {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 2.1;
  font-size: 15px;
  margin: -16px 0 42px;
}

.section-text.narrow {
  max-width: 720px;
}

/* MINI LABEL */
.mini-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
}

.mini-labels span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 4px;
}

/* WORK GRID */
.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px 26px;
}

.work-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.work-item p {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.04em;
}

.work-item img:hover,
.banner-item img:hover {
  filter: brightness(1.12);
}

/* PICKUP */
.portfolio-pickup {
  padding-top: 110px;
}

/* REAL SECTION */
.split-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 960px;
  margin: -16px 0 46px;
}

.split-text p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 2.1;
  font-size: 15px;
  margin: 0;
}

/* DARK FEATURE */
.dark-feature {
  background:
    linear-gradient(90deg, rgba(90, 0, 0, 0.28), rgba(0, 0, 0, 0) 48%), #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.dark-copy {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 2.2;
  font-size: 15px;
  margin: -16px 0 46px;
}

/* BANNER */
.banner-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.banner-item img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.banner-item p {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

/* SIZE */
.portfolio-size {
  padding: 90px 6%;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.portfolio-size h2 {
  font-size: clamp(24px, 4vw, 44px);
  font-weight: normal;
  letter-spacing: 0.12em;
  margin: 0 0 34px;
}

.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.size-row span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid rgba(79, 163, 165, 0.65);
  padding-bottom: 6px;
}

/* CONTACT */
.portfolio-contact {
  padding: 120px 6% 140px;
  text-align: center;
}

.portfolio-contact p {
  color: #4fa3a5;
  letter-spacing: 0.18em;
  font-size: 13px;
  margin: 0 0 18px;
}

.portfolio-contact h2 {
  font-size: clamp(24px, 5vw, 54px);
  font-weight: normal;
  line-height: 1.5;
  margin: 0 0 36px;
}

.portfolio-contact a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.16em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  padding-bottom: 8px;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.portfolio-contact a:hover {
  color: #4fa3a5;
  border-color: #4fa3a5;
}

/* PC */
@media (min-width: 762px) {
  .portfolio-category {
    grid-template-columns: repeat(4, 1fr);
  }

  .portfolio-category a {
    padding: 24px 24px;
    border-top: none;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .works-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .works-grid-large {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-grid-dark {
    grid-template-columns: repeat(4, 1fr);
  }

  .split-text {
    grid-template-columns: 1fr 1fr;
  }

  .banner-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* WIDE */
@media (min-width: 1100px) {
  .portfolio-hero,
  .portfolio-section,
  .portfolio-size,
  .portfolio-contact {
    padding-left: 8%;
    padding-right: 8%;
  }
}

/* ==============================
   Price Table
============================== */

.portfolio-price {
  padding: 100px 6%;
  background: #000;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.price-lead {
  max-width: 820px;
  margin: -16px 0 46px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 2.1;
}

.price-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.price-table,
.option-table {
  width: 100%;
  border-collapse: collapse;
  color: #fff;
}

.price-table th,
.price-table td,
.option-table th,
.option-table td {
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 18px 16px;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.8;
}

.price-table th {
  color: #4fa3a5;
  font-weight: normal;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

.price-table td:nth-child(1) {
  width: 18%;
  font-size: 15px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.price-table td:nth-child(2) {
  width: 14%;
  color: #4fa3a5;
  font-size: 20px;
  white-space: nowrap;
}

.price-table td:nth-child(3) {
  width: 34%;
  color: rgba(255, 255, 255, 0.82);
}

.price-table td:nth-child(4) {
  width: 34%;
  color: rgba(255, 255, 255, 0.68);
}

.price-option {
  margin-top: 70px;
}

.price-option h3 {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: normal;
  letter-spacing: 0.1em;
  margin: 0 0 24px;
}

.option-table th {
  width: 70%;
  text-align: left;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.03);
}

.option-table td {
  width: 30%;
  color: #4fa3a5;
  font-size: 18px;
  white-space: nowrap;
}

.price-notes {
  margin-top: 34px;
}

.price-notes p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.9;
}

/* SP */
@media (max-width: 761px) {
  .portfolio-price {
    padding: 80px 5%;
  }

  .price-table {
    min-width: 860px;
  }

  .price-table th,
  .price-table td,
  .option-table th,
  .option-table td {
    padding: 14px 12px;
    font-size: 13px;
  }

  .price-table td:nth-child(2) {
    font-size: 18px;
  }

  .option-table th,
  .option-table td {
    display: block;
    width: 100%;
  }

  .option-table tr {
    display: block;
    margin-bottom: 0;
  }

  .option-table td {
    border-top: none;
  }
}

footer {
  text-align: center;
  margin-bottom: 30px;
  opacity: 0.6;
}
