@charset "utf-8";

/*!
 * 電車位置情報検索 路線マップ版CSS
 */

/* フォント・見出し
------------------------------------------------------------ */
@media screen and (min-width: 100px) {

  /* フォントサイズ(PC) */
  body {
    line-height: 1.6;
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo
      /*,'ＭＳ Ｐゴシック','MS PGothic'*/
      , sans-serif;
    font-size: 13px;
    *font-size: small;
    /* font-family: Arial, Helvetica, sans-serif; */
  }
}

/* タイムボックス
------------------------------------------------------------ */
.timeBox {
  /* 全体 */
  display: inline-block;
  text-align: center;
  border: #bbb solid 1px;
  position: relative;
  box-shadow: 0px 1px 1px 0px rgb(200, 200, 200);
  background-color: rgb(255, 255, 255);
  /* 2015/12/12 SHINODA */
}

.timeBox .no-data {
  /* 表示データなし文言 */
  position: absolute;
  width: 98%;
  top: 45%;
  left: 0;
  font-size: 108%;
  text-align: center;
}

/* 方面テーブル
------------------------------------------------------------ */
.directionTable {
  /* 全体 */
  width: 100%;
  width: 278px;
  border-collapse: collapse;
  line-height: 1;
}

.directionTable caption {
  /* 電停名枠 */
  line-height: 1;
  text-align: left;
  padding: 7px 10px;
  background-color: rgb(8, 110, 120);
}

.directionTable caption:after {
  /* 電停名枠クリアフィックス */
  display: block;
  content: "";
  clear: both;
}

.directionTable caption .stopName {
  /* 電停名 */
  display: inline-block;
  font-size: 16px;
  color: rgb(255, 255, 255);
  letter-spacing: 0.1em;
  margin-top: 0.3ex;
}

.directionTable caption a.closeBtn {
  /* 閉じるボタン */
  display: inline-block;
  text-align: center;
  padding: 4px 6px;
  line-height: 1;
  background-color: rgb(255, 255, 255);
  color: rgb(51, 51, 51);
  float: right;
  font-size: 85%;
  border-radius: 3px;
  text-decoration: none;
}

.directionTable caption a.closeBtn:hover {
  /* 閉じるボタン(ホバー) */
  background-color: rgb(246, 141, 154);
  color: rgb(255, 255, 255);
}

.directionTable thead {
  /* thead */
  background-color: #bbb;
}

.directionTable tbody {
  /* tbody */
  border-bottom: #bbb solid 1px;
  background-color: rgb(255, 255, 255);
}

.directionTable tbody tr {
  /* tbody */
  height: 25px;
}

.directionTable th {
  text-align: center;
  font-weight: normal;
  background-color: #eee;
  color: #222;
  padding: 5px 5px;
  border-bottom: #bbb solid 1px;
}

.directionTable th:first-of-type {
  /* th 線 */
  border-left: none;
}

.directionTable td {
  /* td */
  border-bottom: #bbb solid 1px;
  height: 25px;
  pointer-events: all;
}

.directionTable td a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  width: calc(100% - 10px);
  height: 100%;
  padding: 0 5px;
  pointer-events: all;
}

.directionTable tbody tr:first-of-type td {
  /* tbody内最初のtr内td 線なし */
  border-top: none;
}

.directionTable tbody tr:last-of-type td {
  /* tbody内最後のtr内td 線なし */
  border-bottom: none;
}

.directionTable tr:nth-child(even) {
  /* 奇数行(even) */
  background-color: rgb(237, 251, 253);
}

.directionTable tr td a:hover {
  /* オンマウス時 */
  background-color: #fef;
  color: rgb(0, 153, 68);
  transition: .3s;
}

/* タイムテーブル
------------------------------------------------------------ */
.timeTable {
  /* 全体 */
  width: 100%;
  width: 278px;
  border-collapse: collapse;
  line-height: 1;
}

.timeTable caption {
  /* 電停名枠 */
  line-height: 1;
  text-align: left;
  padding: 10px 10px 7px;
  background-color: rgb(8, 110, 120);
}

.timeTable caption:after {
  /* 電停名枠クリアフィックス */
  display: block;
  content: "";
  clear: both;
}

.timeTable caption .stopName {
  /* 電停名 */
  display: inline-block;
  display: flex;
  flex-flow: column;
  font-size: 16px;
  color: rgb(255, 255, 255);
  letter-spacing: 0.1em;
}

/* 【3】 */
.timeTable caption .stopName span {
  /* 電停名 */
  display: block;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0;
}

.timeTable caption a.closeBtn {
  /* 閉じるボタン */
  display: inline-block;
  text-align: center;
  padding: 4px 6px;
  margin-top: 10px;
  line-height: 1;
  background-color: rgb(255, 255, 255);
  color: rgb(51, 51, 51);
  float: right;
  font-size: 85%;
  border-radius: 3px;
  text-decoration: none;
}

.timeTable caption a.closeBtn:hover {
  /* 閉じるボタン(ホバー) */
  background-color: rgb(246, 141, 154);
  color: rgb(255, 255, 255);
}

.timeTable thead {
  /* thead */
  display: block;
  background-color: #bbb;
}

.timeTable tbody {
  /* tbody */
  display: block;
  overflow-y: hidden;
  height: 129px;
  border-bottom: #bbb solid 1px;
  background-color: rgb(255, 255, 255);
}

.timeTable tbody tr {
  /* tbody */
  height: 25px;
}

.timeTable th {
  text-align: center;
  font-weight: normal;
  background-color: #eee;
  color: #222;
  padding: 5px 5px;
  border: #bbb solid 1px;
}

.timeTable th:first-of-type {
  /* th 線 */
  text-align: left;
  width: 17em;
  border-left: none;
}

.timeTable th:nth-of-type(2) {
  /* th 時刻 */
  width: 3em;
}

.timeTable td {
  /* td */
  border: #bbb solid 1px;
  padding: 0 5px;
  height: 25px;
  text-align: left;
  border-right: none;
}

.timeTable td:first-of-type {
  /* td 線 */
  width: 17em;
  border-left: none;
}

.timeTable td:nth-of-type(2) {
  /* td 時刻 */
  text-align: right;
  width: 3em;
}

.timeTable tbody tr:first-of-type td {
  /* tbody内最初のtr内td 線なし */
  border-top: none;
}

.timeTable tbody tr:first-of-type td {
  /* tbody内最初のtr内td 線なし */
  border-top: none;
}

.timeTable tbody tr:nth-of-type(n+7) td {
  /* tbody内最後のtr 非表示 */
  display: none;
}

.timeTable tr:nth-child(even) {
  /* 奇数行(even) */
  background-color: rgb(237, 251, 253);
}

.timeTable tr:hover {
  /* オンマウス時 */
  background-color: #fef;
}

.timeTable .lowfloorcar {
  position: relative;
}

.timeTable .lowfloorcar::after {
  position: absolute;
  top: 6px;
  right: 8px;
  content: "低床車";
  color: red;
}

/* 低床・全てボタン
------------------------------------------------------------ */
.timeBox a.displayBtn {
  /* ボタン */
  display: inline-block;
  text-align: center;
  padding: 7px 16px;
  line-height: 1;
  background-color: rgb(120, 120, 120);
  color: rgb(255, 255, 255);
  font-size: 93%;
  border-radius: 4px;
  text-decoration: none;
  margin: 5px auto;
}

.timeBox a.displayBtn:hover {
  /* ボタン(ホバー) */
  background-color: rgb(246, 141, 154);
}

/* 電車カラー（囲み□ボックス有）
------------------------------------------------------------ */
.line0box,
.line1box,
.line2box,
.line3box,
.line5box,
.line6box,
.line7box,
.line8box,
.line9box,
.lineLbox {
  display: inline-block;
  text-align: center;
  font-weight: bold;
  padding: 0.4ex 0.6ex;
  line-height: 1;
  border: #333 solid 1px;
  text-indent: 0;
  margin: 0 3px;
}

.line0box {
  /* 0号線 */
  background-color: #fff;
  color: #ed1a35;
  border: #333 solid 1px;
}

.line1box {
  /* 1号線水色 */
  background-color: #009CDE;
  color: #fff;
}

.line2box {
  /* 2号線レッド */
  background-color: #DC3513;
  color: #fff;
}

.line3box {
  /* 3号線ネイビー */
  background-color: #303AB2;
  color: #fff;
}

.line5box {
  /* 5号線グリーン */
  background-color: #64A70B;
  color: #fff;
}

.line6box {
  /* 6号線イエロー */
  background-color: #D69A2D;
  color: #fff;
}

.line7box {
  /* 7号線ダークグリーン */
  background-color: #228848;
  color: #fff;
}

.line8box {
  /* 8号線ピンク */
  background-color: #E56DB1;
  color: #fff;
}

.line9box {
  /* 9号線グレー */
  background-color: #75787B;
  color: #fff;
}

.lineLbox {
  /* L号線バイオレット */
  background-color: #8031A7;
  color: #fff;
}
