:root {
  --bg: #f4faf5;
  --card: #ffffff;
  --line: #d7e4d6;
  --text: #1f332a;
  --sub: #5a6b61;

  --green: #3ca55c;
  --green-dark: #2e7d46;
  --green-soft: #edf6ee;
}

/* =========================
  共通
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

.page-wrap {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 60px;
}

/* =========================
  ヘッダー
========================= */
.site-header {
  background: linear-gradient(135deg, #f7fbf7, #edf6ee);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 28px;
  margin-bottom: 28px;
}

.site-label {
  margin: 0 0 8px;
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
}

.site-header h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.3;
}

.site-lead {
  margin: 0;
  color: var(--sub);
  font-size: 1.05rem;
}

.header-actions {
  margin-top: 20px;
}

/* =========================
  ボタン
========================= */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 12px 22px;
  font-weight: 700;
  transition: 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: var(--green);
  color: #fff;
  border: 2px solid var(--green-dark);
  border-radius: 999px;  /* ←これが重要 */
  padding: 12px 24px;    /* 少し余白も調整 */
}

.btn-secondary:hover {
  background: var(--green-dark);
  color: #fff;
}
/* =========================
  セクション
========================= */
.section-head {
  margin-bottom: 20px;
}

.section-label {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.section-text {
  margin: 0;
  color: var(--sub);
}

/* =========================
  通知カード
========================= */
.notice-list {
  display: grid;
  gap: 18px;
}

.notice-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(34, 48, 40, 0.04);
}

.notice-date {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--green);
  font-weight: 700;
  font-size: 0.92rem;
}

.notice-title {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.notice-desc {
  margin: 0 0 16px;
  color: var(--sub);
}

/* ボタンエリア */
.notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* PDFボタン */
.btn-open {
  background: var(--green);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.btn-open:hover {
  background: var(--green-dark);
}

.btn-download {
  background: #fff;
  color: var(--green-dark);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.btn-download:hover {
  background: var(--green-soft);
}

/* =========================
  メッセージ
========================= */
.loading-message,
.empty-message,
.error-message {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  color: var(--sub);
}

/* =========================
  補足案内
========================= */
.info-section {
  margin-top: 36px;
}

.info-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}

.info-box h2 {
  margin-top: 0;
}

.info-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

/* =========================
  申込導線
========================= */
.entry-section {
  margin-top: 36px;
}

.entry-box {
  background: linear-gradient(135deg, #f7fbf7, #edf6ee);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  text-align: center;
}

.entry-label {
  color: var(--green);
  font-weight: 700;
  margin-bottom: 6px;
}

.entry-text {
  color: var(--sub);
  margin-bottom: 16px;
}

/* =========================
  フッター
========================= */
.site-footer {
  margin-top: 40px;
  text-align: center;
  color: var(--sub);
  font-size: 0.9rem;
}

/* =========================
  スマホ対応
========================= */
@media (max-width: 640px) {

  .page-wrap {
    width: calc(100% - 20px);
    padding: 18px 0 40px;
  }

  .site-header {
    padding: 24px 16px;
    border-radius: 18px;
  }

  .notice-card {
    padding: 16px;
  }

  .notice-title {
    font-size: 1.1rem;
  }

  .notice-actions {
    flex-direction: column;
  }

  .btn-open,
  .btn-download {
    width: 100%;
  }

  .entry-box {
    padding: 20px;
  }
    }
    .notice-thumb {
    margin-bottom: 14px;
    }

    .notice-thumb img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--line);
    }
    /* =========================
   最新の活動予定・お知らせ
========================= */
.latest-line-notice {
  max-width: 1120px;
  margin: 0 auto 52px;
  padding: 0 20px;
}

.latest-line-head {
  margin-bottom: 20px;
}

.latest-line-label {
  margin: 0 0 10px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #2fa35a;
}

.latest-line-head h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  color: #173126;
}

.latest-line-desc {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5a6b61;
}

.latest-line-card {
  background: #fff;
  border: 1px solid #dbe6dc;
  border-radius: 24px;
  padding: 28px 26px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.latest-line-date {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2fa35a;
}

.latest-line-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.35;
  color: #173126;
}

.latest-line-text {
  margin: 0 0 22px;
  font-size: 1.04rem;
  line-height: 1.9;
  color: #4b5c52;
}

.latest-line-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 640px) {
  .latest-line-notice {
    margin-bottom: 40px;
    padding: 0 16px;
  }

  .latest-line-card {
    padding: 22px 18px;
    border-radius: 18px;
  }
}

/* =========================
   Hero
========================= */
.hero-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 24px;
}

.hero-card {
  background: #eef5ef;
  border: 1px solid #d8e5da;
  border-radius: 28px;
  padding: 36px 30px;
}

.hero-label {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #2fa35a;
}

.hero-card h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.2;
  color: #153126;
}

.hero-text {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.9;
  color: #5a6b61;
}

.hero-actions {
  margin-top: 26px;
}

/* =========================
   最新通知カード
========================= */
.latest-line-notice {
  max-width: 1120px;
  margin: 0 auto 52px;
  padding: 0 20px;
}

.latest-line-card {
  background: #fff;
  border: 1px solid #dbe6dc;
  border-radius: 24px;
  padding: 28px 26px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.latest-line-date {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #2fa35a;
}

.latest-line-card h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.3;
  color: #173126;
}

.latest-line-text {
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #4b5c52;
}

.latest-line-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================
   Section head
========================= */
.notice-section,
.info-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

.section-head {
  margin-bottom: 24px;
}

.section-label {
  margin: 0 0 10px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #2fa35a;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  color: #173126;
}

.section-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5a6b61;
}

/* =========================
   Buttons
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.btn-primary {
  background: #3daa57;
  color: #fff;
  box-shadow: 0 8px 18px rgba(61, 170, 87, 0.18);
}

/* =========================
   Info box
========================= */
.info-box {
  background: #fff;
  border: 1px solid #dbe6dc;
  border-radius: 24px;
  padding: 28px 26px;
}

.info-box h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.3;
  color: #173126;
}

.info-box p {
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.9;
  color: #4b5c52;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* =========================
   Mobile
========================= */
@media (max-width: 640px) {
  .hero-section,
  .latest-line-notice,
  .notice-section,
  .info-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-card,
  .latest-line-card,
  .info-box {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .hero-section {
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .latest-line-notice {
    margin-bottom: 40px;
  }
}