/* ------------------------- */
/* タブ */
/* ------------------------- */

ul.camera_tab {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  width: 100%;
  position: sticky;
  z-index: 99;
  background: #FEFFF0;
  top: 123px;
  margin-top: calc(20 / 1366 * 100vw);
}

.tab {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 96px;
  height: 40px;
  padding: 10px;
  border-radius: 20px;
  gap: 8px;
  border: 2px solid #2C4198;
  background-color: #ffffff;
  position: relative;
  opacity: 1;
  color: #2C4198;
  font-size: 16px;
  font-weight: bold;
  margin: calc(16 / 720 * 100vw) 0;
}

.tab:before {
  content: '';
  border-radius: 50%;
  background: #2C4198;
  width: 9px;
  height: 9px;
  display: block;
}

.tab:hover {
  background-color: #2C4198;
  color: #ffffff;
}

.tab:nth-child(n+2) {
  border-left: 1px solid #333;
}

.tab.active {
  background-color: #2C4198;
  color: #ffffff;
  opacity: 1;
}

.tab.active:before {
  content: '';
  border-radius: 50%;
  background: #ffffff;
  width: 9px;
  height: 9px;
  display: block;
}

.tab:hover:before {
  content: '';
  border-radius: 50%;
  background: #ffffff;
  width: 9px;
  height: 9px;
  display: block;
}

/* ------------------------- */
/* タブの中身 */
/* ------------------------- */
.panel_item {
  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
}

.panel_item.active {
  display: block;
}

@media only screen and (min-width: 769px) {
  .tab {
    margin-bottom: 32px;
  }
}

@media only screen and (max-width: 991px) {
  ul.camera_tab {
    top: 0;
  }
}