@charset "UTF-8";
/* CSS Document */

.trainBnr{
  margin:0 0 1.5em 0; 
}

.trainText{
    padding:0.5em 0 0 0;
    line-height: 1.5em;
    font-size: 80%;
}


.railinfoBnrArea {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
 -webkit-box-pack: center;
     -ms-flex-pack: center;
   justify-content: center;
}
.firstBnr {
    width: 49%;
    margin:0 1em;
}


@media (max-width: 768px) {
.firstBnr {
    width: 100%;
    padding: 5px 0;
}
    
    .railinfoBnrArea {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
 -webkit-box-pack: justify;
     -ms-flex-pack: justify;
   justify-content: space-between;
}
}



/*   railinfo-index*/

/*railinfo-index BnrArea*/

.railinfoBnr {
    width: 32%;
    margin: 0px 0.3em;
}


.railinfoBnrText {
    background-color: #39813E;
    color: #FFFFFF;
    font-size: 105%;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height:4em;
    position: relative;
    margin: 0em 0;
    text-align: center;
    height:4em;
}
.railinfoBnrText a {
    color: #FFFFFF;
    display: block;
   /* margin: 1em 0;*/
    text-decoration: none;
}
.railinfoBnrText:hover {
    opacity: 0.8;
}
.railinfoBnrText:before {
    font-family: 'Font Awesome 5 Free';
    content: '\f054';
    /* padding:1em 0;*/
    position: absolute;
    /*  top: 0;*/
    right: 10px;
    color: #387F42;
    font-weight: 900;
    font-size: 14px;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    
    .railinfoBnrText:before {
    font-family: 'Font Awesome 5 Free';
    content: '\f054';
    /* padding:1em 0;*/
    position: absolute;
    /*  top: 0;*/
    right: 0.5em;
    color: #387F42;
    font-weight: 900;
    font-size: 10px;
    color: #FFFFFF;
}
    
    .railinfoBnr {
    width: 49%;
    margin: 0 auto 20px;
}
    
    .railinfoBnrText {
    letter-spacing: 0em;
    font-size: 65%;
    line-height:3em;
    padding: 0em 0.8em 0 0.2em;
    height:3em;
        
}
    

}




@media (max-width: 768px) {
    
}

@media (max-width: 620px) {
    
 
}