.box-image {
  width: 8%;
}
.box-image .ic-lesson {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #956ede;
}
.utterance-content {
  width: 100%;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 10px 15px;
  margin-bottom: 10px;
  position: relative;
}
.box-quiz {
  margin-bottom: 30px;
}
.box-answer {
  cursor: pointer;
}
.box-explain {
  margin-bottom: 25px;
  background-color: #dbcdf4;
  padding: 0 10px 15px;
  border-radius: 10px;
  white-space: pre-line;
  display: none;
}
.box-key {
  background-color: #7550b9;
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  text-align: center;
  margin-right: 5px;
  font-size: 14px;
}
.content-quiz,
.box-answer,
.bonus-pharse,
.content-pharse {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 10px 15px;
  margin: 15px 0;
  position: relative;
}
#key_phrase {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}
#key_phrase div {
  padding: 10px;
}
.title-part {
  background-color: #7550b9;
  color: #ffffff;
}
.detail-pharse {
  white-space: break-spaces;
}
.content-quiz .content {
  justify-content: space-between;
}
.content-quiz .title {
  white-space: pre-wrap;
}
.content-quiz .title-1 {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 10px;
  padding-bottom: 10px;
}
.content-quiz img {
  max-width: 170px;
  margin: unset;
}
.type-2 {
  background-color: #dbcdf4 !important;
}
.hidden-answer {
  display: none;
}
.correct-answer {
  background-color: #2f8963 !important;
  color: #ffffff;
}
.error-answer {
  background-color: #fff1f0;
  color: #c20e16;
}
#culture .banner {
  overflow-x: scroll;
}
#culture .banner-item {
  width: 250px;
}
#culture .thumbnail {
  height: 140px;
  align-items: center;
  display: flex;
}
.ic-culture {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #956edf;
  margin: unset;
  margin-right: 10px;
}
.culture-item {
  background-color: #dbcdf4;
  border-radius: 6px;
  padding: 8px;
  margin-right: 10px;
}
.culture-item .desc {
  height: 50px;
}
.label {
  position: relative;
  margin-bottom: 15px;
  margin-top: 15px;
}
.label .text {
  color: #956edf;
}
.label .romaji {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
}
.romaji input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  top: 2px;
  left: -30px;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 1px solid #8c8c8c;
}
.romaji input:checked ~ .checkmark {
  background-color: #593a92;
}
.checkmark:after {
  content: "✓";
  position: absolute;
  display: none;
}
.romaji input:checked ~ .checkmark:after {
  display: block;
}
.romaji .checkmark:after {
  left: 4px;
  top: 0px;
  font-size: 12px;
  color: #fff;
}
.box-grammar {
  background-color: #f5f5f5;
  border-radius: 10px;
  margin: 15px 0;
  overflow: hidden;
}
.box-grammar.w-50:first-child {
  margin-right: 20px;
}
.title-grammar {
  background-color: #dbcdf4;
  padding: 10px 15px;
}
.content-grammar {
  padding: 10px 15px;
  background-color: #ffffff;
}
.grammar-example hr {
  margin-top: 5px;
  margin-bottom: 5px;
}
.lesson-body {
  font-size: 1.2em;
  line-height: 2.5;
  letter-spacing: 0.025em;
  width: 100%;
}
.lesson-body img {
  display: block;
  margin-bottom: 10px;
  margin-top: 10px;
}
.box-extend {
  margin-bottom: 8px;
  border-radius: 10px;
  overflow: hidden;
  align-items: stretch;
}
.box-extend .mean {
  background-color: #7550b9;
  color: #ffffff;
  width: 30%;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.box-extend .text {
  width: 70%;
  background-color: #ffffff;
  padding: 10px;
  position: relative;
}
.box-related {
  margin-top: 15px;
  padding: unset;
}
.box-related .banner-item {
  width: 100% !important;
  padding: unset;
}
.box-related .lesson-item {
  display: flex;
  margin-bottom: 10px;
}
.box-related .thumbnail,
.box-related .item-content {
  width: 50%;
  max-height: 150px;
}
.box-related .item-content {
  padding: 5px;
}
.topic {
  align-items: center;
  margin-bottom: 12px;
}
.speaker {
  position: absolute;
  right: 7px;
  top: 7px;
  z-index: 1;
  cursor: pointer;
}
.menu-top {
  border-bottom: 1px solid #d9d9d9;
}
.item-menu {
  padding: 12px 0;
  cursor: pointer;
  display: block;
}
.menu-child:hover {
  background-color: #7550b9;
  color: #ffffff;
  padding-left: 10px;
  border-radius: 8px;
}
.item-menu:first-child {
  padding: 0 0 12px 0;
  margin-bottom: 10px;
}
.box-button {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.box-button .left,
.box-button .right {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 5px 15px;
  border-radius: 18px;
  font-size: 13px;
  margin-right: 15px;
  min-width: 130px;
  justify-content: center;
  cursor: pointer;
}
.box-button img {
  width: 25px;
}
.box-button .left img {
  margin: 0 10px 0 0;
}
.box-button .right img {
  margin: 0 0 0 10px;
}
.phrase-tag {
  margin: unset;
}
.hide-furigana {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 15px;
}

.fuji {
  margin-right: 10px;
  font-size: 16px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  appearance: none;
  background-color: #ccc;
  border-radius: 20px;
  transition: 0.4s;
  cursor: pointer;
  vertical-align: middle;
}

.switch:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

.switch:checked {
  background-color: #50006c;
}

.switch:checked:before {
  transform: translateX(22px);
}
@media (max-width: 768px) {
  .box-image {
    width: 20%;
  }
}
