:root {
  --black: 51,51,51;
  --red: 238,0,59;
  --dark_red: 207,28,85;
  --main: 233,83,131;
  --accent: 227,55,129;
  --note: 102,102,102;
  --bg: 243,243,243;
  --gray: 153,153,153;
  --dark_gray: 167,167,167;
  --border: 210,211,212;
  --light_pink: 252,229,237;
  --beige: 248,244,241;
  --green: 92,198,172;
  --blue: 16,120,237;
  --purple: 189,104,200;
  --light_purple: 242,228,243;
  --contents_width: 1100px;
  --body_padding_side: 60px;
  --contents_width_with_padding: 1160px;
  --sidebar_width: 250px;
  --hover_opacity: .7;
}

/* .fadeInLeft
================================================ */
@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-50%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-50%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
/* chart-diagnosis
================================================ */
.chart-diagnosis__head {
  font-size: 2.4rem;
  text-shadow: 2px 2px 0 #FFF, -2px -2px 0 #FFF, -2px 2px 0 #FFF, 2px -2px 0 #FFF, 0px 2px 0 #FFF, -2px 0 #FFF, -2px 0 0 #FFF, 2px 0 0 #FFF;
  line-height: 1.4;
}
@media all and (min-width: 768px) {
  .chart-diagnosis__head {
    font-size: 3.6rem;
  }
}

/* .chart-question__wrap
================================================ */
.chart-question__wrap {
  background: #FFEBEA;
  padding: 30px 0;
}
@media all and (min-width: 768px) {
  .chart-question__wrap {
    padding: 50px 0;
  }
}

/* chart-diagnosis__num
================================================ */
.chart-diagnosis__num {
  display: flex;
  justify-content: center;
  align-items: center;
}
.chart-diagnosis__num-item {
  color: #FCD0CF;
  font-size: 1.8rem;
  position: relative;
}
.chart-diagnosis__num-item::before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.chart-diagnosis__num-item p {
  position: relative;
  z-index: 2;
}
.chart-diagnosis__num-item:not(:last-child) {
  margin-right: 60px;
}
.chart-diagnosis__num-item:not(:last-child)::after {
  content: "";
  background: #fff;
  display: block;
  width: 10px;
  height: 10px;
  position: absolute;
  right: -35px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}
.chart-diagnosis__num-item.is-active {
  color: #fff;
}
.chart-diagnosis__num-item.is-active::before {
  background: #FCD0CF;
}
@media all and (min-width: 768px) {
  .chart-diagnosis__num-item {
    font-size: 3rem;
  }
}

/* .chart-select__head
================================================ */
.chart-select__head {
  background: #E73B83;
  border-radius: 30px;
  color: #fff;
  font-size: 2rem;
  line-height: 1.1;
  padding: 13px 10px;
}
@media all and (min-width: 768px) {
  .chart-select__head {
    font-size: 2.6rem;
    width: 600px;
    margin: auto;
    padding: 15px 0;
  }
}

/* .chart-select__list
================================================ */
.chart-select__list {
  margin-left: auto;
  margin-right: auto;
}
.chart-select__list-item {
  width: 100%;
}
.chart-select__list-item:nth-child(n+2) {
  margin-top: 12px;
}
.chart-select__list-item a {
  display: block;
  border: 1px solid rgb(var(--main));
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.8rem;
  background: #fff;
  padding: 21px 25px;
  text-align: left;
  position: relative;
  line-height: 1.1;
}
.chart-select__list-item a::before {
  content: "";
  display: block;
  position: absolute;
  width: 8px;
  height: 8px;
  top: 50%;
  right: 11px;
  border-top: solid 3px rgb(var(--main));
  border-right: solid 3px rgb(var(--main));
  transform: translateY(-50%) rotate(45deg);
}
@media all and (min-width: 768px) {
  .chart-select__list {
    width: 550px;
  }
  .chart-select__list-item a {
    padding: 19px 20px;
  }
}

/* chart
================================================ */
.js-onayami_chart-item.is-show {
  position: relative;
  display: block;
  -webkit-animation: fadeInLeft 0.5s;
  animation: fadeInLeft 0.5s;
}

.js-onayami_chart-item:not(.is-show) {
  display: none;
}

/* .chart-result__head
================================================ */
.chart-result__head {
  margin-left: auto;
  margin-right: auto;
}
@media all and (max-width: 767px) {
  .chart-result__head {
    max-width: calc(100% - 30px);
  }
}
@media all and (min-width: 768px) {
  .chart-result__head {
    width: 550px;
  }
}

/* .chart-result__detail
================================================ */
.chart-result__detail {
  background: #fff;
}

/* .chart-result__menu
================================================ */
.chart-result__menu {
  font-size: 2rem;
  line-height: 1.6;
}
@media all and (min-width: 768px) {
  .chart-result__menu {
    font-size: 2.4rem;
  }
}

/* .chart-result__main
================================================ */
.chart-result__main.is-movie {
  position: relative;
  padding-bottom: 56.3%;
  height: 0;
  overflow: hidden;
}
.chart-result__main.is-movie iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* .chart-result__links
================================================ */
.chart-result__links {
  max-width: calc(100% - 30px);
  margin-left: auto;
  margin-right: auto;
}
.chart-result__links-item:nth-child(n+2) {
  margin-top: 10px;
}
.chart-result__links-item a {
  position: relative;
  display: block;
  padding: 10px 70px 10px 15px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  background: #fff;
  border: 3px solid #8456ae;
  color: #8456ae;
}
.chart-result__links-item a::before {
  position: absolute;
  display: block;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7.5px 0 7.5px 9px;
  border-color: transparent transparent transparent #fff;
  margin: auto;
  top: 0;
  bottom: 0;
  right: 31px;
  z-index: 2;
}
.chart-result__links-item a::after {
  position: absolute;
  display: block;
  content: "";
  background: #8456ae;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin: auto;
  top: 0;
  bottom: 0;
  right: 22px;
}
.chart-result__links-item.is-rsv a {
  background: #8456ae;
  color: #fff;
}
.chart-result__links-item.is-rsv a::before {
  border-color: transparent transparent transparent #8456ae;
}
.chart-result__links-item.is-rsv a::after {
  background: #fff;
}
@media all and (min-width: 768px) {
  .chart-result__links {
    max-width: 500px;
  }
  .chart-result__links-item a {
    font-size: 22px;
  }
}

/* .result-img
================================================ */
@media all and (max-width: 767px) {
  .result-img img {
    max-width: calc(100% - 30px);
  }
}

/* .chart-result__return
================================================ */
.chart-result__return {
  width: 160px;
  margin-left: auto;
  margin-right: auto;
}
@media all and (min-width: 768px) {
  .chart-result__return {
    width: 210px;
  }
}