/* ===================================================
   project.css  — ゆめかな祭り2026 /project ページ
   Design: snc-ts.com 参照・夜空×ランタンの世界観
   =================================================== */

:root {
  --bg-deep:    #090f1f;    /* 最深の夜空 */
  --bg-mid:     #0d1630;    /* メイン背景 */
  --bg-surface: #111e3a;    /* カード背景 */
  --bg-alt:     #0a1220;    /* 交互セクション */
  --gold:       #F5B200;    /* ランタンの光 */
  --gold-light: #FFD35A;    /* ハイライト */
  --amber:      #E8841A;    /* 炎・サブアクセント */
  --white:      #ffffff;
  --text-main:  rgba(255,255,255,0.90);
  --text-sub:   rgba(255,255,255,0.58);
  --text-muted: rgba(255,255,255,0.38);
  --border:     rgba(255,255,255,0.08);
  --border-gold:rgba(245,178,0,0.30);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-mid);
  color: var(--text-main);
  font-family: 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
  line-height: 2;
}

/* ===== BACK NAV ===== */
.back-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  background: linear-gradient(180deg, rgba(9,15,31,0.9) 0%, transparent 100%);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.back-link:hover { color: var(--gold); }

.back-arrow {
  font-size: 1rem;
  transition: transform 0.2s;
}

.back-link:hover .back-arrow { transform: translateX(-4px); }

/* ===== PROJECT HERO ===== */
#project-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* ===== Ken Burns スライドショー ===== */
.hero-slideshow {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
  /* 画像未配置時のフォールバックグラデーション */
  background-color: #0a1628;
}

.slide.active {
  opacity: 1;
}

/* Ken Burns: アニメーションはJS側でクラス付け替えにより再起動 */
.slide.kb-play-1 { animation: kb-1 7s ease-in-out forwards; }
.slide.kb-play-2 { animation: kb-2 7s ease-in-out forwards; }

@keyframes kb-1 {
  from { transform: scale(1.00) translate(0,    0);   }
  to   { transform: scale(1.12) translate(-4%,  -2%); }
}

@keyframes kb-2 {
  from { transform: scale(1.10) translate( 4%,  2%);  }
  to   { transform: scale(1.00) translate(-2%, -1%);  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(9,15,31,0.4)  0%,
    rgba(9,15,31,0.2)  40%,
    rgba(9,15,31,0.75) 100%
  );
}

/* ランタン浮遊アニメーション（JSで生成） */
.lanterns-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.lantern {
  position: absolute;
  bottom: -60px;
  width: 24px;
  height: 32px;
  opacity: 0;
  animation: floatUp var(--dur, 8s) var(--delay, 0s) ease-in infinite;
}

.lantern svg { width: 100%; height: 100%; }

@keyframes floatUp {
  0%   { transform: translateY(0)   translateX(0)   rotate(0deg);   opacity: 0; }
  10%  { opacity: 0.85; }
  80%  { opacity: 0.6; }
  100% { transform: translateY(-110vh) translateX(var(--dx, 30px)) rotate(var(--rot, 10deg)); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 20px 140px;
  max-width: 760px;
  margin: 0 auto;
  animation: fadeUp 1.2s 0.3s ease both;
}

.hero-date {
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  font-family: 'Noto Sans JP', sans-serif;
}

.hero-title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  text-shadow: 0 2px 32px rgba(0,0,0,0.5);
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--gold);
}

.hero-organizer {
  font-size: 0.82rem;
  color: var(--text-sub);
  margin-bottom: 32px;
  letter-spacing: 0.1em;
}

/* ヒーロー内ランタンカウンター */
.hero-lantern-count {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(9, 15, 31, 0.55);
  border: 1px solid rgba(245, 178, 0, 0.35);
  border-radius: 8px;
  padding: 20px 48px;
  backdrop-filter: blur(6px);
}

.hlc-label {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  font-family: 'Noto Sans JP', sans-serif;
}

.hlc-num {
  font-family: 'Cinzel', serif;
  color: var(--white);
  line-height: 1;
}

.hlc-num span:first-child {
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  font-weight: 700;
}

.hlc-unit {
  font-size: 1.2rem !important;
  margin-left: 6px;
  color: var(--text-sub);
}

.hlc-progress-wrap {
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.hlc-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 1s ease;
}

.hlc-goal {
  font-size: 0.72rem;
  color: var(--text-sub);
  letter-spacing: 0.1em;
}

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-deep);
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 52px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(245,178,0,0.35);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(245,178,0,0.5);
}

.scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  font-family: 'Cinzel', serif;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: var(--text-muted);
  animation: scrollPulse 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 0; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ===== STORY ===== */
#story {
  background: var(--bg-deep);
  padding: 120px 20px;
}

.story-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.story-block {
  display: flex;
  align-items: center;
  gap: 64px;
}

.story-block--reverse { flex-direction: row-reverse; }

.story-img-wrap {
  flex: 0 0 380px;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  overflow: hidden;
}

.story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-img-wrap:hover img { transform: scale(1.04); }

.story-text {
  flex: 1;
}

.story-text p {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 2.2;
  color: var(--text-main);
}

/* 全幅背景画像ブロック */
.story-block--fullimg {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 480px;
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
}

.story-fullimg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(9,15,31,0.55) 0%,
    rgba(9,15,31,0.35) 40%,
    rgba(9,15,31,0.65) 100%
  );
}

.story-block--fullimg .story-climax {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}

.story-lead {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  color: var(--white);
  line-height: 1.6;
  width: 100%;
}

.story-climax {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  text-align: center;
  color: var(--text-main);
  line-height: 2;
  width: 100%;
}

.story-block:has(.story-big-num) {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  width: 100%;
}

.story-big-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 20px;
  border-right: 1px solid var(--border);
}

.story-big-num:last-child { border-right: none; }

.big-num {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.lantern-progress-wrap {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
}

.lantern-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 1.2s ease;
}

.big-num-label small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.big-num-label {
  font-size: 0.78rem;
  color: var(--text-sub);
  text-align: center;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.story-resolve {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  color: var(--white);
  line-height: 1.8;
  width: 100%;
}

.story-resolve span {
  color: var(--gold);
  display: block;
  margin-top: 12px;
}

/* ===== RETURNS ===== */
#returns {
  background: var(--bg-mid);
  padding: 120px 20px;
}

.returns-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 64px;
}

.returns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

/* カードベース */
.return-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.return-card:hover:not(.return-card--coming) {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

/* おすすめカード */
.return-card--featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, #17233f 0%, #111e3a 100%);
}

/* Coming Soonカード */
.return-card--coming {
  opacity: 0.55;
  border-style: dashed;
}

/* バッジ */
.return-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gold);
  color: var(--bg-deep);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 2px;
  letter-spacing: 0.1em;
}

.return-card--allin {
  border-color: var(--amber);
  background: linear-gradient(160deg, #1f1810 0%, #111e3a 100%);
}

.return-card--allin:hover {
  border-color: #ffb347;
}

.return-badge--allin {
  background: var(--amber);
}

.coming-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--bg-surface);
  color: var(--text-sub);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 2px;
  letter-spacing: 0.1em;
  border: 1px solid var(--border);
}

.return-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.return-price {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.return-stock {
  font-size: 0.75rem;
  color: var(--text-sub);
  white-space: nowrap;
}

.return-title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

.return-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.return-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.return-includes li {
  font-size: 0.82rem;
  color: var(--text-sub);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.return-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

/* 支援ボタン */
.btn-support {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--bg-deep);
  font-family: 'Shippori Mincho B1', serif;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.08em;
  margin-top: auto;
  transition: background 0.2s, transform 0.2s;
}

.btn-support:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-coming {
  width: 100%;
  padding: 14px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: not-allowed;
  margin-top: auto;
}

/* ===== OVERVIEW ===== */
#overview {
  background: var(--bg-alt);
  padding: 120px 20px;
}

.overview-inner {
  max-width: 760px;
  margin: 0 auto;
}

.overview-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
}

.overview-table tr {
  border-bottom: 1px solid var(--border);
}

.overview-table th {
  padding: 20px 16px 20px 0;
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  width: 100px;
  vertical-align: top;
  font-weight: 700;
  white-space: nowrap;
}

.overview-table td {
  padding: 20px 0 20px 16px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-main);
}

.overview-table small {
  color: var(--text-sub);
  font-size: 0.82rem;
}

/* ===== PURCHASE FORM ===== */
#purchase {
  background: var(--bg-mid);
  padding: 120px 20px;
}

.purchase-inner {
  max-width: 560px;
  margin: 0 auto;
}

/* 選択中リターン表示 */
.selected-return {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.selected-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 8px;
  font-family: 'Cinzel', serif;
}

.selected-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.selected-name {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1rem;
  color: var(--white);
}

.selected-price {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

/* フォームカード */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px 36px;
}

/* フィールド */
.field { margin-bottom: 24px; }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.required {
  color: var(--amber);
  margin-left: 4px;
  font-size: 0.72rem;
}

.field input[type="text"],
.field input[type="email"],
.field select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-main);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.field input:focus,
.field select:focus {
  border-color: var(--gold);
}

.field input::placeholder { color: var(--text-muted); }

.field-note {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-sub);
}

.field-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0 24px;
}

/* 能登応援オプション */
.noto-option {
  margin-bottom: 24px;
}

.noto-card {
  border: 1px solid rgba(100, 180, 220, 0.4);
  border-radius: 8px;
  background: rgba(100, 180, 220, 0.06);
  padding: 16px 20px;
}

.noto-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.noto-title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 4px;
}

.noto-desc {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* トグルスイッチ */
.noto-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
  cursor: pointer;
}

.noto-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.noto-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 28px;
  transition: background 0.2s;
}

.noto-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s;
}

.noto-toggle input:checked + .noto-slider {
  background: rgba(100, 180, 220, 0.7);
}

.noto-toggle input:checked + .noto-slider::before {
  transform: translateX(24px);
}

/* ラジオカード */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.radio-card:has(input:checked) {
  border-color: var(--gold);
  background: rgba(245,178,0,0.06);
}

.radio-card input[type="radio"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.radio-label { flex: 1; }

.radio-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}

.radio-desc {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-top: 2px;
}

/* エラーメッセージ */
.msg {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 0.87rem;
  line-height: 1.7;
}

.msg.error {
  background: rgba(220,50,50,0.12);
  border: 1px solid rgba(220,50,50,0.4);
  color: #ff7070;
}

/* 送信ボタン */
.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--bg-deep);
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 8px;
  letter-spacing: 0.08em;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
  box-shadow: 0 4px 20px rgba(245,178,0,0.3);
}

.btn-submit:hover:not(:disabled) {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-note {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
}

/* ===== 振込案内 ===== */
.transfer-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 40px 36px;
  margin-top: 24px;
}

.transfer-card h3 {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 16px;
}

.transfer-card p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 20px;
}

.transfer-card strong { color: var(--gold); }

.transfer-detail {
  background: var(--bg-mid);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 16px;
}

.transfer-detail dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
}

.transfer-detail dt {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  white-space: nowrap;
  align-self: center;
}

.transfer-detail dd {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.transfer-amount {
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
}

.transfer-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-deep);
  text-align: center;
  padding: 60px 20px;
  border-top: 1px solid var(--border);
}

.footer-event {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.footer-org {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.footer-links {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-links span { margin: 0 8px; }

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ===== MOBILE FIXED CTA ===== */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 20px 20px;
  background: linear-gradient(0deg, var(--bg-deep) 60%, transparent);
}

.mobile-cta-btn {
  display: block;
  text-align: center;
  padding: 16px;
  background: var(--gold);
  color: var(--bg-deep);
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.08em;
}

/* ===== SCROLL REVEAL ===== */
.sr {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.sr.visible {
  opacity: 1;
  transform: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .returns-grid { grid-template-columns: 1fr 1fr; }

  .story-block {
    flex-direction: column;
    gap: 32px;
  }

  .story-block--reverse { flex-direction: column; }

  .story-img-wrap {
    flex: none;
    width: 100%;
  }

  .story-block:has(.story-big-num) {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 600px) {
  #project-hero { min-height: 100svh; }

  .hero-title { font-size: clamp(1.9rem, 9vw, 2.8rem); }

  .returns-grid { grid-template-columns: 1fr; }

  .story-block:has(.story-big-num) {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .story-big-num { border-right: none; border-bottom: 1px solid var(--border); }
  .story-big-num:last-child { border-bottom: none; }

  .form-card { padding: 24px 20px; }
  .transfer-card { padding: 24px 20px; }

  .overview-table th { width: 72px; font-size: 0.72rem; padding-right: 8px; }
  .overview-table td { font-size: 0.88rem; padding-left: 8px; }

  /* モバイル固定CTAを表示 */
  .mobile-cta { display: block; }

  /* モバイル固定CTAの分だけ余白 */
  footer { padding-bottom: 100px; }

  /* sadam.jpg：モバイルのみ右端表示 */
  .story-block--sadam { background-position: right center; }
}
