:root {
  --ink: #17201b;
  --text: #33413a;
  --muted: #6d7a72;
  --paper: #fbfcf8;
  --white: #ffffff;
  --line: rgba(23, 32, 27, .14);
  --matcha: #2f6f55;
  --leaf: #79a75c;
  --cargo: #c94e32;
  --steel: #496a7a;
  --sun: #f0c75f;
  --shadow: 0 24px 80px rgba(23, 32, 27, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--white);
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(251, 252, 248, .94);
  box-shadow: 0 10px 32px rgba(23, 32, 27, .08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .03em;
}

.brand-logo-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 6px 16px rgba(8, 18, 16, .28));
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.header-cta {
  padding: 0 18px;
  color: var(--ink);
  background: var(--sun);
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.menu-button span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  inset: 74px 16px auto;
  z-index: 19;
  display: none;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  display: block;
  padding: 14px 6px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero {
  min-height: 76vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 7vw, 96px) 72px;
  color: var(--white);
  background-image: url("https://images.unsplash.com/photo-1566576721346-d4a3b4eaeb55?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 22, .58);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.hero-logo-lockup {
  display: inline-grid;
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  max-width: min(760px, 92vw);
  margin: 0 0 28px;
  color: var(--white);
  text-shadow: 0 3px 18px rgba(8, 18, 16, .72);
}

.hero-logo-mark {
  width: 148px;
  filter: drop-shadow(0 18px 34px rgba(8, 18, 16, .35));
}

.hero-logo-text {
  display: grid;
  gap: 2px;
}

.hero-logo-ja {
  color: var(--white);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-logo-en {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3.3vw, 44px);
  font-weight: 800;
  line-height: 1.05;
}

.hero-logo-sub {
  color: rgba(255, 255, 255, .82);
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 800;
  letter-spacing: .08em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cargo);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

.hero h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(68px, 12vw, 172px);
  line-height: .88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 780px;
  margin: 28px 0 0;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 700;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

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

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .55);
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.route-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.route-strip div {
  min-height: 150px;
  padding: 26px clamp(18px, 4vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, .16);
}

.route-strip span {
  color: var(--sun);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.route-strip strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.route-strip p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .75);
}

.section {
  padding: clamp(64px, 9vw, 124px) clamp(20px, 6vw, 84px);
}

.intro-grid,
.section-head,
.operation-panel,
.contact {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 5vw, 76px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.intro p,
.section-head p,
.operation-panel p,
.contact-copy p {
  margin: 0;
  font-size: 18px;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 38px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-body {
  padding: 26px;
}

.service-body span,
.flow-list span {
  display: inline-flex;
  min-width: 42px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--white);
  background: var(--cargo);
  font-size: 13px;
  font-weight: 900;
}

.service-body p {
  margin: 14px 0;
}

.service-body ul {
  margin: 0;
  padding-left: 18px;
}

.operation {
  background: #eef4ee;
}

.operation-panel {
  align-items: center;
}

.route-board {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1fr 72px 1fr 72px 1fr;
  align-items: center;
  padding: clamp(20px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.route-node {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--white);
  text-align: center;
  font-size: 24px;
  font-weight: 900;
}

.route-node small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, .82);
}

.china {
  background: var(--cargo);
}

.warehouse {
  background: var(--steel);
}

.japan {
  background: var(--matcha);
}

.route-line {
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 12px, transparent 12px 20px);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
}

.flow-list p {
  margin-bottom: 0;
}

.strength {
  background: var(--ink);
  color: rgba(255, 255, 255, .76);
}

.strength h2,
.strength h3 {
  color: var(--white);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: rgba(255, 255, 255, .18);
}

.strength-grid article {
  min-height: 230px;
  padding: 28px;
  background: var(--ink);
}

.strength-grid p {
  margin-bottom: 0;
}

.company {
  background:
    linear-gradient(135deg, rgba(240, 199, 95, .18), transparent 34%),
    linear-gradient(180deg, var(--paper), #eef4ee);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: start;
}

.company-copy {
  position: sticky;
  top: 104px;
}

.company-copy p {
  margin: 24px 0 0;
  max-width: 560px;
  font-size: 18px;
}

.company-card {
  padding: clamp(22px, 4vw, 38px);
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(23, 32, 27, .1);
  backdrop-filter: blur(10px);
}

.company-disclosure {
  overflow: hidden;
}

.company-summary {
  position: relative;
  display: grid;
  gap: 4px;
  padding-right: 54px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.company-summary::-webkit-details-marker {
  display: none;
}

.company-summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--matcha);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
}

.company-disclosure[open] .company-summary::after {
  content: "-";
}

.company-summary span {
  color: var(--cargo);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.company-summary strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.1;
}

.company-summary small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.company-summary:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 6px;
}

.company-detail {
  padding-top: 24px;
}

.company-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.company-row dt {
  color: var(--matcha);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.company-row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

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

.company-purpose span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  color: var(--ink);
  background: #eef4ee;
  border: 1px solid rgba(47, 111, 85, .16);
  font-size: 13px;
  text-align: center;
}

.company-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact {
  padding: clamp(64px, 9vw, 124px) clamp(20px, 6vw, 84px);
  background: var(--sun);
}

.contact-copy h2 {
  margin-bottom: 20px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
  border: 1px solid rgba(23, 32, 27, .18);
  box-shadow: 0 20px 60px rgba(23, 32, 27, .12);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #f8faf5;
  border: 1px solid var(--line);
  border-radius: 0;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--matcha);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 6vw, 84px);
  color: rgba(255, 255, 255, .72);
  background: #0f1612;
}

.footer strong {
  color: var(--white);
}

.footer p {
  margin: 4px 0 0;
}

@media (max-width: 1040px) {
  .nav,
  .header-cta {
    display: none;
  }

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

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

  body.menu-open .mobile-nav {
    display: block;
  }

  .service-grid,
  .flow-list,
  .strength-grid,
  .company-purpose {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .section-head,
  .operation-panel,
  .contact,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .company-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 78vh;
    padding: 126px 20px 52px;
  }

  .brand-logo-mark {
    width: 34px;
    height: 34px;
  }

  .hero-logo-lockup {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    max-width: 100%;
    margin-bottom: 22px;
  }

  .hero-logo-mark {
    width: 96px;
  }

  .hero-logo-ja {
    font-size: clamp(24px, 7.4vw, 34px);
  }

  .hero-logo-en {
    font-size: clamp(18px, 5.5vw, 25px);
  }

  .hero-logo-sub {
    font-size: 12px;
    letter-spacing: .04em;
  }

  .route-strip,
  .service-grid,
  .flow-list,
  .strength-grid,
  .company-purpose {
    grid-template-columns: 1fr;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .route-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }

  .route-board {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .route-line {
    width: 3px;
    height: 40px;
    justify-self: center;
    background: repeating-linear-gradient(180deg, var(--ink) 0 12px, transparent 12px 20px);
  }

  .footer {
    display: block;
  }

  .footer a {
    display: inline-block;
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}
