/* -----------------------問題復習ページ----------------------- */
.question_rev_inner,.q_rev_cnt_inner{
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #fff;
  padding-top: 60px;
  color: #000;
  font-size: 1.8rem;
}

.q_list_title{
  padding: 15px 10px;
  border-bottom: 1px solid var(--deep-green);
  background: #fff;
}

.q_rev_cnt_inner>.q_title{
  padding-top: 20px;
}

/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(0,0,0,50%);
	padding: 40px 20px;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
  box-sizing: border-box;
  z-index: 200;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active{
	opacity: 1;
	visibility: visible;
}
/*モーダル枠の指定*/
.modal-body{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	max-width: 500px;
	width: 90%;
}
/*モーダルを閉じるボタンの指定*/
.modal-close{
  margin-top: 30px;
	cursor: pointer;
  text-align: center;
}
.modal-close p{
  background: var(--deep-green);
  border-radius: 5px;
  border: none;
  color: #fff;
  font-weight: bold;
  line-height: 3.5rem;
  padding: 0 10px;
  display: inline-block;
}
/*モーダル内のコンテンツの指定*/
.modal-content{
	background: #fff;
  border-radius: 10px;
	padding: 20px;
}
.modal-content>.result{
  margin: 20px 0;
  background: #fdebcd;
  padding: 10px;
  text-align: left;
}

.back-btn{
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.back-btn a{
  background: var(--deep-green);
  border-radius: 5px;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 2px 20px;
}


@media screen and (max-width: 768px) {
  /* -----------------------問題復習ページ----------------------- */
  .question_rev_inner,.q_rev_cnt_inner{
    padding-top: 50px;
    font-size: 1.6rem;
  }

  .q_list_title{
    padding: 10px;
  }
  
  .q_title{
    padding: 0 15px;
  }
  
  .q_answer{
    margin-top: 15px;
  }

  .q_answer label {
    height: 50px;
    padding: 4px 15px;
  }

  /*モーダル枠の指定*/
  .modal-body{
    max-width: 450px;
    width: 95%;
  }
}

@media screen and (max-width: 500px) {
  /* -----------------------問題復習ページ----------------------- */
  .question_rev_inner,.q_rev_cnt_inner{
    font-size: 1.4rem;
  }

  .q_rev_cnt_inner>.q_title{
    padding-top: 15px;
  }
  
  .q_title{
    padding: 0 10px;
  }
  
  .q_answer{
    margin-top: 10px;
  }

  .q_answer label {
    padding: 4px 10px;
  }
}