:root {
  --ink: #1f2523;
  --muted: #6d746f;
  --cream: #f7f0e7;
  --ivory: #fbf8f1;
  --mist: #d8e5e4;
  --mist-deep: #9bb7b8;
  --copper: #b47749;
  --sage: #7f937d;
  --line: rgba(31, 37, 35, 0.16);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(33, 38, 36, 0.18);
  --serif: "Cormorant Garamond", "Noto Serif JP", serif;
  --jp-serif: "Noto Serif JP", serif;
  --sans: "Zen Kaku Gothic New", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.8;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  align-items: center;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  height: 74px;
  inset: 0 0 auto;
  padding: 0 0 0 48px;
  position: fixed;
  z-index: 30;
}

.site-header::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled::before {
  background: rgba(251, 248, 241, 0.9);
  box-shadow: 0 12px 40px rgba(31, 37, 35, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.desktop-nav,
.header-contact,
.menu-toggle {
  position: relative;
  z-index: 1;
}

.brand {
  align-items: center;
  color: var(--white);
  display: inline-flex;
  font-family: var(--jp-serif);
  font-size: 1.02rem;
  font-weight: 700;
  gap: 12px;
  transition: color 180ms ease;
}

.site-header.is-scrolled .brand {
  color: var(--ink);
}

.brand-mark {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
  transition: border-color 180ms ease;
}

.site-header.is-scrolled .brand-mark {
  border-color: rgba(31, 37, 35, 0.78);
}

.brand-mark span {
  background:
    radial-gradient(circle at 50% 72%, transparent 0 7px, rgba(255, 255, 255, 0.95) 8px 10px, transparent 11px),
    linear-gradient(90deg, transparent 0 9px, rgba(255, 255, 255, 0.95) 10px 11px, transparent 12px),
    linear-gradient(0deg, transparent 0 9px, rgba(255, 255, 255, 0.95) 10px 11px, transparent 12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: block;
  height: 18px;
  width: 18px;
}

.site-header.is-scrolled .brand-mark span {
  background:
    radial-gradient(circle at 50% 72%, transparent 0 7px, rgba(31, 37, 35, 0.9) 8px 10px, transparent 11px),
    linear-gradient(90deg, transparent 0 9px, rgba(31, 37, 35, 0.9) 10px 11px, transparent 12px),
    linear-gradient(0deg, transparent 0 9px, rgba(31, 37, 35, 0.9) 10px 11px, transparent 12px);
  border-color: rgba(31, 37, 35, 0.78);
}

.desktop-nav {
  display: flex;
  gap: 36px;
  justify-content: flex-end;
  padding-right: 34px;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 180ms ease;
}

.site-header.is-scrolled .desktop-nav a {
  color: var(--ink);
}

.header-contact {
  align-items: center;
  background: #111515;
  color: var(--white);
  display: flex;
  flex-direction: column;
  height: 74px;
  justify-content: center;
  min-width: 96px;
  padding: 0 14px;
}

.header-contact span:first-child {
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.1;
}

.header-contact span:last-child {
  font-size: 0.68rem;
  line-height: 1.2;
  margin-top: 4px;
}

.menu-toggle {
  align-items: center;
  background: var(--mist-deep);
  border: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 74px;
  justify-content: center;
  width: 74px;
}

.menu-toggle span {
  background: var(--white);
  display: block;
  height: 1px;
  transition: transform 180ms ease;
  width: 34px;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(5px) rotate(18deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-6px) rotate(-18deg);
}

.drawer {
  align-items: center;
  background: rgba(19, 26, 25, 0.96);
  color: var(--white);
  display: flex;
  flex-direction: column;
  font-family: var(--jp-serif);
  font-size: 1.7rem;
  gap: 22px;
  inset: 0;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transform: translateY(-16px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 20;
}

.menu-open .drawer {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero {
  background: #222;
  color: var(--white);
  min-height: 92svh;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(14, 17, 15, 0.34), rgba(14, 17, 15, 0.1) 48%, rgba(14, 17, 15, 0.42)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.48));
}

.hero-inner {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92svh;
  padding: 120px 8vw 94px;
  position: relative;
  width: min(980px, 78%);
  z-index: 1;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 7.2rem;
  font-weight: 500;
  line-height: 0.9;
  margin: 16px 0 28px;
  max-width: 880px;
  text-wrap: balance;
}

.eyebrow,
.section-kicker {
  color: var(--copper);
  font-family: var(--serif);
  font-size: 1.06rem;
  font-style: italic;
  font-weight: 600;
  margin: 0 0 16px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.hero-copy {
  font-size: 1rem;
  max-width: 520px;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 54px;
  min-width: 154px;
  padding: 12px 24px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--copper);
  color: var(--white);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: var(--white);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
  margin-top: 26px;
}

.hero-vertical {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--serif);
  font-size: 6rem;
  font-weight: 600;
  line-height: 0.82;
  margin: 0;
  position: absolute;
  right: 18px;
  text-orientation: mixed;
  top: 82px;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  z-index: 1;
}

.message-panel {
  align-items: center;
  background: var(--mist);
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 0.72fr);
  gap: 7vw;
  min-height: 680px;
  padding: 108px 12vw;
  scroll-margin-top: 84px;
}

.message-copy,
.culture-copy,
.section-heading,
.promise-content,
.contact-panel {
  max-width: 650px;
}

h2 {
  font-family: var(--jp-serif);
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1.18;
  margin: 0 0 28px;
  word-break: keep-all;
}

.message-copy p:not(.section-kicker),
.culture-copy p,
.section-heading p,
.recruit-section p,
.contact-panel p {
  color: var(--muted);
  margin: 0 0 18px;
}

.message-photo img {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.text-link {
  display: inline-flex;
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-top: 26px;
  padding-bottom: 7px;
  position: relative;
}

.text-link::after {
  background: currentColor;
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 150px;
}

.culture-section {
  align-items: center;
  background: var(--white);
  display: grid;
  grid-template-columns: minmax(280px, 0.94fr) minmax(0, 0.7fr);
  gap: 7vw;
  min-height: 680px;
  padding: 96px 12vw 120px;
  scroll-margin-top: 84px;
}

.culture-art img {
  margin-inline: auto;
}

.service-section {
  background: var(--cream);
  padding: 112px 6vw 128px;
  scroll-margin-top: 84px;
}

.section-heading {
  margin: 0 auto 54px;
  text-align: center;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-inline: auto;
  max-width: 1160px;
}

.service-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 28px;
}

.service-card span {
  color: var(--copper);
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.service-card p:first-of-type {
  color: var(--sage);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.service-card h3 {
  font-family: var(--jp-serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.38;
  margin: 0 0 18px;
}

.service-card p:last-of-type {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.service-card a {
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: auto;
  padding-top: 20px;
}

.promise-section {
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  min-height: 740px;
  scroll-margin-top: 84px;
}

.promise-photo {
  min-height: 620px;
}

.promise-photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.promise-content {
  align-self: center;
  padding: 82px 7vw;
}

.promise-content .section-kicker {
  color: var(--mist-deep);
}

.promise-list {
  display: grid;
  gap: 0;
}

.promise-list article {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 20px;
  grid-template-columns: 52px 112px 1fr;
  padding: 24px 0;
}

.promise-list article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.promise-list span {
  color: var(--mist-deep);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.promise-list h3 {
  font-family: var(--jp-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.promise-list p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  margin: 0;
}

.recruit-section {
  align-items: start;
  background: var(--mist);
  display: grid;
  gap: 7vw;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 0.7fr);
  padding: 108px 12vw;
  scroll-margin-top: 84px;
}

.news-section {
  background: var(--ivory);
  padding: 104px 12vw;
  scroll-margin-top: 84px;
}

.section-heading-inline {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: 0 0 34px;
  max-width: none;
  text-align: left;
}

.section-heading-inline .text-link {
  margin: 0 0 20px;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-list a {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 92px 96px 1fr;
  min-height: 86px;
  padding: 18px 0;
}

.news-list time {
  font-family: var(--serif);
  font-size: 1.2rem;
}

.news-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--sage);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: center;
  padding: 2px 14px 4px;
}

.news-list p {
  margin: 0;
}

.contact-section {
  align-items: stretch;
  background: var(--cream);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
  padding: 108px 12vw 120px;
  scroll-margin-top: 84px;
}

.contact-panel {
  background: var(--white);
  border-radius: 8px;
  padding: 56px;
}

.company-list {
  align-self: center;
  margin: 0;
}

.company-list div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 110px 1fr;
  padding: 20px 0;
}

.company-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--sage);
  font-weight: 700;
}

.company-list dd {
  margin: 0;
}

.site-footer {
  align-items: center;
  background: #111515;
  color: rgba(255, 255, 255, 0.74);
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto auto;
  padding: 34px 48px;
}

.footer-brand {
  color: var(--white);
  font-family: var(--jp-serif);
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.site-footer small {
  font-size: 0.78rem;
}

@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .hero h1 {
    font-size: 5.2rem;
  }

  .hero-vertical {
    font-size: 4.8rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promise-list article {
    grid-template-columns: 42px 1fr;
  }

  .promise-list p {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 64px;
    padding-left: 18px;
  }

  .brand {
    font-size: 0.9rem;
  }

  .header-contact {
    display: none;
  }

  .menu-toggle {
    height: 64px;
    width: 64px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-inner {
    justify-content: flex-end;
    min-height: 88svh;
    padding: 96px 24px 72px;
    width: 100%;
  }

  .hero h1 {
    font-size: 3.55rem;
    max-width: 420px;
  }

  .hero-copy {
    max-width: 440px;
  }

  .hero-vertical {
    font-size: 3rem;
    opacity: 0.45;
    right: 8px;
    top: 74px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .message-panel,
  .culture-section,
  .promise-section,
  .recruit-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .message-panel,
  .culture-section,
  .service-section,
  .recruit-section,
  .news-section,
  .contact-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .message-panel {
    padding-top: 78px;
  }

  .message-photo {
    max-width: 420px;
  }

  .culture-section {
    padding-top: 72px;
  }

  .culture-art {
    order: 2;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .promise-photo {
    min-height: 420px;
  }

  .promise-content {
    padding: 64px 24px;
  }

  .news-list a {
    align-items: start;
    gap: 8px 16px;
    grid-template-columns: 76px 90px;
    padding: 20px 0;
  }

  .news-list p {
    grid-column: 1 / -1;
  }

  .contact-panel {
    padding: 34px 24px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 34px 24px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .brand-mark {
    height: 26px;
    width: 26px;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .hero-copy {
    font-size: 0.94rem;
  }

  .button {
    min-width: 136px;
    padding-left: 18px;
    padding-right: 18px;
  }

  h2 {
    font-size: 2.1rem;
  }

  .message-panel,
  .culture-section,
  .service-section,
  .recruit-section,
  .news-section,
  .contact-section {
    padding-top: 68px;
    padding-bottom: 76px;
  }

  .service-card {
    min-height: 290px;
    padding: 24px;
  }
}
