#main_content .yn-chart {
  margin: 0 auto 2rem;
  padding: 2em;
  max-width: 600px;
  background: #fff8e3;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.07);
  font-size: 0.9rem;
}
#main_content .yn-chart img {
  display: block;
  width: 90%;
  height: auto;
  margin: 0 auto;
}
#main_content .yn-chart__add {
  background: #fdc44f;
  color: #fff;
  padding: 0.2em 0.9em !important;
  margin: 0 !important;
  text-align: center;
  display: inline-block;
  line-height: 1.5 !important;
}
#main_content .yn-chart__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 0.5em 0 0.3em !important;
  margin: 0 auto !important;
  font-size: 1.35em !important;
  font-weight: 600 !important;
  color: #fdc44f;
  letter-spacing: 1px !important;
  line-height: 1.5 !important;
}
#main_content .yn-chart__title:before,
#main_content .yn-chart__title:after {
  content: '';
  flex: 1;
  height: 1px;
  background: #fdc44f;
  display: block;
}
#main_content .yn-chart__title:before {
  margin-right: 0.7em;
}
#main_content .yn-chart__title:after {
  margin-left: 0.7em;
}
#main_content .yn-chart__ex {
  text-align: center;
  margin: 0 !important;
  padding: 0 !important;
}
#main_content .yn-chart > div {
  display: none;
  padding-top: 100px;
  margin-top: -100px;
}
#main_content .yn-chart > div#main_content .yn-chart__display {
  display: block;
}
#main_content .yn-chart > div > figure {
  margin: 1em 0 2em;
}
#main_content .yn-chart > div > figure img {
  display: block;
}
#main_content .yn-chart > div > p {
  margin: 2em 0 0 !important;
  padding: 0.8em 1em 0.8em 4.3em !important;
  background: #fff;
  position: relative;
}
#main_content .yn-chart > div > p:before {
  content: 'Q';
  background: #fdc44f;
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1em;
  min-width: 48px;
}
#main_content .yn-chart > div ul {
  margin: 2em 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border: none;
}
#main_content .yn-chart > div ul li {
  margin: 0 0 1em 1em !important;
  padding: 0 !important;
}
#main_content .yn-chart > div ul li:last-child {
  margin: 0 0 0 1em !important;
}
#main_content .yn-chart > div ul li a {
  background: #fff;
  display: block;
  padding: 0.8em !important;
  text-decoration: none;
  color: #333;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.07);
}
#main_content .yn-chart > div ul li a:hover {
  box-shadow:
    inset 2px 2px 0 0 #ee8f81,
    2px 2px 0 0 #ee8f81,
    2px 0 0 0 #ee8f81,
    0 2px 0 0 #ee8f81;
  transition: 0.1s ease-in-out;
  opacity: 1;
}
#main_content .yn-chart > div ul li:before {
  content: unset !important;
}
#main_content .yn-chart__result {
  background: #fff;
  padding: 1em;
}
#main_content .yn-chart__result table {
  width: 100%;
  margin: 0 auto;
  border: 0;
}
#main_content .yn-chart__result th {
  text-align: center;
  background: #fbc55e;
}
#main_content .yn-chart__result th:nth-child(odd),
#main_content .yn-chart__result td:nth-child(odd) {
  width: 50%;
  text-align: center;
}
#main_content .yn-chart__result th:nth-child(even),
#main_content .yn-chart__result td:nth-child(even) {
  width: 50%;
  text-align: center;
}
#main_content .yn-chart__result-title {
  color: #fdc44f;
  font-size: 1.1em !important;
  font-weight: 600 !important;
  padding: 0 !important;
  margin: 0 0 1em !important;
  border-bottom: 1px dashed #fdc44f;
}
@media screen and (max-width: 560px) {
  #main_content .yn-chart {
    padding: 1.8em 1.3em;
  }
  #main_content .yn-chart > div > figure {
    margin: 0.5em 0;
  }
  #main_content .yn-chart > div > p {
    margin: 1em 0 0 !important;
    padding: 0.8em 1em 0.8em 3.3em !important;
  }
  #main_content .yn-chart > div ul {
    margin: 1em 0 0 !important;
  }
  #main_content .yn-chart__title {
    font-size: 1em !important;
  }
  #main_content .yn-chart__title:before {
    margin-right: 0.3em;
  }
  #main_content .yn-chart__title:after {
    margin-left: 0.3em;
  }
  #main_content .yn-chart__ex,
  #main_content .yn-chart__add {
    font-size: 0.9em !important;
  }
  #main_content .yn-chart > div > p:before {
    min-width: 30px;
  }
}
#main_content .p-tw-btn,
#main_content .p-check-btn {
  text-align: center;
  margin: 1.5em 5em !important;
  padding: 0 !important;
}
#main_content .p-tw-btn a,
#main_content .p-check-btn a {
  display: block;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
  color: #fff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 0.5em 0;
  border-radius: 30px;
}
#main_content .p-tw-btn a {
  background: #00acee;
}
#main_content .p-check-btn a {
  background: #fbc55e;
}
#main_content .p-check-btn.link-btn a {
  background: #f74a4a;
}
#main_content .p-tw-btn a:hover,
#main_content .p-check-btn a:hover {
  transform: translateY(3px);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.22);
}
#main_content .yn-chart > div > p.p-check-btn {
  background: none !important;
  padding: 0 5em !important;
}
#main_content .yn-chart > div > p.p-check-btn:before {
  content: unset !important;
}
@media screen and (max-width: 800px) {
  #main_content .p-tw-btn,
  #main_content .p-check-btn {
    margin: 1.5em 3em !important;
  }
}
@media screen and (max-width: 560px) {
  #main_content .p-tw-btn,
  #main_content .p-check-btn {
    margin: 1.5em 1em !important;
  }
  #main_content .yn-chart > div > p.p-check-btn {
    padding: 0 3em !important;
  }
}
