@charset "utf-8";
/* アクセス */

#access_table {
  width: 100%;
  margin-bottom: 3rem;
}

#access_table a {
  color: #444;
  text-decoration: none;
}

#access_table a:hover {
  text-decoration: underline;
}

#access_table tr td {
  word-break: break-all;
}

.map_img {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.gmap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  margin-bottom: 3rem;
}

.gmap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 経路のタブ切り替え */
.tab_area li:first-child::before {
  font-family: "Font Awesome 5 Free";
  content: '\f238';
  font-weight: 900;
  font-size: 1.25rem;
  display: inline-block;
  margin-right: 0.5rem;
  color: #F57878;
}

.tab_area li:last-child::before {
  font-family: "Font Awesome 5 Free";
  content: '\f77d';
  font-weight: 900;
  font-size: 1.25rem;
  display: inline-block;
  margin-right: 0.5rem;
  color: #F57878;
}

.tab_area {
  border-bottom: 1px solid #F57878;
  margin-bottom: 2rem;
}

.tab_area li {
  display: inline-block;
  padding: 1rem;
  margin-right: 1rem;
  border: 1px solid #F57878;
  border-bottom: none;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
}

.tab_area li br {
  display: none;
}

.select {
  background: #F57878;
  color: #fff;
}

.tab_area li.select::before {
  color: #fff;
}

.hide {
  display: none;
}

/* タブコンテンツ */
#path {
  padding-top: 3rem;
}

.path_content {
  margin-bottom: 2rem;
}

.path_content li {
  margin-bottom: 1.5rem;
}

.path_content li p:first-child {
  flex-basis: 30%;
  margin-right: 2%;
}

.path_content li p:last-child {
  flex-basis: 68%;
}

@media screen and (max-width: 736px) {
  .map_img {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  
  .tab_area li::before {
    display: none;
  }

  .tab_area {
    margin-bottom: 1rem;
  }

  .tab_area li {
    padding: 0.6rem;
    margin-right: 0.6rem;
    font-size: 1rem;
    line-height: 1.3;
  }
  
  .tab_area li span {
    font-size: 0.75rem;
  }
  
  .tab_area li:last-child {
    margin-right: 0;
  }
  
  .tab_area li br {
    display: inline;
  }
  
  /* タブコンテンツ */
  #path {
    padding-top: 1.5rem;
  }
  .path_content {
    margin-bottom: 1.5rem;
  }

  .path_content li p:first-child {
    flex-basis: 100%;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .path_content li p:last-child {
    flex-basis: 100%;
    font-size: 0.875rem;
  }
}
