/* ===== base（モバイル特大表示） ===== */
body {
  font-family: sans-serif;
  margin: 32px;
  background-color: rgb(220, 200, 220);
}

h1 {
  margin-bottom: 32px;
  font-size: 60px;
  line-height: 1.25;
}

.controls {
  margin-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

button {
  padding: 22px 30px;
  background-color: purple;
  color: #fff;
  border-radius: 14px;
  border: none;
  font-size: 28px;
  min-height: 64px;
}

.section {
  margin-top: 56px;
}

.section-title {
  font-size: 50px;
  font-weight: bold;
  border-bottom: 7px solid #000;
  margin-bottom: 24px;
  line-height: 1.3;
}

.word-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 14px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  min-height: 72px;
}

.word-check {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.word {
  font-size: 46px;
  line-height: 1.6;
  font-weight: 700;
}

.meaning {
  font-size: 40px;
  line-height: 1.75;
  color: purple;
  display: none;
  margin-top: 14px;
}

.progress {
  margin-top: 22px;
  font-size: 28px;
  font-weight: bold;
}

/* =========================
   Tablet（768px〜）
   ========================= */
@media screen and (min-width: 768px) {
  body {
    margin: 48px;
  }

  h1 {
    font-size: 42px;
  }

  button {
    font-size: 22px;
  }

  .section-title {
    font-size: 36px;
  }

  .word {
    font-size: 32px;
  }

  .meaning {
    font-size: 26px;
  }

  .progress {
    font-size: 20px;
  }
}

/* =========================
   PC（1024px〜）
   ========================= */
@media screen and (min-width: 1024px) {
  body {
    margin: 60px auto;
    max-width: 900px;
  }

  h1 {
    font-size: 38px;
  }

  button {
    font-size: 20px;
  }

  .section-title {
    font-size: 32px;
  }

  .word {
    font-size: 28px;
  }

  .meaning {
    font-size: 22px;
  }

  .progress {
    font-size: 18px;
  }
}
