/* ============================================
   きのこ農場 - 公式サイト
   Fonts: Noto Serif JP + Helvetica Neue
   ============================================ */

:root {
  --ink:        #141414;
  --ink-soft:   #555555;
  --ink-faint:  #8a8a8a;
  --bg:         #ffffff;
  --cream:      #f5f2f0;
  --cream-2:    #ebe4df;
  --leaf:       #c25b3e;
  --leaf-dark:  #a44528;
  --leaf-deep:  #1c1714;
  --line:       #e8e2dc;
  --line-soft:  #f0eae4;

  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans:  "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans", "Yu Gothic", sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-pad: clamp(80px, 9vw, 130px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.9;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--leaf-dark);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--leaf-dark);
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 47px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin-top: 18px;
}

.section-title .en {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-faint);
  margin-top: 14px;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  gap: 14px;
  padding: 18px 32px;
  background: var(--leaf-deep);
  color: #fff;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.1em;
  border: 0;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.btn:hover { background: var(--leaf-dark); transform: translateY(-1px); }
.btn .arrow { font-family: var(--sans); font-size: 13px; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
}
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Section "詳しく見る" footer link */
.section-more {
  margin-top: 48px;
}
.section-more.center {
  display: flex;
  justify-content: center;
}

/* On the dark B2B panel: two buttons side by side */
.b2b-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.btn-outline-light {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn-outline-light:hover { background: #fff; color: var(--leaf-deep); border-color: #fff; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled { border-color: var(--line); }

/* Transparent state over the hero image */
.site-header.over-hero {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.site-header.over-hero .brand-name { color: #fff; }
.site-header.over-hero .brand-sub { color: rgba(255,255,255,0.7); }
.site-header.over-hero .nav a { color: rgba(255,255,255,0.92); }
.site-header.over-hero .nav a:hover { color: #fff; }
.site-header.over-hero .nav a::after { background: #fff; }
.site-header.over-hero .nav-cta {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
}
.site-header.over-hero .nav-cta:hover { background: #fff; color: var(--leaf-deep) !important; }
.site-header.over-hero .brand-mark {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.55), 0 8px 24px rgba(0,0,0,0.35);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  max-width: none;
  padding-left: clamp(24px, 4vw, 64px);
  padding-right: clamp(24px, 4vw, 64px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 88px; height: 88px;
  display: grid; place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
  transition: box-shadow .35s ease;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.6);
}
.brand-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: color .35s ease;
}
.brand-sub {
  font-family: var(--sans);
  font-size: 10px;
  color: #3a3a3a;
  letter-spacing: 0.2em;
  display: block;
  margin-top: 3px;
  transition: color .35s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ink);
  position: relative;
  padding: 8px 0;
  transition: color .35s ease;
}
.nav a:hover { color: var(--leaf-dark); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 1px;
  background: var(--leaf-dark);
  transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }

.nav-cta {
  background: var(--leaf-deep);
  color: #fff !important;
  border-radius: 999px;
  padding: 12px 22px !important;
  font-size: 13px !important;
  letter-spacing: 0.1em;
  transition: background .35s ease, border-color .35s ease, color .35s ease;
}
.nav-cta:hover { background: var(--leaf-dark); }
.nav-cta::after { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: heroZoom 16s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(20,18,16,0.40) 0%, rgba(20,18,16,0.16) 30%, rgba(20,18,16,0.00) 54%, rgba(20,18,16,0.00) 100%),
    linear-gradient(0deg, rgba(20,18,16,0.14) 0%, transparent 22%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 110px;
  padding-bottom: 70px;
}
.hero .eyebrow { color: rgba(255,255,255,0.96); text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.hero-brand {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: 0.14em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 6px 50px rgba(0,0,0,0.5);
  margin-bottom: 0;
}
.hero .eyebrow::before { background: rgba(255,255,255,0.7); }
.hero-certs {
  font-family: var(--sans);
  font-size: 26px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  margin-top: 14px;
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-catch {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(18px, 2.1vw, 26px);
  letter-spacing: 0.18em;
  color: #fff;
  margin-top: 11px;
  padding-left: 2px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6), 0 4px 30px rgba(0,0,0,0.45);
}

/* Logo lockup */
.hero-lockup {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 38px;
}
.hero-logo-ring {
  position: relative;
  width: clamp(78px, 8vw, 104px);
  height: clamp(78px, 8vw, 104px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 14px 44px rgba(0,0,0,0.4);
}
.hero-logo-ring::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
}
.hero-logo {
  width: 84%;
  height: 84%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.hero-lockup-text {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.3);
}
.hero-lockup-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.14em;
  color: #fff;
}
.hero-lockup-sub {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: rgba(255,255,255,0.72);
}

.hero-eyebrow-logo { display: block; height: 160px; width: auto; margin-bottom: 22px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.32;
  letter-spacing: 0.07em;
  margin: 26px 0 40px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 6px 50px rgba(0,0,0,0.5);
  max-width: 18em;
}
.hero h1 .accent {
  color: #fff;
  position: relative;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 6px;
  height: 6px;
  background: var(--leaf);
  opacity: 0.92;
  z-index: -1;
}
.br-sp { display: none; }
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #141414;
  border: 1px solid #141414;
  backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.hero-stamp {
  position: absolute;
  top: 120px;
  right: var(--gutter);
  z-index: 2;
  width: 116px; height: 116px;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  transform: rotate(-8deg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.hero-stamp small {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  display: block;
  opacity: 0.8;
  margin-bottom: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.8);
}
.hero-scroll .line {
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}
.hero-scroll .line::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 46px;
  background: #fff;
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-46px); }
  100% { transform: translateY(46px); }
}
@media (max-width: 700px) {
  .hero-bg { background-position-x: 80%; background-position-y: 20px; background-repeat: no-repeat; }
  .hero-inner { padding-top: 90px; padding-bottom: 90px; }
  .hero-certs { font-size: 18px; margin-top: 10px; margin-bottom: 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-actions .btn-ghost { background: #fff; color: var(--ink); border-color: #fff; }
}

/* placeholder graphic - subtle stripes */
.ph {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(28,23,20,0.04) 0px,
      rgba(28,23,20,0.04) 1px,
      transparent 1px,
      transparent 10px
    ),
    var(--cream);
  display: grid;
  place-items: center;
  position: relative;
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
  padding: 6px 12px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
}

/* ============ MARQUEE STRIP ============ */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--cream);
  overflow: hidden;
}
.strip-inner {
  display: flex;
  gap: 64px;
  align-items: center;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
}
.strip-item {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.strip-item .dot {
  width: 6px; height: 6px;
  background: var(--leaf);
  border-radius: 50%;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ CLIENTS MARQUEE ============ */
.clients-strip {
  padding: 54px 0 58px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.clients-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 34px;
}
.clients-label .line-mark {
  width: 28px; height: 1px;
  background: var(--leaf);
  flex-shrink: 0;
}
.clients-label .en {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--ink-faint);
}
.clients-track-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.clients-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: clientsScroll 48s linear infinite;
}

.client-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 30px;
  background: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.client-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--leaf-deep);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .3s ease;
}
.client-mark svg { width: 26px; height: 26px; }
.client-word {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}
.cw-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.cw-sub {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--ink-faint);
}
@keyframes clientsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
}

/* ============ ABOUT ============ */
.section { padding: var(--section-pad) 0; }
.section-tight { padding: calc(var(--section-pad) * 0.75) 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2.2;
}
.about-photo-caption {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1.9;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  padding-left: 22px;
  margin-bottom: 20px;
  position: relative;
}
.about-photo-caption::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--leaf);
}
.about-visual { position: relative; }
.integrated-flow { padding: 100px 0; background: #fff; text-align: center; position: relative; overflow: hidden; }
.if-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(8px) saturate(1.15); opacity: 0.5; transform: scale(1.1); }
.integrated-flow .container { position: relative; z-index: 1; }
.integrated-flow .eyebrow { justify-content: center; color: var(--leaf-dark); }
.integrated-flow .eyebrow::before { background: var(--leaf-dark); }
.integrated-flow .section-title { color: var(--ink); margin: 20px auto 0; }
.integrated-flow-track { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: nowrap; margin-top: 56px; }
.if-step { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 22px 40px; background: #fff; color: var(--ink); font-family: var(--serif); min-width: 0; flex: 1 1 0; box-shadow: 0 30px 60px -24px rgba(20,20,20,0.16); border-radius: 4px; position: relative; transition: transform .35s ease, box-shadow .35s ease; }
.if-step:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -24px rgba(20,20,20,0.22); }
.if-img { width: 120px; height: 120px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line); }
.if-icon { display: flex; align-items: center; justify-content: center; background: var(--cream-2); }
.if-icon svg { width: 56px; height: 56px; color: var(--leaf); }
.if-num { font-family: var(--sans); font-size: 11px; letter-spacing: 0.28em; color: var(--leaf-dark); }
.if-step h3 { font-size: 22px; font-weight: 500; letter-spacing: 0.06em; margin: 0; }
.if-step p { font-family: var(--sans); font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); letter-spacing: 0.02em; }
.if-arrow { color: var(--leaf); font-size: 20px; align-self: center; margin: 0 8px; opacity: 0.6; flex-shrink: 0; }
.integrated-flow-note { margin-top: 44px; color: var(--ink); font-size: 15px; letter-spacing: 0.06em; font-style: italic; }
@media (max-width: 980px) { .integrated-flow-track { flex-wrap: wrap; } .if-arrow { transform: rotate(90deg); margin: 0; } .if-step { flex: 1 1 220px; } }
.quality-simple { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 40px; }
.quality-simple-list { list-style: none; }
.quality-simple-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 19px; letter-spacing: 0.03em; }
.quality-simple-list li:first-child { border-top: 1px solid var(--line); }
.qs-mark { color: var(--leaf); font-family: var(--sans); font-weight: 700; }
.qs-logo { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.qs-note { flex-basis: 100%; font-family: var(--sans); font-size: 14px; color: var(--ink-soft); letter-spacing: 0.02em; line-height: 1.8; }
.quality-simple-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quality-simple-photos .ph { aspect-ratio: 4/5; }
@media (max-width: 780px) { .quality-simple { grid-template-columns: 1fr; } }
.about-visual .ph { aspect-ratio: 4/5; }
.about-visual .ph::after { display: none; }
.about-quote {
  position: absolute;
  bottom: -32px; left: -32px;
  background: #fff;
  padding: 28px 32px;
  max-width: 260px;
  border-top: 3px solid var(--leaf);
  box-shadow: 0 20px 40px rgba(28,23,20,0.08);
}
.about-quote p {
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 2;
  color: var(--ink);
}
.about-quote .by {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 12px;
  letter-spacing: 0.15em;
}

/* ============ STRENGTHS ============ */
.strengths {
  background: var(--cream);
  padding: var(--section-pad) 0;
}
.strengths-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}
.strengths-head p {
  color: var(--ink-soft);
  max-width: 420px;
  font-size: 16.5px;
  line-height: 2.1;
}
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.strength-card {
  background: #fff;
  padding: 44px 36px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.strength-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(28,23,20,0.08);
}
.strength-num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--leaf-dark);
}
.strength-icon {
  width: 72px; height: 72px;
  margin: 18px 0 24px;
  background: var(--cream);
  display: grid; place-items: center;
  border-radius: 50%;
}
.strength-icon svg { stroke: var(--leaf-deep); }
.strength-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  line-height: 1.6;
}
.strength-card p {
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--ink-soft);
}

/* ============ PRODUCTION FLOW ============ */
.flow-head {
  text-align: center;
  margin-bottom: 70px;
}
.flow-head .eyebrow { justify-content: center; }
.flow-head .section-title { margin: 18px auto 0; max-width: 720px; }
.flow-head p {
  margin: 24px auto 0;
  max-width: 560px;
  color: var(--ink-soft);
  line-height: 2.1;
  font-size: 16.5px;
}

.flow-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 32px;
  row-gap: 60px;
  position: relative;
}
.flow-step {
  position: relative;
  cursor: pointer;
}
.flow-step .ph {
  aspect-ratio: 4/3;
  transition: transform .35s ease;
  width: 100%;
  margin-bottom: 20px;
}
.ph[style*="background-image"]::after { display: none; }
.flow-step:hover .ph { transform: scale(1.02); }
.flow-step .step-body { padding-right: 4px; }
.flow-step .step-num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--leaf-dark);
  margin-bottom: 12px;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--leaf);
}
.flow-step h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-bottom: 10px;
}
.flow-step .desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 2;
  font-family: var(--serif);
}
.flow-arrow { display: none; }

/* ============ PRODUCTS ============ */
.products {
  background: var(--cream);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.product-card {
  background: #fff;
  display: flex;
  flex-direction: column;
}
.product-card .ph {
  aspect-ratio: 4/5;
  background-color: var(--cream-2);
}
.product-info {
  padding: 26px 24px 30px;
}
.product-tag {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--leaf-dark);
  letter-spacing: 0.2em;
  display: inline-block;
  padding: 4px 10px;
  background: var(--cream);
  margin-bottom: 14px;
}
.product-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.product-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 2;
  min-height: 70px;
}
.product-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}

/* ============ CERTIFICATIONS ============ */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}
.cert-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 36px;
  align-items: center;
  padding: 44px;
  border: 1px solid var(--line);
}
.cert-badge {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--cream);
  display: grid; place-items: center;
  border: 2px solid var(--leaf);
  text-align: center;
  font-family: var(--serif);
  position: relative;
}
.cert-badge .big {
  font-size: 28px;
  font-weight: 500;
  color: var(--leaf-deep);
  letter-spacing: 0.05em;
}
.cert-badge .small {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  margin-top: 4px;
  display: block;
}
.cert-info h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.cert-info .cert-en {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--leaf-dark);
  margin-bottom: 14px;
}
.cert-info p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 2.05;
}

/* ============ B2B (Business) ============ */
.b2b {
  background: var(--leaf-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.b2b::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.025) 0,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 14px
    );
}
.b2b .container { position: relative; }
.b2b-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.b2b .eyebrow {
  color: oklch(0.82 0.1 50);
}
.b2b .eyebrow::before { background: oklch(0.82 0.1 50); }
.b2b h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 18px 0 28px;
}
.b2b p.lead {
  font-size: 17px;
  line-height: 2.2;
  color: rgba(255,255,255,0.85);
  margin-bottom: 38px;
  max-width: 480px;
}
.b2b-features {
  list-style: none;
  margin-bottom: 40px;
}
.b2b-features li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 16px;
  letter-spacing: 0.04em;
}
.b2b-features li:last-child { border-bottom: 1px solid rgba(255,255,255,0.15); }
.b2b-features .num {
  font-family: var(--sans);
  font-size: 12px;
  color: oklch(0.82 0.1 50);
  letter-spacing: 0.2em;
  min-width: 26px;
}
.b2b-features .desc {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-left: auto;
  font-family: var(--sans);
  letter-spacing: 0.1em;
}

.b2b .btn {
  background: #fff;
  color: var(--leaf-deep);
}
.b2b .btn:hover { background: var(--cream); }

.b2b-visual {
  position: relative;
  aspect-ratio: 4/5;
}
.b2b-icongrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
}
.b2b-icon-item {
  background: rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 24px;
}
.b2b-icon-item svg {
  width: 84px;
  height: 84px;
  color: oklch(0.82 0.1 50);
}
.b2b-icon-item span {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.9);
}
.b2b-visual .ph {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  height: 100%;
}
.b2b-visual .ph::after {
  background: rgba(28,23,20,0.7);
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.2);
}
.b2b-clients {
  position: absolute;
  bottom: -28px; left: -28px;
  background: #fff;
  color: var(--ink);
  padding: 24px 28px;
  min-width: 280px;
}
.b2b-clients .label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--leaf-dark);
  margin-bottom: 10px;
}
.b2b-clients ul {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-family: var(--serif);
  font-size: 13px;
}

/* ============ NEWS ============ */
.news-grid {
  margin-top: 50px;
  border-top: 1px solid var(--line);
}
.news-item {
  display: grid;
  grid-template-columns: 140px 120px 1fr 20px;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  transition: padding .3s ease;
}
.news-item:hover { padding-left: 12px; }
.news-date {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--ink-faint);
}
.news-cat {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--leaf-dark);
  padding: 4px 12px;
  border: 1px solid var(--leaf);
  text-align: center;
  width: fit-content;
}
.news-title {
  font-family: var(--serif);
  font-size: 16.5px;
  letter-spacing: 0.04em;
}
.news-arrow { color: var(--ink-faint); font-family: var(--sans); }

/* ============ CONTACT ============ */
.contact {
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  margin-top: 50px;
}
.contact-info { padding-right: 20px; }
.info-block {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  font-size: 15.5px;
  line-height: 2;
}
.info-block:last-child { border-bottom: 1px solid var(--line); }
.info-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--leaf-dark);
  padding-top: 4px;
}
.info-value { color: var(--ink); }
.info-value .big {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.map-ph {
  aspect-ratio: 16/9;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.map-ph iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.form-card {
  background: #fff;
  padding: 44px;
}
.form-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.form-card .sub {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  line-height: 1.9;
}
.field {
  margin-bottom: 22px;
}
.field label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 14.5px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.field label .req {
  font-family: var(--sans);
  font-size: 10px;
  background: var(--leaf-deep);
  color: #fff;
  padding: 2px 7px;
  letter-spacing: 0.1em;
}
.field label .opt {
  font-family: var(--sans);
  font-size: 10px;
  border: 1px solid var(--line);
  color: var(--ink-faint);
  padding: 2px 7px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--serif);
  font-size: 15.5px;
  color: var(--ink);
  transition: border-color .25s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--leaf-dark);
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.8; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
  padding: 20px;
  font-size: 15px;
  letter-spacing: 0.2em;
}
.form-note {
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 14px;
  line-height: 1.8;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}
.form-success.show { display: block; }
.form-success .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  display: grid; place-items: center;
  margin: 0 auto 24px;
  font-size: 32px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--leaf-deep);
  color: #fff;
  padding: calc(var(--section-pad) * 0.7) 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-brand .brand-mark {
  background: #fff;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255,255,255,0.6); }
.footer-brand p {
  margin-top: 24px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.75);
  line-height: 2;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  margin-bottom: 18px;
  color: oklch(0.82 0.1 50);
}
.footer-col ul { list-style: none; }
.footer-col li { padding: 7px 0; font-size: 14.5px; letter-spacing: 0.04em; }
.footer-col li a { color: rgba(255,255,255,0.8); }
.footer-col li a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.55);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .b2b-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .strength-grid, .cert-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .flow-track { grid-template-columns: 1fr 1fr; gap: 40px; }
  .flow-arrow { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .products-grid { grid-template-columns: 1fr; }
  .flow-track { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .info-block { grid-template-columns: 1fr; gap: 6px; }
  .field-row { grid-template-columns: 1fr; }
  .strengths-head { flex-direction: column; align-items: flex-start; }
  .news-item { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .news-item .news-arrow { display: none; }
  .b2b-actions { flex-direction: column; align-items: stretch; }
  .b2b-actions .btn { justify-content: center; }
}
