:root {
  --white: #FFFFFF;
  --ivory: #F9F8F5;
  --gray-50: #F3F2EF;
  --gray-100: #E5E4E0;
  --gray-200: #D4D3CF;
  --gray-300: #BBBAB6;
  --gray-500: #88877F;
  --gray-700: #555550;
  --charcoal: #1A1A1A;
  --black: #1A1A1A;
  --green: #7F7F7F;
  --green-mid: #555555;
  --green-light: #82C866;
  --green-subtle: #F0F0F0;
  --font: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', -apple-system, sans-serif;
  --header-h: 80px;
  --max-w: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.8;
  font-size: 16px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(24px, 5vw, 60px); }
.section { padding: clamp(80px, 12vw, 160px) 0; }

/* Typography */
.label {
  font-size: 13px; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 20px; display: block;
}
.heading-xl {
  font-size: clamp(32px, 5vw, 60px); font-weight: 900;
  line-height: 1.25; letter-spacing: -0.02em;
  text-wrap: pretty;
}
.heading-lg {
  font-size: clamp(26px, 3.5vw, 44px); font-weight: 700;
  line-height: 1.3; letter-spacing: -0.01em;
  text-wrap: pretty;
}
.heading-md {
  font-size: clamp(20px, 2.5vw, 30px); font-weight: 700;
  line-height: 1.4;
}
.body-text {
  font-size: clamp(15px, 1.2vw, 18px); line-height: 2;
  color: var(--gray-700); font-weight: 400;
}
.body-sm {
  font-size: 14px; line-height: 1.8; color: var(--gray-500);
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: var(--white);
  padding: 16px 36px; border-radius: 4px;
  font-size: 15px; font-weight: 500;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,26,26,0.25); }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--green);
  transition: gap 0.3s var(--ease);
}
.btn-link:hover { gap: 14px; }
.btn-link .arrow { transition: transform 0.3s var(--ease); }
.btn-link:hover .arrow { transform: translateX(4px); }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--header-h); display: flex; align-items: center;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--gray-100);
  opacity: 0; transform: translateY(-12px); pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.header.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  padding: 0 clamp(24px, 5vw, 60px);
}
.logo { display: flex; align-items: center; padding: 0; }
.logo img { height: var(--header-h); width: var(--header-h); object-fit: contain; display: block; }
.nav { display: flex; gap: 32px; }
.nav a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.05em;
  color: var(--gray-700); transition: color 0.2s ease;
  position: relative;
}
.nav a:hover { color: var(--black); }
.nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--green); transform: scaleX(0);
  transition: transform 0.3s var(--ease); transform-origin: left;
}
.nav a:hover::after { transform: scaleX(1); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 6px; width: 28px; padding: 4px 0; z-index: 200; }
.hamburger span { display: block; height: 1.5px; background: var(--black); transition: all 0.3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  z-index: 150; opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-size: 24px; font-weight: 500; }

/* Marquee */
.marquee-wrap {
  overflow: hidden; padding: 36px 0;
  background: var(--green);
  width: 100%;
}
.marquee-track {
  display: flex; gap: 60px; width: max-content;
  animation: marquee-scroll 22s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track span {
  font-size: clamp(16px, 2vw, 24px); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); white-space: nowrap;
  transition: color 0.3s ease;
}
.marquee-track:hover span { color: rgba(255,255,255,0.5); }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Scroll animations — varied entrances */
.anim { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.anim.in-view { opacity: 1; transform: none; }
.anim-left { opacity: 0; transform: translateX(-70px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.anim-left.in-view { opacity: 1; transform: none; }
.anim-right { opacity: 0; transform: translateX(70px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.anim-right.in-view { opacity: 1; transform: none; }
.anim-scale { opacity: 0; transform: scale(0.82); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.anim-scale.in-view { opacity: 1; transform: none; }
.anim-d1 { transition-delay: 0.12s; }
.anim-d2 { transition-delay: 0.24s; }
.anim-d3 { transition-delay: 0.36s; }
.anim-d4 { transition-delay: 0.48s; }
.anim-d5 { transition-delay: 0.60s; }
.anim-d6 { transition-delay: 0.72s; }

/* Floating keyframes */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes float-slow { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
@keyframes pulse-ring { 0%,100% { transform: scale(1); opacity: 0.15; } 50% { transform: scale(1.2); opacity: 0.35; } }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes draw-line { from { stroke-dashoffset: 500; } to { stroke-dashoffset: 0; } }
@keyframes counter-pop { 0% { transform: scale(0.5); opacity: 0; } 60% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }

/* Dark green section */
.dark-green-bg { background: var(--green); color: var(--white); }
.dark-green-bg .label { color: var(--green-light); }
.dark-green-bg .heading-lg { color: var(--white); }
.dark-green-bg .body-sm { color: rgba(255,255,255,0.55); }

/* Dark charcoal section */
.dark-bg { background: var(--charcoal); color: var(--white); }
.dark-bg .label { color: var(--green-light); }
.dark-bg .heading-lg { color: var(--white); }
.dark-bg .body-text { color: rgba(255,255,255,0.6); }
.dark-bg .form-label { color: rgba(255,255,255,0.45); }
.dark-bg .form-input { color: var(--white); border-bottom-color: rgba(255,255,255,0.12); }
.dark-bg .form-input:focus { border-bottom-color: var(--green-light); }
.dark-bg .form-input::placeholder { color: rgba(255,255,255,0.2); }

/* Card hover lift */
.card-lift { transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.card-lift:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(26,26,26,0.1); }

/* Business item hover bar */
.biz-item { position: relative; transition: padding-left 0.4s var(--ease), background 0.4s var(--ease); cursor: default; }
.biz-item::before {
  content:''; position:absolute; left:0; top:0; bottom:0; width:3px;
  background: var(--green-light); border-radius:2px;
  transform:scaleY(0); transition:transform 0.4s var(--ease); transform-origin:top;
}
.biz-item:hover::before { transform:scaleY(1); }
.biz-item:hover { padding-left:20px !important; background:var(--gray-50); }
.biz-item:hover .biz-arrow { transform: translate(3px, -3px); }

/* Approach step number */
.step-num {
  font-size: clamp(72px, 10vw, 140px); font-weight: 900;
  line-height: 1; color: var(--green-subtle);
  letter-spacing: -0.04em;
}

/* Form */
.form-group { margin-bottom: 32px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--gray-500); margin-bottom: 8px; }
.form-input {
  width: 100%; border: none; border-bottom: 1px solid var(--gray-100);
  padding: 12px 0; font-size: 16px; background: transparent;
  outline: none; transition: border-color 0.3s ease;
  color: var(--black);
}
.form-input:focus { border-bottom-color: var(--green); }
.form-input { transition: border-color 0.4s ease, padding-left 0.3s ease; }
.form-input:focus { padding-left: 8px; }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.8; }

/* Section dividers — About through News */
#about, #business, #news {
  border-top: 1px solid var(--gray-100);
}

/* Section rhythm — padding variation */
#about.section, #business.section { padding-top: clamp(100px, 15vw, 180px); padding-bottom: clamp(100px, 15vw, 180px); }
#news.section { padding-top: clamp(52px, 7vw, 88px); padding-bottom: clamp(52px, 7vw, 88px); }

/* Typography contrast — key section headings */
#about .heading-lg, #business .heading-lg { font-size: clamp(30px, 4.5vw, 52px); }

/* Footer */
.footer-wrap { background: var(--charcoal); color: var(--white); padding: 80px 0 40px; }
.footer-wrap a { color: rgba(255,255,255,0.6); transition: color 0.2s ease; }
.footer-wrap a:hover { color: var(--white); }

/* News item */
.news-row {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--gray-100);
  transition: all 0.35s var(--ease);
  cursor: pointer;
}
.news-row:hover { background: var(--ivory); padding-left: 12px; }
.news-date { font-size: 13px; color: var(--gray-500); min-width: 100px; font-variant-numeric: tabular-nums; }
.news-cat {
  font-size: 11px; font-weight: 500; letter-spacing: 0.05em;
  padding: 4px 10px; border: 1px solid var(--gray-100);
  border-radius: 2px; color: var(--gray-500); white-space: nowrap;
}
.news-title { flex: 1; font-size: 15px; font-weight: 500; }
.news-arrow { color: var(--gray-300); transition: all 0.35s var(--ease); }
.news-row:hover .news-arrow { transform: translateX(6px); color: var(--green); }

/* Value list */
.value-item {
  display: flex; align-items: baseline; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--gray-100);
}
.value-num { font-size: 12px; font-weight: 500; color: var(--green); min-width: 20px; }
.value-text { font-size: clamp(18px, 2vw, 24px); font-weight: 700; }

/* Responsive */
@media (max-width: 1024px) {
  .nav { gap: 20px; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .section { padding: clamp(60px, 10vw, 100px) 0; }
  .news-row { flex-wrap: wrap; gap: 8px; }
  .news-date { min-width: auto; }
}

/* Static conversion additions */
.hero-section { height: 90vh; position: relative; overflow: hidden; background: #111111; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,26,18,0.82) 0%, rgba(10,26,18,0.45) 55%, rgba(10,26,18,0.15) 100%); }
.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 80px); padding-top: var(--header-h); z-index: 2; }
.hero-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; animation: hero-fadein 0.8s var(--ease) both; }
.hero-label-line { width: 28px; height: 1.5px; background: var(--green-light); display: inline-block; }
.hero-label-text { font-size: 12px; letter-spacing: 0.15em; text-transform: none; font-weight: 300; color: rgba(255,255,255,0.55); font-family: var(--font); }
.hero-title { font-size: clamp(36px, 5.5vw, 80px); font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; color: var(--white); margin-bottom: clamp(16px, 2vw, 28px); max-width: 720px; animation: hero-slidein 0.9s var(--ease) 0.1s both; font-family: var(--font); }
.hero-sub { font-size: clamp(14px, 1.2vw, 18px); line-height: 2; color: rgba(255,255,255,0.65); max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); font-family: var(--font); animation: hero-fadein 1s var(--ease) 0.25s both; }
.hero-sub-line { display: block; }
.hero-nowrap { white-space: nowrap; }
.hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-contact-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.75); font-family: var(--font); transition: gap 0.3s var(--ease), color 0.3s ease; }
.hero-contact-link:hover { gap: 14px; color: white; }
.scroll-cue { position: absolute; bottom: 32px; right: 48px; display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 2; opacity: 0.45; }
.scroll-cue span { font-size: 10px; letter-spacing: 0.15em; color: white; text-transform: uppercase; font-family: var(--font); writing-mode: vertical-rl; }
.scroll-cue-line { width: 1px; height: 48px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.scroll-cue-line::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: white; animation: scroll-cue 2s ease-in-out infinite; }
.about-grid, .contact-grid { display: grid; gap: clamp(40px, 8vw, 100px); align-items: center; }
.about-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.section-heading-spaced { margin-bottom: clamp(48px, 6vw, 80px); max-width: 700px; }
.business-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.biz-item { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--gray-100); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; text-decoration: none; color: inherit; }
.biz-num { font-size: clamp(36px, 4vw, 56px); font-weight: 900; line-height: 1; color: var(--green); opacity: 0.18; font-variant-numeric: tabular-nums; }
.biz-title { font-size: clamp(18px, 2vw, 22px); font-weight: 700; margin-bottom: 10px; color: var(--charcoal); }
.about-more { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; color: var(--green-light); border-bottom: 1px solid var(--green-light); padding-bottom: 4px; transition: gap 0.3s var(--ease), opacity 0.3s ease; }
.about-more:hover { gap: 16px; opacity: 0.7; }
.about-diagram svg { width: 100%; max-width: 460px; margin: 0 auto; display: block; }
.network-diagram .draw-line { stroke-dasharray: var(--line-length); stroke-dashoffset: var(--line-length); transition: stroke-dashoffset 0.9s cubic-bezier(0.16,1,0.3,1); transition-delay: var(--line-delay); }
.network-diagram.is-revealed .draw-line, .about-diagram.is-revealed .draw-line { stroke-dashoffset: 0; }
.network-pop { transform: scale(0); transform-box: fill-box; transform-origin: center; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); transition-delay: var(--pop-delay); }
.network-diagram.is-revealed .network-pop, .about-diagram.is-revealed .network-pop { transform: scale(1); }
.network-text { opacity: 0; transition: opacity 0.5s ease; transition-delay: var(--text-delay); }
.network-diagram.is-revealed .network-text, .about-diagram.is-revealed .network-text { opacity: 1; }
.news-feature { padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid var(--gray-100); border-radius: 12px; margin-bottom: clamp(24px, 3vw, 40px); cursor: pointer; transition: border-color 0.4s var(--ease); }
.news-feature:hover { border-color: rgba(26,26,26,0.25); }
.news-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.news-feature-title { font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; line-height: 1.5; color: var(--charcoal); margin-bottom: 20px; }
.contact-brand { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.contact-address { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 2; }
.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card { display: flex; align-items: center; gap: 20px; padding: 24px 28px; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; background: rgba(255,255,255,0.04); transition: background 0.35s var(--ease), border-color 0.35s var(--ease); text-decoration: none; }
.contact-card:hover { background: rgba(130,200,102,0.08); border-color: rgba(130,200,102,0.3); }
.contact-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(130,200,102,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-kind { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; font-family: var(--font); }
.contact-value { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.85); font-family: var(--font); }
.contact-hours { display: flex; gap: 10px; align-items: center; padding-left: 4px; }
.contact-hours-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-light); animation: pulse-ring 3s ease-in-out infinite; }
.contact-hours span { font-size: 12px; color: rgba(255,255,255,0.35); font-family: var(--font); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 32px; margin-bottom: 40px; }
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; letter-spacing: 0.05em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; }
@keyframes hero-fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-slidein { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scroll-cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(300%); } }
@media (max-width: 768px) { .about-grid, .contact-grid { grid-template-columns: 1fr; } .about-diagram { order: 1; max-width: 320px; margin: 0 auto; } .hero-section { min-height: 680px; } .scroll-cue { right: 24px; bottom: 24px; } .contact-card { padding: 20px; } }
@media (max-width: 640px) { .hero-sub { max-width: 100%; } .hero-sub-line { display: inline; } .hero-sub-line + .hero-sub-line::before { content: ""; display: block; } .hero-cta { flex-direction: column; align-items: flex-start; gap: 16px; } .footer-bottom { flex-direction: column; align-items: flex-start; } .footer-grid { flex-direction: column; align-items: flex-start; } .biz-item { grid-template-columns: 1fr; } }
