/* =============== */
/* marketprice.vue */
/* =============== */
.graph-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    margin: 1rem auto 5rem;
    flex-basis: 100% !important;
}

.graph-wrap .graph {
    width: 50%;
    padding: 5px;
    box-sizing: border-box;
}

@media screen and (max-width: 700px) {
    .graph-wrap {
        flex-direction: column;
    }
    .graph-wrap .graph {
        width: 100%;
        padding: 5px;
        box-sizing: border-box;
    }
}
/* ======================== */
/* GraphForMarketPrice.vue */
/* ======================== */
.wrap {
    max-width: 960px;
    margin: 0 auto;
}
.wrap .chart_title h2 {
    font-size: clamp(1.35rem, 1.484vw, 1.9rem);
    margin: 16px 8px 8px 32px;
}
.wrap > section {
    height: 100%;
    position: relative;
    box-sizing: border-box;
    color: rgb(100, 100, 100);
}

.wrap > section {
    border: solid 1px #ccc;
    padding: 0;
}
.wrap > section > aside {
    text-align: end;
    padding: 0 5px 5px 0;
    font-size: clamp(1.2rem, 1.484vw, 1.4rem);
}
.wrap > aside {
    max-width: 960px;
    text-align: right;
    margin: 0 auto;
}
.wrap aside::after {
    display: inline-block;
    width: 6px;
    position: relative;
    height: 6px;
    transform: rotate(45deg);
    content: "";
    margin-right: 6px;
    margin-bottom: 1px;
    border-top: 2px solid #5e8796;
    border-right: 2px solid #5e8796;
    bottom: -1px;
    left: 2px;
}

.chart_and_price {
    height: 100%;
    max-width: 960px;
    display: flex;
    padding: 0 30px 0 30px;
}

.chart_and_price .chart_graph {
    width: 70%;
    position: relative;
}

.chart_and_price .chart_graph::before {
    content: "(案件数)";
    font-size: 1rem;
}

.chart_and_price .chart_graph #my-chart-id {
    width: 100%;
}

.chart_and_price .chart_graph + div {
    width: 30%;
}
.chart_and_price .chart_graph + div ul {
    display: flex;
    text-align: left;
    flex-direction: column;
    justify-content: space-around;
    margin: 29px 0 0 30px;
    padding: 0;
}
.chart_and_price .chart_graph + div ul li {
    line-height: 1.2;
    letter-spacing: 2px;
    margin: 0 0 15px 0;
    text-align: center;
}
.chart_and_price .chart_graph + div ul li > div:first-of-type {
    font-size: 1.6rem;
    font-weight: bold;
    white-space: nowrap;
}

.chart_and_price .chart_graph + div ul li > div:last-of-type span:first-of-type {
    font-size: 2.2rem;
    font-weight: bold;
}
.chart_and_price .chart_graph + div ul li.most > div:last-of-type span {
    color: #e26a6a;
}
.chart_and_price .chart_graph + div ul li.minimal > div:last-of-type span {
    color: #506dd6;
}
.chart_and_price .chart_graph + div ul li > div:last-of-type span:last-of-type {
    font-size: 1.2rem;
}

@media screen and (max-width: 900px) {
    .chart_and_price .chart_graph + div ul {
        flex-direction: row;
        margin: 8px 0 0 0;
    }
    .chart_and_price {
        flex-direction: column;
    }
    .chart_and_price .chart_graph + div,
    .chart_and_price .chart_graph {
        width: 100%;
    }
    .wrap .chart_title h2 {
        margin: 8px 8px 0 8px;
    }
    .chart_and_price {
        padding: 8px;
    }
    .chart_and_price .chart_graph + div ul li {
        margin: 0;
    }
}
