body {
  margin: 0;
  background: #05040a;
  color: white;
  font-family: sans-serif;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background: #0d0a21;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  transition: 0.2s ease;
}

.menu-item img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
}

.menu-item:hover,
.menu-item.active {
  background-color: #5752ec;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 45px;
  height: 45px;
}

.logo span {
  font-size: 20px;
  font-weight: bold;
  background: linear-gradient(135deg, #f5f5f5 0%, #d6d6d6 30%, #a8b0b8 50%, #eaeaea 70%, #c2c8cf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.main {
  flex: 1;
  margin-left: 240px;
  padding: 20px;
  background-color: #070610;
}

/*ボタン*/
.set-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.set-btn {
  background: #1c1a2b;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s ease;
}

.set-btn:hover {
  background: #2a2542;
}

.set-btn.active {
  background: #5752ec;
  border-color: #5752ec;
}




#artifact-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.artifact-card {
  display: flex;
  flex-direction: row;
  gap: 12px;
  background-color: #0d0d0d;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.artifact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.artifact-img-wrapper {
  flex: 0 0 80px;
  height: 80px;
  border-radius: 8px;
  background: #181818;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.artifact-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
}

.artifact-name {
  font-weight: bold;
  font-size: 16px;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.artifact-sets {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.artifact-set-title {
  font-size: 13px;
  color: #ffb400;
  margin-bottom: 2px;
}

.artifact-set-desc {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.5;
  margin: 0;
}

.set-block {
  padding-left: 2px;
}

@media screen and (max-width: 768px) {
  #artifact-container {
    grid-template-columns: 1fr;
  }
  .artifact-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .artifact-img-wrapper {
    width: 100px;
    height: 100px;
  }
  .artifact-info {
    width: 100%;
  }
  .sidebar {
    width: 60px;
    padding: 8px;
  }
  .logo span,
  .menu-item span {
    display: none;
  }
}
