:root {
  --primary-color: #6366f1;
  --secondary-color: #f59e0b;
  --accent-color: #ec4899;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --text-color: #334155;
  --border-color: #e2e8f0;
  --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-2: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --gradient-3: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.custom-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 35px;
  width: auto;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.logo-small {
  height: 25px;
  width: auto;
  margin-right: 8px;
}

.brand-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::before {
  width: 100%;
}

.navbar-toggler {
  border: none !important;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.custom-offcanvas {
  background: var(--gradient-1);
  color: white;
}

.custom-offcanvas .nav-link {
  color: white !important;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.custom-offcanvas .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--gradient-1);
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.animated-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: floatShapes 6s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 10%;
  animation-delay: -2s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 20%;
  animation-delay: -4s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  top: 30%;
  right: 30%;
  animation-delay: -1s;
}

@keyframes floatShapes {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.text-animated {
  display: inline-block;
  animation: slideInUp 0.8s ease-out;
}

.text-animated:nth-child(2) {
  animation-delay: 0.3s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accent-text {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}

.hero-buttons {
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.7s both;
}

.hero-btn {
  padding: 0.8rem 2rem;
  margin: 0 0.5rem 0.5rem 0;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: var(--gradient-2);
  border: none;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
  color: white;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.floating-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-2);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 0.8;
}

.services-section {
  background: var(--light-color);
}

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: none;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
}

.card-hover-effect:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-card:hover .service-icon {
  background: var(--gradient-2);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-color);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.advantages-section {
  background: white;
}

.advantages-content {
  padding: 2rem 0;
}

.advantages-section .section-title::after {
  left: 0;
  transform: none;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.advantage-item:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: translateX(10px);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.advantage-icon i {
  font-size: 1.5rem;
  color: white;
}

.advantage-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.advantages-image {
  position: relative;
}

.parallax-image {
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.parallax-image:hover {
  transform: scale(1.05);
}

.process-section {
  background: var(--light-color);
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 70px;
  width: 2px;
  height: calc(100% + 1rem);
  background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.process-step:last-child::before {
  display: none;
}

.process-number {
  width: 70px;
  height: 70px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-right: 2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.process-content {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  flex: 1;
  transition: all 0.3s ease;
}

.process-content:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

.process-content h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.testimonials-section {
  background: white;
}

.testimonial-card {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.testimonial-rating {
  margin-bottom: 1rem;
}

.testimonial-rating i {
  color: var(--secondary-color);
  margin-right: 0.2rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.testimonial-author strong {
  color: var(--dark-color);
  font-weight: 600;
}

.testimonial-author span {
  color: var(--text-color);
  opacity: 0.7;
  font-size: 0.9rem;
  display: block;
  margin-top: 0.3rem;
}

.contact-section {
  background: var(--light-color);
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 25px;
  box-shadow: var(--shadow-medium);
  margin-bottom: 3rem;
}

.form-label {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.form-control, .form-select {
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.contact-info {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  height: fit-content;
}

.contact-info h4 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-item i {
  width: 20px;
  color: var(--primary-color);
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-item a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--primary-color);
}

.contact-hours {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.contact-hours h5 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.map-container iframe {
  border-radius: 15px;
}

.custom-footer {
  background: var(--dark-color);
  color: white;
}

.footer-top {
  padding: 4rem 0 2rem;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 30px;
  margin-right: 0.5rem;
  filter: brightness(0) invert(1);
}

.footer-logo span {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  opacity: 0.8;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-contact-quick {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-quick a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-contact-quick a:hover {
  color: var(--secondary-color);
}

.custom-footer h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
}

.custom-footer h5::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-2);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--secondary-color);
  margin-right: 0.5rem;
  width: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.7;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-link:hover {
  color: var(--secondary-color);
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-heavy);
  padding: 1.5rem;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 500px;
  margin: 0 auto;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text p {
  margin: 0;
  color: var(--text-color);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.cookie-link:hover {
  color: var(--secondary-color);
}

#acceptCookies {
  background: var(--gradient-1);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

#acceptCookies:hover {
  transform: scale(1.05);
}

.privacy-main {
  padding-top: 100px;
  min-height: 100vh;
}

.privacy-header {
  background: var(--gradient-1);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.privacy-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.privacy-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.privacy-updated {
  font-size: 0.9rem;
  opacity: 0.8;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
}

.privacy-content {
  padding: 4rem 0;
  background: white;
}

.privacy-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.privacy-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--light-color);
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
}

.privacy-section h2 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.privacy-section p {
  margin-bottom: 1.5rem;
}

.privacy-list {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.privacy-list li {
  margin-bottom: 0.8rem;
  position: relative;
}

.privacy-list li::marker {
  color: var(--primary-color);
}

.contact-info-privacy {
  background: rgba(99, 102, 241, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 1rem;
}

.contact-info-privacy p {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

@media (max-width: 1000px) {
  .hero-content {
    padding-top: 130px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  
  .process-step::before {
    display: none;
  }
  
  .process-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .cookie-banner {
    left: 10px;
    right: 10px;
  }
  
  .privacy-title {
    font-size: 2rem;
  }
  
  .privacy-section {
    padding: 1.5rem;
  }
}
