@charset "utf-8";

body {
  background-image: none;
}

#fv {
  background-image: url(../img/bfree_fv.webp);
}

@media (max-width: 519px) {
  #fv {
    background-image: url(../img/bfree_fv_sp.webp);
    height: 180px;
  }
}

#bfree {
  max-width: 1140px;
  color: #000;
}

#bfree p a {
  text-decoration: underline;
  color: #0042C3;
}

#fare p a:hover {
  color: #8A2222;
  text-decoration: none;
}

#bfree .ttl {
  font-size: 32px;
  color: #000000;
  text-align: center;
  margin-top: 70px;
  margin-bottom: 15px;
  letter-spacing: 1.5px;
}

#bfree .ttl h3 {
  display: flex;
  justify-content: center;
  align-items: center;
}

#bfree .ttl img {
  margin-right: 4px;
}

#bfree .subttl {
  font-size: 24px;
  color: #000;
  margin-top: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid #D1CAC4;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
}

#bfree .top {
  margin: auto;
  max-width: 800px;
}

#bfree p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
}

#bfree p + p {
  margin-top: 40px;
}

#bfree .box {
  border: 1px solid #CFCABF;
  margin: auto;
  max-width: 808px;
  padding: 20px 15px;
  margin-bottom: 20px;
}

#bfree .box h4 {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: #CAAC69;
  margin-bottom: 8px;
}

#bfree .box p {
  line-height: 1.5;
  margin-bottom: 0;
}

#bfree .imgs {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

#bfree .imgs img {
  width: calc(calc(100% - 20px) / 3);
}

#bfree .img-texts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  -moz-column-gap: 10px;
  -webkit-column-gap: 10px;
  column-gap: 10px;
}
#bfree .img-texts .item {
  width: calc(25% - 10px);
}
#bfree .img-texts img {
  max-width: 100%;
}
#bfree .img-3-2 .item {
  width: calc(30% - 10px);
}

#bfree .img-texts .text {
  text-align: center;
  padding: 12px 0;
  font-family: var(--gothic);
}

#bfree table.fare-table {
  width: 80%;
}
#bfree table.fare-table p {
  line-height: 1.2;
  font-size: 14px;
}
@media (max-width: 519px) {
  #bfree .ttl {
    font-size: 24px;
  }

  #bfree .ttl h3 {
    text-align: left;
    -moz-column-gap: 10px;
    -webkit-column-gap: 10px;
    column-gap: 10px;
  }

  #bfree .top .ttl {
    margin-top: 40px;
  }

  #bfree .subttl {
    font-size: 20px;
  }

  #bfree .box h4 {
    font-size: 18px;
  }

  #bfree .imgs {
  }

  #bfree .imgs img {
    margin: 0;
    width: calc(50% - 5px);
  }

  #bfree .img-texts {
    justify-content: flex-start;
  }

  #bfree .img-texts .item {
    width: calc(50% - 5px);
  }

  #bfree .fare-table th,
  #bfree .fare-table td {
    padding: 16px 10px;
  }

  #bfree table.fare-table {
    width: 100%;
  }

}