/* Fonts */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400);

@import url('https://fonts.googleapis.com/css?family=Lato:400,700|Montserrat:900');

/* fontawesome */
@import url(https://weloveiconfonts.com/api/?family=fontawesome);
[class*="fontawesome-"]:before {
  font-family: 'FontAwesome', sans-serif;
}

/* Simple Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body */
body {
  background: #ffffff;
  color: #5e5e5e;
  font: 400 87.5%/1.5em 'Open Sans', sans-serif;
  /*margin: 10px;*/
}

/* Form Layout */
.page-content {
  margin: 0px auto;
  text-align: center;
  width: 960px;
  }

.login-wrapper {
  background: #fafafa;
  margin: 3em auto;
  padding: 0 1em;
}

h1 {
  text-align: center;
  padding: 1em 0;
}

form {
  padding: 0 1.5em;
}

.form-item {
  margin-bottom: 0.75em;
  width: 100%;
}

.form-item input {
  background: #fafafa;
  border: none;
  border-bottom: 2px solid #e9e9e9;
  color: #666;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  height: 50px;
  transition: border-color 0.3s;
  width: 100%;
}

.form-item input:focus {
  border-bottom: 2px solid #c0c0c0;
  outline: none;
}

.logout-panel {
  width: auto;
  text-align: right;
}

.logout-panel .button{
  background: #f16272;
  border: none;
  color: #fff;
  cursor: pointer;
  height: 30px;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.3s ease-in-out;
  margin: 10px;
}

.button-panel {
  margin: 2em 0 2em;
  width: 100%;
}

.button-panel .button{
  background: #f16272;
  border: none;
  color: #fff;
  cursor: pointer;
  height: 50px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.3s ease-in-out;
  width: 100%;
  margin: 10px;
}

.button:hover {
  background: #ee3e52;
}

.form-footer {
  font-size: 1em;
  padding: 2em 0;
  text-align: center;
}

.form-footer a {
  color: #8c8c8c;
  text-decoration: none;
  transition: border-color 0.3s;
}

.form-footer a:hover {
  border-bottom: 1px dotted #8c8c8c;
}

#t1 {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}

th {
  padding:20px 3px;
}


.performance-list {
  /* border: 0px none; */
  
  border: #000;
}
.performance-list td {
    border-bottom: #000;
}
.controltable{
  border-collapse: collapse;
}
.controltable td{
  border: solid 1px black;
}
.questionspace{
  padding: 0 15px;
}
.controltable select{
  padding: 15px;
}

.logo {
  float: left;
	padding: 6px 0;
}

.logo a {
  display: block;
	width: 64px;
	height: 69px;
	font-size: 0;
	background: url(./images/MNWK_logo.png) left top/64px auto no-repeat;
}
.quizdeteils{
  margin: 0 auto;
}

.l_sidebar{
  width:300px;
  height:auto;
  float:left;
  margin:20px 0;
}

.aside_inner{
  height: 315px;
  overflow: auto;
}


.quiznamelist ul {
  width:auto;
  list-style-type: none;
 /* border-top: solid 1px #84b2e0; */
}
.quiznamelist li{
  list-style-type: none;
  padding:5px 10px;
  border-bottom: solid 1px #84b2e0;
}
.quiznamelist:hover {
  background: #e3f6f5;
}
.quiznamelist li:focus {
  background: #e3f6f5;
}
.quiznamelist #delete{
  float: left;
  padding:5px 10px;
  background: red;
  border-bottom: solid 1px #388adb;
}

/* #ctlquiz {
} */
#add{
  padding:5px 10px;
  width:300px;
  background: #46fcf3;
  border-bottom: solid 1px #388adb;
}
.notselected {
  padding:5px 10px;
  background: #e3f6f5;
  border-bottom: solid 1px #84b2e0;
}
.selected {
  padding:5px 10px;
  color: #ffffff;
  background: #1201ff;
  border-bottom: solid 1px #84b2e0;
}
.quizdeteil{
  float: left;
}

.quizdeteil p{
  margin: 15px;
  font-size: 20px;
}

.editform{
  width: 70%;
  margin:0 auto 3rem;
  max-width: 635px;
}

.quizform{
  width: 50%;
  margin: 0 auto;
}

.quizbuttonlist{
  width: 30%;
  display: inline-flex;
  flex-direction: column;
  align-items: start; /* ADD */
}

.quizbutton{
  background: #f16272;
  border: none;
  color: #fff;
  cursor: pointer;
  height: 40px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.3s ease-in-out;
  width: 100%;
  margin: 10px;
}
.updatebutton{
  background: #6699FF	;
  border: none;
  color: #fff;
  cursor: pointer;
  height: 40px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.3s ease-in-out;
  width: 100%;
  margin: 10px;
}

.aside_inner p{
  font-size: 18px;
}

.main-content {
  display: flex;
  margin: 0px auto;
  text-align: center;
  width: 960px;
}
.titlelist {
  overflow: auto;
}
.now {
  text-align: left;
}

.quiz-text {
  display: block;
  margin: 0px 15px;
}

.quiz-list {
  border: 0px none;
  margin-bottom: 5px;
}
.next {
  position: relative;
  right: 5%;
  top: 250px;
}
.quiz-next {
  width: 600px;
}

#listquizname0 {
  color: red;
}
#listquizname1 {
  color: black;
}
#listquizname2 {
  color:  black;
}
#listquizname3 {
  color:  black;
}
.quiz-preview ul{
  display: flex;
  width: 100%;
  flex-wrap:wrap;
}

.quiz-preview li{
  display: flex;
  width: 50%;
  padding: 2.4% 10px;
}
.quiz-next ul{
  display: flex;
  width: 100%;
  flex-wrap:wrap;
}

.quiz-next li{
  display: flex;
  width: 50%;
  padding: 2.4% 10px;
}
.partymode-quiz h2{
  height: 100%;
  width: 100%;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.preview {
  float: left;
}
.partymode-button-panel {
  display: flex;
}

.partymode-button-panel .button{
  background: #f16272;
  border: none;
  color: #fff;
  cursor: pointer;
  height: 50px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.3s ease-in-out;
  width: 20%;
  margin: auto;
}
/*---------partynewwin----------*/
.partymode-view{
  background-image: url(../images/question_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}
.container{
	display: block;	
	width: 100%;
	text-align: center;
  padding: 30px 0 0 0;
}
.container img{
	position: relative;
	width: 85%;
	margin-bottom: 1rem;
}

.prevsentence{
  text-align: center;
	width: 70%;
	top: 25%;
	left: 50%;
	transform: translate(-50%,-50%);
	position: absolute;
}
.timer {
  font-family: "Montserrat", sans-serif;
  position: absolute;
  top: 5px;
  right: 30px;
  font-size: 70px;
  padding-top: 65px;
  width: 150px;
  height: 150px;
  border: 3px solid black;
  border-radius: 5px;
  background: #f0a202;
  color: #183059;
}
.timer #timer{
  font-weight: bold;
  color: #000;
}
.prevsentence h2 {
  font-family: arial black;
  font-size: 2vmin;
  font-size: 3vmax;
  line-height: normal;
}
.prevsentence .question_p{
  font-family: 'Open Sans', sans-serif;
  font-size: 6rem;
  font-weight: 800;
}
.choice{
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  width: 90%;
  flex-wrap: wrap;
}
.choicea,
.choiceb,
.choicec,
.choiced{
  position: relative;
  width: 49.9%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.choicea_p{
  width: 430px;
  line-height: 1;
  color: #fff;
	font-family: 'Noto Sans JP', sans-serif;
	position: absolute;
	font-size: 2rem;
	font-weight: 900;
	vertical-align: middle;
	text-shadow:2px 2px 0 #85001c, -2px -2px 0 #85001c,
              -2px 2px 0 #85001c, 2px -2px 0 #85001c,
              0px 2px 0 #85001c,  0 -2px 0 #85001c,
              -2px 0 0 #85001c, 2px 0 0 #85001c;
}
.choiceb_p{
  width: 430px;
  line-height: 1;
  color: #fff;
	font-family: 'Noto Sans JP', sans-serif;
	position: absolute;
	font-size: 2rem;
	font-weight: 900;
	vertical-align: middle;
	text-shadow:2px 2px 0 #234496, -2px -2px 0 #234496,
              -2px 2px 0 #234496, 2px -2px 0 #234496,
              0px 2px 0 #234496,  0 -2px 0 #234496,
              -2px 0 0 #234496, 2px 0 0 #234496;
}
.choicec_p{
  width: 430px;
  line-height: 1;
  color: #fff;
	font-family: 'Noto Sans JP', sans-serif;
	position: absolute;
	font-size: 2rem;
	font-weight: 900;
	vertical-align: middle;
	text-shadow:2px 2px 0 #855700, -2px -2px 0 #855700,
              -2px 2px 0 #855700, 2px -2px 0 #855700,
              0px 2px 0 #855700,  0 -2px 0 #855700,
              -2px 0 0 #855700, 2px 0 0 #855700;
}
.choiced_p{
  width: 430px;
  line-height: 1;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  position: absolute;
  font-size: 2rem;
  font-weight: 900;
  vertical-align: middle;
  text-shadow:2px 2px 0 #004037, -2px -2px 0 #004037,
              -2px 2px 0 #004037, 2px -2px 0 #004037,
              0px 2px 0 #004037,  0 -2px 0 #004037,
              -2px 0 0 #004037, 2px 0 0 #004037;
}

/*----------//partynewwin-----------*/
.csv-download .button{
  background: #f16272;
  border: none;
  color: #fff;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: right;
  transition: background 0.3s ease-in-out;
}

.content-header {
  display: flex;
}

.content-header .back-button {
  background: #f16272;
  border: none;
  color: #fff;
  cursor: pointer;
  height: 40px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;transition: background 0.3s ease-in-out;
  width: 100px;
  margin: 10px;
}

.content-header h1{
  display: inline;
}
/*.prevsentence img{
  position: absolute;
  top: 0%;
  z-index: 2;
  float: left;
}*/

/* safari対応
button[type="submit"] {
 -webkit-appearance: none;
} */

/*-----クイズのタイトル表示-----*/
.first-view{
  width: 100%;
  height: 100vh;
  z-index: 999;
  background-image: url(../images/quiztitle.png);
  background-repeat: no-repeat;
  background-size: cover;
  /*position: relative;
  display: flex;
  align-items: center;*/
  text-align: center;
  padding: 15% 0;
}
.partymode-view{
  z-index: 2;
  display: none;
}
.first-view .title{
  width: 1000px;
  height: 200px;
  /*position: absolute;
    top: 35%;
    left: 25%;*/
  font-size: 6em;
  color: #000;
  text-align: center;
  font-weight: bold;
  line-height: 1em;
  line-height: initial;
  margin: 0 auto;
}
/* 20240510 追加*/
.solourl{
  width: 1000px;
  height: 200px;
  font-size: 1.6em;
  color: #000;
  text-align: center;
  font-weight: bold;
  line-height: 1em;
  line-height: initial;
  margin: 0 auto;
  padding: 4rem;
}

.title span{
  font-size: 2em;
}
.first-view .code{
  width: 1000px;
  height: auto;
  position: absolute;
  top: 55%;
  left: 25%;
  font-size: 5em;
  color: #000;
  text-align: center;
  font-weight: bold;
  line-height: 1em;
}
.changeansbtn{
  padding: 10px;
  background: #8978e4;
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
}
.qrspace{
  text-align: -webkit-center;
  text-align: center;
}
.qrspace img{
  display: inline !important;
}