/* 当別当育苗 サイト試作   — シンプル・誇張しない方針 */

:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --ink: #23271f;
  --muted: #6c7064;
  --line: #e6e3d8;
  --green: #4f7a4a;
  --green-deep: #38582f;
  --sand: #ece7d9;
  --maxw: 1000px;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
          "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: saturate(1.1) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 26px; height: 26px; color: var(--green); }
.brand .name { font-family: var(--serif); font-size: 19px; letter-spacing: 0.08em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav a.shop {
  color: #fff; background: var(--green); padding: 8px 14px; border-radius: 999px;
  font-size: 13px; letter-spacing: .04em;
}
.nav a.shop:hover { background: var(--green-deep); color:#fff; }
.nav-toggle { display: none; }

/* ---------- 共通セクション ---------- */
section { padding: 76px 0; }
.kicker {
  font-size: 12px; letter-spacing: .22em; color: var(--green);
  text-transform: none; margin: 0 0 14px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.4; margin: 0; }
h2.section-title { font-size: 26px; margin-bottom: 8px; }
.lead { color: var(--muted); max-width: 60ch; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- ヒーロー ---------- */
.hero { padding: 84px 0 64px; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.hero h1 { font-size: 40px; letter-spacing: 0.06em; }
/* 文節をひとかたまりで折り返し、1文字だけ次行に落ちる（泣き別れ）を防ぐ */
.nw { display: inline-block; white-space: nowrap; }
.hero .subhead { font-size: 15px; color: var(--muted); letter-spacing:.04em; margin: 18px 0 0; font-weight:400; line-height:1.9; max-width: 48ch; }
.hero .btns { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

/* スクリーンリーダー専用 */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 8px; text-decoration: none; font-size: 14.5px;
  letter-spacing: .03em; transition: all .2s; border: 1px solid transparent;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-deep); }

/* ---------- プレースホルダー画像 ---------- */
.ph {
  position: relative; background: var(--sand); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 10px; color: #9a9583; overflow: hidden; border: 1px solid var(--line);
}
.ph svg { width: 40px; height: 40px; opacity: .65; }
.ph span { font-size: 12px; letter-spacing: .14em; }
.ph.hero-img { aspect-ratio: 4 / 3; }
.ph.card-img { aspect-ratio: 4 / 3; border-radius: 0; }

/* ---------- About ---------- */
.about { background: var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.mvv { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 34px; }
.mvv .item .label { font-size: 12px; letter-spacing: .2em; color: var(--green); }
.mvv .item h3 { font-size: 22px; margin: 8px 0 12px; }
.mvv .item p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- 商品 ---------- */
.products .grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px;
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column;
}
.card .body { padding: 18px 18px 20px; display:flex; flex-direction:column; gap:6px; flex:1;}
.card h3 { font-size: 17px; }
.card .desc { font-size: 13.5px; color: var(--muted); margin: 0; flex: 1; }
.card .price { font-size: 14px; color: var(--ink); }
.card .price em { font-style: normal; color: var(--muted); font-size: 12px; }
.card a.card-link {
  margin-top: 10px; font-size: 13px; color: var(--green-deep); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.card a.card-link:hover { text-decoration: underline; }
.note { margin-top: 26px; font-size: 12.5px; color: var(--muted); }

/* ---------- 採用ティーザー ---------- */
.recruit-teaser { background: var(--green-deep); color: #fff; text-align: center; }
.recruit-teaser h2 { font-size: 28px; color: #fff; }
.recruit-teaser p { color: #d9e3d3; max-width: 56ch; margin: 14px auto 28px; }
.recruit-teaser .btn-primary { background:#fff; color: var(--green-deep); }
.recruit-teaser .btn-primary:hover { background:#eef3ea; }

/* ---------- 採用ページ ---------- */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 32px; }
.value-card { background: var(--surface); border:1px solid var(--line); border-radius:12px; padding: 24px; }
.value-card .num { font-family: var(--serif); color: var(--green); font-size: 14px; letter-spacing:.1em; }
.value-card h3 { font-size: 18px; margin: 8px 0 10px; }
.value-card p { font-size: 14px; color: var(--muted); margin: 0; }

.req-table { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 14.5px; }
.req-table th, .req-table td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.req-table th { width: 150px; color: var(--green-deep); font-weight: 600; background: var(--surface); }
.req-table td .tba { color: var(--muted); font-size: 13px; }

/* ---------- フッター ---------- */
.site-footer { background: #2a2e25; color: #cfd3c6; padding: 56px 0 40px; font-size: 13.5px; }
.site-footer .cols { display:flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.site-footer .name { font-family: var(--serif); font-size: 18px; color:#fff; letter-spacing:.08em; }
.site-footer a { color: #cfd3c6; }
.site-footer .small { margin-top: 30px; color: #8b8f82; font-size: 12px; line-height:1.8; }
.site-footer .draft-note { margin-top: 8px; color:#8b8f82; font-size:12px; }

/* ---------- 実写メディア ---------- */
.media { overflow: hidden; border-radius: 12px; background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.hero-img { aspect-ratio: 4 / 3; }
.card-img { aspect-ratio: 4 / 3; border-radius: 0; }
.band { margin: 32px 0 4px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 7; }
.band img { width: 100%; height: 100%; object-fit: cover; }

/* 2カラム商品グリッド */
.products .grid.grid-2 { grid-template-columns: 1fr 1fr; }

/* 会社概要 */
.subhead-title { font-family: var(--serif); font-size: 20px; margin: 44px 0 4px; }
.info-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; }
.info-table th, .info-table td { text-align: left; padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 120px; color: var(--green-deep); font-weight: 600; white-space: nowrap; background: var(--surface); }
.info-table a { color: var(--green-deep); }
.map-link { margin-top: 16px; font-size: 13.5px; }
.map-link a { color: var(--green-deep); text-decoration: none; }
.map-link a:hover { text-decoration: underline; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 32px; }
  .mvv, .products .grid, .values { grid-template-columns: 1fr; }
  .products .grid.grid-2 { grid-template-columns: 1fr; }
  .products .grid { gap: 18px; }
  .band { aspect-ratio: 3 / 2; }
  .info-table th { width: 92px; }
  .nav { gap: 14px; }
  /* スマホではナビを簡略化。会社案内・商品・採用へはフッターのリンクから到達可（本番前にハンバーガー実装を検討） */
  .nav a:not(.shop) { display: none; }
  section { padding: 56px 0; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 27px; }
  .brand .name { font-size: 16px; }
  .nav a.shop { font-size: 12px; padding: 6px 11px; }
  .wrap { padding: 0 18px; }
}
