@charset "utf-8";
/* アクセス */

.cap {
  text-align: right;
}


#S01 .flexBox3 ul {
    flex-wrap: wrap;
}
#S01 .flexBox3 ul li {
    padding: 0px 5px 2em;
}

#S01 .detail {
    padding: 5%;
}

#S03 h2 {
    color: #aaa;
    font-size: 200%;
}
#S03 h2 small {
    font-size: 50%;
}
#S03 .flexBox2 {
    padding: 2em 0 5em;
}

/*----------------------------------------------------------- 駅分数 */
#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: "分）";
}
/*----------------------------------------------------------- 1280px */
@media screen and (max-width: 1280px) {
  #S02 .flexBox2 {
    padding: 0 10px 50px;
  }
}
/*----------------------------------------------------------- 1180px */
@media screen and (max-width: 1180px) {}
/*----------------------------------------------------------- 1024px */
@media screen and (max-width: 1024px) {
  #S02 h2.title {
    font-size: 260%;
  }
}
/*----------------------------------------------------------- 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%;
  }
}
/*----------------------------------------------------------- 860px */
@media screen and (max-width: 860px) {
  #S03 .flexBox4 ul {
    flex-flow: column;
  }
  #S02 .flexBox2 {
    padding: 0 0 50px;
  }
  .detailBox {
    flex-flow: column;
}
  #S02 .leftBox {
    width: auto;
}
  #S02 .rightBox {
    width: auto;
}
#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;
}
}