/* medical-partners.css — styles only for /medical-partners/ */

.mp-catch {
  color: #193151;
  text-align: center;
  font-size: clamp(2.5rem, 4vw + 1rem, 3.6rem);
  font-weight: 700;
  margin: 0.8em 0;
}
.mp-catch br {
}
.mp-lead {
  font-size: clamp(1.8rem, 1.0vw + 1rem, 2.0rem);
  text-align: center;
  margin-bottom: 2em;
  line-height: 1.7;
}
.mp-lead .highlight {
  color: #3fa2ad;
}
.mp-lead br {
}
.mp-title {
  background: #193151;
  color: #fff;
  text-align: center;
  font-size: clamp(1.8rem, 1.3vw + 1rem, 2.2rem);
  font-weight: 700;
  border-radius: 10px;
  padding: 0.5em;
  margin-bottom: 0.5em;
}
.mp-title.darkred {
  background: #8e0d5c;
}

.merit-list {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-bottom: clamp(2em, 6vw, 4em);
}
.merit-list > li {
  flex: 0 0 calc(100% / 3 - 3rem);
}
.merit-title {
  font-size: clamp(2.1rem, 1.6vw + 1rem, 2.5rem);
  font-weight: 800;
  text-align: center;
}
.merit-subtitle {
  color: #3fa2ad;
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
}
.merit-pic {
  text-align: center;
  margin: 0.7em 0;
}
.merit-pic img {
  max-width: clamp(115px, 17vw, 157px);
  height: auto;
}
.merit-desc {
  width: 90%;
  margin: 0 auto;
}

.clinic-koe {
  background: #fffbf9;
  padding: 1em 0;
}
.speech-box-wrap {
  display: flex;
  gap: 0 1rem;
  margin-bottom: 0.5em;
}
.speech-box-wrap.left {
  flex-direction: row-reverse;
}
.speech-box {
  display: flex;
  width: auto;
  align-items: center;
  flex: 1 1 clamp(60px, 11vw, 111px);
  margin-top: 2rem;
  justify-content: flex-end;
}
.speech-box-wrap.left .speech-box {
  flex-direction: row-reverse;
}
.speech-box p {
  border: 2px solid #23426d;
  border-radius: 10px;
  padding: 1em;
  width: 90%;
}
.speech-box p .author {
  text-align: right;
  display: inline-block;
  width: 100%;
  margin-top: 0.5em;
}
.speech-box::after {
  content: "";
  background: url(/wp/wp-content/themes/moto2025-child-kit-plus/assets/fukidashi-right.png) no-repeat 0 0;
  background-size: contain;
  width: 27px;
  height: 31px;
  display: inline-block;
  margin-left: -3px;
  flex: 0 0 27px;
}
.speech-box-wrap.left .speech-box::after {
  background-image: url(/wp/wp-content/themes/moto2025-child-kit-plus/assets/fukidashi-left.png);
  margin-right: -5px;
  margin-left: 0;
  z-index: 1;
}
.speech-box-wrap .koe {
  width: clamp(60px, 11vw, 111px);
  align-self: center;
}
.speech-box-wrap.left .koe {
}
.speech-box-wrap.right .koe {
}
.speech-box-wrap .koe img {
  width: 100%;
}

.goriyou-nagare-box {
  background: #fcfbf6;
  padding: clamp(1em, 4vw, 2em);
}
.goriyou-nagare-title {
  color: #193151;
  font-size: clamp(2.4rem, 2.1vw + 1rem, 2.9rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.2em;
}
.flow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  counter-reset: step;
  gap: 2rem 3rem;
}
.flow-steps > li {
  counter-increment: step;
  flex: 1 1 calc(100% / 4 - 3rem);
  text-align: center;
  position: relative;
}
.flow-steps > li::before {
  content: counter(step);
  display: inline-block;
  width: 1.7em;
  height: 1.7em;
  line-height: 1.7;
  border-radius: 50%;
  background: #193151;
  color: #fff;
  font-weight: 700;
  font-size: 3.0rem;
  margin-bottom: 0.5em;
}
.flow-steps > li:nth-of-type(2)::before {
  background: #3b9891;
}
.flow-steps > li:nth-of-type(3)::before {
  background: #6c222d;
}
.flow-steps > li:nth-of-type(4)::before {
  background: #097d77;
}
.flow-steps .icon {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}
.flow-steps .icon img {
  max-width: 186px;
  width: 100%;
}
.flow-steps > li h4 {
  font-size: clamp(2.1rem, 1.6vw + 1rem, 2.5rem);
  color: #193151;
  margin-bottom: 0.4em;
  font-weight: 700;
}
.flow-steps > li:nth-of-type(2) h4 {
  color: #3b9891;
}
.flow-steps > li:nth-of-type(3) h4 {
  color: #6c222d;
}
.flow-steps > li:nth-of-type(4) h4 {
  color: #097d77;
}
.flow-steps > li .desc {
  text-align: left;
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
}
.steps-tel {
  margin-bottom: clamp(1em, 7vw, 3em);
  background: #193151;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(2rem, 2.5vw, 2.3rem);
  font-weight: 700;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 1.5rem;
  flex-wrap: wrap;
  line-height: 1.2;
}
.steps-tel .t {
  font-weight: 700;
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  letter-spacing: 1px;
  padding-left: 0.5em;
}
.steps-tel .t a {
  color: #fff;
}
.steps-tel br {
  display: none;
}

.goriyou-nagare-title.koe-title {
  padding-left:1em;
  padding-right:1em;
  margin-bottom: 1rem;
}

.sec-title-nagare {
  text-align: center;
}
.sec-title-nagare > span {
  display: inline-flex;
  color: #193151;
  border: 1px solid #193151;
  font-size: clamp(2rem, 1.5vw + 1rem, 2.3rem);
  font-weight: 700;
  padding: 0.4rem 1.5em;
  margin: 1em 0 1em;
}

.goyoyaku-box {
  background: #fcfbf0;
  margin-bottom: 1.5em;
  padding: clamp(0.5em, 2.3vw, 1.2em);
}
.goyoyaku-box h4 {
  color: #193151;
  font-weight: 700;
  font-size: clamp(2rem, 1.4vw + 1rem, 2.2rem);
  text-align: center;
  margin-bottom: 0.7em;
}

.douji {
  color: #f00;
  text-align: center;
  margin-top: -0.5em;
  margin-bottom: 2em;
}

.nagare-tel-list-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5em;
}
.nagare-tel-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5em 1em;
  align-items: center;
  flex: 0 0 auto;
  line-height: 1;
}
.nagare-tel-list dt {
  font-size: 2rem;
}
.nagare-tel-list dd {
  font-size: 2rem;
}
.nagare-tel-list dd .t {
  color: #193151;
  font-size: 2.9rem;
  letter-spacing: 3px;
}
.nagare-yoyaku-list {
  counter-reset: step;
  margin: 0 0;
  padding: 1em 0.5em;
  border-top: 1px dashed #000;
  border-bottom: 1px dashed #000;
}
.nagare-yoyaku-list > li {
  counter-increment: step;
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.8em;
}
.nagare-yoyaku-list > li:last-child {
  margin-bottom: 0;
}
.nagare-yoyaku-list > li::before {
  content: counter(step) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
}
.nagare-para {
  line-height: clamp(1.6em, 4vw, 2.1em);
}
.link-btn {
  display: flex;
  justify-content: center;
  align-content: center;
}
.link-btn a {
  display: block;
  color: #fff;
  font-weight: bold;
  font-size: 1.7rem;
  padding: 0.5em 1em;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  width: 100%;
}
.link-btn .fa-comment-medical {
  font-size: 2rem;
  color: #fff;
  margin-left: 5px;
}
.link-btn.darkred a {
  background: #91125F;
  background: linear-gradient(180deg, rgba(145, 18, 95, 1) 0%, rgba(174, 73, 136, 1) 100%);
}
.link-btn.darkblue a {
  background: #3F75B6;
  background: linear-gradient(180deg, rgba(63, 117, 182, 1) 0%, rgba(110, 134, 201, 1) 100%);
}
.letter-pack-title {
  color: #193151;
  font-size: 2rem;
  font-weight: 700;
  margin-top: clamp(1rem, 5.5vw + 1rem, 3em);
  margin-bottom: 0.2em;
}

.scroll-hint {
  overflow-y: hidden !important;
}
.data-table-wrap {
  margin-bottom: 1em;
  padding-bottom: 1em;
}
.data-table {
  width: 870px;
  overflow-x: auto;
  margin: 0 auto;
}
.data-table th,
.data-table td {
  border: 1px solid #999;
  padding: clamp(0.4em, 1.7vw, 0.8em);
  background-color: #fff;
  font-size: clamp(1.6rem, 1.0vw + 1rem, 1.8rem);
  text-align: left;
}
.data-table td.bg-green {
  background-color: #e6f2e6;
}
.data-table td.bg-pink {
  background-color: #fde9e9;
}

@media (max-width: 991.98px) {


}

@media (max-width: 859.98px) {

  .flow-steps > li {
    flex: 1 1 calc(100% / 2 - 3rem);
  }

}

@media (max-width: 767.98px) {

  .mp-catch {
    text-align: left;
  }
  .mp-lead {
    text-align: left;
  }
  .mp-lead br {
    display: none;
  }

  .merit-list {
    flex-wrap: wrap;
  }
  .merit-list > li {
    flex: 0 0 calc(100% / 2 - 3rem);
  }
  .merit-desc {
    width: 100%;
  }

  .flow-steps .icon img {
    max-width: clamp(122px, 25vw, 186px);
    width: 100%;
  }

}

@media (max-width: 575.98px) {

  .flow-steps > li {
    flex: 1 1 100%;
  }

  .steps-tel {
    text-align: center;
  }
  .steps-tel img {
    width: clamp(22px, 6vw, 33px);
  }
  .steps-tel br {
    display: inline;
  }



}

@media (max-width: 474.98px) {

  .merit-list {
  }
  .merit-list > li {
    flex: 0 0 100%;
  }
  .merit-desc {
    max-width: 320px;
  }

}

@media (max-width: 375px) { /* 374.98 */

  .nagare-tel-list {
    grid-template-columns: auto;
  }

}

