@charset "utf-8";

body {
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
}

.clearfix::after{
  content: "";
  display: block;
  clear: both;
}

/*フォーム周りとりあえず*/
input,textarea,select{
  border: solid 1px #000;
}
label{
  display: inline-block;
}
/* ********TOP旧******** */

.header{
	position: relative;
}

.logo img{
	width: 100%;
	height: auto;
}

.btn-wrap{
  display: flex;
  justify-content: space-between;
  margin: 25px auto;
  width: 83%;
}
.login-btn,
.entry-btn{
  width: 47%;
}
.login-btn a,
.entry-btn a{
  display: block;
  padding: 13px 0;
  border-radius: 2px;
  text-align: center;
}
.login-btn a{
  background: #40b63d;
  color: #ffffff;
}
.entry-btn a{
  background: #e15f2c;
  color: #ffffff;
}

/* ********nav******** */
.l-header__nav-btn{
  position: absolute;
  top: 7px;
  right: 8px;
  width: 40px;
  height: 41px;
  cursor: pointer;
  z-index: 5;
}
.l-header__nav-btn span{
  position: absolute;
  right: 6px;
  display: block;
  width: 28px;
  height: 3px;
  background: #000;
  border-radius: 3px;
  transition: all .2s ease-in;
}
.l-header__nav-btn span:nth-of-type(1){
  top: 9px;
}
.l-header__nav-btn span:nth-of-type(2){
  top: 19px;

}
.l-header__nav-btn span:nth-of-type(3){
  top: 29px;
}

.l-header__nav-btn.is-open-nav span:nth-of-type(1){
  transform: rotate(40deg);
  top: 20px;
  right: 6px;
}
.l-header__nav-btn.is-open-nav span:nth-of-type(2){
  opacity: 0;
  width: 0;
  transform-origin: left center;
}
.l-header__nav-btn.is-open-nav span:nth-of-type(3){
  transform: rotate(-40deg);
  top: 20px;
  right: 6px;
}

.l-header__nav-list{
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
/*  display: none;*/
  opacity: 0;
  transition: all .3s ease-in-out;
  width: 100%;
  height: 100vh;
  background: #ffffff;
}
.l-header__nav-list.is-open-menu{
  display: block;
  opacity: 1;
  z-index: 2;
}



/* ユーザーメニュー */

.menu_list{
	display: flex;
	flex-flow: row wrap;
	align-items: stretch;
}

.menu_list li{
	width: 50%;
	border-bottom: solid 1px #d0d0d0;
	box-sizing: border-box;
}

.menu_list li:nth-child(2n){
	border-left: solid 1px #d0d0d0;
}

.menu_list li:last-child{
	width: 100%;
	text-align: center;
}

.menu_list a{
	display: block;
	padding: 10px 7px;
}

/* フッター */

.copyright{
	padding: 15px 0;
	text-align: center;
	background: #2f6899;
	color: #ffffff;
}

/* ********下層共通******** */

.l-header-lower{
  position: relative;
	box-sizing: border-box;
	background:#ffffff;
	padding: 11px 8px;
  border-bottom: solid 1px #737373;
}

.l-header-lower .logo img{
  width: 120px;
}

.c-common-title{
  margin-bottom: 15px;
  text-align: center;
  font-size: 1rem;
}

.c-btn-grid1{
  width: 75%;
  margin: 15px auto;
  border-radius: 3px;
}
.c-btn-grid1 a{
  display: block;
  padding: 11px 0;
  font-size: .875rem;
  text-align: center;
}

.return a{
	display: block;
	padding: 10px 7px;
	text-align: center;
	border-top: solid 1px #000000;
	border-bottom: solid 1px #000000;
}

/* ********チケット表示******** */
.c-ticket{
  display: flex;
  align-items: center;
  width: 80px;
  margin: 8px 10px;
  padding: 5px 8px;
  border: solid 1px #242424;
  border-radius: 3px;
  color: #242424;
  font-size: .8rem;
}
.c-ticket img{
  display: inline-block;
  width: 20px;
  margin-right: 4px;
}
.ticket-have{
  display: inline-block;
  margin-left: 5px;
  font-weight: bold;
  font-size: .9rem;
}

/* ********quiz共通******** */

.q_title{
	font-size: 1.1rem;
	text-align: center;
	margin: 20px 0;
}

.q_inner{
	margin: 10px 10px 30px;
}

/* ********ジャンル一覧******** */
/*
.active .tab_genre1{
	background:#a5d3f7;
}
.active .tab_genre2{
	background:#ffc17f;
}
.active .tab_genre3{
	background:#9dffa2;
}
.active .tab_genre4{
	background:#fcffa4;
}
.active .tab_genre5{
	background:#f1b0ff;
}
.active .tab_genre6{
	background:#c5f2f3;
}
.active .tab_genre7{
	background:#e2f4a9;
}
.active .tab_genre8{
	background:#ffb0b0;
}
*/
/* ********コンテンツ一覧******** */

.random_btn{
	width: 80%;
	margin: 12px auto;
	background: #ffff00;
	border-radius: 3px;
}

.random_btn a{
	display: block;
	padding: 14px 0;
	text-align: center;
	color: #000000;
}

.p-content-list li{
	padding: 10px;
	border-bottom: solid 1px #000000;
}

.p-content-list li:first-child{
	border-top: solid 1px #000000;
}

.p-content-list__title{
	text-align: center;
	margin-bottom: 5px;
}

.c-button-grid2{
	width:90%;
	margin: 8px auto;
	display: flex;
	justify-content: space-between;
}

.c-button-grid2 .c-button{
	width: 46%;
	border-radius: 2px;
}
.c-button-grid2 .c-button a{
	display: block;
	padding: 10px 0;
	text-align: center;
}
.quiz-btn{
	background: #c62828;
}
.commentary-btn{
	background: #2833c6;
}
.quiz-btn a,
.commentary-btn a{
	color: #ffffff;
}

/* コンテンツ一覧 Modal内 */

.p-modal{
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 999;
	margin: auto;
	width: 300px;
	height: 300px;
	padding: 20px;
	background: #ffffff;
	border-radius: 2px;
	box-shadow: 0 0 3px #444444;
	transition: transform .3s ease-in-out;
	transform: scale(.95);
}
.p-modal.active{
	transform: scale(1);
}



.modal-overlay{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
	width: 100%;
	height: 100%;
	background: #000000;
	opacity: .6;
}

.quiz_iziModal{
	border-bottom: solid 3px #f26565 !important;
}
.quiz_iziModal .iziModal-header{
	background: #f26565 !important;
}

.commentary_iziModal{
	border-bottom: solid 3px #fdbd58 !important;
}
.commentary_iziModal .iziModal-header{
	background: #fdbd58 !important;
}

.iziModal-content p{
	margin-bottom: 7px;
}

.c-modal-button-grid2{
	display:flex;
	justify-content: space-around;
	margin: 20px 0 15px;
}

.c-modal-button{
	width: 40%;
	border-radius: 2px;
}
.c-modal-button a{
	display: block;
	padding: 10px 0;
	text-align: center;
}

.yes-btn{
	background: #c62828;
}
.no-btn{
	background: #2833c6;
}
.yes-btn a,
.no-btn a{
	color: #ffffff;
}


/* ********ランダム 開始******** */

.random_start_wrap{
	margin:20px 0;
}

.random_start_wrap p{
	margin: 10px ;
	text-align: center;
}

.random_start_wrap .random_start_btn{
	width: 85%;
	margin: 15px auto;
	background: #ffff00;
	border-radius: 10px;
}
.random_start_wrap .random_start_btn a{
	display: block;
	padding: 14px 0;
	text-align: center;
	color: #000000;
}

/* *****クイズ 一問一答・ランダム共通***** */

.choices{
	margin-top: 10px;
}

.choices li{
	width: 95%;
	margin: 5px auto;
	border-radius: 4px;
	background: #00ffff;
}

.choices li a{
	display: block;
	padding: 12px 7px;
}

progress {
    -webkit-appearance: none;
    -moz-appearance: none;
  }
.time-bar{
    border-radius: 4px;
    background-color: f3f3f3; /* -moz用 */
}
  ::-webkit-progress-bar {
    background-color: #f3f3f3;
  }
  ::-webkit-progress-value {
    border-radius: 4px;
    background-color: #96e21e;
  }
  ::-moz-progress-bar {
    border-radius: 4px;
    background-color: #96e21e;
  }

/* ********クイズ ランダム******** */

.random_info{
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 95%;
	margin: 20px auto;
}

.time_limit,
.questions_number{
	width: 50px;
	font-size:0.9rem;
}
.time_limit span{
	font-size: 1.2rem;
	font-weight: bold;
	color: #ff00ff;
}

/* ********クイズ 結果******** */

.result_correct,
.result_incorrect{
	text-align: center;
	margin: 25px 0 20px;
	font-size: 2rem;
	font-weight: bold;
}
.result_correct{
	color: #ff0000;
}
.result_incorrect{
	color: #0000ff;
}

.result_title{
	font-size: 1.1rem;
	text-align: center;
	margin: 20px 0;
}

.your_answer{
	margin: 20px 0;
	text-align: center;
	font-size: 1.2rem;
}

.commentary_check_btn{
	width: 85%;
	margin: 15px auto;
	background: #ffff00;
	border-radius: 10px;
}
.commentary_check_btn a{
	display: block;
	padding: 14px 0;
	text-align: center;
	color: #000000;
}

.q_move_btn{
	display: flex;
	justify-content: space-between;
}
.q_move_btn p{
	width: 49%;
}
.q_move_btn p a{
	display: block;
	padding: 10px 0;
	background: #499f23;
	border-radius: 5px;
	color:  #ffffff;
	text-align: center;
}

/* クイズ 結果 Modal内 */

.commentary_check_iziModal{
	border-bottom: solid 3px #f26565 !important;
}
.commentary_check_iziModal .iziModal-header{
	background: #f26565 !important;
}

.modal-header{
  padding: 10px 0;
  	background: #f26565 !important;
  text-align: center;
}

.commentary_check_iziModal_text1{
	font-size: 0.8rem;
	margin-bottom: 30px !important;
}

/* ********解説******** */

.commentary_text{
	font-size: 0.9rem;
	margin-bottom: 15px;
	line-height:1.5;
}


.to-quiz-btn{
	width: 85%;
	margin: 15px auto;
	background: #ffff00;
	border-radius: 10px;
}
.to-quiz-btn a{
	display: block;
	padding: 14px 0;
	text-align: center;
	color: #000000;
}

/* ********登録・退会フォーム周り******** */
.p-form-wrap{
  width: 90%;
  margin: 15px auto;
}
.c-form-title{
  font-size: 1rem;
  text-align: center;
  margin-bottom: 15px;
}
.c-text-form{
  display: block;
  width: 250px;
  height: 40px;
  margin: 20px auto;
  padding: 3px 8px;
  border: solid 1px #aaaaaa;
}
.c-form-btn{
  display: block;
  width: 200px;
  margin: 25px auto;
  padding: 10px 0;
  border-radius: 2px;
  border: none;
  color: #ffffff;
  text-align: center;
}
.c-form-btn.submit{
  background: #4fa64f;
}
.c-form-btn.back{
  background: #4f6ea6;
}
.c-form-btn.top{
  background: #d77e27;
}
.c-input{
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  margin-top: 24px;
}
.c-input__label{
  width: 100%;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: bold;
}
.c-input input,
.c-input select{
  width: 100%;
  height: 40px;
  border: solid 1px #c0c0c0;
  padding-left: 13px;
  font-size: 14px;
  color: #191919;
}
.c-input option{
  background: #ffffff;
}
.c-input__text{
  font-size: .875rem;
}

.c-system-text{
  text-align: center;
  margin: 18px 0;
  font-size: .875rem;
  line-height: 1.4;
}
.align-left{
  text-align: left;
}
.notes-text{
  font-size: .8rem;
}
.notes-text a{
  text-decoration: underline;
}

/* ********マイページ周り******** */

.p-myPage__tab{
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  width: 100%;
  border-bottom: solid 2px #000;
}

.p-myPage__tab__item{
  display: flex;
  align-items: center;
  flex: 0 0 calc(100% / 4);
  text-align: center;
}
.p-myPage__tab__item a{
  display: block;
  width: 100%;
  padding: 8px 0;
  font-size: .875rem;
}

.p-myPage__des{
  margin: 10px 5px 20px;
  text-align: center;
}
.p-myPage__des__title{
  font-size: 1rem;
  margin-bottom: 6px;
}
.p-myPage__des__coment{
  font-size: .8rem;
}
.p-myPage__progress{
  width: 87%;
  margin: 25px auto;
  font-size: .9reml;
  text-align: center;
}
.p-myPage__progress p{
  margin: 6px 0;
}

.myPage-btn a{
  border: solid 1px #2b2b2b;
  color: #2b2b2b;
}