/* 作例B 木工の工房（架空）
   外部の読み込み 0件（フォント・画像・スクリプトなし）。フォントは端末の標準のみ。
   木目の帯・木の色見本・曜日の表は CSS の図形と色だけで描いている（画像なし）。 */

:root {
  --ink: #2b2622;
  --ink-soft: #625a52;
  --paper: #f8f4ee;
  --tint: #efe7db;
  --line: #ddd0be;
  --wood: #6e4a30;
  --wood-dark: #553823;
  --moss: #556b43;
  --honey: #c4955a;
  --white: #ffffff;
  --radius: 8px;
  --wrap: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--wood); }

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

.small { font-size: 13px; color: var(--ink-soft); }

/* 作例の帯 */
.sample-band {
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: .04em;
}

/* ヘッダー */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}
.logo {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .08em;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.logo-yomi { font-size: 11px; font-weight: 400; color: var(--ink-soft); letter-spacing: .12em; }
.nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; }
.nav a:hover { color: var(--wood); }
.nav .nav-cta {
  background: var(--wood);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 4px;
}
.nav .nav-cta:hover { background: var(--wood-dark); color: var(--white); }

/* ファーストビュー */
.hero {
  background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
  position: relative;
  overflow: hidden;
}
.hero-inner { padding: 96px 20px 80px; }
.hero h1 {
  margin: 0 0 24px;
  font-size: 44px;
  line-height: 1.45;
  letter-spacing: .06em;
  border-left: 6px solid var(--honey);
  padding-left: 22px;
}
.hero-lead { margin: 0 0 36px; color: var(--ink-soft); font-size: 17px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 木目の帯（CSSの線の重ね合わせのみ・画像なし） */
.grain {
  height: 44px;
  border-top: 1px solid var(--line);
  background:
    repeating-linear-gradient(178deg, rgba(85, 56, 35, .22) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(181deg, rgba(85, 56, 35, .14) 0 2px, transparent 2px 13px),
    linear-gradient(90deg, #b8875a, #c9a073 30%, #b37f50 55%, #c69b6c 80%, #b8875a);
}

/* ボタン */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 4px;
  border: 2px solid var(--wood);
  transition: background .15s, color .15s;
}
.btn-main { background: var(--wood); color: var(--white); }
.btn-main:hover { background: var(--wood-dark); border-color: var(--wood-dark); }
.btn-sub { background: transparent; color: var(--wood); }
.btn-sub:hover { background: var(--wood); color: var(--white); }
.btn-wide { margin: 8px 0 4px; }

/* セクション共通 */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.sec-title {
  margin: 0 0 32px;
  font-size: 26px;
  letter-spacing: .06em;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.sec-title .num {
  font-size: 14px;
  color: var(--moss);
  font-weight: 700;
  letter-spacing: .1em;
}

/* 工房について */
.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-text p { margin: 0 0 16px; }
.woods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.woods li {
  height: 96px;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  letter-spacing: .1em;
  background-image: repeating-linear-gradient(176deg, rgba(0, 0, 0, .10) 0 1px, transparent 1px 9px);
}
.woods .w1 { background-color: #5e4330; }
.woods .w2 { background-color: #a0603f; }
.woods .w3 { background-color: #b99868; }
.woods .w4 { background-color: #d9c4a0; color: var(--ink); }

/* 作っているもの */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--moss);
  border-radius: var(--radius);
  padding: 24px 24px 28px;
}
.card-num {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: var(--honey);
  line-height: 1.2;
}
.card h3 { margin: 6px 0 12px; font-size: 19px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* 料金 */
.table-scroll { overflow-x: auto; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 480px;
}
.price-table th, .price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.price-table thead th {
  background: var(--wood);
  color: var(--white);
  font-size: 14px;
  letter-spacing: .06em;
}
.price-table thead th:last-child { text-align: right; }
.price-table tbody th { font-weight: 700; }
.price-table td { text-align: right; font-weight: 700; white-space: nowrap; }
.price-table td.wrap-cell { white-space: normal; }
.notes { margin: 20px 0 0; padding-left: 1.2em; color: var(--ink-soft); font-size: 14px; }

/* 教室の日程 */
.schedule { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.schedule-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--moss);
  border-radius: var(--radius);
  padding: 20px 32px;
}
.schedule-box p { margin: 0; }
.schedule-label { font-size: 13px; color: var(--moss); font-weight: 700; letter-spacing: .1em; }
.schedule-main { font-size: 24px; font-weight: 700; letter-spacing: .04em; }
.schedule-time { font-size: 20px; font-weight: 700; color: var(--wood); }
.schedule-note { margin: 0; flex: 1; min-width: 240px; }

/* 場所と営業時間 */
.access-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}
.info { margin: 0; }
.info div { display: grid; grid-template-columns: 8em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info dt { font-weight: 700; color: var(--wood); }
.info dd { margin: 0; }
.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.day {
  text-align: center;
  border-radius: 6px;
  background: var(--moss);
  color: var(--white);
  padding: 10px 0;
}
.day span { display: block; font-weight: 700; }
.day em { font-style: normal; font-size: 11px; }
.day.off { background: var(--tint); color: var(--ink-soft); }

/* お知らせ */
.news { list-style: none; margin: 0; padding: 0; }
.news li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 20px 14px 44px;
  margin-bottom: 10px;
  position: relative;
}
.news li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--honey);
}

/* お問い合わせ */
.contact { text-align: center; }
.contact .sec-title { justify-content: center; }
.tel { margin: 16px 0 24px; font-weight: 700; }
.contact-items {
  display: inline-block;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 28px;
  font-size: 14px;
}
.contact-items-title { margin: 0 0 6px; font-weight: 700; }
.contact-items ul { margin: 0; padding-left: 1.2em; }

/* フッター */
.site-footer {
  background: var(--ink);
  color: #e0d9cf;
  padding: 32px 0;
  text-align: center;
}
.site-footer p { margin: 4px 0; }
.site-footer .small { color: #b0a79b; }

/* スマホ */
@media (max-width: 760px) {
  body { font-size: 15px; }
  .pc { display: none; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; min-height: 0; }
  .nav { gap: 6px 14px; }
  .nav a { font-size: 13px; }
  .nav .nav-cta { padding: 4px 10px; }
  .hero-inner { padding: 52px 20px 48px; }
  .hero h1 { font-size: 28px; padding-left: 16px; border-left-width: 5px; }
  .hero-lead { font-size: 15px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .section { padding: 52px 0; }
  .sec-title { font-size: 22px; margin-bottom: 24px; }
  .about-grid, .access-grid { grid-template-columns: 1fr; gap: 20px; }
  .woods { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .woods li { height: 72px; font-size: 13px; padding: 8px; letter-spacing: .04em; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .price-table { min-width: 0; font-size: 14px; }
  .price-table th, .price-table td { padding: 12px 10px; }
  .price-table tbody th { width: 44%; }
  .price-table td.wrap-cell { text-align: left; }
  .schedule-box { width: 100%; padding: 16px 20px; }
  .schedule-main { font-size: 20px; }
  .info div { grid-template-columns: 1fr; gap: 2px; }
  .week { padding: 10px; gap: 4px; }
  .day em { font-size: 10px; }
  .btn-wide { width: 100%; }
  .contact-items { padding: 14px 18px; }
}
