@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital@1&display=swap');

/*breakpoint
PC>1024px
*/

/*タイムライン*/
.history {
    position: relative;
    margin:0 auto;
    width: 100%;
}
.history::before {
    content: "";
    width: 1px;
    height: 100%;
    background: #192f60;
    position: absolute;
    transform: translateX(-50%);
}

@media screen and (min-width:1024px) {
    .history::before {
        left: 50%;/*以後PC用*/
    }
}

.history__item {
    position: relative;
    display: flex;
    padding: 0 0 20px 20px;
}

@media screen and (min-width:1024px) {
    .history__item:nth-of-type(even) {
        justify-content: flex-end;/*以後PC用*/
        padding: 0 20px 35px 0;
    }
}
    
.history__item::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #192f60;
    position: absolute;
    border-radius: 50%;
    left: 0;
    transform: translateX(-50%);
}

@media screen and (min-width:1024px) {
    .history__item::before {
        left: 50%;/*以後PC用*/
        top: 0;
        width: 10px;
        height: 10px;
    }
}

.history__item:last-child {
    padding-bottom: 15px;
}

.history__item:last-child:after {
    content: "";
    width: 6px;
    height: 6px;
    background: none;
    position: absolute;
    transform: translateX(-50%) rotate(-45deg);
    border-left: 1px solid #192f60;
    border-bottom: 1px solid #192f60;
    bottom: 0;
    left: 0;
}

@media screen and (min-width:1024px) {
    .history__item:last-child:after{
        left: 50%;/*以後PC用*/
        width: 8px;
        height: 8px;
    }
}

.history__title {
    color: #ed6d35;
    font-size:1.8rem;
    font-family: 'Playfair Display', serif;
    margin:0 auto 15px;
}

.history__inner {
    max-width: 400px;
    }

@media screen and (max-width:767px){
    .history__inner {
        max-width: 300px;
    }
}
    
.history__iamge {
    line-height: 1;
    margin: 0;
    padding: 0;
}

.history__iamge img {
    width: 400px;
}

@media screen and (max-width:767px){
    .history__iamge img {
        max-width: 300px;
    }
}

.history__text {
    padding-top: 10px;
}

.history__point {
    background-color: #f2f2f2;
    padding: 15px;
    margin-top:-20px;
    border-radius: 10px;
    line-height: 1.5;
}

span.history__point_text {
    color: #ed6d35;
    font-weight: bold;
}

span.history__point_text::before {
    content: '\f0a4';
    font-family: "Font Awesome 6 free";
    font-weight: 900;
    margin-right:10px;
}