/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --g-dark:    #1B5E20;
  --g-mid:     #2E7D32;
  --g-base:    #388E3C;
  --g-light:   #43A047;
  --g-pale:    #E8F5E9;
  --g-vp:      #F1F8F4;
  --text:      #1a1a1a;
  --text-m:    #424242;
  --text-l:    #757575;
  --white:     #ffffff;
  --border:    #e0e0e0;
  --shadow:    0 2px 12px rgba(0,0,0,0.08);
  --shadow-h:  0 8px 24px rgba(0,0,0,0.13);
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
}

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

/* ===== DEMO NOTICE ===== */
.demo-notice {
  background: #E65100;
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: 66px;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--g-dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.logo span { color: var(--g-light); }

nav ul { list-style: none; display: flex; gap: 28px; }

nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-m);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--g-base);
  transform: scaleX(0);
  transition: transform 0.2s;
}
nav a:hover, nav a.active { color: var(--g-dark); }
nav a:hover::after, nav a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--g-dark) !important;
  color: var(--white) !important;
  padding: 7px 18px !important;
  border-radius: 4px;
  font-size: 0.85rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--g-mid) !important; }
.nav-cta::after { display: none !important; }
.nav-cta.active { background: var(--g-mid) !important; }

/* hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--g-dark);
  line-height: 1;
}

/* ===== HERO ===== */
.hero {
  min-height: 88vh;
  background: linear-gradient(140deg, #1B5E20 0%, #2E7D32 45%, #43A047 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 580px; height: 580px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -8%;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.22);
  margin-bottom: 28px;
  letter-spacing: 0.1em;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.hero p {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.83);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.85;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--white);
  color: var(--g-dark);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 30px;
  border-radius: 4px;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--g-pale);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 13px 30px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.55);
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ===== SECTION BASE ===== */
section { padding: 80px 24px; }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--g-base);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.45;
}

.section-desc {
  font-size: 0.93rem;
  color: var(--text-m);
  max-width: 580px;
  line-height: 1.85;
  margin-bottom: 48px;
}

/* ===== CARDS ===== */
.bg-pale { background: var(--g-vp); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: all 0.25s;
  border-top: 3px solid var(--g-base);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }

.card-icon {
  width: 50px; height: 50px;
  background: var(--g-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.card p  { font-size: 0.88rem; color: var(--text-m); line-height: 1.8; }

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  background: linear-gradient(135deg, var(--g-dark) 0%, var(--g-light) 100%);
  border-radius: 12px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  font-size: 3rem;
  gap: 12px;
}
.about-visual p { font-size: 0.88rem; opacity: 0.75; font-size: 1rem; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.stat {
  background: var(--g-pale);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}
.stat .num { font-size: 1.7rem; font-weight: 700; color: var(--g-dark); display: block; }
.stat .label { font-size: 0.78rem; color: var(--text-m); margin-top: 3px; display: block; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--g-dark), var(--g-mid));
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}
.cta-banner h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 700; margin-bottom: 14px; }
.cta-banner p  { font-size: 0.92rem; opacity: 0.83; margin-bottom: 32px; }

/* ===== FOOTER ===== */
footer { background: #1c1c1c; color: rgba(255,255,255,0.55); padding: 52px 24px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-logo { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-about { font-size: 0.84rem; line-height: 1.75; }

.footer-nav h4 { color: var(--white); font-size: 0.88rem; font-weight: 600; margin-bottom: 14px; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a  { font-size: 0.83rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }

.footer-bottom { text-align: center; font-size: 0.79rem; }

/* ===== INNER PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--g-dark), var(--g-mid));
  padding: 64px 24px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { font-size: clamp(1.5rem, 4vw, 2.3rem); font-weight: 700; margin-bottom: 8px; }
.page-hero p  { font-size: 0.88rem; opacity: 0.75; letter-spacing: 0.1em; }

/* ===== COMPANY TABLE ===== */
.company-table { width: 100%; border-collapse: collapse; }
.company-table th,
.company-table td {
  padding: 17px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.91rem;
  line-height: 1.75;
}
.company-table th {
  background: var(--g-pale);
  color: var(--g-dark);
  font-weight: 600;
  width: 190px;
  white-space: nowrap;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }

/* ===== SERVICE PAGE ===== */
.service-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 34px 26px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--g-base);
  transition: all 0.22s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); }

.service-num {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--g-pale);
  line-height: 1;
  margin-bottom: 10px;
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--g-dark); }
.service-card p  { font-size: 0.88rem; color: var(--text-m); line-height: 1.8; margin-bottom: 16px; }

.service-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.service-list li {
  font-size: 0.84rem;
  color: var(--text-m);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--g-base);
  font-weight: 700;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.contact-info p  { font-size: 0.88rem; color: var(--text-m); line-height: 1.8; margin-bottom: 28px; }

.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 0.88rem; }
.contact-detail .icon {
  width: 36px; height: 36px;
  background: var(--g-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.87rem; font-weight: 600; margin-bottom: 7px; }
.form-group label .req { color: #c62828; margin-left: 6px; font-size: 0.73rem; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--g-base);
  box-shadow: 0 0 0 3px rgba(56,142,60,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.submit-btn {
  background: var(--g-dark);
  color: var(--white);
  border: none;
  padding: 14px 0;
  width: 100%;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.submit-btn:hover {
  background: var(--g-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(27,94,32,0.3);
}
.form-note { font-size: 0.8rem; color: var(--text-l); margin-top: 12px; text-align: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  nav ul {
    display: none;
    position: absolute;
    top: 66px; left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 20px 24px;
    box-shadow: var(--shadow);
    gap: 18px;
    border-top: 1px solid var(--border);
  }
  nav ul.open { display: flex; }
  nav a { font-size: 1rem; }

  .about-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .about-visual { aspect-ratio: 16/7; }

  section { padding: 56px 20px; }
  .hero-inner { padding: 60px 20px; }
}
