/*
  Page-specific styles for /service/. Shared reset, tokens, header, footer
  and the reveal-animation system live in /common/css/base.css.
*/

:root {
  --muted2: #827a6e;
  --ink2: #26231c;
  --line2: #d9d0bf;
  --plus: #7d7465;
}

body {
  color: var(--ink2);
}

.kicker-muted {
  color: var(--muted2);
}

h2 {
  font-size: 42px;
  line-height: 82.56px;
  letter-spacing: 3.6px;
  color: var(--ink2);
}
p {
  font-size: 15px;
  line-height: 35.25px;
  letter-spacing: 0.56px;
  color: var(--ink2);
}

.block {
  width: 1120px;
  max-width: 86vw;
}

/* sv-hero */
.sv-hero {
  position: relative;
  height: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}
.sv-hero-bg {
  position: absolute;
  inset: -3.33% 0;
  height: 106.67%;
}
.sv-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sv-hero-filter {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 34, 30, 0.15), rgba(3, 34, 30, 0.64));
}
.sv-hero-copy {
  position: relative;
  width: 980px;
  max-width: 84vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23.2px;
}
.sv-hero-copy .kicker {
  color: #edf4f0;
  text-align: center;
  margin: 0;
}
.sv-hero h1 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 42px;
  line-height: 1.5;
  letter-spacing: 4px;
  color: #fff;
  text-align: center;
}
.sv-hero h1 .en {
  font-family: "Avenir", "Avenir Next", Arial, sans-serif;
}
.sv-hero-lead {
  font-size: 15px;
  line-height: 35.25px;
  letter-spacing: 0.56px;
  color: #fff;
  text-align: center;
}
.sv-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: "Host Grotesk", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #fff;
}
.sv-scroll span {
  display: block;
  width: 1px;
  height: 52px;
  background: #fff;
}

/* sv-project */
.sv-project-grid {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.sv-project-title {
  flex: 1;
  position: sticky;
  top: 100px;
}
.sv-project-title h2 {
  margin-top: 22.8px;
}
.sv-project-body {
  width: 601px;
  max-width: 56%;
  display: flex;
  flex-direction: column;
  gap: 29.1px;
}

/* sv-photo-band */
.sv-photo-band {
  position: relative;
  min-height: 612px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  padding: 60px 0;
}
.sv-photo-band-bg {
  position: absolute;
  inset: 0;
}
.sv-photo-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sv-photo-band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 34, 30, 0.15), rgba(3, 34, 30, 0.62));
}
.sv-photo-band-copy {
  position: relative;
  width: 684px;
  max-width: 84vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
}
.sv-photo-band-copy .kicker {
  text-align: center;
  margin: 0;
}
.sv-photo-band-copy h2 {
  color: #fff;
  text-align: center;
  white-space: nowrap;
}

/* sv-overview */
.sv-overview-head {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 78px;
}
.sv-overview-title h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.5;
}
.sv-overview-lead {
  max-width: 680px;
  font-size: 15px;
  line-height: 2.15;
  margin: 0;
}

.sv-program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.sv-program {
  position: relative;
  background: var(--base);
  border: 1px solid rgba(20, 20, 20, .08);
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(7, 61, 52, .07);
}
.sv-program:nth-child(2),
.sv-program:nth-child(4) {
  margin-top: 70px;
}
.sv-program-media {
  height: 260px;
  position: relative;
  overflow: hidden;
}
.sv-program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sv-program-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(7, 61, 52, .35));
}
.sv-program-body {
  padding: 34px 34px 40px;
}
.sv-program-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 22px;
}
.sv-program-num {
  font-family: "Baskerville", serif;
  font-size: 74px;
  line-height: .8;
  color: var(--sand);
}
.sv-program-time {
  font-family: "Host Grotesk", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1.8px;
  color: var(--green);
  border-bottom: 1px solid var(--green);
  padding-bottom: 5px;
  white-space: nowrap;
}
.sv-program h3 {
  margin: 0 0 6px;
  font-size: 27px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--green);
  letter-spacing: normal;
}
.sv-program ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.sv-program li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 2;
}
.sv-program li strong {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 2px;
}
.sv-program-note {
  margin-top: 22px;
  padding: 18px 20px;
  background: rgba(7, 61, 52, .055);
  border-left: 3px solid var(--green);
  font-size: 15px;
  line-height: 2;
}

.sv-data-band {
  margin-top: 92px;
  background: var(--green);
  color: #fff;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 480px;
}
.sv-data-photo {
  min-height: 480px;
  overflow: hidden;
}
.sv-data-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sv-data-copy {
  padding: 68px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sv-data-copy h3 {
  margin: 0 0 24px;
  font-size: 40px;
  line-height: 1.55;
  font-weight: 300;
  color: #fff;
}
.sv-data-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 2.15;
  color: rgba(255, 255, 255, .88);
}

/* sv-office */
.sv-office {
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
}
.sv-office-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: 80px;
  margin-top: 24px;
}
.sv-office-name h2 {
  font-size: 30px;
  line-height: 51.6px;
  letter-spacing: 2.25px;
  margin-bottom: 27.1px;
}
.sv-office-text p {
  margin-bottom: 34.75px;
}
.sv-office-text p:last-child {
  margin-bottom: 0;
}

/* sv-gallery */
.sv-gallery {
  padding: 80px 0;
  overflow: hidden;
}
.sv-gallery-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: gallery-scroll 32s linear infinite;
}
.sv-gallery:hover .sv-gallery-track {
  animation-play-state: paused;
}
.sv-gallery-item {
  height: 230px;
  width: 360px;
  flex-shrink: 0;
  overflow: hidden;
}
.sv-gallery-item:nth-child(5n + 3) {
  width: 384px;
}
.sv-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1944px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .sv-gallery-track {
    animation: none;
  }
}

/* sv-closing */
.sv-closing {
  display: flex;
  flex-direction: column;
  gap: 33.3px;
}

/* responsive */
@media (max-width: 1000px) {
  .sv-hero h1 {
    font-size: 34px;
    line-height: 1.35;
  }
  .sv-project-grid {
    flex-direction: column;
  }
  .sv-project-title {
    position: static;
  }
  .sv-project-body {
    width: 100%;
    max-width: 100%;
  }
  .sv-overview-head,
  .sv-data-band {
    grid-template-columns: 1fr;
  }
  .sv-program-grid {
    grid-template-columns: 1fr;
  }
  .sv-program:nth-child(2),
  .sv-program:nth-child(4) {
    margin-top: 0;
  }
  .sv-data-photo {
    min-height: 380px;
  }
  .sv-office-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .sv-hero h1 {
    font-size: 28px;
  }
  .sv-photo-band-copy h2 {
    font-size: 28px;
    white-space: normal;
  }
  .sv-overview-head {
    gap: 34px;
    margin-bottom: 52px;
  }
  .sv-overview-title h2 {
    font-size: 38px;
  }
  .sv-program-media {
    height: 220px;
  }
  .sv-program-body {
    padding: 28px 22px 32px;
  }
  .sv-program h3 {
    font-size: 23px;
  }
  .sv-data-copy {
    padding: 48px 24px;
  }
  .sv-data-copy h3 {
    font-size: 30px;
  }
}
