@import url('variables.css'); /* ← 別ファイル管理にしてもOK */

body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  color: var(--text-color);
  background-color: var(--bg-color);
}

/* コンセプトセクション */
.concept {
  padding: 4rem 1rem;
  background-color: var(--bg-color);
  text-align: center;
}
.concept h2 {
  color: var(--main-color);
  margin-bottom: 1rem;
}

/* サービス紹介 */
.services {
  padding: 4rem 1rem;
}
.services h2 {
  text-align: center;
}
.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.card h3 {
  color: var(--main-color);
}
.card a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent-color);
  text-decoration: underline;
}

/* 代表挨拶リンク */
.greeting-link {
  padding: 4rem 1rem;
  background-color: var(--light-accent);
  text-align: center;
}
.greeting-link .btn {
  margin-top: 1rem;
  display: inline-block;
  background: var(--main-color);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
}

.services .row{
  text-align: center;
}
/* 業務内容カード（index）の中央寄せ */
.services .card-body {
  text-align: center;
}

.services .card h3 {
  margin-bottom: .5rem; /* 少しだけ間隔を整える（任意） */
}

.services .card a {
  display: inline-block;  /* アンカーも中央に揃いやすく */
  margin-top: .75rem;
}

/* 業務内容カード：要素内を中央寄せ */
.services .card { 
  text-align: center;            /* 見出し・本文を中央に */
}

.services .card .card-body {
  text-align: inherit;           /* 念のため継承を確実に */
}

/* ボタンやリンクも中央に寄せる */
.services .card .card-body a,
.services .card .card-body .btn {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

/* Services：col内でカードを中央寄せ */
.services .row > .col {
  display: flex;
  justify-content: center;   /* 横方向センター */
}

/* カードは列より少し狭く（中央寄せが効く） */
.services .card {
  width: 100%;
  max-width: 80%;          /* 好みで 20–24rem 程度に調整 */
}
