.access-container,
.access-container-sp {
  display: none;
}

.access-text-container-row {
  display: flex;
  align-items: end;
}

.access-text-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.access-info-text,
.access-info-text-sp {
  text-align: left;
}

.access-contact-link,
.access-map-link {
  display: block;
}

.access-contact,
.access-map {
  width: 100%;
  height: auto;
  cursor: pointer;
  object-fit: contain;
}

.access-info-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1000px) {
  .access-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (min-width: 1001px) {
  .access-container {
    display: block;
  }
  .access-container-sp {
    display: none;
  }
  .access-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  .access-row-for-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 20px;
  }
  .access-image {
    max-width: 30%;
    height: auto;
  }
  .access-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 1234px;
  }
  .access-info-text {
    flex: 1;
    margin-right: 20px;
  }
}

@media (max-width: 1000px) {
  .access-info-title {
    font-size: 18px;
  }
}

.access-info-details-text {
  line-height: 2.5;
}

.access-title {
  font-family: "Noto Sans JP", sans-serif;
  display: flex;
  align-items: end;
  color: #646464;
}

@media (max-width: 1000px) {
  .access-title {
    margin-top: 38px;
  }
}

.access-title-initial {
  color: #cc3e32;
}

.access-title-initial + span {
  color: #646464;
}

.access-subtitle {
  color: #cc3e32;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
}

@media (max-width: 1000px) {
  .access-subtitle {
    margin-top: 12px;
    margin-bottom: 38px;
  }
}

.access-map {
  width: 100%;
  height: auto;
  max-width: 684.156px;
  max-height: 350.078px;
}

.access-contact {
  width: 100%;
  height: auto;
}

@media (min-width: 1001px) {
  .access-title {
    font-size: 40px;
  }

  .access-contact {
    max-width: 260px;
  }
}

@media (max-width: 1000px) {
  .access-container {
    display: none;
  }
  .access-container-sp {
    display: block;
    margin-bottom: 44px;
  }
  .access-image {
    width: 100%;
    height: auto;
  }
  .access-info-text-sp {
    margin-top: 20px;
    text-align: left;
    padding: 0 15px;
  }
  .access-contact {
    width: 100%;
    max-width: 284px;
    /* max-height: 44px; */
    margin-top: 20px;
  }
  .access-map {
    width: 100%;
    max-width: 768px;
    margin-top: 20px;
    max-height: 100%;
  }
  .access-title {
    font-size: 32px;
  }
}
