/* -------------------------------------
 * timeline
 * ------------------------------------- */

#timeline {
    list-style: none;
    margin: 40px 0 30px 130px;
    padding-left: 25px;
    border-left: 10px solid #331100;
}

.relative {
    position: relative;
    height: 80px;
}

#timeline li {
    margin: 0;
    position: relative;
}

label {
    top: 0px;
    z-index: 100;
    line-height: 20px;
    cursor: pointer;
    transition: transform 0.2s linear;
    position: absolute;
}

#timeline p {
    margin: 0 0 15px;
}

.date {
    margin-top: 0px;
    top: 0px;
    left: -160px;
    line-height: 20px;
    text-align: center;
    position: absolute;
}

.event_t {
    margin-top: 0px;
    top: 0px;
    line-height: 20px;
    white-space: nowrap;
    text-align: left;
    position: relative;
}

.circle {
    margin-top: -5px;
    top: 0px;
    left: -45px;
    width: 30px;
    height: 30px;
    background: #ffffff;
    border: 8px solid #331100;
    border-radius: 50%;
    display: block;
    position: absolute;
}

.content {
    height: 0px;
    opacity: 0;
    padding: 0 10px;
    transition: .5s;
    visibility: hidden;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.content img {
    width: 50%;
    height: auto;
    max-height: 250px;
    float: left;
}

.content p {
    float: left;
}

.content span {
    margin-top: 10px;
}

.content span::before {
    content: "　";
}

.radio {
    display: none;
}

.radio:checked+.relative label {
    cursor: auto;
}

.radio:checked+.relative .circle {
    background: #5e8cc8;
}

#timeline .radio:checked~.content {
    opacity: 1;
    height: auto;
    padding: 0 0 5% 0;
    visibility: visible;
    transition: height 0.4s linear, color 0.5s linear, transform 0.2s linear;
}