/* ===== 岡崎工務店 デモサイト ===== */

:root {
  --wood:      #5c3d1a;
  --wood-dk:   #3e2810;
  --wood-lt:   #fdf6ec;
  --wood-mid:  #7a5228;

  --forest:    #3a5a3a;
  --forest-dk: #274027;
  --forest-lt: #eaf3ea;

  --white:     #ffffff;
  --cream:     #fafaf5;
  --cream2:    #f3f0e8;

  --text:      #2a2218;
  --text2:     #5a5040;
  --text3:     #9a8e78;

  --border:    #e0d8c8;
  --radius:    6px;
  --shadow-sm: 0 2px 10px rgba(92,61,26,0.07);
  --shadow-md: 0 6px 24px rgba(92,61,26,0.13);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 24px; height: 64px;
  box-shadow: var(--shadow-sm);
}
.header-logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.mark {
  width: 40px; height: 40px; border-radius: 6px;
  background: var(--wood);
  display: flex; align-items: center; justify-content: center;
}
.mark span { color: #fff; font-size: 0.56rem; font-weight: 700; line-height: 1.3; text-align: center; }
.names { display: flex; flex-direction: column; }
.name { font-size: 0.95rem; font-weight: 700; color: var(--wood); line-height: 1.2; }
.sub  { font-size: 0.72rem; color: var(--text3); }

.pc-nav { display: flex; align-items: center; gap: 6px; }
.pc-nav a {
  padding: 6px 12px; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 500; color: var(--text2);
  transition: background .18s, color .18s;
}
.pc-nav a:hover { background: var(--wood-lt); color: var(--wood); }
.pc-nav .nav-contact {
  background: var(--forest); color: #fff; padding: 7px 14px;
}
.pc-nav .nav-contact:hover { background: var(--forest-dk); color: #fff; }
.pc-nav .nav-tel { color: var(--wood); font-weight: 700; font-size: 0.9rem; }
.pc-nav .nav-tel:hover { background: var(--wood-lt); }

.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer;
}
.hamburger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: 64px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 16px; gap: 4px; z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 16px; border-radius: var(--radius); font-size: .95rem; font-weight: 500; color: var(--text2); }
.mobile-menu .nav-contact { background: var(--forest); color: #fff; text-align: center; margin-top: 8px; }
.mobile-menu .nav-tel { color: var(--wood); font-weight: 700; text-align: center; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(150deg, #fafaf5 0%, #f5f0e8 50%, #ede5d5 100%);
  padding: 72px 24px 64px;
}
.hero-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: .15em; color: var(--wood-mid); margin-bottom: 16px;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.3; color: var(--wood);
  margin-bottom: 20px;
}
.hero-title .sub-title {
  display: block; font-size: clamp(0.95rem, 2.5vw, 1.3rem);
  color: var(--text2); font-weight: 500; margin-top: 12px;
}
.hero-sub {
  font-size: 0.95rem; color: var(--text2);
  max-width: 620px; margin: 0 auto 32px; line-height: 1.9;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn-contact {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  background: var(--forest); color: #fff;
  font-size: 0.97rem; font-weight: 700;
  transition: background .18s, transform .15s;
}
.btn-contact:hover { background: var(--forest-dk); transform: translateY(-1px); }
.btn-tel {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  background: var(--wood-lt); color: var(--wood);
  border: 2px solid var(--wood); font-size: 0.97rem; font-weight: 700;
  transition: background .18s;
}
.btn-tel:hover { background: var(--wood); color: #fff; }
.btn-primary {
  display: inline-flex; align-items: center;
  padding: 10px 22px; border-radius: var(--radius);
  background: var(--forest); color: #fff;
  font-size: 0.9rem; font-weight: 600;
  transition: background .18s;
}
.btn-primary:hover { background: var(--forest-dk); }

/* ===== TRUST BAND ===== */
.trust-band { background: var(--wood); padding: 16px 24px; }
.trust-band-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.trust-item { color: rgba(255,255,255,0.85); font-size: 0.82rem; padding: 6px 20px; text-align: center; }
.trust-item strong { color: #fff; font-size: 0.92rem; }
.trust-div { width: 1px; height: 24px; background: rgba(255,255,255,0.3); }

/* ===== SECTION ===== */
.section-inner { max-width: 960px; margin: 0 auto; padding: 64px 24px; }
.section-eyebrow {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: .1em; color: var(--wood-mid);
  margin-bottom: 8px; text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700; line-height: 1.4; color: var(--text); margin-bottom: 12px;
}
.section-rule { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.r-bar { width: 32px; height: 2px; background: var(--wood); }
.r-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--forest); }
.section-desc { color: var(--text2); max-width: 640px; margin-bottom: 40px; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(150deg, #fafaf5 0%, #f0ebe0 80%);
  padding: 48px 24px 40px; text-align: center;
  border-bottom: 1px solid var(--border);
}

/* ===== POINT CARDS ===== */
.point-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px; margin-top: 32px;
}
.point-card {
  background: #fff; border-radius: 10px; padding: 24px 20px;
  box-shadow: var(--shadow-sm); border-top: 3px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.point-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.point-card.wood-top  { border-top-color: var(--wood); }
.point-card.forest-top { border-top-color: var(--forest); }
.point-num { font-size: 0.72rem; font-weight: 700; color: var(--wood-mid); letter-spacing: .05em; }
.point-card h3 { font-size: 1.02rem; font-weight: 700; margin: 8px 0 10px; line-height: 1.4; }
.point-card p  { font-size: 0.87rem; color: var(--text2); line-height: 1.8; }

/* ===== STAFF GRID ===== */
.staff-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px; margin-top: 32px;
}
.staff-card { background: #fff; border-radius: 10px; padding: 24px 16px; text-align: center; box-shadow: var(--shadow-sm); }
.staff-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #d4c4a8 0%, #c0aa88 100%);
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
}
.staff-avatar span { font-size: 0.72rem; color: #8a7a5a; }
.staff-role { font-size: 0.75rem; color: var(--wood-mid); font-weight: 600; margin-bottom: 4px; }
.staff-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.staff-comment { font-size: 0.8rem; color: var(--text3); line-height: 1.7; }

/* ===== WORKS GRID ===== */
.works-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px; margin-top: 32px;
}
.work-card {
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.work-img {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, #ddd4c0 0%, #c8b898 100%);
  display: flex; align-items: center; justify-content: center;
}
.work-img span { font-size: 0.78rem; color: #8a7a5a; font-weight: 500; }
.work-body { padding: 16px; }
.work-tag {
  display: inline-block; padding: 2px 8px; border-radius: 3px;
  font-size: 0.72rem; font-weight: 700;
  background: var(--wood-lt); color: var(--wood);
  margin-bottom: 8px;
}
.work-body h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; line-height: 1.4; }
.work-body p  { font-size: 0.82rem; color: var(--text3); }

/* ===== FLOW ===== */
.flow-list { display: flex; flex-direction: column; gap: 0; margin-top: 32px; }
.flow-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.flow-item:last-child { border-bottom: none; }
.flow-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--wood); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.flow-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.flow-content p  { font-size: 0.88rem; color: var(--text2); }

/* ===== INFO TABLE ===== */
.info-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.info-table th, .info-table td { padding: 12px 16px; border: 1px solid var(--border); font-size: 0.9rem; text-align: left; }
.info-table th { background: var(--wood-lt); font-weight: 600; color: var(--wood); width: 120px; }

/* ===== CTA SECTION ===== */
.cta-section { background: var(--wood); color: #fff; padding: 64px 24px; text-align: center; }
.cta-section h2 { font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 700; margin-bottom: 12px; }
.cta-section p  { font-size: 0.92rem; opacity: .85; margin-bottom: 32px; line-height: 1.9; }
.cta-section .btn-contact { background: #fff; color: var(--forest); }
.cta-section .btn-contact:hover { background: var(--cream); }
.cta-section .btn-tel { border-color: rgba(255,255,255,0.5); color: #fff; background: rgba(255,255,255,0.1); }
.cta-section .btn-tel:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* ===== NOTICE BOX ===== */
.notice-box {
  background: var(--forest-lt); border-left: 3px solid var(--forest);
  padding: 14px 16px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.88rem; color: var(--text2); margin: 20px 0;
}

/* ===== FILTER ===== */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn {
  padding: 7px 16px; border-radius: 20px; border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  background: #fff; color: var(--text2); transition: .18s;
}
.filter-btn.active, .filter-btn:hover { background: var(--wood); color: #fff; border-color: var(--wood); }

/* ===== FOOTER ===== */
footer { background: var(--wood-dk); color: rgba(255,255,255,0.8); padding: 40px 24px; }
.footer-inner { max-width: 960px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.footer-name { font-size: 1rem; font-weight: 700; color: #fff; }
.footer-tel  { font-size: 0.95rem; }
.footer-addr { font-size: 0.82rem; }
.footer-note { font-size: 0.75rem; opacity: .6; margin-top: 12px; line-height: 1.8; }

/* ===== FIXED CTA ===== */
.fixed-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; display: flex; }
.fixed-contact {
  flex: 1; background: var(--forest); color: #fff;
  padding: 14px; text-align: center; font-size: 0.9rem; font-weight: 700; transition: background .18s;
}
.fixed-contact:hover { background: var(--forest-dk); }
.fixed-tel {
  flex: 1; background: var(--wood); color: #fff;
  padding: 14px; text-align: center; font-size: 0.9rem; font-weight: 700; transition: background .18s;
}
.fixed-tel:hover { background: var(--wood-dk); }

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  .pc-nav { display: none; }
  .hamburger { display: flex; }
  .trust-div { display: none; }
  .trust-band-inner { gap: 8px; }
  .hero-btns { flex-direction: column; }
  .btn-contact, .btn-tel, .btn-primary { width: 100%; justify-content: center; text-align: center; }
  .point-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .info-table th { width: 80px; font-size: .78rem; }
}
@media (max-width: 480px) {
  .works-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
}
