/* ベーススタイル */
:root {
  --primary-color: #FF6B9D;
  --primary-light: #FFB8D0;
  --primary-dark: #E84B7A;
  --secondary-color: #7B68EE;
  --accent-color: #FFD93D;
  --accent-green: #6BCB77;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #FFFBF5;
  --bg-light: #FFF5EE;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --border-radius: 20px;
  --border-radius-sm: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.8;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon-img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
}

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

.btn-nav {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
  transition: all 0.3s;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

/* ヒーローセクション */
.hero {
  padding: 120px 0 60px;
  background: linear-gradient(180deg, #FFF5EE 0%, #FFE8F5 50%, #F0E6FF 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-main {
  position: relative;
  z-index: 2;
}

.hero-catchphrase {
  font-size: 18px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
}

.title-accent {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

.text-pink {
  color: var(--primary-color);
  font-weight: 700;
}

.text-white {
  color: var(--white);
}

.hero-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 10px 18px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.stat-icon {
  font-size: 20px;
}

.stat-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 18px 36px;
  border-radius: 35px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 6px 25px rgba(255, 107, 157, 0.4);
  transition: all 0.3s;
}

.btn-primary-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(255, 107, 157, 0.5);
}

.btn-icon {
  font-size: 22px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.character-showcase {
  position: relative;
  text-align: center;
}

.main-character {
  width: 280px;
  height: auto;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.speech-bubble {
  position: absolute;
  top: -20px;
  right: -40px;
  background: var(--white);
  padding: 14px 22px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  animation: bubble 2s ease-in-out infinite;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--white);
}

.speech-bubble p {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
}

@keyframes bubble {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(70% 100% at 50% 100%);
}

/* コンセプトセクション */
.concept {
  padding: 100px 0;
  background: var(--white);
}

.concept-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.concept-title {
  margin-bottom: 24px;
}

.concept-title .small-text {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-light);
  display: block;
  margin-bottom: 8px;
}

.concept-title .big-text {
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.concept-description {
  font-size: 16px;
  color: var(--text-light);
  line-height: 2;
}

.concept-description strong {
  color: var(--primary-color);
}

.concept-comparison {
  display: flex;
  align-items: center;
  gap: 20px;
}

.comparison-item {
  flex: 1;
  padding: 30px 20px;
  border-radius: var(--border-radius);
  text-align: center;
}

.comparison-item.old {
  background: #f5f5f5;
  border: 2px solid #ddd;
}

.comparison-item.new {
  background: linear-gradient(135deg, #FFF0F5, #F0E6FF);
  border: 2px solid var(--primary-light);
  box-shadow: var(--shadow);
}

.comparison-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.comparison-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.comparison-text {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.6;
}

.comparison-arrow {
  font-size: 32px;
  color: var(--primary-color);
  font-weight: bold;
}

/* 特徴セクション */
.features {
  padding: 100px 0;
  background: linear-gradient(180deg, #FFF5EE 0%, #FFE8F5 100%);
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

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

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #FFF0F5, #F0E6FF);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.feature-icon {
  font-size: 36px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-color);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* キャラクターセクション */
.characters {
  padding: 100px 0;
  background: var(--white);
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.character-card {
  background: var(--bg-light);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all 0.3s;
  border: 3px solid transparent;
}

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

.character-card.imappi {
  background: linear-gradient(135deg, #FFF0F5, #FFE8F5);
  border-color: var(--primary-light);
}

.character-card.imarin {
  background: linear-gradient(135deg, #F0F5FF, #E8E8FF);
  border-color: #B8C4FF;
}

.character-card.imapon {
  background: linear-gradient(135deg, #FFFBF0, #FFF5E8);
  border-color: #FFE0A0;
}

.character-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.character-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.character-emoji {
  font-size: 72px;
}

.character-card h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
}

.character-type {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.character-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.character-age {
  display: inline-block;
  background: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
}

/* 使い方セクション */
.howto {
  padding: 100px 0;
  background: linear-gradient(180deg, #F0E6FF 0%, #E8F5FF 100%);
}

.steps-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  width: 100%;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-color);
}

.step-content p {
  font-size: 14px;
  color: var(--text-light);
}

.step-line {
  width: 4px;
  height: 40px;
  background: linear-gradient(180deg, var(--primary-light), var(--secondary-color));
  border-radius: 2px;
}

/* ダウンロードセクション */
.download {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  text-align: center;
}

.download-content {
  max-width: 700px;
  margin: 0 auto;
}

.download-title {
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.4;
}

.download-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--text-color);
  padding: 16px 28px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.store-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.store-icon {
  width: 32px;
  height: 32px;
}

.store-icon svg {
  width: 100%;
  height: 100%;
}

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

.store-label {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
}

.store-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

/* フッター */
.footer {
  background: #1a1a2e;
  color: var(--white);
  padding: 60px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand .logo-text {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.footer-tagline {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-section h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-light);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
  font-size: 14px;
  opacity: 0.7;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-section a:hover {
  opacity: 1;
}

/* クレジット */
.credits {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  text-align: center;
}

.credits-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.credits p {
  font-size: 12px;
  opacity: 0.6;
  margin-bottom: 6px;
}

.credit-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}

.credit-links a {
  color: var(--primary-light);
  text-decoration: none;
  font-size: 12px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.credit-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  opacity: 0.5;
}

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

  .hero-visual {
    order: -1;
  }

  .main-character {
    width: 200px;
  }

  .speech-bubble {
    right: 0;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .concept-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .concept-comparison {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .characters-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 12px;
    padding: 10px 0;
  }

  .nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 100px 0 40px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-catchphrase {
    font-size: 16px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-subtitle br {
    display: none;
  }

  .main-character {
    width: 180px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary-large {
    padding: 16px 28px;
    font-size: 16px;
  }

  .concept {
    padding: 60px 0;
  }

  .concept-title .big-text {
    font-size: 32px;
  }

  .concept-description br {
    display: none;
  }

  .concept-comparison {
    flex-direction: column;
  }

  .comparison-arrow {
    transform: rotate(90deg);
  }

  .features {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .characters {
    padding: 60px 0;
  }

  .characters-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .howto {
    padding: 60px 0;
  }

  .download {
    padding: 60px 0;
  }

  .download-title {
    font-size: 28px;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
