.p-wrapper {
  padding-bottom: 10rem;
}

/* タイトル */
.p-title-flow {
  margin-top: 4rem;
}

.p-title-flow.p-m8 {
  margin-top: 8rem;
}

/* 概要 */
.p-summary {
  text-align: center;
  padding: 0 2rem;
}

.p-summary p,
.p-summary__continue p {
  font-family: var(--font-family-clean);
  font-size: 1.2rem;
  line-height: 36px;
}

.p-summary__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.p-summary__text > a {
  display: flex;
  align-items: center;
  color: var(--color-dark-blue);
  font-size: 1.4rem;
  text-decoration: none;
  font-family: var(--font-family-clean);
  padding-bottom: 4px;
}

.p-summary__text > p:last-of-type {
  margin-left: 0.6rem;
}

.p-summary__text img {
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.625rem;
}

.p-summary__continue {
  margin-top: 2rem;
}

.break {
  display: none;
}

/* 治療の種類 */
.p-type {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding: 0 2rem;
}

.p-type__item {
  position: relative;
  text-align: center;
  cursor: pointer;
}

.p-type__item > p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.p-treatment {
  margin-top: 8.625rem;
  padding: 0 2rem;
}

.p-treatment__title {
  display: flex;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--color-black);
  padding-bottom: 0.6rem;
}

.p-treatment__title > h3 {
  font-size: 1.5rem;
  line-height: 34px;
  letter-spacing: 0.1em;
}

.p-treatment__explain {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  line-height: 40px;
}

/* 詳しくはこちらボタン */
.p-button {
  margin-top: 4rem;
  width: 100%;
  padding: 0 2rem;
}

.p-button > button {
  width: 100%;
  padding: 1rem 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  background-color: var(--color-green-blue);
  border: 1px solid var(--color-green-blue);
  border-radius: 12px;
  color: var(--color-white);
  font-size: 1.2rem;
}

/* ボタン */
.c-button {
  cursor: pointer;
  font-family: var(--font-family-base);
  width: 16rem;
  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.5rem;
  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-time {
  text-align: center;
  padding: 0 2rem;
}

.p-time > p {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  line-height: 30px;
}

/* タブレット */
@media screen and (min-width: 768px) {
  .break {
    display: block;
  }

  .p-summary__text {
    flex-direction: row;
  }

  .p-summary p,
  .p-summary__continue p {
    font-size: 1.6rem;
    line-height: 40px;
  }

  .p-summary__text > a {
    font-size: 1.56rem;
  }

  .p-type {
    flex-direction: row;
  }

  /* ボタン */
  .p-button > button {
    width: 26%;
    font-size: 1.5rem;
  }

  /* 所要時間 */
  .p-time {
    text-align: center;
  }

  .p-time > p {
    font-size: 1.5rem;
    line-height: 48px;
  }
}
