@charset "utf-8";

/* ========================================
   HERO
======================================== */

:root {
  --primary: #ff2d6a;
  --accent: #ff6b9d;
  --dark: #0d0d0d;
  --dark-surface: #1a1a1a;
  --dark-card: #242424;
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --gradient-hero: linear-gradient(135deg, #ff2d6a 0%, #ff6b9d 50%, #ffb366 100%);
  --shadow-glow: 0 0 60px rgba(255, 45, 106, 0.3);
}

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

.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease 0.3s both;
}

.phone-mockup {
  position: relative; /* ★追加 */
  background: var(--dark-card);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(0, 0, 0, 0.5);
  max-width: 300px;
  margin: 40px auto 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1; 
}

.phone-screen {
  background: var(--dark-surface);
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9/16; 
}

.phone-header {
  background: linear-gradient(180deg, var(--dark-card) 0%, transparent 100%);
  padding: 20px 16px 30px;
}

.phone-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.phone-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
}

.phone-toggle {
  display: flex;
  background: var(--dark-surface);
  border-radius: 20px;
  padding: 4px;
  font-size: 0.65rem;
}

.phone-toggle span {
  padding: 4px 10px;
  border-radius: 16px;
  color: var(--text-muted);
}

.phone-toggle span.active {
  background: var(--primary);
  color: white;
}

.stories-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.storys-item {
  flex-shrink: 0;
  text-align: center;
}

.storys-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-hero);
  padding: 3px;
  margin-bottom: 4px;
}

.storys-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--dark-surface);
}

.storys-name {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.phone-feed {
  padding: 0 12px 12px;
}

.post-card {
  background: var(--dark-card);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.post-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b9d, #ffb366);
}

.post-info h4 {
  font-size: 0.8rem;
  font-weight: 600;
}

.post-info span {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.post-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(255, 45, 106, 0.3), rgba(255, 179, 102, 0.3));
  border-radius: 12px;
  margin-bottom: 10px;
}

.post-actions {
  display: flex;
  gap: 16px;
}

.post-action {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.post-action.liked {
  color: var(--primary);
}

.float-badge {
  position: absolute;
  background: var(--dark-card);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: float 3s ease-in-out infinite;
  white-space: nowrap;
  z-index: 2; 
}

.float-badge.badge-1 {
  top: 20%; 
  right: 10px; 
  left: auto; 
  animation-delay: 0s;
}

.float-badge.badge-2 {
  bottom: 25%;
  left: 10px;
  right: auto; 
  animation-delay: 1s;
}

.float-badge.badge-3 {
  top: 55%;
  right: 10px;
  left: auto;
  animation-delay: 2s;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gradient-cta);
  color: white;
  padding: 22px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glow);
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 50px rgba(255, 45, 106, 0.5);
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gradient-cta);
  color: white;
  padding: 22px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glow);
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 50px rgba(255, 45, 106, 0.5);
}

.cta-highlight {
  display: inline-block;
  background: rgba(74, 222, 128, 0.2);
  color:#4ade80!important;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  margin-top: 20px;
}

.cta-highlight a{
  color:#4ade80!important;
}

@media (min-width: 769px) {
  .float-badge {
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
  }
  
  .float-badge.badge-1 {
    top: 25%;
    right: 20px;
  }
  
  .float-badge.badge-2 {
    bottom: 25%;
    left: 20px;
  }
  
  .float-badge.badge-3 {
    top: 45%;
    right: 20px;
  }
}