/* ===== 大田工務店 — クリーン・ブライト ===== */
:root {
  --green:    #2a8a52;   /* 爽やかなエメラルドグリーン */
  --green-dk: #1e6840;
  --green-lt: #e8f5ee;
  --green-mid: #3faa68;
  --white:    #ffffff;
  --bg:       #ffffff;
  --bg2:      #f7faf8;   /* ほんの少しだけグリーン寄りの白 */
  --bg3:      #eef6f2;
  --border:   #d4e6db;
  --text:     #1a2420;
  --text2:    #607068;
  --radius:   6px;
  --shadow:   0 2px 16px rgba(0,0,0,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  padding-top: 60px;
}
a { text-decoration: none; color: inherit; }

/* ===== HEADER ===== */
header {
  position: fixed; top: 0; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}
.header-logo { display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.header-logo .tagline {
  font-size: 0.58rem; color: var(--text2);
  letter-spacing: 0.06em; display: none;
}
@media (min-width: 600px) { .header-logo .tagline { display: block; } }
.header-logo .name {
  font-size: 1.12rem; color: var(--text); font-weight: 900;
  letter-spacing: 0.04em;
}
.header-logo .name span {
  color: var(--text2); font-size: 0.62em; font-weight: 400;
  margin-left: 4px;
}

.pc-nav { display: flex; align-items: center; gap: 24px; }
.pc-nav a { color: var(--text2); font-size: 0.8rem; transition: color 0.2s; }
.pc-nav a:hover { color: var(--green); }
.pc-nav .nav-cta {
  background: var(--green); color: var(--white);
  padding: 8px 16px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 700;
}
.pc-nav .nav-cta:hover { background: var(--green-dk); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); transition: 0.3s; }
.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; position: fixed; top: 60px; left: 0; right: 0;
  background: var(--white); z-index: 99;
  flex-direction: column; padding: 0 0 12px;
  border-top: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 24px; color: var(--text); font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .nav-cta-sp {
  margin: 12px 20px 0; background: var(--green); color: var(--white);
  border-radius: 24px; text-align: center; border-bottom: none;
  padding: 13px; font-weight: 700;
}

@media (max-width: 768px) { .pc-nav { display: none; } .hamburger { display: flex; } }

/* ===== HERO ===== */
.hero {
  background: var(--bg2);
  padding: 60px 24px 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(42,138,82,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.hero-eyebrow {
  font-size: 0.62rem; letter-spacing: 0.28em;
  color: var(--green); font-weight: 700; margin-bottom: 22px;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2rem, 6vw, 3.0rem);
  font-weight: 900; line-height: 1.2;
  margin-bottom: 22px;
  color: var(--text);
}
.hero-title em {
  font-style: normal;
  color: var(--green);
}
.hero-rule {
  width: 36px; height: 3px;
  background: var(--green);
  margin: 0 auto 22px;
  border-radius: 2px;
}
.hero-sub {
  font-size: 0.88rem; color: var(--text2);
  line-height: 2.0; margin-bottom: 36px;
}
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--white);
  padding: 14px 26px; border-radius: 24px;
  font-size: 0.9rem; font-weight: 700;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(42,138,82,0.25);
}
.btn-primary:hover { background: var(--green-dk); box-shadow: 0 4px 20px rgba(42,138,82,0.35); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--text);
  padding: 13px 24px; border-radius: 24px;
  border: 1.5px solid var(--border); font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.btn-green {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--white);
  padding: 13px 26px; border-radius: 24px;
  font-size: 0.88rem; font-weight: 700;
  transition: background 0.2s;
  box-shadow: 0 4px 14px rgba(42,138,82,0.2);
}
.btn-green:hover { background: var(--green-dk); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--green);
  padding: 13px 28px; border-radius: 24px;
  font-size: 0.9rem; font-weight: 700;
  transition: background 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.btn-white:hover { background: var(--green-lt); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text2);
  padding: 12px 22px; border-radius: 24px;
  border: 1.5px solid var(--border); font-size: 0.88rem;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); }

.btn-map {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green); border: 1.5px solid var(--green);
  padding: 10px 18px; border-radius: 20px; font-size: 0.82rem;
  transition: background 0.2s, color 0.2s;
}
.btn-map:hover { background: var(--green); color: var(--white); }

/* ===== STAT STRIP ===== */
.stat-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stat-strip-inner {
  max-width: 680px; margin: 0 auto;
  padding: 40px 24px 32px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-item {
  padding: 16px 12px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  font-weight: 900; color: var(--green);
  line-height: 1; margin-bottom: 6px;
}
.stat-label {
  font-size: 0.7rem; color: var(--text2);
  letter-spacing: 0.06em;
}
.stat-strip-caption {
  max-width: 680px; margin: 0 auto;
  padding: 0 24px 36px;
  font-size: 0.82rem; color: var(--text2);
  line-height: 1.9; text-align: center;
}

/* ===== SECTIONS ===== */
.section-inner { max-width: 680px; margin: 0 auto; padding: 56px 24px; }

.section-label {
  font-size: 0.6rem; letter-spacing: 0.28em;
  color: var(--green); margin-bottom: 10px;
  text-transform: uppercase; font-weight: 700; display: block;
}
.section-label--light { color: rgba(255,255,255,0.7); }

.section-title {
  font-size: clamp(1.4rem, 4.5vw, 1.85rem);
  font-weight: 900; color: var(--text);
  line-height: 1.25; letter-spacing: 0.01em;
}
.section-title--light { color: var(--white); }

.section-rule {
  width: 32px; height: 3px;
  background: var(--green);
  margin: 16px 0 30px;
  border-radius: 2px;
}
.section-rule--center { margin: 16px auto 30px; }

.section-desc {
  font-size: 0.88rem; color: var(--text2);
  line-height: 2.1; margin-bottom: 28px;
}

/* ===== POINT / FEATURE CARDS ===== */
.point-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 8px;
}
@media (min-width: 480px) { .point-grid { grid-template-columns: repeat(2, 1fr); } }
.point-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
}
.point-num {
  font-size: 0.62rem; color: var(--green); font-weight: 700;
  letter-spacing: 0.12em; margin-bottom: 6px;
}
.point-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.point-card p { font-size: 0.8rem; color: var(--text2); line-height: 1.8; }

/* ===== SERVICE LIST ===== */
.service-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.service-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
}
.service-cat {
  font-size: 0.6rem; letter-spacing: 0.18em;
  color: var(--green); font-weight: 700;
  margin-bottom: 5px; display: block; text-transform: uppercase;
}
.service-item h3 {
  font-size: 1.0rem; font-weight: 700; color: var(--text); margin-bottom: 6px;
}
.service-item p { font-size: 0.82rem; color: var(--text2); line-height: 1.9; }

/* ===== FLOW ===== */
.flow-list { display: flex; flex-direction: column; }
.flow-item {
  display: grid; grid-template-columns: 40px 1fr;
  position: relative; padding-bottom: 28px;
}
.flow-item:last-child { padding-bottom: 0; }
.flow-item:not(:last-child) .flow-num-wrap::after {
  content: '';
  position: absolute; left: 19px; top: 40px; bottom: 0;
  width: 2px; background: var(--border);
}
.flow-num-wrap { position: relative; z-index: 1; }
.flow-num {
  width: 40px; height: 40px;
  background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; color: var(--white);
}
.flow-content { padding: 8px 0 0 18px; }
.flow-content h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.flow-content p { font-size: 0.82rem; color: var(--text2); line-height: 1.9; }

/* ===== INFO BOX ===== */
.info-box {
  background: var(--green-lt);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  font-size: 0.84rem; line-height: 2.0;
  margin-bottom: 28px; color: var(--text2);
}
.info-box strong { color: var(--text); }

/* ===== CTA DARK ===== */
.cta-dark {
  background: linear-gradient(135deg, #1a4a2e 0%, #2a8a52 100%);
  padding: 60px 24px;
}
.cta-dark-inner {
  max-width: 680px; margin: 0 auto; text-align: center;
}
.cta-dark h2 {
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  font-weight: 900; color: var(--white);
  margin-bottom: 28px; line-height: 1.4;
}

/* ===== WORKS GRID ===== */
.works-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px;
}
@media (min-width: 480px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
.works-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.works-card-img {
  width: 100%; height: 130px;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; border-bottom: 1px solid var(--border);
}
.works-card-body { padding: 16px 18px; }
.works-card-cat {
  font-size: 0.6rem; letter-spacing: 0.2em; font-weight: 700;
  color: var(--green); margin-bottom: 5px; display: block; text-transform: uppercase;
}
.works-card-body h3 { font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.works-card-body p { font-size: 0.78rem; color: var(--text2); line-height: 1.7; }

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: var(--green-lt);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px; margin-bottom: 24px;
  font-size: 0.85rem;
}
.highlight-box strong { color: var(--text); font-size: 0.95rem; display: block; margin-bottom: 4px; }

/* ===== ACCESS TABLE ===== */
.access-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.85rem; margin-bottom: 20px;
}
.access-table th {
  background: var(--green); color: var(--white);
  padding: 11px 14px; text-align: left; font-weight: 500;
  white-space: nowrap; width: 90px; vertical-align: top;
  font-size: 0.78rem;
}
.access-table td {
  padding: 11px 14px; border-bottom: 1px solid var(--border);
  vertical-align: top; line-height: 1.8; background: var(--white);
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 44px 24px 36px; text-align: center;
}
.page-hero .section-label { color: var(--green); margin-bottom: 10px; }
.page-hero .section-title { color: var(--text); }
.page-hero p { color: var(--text2); margin-top: 10px; font-size: 0.85rem; }

/* ===== FOOTER ===== */
footer {
  background: #162a1e; color: rgba(255,255,255,0.4);
  padding: 40px 24px 100px;
  font-size: 0.8rem; line-height: 2.2;
}
.footer-inner { max-width: 680px; margin: 0 auto; }
.footer-name { font-size: 1.05rem; font-weight: 900; color: var(--white); margin-bottom: 2px; }
.footer-tagline { font-size: 0.68rem; color: rgba(255,255,255,0.3); margin-bottom: 12px; }
.footer-tel { font-size: 0.9rem; color: rgba(255,255,255,0.55); margin-bottom: 2px; }
.footer-address { font-size: 0.75rem; margin-bottom: 20px; }
.footer-note {
  font-size: 0.68rem; color: rgba(255,255,255,0.2);
  line-height: 1.9; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===== FIXED CTA ===== */
.fixed-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: flex; z-index: 98; height: 54px;
}
.fixed-cta a {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 7px; font-size: 0.82rem; font-weight: 700;
}
.cta-mail { background: var(--green); color: var(--white); }
.cta-mail:hover { background: var(--green-dk); }
.cta-tel { background: #1a4a2e; color: var(--white); }
.cta-tel:hover { background: #122a1c; }
