* {
  box-sizing: border-box;
}

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

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

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background: #0D0A21;
  padding: 20px;
  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;
  overflow-y: auto;
  background: #05040A;
}

/* ===== 上部レイアウト ===== */
.echo-top {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.echo-image {
  width: 900px;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.echo-info {
  flex: 1;
}

.echo-name {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.echo-sub {
  color: #bbb;
  margin-bottom: 16px;
  font-size: 14px;
}

/* ===== レア度スライダー ===== */
.range-group {
  margin-bottom: 15px;
}

.range-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.range-group input[type="range"] {
  width: 100%;
}

/* ===== 説明 ===== */
.section-title {
  margin-top: 40px;
  font-size: 22px;
  font-weight: bold;
}

.desc-box {
  background: #0D0D0D;
  border: 1px solid #ffffff84;
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
  line-height: 1.6;
}



.skill-box {
  background: #0D0D0D;
  border: 1px solid #ffffff84;
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.skill-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.skill-title {
  font-size: 16px;
  font-weight: bold;
}

.skill-desc {
  line-height: 1.6;
  margin-bottom: 14px;
}

.harmony-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.harmony-list {
  display: grid;
  gap: 10px;
}

.harmony-item {
  background: #141414;
  border: 1px solid #ffffff84;
  border-radius: 12px;
  padding: 10px;
}

.harmony-head {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-weight: bold;
}

.harmony-head img {
  width: 20px;
  height: 20px;
}

.harmony-set-title {
  color: #FFB400;
  font-size: 13px;
  margin-top: 6px;
}

.harmony-set-desc {
  font-size: 14x;
  line-height: 1.5;
}


/*表*/
.damage-table-wrap {
  margin-top: 12px;
  overflow-x: auto;
  border: 1px solid #ffffff84;
  border-radius: 12px;
  background: #0D0D0D;
}

.damage-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.damage-table th,
.damage-table td {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 8px 10px;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}

.damage-table th {
  background: #141414;
  font-weight: bold;
}
