/*

Theme Name: HIGASA Crowdfunding LP v7b

Theme URI: https://example.com/

Author: SHOKI WATANABE

Author URI: https://example.com/

Description: HIGASA のクラウドファンディング LP 用ワンカラムテーマ（v7のブラッシュアップ版。間取り図カスタムフィールド追加 / コンテナ枠線整理 / ヒーロー高さ調整）。

Version: 1.1.0

License: GNU General Public License v2 or later

License URI: https://www.gnu.org/licenses/gpl-2.0.html

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: sticky;

  top: 0;

  z-index: 50;

  background: rgba(255,255,255,0.96);

  border-bottom: 1px dashed #eee3d8;

  backdrop-filter: blur(10px);

}



.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;

}



@media (min-width: 960px) {

  .site-logo__img {

    height: 56px;

  }

}



.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;

}



.hero {

  position: relative;

  width: 100%;

  min-height: 950px;

  background-color: #e5dfd6;

  background-size: cover;

  background-position: center center;

  background-repeat: no-repeat;

}



.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;

}



.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;

}



.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%;

}



.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__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, -apple-system, BlinkMacSystemFont, 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;

}



.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 {

  position: fixed;

  inset-inline: 0;

  bottom: 0;

  z-index: 60;

  border-top: 1px dashed #e5ded5;

  background: rgba(255,255,255,0.98);

  backdrop-filter: blur(14px);

}



.funding-bar__inner {

  max-width: 1040px;

  margin: 0 auto;

  padding: 10px 24px 12px;

  display: grid;

  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.4fr);

  gap: 24px;

  align-items: center;

}



@media (max-width: 800px) {

  .funding-bar__inner {

    grid-template-columns: 1fr;

    gap: 12px;

  }

}



.funding-main {

  display: flex;

  flex-wrap: wrap;

  gap: 18px;

  align-items: baseline;

  font-size: 12px;

}



.funding-main__label {

  font-size: 11px;

}



.funding-main__amount {

  font-size: 18px;

  font-weight: 600;

  margin-right: 8px;

}



.funding-main__goal {

  font-size: 11px;

  color: #555;

}



.funding-sub {

  text-align: right;

  font-size: 11px;

}



@media (max-width: 800px) {

  .funding-sub {

    text-align: left;

  }

}



.funding-sub__meta {

  margin-bottom: 6px;

}



.funding-note {

  font-size: 10px;

  color: #777;

  margin-top: 2px;

}



.funding-actions {

  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 8px;

  margin-top: 4px;

}



@media (max-width: 800px) {

  .funding-actions {

    justify-content: flex-start;

  }

}



.btn-primary {

  padding: 8px 22px;

  border-radius: 999px;

  border: 1px solid #111;

  background: #111;

  color: #fff;

  font-size: 11px;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  cursor: pointer;

}



.btn-primary:hover {

  opacity: 0.9;

}



.btn-ghost {

  padding: 7px 10px;

  border-radius: 999px;

  border: 1px solid #c1b6aa;

  background: transparent;

  font-size: 10px;

  cursor: pointer;

}



.btn-ghost:hover {

  background: rgba(0,0,0,0.02);

}




/* デフォルトで見える状態にしておく */
.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

/* is-visible になったときだけ、ちょっとだけふわっとさせたい場合は transform だけ使う */
.fade-in-up.is-visible {
  /* ここでアニメーションしたいなら、別のクラスを足して使う形にする */
}




.site-footer {

  border-top: 1px dashed #e5ded5;

  background: #ffffff;

  font-size: 10px;

  text-align: center;

  padding: 14px 16px 70px;

}

/* --- 返礼品 3カラム表示（PC） --- */

@media (min-width: 960px) {

  .rewards-grid {

    grid-template-columns: repeat(3, 1fr) !important; /* 強制的に3列 */

    gap: 32px;

  text-align:center;

  }

}



/* --- モーダルウィンドウ --- */

.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;

}



/* 返礼品カードの中身をすべて中央寄せにする */

.reward-card {

  text-align: center !important;

  align-items: center !important; /* Flexboxの子要素を左右中央へ */

}



/* 画像自体も中央に配置 */

.reward-card__thumb img {

  margin: 0 auto;

}



/* ボタンも中央配置 */

.reward-card__btn {

  margin-left: auto;

  margin-right: auto;

}

/* =========================================

   モバイル修正パッチ

   ========================================= */



/* 1. 横スクロール（ガクガク揺れ）の完全防止 */

html, body {

    overflow-x: hidden;

    width: 100%;

}



/* 2. ヒーローヘッダーの高さ調整

   PCでは950pxですが、スマホでは画面サイズ(100dvh)に合わせます */

@media (max-width: 959px) {

    .hero {

        min-height: 100dvh; /* 画面の高さぴったりにする */

        height: auto;

    }

}



/* 3. ロゴが表示されない問題の修正

   グローバル設定の img { height: auto; } が優先されている可能性があるため、

   強制的に高さを指定し直します */

.site-logo__img {

    height: 40px !important; /* !importantで強制適用 */

    width: auto !important;  /* 幅を自動計算させる */

    max-width: none;         /* 親要素による制限を解除 */

}



/* ==================================================

   ▼▼▼【追加】ハンバーガーメニュー＆追従ヘッダー用 ▼▼▼

   ================================================== */



/* --- ハンバーガーボタン（PCでは非表示） --- */

.hamburger-btn {

  display: none; /* PCでは消す */

  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;

}



/* 3本線の位置 */

.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);

}



/* --- モバイル時のスタイル（960px以下） --- */

@media (max-width: 960px) {

  

  /* ボタンを表示 */

  .hamburger-btn {

    display: block;

  }



  /* ナビゲーションをスマホ用オーバーレイに変更 */

  .site-nav {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100vh; /* 画面全体 */

    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;

  }



  /* クラスがついた時（表示する） */

  .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;

  }

}



/* =========================================

   ▼▼▼【修正】ヘッダーを強制的に固定する記述 ▼▼▼

   ========================================= */



/* 1. ヘッダーを sticky ではなく fixed に変更 */

.site-header {

  position: fixed !important; /* 強制的に固定 */

  top: 0;

  left: 0;

  width: 100%;

  z-index: 9999; /* どの要素よりも最前面に */

}



/* 2. ヘッダーが浮いた分、中身が隠れないように body を下げる */

body {

  padding-top: 74px; /* ヘッダーの高さ分（微調整してください） */

}



/* 3. モバイルメニューがヘッダーの下に潜り込まないよう調整 */

@media (max-width: 960px) {

  .site-nav {

    top: 0;

    z-index: 9000; /* ヘッダー(9999)よりは奥、コンテンツよりは手前 */

    padding-top: 80px; /* メニュー内の文字がヘッダーと被らないように */

  }

}



/* =========================================

   ▼▼▼【修正】固定フッターのデザイン刷新 ▼▼▼

   ========================================= */



/* 1. バー全体の見た目整理 */

.funding-bar {

  background: rgba(255, 255, 255, 0.98);

  border-top: none;

  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08); /* 浮き上がっているような影 */

  padding-bottom: env(safe-area-inset-bottom); /* iPhone下部のバー対策 */

}



.funding-bar__inner {

  max-width: 1000px;

  margin: 0 auto;

  padding: 12px 24px;

  display: flex; /* グリッドをやめてフレックスに */

  align-items: center;

  justify-content: space-between;

  gap: 20px;

}



/* 2. 左側：数字データエリア */

.funding-main {

  display: flex;

  align-items: center;

  gap: 24px;

}



/* 各データの塊 */

.funding-main > div {

  display: flex;

  flex-direction: column-reverse; /* 数字を上に、ラベルを下に */

}



/* ラベル（「支援総額」など）は小さく薄く */

.funding-main__label {

  font-size: 10px;

  color: #888;

  letter-spacing: 0.05em;

  margin-top: 2px;

}



/* 金額（主役） */

.funding-main__amount {

  font-family: "Helvetica Neue", Arial, sans-serif; /* 数字が綺麗なフォント */

  font-size: 26px;

  font-weight: 700;

  color: #111;

  line-height: 1;

  letter-spacing: 0;

}



/* 目標金額・達成率 */

.funding-main__goal {

  font-size: 11px;

  color: #666;

  margin-left: 4px;

}



/* 支援者数・残り日数（PCでは少し控えめに表示） */

.funding-main > div:not(:first-child) div:last-child {

  font-family: "Helvetica Neue", Arial, sans-serif;

  font-size: 16px;

  font-weight: 600;

  line-height: 1;

}



/* 3. 右側：アクションエリア */

.funding-sub {

  text-align: right;

  flex-shrink: 0; /* 縮ませない */

}



.funding-actions {

  display: flex;

  align-items: center;

  gap: 12px;

}



/* シェア系ボタンは控えめに */

.btn-ghost {

  border: 1px solid #ddd;

  color: #666;

  font-size: 11px;

  padding: 6px 12px;

  transition: all 0.2s;

}

.btn-ghost:hover {

  background: #f5f5f5;

  border-color: #ccc;

}



/* メインのCTAボタン（応援購入する）を強力に目立たせる */

.btn-primary.btn-cta {

  background: #f64000; /* 目立つアクセントカラー（オレンジ系） */

  border: none;

  color: #fff;

  font-size: 15px;

  font-weight: bold;

  padding: 12px 32px;

  border-radius: 4px; /* 丸すぎない方が信頼感がある場合も */

  box-shadow: 0 4px 10px rgba(246, 64, 0, 0.3);

  transform: translateY(0);

  transition: all 0.2s;

}



.btn-primary.btn-cta:hover {

  transform: translateY(-2px); /* ホバーで少し浮く */

  box-shadow: 0 6px 14px rgba(246, 64, 0, 0.4);

  opacity: 1; /* 透明度は変えない */

}



/* 注釈は極小で */

.funding-note {

  display: none; /* デザイン重視で一旦非表示にするか、必要なら以下で表示 */

  /* display: block; font-size: 9px; margin-top: 4px; opacity: 0.6; */

}





/* =========================================

   スマホ表示（960px以下）の最適化

   ========================================= */

@media (max-width: 960px) {

  

  .funding-bar__inner {

    padding: 12px 16px;

    gap: 16px;

    /* スマホでは2段組にする（上がデータ、下がボタン） */

    flex-direction: column; 

    align-items: stretch;

  }



  /* データ部分 */

  .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;

  }



  /* シェアボタン群はアイコンだけにするか、思い切って非表示 */

  /* ここでは「URLコピー」以外を隠してスペース確保 */

  .btn-share, .btn-line {

    display: none;

  }

  .btn-copy {

    flex: 0 0 auto;

    padding: 10px;

  }



  /* CTAボタンを画面幅いっぱいに */

  .btn-primary.btn-cta {

    flex: 1; /* 残りの幅を全部使う */

    padding: 12px 0;

    font-size: 16px;

    display: flex;

    justify-content: center;

    align-items: center;

  }

}

/* ===========================
   Funding Bar（下部固定フッター）PC強調用
   style.css の一番最後あたりに追記
   =========================== */

/* 共通のベースを少しだけ強く */
.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;
}

/* ラベル・数字の雰囲気を整える */
.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);
  background: #ffffff;
  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;
}

/* ---------------------------
   PC 表示時だけ少し大きめ＆横並びを強調
   --------------------------- */
@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;
  }
}

/* スマホ側は既存レイアウトを活かしつつ、強すぎない感じで */
@media (max-width: 800px) {
  .funding-bar__inner {
    padding: 10px 16px 12px;
  }

  .funding-bar {
    background: rgba(20, 16, 10, 0.97);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22);
  }
}

/* ===========================
   「これまでの軌跡」写真のサイズを強制的に統一
   =========================== */

.history-card__images img {
  width: 100%;
  height: 180px;          /* 好きな固定高さに調整してOK */
  object-fit: cover;      /* はみ出した分をトリミングして、枠いっぱいに表示 */
  display: block;
  border-radius: 6px;
  border: none;
}

/* PCでは少しだけ高さを出す例 */
@media (min-width: 960px) {
  .history-card__images img {
    height: 200px;
  }
}


/* 写真（サムネイル）：トリミングして統一サイズ */
.history-photo {
  width: 100%;
  height: 180px;         /* 固定高さ（調整可） */
  object-fit: cover;     /* はみ出しトリミング */
  border-radius: 6px;
  display: block;
}

@media (min-width: 960px) {
  .history-photo {
    height: 200px;
  }
}

/* 間取り図：トリミングせず縮小して全部表示 */
.history-plan {
  width: 100%;
  height: auto;          /* アスペクト比を維持して縮小 */
  object-fit: contain !important;  /* はみ出し禁止で全体が見える */
  border-radius: 6px;
  display: block;
  padding: 6px;          /* 図面の余白が欲しければ */
  box-sizing: border-box;
}

/* ===========================
   セクション区切り線
   ・ヒーロー直下以外に 1px 破線
   =========================== */

/* すべての section に対して一旦リセット */
.section {
  border-top: none;
}

/* ヒーロー直下以外の section にだけ区切り線を入れる */
.section:not(:first-of-type) {
  border-top: 1px dashed #e5ded5;
}

/* 少し余白を強調したい場合（任意） */
.section:not(:first-of-type) {
  padding-top: calc(var(--section-padding, 64px) + 8px);
}

section#about {
    border: none;
}
