@charset "UTF-8";

.title {
    position: absolute;
    top: 4%;
    left: -5%;
    width: fit-content;
}

.title img {
    width: 28vw;
    min-width: 452px;
}

main {
    background-image: url(../img/bg.png);
    background-size: cover;
    background-repeat: repeat-y;
}


h2 {
    font-size: 2.3em;
    text-align: center;
    margin-top: 100px;
    color: #0099C4;
    line-height: 1em;
}

h2 small {
    color: #000;
    font-size: 0.55em;
}

#title p {
    font-size: 0.8em;
    letter-spacing: 0;
    line-height: 1.8;
    margin-bottom: 150px;
}


.flex {
    display: flex;
}

.flex .asset {
    width: 100%;
    display: block;
    margin: 20px 0;
}




.flex .left>div,
.flex .right>div {
    position: relative;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 2;
    width: 300px;
    border-top: 3px dotted #0099c4;
    padding-top: 30px;
    letter-spacing: 0;
    text-align: justify;
}

.flex .left {
    padding-right: 52.5px;
}

.flex .left>div {
    padding-right: 52.5px;
}

.flex .left .year {
    position: absolute;
    width: 88px;
    top: -44px;
    right: -100px;
}


#history .flex .left {
    border-right: 5px solid #0099C4;
}

.y1949 {
    margin-bottom: 100px;
}

.y1995 {
    margin-bottom: 250px;
}

.y2005 {
    margin-bottom: 70px;
}

.y2006 {
    margin-bottom: 290px;
}

.y2020 {
    margin-bottom: 200px;
}





.flex .right {
    padding-left: 52.5px;
}

.flex .right>div {
    padding-left: 50px;
}

.flex .right .year {
    position: absolute;
    width: 88px;
    top: -44px;
    left: -98px;
}

.y1965 {
    margin-top: 150px;
}

.y2000 {
    margin-top: 300px;
}

.y2001 {
    margin-top: 70px;
}

.y2002 {
    margin-top: 70px;
}

.y2017 {
    margin-top: 70px;
}

.y2021 {
    margin-top: 70px;
}

.y2022 {
    margin-top: 70px;
}


.bubble article {
    position: relative;
    background-color: #fff;
    max-width: 250px;
    margin: 30px auto 20px;
    border: 1px solid #0099C4;
    padding: 20px;
    font-size: 0.9em;
    color: #0099C4;
    border-radius: 30px;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.bubble article span {
    display: block;
    background-color: #0099C4;
    color: #fff;
    width: fit-content;
    padding: 2px 15px 0;
    border-radius: 20px;
    margin-bottom: 15px;
}

.bubble article img {
    position: absolute;
    width: 26px;
    top: 100%;
}

.left .bubble article img {
    left: 50%;
    transform: translate(-75%);
}

.right .bubble article img {
    right: 50%;
    transform: rotateY(-180deg) translate(-75%);
}

.bubble>img {
    width: 100px;
    display: block;
}

.right .bubble>img {
    margin-left: auto;
}

.supplement {
    display: inline-block;
    line-height: 1.8;
}


#now .flex .left {
    border-right: 5px dashed #0099C4;
    position: relative;
}

#now .flex .left::before {
    content: "";
    width: 30px;
    height: 5px;
    background-color: #0099C4;
    position: absolute;
    bottom: 2px;
    right: -8px;
    transform: rotate(45deg);
}

#now .flex .left::after {
    content: "";
    width: 30px;
    height: 5px;
    background-color: #0099C4;
    position: absolute;
    bottom: 2px;
    right: -26px;
    transform: rotate(-45deg);
}

#links {
    padding: 200px 0;
    text-align: center;
    font-size: 0.8em;
}

#links a {
    display: flex;
    font-weight: 400;
    color: #000;
    align-items: center;
    margin: 15px auto;
    width: fit-content;
}


#links a span {
    display: block;
    text-decoration: #000 solid underline;
    text-underline-offset: 3px;
}

#links a img {
    display: block;
    width: 14px;
    margin-left: 15px;
}

footer {
    margin: 0;
}


@media screen and (max-width:1024px) {

    .title {
        position: absolute;
        top: 8%;
        left: -6%;
        width: fit-content;
    }

    .title img {
        width: 40vw;
        min-width: 294px;
    }

    main {
        background-image: url(../img/bg.png);
        background-size: contain;
        background-repeat: repeat-y;
    }



    #title p {
        font-size: 1em;
        letter-spacing: 0;
        line-height: 1.8;
        margin-bottom: 150px;
    }


    .flex {
        display: flex;
    }

    .flex .asset {
        width: 100%;
        display: block;
        margin: 20px 0;
    }




    .flex .left>div,
    .flex .right>div {
        font-size: 1rem;
        line-height: 1.5;
        width: calc(85vw/2 - 65px);

    }

    .flex .left>div {
        padding-right: 22.5px;
    }


    .flex .right>div {
        padding-left: 20px;
    }


    .bubble article {
        font-size: 1em;
    }

    #now .flex .left {
        border-right: 5px dashed #0099C4;
        position: relative;
        padding-bottom: 150px;
    }

}


@media screen and (max-width:700px) {
    #title p {
        margin-bottom: 100px;
    }

    h2 {
        font-size: 1.8em;
        text-align: center;
        margin-top: 50px;
        color: #0099C4;
        line-height: 1em;
    }

    #history {
        width: 70%;
        margin: auto;
    }


    .year {
        display: block;
        width: 88px;
        margin: 20px auto;
    }

    .his {
        font-weight: 400;
        font-size: 0.9em;
        padding: 20px 0 50px;
        border-top: 3px dotted #0099c4;
        text-align: justify;
        letter-spacing: 0.1em;
    }

    .his .asset {
        width: 100%;
        display: block;
        margin-top: 20px;
    }

    .bubble {
        width: 90%;
        margin: auto;
    }

    .bubble article {
        font-size: 1em;
        line-height: 1.8;
        letter-spacing: 0.1em;
    }

    #now .flex .left {
        border-right: 5px dashed #0099C4;
        position: relative;
        width: 50%;
        height: 80px;
        padding: 0;
    }

    #links {
        padding: 200px 0;
        text-align: center;
        font-size: 1em;
    }

    #links a {
        display: inline-block;
    }


    #links a span {
        display: inline;
        text-decoration: #000 solid underline;
        text-underline-offset: 3px;
    }

    #links a img {
        display: inline-block;
        width: 14px;
        margin-left: 15px;
    }

}

@media screen and (max-width:400px) {}