/* =========================================
   1. Hero Section (Text Overlay)
   Revised: Absolute positioning for perfect fit
========================================= */
.hero-header img{
  width: 100%;
  height:auto;
  object-fit:cover;
}

/* バナー直下のリード。ページ唯一の h1 をここに置く */
.hero-copy {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.8rem 1rem 0.5rem;
  text-align: center;
}

.hero-title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.15rem, 3.4vw, 1.65rem);
  line-height: 1.6;
  font-weight: 700;
  color: var(--brand);
}

.hero-brand {
  color: var(--accent-warm);
  letter-spacing: .02em;
  white-space: nowrap;   /* ブランド名の途中で折り返させない */
}

.hero-lead {
  margin: 0;
  font-size: clamp(.88rem, 2.4vw, 1rem);
  line-height: 1.9;
  color: var(--text-subtle);
}

.hero-lead strong {
  color: var(--accent-warm);
  font-weight: 700;
}

/* スマホでは h1 を小さめに、左右の余白を広げて詰まった印象を避ける */
@media (max-width: 640px) {
  .hero-copy {
    padding: 1.4rem 1.5rem 0.5rem;
  }
  .hero-title {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0.7rem;
  }
  .hero-lead {
    font-size: 0.8rem;
    line-height: 1.85;
  }
}

/* =========================================
   1.5 News Section (New!)
========================================= */
.news-section {
  max-width: 980px; 
  margin: 1rem auto 2rem; /* ヒーロー画像に少し被せるか、近づける */
  padding: 0 1rem;
  position: relative; 
  z-index: 5;
}

.news-box {
  background: rgba(255,255,255,0.95);
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 1rem 1.5rem;
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.news-header {
  display: flex; align-items: center; gap: 0.5rem;
  border-bottom: 2px solid var(--accent-light);
  padding-bottom: 0.5rem; margin-bottom: 0.5rem;
}

.news-header h3 {
  margin: 0; font-size: 1rem; color: var(--brand);
}

.news-body { flex: 1; min-width: 0; }

/* 掲載は最新数件のみ（残りは /updates/）。
   内部スクロールは、スマホでページを送るときに指が取られるので使わない。 */
.news-list {
  list-style: none; padding: 0; margin: 0;
  font-size: 0.95rem;
}

.news-all {
  margin: 0.9rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px dashed #eee;
  text-align: right;
  font-size: 0.85rem;
}
.news-all a {
  color: var(--accent-warm);
  font-weight: 700;
  text-decoration: none;
}
.news-all a:hover { text-decoration: underline; }

/* トップに出す重要なお知らせは見出しのみ。本文は /updates/ で読む */
.news-more-link {
  color: var(--accent-warm);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-list li {
  display: flex;
  flex-wrap: wrap; /* スマホで折り返し */
  gap: 0.5rem 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed #eee;
}
.news-list li:last-child { border-bottom: none; }

/* 重要なお知らせ（news.json の "important": true）
   以前は各 li に直接 style を書いていたものをクラス化 */
.news-list li.news-item--important {
  background: rgba(244, 114, 182, 0.05);
  padding: 0.8rem;
  border-radius: 6px;
  border-left: 4px solid var(--accent);
}
.news-list li.news-item--important .news-date {
  font-weight: bold;
  color: var(--accent);
}

.news-date {
  color: var(--accent-warm); /* 日付を目立たせる */
  font-weight: 700;
  font-family: monospace; /* 数字を整える */
  opacity: 0.8;
}

.news-content {
  color: var(--text);
  flex: 1;
}

/* スマホでは「日付 → 区切り線 → 本文」の縦積みにする */
@media (max-width: 767px) {
  /* 1件が2行ぶんの高さになるので、スマホでは2件までに絞る */
  .news-list li:nth-child(n+3) { display: none; }

  .news-list li {
    flex-direction: column;
    gap: 0;
    padding: 0.7rem 0;
  }
  .news-date {
    /* 既定では縦積みで横幅いっぱいに伸びるので、日付の文字幅だけにする */
    align-self: flex-start;
    padding-bottom: 0.35rem;
    margin-bottom: 0.5rem;
    /* currentColor なので、重要なお知らせでは日付の色に自動で追従する */
    border-bottom: 1px dashed currentColor;
  }
  .news-content {
    flex: initial;   /* 縦積みでは伸縮させない */
  }
}

/* PCなら横並びでニュースをコンパクトにする場合 */
@media (min-width: 768px) {
  .news-box {
    flex-direction: row; align-items: flex-start;
  }
  .news-header {
    border-bottom: none; border-right: 2px solid var(--accent-light);
    padding-bottom: 0; padding-right: 1.5rem; margin-bottom: 0; margin-right: 0.5rem;
    min-width: 120px;
  }
}

/* =========================================
   2. Container Styles (About/Donation)
   About.css のスタイルを継承
========================================= */
#about, #donation { padding: clamp(2rem, 3vw, 3rem) 1rem; position: relative; z-index: 2; }

.about-wrap, .donation-wrap {
  max-width: 980px; margin: 0 auto;
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: var(--card-border);
  padding: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  position: relative; overflow: hidden;
}

/* 🐾 Watermark Decoration */
.about-wrap::before, .donation-wrap::before {
  content: "🐾"; position: absolute; opacity: 0.05; pointer-events: none;
  font-size: 6rem; right: -1rem; top: -1rem; transform: rotate(15deg);
  color: var(--brand);
}

.about-title, #donation h2 {
  margin: 0 0 1rem; font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--brand); line-height: 1.4;
}

.about-lead, .donation-lead {
  margin: .5rem auto 1.5rem; max-width: 720px;
  color: var(--text); line-height: 1.9; font-size: 1rem;
}
.about-lead strong, .donation-lead strong {
  background: linear-gradient(transparent 70%, var(--accent-light) 70%); /* マーカー風 */
  padding: 0 4px;
}

/* TOP用 Aboutボタン */
.btn-about {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.8rem 1.8rem; border-radius: 999px; border: none;
  background: linear-gradient(135deg, #f6d365, #fda085);
  color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none;
  box-shadow: 0 6px 16px rgba(253,160,133,0.4);
  transition: transform .2s, box-shadow .2s;
}
.btn-about:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(253,160,133,0.5); }


/* =========================================
   3. Series Cards
========================================= */
.series {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  padding: 2rem 1rem; max-width: 1080px; margin: 0 auto;
}
@media (min-width: 768px) { .series { grid-template-columns: repeat(2, 1fr); } }

.series-h { font-size: 1.6rem; font-weight: 700; margin: 0 0 .5rem; color: var(--brand); grid-column: 1/-1; text-align: center; }
.series-p { margin: 0 0 1.5rem; color: var(--text-subtle); line-height: 1.7; grid-column: 1/-1; text-align: center; }

.series-card {
  position: relative; background: #fff; 
  border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05); 
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.series-card:hover { transform: translateY(-8px); box-shadow: 0 16px 32px rgba(0,0,0,0.08); }

.img-wrap { position: relative; aspect-ratio: 16/9; background: var(--accent-light); }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.series-card:hover .img-wrap img { transform: scale(1.03); }

.series-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; z-index: 1; }
.series-card-h { font-weight: 700; margin: 0 0 .5rem; font-size: 1.2rem; color: var(--brand); }
.series-card-p { margin: 0; color: var(--text-subtle); line-height: 1.7; font-size: .95rem; }

/* Card Buttons */
.series-card-actions { 
  margin-top: auto;
  display: flex; 
  flex-direction: column;
  gap: .8rem; 
}
/* ボタン共通スタイル*/
.series-btn {
  width: 100%;
  padding: .8rem 0;
  border-radius: 12px; 
  font-weight: 700;
  text-align: center; 
  text-decoration: none; 
  font-size: .95rem;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: .6rem;
  transition: all .2s; 
  border: 1px solid transparent;
}

.series-btn .icon {
  line-height: 1;
  font-size: 1.1em;
  margin-bottom: 2px;
}

.series-btn:hover { opacity: .9; transform: translateY(-2px); }

/* SUZURI (Goods) */
.btn-suzuri { background: #dcfce7; color: #166534; }


/* =========================================
   4. Donation Elements
========================================= */
.donation-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin: 2rem 0; padding: 0; list-style: none;
}
.step { 
  background: #fff; border-radius: 1rem; padding: 1.5rem 1rem; text-align: center; 
  border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.step-icon {
  width: 60px; height: 60px; margin: 0 auto 1rem; display: grid; place-items: center;
  color: var(--accent-warm); background: var(--accent-light); border-radius: 50%;
}
.step h3 { margin: 0 0 .5rem; font-size: 1rem; color: var(--brand); }
.step p { margin: 0; color: var(--text-subtle); font-size: .9rem; line-height: 1.5; }
@media (max-width: 900px) { .donation-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .donation-steps { grid-template-columns: 1fr; } }

/* Boxes */
/* =========================================
   Donation Box (Revised)
========================================= */
.donation-box {
  background: #fff;
  border: 2px dashed var(--accent); /* ステッチ風 */
  border-radius: 1rem;
  padding: 1.5rem 2rem; /* PCでは内側ゆったり */
  margin: 1.5rem 0;
  text-align: left;
}

.donation-box h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--accent-warm);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.donation-box h3::before { content: "💡"; font-size: 1.2rem; }

.donation-bullets strong {
  color: #e44d26;
  font-weight: bold;
}

@media (max-width: 600px) {
  .donation-box {
    /* 親要素の余白を少し「食う」形で左右に広げる（ネガティブマージン） */
    margin-left: -1rem; 
    margin-right: -1rem;
    
    /* ボックス内の余白を少し詰めて、文字スペースを確保 */
    padding: 1.2rem 1rem;
    
    border-radius: 12px;
  }

  .donation-bullets {
    padding-left: 1.2rem; /* リストの左余白も少し詰める */
  }
}

.donation-cta { display: flex; justify-content: center; margin-top: 1.5rem; }
.donation-cta .btn { min-width: 280px; }

.donation-bullets strong {
  color: #e44d26;
  font-weight: bold;
}

/* Donation Box内のリスト装飾 */
.donation-bullets {
  margin: 1rem 0;
  padding-left: 0;
  list-style: none;
  background: rgba(0,0,0,0.02); /* 薄い背景で区分け */
  border-radius: 8px;
  padding: 1rem;
}

.donation-bullets li {
  margin-bottom: 0.5rem;
  padding-left: 1.5em;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.6;
}

.donation-bullets li::before {
  content: "✔";
  color: var(--accent-warm); /* 既存のオレンジ系の色 */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.donation-bullets li:last-child {
  margin-bottom: 0;
}

/* スマホ調整（既存のメディアクエリ内に追加推奨） */
@media (max-width: 600px) {
  .donation-bullets {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
}

/* 24時間反映のハイライトエリア */
.donation-highlight {
  background: #fff8e1; /* 薄い黄色で注意を引く */
  border-left: 5px solid #ffc107; /* 左にアクセントライン */
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.donation-highlight h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.donation-highlight p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 「安心のお約束」バッジ */
.badge {
  background: #ffc107;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
  vertical-align: middle;
}

/* テキストリンクの装飾 */
.text-link {
  color: #e44d26; /* リンク色 */
  text-decoration: underline;
  font-weight: bold;
}
.text-link:hover {
  text-decoration: none;
  opacity: 0.8;
}

/* =========================================
   5. Floating Card
========================================= */
.ppd-card {
  display: inline-block; width: fit-content; max-width: 100%;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(4px);
  border-radius: 16px; border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08); padding: 16px;
}
.ppd-fixed-top-right { position: fixed; top: 40px; right: 20px; z-index: 900; }
.ppd-kv b { font-size: .9rem; color: var(--text-subtle); }
.ppd-big { font-size: 1.6rem; font-weight: 700; color: var(--brand); font-feature-settings: "palt"; }
.ppd-amount-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.ppd-more-button {
  padding: 6px 12px; font-size: .75rem; font-weight: 700;
  background-color: var(--accent); color: #fff; border-radius: 99px;
  text-decoration: none;
}
@media (max-width: 600px) {
  .ppd-fixed-top-right {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: 100%;
    padding: 12px 16px; border-radius: 0; border-top: 1px solid rgba(0,0,0,0.05);
  }
}

/* =========================================
   6. Badge (Friends Series)
========================================= */
.badge-recommend {
  position: absolute; top: 0; left: 0; z-index: 10;
  background: #ef4444; /* 赤系で目立たせる */
  color: #fff;
  font-size: 0.85rem; font-weight: 700;
  padding: 6px 14px;
  border-bottom-right-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* =========================================
   7. transparency-promise
========================================= */
.transparency-promise {
  background-color: #fcfcfc;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  width: 94%;            /* スマホで端がくっつかないよう少し余白を確保 */
  max-width: 980px;      /* Aboutなど他のエリアと同じ最大幅にする */
  margin: 40px auto;     /* 上下40px、左右は自動（中央揃え）にする */
  font-family: sans-serif;
  color: #333;
}

.transparency-promise h3 {
  text-align: center;
  font-size: 1.4em;
  margin-bottom: 20px;
  color: #2c3e50;
  border-bottom: 2px solid #ffcc00;
  display: inline-block;
  padding-bottom: 5px;
  width: 100%;
}

.promise-lead {
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #d35400;
}

.promise-content {
  line-height: 1.8;
}

.promise-item {
  margin-bottom: 20px;
}

.promise-title {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  font-size: 1.1em;
}

.promise-text {
  font-size: 0.95em;
  margin: 0;
}

/* スマートフォン用の調整 */
@media (max-width: 600px) {
  .transparency-promise {
    padding: 20px;
  }
  .transparency-promise h3 {
    font-size: 1.2em;
  }
  .promise-lead {
    font-size: 1.1em;
  }
}

/* =========================================
   9. Partner Section (Fund Logo)
========================================= */
.partner-section {
  padding: 0 1rem 3rem; /* SNSセクションの手前に配置 */
  text-align: center;
  position: relative;
  z-index: 2;
}

.partner-wrap {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid rgba(0,0,0,0.05); /* 上に薄い線を入れて区切りを明確に */
  padding-top: 2rem;
}

.partner-title {
  font-size: 1rem;
  color: var(--text-subtle);
  margin-bottom: 1.5rem;
  font-weight: normal;
  letter-spacing: 0.05em;
}

.partner-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.partner-logo {
  max-width: 200px; /* 大きすぎない上品なサイズ */
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.partner-logo:hover {
  opacity: 1;
}

.partner-caption {
  font-size: 0.85rem;
  color: var(--text-subtle);
  line-height: 1.6;
  margin: 0;
}

/* ロゴ画像のリンク設定 */
.partner-logo-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.partner-logo-link:hover {
  transform: scale(1.05); /* ホバー時に少し大きくする */
  opacity: 0.8;
}

/* テキストリンクの設定 */
.partner-text-link {
  color: inherit; /* 周りの文字色（--text-subtle）を継承 */
  text-decoration: underline; /* リンクであることを示す下線 */
  text-decoration-color: var(--accent); /* 下線の色をベージュ系に */
  font-weight: bold;
  transition: color 0.2s;
}

/* PC表示（ロゴと文字を横並びにする場合） */
@media (min-width: 768px) {
  .partner-logo-box {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    text-align: left;
  }
}

/* --- Support Methods Section --- */
.support-methods-section {
  padding: 4rem 1rem;
  background: rgba(255, 255, 255, 0.5);
}

.support-methods-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.support-methods-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.8rem;
  color: var(--brand);
  margin-bottom: 1.5rem;
}

/* 運営利益0%の強調ボックス */
/* パターン2：ナチュラルグリーン（誠実・安全性重視） */
.promise-highlight-box {
  background: #f0fdf4;       /* 薄いミントグリーン */
  border: 2px solid #2cb696; /* Noteカラーに近いグリーン */
  border-radius: 12px;
  padding: 1.2rem;
}

.promise-tag {
  font-size: 0.8rem;
  font-weight: bold;
  color: #166534;            /* 濃い緑 */
  margin-bottom: 0.3rem;
}

.promise-main {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a2e1f;            /* 深い緑黒 */
  margin: 0;
}

/* グリッドレイアウト */
.support-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 3列から2列に変更 */
  gap: 1.5rem;
  margin-bottom: 3rem;
  
  /* カードが横に広がりすぎて間延びしないよう、最大幅を制限して中央に寄せる */
  max-width: 700px; 
  margin-left: auto;
  margin-right: auto;
}

/* スマホ対応（既存のメディアクエリを確認） */
@media (max-width: 850px) {
  .support-options-grid {
    grid-template-columns: 1fr; /* スマホは1列のまま */
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* カード共通 */
.option-card {
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.3s;
}

.option-card:hover {
  transform: translateY(-5px);
}

.option-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.option-card h3 {
  font-size: 1.2rem;
  color: var(--brand);
  margin-bottom: 1rem;
}

.option-desc {
  font-size: 0.9rem;
  color: var(--text-subtle);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1; /* ボタンの位置を揃える */
}

/* ボタン調整 */
.btn-option {
  display: block;
  padding: 0.8rem;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.btn-suzuri { background: #dcfce7; color: #166534; }
.btn-note { background: #2cb696; color: #fff; }

.btn-option:hover { opacity: 0.8; }

