/* watch_graph2 */

#price-history .container {
  padding: 0 4cqw;
}

.kataban_souba_list_area p {
  text-align: center;
}

.wd_tokei_chart_superbox {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  /* max-width: 864px ; */
  /* max-width: calc(100% - (4vw * 2)); */
  max-width: 100%;
  aspect-ratio: 2 / 1;
  margin: 40px auto 0px;
  padding: 20px 20px;
  background-color: #f2f2f2;
  border-radius: 12px;
  margin: 1rem auto 0 auto;
}

.wd_tokei_chart_superbox p {
  padding: 0.5em 0 0 0;
  font-size: clamp(0.6em, 0.8vw, 0.9em);
}

table.kataban_souba_table {
  width: 100%;
  margin: 2rem auto;
}

table.kataban_souba_table th,
table.kataban_souba_table td {
  border: 1px solid #ccc;
  text-align: center;
  line-height: 1;
  padding: 1em 0;
}

.kataban_souba_table th {
  background: #f2f2f2;
}

.graphMeta {
  margin: 0 0 1rem 0;
  width: fit-content;
  padding: 0.5em 1em;
  background: #fff;
  border-radius: 10px;
}

.graphMeta li {
  line-height: 1;
  font-size: min(3vw, 16px);
  font-weight: 500;
  padding: 0.25em 1em;
}

.toggleTitle {
  background: #e70012;
  border-radius: 5em;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.toggleTitle.graphOpen {
  border-radius: 24px 24px 0 0;
}

.toggleTitle::after {
  content: "";
  display: block;
  margin: 0 1.1rem;
  width: min(7vw, 1.5em);
  height: min(7vw, 1.5em);
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 50%;
  background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="%23fff" d="M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"/></svg>');
}

.toggleTitle .toggleText {
  color: #fff;
  text-align: center;
  line-height: 1;
  padding: 1em 0 1em 3rem;
  font-size: min(4vw, 24px);
  font-weight: 700;
  flex-grow: 1;
}

.toggleTitle.graphOpen::after {
  background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path fill="%23fff" d="M200-440v-80h560v80H200Z"/></svg>');
}

.toggleContent {
  border-radius: 0 0 12px 12px;
}

.toggleContent > p {
  font-size: min(2.5vw, 16px);
}

@media (max-width: 767px) {
  .wd_tokei_chart_superbox {
    position: relative;
    width: 100%;
    height: 300px;
  }
}
