/* ===== 色・文字の設定(ここを変えると全体が変わる) ===== */
:root {
  --main: #1c1c1c;        /* メイン:墨色(文字・暗い背景) */
  --sub: #f4f1ec;         /* サブ:生成り(背景の切り替え) */
  --accent: #9c7a52;      /* アクセント:砂色(押せる所・小見出し) */
  --white: #fdfcfa;
  --muted: #6f6a63;       /* 補足の文字 */
  --line: #06c755;        /* LINEの緑(LINEボタンだけ) */
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --gutter: 20px;         /* スマホの左右の余白 */
}

/* ===== 全体の基本 ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--main);
  background: var(--white);
  padding-bottom: 64px; /* 下の固定ボタンに隠れないように */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.5; margin: 0; }

/* ===== 制作サンプルの帯 ===== */
.sample-bar {
  background: var(--main);
  color: #fff;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  padding: 6px var(--gutter);
}

/* ===== ヘッダー ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--gutter);
  background: var(--white);
  border-bottom: 1px solid #e6e1d9;
}
.logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  letter-spacing: 0.12em;
}
.logo small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--muted);
}
/* 三本線ボタン(スマホだけ) */
.menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 48px;
  min-height: 48px;
  padding: 6px;
  border: 0;
  background: none;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--main);
  cursor: pointer;
}
.menu-btn-lines,
.menu-btn-lines::before,
.menu-btn-lines::after {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--main);
}
.menu-btn-lines { position: relative; margin: 10px 0 12px; }
.menu-btn-lines::before,
.menu-btn-lines::after { content: ""; position: absolute; left: 0; }
.menu-btn-lines::before { top: -7px; }
.menu-btn-lines::after { top: 7px; }
/* メニューの中身(スマホでは閉じておく) */
.menu { display: none; width: 100%; padding: 8px 0 12px; }
.menu.is-open { display: block; }
.menu a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid #e6e1d9;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 17px;
}
.menu a small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--accent);
}
.menu a[aria-current="page"] { color: var(--accent); }
.menu .menu-cta {
  margin-top: 14px;
  border: 0;
  background: var(--main);
  color: #fff;
  text-align: center;
  font-family: var(--sans);
  font-size: 15px;
}

/* ===== ボタン(角は四角めで、落ち着いた印象に) ===== */
.btn {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 17px 20px;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.btn-main { background: var(--main); color: #fff; }
.btn-line { background: var(--line); color: #fff; }
.btn-sub { background: transparent; color: var(--main); border: 1px solid var(--main); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.7); margin-top: 32px; }
.btn-ghost-dark { background: transparent; color: var(--main); border: 1px solid var(--main); margin-top: 28px; }

/* ===== 英語の小見出し・見出し ===== */
.en {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--accent);
}
.title { font-size: 25px; margin-bottom: 32px; }
.small { font-size: 12px; color: var(--muted); }

/* ===== 最初の画面 ===== */
.hero { position: relative; min-height: 620px; display: flex; align-items: flex-end; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-text {
  position: relative;
  width: 100%;
  padding: 0 var(--gutter) 40px;
}
.hero h1 {
  font-size: 40px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  margin-bottom: 16px;
}
.hero-sub { margin: 0 0 28px; font-size: 15px; }
.hero .btn { max-width: 240px; margin: 0; }

/* ===== セクション共通 ===== */
.section { padding: 72px var(--gutter); }
.section > * { max-width: 920px; margin-left: auto; margin-right: auto; }
.section-sub { background: var(--sub); }
.section-dark { background: var(--main); color: #fff; }

/* ===== ひとこと ===== */
.intro { text-align: center; }
.intro-text { font-family: var(--serif); font-size: 22px; line-height: 2; margin: 0 0 24px; }
.facts {
  list-style: none;
  padding: 0;
  margin: 36px auto 8px;
  max-width: 420px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.facts li { border-left: 1px solid #ddd6cc; }
.facts li:first-child { border-left: 0; }
.facts b { display: block; font-family: var(--serif); font-size: 34px; line-height: 1.2; }
.facts span { font-size: 12px; color: var(--muted); }

/* ===== こだわり(写真と文を交互に) ===== */
.concept { background: var(--sub); }
.row { margin-bottom: 48px; }
.row img { width: 100%; height: 260px; object-fit: cover; }
.row-text { padding: 22px 4px 0; }
.num { margin: 0; font-family: var(--serif); font-size: 14px; color: var(--accent); letter-spacing: 0.2em; }
.row h3 { font-size: 21px; margin: 4px 0 10px; }
.row p { margin: 0; }

/* ===== 施工例(トップ) ===== */
.section-dark .title { color: #fff; }
.works-grid { list-style: none; padding: 0; display: grid; gap: 28px; }
.works-grid a { display: block; text-decoration: none; }
.works-grid img { width: 100%; height: 300px; object-fit: cover; margin-bottom: 10px; }
.works-grid span { font-size: 13px; letter-spacing: 0.08em; opacity: 0.85; }

/* ===== 料金(トップ) ===== */
.service-list { list-style: none; padding: 0; margin: 0; }
.service-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #e6e1d9;
}
.service-list b { font-family: var(--serif); white-space: nowrap; }

/* ===== お客様の声 ===== */
.voice { background: var(--sub); text-align: center; }
.voice blockquote { margin: 8px auto 16px; font-family: var(--serif); font-size: 20px; line-height: 2; }
.voice-who { font-size: 13px; color: var(--muted); }

/* ===== 職人募集の帯 ===== */
.recruit-band { position: relative; }
.recruit-band img { width: 100%; height: 320px; object-fit: cover; }
.recruit-band a {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px var(--gutter);
  background: linear-gradient(to bottom, rgba(28, 28, 28, 0) 30%, rgba(28, 28, 28, 0.85));
  color: #fff;
  text-decoration: none;
}
.recruit-band b { font-family: var(--serif); font-size: 21px; margin: 4px 0; }
.recruit-band span { font-size: 13px; }

/* ===== 問い合わせ ===== */
.contact { text-align: center; background: var(--sub); }
.contact .lead { margin: 0 auto 28px; }
.contact .btn { margin-top: 12px; }
.note { font-size: 12px; color: var(--muted); margin: 8px auto 16px; }

/* ===== 下のページの最初の画面 ===== */
.page-hero { position: relative; height: 360px; display: flex; align-items: flex-end; color: #fff; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(28, 28, 28, 0.1), rgba(28, 28, 28, 0.7)); }
.page-hero-text { position: relative; z-index: 1; width: 100%; max-width: 920px; margin: 0 auto; padding: 0 var(--gutter) 32px; }
.page-hero .en { color: #e4cfae; }
.page-hero h1 { font-size: 32px; letter-spacing: 0.1em; }
.page-hero p { margin: 4px 0 0; font-size: 14px; }

/* ===== 施工例ページ ===== */
.work { margin-bottom: 56px; }
.work img { width: 100%; height: 320px; object-fit: cover; }
.work-body { padding-top: 18px; }
.work h3 { font-size: 20px; margin-bottom: 12px; }
.work dl { margin: 0; font-size: 14px; }
.work dl div { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid #e6e1d9; }
.work dt { flex-shrink: 0; width: 3.5em; color: var(--muted); }
.work dd { margin: 0; }
.work-note { margin: 14px 0 0; font-size: 14px; padding-left: 14px; border-left: 2px solid var(--accent); }

/* ===== 塗装と料金ページ ===== */
.menu-cards { display: grid; gap: 16px; }
.menu-cards article { padding: 24px 22px; border: 1px solid #e6e1d9; }
.menu-cards h3 { font-size: 19px; }
.menu-cards .price { margin: 4px 0 8px; font-family: var(--serif); font-size: 26px; color: var(--accent); }
.menu-cards p { margin: 0; font-size: 14px; }
.flow { list-style: none; padding: 0; counter-reset: step; }
.flow li { position: relative; padding: 0 0 26px 52px; counter-increment: step; }
.flow li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--accent);
}
.flow b { display: block; font-family: var(--serif); font-size: 18px; }
.flow span { font-size: 15px; }
.faq details { border-bottom: 1px solid #e6e1d9; padding: 4px 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 14px 28px 14px 0;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
/* 開け閉めの「+」 */
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 20px; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; font-size: 15px; }

/* ===== 私たちについてページ ===== */
.message img { width: 100%; height: 300px; object-fit: cover; margin-bottom: 24px; }
.message-catch { font-family: var(--serif); font-size: 21px; line-height: 1.9; }
.sign { text-align: right; color: var(--muted); font-size: 14px; }
.crafts { list-style: none; padding: 0; display: grid; gap: 14px; }
.crafts li { padding: 20px; background: var(--white); }
.crafts b { font-family: var(--serif); font-size: 18px; }
.crafts span { display: block; font-size: 12px; color: var(--accent); }
.crafts p { margin: 6px 0 0; font-size: 14px; }
.company { margin: 0; font-size: 15px; }
.company div { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e6e1d9; }
.company dt { flex-shrink: 0; width: 5em; color: var(--muted); }
.company dd { margin: 0; }
.lead-left { margin: 0; }

/* ===== フッター ===== */
.footer { background: var(--main); color: #fff; text-align: center; padding: 40px var(--gutter); font-size: 13px; }
.footer p { margin: 0 0 4px; }
.footer-name { font-family: var(--serif); font-size: 20px; letter-spacing: 0.15em; }
.footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin: 18px 0; }
.footer-menu a { color: #fff; text-decoration: none; opacity: 0.8; }
.footer-copy { margin-top: 16px !important; opacity: 0.55; font-size: 11px; }

/* ===== スマホの画面下に固定するボタン ===== */
.fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: transform 0.25s;
}
.fixed-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 60px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}
.fixed-tel { background: var(--accent); }
.fixed-main { background: var(--main); }
.cta-icon { width: 18px; height: 18px; }
/* 問い合わせの所まで来たら、固定ボタンを隠す */
.fixed-cta.is-hidden { transform: translateY(100%); }

/* ===== パソコンの画面(広いとき)だけの調整 ===== */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .fixed-cta { display: none; }
  .header { flex-wrap: nowrap; padding: 16px 40px; }
  .menu-btn { display: none; }
  .menu { display: flex; align-items: center; gap: 28px; width: auto; padding: 0; }
  .menu a { border: 0; padding: 0; font-size: 15px; text-align: center; }
  .menu .menu-cta { margin: 0; padding: 10px 20px; font-size: 13px; }
  .hero { min-height: 760px; align-items: center; }
  .hero-text { max-width: 920px; margin: 0 auto; padding: 0 40px; }
  .hero h1 { font-size: 60px; }
  .section { padding: 110px 40px; }
  .title { font-size: 32px; }
  .row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .row img { height: 420px; }
  .row-rev img { order: 2; }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .works-grid img { height: 380px; }
  .page-hero { height: 460px; }
  .page-hero h1 { font-size: 44px; }
  .work { display: grid; grid-template-columns: 3fr 2fr; gap: 36px; align-items: center; }
  .menu-cards { grid-template-columns: 1fr 1fr; }
  .message { display: grid; grid-template-columns: 2fr 3fr; gap: 40px; }
  .message img { height: 460px; margin: 0; }
  .crafts { grid-template-columns: 1fr 1fr; }
  .recruit-band img { height: 420px; }
  .recruit-band a { padding: 48px 40px; }
}
