/*
  LEAF WORKS スタイルシート
  サイト全体のデザインを定義
  主要セクション:
    - 基本設定
    - ヘッダースタイル
    - ヒーローセクション
    - 会社概要
    - サービス紹介
    - フッター
    - レスポンシブデザイン
*/

/* 基本設定: カラー変数と全体のスタイル */
:root {
  --primary: #2a7f62;   /* メインカラー（緑） */
  --secondary: #1d4e89; /* サブカラー（青） */
  --light: #f8f9fa;     /* ライト背景色 */
  --dark: #343a40;      /* ダークテキスト色 */
}

/* 基本ボディスタイル */
body {
  font-family: 'Noto Sans JP', sans-serif; /* 日本語対応フォント */
  line-height: 1.6;                       /* 行間 */
  color: #333;                            /* 基本テキスト色 */
  margin: 0;                              /* デフォルトマージン削除 */
  padding: 0;                             /* デフォルトパディング削除 */
}

/* ローディング画面スタイル */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.loading-spinner svg {
    width: 100%;
    height: 100%;
}

.leaf-path {
    stroke: #2a7f62; /* LEAF WORKSのメインカラー */
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawLeaf 2.5s infinite ease-in-out;
}

@keyframes drawLeaf {
    0% {
        stroke-dashoffset: 300;
        fill-opacity: 0;
    }
    50% {
        stroke-dashoffset: 0;
        fill-opacity: 0;
    }
    100% {
        stroke-dashoffset: -300;
        fill-opacity: 1;
        fill: #2a7f62;
    }
}

.loading-text {
    font-family: 'Yusei Magic', sans-serif;
    color: #2a7f62;
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.6; transform: scale(0.95); }
}

/* ロード完了時のスタイル */
body.loaded .loading-overlay {
    opacity: 0;
    pointer-events: none;
}

/* コンテナ: コンテンツの最大幅と中央揃え */
.container {
  width: 85%;            /* 幅85% */
  max-width: 1200px;     /* 最大幅制限 */
  margin: 0 auto;        /* 中央揃え */
}



/* ヘッダースタイル */
header {
  background-color: white;              /* 背景白 */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* 影を追加 */
  position: fixed;                      /* 固定ヘッダー */
  width: 100%;                          /* 全幅 */
  top: 0;                               /* 上部に固定 */
  left: 0;                              /* 左端に固定 */
  z-index: 1000;                        /* 最前面に表示 */
  padding: 10px 0;                      /* 上下パディング */
}

/* ロゴスタイル */
.logo img {
  height: 80px;  /* 適切な高さ */
  width: auto;   /* アスペクト比保持 */
}

/* ハンバーガーメニュー（モバイル用） */
.hamburger {
  display: none;        /* デスクトップでは非表示 */
  width: 30px;          /* 幅 */
  height: 24px;         /* 高さ */
  position: relative;   /* 相対位置 */
  cursor: pointer;      /* カーソルをポインターに */
  z-index: 1001;        /* ヘッダーより前面に */
}

/* ハンバーガーメニューの線 */
.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--dark);
  border-radius: 3px;
  transition: all 0.3s ease; /* アニメーション効果 */
  opacity: 1; /* 不透明度を確実に1に */
  left: 0;
}

/* メインコンテンツの上部マージン（固定ヘッダーの高さ分） */
main {
  margin-top: 100px;
}

/* ページタイトルスタイル */
.page-title {
  margin-top: 80px; /* ヘッダーの高さ分調整 */
}

/* ヘッダー内のコンテナレイアウト */
header .container {
  display: flex;

  align-items: center;            /* 垂直方向中央揃え */
  flex-direction: row;            /* 横並び */
}

/* ヘッダー左側（ロゴとナビゲーション） */
.header-left {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px; /* ロゴとナビゲーションの間隔 */
}

/* ナビゲーションリスト */
nav ul {
  display: flex;
  list-style: none; /* リストマーカー削除 */
  margin: 0;
  padding: 0;
}

/* ナビゲーションリンク */
nav a {
  color: var(--dark);
  text-decoration: none; /* 下線削除 */
  padding: 1rem;         /* クリック領域拡大 */
  font-weight: 600;      /* 太字 */
}

/* 画像の遅延読み込み */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* モバイル対応: 968px以下の画面幅 */
@media (max-width: 968px) {
  .header-left {
    width: 100%;
    justify-content: space-between;
  }
  
  .hamburger {
    order: 1; /* ハンバーガーを左側に */
  }
  
  .logo {
    order: 2; /* ロゴを中央に */
  }
  
  nav {
    order: 3; /* ナビゲーションを右側に */
  }
  main {
    margin-top: 80px; /* モバイル時のヘッダー高さに合わせて調整 */
  }
  
  .page-title {
    margin-top: 70px; /* モバイル時の調整 */
  }
  
  header {
    padding: 8px 0; /* モバイル時のヘッダーパディングを少し減らす */
  }
  
}

/* 3本線の位置設定 */
.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

/* メニューオープン時のアニメーション */
.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ナビゲーションのレスポンシブスタイル: 768px以下 */
@media (max-width: 894px) {
  .hamburger {
      display: block; /* ハンバーガーを表示 */
  }
  
  /* モバイルナビゲーション */
  nav {
      position: fixed;
      top: 0;
      right: -100%; /* 画面外に隠す */
      width: 70%;
      height: 100vh; /* 画面全体の高さ */
      background: white;
      box-shadow: -5px 0 15px rgba(0,0,0,0.1);
      transition: all 0.3s ease; /* スライドアニメーション */
      z-index: 1000;
      padding-top: 80px;
  }
  
  /* ナビゲーション表示時 */
  nav.active {
      right: 0; /* 画面内にスライド */
  }
  
  /* モバイルメニューのリスト */
  nav ul {
      flex-direction: column; /* 縦並び */
      align-items: flex-start;
      padding: 0 20px;
  }
  
  /* モバイルメニューのリンク */
  nav a {
      display: block;
      padding: 15px 0;
      width: 100%;
      border-bottom: 1px solid #eee; /* 区切り線 */
  }
}

/* ヒーローセクションスタイル */
.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('images/32057514_m.jpg');
  background-size: cover;              /* 背景画像をカバー */
  color: white;                        /* テキスト色白 */
  text-align: center;                  /* 中央揃え */
  padding: 300px 0 100px;              /* 上下パディング */
  position: relative;                  /* 相対位置 */
}

.hero h2 {
  font-size: 2.5rem;                   /* 大きなフォント */
  margin-bottom: 1rem;                 /* 下部マージン */
}

/* ボタンスタイル */
.btn {
  display: inline-block;
  background: var(--primary);          /* メインカラー背景 */
  color: white;                        /* テキスト色白 */
  padding: 12px 30px;                  /* 内側余白 */
  border-radius: 5px;                  /* 角丸 */
  text-decoration: none;               /* 下線削除 */
  font-weight: bold;                   /* 太字 */
  margin-top: 20px;                    /* 上部マージン */
}

/* 私たちについてセクション */
.about {
  padding: 80px 0;                     /* 上下パディング */
  background-color: #ffffff;           /* 白背景 */
}

.about h2 {
  text-align: center;                  /* 中央揃え */
  margin-bottom: 40px;                 /* 下部マージン */
  color: var(--secondary);             /* サブカラー */
}

/* 会社概要テキスト */
.about-text {
  max-width: 800px;                    /* 最大幅制限 */
  margin: 0 auto;                      /* 中央揃え */
  text-align: center;                  /* 中央揃え */
  font-size: 1.1rem;                   /* フォントサイズ */
  line-height: 1.8;                    /* 行間 */
}

/* ミッションボックス */
.mission-box {
  background: white;                   /* 白背景 */
  padding: 25px;                       /* 内側余白 */
  border-radius: 8px;                  /* 角丸 */
  margin-top: 30px;                    /* 上部マージン */
  box-shadow: 0 3px 15px rgba(0,0,0,0.05); /* 影 */
}

.mission-box h3 {
  color: var(--primary);               /* メインカラー */
  margin-top: 0;                       /* 上部マージン削除 */
  font-size: 1.3rem;                   /* フォントサイズ */
}

.mission-box h3 i {
  color: var(--primary);               /* アイコン色 */
  margin-right: 10px;                  /* 右マージン */
}

.mission-box ul {
  list-style: none;                    /* リストマーカー削除 */
  padding: 0;                          /* パディング削除 */
  margin: 20px 0 0;                    /* マージン設定 */
}

.mission-box li {
  padding: 10px 0;                     /* 上下パディング */
  position: relative;                  /* 相対位置 */
  padding-left: 35px;                  /* 左パディング */
  text-align: left;                    /* 左揃え */
}

.mission-box li i {
  color: var(--primary);               /* アイコン色 */
  position: absolute;                  /* 絶対位置 */
  left: 0;                             /* 左端 */
  top: 12px;                           /* 上部位置 */
}

/* レスポンシブ対応: 768px以下 */
@media (max-width: 768px) {
  .about {
      padding: 60px 0;                 /* パディング調整 */
  }
  
  .mission-box {
      padding: 20px;                   /* パディング調整 */
  }
  
  .mission-box li {
      padding-left: 30px;              /* パディング調整 */
  }
}

/* 助成金紹介セクション */
.subsidy-intro {
  background-color: #f9fbfd;           /* 薄い青背景 */
  border-left: 4px solid var(--primary); /* 左側にアクセント線 */
  padding: 25px;                       /* 内側余白 */
  margin: 30px 0 40px;                 /* 上下マージン */
  border-radius: 0 8px 8px 0;          /* 右側のみ角丸 */
}

.subsidy-intro h3 {
  color: var(--secondary);             /* サブカラー */
  margin-top: 0;                       /* 上部マージン削除 */
  font-size: 1.4rem;                   /* フォントサイズ */
}

.subsidy-intro h3 i {
  color: var(--primary);               /* アイコン色 */
  margin-right: 10px;                  /* 右マージン */
}

/* ハイライトテキスト */
.highlight-text {
  color: var(--primary);               /* メインカラー */
  font-weight: bold;                   /* 太字 */
}

/* アドバンテージボックス */
.advantage-box {
  background: white;                   /* 白背景 */
  padding: 20px;                       /* 内側余白 */
  border-radius: 8px;                  /* 角丸 */
  margin-top: 20px;                    /* 上部マージン */
  box-shadow: 0 3px 10px rgba(0,0,0,0.05); /* 影 */
}

.advantage-box h4 {
  color: var(--dark);                  /* ダークテキスト */
  margin: 0 0 15px 0;                  /* 下部マージン */
  font-size: 1.1rem;                   /* フォントサイズ */
}

.advantage-box ul {
  list-style: none;                    /* リストマーカー削除 */
  padding: 0;                          /* パディング削除 */
  margin: 0;                           /* マージン削除 */
}

.advantage-box li {
  padding: 8px 0;                      /* 上下パディング */
  position: relative;                  /* 相対位置 */
  padding-left: 30px;                  /* 左パディング */
}

.advantage-box li i {
  color: var(--primary);               /* アイコン色 */
  position: absolute;                  /* 絶対位置 */
  left: 0;                             /* 左端 */
  top: 10px;                           /* 上部位置 */
}

/* PCのみ表示要素 */
.pc-only {
  display: inline;                     /* インライン表示 */
}

/* レスポンシブ対応: 768px以下 */
@media (max-width: 768px) {
  .subsidy-intro {
      padding: 20px;                   /* パディング調整 */
  }
  
  .pc-only {
      display: none;                   /* モバイルでは非表示 */
  }
}

/* HP紹介セクション */
.hp-intro {
  background: #f8fafc;                 /* 薄い青背景 */
  border-left: 4px solid var(--secondary); /* 左側にアクセント線 */
  padding: 25px;                       /* 内側余白 */
  margin: 40px 0;                      /* 上下マージン */
  border-radius: 0 8px 8px 0;          /* 右側のみ角丸 */
}

.hp-intro h3 {
  color: var(--primary);               /* メインカラー */
  margin-top: 0;                       /* 上部マージン削除 */
  font-size: 1.4rem;                   /* フォントサイズ */
}

.hp-intro h3 i {
  color: var(--secondary);             /* サブカラー */
  margin-right: 10px;                  /* 右マージン */
}

/* SNS紹介セクション */
.sns-intro {
  background: #f8fafc;                 /* 薄い青背景 */
  border-left: 4px solid #6c757d;      /* 左側にグレーのアクセント線 */
  padding: 25px;                       /* 内側余白 */
  margin: 40px 0;                      /* 上下マージン */
  border-radius: 0 8px 8px 0;          /* 右側のみ角丸 */
}

.sns-intro h3 {
  color: #6c757d;                      /* グレーテキスト */
  margin-top: 0;                       /* 上部マージン削除 */
  font-size: 1.4rem;                   /* フォントサイズ */
}

.sns-intro h3 i {
  color: #6c757d;                      /* グレーアイコン */
  margin-right: 10px;                  /* 右マージン */
}

/* レスポンシブ対応: 768px以下 */
@media (max-width: 768px) {
  .hp-intro,
  .sns-intro {
      padding: 20px;                   /* パディング調整 */
  }
}

/* サービスセクション */
.services {
  padding: 80px 0;                     /* 上下パディング */
  text-align: center;                  /* 中央揃え */
  background-color: #f9fbfd;           /* 薄い青背景 */
}

.services-2 {
  padding: 80px 0;                     /* 上下パディング */
  text-align: center;                  /* 中央揃え */
  background-color: #ffffff;           /* 白背景 */
}

/* サービスグリッドレイアウト */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 自動調整グリッド */
  gap: 30px;                          /* アイテム間隔 */
  margin-top: 50px;                    /* 上部マージン */
}

/* サービスアイテム */
.service-item {
  padding: 30px;                       /* 内側余白 */
  border-radius: 10px;                 /* 角丸 */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* 影 */
  transition: transform 0.3s;          /* ホバーアニメーション */
}

/* ホバーエフェクト */
.service-item:hover {
  transform: translateY(-10px);        /* 上に少し移動 */
}

.service-item i {
  font-size: 3rem;                     /* 大きなアイコン */
  color: var(--primary);               /* メインカラー */
  margin-bottom: 20px;                 /* 下部マージン */
}

/* ハイライトサービスアイテム */
.service-item.highlight {
  background: white;                   /* 白背景 */
  border: 2px solid var(--primary);    /* メインカラーボーダー */
  position: relative;                  /* 相対位置 */
  overflow: hidden;                    /* はみ出し防止 */
}

/* サービス説明文 */
.service-description {
  font-weight: bold;                   /* 太字 */
  color: var(--secondary);             /* サブカラー */
  margin: 15px 0;                      /* 上下マージン */
  font-size: 1.1rem;                   /* フォントサイズ */
}

/* サービス内容 */
.service-content {
  text-align: left;                    /* 左揃え */
  margin-top: 20px;                    /* 上部マージン */
}

.service-content h4 {
  color: var(--primary);               /* メインカラー */
  margin: 20px 0 10px;                 /* 上下マージン */
  font-size: 1.1rem;                   /* フォントサイズ */
  border-bottom: 1px dashed #ccc;      /* ダッシュボーダー */
  padding-bottom: 5px;                 /* 下部パディング */
}

/* サービス詳細リスト */
.service-details {
  list-style-type: none;               /* リストマーカー削除 */
  padding-left: 0;                     /* 左パディング削除 */
  margin: 0;                           /* マージン削除 */
}

.service-details li {
  padding: 8px 0;                      /* 上下パディング */
  position: relative;                  /* 相対位置 */
  padding-left: 25px;                  /* 左パディング */
}

/* リストマーカー（チェックマーク） */
.service-details li:before {
  content: "✓";                       /* チェックマーク */
  color: var(--primary);               /* メインカラー */
  position: absolute;                  /* 絶対位置 */
  left: 0;                             /* 左端 */
  font-weight: bold;                   /* 太字 */
}

/* レスポンシブ対応: 768px以下 */
@media (max-width: 768px) {
  .service-grid {
      grid-template-columns: 1fr;      /* 1列表示 */
  }
  
  .service-item {
      padding: 20px;                   /* パディング調整 */
  }
}

/* フッター */
footer {
  background-color:#f9fbfd;            /* 薄い青背景 */
  color: rgb(0, 0, 0);                 /* テキスト色 */
  padding: 40px 0 20px;                /* 上下パディング */
}

/* フッターコンテンツレイアウト */
.footer-content {
  display: flex;
  justify-content: space-between;      /* 要素を両端に配置 */
  align-items: center;                 /* 垂直方向中央揃え */
  margin-bottom: 30px;                 /* 下部マージン */
}

/* フッター情報 */
.footer-info {
  display: flex;
  align-items: center;                 /* 垂直方向中央揃え */
  gap: 20px;                           /* アイテム間隔 */
}

/* フッターロゴ */
.footer-logo {
  height: 60px;                        /* 高さ */
  width: auto;                         /* アスペクト比保持 */
}

/* 会社情報 */
.company-info h3 {
  margin: 0 0 10px 0;                  /* 上下マージン */
  font-size: 1.2rem;                   /* フォントサイズ */
}

.company-info p {
  margin: 0;                           /* マージン削除 */
  font-size: 0.9rem;                   /* フォントサイズ */
  line-height: 1.6;                    /* 行間 */
}

/* SNSリンク */
.footer-sns {
  display: flex;
  gap: 15px;                           /* アイコン間隔 */
}

.footer-sns a {
  color: rgb(0, 0, 0);                        /* アイコン色 */
  font-size: 1.5rem;                   /* アイコンサイズ */
  transition: color 0.3s;              /* ホバーアニメーション */
}

.footer-sns a:hover {
  color: var(--primary);               /* ホバー時の色 */
}

/* 著作権表示 */
.copyright {
  text-align: center;                  /* 中央揃え */
  font-size: 0.8rem;                   /* フォントサイズ */
  opacity: 0.8;                        /* 少し透明 */
  margin-top: 20px;                    /* 上部マージン */
}

/* レスポンシブ対応: 768px以下 */
@media (max-width: 768px) {
  .footer-content {
      flex-direction: column;          /* 縦並び */
      align-items: flex-start;         /* 左揃え */
      gap: 30px;                       /* アイテム間隔 */
  }
  
  .footer-sns {
      margin-top: 20px;                /* 上部マージン */
  }
}

/* 私たちについてページ専用スタイル */

/* ページタイトル */
.page-title {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/32057514_m.jpg');
  background-size: cover;              /* 背景画像をカバー */
  background-position: center;         /* 中央に配置 */
  color: white;                        /* テキスト色白 */
  text-align: center;                  /* 中央揃え */
  padding: 120px 0 80px;               /* 上下パディング */
  margin-top: 80px;                    /* ヘッダーの高さ分調整 */
}

.page-title h1 {
  font-size: 2.8rem;                   /* 大きなフォント */
  margin-bottom: 1rem;                 /* 下部マージン */
}

.page-title p {
  font-size: 1.2rem;                   /* フォントサイズ */
  opacity: 0.9;                        /* 少し透明 */
}

/* 会社概要ページ */
.about-page {
  padding: 80px 0;                     /* 上下パディング */
}

.about-page h2 {
  color: var(--primary);               /* メインカラー */
  text-align: center;                  /* 中央揃え */
  margin-bottom: 50px;                 /* 下部マージン */
  font-size: 2rem;                     /* フォントサイズ */
}

.about-page h2 i {
  margin-right: 15px;                  /* アイコン右マージン */
}

/* ミッションセクション */
.mission-section {
  margin-bottom: 80px;                 /* 下部マージン */
}

.mission-content {
  display: flex;
  align-items: center;                 /* 垂直方向中央揃え */
  gap: 40px;                           /* アイテム間隔 */
}

.mission-text {
  flex: 1;                             /* 可変幅 */
  font-size: 1.1rem;                   /* フォントサイズ */
  line-height: 1.8;                    /* 行間 */
}

.mission-text p {
  margin-bottom: 20px;                 /* 段落間のマージン */
}

.mission-image {
  flex: 1;                             /* 可変幅 */
}

.mission-image img {
  width: 100%;                         /* 全幅 */
  border-radius: 10px;                 /* 角丸 */
  box-shadow: 0 5px 20px rgba(0,0,0,0.1); /* 影 */
}

/* ビジョンセクション */
.vision-section {
  margin-bottom: 80px;                 /* 下部マージン */
}

.vision-box {
  background-color: #f9fbfd;           /* 薄い青背景 */
  padding: 40px;                       /* 内側余白 */
  border-radius: 10px;                 /* 角丸 */
  text-align: center;                  /* 中央揃え */
}

.vision-box h3 {
  color: var(--secondary);             /* サブカラー */
  font-size: 1.5rem;                   /* フォントサイズ */
  margin-bottom: 20px;                 /* 下部マージン */
}

.vision-box p {
  font-size: 1.1rem;                   /* フォントサイズ */
  max-width: 700px;                    /* 最大幅 */
  margin: 30px auto 30px;                 /* 中央揃えと下部マージン */
}

.vision-box span {
  color: rgb(78, 129, 1);
  font-size: 20px;
}

/* ビジョンリスト */
.vision-list {
  display: flex;
  justify-content: center;             /* 中央揃え */
  gap: 30px;                           /* アイテム間隔 */
  list-style: none;                    /* リストマーカー削除 */
  padding: 0;                          /* パディング削除 */
  margin: 0;                           /* マージン削除 */
}

.vision-list li {
  background: white;                   /* 白背景 */
  padding: 25px;                       /* 内側余白 */
  border-radius: 8px;                  /* 角丸 */
  width: 280px;                        /* 固定幅 */
  box-shadow: 0 3px 15px rgba(0,0,0,0.05); /* 影 */
}

.vision-list li i {
  font-size: 2rem;                     /* 大きなアイコン */
  color: var(--primary);               /* メインカラー */
  margin-bottom: 15px;                 /* 下部マージン */
}

.vision-list h4 {
  color: var(--secondary);             /* サブカラー */
  margin: 15px 0 10px;                 /* 上下マージン */
}


.team-member:hover {
  transform: translateY(-10px);        /* 上に少し移動 */
}



.position {
  color: var(--primary);               /* メインカラー */
  font-weight: bold;                   /* 太字 */
  margin: 0 0 15px;                    /* 下部マージン */
  font-size: 0.9rem;                   /* フォントサイズ */
}

.bio {
  font-size: 0.95rem;                  /* フォントサイズ */
  line-height: 1.6;                    /* 行間 */
  margin: 0;                           /* マージン削除 */
}

/* 会社概要セクション */
.company-info-section {
  margin-bottom: 50px;                 /* 下部マージン */
}

.info-table {
  background: white;                   /* 白背景 */
  padding: 30px;                       /* 内側余白 */
  border-radius: 10px;                 /* 角丸 */
  box-shadow: 0 3px 15px rgba(0,0,0,0.05); /* 影 */
}

.info-table table {
  width: 100%;                         /* 全幅 */
  border-collapse: collapse;           /* ボーダーを単一線に */
}

.info-table th, .info-table td {
  padding: 15px;                       /* 内側余白 */
  text-align: left;                    /* 左揃え */
  border-bottom: 1px solid #eee;       /* 下部ボーダー */
}

.info-table th {
  width: 150px;                        /* 固定幅 */
  color: var(--secondary);             /* サブカラー */
}

.info-table ul {
  margin: 0;                           /* マージン削除 */
  padding-left: 20px;                  /* 左パディング */
}

.info-table li {
  margin-bottom: 8px;                  /* 下部マージン */
}

/* フッターリンク */
.footer-links ul {
  list-style: none;                    /* リストマーカー削除 */
  padding: 0;                          /* パディング削除 */
  margin: 0;                           /* マージン削除 */
}

.footer-links li {
  margin-bottom: 10px;                 /* 下部マージン */
}

.footer-links a {
  color: rgb(0, 0, 0);                        /* テキスト色白 */
  text-decoration: none;               /* 下線削除 */
  transition: color 0.3s;              /* ホバーアニメーション */
}

.footer-links a:hover {
  color: var(--primary);               /* ホバー時の色 */
}

/* レスポンシブ対応: 1024px以下 */
@media (max-width: 1024px) {
  .mission-content {
      flex-direction: column;          /* 縦並び */
  }
  
  .vision-list {
      flex-wrap: wrap;                 /* 折り返し */
  }
  
  .vision-list li {
      width: 100%;                     /* 全幅 */
      max-width: 350px;                /* 最大幅 */
  }
}

/* レスポンシブ対応: 768px以下 */
@media (max-width: 768px) {
  .page-title {
      padding: 100px 0 60px;           /* パディング調整 */
  }
  
  .page-title h1 {
      font-size: 2.2rem;               /* フォントサイズ調整 */
  }
  
  .about-page {
      padding: 60px 0;                 /* パディング調整 */
  }
  
  .team-grid {
      grid-template-columns: 1fr;      /* 1列表示 */
  }
  
  .footer-content {
      flex-direction: column;          /* 縦並び */
      gap: 30px;                       /* アイテム間隔 */
  }
  
  .footer-links {
      margin-top: 20px;                /* 上部マージン */
  }
}

/* レスポンシブ対応: 480px以下 */
@media (max-width: 480px) {
  .info-table th, .info-table td {
      display: block;                  /* ブロック表示 */
      width: 100%;                     /* 全幅 */
  }
  
  .info-table th {
      padding-bottom: 5px;             /* 下部パディング */
  }
  
  .info-table td {
      padding-top: 5px;                /* 上部パディング */
      padding-bottom: 20px;            /* 下部パディング */
  }
}



/* 事例ページ専用スタイル */
.case-page {
  padding: 80px 0;
}

.case-section {
  margin-bottom: 80px;
}

.case-section h2 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
}

.case-section h2 i {
  margin-right: 15px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.case-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.case-item:hover {
  transform: translateY(-10px);
}

.case-image {
  height: 250px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.case-item:hover .case-image img {
  transform: scale(1.05);
}

.case-content {
  padding: 25px;
}

.case-content h3 {
  color: var(--dark);
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: #666;
  font-size: 0.9rem;
}

.case-category {
  background: var(--light);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: bold;
}

.case-desc {
  line-height: 1.7;
  margin-bottom: 20px;
}

.case-result h4 {
  color: var(--secondary);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.case-result ul {
  list-style: none;
  padding: 0;
}

.case-result li {
  padding: 8px 0;
  position: relative;
  padding-left: 30px;
}

.case-result li i {
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .case-page {
    padding: 60px 0;
  }
  
  .case-grid {
    grid-template-columns: 1fr;
  }
  
  .case-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .case-content {
    padding: 20px;
  }
  
  .case-image {
    height: 200px;
  }
}

/* ============================== */
/* 次のステップセクションスタイル */
/* ============================== */
.next-step {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.next-step::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: #f9fbfd;
  transform: skewY(-3deg);
  z-index: 1;
}

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

.next-step h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.next-step h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: white;
}

.next-step p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.btn-large {
  display: inline-block;
  background-color: white;
  color: var(--primary);
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: 2px solid white;
}

.btn-large:hover {
  background-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .next-step {
      padding: 60px 0;
  }
  
  .next-step h2 {
      font-size: 2rem;
  }
  
  .next-step p {
      font-size: 1rem;
  }
  
  .btn-large {
      padding: 14px 30px;
      font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .next-step {
      padding: 50px 0;
  }
  
  .next-step h2 {
      font-size: 1.8rem;
  }
  
  .next-step p br {
      display: none;
  }
}

/* 事例ページ専用スタイル 終了*/



/* お問い合わせページ専用スタイル */
.contact-page {
  padding: 80px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form-section, .contact-info-section {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form-section h2, .contact-info-section h2 {
  color: var(--primary);
  margin-top: 0;
  font-size: 1.8rem;
}

.contact-form-section h2 i, .contact-info-section h2 i {
  margin-right: 15px;
}

.contact-form-section p {
  margin-bottom: 30px;
  line-height: 1.7;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
}

.required {
  color: #e74c3c;
  margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

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

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

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

.checkbox-group a {
  color: var(--primary);
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-submit:hover {
  background-color: #1e6b52;
}

.contact-info-box {
  margin-bottom: 40px;
}

.contact-method {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.contact-method:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-method i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.contact-method h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  color: var(--secondary);
}

.contact-method p {
  margin: 5px 0;
  line-height: 1.6;
}

.faq-box {
  background-color: #f9fbfd;
  padding: 25px;
  border-radius: 8px;
}

.faq-box h3 {
  color: var(--secondary);
  margin-top: 0;
  font-size: 1.3rem;
}

.faq-box h3 i {
  color: var(--primary);
  margin-right: 10px;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.faq-list li {
  margin-bottom: 20px;
}

.faq-list h4 {
  color: var(--dark);
  margin: 0 0 10px 0;
  font-size: 1.1rem;
}

.faq-list p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
}

.btn-faq {
  display: inline-block;
  padding: 10px 20px;
  background-color: white;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-faq:hover {
  background-color: var(--primary);
  color: white;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .contact-page {
    padding: 60px 0;
  }
  
  .contact-form-section, .contact-info-section {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .contact-page {
    padding: 50px 0;
  }
  
  .contact-form-section h2, .contact-info-section h2 {
    font-size: 1.6rem;
  }
}

/* お問い合わせページ専用 終了 */
