* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 通用样式 */
html, body {
  height: 100%;
}

body {
  background-color: #D7D9DA;
  overflow: hidden;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
  'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
  'Noto Color Emoji';
}

a {
  text-decoration: none;
  color: #0000EE;
}

.main {
  display: flex;
  width: 1280px;
  height: 100%;
  margin: 10px auto;
}

.left {
  width: 240px;
  height: 97%;
  overflow-y: auto;
  padding: 50px 0;
  border-radius: 15px 0 0 15px;
  background-image: linear-gradient(#0C246C, #0C193F);
}

.qax-logo {
  margin: 0 20px;
  text-align: center;
}

.qax-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.left .menu {
  margin-top: 45px;
}

.left .menu a {
  display: block;
  padding: 13px 20px;
  font-size: 18px;
  color: #5372E5;
}

.left .menu .current {
  background-color: #0B1845;
  color: #FFF;
}

.left .menu a:hover {
  color: #FFF;
  background-color: #0B1845;
}

.right {
  width: 1040px;
  height: 97%;
  padding: 50px;
  background-color: #EFF1F2;
  overflow: auto;
  text-align: justify;
  text-justify: distribute;
}

.right h1 {
  margin: 20px 0;
  text-align: center;
  font-size: 26px;
  font-weight: 400;
  color: #333;
}

.right h2 {
  margin: 40px 0 30px;
  padding-left: 10px;
  font-size: 26px;
  font-weight: 400;
  color: #333;
  border-left: 10px solid #3D75DE;
}

.right h3 {
  margin: 20px 0;
}

.right h4 {
  margin: 20px 0;
}

.right p {
  font-size: 17px;
  color: #333;
}

.visited {
  color: #551A8B !important;
}

/* 商用密码证书可信计划 */
.logo .title {
  text-align: center;
  margin-bottom: 22px;
  font-size: 28px;
}

.logo-col {
  display: flex;
}

.logo .logo-col img {
  width: 25%;
  height: 102px;
}

.logo img {
  display: block;
  width: 100%;
  max-width: 100%;
}

/* 证书认证流程 */
.right .flow {
  display: block;
  margin: 0 auto;
  width: 80%;
}

.sm2-th {
  display: flex;
  gap: 24px;
  padding: 0 30px;
  text-align: center;
  background-color: #D5D9E2;
}

.sm2-th .company {
  flex: 1;
}

.sm2-th .certificate {
  width: 280px;
}

.sm2-th .btn {
  width: 80px;
}

.sm2-th p {
  margin: 0;
  font-size: 18px;
  line-height: 48px;
}

.sm2-td {
  padding: 0 30px;
  background-color: #FFF;
}

.sm2-td .company {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  background-color: #FFF;
  align-items: center;
}

.sm2-td .company:not(:last-child) {
  border-bottom: 1px solid #D5D9E2;
}

.company .info {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.company .logo {
  width: 160px;
  margin-left: auto;
}

.company .certificate {
  width: 280px;
  white-space: nowrap;
}

.company .detail {
  width: 80px;
  text-align: center;
}

.sm2-td .company .detail a {
  display: block;
  font-size: 16px;
  line-height: 36px;
  text-align: center;
  color: #0000EE;
}

.sm2-td .company .detail a:hover {
  text-decoration: underline;
}

.sm2 .dialog {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 800px;
  border-radius: 4px;
  outline: 5000px solid rgba(0, 0, 0, .7);
  z-index: 999;
}

.sm2 .dialog .dialog-title {
  padding: 10px 20px 10px 40px;
  font-size: 18px;
  background-color: #D5D9E2;
}

.sm2 .dialog .dialog-title .close {
  display: inline-block;
  position: absolute;
  top: 14px;
  right: 20px;
  width: 18px;
  height: 18px;
  background: url('../img/close.png') no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
}

.sm2 .dialog .dialog-content {
  padding: 30px 40px;
  font-size: 14px;
  line-height: 28px;
  color: #666;
  height: 100%;
  background-color: #FFF;
}

.sm2 .dialog .dialog-content ul {
  list-style: none;
}

.sm2 .dialog .dialog-content li {
  display: flex;
}

.certificate-img {
  display: flex;
  justify-content: space-between;
}

.certificate-img {
  height: 500px;
  line-height: 0;
}

.certificate-img img {
  width: 50%;
  height: auto;
}

.company img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-btn {
  font-size: 16px;
  line-height: 36px;
  color: #0000EE;
  cursor: pointer;
}

.detail-btn:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  body {
    zoom: .3;
  }

  .sm2-td .company {
    grid-template-columns: 25% 22% 38% 15%;
  }
}