@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
  --primary: #C97B8B;
  --primary-hover: #B86B7B;
  --secondary: #D89EA7;
  --text-dark: #2D2426;
  --text-light: #7A6C70;
  --bg-color: #FAF8F5;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(197, 123, 139, 0.08);
  --red: #C97B8B;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-8 { margin-bottom: 4rem; }
.text-red { color: var(--red); }
.fw-bold { font-weight: 700; }

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 10px 20px rgba(201, 123, 139, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(201, 123, 139, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 2px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 15px 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
  z-index: 200;
}
.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--primary);
}

/* Hamburger Menu Base */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--text-dark);
  border-radius: 3px;
}

/* Hero Section (#mainimg) */
#mainimg.hero-section {
  position: relative;
  background: linear-gradient(135deg, #FAF8F5 0%, #FFFFFF 50%, #FAF8F5 100%);
  padding: 140px 0 90px;
  overflow: hidden;
}

.hero-ambient-bg {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.visual-card {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(225, 29, 72, 0.14), 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 4px solid #ffffff;
  background: #ffffff;
}

.visual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px rgba(225, 29, 72, 0.22);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 16px;
}

.hero-content {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F7EBEF;
  color: #C97B8B;
  border: 1px solid #ECD3DB;
  padding: 6px 18px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(201, 123, 139, 0.08);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #C97B8B;
  border-radius: 50%;
  animation: pulse-animation 1.6s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 123, 139, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(201, 123, 139, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(201, 123, 139, 0);
  }
}

.hero-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.45;
  color: #2D2426;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: #2D2426;
  margin-bottom: 24px;
  line-height: 1.5;
}

.highlight-pink {
  background: linear-gradient(120deg, rgba(201, 123, 139, 0.12) 0%, rgba(216, 158, 167, 0.25) 100%);
  padding: 4px 10px;
  border-radius: 6px;
  border-bottom: 3px solid #C97B8B;
  color: #C97B8B;
  display: inline-block;
  margin-top: 4px;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #4B5563;
  margin-bottom: 24px;
  max-width: 720px;
}

.text-pink {
  color: #C97B8B;
}

.nobr {
  display: inline-block;
}

.hero-features {
  list-style: none;
  margin: 0 0 32px 0;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  max-width: 100%;
}

.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.5;
}

.feature-text {
  flex: 1;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #C97B8B;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-align: center;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #C97B8B 0%, #D89EA7 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(201, 123, 139, 0.35);
  position: relative;
  overflow: hidden;
}

.hero-btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  animation: shimmer 4s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(30deg); }
  20% { transform: translateX(100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

.hero-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(201, 123, 139, 0.45);
}

.hero-btn-secondary {
  background: #ffffff;
  color: #374151;
  border: 2px solid #E5E7EB;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.hero-btn-secondary:hover {
  border-color: #C97B8B;
  color: #C97B8B;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201, 123, 139, 0.15);
}

/* Concept Section */
.concept {
  padding: 100px 0;
  position: relative;
}
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.concept-card {
  padding: 40px;
}

/* Merits Section */
.merits {
  padding: 100px 0;
  background: linear-gradient(135deg, #5E3945, #442630);
}
.merits .section-title {
  color: white;
}
.merit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.merit-item {
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-dark);
  background: #ffffff;
}
.merit-item:hover {
  transform: translateY(-10px);
}

/* Services Section */
.services {
  padding: 100px 0;
  background: #fdfdfd;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.03);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.service-icon {
  margin-bottom: 20px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon img {
  max-height: 100%;
  width: auto;
}

.merit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(201, 123, 139, 0.12), rgba(216, 158, 167, 0.12));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--primary);
}

/* Flow Section */
.flow {
  padding: 100px 0;
}
.flow-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.flow-step {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  position: relative;
}
.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(79, 70, 229, 0.1);
  margin-right: 30px;
  line-height: 1;
}
.step-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.free-tag {
  position: absolute;
  top: -15px;
  right: 20px;
  background: #EF4444;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
  z-index: 5;
}

/* Featured Step Styling */
.flow-step-main {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.15) !important;
  z-index: 10;
  background: #fff;
}
.flow-step-main .free-tag {
  font-size: 1.1rem;
  padding: 8px 20px;
  top: -20px;
}

.border-gradient {
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, var(--primary), var(--secondary));
  background-origin: border-box;
  background-clip: content-box, border-box;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3); }
  50% { transform: scale(1.1); box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5); }
  100% { transform: scale(1); box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3); }
}
.pulse {
  animation: pulse 2s infinite;
}

/* Price Section */
.price {
  padding: 100px 0;
  background: linear-gradient(135deg, #5E3945, #442630);
  color: white;
}
.price .section-title {
  color: white;
}
.price-card {
  background: #ffffff;
  border: 2px solid #C97B8B;
  padding: 50px;
  border-radius: 24px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}
.price-amount {
  font-size: 4rem;
  font-weight: 900;
  color: #C97B8B;
  line-height: 1;
  margin: 20px 0;
}
.price-amount span {
  font-size: 1.5rem;
  color: #333;
}
.price-desc {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
}

/* Reasons Section */
.reasons {
  padding: 100px 0;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.reason-card {
  display: flex;
  gap: 20px;
  padding: 30px;
}
.reason-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--secondary);
}

/* Voices & Works */
.works {
  padding: 100px 0;
  background: #fff;
}
.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.work-item img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.work-item:hover img {
  transform: scale(1.02);
}

/* Voice Section */
.voice {
  padding: 100px 0;
  background: #fdfdfd;
}
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.voice-item {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.voice-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #f0f0f0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.voice-img a:hover img {
  opacity: 0.8;
  transform: scale(1.05);
}
.voice-content {
  padding: 30px;
  position: relative;
  flex-grow: 1;
}
.voice-icon-box {
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 4rem;
  color: rgba(0,0,0,0.03);
  font-family: serif;
  line-height: 1;
}
.voice-content h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  line-height: 1.4;
}
.voice-client {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}
.voice-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* FAQ */
.faq {
  padding: 100px 0;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  overflow: hidden;
}
.faq-q {
  padding: 20px 30px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary);
}
.faq-a {
  padding: 0 30px 20px;
  color: var(--text-light);
  display: none;
}
.faq-item.active .faq-a {
  display: block;
}

/* Footer CTA */
.footer-cta {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(135deg, #8C5664 0%, #5E3945 100%);
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/mockup_1.png') center/cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

/* Footer */
footer {
  background: #111827;
  color: rgba(255,255,255,0.6);
  padding: 50px 0 20px;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}
.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: #fff;
}

.floating-btn {
  display: none;
}

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

/* Responsive */
@media (max-width: 768px) {
  .floating-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 20px;
    left: 10px;
    right: 10px;
    height: 60px;
    background: linear-gradient(135deg, #C97B8B, #D89EA7);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 200;
    animation: float 3s ease-in-out infinite;
  }
  #mainimg.hero-section {
    padding: 100px 0 60px;
  }
  .hero-container {
    gap: 28px;
  }
  .hero-features {
    width: 100%;
    gap: 12px;
  }
  .hero-features li {
    font-size: 0.95rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-btn {
    width: 100%;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }
  .hero h1 { font-size: 2.5rem; }
  .concept-grid, .merit-grid, .service-grid, .voice-grid, .reasons-grid, .works-grid {
    grid-template-columns: 1fr;
  }
  
  /* Hamburger Menu Mobile Styles */
  .hamburger {
    display: block;
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease;
    z-index: 150;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    margin: 20px 0;
    font-size: 1.5rem;
    font-weight: 700;
  }
}

/* Animation Classes for JS Observer */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
