/* ==========================================
   Base Styles
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  line-height: 2.0;
  color: #4A3D35;
  background: #FAF7F4;
  overflow-x: hidden;
  letter-spacing: 0.04em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================
   Header
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 40px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 15px 40px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.header h1 {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 4px;
}

.header h1 a {
  color: #C4978A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header h1 a:hover {
  color: #B0857A;
}

/* ==========================================
   Navigation
   ========================================== */
.nav-toggle {
  display: none;
  position: fixed;
  top: 25px;
  right: 40px;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #4A3D35;
  position: absolute;
  transition: all 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { bottom: 0; }

.header__navigation {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: #fff;
  padding: 100px 40px 40px;
  transition: right 0.4s ease;
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  z-index: 999;
}

.nav-active .header__navigation {
  right: 0;
}

.menu-container {
  list-style: none;
}

.menu-container li {
  margin-bottom: 30px;
}

.menu-container a {
  text-decoration: none;
  color: #4A3D35;
  display: block;
  transition: all 0.3s ease;
}

.menu-container a:hover {
  color: #C4978A;
  transform: translateX(5px);
}

.english {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
}

.japanese {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px;
  color: #9E9490;
  margin-top: 5px;
  letter-spacing: 1px;
}

.menu-sns {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #E5DDD6;
}

.menu-sns ul {
  display: flex;
  gap: 15px;
  list-style: none;
}

.menu-sns img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.menu-sns img:hover {
  transform: scale(1.1);
}

/* ==========================================
   Hero Section
   ========================================== */
.section-hero {
  height: 60vh;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F0E6E2 0%, #C4978A 100%);
  position: relative;
  overflow: hidden;
  margin-top: 68px;
}

.section-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 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23ffffff" opacity="0.3"/></svg>') no-repeat bottom;
  background-size: cover;
}

.section-hero__content {
  text-align: center;
  z-index: 1;
  animation: fadeInUp 1s ease;
}

.section-hero h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.08);
  letter-spacing: 4px;
}

.section-hero__subtitle {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  color: rgba(255,255,255,0.95);
  font-weight: 400;
  letter-spacing: 0.15em;
}

/* ==========================================
   Section Styles
   ========================================== */
.section-services {
  padding: 120px 0;
  background: #fff;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 15px;
  color: #C4978A;
  letter-spacing: 5px;
}

.section-subtitle {
  font-family: 'Noto Serif JP', serif;
  text-align: center;
  font-size: 14px;
  color: #9E9490;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.section-subtitle::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background: #C4978A;
  margin: 25px auto 60px;
}

/* ==========================================
   Service Cards
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #C4978A 0%, #B0857A 100%);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.service-badge.recommended {
  background: linear-gradient(135deg, #8FAEA8 0%, #7A9B94 100%);
}

.service-badge.new {
  background: linear-gradient(135deg, #B8A0C4 0%, #A48BB5 100%);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #F0E6E2 0%, #C4978A 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: #fff;
}

.service-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 15px;
  text-align: center;
  color: #4A3D35;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
}

.service-platform {
  text-align: center;
  color: #C4978A;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.service-description {
  color: #7A6E65;
  line-height: 1.9;
  margin-bottom: 30px;
  flex-grow: 1;
  font-size: 15px;
}

.service-features {
  list-style: none;
  margin-bottom: 30px;
  padding: 25px 20px;
  background: #F5F0EB;
  border-radius: 20px;
}

.service-features li {
  padding: 8px 0;
  color: #7A6E65;
  font-size: 14px;
  line-height: 1.6;
}

.service-features li::before {
  content: '✓';
  color: #C4978A;
  font-weight: bold;
  margin-right: 5px;
}

.service-price {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: #F0EBE5;
  border-radius: 20px;
}

.price-label {
  color: #9E9490;
  font-size: 14px;
  margin-right: 8px;
}

.price-amount {
  color: #C4978A;
  font-size: 24px;
  font-weight: 700;
}

.btn-service {
  font-family: 'Noto Serif JP', serif;
  display: block;
  padding: 16px 40px;
  background: linear-gradient(135deg, #C4978A 0%, #B0857A 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(196, 151, 138, 0.25);
  letter-spacing: 0.12em;
  font-size: 14px;
}

.btn-service:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(196, 151, 138, 0.5);
}

/* ==========================================
   Comparison Section
   ========================================== */
.section-comparison {
  padding: 120px 0;
  background: #F5F0EB;
}

.comparison-table {
  overflow-x: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table thead {
  background: linear-gradient(135deg, #F0E6E2 0%, #C4978A 100%);
}

.comparison-table th {
  padding: 25px 20px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-size: 16px;
}

.comparison-table th small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-top: 5px;
  opacity: 0.9;
}

.comparison-table td {
  padding: 25px 20px;
  text-align: center;
  border-bottom: 1px solid #E8E0D8;
  color: #7A6E65;
  font-size: 15px;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: #F5F0EB;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: #4A3D35;
  text-align: left;
}

/* ==========================================
   CTA Section
   ========================================== */
.section-cta {
  padding: 120px 0;
  background: linear-gradient(135deg, #F0E6E2 0%, #C4978A 100%);
}

.cta-content {
  text-align: center;
  color: #fff;
}

.cta-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta {
  font-family: 'Noto Serif JP', serif;
  display: inline-block;
  padding: 18px 50px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.12em;
}

.btn-cta.primary {
  background: #fff;
  color: #C4978A;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.btn-cta.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-cta.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-cta.secondary:hover {
  background: #fff;
  color: #C4978A;
  transform: translateY(-3px);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background: #4A3D35;
  color: #fff;
  padding: 60px 40px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 30px;
  color: #C4978A;
  letter-spacing: 2px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 15px;
}

.footer-nav a {
  color: #B5ADA6;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.footer-nav a:hover {
  color: #C4978A;
}

.footer-sns ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-sns img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease;
  opacity: 0.8;
}

.footer-sns img:hover {
  transform: scale(1.1);
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #564B44;
  color: #9E9490;
  font-size: 12px;
}

/* ==========================================
   Scroll to Top Button
   ========================================== */
.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: #C4978A;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  z-index: 999;
  font-size: 20px;
  font-weight: bold;
}

.scroll-top.visible {
  opacity: 1;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .header {
    padding: 20px;
  }
  
  .nav-toggle {
    right: 20px;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .section-hero {
    height: 50vh;
    min-height: 350px;
  }
  
  .section-hero h2 {
    font-size: 36px;
  }
  
  .section-hero__subtitle {
    font-size: 16px;
  }
  
  .section-services {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .section-subtitle {
    margin-bottom: 50px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .service-card {
    padding: 40px 30px;
  }
  
  .section-comparison {
    padding: 60px 0;
  }
  
  .comparison-table {
    font-size: 14px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 15px 10px;
  }
  
  .section-cta {
    padding: 60px 0;
  }
  
  .cta-content h2 {
    font-size: 28px;
  }
  
  .cta-content p {
    font-size: 16px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-cta {
    width: 100%;
    max-width: 300px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .scroll-top {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .section-hero h2 {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .header h1 {
    font-size: 24px;
  }
  
  .service-card h3 {
    font-size: 20px;
    min-height: auto;
  }
}