/* ------------------------------
   ベース設定
------------------------------ */
body {
  font-family: "游ゴシック体", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background-color: #ffffff;
  color: #333333;
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

a {
  color: #006666; /* わずかに緑がかった青 */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ------------------------------
   ヘッダー
------------------------------ */
header {
  background: #003333;
  color: #ffffff;
  padding: 10px 0;
}


header .logo {
  font-size: 22px;
  font-weight: bold;
}

/* メニュー */
.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: white;
    font-weight: bold;
    position: relative;
    padding: 8px 0;
}

/* ホバー効果 */
.main-nav a{
    color: white;
    font-weight: bold;
    position: relative;
    padding: 8px 12px;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 4px;
}

/* ホバー時：白背景＋アヤメ文字 */
.main-nav a:hover {
    background-color: white;
    color: #003333;
}

/* アクティブ時：アヤメ色で強調 */
.main-nav a.active {
    background-color: white;
    color: #003333;
    font-weight: bold;
}

/* 下線効果（任意） */
.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: #003333;
}


header .logo a {
  font-size: 1.5em;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

header .main-nav {
  display: flex;
  gap: 20px;
}

header .main-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* header .main-nav a.active {
  border-bottom: 2px solid #66ccff;
}　*/
/* 内部コンテナで中央寄せ */
.header-inner {
  max-width: 1000px;   /* お好みで 900px〜1100pxくらい */
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* ------------------------------
   コンテンツ
------------------------------ */
.container{
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  min-height: 90vh;
}

.content {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  min-height: 90vh;

}

.content h2 {
  font-size: 24px;
  margin-bottom: 20px;
  border-left: 6px solid #006666;
  padding-left: 10px;
}

.highlight-box {
  background: #f0f8f8;
  border: 1px solid #99cccc;
  padding: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
}

.highlight-box h3 {
  margin-top: 0;
  color: #006666;
}

/* ------------------------------
   フッター
------------------------------ */
footer {
  background: #003333;
  color: #ffffff;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
  font-size: 14px;
}

/* ------------------------------
   レスポンシブ対応
------------------------------ */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header nav {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }
}

/* ヒーローエリア */
.hero {
  text-align: center;   /* ← 中央ぞろえのポイント */
  margin: 20px 0;       /* 上下に余白を追加 */
}

.hero-img {
  text-align: center;   /* ← 中央ぞろえのポイント */
  margin: 20px 0; 
}

.hero-img img {
  max-width: 90%;       /* 画面からはみ出さないように調整 */
  height: auto;         /* アスペクト比を維持 */
}

.cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.case-card {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.case-icon {
  text-align: center;
  margin-bottom: 1rem;
}

.case-icon img {
  width: 150px;   /* アイコンの大きさ調整 */
  height: auto;
}

.case-card p {
  color: #333;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .cases {
    grid-template-columns: 1fr 1fr; /* PCでは2列 */
  }
}

@media (min-width: 1200px) {
  .cases {
    grid-template-columns: 1fr 1fr 1fr; /* 大画面では3列 */
  }
}

.activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.activity-card {
  background: #f9fdfb; /* 優しい白緑トーン */
  border: 1px solid #e0f0e6;
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  text-align: left;
  transition: transform 0.25s, box-shadow 0.25s;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.activity-icon {
  margin-bottom: 1.2rem;
}

.activity-icon img {
  width: 150px;
  height: auto;
}

.activity-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #2a5d45; /* 深緑で温かみ */
}

.activity-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}