:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1f2328;
  --muted: #5c636b;
  --line: #dcd9d2;
  --dark: #1c2b3a;
  --accent: #f2c94c;
  --accent-hover: #f6d877;
  --link: #7a5c00;
  --todo-bg: #ffd9e0;
  --radius: 10px;
  --max: 760px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.85;
  font-size: 16px;
}

a { color: var(--link); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

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

/* ヘッダー */
.site-header { background: var(--dark); color: #fff; }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 20px; padding-top: 14px; padding-bottom: 14px;
}
.site-title { color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.site-title img { width: 40px; height: auto; border-radius: 0; }
.site-title small { display: block; font-weight: 400; font-size: 12px; color: #b8c4cf; }
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-nav a { color: #e6ecf1; text-decoration: none; font-size: 14px; }
.site-nav a:hover { color: var(--accent); }

/* トップのヒーロー */
.hero { background: var(--dark); color: #fff; padding: 28px 0 44px; border-bottom: 4px solid var(--accent); }
.hero h1 { font-size: 26px; line-height: 1.5; margin: 0 0 12px; }
.hero h1 .em { color: var(--accent); }
.hero p { color: #d3dbe2; margin: 0 0 22px; }
.hero-photo { margin: 28px 0 0; }
.hero-photo img { border: 3px solid var(--accent); }

.btn {
  display: inline-block; padding: 10px 20px; border-radius: 999px;
  background: var(--accent); color: var(--dark); text-decoration: none; font-weight: 700; font-size: 15px;
}
.btn:hover { background: var(--accent-hover); }
.btn.ghost { background: transparent; border: 1px solid #8fa1b2; color: #fff; margin-left: 8px; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

main { padding: 36px 0 56px; }
section { margin-bottom: 44px; }

h2 {
  font-size: 20px; margin: 0 0 16px; padding-left: 12px;
  border-left: 6px solid var(--accent);
}
h3 { font-size: 17px; margin: 0 0 6px; }

/* 3つの特徴 */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.point { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.point .num {
  display: inline-block; background: var(--accent); color: var(--dark);
  font-weight: 700; font-size: 12px; padding: 0 8px; border-radius: 4px; margin-bottom: 6px;
}
.point p { margin: 0; color: var(--muted); font-size: 14px; }

/* 記事カード */
.cards { display: grid; gap: 14px; }
.card {
  display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; text-decoration: none; color: inherit;
}
.card:hover { border-color: var(--dark); box-shadow: 4px 4px 0 var(--accent); }
.card .thumb { flex: 0 0 120px; height: 90px; }
.card img.thumb { width: 120px; object-fit: cover; }
.card .meta { font-size: 13px; color: var(--muted); }
.card h3 { margin: 2px 0 4px; }
.card p { margin: 0; font-size: 14px; color: var(--muted); }

/* 写真の仮置き */
.photo-ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(45deg, #ecebe6, #ecebe6 10px, #e4e2dc 10px, #e4e2dc 20px);
  color: var(--muted); font-size: 13px; border-radius: var(--radius); min-height: 90px; padding: 8px;
}
.photo-ph.large { min-height: 240px; }

figure { margin: 18px 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* 記事ページ */
.article-head { margin-bottom: 28px; }
.article-head h1 { font-size: 24px; line-height: 1.5; margin: 6px 0 8px; }
.tag {
  display: inline-block; font-size: 12px; background: var(--dark); color: #fff;
  padding: 2px 10px; border-radius: 999px; margin-right: 6px;
}

/* 整備記録（作業内容のまとめ表） */
.record { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 15px; }
.record th, .record td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.record th { width: 32%; background: #eef1f4; font-weight: 700; }
.record caption { text-align: left; font-weight: 700; padding-bottom: 6px; }

.note {
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--dark);
  border-radius: var(--radius); padding: 14px 16px; font-size: 14px; color: var(--muted);
}

/* 未記入の箇所（公開前に必ず埋める）。サイトの黄色と区別するためピンク */
.todo { background: var(--todo-bg); padding: 0 4px; border-radius: 4px; }

.banner-sample {
  background: var(--todo-bg); border: 1px dashed #d4607a; border-radius: var(--radius);
  padding: 10px 14px; font-size: 14px; margin-bottom: 24px;
}

/* フッター */
.site-footer { background: var(--dark); color: #b8c4cf; font-size: 12px; padding: 24px 0; }
.site-footer a { color: #e6ecf1; }
.site-footer p { margin: 4px 0; }

@media (max-width: 520px) {
  .hero h1 { font-size: 22px; }
  .card .thumb { flex-basis: 88px; height: 72px; }
  .btn.ghost { margin: 10px 0 0; }
}

.note ul { margin: 0; padding-left: 1.2em; }
.note li + li { margin-top: 6px; }
