.box {
  width: 100vw;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.box div {
  flex: 0 0 auto;
}

hgroup {
  position: relative;
}

.box h6 {
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.box h6 em {
  display: block;
  line-height: 1;
  font-weight: bold;
}

.box h6:hover em {
  color: #f00;
}

.mdsj {
  margin-right: 5vh;
}

.mdsj h6 {
  padding: 15px;
  background: url("../images/icons/square.svg") no-repeat center;
}

.jswz hgroup {
  margin: 60px 0;
}

.jswz h6, .hq h6, .gxlx h6, .art h6, .xx h6, .xyzz h6, .zl h6 {
  padding: 15px;
  background-image: url("../images/icons/rectangle.svg");
}

.hq h6 {
  padding: 15px 10px;
}

.box h6.rd {
  background: none;
  color: #c82828;
}

.box h6.rd em, .box h6.fw em {
  font-weight: 200;
}

.box h6.rd:hover em, .box h6.fw:hover em {
  font-weight: bold;
  color: #f00;
}

.box h6.rd::before {
  display: block;
  position: absolute;
  width: 90px;
  height: 90px;
  left: 50%;
  top: 50%;
  content: "";
  transform: translate(-50%, -50%);
  background: url("../images/icons/round.svg") no-repeat center;
  background-size: contain;
  z-index: -1;
}

.gxlx {
  grid-template-columns: auto auto auto auto auto auto;
  gap: 35px;
}

.art {
  margin-left: 35px;
}

.art hgroup {
  margin: 34px 0;
}

.art .ts {
  transform: translateX(32px);
}

.art h6.rd::before, .xyzz h6.rd::before {
  width: 100px;
  height: 100px;
  background: url("../images/icons/round2.svg") no-repeat center;
}

.xx {
  margin-left: 100px;
}

.xyzz hgroup:first-child {
  margin-bottom: 120px;
}

.xyzz hgroup:last-child {
  margin-top: 120px;
}

.gcz {
  margin: 42px;
}

hgroup b, hgroup i {
  display: block;
  position: absolute;
  width: 42px;
  height: 42px;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  left: 95%;
  opacity: 0;
  transition: var(--trans);
}

hgroup b {
  bottom: 95%;
  background-image: url("../images/icons/line.svg");
  transform: translate(-100%, 100%);
}

hgroup i {
  top: 95%;
  background-image: url("../images/icons/line2.svg");
  transform: translate(-100%, -100%);
}

.mdsj b, .mdsj i {
  left: 100%;
}

.mdsj b {
  bottom: 90%;
}

.mdsj i {
  top: 90%;
}

hgroup.h b {
  width: 60px;
  height: 20px;
  left: 105%;
  bottom: 30%;
  background-image: url("../images/icons/line4.svg");
  background-size: 100% auto;
}

hgroup.jy b {
  background-image: url("../images/icons/line3.svg");
}

hgroup.fw b, hgroup.fw i {
  left: 100%;
  width: 110px;
  height: 110px;
}

hgroup.fw i {
  top: 100%;
  background-image: url("../images/icons/line8.svg");
}

hgroup.fw b {
  bottom: 100%;
  background-image: url("../images/icons/line7.svg");
}

hgroup.gw b {
  background-image: url("../images/icons/line13.svg");
}

hgroup.gw i {
  background-image: url("../images/icons/line6.svg");
}

hgroup.jj b {
  background-image: url("../images/icons/line5.svg");
}

hgroup.jj i {
  background-image: url("../images/icons/line14.svg");
}

hgroup.wh i, hgroup.sy b {
  left: 85%;
  width: 120px;
  height: 120px;
}

hgroup.wh i {
  top: 100%;
  background-image: url("../images/icons/line12.svg");
}

hgroup.sy b {
  bottom: 100%;
  background-image: url("../images/icons/line11.svg");
}

hgroup.ys i, hgroup.js b {
  left: 90%;
  width: 210px;
  height: 190px;
  z-index: -1;
}

hgroup.ys i {
  top: 60%;
  background-image: url("../images/icons/line9.svg");
}

hgroup.js b {
  bottom: 60%;
  background-image: url("../images/icons/line10.svg");
}

hgroup b:hover {
  background-position: bottom left;
  background-size: 300%;
}

hgroup i:hover {
  background-position: top left;
  background-size: 300%;
}

hgroup.h b:hover, hgroup.gw b:hover, hgroup.gw i:hover, hgroup.jj b:hover, hgroup.jj i:hover {
  background-position: center center;
  background-size: 300%;
}

.xyzz .rd {
  padding: 0;
}

.xyzz i, .xyzz b {
  left: 90%;
}

.xsrl {
  height: 100vh;
  top: 0;
  left: 50%;
  justify-content: space-between;
  padding: 8vh 0;
  transform: translateX(350px);
  z-index: -9;
}

.xsrl div {
  transform: translateX(-100%);
}

.xsrl .sjw {
  margin-bottom: 340px;
}

.xsrl .ywt {
  margin-top: 340px;
}

.xsrl h6 {
  font-weight: 200;
  transform: translateX(100%);
}

.detailed {
  position: fixed;
  opacity: 0;
  pointer-events: none;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  z-index: 9;
}

.detailed .inner {
  max-width: 80vw;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  padding: 30px;
  border-radius: 30px;
  transform: scale(0);
  transition: var(--trans);
}

.box p, .detailed b, .detailed i {
  display: none;
}

.detailed .inner em {
  display: inline-block;
  font-weight: bold;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 15px;
  color: #d00;
}

.detailed .inner em:first-child {
  margin-left: 40px;
}

.detailed p {
  display: block;
  font-size: 20px;
  text-indent: 2em;
}

.detailed.active {
  display: flex;
  width: 100vw;
  height: 100vh;
  opacity: 1;
  pointer-events: auto;
}

.detailed.active .inner {
  transform: scale(1);
}

.buttons {
  position: absolute;
  bottom: 20px;
  right: 20px;
  /* background: #eee; */
}

.buttons button {
  padding: 10px;
  background: #fff;
  overflow: hidden;
}

.buttons a {
  padding: 10px;
  background: #fff;
  border-radius: var(--radius);
  margin: 5px;
}

.buttons .up img, .buttons .down img {
  height: 10px;
}

.buttons .left img, .buttons .right img, .buttons .center img {
  height: 40px;
}

.buttons button.disabled {
  opacity: 0.2;
  /* pointer-events: none; */
  filter: grayscale(1);
  cursor: not-allowed;
}

.music {
  position: fixed;
  top: 20px;
  right: 20px;
}

.music button {
  width: 40px;
  height: 40px;
  padding: 12px;
  border-radius: 20px;
  background: none;
  border: solid #ddd 1px;
}

.music button:hover {
  border: solid #888 1px;
}

.music svg {
  width: 100%;
  /* animation: spin 3s linear infinite; */
  transform-origin: center;
}

/* 只有播放时才旋转 */
.music:not(.paused) svg {
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 900px) {}

@media (min-width: 1200px) {}
