/* ==========================================
   実績の一部をご紹介ページ専用スタイル
   ========================================== */

/* 全体コンテナ */
.achievement-container {
   padding-bottom: 6rem;
   background-color: #fff;
}

/* --- 導入セクション --- */
.achievement-intro {
   padding: 5rem 0;
   text-align: center;
}

.intro-header {
   margin-bottom: 2rem;
}

.intro-en {
   display: block;
   font-family: 'Roboto', sans-serif;
   font-size: 1rem;
   color: #019DE8;
   letter-spacing: 0.1em;
   font-weight: 700;
   margin-bottom: 0.5rem;
}

.intro-jp {
   font-size: clamp(1.75rem, 3vw, 2.5rem);
   font-weight: 700;
   color: #333;
   line-height: 1.2;
}

.intro-text {
   font-size: 1rem;
   line-height: 2;
   color: #666;
   max-width: 800px;
   margin: 0 auto 4rem;
}

/* アンカーナビゲーション */
.achievement-nav {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 1.5rem;
   max-width: 1200px;
   margin: 0 auto;
}

.achieve-nav-item {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   background: #fff;
   border: 1px solid #E0E0E0;
   border-radius: 10px;
   padding: 2rem 1rem;
   text-decoration: none;
   transition: all 0.3s ease;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
   height: 100%;
}

.achieve-nav-item:hover {
   transform: translateY(-5px);
   box-shadow: 0 10px 20px rgba(1, 157, 232, 0.15);
   border-color: #019DE8;
}

.nav-num {
   font-family: 'Roboto', sans-serif;
   font-size: 2.5rem;
   font-weight: 700;
   color: #E0E0E0;
   line-height: 1;
   margin-bottom: 1rem;
   transition: color 0.3s ease;
}

.achieve-nav-item:hover .nav-num {
   color: #019DE8;
}

.nav-text {
   font-size: 1rem;
   font-weight: 700;
   color: #333;
   margin-bottom: 1rem;
   line-height: 1.4;
}

.nav-icon {
   font-size: 0.8rem;
   color: #019DE8;
}

/* --- プロジェクト詳細セクション --- */
.achievement-projects {
   padding: 0 0 6rem;
}

.project-block {
   display: flex;
   align-items: center;
   gap: 4rem;
   margin-bottom: 8rem;
   scroll-margin-top: 120px;
   /* アンカーリンクの位置調整 */
}

.project-block:last-child {
   margin-bottom: 0;
}

/* 偶数番目は左右反転（ジグザグレイアウト） */
.project-block.reverse {
   flex-direction: row-reverse;
}

/* 画像エリア */
.project-image {
   flex: 1;
   max-width: 50%;
}

.project-image img {
   width: 100%;
   height: auto;
   border-radius: 20px;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
   transition: transform 0.3s ease;
}

.project-block:hover .project-image img {
   transform: scale(1.02);
}

/* コンテンツエリア */
.project-content {
   flex: 1;
}

.project-label {
   display: inline-block;
   font-family: 'Roboto', sans-serif;
   font-size: 0.9rem;
   font-weight: 700;
   color: #019DE8;
   margin-bottom: 1rem;
   letter-spacing: 0.05em;
}

.project-title {
   font-size: clamp(1.5rem, 2.5vw, 2rem);
   font-weight: 700;
   color: #333;
   line-height: 1.4;
   margin-bottom: 2rem;
   padding-bottom: 1.5rem;
   border-bottom: 1px solid #E0E0E0;
}

.project-desc {
   font-size: 1rem;
   line-height: 1.9;
   color: #555;
   text-align: justify;
}

/* --- CTAセクション --- */
.achievement-cta {
   padding: 6rem 0 2rem;
   text-align: center;
}

/* --- 事業領域リンクセクション --- */
.achievement-business-link {
   padding: 4rem 0;
   background: #fff;
}

.business-link-content {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 3rem;
   background: linear-gradient(135deg, #f8f9fa 0%, #e8f4ff 100%);
   border: 1px solid #E0E0E0;
   border-radius: 16px;
   padding: 3rem 2rem;
}

.business-link-text {
   font-size: clamp(1rem, 1.5vw, 1.25rem);
   font-weight: 600;
   color: #333;
   line-height: 1.6;
   margin: 0;
}

.btn-business-link {
   display: inline-flex;
   align-items: center;
   gap: 12px;
   background: #003366;
   color: #fff;
   padding: 1rem 2rem;
   border-radius: 50px;
   text-decoration: none;
   font-weight: 600;
   font-size: 1rem;
   transition: all 0.3s ease;
}

.btn-business-link:hover {
   background: #0055aa;
   transform: translateY(-2px);
   box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

.btn-business-link .btn-arrow-circle {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 28px;
   height: 28px;
   background: rgba(255, 255, 255, 0.2);
   border-radius: 50%;
   transition: background 0.3s ease;
}

.btn-business-link:hover .btn-arrow-circle {
   background: rgba(255, 255, 255, 0.3);
}

.btn-business-link .btn-arrow {
   font-size: 1.2rem;
   line-height: 1;
}

.cta-content {
   background: #F4F8FC;
   border-radius: 20px;
   padding: 4rem 2rem;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 2rem;
}

.cta-text {
   font-size: clamp(1.2rem, 2vw, 1.5rem);
   font-weight: 700;
   color: #333;
   line-height: 1.6;
}

/* CTAボタン調整 */
.achievement-cta .btn-recruit {
   margin-top: 0;
   padding: 1rem 3.5rem;
}


/* ==========================================
   レスポンシブ対応 (SP)
   ========================================== */
@media (max-width: 900px) {
   .achievement-nav {
      grid-template-columns: repeat(2, 1fr);
   }
}

@media (max-width: 768px) {

   /* 導入セクション */
   .achievement-intro {
      padding: 3rem 0;
   }

   .intro-text {
      text-align: left;
      margin-bottom: 3rem;
   }

   .achievement-nav {
      grid-template-columns: 1fr;
      gap: 1rem;
   }

   .achieve-nav-item {
      flex-direction: row;
      justify-content: flex-start;
      gap: 1rem;
      padding: 1rem 1.5rem;
      text-align: left;
   }

   .nav-num {
      margin-bottom: 0;
      font-size: 1.5rem;
      width: 30px;
   }

   .nav-text {
      margin-bottom: 0;
      flex: 1;
      font-size: 0.95rem;
   }

   .nav-icon {
      transform: rotate(-90deg);
      /* 下矢印を右に向ける */
   }

   /* プロジェクト詳細 */
   .project-block {
      flex-direction: column;
      gap: 2rem;
      margin-bottom: 5rem;
   }

   .project-block.reverse {
      flex-direction: column;
   }

   .project-image {
      max-width: 100%;
      width: 100%;
   }

   .project-content {
      width: 100%;
   }

   .project-title {
      font-size: 1.4rem;
      margin-bottom: 1.5rem;
      padding-bottom: 1rem;
   }

   .project-desc {
      font-size: 0.95rem;
   }

   /* CTA */
   .cta-content {
      padding: 3rem 1.5rem;
   }

   .achievement-cta .btn-recruit {
      width: 100%;
      max-width: 300px;
   }

   /* 事業領域リンク */
   .achievement-business-link {
      padding: 2rem 0;
   }

   .business-link-content {
      flex-direction: column;
      gap: 1.5rem;
      padding: 2rem 1.5rem;
      text-align: center;
   }

   .business-link-text {
      font-size: 1rem;
   }

   .btn-business-link {
      width: 100%;
      max-width: 280px;
      justify-content: center;
   }
}