html{
    font-size: 62.5%;
}

html,
body {
    padding: 0;
    margin: 0;
    background: #fff;
    color: #333;
}

.container {
    max-width: calc(1120px + 32px);
    margin: 24px auto 64px;
    padding: 0 16px;
}


.chart-sec{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 16px;
    font-weight: 400;
}

/* 検索条件 */
.controls {
    margin: 0 0 36px;
    padding: 24px;
    border-radius: 5px;
    background: #F9F6F2;
    color: #282C2E;
}
@media screen and (max-width:767px) {
    .controls {
        margin: 0 0 16px;
        padding: 16px;
    }
}

.control-row {
    display: flex;
    gap: 36px;
    align-items: center;
    margin-bottom: 16px;
}
@media screen and (max-width:767px) {
    .control-row {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}
.control-label {
    font-weight: 700;
    flex-shrink: 0;
    margin: 0;
}
.control-button-wrap{
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
@media screen and (max-width:767px) {
    .control-button-wrap{
        column-gap: 4px;
        row-gap: 8px;
    }
}
.range-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}
.range-btn {
    border: 1px solid rgba(40, 44, 46, 0.12);
    background: #fff;
    border-radius: 9999px;
    padding: 4px 8px;
    min-width: 100px;
    cursor: pointer;
    font-weight: 600;
}
@media screen and (max-width:767px) {
    .range-btn {
        font-size: 13px;
        padding: 3px 6px;
        min-width: 73px;
    }
}
.range-btn.active {
    background: #D53F50;
    color: #fff;
    border-color: #D53F50;
}
.range-input{
    background: #fff;
    padding: 4px 40px 4px 10px;
    border: 1px solid rgba(40, 44, 46, 0.12);
    border-radius: 3px;
    position: relative;
    font-weight: 600;
    font-size: 16px;
}
@media screen and (max-width:767px) {
    .range-input{
        padding: 4px 24px 4px 5px;
    }
}
.range-input::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  background: transparent;
  z-index: 1;
}
.range-input::after {
  content: '';
  background-image: url(./ico_calendar.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 0 0;
  width: 19px;
  height: 19px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}
@media screen and (max-width:767px) {
    .range-input::after {
        content: '';
        background-image: url(./ico_calendar.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: 0 0;
        width: 13px;
        height: 13px;
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
    }
}


/* チャート */
.chart {
    height: 480px;
    font-size: 12px;
}
.tooltip-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
}