@charset "utf-8";
/* アクセス */
main {
  background: #FFF;
}
#accessPage * {
  color: #222;
}
#S01 {
  padding: 50px 0;
}
/*----------------------------------------------------------- 駅分数 */
#route01 h3 {
  text-align: left;
  padding: 5px 0 5px;
  border-bottom: 1px solid #333;
  margin: 0 0 10px;
  font-size: 140%;
}
#route01 .flexBox2 {
  padding: 0 0 30px;
}
#route01 .flexBox2 > ul {
  flex-wrap: wrap;
  padding: 10px 0;
}
#route01 .flexBox2 > ul li {
  width: calc(100% / 2 - 10px);
  box-sizing: border-box;
  background: #f3f3f3;
  margin: 0 5px 10px;
}
#route01 ul li p, #route02 ul li p, #route03 ul li p {
  padding: 10px;
  font-size: 80%;
  text-align: left;
}
#route01 ul li h4 {
  font-size: 130%;
  border: none;
}
#route01 dl {
  border-bottom: 1px dashed #999999;
  margin: 0;
}
#route01 dt {
  width: calc(100% - 20px);
  color: inherit;
  background: inherit;
  padding: 5px;
  flex-flow: wrap;
  justify-content: flex-start;
}
#route01 dt h4::after {
  content: "駅へ";
  font-size: 80%;
}
#route01 dd {
  background: inherit;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
#route01 dd small {
  font-size: 170%;
  color: #c92d2d;
  white-space: nowrap;
}
#route01 dd small.direct::before {
  content: "直通";
  background: #c92d2d;
  color: #fff;
  font-size: 50%;
  padding: 0 6px;
  margin: 0 5px 0 0;
}
#route01 dd small::after {
  content: "分";
  font-size: 50%;
}
#route01 dd em {
  white-space: nowrap;
}
#route01 dd em::before {
  content: "（";
}
#route01 dd small.direct + em::before {
  content: "（直通";
}
#route01 dd em::after {
  content: "分）";
}
/*----------------------------------------------------------- 840px */
@media screen and (max-width: 840px) {
  #route01 ul {
    flex-flow: column;
  }
  #route01 .flexBox2 > ul li {
    width: auto;
  }
  #routeBox h3 {
    padding: 5px;
    font-size: 100%;
  }
}
/*----------------------------------------------------------- 768px */
@media screen and (max-width: 768px) {
  .detailBox {
    flex-flow: column;
  }
  #route01 h3 {
    font-size: 90%;
  }
}
/*----------------------------------------------------------- 480px */
@media screen and (max-width: 480px) {
  #S01 {
    padding: 20px 0;
  }
  #route01 .flexBox2 > ul li {
    padding: 10px 0;
  }
  #route01 .flexBox2 > ul li h4 {
    font-size: 120%;
  }
  #route01 dt {
    width: auto;
    border-bottom: none;
  }
  #route01 dd {
    width: auto;
    border-bottom: none;
  }
  #route01 dd small {
    font-size: 150%;
  }
  #route01 dd em {
    font-size: 80%;
  }
  #route01 dl {
    justify-content: space-between;
    padding: 0;
  }
}