.locations {
  background-color: #fff;
}

.map-wrapper {
  position: relative;
  margin-top: 2.4rem;
  border: 1px #E3E3E3 solid;
  border-radius: 10px;
  background-color: #FDFDFD;
  text-align: center;
  margin-bottom: 5.6rem;
  height: 78rem;
  overflow: hidden;
}

.map-wrapper__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 95rem;
  object-fit: contain;
}

.map__global {
  width: 28rem;
  margin-top: 3.3rem;
  display: inline-block;
  margin-bottom: 8rem;
}

.map__global.for-sp {
  display: none;
}

.map-wrapper__text {
  font-weight: 700;
  text-align: left;
  padding: 1.6rem;
}

.address {
  padding-bottom: 14rem;
}

.address .container {
  position: relative;
}

.address-list {
  margin-top: 4rem;
}

.address-list {
  display: grid;
  flex-wrap: wrap;
  column-gap: 6.4rem;
  row-gap: 4rem;
  grid-template-columns: 1fr 1fr;
}

.address-item__title {
  background-color: #F1F9E5;
  padding: 1.5rem 1.6rem;
  border-bottom: 2px #6FC300 solid;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.address-item__title--small {
  font-size: 1.2rem;
}

.address-item__address {
  line-height: 2.2rem;
  margin-bottom: 0.8rem;
}

.address-item__map {
  color: #014499;
  font-size: 1.4rem;
  border-bottom: 1px #014499 solid;
  position: relative;
  display: block;
  line-height: 1.3;
  width: fit-content;
  box-sizing: border-box;
  margin-bottom: 2.4rem;
}

.address-item__map--target {
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  right: -1.5rem;
}

.address-item__access--title {
  font-weight: 700;
  line-height: 2.2rem;
}

.address-item__access--text {
  font-size: 1.4rem;
  line-height: 2rem;
  margin-top: 0.8rem;
}

@media screen and (max-width: 850px) {
  .map-wrapper {
    height: auto;
    margin-bottom: 4rem;
    margin-top: 2rem;
  }

  .map-wrapper__img {
    position: inherit;
    top: 0;
    left: 0;
    transform: none;
  }

  .map-wrapper__text {
    position: absolute;
    top: 1.6rem;
    left: 1.6rem;
    padding: 0;
  }

  .map__global {
    width: 100%;
    margin-top: 2rem;
    max-width: 45rem;
    margin-bottom: 0;
  }

  .map__global.for-sp {
    display: block;
  }

  .map__global.for-pc {
    display: none;
  }

  .address {
    margin-top: 8rem;
    padding-bottom: 8rem;
  }

  .address-list {
    margin-top: 2rem;
    grid-template-columns: none;
    row-gap: none;
    column-gap: none;
    gap: 3.2rem;
  }

  .address-item__title .for-sp {
    display: inline-block;
  }
}