.chart {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

@media only screen and (max-width: 768px) {
  .chart {
    display: block;
  }
}

.chart__content {
  width: calc(50% - 20px);
  margin-top: 40px;
}

@media only screen and (max-width: 768px) {
  .chart__content {
    width: auto;
  }
}

.chart__tab {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.chart__tab > li {
  width: calc(33.333% - 20px);
}

@media only screen and (max-width: 960px) {
  .chart__tab > li {
    width: calc(33.333% - 10px);
  }
}

.chart__tab > li > button {
  display: block;
  position: relative;
  width: 100%;
  padding: 20px 10px 20px 40px;
  font-size: 2rem;
  transition: opacity .2s;
}

@media only screen and (max-width: 960px) {
  .chart__tab > li > button {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 1.8rem;
  }
}

@media only screen and (max-width: 768px) {
  .chart__tab > li > button {
    font-size: 1.4rem;
  }
}

.chart__tab > li > button:hover {
  opacity: .6;
}

.chart__tab > li > button.active {
  background-color: #f2f2f2;
  box-shadow: none;
  cursor: default;
}

.chart__tab > li > button.active:hover {
  opacity: 1;
}

.chart__tab > li > button img {
  position: absolute;
  top: 0;
  left: 10px;
  bottom: 0;
  width: 30px;
  height: 30px;
  margin: auto 0;
}

@media only screen and (max-width: 768px) {
  .chart__tab > li > button img {
    width: 24px;
    height: 24px;
  }
}

.chart__chart img {
  width: 100%;
}

.chart-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

@media only screen and (max-width: 768px) {
  .chart-bottom {
    display: block;
  }
}

.chart-bottom__note {
  margin: 0;
  padding-right: 20px;
  color: #434343;
  font-size: 1.6rem;
}

@media only screen and (max-width: 768px) {
  .chart-bottom__note {
    font-size: 1.4rem;
  }
}

.chart-bottom__note .up {
  color: #f00;
}

.chart-bottom__note .down {
  color: #001dff;
}

@media only screen and (max-width: 768px) {
  .chart-bottom__btn {
    margin-top: 15px;
    text-align: center;
  }
}

.chart-bottom__btn .btn {
  position: relative;
  width: 340px;
}

@media only screen and (max-width: 960px) {
  .chart-bottom__btn .btn {
    width: 320px;
  }
}

.chart-bottom__btn .btn svg {
  position: absolute;
  top: 0;
  right: 15px;
  bottom: 0;
  width: 8px;
  height: 14px;
  margin: auto 0;
}
