﻿/* メインセクション背景 */
body {
  background-color: #6fa4c3;
}
.tech-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 40px 0;
  flex-wrap: wrap; /* モバイル対応 */
}
.tech-links a img {
  width: 200px;
  height: 50px;
  display: block;
  transition: opacity 0.3s ease;
}
.tech-links a img:hover {
  opacity: 0.8;
}
.section-heading {
  font-size: 1.25rem; /* 20pt */
  color: #6d6c6c;
  border-bottom: 1px dotted #6d6c6c;
  margin-bottom: 20px;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-items: center;
  margin-top: 30px;
}
.tech-box {
  width: 280px;
  /*height: 400px;*/
  background-color: #e3f5ff;
  border-radius: 10px;
  padding: 10px;
  position: relative;
  box-sizing: border-box;
}
.tech-inner-box {
  width: 260px;
  height: 280px;
  background-color: #fff;
  border-radius: 10px;
  position: relative;
  box-sizing: border-box;
  padding-top: 40px; /* タイトルと画像に余白を与える */
}
.tech-title {
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 1.125rem; /* 18pt */
  color: #2776a4;
  font-weight: bold;
}
.tech-image {
  width: 217px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.tech-description {
  font-size: 0.9375rem; /* 15pt */
  color: #333;
  line-height: 1.6;
}
.section-title {
  font-size: 1.25rem; /* 20pt */
  color: #6d6c6c;
  border-bottom: 1px dotted #6d6c6c;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.inspection-box {
  width: 900px;
  background-color: #e3f5ff;
  border-radius: 10px;
  padding: 10px;
  margin: 30px 0;
  box-sizing: border-box;
}
.inspection-inner {
  width: 880px;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 1rem;
  box-sizing: border-box;
}
.inspection-title {
  font-size: 1.125rem; /* 18pt */
  color: #2776a4;
  margin-bottom: 0.75rem;
}
.inspection-content {
  display: flex;
  gap: 1.5rem;
}
.inspection-image {
  width: 217px;
  height: 217px;
  object-fit: cover;
}
.inspection-text {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
}
.inspection-table {
  width: 80%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 1rem;
  color: #333;
}
.inspection-table th {
  background-color: #6d6c6c;
  color: #fff;
  padding: 0.5rem 1rem;
  text-align: left;
  font-weight: normal;
  border: solid #b5b5b5 1px;
}
.inspection-table td {
  padding: 0.5rem 1rem;
  border: solid #b5b5b5 1px;
}
.inspection-table2 {
  width: 80%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 1rem;
}
.inspection-table2 th {
  background-color: #6d6c6c;
  color: #ffffff;
  padding: 10px;
  text-align: center;
  border: solid #b5b5b5 1px;
}
.inspection-table2 td {
  padding: 10px;
  text-align: center;
  color: #6d6c6c;
  border: solid #b5b5b5 1px;
}
.inspection-table2 tr:nth-child(even) td {
  background-color: #eeeeee;
}
.inspection-table2 tr:nth-child(odd) td {
  background-color: #ffffff;
}
.inspection-table3 {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 1rem;
}
.inspection-table3 th {
  background-color: #6d6c6c;
  color: #ffffff;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
  border: solid #b5b5b5 1px;
}
.inspection-table3 td {
  padding: 10px;
  text-align: left;
  color: #6d6c6c;
  vertical-align: top;
  border: solid #b5b5b5 1px;
}
.inspection-table3 tr:nth-child(even) td {
  background-color: #eeeeee;
}
.inspection-table3 tr:nth-child(odd) td {
  background-color: #ffffff;
}
/* ------------------------------
   レスポンシブ対応 (768px以下)
---------------------------------*/
@media (max-width: 768px) {
  .tech-links {
    gap: 10px;
    margin: 30px 0;
  }
  .tech-links a img {
    width: 180px;
    height: 45px;
  }
  .section-heading {
    font-size: 1.125rem;
    margin-bottom: 15px;
  }
  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  .tech-box {
    width: 100%;
    height: auto;
    padding: 10px;
  }
  .tech-inner-box {
    width: 100%;
    height: auto;
    padding-top: 30px;
  }
  .tech-title {
    font-size: 1rem;
    top: -8px;
    left: 10px;
  }
  .tech-image {
    width: 80%;
  }
  .tech-description {
    font-size: 0.85rem;
  }
  .inspection-box {
    width: 90%;
    padding: 10px;
  }
  .inspection-inner {
    width: 100%;
    padding: 10px;
  }
  .inspection-content {
    flex-direction: column;
    gap: 20px;
  }
  .inspection-image {
    width: 100%;
    height: auto;
  }
  .inspection-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .inspection-table, .inspection-table2, .inspection-table3 {
    width: 100%;
    font-size: 0.6rem;
  }
  .inspection-table th, .inspection-table td, .inspection-table2 th, .inspection-table2 td, .inspection-table3 th, .inspection-table3 td {
    padding: 8px;
  }
}
/* ------------------------------
   レスポンシブ対応 (480px以下)
---------------------------------*/
@media (max-width: 480px) {
  .tech-links a img {
    width: 100px;
    height: auto;
  }
  .section-heading {
    font-size: 1rem;
  }
  .tech-title {
    font-size: 0.95rem;
  }
  .tech-description {
    font-size: 0.8rem;
  }
  .inspection-text {
    font-size: 0.8rem;
  }
  .inspection-table, .inspection-table2, .inspection-table3 {
    font-size: 0.5rem;
  }
  .inspection-table th, .inspection-table td, .inspection-table2 th, .inspection-table2 td, .inspection-table3 th, .inspection-table3 td {
    padding: 6px;
  }
  .inspection-box {
    width: 100%;
    padding: 10px;
  }
}