:root {
  --ink: #17212b;
  --muted: #66727f;
  --line: #d9dee3;
  --paper: #f6f7f5;
  --white: #ffffff;
  --charcoal: #24313d;
  --blue: #355a72;
  --gold: #b68b4a;
  --gold-soft: #d7c3a3;
  --shadow: 0 22px 70px rgba(20, 30, 40, 0.18);
  --header-height: 76px;
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP",
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(18px, 4vw, 58px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(23, 33, 43, 0.08);
  box-shadow: 0 12px 35px rgba(20, 30, 40, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 244px;
}

.brand-mark {
  width: 46px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1) brightness(2.1) contrast(1.05);
  transition: filter 180ms ease, opacity 180ms ease;
}

.site-header.is-scrolled .brand-mark img,
.site-header.menu-active .brand-mark img {
  filter: none;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand strong {
  font-size: 1rem;
  font-weight: 700;
}

.brand small {
  margin-top: 2px;
  font-size: 0.72rem;
  color: currentColor;
  opacity: 0.72;
}

.nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-contact {
  padding: 10px 18px;
  border: 1px solid currentColor;
  font-size: 0.88rem;
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./assets/hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 23, 31, 0.88) 0%, rgba(23, 33, 43, 0.78) 35%, rgba(23, 33, 43, 0.24) 72%),
    linear-gradient(0deg, rgba(15, 23, 31, 0.34), rgba(15, 23, 31, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 112px);
  padding-top: var(--header-height);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 730px;
  margin-bottom: 26px;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(2.35rem, 5.2vw, 5rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
}

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

.button.secondary {
  color: var(--white);
}

.button.light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.hero-facts {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 5vw, 72px);
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(132px, 1fr));
  color: var(--white);
  background: rgba(23, 33, 43, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.hero-facts div {
  padding: 22px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-facts div:first-child {
  border-left: 0;
}

.hero-facts span,
.hero-facts strong {
  display: block;
  line-height: 1.4;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.hero-facts strong {
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.section {
  padding: clamp(76px, 9vw, 132px) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

h2 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(1.95rem, 3.8vw, 3.2rem);
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: 0;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.02rem;
}

.intro-copy p:last-child,
.section-heading p:last-child,
.business-card p:last-child,
.strength-panel p:last-child,
.strength-item p:last-child,
.timeline-item p:last-child,
.company-lead,
.contact-layout p {
  margin-bottom: 0;
}

.section-heading {
  max-width: 710px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading p {
  color: var(--muted);
}

.business-section {
  background:
    linear-gradient(180deg, #f6f7f5 0%, #eef2f2 100%);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.business-card {
  position: relative;
  min-height: 380px;
  padding: 34px 30px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(23, 33, 43, 0.08);
  box-shadow: 0 16px 46px rgba(26, 42, 54, 0.06);
}

.business-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  color: var(--blue);
  background: #eef4f5;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: rgba(23, 33, 43, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  line-height: 1;
}

.business-card h3,
.strength-item h3,
.timeline-item h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  line-height: 1.45;
}

.business-card p,
.strength-item p,
.timeline-item p,
.company-lead {
  color: var(--muted);
}

.strength-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 33, 43, 0.96), rgba(35, 49, 61, 0.96)),
    linear-gradient(90deg, var(--charcoal), var(--blue));
}

.strength-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.strength-panel {
  padding-right: clamp(0px, 4vw, 36px);
}

.strength-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.strength-list {
  display: grid;
  gap: 16px;
}

.strength-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.strength-item svg {
  width: 30px;
  height: 30px;
  color: var(--gold-soft);
}

.strength-item p {
  color: rgba(255, 255, 255, 0.7);
}

.vision-section {
  background: var(--white);
}

.vision-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 72px);
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  column-gap: 36px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item span {
  grid-row: 1 / span 2;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.2;
}

.timeline-item h3,
.timeline-item p {
  grid-column: 2;
}

.company-section {
  background: #edf1f0;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 6vw, 72px);
}

.company-table {
  margin: 0;
  background: var(--white);
  border: 1px solid rgba(23, 33, 43, 0.08);
  box-shadow: var(--shadow);
}

.company-table div {
  display: grid;
  grid-template-columns: 168px 1fr;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.company-table div:last-child {
  border-bottom: 0;
}

.company-table dt,
.company-table dd {
  margin: 0;
  padding: 18px 22px;
}

.company-table dt {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  background: #f8f9f8;
  border-right: 1px solid var(--line);
}

.company-table dd {
  font-weight: 600;
}

.contact-section {
  padding: clamp(64px, 8vw, 96px) 0;
  color: var(--white);
  background: linear-gradient(110deg, var(--blue), #26323d 70%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.contact-layout h2 {
  margin-bottom: 12px;
}

.contact-layout p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-layout h2 + p {
  max-width: none;
  white-space: nowrap;
}

.site-footer {
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.7);
  background: #121a22;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.86rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--gold-soft);
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav,
  .header-contact {
    display: none;
  }

  .menu-button {
    display: grid;
    justify-self: end;
  }

  .nav {
    position: fixed;
    left: 18px;
    right: 18px;
    top: calc(var(--header-height) + 10px);
    display: grid;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(23, 33, 43, 0.1);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .site-header.menu-active .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 880px;
    align-items: start;
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 148px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(15, 23, 31, 0.92) 0%, rgba(23, 33, 43, 0.62) 52%, rgba(23, 33, 43, 0.84) 100%),
      linear-gradient(0deg, rgba(15, 23, 31, 0.2), rgba(15, 23, 31, 0.08));
  }

  .hero-facts {
    left: 18px;
    right: 18px;
    grid-template-columns: repeat(3, 1fr);
  }

  .intro-grid,
  .strength-layout,
  .vision-grid,
  .company-layout {
    grid-template-columns: 1fr;
  }

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

  .business-card {
    min-height: auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout h2 + p {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-mark {
    width: 36px;
    height: 44px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .hero {
    min-height: calc(100svh - 24px);
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 120px;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

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

  .hero-facts div {
    padding: 14px 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 0;
  }

  .hero-facts div:first-child {
    border-left: 0;
  }

  .hero-facts span {
    font-size: 0.64rem;
  }

  .hero-facts strong {
    font-size: 1rem;
  }

  .section-inner {
    width: calc(100% - 32px);
  }

  .section {
    padding: 68px 0;
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .business-card {
    padding: 30px 24px;
  }

  .strength-item {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .company-table div {
    grid-template-columns: 1fr;
  }

  .company-table dt {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .company-table dt,
  .company-table dd {
    padding: 14px 16px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
