/* ベース設定 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  color: #374151;
  background: #f7f7f4;
  line-height: 1.8;
  font-size: 15px;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ヘッダー */

.site-header {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
}

.site-title {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
}

/* PCナビ */

.site-nav {
  display: flex;
  gap: 12px;
  font-size: 13px;
}

.site-nav a {
  padding: 4px 10px;
  border-radius: 999px;
}

.site-nav a:hover {
  background: #edf2f7;
}

/* ハンバーガー（共通スタイル） */

/* ハンバーガー（3本線 → × アニメーション） */

.nav-toggle {
  display: none;              /* SPでのみ使うので一旦オフ。SP用メディアクエリでONにする */
  position: relative;
  width: 33px;
  height: 18px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

/* 3本の線を絶対配置で重ねる */
.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: #374151;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    top 0.25s ease,
    bottom 0.25s ease;
}

/* 上・真ん中・下のバー */
.nav-toggle span:nth-child(1) {
  top: 0;
}

.nav-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span:nth-child(3) {
  bottom: 0;
}

/* 開いたとき：中央でクロスさせる */
.nav-toggle.is-open span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(35deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-35deg);
}

/* モバイル用ドロワーメニュー */

.site-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 60vw;
  max-width: 320px;
  height: 100vh;
  background: #f9fafb;
  box-shadow: -2px 0 6px rgba(0,0,0,0.08);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 60;
}

.nav-drawer-inner {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  height: 100%;
}

.nav-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.nav-drawer-title {
  font-weight: 600;
}

.nav-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 33px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}

.nav-drawer-close::before,
.nav-drawer-close::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: #374151;
  top: 50%;
}

.nav-drawer-close::before {
  transform: translateY(-50%) rotate(35deg);
}

.nav-drawer-close::after {
  transform: translateY(-50%) rotate(-35deg);
}

.site-nav-drawer a {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

/* 背景のグレー */

.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 50;
}

/* body.nav-open で open 状態を管理 */

body.nav-open .site-nav-drawer {
  transform: translateX(0);
}

body.nav-open .nav-drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* ヒーロー */

.hero {
  position: relative;
  padding: 80px 0 88px;
  background-image: url('kyoushitu.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247,244,235,0.75) 0%, rgba(240,235,220,0.62) 100%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.hero-text {
  flex: 1 1 360px;
  animation: fadeUp 0.8s ease-out both;
}

.hero-main {
  font-size: clamp(26px, 3.2vw, 32px);
  letter-spacing: 0.14em;
  color: #4b5563;
  margin: 0 0 4px;
}

.hero-title {
  font-size: clamp(26px, 3.2vw, 26px);
  line-height: 1.6;
  margin: 0 0 12px;
}

.hero-title .accent {
  color: #d88c94;
}

.hero-lead {
  margin: 0 0 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ボタン・ピル */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #91a871;
  color: #fff;
}

.btn-primary:hover {
  background: #7e955f;
}

.btn-accent {
  background: #f1b783;
  color: #4b3620;
}

.btn-accent:hover {
  background: #e8a76a;
}

.pill {
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  border: 1px solid #d1d5db;
  background: #ffffffd9;
  color: #4b5563;
}

/* セクション共通 */

.section {
  padding: 56px 0;
}

/* タイトルふわっと表示用 */

.section-title,
.section-title-left {
  font-size: 24px;
  text-align: center;
  margin: 0 0 40px;
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title::after,
.section-title-left::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #91a871, #f1b783);
}

.section-title-left {
  text-align: left;
}

.section-title-left::after {
  margin-left: 0;
}

/* 表示状態 */

.section-title.is-visible,
.section-title-left.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-lead {
  text-align: center;
  margin: 0 0 26px;
}

.section-lead.small {
  font-size: 14px;
}

.section-lead-left {
  text-align: left;
}

/* Welcome */

.section-welcome {
  background: #dde7c8;
  text-align: center;
}

.welcome-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.welcome-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
/* Welcomeセクション内の2ボタンだけ：PC時に横長にする */
@media (min-width: 900px) {
  .welcome-buttons {
    gap: 20px;            /* 2ボタンの間隔（必要なら） */
  }

  .welcome-buttons .btn {
    padding: 8px 44px;   /* 横長＆高さも少し */
    min-width: 260px;     /* 横幅を安定させる（好みで調整） */
    font-size: 16px;      /* 文字も少しだけ大きく */
  }
}

.highlight-strong {
  color: #25543d;
  font-weight: 700;
}

.reference-button-wrap {
  margin-top: 24px;
  text-align: center;
}

.reference-button {
  display: inline-block;
  padding: 10px 32px;
  background-color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  color: #4b5d4b;
  border: 2px solid #9bb27d;
  text-decoration: none;
}

.reference-button:hover {
  background-color: #f4f7ef;
}

.reference-note {
  margin-top: 2px;
  margin-bottom: 2px;
  font-size: 10px;
  color: #556;
}

/* 参考資料ボタン：PCでは大きく見せる */
@media (min-width: 900px) {
  .section-welcome .reference-button {
    padding: 8px 44px;     /* 高さと横をアップ */
    font-size: 16px;        /* 文字を大きく */
    max-width: 720px;       /* 横幅も少し広げる */
    width: 100%;
  }

  .section-welcome .reference-note {
    font-size: 12px;        /* 注釈も読みやすく */
    margin-top: 6px;
  }
}


/* 今回の取組 */

.section-request-info {
  background: #f9fafb;
}

.request-grid {
  margin-top: 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 20px 16px;
  box-shadow: none;
  font-size: 14px;
}

.card h3 {
  margin-top: 0;
  font-size: 16px;
  margin-bottom: 10px;
}

.card ul {
  padding-left: 20px;
  margin: 4px 0 0;
}

.card-highlight {
  background: #fff7e5;
  border: 1px solid #facc85;
}

/* 要望ポイント details */

.req-item {
  border-radius: 10px;
  background: #f3f4f6;
  padding: 8px 10px;
  margin-bottom: 8px;
}

.req-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  position: relative;
}

.req-item summary::-webkit-details-marker {
  display: none;
}

.req-item summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 16px;
}

.req-item[open] summary::after {
  content: "－";
}

.req-item ul {
  margin-top: 6px;
}

/* あなたにもできること */

.section-actions {
  background: #f4f5f0;
}

/* アコーディオンボックス */

.accordion-box {
  background: #f7f9f4;
  border-left: 6px solid #91a871;
  border-radius: 12px;
  padding: 0;
  margin-top: 28px;
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-icon {
  font-size: 20px;
  color: #4f604a;
}

.accordion-content {
  display: none;
  padding: 0 20px 16px;
  line-height: 1.7;
}

.accordion-content ul {
  margin: 12px 0 16px 18px;
}

.accordion-content li {
  margin-bottom: 6px;
}

.accordion-box.open .accordion-content {
  display: block;
}

/* あなたにもできること内のアコーディオンを全幅にする */
.actions-grid .accordion-box {
  grid-column: 1 / -1;   /* グリッドを1列目〜最後の列までまたぐ */
  width: 100%;
  margin-top: 28px;
}

/* アコーディオン閉じている時のタイトル強調色 */
.accordion-box .accordion-trigger {
  color: #542d06;   /* ← おすすめ強調色 */
}


/* 全国の動き */

.section-movement {
  background: #e3ebd2;
}

.movement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.movement-item img {
  margin-top: 8px;
  border-radius: 14px;
  background: #fff;
}

.movement-link {
  margin: 10px 0 4px;
  font-size: 14px;
}

.movement-link a {
  color: #2563eb;
  text-decoration: underline;
}

.movement-text {
  font-size: 14px;
  margin: 0;
}

.survey-card {
  margin-top: 32px;
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: none;
  font-size: 14px;
}

.survey-card h3 {
  margin-top: 0;
  font-size: 16px;
}

.survey-card ul {
  margin: 8px 0 10px;
  padding-left: 22px;
}

.survey-note {
  font-size: 12px;
  color: #6b7280;
}

.survey-note a {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 600;
}

.reference-movement-btn {
  display: inline-block;
  margin: 32px auto 0;
  padding: 14px 32px;
  border: 2.5px solid #9bb27d;
  border-radius: 45px;
  background-color: #f6f8ef;
  color: #4b5d4b;
  font-size: 0.95rem;
  text-decoration: none;
  width: min(100%, 980px);  /* ← ここが肝。上の箱に合わせて調整 */
  box-shadow: 0 6px 16px rgba(0,0,0,0.10);
}
@media (max-width: 480px){
  .reference-movement-btn{
    font-size: 12px;
    padding: 10px 16px;
    white-space: nowrap;   /* 折り返し禁止 */
  }
}


/* FAQ */

.section-faq {
  background: #f2eee6;
}

.faq-content {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 12px;
  background: #fff;
  padding: 11px 13px;
  margin-bottom: 10px;
  box-shadow: none;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 16px;
}

.faq-item[open] summary::after {
  content: "－";
}

.faq-item p {
  margin: 8px 0 4px;
  font-size: 14px;
}

/* Contact */

.section-contact {
  background: #dde7c8;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 28px;
  align-items: center;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

/* フッター */

.site-footer {
  background: #343e30;
  color: #ffffff;
  padding: 28px 0 30px;
  font-size: 12px;
  text-align: center;
  border-top: 1px solid #b5c3a2;
}

.footer-name {
  font-weight: 600;
  margin: 0 0 8px;
}

.footer-note {
  margin: 0 0 8px;
}

.footer-copy {
  margin: 0;
  color: #ffffff;
}

.nav-close,
.nav-close:focus,
.nav-close:active {
  color: #374151 !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* アニメーション（ヒーロー用） */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* レスポンシブ */

@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {

  .site-header-inner {
    flex-wrap: nowrap;
  }

  .site-nav {
    display: none;
  }

  /* SP時のハンバーガー */
  .nav-toggle-header {
    display: flex;
  }

  .hero-inner {
    flex-direction: column;
  }

  .hero-image img {
    margin: 0 auto;
  }

  .movement-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 44px 0;
  }

  .wrap {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .hero-title {
    font-size: 21px;
  }

  /* 基本は幅100％で縦積み */
  .btn {
    width: 100%;
    justify-content: center;
  }

  /* ヒーロー部分だけ横並び（2つ並ぶ） */
  .hero-actions .btn {
    width: auto;
    min-width: 46%;
  }

  .site-nav-drawer {
    width: 70vw;
    max-width: 320px;
  }
}
