/* ========================================
   カラー館イロドリ LP - スタイルシート
   Figmaデザイン完全再現版
   ======================================== */

/* リセット */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 90px; /* フローティングCTA分 */
}

/* LPコンテナ */
.lp-container {
  max-width: 100%;
  margin: 0 auto;
}

/* セクション */
.lp-section {
  width: 100%;
  line-height: 0;
}

/* 画像 */
.lp-image {
  width: 100%;
  height: auto;
  display: block;
}

/* CTAリンク */
.cta-link {
  display: block;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cta-link:hover {
  opacity: 0.9;
}

.cta-link:active {
  opacity: 0.8;
}

/* ========================================
   フローティングCTAバナー
   ======================================== */
.floating-cta {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 50%, #e85d00 100%);
  color: #fff;
  text-decoration: none;

  padding: 16px 20px;
  border-radius: 16px;

  box-shadow:
    0 4px 20px rgba(255, 107, 0, 0.5),
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulse-glow 2s ease-in-out infinite;
}

.floating-cta:hover {
  transform: scale(1.02);
  box-shadow:
    0 6px 28px rgba(255, 107, 0, 0.6),
    0 12px 40px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.floating-cta:active {
  transform: scale(0.98);
}

/* パルスアニメーション */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow:
      0 4px 20px rgba(255, 107, 0, 0.5),
      0 8px 32px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow:
      0 4px 30px rgba(255, 107, 0, 0.7),
      0 8px 40px rgba(0, 0, 0, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

/* 無料バッジ */
.floating-cta-badge {
  background: #fff;
  color: #ff6b00;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* テキスト部分 */
.floating-cta-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.floating-cta-sub {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.9;
}

.floating-cta-main {
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

/* 矢印 */
.floating-cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: bounce-right 1s ease-in-out infinite;
}

@keyframes bounce-right {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

/* ========================================
   レスポンシブ - タブレット以上
   ======================================== */
@media (min-width: 768px) {
  .lp-container {
    max-width: 600px;
  }

  body {
    background-color: #f5f5f5;
  }

  .lp-section {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .floating-cta {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    padding: 18px 36px;
    gap: 16px;
    border-radius: 50px;
  }

  .floating-cta:hover {
    transform: translateX(-50%) scale(1.05);
  }

  .floating-cta:active {
    transform: translateX(-50%) scale(0.98);
  }

  .floating-cta-main {
    font-size: 20px;
  }

  .floating-cta-badge {
    font-size: 13px;
    padding: 6px 14px;
  }
}

/* ========================================
   レスポンシブ - PC
   ======================================== */
@media (min-width: 1024px) {
  body {
    padding-bottom: 100px;
  }

  .floating-cta {
    bottom: 24px;
    padding: 20px 48px;
  }

  .floating-cta-main {
    font-size: 22px;
  }
}
