body { font-family: sans-serif; text-align: center;
}
h1 { margin-bottom: 30px; }
.artist-list { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.artist { 
  position: relative;
  border: 1px solid #ccc; 
   border-radius: 10px; 
   width: 180px; 
   height: 180px;
   cursor: pointer; background: #f9f9f9; }
.artist:hover { background: #e8e8e8; }
.artist a { 
  position: absolute;
  text-decoration: none; color: black; display: block; }
.artist img{
  width: 100%;
}
.artist h3{
  position: absolute;
  bottom: 0px;
  color: #fff;
  width: 100%;
  background: linear-gradient(to top, rgba(50, 50, 50, 0.9), transparent);
  padding: 10px 0;
}

footer { margin-top: 50px; font-size: 14px; color: #666; }
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #222;
    color: #fff;
    position: relative;
}
header h1 {
    margin: 0;
    font-size: 20px;
}
nav {
    display: flex;
}
nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    gap: 20px;
}
nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
}
nav ul li a:hover {
    background: #444;
}

/* ハンバーガーボタン */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
}

/* スマホ用スタイル */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: #222;
        position: absolute;
        top: 50px;
        right: 20px;
        padding: 10px;
        border-radius: 5px;
        width: 150px;
    }
    nav ul.show {
        display: flex;
    }
    .menu-toggle {
        display: flex;
        margin: 0 0 0 auto;
    }
}
#battle {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.choice {
  border: none;
  background: #fff;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 200px;
}

.choice img {
  width: 100%;
  border-radius: 10px;
}

.choice p {
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
}

#game .song { display: inline-block; margin: 20px; cursor: pointer; text-align: center; }
#game img { width: 200px; border-radius: 10px; }

#resultContent .song { display: inline-block; margin: 20px; text-align: center; }
#resultContent img { width: 150px; border-radius: 10px; }
#resultContent #shareButtons { margin-top: 20px; }
#resultContent #shareButtons a, #shareButtons button {
    display: inline-flex;
    align-items: center;
    margin: 5px;
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    cursor: pointer;
  }
#resultContent #shareButtons a img { width: 24px; margin-right: 8px; }
#resultContent #XShare { background: #000; }
#resultContent #lineShare { background: #06c755; }
#resultContent #copyUrl { background: #555; border: none; }
.playagain{
    display: inline-flex;
    width: 80%;
    align-items: center;
    margin: 5px;
    padding: 16px 12px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    cursor: pointer;
    background: #c70606;
    flex-direction: column;
}