html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fafaf7;
  color: #080808;
  font-family: "Shippori Mincho", serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #080808;
  text-decoration: none;
}
a:hover {
  color: #005f73;
}
::selection {
  background: #080808;
  color: #fafaf7;
}

.hero {
  position: relative;
  height: 92vh;
  min-height: 620px;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
}
.hero-cut {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 16vh;
  background: #fafaf7;
  clip-path: polygon(0 62%, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.hero-logo {
  position: absolute;
  top: 10%;
  left: 8%;
  pointer-events: none;
}
.kfc {
  position: relative;
  display: inline-block;
}
.kfc-text {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(84px, 11vw, 148px);
  line-height: 1;
  letter-spacing: 0.06em;
  color: #080808;
}
.kfc-line {
  position: absolute;
  left: -14%;
  bottom: 28%;
  width: 148%;
  height: 2px;
  background: linear-gradient(
    90deg,
    #005f73 0%,
    #1e8a64 55%,
    #3db54a 100%
  );
  transform: rotate(-17deg);
  transform-origin: left center;
}
.brand-1 {
  margin-top: 26px;
  font-size: clamp(17px, 2.2vw, 26px);
  letter-spacing: 0.42em;
  font-weight: 500;
}
.brand-2 {
  margin-top: 10px;
  font-size: clamp(13px, 1.7vw, 20px);
  letter-spacing: 0.42em;
  font-weight: 500;
}
.brand-rule {
  margin-top: 34px;
  width: 128px;
  height: 2px;
  background: linear-gradient(
    90deg,
    #005f73 0%,
    #1e8a64 55%,
    #3db54a 100%
  );
}

.section-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-align: center;
}
.section-rule {
  width: 64px;
  height: 2px;
  background: linear-gradient(
    90deg,
    #005f73 0%,
    #1e8a64 55%,
    #3db54a 100%
  );
  margin: 22px auto 0;
}

.portfolio {
  padding: 110px 48px 90px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: center;
  max-width: 1120px;
  margin: 80px auto 0;
}
.portfolio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 24px;
  transition: opacity 0.3s;
}
.portfolio-card:hover {
  opacity: 0.65;
}
.portfolio-logo {
  display: block;
  width: 200px;
  max-width: 100%;
  height: 140px;
  object-fit: contain;
}
.portfolio-card span {
  font-size: 14px;
  letter-spacing: 0.22em;
  color: #080808;
}
.portfolio-divider {
  width: 1px;
  height: 180px;
  background: rgba(8, 8, 8, 0.18);
  justify-self: center;
}

.company {
  padding: 90px 48px 130px;
}
.company-table {
  max-width: 760px;
  margin: 72px auto 0;
  border-top: 1px solid rgba(8, 8, 8, 0.14);
}
.company-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 26px 8px;
  border-bottom: 1px solid rgba(8, 8, 8, 0.12);
  font-size: 15px;
  letter-spacing: 0.1em;
}
.company-row dt {
  margin: 0;
  color: #6f6f6a;
  font-weight: 400;
}
.company-row dd {
  margin: 0;
  line-height: 1.9;
}

footer {
  background: #080808;
  color: #fafaf7;
  text-align: center;
  padding: 34px 24px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
}

@media (max-width: 860px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .portfolio-divider {
    width: 180px;
    height: 1px;
  }
}

@media (max-width: 720px) {
  .company-row {
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 13.5px;
    letter-spacing: 0.04em;
  }
  .company-row dt {
    font-size: 12px;
    letter-spacing: 0.14em;
  }
  .company-row dd {
    white-space: nowrap;
  }
  .portfolio,
  .company {
    padding-left: 24px;
    padding-right: 24px;
  }
}
