/* ケアウィーブ株式会社 - カスタムスタイル */
:root {
  --primary-dark-green: #0d4d3c;
  --primary-light-green: #68a085;
  --secondary-green: #4a7c59;
  --light-background: #f8fffe;
  --white: #ffffff;
  --text-dark: #2d3748;
  --text-gray: #4a5568;
  --text-light: #718096;
  --border-color: #e2e8f0;
  --shadow-color: rgba(13, 77, 60, 0.1);
}

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

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
}

/* ヘッダー */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-dark-green);
}

.logo-image {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.hero-logo-image {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 2rem;
}

/* 従来のロゴスタイル（バックアップ用） */
.logo-symbol {
  background: linear-gradient(135deg, var(--primary-dark-green), var(--primary-light-green));
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 0.75rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-left: 0.5rem;
  color: var(--primary-dark-green);
}

/* ナビゲーション */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-dark-green);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light-green);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* モバイルメニュー */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-dark-green);
  cursor: pointer;
}

/* メインコンテンツ */
.main-content {
  margin-top: 80px;
}

/* ヒーロセクション */
.hero {
  background: linear-gradient(135deg, rgba(248, 255, 254, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%),
              url('https://cdn1.genspark.ai/user-upload-image/4_generated/55824506-6dfe-4e48-884f-91c10f88dcde') center/cover no-repeat;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 77, 60, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

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

.hero-logo {
  margin-bottom: 2rem;
}

.hero-logo-symbol {
  background: linear-gradient(135deg, var(--primary-dark-green), var(--primary-light-green));
  color: var(--white);
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-logo-text {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-dark-green);
  letter-spacing: -0.02em;
}

.hero-catchphrase {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-dark-green);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-dark-green), var(--secondary-green));
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-color);
}

/* セクション共通 */
.section {
  padding: 5rem 0;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-dark-green);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-catchphrase {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-light-green);
  text-align: center;
  margin-bottom: 3rem;
  font-style: italic;
}

/* カード */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.case-study-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin-bottom: 1.5rem;
}

.service-icons-container {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.service-icons-image {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--shadow-color);
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-color);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light-green), var(--secondary-green));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-dark-green);
  margin-bottom: 1rem;
}

.card-content {
  color: var(--text-gray);
  line-height: 1.6;
}

/* 代表者プロフィール */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin: 3rem 0;
}

.profile-image-real {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  border: 4px solid var(--primary-light-green);
  box-shadow: 0 4px 15px var(--shadow-color);
}

.profile-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px var(--shadow-color);
  text-align: center;
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light-green), var(--secondary-green));
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  font-weight: bold;
}

.profile-name {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary-dark-green);
  margin-bottom: 0.5rem;
}

.profile-title {
  color: var(--primary-light-green);
  font-weight: 500;
  margin-bottom: 1rem;
}

.profile-credentials {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.profile-description {
  color: var(--text-gray);
  line-height: 1.7;
  text-align: left;
}

/* サービス流れ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.service-flow-section {
  background: linear-gradient(135deg, rgba(248, 255, 254, 0.8) 0%, rgba(255, 255, 255, 0.8) 100%),
              url('https://cdn1.genspark.ai/user-upload-image/4_generated/24f07d25-afe9-480a-9695-bd61bc2213af') center/cover no-repeat;
  position: relative;
}

.service-flow-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 255, 254, 0.9) 100%);
  z-index: 1;
}

.service-flow-section .section-container {
  position: relative;
  z-index: 2;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-dark-green), var(--primary-light-green));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-dark-green);
  margin-bottom: 1rem;
}

.step-description {
  color: var(--text-gray);
  line-height: 1.6;
}

/* お問い合わせフォーム */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--shadow-color);
}

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

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-light-green);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-button {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-dark-green), var(--secondary-green));
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-color);
}

/* フッター */
.footer {
  background: var(--primary-dark-green);
  color: var(--white);
  padding: 3rem 0 2rem;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-light-green);
}

.footer-section p,
.footer-section li {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 20px var(--shadow-color);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .hero-catchphrase {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .service-icons-image {
    width: 90%;
    height: auto;
  }
  
  .case-study-image {
    height: 150px;
  }
  
  .hero {
    min-height: 60vh;
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 0;
    min-height: 50vh;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-logo-text {
    font-size: 2rem;
  }
  
  .hero-catchphrase {
    font-size: 1.25rem;
  }
  
  .service-icons-image {
    width: 95%;
  }
  
  .case-study-image {
    height: 120px;
  }
  
  .logo-image {
    height: 36px;
  }
  
  .hero-logo-image {
    height: 60px;
  }
}