.acess-outer {
  padding: 12px;
}

.access-container {
  display: flex;
  justify-content: center;
  gap: 72px;
  padding: 12px;
}
.access-container .map-info {
  max-width: 420px;
}
.access-container .map-info img {
  width: 100%;
  height: auto;
}
.access-container .access-details {
  max-width: 450px;
}
.access-container .access-details h3 {
  font-size: 20px;
  color: #222f3e;
  font-family: "ryo-gothic-plusn", sans-serif;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.5;
}
.access-container .access-details p {
  font-size: 20px;
  color: #222f3e;
  font-family: "ryo-gothic-plusn", sans-serif;
  line-height: 1.6;
}
.access-container .access-details a {
  width: 333px;
  height: 58px;
  font-size: 20px;
  font-weight: 500;
  font-family: "ryo-gothic-plusn", sans-serif;
  text-align: center;
  opacity: 1;
  margin-top: 90px;
}

.access-container:nth-of-type(2) {
  display: none;
}

.middle__title {
  margin-bottom: 20px;
}
.middle__title p {
  font-size: 27px;
  color: #127ac0;
  text-align: center;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  line-height: 0.3;
  margin-top: 104px;
}
.middle__title h2 {
  font-size: 40px;
  color: #222f3e;
  text-align: center;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  margin-bottom: 60px;
}
.middle__title h2:nth-of-type(2) {
  display: none;
}

.train-access {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  max-width: 1152px;
  margin: 0 auto;
  gap: 40px;
  padding: 12px;
}
.train-access .train-step {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}
.train-access .train-step img {
  max-width: 456px;
  max-height: 279px;
  -o-object-fit: cover;
     object-fit: cover;
}
.train-access .train-step p {
  font-size: 20px;
  color: #222f3e;
  font-family: "ryo-gothic-plusn", sans-serif;
}
.train-access .train-step p .step-text {
  margin-left: 20px;
}

.car-access {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.car-access .car-info {
  max-width: 522px;
}
.car-access .car-info p {
  font-size: 16px;
  color: #222f3e;
  font-family: "hiragino-sans", sans-serif;
  line-height: 1.6;
  margin-bottom: 10px;
}
.car-access .car-info .car-text-1 {
  font-weight: 700;
}
.car-access .car-info .car-text-2 {
  line-height: 1.6;
}
.car-access .car-info .car-text-3 {
  margin: 40px;
}
.car-access .car-info:first-of-type {
  display: block;
}
.car-access .car-info:nth-of-type(2) {
  display: none;
}
.car-access a {
  width: 350px;
  height: 58px;
  font-size: 20px;
  font-weight: 500;
  font-family: "ryo-gothic-plusn", sans-serif;
  text-align: center;
  opacity: 1;
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .train-access {
    max-width: 960px;
    padding: 0;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .acess-outer {
    max-width: none;
    padding: 20px;
  }
  .access-container {
    display: flex;
    justify-content: center;
    gap: 72px;
    padding: 20px;
  }
  .access-container .map-info {
    max-width: 320px;
  }
  .access-container .map-info img {
    width: 100%;
    height: auto;
  }
  .access-container .access-details {
    max-width: 500px;
  }
  .access-container .access-details h3 {
    font-size: 18px;
    color: #222f3e;
    font-family: "ryo-gothic-plusn", sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.5;
  }
  .access-container .access-details p {
    font-size: 18px;
    color: #222f3e;
    font-family: "ryo-gothic-plusn", sans-serif;
    line-height: 1.6;
  }
  .access-container .access-details a {
    width: 303px;
    height: 48px;
    font-size: 18px;
    font-family: "ryo-gothic-plusn", sans-serif;
    text-align: center;
    opacity: 1;
    margin-top: 40px;
  }
  .middle__title {
    margin-bottom: 20px;
  }
  .middle__title p {
    font-size: 20px;
  }
  .middle__title h2 {
    font-size: 30px;
  }
  .train-access {
    padding: 20px;
  }
  .train-access .train-step {
    gap: 36px;
  }
  .train-access .train-step img {
    max-width: 400px;
    max-height: 310px;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .train-access .train-step p {
    font-size: 18px;
  }
  .car-access .car-info p {
    font-size: 14px;
  }
  .car-access a {
    width: 300px;
    height: 45px;
    font-size: 18px;
  }
}
@media screen and (max-width: 767px) {
  .access-container {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    width: 100%;
    overflow-x: hidden;
  }
  .access-container:nth-of-type(2) {
    display: flex;
  }
  .access-container:nth-of-type(1) {
    display: none;
  }
  .access-details {
    max-width: 500px;
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .access-details h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0 !important;
  }
  .map-info img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
  }
  .access-details p {
    font-size: 20px;
    line-height: 1.5;
    text-align: left;
    display: block;
    width: 100%;
  }
  .access-details a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 31px 0 31px 0 !important;
  }
  .middle__title {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 5px;
  }
  .middle__title p {
    font-size: 22px;
    color: #127ac0;
    font-weight: 700;
    margin-top: 10px;
  }
  .middle__title h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .middle__title h2:first-of-type {
    display: none;
  }
  .middle__title h2:last-of-type {
    display: block;
  }
  .train-access:nth-of-type(4) {
    display: block;
  }
  .train-access {
    padding: 20px;
    max-width: 500px;
  }
  .train-step {
    width: 100%;
    gap: 10px !important;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    padding-bottom: 30px;
  }
  .train-step img {
    width: 335px;
    height: auto;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .train-step p {
    width: 335px;
    font-size: 16px;
    color: #222f3e;
    font-family: "ryo-gothic-plusn", sans-serif;
    text-align: left;
    line-height: 1.5;
  }
  .car-access {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    padding: 0 20px 20px 20px;
    margin: 0 auto;
  }
  .car-access .car-info {
    max-width: 100%;
  }
  .car-access .car-info p {
    font-size: 20px;
  }
  .car-access .car-info .car-text-1 {
    font-weight: 600;
  }
  .car-access .car-info .car-text-2 {
    text-align: left;
  }
  .car-access .car-info:first-of-type {
    display: none;
  }
  .car-access .car-info:nth-of-type(2) {
    display: block;
  }
}/*# sourceMappingURL=access.css.map */