/* ==========================================
   CSS変数とリセット - 明るい緑ベース
========================================== */
:root {
  /* メインカラー：明るい緑系 */
  --primary: #5cb85c;
  --primary-dark: #449d44;
  --primary-light: #7ec97e;
  --secondary: #66bb6a;
  --accent: #ff9800;
  
  /* テキスト */
  --text: #333;
  --text-light: #666;
  
  /* 背景 */
  --bg: #fff;
  --bg-gray: #f0f9f0;
  --bg-light-green: #e8f5e9;
  
  /* その他 */
  --border: #dcedc8;
  --shadow: rgba(92, 184, 92, 0.15);
}

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

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ==========================================
   ユーティリティクラス
========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-gray {
  background: var(--bg-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.title-ja {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.title-en {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* ==========================================
   ヘッダー
========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(92, 184, 92, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.nav-desktop {
  display: flex;
  gap: 35px;
}

.nav-desktop a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 5px 0;
}

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

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

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* モバイルナビ */
.nav-mobile {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
}

.nav-mobile.active {
  transform: translateX(0);
}

.nav-mobile a {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  padding: 15px 30px;
}

/* ==========================================
   ヒーローセクション
========================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(92, 184, 92, 0.8) 0%, rgba(102, 187, 106, 0.7) 100%);
  z-index: 2;
}

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

.hero-content {
  max-width: 700px;
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-text {
  font-size: clamp(16px, 3vw, 20px);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

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

/* ==========================================
   こだわりセクション
========================================== */
.values {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.value-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.value-card.reverse {
  direction: rtl;
}

.value-card.reverse > * {
  direction: ltr;
}

.value-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
}

.value-image img,
.value-image svg {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.value-card:hover .value-image img {
  transform: scale(1.05);
}

.value-content h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.value-content h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 4px;
  height: calc(100% - 10px);
  background: var(--accent);
  border-radius: 2px;
}

.value-content p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 15px;
}

/* ==========================================
   サービスセクション
========================================== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 25px var(--shadow);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(92, 184, 92, 0.25);
  border-color: var(--primary-light);
}

.service-icon {
  font-size: 60px;
  margin-bottom: 20px;
  display: block;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-en {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.service-card p:last-child {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  text-align: left;
}

/* ==========================================
   フローセクション
========================================== */
.flow-steps {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.flow-step {
  background: #fff;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 4px 20px var(--shadow);
  position: relative;
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary);
}

.flow-step:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 30px rgba(92, 184, 92, 0.2);
}

.flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px var(--shadow);
}

.flow-step h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.flow-step p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

/* ==========================================
   改善加算セクション
========================================== */
.improvement {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.btn-toggle {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.btn-toggle:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(92, 184, 92, 0.3);
}

.improvement-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  text-align: left;
}

.improvement-content.open {
  max-height: 5000px;
}

.improvement-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 30px 0 15px;
}

.improvement-content h3:first-child {
  margin-top: 0;
}

.improvement-content ol,
.improvement-content ul {
  margin-left: 25px;
  margin-bottom: 20px;
}

.improvement-content li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

.improvement-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px var(--shadow);
}

.improvement-table th,
.improvement-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.improvement-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.improvement-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================
   CTAセクション
========================================== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.cta h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 700;
  margin-bottom: 15px;
}

.cta > p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  color: var(--primary);
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  min-width: 280px;
}

.cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.2);
}

.cta-btn svg {
  flex-shrink: 0;
}

.cta-btn div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.cta-btn .label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.cta-btn .detail {
  font-size: 18px;
  font-weight: 700;
}

/* ==========================================
   アクセスセクション
========================================== */
.access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.access-info h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 30px;
}

.info-item {
  margin-bottom: 25px;
}

.info-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.info-item p:last-child {
  font-size: 16px;
  line-height: 1.8;
}

.info-item a {
  color: var(--primary);
  font-weight: 600;
}

.access-details {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--border);
}

.access-details h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.access-details p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 15px;
}

.access-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
  height: 500px;
}

.access-map iframe {
  width: 100%;
  height: 100%;
}

/* ==========================================
   フッター
========================================== */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.copyright {
  font-size: 14px;
  opacity: 0.8;
}

/* ==========================================
   ページトップボタン
========================================== */
.page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 20px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.page-top.visible {
  opacity: 1;
  visibility: visible;
}

.page-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

/* ==========================================
   アニメーション
========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   レスポンシブ (タブレット)
========================================== */
@media (max-width: 1024px) {
  .value-card,
  .access {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .value-card.reverse {
    direction: ltr;
  }
}

/* ==========================================
   レスポンシブ (スマホ)
========================================== */
@media (max-width: 768px) {
  /* ヘッダー */
  .nav-desktop {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .logo h1 {
    font-size: 20px;
  }
  
  /* ヒーロー */
  .hero {
    min-height: 500px;
    height: auto;
    padding: 120px 0 60px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* セクション */
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  /* こだわり */
  .values {
    gap: 60px;
  }
  
  .value-card {
    gap: 30px;
  }
  
  .value-content h3 {
    font-size: 22px;
  }
  
  /* サービス */
  .services {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* CTA */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cta-btn {
    min-width: auto;
    width: 100%;
  }
  
  /* アクセス */
  .access-map {
    height: 350px;
  }
  
  /* ページトップ */
  .page-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .flow-step {
    padding: 25px 20px;
  }
  
  .improvement-table th,
  .improvement-table td {
    padding: 12px 10px;
    font-size: 14px;
  }
}
/* ========================================
   その他のサービスセクション
======================================== */
.other-service {
  background: linear-gradient(135deg, #f0f9f0 0%, #ffffff 100%);
  padding: 60px 0;
}

.other-service h2 {
  text-align: center;
  font-size: 2rem;
  color: #2c5530;
  margin-bottom: 40px;
}

.other-service-card {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.other-service-card h3 {
  font-size: 1.5rem;
  color: #2c5530;
  margin-bottom: 10px;
}

.other-service-card .service-name {
  font-size: 1.2rem;
  color: #5cb85c;
  font-weight: 600;
  margin-bottom: 20px;
}

.other-service-card p {
  line-height: 1.8;
  margin-bottom: 30px;
  color: #555;
}

.other-service-card .btn {
  display: inline-block;
  margin-top: 10px;
}

.other-service-card .btn-outline {
  background: white;
  color: #5cb85c;
  border: 2px solid #5cb85c;
  font-weight: 600;
}

.other-service-card .btn-outline:hover {
  background: #5cb85c;
  color: white;
}

@media (max-width: 768px) {
  .other-service-card {
    padding: 30px 20px;
  }
}
