@charset "utf-8";

/* history_content */
.history_content {
    overflow: hidden;
}
.history_flow_wrap {
    padding-bottom: 40px;
    overflow: hidden;
}
.history_flow {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    border-bottom: 1px dashed #1D4763;
}
.history_flow dt {
    width: 30%;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    padding-right: 32px;
    box-sizing: border-box;
}
.history_flow dd {
    width: 70%;
    box-sizing: border-box;
}
.history_flow dt time {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
}
.history_flow dt time span {
    line-height: 40px;
}
.history_flow dt .years {
    padding: 24px 40px 24px 0;
    box-sizing: border-box;
    text-align: right;
    font-weight: 600;
    font-size: 24px;
    font-variant-numeric: tabular-nums;
}
.history_flow dt .month {
    position: relative;
    width: 80px;
    padding: 24px 0 24px 40px;
    box-sizing: border-box;
    text-align: left;
    font-weight: 500;
    font-size: 1.2em;
}
.history_flow dt .month::before {
    content: "";
    position: absolute;
    z-index: 1;
    width: 24px;
    height: 24px;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    background-color: #5FC1C7;
    border-radius: 32px;
}
.history_flow dt .month::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 0;
    height: 999vw;
    border-left: 4px solid #5FC1C7;
}
.history_flow:last-child .month::after {
    border-color: #BFE6E9;
}
.history_flow.otw dt:nth-child(n+2) .month::before,
.history_flow.otw dt:nth-child(n+2) .month::after {
    display: none;
}

.history_flow dt .noyears {
    padding-left: 2.5em;
}
.history_details {
    height: 100%;
    padding: 24px 0;
    box-sizing: border-box;
    line-height: 40px;
}
.history_details p {
    line-height: 2em;
}

/* history_contentここまで */

/* レスポンシブ */
@media screen and (max-width: 1024px) {
    .history_flow dt time {
        position: relative;
        flex-direction: column;
        padding: 8px 0 0 8px;
    }
    .history_flow dt time::before {
        content: "";
        position: absolute;
        z-index: 1;
        width: 24px;
        height: 24px;
        top: 60%;
        left: -10px;
        transform: translateY(-50%);
        background-color: #5FC1C7;
        border-radius: 32px;
    }
    .history_flow dt time::after {
        content: "";
        position: absolute;
        z-index: 0;
        top: 50%;
        left: 0;
        height: 999vw;
        border-left: 4px solid #5FC1C7;
    }
    .history_flow:last-child time::after {
        border-color: #BFE6E9;
    }
    .history_flow.otw dt time::after {
        display: none;
    }
    .history_flow dt .years {
        padding: 0;
    }
    .history_flow dd .history_details {
        padding: 52px 0 24px 0;
    }
    .history_flow.otw dt:nth-child(n+3) time {
        padding: 0 0 0 8px;
    }
    .history_flow.otw dt:nth-child(n+3) time::before {
        top: 20px;
    }
    .history_flow.otw dt:nth-child(n+3) .years {
        padding: 0 0 0 32px;
    }
    .history_flow.otw dd:nth-child(n+3) .history_details {
        padding: 0 0 24px 0;
    }
    .history_flow dt .month {
        padding: 0 0 24px 26px;
    }
    .history_flow dt .month::before,
    .history_flow dt .month::after {
        display: none;
    }
}
@media screen and (max-width: 599px) {
    .tab_select {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .tab_select .select_ct {
        display: flex;
        align-items: center;
        padding: 8px 16px;
    }
    .tab_select .select_ct p {
        margin-right: 8px;
    }
    .history_flow dt {
        width: 35%;
        justify-content: flex-start;
    }
    .history_flow dd {
        width: 65%;
    }
    .history_flow dt time::before {
        left: 0;
    }
    .history_flow dt time::after {
        left: 10px;
    }
}
/* レスポンシブここまで */