.quiz {
  font-family: fot-tsukuardgothic-std, sans-serif;
  font-style: normal;
  -ms-text-size-adjust: 100%;
  font-kerning: normal;
  font-feature-settings: "palt";
}

.quiz #page-top article {
  background-image: url(../img/quiz/quiz_title_bg.jpg);
  background-size: unset;
  background-position: center top;
  background-size: 70%;
  background-position: center top;
  background-repeat: repeat-x;
}
@media screen and (max-width: 767px) {
  .quiz #page-top article {
    background-size: auto;
    background-position: center top;
    background-size: 180%;
  }
}
.quiz article .outer {
  background-color: #f9e403;
}
.quiz_title span {
	display: block;
	position: relative;
	height: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	padding-top: 93.220338983050847%;
}
.quiz_title span img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.ep {
  width: 3em;
  margin: 0 auto;
}
.ep span {
	display: block;
	position: relative;
	height: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
  padding-top: 113.253012048192771%;
}
.ep span img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
div.wrap > div.contents {
  background-color: none;
}


@media all and (min-width: 768px) {
  .quiz_title {
    width: 430px;
    margin: 0 auto;
    padding: 2em 0 0;
  }
  .quiz article .outer {
    /* margin-top: -60px; */
    /* padding-top: 50px; */
  }
}
@media all and (max-width: 767px) {
  .quiz_title {
    padding: 1em 2em 0;
  }
  .quiz article .outer {
    /* margin-top: -11vw; */
  }
}
/*	ph_cut
============================== */
@media all and (min-width: 768px) {
  .ph_cut {
    height: 200px;
    width: 300px;
  }
  ul.ph_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  ul.ph_list li {
    width: 32%;
    display: inline-flex;
    /* background-image: url(../img/senryu/senryu_bg1.jpg); */
    /* position: relative; */
    /* box-sizing: border-box; */
    /* -webkit-writing-mode: vertical-rl; */
    -moz-writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    /* writing-mode: vertical-rl; */
    /* -webkit-text-orientation: upright; */
    -moz-text-orientation: upright;
    -ms-text-orientation: upright;
    /* text-orientation: upright; */
    /* background-size: 100%; */
    /* font-style: normal; */
    /* font-feature-settings: normal; */
    /* font-optical-sizing: none; */
  }
}
.ph_cut span img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.ph_cut span {
  width: 100%;
  margin: 0 0;
  box-sizing: border-box;
  height: 0;
  padding: 66.858789625360231% 0 0;
  position: relative;
  display: block;
}
.popupModal1 {
  display: inline;
}

div.kanshu {
  background-color: #fff;
  padding: 1em;
  border-radius: 20px;
  font-size: 70%;
}
.quiz_kanshu {
  margin: 0 auto;
  width: 30%;
}

@media all and (min-width: 768px) {
  div.kanshu {
    width: 40%;
    margin: 0 auto;
  }
}
.quiz_kanshu span {
	display: block;
	position: relative;
	height: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
  padding-top: 22.693726937269373%;
}
.quiz_kanshu span img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}



/*	quiz
============================== */
.wrap div.quiz {
  padding: 2em;
  background-color: #fff;
  border-radius: 20px;
}
.wrap div.quiz .q {
  padding: 0 1.5em 1em;
  border-bottom: 3px solid #f9e403;
  margin: -0.5em -2em 1.5em;
  color: #6a3906;
  font-weight: bold;
  line-height: 1.5;
}
.wrap div.quiz ul.ch {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-around;
}
.wrap div.quiz ul.ch li {
  box-sizing: border-box;
  border-radius: 1em;
  font-weight: bold;
  padding: 1em;
  max-width: 100%;
  margin: 0 auto;
  /* text-align: center; */
}
.wrap div.quiz ul.ch li > span {
  display: inline;
  text-align: left;
  line-height: 1.5;
  width: 16em;
  margin: 0 auto;
}
.wrap div.quiz ul.ch li a {
  color: #6a3906;
  width: 100%;
  height: 100%;
  /* padding: 1em; */
  display: inline-block;
  box-sizing: border-box;
}
.wrap div.quiz ul.ch li:nth-child(1) {
  background-color: #f8e9d3;
}
.wrap div.quiz ul.ch li:nth-child(2) {
  background-color: #fcf7bc;
}
.wrap div.quiz ul.ch li:nth-child(3) {
  background-color: #eefbcd;
}
@media all and (min-width: 768px) {
  .wrap div.quiz {
    margin: 1em 6em;
  }
  .wrap div.quiz ul.ch li {
    width: 31%;
  }
}
@media screen and (max-width: 767px) {
  .wrap div.quiz {
    margin: 1em 0;
  }
  .wrap div.quiz ul.ch li {
    width: 100%;
  }
  .wrap div.quiz ul.ch li:not(:last-child) {
    margin-bottom: 0.5em;
  }
}
p.answer {
  font-weight: bold;
  font-size: 150%;
  margin-bottom: 0.5em;
  line-height: 2;
}
p.answer span.asw_i {
  display: inline-block;
  padding: 0 0.5em;
  background-color: #f9e403;
  border-radius: 5px;
  margin-right: 1em;
}
@media all and (min-width: 768px) {
  .answer_txt {
    max-height: 20em!important;
    overflow: auto;
    margin-bottom: 3em!important;
  }
}
@media screen and (max-width: 767px) {
  .answer_txt {
    max-height: 20em!important;
    overflow: auto;
  }
}
/*	pic height
============================== */
.ep1_q2a span {
  width: 100%;
  margin: 0 0;
  box-sizing: border-box;
  height: 0;
  padding: 39.666666666666667% 0 0;
  position: relative;
  display: block;
}
.ep3_q1a span {
  width: 100%;
  margin: 0 0;
  box-sizing: border-box;
  height: 0;
  padding: 32.5% 0 0;
  position: relative;
  display: block;
}

@media all and (min-width: 768px) {
  .ep1_q2a {
    height: 119px;
  }
  .ep3_q1a {
    width: 400px;
    height: 130px;
  }

}
@media screen and (max-width: 767px) {
  .ep1_q2a {
    height: max-content;
  }
}
.ep1_q2a {
  margin: 1em auto 0;
}
/*	bknm
============================== */
#bknm ul li {
  display: inline-block;
  margin-top: 1em;
  width: 1em;
  margin-left: 2em;
}
.quiz #bknm li a:after {
  display: none;
}
#bknm li a {
  display: inline;
  margin: 5em 1em;
}
#bknm li span.epn {
  padding: 0;
  background-repeat: no-repeat;
  background-size: 100%;
  white-space: nowrap;
  text-indent: 999%;
  overflow: hidden;
  width: 3em;
  height: 4em;
  background-color: unset;
  padding: 0.5em;
}
#bknm li.bk1 span.epn {
  background-image: url(../img/quiz/ep1.png);
}
#bknm li.bk2 span.epn {
  background-image: url(../img/quiz/ep2.png);
}
#bknm li.bk3 span.epn {
  background-image: url(../img/quiz/ep3.png);
}
#bknm li.bk4 span.epn {
  background-image: url(../img/quiz/ep4.png);
}
