html,
body {
	height: 100%;
}

.gradient-gold {
  background: linear-gradient(#E6BD5E,#BB8D02);
  border: 1px solid #BB8D02 !important;
  color: #251715;
}

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

.loading {
  background: linear-gradient(#fff,#f1f1f1);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 810;
  width: 100%;
  height: 100%;
}
.loading-img {
  display: flex;
  align-items: center;
  height: 100%;
}
.loading-img img {
  margin: 0 auto;
}
.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: 2;
  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;
  width: 100%;
  height: 100%;
}
.setting-wrapper-inner {

}
.setting-wrapper .content-header {
  color: #fff;
  font-size: 1.2em;
  font-weight: normal;
  line-height: 1.3;
  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 {
}
.setting-order-item {
}
#order_random {
  background: linear-gradient(#f9f9f9, #f1f1f1);
  border-radius: 2px;
  cursor: pointer;
  margin: 28px auto 8px;
  padding: 12px 6px;
  width: 70%;
  max-width: 260px;
  min-width: 160px;
}
#order_random:hover {
  background: #fff;
}
#order_basic {
  color: #888;
  margin: 20px auto;
}


.quizlist-true-wrapper {
  margin: 40px auto 32px;
}
.quizlist-true-header {
  margin: 20px auto 8px;
  text-align: center;
}
.quizlist-true-finished {
  color: #777;
  margin: 0 auto 20px;
  text-align: center;
}
.quizlist-true {
  display: flex;
  font-size: .8em;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.quizlist-true-inner {
  border: 1px solid #ccc;
  margin: 4px;
}
.quizlist-true-inner-inner {
  display: table;
}
.quizlist-true-inner-inner a {
  display: table-cell;
  padding: 2px 8px;
  vertical-align: middle;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100px;
}


.prefectures-ranking {
  background: rgba(0,0,0,.7);
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100vh;
}
.prefectures-ranking-wrapper {
  background: #fff;
  border: 1px solid #ccc;
  overflow: auto;
  padding: 20px 2%;
  width: 96%;
  max-width: 1000px;
  min-width: 280px;
  max-height: 80vh;
}
.prefectures-ranking-table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  width: 100%;
}
.prefectures-ranking-table td,
.prefectures-ranking-table th {
  border: 1px solid #ccc;
  border-collapse: collapse;
  padding: 8px;
  text-align: left;
}
.close-prefecture-ranking {
  background: linear-gradient(#fefefe, #f7f7f7);
  border: 1px solid #ccc;
  cursor: pointer;
  margin: 20px auto 0;
  padding: 4px 8px;
  text-align: center;
  width: 140px;
}



.event-prefectures {
  background: rgba(0,0,0,.6);
  color: #fff;
  padding: 20px 4%;
}
#prefecture_id {
  margin: 0 auto 8px;
}
.open-prefectures-ranking {
  border: 1px solid #ccc;
  cursor: pointer;
  font-size: .9em;
  font-style: italic;
  margin: 12px auto 0;
  padding: 4px 8px;
  width: 140px;
}
.link-profile {
  background: linear-gradient(#fefefe, #f7f7f7);
  border: 1px solid #ccc;
  cursor: pointer;
  color: #000;
  display: inline-block;
  font-style: italic;
  font-size: .9em;
  font-weight: bold;
  margin: 4px 4px 12px 0;
  padding: 4px 8px;
  width: 150px;
}









.desc-image {
  display: block;
  margin: 4px 0;
  width: 60%;
  min-width: 260px;
}

.result {
  background: #fff;
  display: none;
  width: 100%;
}
.result-wrapper {
  margin: 0 auto;
  padding: 40px 4%;
  max-width: 1100px;
}
.result-point {
  background: #fcfcfc;
  font-size: 1.2em;
  padding: 20px 2%;
  text-align: center;
}
.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;
}


.current-quiz {
  background: radial-gradient(#fff,#f1f1f1);
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  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 .3s ease-in-out forwards;
}
@keyframes current-quiz-fadeout {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

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

.main-quizinfo {
  border: 1px solid #ddd;
  margin: 32px 2% 0;
  padding: 16px 20px;
}
.main-quizinfo-average {
  color: #777;
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}



.leaderboard {
  background: #f8f8f8;
  margin: 24px 2% 0;
  padding: 16px 2%;
}
.leaderboard-table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 12px auto;
  text-align: left;
  width: 100%;
}
.leaderboard-table tr th,
.leaderboard-table tr td {
  border: 1px solid #ccc;
  border-collapse: collapse;
  padding: 8px 12px;
}

.leaderboard-userimage {
  overflow: hidden;
  object-fit: cover;
  padding: 0 !important;
  width: 32px;
  height: 32px;
}
.leaderboard-userimage img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.leaderboard-link {
  background: #167ac6;
  color: #fff;
  display: table;
  margin: 24px auto 0;
  width: 260px;
}
.leaderboard-link a {
  display: table-cell;
  padding: 8px;
  text-align: center;
  vertical-align: middle;
}
.leaderboard-userinfo a {
  color: #1A0DAB !important;
}
.leaderboard-userinfo a:hover {
  text-decoration: underline;
}
.leaderboard-userinfo {
  color: #777;
}



.question-wrapper-outer {
  margin: 0 auto 60px;
  position: relative;
}
.question-wrapper {
  margin: 40px 2% 60px;
  position: relative;
}
.question-top {
  background: #fff;
  overflow-y: auto;
  padding: 10px 3% 8px;
  width: 100%;
/*  height: 19vh;
  max-height: 140px;
  min-height: 130px;*/
}
.q-num {
  color: #777;
  overflow: hidden;
  /*text-overflow: ellipsis;*/
  white-space: nowrap;
}
.sentence {
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.3;
  overflow: hidden;
}
.sentence-text {
  display: inline-block;
}

.question-middle {
	position: relative;
	background: #f1f1f1;
	width: 100%;
	height: 44vh;
}
.content {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}
.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%;
		}
.content img {
	margin: 0 auto;
	display: block;
  max-width: 100vw;
	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 {
  background: #f1f1f1;
  display: none;
}
.answer-fadein {
  animation: answer-fadein .3s linear forwards;
}
@keyframes answer-fadein {
  0% {
    display: table;
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


.next-scroll-to {
  color: #777;
  display: none;
  font-size: .9em;
  margin: 24px auto;
  text-align: center;
}

.answer-wrapper {
  padding: 16px 2%;
  width: 100%;
}
.answer-text {
}
.answer-text-iframe {
  position:relative;
  width:100%;
  max-width: 600px;
  height:0;
  padding-top:50%;
}
.answer-text-iframe iframe{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}
.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;
}

.question-middle .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;
}

.question-bottom {
	background: #fff;
	color: #fff;
	padding: 0 1% 12px;
	position: relative;
}
.question-bottom-blind {
  background: #000;
  cursor: pointer;
  display: none;
  flex-direction: column; /* 子要素をflexboxにより縦方向に揃える */
  justify-content: center; /* 子要素をflexboxにより中央に配置する */
  align-items: center;
  position: absolute;
  bottom: 0;
  top:0;
  left: 0;
  right: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
}
.question-bottom-blind-wrapper {
  color: #fff;
  font-size: 2em;
  padding: 8px 2%;
  text-align: center;
}

.four-items {
  display: flex;
  justify-content: center;
  align-items: space-around;
  flex-wrap: wrap;
}
.four-items-item,
.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,
.reset-junjo-inner,
.reset-hukususeikai-inner {
  color: #fff;
  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%;
}

.submit-hukususeikai {
  background: blue;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  margin: .8em 1% 0;
  padding: 8px 2%;
}
.junjo-ordernum,
.hukususeikai-ordernum {
  display: none;
  font-size: 2em;
  font-style: italic;
  font-weight: bold;
  opacity: .4;
  position: absolute;
  top: 0;
  left: 2%;
}

.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: 12px 1% 0;
  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;
	}

.correct-mark {
  display: none;
	margin: -100px 0 0 -25%;
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 910;
}
.correct-mark .ball {
  border-radius: 50%;
  background: #94CE3B;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  -webkit-animation: loading .3s linear forwards;
  -moz-animation: loading .3s linear forwards;
  -o-animation: loading .3s linear forwards;
  animation: loading .3s linear forwards;
}
.correct-mark .ball .seikai {
}
.seikai > img {
  width: 160px;
  height: 160px;
}
	.pulse {
		position: absolute;
		top: 0;
		left: 0;
		width: 160px;
		height: 160px;
		border-radius: 50%;
		border: 18px solid #BED563;
		-webkit-transform: scale(0);
		-moz-transform: scale(0);
		-o-transform: scale(0);
		transform: scale(0);
		-webkit-animation: pulse 3s ease-out;
		-moz-animation: pulse 3s ease-out;
		-o-animation: pulse 3s ease-out;
		animation: pulse 3s ease-out;
	}
	@-webkit-keyframes loading {
	  0% { -webkit-transform:scale(0,0); }
	  100% { -webkit-transform:scale(1,1); }
	}
	@-o-keyframes loading {
	  0% { -o-transform:scale(0,0); }
	  100% { -o-transform:scale(1,1); }
	}
	@-moz-keyframes loading {
	  0% { -moz-transform:scale(0,0); }
	  100% { -moz-transform:scale(1,1); }
	}
	@keyframes loading {
	  0% { transform:scale(0,0); }
	  100% { transform:scale(1,1); }
	}
	@-webkit-keyframes pulse {
	  0%   {-webkit-transform: scale(0);opacity: 0;}
	  10%  {-webkit-transform: scale(1);opacity: .9;}
	  50%  {-webkit-transform: scale(2);opacity: 0;}
	  100% {-webkit-transform: scale(0);opacity: 0;}    
	}
	@-o-keyframes pulse {
	  0%   {-o-transform: scale(0);opacity: 0;}
	  10%  {-o-transform: scale(1);opacity: .8;}
	  50%  {-o-transform: scale(2);opacity: 0;}
	  100% {-o-transform: scale(0);opacity: 0;}    
	}
	@-moz-keyframes pulse {
	  0%   {-moz-transform: scale(0);opacity: 0;}
	  10%  {-moz-transform: scale(1);opacity: .8;}
	  50%  {-moz-transform: scale(2);opacity: 0;}
	  100% {-moz-transform: scale(0);opacity: 0;}    
	}
	@keyframes pulse {
	  0%   {transform: scale(0);opacity: 0;}
	  10%  {transform: scale(1);opacity: .8;}
	  50%  {transform: scale(2);opacity: 0;}
	  100% {transform: scale(0);opacity: 0;}    
	}
.mistake-mark {
  background: #333;
  border-radius: 50%;
  display: none;
  margin: -100px 0 0 -25%;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 910;
  -webkit-animation: mistake .7s ease-out;
  -moz-animation: mistake .7s ease-out;
  -o-animation: mistake .7s ease-out;
  animation: mistake .7s ease-out;
}
.mistake-mark .huseikai {
}
.huseikai > img {
  width: 200px;
  height: 200px;
}
	@-webkit-keyframes mistake {
		0% { left:60%; }
		20% { left:40%; }
		40% { left:57%; }
		60% { left:44%; }
		80% { left:54%; }
		100% { left:50%; }
	}
	@-o-keyframes mistake {
		0% { left:60%; }
		20% { left:40%; }
		40% { left:57%; }
		60% { left:44%; }
		80% { left:54%; }
		100% { left:50%; }
	}
	@-moz-keyframes mistake {
		0% { left:60%; }
		20% { left:40%; }
		40% { left:57%; }
		60% { left:44%; }
		80% { left:54%; }
		100% { left:50%; }
	}
	@keyframes mistake {
		0% { left:60%; }
		20% { left:40%; }
		40% { left:57%; }
		60% { left:44%; }
		80% { left:54%; }
		100% { left:50%; }
	}

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;
}


#header {
  position: static;
}
/* ハンバーガー */
.top-side {
  display: none;
  float: none !important;
  position: absolute;
  top: 0;
  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 {
  margin: 0 auto 24px;
  padding: 0 2%;
}
.result-loginpr-wrapper {
  background: #167ac6;
  border: 1px solid #167ac6;
  border-radius: 4px;
  color: #fff;
  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.6em;
  line-height: 1.3;
}
#aside .desc {
	color: #666;
  line-height: 1.5;
	margin: 1% 1% 5px;
}



.author {
  padding: 12px 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: 12px 0 16px;
}
.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: 28px auto;
  padding: 16px 2%;
}
.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;
}
.cl-item-ul {
  margin: 20px auto;
}
.cl-item-ul li {
  display: inline-block;
  padding: 0 8px;
}






.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: 900;
	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) {
.leaderboard {
  margin: 24px 0;
  padding: 16px 12px;
}
.leaderboard-username {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 90px;
}
#main {
  float: none;
  margin: 52px auto 0;
  padding: 0;
}
.main-quizinfo {
  margin: 0 auto;
  padding: 16px 12px;
}
.author-quiz-category {
  display: block;
  text-align: right;
}
.title {
  font-size: 1.3em;
}
.question-wrapper {
  margin: 0 auto 40px;
}
.main-quizinfo-average {
  color: #000;
  margin: 0 auto;
}
.result-wrapper {
  padding: 12px 2%;
}
.result-point {
  padding: 4px 2% 12px;
}

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

.next {
  height: 48px;
}

.setting-wrapper {
  padding: 56px 4%;
}
.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%;
}

.correct-mark {
  display: none;
  margin: -80px 0 0 -60px;
}
.seikai > img {
  width: 120px;
  height: 120px;
}
.pulse {
  width: 120px;
  height: 120px;
}
.huseikai > img {
  width: 140px;
  height: 140px;
}
.mistake-mark {
  margin: -90px 0 0 -70px;
}

#choices li {
  margin: 1%;
  width: 98%;
}
.question-top {
  padding: 10px 3% 6px;
  /*min-height: 116px;*/
}
.q-num {
  font-size: .9em;
  font-weight: normal;
}

.question-middle {
  height: 32vh;
}
.sentence {
  font-size: 1.1em;
}

.answer-wrapper {
  padding: 8px 2%;
}
.question-bottom {
  padding: 0 1% 8px;
}
.four-items-item {
  font-size: .9em;
  padding: 8px 2%;
}
.quiztype-input {
  width: 100%;
}
.quiztype-input-input {
  width: 100%;
}
.quiztype-input-input input {
  font-size: 1.2em;
  height: 32px;
}
.quiztype-input-submit {
  font-size: 1.2em;
  line-height: 1.7;
  height: 32px;
}

.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 {
  padding: 12px 0 4px;
}
.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 24px;
}

.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;
}
#main {
  margin: 0 auto;
}
.main-wrapper {
  margin: 0 auto;
}

.answer-text-iframe {
  padding-top:70%;
}

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


@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;
	}
}

/* Quizine show: 4問ごとのインライン広告（問題と採点UIの外側） */
.quiz-between-ad {
  box-sizing: border-box;
  width: calc(100% - 4%);
  max-width: 970px;
  margin: 8px auto 52px;
  padding: 12px clamp(12px, 2vw, 22px) 18px;
  border: 1px solid #e4e8ed;
  border-radius: 12px;
  background: #f7f8fa;
  overflow: hidden;
  text-align: center;
}
.quiz-between-ad-label {
  margin-bottom: 10px;
  color: #78818d;
  font-size: 11px;
  letter-spacing: .08em;
}
.quiz-between-ad .adsbygoogle { min-width: 0; max-width: 100%; }

/* 共有モーダル / 成績共有ボタン共通 */
.quiz-share-modal-open { overflow: hidden; }
.mqar-share-btn.quiz-share-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  gap: 2px;
  border: 1px solid #d7dee5;
  border-radius: 9px;
  background: #fff;
  color: #233144;
  padding: 7px 13px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.mqar-share-btn.quiz-share-trigger:hover { background: #f1f5f9; }
.share { padding: 16px; box-sizing: border-box; background: rgba(13,23,37,.68); }
.share-wrapper {
  width: 100%;
  max-width: 570px;
  max-height: min(86vh, 700px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: clamp(20px, 4vw, 30px);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.23);
}
.quiz-share-header { display:flex; align-items:flex-start; justify-content:space-between; gap: 16px; margin-bottom:20px; }
.quiz-share-title { font-size: 21px; font-weight:800; color:#172536; margin:0 0 5px; }
.quiz-share-description { color:#6d7784; font-size:13px; margin:0; }
.share-close {
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content:center;
  width:38px;
  height:38px;
  margin: 0;
  padding: 0;
  border:1px solid #e4e8ed;
  border-radius: 50%;
  background:#f5f7f9;
  font-size:25px;
  line-height:1;
}
.quiz-share-grid, .result-quiz-share {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:0;
  padding:0;
}
.result-quiz-share { max-width:660px; margin:20px auto 0; }
.quiz-share-action {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:11px;
  min-width:0;
  min-height:49px;
  box-sizing:border-box;
  padding:8px 13px;
  border:1px solid #e1e6eb;
  border-radius:10px;
  background:#fff;
  color:#263344;
  font-family:inherit;
  font-size:14px;
  font-weight:700;
  line-height:1.4;
  text-decoration:none;
  cursor:pointer;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
.quiz-share-action:hover { background:#f3f6fa; border-color:#bbc9d8; text-decoration:none; transform:translateY(-1px); }
.quiz-share-action:focus-visible, .share-close:focus-visible, .quiz-share-trigger:focus-visible { outline:3px solid #1c73be; outline-offset:2px; }
.quiz-share-action-mark {
  display:inline-flex;
  flex-shrink:0;
  align-items:center;
  justify-content:center;
  width:31px;
  height:31px;
  border-radius:8px;
  color:#fff;
  background:#405063;
  font-size:16px;
  font-weight:800;
}
.quiz-share-action--x .quiz-share-action-mark { background:#111; }
.quiz-share-action--line .quiz-share-action-mark { background:#06c755; font-size:10px; }
.quiz-share-action--bluesky .quiz-share-action-mark { background:#1285fe; }
.quiz-share-action--threads .quiz-share-action-mark { background:#252525; }
.quiz-share-action--facebook .quiz-share-action-mark { background:#1877f2; font-family:Arial,sans-serif; font-size:22px; }
.quiz-share-action--copy .quiz-share-action-mark { background:#607285; }
.quiz-share-action--native .quiz-share-action-mark { background:#6278a5; }
.quiz-share-feedback { margin:12px 0 0; color:#485c73; font-size:13px; min-height:1.2em; }
.result-quiz-share > .quiz-share-feedback { grid-column:1/-1; text-align:center; }
@media screen and (max-width:990px) {
  .quiz-between-ad { width:calc(100% - 24px); margin:6px auto 36px; }
}
@media screen and (max-width:480px) {
  .quiz-between-ad { width:calc(100% - 20px); padding:10px 8px 14px; border-radius:8px; }
  .quiz-share-grid, .result-quiz-share { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .quiz-share-action { padding:8px; font-size:12px; gap:7px; }
  .quiz-share-action-mark { width:26px; height:26px; font-size:14px; }
  .quiz-share-action--line .quiz-share-action-mark { font-size:8px; }
  .share-wrapper { border-radius:14px; }
}
@media (prefers-reduced-motion:reduce) {
  .quiz-share-action { transition:none; }
  .quiz-share-action:hover { transform:none; }
}
