/* ============================
   style2.css : 追加カスタマイズ
   ============================ */

/* 全体背景を薄いグレーに変更（style.cssを上書き） */
body {
  background-color: #fafafa;
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ボタンを青色に強調 */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #007bff;   /* 鮮やかな青 */
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease-in-out;
}

.btn:hover {
  background: #0056b3;   /* 濃い青に変化 */
}

/* 「募集中」カードを目立たせる */
.card h3:contains("募集中") {
  color: #d9534f; /* 赤系 */
  font-weight: bold;
}

/* 見出しの調整 */
h2, h3 {
  margin-top: 1.2em;
  margin-bottom: 0.6em;
  font-weight: 700;
}



/* ===== ページ本文 ===== */
.page-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;   /* 本文中央寄せ */
  line-height: 1.8;
}

/* ===== ナビゲーションを中央配置 ===== */
.main-nav {
  text-align: center;
  margin-top: 10px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;   /* 横並びにする */
  gap: 20px;              /* メニュー間の余白 */
}

.main-nav li {
  display: inline;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.main-nav a:hover {
  color: #0077cc;
}



/* 共通レイアウト */
body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  text-align: center; /* 全体を中央寄せ */
}

/* ページタイトル */
.page-title {
  font-size: 2rem;
  margin: 40px 0 20px;
  font-weight: 700;
  color: #333;
}

/* 本文 */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
  color: #444;
  font-size: 1.1rem;
  text-align: left; /* 本文は読みやすいよう左寄せ */
}

/* メニュー */
.page-nav {
  margin: 30px 0;
}

.page-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-nav a {
  text-decoration: none;
  color: #0077cc;
  font-weight: 600;
}

.page-nav a:hover {
  text-decoration: underline;
}



/* ===== Subpages Card Style (Vision/Legal) - 追記だけでOK ===== */
:root{
  --orange:#ff9900;
  --o25:rgba(255,153,0,.25);
  --o35:rgba(255,153,0,.35);
  --ink:#111827;
  --muted:#6b7280;
}

/* ベース（軽く整えるだけ。既存があれば後勝ちします） */
*{ box-sizing:border-box; }
body{ margin:0; color:var(--ink); background:#f9fafb; }
.site-header{ background:#fff; border-bottom:1px solid #eee; box-shadow:0 6px 18px var(--o25); }
.header-inner{ max-width:1200px; margin:0 auto; padding:10px 16px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.main-nav ul{ list-style:none; margin:0; padding:0; display:flex; gap:16px; }
.main-nav a{ text-decoration:none; color:inherit; }
.site-footer{ padding:24px 16px; color:var(--muted); border-top:1px solid #eee; background:#fff; }

/* ★本文を“カード”化（中央配置＋オレンジ系ドロップシャドウ） */
.page-content{
  max-width: 960px;
  margin: 32px auto;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 12px 30px var(--o25),
    0 3px 10px var(--o35),
    0 10px 24px rgba(17,24,39,.12),
    0 2px 6px rgba(17,24,39,.08);
}
@media (min-width: 960px){
  .page-content{ padding: 36px 40px; margin: 48px auto; }
}

/* 見出しにオレンジの下線バー（トップと統一） */
.page-content h1{
  margin: 0 0 14px;
  text-align: center;
  line-height: 1.25;
}
.page-content h1::after{
  content:"";
  display:block;
  width:64px; height:4px;
  margin:12px auto 0;
  background:var(--orange);
  border-radius:9999px;
}

/* 文字の行間・余白（読みやすさ） */
.page-content p{
  margin: 0 0 1em;
  line-height: 1.9;
  color: #1f2937;
}

/* 画像が入るときの影（本文内のみ） */
.page-content img{
  display:block;
  max-width:100%;
  height:auto;
  border-radius:12px;
  filter: drop-shadow(0 6px 12px var(--o35));
}

/* ロゴ（テキスト／画像）に影は付けない */
.site-header .logo img,
.site-header .logo a{
  filter:none !important;
  box-shadow:none !important;
}


/* ===== Subpages Card Style (Vision/Legal) - 追記だけでOK ===== */
:root{
  --orange:#ff9900;
  --o25:rgba(255,153,0,.25);
  --o35:rgba(255,153,0,.35);
  --ink:#111827;
  --muted:#6b7280;
}

/* ベース（軽く整えるだけ。既存があれば後勝ちします） */
*{ box-sizing:border-box; }
body{ margin:0; color:var(--ink); background:#f9fafb; }
.site-header{ background:#fff; border-bottom:1px solid #eee; box-shadow:0 6px 18px var(--o25); }
.header-inner{ max-width:1200px; margin:0 auto; padding:10px 16px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.main-nav ul{ list-style:none; margin:0; padding:0; display:flex; gap:16px; }
.main-nav a{ text-decoration:none; color:inherit; }
.site-footer{ padding:24px 16px; color:var(--muted); border-top:1px solid #eee; background:#fff; }

/* ★本文を“カード”化（中央配置＋オレンジ系ドロップシャドウ） */
.page-content{
  max-width: 960px;
  margin: 32px auto;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 12px 30px var(--o25),
    0 3px 10px var(--o35),
    0 10px 24px rgba(17,24,39,.12),
    0 2px 6px rgba(17,24,39,.08);
}
@media (min-width: 960px){
  .page-content{ padding: 36px 40px; margin: 48px auto; }
}

/* 見出しにオレンジの下線バー（トップと統一） */
.page-content h1{
  margin: 0 0 14px;
  text-align: center;
  line-height: 1.25;
}
.page-content h1::after{
  content:"";
  display:block;
  width:64px; height:4px;
  margin:12px auto 0;
  background:var(--orange);
  border-radius:9999px;
}

/* 文字の行間・余白（読みやすさ） */
.page-content p{
  margin: 0 0 1em;
  line-height: 1.9;
  color: #1f2937;
}

/* 画像が入るときの影（本文内のみ） */
.page-content img{
  display:block;
  max-width:100%;
  height:auto;
  border-radius:12px;
  filter: drop-shadow(0 6px 12px var(--o35));
}

/* ロゴ（テキスト／画像）に影は付けない */
.site-header .logo img,
.site-header .logo a{
  filter:none !important;
  box-shadow:none !important;
}

/* スマホ余白最適化 */
@media (max-width: 640px){
  .page-content{ margin: 20px 12px; padding: 18px; }
}


.compare-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.compare-cards .card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(255, 165, 0, 0.4); /* オレンジ色のドロップシャドウ */
}

.compare-cards .highlight {
  border: 2px solid #f90;
  box-shadow: 0 6px 14px rgba(255, 165, 0, 0.6);
}


/* ページ全体の左右に余白をつける */
.page-container {
  max-width: 1200px;   /* 横幅の上限を設定 */
  margin: 0 auto;      /* 中央寄せ */
  padding: 0 16px;     /* 左右に余白 */
}

/* 比較カードの親要素がある場合 */
.compare-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media(min-width: 768px){
  .compare-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}



.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4); /* オレンジ系シャドウ */
  line-height: 1.8;
  font-size: 1rem;
}

.card h1 {
  margin-bottom: 15px;
  text-align: center;
}

.page-title {
  text-align: center;
  margin-bottom: 25px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4); /* オレンジ影 */
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
}



.cta-box {
  display: flex;
  align-items: center;
  gap: 1rem;           /* ボタンと注釈の間隔 */
  flex-wrap: wrap;     /* スマホでは折り返して下に回る */
  margin-top: 1.5rem;
}









.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  margin: 0.5rem;
}

.note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #666;
  text-align: center; /* 常に中央寄せ */
}


　　　








/* 資金使途セクション */
#rescue .section.fund {
  background:#f9fafb;   /* 薄いグレー */
  padding:40px 16px;
}

/* KPIセクション */
#rescue .section.kpi {
  background:#fff7ed;   /* 薄いオレンジ */
  padding:40px 16px;
}

/* 見出し */
#rescue h2 {
  border-left: 6px solid var(--brand);
  padding-left: 10px;
  margin: 24px 0 16px;
  font-size: 1.3rem;
}



















#rescue .figure-card img {
  display:block;
  margin:0 auto;
  max-width:500px !important;   /* ← 強制 */
  width:100% !important;        /* ← 幅いっぱいをやめる */
  height:auto !important;
  border-radius:10px;
}














