/* FUKUROKU 共通スタイル（色：ネイビー土台・オレンジ差し色。ロゴは logo.png） */
:root {
  --navy: #16283F;
  --orange: #C2410C;
  --orange-light: #F59E4B;
  --gold: #C5A15D;
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --text: #1F2937;
  --muted: #4B5563;
  --line: #D1D5DB;
  --line-soft: #E5E7EB;
  --th: #F3F4F6;
  --on-navy: #D6DCE4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
  line-height: 1.7;
}

a { color: var(--navy); }
a:hover { color: var(--orange); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 48px 16px 64px; }

/* ヘッダー */
.site-header { background: var(--navy); border-bottom: 3px solid var(--orange); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; flex-direction: column; gap: 4px; text-decoration: none; line-height: 1.3; }
.logo img { display: block; height: 44px; width: auto; }
.logo-sub { font-size: 12px; color: var(--on-navy); }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.site-header a:not(.logo), .site-footer a { color: #FFFFFF; }
.site-header a:not(.logo):hover, .site-footer a:hover { color: var(--orange-light); }

/* フッター */
.site-footer { background: var(--navy); color: var(--on-navy); font-size: 13px; }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 16px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* 見出し・共通 */
h1, h2 { color: var(--navy); line-height: 1.4; }
h1 { margin: 0; }
h2 { margin: 0; font-size: 22px; }
.muted { color: var(--muted); }
.section { padding-bottom: 56px; display: flex; flex-direction: column; gap: 20px; }

/* トップ */
.hero { padding: 56px 0 48px; display: flex; flex-direction: column; gap: 12px; }
.hero h1 { font-size: clamp(26px, 4vw, 36px); }
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.product-card { flex: 0 1 340px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--navy); display: flex; flex-direction: column; }
.product-card:hover { color: var(--navy); border-color: var(--navy); }
.product-card img { width: 100%; height: 220px; object-fit: contain; background: #FFFFFF; border-bottom: 1px solid var(--line-soft); }
.product-card .body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.cat { font-size: 12px; color: var(--muted); }
.pname { font-size: 18px; font-weight: 700; }
.price { color: var(--orange); font-weight: 700; }
.price small { color: var(--muted); font-weight: 400; font-size: 12px; }
.grid3 { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid3 li { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.step { font-size: 13px; font-weight: 700; color: var(--orange); }
.grid3 b { font-weight: 700; }
.grid3 .desc { font-size: 14px; color: var(--muted); }
.x-box { margin-bottom: 64px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; border-radius: 6px; background: var(--orange); color: #FFFFFF; text-decoration: none; font-weight: 700; border: 0; font: inherit; font-weight: 700; }
.btn:hover { color: #FFFFFF; background: #9A3412; }
.btn-buy { display: flex; width: 100%; min-height: 56px; font-size: 18px; border-radius: 8px; }
.btn[aria-disabled="true"] { background: #9CA3AF; cursor: not-allowed; }

/* 商品ページ */
.crumb { padding: 20px 0; font-size: 13px; color: var(--muted); }
.product { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.product > div { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.product-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #FFFFFF; border: 1px solid var(--line); border-radius: 8px; }
.product h1 { font-size: 30px; }
.big-price { font-size: 34px; }
.facts { margin: 0; display: grid; grid-template-columns: 7em 1fr; row-gap: 8px; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.note { font-size: 13px; color: var(--muted); background: #F9FAFB; border: 1px solid var(--line-soft); border-radius: 6px; padding: 14px 16px; }

/* 表 */
.table-box { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
th { width: 13em; background: var(--th); }

/* 文章ページ */
.doc { display: flex; flex-direction: column; gap: 32px; font-size: 15px; line-height: 1.9; }
.doc h1 { font-size: 28px; }
.doc section { display: flex; flex-direction: column; gap: 8px; }
.doc h2.rule { font-size: 20px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.doc h2.plain { font-size: 18px; }
.doc ul { margin: 0; padding-left: 1.4em; }
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.contact dl { margin: 0; display: grid; grid-template-columns: 8em 1fr; row-gap: 8px; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; }

@media (max-width: 600px) {
  .facts, .contact dl { grid-template-columns: 1fr; row-gap: 2px; }
  .facts dd, .contact dd { margin-bottom: 8px; }
  /* スマホでは表を縦積みにして横スクロールをなくす */
  table, tbody, tr, th, td { display: block; width: 100%; }
  th { border-bottom: 0; padding: 10px 14px 4px; }
  td { padding: 4px 14px 12px; }
}

/* 写真が入るまでの仮枠・未記入の目印（公開前に消える想定） */
.ph { height: 220px; background: #E9ECF1; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.ph-square { height: auto; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 8px; }
.todo { color: #B45309; font-weight: 700; }
