/* Merci à aimer Custom Styles - ピンクと花のテーマ */

/* カスタムフォント */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap');

/* スムーズスクロール */
html {
  scroll-behavior: smooth;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ピンクと花のグラデーション背景 */
.hero {
  background: linear-gradient(135deg, #ffeef7 0%, #ffc1cc 25%, #ff91a4 50%, #ff69b4 75%, #e91e63 100%);
  position: relative;
  overflow: hidden;
}

/* 花のパターン背景 */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><g id="flower"><circle cx="50" cy="50" r="8" fill="rgba(255,255,255,0.3)"/><circle cx="42" cy="42" r="6" fill="rgba(255,255,255,0.2)"/><circle cx="58" cy="42" r="6" fill="rgba(255,255,255,0.2)"/><circle cx="42" cy="58" r="6" fill="rgba(255,255,255,0.2)"/><circle cx="58" cy="58" r="6" fill="rgba(255,255,255,0.2)"/><circle cx="50" cy="50" r="4" fill="rgba(255,182,193,0.4)"/></g></defs><use href="%23flower" x="100" y="150"/><use href="%23flower" x="300" y="80"/><use href="%23flower" x="500" y="200"/><use href="%23flower" x="700" y="120"/><use href="%23flower" x="900" y="180"/><use href="%23flower" x="1100" y="100"/><use href="%23flower" x="200" y="300"/><use href="%23flower" x="400" y="350"/><use href="%23flower" x="600" y="400"/><use href="%23flower" x="800" y="320"/><use href="%23flower" x="1000" y="380"/></svg>') repeat;
  background-size: 400px 300px;
  opacity: 0.6;
  animation: floatingFlowers 20s ease-in-out infinite;
  pointer-events: none;
}

/* 花が浮遊するアニメーション */
@keyframes floatingFlowers {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(1deg); }
  66% { transform: translateY(-5px) rotate(-1deg); }
}

/* ピンクのアニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes petalFall {
  0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

.hero > div {
  position: relative;
  z-index: 1;
}

/* ピンクのカードホバーエフェクト */
.service-card {
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #fff 0%, #ffeef7 100%);
  border: 1px solid #ffc1cc;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(233, 30, 99, 0.2);
  background: linear-gradient(135deg, #ffeef7 0%, #fff 100%);
}

/* 花びらエフェクト */
.petal {
  position: fixed;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #ff69b4 0%, #ffc1cc 100%);
  border-radius: 50% 0 50% 0;
  animation: petalFall 8s linear infinite;
  z-index: 1;
  pointer-events: none;
}

/* 料金カード専用スタイル */
.pricing-card {
  background: linear-gradient(135deg, #fff 0%, #ffeef7 50%, #fff 100%);
  border: 2px solid #ff69b4;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,105,180,0.1), transparent);
  transition: left 0.6s ease;
}

.pricing-card:hover::before {
  left: 100%;
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(233, 30, 99, 0.3);
  border-color: #e91e63;
}

/* ボタンアニメーション */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

/* フォームスタイリング */
.form-input {
  transition: all 0.3s ease;
  border: 2px solid #e2e8f0;
}

.form-input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* SNSボタンホバーエフェクト */
.social-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.social-btn:hover::after {
  width: 300px;
  height: 300px;
}

/* セクション間のスペーシング */
section {
  position: relative;
}

/* プロフィール画像のアニメーション */
.profile-image {
  transition: all 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.05);
}

/* 統計カウンターアニメーション */
.counter {
  font-weight: bold;
  color: #4f46e5;
}

/* タイムライン（将来の拡張用） */
.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 2px;
  background: #e2e8f0;
  transform: translateX(-50%);
}

/* 成功メッセージアニメーション */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.success-message {
  animation: slideInRight 0.5s ease;
}

/* ローディングアニメーション */
.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #4f46e5;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 追加のピンク系カラーバリエーション */
:root {
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-300: #f9a8d4;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --pink-700: #be185d;
  --pink-800: #9d174d;
  --pink-900: #831843;
}

/* グラデーション背景バリエーション */
.gradient-pink {
  background: linear-gradient(135deg, var(--pink-200) 0%, var(--pink-400) 50%, var(--pink-600) 100%);
}

.gradient-pink-purple {
  background: linear-gradient(135deg, #ffeef7 0%, #ffc1cc 25%, #dda0dd 75%, #9370db 100%);
}

/* テキストシャドウ */
.text-shadow-lg {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* ホバーエフェクト強化 */
.hover-scale:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* 花のグロー効果 */
.flower-glow {
  filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.5));
}

/* ロゴ専用スタイル */
.hero-logo {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.hero-logo:hover {
  transform: scale(1.02);
}

/* プロフィール写真スタイル */
.profile-photo {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.profile-photo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* スクロール時のフェードイン効果 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* セクション間のデコレーション */
.section-divider {
  position: relative;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--pink-300) 50%, transparent 100%);
  margin: 3rem auto;
  width: 200px;
  border-radius: 2px;
}

.section-divider::before {
  content: '🌸';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 0 1rem;
  font-size: 1.5rem;
}

/* カード内のアイコンアニメーション */
.icon-bounce {
  animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* 料金カードの特別効果 */
.pricing-highlight {
  position: relative;
}

.pricing-highlight::after {
  content: '✨';
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 1.5rem;
  animation: sparkle 1.5s ease-in-out infinite alternate;
}

@keyframes sparkle {
  0% { transform: scale(1) rotate(0deg); opacity: 0.7; }
  100% { transform: scale(1.2) rotate(15deg); opacity: 1; }
}

/* フォーム要素の強化 */
.form-input-pink:focus {
  border-color: var(--pink-500);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
  background: linear-gradient(135deg, #fff 0%, #fdf2f8 100%);
}

/* ボタンのリップル効果 */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
  transform: translate(-50%, -50%);
}

.btn-ripple:active::before {
  width: 300px;
  height: 300px;
}

/* 小さなデバイス向けの調整 */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .pricing-card {
    margin-bottom: 2rem;
  }
  
  .flower-pattern {
    background-size: 200px 150px;
  }
}