/* Base Styles */
:root {
  /* --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a; */

  --teal-50: #fff7ed;
  --teal-100: #ffedd5;
  --teal-200: #fed7aa;
  --teal-300: #fdba74;
  --teal-400: #fb923c;
  --teal-500: #f97316;
  --teal-600: #ea580c;
  --teal-700: #c2410c;
  --teal-800: #9a3412;
  --teal-900: #7c2d12;
  
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-300: #fdba74;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --orange-800: #9a3412;
  --orange-900: #7c2d12;
  
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  --white: #ffffff;
  
  --primary: var(--teal-500);
  --primary-hover: var(--teal-600);
  --accent: var(--orange-400);
  --accent-hover: var(--orange-500);
  
  --radius: 0.5rem;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--gray-800);
  line-height: 1.5;
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--gray-800);
}

.text-gradient-teal {
  background: linear-gradient(to right, var(--teal-500), var(--teal-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(to right, var(--orange-400), var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-orange {
  color: var(--orange-300);
}

.font-bold {
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0.5rem 1.25rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

.btn-sm {
  padding: 0.25rem 1.25rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: linear-gradient(to right, var(--teal-500), var(--teal-600));
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(to right, var(--teal-600), var(--teal-700));
}

.btn-orange {
  background: linear-gradient(to right, var(--orange-50), var(--orange-100));
  color: var(--gray-800);
}

.btn-orange:hover {
  background: linear-gradient(to right, var(--orange-50), var(--orange-100));
}

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

.btn-outline:hover {
  background-color: var(--teal-50);
}

.btn-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
}

.icon-right {
  margin-left: 0.5rem;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.badge-teal {
  background-color: var(--teal-100);
  color: var(--teal-600);
}

.badge-teal:hover {
  background-color: var(--teal-200);
}

.badge-orange {
  background-color: var(--orange-100);
  color: var(--orange-600);
}

.badge-orange:hover {
  background-color: var(--orange-200);
}

.badge-light {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.badge-light:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  z-index: 50;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  background: linear-gradient(to right, var(--teal-500), var(--teal-600));
  color: var(--white);
  padding: 0.375rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--gray-800), var(--gray-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--teal-500);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}


.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--teal-50), var(--white), var(--orange-50));
  opacity: 0.7;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas: 
    "text image"
    "footer image";
  gap: 20px; /* お好みで調整 */
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  grid-area: text;
  align-self: start;
  margin-left: 0px;
}

.hero-footer {
  grid-area: footer;
  align-self: end;
  margin-left: 0px;
}

.hero-image {
  grid-area: image;
  grid-row: 1/ 3;
  width: 100%;
  max-width: 900px;
}


.hero-text {
  margin-bottom: 1rem;
  max-width: 32rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--gray-800);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 32rem;
  margin-top: 20px;
  z-index: 1;
}



.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 20px;
}

.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 0;
  width: 100%;
  height: 0.75rem;
  background-color: var(--orange-200);
  z-index: -1;
  transform: rotate(-1deg);
}


.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
  animation: pulse 6s ease-in-out infinite;
  z-index: -1;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.blob-1 {
  top: -2.5rem;
  right: -2.5rem;
  width: 8rem;
  height: 8rem;
  background-color: var(--orange-100);
  animation-delay: 0s;
}

.blob-2 {
  bottom: -2.5rem;
  left: -2.5rem;
  width: 6rem;
  height: 6rem;
  background-color: var(--teal-100);
  animation-delay: 1s;
}

.image-container {
  position: relative;
  /* background-color: var(--white); */
  transform: scale(1.3);
  padding: 0.75rem;
  border-radius: 1rem;
  /* box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); */
  /* transition: transform 0.5s ease; */
}

.new-badge {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  background-color: var(--orange-400);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.rounded-image {
  border-radius: 0.75rem;
  display: block; 
}

/* Features Section */
.features {
  padding: 5rem 0;
}

.features-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.features-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-top: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--teal-400), var(--teal-600));
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: var(--teal-50);
  color: var(--teal-500);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background-color: var(--teal-100);
  transform: scale(1.05);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-800);
  transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
  color: var(--teal-600);
}

.feature-description {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.feature-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.feature-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-500);
}

.feature-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-image {
  margin-bottom: 1.5rem;
  height: 14rem;
  overflow: hidden;
  border-radius: 0.5rem;
  position: relative;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.step-card:hover .step-image img {
  transform: scale(1.1);
}

.step-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover .step-image-overlay {
  opacity: 1;
}

.step-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(to right, var(--teal-400), var(--teal-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step-number span {
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-800);
  transition: color 0.3s ease;
}

.step-card:hover .step-title {
  color: var(--teal-600);
}

.step-description {
  color: var(--gray-600);
  margin-bottom: 20px;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--teal-600), var(--teal-700));
  z-index: -2;
}

.cta-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: -1;
}

.cta-content {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.cta-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cta-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 1rem;
  border-radius: 0.75rem;
  text-align: left;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.benefit-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.benefit-description {
  font-size: 0.875rem;
  opacity: 0.8;
}

.cta-note {
  font-size: 0.875rem;
  margin-top: 1rem;
  opacity: 0.7;
}

/* Footer */
.footer {
  background-color: var(--gray-50);
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: var(--gray-500);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--teal-500);
}

.footer-copyright {
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--white);
  border-radius: 1rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.modal-open .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
}

.modal-close {
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--gray-800);
}

.modal-body {
  padding: 1.5rem;
}

.modal-description {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

.form-note {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: 1rem;
}

.signup-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--teal-100);
  color: var(--teal-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.success-message {
  color: var(--gray-600);
}



/* Media Queries */
@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  
  .demo-arrow {
    transform: rotate(0);
  }
  
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .cta-benefits {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "text"
      "image"
      "footer";
  }

  .hero-image {
    /* PC時の row-span を解除するために上書き */
    grid-row: auto;
  }

}

@media (max-width: 767px) {
  .nav {
    flex-direction: row;
    display: inline-flex;
    /* justify-content: center; */
    align-items: center; /* 上下も中央に揃える */
    gap: 0.8rem;
    padding: 1rem;
    /* position: static; fixedをやめてstaticにする（通常表示） */
    background-color: transparent; /* 背景を透明に */
    box-shadow: none; /* 影を削除 */
    transform: none;
    opacity: 1;
    visibility: visible;
    z-index: auto;
    white-space: nowrap;
  }
} 
