.fare-distance-note__heading {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
}
@media screen and (max-width: 640px) {
  .fare-distance-note__heading {
    margin-bottom: 5px;
  }
}

.fare-distance-note__text {
  font-size: 12px;
}

.fare-distance-note__text .sp {
  display: none;
}
@media screen and (max-width: 640px) {
  .fare-distance-note__text .sp {
    display: block;
  }
  .fare-distance-note__text .pc {
    display: none;
  }
}
.fare-distance-result-heading {
  font-size: 20px;
  font-weight: 700;
}

@media screen and (max-width: 640px) {
  .fare-distance-result-heading {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.fare-distance-result-operation {
  border-top: 1px solid #e2e2e2;
}

.fare-distance-result-operation__layout {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 40px;
  padding: 0 15px;
}

@media screen and (max-width: 640px) {
  .fare-distance-result-operation__layout {
    grid-template-columns: 1fr;
    row-gap: 20px;
    padding: 0;
  }
}

.fare-distance-result-operation__head {
  display: flex;
  align-items: center;
  column-gap: 20px;
}

.fare-distance-result-operation__name {
  font-size: 14px;
  font-weight: 700;
}

.fare-distance-result-operation__body {
  min-width: 0;
}

.fare-distance-result-operation__select {
  position: relative;
}

.fare-distance-result-operation__select-box {
  padding: calc((62 - 24) / 2 / 16 * 1em);
  padding-right: calc((62 - 24) / 2 / 16 * 1em * 3);
  background-color: #f7f7f7;
  border: 1px solid #d9d9d9;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  appearance: none;
}

@media screen and (max-width: 640px) {
  .fare-distance-result-operation__select-box {
    padding: 1em;
    padding-right: 3.5em;
  }
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  padding: calc((62 - 24) / 2 / 16 * 1em);
  padding-right: calc((62 - 24) / 2 / 16 * 1em * 3);
  background-color: #f7f7f7;
  border: 1px solid #d9d9d9;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
}

@media screen and (max-width: 640px) {
  .custom-select__trigger {
    padding: 1em;
    padding-right: 3.5em;
  }
}

.custom-select__text {
  flex: 1;
  min-width: 0;
}

.custom-select__arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  translate: 0 -50%;
  pointer-events: none;
  transition: rotate 0.2s;
}

.custom-select.is-open .custom-select__arrow {
  rotate: 180deg;
}

.custom-select__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  border: 1px solid #d9d9d9;
  border-top: none;
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-select.is-open .custom-select__dropdown {
  display: block;
}

.custom-select__option {
  padding: calc((62 - 24) / 2 / 16 * 1em);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background-color: #f7f7f7;
}

.custom-select__option:hover {
  background-color: #DDDDDD;
}

.custom-select__option.is-selected {
  background-color: #f7f7f7;
}

@media screen and (max-width: 640px) {
  .custom-select__option {
    padding: 1em;
  }
}

.fare-distance-result-info__upper {
  display: flex;
  align-items: center;
  column-gap: 50px;
  flex-wrap: wrap;
  padding: 0 15px;
  row-gap: 30px;
}

@media screen and (max-width: 640px) {
  .fare-distance-result-info__upper {
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
  }
}

.fare-distance-result-info__middle {
  padding: 0 15px;
  margin-top: 30px;
}

@media screen and (max-width: 640px) {
  .fare-distance-result-info__middle {
    margin-top: 20px;
    padding: 0;
  }
}

.fare-distance-result-info__button {
  margin-top: 50px;
  display: flex;
  justify-content: flex-end;
}

@media screen and (max-width: 640px) {
  .fare-distance-result-info__button {
    margin-top: 25px;
    justify-content: center;
  }
}

.fare-distance-result-info__button .btn {
  display: flex;
  align-items: center;
  column-gap: 20px;
  font-size: 18px;
  font-weight: 700;
  padding: 10px 30px;
}

@media screen and (max-width: 640px) {
  .fare-distance-result-info__button .btn {
    padding: 10px 20px;
    font-size: 16px;
    column-gap: 15px;
  }
}

.fare-distance-result-info-item {
  display: flex;
  align-items: center;
  column-gap: 20px;
  flex-wrap: wrap;
  row-gap: 30px;
}

.fare-distance-result-info-item--name {
  column-gap: 25px;
}

@media screen and (max-width: 640px) {
  .fare-distance-result-info-item {
    column-gap: 15px;
    row-gap: 25px;
  }
}
.fare-distance-result-info-item__name {
  font-weight: 700;
  font-size: 14px;
  color: #888;
}

.fare-distance-result-info-item__value {
  font-size: 24px;
  font-weight: 700;
}

.fare-distance-result-info-item__input {
  font-size: 16px;
  padding: calc((53 - 24) / 2 / 16 * 1em);
  line-height: 1.5;
  background-color: #f7f7f7;
  border: 1px solid #d9d9d9;
  width: min(100%, 500px);
}

@media screen and (max-width: 640px) {
  .fare-distance-result-info-item__input {
    padding: 1em;
  }
}

.fare-distance-space {
  height: 100px;
}
