/* 全体の基本設定 */
body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* ヘッダー */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #008080; /* ティール系ブランドカラー */
  padding: 10px 30px;
}

.logo img {
  height: 50px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.nav-menu li a:hover {
  border-bottom: 2px solid #ffcc00; /* イエローアクセント */
}

/* メインビジュアル */
.image-container {
  position: relative;
  text-align: center;
}

.map-image {
  width: 100%;
  height: auto;
  display: block;
}

.moji-box {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #252222;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.moji-box h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.moji-box p {
  font-size: 1.2rem;
}

/* 紹介セクション */
.index {
  text-align: center;
  padding: 50px 20px;
}

.index h2 {
  font-size: 2rem;
  color: #008080;
  margin-bottom: 20px;
}

/* サービス紹介カード */
.card-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  flex-wrap: wrap;
}

.card {
  width: 280px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ← 左寄せ */
  text-align: left;
}

.card-image {
  width: 100px; /* ← 小さめサイズで左上に配置 */
  height: auto;
  margin-bottom: 10px;
  align-self: flex-start; /* ← 左上に固定 */
}

.card h3 {
  margin: 5px 0;
  font-size: 1.2rem;
  color: #008080;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.card a {
  padding: 6px 12px;
  background: #008080;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
}

.card a:hover {
  background: #ffcc00;
  color: #333;
}



/* お知らせ */
.news {
  background: #eef5f5;
  padding: 30px 20px 60px;
  text-align: center;
}

.news h2 {
  text-align: center;
  color: #008080;
  margin-bottom: 5px;
}

.news ul {
  list-style: none;
  padding: 0;
  display: inline-block;
  text-align: left;
}

.news li {
  margin: 10px 0;
}

/* フッター */
.footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.footer p {
  margin: 5px 0;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  font-size: 1.8rem;
  font-weight: bold;
  color: #008080; /* ブランドカラー */
  position: relative;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #ccc;
  margin: 0 15px;
}


.service-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: #f9f9f9;
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex-wrap: wrap; /* モバイル対応 */
}

/* 偶数番目のサービスブロックは画像を右側に */
.section-title:nth-of-type(even) .service-block {
  flex-direction: row-reverse;
}



.service-image img {
  width: 280px;
  height: auto;
  border-radius: 8px;
}

.service-content {
  max-width: 500px;
  text-align: left;
}

.service-content h3 {
  font-size: 1.8rem;
  color: #008080;
  margin-bottom: 10px;
}

.service-content p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.service-button {
  display: inline-block;
  padding: 10px 20px;
  background: #008080;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.service-button:hover {
  background: #ffcc00;
  color: #333;
}