:root {
  --primary: #22c55e; /* Bright green */
  --primary-dark: #16a34a;
  --secondary: #4ade80;
  --text-main: #333333;
  --text-muted: #666666;
  --bg-main: #ffffff;
  --bg-light: #fdfbf7; /* Very light warm gray/cream */
  --font-main: 'Noto Sans JP', sans-serif;
  --font-heading: 'M PLUS Rounded 1c', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --border-radius: 12px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

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

.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 3rem; }
.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--primary); }
.bg-orange { background-color: #ff9800 !important; }
.text-white { color: #fff !important; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.4;
}

.section {
  padding: 5rem 0;
}

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

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: bold;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(34, 197, 94, 0.4);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  transition: var(--transition);
}

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

.btn-text {
  color: var(--primary);
  font-weight: bold;
  display: inline-flex;
  align-items: center;
}

.btn-text .arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.btn-text:hover .arrow {
  transform: translateX(5px);
}

.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  transition: var(--transition);
}
.btn-white:hover {
  background: #fdfdfd;
  color: var(--text-main);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  transition: var(--transition);
}

.header-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:not(.btn-primary):hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  background: linear-gradient(135deg, #fff0e0 0%, #ffffff 100%);
  overflow: hidden;
}

/* Hero Background */
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('images/top11.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* テキストが読みやすいように透明度を調整 */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.catchcopy {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.catchcopy .highlight {
  color: var(--primary);
  background: linear-gradient(120deg, transparent 0%, transparent 60%, rgba(34, 197, 94, 0.2) 60%, rgba(34, 197, 94, 0.2) 100%);
}

.subcopy {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Story Section */
.story-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  /* Dummy color before image load */
  background: #eee;
}

.story-quote {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* Service Section */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Community Section */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.community-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}

.card-green {
  background-color: #f0fdf4 !important; /* Very light green */
  border-color: #dcfce7;
}

.card-orange {
  background-color: #fff7ed !important; /* Very light orange */
  border-color: #ffedd5;
}

.community-badge {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Flow Section */
.flow-steps {
  max-width: 800px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  align-items: center;
  gap: 1.5rem;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(34, 197, 94, 0.2);
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 1.5rem;
}

.faq-item:first-child {
  border-top: 1px solid #eee;
}

.faq-q {
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none; /* Hide default triangle */
  position: relative;
  padding-right: 2rem;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item[open] .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-a {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact */
.contact-box {
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.contact-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info {
  margin: 2rem 0;
  font-size: 1.1rem;
}

.hover-underline:hover {
  text-decoration: underline;
}

.sns-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.sns-group h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: var(--text-main);
  color: #fff;
  text-align: center;
}

/* Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .nav ul {
    display: none; /* simple mobile nav hide for now, needs JS to toggle */
  }
  .menu-toggle {
    display: flex;
  }
  
  .catchcopy { font-size: 2rem; }
  .grid-2 { grid-template-columns: 1fr; }
  
  .community-grid { grid-template-columns: 1fr; }
  
  .flow-step {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .sns-grid {
    gap: 1.5rem;
    flex-direction: column;
  }
}
