/*

Theme Name: HIGASA Crowdfunding LP v7b

Theme URI: https://example.com/

Author: SHOKI WATANABE

Description: HIGASA のクラウドファンディング LP 用ワンカラムテーマ（v7b：5枚スライダー対応・3:2比率）。

Version: 1.2.0

License: GNU General Public License v2 or later

Text Domain: higasa-lp-v7b

*/

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "YuGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 200; font-size: 13px; line-height: 1.9; color: #222; letter-spacing: 0.06em; background: #ffffff; padding-bottom: 88px;
}
.shippori-mincho-regular, h1, h2, h3, .heading-main, .heading-sub { font-family: "Shippori Mincho", serif; font-weight: 400; font-style: normal; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; background: #ffffff; }
.heading-eyebrow { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px; color: #f64000; font-weight: 800; }
.heading-main { font-size: 54px; line-height: 1.4; margin: 0 0 20px; }
p { font-size: 13px; margin: 0 0 1.2em; }

.site-header { position: fixed !important; top: 0; left: 0; width: 100%; z-index: 9999; background: rgba(255,255,255,0.96); border-bottom: 1px dashed #eee3d8; backdrop-filter: blur(10px); }
body { padding-top: 74px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo__img { height: 40px !important; width: auto !important; max-width: none; }
@media (min-width: 960px) { .site-logo__img { height: 56px !important; } }
.site-title-text { font-family: "Shippori Mincho", serif; font-size: 16px; letter-spacing: 0.18em; }
.site-nav { display: flex; gap: 18px; font-size: 11px; letter-spacing: 0.16em; }
.site-nav a { text-transform: uppercase; }

/* ▼▼▼ ヒーロー（スライダー・3:2比率） ▼▼▼ */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2; /* 3:2 の比率を固定 */
  background-color: #e5dfd6;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1; /* コンテンツより後ろ */
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroFade 30s infinite; /* 5枚 x 6秒 = 30秒周期 */
}

/* アニメーション遅延設定（5枚用） */
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
.hero-slide:nth-child(5) { animation-delay: 24s; }

/* ふわっと切り替わるキーフレーム */
@keyframes heroFade {
  0% { opacity: 0; animation-timing-function: ease-in; }
  3% { opacity: 1; animation-timing-function: ease-out; } /* 1秒弱でフェードイン */
  20% { opacity: 1; } /* 5秒間表示 */
  23% { opacity: 0; } /* 1秒弱でフェードアウト */
  100% { opacity: 0; }
}

.about-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr); gap: 56px; }
@media (max-width: 960px) { .about-layout { grid-template-columns: 1fr; } }
.about-text { font-size: 13px; }
.about-plan { border: none; background: #ffffff; padding: 16px; }
.concept-images { margin-top: 32px; }
.concept-images-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 768px) { .concept-images-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.history { overflow-x: auto; padding-bottom: 16px; position: relative; }
.history-inner { display: inline-flex; gap: 24px; padding-bottom: 4px; }
.history-card { min-width: 260px; border-radius: 8px; border: none; padding: 16px 16px 14px; background: #ffffff; white-space: normal; }
.history-card__phase { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 8px; background-color: #000; color: #fff; padding: 5px; width: 35%; text-align: center; }
.history-card__title { font-size: 15px; margin-bottom: 6px; }
.history-card__year { font-size: 11px; color: #777; }
.history-card__images { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.history-card__images img { border-radius: 6px; border: none; width: 100%; height: 180px; object-fit: cover; display: block; }
@media (min-width: 960px) { .history-card__images img, .history-photo { height: 200px; } }
.history-scroll-hint { font-size: 10px; color: #777; display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.history-scroll-hint::after { content: "→"; font-size: 12px; }
.history-plan { object-fit: contain !important; height: auto !important; }

.budget-table-wrap { margin-top: 32px; }
.budget-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.budget-table th, .budget-table td { padding: 10px 6px; border-bottom: 1px dashed #e5ded5; }
.budget-table th { text-align: left; background: #ffffff; }
.budget-table tr.budget-total-row th, .budget-table tr.budget-total-row td { border-top: 3px double #b3aa9e; }

.rewards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; margin-top: 32px; }
.reward-card { border-radius: 10px; border: none; background: #ffffff; padding: 16px 16px 18px; display: flex; flex-direction: column; height: 100%; text-align: center !important; align-items: center !important; }
.reward-card__title { font-size: 24px; margin-bottom: 6px; }
.reward-card__price { font-size: 28px; font-weight: 600; margin-bottom: 4px; }
.reward-card__meta { font-size: 11px; margin-bottom: 8px; }
.reward-card__thumb { margin: 10px 0; border-radius: 6px; overflow: hidden; }
.reward-card__thumb img { margin: 0 auto; }
.reward-card__excerpt { font-size: 12px; flex: 1 1 auto; }
.reward-card__form { margin-top: 10px; font-size: 11px; }
.reward-form-row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.reward-form-row label { font-size: 10px; }
.reward-form-row input, .reward-form-row textarea { width: 100%; padding: 6px 8px; border-radius: 4px; border: 1px solid #ccc4b8; font-size: 11px; font-family: "Noto Sans JP", system-ui, sans-serif; }
.reward-form-row textarea { min-height: 60px; resize: vertical; }
.reward-card__btn { margin-top: 6px; align-self: flex-start; padding: 7px 18px; font-size: 11px; border-radius: 999px; border: 1px solid #111; background: #111; color: #fff; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; margin-left: auto; margin-right: auto; }
.reward-card__btn:hover { opacity: 0.9; }

.members-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
@media (min-width: 768px) { .members-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .members-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.member-card { border-radius: 10px; border: none; background: #ffffff; padding: 16px; text-align: center; }
.member-card__thumb { width: 100%; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.member-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.member-card__name { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.member-card__role { font-size: 10px; color: #777; margin-bottom: 8px; }
.member-card__bio { font-size: 12px; }

.access-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 40px; }
@media (max-width: 960px) { .access-layout { grid-template-columns: 1fr; } }
.access-box { background: #ffffff; border-radius: 10px; border: none; padding: 16px 18px; }
.access-label { font-size: 8px; margin-bottom: 4px; border: solid 0.5px #000; padding: 4px; width: 85px; text-align: center; }
.access-address { font-size: large; }
.access-map { background: #ded8cf; border-radius: 10px; overflow: hidden; min-height: 260px; }
.ending { max-width: 720px; font-size: 13px; }

/* フッターバー（Funding Bar） */
.funding-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; border-top: none; background: rgba(15, 12, 8, 0.96); color: #f8f4ec; backdrop-filter: blur(18px); box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.25); }
.funding-bar__inner { max-width: 1120px; margin: 0 auto; padding: 12px 24px 14px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.funding-main { display: flex; flex-wrap: wrap; gap: 20px; align-items: baseline; font-size: 12px; }
.funding-main__label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; }
.funding-main__amount { font-size: 20px; font-weight: 600; margin-right: 10px; color: #ffffff; }
.funding-main__goal { font-size: 11px; opacity: 0.85; }
.funding-sub { text-align: right; font-size: 11px; }
.funding-sub__meta { margin-bottom: 6px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
.funding-note { font-size: 10px; color: rgba(230, 223, 215, 0.9); margin-top: 4px; }
.funding-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.funding-actions .btn-primary { padding: 9px 24px; border-radius: 999px; border: 1px solid #f6f0e6; background: #F64000; color: #FFF; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35); transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.funding-actions .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); }
.funding-actions .btn-ghost { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(246, 240, 230, 0.5); background: transparent; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; color: #f6f0e6; opacity: 0.9; transition: background 0.15s ease, opacity 0.15s ease; }
.funding-actions .btn-ghost:hover { background: rgba(246, 240, 230, 0.09); opacity: 1; }

@media (min-width: 960px) {
  .funding-bar__inner { padding: 14px 32px 16px; display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.8fr); gap: 32px; align-items: center; }
  .funding-main { gap: 28px; }
  .funding-main__amount { font-size: 26px; }
  .funding-main__goal { font-size: 12px; }
  .funding-sub { font-size: 12px; }
  .funding-note { font-size: 11px; }
  .funding-actions .btn-primary { font-size: 13px; padding: 11px 30px; }
  .funding-actions .btn-ghost { font-size: 11px; }
  .rewards-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 32px; text-align:center; }
}

@media (max-width: 800px) {
  .funding-bar__inner { padding: 10px 16px 12px; gap: 16px; flex-direction: column; align-items: stretch; }
  .funding-bar { background: rgba(20, 16, 10, 0.97); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22); }
  .funding-main { justify-content: space-between; width: 100%; gap: 10px; }
  .funding-main__amount { font-size: 22px; }
  .funding-main__goal { display: none; }
  .funding-sub { width: 100%; text-align: center; }
  .funding-actions { justify-content: space-between; width: 100%; gap: 10px; }
  .btn-share, .btn-line { display: none; }
  .btn-copy { flex: 0 0 auto; padding: 10px; }
  .btn-primary.btn-cta { flex: 1; padding: 12px 0; font-size: 16px; display: flex; justify-content: center; align-items: center; }
}

.fade-in-up { opacity: 1; transform: translateY(0); }
.section:not(:first-of-type) { border-top: 1px dashed #e5ded5; padding-top: calc(var(--section-padding, 64px) + 8px); }
section#about { border: none; }
html, body { overflow-x: hidden; width: 100%; }

/* ハンバーガーメニュー */
.hamburger-btn { display: none; background: none; border: none; cursor: pointer; width: 48px; height: 48px; position: relative; z-index: 1000; padding: 0; margin-left: auto; }
.hamburger-bar { display: block; width: 26px; height: 2px; background-color: #333; position: absolute; left: 11px; transition: all 0.3s ease; }
.hamburger-bar:nth-child(1) { top: 16px; }
.hamburger-bar:nth-child(2) { top: 23px; }
.hamburger-bar:nth-child(3) { top: 30px; }
.hamburger-btn.is-active .hamburger-bar:nth-child(1) { top: 23px; transform: rotate(45deg); }
.hamburger-btn.is-active .hamburger-bar:nth-child(2) { opacity: 0; }
.hamburger-btn.is-active .hamburger-bar:nth-child(3) { top: 23px; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .hamburger-btn { display: block; }
  .site-nav { position: fixed; top: 0; left: 0; width: 100%; height: 100dvh; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); flex-direction: column; justify-content: center; align-items: center; gap: 24px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; z-index: 900; padding-top: 80px; }
  .site-nav.is-active { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav a { font-size: 18px; padding: 10px 0; width: 100%; text-align: center; display: block; }
}

/* モーダル */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 1000; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(4px); }
.modal-overlay.is-open { display: flex; }
.modal-content { background: #fff; width: 100%; max-width: 500px; border-radius: 12px; padding: 32px; position: relative; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); max-height: 90vh; overflow-y: auto; animation: modalSlideUp 0.3s ease-out; }
@keyframes modalSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-close-btn { position: absolute; top: 16px; right: 16px; background: transparent; border: none; font-size: 24px; cursor: pointer; color: #999; line-height: 1; }
.modal-title { font-family: "Shippori Mincho", serif; font-size: 20px; margin-bottom: 24px; text-align: center; }
.modal-reward-name { background: #f4f4f4; padding: 12px; border-radius: 6px; margin-bottom: 24px; font-size: 13px; font-weight: bold; }

/* =========================================
   ▼▼▼ ヒーローエリアの応援コメント（グラスモーフィズム版） ▼▼▼
   ========================================= */

.hero-comments-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 10;
}

.hero-comment-bubble {
  position: absolute;
  
  /* ▼ グラスモーフィズム（すりガラス）設定 ▼ */
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  
  padding: 14px 18px;
  border-radius: 12px;
  border-bottom-left-radius: 2px;
  
  max-width: 240px;
  opacity: 0;
  transform: translateY(20px);
  animation: floatBubble 9s ease-in-out infinite; /* PCは9秒でゆったり */
}

/* スマホ用調整 */
@media (max-width: 768px) {
  .hero-comment-bubble {
    padding: 10px 14px;
    max-width: 160px;
    backdrop-filter: blur(6px);
    
    /* ▼▼▼ 追加：スマホだけ表示時間を短くする（6秒） ▼▼▼ */
    animation-duration: 6s; 
  }
}

.hero-comment-label {
  font-size: 9px;
  font-weight: 700;
  color: #f64000;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.hero-comment-text {
  margin: 0 !important;
  font-size: 11px;
  line-height: 1.6;
  color: #222;
  font-weight: 500;
  
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

@keyframes floatBubble {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  10% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-15px);
  }
  90% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
}

/* =========================================
   ▼▼▼ フッターバー（2段構成・炎ゲージ強調版） ▼▼▼
   ========================================= */

.funding-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  border-top: none;
  background: rgba(15, 12, 8, 0.98); /* ほぼ黒 */
  color: #f8f4ec;
  backdrop-filter: blur(18px);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.25);
  padding-bottom: env(safe-area-inset-bottom);
}

.funding-bar__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 24px 14px;
  /* グリッドではなくブロックとして積み重ねる */
  display: block; 
}

/* --- 【上段】支援者ゲージエリア --- */
.funding-gauge-area {
  width: 100%;
  margin-bottom: 14px; /* 下段との隙間 */
}

.funding-gauge-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  line-height: 1;
}

.funding-gauge-label__title {
  font-size: 11px;
  opacity: 0.7;
  letter-spacing: 0.1em;
}

.funding-gauge-label__current {
  font-size: 18px;
  font-weight: 700;
  color: #ffcc00; /* 黄色で強調 */
}

.funding-gauge-label__next {
  font-size: 11px;
  opacity: 0.6;
}

/* ゲージ本体（太くする） */
.supporter-gauge-wrap {
  width: 100%;
  height: 12px; /* ★デカめ（太く） */
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

/* 炎グラデーション */
.supporter-gauge-bar {
  height: 100%;
  background: linear-gradient(90deg, #f64000 0%, #ffcc00 100%);
  border-radius: 99px;
  transition: width 1s ease-out;
  box-shadow: 0 0 10px rgba(246, 64, 0, 0.7); /* 発光感 */
}

/* --- 【下段】メインデータエリア --- */
.funding-main-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 4px;
}

.funding-main {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.funding-main > div {
  display: flex;
  flex-direction: column-reverse;
}

.funding-main__label {
  font-size: 10px;
  opacity: 0.6;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.funding-main__amount {
  font-size: 20px;
  font-weight: 600;
  margin-right: 6px;
}

.funding-main__goal {
  font-size: 11px;
  opacity: 0.7;
}

/* アクションボタン群 */
.funding-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.funding-actions .btn-primary {
  padding: 10px 28px;
  border-radius: 999px;
  background: #F64000;
  color: #FFF;
  font-size: 13px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  letter-spacing: 0.1em;
}

.funding-actions .btn-ghost {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #ddd;
  font-size: 10px;
  cursor: pointer;
}
.funding-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
}

/* --- スマホ対応（960px以下） --- */
@media (max-width: 960px) {
  .funding-bar__inner {
    padding: 12px 16px 14px; /* 余白調整 */
  }

  /* 下段を縦積みに変更 */
  .funding-main-area {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .funding-main {
    justify-content: space-between;
    width: 100%;
    gap: 10px;
  }
  
  .funding-main__amount {
    font-size: 18px;
  }
  
  .funding-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .funding-actions .btn-primary {
    flex: 1; /* ボタンを幅いっぱいに */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
  }
  
  /* スマホでは文字ボタンを少し小さく */
  .funding-actions .btn-ghost {
    padding: 8px 10px;
    font-size: 9px;
  }
}

/* =========================================
   ▼▼▼ 応援コメント・ニュースティッカー ▼▼▼
   ========================================= */

.comment-ticker {
  width: 100%;
  border-bottom: 1px dashed #e5ded5;
  overflow: hidden;
  padding: 15px 0;
  position: relative;
}

/* 左右のフェード（端を消す） */
.comment-ticker::before,
.comment-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}
.comment-ticker::before {
  left: 0;
  background: linear-gradient(to right, #f8f4ec, transparent);
}
.comment-ticker::after {
  right: 0;
  background: linear-gradient(to left, #f8f4ec, transparent);
}

.comment-ticker__inner {
  display: flex;
  overflow: hidden;
}

.comment-ticker__track {
  display: flex;
  white-space: nowrap;
  animation: tickerLoop 60s linear infinite; /* 60秒かけて一周 */
}

/* マウスホバーで停止（PCのみ） */
.comment-ticker:hover .comment-ticker__track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  background: #fff;
  padding: 8px 20px;
  margin: 0 10px;
  border-radius: 99px; /* 丸い吹き出し風 */
  border: 1px solid #eee3d8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.ticker-item__name {
  font-size: 11px;
  font-weight: 700;
  color: #f64000; /* オレンジ */
  margin-right: 12px;
  flex-shrink: 0;
}

.ticker-item__text {
  font-size: 12px;
  color: #444;
  font-weight: 500;
}

/* 横流しのアニメーション */
@keyframes tickerLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* スマホ用調整 */
@media (max-width: 768px) {
  .comment-ticker {
    padding: 10px 0;
  }
  .ticker-item {
    padding: 6px 15px;
  }
  .ticker-item__text {
    font-size: 11px;
  }
  .comment-ticker__track {
    animation-duration: 40s; /* スマホは少し早めに流す */
  }
}

/* --- 銀行振込セクションのデザイン --- */
.bank-transfer-section {
    margin-top: 60px;
    padding: 40px 20px;
    background: #fdfaf7; /* 非常に薄い暖色 */
    border: 2px dashed #f64000;
    border-radius: 16px;
    text-align: center;
}
.bank-transfer-section h3 {
    font-size: 24px;
    color: #f64000;
    margin-bottom: 15px;
}
.bank-transfer-btn {
    background: #f64000;
    color: #fff;
    padding: 16px 40px;
    border-radius: 99px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(246, 64, 0, 0.3);
}
.bank-transfer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 64, 0, 0.4);
}
.bank-form-wrapper {
    max-width: 500px;
    margin: 30px auto 0;
    text-align: left;
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.bank-result-box {
    max-width: 500px;
    margin: 20px auto 0;
    padding: 30px;
    background: #fff;
    border: 2px solid #f64000;
    border-radius: 12px;
    animation: modalSlideUp 0.4s ease-out;
}
.amount-display {
    font-size: 28px;
    font-weight: bold;
    color: #f64000;
    margin: 20px 0;
}
.bank-details {
    background: #f8f8f8;
    padding: 20px;
    margin: 20px 0;
    line-height: 2;
    text-align: left;
    border-radius: 8px;
    font-size: 14px;
}

/* --- スマホ用：返礼品2カラム設定 --- */
@media (max-width: 767px) {
  .rewards-grid {
    grid-template-columns: 1fr 1fr !important; /* 強制的に2カラム */
    gap: 10px !important; /* 隙間を狭くする */
    padding: 0 10px;
  }

  .reward-card {
    padding: 12px 8px !important; /* カード内の余白を詰める */
    min-height: auto;
  }

  .reward-card__title {
    font-size: 14px !important; /* タイトルを小さく */
    line-height: 1.3;
  }

  .reward-card__price {
    font-size: 16px !important; /* 金額を強調 */
    margin-bottom: 8px;
  }

  .reward-card__excerpt {
    font-size: 10px !important; /* 説明文を最小限に */
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 3行超えたら「...」で隠す */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .reward-card__btn {
    font-size: 10px !important; /* ボタンの文字を小さく */
    padding: 8px 4px !important;
    width: 100%;
  }
}