.ccp,
.cga,
.cct {
  --ccp-blue: #0058b8;
  --ccp-dark: #073b78;
  --ccp-head: #c2e9f8;
  --ccp-line: #cbdff2;
  --ccp-soft: #f7fbff;
  --ccp-text: #2a394b;
  color: var(--ccp-text);
}

.ccp,
.ccp *,
.cga,
.cga *,
.cct,
.cct * {
  box-sizing: border-box;
}

.ccp {
  width: 100%;
  max-width: 100%;
  margin: 0 0 36px;
  clear: both;
  float: none;
  font-size: 16px;
  line-height: 1.75;
}

.ccp__card {
  width: 100%;
  max-width: 100%;
  padding: 26px;
  border: 1px solid #d8e7f5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(27, 78, 122, 0.05);
}

.ccp__name {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-left: 6px solid #00aaeb;
  background: var(--ccp-head);
  color: var(--ccp-dark);
  font-size: 1.5rem;
  line-height: 1.5;
}

.ccp__figure {
  margin: 0 0 20px;
}

.ccp__photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.ccp__caption {
  margin-top: 6px;
  color: #718096;
  font-size: 0.72rem;
  text-align: center;
}

.ccp__summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.ccp__panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--ccp-line);
  border-radius: 12px;
  background: #fff;
}

.ccp__heading {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 12px;
  color: var(--ccp-blue);
  font-size: 1.1rem;
  line-height: 1.4;
}

.ccp__heading-icon {
  display: inline-flex;
  width: 1.35em;
  height: 1.35em;
  flex: 0 0 1.35em;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ccp-blue);
}

.ccp__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ccp__table {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dfeaf4;
  border-radius: 8px;
}

.ccp__row {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  border-top: 1px solid #dfeaf4;
}

.ccp__row:first-child {
  border-top: 0;
}

.ccp__row dt {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 11px;
  background: var(--ccp-soft);
  font-weight: 700;
}

.ccp__row dd {
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  overflow-wrap: anywhere;
}

.ccp__row a {
  color: var(--ccp-blue);
}

.ccp__dt-text {
  min-width: 0;
}

.ccp__dt-icon {
  display: inline-flex;
  width: 1.2em;
  height: 1.2em;
  flex: 0 0 1.2em;
  align-items: center;
  justify-content: center;
  color: #0762bb;
}

.ccp__tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ccp__tags li {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 6px 10px;
  border: 0;
  border-radius: 4px;
  background: #f2f6fa;
  color: var(--ccp-text);
  font-weight: 600;
  text-align: left;
  cursor: default;
}

.ccp__tags li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #7ba9cf;
}

.ccp__details {
  position: relative;
  margin-top: 24px;
  padding-top: 52px;
}

.ccp__details::before {
  display: none;
}

.ccp__summary {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  display: flex;
  width: min(100%, 420px);
  min-height: 52px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 2px solid var(--ccp-blue);
  border-radius: 999px;
  background: #fff;
  color: var(--ccp-blue);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(7, 89, 174, 0.12);
  list-style: none;
}

.ccp__summary::-webkit-details-marker {
  display: none;
}

.ccp__summary-label {
  display: inline;
}

.ccp__summary-label--open {
  display: none;
}

.ccp__details[open] .ccp__summary-label--closed {
  display: none;
}

.ccp__details[open] .ccp__summary-label--open {
  display: inline;
}

.ccp__summary-icon {
  transition: transform 0.2s ease;
}

.ccp__details:not([open]) .ccp__details-body {
  display: none;
}

.ccp__details[open] {
  padding-top: 72px;
}

.ccp__details[open]::before {
  display: none;
}

.ccp__details[open] .ccp__summary {
  top: 0;
}

.ccp__details[open] .ccp__summary-icon {
  transform: rotate(180deg);
}

.ccp__details-body {
  display: grid;
  gap: 16px;
}

.ccp__map {
  display: flex;
  width: min(100%, 260px);
  min-height: 48px;
  margin: 14px auto 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ccp-blue);
  border-radius: 7px;
  color: var(--ccp-blue);
  font-weight: 700;
  text-decoration: none;
}

.ccp__map-icon {
  display: inline-flex;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 1.15em;
}

.ccp__description p {
  margin: 0 0 8px;
}

.ccp__notice {
  color: #8799ac;
  font-size: 0.8rem;
}

.ccp__db-wrap {
  text-align: center;
}

.ccp__official {
  display: flex;
  width: 100%;
  min-height: 58px;
  margin-top: 24px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 7px;
  background: linear-gradient(90deg, #004eaa, #0069d2);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.ccp__official-icon {
  display: inline-flex;
  width: 1.5em;
  height: 1.5em;
  flex: 0 0 1.5em;
}

.ccp__db {
  display: inline-block;
  margin-top: 0;
  color: var(--ccp-blue);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.ccp__db::after {
  content: " \3009";
}

.cga,
.cct {
  margin: 0 0 42px;
  font-size: 16px;
  line-height: 1.75;
}

.cga__title,
.cct__title,
.ccp-section-title {
  position: relative;
  margin: 0 0 22px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 4px solid #0058b8;
  background: transparent;
  color: #173b5f;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.45;
}

.cga__title::after,
.cct__title::after,
.ccp-section-title::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 72px;
  height: 4px;
  background: #00aaeb;
  content: "";
}

.cga__lead,
.cct__lead {
  margin: 0 0 18px;
}

.cga__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cga__card {
  position: relative;
  min-width: 0;
  padding: 20px 16px 16px;
  border: 1px solid var(--ccp-line);
  border-radius: 12px;
  background: #fff;
}

.cga__number {
  display: flex;
  width: 34px;
  height: 34px;
  margin: 0 0 10px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ccp-blue);
  color: #fff;
  font-weight: 700;
}

.cga__heading {
  margin: 0 0 8px;
  color: var(--ccp-dark);
  font-size: 1.05rem;
  line-height: 1.5;
}

.cga__card p:last-child {
  margin-bottom: 0;
}

.cct__scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cct__table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  overflow: hidden;
  border: 1px solid var(--ccp-line);
  border-radius: 12px;
  background: #fff;
}

.cct__table th,
.cct__table td {
  padding: 10px 9px;
  border-right: 1px solid #e2edf6;
  border-bottom: 1px solid #e2edf6;
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
}

.cct__table thead th {
  background: var(--ccp-soft);
  color: var(--ccp-dark);
  font-weight: 700;
  text-align: center;
}

.cct__table tr:last-child th,
.cct__table tr:last-child td {
  border-bottom: 0;
}

.cct__table th:last-child,
.cct__table td:last-child {
  border-right: 0;
}

.cct__table tbody th {
  background: #fbfdff;
  font-weight: 700;
}

.cct__table a {
  color: var(--ccp-blue);
  font-weight: 700;
}

.cct__note {
  margin: 10px 0 0;
  color: #6f8193;
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .ccp {
    margin-bottom: 32px;
    font-size: 15px;
  }

  .ccp__card {
    padding: 14px;
  }

  .ccp__name {
    padding: 10px 12px;
    font-size: 1.25rem;
  }

  .ccp__summary-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ccp__panel {
    padding: 12px 10px;
  }

  .ccp__row {
    grid-template-columns: 7em minmax(0, 1fr);
    font-size: 0.9rem;
  }

  .ccp__row dt {
    gap: 6px;
  }

  .ccp__dt-icon {
    width: 1.05em;
    height: 1.05em;
    flex-basis: 1.05em;
  }

  .ccp__tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ccp__tags li {
    min-height: 38px;
    padding: 6px 8px;
  }

  .ccp__details {
    margin-top: 20px;
    padding-top: 48px;
  }

  .ccp__summary {
    top: 0;
    width: calc(100% - 16px);
    min-height: 48px;
    font-size: 14px;
  }

  .ccp__details[open] {
    padding-top: 64px;
  }

  .ccp__official {
    margin-top: 20px;
  }

  .cga,
  .cct {
    margin-bottom: 34px;
    font-size: 15px;
  }

  .cga__title,
  .cct__title,
  .ccp-section-title {
    margin-bottom: 18px;
    padding: 0 0 10px;
    border: 0;
    border-bottom: 3px solid #0058b8;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1.45;
  }

  .cga__title::after,
  .cct__title::after,
  .ccp-section-title::after {
    bottom: -3px;
    width: 56px;
    height: 3px;
  }

  .cga__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cga__card {
    padding: 15px 14px;
  }

  .cga__number {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
  }

  .cct__scroll {
    overflow: visible;
  }

  .cct__table {
    display: block;
    min-width: 0;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .cct__table thead {
    display: none;
  }

  .cct__table tbody {
    display: grid;
    gap: 12px;
  }

  .cct__table tr {
    display: block;
    overflow: hidden;
    border: 1px solid var(--ccp-line);
    border-radius: 12px;
    background: #fff;
  }

  .cct__table th,
  .cct__table td {
    display: grid;
    grid-template-columns: 8.5em minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    padding: 9px 11px;
    border: 0;
    border-bottom: 1px solid #e2edf6;
    text-align: left;
  }

  .cct__table tr > *:last-child {
    border-bottom: 0;
  }

  .cct__table th::before,
  .cct__table td::before {
    content: attr(data-label);
    color: #4a6075;
    font-weight: 700;
  }

  .cct__table tbody th {
    background: #f7fbff;
  }

  .cct__table tbody th::before {
    content: "";
  }

  .cct__table tbody th a {
    font-size: 1.05rem;
  }
}

@media (max-width: 380px) {
  .ccp__row {
    grid-template-columns: 1fr;
  }

  .ccp__row dt {
    border-bottom: 1px solid #dfeaf4;
  }

  .cct__table th,
  .cct__table td {
    grid-template-columns: 7.5em minmax(0, 1fr);
  }
}
