/* ========= ドクター紹介 =========== */

.ly_profile {
  background: #e5f3f7;
}

.bl_profile {
  padding: 44px 15px 18px 15px;
}

.bl_profileAbout {
  margin-top: 36px;
}

.bl_profileAbout_img {
  margin-inline: 20px;
  border-radius: 20px;
  aspect-ratio: 300 / 275;
  overflow: hidden;
}

.bl_profileAbout_points {
  background: #fff;
  padding: 17px 20px;
  border-radius: 10px;
  margin-top: 11px;
  font-size: 14px;
}

.bl_discList li {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 14px;
  line-height: 1.8;
}

.bl_discList li::before,
.bl_discList li::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: #41b3cb;
  border-radius: 16px;
}

.bl_profileMessage {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}

.el_profileMessage .el_btn {
  margin-top: 12px;
}

.el_profileMessage strong {
  color: #41b3cb;
  font-size: 16px;
  font-weight: 400;
  -webkit-text-stroke: 1px;
}

.bl_profileChronology {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 11px;
}

.bl_profileChronology > div {
  background: #fff;
  padding: 14px 12px 9px 20px;
  border-radius: 10px;
}

.bl_profileChronology > div h4 {
  margin-right: 8px;
  font-size: 16px;
  font-weight: 400;
  -webkit-text-stroke: 0.8px;
  line-height: 2.5;
  letter-spacing: 0.05em;
  color: #41b3cb;
  border-bottom: 1px solid #41b3cb;
  margin-bottom: 5px;
}

.bl_profileHistory_list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bl_profileHistory_list li {
  display: flex;
  gap: 11px;
  font-size: 11px;
  line-height: 2.36;
}

.bl_profileHistory_list li span:first-child {
  flex-shrink: 0;
}

/* ========= 副院長 =========== */

.ly_fukuIncho {
  padding: 50px 15px;
}

.bl_fukuInchoProfile {
  display: contents;
}

.ly_fukuIncho .el_profileName {
  margin: 0;
  padding: 0;
}

.el_profileName .bl_discList {
  background: #f0f9fc;
  border-radius: 10px;
  padding: 17px 20px;
  margin-top: 11px;
}

.bl_fukuIncho_message.el_profileMessage {
  background: #f0f9fc;
}

.ly_fukuIncho .bl_profileChronology > div {
  background: #f0f9fc;
}

/* ========= ６つのこだわり =========== */
.ly_points {
  padding-inline: 15px;
  position: relative;
}

.bl_points {
  padding: 0;
}

.ly_points::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 400px;
  width: 100%;
  background: #e5f3f7;
  z-index: -1;
}

.ly_points .el_ttl {
  background: transparent;
}

.bl_points_list {
  display: flex;
  flex-direction: column;
  gap: 37px;
}

.bl_points_img {
  aspect-ratio: 345 / 250;
  border-radius: 20px;
  overflow: hidden;
}

.bl_points_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.2);
}

.bl_points_text {
  margin-top: 24px;
}

.bl_points_text p:first-child {
  font-size: 16px;
  font-weight: 400;
  -webkit-text-stroke: 0.5px;
}

.bl_points_text h3 {
  font-size: clamp(1.5rem, 1.2143rem + 1.4286vw, 2.5rem);
  line-height: 1.5;
  margin-top: 10px;
  font-weight: 400;
  -webkit-text-stroke: 0.8px;
  text-decoration: underline;
  text-decoration-color: #ffddd1;
  text-decoration-thickness: 10px;
  text-underline-offset: -4px;
}

.bl_points_text p:last-child {
  font-size: 14px;
  line-height: 25px;
  margin-top: 12px;
}

.ly_treatment {
  position: relative;
}

.ly_treatment::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 700px;
  width: 100%;
  background: #e5f3f7;
  z-index: -1;
}

/* ========= 院内ご紹介 =========== */

.ly_inside {
  padding-block: 80px;
  background: #e5f3f7;
  margin-top: 52px;
}

.bl_insideSwiper {
  margin-top: 40px;
}

.bl_insideSwiper p {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.ly_inside .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* ========= 店舗情報 =========== */

.ly_contacts {
  padding-block: 50px;
}

.bl_contacts {
  padding-inline: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  letter-spacing: 0.05em;
}

.bl_contactsImg {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 345 / 250;
}

.bl_contactsImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bl_contactsList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.85;
}

.bl_contactsList li {
  padding-top: 14px;
  border-top: 1px solid #e2e2e2;
}

.bl_contactsList li:last-child {
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e2e2;
}

.bl_contactsList li p:first-child {
  color: #41b3cb;
}

.bl_contactsList li p:last-child {
  color: #5a5a5a;
}
/* ========= エレメント =========== */

.el_profileName {
  margin-top: 24px;
  font-size: 14px;
  padding-inline: 20px;
}

.el_profileName h3 {
  font-size: 24px;
  line-height: 30px;
  margin-top: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.el_profileName small {
  color: #41b3cb;
  margin-top: 2px;
  letter-spacing: 0.05em;
  line-height: 1.66;
  font-size: 12px;
}

.el_profileMessage {
  border-radius: 10px;
  padding: 17px 20px 23px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.85;
  background: #fff;
}

@media screen and (min-width: 768px) {
  .ly_profile {
    background: transparent;
    position: relative;
  }

  .ly_profile::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 290px);
    background: #e5f3f7;
    z-index: -1;
  }

  .ly_profile::before {
    content: '';
    bottom: calc(100% - 290px);
    left: 0;
    width: 100%;
    height: 3.5vw;
    position: absolute;
    background: url(../../img/top/message-top.svg) no-repeat top center;
    background-size: cover;
    z-index: -1;
  }

  .bl_profile {
    max-width: 1040px;
    margin: 0 auto;
    padding-inline: 20px;
    padding-bottom: 100px;
    position: relative;
  }

  .bl_profile::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 3.5vw;
    background: url(../../img/wave-bottom.svg) no-repeat top center;
    background-size: cover;
    z-index: 1;
    pointer-events: none; /* 任意：波をクリックさせたくない場合 */
  }

  .bl_profileAbout {
    display: grid;
    grid-template-columns: 0.32fr 0.45fr;
    gap: 50px;
    justify-content: center;
  }

  .bl_profileAbout_img {
    margin: 0;
    height: 100%;
    aspect-ratio: 320 / 430;
  }

  .bl_profileAbout_img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .bl_profileAbout_name {
    padding: 0;
    margin: 0;
  }

  .bl_profileAbout_points {
    margin-top: 11px;
    padding: 30px;
    border-radius: 20px;
  }

  .bl_profileChronology {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    letter-spacing: 0.05em;
    margin-top: 20px;
  }

  .bl_profileChronology > div {
    height: fit-content;
    padding: 12px 20px 25px;
    border-radius: 20px;
  }

  .bl_profileChronology ul {
    margin-top: 18px;
  }

  .bl_profileChronology > div h4 {
    font-size: 20px;
    line-height: 2;
  }

  .bl_profileHistory_list li {
    font-size: 16px;
    line-height: 1.625;
    gap: 21px;
  }

  .bl_profileAchievement_list li {
    font-size: 16px;
    line-height: 1.875;
    gap: 5px;
  }

  /* ========= 副院長 =========== */
  .ly_fukuIncho {
    padding: 0;
  }

  .bl_fukuIncho {
    max-width: 1040px;
    margin: 0 auto;
    padding-top: 148px;
    padding-inline: 20px;
  }

  .bl_fukuInchoProfile {
    display: grid;
    grid-template-columns: 270px auto;
    gap: 46px;
    justify-content: space-between;
  }

  .bl_fukuIncho_message.el_profileMessage {
    margin-top: 0;
    padding-bottom: 34px;
  }

  /* ========= エレメント =========== */

  .el_profileName {
    margin-top: 18px;
    font-size: 16px;
    padding-inline: 0;
  }

  .el_profileName h3 {
    font-size: 30px;
    letter-spacing: 0.1em;
    margin-top: 20px;
  }

  .el_profileName small {
    margin-top: 10px;
    line-height: 2.5;
  }

  .el_profileName .bl_discList {
    padding: 12px 30px;
    border-radius: 20px;
  }

  .bl_discList li {
    font-size: 16px;
    line-height: 1.875;
    letter-spacing: 0.05em;
    gap: 5px;
  }

  .el_profileMessage {
    margin-top: 50px;
    padding: 26px 30px 30px;
    font-size: 16px;
    line-height: 1.875;
    letter-spacing: 0.05em;
    border-radius: 20px;
  }

  /* ========= ６つのこだわり =========== */

  .ly_points::after {
    height: 60px;
  }

  .ly_points .el_ttl {
    padding-bottom: 46px;
  }

  .ly_points .el_ttl span {
    letter-spacing: 0.1em;
  }

  .bl_points {
    max-width: 1480px;
    margin: 0 auto;
    padding-inline: 20px;
  }

  .bl_points_list {
    gap: 30px;
  }

  .bl_points_list li {
    position: relative;
    height: 595px;
    aspect-ratio: 1433 / 595;
  }

  .bl_points_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .bl_points_img img {
    transform: none;
  }

  .bl_points_list li:nth-child(3) .bl_points_img img {
    object-position: center 60%;
  }

  .bl_points_list li:nth-child(4) .bl_points_img img {
    object-position: center 30%;
  }

  .bl_points_list li:nth-child(6) .bl_points_img img {
    object-position: center 35%;
  }

  .bl_points_text {
    margin-top: 0;
    position: absolute;
    background: #fff;
    bottom: clamp(0.625rem, -2.2321rem + 5.9524vw, 3.125rem);
    padding: 12px 20px 32px;
    width: fit-content;
    max-width: 488px;
  }

  .bl_points_list li:nth-child(even) .bl_points_text {
    left: clamp(0.625rem, -2.2321rem + 5.9524vw, 3.125rem);
  }

  .bl_points_list li:nth-child(odd) .bl_points_text {
    right: clamp(0.625rem, -2.2321rem + 5.9524vw, 3.125rem);
  }

  .bl_points_text p:first-child {
    font-size: 20px;
    line-height: 2.5;
  }

  .bl_points_text h3 {
    margin-top: 0;
  }

  .bl_points_text p:last-child {
    font-size: 16px;
    line-height: 1.875;
    letter-spacing: 0.05em;
  }

  /* ========= 院内ご紹介 =========== */

  .bl_insideSwiper {
    margin-top: 72px;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 20px;
  }

  .bl_insideSwiper p {
    font-size: 16px;
    text-align: center;
  }

  .bl_insideWrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  /* ========= 店舗情報 =========== */

  .ly_contacts {
    padding-block: 100px;
  }

  .bl_contacts {
    max-width: 1040px;
    margin: 0 auto;
    padding-inline: 20px;
    display: grid;
    grid-template-columns: 49% 46%;
    gap: 5%;
  }

  .bl_contactsImg {
    aspect-ratio: 49 / 47;
  }

  .bl_contactsList {
    gap: 16px;
  }

  .bl_contactsList li {
    display: flex;
    gap: 30px;
    padding-block: 20px 0;
  }

  .bl_contactsList li p:first-child {
    padding-top: 0;
    border-top: none;
    width: 60px;
    flex-shrink: 0;
  }
}

@media screen and (min-width: 1280px) {
  .bl_profile,
  .bl_fukuIncho,
  .bl_contacts {
    max-width: 1080px;
    padding-inline: 40px;
  }

  .bl_points {
    max-width: 1520px;
    padding-inline: 40px;
  }

  .bl_points_text {
    bottom: 50%;
    transform: translateY(50%);
  }

  .bl_insideSwiper {
    max-width: 1320px;
    padding-inline: 40px;
  }

  .bl_insideWrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}
