:root {
  --ink: #222;
  --muted: #777;
  --line: #dedede;
  --navy: #163f5c;
  --gold: #d7b34b;
  --gutter: 6vw;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;
  font-weight: 400;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 6px;
}
.wrap {
  width: 88%;
  max-width: 1320px;
  margin: auto;
}
header {
  height: 86px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.brand img {
  width: 246px;
  display: block;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.lang {
  background: none;
  border: 0;
  padding: 10px 2px;
  color: #999;
}
.lang.active {
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
}
#menu-toggle {
  margin-left: 30px;
  width: 32px;
  height: 34px;
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
  padding: 0;
}
#menu-toggle i {
  height: 1px;
  background: #222;
  width: 30px;
}
#menu {
  position: fixed;
  right: 0;
  top: 86px;
  width: min(460px, 100%);
  z-index: 30;
  background: #fff;
  padding: 35px 55px 50px;
  box-shadow: 0 15px 25px #0001;
}
#menu a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: Georgia, serif;
  font-size: 30px;
}
.hero {
  height: calc(100svh - 145px);
  min-height: 530px;
  max-height: 950px;
  position: relative;
  color: #fff;
  overflow: hidden;
  background: #45606a;
}
.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero-copy {
  position: absolute;
  bottom: 100px;
  left: var(--gutter);
}
h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-weight: 400;
  font-size: clamp(35px, 4.7vw, 72px);
  letter-spacing: 0.09em;
  line-height: 1.65;
  margin: 0;
  text-shadow: 0 2px 18px #0008;
}
.hero-bottom {
  position: absolute;
  bottom: 28px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 8px #000;
}
.hero-bottom div {
  display: flex;
  gap: 24px;
  align-items: center;
}
.hero-bottom button {
  border: 0;
  background: none;
  color: #fff;
  font-size: 24px;
}
.scroll-strip {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  font-size: 10px;
  letter-spacing: 0.18em;
  border-bottom: 1px solid var(--line);
}
.scroll-strip a span {
  margin-left: 20px;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 100px 0 115px;
  gap: 12%;
}
.intro > p:first-child {
  font-family: "Yu Mincho", Georgia, serif;
  font-size: 30px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  margin: 0;
}
.intro > p:last-child {
  font-size: 13px;
  line-height: 2.3;
  margin: 0;
  color: #666;
  padding-top: 4px;
}
.section-head {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 55px;
}
.section-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 49px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-head > span {
  font-size: 12px;
  color: #777;
  letter-spacing: 0.1em;
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.section-head p {
  margin-left: auto;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  align-items: center;
  gap: 7%;
  padding: 49px 0;
  border-top: 1px solid var(--line);
}
.service-phrase {
  font-family: "Yu Mincho", Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.1em;
  line-height: 1.9;
  max-width: 240px;
}
.service-mark {
  width: 100%;
  max-width: 300px;
  mix-blend-mode: multiply;
}
.service-list {
  font-size: 12px;
  line-height: 2.1;
  color: #666;
}
.service-list ul {
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}
.outline {
  border: 1px solid #777;
  min-height: 45px;
  padding: 12px 24px;
  font-size: 10px;
  letter-spacing: 0.1em;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  transition:
    background 0.2s,
    color 0.2s;
}
.outline:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.services {
  padding-bottom: 95px;
}
.interlude {
  height: 540px;
  position: relative;
  overflow: hidden;
  margin-bottom: 115px;
}
.interlude > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.interlude > div {
  position: absolute;
  left: var(--gutter);
  bottom: 50px;
  color: #fff;
  text-shadow: 0 2px 15px #000;
}
.interlude p {
  font-family: "Yu Mincho", Georgia, serif;
  font-size: 36px;
  line-height: 1.7;
  letter-spacing: 0.06em;
}
.interlude span {
  font-size: 11px;
  letter-spacing: 0.2em;
}
.filters {
  display: flex;
  gap: 32px;
  margin: 0 0 35px;
  border-bottom: 1px solid var(--line);
}
.filters button {
  background: none;
  border: 0;
  padding: 0 0 17px;
  font-size: 13px;
  color: #888;
}
.filters button.selected {
  color: var(--navy);
  border-bottom: 2px solid var(--navy);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.work {
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  overflow: hidden;
}
.work img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.work:hover img {
  transform: scale(1.035);
}
.work span {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #666;
  letter-spacing: 0.08em;
  padding-top: 14px;
}
.work span b {
  font-weight: 400;
  font-size: 15px;
}
.works {
  padding-bottom: 115px;
}
.works > #more {
  margin: 50px auto 0;
  width: 260px;
  justify-content: center;
}
.company {
  padding-bottom: 110px;
}
.company-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  margin: 60px 0 80px;
}
.company-lead h3 {
  font-family: "Yu Mincho", Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.06em;
  margin: 0;
}
.company-lead p {
  font-size: 13px;
  line-height: 2.3;
  color: #666;
}
.company-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 70px;
  border-top: 1px solid var(--line);
  padding: 35px 0;
  align-items: center;
}
.company-row img {
  width: 160px;
}
.company-row h3 {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.company-row p {
  font-size: 13px;
  color: #777;
  line-height: 2.1;
  max-width: 850px;
}
.contact {
  background: #f7f7f7;
  padding: 85px 0 80px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 50px;
}
.contact h3 {
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.1em;
}
.contact p {
  font-size: 12px;
  line-height: 2;
}
.contact-note {
  border-left: 1px solid var(--line);
  padding-left: 40px;
}
.contact small {
  font-size: 11px;
  color: #888;
}
footer {
  padding: 45px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
footer img {
  width: 250px;
}
footer p,
footer a {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #777;
}
dialog {
  border: 0;
  padding: 0;
  max-width: 94vw;
  max-height: 94svh;
  background: #fff;
}
dialog::backdrop {
  background: #000c;
}
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: #fff;
  border: 0;
  width: 38px;
  height: 38px;
  font-size: 28px;
  z-index: 5;
}
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 25px;
}
.lightbox-bar button {
  background: none;
  border: 0;
  font-size: 24px;
}
.lightbox-bar p {
  font-size: 12px;
  color: #666;
}
#large-image {
  max-width: 90vw;
  max-height: 78svh;
  display: block;
  object-fit: contain;
  margin: auto;
}
#service-dialog {
  width: 620px;
  padding: 65px 50px;
}
#service-detail h2 {
  font:
    36px Georgia,
    serif;
  color: var(--navy);
}
#service-detail p {
  font-size: 14px;
  line-height: 2;
}
#service-detail .detail-note {
  font-size: 12px;
  color: #999;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.empty {
  padding: 35px;
  color: #777;
}
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s,
    transform 0.6s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (min-width: 1500px) {
  .hero-copy {
    left: calc((100vw - 1320px) / 2);
  }
}
@media (max-width: 800px) {
  header {
    height: 72px;
  }
  .brand img {
    width: 195px;
  }
  #menu {
    top: 72px;
  }
  .hero {
    height: 70svh;
    min-height: 430px;
  }
  .hero-copy {
    bottom: 85px;
  }
  h1 {
    font-size: 36px;
  }
  .hero-bottom > span {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
  .hero-bottom div {
    gap: 14px;
  }
  .scroll-strip {
    height: 75px;
    font-size: 8px;
  }
  .intro {
    padding: 65px 0;
    gap: 35px;
    grid-template-columns: 1fr;
  }
  .intro > p:first-child {
    font-size: 26px;
  }
  .section-head {
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
  }
  .section-head h2 {
    font-size: 38px;
  }
  .section-head > span {
    padding-left: 20px;
    font-size: 10px;
  }
  .section-head p {
    display: none;
  }
  .service-row {
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    padding: 32px 0;
  }
  .service-phrase {
    font-size: 17px;
  }
  .service-mark {
    max-width: 240px;
  }
  .service-list {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .service-list ul {
    margin: 0;
    flex: 1;
    font-size: 11px;
  }
  .outline {
    padding: 10px 14px;
    gap: 20px;
  }
  .services {
    padding-bottom: 65px;
  }
  .interlude {
    height: 370px;
    margin-bottom: 65px;
  }
  .interlude p {
    font-size: 26px;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 14px;
  }
  .work span {
    font-size: 9px;
    letter-spacing: 0;
  }
  .works {
    padding-bottom: 70px;
  }
  .company-lead {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 35px 0;
  }
  .company-lead h3 {
    font-size: 28px;
  }
  .company-row {
    grid-template-columns: 95px 1fr;
    gap: 25px;
    padding: 25px 0;
  }
  .company-row img {
    width: 90px;
  }
  .company-row h3 {
    font-size: 15px;
  }
  .company-row p {
    font-size: 12px;
  }
  .company {
    padding-bottom: 60px;
  }
  .contact {
    padding: 60px 0;
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .contact-note {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }
  footer {
    flex-wrap: wrap;
    padding: 30px 0;
  }
  footer img {
    width: 210px;
  }
  footer p {
    margin-left: auto;
  }
  footer a {
    width: 100%;
  }
  .header-tools {
    gap: 9px;
  }
  #menu-toggle {
    margin-left: 15px;
  }
  #service-dialog {
    padding: 50px 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    transition: none !important;
  }
}

.company-building {
  width: 115px;
  margin-bottom: 22px;
}

.contact-email {
  margin: 0 0 20px;
}
.contact-email > span {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #777;
}
.contact-email a {
  color: var(--navy);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.contact-email a:hover {
  text-decoration: underline;
}

/* Independent service names; only the original line illustrations are shown. */
.service-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.service-name {
  min-width: 0;
}
.service-name h3 {
  font:
    clamp(22px, 2.35vw, 34px)/1.2 Georgia,
    serif;
  margin: 0 0 14px;
  letter-spacing: -0.035em;
}
.service-name span {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #666;
}
.service-icon {
  position: relative;
  display: block;
  flex: 0 0 100px;
  width: 100px;
  height: 123px;
  overflow: hidden;
}
.service-icon img {
  position: absolute;
  right: 0;
  top: 0;
  width: 180px;
  height: 123px;
  max-width: none;
  mix-blend-mode: multiply;
}
@media (max-width: 800px) {
  .service-identity {
    gap: 7px;
  }
  .service-name h3 {
    font-size: 19px;
    letter-spacing: -0.025em;
  }
  .service-name span {
    font-size: 9px;
    letter-spacing: 0.04em;
  }
  .service-icon {
    flex-basis: 62px;
    width: 62px;
    height: 76px;
  }
  .service-icon img {
    width: 112px;
    height: 76px;
  }
  .service-row {
    grid-template-columns: 1fr 1.35fr;
  }
  .service-list .outline {
    font-size: 9px;
  }
}

@media (min-width: 801px) {
  .service-row {
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 5%;
  }
}

.service-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  color: #222;
}

.hero-track {
  width: 100%;
  height: 100%;
  display: flex;
  will-change: transform;
}
.hero-track.animating {
  transition: transform 1000ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero-bottom #hero-play {
  font-size: 15px;
  min-width: 24px;
}
@media (prefers-reduced-motion: reduce) {
  .hero-track.animating {
    transition: none;
  }
}
