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

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

/* 基本ボディスタイル */
body {
  font-family: 'Shippori Mincho', serif; /* 日本語対応フォント */
  line-height: 1.6;                       /* 行間 */
  color: #333;                            /* 基本テキスト色 */
  margin: 0;                              /* デフォルトマージン削除 */
  padding: 0;                             /* デフォルトパディング削除 */
  background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQe3kx472xkkZKqQ4t7bpnBJH95q2m9JnfWdQ&s);
}

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

.container h2 {
  text-align: center;
}

/* ヘッダースタイル */
header {
    background-color: rgba(255, 255, 255, 1); /* 透明度50%の黒 */
    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;
}

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

/* ロゴスタイル */
.logo img {
    height: 50px;
    width: auto;
}

/* 会社名 */
.company-name {
    font-family: 'YuMincho', 游明朝体;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark);
    margin: 0 15px;
    white-space: nowrap;
}

/* SNSリンク */
.header-sns {
    display: flex;
    gap: 15px;
    margin-right: auto; /* 左側の要素とハンバーガーの間に自動的にスペース */
}

.header-sns a {
    color: var(--dark);
    font-size: 1.4rem;
    transition: color 0.3s;
}

.header-sns a:hover {
    color: var(--primary);
}

/* ハンバーガーメニュー */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ナビゲーションメニュー */
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 {
    list-style: none;
    padding: 0 20px;
    margin: 0;
}

nav li {
    margin-bottom: 15px;
}

nav a {
    display: block;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

/* メインコンテンツのマージン調整 */
main {
    margin-top: 80px;
}

/* ハンバーガーメニューアニメーション */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ヒーローセクションスタイル */
.hero {
  background-size: cover;              /* 背景画像をカバー */
  color: rgb(248, 247, 247);                        /* テキスト色白 */
  text-align: center;                  /* 中央揃え */
  padding: 300px 0 100px;              /* 上下パディング */
  position: relative;                  /* 相対位置 */
  text-shadow: 4px 4px 8px rgb(0, 0, 0);
}

.hero h2 {
  font-size: 3vw;                   /* 大きなフォント */
  margin-bottom: 1rem;                 /* 下部マージン */
  display: inline-block; /* 背景色をテキスト幅に合わせる */
  padding: 20px 25px; /* 余白を追加 */
  border-radius: 5px; /* 角を少し丸く */
  text-shadow: 2px 2px 4px rgba(0,0,0,1);
}




/* ヒーローセクションのアニメーション追加 */
.hero {
  background: url('images/スクリーンショット\ 2025-07-11\ 14.24.04.png') no-repeat center center;
  background-size: cover; /* 画像をコンテナに合わせてカバー */
  position: relative;
  overflow: hidden;
  text-align: left; /* 左揃え */
  height: 100%; /* 固定高さを指定 */
  width: 100%; /* 全幅 */
}

@keyframes zoomOut {
  0% {
    background-size: 110%;
  }
  100% {
    background-size: 100%;
  }
}

/* コンテンツのフェードイン効果 */
.container-hero {
  opacity: 0;
  animation: fadeIn 2s ease-in 1s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



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

@media (max-width: 768px) {
  .hero {
    background-image: url("images/27589987_s.jpg")
  }
  .hero h2 {
    font-size: 4vw;
  }
}




.mokuji {
  padding: 80px 0;                     /* 上下パディング */
 background-image:url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQe3kx472xkkZKqQ4t7bpnBJH95q2m9JnfWdQ&s);          /* 白背景 */
}

.mokuji h2 {
  text-align: center;                  /* 中央揃え */
  margin-bottom: 40px;                 /* 下部マージン */
 
}

.mokuji img {
  width: 10vw;
  height: auto;
  position: relative;
}


/* テキスト＆画像セクション */


.text-image-section {
  padding: 80px 0;                     /* 上下パディング */
 background-image:url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT7ZEBUewFknboh_eGFLHPtzEx_-B-WxfXmuQ&s);          /* 白背景 */
}

.text-image-section {
    padding: 80px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.text-image-section .content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.text-image-section .text-content {
    flex: 1;
    padding-right: 30px;
}

.text-image-section .text-content h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

.text-image-section .feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.text-image-section .feature-item {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.text-image-section .feature-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.text-image-section .feature-item:nth-child(1) { transition-delay: 0.2s; }
.text-image-section .feature-item:nth-child(2) { transition-delay: 0.4s; }
.text-image-section .feature-item:nth-child(3) { transition-delay: 0.6s; }

.text-image-section .feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(42, 127, 98, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.text-image-section .feature-icon i {
    color: var(--primary);
    font-size: 1.5rem;
}

.text-image-section .feature-text h3 {
    color: var(--secondary);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.text-image-section .feature-text p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
}

.text-image-section .image-content {
    flex: 1;
    position: relative;
}

.text-image-section .image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.text-image-section .image-wrapper:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.02);
}

.text-image-section .floating-image {
    width: 100%;
    height: auto;
    display: block;
    animation: float 6s ease-in-out infinite;
}

.text-image-section .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42,127,98,0.1) 0%, rgba(29,78,137,0.05) 100%);
}

/* フローティングアニメーション */
@keyframes float {
    0% { transform: translateY(0) rotate(0.5deg); }
    50% { transform: translateY(-15px) rotate(-0.5deg); }
    100% { transform: translateY(0) rotate(0.5deg); }
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .text-image-section .content-wrapper {
        gap: 30px;
    }
    
    .text-image-section .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .text-image-section .feature-icon i {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .text-image-section {
        padding: 60px 0;
    }
    
    .text-image-section .content-wrapper {
        flex-direction: column;
    }
    
    .text-image-section .text-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .text-image-section .image-content {
        width: 100%;
    }
    
    .text-image-section .feature-item {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .text-image-section .feature-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .text-image-section .feature-icon {
        margin-bottom: 10px;
    }
}


/* 私たちについてセクション */
.about {
  padding: 80px 0;                     /* 上下パディング */
  /*background-image:url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ4TVdPADDrffhjP3cRylGOE2J82jazs_BBDQ&s);  */
  background-image:url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQe3kx472xkkZKqQ4t7bpnBJH95q2m9JnfWdQ&s); 
}

.about h2 {
  text-align: center;                  /* 中央揃え */
  margin-bottom: 40px;                 /* 下部マージン */
}

/* 会社概要テキスト */
.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;              /* パディング調整 */
  }
}



/* アドバンテージボックス */
.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;                  /* 右マージン */
}


/* レスポンシブ対応: 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;                /* 上下パディング */
  text-align: center;                  /* 中央揃えを追加 */
}

/* フッターコンテンツレイアウト */
.footer-content {
  display: flex;
  justify-content: center;             /* 中央揃えに変更 */
  align-items: center;                 /* 垂直方向中央揃え */
  margin-bottom: 30px;                 /* 下部マージン */
  flex-direction: column;              /* 縦並びに変更 */
  gap: 20px;                           /* アイテム間隔 */
}

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

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

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

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

/* 著作権表示 */
.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: center;         /* 左揃え */
      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/25309810_s.jpg');
  background-size: cover;              /* 背景画像をカバー */
  background-position: center;         /* 中央に配置 */
  color: white;                        /* テキスト色白 */
  text-align: center;                  /* 中央揃え */
  padding: 120px 0 180px;               /* 上下パディング */
  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: white;                        /* テキスト色白 */
  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;
  }
}

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





/* こだわりセクション */
.commitment {
    padding: 80px 0;
    background-color: #f9fbfd;
    text-align: center;
   background-image:url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT7ZEBUewFknboh_eGFLHPtzEx_-B-WxfXmuQ&s); 
}

.commitment h2 {
    color: var(--primary);
    margin-bottom: 50px;
    font-size: 2rem;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 常に3列 */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.commitment-item {
  
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}



.commitment-item {
    padding: 30px;
    transition: transform 0.3s;
}

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

.commitment-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.commitment-item h3 {
    margin: 20px 0 15px;
    font-size: 1.3rem;
}

.commitment-item p {
    line-height: 1.8;
    color: #555;
}

/* こだわりセクションのヘッダー画像 */
.commitment-header-image {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.commitment-header-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.commitment-header-image:hover img {
    transform: scale(1.03);
}

.kodawari-a a {
  color: var(--dark);
  padding: 1rem;         /* クリック領域拡大 */
  font-weight: 600;      /* 太字 */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .commitment {
        padding: 60px 0;
    }
    
    .company-profile {
        padding: 60px 0;
    }
    
    .profile-content {
        flex-direction: column;
    }
    
    .commitment-grid {
        grid-template-columns: 1fr;
    }

    /* スマホ表示時の中央寄せ調整 */
@media (max-width: 768px) {
    .commitment-item .commitment-content,
    .commitment-item.reverse .commitment-content {
        text-align: center;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* 子要素を中央寄せ */
    }
    
    .commitment-points {
        text-align: left; /* リストの中身は左揃えを維持 */
        padding-left: 0;
        width: auto;
        display: inline-block; /* コンテンツ幅に合わせる */
    }
    
    .commitment-points li {
        text-align: left; /* リスト項目は左揃え */
        padding-left: 25px;
    }
    
    .commitment-content h3,
    .commitment-content p {
        text-align: center; /* タイトルと本文は中央寄せ */
        width: 100%;
    }
}
}

@media (max-width: 480px) {
    .commitment-item, 
    .profile-table {
        padding: 20px;
    }
    
    .commitment-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}


/* 施工事例セクション */
.construction-case {
  padding: 80px 0;                     /* 上下パディング */
  /*background-image:url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ4TVdPADDrffhjP3cRylGOE2J82jazs_BBDQ&s);  */
  background-image:url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQe3kx472xkkZKqQ4t7bpnBJH95q2m9JnfWdQ&s); 
}

.construction-case {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.construction-case h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 2rem;
}

.section-subtitle {
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.before-after {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.image-box {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    background-color: #ffffff;
}

.image-box:hover {
    transform: translateY(-10px);
}

.image-box img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.image-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 2;
}

.image-label.after {
    background-color: var(--primary);
}

.image-description {
    padding: 20px;
    text-align: left;
    background-color: white;
}

.image-description h3 {
    margin-top: 0;
    color: var(--secondary);
}

.image-description p {
    color: #666;
    line-height: 1.6;
}

.case-points {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.case-points h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
}

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

.case-points li {
    padding: 10px 0 10px 35px;
    position: relative;
    margin-bottom: 10px;
}

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

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .construction-case {
        padding: 60px 0;
    }
    
    .before-after {
        flex-direction: column;
        align-items: center;
    }
    
    .image-box {
        max-width: 100%;
    }
    
    .image-box img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .image-box {
        min-width: 100%;
    }
    
    .image-description {
        padding: 15px;
    }
}





/* 横スクロールカルーセルセクション */

.horizontal-carousel {
  padding: 80px 0;                     /* 上下パディング */
  /*background-image:url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ4TVdPADDrffhjP3cRylGOE2J82jazs_BBDQ&s);  */
  background-image:url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQe3kx472xkkZKqQ4t7bpnBJH95q2m9JnfWdQ&s); 
}

.horizontal-carousel {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.horizontal-carousel h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 2rem;
}

.horizontal-swiper {
    width: 100%;
    height: auto;
    padding: 20px 0 40px;
}

.horizontal-swiper .swiper-wrapper {
    align-items: stretch; /* 高さを統一 */
}

.horizontal-swiper .swiper-slide {
    width: 300px; /* スライドの幅 */
    height: auto;
    margin-right: 20px;
}

.horizontal-swiper .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.horizontal-swiper .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.horizontal-swiper .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.horizontal-swiper .card-content {
    padding: 20px;
    background: white;
    flex-grow: 1;
    text-align: left;
}

.horizontal-swiper .card-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--secondary);
    font-size: 1.2rem;
}

.horizontal-swiper .card-content p {
    margin-bottom: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ナビゲーションボタン */
.horizontal-swiper .swiper-button-prev,
.horizontal-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: var(--primary);
    top: 50%;
    transform: translateY(-50%);
}

.horizontal-swiper .swiper-button-prev {
    left: 10px;
}

.horizontal-swiper .swiper-button-next {
    right: 10px;
}

.horizontal-swiper .swiper-button-prev::after,
.horizontal-swiper .swiper-button-next::after {
    font-size: 1.2rem;
    font-weight: bold;
}

/* スクロールバー */
.horizontal-swiper .swiper-scrollbar {
    background: rgba(0,0,0,0.05);
    height: 6px;
    bottom: 20px;
    left: 50%;
    width: 80%;
    
}

.horizontal-swiper .swiper-scrollbar-drag {
    background: var(--primary);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .horizontal-swiper .swiper-slide {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .horizontal-carousel {
        padding: 60px 0;
    }
    
    .horizontal-swiper .swiper-slide {
        width: 260px;
    }
    
    .horizontal-swiper .card img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .horizontal-swiper .swiper-slide {
        width: 240px;
    }
    
    .horizontal-swiper .card-content {
        padding: 15px;
    }
    
    .horizontal-swiper .swiper-button-prev,
    .horizontal-swiper .swiper-button-next {
        width: 35px;
        height: 35px;
    }
}



/* お問い合わせCTAセクション */
.contact-cta {
    padding: 80px 0;
   background-image:url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT7ZEBUewFknboh_eGFLHPtzEx_-B-WxfXmuQ&s); 
    color: rgb(0, 0, 0);
    text-align: center;
    position: relative;
    overflow: hidden;
}



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

.contact-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.contact-cta h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: rgb(0, 0, 0);
}

.contact-cta p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: white;
    color: var(--primary);
    padding: 15px 30px;
    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;
}

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

.cta-button.phone {
    background-color: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.cta-button.phone:hover {
    background-color: white;
    color: var(--primary);
}

.cta-button i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.cta-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.info-item i {
    font-size: 1.2rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-cta {
        padding: 60px 0;
    }
    
    .contact-cta h2 {
        font-size: 1.8rem;
    }
    
    .contact-cta p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .cta-info {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .contact-cta h2 {
        font-size: 1.6rem;
    }
    
    .contact-cta p br {
        display: none;
    }
    
    .info-item {
        font-size: 0.9rem;
    }
}














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

.contact-page h1 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
}

.contact-page p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

#contact-form {
    max-width: 700px;
    margin: 0 auto 60px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.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 {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9fbfd;
    border-radius: 10px;
}

.contact-info h2 {
    color: var(--secondary);
    margin-top: 0;
    margin-bottom: 20px;
}

.contact-info p {
    margin: 15px 0;
    text-align: left;
}

.contact-info i {
    color: var(--primary);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-page {
        padding: 60px 0;
    }
    
    #contact-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .contact-page h1 {
        font-size: 1.8rem;
    }
    
    .checkbox-group label {
        font-size: 0.9rem;
    }
}





.thanks-message {
    padding: 100px 0;
    text-align: center;
}

.thanks-message h1 {
    color: var(--primary);
    margin-bottom: 30px;
}

.thanks-message p {
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-home {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

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












/* こだわりページ専用スタイル */
.kodawari-page {
    padding: 80px 0;
    background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQe3kx472xkkZKqQ4t7bpnBJH95q2m9JnfWdQ&s);
}

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

.commitment-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.commitment-intro h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
}

.commitment-intro p {
    line-height: 1.8;
    font-size: 1.1rem;
}

.commitment-item {
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.commitment-item.reverse {
    flex-direction: row-reverse;
}

.commitment-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.commitment-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.commitment-item:hover .commitment-image img {
    transform: scale(1.03);
}

.commitment-content {
    flex: 1;
}

.commitment-content h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.commitment-content p {
    line-height: 1.8;
    margin-bottom: 25px;
}

.commitment-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.commitment-points li {
    padding: 10px 0 10px 35px;
    position: relative;
    margin-bottom: 10px;
}

.commitment-points li i {
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 12px;
}

/* 職人紹介セクション */
.craftsman-section {
    margin-bottom: 80px;
}

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

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

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

.craftsman-card:hover {
    transform: translateY(-10px);
}

.craftsman-image {
    height: 300px;
    overflow: hidden;
}

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

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

.craftsman-info {
    padding: 25px;
}

.craftsman-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--dark);
}

.position {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.bio {
    line-height: 1.7;
    margin-bottom: 0;
}

/* こだわりCTAセクション */
.kodawari-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.kodawari-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.kodawari-cta p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}



/* アニメーション定義 */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 初期状態（画面外に設定） */
.commitment-content {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1.5s ease-out;
}

.commitment-item.reverse .commitment-content {
    transform: translateX(50px);
}

/* アニメーション適用時の状態 */
.commitment-content.animate {
    opacity: 1;
    transform: translateX(0);
}




/* 会社概要ページ専用スタイル */
.company-page {
    padding: 80px 0;
}

.company-info-section {
    margin-bottom: 80px;
}

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

.info-table {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 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;
}

.info-table a {
    color: var(--primary);
    text-decoration: none;
}

.info-table a:hover {
    text-decoration: underline;
}

/* アクセスセクション */
.access-section {
    margin-bottom: 80px;
}

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

.access-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* レスポンシブな地図画像用スタイル */
.access-map {
    position: relative;
    width: 40%;
    padding-bottom: 56.25%; /* 16:9のアスペクト比 */
    overflow: hidden;
    margin-bottom: 20px;
}

.access-map img.responsive-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* モバイル用の調整 */
@media (max-width: 768px) {
    .access-content {
        flex-direction: column;
    }
    
    .access-map {
        padding-bottom: 75%; /* モバイルでは4:3に近い比率 */
    }
}

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

.access-info h3 {
    color: var(--secondary);
    margin-top: 0;
    margin-bottom: 20px;
}

.access-info p {
    margin-bottom: 15px;
    line-height: 1.7;
    position: relative;
    padding-left: 30px;
}

.access-info i {
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 1.2rem;
}

/* 沿革セクション */
.history-section {
    margin-bottom: 50px;
}

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

.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 50px;
}

.history-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 3px;
    background: var(--primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-year {
    position: absolute;
    left: -50px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.commitment-image,
.commitment-content {
    flex: 1;
    min-width: 0; /* コンテナからはみ出さないように */
}



.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--secondary);
}

.timeline-content p {
    margin-bottom: 0;
    line-height: 1.7;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .commitment-item,
    .access-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .commitment-image,
    .commitment-content,
    .access-map,
    .access-info {
        width: 100%;
    }

    .commitment-item,
    .commitment-item.reverse {
        flex-direction: column;
        gap: 25px;
}

.commitment-image,
    .commitment-content {
        width: 100%;
        max-width: 100%;
    }
    
    .commitment-image {
        max-width: 500px;
        margin: 0 auto;
    }

}

@media (max-width: 768px) {
    .kodawari-page,
    .company-page {
        padding: 60px 0;
    }
    
    .commitment-intro,
    .company-info-section,
    .access-section,
    .history-section {
        margin-bottom: 60px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .info-table {
        padding: 20px;
    }
    
    .info-table th, 
    .info-table td {
        padding: 10px;
    }

    .commitment-item,
    .commitment-item.reverse {
        flex-direction: column;
        gap: 25px;
}

.commitment-image,
    .commitment-content {
        width: 100%;
        max-width: 100%;
    }
    
    .commitment-image {
        max-width: 500px;
        margin: 0 auto;
    }

}

@media (max-width: 480px) {
    .commitment-intro h2,
    .craftsman-section h2,
    .company-info-section h2,
    .access-section h2,
    .history-section h2 {
        font-size: 1.8rem;
    }
    
    .history-timeline {
        padding-left: 40px;
    }
    
    .timeline-year {
        left: -40px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .access-info p {
        padding-left: 25px;
    }
    
    .access-info i {
        font-size: 1rem;
        top: 5px;
    }
}