/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 15 2026 | 09:30:50 */
/* =========================
   予算バナー
========================= */
.budget-banner-wrap {
  margin: 20px 0;
}

.budget-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  width: 100%;
  height: 200px;
  background: #f7f9ff;
  border: 2px solid #dce8fa;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.budget-banner:hover {
  box-shadow: 0 6px 20px rgba(44,123,229,0.18);
  transform: translateY(-2px);
}

/* 円グラフ装飾 */
.r8big-bn-pie {
  position: absolute;
  border-radius: 50%;
}

.r8big-bn-pie.p1 {
  width: 130px;
  height: 130px;
  background: conic-gradient(#ff6b6b 0% 50%, #ffd43b 50% 75%, #69db7c 75% 100%);
  top: -35px;
  left: -35px;
  animation: bnSpinIn 1s ease both, bnSlowSpin 12s linear infinite;
}

.r8big-bn-pie.p2 {
  width: 75px;
  height: 75px;
  background: conic-gradient(#4dabf7 0% 60%, #f8961e 60% 100%);
  bottom: -18px;
  left: 65px;
  animation: bnSpinIn 1s 0.3s ease both, bnSlowSpinR 16s linear infinite;
}

.r8big-bn-pie-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #f7f9ff;
}

.r8big-bn-pie.p1 .r8big-bn-pie-inner {
  width: 68px;
  height: 68px;
}

.r8big-bn-pie.p2 .r8big-bn-pie-inner {
  width: 39px;
  height: 39px;
}

/* 棒グラフ装飾 */
.r8big-bn-bars {
  position: absolute;
  right: 160px;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  opacity: 0.35;
}

.r8big-bn-bars span {
  display: block;
  width: 9px;
  border-radius: 2px 2px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
}

.r8big-bn-bars span:nth-child(1) { animation: bnGrowBar 0.6s 0.3s ease both, bnBreathe1 4s 1s ease-in-out infinite; }
.r8big-bn-bars span:nth-child(2) { animation: bnGrowBar 0.6s 0.4s ease both, bnBreathe2 4s 1.3s ease-in-out infinite; }
.r8big-bn-bars span:nth-child(3) { animation: bnGrowBar 0.6s 0.5s ease both, bnBreathe3 4s 1.6s ease-in-out infinite; }
.r8big-bn-bars span:nth-child(4) { animation: bnGrowBar 0.6s 0.6s ease both, bnBreathe1 4s 1.9s ease-in-out infinite; }
.r8big-bn-bars span:nth-child(5) { animation: bnGrowBar 0.6s 0.7s ease both, bnBreathe2 4s 2.2s ease-in-out infinite; }

/* 浮遊数字 */
.r8big-bn-float {
  position: absolute;
  font-weight: 700;
  pointer-events: none;
}

.r8big-fn1 {
  top: 8px;
  right: 170px;
  font-size: 24px;
  color: #4dabf7;
  opacity: 0.18;
  animation: bnFloat1 5s ease-in-out infinite;
}

.r8big-fn2 {
  bottom: 10px;
  right: 165px;
  font-size: 14px;
  color: #ff6b6b;
  opacity: 0.28;
  animation: bnFloat2 6s 1s ease-in-out infinite;
}

/* テキストコンテンツ */
.r8big-bn-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

.r8big-bn-badge {
  display: inline-block;
  background: #e6f1fb;
  color: #185fa5;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.r8big-bn-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 4px;
}

.r8big-bn-catch {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

/* ボタン */
.r8big-bn-btn {
  position: relative;
  z-index: 2;
  background: #2c7be5;
  color: #fff;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* キーフレーム（bnプレフィックスでヒーローと競合しない） */
@keyframes bnSpinIn {
  from { opacity: 0; transform: scale(0) rotate(-180deg); }
  to   { opacity: 0.4; transform: scale(1) rotate(0deg); }
}
@keyframes bnSlowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes bnSlowSpinR {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@keyframes bnGrowBar {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
@keyframes bnBreathe1 {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(0.75); }
}
@keyframes bnBreathe2 {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(0.85); }
}
@keyframes bnBreathe3 {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(0.6); }
}
@keyframes bnFloat1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes bnFloat2 {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-5px) rotate(-3deg); }
}

/* =========================
   スマホ対応
========================= */
@media (max-width: 768px) {
  .budget-banner {
    height: auto;
    min-height: 120px;
    padding: 20px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .r8big-bn-title {
    font-size: 16px;
  }

  .r8big-bn-catch {
    font-size: 11px;
  }

  .r8big-bn-btn {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  .r8big-bn-bars {
    right: 0;
    opacity: 0.2;
  }
}