@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 特大見出し用のタイポグラフィ調整 */
h1, h2, .title-lg {
  letter-spacing: -0.02em; /* 大きな文字は字間を詰めることでプロっぽくなる */
  line-height: 1.3;
}

/* グラデーションテキスト */
.gradient-text-brand {
  background: linear-gradient(90deg, #0284c7, #0369a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text-accent {
  background: linear-gradient(90deg, #f97316, #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* バクラク風のクリアでソリッドなシャドウ */
.shadow-card {
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 4px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-card-hover {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.shadow-card-hover:hover {
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.12), 0 10px 20px -5px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

/* 立体感のあるボタン（バクラク風） */
.btn-primary {
  background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 4px 0 #c2410c, 0 8px 16px rgba(234, 88, 12, 0.3);
  transition: all 0.1s ease-in-out;
}
.btn-primary:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #c2410c, 0 4px 8px rgba(234, 88, 12, 0.3);
}
.btn-primary:active {
  transform: translateY(4px);
  box-shadow: none;
}

/* インフォグラフィック的な背景装飾 */
.bg-grid-pattern {
  background-image: radial-gradient(#e5e7eb 2px, transparent 2px);
  background-size: 24px 24px;
}

.bg-stripe-pattern {
  background: repeating-linear-gradient(
    -45deg,
    #f8fafc,
    #f8fafc 10px,
    #ffffff 10px,
    #ffffff 20px
  );
}

/* スクロールアニメーション */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* バクラク風のラベル（蛍光イエロー） */
.bg-bakuraku-yellow {
  background-color: #cbfc00;
}
.text-bakuraku-dark {
  color: #0f172a;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-toggle.active .icon-plus {
  transform: rotate(45deg);
}

/* バッジの斜めリボン装飾 */
.ribbon {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
}
.ribbon::before {
  content: attr(data-text);
  position: absolute;
  top: 20px;
  right: -25px;
  width: 140px;
  background: #0369a1;
  color: white;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 0;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
