/* ============================================
   みどり外構デザイン — 外構・エクステリアのデモサイト
   配色: フォレストグリーン + ストーン + テラコッタ
   タイポ: モダンサンス
   ============================================ */

:root {
  --forest: #2D5F3F;
  --forest-dark: #1A3D27;
  --forest-light: #4A8062;
  --moss: #6E9F77;
  --moss-pale: #DCEAD9;
  --stone: #8B8680;
  --stone-light: #B8B3AB;
  --stone-pale: #EAE7E0;
  --terracotta: #C66E47;
  --terracotta-light: #E08A60;
  --sand: #F5F0E6;
  --bg: #FFFFFF;
  --text: #2A2520;
  --text-soft: #6B635A;
  --border: #D9D3C7;
  --shadow-sm: 0 2px 8px rgba(45, 95, 63, 0.08);
  --shadow-md: 0 12px 32px rgba(45, 95, 63, 0.15);
  --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
  --font-jp: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terracotta); }

/* === Demo banner === */
.demo-banner {
  background: var(--forest-dark);
  color: var(--moss-pale);
  text-align: center;
  font-size: 12px;
  padding: 6px 12px;
  letter-spacing: 0.05em;
}
.demo-banner a { color: var(--moss-pale); text-decoration: underline; }

/* === Header === */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-icon {
  width: 38px;
  height: 38px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--moss-pale);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-mark {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--stone);
  font-weight: 600;
  text-transform: uppercase;
}
.brand-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--forest-dark);
  letter-spacing: 0.04em;
}
.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  align-items: center;
}
.nav a { color: var(--text); }
.nav a:hover, .nav a.active { color: var(--forest); }
.nav .cta {
  background: var(--terracotta);
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.nav .cta:hover { background: var(--terracotta-light); color: #fff; }

/* === Hero === */
.hero {
  position: relative;
  padding: 110px 24px 140px;
  background:
    linear-gradient(180deg, var(--sand) 0%, var(--moss-pale) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(110, 159, 119, 0.30), transparent 60%);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(198, 110, 71, 0.18), transparent 60%);
  border-radius: 50%;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(45, 95, 63, 0.18);
  color: var(--forest-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}
.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--terracotta);
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--forest-dark);
  margin-bottom: 24px;
}
.hero h1 em {
  color: var(--terracotta);
  font-style: normal;
}
.hero p.lead {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--text-soft);
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background:
    linear-gradient(180deg, rgba(45, 95, 63, 0) 50%, rgba(26, 61, 39, 0.55) 100%),
    url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=900&q=80&auto=format&fit=crop") center/cover no-repeat,
    var(--forest);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-visual::after {
  content: "GARDEN \A & EXTERIOR";
  white-space: pre;
  position: absolute;
  bottom: 32px;
  left: 32px;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.3em;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 14px;
  transition: all .25s;
  cursor: pointer;
  border: 0;
}
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-light); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--forest-dark); border: 1.5px solid var(--forest); }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-light { background: #fff; color: var(--forest-dark); }
.btn-light:hover { background: var(--moss-pale); color: var(--forest-dark); }

/* === Section base === */
.section { padding: 100px 24px; }
.section-alt { background: var(--sand); }
.section-forest { background: var(--forest-dark); color: #fff; }
.container { max-width: 1120px; margin: 0 auto; }
.section-head { margin-bottom: 56px; }
.section-head .tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--terracotta);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-head .tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--terracotta);
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--forest-dark);
}
.section-head p.sub {
  margin-top: 18px;
  color: var(--text-soft);
  max-width: 640px;
}
.section-forest .section-head h2 { color: #fff; }
.section-forest .section-head .tag { color: var(--terracotta-light); }
.section-forest .section-head p.sub { color: rgba(255,255,255,0.78); }

/* === Strength / why cards === */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.why-card {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--forest), var(--moss));
}
.why-num {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  margin-bottom: 8px;
}
.why-card h3 {
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--forest-dark);
  letter-spacing: 0.04em;
}
.why-card p {
  font-size: 14px;
  color: var(--text-soft);
}

/* === Services === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.section-alt .service-card { background: #fff; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-image {
  aspect-ratio: 16/10;
  background-color: var(--forest);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 600;
  text-transform: uppercase;
}
.service-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45,95,63,0) 50%, rgba(26,61,39,0.50) 100%);
}
.service-body { padding: 24px 26px 28px; }
.service-body h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--forest-dark);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.service-body p {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.service-body .price {
  font-size: 13px;
  font-weight: 700;
  color: var(--terracotta);
}

/* === Works === */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.work {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.work-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--moss), var(--forest));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  position: relative;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.work:nth-child(2n) .work-image { background: linear-gradient(135deg, var(--stone-light), var(--stone)); color: rgba(255,255,255,0.8); }
.work:nth-child(3n) .work-image { background: linear-gradient(135deg, var(--terracotta-light), var(--terracotta)); }
.work-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--forest-dark);
  padding: 4px 12px;
  font-size: 11px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.work-body { padding: 18px 20px 20px; }
.work-body h3 {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 6px;
  color: var(--forest-dark);
}
.work-meta {
  font-size: 12px;
  color: var(--text-soft);
}

/* === Steps === */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.step {
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  text-align: center;
  border-top: 3px solid var(--terracotta);
}
.step-num {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  color: var(--terracotta-light);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.step h4 {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.step p {
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  line-height: 1.85;
}

/* === CTA === */
.cta-strip {
  position: relative;
  background:
    linear-gradient(135deg, rgba(45, 95, 63, 0.95), rgba(26, 61, 39, 0.95)),
    radial-gradient(circle at 80% 20%, var(--moss), transparent 50%);
  background-color: var(--forest);
  color: #fff;
  padding: 70px 24px;
  text-align: center;
  overflow: hidden;
}
.cta-strip::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(198, 110, 71, 0.20), transparent 60%);
  border-radius: 50%;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.cta-strip p { margin-bottom: 32px; font-size: 15px; opacity: 0.88; }

/* === Table === */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.spec-table th {
  width: 200px;
  color: var(--forest-dark);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* === Form === */
.form-wrap { max-width: 720px; margin: 0 auto; }
.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--forest-dark);
}
.field label .req {
  background: var(--terracotta);
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  margin-left: 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--forest);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-submit { text-align: center; margin-top: 32px; }

/* === Footer === */
.site-footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 24px 24px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-mark { color: var(--moss-pale); }
.footer-brand p { font-size: 13px; margin-top: 14px; opacity: 0.8; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--terracotta-light);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; font-size: 13px; line-height: 2.2; }
.footer-col a { color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: var(--terracotta-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  font-size: 11px;
  text-align: center;
  opacity: 0.5;
}

/* === Page hero === */
.page-hero {
  background:
    linear-gradient(180deg, var(--sand) 0%, var(--moss-pale) 100%);
  padding: 80px 24px 70px;
  border-bottom: 1px solid var(--border);
}
.page-hero .container { display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap; }
.page-hero h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--forest-dark);
  letter-spacing: 0.06em;
}
.page-hero .en {
  font-family: var(--font-sans);
  color: var(--terracotta);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
}

/* === Mobile === */
@media (max-width: 768px) {
  .nav { display: none; }
  .hero { padding: 70px 20px 90px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16/10; }
  .section { padding: 70px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .spec-table th { width: 110px; font-size: 13px; }
}
