:root {
  --bg: #ffffff;
  --bg-soft: #f7faf8;
  --text: #1f2d24;
  --muted: #5f7266;
  --line: rgba(31, 45, 36, 0.14);
  --glass: rgba(255, 255, 255, 0.9);
  --brand: #37d0a8;
  --brand-2: #47a9ff;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--bg);
  position: relative;
}

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

.bg-orb {
  position: fixed;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.12;
}

.orb-a {
  top: -90px;
  left: -80px;
  background: #2f71ff;
}

.orb-b {
  right: -80px;
  bottom: -120px;
  background: #1ec6a2;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: #ffffff;
  border-bottom: 1px solid rgba(12, 57, 42, 0.14);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 180px;
  height: 58px;
  background: radial-gradient(
    ellipse at left bottom,
    rgba(13, 96, 70, 0.08) 0%,
    rgba(13, 96, 70, 0) 70%
  );
  pointer-events: none;
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.logo {
  display: inline-flex;
  width: min(340px, 60vw);
  height: 58px;
  overflow: hidden;
  background: #ffffff;
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Remove white margin and left edge line from source image */
  clip-path: inset(8px 18px 10px 30px);
  border-radius: 0;
  mix-blend-mode: multiply;
  background: #ffffff;
}

.main-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
  font-size: 0.94rem;
  color: #355245;
  position: relative;
}

.nav-link {
  position: relative;
  padding: 0.1rem 1rem;
  line-height: 1;
  color: #2e4a3d;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #0f5f46;
}

.nav-link + .nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  transform: translateY(-50%);
  background: rgba(22, 67, 51, 0.24);
}

.nav-link.is-active {
  color: #0f5f46;
  font-weight: 600;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: -0.95rem;
  height: 2px;
  border-radius: 10px;
  background: #0f6a4f;
}

.nav-cta {
  margin-left: 1rem;
  padding: 0.68rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b5c43 0%, #0f7b5a 100%);
  color: #ffffff;
  font-weight: 600;
  min-width: 156px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  box-shadow: 0 9px 18px rgba(11, 89, 65, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(11, 89, 65, 0.28);
  filter: saturate(1.06);
}

.section {
  padding: 5rem 0;
}

.hero {
  padding-top: 6rem;
}

.hero-media {
  position: relative;
  overflow: hidden;
  width: min(100%, 980px);
  min-height: 260px;
  max-height: 360px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  background: url("assets/agri-1.jpg") center / cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.7)
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: stretch;
}

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

.eyebrow {
  display: inline-block;
  margin: 0 0 0.7rem;
  color: var(--brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.3;
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.01em;
}

h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 670px;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-subtitle {
  margin: -0.3rem 0 1rem;
  color: #3f5147;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #07131f;
  font-weight: 700;
}

.button.ghost {
  background: transparent;
  color: #2a3c31;
  border: 1px solid var(--line);
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(24, 44, 32, 0.08);
}

.about-copy {
  padding: 1.5rem 1.5rem;
}

.image-gallery-wrap {
  padding-top: 1.2rem;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.about-subtitle-en {
  margin: 0 0 0.25rem;
  color: #8a9890;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.about-block {
  margin: 0;
}

.about-block + .about-block {
  margin-top: 2.1rem;
}

.about-en {
  margin: 0 0 0.55rem;
  color: #8a9890;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.about-block p {
  margin: 0;
  color: #263a2f;
}

.about-block p + p {
  margin-top: 0.8rem;
}

.about-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.about-compare-item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.about-compare-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.about-compare-item figcaption {
  padding: 0.45rem 0.65rem 0.55rem;
  color: #516357;
  font-size: 0.82rem;
  line-height: 1.5;
}

.about-emphasis {
  color: #20382b;
  font-weight: 700;
}

.about-tagline {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.about-tagline-ja {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.4;
  font-weight: 700;
  color: #14261d;
}

.about-tagline-en {
  margin: 0.35rem 0 0;
  color: #8a9890;
  letter-spacing: 0.07em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.values-intro {
  margin: -0.4rem 0 1.2rem;
  color: var(--muted);
}

.values-intro span {
  color: #0b6b51;
  font-weight: 700;
}

.values-heading {
  background: linear-gradient(90deg, #065f46, #10b981, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.value-card {
  position: relative;
  padding: 1.1rem 1.05rem 1.05rem 1.25rem;
  border: 1px solid rgba(20, 40, 31, 0.1);
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.92), #f9fcfa);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.value-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 6px;
  background: #c7d3cc;
  transition: width 0.22s ease, box-shadow 0.22s ease;
}

.value-card::after {
  content: "";
  position: absolute;
  top: 1.28rem;
  right: 1.05rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c7d3cc;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(28, 49, 38, 0.14);
  border-color: rgba(18, 42, 32, 0.2);
}

.value-card:hover::before {
  width: 4px;
  box-shadow: 0 0 10px rgba(28, 49, 38, 0.18);
}

.value-point {
  margin: 0 0 0.35rem;
  color: #9aa79f;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.value-card h3 {
  margin-bottom: 0.45rem;
  color: #1e3529;
}

.value-ja {
  margin-left: 0.35rem;
  font-size: 0.72em;
  font-weight: 600;
  color: #6f8478;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.value-mini-en {
  margin: 0 0 0.45rem;
  color: #93a39a;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.value-people::before,
.value-people::after {
  background: linear-gradient(180deg, #f97316, #fb923c);
}

.value-structure::before,
.value-structure::after {
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
}

.value-expansion::before,
.value-expansion::after {
  background: linear-gradient(180deg, #8b5cf6, #a78bfa);
}

.value-market::before,
.value-market::after {
  background: linear-gradient(180deg, #10b981, #34d399);
}

.value-zenith::before,
.value-zenith::after {
  background: linear-gradient(180deg, #f59e0b, #fbbf24);
}

.value-brand::before,
.value-brand::after {
  background: linear-gradient(180deg, #065f46, #0b8d68);
}

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

.section-head {
  margin-bottom: 1.15rem;
}

.service-grid.modern {
  gap: 1.35rem;
}

.service-panel {
  background: #ffffff;
  border: 1px solid #e4ece7;
  border-radius: 14px;
  padding: 1.45rem 1.5rem 1.05rem;
  box-shadow: none;
}

.service-panel-head {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e7ede9;
}

.service-en-title {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  color: #7a8e84;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.service-panel h3 {
  margin: 0;
  font-size: clamp(1.85rem, 2.25vw, 2.2rem);
  letter-spacing: 0;
  color: #1f3d31;
}

.service-panel h4 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  color: #3f5850;
}

.service-en-copy {
  margin: 0.38rem 0 0.95rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: #99a99f;
  font-weight: 600;
  text-transform: none;
}

.service-body p {
  margin: 0;
  color: #31473c;
  font-size: 0.9rem;
  line-height: 1.86;
  letter-spacing: 0;
}

.service-body p + p {
  margin-top: 0.65rem;
}

.service-feature-grid {
  margin-top: 1.05rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #e7ede9;
}

.service-feature {
  padding: 0.75rem 0.68rem 0.72rem;
  border-right: 1px solid #e7ede9;
  border-bottom: 1px solid #e7ede9;
}

.service-feature:nth-child(2n) {
  border-right: 0;
}

.service-feature strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
  color: #253d31;
}

.service-feature span {
  display: block;
  margin-top: 0.14rem;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  color: #95a49b;
}

.service-points {
  margin: 0.35rem 0 0.2rem 1.1rem;
  padding: 0;
  color: var(--muted);
}

.service-points li {
  margin: 0.25rem 0;
}

.company-table {
  margin: 0;
  padding: 1.05rem 1.2rem;
}

.company-table div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0.6rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

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

.company-table dt {
  color: #9db0c9;
  font-weight: 600;
}

.company-table dd {
  margin: 0;
  color: #1f2d24;
}

.contact-box {
  padding: 1.4rem 1.2rem;
}

.contact-box p {
  margin: 0;
  color: var(--muted);
}

.contact-box .mail {
  margin-top: 0.8rem;
}

.contact-box .mail a {
  color: #1f2d24;
  font-size: 1.25rem;
  font-weight: 700;
}

.simulator-cta {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 2.2rem 2rem 1.95rem;
  border-radius: 20px;
  border: 1px solid rgba(9, 77, 56, 0.16);
  background: linear-gradient(130deg, #ffffff 0%, #f3fcf7 78%);
  box-shadow: 0 20px 44px rgba(9, 59, 43, 0.08);
  overflow: hidden;
}

.simulator-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(33, 94, 75, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(33, 94, 75, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
}

.simulator-cta::after {
  content: "";
  position: absolute;
  right: -58px;
  top: -30px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(18, 186, 130, 0.14) 0%,
    rgba(18, 186, 130, 0) 70%
  );
  pointer-events: none;
}

.simulator-kicker,
.simulator-cta h2,
.simulator-subcopy,
.simulator-note,
.simulator-action,
.simulator-caption {
  position: relative;
  z-index: 1;
}

.simulator-kicker {
  margin: 0 0 0.5rem;
  color: #7f9288;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.simulator-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.15;
  color: #122a20;
  letter-spacing: 0.01em;
}

.simulator-cta h2 span {
  color: #06634a;
}

.simulator-subcopy {
  margin: 0.8rem 0 0;
  max-width: 760px;
  color: #556a61;
  font-size: 1.01rem;
  line-height: 1.85;
}

.simulator-note {
  margin: 0.5rem 0 0;
  color: #6f8078;
  font-size: 0.88rem;
}

.simulator-action {
  margin: 1.25rem 0 0;
}

.simulator-action a {
  display: inline-flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 360px;
  padding: 0.95rem 1.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #065f46 0%, #108966 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(5, 90, 67, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.simulator-action a:hover {
  transform: translateY(-3px);
  filter: saturate(1.05);
  box-shadow: 0 18px 30px rgba(5, 90, 67, 0.3);
}

.simulator-action-ja {
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.3;
}

.simulator-action-en {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  opacity: 0.92;
}

.simulator-caption {
  margin: 0.55rem 0 0;
  color: #7d8f86;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.site-footer {
  padding: 1.5rem 0 2rem;
}

.site-footer p {
  margin: 0;
  text-align: center;
  color: #6c7f74;
  font-size: 0.9rem;
}

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 780px) {
  .section {
    padding: 4rem 0;
  }

  .nav-wrap {
    min-height: 68px;
    align-items: flex-start;
    padding: 0.72rem 0 0.6rem;
    flex-direction: column;
  }

  .logo {
    width: min(290px, 88vw);
    height: 50px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.45rem 0;
    font-size: 0.86rem;
  }

  .nav-link {
    padding: 0.1rem 0.76rem;
  }

  .nav-link + .nav-link::before {
    height: 14px;
  }

  .nav-link.is-active::after {
    bottom: -0.58rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.25rem;
    min-width: 142px;
    padding: 0.58rem 0.95rem;
    font-size: 0.84rem;
  }

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

  .simulator-cta {
    padding: 1.45rem 1.1rem 1.3rem;
    border-radius: 16px;
  }

  .simulator-subcopy {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .simulator-action a {
    min-width: 100%;
    width: 100%;
    padding: 0.9rem 1.1rem;
  }

  .service-panel h3 {
    font-size: 1.6rem;
  }

  .service-panel h4 {
    font-size: 1.18rem;
  }

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

  .service-feature {
    border-right: 0;
  }

  .hero-media {
    width: 100%;
    min-height: 220px;
    max-height: 260px;
    margin-bottom: 1rem;
  }

  .image-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-card img {
    height: 200px;
  }

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

  .about-copy {
    padding: 1.15rem 1rem;
  }

  .about-block + .about-block {
    margin-top: 1.55rem;
  }

  .about-compare {
    grid-template-columns: 1fr;
  }

  .about-compare-item img {
    height: 170px;
  }
}
