html,
body {
	height: 100%;
}

.main-wrapper {
  margin: 52px auto 0;
  position: relative;
  width: 100%;
  max-width: 1800px;
}

.error {
  background: rgba(0,0,0,.7);
  color: #fff;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 810;
  width: 100%;
  height: 100%;
}

.loading {
  background: linear-gradient(#fff,#f1f1f1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 810;
  width: 100%;
  height: 100%;
}
.loading-fadein {
  animation: loading-fadein .3s linear forwards;
}
@keyframes loading-fadein {
  0% {
    display: flex;
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.loading-fadeout {
  animation: loading-fadeout .3s linear forwards;
}
@keyframes loading-fadeout {
  0% {
    opacity: 1;
  }
  100% {
    display: none;
    opacity: 0;
  }
}


.setting {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 800;
  text-align: center;
  width: 100%;
  height: 100%;
}
.setting:before{
  content: '';
  background: inherit;
  filter: blur(3px);
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  z-index: -1;
}

.setting-wrapper {
  background: rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.setting-wrapper-inner {
}
.setting-wrapper .content-header {
  color: #fff;
  font-size: 1.2em;
  font-weight: normal;
  margin: 0 auto 16px;
}
.setting-thumb {
  border-radius: 2px;
  margin: 8px auto;
  width: 90%;
  height: 200px;
  max-width: 400px;
  min-width: 20px;
}
.setting-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.setting-order {
  color: #fff;
  cursor: pointer;
}
.setting-order-item-text {
  color: #fff;
  font-size: 1.2em;
  letter-spacing: .1em;
}
.setting-order-item-icon {
  font-size: 8em !important;
  transition: all .2s ease-out;
}
.setting-order-item-icon:hover {
  font-size: 8.2em !important;
}

#order_random:hover {
  background: #fff;
}


.result {
  background: #fff;
  width: 100%;
}
.result-wrapper {
  margin: 32px auto;
  max-width: 1100px;
}


#result_point {
  background: #fcfcfc;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  padding: 20px 2%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  text-align: center;
  width: 100%;
  height: 100%;
}
.result-quiz-total {
}
.result-your-total {
  font-size: 1.6em;
  font-weight: bold;
  padding: 0 4px;
}
.result-list-item {
  border-radius: 4px;
  margin: 20px auto;
  padding: 20px 4%;
}
.rli-content {
  margin: 8px auto;
}
.rli-content img,
.rli-content iframe {
  width: 100%;
  max-width: 200px;
  min-width: 160px;
}
.rli-description {
  margin: 12px auto;
}




#content:hover .volume-container {
  opacity: 1;
}
.volume-container {
  color: #fff;
  display: flex;
  align-items: center;
  transition: all .3s ease-in-out;
  padding: 12px 8px;
  opacity: 0;
  position: absolute;
  z-index: 10;
  background: rgba(0,0,0,.6);
}

.volume-switch {
  font-size: 1.2em;
  margin: 0 4px 0 0;
}

.volume-range {
  height: 5px;
  width: 120px;
  background: #333;
  border-radius: 16px;
}

.volume-range>.volume {
  height: 5px;
  background: rgba(255,255,255,.8);
  border: none;
  border-radius: 10px;
  outline: none;
  position: relative;
}

.volume-range>.volume>.volume-button {
  width: 12px;
  height: 12px;
  border-radius: 20px;
  background: #FFF;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  outline: none;
  pointer-events: none;
}






.current-quiz {
  background: linear-gradient(#fff,#f1f1f1);
  display: none;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 800;
  width: 100%;
  height: 100%;
}
.current-quiz-wrapper {
  font-size: 2em;
}
.current-quiz-fadein {
  animation: current-quiz-fadein .2s linear forwards;
}
@keyframes current-quiz-fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.current-quiz-fadeout {
  animation: current-quiz-fadeout .4s ease 1.2s forwards;
}
@keyframes current-quiz-fadeout {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

#main {
  background: #fff;
  float: left;
  margin-right: -440px;
  padding: 24px 440px 0 2%;
  width: 100%;
}

.main-quizinfo {
}
.main-quizinfo-average {
  color: #777;
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.question-wrapper {
  position: relative;
}
#questionTop {
  background: #fff;
  overflow-y: auto;
  padding: 10px 3% 8px;
  width: 100%;
/*  height: 19vh;
  max-height: 140px;
  min-height: 130px;*/
}
#qNum {
  color: #777;
  padding: 8px 2%;
  text-align: center;
}
#sentence {
  font-size: 1.2em;
}
.sentence {
  font-weight: bold;
  line-height: 1.3;
  overflow: hidden;
}
.sentence-text {
  display: inline-block;
}

#questionMiddle {
	position: relative;
	background: #f1f1f1;
	width: 100%;
}
#content {
  background: #000;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  margin-bottom: 20px;
}
.image-copyright {
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: .7em;
  padding: 2px 8px;
  position: absolute;
  bottom: 0;
  right: 0;
}
.cp_embed_wrapper {
  height: 100%;
}
#map {
  width: 100%;
  height: 100%;
}
#content p {
  font-size: 1.1em;
  padding: 2%;
}
		#content #gmap {
			width: 100%;
			height: 100%;
		}
		#content .wrap {
			background: #f9f9f9;
			overflow-y: auto;
			padding: 3%;
			width: 100%;
			height: 100%;
		}
		#content .wrap > p {
			font-size: 120%;
			word-wrap: break-word;
		}
		#content video,
		#content iframe,
		#content object,
		#content embed {
			width: 100%;
			height: 100%;
		}

#video_frame {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
		#content img {
			margin: 0 auto;
			display: block;
			max-width:100%;
			height:100%;
		}
.content-inner {
  background: rgba(0,0,0,.6);
  padding: 16px 2%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
}

.content-blind {
  background: #D9D3BD;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: calc(100% - 28px);
}
.content-blind p {
  color: #fff;
  font-size: 160%;
  margin: -15px 0 0 -170px;
  position: absolute;
  top: 50%;
  left: 50%;
}

.answer {
  display: none;
}
.answer-fadein {
  animation: answer-fadein .3s linear forwards;
}
@keyframes answer-fadein {
  0% {
    display: table;
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.answer-wrapper {
  padding: 16px 2%;
}
.answer-text {
  margin: 0 auto 1em;
}
.answer-text .content-text {
  color: #444;
}
.user-answerwords-wrapper {
  display: none;
}
.answer-description-link {
  color: #1A0DAB;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 50%;
  max-width: 500px;
  min-width: 300px;
}

	#questionMiddle .close {
		background: rgba(0,0,0,.7);
		border: 1px solid #999;
		border-radius: 3px;
		color: #fff;
		cursor: pointer;
		display: none;
		font-size: 80%;
		padding: 4px;
		position: absolute;
		top: 2%;
		right: 2%;
		z-index: 5;
	}

#questionBottom {
	background: #fff;
	color: #fff;
	padding: 0 1% 12px;
	position: relative;
}
.question-bottom-blind {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}
.question-bottom-blind-wrapper {
  background: #000;
  color: #fff;
  display: table-cell;
  font-size: 2em;
  text-align: center;
  vertical-align: middle;
}

.four-items {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
}
.moviefour-items-item,
.moviejunjo-items-item,
.moviehukususeikai-items-item {
  border: 8px solid #000;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.moviefour-items-item:hover,
.moviejunjo-items-item:hover,
.moviehukususeikai-items-item:hover {
  background: rgba(255,255,255,.3);
}

.junjo-items-item,
.hukususeikai-items-item {
  background: #555;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px 1% 0;
  padding: 10px 2%;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
  width: 48%;
}
.junjo-items-item,
.hukususeikai-items-item {
  position: relative;
}
.fii-text {
  opacity: 1;
  font-size: 0;
  width: 0;
  height: 0;
}
.reset-junjo-inner,
.reset-hukususeikai-inner {
  display: inline-block;
  vertical-align: middle;
}
.reset-junjo,
.reset-hukususeikai {
  background: red;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  margin: .8em 1% 0;
  padding: 8px 2%;
}
.reset-moviejunjo,
.reset-moviehukususeikai {
  background: #000;
  border: 4px solid #fff;
  box-shadow: 2px 2px 8px #000;
  color: #fff;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  padding: 12px 20px;
}

.answer-buttons {
  background: #888;
  display: none;
  padding: 4px 2%;
}

.submit-hukususeikai {
  background: blue;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  margin: .8em 1% 0;
  padding: 8px 2%;
}

.submit-moviehukususeikai {
  background: #bf0000;
  border: 4px solid #fff;
  box-shadow: 2px 2px 8px #000;
  color: #fff;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  padding: 12px 20px;
}
.junjo-ordernum,
.hukususeikai-ordernum {
  color: #fff;
  display: none;
  font-size: 2em;
  font-style: italic;
  font-weight: bold;
  opacity: .4;
  position: absolute;
  top: 0;
  left: 2%;
}
.moviejunjo-ordernum {
  color: #fff;
  display: none;
  font-size: 2em;
  font-style: italic;
  font-weight: bold;
}

.marubatsu-items-item {
  background: #555;
  border-radius: 4px;
  cursor: pointer;
  margin: .8em 1% 0;
  padding: 24px 2%;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
  width: 48%;
}
.marubatsu-text {
  display: inline-block;
  font-size: 2em;
  vertical-align: middle;
}

/* 記述 */
.quiztype-input {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 2%;
}
.quiztype-input-input input {
  font-size: 2.4em;
  border-radius: 2px 0 0 2px;
  height: 55px;
}
.quiztype-input-submit {
  border: 1px solid #888;
  border-left: none;
  border-radius: 0 2px 2px 0;
  color: #000;
  cursor: pointer;
  font-size: 1.9em;
  font-weight: bold;
  padding: 0 16px;
  white-space: nowrap;
  height: 55px;
}


.next {
  animation: next_letterspacing 5s infinite ease-in-out;
  background: #FF6970;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.1em;
  margin: 0 2%;
  padding: 12px 2%;
  height: 60px;
}
@keyframes next_letterspacing {
  0% {
    font-size: 1.1em;
    letter-spacing: 0px;
  }
  50% {
    font-size: 1.3em;
    letter-spacing: .3em;
  }
  100% {
    font-size: 1.1em;
    letter-spacing: 0em;
  }
}
.next-text {
}

.fraction {
	display:inline-block;     /* 分数を左詰で表示する定義 */
    margin-left:0;
    margin-right:auto;
    vertical-align:middle;
}
	.numerator,
	.denominator {    /* 分数、整数、分子、分母 */
	    font-size:15px;
	    color:inherit;
	    text-align:center;
	    line-height:20px;
	    padding:2px 5px 2px 5px;
	}
	#choices_charstring .numerator,
	#answer .numerator {    /* 分子 */
	    border-style:solid;
	    border-width:0px 0px 1px 0px;
	    border-color:white;
	    padding-bottom:0px;
	}
	#aside .numerator,
	.wrap .numerator {    /* 分子 */
	    border-style:solid;
	    border-width:0px 0px 1px 0px;
	    border-color:#444;
	    padding-bottom:0px;
	}

#correctMark,
#mistakeMark {
  background: rgba(0,0,0,.7);
  color: #fff;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 4em;
  font-weight: bold;
  letter-spacing: .1em;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 15;
  width: 100%;
  height: 100%;
}



img.float_left { float:left;margin:0 4px 4px 0;width:15%; }
.yapiviewcount { font-weight:bold; }


.mqar-share-btn {
  cursor: pointer;
  font-size: 1.1em;
}
.mqar-share-btn i {
  margin: 0 8px 0 0;
}


#results {
	background: #fff;
	display: none;
	padding: 3% 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 6;
	width: inherit;
}
	#yourPoints {
		color: #fff;
		margin: 2% auto;
		width: 75%;
	}
		#yourPoints .innerContent {
			background: #444;
			padding: 2%;
			width: 150px;
		}
			#yourPoints .innerContent h3 {
				font-size: 120%;
				font-weight: normal;
				color: #dbdbdb;
			}
	#results .options {
		margin: 15px auto 0;
		border-top: 1px solid #ccc;
		width: 75%;
	}
		#results .options li {
			display: inline-block;
			margin: 0 1%;
			padding: 10px;
		}
			#results .options li a {
				color: #666;
				font-weight: bold;
			}
				#results .options li a:hover {
					text-decoration: none;
					color: #444;
				}
	#results .correct {
		background: #d2eaff;
		margin: 3% auto;
		padding: 2%;
		width: 80%;
	}
	#results .mistake {
		background: #f3bfc0;
		margin: 3% auto;
		padding: 2%;
		width: 80%;
	}
		#results .correct div,
		#results .mistake div {
			position: relative;
			height: 0;
			margin: 1% 0;
			padding: 30px 0 50%;
			overflow: hidden;
		}
			#results div video,
			#results div iframe,
			#results div object,
			#results div embed,
			#results div video {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
			}
		#results img {
			width: 100%;
			max-height: 600px;
		}
		#results .desc {
			border-top:1px solid #ccc;
			color: #595959;
			font-size: 90%;
			margin: 1% 0 0;
			padding: 1% 0 0;
		}

.result-list-right {
  margin: 8px auto 0;
  overflow: hidden;
}

.result-cards {
  margin: 24px auto;
}
.result-cards-ul li {
  border: 1px solid #ccc;
  border-radius: 2px;
  box-shadow: 1px 1px 3px #ccc;
  margin: 4px;
  padding: 4px 2px;
  width: 80px;
  height: 120px;
}
.result-cards-ul li img {
  border-radius: 2px;
  width: 100%;
  max-height: 80px;
}

.result-promotion {
  background: #167ac6;
  color: #fff;
  margin: 36px auto;
  padding: 32px 2%;
}
.result-promotion .content-header {
  text-align: center;
}
.result-promotion-table {
  background: #f8f9f5;
  border: 1px solid #ccc;
  border-collapse: collapse;
  border-radius: 4px;
  margin: 24px auto;
  width: 100%;
}
.result-promotion-table tr td,
.result-promotion-table tr th {
  border: 1px solid #ccc;
  border-collapse: collapse;
  color: #222;
  padding: 8px;
  text-align: center;
}
.result-promotion-button {
  background: linear-gradient(#fefefe,#f4f4f4);
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #000;
  display: table;
  font-size: 1.2em;
  margin: 8px auto;
  text-align: center;
}
.result-promotion-button > a {
  display: table-cell;
  padding: 8px 20px;
  vertical-align: middle;
}


.credit {
	width: 100%;
	height: 100%;
}
	.credit small {
		background: rgba(0,0,0,0.7);
		color: #fff;
		font-size: 80%;
		padding: .3% 1%;
		position: absolute;
		right: 0;
		bottom: 0;
	}


/* 埋め込み */
.embed {
  background: rgba(255,255,255,.8);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  text-align: center;
  width: 100%;
  height: 100%;
}
.embed-wrapper {
  width: 92%;
}
.ew-textarea {
  width: 100%;
  height: 100px;
  max-width: 560px;
}
.embed-close {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
  cursor: pointer;
  margin: 12px auto;
  padding: 4px 12px;
}


/* ハンバーガー */
.top-side {
  display: none;
  float: none !important;
  position: fixed;
  top: 32px;
  left: 0;
  z-index: 800;
}


#aside {
  background: #fff;
  float: right;
  padding: 8px 1% 4px;
  width: 440px;
}
.aside-loginpr {
  background: #167ac6;
  border: 1px solid #167ac6;
  border-radius: 4px;
  color: #fff;
  display: table;
  margin: 24px auto;
  width: 100%;
}
.aside-loginpr-wrapper {
  display: table-cell;
  padding: 28px 4%;
  text-align: center;
  vertical-align: middle;
  width: 100%;
}
.aside-loginpr-btn {
  background: linear-gradient(#fefefe,#f4f4f4);
  border: 1px solid #ccc;
  color: #666;
  font-weight: bold;
  margin: 32px auto 0;
  padding: 6px 16px;
  width: 180px;
}


.result-loginpr {
  background: #167ac6;
  border: 1px solid #167ac6;
  border-radius: 4px;
  color: #fff;
  margin: 24px auto;
  width: 100%;
}
.result-loginpr-wrapper {
  display: block;
  padding: 24px 4%;
  text-align: center;
  vertical-align: middle;
  width: 100%;
}
.result-loginpr-wrapper .content-text {
  line-height: 1.4;
  margin: 8px auto 0;
}
.result-loginpr-btn {
  background: linear-gradient(#fefefe,#f4f4f4);
  border: 1px solid #ccc;
  color: #666;
  font-weight: bold;
  margin: 20px auto 0;
  padding: 6px 16px;
  width: 180px;
}


	#aside .ad {
		margin: 2% 0 20px;
		text-align: center;
	}
	#aside .ad .ad-side-top {
		width: 300px;
		height: 250px;
	}
	#aside .options li {
		background: #eaeaea;
		border: 1px solid #ccc;
		border-radius: 3px;
		color: #777;
		cursor: pointer;
		display: inline-block;
		font-size: 90%;
		margin: 1% 1.5%;
		padding: 4px 7px;
		text-align: center;
	}
		#aside .options i { margin: 0 5px 0 0; }

.title {
  margin: 4px auto 0;
  font-size: 1.25em;
  font-weight: normal;
  line-height: 1.3;
}
#aside .desc {
	color: #666;
  line-height: 1.5;
	margin: 1% 1% 5px;
}



#author {
  border-top: 1px solid #dfdfdf;
  border-bottom: 1px solid #dfdfdf;
  margin: 4px auto 16px;
  padding: 16px 0;
}
#author a:hover {
  text-decoration: none;
}
.author-left {
  float: left;
  margin: 0 16px 0 0;
  width: 48px;
  height: 48px;
}
.author-left img {
  border-radius: 100%;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.author-right {
  line-height: 1.4;
  overflow: hidden;
}
.author-createdate {
  color: #555;
}
.author-right .desc {
  padding: 8px 0;
}
.author-quiz-category {
  color: #555;
}
.author-quiz-category a {
  color: #1A0DAB;
}

.aside-cards {
  margin: 24px auto;
}
.aside-cards-ul li {
  border: 1px solid #ccc;
  border-radius: 2px;
  display: inline-block;
  margin: 4px;
  padding: 4px 2px;
  width: 44px;
  height: 62px;
}
.aside-cards-ul li img {
  border-radius: 2px;
  width: 100%;
  max-height: 56px;
}
	#userScores {
		margin: 6% 0;
	}
		#userScores i {
			font-size: 130%;
			margin: 0 8px 0 0;
		}
		#userScores .scores { margin: 5% 0 0; }
		#userScores .scores i { float: left; }
		#userScores .scores p {
			line-height: 1.7;
			overflow: hidden;
		}
	#perfect {
		width:99%;
		height:150px;
		margin:0 0 10%;
		padding:0.5%;
		overflow-y:auto;
		border:1px solid #F1F1F1;
		background:#F1F1F1;
	}
		#perfect table {
			margin:2%;
			width:98%;
			font-size:85%;
		}
			#perfect table tr td { padding:0 7px; }
			#perfect table tr td a { color: #444; }
			#perfect table tr td img {
				vartical-align: middle;
				width: 20px;
			}

.aside-loginpr-wrapper .content-text {
  line-height: 1.9;
}

#related {
  display: flex;
  margin: 2% 0;
  flex-wrap: wrap;
}
		#related ul li {
			font-size: 90%;
			margin: 4% 0;
		}
			#related ul li img {
				float: left;
				margin: 0 3px 0 0;
				width: 140px;
				height: 85px;
			}

.related-item {
  margin: 0 auto;
  padding: 4px 0;
  width: 100%;
}
.related-item > a {
  color: inherit;
  text-decoration: none;
}
.related-item-image {
  background: #000;
  float: left;
  margin: 0 8px 0 0;
  width: 170px;
  height: 100px;
}
.related-item-image img {
  display: block;
  margin: 0 auto;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.related-item-right > .content-text {
  line-height: 1.3;
}
.related-item-right > .content-small {
  color: #888;
  font-size: .9em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* asideシェア */
.quiz-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.qs-item {
  display: table;
  font-size: 1.4em;
}
.qs-item-a {
  border-radius: 4px;
  color: #fff;
  display: table-cell;
  padding: 0 8px;
  text-align: center;
  vertical-align: middle;
  min-width: 40px;
  height: 40px;
}
.qs-item > a:hover {
  text-decoration: none;
}

/* リザルト画面のシェア */
.result-quiz-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.rqs-item {
  display: table;
  margin: 6px;
}
.rqs-item-a {
  border-radius: 4px;
  color: #fff;
  display: table-cell;
  padding: 0 8px;
  text-align: center;
  vertical-align: middle;
  height: 44px;
}
.rqs-item > a i {
  margin: 0 4px 0 0;
}
.rqs-item > a:hover {
  text-decoration: none;
}


/* 次のクイズ */
.result-nextquiz {
  margin: 16px auto 28px;
}
.rnq-item {
  margin: 8px auto;
}
.rnq-image {
  background: #000;
  float: left;
  margin: 0 8px 0 0;
  width: 170px;
  height: 100px;
}
.rnq-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.rnq-item-right {
  overflow: hidden;
}

.rnq-title {
  font-size: 1.1em;
}
.rnq-text {
  color: #777;
  font-size: .9em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rnq-description {
  color: #777;
  font-size: .9em;
}


/* コメント */
.aside-comment {
  margin: 16px auto;
  padding: 0 2%;
}
.aside-comment .content-header {
  margin: 0 auto 8px;
}
.comment-wrapper {
  background: #fff;
  box-shadow: 1px 1px 1px #ccc;
  margin: 4px auto 28px;
  padding: 32px 2% 16px;
}
.cl-item-textarea {
  overflow: hidden;
}
#quizine_comment_comment {
  border: none;
  border-bottom: 1px solid #ccc;
  box-shadow: none;
  overflow: hidden;
  height: 5em;
}

.comment-list {

}
.cl-item {
  display: flex;
  margin: 24px auto;
}
.cl-reply-item {
  display: flex;
  margin: 12px auto;
}
.cl-item-img {
  background: #f1f1f1;
  border-radius: 50%;
  margin: 0 12px 0 0;
  width: 40px;
  height: 40px;
}
.cl-item-text {
  flex-basis: 100%;
  overflow: hidden;
}
.cl-item-name {
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cl-item-comment {
  color: #222;
  margin: 0 0 8px;
}
.cl-item-settings {
  display: none;
  position: relative;
}
.cl-item:hover .cl-item-settings,
.cl-reply-item:hover .cl-item-settings {
  display: block;
}
.cl-item-settings-ul {
  background: #eee;
  box-shadow: 1px 1px 4px #777;
  display: none;
  padding: 12px;
  position: absolute;
  top: 20px;
  left: -90px;
  z-index: 1;
  width: 80px;
}

.cl-item-reply-wrapper {
  display: none;
  margin: 12px auto 0;
}
.cl-item-reply-listbtn {
  background: transparent !important;
  border: none !important;
  color: #4285f4;
  cursor: pointer;
  margin: 6px 0 0;
  outline: none;
  padding: 0 !important;
}
.cl-item-goodbad {
  display: inline-block;
  margin: 0 12px 0 0;
}
.cl-item-replybtn {
  color: #777;
  cursor: pointer;
  display: inline-block;
}

.matome_comment_comment {
  border: none;
  border-bottom: 1px solid #ccc;
  box-shadow: none;
  height: 4em;
}
.cl-item-reply-cancel {
  background: #f9f9f9;
  border: 1px solid #f9f9f9;
  color: #777;
  cursor: pointer;
  margin: 0 12px 0 0;
  padding: 4px 12px;
  float: right;
}
.cl-item-submit {
  padding: 4px 12px !important;
  float: right;
}

.share {
	background: rgba(0,0,0,.7);
	display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
	position:fixed;
  top: 0;
  left: 0;
	z-index: 800;
	width: 100%;
  height: 100%;
}
.share-wrapper {
  background: #fff;
  padding: 20px 2%;
  width: 96%;
  max-width: 800px;
}
.share-ul li {
	display: inline-block;
	margin: 8px 6px;
}
.share textarea {
  font-family: inherit;
  margin: 0 0 2%;
  padding: 3px;
  width: 100%;
  min-width: 300px;
  height: 80px;
}
.share-close {
  background: linear-gradient(#f9f9f9, #f1f1f1);
  border: 1px solid #ccc;
  color: #333;
  cursor: pointer;
  margin: 0 auto;
  padding: 4px 12px;
  text-align: center;
  width: 120px;
}

h1.print_description,
h1.print_title,
.print_question,
.print_answer {
	display:none;
}


#setting .btn_action {
	min-width: 150px;
	padding: 5% 2%;
	background: #FF6E71;
	color: white;
}
	#setting .btn_action1,
	#choices .btn_action1 {
		box-shadow: 0 4px 0 #cc585a;
	}
	#setting  .btn_action1:hover,
	#choices .btn_action1:hover {
		background: #ff7c7f;
	}

.btn_action {
	display: block;
	text-align: center;
	outline: none;
	cursor: pointer;
}
.btn_action::before,
.btn_action::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}
.btn_action,
.btn_action::before,
.btn_action::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
	.btn_action1 {
		position: relative;
		border-radius: 4px;
		-webkit-transition: none;
		transition: none;
	}
	.btn_action1:hover {
		text-decoration: none;
	}
	.btn_action1:active {
		top: 3px;
		box-shadow: none;
	}

.balloon {
	cursor: pointer;
	display: inline-block;
	margin: 0 5% 0 0;
	position: relative;
}
	.balloon p {
		box-shadow: 1px 1px 3px #ccc;
		display: none;
		font-size: 80%;
		position: absolute;
		top:130%;
		padding: 3px;
		border-radius: 3px;
		background: #333;
		color: #fff;
		text-align: center;
		min-width: 70px;
	}
		.balloon p:after {
			position: absolute;
			bottom: 100%;
			left: 30%;
			width: 0;
			height: 0;
			margin-left: -8px;
			border: solid transparent;
			border-color: rgba(51, 51, 51, 0);
			border-bottom-color: #333;
			border-width: 8px;
			pointer-events: none;
			content: " ";
		}
		.balloon span {
			display: block;
			min-width: 50px;
		}

#aside .option:after,
#aside .author:after,
.clearfix:after,
#related ul li:after {
	display: block;
	clear: both;
	content: '';
}

.aside-footer {
  margin: 40px auto 0;
}
.af-copyright {
  display: block;
  margin: 0 auto 4px;
  text-align: center;
}

.fb_iframe_widget > span {
	vertical-align: baseline !important;
}


@media screen and (max-width:990px) {
#main {
  float: none;
  padding: 0;
}
.question-wrapper {
  width: 100%;
}
.main-quizinfo-average {
  margin: 0 auto;
}
#content {
  margin-bottom: 12px;
}
.main-quizinfo {
  padding: 0 2%;
}
.result-wrapper {
  margin: 4px auto;
  padding: 12px 2%;
}
.result-point {
  padding: 4px 2% 12px;
}

#related {
  padding: 0 2%;
}
.aside-average {
  padding: 4px 2%;
}

.next {
  height: 48px;
}

.setting-wrapper {
  background: rgba(0,0,0,.6);
  padding: 56px 4%;
  width: 100%;
  height: 100%;
}
.setting-wrapper > .content-header {
  color: #fff;
  font-size: 1em;
}
.setting-thumb {
  margin: 12px auto;
  max-width: 220px;
  height: 108px;
}
.setting-order-item {
}

#order_random {
  background: linear-gradient(#f9f9f9, #f1f1f1);
  box-shadow: 0 0 8px #333;
  color: inherit;
  margin: 20px auto 8px;
  padding: 8px 6px;
  width: 60%;
}


.moviefour-items-item,
.moviejunjo-items-item,
.moviehukususeikai-items-item {
  border: 3px solid #000;
}

#questionTop {
  display: none;
  padding: 10px 3% 6px;
  /*min-height: 116px;*/
}
#qNum {
  font-size: .9em;
  font-weight: normal;
}

#sentence {
  font-size: 1.1em;
}

.answer-wrapper {
  padding: 12px 2%;
}
.quiztype-input {
  width: 100%;
}
.quiztype-input-input {
  width: 100%;
}
.quiztype-input-input input {
  font-size: 1.4em;
  height: 40px;
}
.quiztype-input-submit {
  font-size: 1.5em;
  line-height: 1.7;
  height: 40px;
}

.rnq-title {
  font-size: 1em;
  line-height: 1.3;
}

.result-quiz-share {
  display: block;
}
.rqs-item {
  margin: 12px auto;
}
.rqs-item-a {
  width: 200px;
}

#aside {
  border: none;
  border-top: 1px solid #dfdfdf;
  float: none;
  margin: 0 auto 8px;
  padding: 6px 0;
  width: auto;
}
#author {
  border-top: none;
  border-bottom: 1px solid #dfdfdf;
  margin: 0 auto;
  padding: 4px 2% 8px;
}
#author img {
  width: 36px;
  height: 36px;
}

.aside-title-desc {
  display: none;
  margin: 0 auto 16px;
}

.author-left {
  margin: 0;
}
.author-right {
  line-height: 1.2;
  overflow: hidden;
  padding: 0;
}
.author-ch-name {
  font-weight: bold;
}
.author-createdat {
  font-size: .8em;
}
#aside .ad {
  margin: 0 auto;
}

.aside-bottom-arrow {
  float: right;
  font-size: 1.8em;
  padding: 0 8px 0 24px;
}
.aside-bottom-arrow i {
  display: block;
  line-height: .7;
}


.quiz-share {
  padding: 0 2%;
}

#aside .title {
  font-size: 1.1em;
  margin: 8px auto 4px;
  padding: 0 2%;
}
#aside .desc {
  font-size: .9em;
  margin: 0 auto;
  padding: 0 2%;
}

.aside-loginpr {
  width: 96%;
}

.aside-comment {
  padding: 0 2%;
}
}


@media screen and (max-width:550px) {
html,
body {
  font-size: 15px;
}

.related-item-image,
.rnq-image {
  width: 148px;
  height: 88px;
}
.main-quizinfo-average {
  font-weight: normal;
}

.volume-container {
  display: none;
}
}


@media print {
	body {
		width:650px;
		overflow:visible;
		font-size:90%;
	}
	header {
		display:none;
	}
	h1.print_title,
	h1.print_description {
		display:inline;
		margin:100px 0;
		text-align:center;
		font-size:140%;
	}
	.login, #main, #aside, share_window {
		display:none;
	}
	.print_question {
		width:inherit;
		margin:3% auto 200px;
		font-size:120%;
		display:block;
	}
	.print_answer {
		width:inherit;
		margin:500px auto 3%;
		display:block;
		page-break-before:always;
		word-wrap:break-word;
	}
	.print_question section,
	.print_answer section {
		width:inherit;
		margin:0 auto;
		padding:3% 0;
		border-bottom:1px solid #CCC;
		page-break-inside: avoid;
	}
	.print_question img,
	.print_question iframe {
		width:30%;
		max-height:250px;
		float:left;
		margin:0 5px 0 0;
	}
}


/* =========================================================
   AnTytle Ads / 結果表示前動画広告
   ========================================================= */

.quizine-ad-overlay {
  background: #000;
  display: none;
  align-items: stretch;
  justify-content: stretch;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: 100%;
}

.quizine-ad-stage {
  background: #000;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}

.quizine-ad-video,
.quizine-ad-video.video-js {
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.quizine-ad-video .vjs-tech {
  object-fit: contain;
}

.quizine-ad-topbar {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
}

.quizine-ad-label {
  background: rgba(0,0,0,.68);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 3px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: bold;
}

.quizine-ad-bottom {
  background: linear-gradient(transparent, rgba(0,0,0,.9));
  padding: 64px 16px 14px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;
  width: 100%;
}

.quizine-ad-progress {
  background: rgba(255,255,255,.28);
  overflow: hidden;
  width: 100%;
  height: 4px;
}

.quizine-ad-progress-bar {
  background: #fff;
  width: 0;
  height: 100%;
  transition: width .1s linear;
}

.quizine-ad-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 11px;
}

.quizine-ad-copy {
  min-width: 0;
}

.quizine-ad-advertiser {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
}

.quizine-ad-title {
  color: rgba(255,255,255,.78);
  font-size: 11px;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quizine-ad-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

.quizine-ad-remaining {
  color: rgba(255,255,255,.78);
  font-size: 11px;
  min-width: 32px;
  text-align: right;
}

.quizine-ad-cta,
.quizine-ad-skip {
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 3px;
  box-sizing: border-box;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
}

.quizine-ad-cta {
  background: rgba(255,255,255,.16);
}

.quizine-ad-skip {
  background: rgba(0,0,0,.7);
  cursor: pointer;
}

.quizine-ad-skip:disabled {
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.58);
  cursor: default;
}

@media screen and (max-width: 600px) {
  .quizine-ad-bottom {
    padding: 50px 10px 10px;
  }

  .quizine-ad-info {
    align-items: flex-end;
    gap: 10px;
  }

  .quizine-ad-title {
    max-width: 42vw;
  }

  .quizine-ad-actions {
    gap: 5px;
  }

  .quizine-ad-cta,
  .quizine-ad-skip {
    min-height: 31px;
    padding: 0 8px;
    font-size: 10px;
  }
}


/* =========================================================
   Quizine result share UI v2
   ========================================================= */
.result-quiz-share {
  gap: 8px;
  margin-top: 14px;
}
.rqs-item { margin: 0; }
.rqs-item-a {
  appearance: none;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 7px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 13px;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: opacity .15s ease, transform .15s ease;
}
.rqs-item-a:hover { opacity: .88; text-decoration: none; transform: translateY(-1px); }
.rqs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  font-size: 12px;
  font-weight: 900;
}
.rqs-icon-x { font-size: 14px; }
.rqs-x { background: #111; }
.rqs-line { background: #06c755; }
.rqs-facebook { background: #1877f2; }
.rqs-bluesky { background: #1185fe; }
.rqs-copy { background: #5b626a; }

.quizine-ad-advertiser-link {
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 5px;
  background: rgba(0,0,0,.38);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: min(520px, 56vw);
  min-height: 34px;
  padding: 6px 9px;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.quizine-ad-advertiser-link:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.72);
  text-decoration: none;
}
.quizine-ad-advertiser { flex-shrink: 0; }
.quizine-ad-advertiser-url {
  color: rgba(255,255,255,.7);
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.quizine-ad-external { color: rgba(255,255,255,.72); flex-shrink: 0; font-size: 11px; }
.quizine-ad-remaining { display: none !important; }

@media screen and (max-width: 600px) {
  .result-quiz-share { gap: 6px; }
  .rqs-item-a { min-height: 40px; padding: 0 10px; font-size: 11px; }
  .quizine-ad-advertiser-link { max-width: 48vw; min-height: 31px; padding: 5px 7px; }
  .quizine-ad-advertiser-url { display: none; }
}

/* =========================================================
   Permanent quiz share modal v3
   ========================================================= */
.share {
  background: rgba(14, 18, 24, .72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 800;
  padding: 20px;
}

.share-wrapper {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  padding: 0;
  width: 100%;
  max-width: 560px;
  overflow: hidden;
}

.share-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid #eceff2;
}

.share-head-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f1f4f7;
  color: #303842;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.share-head-copy {
  min-width: 0;
  flex: 1;
}

.share-head-copy h4 {
  margin: 0;
  color: #171b20;
  font-size: 19px;
  line-height: 1.35;
}

.share-head-copy p {
  margin: 4px 0 0;
  color: #7a838d;
  font-size: 12px;
  line-height: 1.5;
}

.share-close {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f5f7;
  color: #5f6872;
  cursor: pointer;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease;
}

.share-close:hover {
  background: #e8ebee;
  color: #15191e;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 20px 22px 16px;
}

.share-service {
  min-width: 0;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid #e4e8ec;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #252b31;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.share-service:hover {
  border-color: #cfd5db;
  box-shadow: 0 6px 18px rgba(21, 28, 36, .08);
  transform: translateY(-1px);
  text-decoration: none;
}

.share-service-icon {
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

.share-service-icon-x { background: #111; font-size: 17px; }
.share-service-icon-line { background: #06c755; font-size: 9px; }
.share-service-icon-facebook { background: #1877f2; font-size: 21px; font-family: Arial, sans-serif; }
.share-service-icon-bluesky { background: #1185fe; font-size: 17px; }

.share-service-text {
  min-width: 0;
  display: block;
}

.share-service-text strong,
.share-service-text small {
  display: block;
}

.share-service-text strong {
  color: #242a30;
  font-size: 13px;
  line-height: 1.35;
}

.share-service-text small {
  margin-top: 2px;
  color: #89919a;
  font-size: 10px;
}

.share-copy-area {
  padding: 0 22px 22px;
}

.share-copy-label {
  margin: 0 0 7px;
  color: #737c85;
  font-size: 10px;
  font-weight: 700;
}

.share-copy-row {
  min-height: 45px;
  border: 1px solid #e0e5e9;
  border-radius: 10px;
  background: #f7f9fa;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.share-copy-url {
  min-width: 0;
  flex: 1;
  padding: 13px 13px;
  color: #6d7680;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-copy-button {
  flex: 0 0 auto;
  min-width: 92px;
  padding: 0 14px;
  border: 0;
  border-left: 1px solid #e0e5e9;
  background: #fff;
  color: #313840;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.share-copy-button i { margin-right: 6px; }
.share-copy-button:hover { background: #f0f3f5; }

@media (max-width: 560px) {
  .share { padding: 12px; }
  .share-wrapper { border-radius: 15px; }
  .share-head { padding: 18px 17px 15px; }
  .share-head-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .share-head-copy h4 { font-size: 17px; }
  .share-grid { grid-template-columns: 1fr; padding: 16px 17px 14px; gap: 8px; }
  .share-service { min-height: 58px; }
  .share-copy-area { padding: 0 17px 18px; }
  .share-copy-button { min-width: 82px; }
}
