@charset "utf-8";
/*------------------------------------------------------------
	index
------------------------------------------------------------*/
#main {
  margin-bottom: 10.8rem;
  min-height: calc(100vh - 43.5rem);
}

/* ステップインジケーター */
.stepIndicator {
  margin-bottom: 4rem;
  display: flex;
  justify-content: center;
}
.stepList {
  display: flex;
  gap: 1rem;
  padding: 2rem 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  min-width: 8rem;
  position: relative;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 2.5rem;
  width: 1rem;
  height: 2px;
  background: #d0d0d0;
}
.step.completed::after {
  background: #76952f;
}
.stepNumber {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #d0d0d0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  transition: 0.3s;
}
.stepLabel {
  font-size: 1.2rem;
  font-weight: 500;
  color: #666;
  transition: 0.3s;
}
.step.active .stepNumber {
  background: #76952f;
}
.step.active .stepLabel {
  color: #76952f;
  font-weight: 700;
}
.step.completed .stepNumber {
  background: #76952f;
}
.step.completed .stepLabel {
  color: #76952f;
}

/* 質問セクション */
.questionSection {
  display: none;
  margin: 0 auto;
  max-width: 79.5rem;
}
.questionSection.active {
  display: block;
}
.questionSection .innerBox {
  padding: 4.4rem 7.5rem 5.1rem;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0.2rem 0.2rem 1.9rem rgba(0, 0, 0, 0.25);
  position: relative;
}
.questionSection .heading {
  margin-bottom: 3rem;
  font-size: 2.5rem;
  text-align: left;
  line-height: 1.36;
}
.questionSection .heading small {
  margin-top: 1rem;
  display: block;
  font-weight: 500;
  font-size: 1.6rem;
}
.questionSection .list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1.3rem;
  margin-bottom: 3rem;
}
.questionSection .list li {
  width: calc((100% - 2.6rem) / 3);
  min-height: 10.6rem;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.03em;
  line-height: 1.333;
  color: #fff;
  border: 0.3rem solid #76952f;
  background: #76952f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  cursor: pointer;
}
.questionSection .list li.on {
  color: #76952f;
  background: #fff;
}
.questionSection .list02 li {
  width: calc((100% - 1.3rem) / 2);
}

/* ボタンエリア */
.buttonArea {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}
.buttonArea button {
  padding: 1rem 3rem;
  border: none;
  border-radius: 2.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  min-width: 12rem;
}
.nextBtn,
.finishBtn {
  background: #fca531;
  color: #fff;
}
.prevBtn {
  background: #666;
  color: #fff;
}

@media all and (min-width: 897px) {
  .questionSection .list li:hover {
    color: #76952f;
    background: #fff;
  }
  .buttonArea button:hover {
    opacity: 0.7;
  }
}

@media all and (max-width: 896px) {
  .stepList {
    gap: 0.5rem;
    padding: 1rem 0;
  }
  .step {
    min-width: 6rem;
    padding: 0.5rem;
  }
  .step:not(:last-child)::after {
    width: 0.5rem;
    right: -0.25rem;
  }
  .stepNumber {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
  }
  .stepLabel {
    font-size: 1rem;
  }
  .questionSection .innerBox {
    padding: 6rem 2rem 3.5rem;
    border-radius: 1rem;
  }
  .questionSection .list li {
    width: 100%;
    min-height: 5.6rem;
    font-size: 2rem;
  }
  .buttonArea {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .buttonArea button {
    padding: 0.8rem 2rem;
    font-size: 1.4rem;
    min-width: 10rem;
  }
  #main {
    margin-bottom: 6rem;
    min-height: calc(100svh - 24.3rem);
  }
}
