.list {
  position: relative;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: var(--surface);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.list:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.list figure {
  width: 160px;
  margin-bottom: 2rem;
  flex-shrink: 0;
}

.list img {
  width: 100%;
  height: auto;
}

.list-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.list-grid .list {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.list-grid .list h4 {
  margin: 0;
}

.list-grid .list p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.5;
}

.list-grid .list .text {
  width: 100%;
  min-width: 0;
  flex: 1;
}

.list-grid .list figure {
  flex: none;
  width: clamp(60px, 18vw, 100px);
  margin: 0 0 0.5rem;
}

@media screen and (min-width: 900px) and (max-width: 1199px) {
  .list-grid .list figure {
    width: clamp(120px, 14vw, 155px);
  }
}

@media screen and (min-width: 1440px) {
  .list-grid .list {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .list-grid .list figure {
    flex: 0 0 clamp(95px, 10vw, 140px);
    margin: 0;
  }
}

.ta1 caption,
.ta2 caption {
  margin-bottom: 15px;
  padding: 10px 5px;
  color: #fff;
  font-weight: bold;
  background: #666;
  border-radius: 5px;
}

.ta1,
.ta2 {
  width: 100%;
  margin: 0 auto 2rem;
  border-top: 1px solid #555;
}

.ta1 tr,
.ta2 tr {
  border-bottom: 1px solid #555;
}

.ta1 th,
.ta1 td,
.ta2 th,
.ta2 td {
  padding: 10px 5px;
  word-break: break-all;
}

.ta1 th {
  width: 30%;
  text-align: left;
  background: var(--surface);
}

.ta2 th,
.ta2 td {
  background: var(--surface);
}

.ta2 th {
  width: 120px;
  text-align: center;
  background: #f3f6fb;
}

.small {
  font-size: 0.75em;
}

p.img {
  margin: 0 0 1rem !important;
}

td,
th {
  text-align: center;
}

h3 {
  margin: 40px 0 25px;
  padding-left: 12px;
  font-size: 28px;
}

/* Keep SEO heading in DOM but hide it visually. */
.main-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text {
  flex: 1;
}

@media screen and (min-width: 900px) {
  .ta1 caption {
    padding: 5px 15px;
  }

  .ta1 th,
  .ta1 td {
    padding: 20px 15px;
  }

  .ta1 th {
    width: 20%;
  }
}
