﻿* {
  margin: 0;
  padding: 0;
}

table {
    border-spacing: 0;
}

body {
  background-color: #fff;
  text-align: left;
  color: #222;
  font-size: 12px;
}

a {
  color: #00629b;
}

#searchHeader {
    padding: 6px;
    text-align: center;
    vertical-align: middle;
    height: 30px;
    background-color: #fff;
}

#searchHeader::after {
    clear: both;
    display: block;
    content: '';
}

.search-station {
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    margin-top: 5px;
    position: relative;
    width: 100%;
}

.station {
    color: #293038;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-overflow: '…';
    overflow: hidden;
    display: inline-block;
    max-width: 40%;
    max-width: -webkit-calc((100% - 30px) / 2);
    max-width: calc((100% - 30px) / 2);
}

.station:first-child {
    margin-right: 5px;
}

.station:last-child {
    margin-left: 5px;
}

.arrow {
    display: inline-block;
    color: #293038;
    width: 20px;
    text-align: center;
    /* .stationにoverflow:hiddenを指定するとずれてしまうので位置を合わせるために指定 */
    overflow: hidden;
}

.arrow.small {
    color: #222;
    overflow: visible;
}

.arrowbutton-base {
    display: none;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: 60px 30px;
    width: 60px;
    height: 30px;
}

.before {
    float: left;
    background-image: url('../img/hyper/before.png');
}

.after {
    float: right;
    background-image: url('../img/hyper/after.png');
}

#result_list {
    width: 100%;
    margin-bottom: 10px;
}

.list-row {
    height: 50px;
}

.route-num-col {
    width: 30px;
    font-weight: bold;
    color: white;
    text-align: center;
    vertical-align: middle;
    background-color: #87888c;
    font-size: 15px;
    border-bottom: 1px solid #d0d4db;
}

.list-row:first-child .route-num-col,
.list-row:first-child .route-info-col {
    border-top: 1px solid #d0d4db;
}

.route-info-col {
    border-bottom: 1px solid #d0d4db;
}

.list-row:last-child td {
    /*border-bottom: none;*/
}

table.route-info-table {
    width: 100%;
}

.route-info-table tr td:first-child div {
    margin-left: 12px;
}

.list-item {
    font-size: 9px;
    font-weight: bold;
    color: #1159b8;
}

.list-item-time {
    font-size: 13px;
    font-weight: bold;
}

.list-icon-col {
    text-align: right;
}

.disclosure-icon {
    display: inline-block;
    background-image: url('../img/hyper/arrow.png');
    background-size: 6px 9px;
    width: 6px;
    height: 9px;
    margin-left: 6px;
    margin-right: 6px;
    float: left;
    margin-top: 5.5px;
}

.result-area {
/*  margin: 0 16px;*/
}

.route-header {
    background-color: #dadbdd;
    padding: 12px 0;
}

.route-header > div {
    display: inline-block;
    vertical-align: middle;
}

.route-number {
    margin-left: 12px;
    color: #fff;
    background-color: #86878b;
    border-radius: 3px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

.header-condition {
    padding-left: 10px;
    width: 55%;
    width: -webkit-calc(100% - 140px);
    width: calc(100% - 140px);
}

.header-condition-station {
    font-weight: bold;
    font-size: 13px;
}

.header-condition-time {
    font-size: 10px;
}

.shortweek {
    margin-right: 5px;
}

.header-button-area {
    padding: 0 7px;
    text-align: right;
}

.header-button-area > div {
    display: inline-block;
}

.header-button {
    color: #fff;
    font-weight: bold;
    background-color: #393e42;
    border-radius: 5px;
    text-align: center;
    width: 68px;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
}

.faretype-switch {
    visibility: hidden;
}

.research-button {
    width: 50%;
    height: 40px;
    line-height: 40px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
}

/* hyperdia */
.result {
  margin-bottom: 18px;
}

.route-info {
  border: 1px solid #ccc;
  padding: 5px;
}

.info-value {
  color: #449bda;
  font-weight: bold;
}

.info-icon-area {
}

.info-icon-area::after {
  clear: both;
  display: block;
  content: '';
}

.list-icon-col .info-icon-area {
    float: right;
}

.info-icon {
  float: left;
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  margin-right: 5px;
}

.info-icon.time {
  background-image: url(../img/hyper/early.png);
}

.info-icon.trans {
  background-image: url(../img/hyper/easy.png);
}

.info-icon.sum {
  background-image: url(../img/hyper/cheap.png);
}

.route-table {
  border-collapse: collapse;
  width: 100%;
}

.route-table td {
  padding: 5px 0;
}

.route-table .station-row:last-child td {
  border-bottom: 1px solid #b9b9b9;
}

.route-detail select {
  height: 20px;
  font-size: 12px;
}

.station-row td {
  background-color: #bdda91;
}

.train-row td {
  background-color: #fff;
}

.time-col {
  width: 50px;
  border-left: 1px solid #b9b9b9;
  text-align: center;
}

.icon-col {
  width: 30px;
  border-left: 1px solid #b9b9b9;
  text-align: center;
}

.icon-col > img {
  width: 22px;
  height: 22px;
}

.transfer-icon {
  background-size: 22px 22px;
  background-repeat: no-repeat;
  width: 22px;
  height: 22px;
  display: inline-block;
}

.begin {
    background-image: url(../img/hyper/icon_hatsu.png);
}

.end {
    background-image: url(../img/hyper/icon_chaku.png);
}

.transfer {
    background-image: url(../img/hyper/icon_kae.png);
}

.turn {
    background-image: url(../img/hyper/icon_ori.png);
}

.through {
    background-image: url(../img/hyper/icon_cyoku.png);
}

.train-row .icon-col {
  vertical-align: top;
}

.route-col {
  border-right: 1px solid #b9b9b9;
}

.route-label {
  font-weight: bold;
  margin-right: 5px;
}

.seisyun_append {
  display: none;
}

.link-area {
}

.link-r {
  float: right;
  margin-right: 5px;
}

.link-r span:not(:last-child)::after {
  content: '|';
  margin: 0 4px;
}

.timetable-button {
    color: white;
    cursor: pointer;
    background-color: #393e42;
    width: 3.5em;
    font-size: 11px;
    border-radius: 6px;
    padding: 3px 5px;
    text-align: center;
}

.train-icon {
  background-size: 25px 25px;
  background-repeat: no-repeat;
  display: inline-block;
  width: 25px;
  height: 25px;
  vertical-align: top;
}

.airplane {
  background-image: url(../img/hyper/icon_airplane.png);
}

.sprexprs {
  background-image: url(../img/hyper/icon_shinkansen.png);
}

.utrexprs, .slputr, .exprs, .slpexprs {
  background-image: url(../img/hyper/icon_express1.png);
}

.liner, .comfort, .regular {
  background-image: url(../img/hyper/icon_train1.png);
}

.coutrexprs, .coexprs {
  background-image: url(../img/hyper/icon_express2.png);
}

.coliner, .cocomfort, .coregular {
  background-image: url(../img/hyper/icon_train2.png);
}

.bus {
  background-image: url(../img/hyper/icon_bus.png);
}

.ship {
  background-image: url(../img/hyper/icon_ship.png);
}

.walk {
  background-image: url(../img/hyper/icon_walk.png);
}

.caution {
  color: #f00;
  font-size: 8px;
  margin-left: 1em;
}

.ad {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 5px;
}

.ad img {
  width: 320px;
  height: 50px;
}
