/* 共通のスタイル */
@import url("../../common/common.css");
body {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.9)), url('../common/images/battle bg.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
}
.battle-intro {
  text-align: center;
  padding: 50px 20px;
}
.battle-intro h1 {
  font-size: 2.5em;
  color: #ffd700;
  margin-bottom: 20px;
}
.battle-intro p {
  font-size: 1.2em;
}
.battle-explanation, .battle-mechanics {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
h1, h2 {
  color: #ffd700;
  text-align: center;
}
ul {
  list-style: none;
  padding: 0;
}
ul li {
  margin-bottom: 10px;
}
.battle-intro h1 {
  margin: 0 auto 20px;
}
/*戦闘の基本*/
.battle-mechanics ul {
  list-style: none;
  padding: 0;
}
.battle-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.battle-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.battle-description {
  flex: 1;
  font-size: 1em;
  line-height: 1.6;
}
.battle-description strong {
  font-size: 1.2em;
  color: #ffd700;
}

@media screen and (max-width: 768px) {
  .battle-explanation {
    padding: 15px;
    font-size: 1.2em;
    margin: 20px 20px;
  }
  .battle-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .battle-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
  }
  .battle-mechanics, .battle-description {
      margin: 20px 20px;
    font-size: 1em;
  }
}
/* スマートフォン向け (480px以下) */
@media screen and (max-width: 480px) {
  .battle-intro {
    padding: 10px;
    font-size: 1.2em;
  }
  .battle-item img {
    width: 70px;
    height: 70px;
  }
  .battle-mechanics {
    font-size: 1em;
  }
  .battle-description {
    font-size: 1em;
  }
}