:root {
  --green: #6eb92b;
  --green-dark: #5aa11e;
  --green-deep: #35651a;
  --green-pale: #f4faec;
  --green-tint: #e6f3d6;
  --green-line: #d4e9b8;
  --white: #ffffff;
  --text: #292929;
  --text-sub: #555555;
  --text-muted: #8a8a8a;
  --border: #e5e5e0;
  --shadow-sm: 0 1px 4px rgba(41, 41, 41, .05);
  --shadow-md: 0 6px 20px rgba(53, 101, 26, .10);
  --radius: 12px;
  --radius-lg: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.nowrap { white-space: nowrap; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-top: 4px solid var(--green);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  display: grid;
  place-items: center;
  flex: none;
  line-height: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.brand-sub { font-size: 10px; letter-spacing: .22em; color: var(--text-muted); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sub);
  transition: color .2s;
}
.nav a:hover { color: var(--green-dark); }
.nav a.nav-cta {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  transition: background .2s;
}
.nav a.nav-cta:hover { background: var(--green-dark); color: #fff; }

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

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: url("assets/kv.jpg") center 68% / cover no-repeat;
  color: #fff;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 34, 12, .66) 0%, rgba(24, 34, 12, .28) 45%, rgba(24, 34, 12, .05) 100%);
  z-index: -1;
}
.hero-inner {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 72px;
  padding-bottom: 64px;
}
.hero-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 20px;
}
.hero h1 {
  margin: 0 0 28px;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline {
  background: #fff;
  color: var(--green-deep);
  border: 1.5px solid var(--green);
}
.btn-outline:hover { background: var(--green-pale); }
.btn-white { background: #fff; color: var(--green-deep); }
.btn-white:hover { background: var(--green-tint); }
.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .28); }

/* ---------- tags ---------- */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.tag-pending {
  background: #fff;
  color: var(--text-sub);
  border: 1px solid var(--border);
}
.tag-active {
  background: var(--green-tint);
  color: var(--green-deep);
  border: 1px solid var(--green-line);
}

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.surface-alt { background: var(--green-pale); }

.section-head { margin-bottom: 48px; }
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--green);
  margin-bottom: 10px;
}
.section-title {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: .03em;
  position: relative;
  padding-bottom: 18px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--green);
}
.section-desc {
  margin: 18px 0 0;
  color: var(--text-sub);
  font-size: 15.5px;
}

/* ---------- greeting ---------- */
.greeting-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}
.greeting-photo { margin: 0; }
.greeting-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.greeting-body p { margin: 0 0 1.4em; font-size: 16px; }
.greeting-sign {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.greeting-date { font-size: 14px; color: var(--text-sub); }
.greeting-role { font-size: 15px; font-weight: 500; color: var(--text-sub); letter-spacing: .08em; }
.sign-img { height: 68px; width: auto; margin-top: 2px; }

/* ---------- services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  display: grid;
  place-items: center;
  line-height: 1;
}
.service-card h3 {
  margin: 0 0 10px;
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.5;
}
.service-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.85;
}
.service-note {
  margin-top: 12px !important;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 12.5px !important;
  color: var(--text-muted) !important;
}

/* ---------- company ---------- */
.company-table {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dl-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--border);
}
.dl-row:last-child { border-bottom: none; }
.dl-row dt {
  background: var(--green-pale);
  font-weight: 700;
  font-size: 14.5px;
  padding: 18px 24px;
  color: var(--green-deep);
}
.dl-row dd {
  margin: 0;
  padding: 18px 24px;
  font-size: 15px;
}
.dl-row dd a { color: var(--green-dark); font-weight: 500; }
.dl-row dd a:hover { text-decoration: underline; }
.company-biz-cards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.biz-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--green-pale);
  border: 1px solid var(--green-line);
  border-radius: 10px;
  padding: 13px 16px;
}
.biz-card-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}
.biz-card .tag { flex: none; }

/* ---------- cta ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  padding: 64px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .04em;
}
.cta-band p { margin: 0; font-size: 15px; opacity: .92; }

/* ---------- footer ---------- */
.footer {
  background: #2c3626;
  color: rgba(255, 255, 255, .85);
  padding: 48px 0 28px;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-brand strong {
  display: block;
  font-size: 17px;
  color: #fff;
  margin-bottom: 10px;
}
.footer-brand p { margin: 3px 0; line-height: 1.8; }
.footer-brand a { color: #cbe6a8; }
.footer-brand a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 24px; align-items: flex-start; }
.footer-links a { opacity: .85; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-copy {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: 12.5px;
  opacity: .65;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { min-height: 460px; }
  .hero h1 { font-size: 36px; }
  .greeting-inner { grid-template-columns: 260px 1fr; gap: 36px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .header-inner { height: 64px; }
  .brand-name { font-size: 15px; }
  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav a.nav-cta {
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
  }
  .nav-toggle { display: flex; }

  .hero h1 { font-size: 25px; }
  .hero-inner { min-height: 400px; padding-top: 48px; padding-bottom: 44px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 26px; }

  .greeting-inner { grid-template-columns: 1fr; }
  .greeting-photo { max-width: 280px; margin: 0 auto; }

  .services-grid { grid-template-columns: 1fr; }

  .dl-row { grid-template-columns: 1fr; }
  .dl-row dt { padding: 12px 20px; }
  .dl-row dd { padding: 14px 20px; }

  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; }
}
