/* wireframe.css — mockup-drafting 段階1（白黒ワイヤー）用スタイルシート
   クライアント確認用モックの「構成」を見せるための骨組み表示。
   PC = デフォルト / SP = 768px 以下。
   段階2では、同じ HTML に対してこのファイルを mockup.css に差し替える。 */

/* --- リセット --- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* --- デザイントークン（ワイヤーはグレースケール固定）--- */
:root {
  --wf-bg: #ffffff;
  --wf-fill: #ececec;
  --wf-fill-strong: #d6d6d6;
  --wf-line: #c2c2c2;
  --wf-text: #3a3a3a;
  --wf-text-mute: #8a8a8a;
  --wf-gap: 24px;
  --wf-radius: 4px;
  --wf-maxw: 1080px;
}

body {
  font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--wf-text);
  background: #f4f4f4;
  line-height: 1.7;
}

/* ワイヤーである旨を示す帯（段階2の mockup.css には入れない） */
body::before {
  content: "WIREFRAME — 構成確認用です。配色・写真・装飾は未確定で、レイアウトと情報の構成をご確認ください。";
  display: block;
  background: #333;
  color: #fff;
  font-size: 12px;
  letter-spacing: .03em;
  text-align: center;
  padding: 7px 16px;
}

/* --- レイアウト基盤 --- */
.container { max-width: var(--wf-maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 56px; }
.stack > * + * { margin-top: var(--wf-gap); }

/* グリッド：PC は横並び、SP は縦積み */
.grid { display: grid; gap: var(--wf-gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --- 共通部品：ヘッダー / フッター --- */
.site-header { background: var(--wf-bg); border-bottom: 1px solid var(--wf-line); }
.site-footer { background: var(--wf-bg); border-top: 1px solid var(--wf-line); }
.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
}
.logo {
  font-weight: 700;
  letter-spacing: .08em;
  border: 1px solid var(--wf-line);
  background: var(--wf-fill);
  padding: 6px 14px;
  border-radius: var(--wf-radius);
}
.nav { display: flex; gap: 20px; }
.nav a { color: var(--wf-text-mute); text-decoration: none; font-size: 14px; }

/* --- 汎用ブロック --- */
.box {
  background: var(--wf-fill);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  padding: 24px;
}
.card {
  background: var(--wf-bg);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  padding: 20px;
}
.card > * + * { margin-top: 12px; }

/* 画像プレースホルダ */
.media {
  background: var(--wf-fill-strong);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wf-text-mute);
  font-size: 13px;
  min-height: 180px;
}
.media::after { content: "画像"; }
.media--hero { min-height: 360px; }
.media--16-9 { aspect-ratio: 16 / 9; min-height: 0; }
.media--1-1 { aspect-ratio: 1 / 1; min-height: 0; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* --- 見出し・テキスト --- */
.heading { font-weight: 700; line-height: 1.4; }
.heading--page { font-size: 28px; }
.heading--section { font-size: 22px; }
.heading--card { font-size: 16px; }
.lead { color: var(--wf-text-mute); }

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 24px;
  border: 1.5px solid var(--wf-text);
  border-radius: var(--wf-radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: var(--wf-bg);
  color: var(--wf-text);
}
.btn--primary { background: var(--wf-text); color: var(--wf-bg); }

/* --- 注釈（ディレクター → クライアント / 社内メモ）--- */
.note {
  border-left: 3px solid #e0a200;
  background: #fff7e0;
  padding: 12px 16px;
  font-size: 13px;
  color: #6b5300;
  border-radius: 0 var(--wf-radius) var(--wf-radius) 0;
}

/* --- 確認ハブ（index.html）のページ一覧 --- */
.page-list { display: grid; gap: 8px; }
.page-list a {
  display: block;
  border: 1px solid var(--wf-line);
  background: var(--wf-bg);
  border-radius: var(--wf-radius);
  padding: 14px 18px;
  text-decoration: none;
  font-weight: 600;
}

/* --- セクション装飾（任意）--- */
.hero { background: var(--wf-bg); }
.cta { background: var(--wf-fill); text-align: center; }

/* --- レスポンシブ：SP（≤768px）--- */
@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .section { padding-block: 40px; }
  .nav { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .heading--page { font-size: 22px; }
  .heading--section { font-size: 19px; }
  .media--hero { min-height: 220px; }
}
