@charset "UTF-8";

/*==================================================
  バスのご案内
==================================================*/
@media (hover: hover) and (pointer: fine) {
  #bus .content__link:hover {
    opacity: 0.7;
    transition: 0.3s;
  }
}

#bus {
  padding-inline: 20px;
  padding-block-end: 20px;
}

#bus .bus__content-div{
  display: flex;
  justify-content: space-around;
  flex-wrap: nowrap;
  align-items: center;
  margin-bottom: 30px;
}

#bus .bus__content-div .bus__content-image{
  width: 46%;
}

#bus .bus__content-div_w{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

#bus .bus__content-div_w div{
  width: 50%;
  margin: 0 auto;
}

#bus .bus__center {
  text-align: center;
}

#bus .bus__mt {
  margin-top: 2em;
}

#bus .bus__present {
  border: solid #FFCE4C 2px;
  background-color: #fff9e8;
  padding: 10px;
  margin: 1em;
}

#bus .bus__table {
  width: 90%;
}

#bus table.border tr:nth-of-type(1) th {
  line-height: 1.5em;
}

#bus table.border tr th:nth-of-type(1) {
  line-height: 2em;
  width: 10%;
}

#bus tr > td:only-child {
  line-height: 1.5em;
  text-align: right;
}

#bus .bus__table td p {
  text-align: right;
  margin-block-end: 0;
}

#bus .bus__table-text-left {
  text-align: left;
}

@media screen and (max-width: 767px) {
  #bus {
      padding-inline: 10px;
      padding-block-end: 20px;
  }

  #bus .bus__present p {
    padding-left: 0;
  }

  #bus .bus__content-div{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 35px;
  }

  #bus .bus__content-div .bus__content-image{
    width: 100%;
  }

  #bus .bus__content-div .bus__content-image:nth-of-type(n+2){
    margin-block-start: 10px;
  }

  #bus .bus__table {
    width: 100%;
  }

  #bus table.border tr:nth-of-type(1) th {
    line-height: 2em;
  }

  #bus table.border tr th:nth-of-type(1) {
    line-height: 3em;
  }

  #bus .bus__content-div_w div {
    width: 100%;
    margin: 0;
  }

  #bus tr > td:only-child {
    line-height: 2em;
  }
}