/* 開発実績ページ専用のスタイル - 表形式 */

.development-container {
  width: 100%;
  display: flex;
  min-height: 100vh;
  align-items: center;
  flex-direction: column;
}

/* ヘッダーセクション */
.development-header {
  background: linear-gradient(135deg, var(--dl-color-theme-primary1) 0%, var(--dl-color-theme-primary2) 100%);
  color: var(--dl-color-theme-secondary1);
}

.development-header-content {
  text-align: center;
  gap: var(--dl-layout-space-oneandhalfunits);
  display: flex;
  align-items: center;
  flex-direction: column;
}

.development-title {
  color: var(--dl-color-theme-secondary1);
  text-align: center;
}

.development-subtitle {
  color: var(--dl-color-theme-secondary1);
  text-align: center;
  opacity: 0.9;
}

/* プロジェクト一覧セクション */
.development-projects {
  background-color: var(--dl-color-theme-neutral-light);
}

.development-projects-content {
  gap: var(--dl-layout-space-fourunits);
  display: flex;
  align-items: center;
  flex-direction: column;
}

/* テーブルコンテナ */
.development-table-container {
  width: 100%;
  overflow-x: auto;
  background-color: var(--dl-color-theme-accent1);
  border-radius: var(--dl-layout-radius-cardradius);
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--dl-color-theme-accent2);
}

/* テーブル */
.development-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 800px;
}

/* テーブルヘッダー */
.development-th {
  background: linear-gradient(135deg, var(--dl-color-theme-primary1) 0%, var(--dl-color-theme-primary2) 100%);
  color: var(--dl-color-theme-secondary1);
  font-weight: 600;
  text-align: center;
  padding: var(--dl-layout-space-oneandhalfunits) var(--dl-layout-space-unit);
  border: 1px solid var(--dl-color-theme-primary1);
  font-size: 16px;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* テーブル行 */
.development-tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--dl-color-theme-accent2);
}

.development-tr:hover {
  background-color: var(--dl-color-theme-secondary2);
  transform: scale(1.01);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.development-tr:nth-child(even) {
  background-color: var(--dl-color-theme-accent1);
}

.development-tr:nth-child(even):hover {
  background-color: var(--dl-color-theme-secondary2);
}

/* テーブルセル */
.development-td {
  padding: var(--dl-layout-space-unit) var(--dl-layout-space-halfunit);
  border: 1px solid var(--dl-color-theme-accent2);
  vertical-align: top;
  line-height: 1.5;
  color: var(--dl-color-theme-neutral-dark);
}

/* プロジェクト名列 */
.development-td:first-child {
  font-weight: 600;
  color: var(--dl-color-theme-primary1);
  background-color: var(--dl-color-theme-accent1);
  min-width: 200px;
  width: 20%;
}

/* 顧客業種・分野列 */
.development-td:nth-child(2) {
  min-width: 150px;
  width: 15%;
  font-size: 13px;
}

/* テックスタック列 */
.development-tech {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  background-color: rgba(245, 209, 176, 0.3);
  color: var(--dl-color-theme-neutral-dark);
  min-width: 300px;
  width: 35%;
  word-break: break-word;
  line-height: 1.4;
}

/* 成果列 */
.development-td:last-child {
  min-width: 200px;
  width: 30%;
  font-size: 13px;
  color: var(--dl-color-theme-primary2);
  font-weight: 500;
}

/* フッター */
.development-footer {
  background-color: var(--dl-color-theme-neutral-dark);
  color: var(--dl-color-theme-secondary1);
}

.development-footer-content {
  gap: var(--dl-layout-space-threeunits);
  display: flex;
  align-items: center;
  flex-direction: column;
}

.development-footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.development-footer-logo-img {
  height: 2rem;
}

.development-footer-links {
  gap: var(--dl-layout-space-twounits);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.development-footer-link {
  color: var(--dl-color-theme-secondary1);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  padding: var(--dl-layout-space-halfunit) var(--dl-layout-space-unit);
  border-radius: var(--dl-layout-radius-buttonradius);
  border: 1px solid transparent;
}

.development-footer-link:hover {
  color: var(--dl-color-theme-accent2);
  border-color: var(--dl-color-theme-accent2);
  background-color: rgba(245, 209, 176, 0.1);
}

.development-footer-credits {
  gap: var(--dl-layout-space-twounits);
  display: flex;
  align-self: stretch;
  align-items: center;
  flex-direction: column;
}

.development-footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.development-footer-row .thq-body-small {
  color: var(--dl-color-theme-secondary1);
  opacity: 0.8;
}

/* レスポンシブデザイン */
@media(max-width: 991px) {
  .development-table {
    font-size: 13px;
    min-width: 700px;
  }
  
  .development-th {
    font-size: 14px;
    padding: var(--dl-layout-space-unit) var(--dl-layout-space-halfunit);
  }
  
  .development-td {
    padding: var(--dl-layout-space-halfunit);
    font-size: 12px;
  }
  
  .development-tech {
    font-size: 11px;
  }
}

@media(max-width: 767px) {
  .development-header-content {
    gap: var(--dl-layout-space-unit);
  }
  
  .development-title {
    font-size: 36px;
  }
  
  .development-subtitle {
    font-size: 16px;
  }
  
  .development-table-container {
    margin: 0 var(--dl-layout-space-unit);
  }
  
  .development-table {
    font-size: 12px;
    min-width: 600px;
  }
  
  .development-th {
    font-size: 13px;
    padding: var(--dl-layout-space-halfunit);
  }
  
  .development-td {
    padding: var(--dl-layout-space-halfunit);
    font-size: 11px;
  }
  
  .development-td:first-child {
    min-width: 150px;
  }
  
  .development-td:nth-child(2) {
    min-width: 120px;
  }
  
  .development-tech {
    font-size: 10px;
    min-width: 200px;
  }
  
  .development-td:last-child {
    min-width: 150px;
  }
  
  .development-footer-links {
    flex-direction: column;
    gap: var(--dl-layout-space-unit);
  }
}

@media(max-width: 479px) {
  .development-title {
    font-size: 28px;
  }
  
  .development-table-container {
    margin: 0 var(--dl-layout-space-halfunit);
  }
  
  .development-table {
    font-size: 11px;
    min-width: 500px;
  }
  
  .development-th {
    font-size: 12px;
    padding: var(--dl-layout-space-halfunit);
  }
  
  .development-td {
    padding: var(--dl-layout-space-halfunit);
    font-size: 10px;
  }
  
  .development-td:first-child {
    min-width: 120px;
  }
  
  .development-td:nth-child(2) {
    min-width: 100px;
  }
  
  .development-tech {
    font-size: 9px;
    min-width: 150px;
  }
  
  .development-td:last-child {
    min-width: 120px;
  }
}

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

.development-table-container {
  animation: fadeInUp 0.8s ease-out;
}

.development-tr {
  animation: fadeInUp 0.6s ease-out;
}

.development-tr:nth-child(1) { animation-delay: 0.1s; }
.development-tr:nth-child(2) { animation-delay: 0.15s; }
.development-tr:nth-child(3) { animation-delay: 0.2s; }
.development-tr:nth-child(4) { animation-delay: 0.25s; }
.development-tr:nth-child(5) { animation-delay: 0.3s; }
.development-tr:nth-child(6) { animation-delay: 0.35s; }
.development-tr:nth-child(7) { animation-delay: 0.4s; }
.development-tr:nth-child(8) { animation-delay: 0.45s; }
.development-tr:nth-child(9) { animation-delay: 0.5s; }
.development-tr:nth-child(10) { animation-delay: 0.55s; }
.development-tr:nth-child(11) { animation-delay: 0.6s; }
.development-tr:nth-child(12) { animation-delay: 0.65s; }
.development-tr:nth-child(13) { animation-delay: 0.7s; }
.development-tr:nth-child(14) { animation-delay: 0.75s; }
.development-tr:nth-child(15) { animation-delay: 0.8s; }
.development-tr:nth-child(16) { animation-delay: 0.85s; }
.development-tr:nth-child(17) { animation-delay: 0.9s; }
.development-tr:nth-child(18) { animation-delay: 0.95s; }
.development-tr:nth-child(19) { animation-delay: 1.0s; }
.development-tr:nth-child(20) { animation-delay: 1.05s; }
.development-tr:nth-child(21) { animation-delay: 1.1s; }
.development-tr:nth-child(22) { animation-delay: 1.15s; }
.development-tr:nth-child(23) { animation-delay: 1.2s; }
.development-tr:nth-child(24) { animation-delay: 1.25s; }
.development-tr:nth-child(25) { animation-delay: 1.3s; }
.development-tr:nth-child(26) { animation-delay: 1.35s; }
.development-tr:nth-child(27) { animation-delay: 1.4s; }
.development-tr:nth-child(28) { animation-delay: 1.45s; }
.development-tr:nth-child(29) { animation-delay: 1.5s; }
.development-tr:nth-child(30) { animation-delay: 1.55s; }
.development-tr:nth-child(31) { animation-delay: 1.6s; }

/* スクロール時のアニメーション */
@media (prefers-reduced-motion: no-preference) {
  .development-tr {
    opacity: 0;
    animation-fill-mode: forwards;
  }
}

/* 印刷用スタイル */
@media print {
  .development-header {
    background: none !important;
    color: var(--dl-color-theme-neutral-dark) !important;
  }
  
  .development-title,
  .development-subtitle {
    color: var(--dl-color-theme-neutral-dark) !important;
  }
  
  .development-table-container {
    box-shadow: none;
    border: 1px solid var(--dl-color-theme-neutral-dark);
  }
  
  .development-th {
    background: var(--dl-color-theme-neutral-dark) !important;
    color: var(--dl-color-theme-secondary1) !important;
  }
  
  .development-tr:hover {
    transform: none;
    box-shadow: none;
  }
  
  .development-footer {
    background: none !important;
    color: var(--dl-color-theme-neutral-dark) !important;
  }
  
}

/* スクロールバーのスタイリング */
.development-table-container::-webkit-scrollbar {
  height: 8px;
}

.development-table-container::-webkit-scrollbar-track {
  background: var(--dl-color-theme-accent2);
  border-radius: 4px;
}

.development-table-container::-webkit-scrollbar-thumb {
  background: var(--dl-color-theme-primary1);
  border-radius: 4px;
}

.development-table-container::-webkit-scrollbar-thumb:hover {
  background: var(--dl-color-theme-primary2);
}