:root {
  --header-gradient: linear-gradient(90deg, #0057d9, #0099ff);
  --label-bg: #444;   /* 共通のラベル背景グレー */
  --label-text: #fff; /* 共通のラベル文字色 */
  --table-border: #ccc;
  --table-bg: #fff;
}

/* テーブル全般の共通スタイル */
.common-table {
  border-collapse: collapse;
  width: 95%;
  max-width: 800px;
  margin: 2rem auto;
  background: var(--table-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.common-table td {
  border: 1px solid var(--table-border);
  padding: 0.75rem 1rem;
}

/* ラベルセル */
.common-table .label {
  background: var(--label-bg);
  color: var(--label-text);
  text-align: center;
  width: 140px;
  font-weight: bold;
}

/* スクロールボタン設定 */
#backToTop {
  position: fixed;
  bottom: 20px;
  left: 50%;                 /* ← 画面の中央を基準に */
  transform: translateX(-50%); /* ← 自分の幅の半分だけ左に寄せて中央に */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: #ccc;          /* ← 薄いグレー */
  color: #000;               /* ← 黒文字にすると視認性UP */
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: none; /* 最初は非表示 */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.2s;
}
#backToTop:hover {
  background: #bbb;          /* ホバー時に少し濃くする */
  transform: translateX(-50%) scale(1.1);
}

/* 最新情報表示の定義 */
.news {
  margin-top: 1.5rem;
  text-align: left;
  background: rgba(244, 245, 246, 0.9);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.news h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #000000;
}

.news ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  color: #222; /* やや柔らかい黒 */
  font-weight: normal; /* 必要に応じて太さも調整 */
}

.news li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #000000;
  color: #222; /* やや柔らかい黒 */
  font-weight: normal; /* 必要に応じて太さも調整 */
}

.news a {
  color: #222;
  text-decoration: none; /* 下線を付けたい場合 */
}

.news-btn-wrapper {
  text-align: center; /* ボタンを中央寄せ */
}

#showMoreBtn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #ccc;
  color: #000000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}
#showMoreBtn:hover {
  background: #bbb;
}

/* フッター文字列をセンタリングおよびリンク文字下線無しの調整 */
footer {
  text-align: center;
}

footer a {
  color: #333;          /* 文字色（黒っぽいグレー） */
  text-decoration: none; /* 下線を消す */
}

footer a:hover {
  color: #000;          /* ホバー時に真っ黒に */
  text-decoration: none; /* 下線を消す */
}

/* faqの定義 */
.faq {
  margin-top: 1.5rem;
  text-align: left;
  background: rgba(244, 245, 246, 0.9);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.faq h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #000000;
}

.faq ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  color: #222; /* やや柔らかい黒 */
  font-weight: normal; /* 必要に応じて太さも調整 */
}

.faq li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #000000;
  color: #222; /* やや柔らかい黒 */
  font-weight: normal; /* 必要に応じて太さも調整 */
}

.faq a {
  color: #222;
  text-decoration: none; /* 下線を付けたい場合 */
}

/* フォントの定義 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* スマホ用 (幅600px以下の画面に適用) */
@media (max-width: 600px) {
  body {
    font-size: 14px; /* 全体の文字を少し小さめに */
  }

  nav ul {
    flex-direction: column; /* ナビメニューを縦並びに */
    gap: 0.5rem;
  }

  .grid {
    grid-template-columns: 1fr; /* サービスカードを1列表示 */
  }

  .common-table {
    width: 100%; /* 表を画面幅いっぱいに */
    font-size: 13px; /* 表の文字も調整 */
  }

  .image-fader {
    max-width: 100%; /* スライド画像もスマホ幅に合わせる */
    height: auto;    /* 高さを自動にしてつぶれ防止 */
  }
}

----------------------------------------------
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  color: #333;
  background: #f9fafc;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(90deg, #0057d9, #0099ff);
  color: white;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #0099ff 0%, #0057d9 100%);
  color: white;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #0077cc;  /* ボタンの背景色 */
  color: white;         /* 文字色 */
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease; /* ホバー時のアニメーション */
}

.hero .btn:hover {
  background: #005fa3;  /* ホバー時の濃い色 */
}

.features {
  padding: 3rem 2rem;
  text-align: center;
}

.features h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #0057d9;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ADD8E6;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 2rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.features .card a {
  text-decoration: none; /* 下線を消す */
  color: inherit;         /* カードの文字色に合わせる */
}

img {
  max-width: 30%;
  height: auto;
  display: block;
}

.image-fader img {
  max-width: 100% !important;  /* ← 全般設定を上書き */
  height: 100% !important;
  object-fit: contain;         /* 枠に収める */
}

.center-img {
  display: block;
  margin: 0 auto;
}
