:root{
  /* 画像に基づく正確なイメージカラー（紫系） */
  --primary: #b28fdd;           /* メインの薄紫（ロゴ・ブランドカラー） */
  --primary-dark: #9f79d2;      /* 濃い紫（ホバー・アクティブ状態） */
  --primary-light: #d4c4e8;     /* さらに薄い紫（背景・ハイライト） */
  --primary-pale: #f0e8f7;      /* 極薄紫（セクション背景） */
  
  /* セカンダリカラー（ピンク系） */
  --secondary: #ffd6e8;         /* 薄いピンク */
  --accent: #ff6b9d;            /* アクセントピンク（CTA・強調） */
  --accent-light: #ffb3d1;      /* 薄いアクセントピンク */
  
  /* 背景色（紫のトーンに合わせて調整） */
  --bg: #fdfafc;                /* 極薄紫がかった白 */
  --bg-secondary: #f8f5fa;      /* 薄紫がかったグレー */
  --card: #ffffff;              /* 純白（コントラスト確保） */
  
  /* テキストカラー（WCAG AAコントラスト比準拠） */
  --text: #2c2c2c;              /* 濃いグレー（背景白に対して15.8:1） */
  --text-light: #666666;        /* ミディアムグレー（背景白に対して5.7:1） */
  --text-muted: #999999;        /* 薄いグレー（背景白に対して2.8:1） */
  
  /* ボーダーとシャドウ（紫のトーンに調整） */
  --border: #e8e0f0;            /* 薄紫がかったボーダー */
  --shadow: 0 4px 20px rgba(178, 143, 221, 0.15);        /* 紫がかったシャドウ */
  --shadow-hover: 0 8px 30px rgba(178, 143, 221, 0.25);  /* ホバー時の濃いシャドウ */
  
  /* グラデーション（画像の背景に合わせて） */
  --gradient: linear-gradient(135deg, #c9b4e8 0%, #ece4f7 40%, #ffffff 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent), #ff8fb3);
  
  /* 状態色（意味を持つ色・紫系に調和） */
  --success: #4caf50;
  --warning: #ff9800;
  --error: #f44336;
  --info: #2196f3;
  
  /* タッチターゲットサイズ（Apple HIG準拠） */
  --touch-target-min: 44px;
  
  /* フォントサイズ（アクセシビリティ考慮） */
  --font-size-base: 16px;      /* 基本サイズ */
  --font-size-small: 14px;     /* 最小サイズ */
  --font-size-large: 18px;
  --font-size-xl: 24px;
  --font-size-xxl: 32px;
  
  /* 行間（読みやすさ向上） */
  --line-height-tight: 1.4;
  --line-height-normal: 1.6;
  --line-height-loose: 1.8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: var(--line-height-normal);
  font-size: var(--font-size-base);
  /* iOS Safari のズーム無効化防止 */
  -webkit-text-size-adjust: 100%;
}

/* フォーカス表示の改善（アクセシビリティ） */
*:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* タッチターゲットサイズ確保 */
button, .btn, .cta, .contact-button, .nav a, .playlist-button {
  min-height: var(--touch-target-min);
  min-width: var(--touch-target-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* スムーススクロール */
html {
  scroll-behavior: smooth;
}

/* ナビゲーション */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.3s ease;
}

.nav.show {
  opacity: 1;
  transform: translateY(0);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
}

.nav a {
  font-size: var(--font-size-small);
  font-weight: 500;
  color: var(--text);
  padding: 12px 16px;  /* タッチターゲット確保 */
  border-radius: 20px;
  transition: all 0.3s ease;
  min-height: var(--touch-target-min);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav a:hover, .nav a:focus {
  background: var(--primary-light);
  color: var(--primary-dark);
  outline: none;
  box-shadow: 0 0 0 2px var(--primary);
}

.nav a.cta-nav {
  background: var(--accent);
  color: white;
  font-weight: 600;
}

.nav a.cta-nav:hover, .nav a.cta-nav:focus {
  background: #e55a89;
  color: white;
}

/* ヒーローセクション */
.hero {
  background: var(--gradient);
  padding: 80px 20px 60px;
  border-radius: 0 0 50px 50px;
  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 100 100"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="%23ffffff" opacity="0.1"/></svg>');
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  text-align: left;
}

.logo {
  width: 160px;
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.tagline {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text);
}

.hero-description {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.cta {
  background: var(--primary);
  border: none;
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--touch-target-min);
  min-width: 120px;  /* 最小幅確保 */
}

.cta:hover, .cta:focus {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: white;
  outline: none;
}

.cta:focus {
  box-shadow: var(--shadow-hover), 0 0 0 3px rgba(178, 143, 221, 0.4);
}

.cta.accent {
  background: var(--accent);
}

.cta.accent:hover, .cta.accent:focus {
  background: #e55a89;
  color: white;
}

/* レスポンシブ対応でタッチしやすさを維持 */
@media (max-width: 768px) {
  .cta {
    min-height: 48px;  /* モバイルでは少し大きく */
    padding: 18px 24px;
    font-size: var(--font-size-base);
  }
}

.cta-secondary {
  color: var(--primary-dark);
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.3s ease;
}

/* プレイリストセクション */
.playlist-section {
  background: white;
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-dark);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  margin: 12px auto 0;
  background: var(--primary);
  border-radius: 2px;
}

.playlist-subtitle {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text);
}

.playlist-button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.playlist-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  color: white;
}

.playlist-wrapper {
  position: relative;
  padding-top: 56.25%;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.playlist-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.playlist-description {
  text-align: left;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* セクション共通 */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .section-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.section-header .section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* About セクション */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.about-card {
  background: var(--card);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-card h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* カードグリッド */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--card);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* 料金テーブル */
.pricing-container {
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 40px;
}

.pricing-header {
  background: var(--primary);
  color: white;
  padding: 20px 30px;
  text-align: center;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-header p {
  opacity: 0.9;
}

.pricing-content {
  padding: 30px;
}

.price-section {
  margin-bottom: 40px;
}

.price-section:last-child {
  margin-bottom: 0;
}

.price-section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.price-grid {
  display: grid;
  gap: 20px;
}

.price-item {
  display: grid;
  grid-template-columns: 2fr 3fr 1fr 2fr;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.price-item:hover {
  border-color: var(--primary);
  background: var(--bg-secondary);
}

.price-item.featured {
  border-color: var(--primary);
  background: var(--bg-secondary);
  position: relative;
}

.price-item.featured::before {
  content: '⭐ おすすめ';
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price-name {
  font-weight: 600;
  color: var(--text);
}

.price-description {
  color: var(--text-light);
  font-size: 0.9rem;
}

.price-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
}

.price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* レスポンシブ料金テーブル */
@media (max-width: 768px) {
  .price-item {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .price-amount {
    font-size: 1.5rem;
  }
}

/* ワークフロー */
.workflow {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.workflow-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--card);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.workflow-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.workflow-step-content h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.workflow-step-content p {
  color: var(--text-light);
  line-height: 1.6;
}

/* FAQ */
.faq-item {
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 20px 25px;
  background: var(--card);
  color: var(--primary-dark);
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary:hover {
  background: var(--bg-secondary);
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-item p {
  padding: 20px 25px;
  background: var(--card);
  color: var(--text-light);
  line-height: 1.6;
}

/* Contact セクション */
.contact {
  text-align: center;
  background: var(--bg-secondary);
  padding: 60px 30px;
  border-radius: 30px;
  margin: 40px 0;
}

.contact-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: var(--font-size-small);
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid var(--primary);
  background: white;
  color: var(--primary);
  min-height: var(--touch-target-min);
  min-width: 140px;
}

.contact-button:hover, .contact-button:focus {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-dark);
}

.contact-button.primary {
  background: var(--primary);
  color: white;
}

.contact-button.primary:hover, .contact-button.primary:focus {
  background: var(--primary-dark);
}

.contact-button.accent {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.contact-button.accent:hover, .contact-button.accent:focus {
  background: #e55a89;
  border-color: #e55a89;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .contact-button {
    min-height: 48px;
    padding: 18px 20px;
  }
}

/* フッター */
footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-light);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* モバイル対応の強化 */
@media (max-width: 768px) {
  /* ナビゲーション */
  .nav-inner {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .nav a {
    font-size: var(--font-size-small);
    padding: 10px 14px;
    min-height: 44px;
  }

  /* ヒーローセクション */
  .hero {
    padding: 60px 16px 40px;
  }

  .hero-text h1 {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .tagline {
    font-size: var(--font-size-base);
  }

  /* セクション */
  section {
    padding: 60px 16px;
  }

  .section-header .section-title {
    font-size: clamp(1.4rem, 5vw, 1.6rem);
  }

  /* カードグリッド */
  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* コンタクトボタン */
  .contact-buttons {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* CTAボタン */
  .cta-group {
    width: 100%;
  }

  .cta {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* タッチしやすさを向上 */
  .playlist-button {
    min-height: 48px;
    padding: 14px 20px;
  }

  /* フォーム要素のタッチ対応 */
  input, select, textarea, button {
    min-height: 44px;
    font-size: 16px; /* iOSのズーム防止 */
  }
}

/* 小さいモバイル画面への対応 */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: clamp(1.6rem, 7vw, 1.8rem);
  }

  .tagline {
    font-size: var(--font-size-small);
  }

  /* ボタンをより大きく */
  .cta, .contact-button {
    min-height: 50px;
    padding: 16px 20px;
  }

  /* ナビゲーションの調整 */
  .nav a {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* タブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* 大画面での最大幅制限 */
@media (min-width: 1400px) {
  .hero-inner,
  section,
  .nav-inner {
    max-width: 1200px;
  }
}

/* アニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

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

/* プライシング注意書き */
.pricing-note {
  background: var(--bg-secondary);
  border-left: 4px solid var(--warning);
  padding: 20px;
  border-radius: 0 12px 12px 0;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* 統計セクション */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 8px;
}