/* FV 3D案 比較ページ専用（本番 decorations.css には入れていない） */
.fv3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* 黒緑 */
.hero.fv-dark { background-color: #040806; }
.hero.fv-dark::after { background-image: linear-gradient(90deg, rgba(2, 6, 3, 0.78) 0%, rgba(2, 6, 3, 0.45) 36%, rgba(2, 6, 3, 0) 60%), linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 40%); }

/* ブランド（明るい背景）：コピーを深緑に */
.hero.fv-light { background-color: #f7fbf2; }
.hero.fv-light::after { background-image: linear-gradient(90deg, rgba(247, 251, 242, 0.95) 0%, rgba(247, 251, 242, 0.72) 34%, rgba(247, 251, 242, 0) 60%); }
.hero.fv-light .hero-title { color: var(--wp--preset--color--primary-deep); text-shadow: none; }
.hero.fv-light .hero-lead { color: var(--wp--preset--color--text); text-shadow: none; }
.hero.fv-light .btn-hero-ghost .wp-block-button__link { color: var(--wp--preset--color--primary); box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--primary); }
.hero.fv-light .btn-hero-ghost .wp-block-button__link:hover { background-color: rgba(65, 131, 21, 0.08); }

/* WebGL 不可時のフォールバック */
.hero.fv-nogl .hero-stage { background: radial-gradient(circle at 75% 40%, rgba(43, 217, 107, 0.35), rgba(4, 8, 6, 0) 55%), #040806; }

/* 切替パネル */
.fv3d-panel { position: fixed; right: 16px; bottom: 16px; z-index: 1000; width: 300px; max-width: calc(100vw - 32px); padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18); backdrop-filter: blur(8px); font: 12px/1.5 'Noto Sans JP', sans-serif; color: #2b2f2b; }
.fv3d-panel h2 { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; display: flex; justify-content: space-between; align-items: center; }
.fv3d-panel h2 button { border: 0; background: none; cursor: pointer; font-size: 12px; color: #5f675f; padding: 0; }
.fv3d-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.fv3d-row:last-of-type { margin-bottom: 4px; }
.fv3d-label { font-size: 11px; color: #5f675f; }
.fv3d-panel .fv3d-row button { flex: 1 1 auto; padding: 6px 8px; border: 1px solid #e3eadc; border-radius: 6px; background: #fff; color: #2b2f2b; font: inherit; cursor: pointer; }
.fv3d-panel .fv3d-row button[aria-pressed="true"] { background: #418315; border-color: #418315; color: #fff; }
.fv3d-panel .fv3d-id { margin: 2px 0 0; font-size: 11px; color: #5f675f; }
.fv3d-panel.is-min .fv3d-body { display: none; }
