﻿.station__wrap {
  width: 100%;
  margin: 0 auto;
}

.station {
  width: 99%;
  margin: 1rem auto;
  padding: 1.5rem 0;
  border: 1px #000 solid;
  display: flex;
  justify-content: center;
  align-items: center;
}

.station__name {
  flex: 0 0 50%;
  text-align: left;
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: bold;
}

.station__select {
  display: flex;
  width: 100%;
  margin: 0 auto 2rem;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
  color: #fff;
}

.station__select.BR {
  background-color: #C48D32;
}

.station__select.BL {
  background-color: #0070BD;
}

.station__select.R {
  background-color: #E4002C;
}

.station__select.Ra {
  background-color: #F3A5A8;
}

.station__select.G {
  background-color: #008659;
}

.station__select.Ga {
  background-color: #DAE11B;
}

.station__select.O,
.station__select.Osub {
  background-color: #F8B616;
  color: #000;
}

.station__select.Y {
  background-color: #FFDA00;
  color: #000;
}

.station__select__btn {
  text-decoration: none;
  color: inherit;
  margin: 0.5rem 0;
  flex: 0.35 0 0;
  display: flex;
  align-items: center;
}

.station__select__btn:first-child {
  text-align: left;
}

.station__select__btn:last-child {
  text-align: right;
}

.station__name__btn {
  display: flex;
  flex-flow: column;
}

.station__select__btn.back {
  display: flex;
  justify-content: end;
}

.back .station__name__btn {
  display: flex;
  flex-flow: column-reverse;
}

.station__select__name {
  text-align: center;
  margin: 0.5rem 0;
  flex: 0.3 0 0;
  font-weight: bold;
}

.arrow {
  width: 1.4rem;
  margin: 0 0.5rem;
}

.rotate180 {
  transform: rotate(180deg);
}

.station__label {
  flex: 0 0 50%;
  text-align: right;
}

@media screen and (min-width: 471px) {
  .station__select {
    font-size: 1.6rem;
  }
}
@media screen and (min-width: 769px) {
  .station__name {
    font-size: 3rem;
    line-height: 3.5rem;
  }
  .station__select {
    width: 70%;
    font-size: 1.8rem;
  }
  .station__label {
    width: 140px;
  }
  .arrow {
    width: 1.8rem;
    margin: 0 0.5rem;
  }
  .station__name__btn {
    display: flex;
    flex-flow: row;
  }
  .back .station__name__btn {
    display: flex;
    flex-flow: row;
  }
}
