.pc_view {
  display: none !important;
}
* {
  box-sizing: border-box;
}

body {
  width: 100%;
  /* font-family: "Noto Sans JP", sans-serif; */
  font-family: "Noto Sans", "M PLUS Rounded 1c", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
  background: #fff5e0;
  overflow-x: hidden;
}
button {
  border: none;
  background: none;
  padding: 0 10px;
}
img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
a {
  color: #002d49;
  text-decoration: none;
}
header {
  width: 94%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 0;
}
header div.logo {
  width: 75%;
  max-width: 300px;
}
header div.user {
  border-radius: 15px;
  background: #fff;
  padding: 5px;
  margin: 10px 0;
}

main {
  width: 94%;
  max-width: 1080px;
  margin: 0 auto 30px;
}
main div.mainMenu div.btn {
  text-align: center;
  margin: 0 0 15px;
}
main div.mainMenu div.btn a {
  display: block;
  padding: 10px;
  /* border: solid 1px #5c2013; */
  background: #d95b10;
  color: #fff;
  border-radius: 8px;
  font-size: 1.2em;
}

main div#quiz-box {
  padding: 15px 15px;
  border: solid 1px #5c2013;
  margin: 0 0 30px;
  border-radius: 12px;
  background: #fff;
  color: #5c2013;
  font-size: 1.3em;
}
main div#quiz-box span#quiz-word {
  font-size: 1.3rem;
}
main div#quiz-box h3 {
  background: #bc867a;
  color: #fff;
  margin: 0 0 10px;
  padding: 0px 5px 1px;
  border-radius: 5px;
}
main div#quiz-box span.lang {
  background: #bc867a;
  color: #fff;
  font-size: 0.8em;
  display: inline-block;
  padding: 0px 5px 1px;
  margin: 0 5px 0 0;
  border-radius: 5px;
}

main div#quiz-box color,
.subBox color {
  color: #d95b10;
}
main div#quiz-box color:hover,
.subBox color:hover {
  cursor: pointer;
}
main div#quiz-box line,
.subBox line {
  border-bottom: solid 2px #d95b10;
}
main div#quiz-box div.subBox {
  font-size: 0.9em;
  margin: 10px 0 0;
  padding: 5px;
  border-radius: 5px;
  background: #f1f1f1;
}
main div#quiz-box div.subBox:first-child {
  border-top: dashed 1px #5c2013;
}
button#submit {
  background: #5c2013;
  border-radius: 12px;
  display: block;
  width: 100%;
  padding: 12px 20px;
  color: #fff;
  text-align: center;
  font-size: 1.1rem;
}
select#categorySelect,
select#categorySelect::picker(select) {
  appearance: base-select;
  width: 100%;
  max-width: 1080px;
  padding: 5px;
  border-radius: 5px;
  margin: 0 0 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
select#categorySelect option {
  white-space: normal;
}
@supports (-webkit-touch-callout: none) {
  select#categorySelect {
    font-size: 1.1em;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 5px;
    border-radius: 5px;
    border: solid 1px #666;
    margin: 0 0 15px;
    background-image: linear-gradient(45deg, transparent 50%, #333 50%), linear-gradient(135deg, #333 50%, transparent 50%);
    background-position: right 15px top 50%, right 10px top 50%;
    background-size: 8px 6px, 8px 6px;
    background-repeat: no-repeat;
  }
}
div.categoryName {
  margin: 10px 0 0;
  font-size: 0.7em;
  padding: 3px 5px;
  border-radius: 5px;
  background: #f1f1f1;
}
button#showFormBtn {
  font-size: 1.2rem;
  display: block;
}
button#showVoiceBtn {
  font-size: 1.2rem;
  display: block;
}
/****************************/
.answer-label {
  display: block;
  padding: 12px 20px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
  background-color: #fff;
}

.answer-label.selected {
  background-color: #4caf50;
  color: #fff;
}
.answer-label:hover {
  border-color: #888;
}
.answer-label input[type="radio"] {
  display: none;
}

/***********************/
div.answerImg {
  width: 25%;
  max-width: 150px;
  margin: 0 auto 30px;
}
div.answerImg p {
  text-align: center;
  font-size: 1.2rem;
}
/**クイズに戻る************************/
main div.back {
  text-align: center;
  margin: 15px 0;
}
main div.back a {
  display: block;
  padding: 10px;
  /* border: solid 1px #5c2013; */
  background: #d95b10;
  color: #fff;
  border-radius: 8px;
  font-size: 1.2em;
}
/**insert*********************/
main#insert h2 {
  background: #bc867a;
  font-size: 1.2em;
  padding: 5px;
  color: #fff;
  margin: 0 0 1px;
}
div.title.same_mean {
  background: url(../img/icon_same_mean.svg) no-repeat;
  background-size: 20px 20px;
  background-position: left 3px;
  padding: 0 0 0 24px;
}
div.title.sub_expr {
  background: url(../img/icon_sub_expr.svg) no-repeat;
  background-size: 20px 20px;
  background-position: left 3px;
  padding: 0 0 0 24px;
}
div.title.syn_word {
  background: url(../img/icon_syn_word.svg) no-repeat;
  background-size: 20px 20px;
  background-position: left 3px;
  padding: 0 0 0 24px;
}
div.title.explanation {
  background: url(../img/icon_explanation.svg) no-repeat;
  background-size: 20px 20px;
  background-position: left 3px;
  padding: 0 0 0 24px;
}
div.title.sub_mean {
  background: url(../img/icon_sub_mean.svg) no-repeat;
  background-size: 20px 20px;
  background-position: left 3px;
  padding: 0 0 0 24px;
}
div.title.response {
  background: url(../img/icon_response.svg) no-repeat;
  background-size: 20px 20px;
  background-position: left 3px;
  padding: 0 0 0 24px;
}
main#insert div.wbox {
  margin: 0 0 30px;
}
main#insert div.wbox input[type="text"],
main#insert div.wbox textarea {
  width: 100%;
  padding: 8px;
  border: solid 1px #bbb;
}
main#insert button#submit-btn {
  background: #5c2013;
  border-radius: 12px;
  display: block;
  width: 100%;
  padding: 12px 20px;
  color: #fff;
  text-align: center;
  font-size: 1.1rem;
}
/**totalling*********************/
main#totallig h3 {
  background: #bc867a;
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  margin: 0 0 10px;
}
main#totallig #progressChart {
  width: 80%;
  max-width: 320px;
  margin: 0 auto;
}
ul.wrong li {
  padding: 3px;
  border-bottom: dashed 1px #666;
}
/************************/
#recBtn {
  font-size: 20px;
  padding: 12px 20px;
  border-radius: 10px;
  background: #ff4d4d;
  color: #fff;
  border: none;
  width: 100%;
  margin-bottom: 15px;
}
#stopBtn {
  font-size: 20px;
  padding: 12px 20px;
  border-radius: 10px;
  background: #ff4d4d;
  color: #fff;
  border: none;
  width: 100%;
  margin-bottom: 15px;
}

#recognizedText {
  width: 100%;
  font-size: 18px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}
#playback {
  display: none;
}
