/* =========================================================
   SUMPO 日本語サイト
   色・書体はワイヤーフレーム（Main-JP.dc.html）どおり
   ========================================================= */

:root {
  --bg: #F5F1E8;          /* ページ背景 */
  --paper: #FBFAF6;       /* カード・ヘッダー背景 */
  --ink: #22211E;         /* 本文の文字・濃い背景 */
  --ink-2: #4A473F;       /* 説明文 */
  --ink-3: #5A564D;       /* 補足 */
  --photo: #E8DFCD;       /* 写真枠 */
  --photo-ink: #5E574A;
  --line: #D8CBB2;
  --line-soft: #E2D9C7;
  --line-chip: #BFB29A;
  --line-dash: #A89A7E;
  --green: #2D4A36;       /* アクセント */
  --green-dark: #1F3627;
  --green-halo: #D3DDD3;
  --dark-line: #5E5A52;
  --dark-field: #2C2B27;
  --dark-muted: #CFC8B6;
  --footer: #1A1A17;
  --error: #F2B8A8;

  --sans: 'Noto Sans JP', system-ui, sans-serif;
  --mincho: 'Shippori Mincho', 'Noto Serif JP', serif;
  --latin: 'Cormorant Garamond', Georgia, serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  overflow-x: hidden;
}

a { color: var(--green); }
a:hover { color: var(--green-dark); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.contact :focus-visible { outline-color: var(--bg); }

[hidden] { display: none !important; }

/* 見出しを文節の途中で改行させないための部品 */
.ib { display: inline-block; white-space: nowrap; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.split { display: grid; gap: 48px; align-items: center; }
.split--440 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.split--400 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }

.section { padding-top: 104px; }
.section--wide { padding-top: 120px; }

/* 写真のプレースホルダー枠 */
.photo {
  background: var(--photo);
  color: var(--photo-ink);
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 13px; padding: 24px;
}

/* ---------- 見出し ---------- */
.h2 { margin: 0; font-family: var(--mincho); font-weight: 500; line-height: 1.5; }
.h2--lg { font-size: clamp(28px, 3.4vw, 42px); }
.h2--md { font-size: clamp(26px, 3vw, 36px); }
.h2--sm { font-size: clamp(24px, 2.6vw, 32px); }
.h2--mb { margin-bottom: 24px; }

.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--green); }
.eyebrow-en { margin: 0; font-family: var(--latin); font-size: 15px; letter-spacing: 0.24em; color: var(--green); font-weight: 600; }
.muted { margin: 0; color: var(--ink-2); }

.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end;
  gap: 16px 40px; margin-bottom: 32px;
}
.section-head--nowrap { gap: 16px; margin-bottom: 28px; }
.section-head--nowrap .carousel-nav { margin-left: auto; }
.section-head__note { margin: 0; font-size: 14px; color: var(--ink-2); }
.section-head__note--sm { font-size: 13px; color: var(--ink-3); }
.section-foot { margin: 20px 0 0; color: var(--ink-2); }
.source { margin: 4px 0 0; font-size: 12px; color: var(--ink-3); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 600; border-radius: 2px;
}
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 0 28px; }
.btn--primary { background: var(--green); color: var(--paper); }
.btn--primary:hover { background: var(--green-dark); color: var(--paper); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { border: 1px solid var(--green); color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.round-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 18px; cursor: pointer;
}
.round-btn:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.round-btn:disabled { opacity: 0.3; cursor: default; }

.text-btn {
  padding: 0; background: transparent; border: 0; color: inherit;
  font: inherit; text-decoration: underline; cursor: pointer;
}

.badge {
  background: var(--green); color: var(--paper);
  font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 999px; line-height: 1.8;
}
.badge--pill { align-self: flex-start; font-size: 12px; padding: 2px 12px; }

/* 丸いチップ（茶期・産地） */
.chip {
  min-height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-chip); background: transparent; color: var(--ink);
  font: inherit; font-size: 13px; cursor: pointer;
}
.chip--sm { min-height: 34px; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: var(--paper); }

/* ---------- Utility bar / Header ---------- */
.utility { background: var(--ink); color: var(--bg); font-size: 12px; }
.utility__inner {
  padding-top: 8px; padding-bottom: 8px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center;
}
.lang { display: flex; gap: 4px; }
.lang__link { color: var(--bg); padding: 2px 12px; border: 1px solid var(--dark-line); border-radius: 2px; text-decoration: none; }
.lang__link:hover { color: var(--bg); border-color: var(--bg); }
.lang__link.is-current { color: var(--ink); background: var(--bg); border-color: var(--bg); font-weight: 600; }

.header { background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.header__inner {
  padding-top: 16px; padding-bottom: 16px;
  display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; justify-content: space-between;
}
.logo {
  text-decoration: none; color: var(--ink); font-family: var(--latin);
  font-size: 30px; font-weight: 600; letter-spacing: 0.22em; line-height: 1.2;
}
.logo:hover { color: var(--ink); }
.gnav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 14px; font-weight: 500; }
.gnav a { color: var(--ink); text-decoration: none; }
.gnav a:hover { color: var(--green); text-decoration: underline; }

/* ---------- 01 Hero ---------- */
.hero { padding-top: 56px; }
.hero__body { display: flex; flex-direction: column; gap: 28px; }
.tag {
  margin: 0; align-self: flex-start; font-size: 13px; font-weight: 600;
  color: var(--green); border: 1px solid var(--green); padding: 2px 12px;
}
/* メインコピーは2行固定・各行は折り返さない */
.hero__title {
  margin: 0; font-family: var(--mincho); font-weight: 500;
  font-size: clamp(30px, 4.6vw, 54px); line-height: 1.55; letter-spacing: 0.05em;
}
.hero__title span { display: block; white-space: nowrap; }
.hero__lead { margin: 0; color: var(--ink-2); max-width: 520px; }
.hero__photo { height: 540px; border: 1px solid var(--line); }

/* ---------- 06 About ---------- */
.section--about { padding-top: 120px; }
.about__grid { gap: 32px 64px; align-items: start; }
.about__body { display: flex; flex-direction: column; gap: 20px; color: var(--ink-2); }
.about__body p { margin: 0; }
.about__note { padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* ---------- 02 Business ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.biz-card {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 16px;
  padding: 14px; min-height: 96px; background: var(--paper);
  border: 1px solid var(--line); box-shadow: inset 0 0 0 1px transparent;
  font: inherit; color: var(--ink); cursor: pointer; border-radius: 2px;
}
.biz-card:hover { border-color: var(--green); }
/* 選択中：枠を2px相当に（レイアウトがずれないよう影で太らせる） */
.biz-card[aria-pressed="true"] { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.biz-card__photo {
  flex: 0 0 68px; height: 68px; background: var(--photo);
  display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--photo-ink);
}
.biz-card__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.biz-card__text strong { font-family: var(--mincho); font-size: 18px; font-weight: 600; }
.biz-card__text span { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.biz-card__check {
  flex: 0 0 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-dash);
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--paper);
}
.biz-card[aria-pressed="true"] .biz-card__check { background: var(--green); border-color: var(--green); }
.biz-card[aria-pressed="true"] .biz-card__check::before { content: "✓"; }
.biz-foot { margin: 20px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; }
.biz-foot__summary { color: var(--ink-3); }

/* ---------- 03 Products（カルーセル） ---------- */
.carousel-nav { display: flex; gap: 8px; flex: 0 0 auto; }
.carousel {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.product {
  flex: 0 0 auto; width: min(78vw, 300px); scroll-snap-align: start;
  background: var(--paper); border: 1px solid var(--line-soft); display: flex; flex-direction: column;
}
.product__photo { position: relative; aspect-ratio: 1 / 1; font-size: 12px; padding: 16px; }
.product__organic { position: absolute; top: 12px; left: 12px; }
.product__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.product__origin { margin: 0; font-family: var(--mincho); font-size: 26px; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.product__ask { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; }

/* ---------- 04 Origins（地図） ---------- */
.origins { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; align-items: stretch; }
.map { position: relative; min-height: 460px; background: var(--paper); border: 1px dashed var(--line-dash); }
.map__label { position: absolute; left: 16px; top: 12px; margin: 0; font-size: 12px; color: var(--photo-ink); }
.pin {
  position: absolute; display: flex; align-items: center; gap: 6px;
  min-height: 32px; min-width: 32px; padding: 0 4px;
  background: transparent; border: 0; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--ink); cursor: pointer;
}
.pin__dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--green); background: var(--paper); flex: 0 0 auto;
}
.pin__name { display: none; background: var(--paper); padding: 0 4px; white-space: nowrap; }
.pin:hover .pin__dot { background: var(--green-halo); }
.pin[aria-pressed="true"] { z-index: 1; }
.pin[aria-pressed="true"] .pin__dot { width: 16px; height: 16px; border: 0; background: var(--green); box-shadow: 0 0 0 6px var(--green-halo); }
.pin[aria-pressed="true"] .pin__name { display: inline; }

.origins__side { display: flex; flex-direction: column; gap: 16px; }
.regions { display: flex; flex-direction: column; gap: 10px; }
.region { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.region__name { font-size: 12px; color: var(--ink-3); width: 40px; }
.area-card { background: var(--paper); border: 1px solid var(--line-soft); display: flex; flex-direction: column; flex-grow: 1; }
.area-card__photo { height: 200px; padding: 16px; }
.area-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.area-card__name { margin: 0; font-family: var(--mincho); font-size: 30px; font-weight: 500; line-height: 1.3; }
.area-card__teas { margin: 0; font-size: 12px; color: var(--ink-3); }
.area-card__text { margin: 0; font-size: 15px; }
.area-card__cta { margin-top: auto; padding-top: 6px; font-weight: 600; }

/* ---------- 05 Quality ---------- */
.quality__photo { height: 460px; }
.quality__body { display: flex; flex-direction: column; gap: 20px; }

/* ---------- 07 Flow & FAQ ---------- */
.faq-grid { gap: 56px; align-items: start; }
.flow { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.flow li { display: flex; align-items: center; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.flow strong { font-weight: 600; }
.flow__num { font-family: var(--latin); font-size: 28px; color: var(--green); line-height: 1.2; width: 24px; flex: 0 0 auto; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }

/* ---------- 08 Contact ---------- */
.contact { background: var(--ink); color: var(--bg); margin-top: 120px; }
.contact a { color: var(--bg); }
.contact__inner { max-width: 960px; margin: 0 auto; padding: 104px 24px; }
.contact__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; margin-bottom: 40px; }
/* 見出しは2行固定・各行は折り返さない */
.contact__title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.55; }
.contact__title span { display: block; white-space: nowrap; }
.contact__lead { max-width: 380px; color: var(--dark-muted); font-size: 14px; }
.contact__lead p { margin: 0; }
.contact__lead p + p { margin-top: 4px; }

.carry { border: 1px solid var(--dark-line); padding: 16px 18px; margin-bottom: 28px; }
.carry__title { margin: 0 0 8px; font-size: 12px; color: var(--dark-muted); }
.carry__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.carry__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: 14px; }
.carry__label { font-size: 12px; color: var(--dark-muted); min-width: 9em; }
.carry__value { font-weight: 600; flex: 1 1 12em; }
.carry__list .text-btn { font-size: 13px; }

.form__label { margin: 0 0 10px; padding: 0; font-size: 13px; color: var(--dark-muted); }
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; margin-bottom: 24px; }
.type-btn {
  width: 100%; text-align: left; min-height: 56px; padding: 12px 16px;
  border: 1px solid var(--dark-line); box-shadow: inset 0 0 0 1px transparent;
  background: transparent; color: var(--bg);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 2px;
}
.type-btn:hover { border-color: var(--bg); }
.type-btn[aria-pressed="true"] { border-color: var(--bg); box-shadow: inset 0 0 0 1px var(--bg); background: var(--bg); color: var(--ink); }

.form__biz { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.form__biz legend { margin-bottom: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.check { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; cursor: pointer; }
.check input, .agree__label input { width: 18px; height: 18px; accent-color: var(--green); flex: 0 0 auto; }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--dark-muted); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  min-height: 48px; padding: 0 12px; border: 1px solid var(--dark-line);
  background: var(--dark-field); color: var(--bg);
  font: inherit; font-size: 15px; border-radius: 2px; width: 100%;
}
.field textarea { padding: 12px; resize: vertical; }
.field textarea::placeholder { color: #8E887A; }
.field [aria-invalid="true"] { border-color: var(--error); }

.agree { margin: 20px 0; }
.agree__label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--dark-muted); cursor: pointer; }
.agree__label input { margin-top: 4px; }

.error { margin: 6px 0 0; color: var(--error); font-size: 13px; }

.submit {
  min-height: 56px; padding: 0 40px; background: var(--bg); color: var(--ink);
  border: 0; font: inherit; font-weight: 600; font-size: 16px; border-radius: 2px; cursor: pointer;
}
.submit:hover { background: #FFFFFF; }
.submit:disabled { opacity: 0.6; cursor: progress; }

.thanks { border: 1px solid var(--dark-line); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.thanks p { margin: 0; color: var(--dark-muted); }
.thanks__title { margin: 0; font-family: var(--mincho); font-weight: 500; font-size: clamp(18px, 6vw, 28px); line-height: 1.5; outline: none; }
.thanks__reset { align-self: flex-start; min-height: 44px; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: var(--dark-muted); font-size: 13px; }
.footer a { color: var(--dark-muted); }
.footer a:hover { color: var(--bg); }
.footer__inner { padding-top: 48px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 24px 32px; justify-content: space-between; }
.footer__brand { display: flex; flex-direction: column; gap: 4px; }
.footer__logo { font-family: var(--latin); font-size: 26px; letter-spacing: 0.22em; color: var(--bg); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: flex-start; }
.footer__copy { padding-top: 16px; padding-bottom: 28px; border-top: 1px solid #3A3934; font-size: 12px; }

/* ---------- スマホ調整 ---------- */
@media (max-width: 600px) {
  .hero__photo { height: 400px; }
  .quality__photo { height: 340px; }
  .thanks { padding: 28px 20px; }
}
/* 幅の狭い端末でも、メインコピーの各行が1行に収まるように */
@media (max-width: 380px) {
  .hero__title { font-size: 7.6vw; }
  .contact__title { font-size: 7vw; }
}

/* ---------- 仮画像（temp-images.js） ---------- */
.photo, .biz-card__photo { position: relative; overflow: hidden; }
.temp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.temp-label {
  position: absolute; right: 8px; bottom: 8px; z-index: 1;
  background: rgba(34, 33, 30, 0.72); color: #F5F1E8;
  font-size: 11px; line-height: 1.6; padding: 1px 8px; border-radius: 2px; letter-spacing: 0.05em;
}
.biz-card__photo .temp-label { right: 3px; bottom: 3px; font-size: 9px; padding: 0 4px; }
.product__organic { z-index: 1; }

/* ---------- フォーム（気軽に相談できる形） ---------- */
.req {
  display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 2px;
  background: var(--bg); color: var(--ink); font-size: 11px; font-weight: 600; line-height: 1.7; vertical-align: 1px;
}
.form > .fields { margin-bottom: 8px; }
.field input::placeholder { color: #8E887A; }
.more { margin: 20px 0 0; border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.more__summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; font-size: 14px; font-weight: 600;
}
.more__summary::-webkit-details-marker { display: none; }
.more__summary::after { content: "＋"; font-weight: 400; font-size: 18px; color: var(--dark-muted); }
.more[open] .more__summary::after { content: "－"; }
.more__body { padding: 4px 0 24px; }
.form > .fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
/* ご相談内容は、文字の長さに合わせた幅で横に並べる（スマホで1語が途中改行しないように） */
.types { display: flex; flex-wrap: wrap; gap: 8px; }
.type-btn { width: auto; min-height: 48px; padding: 8px 18px; white-space: nowrap; }

/* ---------- 写真（images フォルダ） ---------- */
.photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-note {
  position: absolute; right: 8px; bottom: 8px; z-index: 1;
  background: rgba(251, 250, 246, 0.85); color: var(--ink-3);
  font-size: 11px; line-height: 1.6; padding: 1px 8px; border-radius: 2px;
}

/* ---------- 商品カードの写真：白地の真ん中に、抹茶の粉の丸を置く ---------- */
.product__photo { background: #FFFFFF; }
.product__photo .photo-img { inset: 15%; width: 70%; height: 70%; object-fit: contain; }
/* 粉の色はカードごとに画像を分けている（images/product-1〜4.jpg）
   1：鹿児島県産／2：鹿児島県産・有機／3：京都府産（いずれも参考画像の左・中・右）／4：静岡県産（2の色を深い緑に調整） */

/* ---------- 茶産地マップ（日本地図） ---------- */
.map { border: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: center; padding: 16px; }
.map__canvas { position: relative; width: 100%; max-width: 560px; aspect-ratio: 450 / 400; }
.map__img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; pointer-events: none; }
/* 点の中心が、指定した位置にくるように */
.pin { transform: translate(-10px, -50%); }
@media (max-width: 600px) { .map { min-height: 0; } }

/* 産地カード：地図と同じ高さに揃え、余った高さは写真で埋める */
.origins__side { gap: 0; }
.area-card { height: 100%; }
.area-card__photo { flex: 1 1 200px; height: auto; min-height: 200px; }
.area-card__body { flex: 0 0 auto; }

/* よくあるご質問：右端に ＋／－ を表示 */
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; flex: 0 0 auto; color: var(--line-dash); font-weight: 400; }
.faq details[open] summary::after { content: "－"; }

/* =========================================================
   v3 リデザイン（SUMIHA Wholesale の作りを参考）
   ・ヘッダー固定／FVは全幅写真＋白文字／キーワード帯
   ・英字ラベル／横長写真／FAQ中央1列／お問い合わせは明るく、フッターは濃い緑
   ========================================================= */
:root { --green-deep: #1F3A2B; }
html { scroll-padding-top: 84px; }
.utility { display: none; }

/* ---------- ヘッダー（固定） ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, 0.95);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner { max-width: 1280px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 24px; position: relative; }
.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; letter-spacing: 0; }
.logo:hover { color: var(--ink); }
.logo__mark { font-family: var(--latin); font-size: 28px; font-weight: 600; letter-spacing: 0.22em; }
.logo__sub { margin-top: 4px; font-size: 10px; letter-spacing: 0.14em; color: var(--ink-3); }
.header__nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.gnav { flex-wrap: nowrap; gap: 4px 22px; font-size: 13px; }
.lang { gap: 2px; }
.lang__link { color: var(--ink-3); border: 0; padding: 2px 6px; font-size: 12px; letter-spacing: 0.08em; }
.lang__link:hover { color: var(--ink); }
.lang__link.is-current { color: var(--ink); background: transparent; border-bottom: 1px solid var(--ink); border-radius: 0; font-weight: 600; }
.menu-btn { display: none; }

@media (max-width: 1080px) {
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; padding: 0;
  }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn__bar, .menu-btn__bar::before, .menu-btn__bar::after {
    display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s;
  }
  .menu-btn__bar::before, .menu-btn__bar::after { content: ""; position: absolute; left: 0; }
  .menu-btn__bar::before { top: -7px; }
  .menu-btn__bar::after { top: 7px; }
  .menu-btn[aria-expanded="true"] .menu-btn__bar { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-btn__bar::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bar::after { transform: translateY(-7px) rotate(-45deg); }

  .header__nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--paper); border-bottom: 1px solid var(--line-soft); padding: 8px 24px 24px;
    box-shadow: 0 12px 24px rgba(34, 33, 30, 0.08);
  }
  .header__nav.is-open { display: flex; }
  .gnav { flex-direction: column; gap: 0; font-size: 15px; }
  .gnav a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line-soft); }
  .header__cta { min-height: 52px; }
  .lang { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .menu-btn__bar, .menu-btn__bar::before, .menu-btn__bar::after { transition: none; } }

/* ---------- FV（全幅写真＋白文字） ---------- */
.hero {
  position: relative; overflow: hidden; color: #FFFFFF;
  min-height: min(86vh, 760px); padding: 96px 0; display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(14, 20, 15, 0.84) 0%, rgba(14, 20, 15, 0.6) 45%, rgba(14, 20, 15, 0.25) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow { margin: 0 0 20px; font-size: 12px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.8); }
.hero__title { color: #FFFFFF; font-size: clamp(32px, 5vw, 64px); }
.hero__lead { margin: 24px 0 36px; max-width: 520px; color: rgba(255, 255, 255, 0.88); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #FFFFFF; color: var(--ink); }
.btn--line { color: #FFFFFF; border-bottom: 1px solid rgba(255, 255, 255, 0.7); border-radius: 0; padding: 0 6px; }
.btn--line:hover { color: #FFFFFF; border-bottom-color: #FFFFFF; }
@media (max-width: 700px) {
  .hero { min-height: 78vh; padding: 72px 0; }
  .hero__bg { object-position: center; }
  .hero::before { background: rgba(14, 20, 15, 0.62); }
}

/* ---------- キーワード帯 ---------- */
.keywords { background: var(--green-deep); color: rgba(255, 255, 255, 0.86); }
.keywords__list {
  list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; letter-spacing: 0.12em;
}
.keywords__list li::before { content: "—"; margin-right: 12px; opacity: 0.55; }

/* ---------- 英字ラベル・余白 ---------- */
.eyebrow-en { margin: 0 0 12px; font-size: 13px; }
.section { padding-top: 128px; }
.section--wide, .section--about { padding-top: 140px; }
.section-head__title { min-width: 0; }

/* ---------- 横長の茶畑写真 ---------- */
.photo-band { margin-top: 96px; }
.photo-band img { display: block; width: 100%; height: clamp(220px, 32vw, 460px); object-fit: cover; }

/* ---------- 取引の流れ（横並び） ---------- */
.flow--row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 0; gap: 0 16px; }
.flow--row li { flex-direction: column; align-items: flex-start; gap: 8px; border-bottom: 0; border-top: 1px solid var(--ink); padding: 20px 8px 0 0; }
@media (max-width: 700px) { .flow--row { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } }

/* ---------- FAQ（中央1列） ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }

/* ---------- お問い合わせ（明るい背景） ---------- */
.contact { background: var(--bg); color: var(--ink); margin-top: 140px; border-top: 1px solid var(--line); }
.contact a { color: var(--green); }
.contact :focus-visible { outline-color: var(--green); }
.contact__lead { color: var(--ink-2); }
.carry { border-color: var(--line); background: var(--paper); }
.carry__title, .carry__label, .form__label, .field { color: var(--ink-3); }
.type-btn { border-color: var(--line-chip); color: var(--ink); }
.type-btn:hover { border-color: var(--green); }
.type-btn[aria-pressed="true"] { background: var(--green-deep); border-color: var(--green-deep); color: var(--paper); box-shadow: none; }
.field input, .field select, .field textarea { background: #FFFFFF; border-color: #C9C1AE; color: var(--ink); }
.field textarea::placeholder, .field input::placeholder { color: #9A958A; }
.req { background: var(--green-deep); color: var(--paper); }
.more { border-color: var(--line); }
.more__summary { color: var(--ink); }
.more__summary::after { color: var(--ink-3); }
.agree__label { color: var(--ink-2); }
.error { color: #B3412E; }
.field [aria-invalid="true"] { border-color: #B3412E; }
.submit { background: var(--green-deep); color: var(--paper); }
.submit:hover { background: var(--green); }
.thanks { border-color: var(--line); background: var(--paper); }
.thanks p { color: var(--ink-2); }

/* ---------- フッター（濃い緑） ---------- */
.footer { background: var(--green-deep); color: rgba(255, 255, 255, 0.72); }
.footer a { color: rgba(255, 255, 255, 0.72); }
.footer a:hover { color: #FFFFFF; }
.footer__logo { color: #FFFFFF; }
.footer__copy { border-top-color: rgba(255, 255, 255, 0.16); }
.footer a { text-decoration: none; }
@media (max-width: 600px) { .keywords__list { flex-direction: column; gap: 4px; } }

/* ---------- About：SUMPOがしていること ---------- */
.about__lead { color: var(--ink); font-size: 17px; font-weight: 500; }
.about-points {
  list-style: none; margin-top: 64px; margin-bottom: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px 40px;
}
.about-points li { border-top: 1px solid var(--ink); padding-top: 20px; }
.about-points__num { display: block; font-family: var(--latin); font-size: 15px; letter-spacing: 0.2em; color: var(--green); margin-bottom: 8px; }
.about-points strong { display: block; font-family: var(--mincho); font-size: 20px; font-weight: 600; line-height: 1.5; }
.about-points p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }

/* ---------- 欧文の言語（英・独・仏・西）：見出しは欧文書体に ---------- */
html.is-latin .h2,
html.is-latin .hero__title,
html.is-latin .product__origin,
html.is-latin .area-card__name,
html.is-latin .about-points strong,
html.is-latin .biz-card__text strong,
html.is-latin .thanks__title {
  font-family: var(--latin), var(--mincho);
  font-weight: 600; letter-spacing: 0.01em;
}
html.is-latin .hero__title { font-size: clamp(36px, 5.6vw, 72px); line-height: 1.15; }
html.is-latin .h2 { line-height: 1.2; }
html.is-latin .h2--lg { font-size: clamp(32px, 3.8vw, 48px); }
html.is-latin .h2--md { font-size: clamp(30px, 3.4vw, 42px); }
html.is-latin .h2--sm { font-size: clamp(28px, 3vw, 36px); }
html.is-latin .contact__title { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.2; }
html.is-latin .about-points strong, html.is-latin .biz-card__text strong { font-size: 22px; line-height: 1.3; }
html.is-latin body { letter-spacing: 0.01em; line-height: 1.75; }
html.is-latin .product__origin { white-space: normal; }
@media (max-width: 380px) { html.is-latin .hero__title { font-size: 9.6vw; } html.is-latin .contact__title { font-size: 8.4vw; } }

/* ---------- ロゴ（画像） ---------- */
.logo__img { display: block; height: 40px; width: auto; }
.footer__logo-img { display: block; height: 44px; width: auto; margin-bottom: 8px; }
@media (max-width: 600px) { .logo__img { height: 34px; } }

/* 固定ヘッダー：スマホの画面上部（ノッチ等）を避ける */
.header { top: env(safe-area-inset-top, 0px); }
.footer__logo-img { align-self: flex-start; width: auto; max-width: none; }

/* ---------- 言語の切り替えメニュー ---------- */
.lang { display: none; }
.lang-menu { position: relative; }
.lang-menu__btn {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 10px; border: 1px solid var(--line-soft); border-radius: 2px;
  font-size: 12px; letter-spacing: 0.06em; color: var(--ink); background: var(--paper); white-space: nowrap;
}
.lang-menu__btn::-webkit-details-marker { display: none; }
.lang-menu__btn::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang-menu[open] .lang-menu__btn::after { transform: translateY(1px) rotate(-135deg); }
.lang-menu__globe {
  width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; position: relative;
}
.lang-menu__globe::before { content: ""; position: absolute; inset: 0 3px; border: 1px solid currentColor; border-top: 0; border-bottom: 0; border-radius: 50%; }
.lang-menu__list {
  list-style: none; margin: 0; padding: 6px 0; position: absolute; right: 0; top: calc(100% + 6px); z-index: 60;
  min-width: 160px; background: var(--paper); border: 1px solid var(--line-soft); box-shadow: 0 12px 24px rgba(34, 33, 30, 0.1);
}
.lang-menu__list a { display: block; padding: 8px 16px; font-size: 14px; color: var(--ink); text-decoration: none; }
.lang-menu__list a:hover { background: var(--bg); color: var(--green); }
.lang-menu__list a[aria-current="page"] { font-weight: 600; color: var(--green); }
@media (max-width: 1080px) {
  .lang-menu__btn { width: 100%; justify-content: center; min-height: 44px; }
  .lang-menu__list { position: static; box-shadow: none; margin-top: 8px; display: grid; grid-template-columns: repeat(2, 1fr); }
}

/* フッターの言語一覧 */
.footer__langs { padding-bottom: 16px; }
.footer-langs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; }
.footer-langs a[aria-current="page"] { color: #FFFFFF; font-weight: 600; }

/* ---------- 繁体字中国語・タイ語の書体 ---------- */
html[lang="zh-Hant"] { --sans: 'Noto Sans TC', system-ui, sans-serif; --mincho: 'Noto Serif TC', serif; }
html[lang="th"] { --sans: 'Noto Sans Thai', 'Noto Sans JP', system-ui, sans-serif; --mincho: 'Noto Serif Thai', 'Noto Sans Thai', serif; }
html[lang="th"] body { line-height: 1.85; letter-spacing: 0; }
html[lang="th"] .h2, html[lang="th"] .hero__title { line-height: 1.4; }

/* 欧文の長い単語（ドイツ語など）が枠からはみ出さないように */
html.is-latin .h2, html.is-latin .hero__title, html.is-latin .biz-card__text strong,
html.is-latin .about-points strong, html.is-latin .btn, html.is-latin .type-btn { hyphens: auto; overflow-wrap: anywhere; }
html.is-latin .type-btn { white-space: normal; }

/* 迷惑送信よけの欄（画面には出さない） */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- プライバシーポリシーのページ ---------- */
.legal-nav { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.legal-nav__back { font-size: 13px; color: var(--ink); text-decoration: none; }
.legal-nav__back:hover { color: var(--green); text-decoration: underline; }
@media (max-width: 1080px) {
  .legal-nav .lang-menu__btn { width: auto; min-height: 36px; }
  .legal-nav .lang-menu__list { position: absolute; display: block; box-shadow: 0 12px 24px rgba(34, 33, 30, 0.1); }
}
@media (max-width: 480px) { .legal-nav__back { display: none; } }
.legal { max-width: 820px; padding-top: 72px; padding-bottom: 120px; }
.legal__title { margin-bottom: 24px; }
.legal__intro { margin: 0 0 40px; color: var(--ink-2); }
.legal__section { border-top: 1px solid var(--line); padding: 28px 0 8px; }
.legal__h { margin: 0 0 12px; font-family: var(--mincho); font-size: 20px; font-weight: 600; line-height: 1.5; }
html.is-latin .legal__h { font-family: var(--latin), var(--mincho); font-size: 22px; }
.legal__section p, .legal__section li { color: var(--ink-2); font-size: 15px; }
.legal__section p { margin: 0 0 12px; }
.legal__section ul { margin: 0 0 12px; padding-left: 1.4em; }
.legal__section li + li { margin-top: 4px; }
.legal__section dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0 0 12px; font-size: 15px; }
.legal__section dt { color: var(--ink-3); }
.legal__section dd { margin: 0; color: var(--ink); }
@media (max-width: 480px) { .legal__section dl { grid-template-columns: 1fr; gap: 0; } .legal__section dd { margin-bottom: 8px; } }
.legal__updated { margin-top: 32px; font-size: 13px; color: var(--ink-3); text-align: right; }
.agree__link { margin: 4px 0 0 28px; font-size: 13px; }
