@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Shippori+Mincho+B1:wght@400;600;800&display=swap');

/* ── リセット & ベース ── */
:root {
  --green:  #2f7d32;
  --dark:   #1d4f22;
  --soft:   #eef8f0;
  --orange: #e66b1a;
  --text:   #1f2b22;
  --muted:  #637067;
  --line:   #dce9df;
  --bg:     #f5faf6;
  --white:  #fff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Yu Gothic', Meiryo, sans-serif;
  color: var(--text);
  line-height: 1.85;
  background: var(--bg);
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── レイアウト ── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── ヘッダー / ナビ ── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  height: 64px;
  gap: 18px;
}
.logo {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}
.links {
  display: flex;
  gap: 4px;
  font-size: 14px;
  align-items: center;
}
.links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.links a:hover { background: var(--soft); color: var(--dark); }
.links a.active { color: var(--green); font-weight: 700; }
.cta-mini {
  background: var(--green) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
}
.cta-mini:hover { background: var(--dark) !important; }

/* ── ボタン ── */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 13px 24px;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  border: 2px solid var(--green);
  font-family: inherit;
}
.primary { background: var(--green); color: #fff; }
.primary:hover { background: var(--dark); border-color: var(--dark); }
.secondary { background: var(--white); color: var(--green); }
.secondary:hover { background: var(--soft); }

/* ── パンくず ── */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  padding: 16px 0;
}

/* ── ページヒーロー（内部ページ共通） ── */
.page-hero {
  background: var(--white);
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.page-hero p { font-size: 15px; color: var(--muted); margin: 0; }

/* ── セクション ── */
section { padding: 64px 0; }
.white { background: var(--white); }
.section-eyebrow {
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: center;
}
h2.title {
  font-family: 'Shippori Mincho B1', serif;
  text-align: center;
  color: var(--dark);
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.sub {
  text-align: center;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: 14px;
  line-height: 1.9;
}

/* ── カード ── */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(31,79,34,.08);
  border-color: #a5d6a7;
  transform: translateY(-2px);
}
.card h2, .card h3 {
  font-family: 'Shippori Mincho B1', serif;
  color: var(--dark);
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
}
.card p { font-size: 13px; color: var(--muted); line-height: 1.85; margin: 0; }
.tag {
  display: inline-block;
  background: var(--soft);
  color: var(--green);
  font-weight: 700;
  font-size: 11px;
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

/* ── グリッド ── */
.grid2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.grid4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.two   { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ── サービス一覧（トップ） ── */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}
.service-item {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.15s, background 0.15s;
}
.service-item:hover { border-color: var(--green); background: #e2f2e4; }
.service-item .si-icon { font-size: 20px; }
.spot-badge {
  display: inline-block;
  background: #fff7ed;
  color: var(--orange);
  border: 1px solid #fcd9b2;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: auto;
}

/* ── トップ：ヒーロー ── */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 500px;
}
.hero-left {
  padding: 64px 52px 64px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--soft);
  border: 1px solid #c8e6c9;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  width: fit-content;
}
h1 {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 34px;
  line-height: 1.45;
  margin: 0 0 16px;
  color: var(--dark);
  font-weight: 800;
  letter-spacing: 0.02em;
}
h1 strong { color: var(--green); font-style: normal; }
.lead {
  font-size: 14px;
  color: #3e4b42;
  margin-bottom: 28px;
  line-height: 1.9;
  max-width: 440px;
}
.btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 2px solid var(--green);
  text-decoration: none;
  transition: background 0.2s;
}
.btn-tel:hover { background: var(--soft); }
.trust-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.trust-strip span { display: flex; align-items: center; gap: 5px; }
.trust-strip span::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ヒーロー右：お悩み */
.hero-right {
  background: linear-gradient(160deg, #fff8f3 0%, #fff3e8 100%);
  padding: 56px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pain-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pain-item {
  background: var(--white);
  border-left: 4px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 11px 14px;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 500;
  color: #2d1f10;
  box-shadow: 0 1px 4px rgba(230,107,26,.07);
}
.pain-item:last-of-type { margin-bottom: 0; }
.pain-resolve {
  background: var(--green);
  color: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 16px;
}

/* ── 実績バー ── */
.stats-bar {
  background: linear-gradient(135deg, var(--dark), var(--green));
  padding: 48px 24px;
}
.stats-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: rgba(255,255,255,0.15);
  border-radius: 14px;
  overflow: hidden;
}
.stat-cell {
  background: linear-gradient(135deg, var(--dark), var(--green));
  padding: 28px 20px;
  text-align: center;
}
.stat-num {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 36px;
  font-weight: 800;
  color: #a5d6a7;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 11px; color: #c8e6c9; letter-spacing: 0.06em; }

/* ── エリア ── */
.area {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0;
}
.area-visual {
  background: linear-gradient(135deg, var(--soft), #c8e6c9);
  border-radius: 14px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.area-text h2 {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 12px;
}
.area-text p { font-size: 13px; color: var(--muted); line-height: 1.9; margin: 0 0 10px; }
.area-text strong { color: var(--dark); }

/* ── CTA セクション ── */
.contact {
  background: linear-gradient(135deg, var(--green), var(--dark));
  color: #fff;
  text-align: center;
}
.contact .title { color: #fff; }
.contact .sub { color: #c8e6c9; }
.contact a.box {
  display: inline-block;
  background: var(--white);
  color: var(--dark);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  margin: 6px;
  transition: background 0.2s;
}
.contact a.box:hover { background: var(--soft); }

/* ── 会社概要テーブル ── */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
th, td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
th {
  width: 30%;
  background: var(--soft);
  color: var(--dark);
  font-weight: 700;
}
tr:last-child th, tr:last-child td { border-bottom: 0; }
.company-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; }

/* ── 問い合わせフォーム ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
  padding: 56px 0 72px;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 4px 24px rgba(31,79,34,.05);
}
.form-card h2 {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 22px;
  color: var(--dark);
  font-weight: 800;
  margin: 0 0 6px;
}
.form-lead { font-size: 13px; color: var(--muted); margin: 0 0 28px; line-height: 1.85; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.req {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.opt {
  display: inline-block;
  background: #ddd;
  color: #555;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fafcfa;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47,125,50,.12);
  background: #fff;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23637067' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.75; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  margin-bottom: 0;
}
.checkbox-group label:hover { border-color: var(--green); background: #e3f2e4; }
.checkbox-group input[type="checkbox"] { accent-color: var(--green); width: 15px; height: 15px; cursor: pointer; }
.submit-btn {
  display: block;
  width: 100%;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  font-family: inherit;
  padding: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 28px;
  transition: background 0.2s;
  letter-spacing: 0.03em;
}
.submit-btn:hover { background: var(--dark); }
.submit-btn:disabled { background: #a5c8a7; cursor: not-allowed; }
.privacy-note {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.7;
}
.thanks-msg {
  display: none;
  background: var(--soft);
  border: 1px solid #a5d6a7;
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
}
.thanks-icon { font-size: 44px; margin-bottom: 14px; }
.thanks-msg h3 { font-family: 'Shippori Mincho B1', serif; font-size: 20px; color: var(--dark); margin-bottom: 10px; }
.thanks-msg p { font-size: 13px; color: var(--muted); line-height: 1.85; }
.field-error { font-size: 11px; color: #c0392b; margin-top: 4px; display: none; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #e74c3c; box-shadow: 0 0 0 3px rgba(231,76,60,.1); }
.field.has-error .field-error { display: block; }

/* サイドバー */
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
}
.side-card h3 { font-family: 'Shippori Mincho B1', serif; font-size: 15px; font-weight: 800; color: var(--dark); margin: 0 0 8px; }
.side-card p { font-size: 13px; color: var(--muted); line-height: 1.8; margin: 0 0 10px; }
.side-card a { color: var(--green); font-weight: 700; text-decoration: none; font-size: 15px; }
.side-card a:hover { text-decoration: underline; }
.side-badge {
  display: inline-block;
  background: var(--soft);
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.steps li::before {
  content: attr(data-step);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ── フッター ── */
footer {
  background: #153d19;
  color: #a5d6a7;
  text-align: center;
  padding: 28px 0;
  font-size: 13px;
  letter-spacing: 0.03em;
}

/* ── レスポンシブ ── */
@media (max-width: 880px) {
  .links { display: none; }
  .hero-grid, .company-grid, .area-grid,
  .grid2, .grid3, .grid4, .two { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  h1 { font-size: 26px; }
  .hero-left { padding: 48px 0; border-right: none; border-bottom: 1px solid var(--line); }
  .hero-right { padding: 40px 0; }
  section { padding: 48px 0; }
  .page-hero { padding: 36px 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-side { order: -1; }
  .form-card { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
}
