/* =========================
   About Page Layout
========================= */
#about-page {
  padding: clamp(2.5rem, 4vw, 3.5rem) 1rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(254,249,195,0.7), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(221,239,253,0.7), transparent 55%),
    #f8fafc;
}

#about-page .about-container {
  max-width: 800px; margin: 0 auto;
  background: #ffffff; border-radius: 1.75rem;
  box-shadow: 0 14px 40px rgba(15,23,42,0.08);
  border: 1px solid rgba(148,163,184,0.35);
  position: relative; overflow: hidden;
  padding: 40px;
  line-height: 1.8; color: #333;
  
  /* Local Vars */
  --about-main: #d4a373;
  --about-bg: #faedcd;
}

/* Decorations */
#about-page .about-container::before,
#about-page .about-container::after {
  content: "🐾"; position: absolute; opacity: 0.08; pointer-events: none;
}
#about-page .about-container::before { font-size: 5rem; right: -0.5rem; top: -1rem; transform: rotate(-15deg); }
#about-page .about-container::after { font-size: 3.8rem; left: -0.5rem; bottom: -0.8rem; transform: rotate(12deg); }

/* Typography */
.about-container h1 {
  font-size: 24px; color: var(--about-main); text-align: center;
  border-bottom: 2px solid var(--about-main); padding-bottom: 10px; margin-bottom: 24px;
}
.about-container h2 {
  font-size: 20px; background-color: var(--about-bg); color: #555;
  padding: 10px 15px; border-radius: 8px; margin: 40px 0 20px;
}
.about-container h3 {
  font-size: 18px; border-left: 5px solid var(--about-main);
  padding-left: 10px; margin: 30px 0 15px;
}
.about-container p { margin-bottom: 1.5em; }
.about-container ul {
  background-color: #f9f9f9; padding: 20px 20px 20px 40px;
  border-radius: 8px; border: 1px solid #eee;
}
.about-container li { margin-bottom: 10px; }

.about-container strong, .about-container b {
  color: #b35d35;
  background: linear-gradient(transparent 70%, #ffebd4 70%);
}
.pawfect-note {
  font-size: 0.85em; color: #777;
  margin-top: 40px; padding-top: 20px;
  border-top: 1px dashed #ccc;
}

@media (max-width: 600px) {
  .about-container { padding: 15px; }
  .about-container h1 { font-size: 20px; }
}

/* =========================
   About Page Buttons
========================= */

/* ボタンを囲む枠（縦並び＆幅制限） */
.about-actions-wrap {
  display: flex;
  flex-direction: column; /* 縦並びにする */
  gap: 0.8rem;            /* ボタン間の隙間 */
  max-width: 400px;       /* ★重要：PCでボタンが横に長くなりすぎないように制限 */
  margin: 0 auto;         /* 中央寄せ */
}

/* ボタン共通スタイル（先ほどの設定をAboutページでも適用） */
.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;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Aboutページ用に少し影を追加 */
}

.series-btn .icon {
  line-height: 1;
  font-size: 1.1em;
  margin-bottom: 2px; /* アイコンの高さ微調整 */
}

.series-btn:hover { opacity: .9; transform: translateY(-2px); }

/* 色設定 */
.btn-base { background: #e2e8f0; color: #334155; }
.btn-suzuri { background: #dcfce7; color: #166534; }

/* =========================
   Fund Logo Section
========================= */
.fund-logo-wrap {
  text-align: center;
  margin: 2rem 0;       /* 上下の余白 */
  padding: 1.5rem;
  background: #fdfdfd;  /* 背景をほんのり明るく */
  border: 1px dashed #d4a373; /* ブランドカラーの点線枠で囲む */
  border-radius: 12px;
}

.fund-logo-img {
  max-width: 240px;     /* ロゴが大きくなりすぎないように制限 */
  width: 100%;
  height: auto;
  margin: 0 auto 0.8rem; /* 下に少し余白 */
  display: block;
}

.fund-caption {
  font-size: 0.9rem;
  color: #555;
  margin: 0 !important; /* デフォルトのpタグ余白を打ち消し */
  font-weight: bold;
  line-height: 1.5;
}

/* Noteリストの調整 */
.note-support-list {
    margin-bottom: 2rem;
}

/* Noteボタンの色調整（aboutページのスタイルに合わせる） */
.btn-note {
    background-color: #2cb696 !important; /* Noteのブランドカラー */
    color: #fff !important;
    border: none;
}

.btn-note:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(44,182,150,0.3);
}

/* 支援方法のグリッドレイアウト */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* 自動で横並び・縦並びを調整 */
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

/* カードのデザイン */
.support-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.support-card h3 {
    font-size: 1.1rem !important;
    border: none !important; /* h3の共通スタイルを打ち消し */
    background: none !important;
    padding: 0 !important;
    margin: 0 0 1rem !important;
    color: var(--brand) !important;
}

.support-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-subtle);
}

/* メンバーシップボタン用の色 */
.btn-membership {
    background: var(--accent-light);
    color: var(--brand);
    border: 1px solid var(--accent);
}

/* スマホ対応の調整 */
@media (max-width: 600px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
}

/* 改行されてもすべての行にマーカーを引く設定 */
.highlight-promise {
    background: linear-gradient(transparent 60%, var(--accent-light) 60%); /* 太めのマーカー */
    font-weight: bold;
    color: var(--accent-warm);
    padding: 0 4px;
    
    /* 修正ポイント：インライン要素にして改行を許可し、装飾を複製する */
    display: inline; 
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* 寄付先リンクのスタイル */
.fund-link {
    color: inherit; /* 親要素（fund-caption）の色を継承 */
    text-decoration: underline; /* リンクであることを示す下線 */
    text-decoration-color: var(--accent); /* 下線の色をアクセントカラーに */
    transition: opacity 0.2s;
}

.fund-link:hover {
    opacity: 0.7; /* ホバー時に少し透明にして反応を出す */
    text-decoration: none; /* ホバー時は線を消す（お好みで） */
}

/* ロゴ画像リンクのホバー時 */
.fund-logo-wrap a {
    display: inline-block;
    transition: transform 0.2s;
}

.fund-logo-wrap a:hover {
    transform: scale(1.02); /* わずかに大きくして「押せる感」を出す */
}

/* なぜ0円かセクションの装飾 */
.why-zero-cost {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #fffaf0; /* 非常に薄いオレンジ */
    border: 2px solid var(--accent-light);
    border-radius: 1rem;
}

.why-zero-cost h3 {
    text-align: center;
    border: none !important;
    background: none !important;
    color: var(--brand) !important;
    margin-bottom: 1.5rem !important;
}

.zero-cost-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.zero-cost-item h4 {
    color: var(--accent-warm);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.zero-cost-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.zero-cost-footer {
    text-align: center;
    font-weight: bold;
    font-size: 0.95rem;
    color: var(--brand);
    border-top: 1px dashed var(--accent);
    padding-top: 1.5rem;
}

/* スマホ対応 */
@media (max-width: 600px) {
    .zero-cost-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
