/* 熊谷カーボン（ご提案デモ）— 共通スタイル
   炭の墨黒 × 和紙の生成り × 炭火の橙（CTA専用） × 若葉の緑（環境・農業） */
:root {
  --sumi: #1d1a16;            /* 墨黒（ヘッダー・フッター） */
  --sumi-deep: #14110e;
  --sumi-soft: #4a443c;       /* 見出し添え */
  --washi: #f7f4ee;
  --washi-2: #efe9df;
  --hi: #b1592b;              /* 問い合わせCTA専用（炭火の橙） */
  --leaf: #4d6b45;            /* 環境・農業アクセント */
  --text: #33302b;
  --text-muted: #7f776b;
  --border: #ddd5c7;
  --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px; --s8: 32px; --s12: 48px; --s16: 64px; --s24: 96px;
  --maxw: 1080px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px; line-height: 1.95; letter-spacing: .04em;
  color: var(--text); background: var(--washi);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .serif { font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif; }

/* お知らせバー */
.notice-bar { background: var(--sumi); color: var(--washi); text-align: center; font-size: .8rem; padding: 8px var(--s4); }
.notice-bar b { color: #e0a377; }

/* header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(247,244,238,.96); backdrop-filter: blur(4px); border-bottom: 1px solid var(--border); }
.header-inner { max-width: var(--maxw); margin: 0 auto; padding: var(--s3) var(--s4); display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.brand { font-family: "Shippori Mincho", serif; font-weight: 600; font-size: 1.28rem; text-decoration: none; color: var(--sumi); letter-spacing: .18em; line-height: 1.3; }
.brand small { display: block; font-size: .56rem; font-weight: 400; color: var(--text-muted); letter-spacing: .28em; font-family: "Noto Sans JP", sans-serif; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: 1px solid var(--border); border-radius: 4px; cursor: pointer; }
.nav-toggle span { height: 1px; background: var(--sumi); }
.gnav { display: none; }
.gnav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--washi); border-bottom: 1px solid var(--border); padding: var(--s4); }
.gnav ul { list-style: none; display: grid; gap: 2px; }
.gnav a { text-decoration: none; font-size: .9rem; display: block; padding: var(--s3) var(--s4); letter-spacing: .1em; }
.gnav a:hover, .gnav a[aria-current="page"] { color: var(--hi); }
.head-contact { display: none; }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .gnav { display: block; position: static; border: none; padding: 0; }
  .gnav ul { display: flex; gap: var(--s4); }
  .gnav a { padding: var(--s2) 0; font-size: .88rem; }
  .head-contact { display: inline-flex; align-items: center; justify-content: center; background: var(--hi); color: #fff; text-decoration: none; font-size: .82rem; letter-spacing: .12em; padding: 10px 18px; border-radius: 3px; }
  .head-contact:hover { opacity: .88; }
}

/* page hero */
.page-hero { position: relative; overflow: hidden; background: var(--sumi-deep); }
.page-hero img { width: 100%; height: min(42vh, 340px); object-fit: cover; opacity: .5; }
.page-hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; max-width: var(--maxw); margin: 0 auto; padding: var(--s4); color: var(--washi); }
.page-hero-copy .en { font-size: .7rem; letter-spacing: .42em; color: #e0a377; text-transform: uppercase; font-family: "Noto Sans JP", sans-serif; }
.page-hero-copy h1 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 600; margin-top: var(--s3); letter-spacing: .18em; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.page-hero-copy p { font-size: .9rem; margin-top: var(--s3); opacity: .92; max-width: 34em; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.breadcrumb { max-width: var(--maxw); margin: 0 auto; padding: var(--s3) var(--s4); font-size: .76rem; color: var(--text-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); }
.breadcrumb li + li::before { content: "／"; margin-right: var(--s2); }
.breadcrumb a { color: var(--text-muted); }

/* sections */
section { padding: var(--s16) var(--s4); }
@media (min-width: 900px) { section { padding: var(--s24) var(--s4); } }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.sec-head { margin-bottom: var(--s8); }
.sec-head .en { display: block; font-size: .7rem; letter-spacing: .42em; color: var(--leaf); text-transform: uppercase; }
.sec-head h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); font-weight: 600; letter-spacing: .16em; margin-top: var(--s3); }
.sec-lead { color: var(--text-muted); max-width: 40em; font-size: .94rem; margin-top: var(--s3); }
.alt-bg { background: var(--washi-2); }

/* buttons */
.btn-cta { background: var(--hi); color: #fff; text-decoration: none; padding: var(--s4) var(--s12); min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; cursor: pointer; font-size: .96rem; letter-spacing: .16em; border-radius: 3px; font-family: inherit; }
.btn-cta:hover { opacity: .88; }
.btn-outline { border: 1px solid var(--sumi); color: var(--sumi); text-decoration: none; padding: var(--s3) var(--s8); min-height: 48px; display: inline-flex; align-items: center; justify-content: center; letter-spacing: .16em; font-size: .9rem; background: none; cursor: pointer; border-radius: 3px; font-family: inherit; }
.btn-outline:hover { background: var(--sumi); color: var(--washi); }

/* カード */
.card-grid { display: grid; gap: var(--s6); margin-top: var(--s8); }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }
.card-grid.cols2 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .card-grid.cols2 { grid-template-columns: repeat(2, 1fr); } }
.p-card { background: #fff; border: 1px solid var(--border); text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .3s; border-radius: 4px; overflow: hidden; }
.p-card:hover { box-shadow: 0 6px 22px rgba(29,26,22,.12); }
.p-card .img-wrap { overflow: hidden; }
.p-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .5s; }
.p-card:hover img { transform: scale(1.04); }
.p-card .body { padding: var(--s4) var(--s4) var(--s6); display: flex; flex-direction: column; gap: var(--s2); }
.p-card .badge { font-size: .68rem; color: var(--leaf); letter-spacing: .16em; }
.p-card h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: .08em; }
.p-card p { font-size: .86rem; color: var(--text-muted); }
.p-card .more { margin-top: auto; padding-top: var(--s3); font-size: .8rem; color: var(--hi); letter-spacing: .12em; }

/* エコマーク風タグ */
.eco-tag { display: inline-block; background: var(--leaf); color: #fff; font-size: .68rem; letter-spacing: .12em; padding: 2px 10px; border-radius: 999px; vertical-align: middle; }
.tag-line { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }

/* 2カラム記事 */
.feature-grid { display: grid; gap: var(--s8); align-items: center; margin-top: var(--s8); }
@media (min-width: 900px) { .feature-grid { grid-template-columns: 1fr 1.05fr; gap: var(--s16); } .feature-grid.rev { grid-template-columns: 1.05fr 1fr; } .feature-grid.rev .feature-img { order: 2; } }
.feature-img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 4px; }
.feature-body h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: .12em; margin-bottom: var(--s3); }
.feature-body p { font-size: .94rem; }
.feature-body p + p { margin-top: var(--s4); }
.feature-body .note { font-size: .8rem; color: var(--text-muted); }

/* リスト（特長） */
.check-list { list-style: none; margin-top: var(--s4); display: grid; gap: var(--s3); }
.check-list li { padding-left: 1.6em; position: relative; font-size: .94rem; }
.check-list li::before { content: "◆"; position: absolute; left: 0; color: var(--hi); font-size: .8em; top: .25em; }

/* 数字ストリップ */
.trust-strip { background: var(--sumi); color: var(--washi); padding: var(--s8) var(--s4); }
.trust-strip ul { list-style: none; max-width: var(--maxw); margin: 0 auto; display: grid; gap: var(--s6); grid-template-columns: 1fr; text-align: center; }
@media (min-width: 640px) { .trust-strip ul { grid-template-columns: repeat(3, 1fr); } }
.trust-strip .num { display: block; font-family: "Shippori Mincho", serif; font-size: 1.12rem; letter-spacing: .14em; color: #e0a377; }
.trust-strip .label { font-size: .76rem; letter-spacing: .12em; opacity: .85; }

/* tables */
.table-wrap { overflow-x: auto; margin-top: var(--s6); border: 1px solid var(--border); background: #fff; border-radius: 4px; }
.data-table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.data-table th { text-align: left; padding: var(--s4); width: 11em; color: var(--text-muted); font-weight: 500; vertical-align: top; border-bottom: 1px solid var(--border); white-space: nowrap; font-size: .84rem; }
.data-table td { padding: var(--s4); border-bottom: 1px solid var(--border); }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: none; }

/* 新着情報 */
.news-list { list-style: none; margin-top: var(--s6); border-top: 1px solid var(--border); }
.news-list li { border-bottom: 1px solid var(--border); padding: var(--s4) var(--s2); display: grid; gap: 4px; font-size: .92rem; }
@media (min-width: 700px) { .news-list li { grid-template-columns: 8.5em 7em 1fr; gap: var(--s4); align-items: baseline; } }
.news-list time { color: var(--text-muted); font-size: .82rem; letter-spacing: .06em; }
.news-list .cat { font-size: .7rem; color: var(--leaf); border: 1px solid currentColor; border-radius: 999px; text-align: center; padding: 0 8px; align-self: center; justify-self: start; }

/* CTA band */
.cta-band { background: var(--sumi-deep); color: var(--washi); text-align: center; }
.cta-band .en { color: #e0a377; font-size: .7rem; letter-spacing: .42em; text-transform: uppercase; }
.cta-band h2 { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 600; letter-spacing: .18em; margin-top: var(--s3); }
.cta-band p { margin-top: var(--s4); opacity: .85; font-size: .92rem; }
.cta-band .btn-cta { margin-top: var(--s8); }
.cta-band .tel { margin-top: var(--s4); font-size: .86rem; opacity: .8; }
.cta-band .tel b { font-family: "Shippori Mincho", serif; font-size: 1.2rem; letter-spacing: .08em; color: #fff; }

/* フォーム */
.form-grid { display: grid; gap: var(--s6); margin-top: var(--s8); max-width: 640px; }
.form-grid label { display: grid; gap: var(--s2); font-size: .88rem; letter-spacing: .06em; }
.form-grid .req { color: var(--hi); font-size: .72rem; margin-left: 6px; }
.form-grid input, .form-grid select, .form-grid textarea {
  border: 1px solid var(--border); background: #fff; padding: 12px 14px; font-size: 1rem;
  font-family: inherit; min-height: 48px; color: var(--text); border-radius: 3px;
}
.form-grid textarea { min-height: 150px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: 2px solid var(--leaf); outline-offset: 1px; }

/* footer */
footer { background: var(--sumi-deep); color: #a49c8e; padding: var(--s12) var(--s4) var(--s8); font-size: .85rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; gap: var(--s8); }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand b { color: var(--washi); font-size: 1rem; letter-spacing: .16em; font-family: "Shippori Mincho", serif; }
.footer-brand p { margin-top: var(--s3); font-size: .8rem; line-height: 1.9; }
.footer-nav h4 { color: var(--washi); font-size: .8rem; margin-bottom: var(--s3); letter-spacing: .14em; }
.footer-nav ul { list-style: none; display: grid; gap: var(--s2); }
.footer-nav a { color: #a49c8e; text-decoration: none; padding: var(--s2) 0; display: inline-block; font-size: .82rem; }
.footer-nav a:hover { color: var(--washi); }
.footer-bottom { max-width: var(--maxw); margin: var(--s8) auto 0; border-top: 1px solid #37322b; padding-top: var(--s6); display: grid; gap: var(--s2); }
.sample-note { font-size: .72rem; color: #776f61; }
