@charset "utf-8";

    .hero {
      position: relative;
      height: 300px;                 /* 小さめに */
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      text-align: center;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      top:0; left:0; width:100%; height:100%;
      background: url('img/yawasebg.jpg') center/cover no-repeat;
      z-index: 0;
      transform: scale(1.05);
    }
    .hero::after {
      content: "";
      position: absolute;
      top:0; left:0; width:100%; height:100%;
      background: rgba(0,0,0,0.45);
      z-index: 1; /* 暗めオーバーレイ（コンテンツより下） */
    }
    .hero-content { position: relative; z-index: 2; }
    .hero h1 { font-size: 2.2rem; font-weight:900; margin:0; }
    /* 日付はここに置かない */

    /* 白背景の角丸コンテナ（ヒーロー下を包含） */
    .content-wrapper {
      position: relative;  /* ここを相対にして z-index を上げる */
      z-index: 10;         /* heroのオーバーレイより上にする */
      background: white;
      max-width: 960px;
      margin: -30px auto 3rem auto; /* -60px → -30px に変更 */
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }


  /* テキストリンク（軽め） */
  .text-link {
    color: #005D48;
    text-decoration: underline;
    font-weight: 500;
  }
  .text-link:hover {
    color: #003d31;
  }

  /* 目立つ大ボタン（最下部用） */
  .cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #005D48;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
  }
  .cta-button:hover {
    background-color: #004737;
  }

  .cta-container {
    text-align: center;
    margin-top: 2rem;
  }

    /* 控えめな見出し */
    h2 {
      font-size: 1.25rem;
      color: #005D48;
      display: inline-block;
      position: relative;
      margin-bottom: 1rem;
      font-weight: 700;
    }
    h2::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 40px;      /* 小さめのアンダーライン（控えめ） */
      height: 3px;
      background-color: #005D48;
      border-radius: 2px;
    }


/* セクション共通 */
.section {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;
}


/* マップ仮置き */
.map-placeholder {
  background: #eee;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 1.2rem;
  border: 2px dashed #ccc;
}

/* カードレイアウト */
.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  display: block;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  padding: 15px;
  font-size: 1.2rem;
  font-weight: bold;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}


    /* スマホ調整 */
    @media (max-width:720px){
      .hero { height: 220px; }
      .content-wrapper { margin: -40px 1rem 2rem 1rem; padding: 1rem; }
    }