/* =========================================================
   きゅうりカンパニー / 株式会社LC FARM
   共通デザインシステム
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --green-900: #0f3d2e;   /* 深いきゅうりグリーン(最も濃い) */
  --green-800: #14532d;
  --green-700: #1a6b3c;   /* メイン */
  --green-600: #218a4e;
  --green-500: #2fa866;   /* 明るい若葉色寄り */
  --green-400: #57c281;
  --green-300: #8fd9aa;
  --green-100: #dcf3e4;
  --green-050: #eef9f1;

  --leaf: #7cc043;        /* 若葉アクセント */
  --leaf-light: #a7d977;

  --accent: #f5a623;      /* 黄色〜オレンジ(少量) */
  --accent-strong: #ef8f1c;

  --ink-900: #1c2620;     /* 本文最濃 */
  --ink-700: #35423a;
  --ink-500: #5c6b62;     /* 補足文 */
  --ink-400: #7d8b83;

  --base-white: #ffffff;
  --base-cream: #f7f6f1;  /* 淡いベージュ */
  --base-cream-2: #f1efe6;
  --line: #e3e6e0;

  --danger: #d64545;

  /* Typography */
  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    "BIZ UDPGothic", Meiryo, "Yu Gothic", sans-serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-full: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(15, 61, 46, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 61, 46, 0.10);
  --shadow-lg: 0 18px 48px rgba(15, 61, 46, 0.14);

  /* Layout */
  --wrap: 1160px;
  --wrap-narrow: 820px;
  --header-h: 74px;
  --space: clamp(56px, 8vw, 104px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--base-white);
  line-height: 1.85;
  font-size: 16.5px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--green-500); }
h1, h2, h3, h4 { line-height: 1.4; letter-spacing: 0.01em; margin: 0; font-weight: 800; }
p { margin: 0 0 1.2em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--space); }
.section--cream { background: var(--base-cream); }
.section--green {
  background: linear-gradient(160deg, var(--green-800), var(--green-900));
  color: #eaf5ee;
}
.section--green h2, .section--green h3 { color: #fff; }
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--green-800); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color:#fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--r-full); font-weight: 800; font-size: 15.5px;
  border: 2px solid transparent; transition: all .18s ease; text-align: center; line-height: 1.3;
  min-height: 50px;
}
.btn--primary { background: var(--accent); color: #3d2600; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: #3d2600; transform: translateY(-2px); }
.btn--green { background: var(--green-700); color: #fff; }
.btn--green:hover { background: var(--green-600); color: #fff; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--green-800); border-color: var(--green-300); }
.btn--outline:hover { background: var(--green-050); color: var(--green-800); }
.btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: rgba(255,255,255,.22); color:#fff; }
.btn--white { background:#fff; color: var(--green-800); }
.btn--white:hover { background: var(--green-050); color: var(--green-800); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 16.5px; min-height: 58px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.site-header__inner .btn { white-space: nowrap; flex: 0 0 auto; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; color: var(--green-900); flex: 0 0 auto; }
.brand__mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand__name { font-size: 18px; line-height: 1.15; white-space: nowrap; }
.brand__name small { display: block; font-size: 10.5px; color: var(--ink-500); font-weight: 700; letter-spacing:.06em; }
.gnav { display: flex; align-items: center; gap: 4px; }
.gnav a {
  padding: 9px 12px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 700; color: var(--ink-700);
  white-space: nowrap;
}
.gnav a:hover { background: var(--green-050); color: var(--green-800); }
.gnav a[aria-current="page"] { color: var(--green-700); background: var(--green-050); }
.header-cta { margin-left: 6px; }
.nav-toggle { display: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1500; background: rgba(15,61,46,.55);
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; width: min(86vw, 360px); height: 100%;
  background: #fff; padding: 20px 22px calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto; transform: translateX(100%); transition: transform .26s ease;
  display: flex; flex-direction: column;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mobile-menu__close {
  width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: #fff; font-size: 22px; line-height: 1; color: var(--ink-700);
}
.mobile-menu nav a {
  display: block; padding: 14px 6px; font-size: 16.5px; font-weight: 700; color: var(--ink-900);
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a[aria-current="page"] { color: var(--green-700); }
.mobile-menu__ctas { margin-top: 22px; display: grid; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--green-900); color: #fff; }
/* 背景写真は index.html の .hero__media に style="background-image:url('assets/img/hero.jpg')" で指定します。
   （CSS変数に url() を入れるとブラウザによって基準パスが変わるため、HTML側で直接指定しています） */
.hero__media {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 70% 30%, #2fa866, #14532d); /* 写真未指定時のフォールバック */
  background-size: cover; background-position: center;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(15,61,46,.92) 0%, rgba(15,61,46,.72) 46%, rgba(20,83,45,.42) 100%);
}
.hero__inner { position: relative; padding-block: clamp(64px, 12vw, 128px); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13.5px;
  color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  padding: 7px 16px; border-radius: var(--r-full); letter-spacing: .08em;
}
.hero h1 {
  font-size: clamp(29px, 6vw, 54px); line-height: 1.28; margin: 22px 0 0; letter-spacing: .01em;
  text-shadow: 0 2px 18px rgba(0,0,0,.25); max-width: 15em;
}
.hero__lead { font-size: clamp(15.5px, 2.2vw, 19px); max-width: 34em; margin-top: 20px; color: #e8f3ec; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Section heading ---------- */
.sec-head { max-width: 44em; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head__eyebrow {
  display: inline-block; font-size: 13px; font-weight: 900; letter-spacing: .14em;
  color: var(--green-600); text-transform: uppercase;
}
.sec-head h2 { font-size: clamp(23px, 4vw, 36px); margin-top: 10px; color: var(--green-900); }
.section--green .sec-head__eyebrow { color: var(--leaf-light); }
.sec-head__lead { font-size: 16.5px; color: var(--ink-500); margin-top: 14px; }
.section--green .sec-head__lead { color: #cfe6d7; }

/* ---------- Grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--green-050); color: var(--green-700); margin-bottom: 16px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 18.5px; color: var(--green-900); }
.card p { font-size: 15px; color: var(--ink-500); margin: 10px 0 0; }
.card__tag {
  display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 11px; border-radius: var(--r-full);
  margin-top: 14px;
}
.tag--now { background: var(--green-100); color: var(--green-800); }
.tag--soon { background: #fdeccb; color: #8a5a09; }

/* ---------- Stat cards ---------- */
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 20px;
  text-align: center; box-shadow: var(--shadow-sm);
}
.stat__num { font-size: clamp(30px, 5vw, 44px); font-weight: 900; color: var(--green-700); line-height: 1.1; }
.stat__num .unit { font-size: .5em; margin-left: 3px; color: var(--green-600); }
.stat__label { font-size: 14.5px; color: var(--ink-700); font-weight: 700; margin-top: 8px; }
.section--green .stat { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.section--green .stat__num { color: var(--leaf-light); }
.section--green .stat__label { color: #dcefe3; }

/* ---------- Flow diagram ---------- */
.flow { display: grid; gap: 14px; }
.flow__step {
  display: flex; align-items: flex-start; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 20px; position: relative; box-shadow: var(--shadow-sm);
}
.flow__num {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--r-full); background: var(--green-700);
  color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 16px;
}
.flow__body h4 { font-size: 16.5px; color: var(--green-900); }
.flow__body p { font-size: 14.5px; color: var(--ink-500); margin: 4px 0 0; }
.flow--arrow .flow__step:not(:last-child)::after {
  content: "▼"; position: absolute; left: 34px; bottom: -13px; color: var(--green-300); font-size: 12px; z-index: 1;
}

/* horizontal flow (supply chain) */
.chain { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 8px; align-items: stretch; }
.chain__node {
  background: #fff; border: 2px solid var(--green-100); border-radius: var(--r-md); padding: 18px 14px;
  text-align: center; box-shadow: var(--shadow-sm);
}
.chain__node .ico { color: var(--green-600); }
.chain__node .ico svg { width: 30px; height: 30px; margin-inline: auto; }
.chain__node b { display: block; margin-top: 8px; color: var(--green-900); font-size: 15px; }
.chain__node span { font-size: 12.5px; color: var(--ink-500); }
.chain__arrow { display: grid; place-items: center; color: var(--green-400); font-size: 20px; font-weight: 900; }

/* ---------- Split (media + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__text h2 { font-size: clamp(22px, 3.6vw, 32px); color: var(--green-900); }

/* ---------- Placeholder image ---------- */
.ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--green-050);
  border: 1px dashed var(--green-300); aspect-ratio: 4 / 3; display: grid; place-items: center;
}
.ph--wide { aspect-ratio: 16 / 9; }
.ph--tall { aspect-ratio: 3 / 4; }
.ph__inner { text-align: center; color: var(--green-600); padding: 16px; }
.ph__inner svg { width: 46px; height: 46px; opacity: .55; margin: 0 auto 8px; }
.ph__inner span { font-size: 12.5px; font-weight: 700; opacity: .8; display:block; }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Audience nav (top 3 CTA) ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience__card {
  display: flex; flex-direction: column; gap: 12px; padding: 30px 26px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.audience__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.audience__card .ico { width: 54px; height: 54px; border-radius: var(--r-md); background: var(--green-700); color:#fff; display:grid; place-items:center; }
.audience__card .ico svg { width: 30px; height: 30px; }
.audience__card h3 { font-size: 19px; color: var(--green-900); }
.audience__card p { font-size: 14.5px; color: var(--ink-500); margin: 0; flex-grow: 1; }
.audience__card .go { font-weight: 800; color: var(--green-700); font-size: 14.5px; }

/* ---------- Feature list ---------- */
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.checklist li::before {
  content: ""; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a6b3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}
.section--green .checklist li::before { background-color: rgba(124,192,67,.25); }
.section--green .checklist li { color: #eaf5ee; }

/* ---------- News ---------- */
.news-list { display: grid; gap: 4px; }
.news-item {
  display: grid; grid-template-columns: 118px 108px 1fr; gap: 16px; align-items: center;
  padding: 18px 8px; border-bottom: 1px solid var(--line);
}
.news-item time { font-size: 14px; color: var(--ink-500); font-variant-numeric: tabular-nums; }
.news-cat {
  justify-self: start; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: var(--r-full);
  background: var(--green-050); color: var(--green-800); white-space: nowrap;
}
.news-cat[data-cat="生産者募集"] { background:#e8f4dd; color:#4a6b1a; }
.news-cat[data-cat="販売情報"] { background:#e4f1ff; color:#1a5c9e; }
.news-cat[data-cat="イベント"] { background:#fdeccb; color:#8a5a09; }
.news-cat[data-cat="メディア"] { background:#f3e6ff; color:#6b3a9e; }
.news-cat[data-cat="採用"] { background:#ffe9e9; color:#a83232; }
.news-item p { margin: 0; font-size: 15.5px; font-weight: 600; color: var(--ink-900); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; font-size: 16px;
  color: var(--green-900); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--green-500); font-weight: 400; transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq__a { padding: 0 20px 20px; font-size: 15px; color: var(--ink-700); }

/* ---------- CTA section ---------- */
.cta-final { background: linear-gradient(160deg, var(--green-700), var(--green-900)); color: #fff; }
.cta-final h2 { color: #fff; font-size: clamp(23px, 4vw, 34px); }
.cta-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.cta-3 a {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-lg);
  padding: 28px 20px; color: #fff; font-weight: 800; transition: background .18s ease, transform .18s ease;
}
.cta-3 a:hover { background: rgba(255,255,255,.16); color:#fff; transform: translateY(-3px); }
.cta-3 .ico { width: 56px; height:56px; border-radius: var(--r-full); background: var(--accent); color:#3d2600; display:grid; place-items:center; }
.cta-3 .ico svg { width: 30px; height:30px; }
.cta-3 span.sub { font-size: 13px; font-weight: 600; color: #cfe6d7; }

/* ---------- Japan map (regions) ---------- */
.regionmap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.region-legend { display: grid; gap: 14px; }
.region-legend .rl {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: #fff;
}
.region-legend .dot { width: 16px; height: 16px; border-radius: 50%; margin-top: 5px; flex: 0 0 auto; }
.dot--source { background: var(--green-700); }
.dot--dest { background: var(--accent); }
.region-legend b { color: var(--green-900); font-size: 15.5px; }
.region-legend span { display:block; font-size: 13.5px; color: var(--ink-500); }

/* ---------- Breadcrumbs ---------- */
.crumbs { background: var(--base-cream); border-bottom: 1px solid var(--line); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0; font-size: 13px; color: var(--ink-500); }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "›"; color: var(--ink-400); }
.crumbs a { color: var(--ink-500); }
.crumbs a:hover { color: var(--green-700); }
.crumbs li[aria-current] { color: var(--green-800); font-weight: 700; }

/* ---------- Page header (lower pages) ---------- */
.page-head {
  background: linear-gradient(160deg, var(--green-800), var(--green-900)); color: #fff;
  padding-block: clamp(44px, 7vw, 72px);
}
/* 背景写真は各HTMLの <header class="page-head page-head--photo" style="background-image:url('assets/img/○○.jpg')"> で指定します。 */
.page-head--photo {
  position: relative; isolation: isolate;
  background-size: cover; background-position: center;
}
.page-head--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(15,61,46,.90), rgba(15,61,46,.72));
}
.page-head__eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--leaf-light); }
.page-head h1 { font-size: clamp(26px, 5vw, 42px); margin-top: 10px; }
.page-head p { font-size: 16px; color: #d5ebdd; margin: 16px 0 0; max-width: 40em; }

/* ---------- Pillars (business) ---------- */
.pillar {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-sm); height: 100%;
}
.pillar__top { padding: 26px 24px; color: #fff; }
.pillar--make .pillar__top { background: linear-gradient(150deg, var(--green-600), var(--green-800)); }
.pillar--link .pillar__top { background: linear-gradient(150deg, var(--leaf), var(--green-600)); }
.pillar--support .pillar__top { background: linear-gradient(150deg, var(--accent), var(--accent-strong)); color:#3d2600; }
.pillar__top .big { font-size: 30px; font-weight: 900; letter-spacing: .04em; }
.pillar__top p { margin: 8px 0 0; font-size: 14px; opacity: .95; }
.pillar__body { padding: 22px 24px; }
.pillar__body li { display: flex; gap: 10px; padding: 9px 0; font-size: 15px; border-bottom: 1px dashed var(--line); }
.pillar__body li:last-child { border-bottom: none; }
.pillar__body li::before { content:"›"; color: var(--green-500); font-weight: 900; }

/* ---------- Table ---------- */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15.5px; vertical-align: top; }
.info-table th { width: 34%; background: var(--green-050); color: var(--green-900); font-weight: 800; white-space: nowrap; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.need-input { color: var(--danger); font-weight: 700; font-size: 13.5px; background:#fff0f0; padding:2px 8px; border-radius: var(--r-sm); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 7px; }
.field > label { font-weight: 700; font-size: 14.5px; color: var(--ink-900); }
.req { color: var(--danger); font-size: 12.5px; margin-left: 6px; }
.opt { color: var(--ink-400); font-size: 12px; margin-left: 6px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font-size: 16px; font-family: inherit; color: var(--ink-900); background: #fff; transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-500); outline: none; box-shadow: 0 0 0 3px var(--green-100); }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { color: var(--danger); font-size: 13px; display: none; }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--danger); background:#fff8f8; }
.field.is-error .err { display: block; }
.field .hint { font-size: 12.5px; color: var(--ink-400); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; }
.form__note { font-size: 13px; color: var(--ink-500); background: var(--base-cream); padding: 14px 16px; border-radius: var(--r-sm); }
fieldset { border: none; padding: 0; margin: 0; }
.purpose-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.purpose-tabs label {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1.5px solid var(--line);
  border-radius: var(--r-full); font-size: 14.5px; font-weight: 700; cursor: pointer; background:#fff;
}
.purpose-tabs input { position: absolute; opacity: 0; width: 0; height: 0; }
.purpose-tabs label:has(input:checked) { border-color: var(--green-600); background: var(--green-050); color: var(--green-800); }
.purpose-tabs label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset:2px; }

/* form success */
.form-success {
  display: none; text-align: center; background: #fff; border: 1px solid var(--green-200, var(--green-100));
  border-radius: var(--r-lg); padding: clamp(30px, 6vw, 56px); box-shadow: var(--shadow-sm);
}
.form-success.is-visible { display: block; }
.form-success .tick { width: 74px; height: 74px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin: 0 auto 20px; }
.form-success .tick svg { width: 40px; height: 40px; }
.form-success h2 { color: var(--green-900); }

/* ---------- Recruit ---------- */
.job {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 26px;
  box-shadow: var(--shadow-sm);
}
.job__head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.job h3 { font-size: 19px; color: var(--green-900); }
.job__type { font-size: 12.5px; font-weight: 800; padding: 4px 12px; border-radius: var(--r-full); background: var(--green-100); color: var(--green-800); }
.job dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; margin-top: 16px; font-size: 14.5px; }
.job dt { color: var(--ink-500); font-weight: 700; }
.job dd { margin: 0; color: var(--ink-900); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #cfe0d6; padding-block: 54px 26px; font-size: 14.5px; }
.site-footer a { color: #cfe0d6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__name small { color: var(--leaf-light); }
.footer-brand p { margin-top: 14px; font-size: 13.5px; color: #a9c4b6; max-width: 24em; }
.footer-col h4 { font-size: 14px; color: #fff; margin-bottom: 12px; letter-spacing: .04em; }
.footer-col li { margin-bottom: 9px; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: #9db8ab;
}
.footer-bottom a { color: #9db8ab; }
.footer-run { font-weight: 700; color: #cfe0d6; }

/* ---------- Floating mobile contact ---------- */
.floating-cta { display: none; }

/* ---------- Note / disclaimer ---------- */
.note-inline { font-size: 12.5px; color: var(--ink-400); margin-top: 10px; }
.badge-plan { display:inline-block; font-size:11.5px; font-weight:800; padding:3px 10px; border-radius:var(--r-full); background:#fdeccb; color:#8a5a09; margin-left:8px; vertical-align:middle;}

/* ---------- 404 ---------- */
.err-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 60px; }
.err-page .code { font-size: clamp(70px, 16vw, 140px); font-weight: 900; color: var(--green-100); line-height: 1; }

/* ---------- Utility ---------- */
.lead-big { font-size: clamp(17px, 2.6vw, 22px); font-weight: 700; color: var(--green-800); line-height: 1.7; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list span { background: var(--green-050); color: var(--green-800); border:1px solid var(--green-100); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: var(--r-full); }
.divider-quote { border-left: 4px solid var(--leaf); padding: 4px 0 4px 20px; color: var(--ink-700); font-style: normal; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1040px) {
  .gnav { gap: 0; }
  .gnav a { padding: 9px 9px; font-size: 13.5px; }
}
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .chain { grid-template-columns: 1fr; }
  .chain__arrow { transform: rotate(90deg); padding: 2px 0; }
  .regionmap { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  /* switch to mobile nav */
  .gnav, .header-cta { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 48px; height: 48px; border-radius: var(--r-sm); border: 1px solid var(--line);
    background: #fff; color: var(--green-900);
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content:""; position:absolute; left:0; width:22px; height:2px; background: currentColor; }
  .nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
  .split, .split--rev .split__media { grid-template-columns: 1fr; order: 0; }
  .audience, .cta-3 { grid-template-columns: 1fr; }
  .floating-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 900; gap: 10px;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .floating-cta .btn { flex: 1; box-shadow: var(--shadow-lg); }
  body { padding-bottom: 76px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 6px; padding: 16px 4px; }
  .news-item time { order: -1; }
  .info-table th { width: 40%; white-space: normal; }
  .cta-3 { grid-template-columns: 1fr; }
  .job dl { grid-template-columns: 1fr; gap: 2px 0; }
  .job dt { margin-top: 8px; }
  .brand__name { font-size: 16px; }
  .brand__name small { font-size: 9.5px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* 送信エラー表示 */
.form-senderr {
  margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r-md);
  background: #fdeceb; border: 1px solid #f0b4ae; color: #8f2419;
  font-size: 14.5px; font-weight: 700;
}

/* 所在地マップ */
.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.map-frame { display: block; width: 100%; aspect-ratio: 16/7; min-height: 260px; border: 0; }
@media (max-width: 640px) { .map-frame { aspect-ratio: 4/3; } }

/* チーム紹介：写真がまだ無いカードのアイコン表示（写真が用意できたら <img> に差し替え可） */
.team-icon {
  width: 100%; aspect-ratio: 1/1; margin-bottom: 14px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--green-050), var(--green-100));
  color: var(--green-700);
}
.team-icon svg { width: 40%; height: 40%; max-width: 64px; max-height: 64px; }

/* お問い合わせページの電話・FAX */
.contact-direct {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--green-050);
  padding: 24px;
}
.contact-direct__head { font-size: 18px; color: var(--green-900); margin: 0 0 16px; }
.contact-direct__list { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.contact-direct__item { display: flex; align-items: center; gap: 12px; }
.contact-direct__icon {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: var(--r-md);
  display: grid; place-items: center; background: #fff; color: var(--green-700);
}
.contact-direct__icon svg { width: 22px; height: 22px; }
.contact-direct__label { display: block; font-size: 12px; font-weight: 800; color: var(--ink-500); letter-spacing: .06em; }
.contact-direct__value { display: block; font-size: 19px; font-weight: 900; color: var(--green-900); letter-spacing: .02em; }
.contact-direct__value a { color: inherit; text-decoration: none; }
.contact-direct__value a:hover { text-decoration: underline; }

/* ================================================================
   理念ページ（Mission / Vision / Values / 事業ドメイン）
   ================================================================ */

/* 長文の読みやすさ */
.prose p { font-size: 16.5px; line-height: 2; color: var(--ink-700, var(--ink-900)); margin: 0 0 1.4em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 900; color: var(--green-900); }
.prose__lead {
  font-size: 19px !important; font-weight: 900; color: var(--green-900);
  line-height: 1.8 !important; margin-top: 1.8em !important;
}

/* 現場の声（引用） */
.voices {
  margin: 2em 0; padding: 22px 26px;
  border-left: 4px solid var(--green-700); background: var(--green-050);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.voices p {
  margin: 0 0 .5em; font-size: 16.5px; font-weight: 700; color: var(--green-900); line-height: 1.8;
}
.voices p:last-of-type { margin-bottom: .9em; }
.voices cite {
  display: block; font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--ink-500);
}
.voices cite::before { content: "— "; }

/* 「AからBへ」の転換リスト */
.shift-list { display: grid; gap: 12px; }
.shift {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
}
.shift__from { color: var(--ink-500); font-weight: 700; font-size: 15.5px; text-align: right; }
.shift__arrow { color: var(--accent-strong); font-weight: 900; font-size: 20px; }
.shift__to { color: var(--green-900); font-weight: 900; font-size: 16.5px; }
@media (max-width: 620px) {
  .shift { grid-template-columns: 1fr; gap: 6px; text-align: center; }
  .shift__from { text-align: center; }
  .shift__arrow { transform: rotate(90deg); }
}

/* 行動指針 */
.values {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.value {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px 26px; box-shadow: var(--shadow-sm);
}
.value__num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-full);
  background: var(--green-700); color: #fff; font-weight: 900; font-size: 18px; margin-bottom: 16px;
}
.value h3 { font-size: 18px; color: var(--green-900); line-height: 1.5; }
.value p { font-size: 15px; color: var(--ink-500); line-height: 1.9; margin: 12px 0 0; }

/* 事業ドメイン / 我社は何屋か */
.domain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.domain-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-lg); padding: 32px 28px;
}
.domain-card__eyebrow {
  display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .12em;
  color: var(--leaf-light, #8fd9aa); margin-bottom: 14px;
}
.domain-card__lead {
  font-size: clamp(21px, 3.2vw, 28px); font-weight: 900; color: #fff; line-height: 1.6; margin: 0;
}
.policy {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-lg); padding: 32px 28px;
}
.policy p { font-size: 16.5px; line-height: 2; color: #e8f4ec; margin: 0; }

/* 日本地図（トップ「九州から、全国へ。」） */
.japanmap {
  background: var(--green-050); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; aspect-ratio: 368/398;
}
.japanmap svg { display: block; width: 100%; height: 100%; }
@media (max-width: 900px) { .japanmap { aspect-ratio: 1/1; } }
