/* =================================
   基本設定とリセット
   ================================= */

* { 
  box-sizing: border-box; 
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  background-color: #ffffff;
  color: #333;
}

/* 色の定義（CSS変数） */
:root {
  --primary-color: #44B5CD;
  --secondary-color: #F34467;
  --accent-color: #00A9C5;
  --light-bg: #EFF8FE;
  --light-blue-bg: #E8F4F8;
  --price-blue: #37B5C8;
  --footer-blue: #13A0BE;
  --gold-color: #f5b342;
  --text-color: #333;
  --white: #ffffff;
}

/* 共通のテキストスタイル */
.blue {
  color: var(--primary-color);
  font-weight: bold;
}

.emphasis {
  font-weight: bold;
}

/* PC/SP表示制御 */
.pc-only {
  display: block;
}

.sp-text {
  display: none;
}

.pc-text {
  display: block;
}

.section-label-mobile,
.section-title-mobile {
  display: none;
}

/* リンクの基本スタイル */
a {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* =================================
   スクロールアニメーション
   ================================= */

/* フェードイン要素の初期状態 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示状態 */
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 左からフェードイン */
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 右からフェードイン */
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 遅延クラス */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* =================================
   CTAボタンのキラーンエフェクト
   ================================= */

.cta-button {
  position: relative;
  overflow: hidden;
}

/* キラーンエフェクト */
.cta-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  transform: rotate(45deg);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20%, 100% {
    left: 150%;
  }
}

/* モバイル版の固定バナーのボタンも同様に */
.fixed-banner .cta-button::after {
  animation: shine 4s ease-in-out infinite;
  animation-delay: 1s;
}