/* =====================================================================
   自治体公募LP 案B（共創・関係人口軸） — style_b.css
   style_v3.css の後に読み込む追加スタイル。
   既存のCSS変数（--green / --apricot / --cream 等）を継承して使用。
   ===================================================================== */

/* ---------- 汎用 ---------- */
.pc-only { display: inline; }
@media (max-width: 767px) { .pc-only { display: none; } }

.section__cta { text-align: center; margin-top: 48px; }

/* ---------- Airtable 申込フォーム ---------- */
.airtable-form {
  margin-top: 48px;
}
.airtable-embed {
  display: block;
  width: 100%;
  min-height: 533px;
  background: #fff;
  border: 1px solid #bfd6ca;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(47, 107, 87, 0.12);
}
.airtable-form__fallback {
  margin-top: 16px;
  color: var(--text-mid);
  font-size: 0.92rem;
  text-align: center;
}
.airtable-form__fallback a {
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =====================================================================
   S1 ヒーロー（受賞サムネ・モザイク背景）
   ===================================================================== */
.hero--b {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.hero__mosaic {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__mosaic-grid {
  position: absolute;
  inset: -2%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  transform: rotate(-4deg) scale(1.12);
  transform-origin: center;
}
.hero__mosaic-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.9;
}
.hero__mosaic-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 30% 35%, rgba(253, 252, 248, 0.97) 0%, rgba(253, 252, 248, 0.86) 42%, rgba(253, 252, 248, 0.66) 100%),
    linear-gradient(180deg, rgba(253, 252, 248, 0.55) 0%, rgba(233, 244, 239, 0.72) 100%);
}
@media (max-width: 767px) {
  .hero__mosaic-grid { grid-template-columns: repeat(5, 1fr); }
  .hero__mosaic-veil {
    background:
      radial-gradient(140% 100% at 50% 30%, rgba(253, 252, 248, 0.97) 0%, rgba(253, 252, 248, 0.9) 55%, rgba(253, 252, 248, 0.78) 100%);
  }
}
.hero--b .hero__inner { position: relative; z-index: 2; }

.hero__proof {
  margin: 22px auto 0;
  max-width: 720px;
  padding: 14px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.8;
}
.hero__proof-mark {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--grad-green);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  vertical-align: 1px;
}
.hero__proof strong { color: var(--green-deep); }

/* =====================================================================
   S2 4つの価値
   ===================================================================== */
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 767px) { .values { grid-template-columns: 1fr; } }

.value-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.value-card__no {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--apricot);
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 10px;
}
.value-card__title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 12px;
}
.value-card__body {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 18px;
}
.value-card__body strong { color: var(--green-deep); font-weight: 700; }
.value-card__metric {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 0.9rem;
  color: var(--text-mid);
}
.value-card__metric strong { color: var(--apricot-2); font-weight: 900; font-size: 1.05em; }

/* ① 4サムネ */
.value-card__thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.vthumb {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--green-mist);
}
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.vthumb:hover img { transform: scale(1.06); }
.vthumb__tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(47, 107, 87, 0.86);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(2px);
}

/* ② 公式採用フィーチャー */
.value-feature {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: var(--green-mist);
  border: 1px solid var(--border-soft);
  margin-bottom: 16px;
  transition: var(--transition);
}
.value-feature:hover { background: var(--green-light); transform: translateY(-2px); }
.value-feature__thumb {
  position: relative;
  flex: 0 0 46%;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.value-feature__thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge-official {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--grad-apricot);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px -3px rgba(217, 127, 69, 0.6);
}
.value-feature__meta { display: flex; flex-direction: column; gap: 3px; }
.value-feature__prize {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--green-deep);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
}
.value-feature__name { font-weight: 700; font-size: 0.96rem; color: var(--text); }
.value-feature__creator { font-size: 0.82rem; color: var(--text-light); }
.value-feature__prize--semi { background: var(--apricot-2); }

/* GP＋準GP の縦並び */
.value-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.value-features .value-feature { margin-bottom: 0; }

/* カード内アクションボタン */
.value-card__action { margin-top: 16px; }
.value-card__action .btn { width: 100%; padding: 13px 24px; font-size: 0.92rem; }

/* ③ 声 */
.value-card__voices { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.vvoice {
  background: var(--apricot-lt);
  border-left: 3px solid var(--apricot);
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
}
.vvoice p { font-size: 0.88rem; color: var(--text); line-height: 1.7; }
.vvoice cite { display: block; margin-top: 4px; font-size: 0.76rem; font-style: normal; color: var(--text-light); }

/* ④ AI引用 */
.value-aiquote {
  text-align: center;
  padding: 22px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-light), var(--green-mist));
  border: 1px solid var(--border-soft);
  margin-bottom: 16px;
}
.value-aiquote__icon { display: block; font-size: 1.4rem; color: var(--apricot); margin-bottom: 6px; }
.value-aiquote__text {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.6;
}
.value-aiquote__sub { margin-top: 8px; font-size: 0.82rem; color: var(--text-mid); }

/* =====================================================================
   S3 実証（コンパクト facts / メディア帯）
   ===================================================================== */
.facts--compact { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .facts--compact { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .facts--compact { grid-template-columns: repeat(2, 1fr); } }

.media-bar {
  margin-top: 36px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #bfd6ca;
  box-shadow: var(--shadow);
  text-align: center;
}
.media-bar__head {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: 12px;
}
.media-bar__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-bottom: 10px;
}
.media-bar__list li {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text);
}
.media-bar__list a { color: var(--apricot-2); text-decoration: underline; text-underline-offset: 3px; }
.media-bar__list a:hover { color: var(--green-deep); }
.media-bar__list span { color: var(--text-mid); }
.media-bar__note { font-size: 0.78rem; color: var(--text-mid); }

/* =====================================================================
   S4 次につながる（概念図 / 出口）
   ===================================================================== */
.concept {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: nowrap;
}
.concept__step {
  flex: 1 1 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}
.concept__icon { display: block; font-size: 2rem; margin-bottom: 10px; }
.concept__num {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--apricot-2);
  margin-bottom: 4px;
}
.concept__name {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.concept__desc { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; }
.concept__arrow {
  align-self: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--green-soft);
  flex: 0 0 auto;
}
@media (max-width: 767px) {
  .concept { flex-direction: column; align-items: stretch; }
  .concept__arrow { transform: rotate(90deg); align-self: center; }
}

.next-outlets {
  margin-top: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow);
}
.next-outlets__head {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 14px;
}
.next-outlets__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.next-outlets__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.next-outlets__list strong { color: var(--green-deep); }
.next-outlets__icon { flex: 0 0 auto; font-size: 1.1rem; line-height: 1.5; }
.next-outlets__body {
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 0.92rem;
  color: var(--text-mid);
}
.next-outlets__body strong { color: var(--apricot-2); }

/* =====================================================================
   S5 進め方（タイムライン）
   ===================================================================== */
.timeline { position: relative; margin: 40px 0 32px; }
.timeline__track {
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-soft), var(--apricot));
  border-radius: 3px;
  z-index: 0;
}
.timeline__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}
.timeline__step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 20px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.timeline__dot {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-green);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--green-light);
}
.timeline__phase {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--green-deep);
}
.timeline__span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--apricot-2);
  margin: 2px 0 10px;
}
.timeline__desc { font-size: 0.86rem; color: var(--text-mid); line-height: 1.75; }
@media (max-width: 767px) {
  .timeline__track { display: none; }
  .timeline__steps { grid-template-columns: 1fr; }
}

/* =====================================================================
   S9 クロージング
   ===================================================================== */
.closing { margin-top: 40px; text-align: center; }
.closing__line {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.9;
}
.closing__line--accent {
  margin-top: 10px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--green-deep);
}

/* ---------- フェードイン（script_b.js 連携） ---------- */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.is-visible { opacity: 1; transform: none; }
