body{
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #2c3e50;
    overflow-x: hidden;
}
* {
  font-family: inherit;
}

.container{
    max-width: 900px;
    background-color: #ecf0f1;
    margin: 2rem auto;
    border-radius: 30px;
    padding: 1rem;
}

.ans{
    padding: 1rem;
    margin: 1rem 0;
}

.ans h2{
    margin-left: 1rem;
    font-size: 24px;
    margin-bottom: 2rem;
}

.qa {
  margin: 1.5rem 0;
}

.question {
  position: relative;
  padding-left: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 20px;
}

.question::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background-color: #3498db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.answer {
  margin-left: 3rem;
  line-height: 1.6;
  font-size: 16px;
}

.con-btn{
    text-align: center;
    margin-bottom: 5rem;
}

.back-btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  background-color: #3498db;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 25px;
  transition: 0.3s;
  width: 30rem;
  max-width: 500px;
}
.back-btn:hover {
  background-color: #2980b9;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .container {
    width: 90%;
    border-radius: 15px;
    padding: 0.5rem;
  }

  .ans h2 {
    font-size: 18px;
    margin-left: 0.5rem;
    margin-bottom: 1rem;
  }

  .question {
    font-size: 16px;
    padding-left: 2.5rem;
  }

  .question::before {
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
  }

  .answer {
    font-size: 14px;
    margin-left: 2.5rem;
  }

  .back-btn {
    width: 100%;
    max-width: 300px;
    padding: 0.6rem 1rem;
  }
}
