/* =========================================================
   Earth Link Japan — Modern Refresh
   Palette: deep forest, cream, amber, mist
   ========================================================= */

:root {
  --forest-900: #082c20;
  --forest-800: #0a3d2e;
  --forest-700: #134c3a;
  --forest-500: #2f6a55;
  --forest-300: #7fb09a;
  --mint-100: #d8e8de;
  --mint-50: #ecf2ee;
  --cream: #f7f4ed;
  --cream-2: #efeadd;
  --paper: #ffffff;
  --amber-500: #c89342;
  --amber-300: #e2b977;
  --ink: #0a3d2e;
  --ink-soft: #2a4f43;
  --ink-mute: #6b7e76;
  --line: rgba(10, 61, 46, 0.12);
  --line-strong: rgba(10, 61, 46, 0.22);
  --shadow-sm: 0 1px 2px rgba(8, 44, 32, 0.04), 0 2px 6px rgba(8, 44, 32, 0.04);
  --shadow-md: 0 6px 24px -8px rgba(8, 44, 32, 0.18), 0 2px 6px rgba(8, 44, 32, 0.05);
  --shadow-lg: 0 24px 60px -20px rgba(8, 44, 32, 0.35);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Inter", "Noto Sans JP", sans-serif;
  --font-display: "Fraunces", "Noto Sans JP", serif;
  --container: 1200px;
  --pad: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-jp);
  font-feature-settings: "palt" 1;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--forest-500); }

button { font-family: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest-800);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  display: inline-block;
  vertical-align: -0.15em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.kicker {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--forest-500);
  text-transform: uppercase;
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker.light { color: rgba(255,255,255,.72); }
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .8;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-title {
  font-family: var(--font-jp);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
}
.section-title em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--amber-500);
  letter-spacing: -0.01em;
}
.section-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  max-width: 56ch;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 237, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav.is-stuck {
  background: rgba(247, 244, 237, 0.92);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--forest-800);
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--forest-800);
  color: var(--cream);
  display: grid;
  place-items: center;
  flex: none;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-mark--image {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 0;
  color: inherit;
}
.logo-mark--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.footer-brand .logo-mark--image { width: 48px; height: 48px; }
.logo-text {
  display: grid;
  line-height: 1.1;
}
.logo-en {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--forest-500);
  font-weight: 700;
}
.logo-jp {
  font-size: 1rem;
  font-weight: 700;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.96rem;
  font-weight: 600;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--forest-800);
  transition: width .25s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-links a.nav-cta {
  margin-left: 15px;
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 46px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--forest-800);
  border-radius: 999px;
  border: 1px solid rgba(10, 61, 46, 0.14);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(8, 44, 32, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nav-cta::after {
  content: "→";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest-800);
  color: var(--cream);
  font-size: 0.78rem;
  line-height: 1;
  flex: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-cta:hover {
  background: var(--forest-800);
  color: var(--cream);
  border-color: var(--forest-800);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -14px rgba(8, 44, 32, 0.45);
}
.nav-cta:hover::after {
  background: var(--cream);
  color: var(--forest-800);
  transform: translateX(1px);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--forest-800);
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  display: grid;
  gap: 4px;
  padding: 16px var(--pad) 24px;
  border-top: 1px solid var(--line);
  background: rgba(247, 244, 237, 0.96);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 14px 6px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .mobile-cta {
  margin-top: 12px;
  background: var(--forest-800);
  color: var(--cream);
  text-align: center;
  border-radius: 999px;
  border-bottom: 0;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn .ic { width: 16px; height: 16px; transition: transform .25s ease; }
.btn:hover .ic { transform: translateX(3px); }

.btn-primary {
  background: var(--forest-800);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--forest-700);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--forest-800);
  border-color: var(--forest-800);
}
.btn-ghost:hover {
  background: var(--forest-800);
  color: var(--cream);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-ghost-light:hover {
  background: #fff;
  color: var(--forest-800);
  border-color: #fff;
}

.btn-outline {
  background: var(--cream);
  color: var(--forest-800);
  border-color: var(--line-strong);
}
.btn-outline:hover {
  border-color: var(--forest-800);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(60px, 11vw, 140px) 0 clamp(80px, 12vw, 160px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(216, 232, 222, 0.85) 0%, transparent 55%),
    radial-gradient(80% 60% at 100% 0%, rgba(200, 147, 66, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  z-index: -1;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 16s ease-in-out infinite;
}
.orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(127, 176, 154, 0.7), transparent 70%);
  left: -120px;
  top: 10%;
}
.orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(226, 185, 119, 0.55), transparent 70%);
  right: -80px;
  top: 30%;
  animation-delay: -6s;
}
.orb-3 {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(19, 76, 58, 0.32), transparent 70%);
  right: 10%;
  bottom: -200px;
  animation-delay: -10s;
}
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(20px,-30px) scale(1.05); }
}
.grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(10,61,46,0.05) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.5;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(20px, 2.5vw, 28px);
  max-width: 1100px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: start;
  padding: 8px 16px 8px 12px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  color: var(--forest-700);
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(200,147,66,0.18);
}

.hero-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 6.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--forest-900);
}
.hero-title .line { display: block; }
.hero-title .accent {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.55rem, 5.2vw, 5rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--forest-800) 0%, var(--amber-500) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
  line-height: 1.85;
}
.hero-lead strong { color: var(--forest-800); font-weight: 700; }

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

.hero-stats {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.stat-num {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--forest-800);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat-num .unit {
  font-size: 0.45em;
  font-weight: 700;
  color: var(--forest-500);
  letter-spacing: 0.05em;
}
.stat-label {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--ink-mute);
  line-height: 1.5;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--forest-500);
  z-index: 3;
}
.scroll-cue .ic {
  width: 14px; height: 14px;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* =========================================================
   MISSION
   ========================================================= */
.mission {
  padding: clamp(80px, 10vw, 140px) 0 0;
  background: var(--cream);
}
.mission-statement {
  font-family: var(--font-jp);
  margin: 0 0 24px;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.45;
  letter-spacing: 0.005em;
  font-weight: 700;
  color: var(--forest-900);
  max-width: 22ch;
}
.mission-statement em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, rgba(226,185,119,0.5) 60%);
  padding: 0 4px;
}
.mission-statement span { display: inline; }
.mission-body {
  margin: 0;
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.marquee {
  margin-top: clamp(56px, 8vw, 100px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream-2);
  padding: 22px 0;
}
.marquee-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--forest-800);
  letter-spacing: 0.04em;
  animation: marquee 28s linear infinite;
}
.marquee-track .sep {
  color: var(--amber-500);
  font-size: 0.6em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--cream);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .25s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(127,176,154,.08));
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-card[data-tone="forest"] .card-icon {
  background: var(--forest-800);
  color: var(--cream);
}
.service-card[data-tone="cream"] .card-icon {
  background: var(--mint-100);
  color: var(--forest-800);
}
.service-card[data-tone="amber"] .card-icon {
  background: var(--amber-500);
  color: var(--cream);
}

.card-num {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  font-weight: 700;
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
}
.service-card h3 {
  margin: 6px 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--forest-900);
}
.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.tag-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag-list li {
  padding: 4px 10px;
  background: var(--mint-50);
  border: 1px solid var(--line);
  color: var(--forest-700);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.business-area {
  max-width: 760px;
  margin: clamp(48px, 6vw, 80px) 0 clamp(24px, 3vw, 36px);
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line);
}
.business-area:first-of-type { margin-top: clamp(28px, 3vw, 40px); }
.business-title {
  font-family: var(--font-jp);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 12px;
  color: var(--forest-900);
}
.business-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(0.96rem, 1.05vw, 1.05rem);
  max-width: 60ch;
}

.business-banner {
  position: relative;
  margin: 0 0 clamp(28px, 4vw, 44px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 21 / 9;
}
.business-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s ease;
}
.business-banner:hover img { transform: scale(1.03); }
.business-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 44, 32, 0.55) 100%);
  pointer-events: none;
}
.business-banner figcaption {
  position: absolute;
  left: clamp(20px, 3vw, 40px);
  bottom: clamp(20px, 3vw, 36px);
  z-index: 1;
  color: var(--cream);
  display: grid;
  gap: 8px;
  max-width: 70%;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.business-banner-kicker {
  font-family: var(--font-en);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.92;
}
.business-banner-text {
  font-family: var(--font-jp);
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.4;
}

/* =========================================================
   FEATURE VISUAL
   ========================================================= */
.feature-visual {
  background: var(--cream);
  padding: clamp(32px, 5vw, 72px) 0 clamp(20px, 3vw, 36px);
}
.feature-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 21 / 9;
}
.feature-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s ease;
}
.feature-figure:hover img { transform: scale(1.03); }
.feature-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 44, 32, 0.6) 100%);
  pointer-events: none;
}
.feature-figure figcaption {
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  bottom: clamp(24px, 4vw, 48px);
  z-index: 1;
  color: var(--cream);
  display: grid;
  gap: 12px;
  max-width: 70%;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}
.feature-kicker {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.92;
}
.feature-text {
  font-family: var(--font-jp);
  font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.4;
}

/* =========================================================
   TECHNOLOGY
   ========================================================= */
.tech {
  padding: clamp(80px, 10vw, 140px) 0;
  background: linear-gradient(180deg, var(--forest-900) 0%, var(--forest-800) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.tech::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 90% 10%, rgba(200, 147, 66, 0.15), transparent 70%),
    radial-gradient(60% 50% at 10% 90%, rgba(127, 176, 154, 0.18), transparent 70%);
  pointer-events: none;
}
.tech .container { position: relative; }
.tech .kicker { color: var(--amber-300); }
.tech .kicker::before { background: var(--amber-300); opacity: 1; }

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.tech-text h2 {
  color: #fff;
}
.tech-text h2 em { color: var(--amber-300); }
.tech-text p {
  color: rgba(247,244,237,0.78);
  font-size: 1.02rem;
  line-height: 1.9;
  margin: 0 0 18px;
}
.tech-text .btn-outline {
  margin-top: 12px;
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.tech-text .btn-outline:hover {
  background: var(--cream);
  color: var(--forest-800);
  border-color: var(--cream);
}

.tech-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.tech-flow li {
  position: relative;
  padding: 24px 24px 22px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(4px);
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.tech-flow li:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(226, 185, 119, 0.5);
}
.tech-flow .step {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--amber-300);
  font-weight: 700;
}
.tech-flow h3 {
  margin: 8px 0 6px;
  font-size: 1.2rem;
  color: #fff;
}
.tech-flow p {
  margin: 0;
  color: rgba(247,244,237,0.72);
  font-size: 0.94rem;
}

/* =========================================================
   WHY
   ========================================================= */
.why {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--mint-50);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.why-card {
  padding: 32px 24px;
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--amber-500);
  line-height: 1;
  margin-bottom: 14px;
}
.why-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  color: var(--forest-900);
}
.why-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

/* =========================================================
   FLOW
   ========================================================= */
.flow {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--cream);
}
.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.flow-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left .25s ease;
}
.flow-item:hover { padding-left: 16px; }
.flow-num {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--amber-500);
}
.flow-item h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  color: var(--forest-900);
}
.flow-item p {
  margin: 0;
  color: var(--ink-soft);
}

/* =========================================================
   PARTNERS
   ========================================================= */
.partners {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--cream-2);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.client-product-note {
  margin: 24px 0 18px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.client-product-kicker {
  margin: 0 0 8px;
  font-family: var(--font-en);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-700);
  font-weight: 700;
}
.client-product-note h3 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: var(--forest-900);
}
.client-product-note p {
  margin: 0;
  max-width: 62ch;
  color: var(--ink-soft);
}
.client-product-note ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.client-product-note li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest-800);
  background: var(--cream);
  font-size: 0.82rem;
  font-weight: 700;
}
.partner-card {
  position: relative;
  padding: 28px 20px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .25s ease;
}
.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.partner-kicker {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 4px 0 0;
  font-weight: 700;
}
.partner-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--forest-900);
}

/* =========================================================
   COMPANY + NEWS
   ========================================================= */
.company {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--mint-50);
}
.company-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 60px);
}
.company-grid--single { grid-template-columns: 1fr; }
.company-grid--single .company-info { max-width: 880px; }

.info-list {
  margin: 0;
  display: grid;
  border-top: 1px solid var(--line);
}
.info-list > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.info-list dt {
  margin: 0;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--forest-500);
}
.info-list dd {
  margin: 0;
  font-size: 1rem;
  color: var(--forest-900);
}

.news-box {
  background: var(--paper);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.news-head .kicker { margin: 0; }
.news-all {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--forest-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news-all .ic { width: 14px; height: 14px; transition: transform .25s ease; }
.news-all:hover .ic { transform: translateX(3px); }

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-list li {
  display: grid;
  grid-template-columns: 100px 76px 1fr;
  gap: 14px;
  padding: 18px 0;
  align-items: baseline;
  border-top: 1px solid var(--line);
}
.news-list li:first-child { border-top: 0; }
.news-list time {
  font-family: var(--font-en);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-mute);
}
.news-list .tag {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--forest-700);
  background: var(--mint-100);
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
}
.news-list p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--forest-900);
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  padding: clamp(60px, 8vw, 120px) 0 clamp(80px, 10vw, 140px);
  background: var(--cream);
}
.cta-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--forest-900) 0%, var(--forest-700) 100%);
  color: #fff;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg .orb {
  filter: blur(80px);
  opacity: 0.4;
}
.cta-bg .orb-a {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(226,185,119,0.7), transparent 70%);
  top: -100px; right: -100px;
}
.cta-bg .orb-b {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(127,176,154,0.6), transparent 70%);
  bottom: -120px; left: -80px;
}

.cta-text h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}
.cta-text p {
  margin: 0;
  color: rgba(255,255,255,0.8);
  font-size: 1.02rem;
  max-width: 60ch;
}
.contact-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  gap: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.form-field {
  display: grid;
  gap: 7px;
}
.form-field span {
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  color: var(--forest-900);
  font: inherit;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus,
.form-field textarea:focus {
  background: #fff;
  border-color: var(--amber-300);
  box-shadow: 0 0 0 4px rgba(226, 185, 119, 0.22);
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form .btn-primary {
  width: fit-content;
  background: var(--amber-500);
  color: var(--forest-900);
  border: 0;
  cursor: pointer;
}
.contact-form .btn-primary:hover {
  background: var(--amber-300);
  color: var(--forest-900);
}
.contact-form .btn-primary:disabled {
  cursor: wait;
  opacity: 0.7;
}
.form-status {
  margin: -4px 0 0;
  min-height: 1.7em;
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
}
.form-status.is-success { color: var(--amber-300); }
.form-status.is-error { color: #ffd7d7; }

.cta-meta {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px 0 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-family: var(--font-en);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
}
.cta-meta li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta-meta .ic {
  width: 18px; height: 18px;
  color: var(--amber-300);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--forest-900);
  color: rgba(247,244,237,0.78);
  padding: 56px 0 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
}
.footer-brand .logo-mark {
  background: var(--cream);
  color: var(--forest-900);
}
.footer-name {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}
.footer-en {
  margin: 2px 0 0;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: rgba(247,244,237,0.6);
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.94rem;
  font-weight: 600;
}
.footer-nav a:hover { color: var(--amber-300); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(247,244,237,0.55);
}
.footer-credit {
  margin: 0;
  font-family: var(--font-en);
  letter-spacing: 0.06em;
}

/* =========================================================
   REVEAL animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track,
  .orb,
  .scroll-cue .ic { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .service-grid  { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .tech-grid     { grid-template-columns: 1fr; gap: 40px; }
  .company-grid  { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats   { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); padding: 18px; }
  .flow-item { grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 4px; }
  .info-list > div { grid-template-columns: 120px 1fr; gap: 12px; }
  .news-list li { grid-template-columns: 90px 64px 1fr; gap: 8px; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-meta { flex-direction: column; gap: 12px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 540px) {
  .logo-jp { font-size: 0.86rem; }
  .logo-en { font-size: 0.62rem; }
  .service-grid  { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .feature-figure,
  .business-banner { aspect-ratio: 4 / 5; }
  .feature-figure figcaption,
  .business-banner figcaption { max-width: 90%; }
  .hero-stats   { grid-template-columns: 1fr 1fr; }
  .stat { padding: 8px 0; }
  .news-list li { grid-template-columns: 1fr; gap: 4px; }
  .news-list .tag { justify-self: start; }
  .info-list > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 4px; }
  .info-list dt { font-size: 0.78rem; }
  .flow-item { grid-template-columns: 1fr; gap: 6px; }
  .cta-card { padding: 36px 24px; }
}
