/* 大幸建設 — 力強い信頼（濃緑×木の茶） */

:root {
  --bg: #ffffff;
  --bg-alt: #f2f4f0;
  --green: #2f4a3a;
  --green-deep: #223629;
  --wood: #b3835a;
  --ink: #2c2f2c;
  --line: #dde1da;
}

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

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.95;
}

/* header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 5vw;
  background: #fff;
  box-shadow: 0 2px 8px rgba(47,74,58,0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo { font-size: 24px; font-weight: 900; color: var(--green); }
.logo span { font-size: 13px; font-weight: 700; color: var(--wood); margin-left: 6px; }

.nav { display: flex; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; margin-left: 22px; font-size: 14px; font-weight: 700; }
.nav a:hover { color: var(--wood); }

.nav-cta { background: var(--wood); color: #fff !important; padding: 9px 24px; border-radius: 6px; }

/* hero */
.hero {
  padding: 100px 8vw 110px;
  background:
    linear-gradient(rgba(34,54,41,0.88), rgba(34,54,41,0.88)),
    repeating-linear-gradient(90deg, #3a5c48 0 14px, #33513f 14px 28px);
  color: #fff;
}

.hero-inner { max-width: 660px; }

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 4px;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}

.hero h2 { font-size: clamp(30px, 4.8vw, 48px); font-weight: 900; line-height: 1.5; margin-bottom: 16px; }
.hero-lead { opacity: 0.9; margin-bottom: 36px; }

.hero-button {
  display: inline-block;
  background: var(--wood);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  padding: 17px 46px;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(179,131,90,0.4);
  transition: 0.2s;
}

.hero-button:hover { transform: translateY(-2px); }

/* strip */
.strip {
  display: flex;
  justify-content: center;
  gap: 7vw;
  padding: 26px 5vw;
  background: var(--wood);
  color: #fff;
  flex-wrap: wrap;
}

.strip p { font-size: 20px; font-weight: 900; }
.strip b { display: block; font-size: 12px; font-weight: 700; opacity: 0.85; }

/* sections */
.section { padding: 84px 5vw; max-width: 960px; margin: 0 auto; }

.section-title { text-align: center; font-size: 26px; font-weight: 900; color: var(--green); margin-bottom: 46px; }
.section-title::after { content: ""; display: block; width: 52px; height: 5px; background: var(--wood); margin: 14px auto 0; }

/* service */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.service { border: 2px solid var(--line); border-radius: 10px; padding: 34px 26px; text-align: center; }
.service-icon { font-size: 40px; margin-bottom: 10px; }
.service h3 { font-size: 18px; font-weight: 900; color: var(--green); margin-bottom: 8px; }
.service p:last-child { font-size: 14px; text-align: left; }

/* works */
.section-alt { background: var(--bg-alt); max-width: none; }
.section-alt > * { max-width: 960px; margin-left: auto; margin-right: auto; }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.workcase { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 14px rgba(47,74,58,0.08); }

.workcase-photo {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.w1 { background: linear-gradient(150deg, #7a9484, #4c6b57); }
.w2 { background: linear-gradient(150deg, #c8a887, #a17950); }
.w3 { background: linear-gradient(150deg, #9aa8b5, #6b7d8d); }

.workcase-body { padding: 20px 22px 24px; }
.workcase-tag { display: inline-block; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 12px; border-radius: 4px; margin-bottom: 8px; }
.workcase-body h3 { font-size: 16px; font-weight: 900; margin-bottom: 4px; }
.workcase-body p:last-child { font-size: 13px; color: #6d726d; }

/* reasons */
.reason-list { list-style: none; max-width: 720px; margin: 0 auto; counter-reset: reason; }

.reason-list li {
  counter-increment: reason;
  position: relative;
  padding: 26px 26px 26px 92px;
  border-bottom: 1px solid var(--line);
}

.reason-list li::before {
  content: "0" counter(reason);
  position: absolute;
  left: 18px;
  top: 24px;
  font-size: 34px;
  font-weight: 900;
  color: var(--wood);
}

.reason-list h3 { font-size: 18px; font-weight: 900; color: var(--green); margin-bottom: 6px; }
.reason-list p { font-size: 14px; }

/* cta */
.cta { text-align: center; padding: 90px 5vw; background: var(--green); color: #fff; }
.cta h2 { font-size: 28px; font-weight: 900; margin-bottom: 14px; }
.cta > p { opacity: 0.92; }

.cta-buttons { display: flex; justify-content: center; gap: 18px; margin-top: 32px; flex-wrap: wrap; }

.cta-button { display: inline-block; font-weight: 900; text-decoration: none; padding: 16px 46px; border-radius: 6px; transition: 0.2s; }
.cta-button.tel { background: #fff; color: var(--green); font-size: 20px; }
.cta-button.mail { background: var(--wood); color: #fff; }
.cta-button:hover { transform: translateY(-2px); }
.cta-sub { margin-top: 22px; font-size: 13px; opacity: 0.8; }

/* footer */
.footer { text-align: center; padding: 30px 5vw; background: var(--green-deep); color: #fff; font-weight: 700; }
.footer-copy { font-size: 11px; font-weight: 400; opacity: 0.7; margin-top: 6px; }

/* mobile */
@media (max-width: 760px) {
  .header { flex-direction: column; gap: 10px; }
  .nav a { margin: 0 8px; font-size: 13px; }
  .hero { padding: 64px 6vw 72px; }
  .strip { gap: 8vw; }
  .strip p { font-size: 17px; }
  .service-grid, .works-grid { grid-template-columns: 1fr; }
  .reason-list li { padding-left: 74px; }
  .section { padding: 56px 6vw; }
}
