.type-tab-menu {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.type-tab-btn {
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #111;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.type-tab-btn:hover {
  background: #f5f5f5;
}

.type-tab-btn.active {
  background: #0d1b63;
  color: #fff;
  border-color: #0d1b63;
}

.type-tab-content {
  display: none;
}

.type-tab-content.active {
  display: block;
}

.type-summary {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  gap: 0;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  margin-bottom: 32px;
}

.type-summary-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 30px;
}

.summary-a .type-summary-left {
  background: #a8c98a;
}

.summary-b .type-summary-left {
  background: #e9e34f;
}

.summary-c .type-summary-left {
  background: #d88da6;
}

.type-name {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 30px;
  color: #000;
}

.type-count {
  display: inline-block;
  padding-top: 26px;
  border-top: 6px solid #000;
  font-size: 28px;
  font-weight: 800;
  color: #000;
}

.type-summary-center {
  display: flex;
  align-items: center;
  padding: 40px;
  background: #f9f9f9;
}

.type-summary-center dl {
  width: 100%;
}

.type-summary-center dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #d8d8d8;
  font-size: 18px;
}

.type-summary-center dt {
  font-weight: 700;
  color: #333;
}

.type-summary-center dd {
  margin: 0;
  color: #444;
  text-align: right;
}

.type-summary-right {
  display: flex;
  align-items: center;
  padding: 40px 30px;
  background: #fff;
}

.type-summary-right p {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

.type-image-wrap img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

@media (max-width: 1024px) {
  .type-summary {
    grid-template-columns: 1fr;
  }

  .type-summary-left {
    min-height: 220px;
  }

  .type-summary-center,
  .type-summary-right {
    padding: 28px 24px;
  }
}

@media (max-width: 768px) {
  .type-tab-menu {
    gap: 10px;
  }

  .type-tab-btn {
    flex: 1 1 calc(33.333% - 10px);
    padding: 12px 10px;
    font-size: 14px;
  }

  .type-name {
    font-size: 54px;
  }

  .type-count {
    font-size: 22px;
  }

  .type-summary-center dl div {
    font-size: 15px;
  }

  .type-summary-right p {
    font-size: 15px;
  }
}