@charset "utf-8";

.box:not(:last-child) {
    margin-bottom: 10rem;
}

@media (max-width: 768px) {
    .box:not(:last-child) {
        margin-bottom: 6rem;
    }
}

.nav-anchor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10rem;
}

.nav-anchor a {
    position: relative;
    width: 31%;
    border-radius: 27px;
    height: 5.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 1.8rem;
    font-weight: 500;
    color: #0c4097;
    border: 1px solid #0c4097;
    transition: all 0.3s ease;
}

.nav-anchor a::after {
    position: relative;
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1px solid #0c4097;
    border-top: 1px solid #0c4097;
    transform: rotate(135deg);
    transition: all 0.3s ease;
}

.nav-anchor a:hover {
    color: #ffffff !important;
    background: #0c4097;
}

.nav-anchor a:hover::after {
    border-color: #ffffff;
}

.heading {
    background: #e6ebf4;
    border-radius: 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.heading .left {
    border-right: 1px dotted #0c4097;
    width: 240px;
    height: 104px;
    padding: 1rem 3rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.heading .left .p1 {
    width: 100%;
    font-size: 2rem;
    line-height: 1;
    text-align: center;
    color: #ffffff;
    background: #0c4097;
    border-radius: 50px;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
}

.heading .left .p2 {
    font-size: 2.6rem;
    line-height: 1;
    font-weight: 700;
}

.heading .left .p2 span {
    font-size: 70%;
    font-weight: 500;
}

.heading .tit-34 {
    color: #000;
    width: calc(100% - 240px);
    line-height: 1.35;
    padding-left: 3rem;
    margin-bottom: 0;
}

.timeline {
    border-left: 1px solid #e1e5eb;
    margin-left: 2rem;
    padding: 5rem 0 5rem 2rem;
}

.timeline .item {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    margin-bottom: 6rem;
}

.timeline .item:last-child {
    margin-bottom: 0;
}

.timeline .item::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #ff2600;
    border-radius: 100%;
    position: absolute;
    top: 1rem;
    left: -2.45rem;
}

.timeline .item .left {
    width: 300px;
    font-size: 2.8rem;
    line-height: 1;
    font-weight: 700;
    color: #0c4097;
    display: flex;
    align-items: center;
}

.timeline .item .left span {
    font-size: 65%;
    font-weight: 500;
}

.timeline .item .right {
    width: calc(100% - 300px);
}

.timeline .item .right p {
    font-size: 1.8rem;
}

.timeline .item .photo {
    margin-top: 2rem;
    position: relative;
    width: 100%;
    max-width: 232px;
}

.timeline .item .photo .caption {
    font-size: 1.4rem;
    position: absolute;
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .nav-anchor {
        margin-bottom: 6rem;
    }

    .nav-anchor a {
        width: 100%;
        margin-bottom: 2rem;
    }

    .heading .left {
        width: 100%;
        height: auto;
        padding-top: 2rem;
        border-right: none;
    }

    .heading .tit-34 {
        width: 100%;
        padding: 2rem 3rem;
    }

    .timeline .item .left {
        width: 100%;
        padding-bottom: 2rem;
    }

    .timeline .item .right {
        width: 100%;
    }

    .timeline .item .photo .caption {
        left: 0;
        bottom: auto;
        padding-left: 0;
    }
}