.aips-top {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 12px;
  height: 600px;
  margin-top: 94px;
  padding: 12px;
  background: linear-gradient(135deg, #eef4fc 0%, #ffffff 60%, #e6effb 100%);
  box-sizing: border-box;
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

.aips-top *,
.aips-top *::before,
.aips-top *::after {
  box-sizing: border-box;
}

.aips-short {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(12, 42, 123, 0.12);
  color: #0c2a7b;
  text-decoration: none;
  transition: box-shadow 0.2s;
}

.aips-short:hover,
.aips-short:focus {
  color: #0c2a7b;
  text-decoration: none;
  box-shadow: 0 0 0 3px #102da5, 0 4px 14px rgba(12, 42, 123, 0.25);
  outline: none;
}

.aips-short-title {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
}

.aips-short-title .aips-badge {
  display: inline-block;
  margin-bottom: 4px;
  padding: 1px 8px;
  border-radius: 3px;
  background: #e8001b;
  color: #ffffff;
  font-size: 13px;
}

.aips-short video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #eef4fc;
}

.aips-short-link {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

.aips-short-link span {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: #0c2a7b;
  color: #ffffff;
}

.aips-right {
  display: grid;
  grid-template-rows: 26fr 30fr;
  gap: 12px;
  min-width: 0;
  min-height: 0;
}

.aips-orbit {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(12, 42, 123, 0.12);
}

.aips-orbit-path {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 14%;
  bottom: 14%;
  border: 2px dashed #b7c8ea;
  border-radius: 50%;
  pointer-events: none;
}

.aips-orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 40%;
  padding: 4px 6%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 28%, #9cc0ff 0%, #3f74e8 30%, #1b46b8 65%, #0c2a7b 100%);
  box-shadow: inset -6px -8px 16px rgba(5, 20, 70, 0.45), inset 4px 5px 10px rgba(255, 255, 255, 0.35), 0 6px 14px rgba(12, 42, 123, 0.35);
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.aips-orbit-center::before {
  content: "";
  position: absolute;
  left: 18%;
  top: 8%;
  width: 34%;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}

.aips-orbit-center .ttl {
  position: relative;
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.aips-orbit-center .txt {
  position: relative;
  margin: 2px 0 0;
  color: #eef3ff;
  font-size: 12px;
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.aips-orbit-item {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  padding: 4px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3f6fe0, #0c2a7b);
  box-shadow: 0 3px 8px rgba(12, 42, 123, 0.35);
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  will-change: transform;
}

.aips-orbit-item .no {
  display: block;
  font-size: 15px;
}

.aips-orbit-item.is-active {
  background: radial-gradient(circle at 35% 30%, #ff5a5a, #e8001b);
  box-shadow: 0 0 0 4px rgba(232, 0, 27, 0.25), 0 3px 8px rgba(0, 0, 0, 0.3);
}

.aips-orbit-item:focus {
  outline: none;
  box-shadow: 0 0 0 4px #ffd400;
}

.aips-orbit-item .new {
  position: absolute;
  top: -6px;
  right: -8px;
  padding: 0 5px;
  border-radius: 3px;
  background: #ffd400;
  color: #c00000;
  font-size: 10px;
}

.aips-detail {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #0f1b3d;
  box-shadow: 0 2px 10px rgba(12, 42, 123, 0.12);
}

.aips-detail video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f1b3d;
}

.aips-detail-label {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(12, 42, 123, 0.85);
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
}

.aips-card {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 20px 6%;
  background: linear-gradient(135deg, #0c2a7b 0%, #1d4fc4 100%);
  color: #ffffff;
}

.aips-card.is-show {
  display: flex;
}

.aips-card h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
}

.aips-card p,
.aips-card li {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.aips-card ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
  list-style: disc;
}

.aips-card .note {
  margin-top: 10px;
  color: #c9d6f5;
  font-size: 12px;
}

.aips-card a {
  align-self: flex-start;
  padding: 8px 18px;
  border-radius: 20px;
  background: #ffffff;
  color: #0c2a7b;
  font-weight: bold;
  text-decoration: none;
}

.aips-card a:hover {
  background: #ffd400;
  color: #0c2a7b;
  text-decoration: none;
}

@media screen and (max-width: 1100px) {
  .aips-top {
    height: 530px;
  }
  .aips-short-title {
    font-size: 15px;
  }
  .aips-orbit-item {
    width: 62px;
    height: 62px;
    margin: -31px 0 0 -31px;
    font-size: 10px;
  }
  .aips-orbit-center .ttl {
    font-size: 15px;
  }
  .aips-orbit-center .txt {
    font-size: 11px;
  }
}

@media screen and (max-width: 650px) {
  .aips-top {
    grid-template-columns: 1fr;
    height: auto;
    padding: 8px;
  }
  .aips-right {
    grid-template-rows: 300px 220px;
  }
  .aips-orbit-item {
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    font-size: 10px;
  }
  .aips-orbit-center {
    width: 64%;
    height: 40%;
  }
  .aips-card h3 {
    font-size: 17px;
  }
  .aips-card p,
  .aips-card li {
    font-size: 13px;
  }
}
