/* ============================================================
   ★★★ 色の設定 ★★★
   会社のイメージカラーに合わせたいときは、ここの色コードだけ
   変えれば、ページ全体の配色が一括で変わります。
   （色コードは「HTML カラーコード」で検索すると調べられます）
   ============================================================ */
:root {
  --main-color: #2e5e4e;     /* メインの色（見出し・ボタンなど） */
  --main-dark: #1f4438;      /* メインの濃い色 */
  --accent-color: #e0793f;   /* アクセントの色（強調・CTAボタン） */
  --bg-cream: #faf6ee;       /* ページの背景色（クリーム） */
  --bg-band: #f1ece0;        /* 帯セクションの背景色 */
  --text-color: #3a3a33;     /* 基本の文字色 */

  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Jost", sans-serif;
}

/* ============================================================
   ここから下はデザインの仕組みです（通常は触らなくてOK）
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-sans);
  color: var(--text-color);
  background: var(--bg-cream);
  line-height: 1.8;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.pc-only { display: inline; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(46, 94, 78, 0.12);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo { display: flex; flex-direction: column; line-height: 1.3; }
.logo-main {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--main-dark);
}
.logo-sub {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--accent-color);
}

.global-nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
}
.global-nav a { padding: 6px 2px; position: relative; }
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.global-nav a:hover::after { transform: scaleX(1); }

.header-contact { display: flex; align-items: center; gap: 14px; }
.header-tel { display: flex; flex-direction: column; line-height: 1.4; text-align: center; }
.tel-number {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 600;
  color: var(--main-dark);
}
.tel-number::before { content: "📞 "; font-size: 15px; }
.tel-time { font-size: 10px; color: #777; }

.header-cta {
  background: var(--accent-color);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 999px;
  transition: opacity 0.25s, transform 0.25s;
}
.header-cta:hover { opacity: 0.85; transform: translateY(-2px); }

.nav-toggle { display: none; }

/* ---------- FV（メインビジュアル） ---------- */
.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(224, 121, 63, 0.08), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(46, 94, 78, 0.08), transparent 40%),
    var(--bg-cream);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px 90px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 999px;
  padding: 4px 18px;
  margin-bottom: 22px;
  letter-spacing: 0.08em;
}

.hero-copy {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.55;
  color: var(--main-dark);
  margin-bottom: 20px;
}
.hero-copy .accent {
  background: linear-gradient(transparent 68%, rgba(224, 121, 63, 0.35) 68%);
}

.hero-sub {
  font-size: 15px;
  color: #5d5d54;
  margin-bottom: 26px;
  max-width: 480px;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.badge {
  background: #fff;
  border: 1px solid rgba(46, 94, 78, 0.25);
  color: var(--main-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(31, 68, 56, 0.06);
}
.badge-accent {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ボタン共通 */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 14px;
  padding: 12px 28px;
  line-height: 1.4;
  transition: opacity 0.25s, transform 0.25s;
}
.btn:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-small { font-size: 12px; font-weight: 500; }
.btn-large { font-family: var(--font-en); font-size: 24px; font-weight: 600; }

.btn-primary { background: var(--main-color); color: #fff; box-shadow: 0 6px 16px rgba(31, 68, 56, 0.25); }
.btn-outline {
  border: 2px solid var(--main-color);
  color: var(--main-color);
  font-weight: 700;
  font-size: 15px;
  background: #fff;
}
.btn-white { background: #fff; color: var(--main-dark); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.btn-accent {
  background: var(--accent-color);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* FV右側の写真 */
.hero-photos { position: relative; min-height: 420px; }
.hero-blob {
  position: absolute;
  inset: 8% 2% 8% 6%;
  background: rgba(46, 94, 78, 0.12);
  border-radius: 58% 42% 50% 50% / 48% 55% 45% 52%;
}
.hero-photo {
  position: absolute;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(31, 68, 56, 0.22);
}
.photo-main {
  width: 70%;
  aspect-ratio: 4 / 3.1;
  top: 0;
  right: 0;
}
.photo-sub {
  width: 52%;
  aspect-ratio: 4 / 3.1;
  bottom: 0;
  left: 0;
  border: 5px solid #fff;
}

/* ---------- お悩みバー ---------- */
.worry-band {
  background: var(--main-dark);
  color: #fff;
  text-align: center;
  padding: 26px 20px;
  font-size: 15px;
}
.worry-band strong { color: #ffd9a8; }

/* ---------- セクション共通 ---------- */
.section { padding: 86px 0; }
.section-bg { background: var(--bg-band); }
.section-inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section-narrow { max-width: 820px; }

.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent-color);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--main-dark);
  margin-top: 6px;
}
.section-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  margin: 16px auto 0;
}
.section-lead { margin-top: 18px; font-size: 15px; color: #5d5d54; }

/* ---------- 選ばれる理由 ---------- */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.reason-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 44px 26px 30px;
  box-shadow: 0 8px 24px rgba(31, 68, 56, 0.08);
  text-align: center;
}
.reason-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--main-color);
  color: #fff;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  padding: 5px 20px;
  border-radius: 999px;
  letter-spacing: 0.1em;
}
.reason-icon { font-size: 42px; margin-bottom: 14px; }
.reason-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--main-dark);
  line-height: 1.6;
  margin-bottom: 14px;
}
.reason-card p { font-size: 14px; text-align: left; color: #555; }

/* ---------- 流れ ---------- */
.flow-list {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.flow-list::before {
  content: "";
  position: absolute;
  left: 53px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(46, 94, 78, 0.25);
}
.flow-item {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 22px 26px 22px 130px;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(31, 68, 56, 0.07);
}
.flow-num {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--main-color);
  color: #fff;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  box-shadow: 0 0 0 6px var(--bg-band);
}
.flow-item h3 {
  font-size: 18px;
  color: var(--main-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.flow-tag {
  background: var(--accent-color);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 999px;
}
.flow-item p { font-size: 14px; color: #555; margin-top: 6px; }

/* ---------- 施工実績 ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.works-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31, 68, 56, 0.08);
  transition: transform 0.3s;
}
.works-card:hover { transform: translateY(-5px); }
.works-photo { aspect-ratio: 16 / 9; overflow: hidden; }
.works-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.works-body { padding: 22px 24px 26px; }
.works-cat {
  display: inline-block;
  background: var(--main-color);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.works-body h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--main-dark);
  line-height: 1.6;
  margin-bottom: 8px;
}
.works-body p { font-size: 13.5px; color: #555; }

/* ---------- 比較表 ---------- */
.compare-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31, 68, 56, 0.08);
  min-width: 640px;
}
.compare-table th, .compare-table td {
  padding: 18px 20px;
  font-size: 14px;
  border-bottom: 1px solid #eee8da;
  vertical-align: top;
}
.compare-table thead th {
  text-align: center;
  font-size: 16px;
  padding: 18px 20px;
}
.compare-table thead .col-ours {
  background: var(--main-color);
  color: #fff;
  font-family: var(--font-serif);
}
.compare-table thead .col-major { background: #e7e3d8; color: #777; }
.compare-table tbody th {
  background: var(--bg-cream);
  width: 130px;
  text-align: left;
  font-size: 15px;
  color: var(--main-dark);
}
.compare-table td.col-ours { background: rgba(46, 94, 78, 0.06); font-weight: 500; }
.compare-table td.col-major { color: #888; }
.mark {
  display: inline-block;
  font-weight: 700;
  margin-right: 8px;
  font-size: 17px;
}
.mark.good { color: var(--accent-color); }
.mark.soso { color: #aaa; }

/* ---------- お客様の声 ---------- */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.voice-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(31, 68, 56, 0.08);
}
.voice-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--main-dark);
}
.voice-head small { font-weight: 500; color: #999; }
.voice-head img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-band);
}
.voice-card h3 {
  font-size: 16px;
  color: var(--main-dark);
  margin-bottom: 10px;
  line-height: 1.6;
}
.voice-card p { font-size: 13.5px; color: #555; }

/* ---------- 会社概要 ---------- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31, 68, 56, 0.08);
}
.company-table th, .company-table td {
  padding: 18px 24px;
  font-size: 15px;
  border-bottom: 1px solid #eee8da;
  text-align: left;
}
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.company-table th {
  background: var(--bg-cream);
  width: 160px;
  color: var(--main-dark);
}

/* ---------- お問い合わせCTA ---------- */
.contact-band {
  background: linear-gradient(135deg, var(--main-dark), var(--main-color));
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}
.contact-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 12px;
}
.contact-inner p { font-size: 15px; opacity: 0.9; margin-bottom: 30px; }
.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- フッター ---------- */
.site-footer { background: #232520; color: #d8d6cd; padding: 50px 20px 20px; }
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}
.footer-info p { font-size: 13px; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-nav a:hover { color: #fff; }
.copyright {
  text-align: center;
  font-size: 12px;
  color: #8d8b82;
  margin-top: 40px;
  border-top: 1px solid #3a3c35;
  padding-top: 18px;
}

/* ---------- もっと見るボタン ---------- */
.more-wrap { text-align: center; margin-top: 44px; }
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 44px;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.btn-more::after {
  content: "→";
  font-family: var(--font-en);
  transition: transform 0.25s;
}
.btn-more:hover {
  background: var(--main-color);
  color: #fff;
  transform: translateY(-2px);
}
.btn-more:hover::after { transform: translateX(4px); }

/* ---------- 別ページ：ページタイトル帯 ---------- */
.page-title-band {
  text-align: center;
  padding: 64px 20px 56px;
  background:
    radial-gradient(circle at 85% 20%, rgba(224, 121, 63, 0.08), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(46, 94, 78, 0.08), transparent 40%),
    var(--bg-band);
}
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  color: var(--main-dark);
  margin-top: 6px;
}
.page-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  margin: 16px auto 0;
}
.page-title-band p { margin-top: 16px; font-size: 15px; color: #5d5d54; }

/* ---------- 別ページ：ご挨拶 ---------- */
.greeting-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}
.greeting-photo img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(31, 68, 56, 0.18);
}
.greeting-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 30px);
  color: var(--main-dark);
  margin: 4px 0 20px;
}
.greeting-text p { font-size: 15px; margin-bottom: 14px; }
.greeting-sign {
  text-align: right;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--main-dark);
  margin-top: 22px;
}

@media (max-width: 960px) {
  .greeting-wrap { grid-template-columns: 1fr; gap: 28px; }
  .greeting-photo { max-width: 480px; margin: 0 auto; }
}

/* ---------- ふわっと表示されるアニメーション ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   スマホ・タブレット対応
   ============================================================ */
@media (max-width: 960px) {
  .global-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-cream);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(46, 94, 78, 0.15);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }
  .global-nav.is-open { display: flex; }
  .global-nav a { padding: 14px 24px; border-top: 1px solid rgba(46, 94, 78, 0.1); }

  .header-contact { margin-left: auto; }
  .header-tel { display: none; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    align-items: center;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--main-dark);
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 46px 20px 60px;
  }
  .hero-photos { min-height: 320px; max-width: 480px; margin: 0 auto; width: 100%; }

  .reason-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .voice-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .works-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

  .pc-only { display: none; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }

  .header-inner { padding: 10px 12px; gap: 8px; }
  .logo-main { font-size: 17px; }
  .logo-sub { font-size: 8px; }
  .header-cta { font-size: 11px; padding: 9px 12px; white-space: nowrap; }

  .flow-list::before { left: 30px; }
  .flow-item { padding: 18px 18px 18px 78px; }
  .flow-num {
    width: 48px;
    height: 48px;
    font-size: 10px;
    left: 8px;
  }
  .flow-item h3 { font-size: 16px; }

  .hero-actions .btn { width: 100%; }
  .contact-actions .btn { width: 100%; max-width: 360px; }

  .company-table th { width: 100px; font-size: 13px; }
  .company-table td { font-size: 13.5px; }
}
