@charset "utf-8";


/* ---------------------------------------------------
category.css
下層用CSS
--------------------------------------------------- */

/* ---------------------------------------------------
page_header
--------------------------------------------------- */
#page_header {
	padding: 30px 20px 60px 20px;
	background: #fff;
	text-align: left;
}
#page_header .inner {
	max-width: 960px;
	margin: 0 auto;
}
#page_header .ttl_wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	max-width: 660px;
	margin: 0 auto 35px auto;
}
#page_header .ttl_wrap .no {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	width: 100px;
}
#page_header .ttl_wrap .no img {
	width: 83px;
	height: 54px;
}
#page_header .ttl_wrap .ttl {
	font-size: 29px;
	line-height: 1;
	font-weight: bold;
}
#page_header .ttl_wrap .ttl span {
	display: inline-block;
}
#page_header .maintxt {
	max-width: 660px;
	margin: 0 auto 35px auto;
	font-size: 16px;
	line-height: 1.75;
	text-align: center;
}

@media screen and (max-width: 768px) {
	#page_header {
		padding: 20px 20px 20px 20px;
	}
	#page_header .ttl_wrap {
		margin: 0 auto 20px auto;
	}
	#page_header .ttl_wrap .no {
		width: 70px;
	}
	#page_header .ttl_wrap .no img {
		width: 59px;
		height: 38px;
	}
	#page_header .ttl_wrap .ttl {
		font-size: 24px;
	}
	#page_header .maintxt {
		margin: 0 auto 20px auto;
		font-size: 14px;
		text-align: left;
	}
}
@media screen and (max-width: 400px) {
	#page_header .ttl_wrap .ttl {
		font-size: 20px;
	}
}

/* 動画 */
#page_header #movie {
	max-width: 660px;
	margin: 40px auto 0 auto;
}
#page_header #movie .movie_item {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}
#page_header #movie .movie_item iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}

@media screen and (max-width: 768px) {
	#page_header #movie {
		margin: 0 auto 30px auto;
	}
}


/* 採点 */
#page_header #score {
	padding: 40px 0 0 0;
}
#page_header #score .score_inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 25px 20px 30px 20px;
	border: 2px solid #f8b107;
	border-radius: 10px;
}
#page_header #score .ttl {
	font-size: 36px;
	font-weight: bold;
	line-height: 1.2;
	text-align: center;
}
#page_header #score .ttl p {
	display: inline-block;
	vertical-align: baseline;
}
#page_header #score .ttl p span {
	color: #f8b107;
	padding-right: 7px;
}
#page_header #score .ttl p strong {
	font-size: 64px;
}
#page_header #score .comment {
	margin: 10px 0 0 0;
	font-size: 16px;
	line-height: 1.7;
	text-align: center;
	display: none;
}
#page_header #score .comment span {
	display: inline-block;
}
#page_header #score .btn {
	max-width: 270px;
	height: 50px;
	margin: 45px auto 0 auto;
	border-radius: 50px;
	overflow: hidden;
}
#page_header #score .btn a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	height: 100%;
	padding: 0 40px;
	font-size: 16px;
	font-weight: bold;
	line-height: 1;
	color: #fff;
	background: #f8b107 url(/common/images/arw_d_w.svg) no-repeat right 25px center;
	background-size: 15px 9px;
}
#page_header #score .btn a span {
	display: block;
}

@media screen and (max-width: 768px) {
	#page_header #score {
		margin: 0 auto 20px auto;
		padding: 20px 20px 20px 20px;
	}
	#page_header #score .ttl {
		font-size: 24px;
	}
	#page_header #score .ttl p span {
		padding-right: 7px;
	}
	#page_header #score .ttl p strong {
		font-size: 45px;
	}
	#page_header #score .comment {
		margin: 20px 0 0 0;
		font-size: 12px;
	}
	#page_header #score .btn {
		margin: 25px auto 0 auto;
	}
	#page_header #score .btn a {
		padding: 0 40px;
		font-size: 14px;
		background: #f8b107 url(/common/images/arw_d_w.svg) no-repeat right 20px center;
		background-size: 15px 9px;
	}
}
@media screen and (max-width: 400px) {
	#page_header #score .ttl {
		font-size: 22px;
	}
	#page_header #score .ttl p span {
		padding-right: 5px;
	}
	#page_header #score .ttl p strong {
		font-size: 40px;
	}
}








/* ---------------------------------------------------
question
--------------------------------------------------- */
#question {
	padding: 40px 20px 40px 20px;
	background: #f4f3f1;
	text-align: left;
}
#question .inner {
	max-width: 960px;
	margin: 0 auto;
}

#question .item {
	position: relative;
	padding: 20px 0 0 0;
}
#question .item .no_sp {
	display: none;
}
#question .item .item_inner {
	position: relative;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	z-index: 1;
}

@media screen and (max-width: 768px) {
	#question {
		padding: 0 20px 20px 20px;
	}

	#question .item {
		padding: 50px 0 0 0;
	}
	#question .item .no_sp {
		display: block;
		position: absolute;
		left: 20px;
		top: 33px;
		z-index: 2;
	}
	#question .item .no_sp img {
		width: 68px;
		height: 48px;
	}
}


/* q */
#question .item .item_q {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding: 30px 30px 20px 30px;
}
#question .item .item_q .no_wrap {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	width: 125px;
}
#question .item .item_q .no_wrap .no_pc {
	margin: 0 0 20px 0;
}
#question .item .item_q .no_wrap .no_pc img {
	width: 95px;
	height: 67px;
}
#question .item .item_q .no_wrap .result {
	display: table;
}
#question .item .item_q .no_wrap .result .icn {
	margin-bottom: 15px;
	text-align: center;
}
#question .item .item_q .no_wrap .result .icn img {
	width: 89px;
	height: 89px;
}
#question .item .item_q .no_wrap .result .txt {
	font-size: 30px;
	font-weight: bold;
	text-align: center;
	line-height: 1;
}
#question .item .item_q .no_wrap .result.incorrect .txt {
	color: #033563;
}
#question .item .item_q .no_wrap .result.correct .txt {
	color: #f8b107;
}
#question .item .item_q .item_main {
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}
#question .item .item_q .item_main .txt_wrap {
	width: calc(100% - 240px - 45px);
}
#question .item .item_q .item_main_noimage .txt_wrap {
	width: 100%;
}
#question .item .item_q .item_main .txt_wrap .txt {
	margin: 0 0 30px 0;
	font-size: 16px;
	line-height: 2;
}
#question .item .item_q .item_main .txt_wrap .input {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
#question .item .item_q .item_main .img_wrap {
}
#question .item .item_q .item_main .img_wrap .img {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	width: 240px;
	margin-left: 45px;
	text-align: right;
}

@media screen and (max-width: 768px) {
	#question .item .item_q {
		display: block;
		padding: 45px 20px 20px 20px;
	}
	#question .item .item_q .no_wrap {
		width: 100%;
	}
	#question .item .item_q .no_wrap .no_pc {
		display: none;
	}
	#question .item .item_q .no_wrap .result {
		display: table;
		margin: 0 auto;
		margin-bottom: 20px;
	}
	#question .item .item_q .no_wrap .result .icn {
		margin-bottom: 10px;
	}
	#question .item .item_q .no_wrap .result .icn img {
		width: 67px;
		height: 67px;
	}
	#question .item .item_q .no_wrap .result .txt {
		font-size: 23px;
	}
	#question .item .item_q .item_main {
		display: block;
	}
	#question .item .item_q .item_main .txt_wrap {
		width: 100%;
	}
	#question .item .item_q .item_main_noimage .txt_wrap {
		width: 100%;
	}
	#question .item .item_q .item_main .txt_wrap .txt {
		margin: 0 0 30px 0;
		font-size: 14px;
		line-height: 2;
	}
	#question .item .item_q .item_main .txt_wrap .input {
		margin: 0 0 20px 0;
	}
	#question .item .item_q .item_main .img_wrap {
	}
	#question .item .item_q .item_main .img_wrap .img {
		width: 240px;
		margin: 0 auto 5px auto;
		text-align: center;
	}
}



/* a */
#question .item .item_a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding: 30px 30px 20px 30px;
	color: #fff;
}
#question .item .item_a.incorrect {
	background: #033563;
}
#question .item .item_a.correct {
	background: #f8b107;
}
#question .item .item_a .no_wrap {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	width: 125px;
}
#question .item .item_a .no_wrap .no {
	margin: 0 0 12px 0;
}
#question .item .item_a .no_wrap .no img {
	width: 94px;
	height: 53px;
}
#question .item .item_a .item_main .txt_wrap .ttl {
	margin: 17px 0 25px 0;
	font-size: 24px;
	line-height: 1;
}
#question .item .item_a .item_main .txt_wrap .txt {
	margin: 17px 0;
	font-size: 16px;
	line-height: 1.75;
}
#question .item .item_a .item_main .txt_wrap .txt a {
	color: #fff;
	text-decoration: underline;
}

@media screen and (max-width: 768px) {
	#question .item .item_a {
		display: block;
		padding: 30px 20px 20px 20px;
	}
	#question .item .item_a .no_wrap {
		width: 100%;
	}
	#question .item .item_a .no_wrap .no {
		margin: 0 0 20px 0;
	}
	#question .item .item_a .no_wrap .no img {
		width: 66px;
		height: 37px;
	}
	#question .item .item_a .item_main .txt_wrap .ttl {
		margin: 0px 0 15px 0;
		font-size: 18px;
		line-height: 1;
	}
	#question .item .item_a .item_main .txt_wrap .txt {
		margin: 10px 0;
		font-size: 14px;
		line-height: 2;
	}
}


/* エラー */
#question .item.item_error .item_inner {
	background: #f5d9dd;
}
#question .item.item_error .item_q .no_wrap .error .txt {
	width: 95px;
	height: 32px;
	background: #9a071b;
	border-radius: 32px;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	line-height: 32px;
	text-align: center;
}
@media screen and (max-width: 768px) {
	#question .item.item_error .item_q .no_wrap .error .txt {
		width: 95px;
		height: 32px;
		margin-bottom: 30px;
		background: #9a071b;
		border-radius: 32px;
		color: #fff;
		font-size: 16px;
		font-weight: bold;
		line-height: 32px;
		text-align: center;
	}
}

/* ラジオボタン */
.radio_item {
	margin: 0 30px 10px 0;
}
.input_full .radio_item,
.radio_item_full {
	width: 100%;
}
.radio_item label {
	display: block;
}
.radio_item label span {
	display: block;
	position: relative;
	min-height: 30px;
	padding: 8px 0 8px 41px;
	cursor: pointer;
	font-size: 16px;
	line-height: 18px;
}
.radio_item label span:before {
	position: absolute;
	top: 0;
	left: 0;
	content: "";
	width: 31px;
	height: 31px;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 50%;
	box-sizing: border-box;
}
.radio_item label input[type="radio"] {
	display: none;
}
.radio_item label input[type="radio"]:checked + span:after {
	position: absolute;
	top: 5px;
	left: 5px;
	content: "";
	width: 21px;
	height: 21px;
	background: #9a071b;
	border-radius: 50%;
	pointer-events: none;
	box-sizing: border-box;
}
.radio_item label span strong {
	font-weight: bold;
	color: #9a071b;
}
@media screen and (max-width: 768px) {
	.radio_item,
	.input_full .radio_item,
	.radio_item_full {
		width: 100%;
	}
}


/* checkbtn */
#question .checkbtn {
	margin: 60px 0 20px 0;
}
#question .checkbtn p {
	max-width: 480px;
	height: 80px;
	margin: 0 auto;
	border-radius: 80px;
	overflow: hidden;
}
#question .checkbtn p button.btn,
#question .checkbtn p .btn {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 0 20px;
	background: #9a071b;
	font-size: 24px;
	font-weight: bold;
	line-height: 1;
	color: #fff;
}
#question .checkbtn p button.btn span,
#question .checkbtn p .btn span {
	display: block;
	padding: 20px 25px 20px 45px;
	background: url(/common/images/icn_check.svg) no-repeat left center;
	background-size: 30px 28px;
}

@media screen and (max-width: 768px) {
	#question .checkbtn {
		margin: 30px 0 10px 0;
	}
	#question .checkbtn p {
		max-width: none;
		height: 60px;
		border-radius: 60px;
	}
	#question .checkbtn p button.btn,
	#question .checkbtn p .btn {
		padding: 0 20px;
		font-size: 18px;
	}
	#question .checkbtn p button.btn span,
	#question .checkbtn p .btn span {
		padding: 15px 20px 15px 35px;
		background: url(/common/images/icn_check.svg) no-repeat left center;
		background-size: 27px 26px;
	}
}


/* ---------------------------------------------------
pager
--------------------------------------------------- */
#pager {
	padding: 70px 20px;
	background: #fff;
	text-align: left;
}
#pager .inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	max-width: 660px;
	margin: 0 auto;
}
#pager .btn {
	width: 182px;
	height: 42px;
}
#pager .btn a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 0 40px;
	border: 1px solid #ccc;
	border-radius: 40px;
	overflow: hidden;
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
	color: #000;
}
#pager .btn span {
	display: block;
}
#pager .btn_prev a {
	background: url(/common/images/arw_l_b.svg) no-repeat left 17px center;
	background-size: 9px 14px;
}
#pager .btn_next a {
	background: url(/common/images/arw_r_b.svg) no-repeat right 17px center;
	background-size: 9px 14px;
}

@media screen and (max-width: 768px) {
	#pager {
		padding: 30px 20px 60px 20px;
	}
	#pager .inner {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		max-width: 660px;
		margin: 0 auto;
	}
	#pager .btn a {
		padding: 0;
		font-size: 12px;
	}
	#pager .btn_prev {
		width: 42px;
		height: 42px;
	}
	#pager .btn_prev a {
		background: url(/common/images/arw_l_b.svg) no-repeat center center;
		background-size: 9px 14px;
	}
	#pager .btn_prev a span {
		display: none;
	}
	#pager .btn_next {
		width: 42px;
		height: 42px;
	}
	#pager .btn_next a {
		background: url(/common/images/arw_r_b.svg) no-repeat center center;
		background-size: 9px 14px;
	}
	#pager .btn_next a span {
		display: none;
	}
	#pager .btn_top {
		width: 122px;
		margin: 0 23px;
	}
}
