.p-wrapper {
  padding-bottom: 10rem;
}

.p-access {
  padding: 0 2rem;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.p-map {
  flex: 1;
}

.p-map__param {
  gap: 1rem;
}

.p-map__param > p {
  font-size: 1.25rem;
  font-family: var(--font-family-normal);
}

.p-appearance {
  flex: 1;
}

/* Google Mapボタン */
.p-gmap {
  width: 100%;
  margin-top: 2rem;
  padding: 0 2rem;
}

/* ボタン */
.c-button {
  cursor: pointer;
  font-family: var(--font-family-base);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--color-white);
  border: 1px solid var(--color-green-blue);
  background-color: var(--color-green-blue);
  border-radius: 12px;
  padding: 1rem 0rem;
  font-size: 1.2rem;
  transition: 0.4s ease;
  position: relative;
}

.c-button:hover {
  background-color: var(--color-white);
  color: var(--color-green-blue);
}

.c-button .p-arrow {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-image: url("/public/top/white-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease;
}

.c-button:hover .p-arrow {
  background-image: url("/public/top/blue-arrow.svg");
}

/* アクセス方法 */
.p-route {
  margin-top: 8rem;
  padding: 0 2rem;
}

.p-route__contents {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  border: 6px solid var(--color-pink);
  background-color: var(--color-light-pink);
  padding: 2rem;
  border-radius: 0.75rem;
}

.p-route__content > p {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-top: 1rem;
}

.p-route__title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-family-normal);
  letter-spacing: 0.1em;
}

.p-route__title > h3 {
  font-size: 1.5rem;
}

/* 行き方 */
.p-station {
  margin-top: 8rem;
}

.p-howto {
  margin-top: 0.6rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 4rem;
  row-gap: 3.125rem;
}

.p-howto__number {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-family: var(--font-family-normal);
  margin-top: 2rem;
  border-radius: 6px;
  background-color: var(--color-green-blue);
  color: var(--color-white);
}

.p-howto__item p {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-family: var(--font-family-normal);
}

/* タブレット */
@media screen and (min-width: 768px) {
  .p-access {
    margin-top: 8rem;
    flex-direction: row;
    align-items: flex-end;
  }

  /* ボタン */
  .c-button {
    width: 20rem;
    font-size: 1.5rem;
  }

  /* アクセス方法 */
  .p-route__contents {
    padding: 4rem;
    border: 12px solid var(--color-pink);
  }

  .p-route__content > p {
    font-size: 1.25rem;
  }

  /* 行き方 */
  .p-howto {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
