/* ============================================
   株式会社〇〇加工 サイト共通スタイル
   ベース：ホワイト / アクセント：グリーン
   ============================================ */

:root {
  --green: #2e8b57;          /* メインの緑 */
  --green-dark: #226b43;     /* 濃い緑（ホバー等） */
  --green-light: #e9f5ee;    /* 薄い緑（背景） */
  --green-lighter: #f4faf6;  /* さらに薄い緑 */
  --text: #2b2b2b;
  --text-muted: #5f6b64;
  --border: #e2e8e4;
  --white: #ffffff;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 28px rgba(46, 139, 87, 0.16);
  --radius: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- ヘッダー / ナビ ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.site-logo::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background: var(--green);
  border-radius: 2px;
  transform: rotate(45deg);
  vertical-align: middle;
}

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

.global-nav a {
  position: relative;
  color: var(--text);
  font-weight: 500;
  padding-bottom: 4px;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.25s ease;
}

.global-nav a:hover::after,
.global-nav a.is-current::after {
  width: 100%;
}

.global-nav a.is-current {
  color: var(--green);
}

/* ---------- ページヒーロー ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-lighter) 100%);
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(46, 139, 87, 0.12), transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: 0.02em;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* トップページの大型ヒーロー */
.hero-home h1 {
  font-size: 2.6rem;
  line-height: 1.4;
}

.hero-home .lead {
  margin-top: 20px;
}

.hero-home .btn {
  margin-top: 28px;
}

/* ---------- メインセクション ---------- */
main section {
  padding: 72px 0;
}

section.alt {
  background: var(--green-lighter);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

section h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.section-head h2 {
  display: inline-block;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 12px auto 0;
}

.section-head .sub {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

section h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
}

/* 左寄せ見出し（本文セクション用） */
.section-head-left {
  margin-bottom: 32px;
}

.section-head-left h2 {
  border-left: 5px solid var(--green);
  padding-left: 16px;
  line-height: 1.3;
}

/* ---------- カード ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.card p {
  color: var(--text-muted);
}

/* ---------- テーブル ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table th {
  width: 200px;
  background: var(--green-lighter);
  font-weight: 600;
  color: var(--text);
  border-right: 3px solid var(--green-light);
}

/* ---------- 本文ブロック ---------- */
.prose {
  max-width: 760px;
}

.prose p + p {
  margin-top: 16px;
}

.signature {
  margin-top: 20px;
  font-weight: 600;
  text-align: right;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(46, 139, 87, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(46, 139, 87, 0.34);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.cta .btn {
  background: var(--white);
  color: var(--green);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.cta .btn:hover {
  background: var(--green-lighter);
  color: var(--green-dark);
}

/* ---------- 数字ステップ ---------- */
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-right: 4px;
}

/* ---------- 地図プレースホルダ ---------- */
.map-placeholder {
  margin-top: 24px;
  height: 320px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px dashed var(--green);
}

/* ---------- フッター ---------- */
.site-footer {
  background: #1f2a24;
  color: #c7d2cb;
  padding: 48px 0 28px;
  font-size: 0.92rem;
}

.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.site-footer .footer-brand span {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: #9aa89f;
  margin-top: 8px;
}

.site-footer ul {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #c7d2cb;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer .copyright {
  padding-top: 20px;
  text-align: center;
  color: #8a978e;
  font-size: 0.85rem;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 720px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .global-nav ul {
    gap: 18px;
    flex-wrap: wrap;
  }

  .page-hero {
    padding: 56px 0;
  }

  .page-hero h1 {
    font-size: 1.7rem;
  }

  .hero-home h1 {
    font-size: 1.9rem;
  }

  main section {
    padding: 52px 0;
  }

  .info-table th {
    width: 120px;
    font-size: 0.9rem;
  }

  .site-footer .footer-top {
    flex-direction: column;
  }
}
