.p-mainv {
  position: relative;
  padding: 7.5rem 0 0;
  background: url("../img/home/sp/bg_mainv.webp") no-repeat top center/100% auto;
}
@media screen and (min-width: 1081px) {
  .p-mainv {
    padding: 12rem 0 0;
    background-image: url("../img/home/bg_mainv.webp");
  }
}
.p-mainv::after {
  content: "";
  display: block;
  height: 15%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
}
@media screen and (min-width: 769px) {
  .p-mainv .swiper {
    height: calc(100dvh - 20rem - 2.8rem);
  }
}
@media screen and (min-width: 1081px) {
  .p-mainv .swiper {
    height: calc(100dvh - 12rem - 3.8rem);
  }
}
.p-mainv .swiper-wrapper {
  transition-timing-function: linear;
}
.p-mainv .swiper-slide {
  overflow: hidden;
  border-radius: 2rem;
  display: block;
}
.p-mainv .swiper-slide picture {
  display: block;
  height: 100%;
}
.p-mainv .swiper-slide img {
  transition: 10s;
  transform: scale(1.1);
  object-fit: cover;
  height: 100%;
}
.p-mainv .swiper-slide-active img,
.p-mainv .swiper-slide-duplicate-active img,
.p-mainv .swiper-slide-prev img {
  transition: 10s;
  transform: scale(1.1);
  animation: fvZoomOut 10s linear 0s normal both;
}

@keyframes fvZoomOut {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.p-mainv__inner {
  position: relative;
}

.p-mainv__detail {
  overflow: hidden;
  border-radius: 2rem;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 2rem;
}
@media screen and (min-width: 1081px) {
  .p-mainv__detail {
    padding: 4rem 5.6rem;
  }
}

.p-mainv__title {
  color: #fff;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.4;
}
@media screen and (min-width: 1081px) {
  .p-mainv__title {
    font-size: 4.5rem;
  }
}

/* Edge(EdgeHTML) */
@media screen and (min-width: 1081px) {
  _:-ms-lang(x)::backdrop,
.p-mainv__title {
    font-weight: 400;
    transform: rotate(0.01deg);
    -moz-transform: rotate(0.03deg);
    -ms-transform: rotate(0.03deg);
    -o-transform: rotate(0.03deg);
    -webkit-transform: rotate(0.03deg);
  }
}

.p-mainv__navi {
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  padding: 0;
  margin: 1.6rem 0;
}
@media screen and (min-width: 1081px) {
  .p-mainv__navi {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 38.6rem;
    z-index: 1;
    padding: 2rem 0 0.7rem 2rem;
    margin: 0;
  }
}
@media screen and (min-width: 1081px) {
  .p-mainv__navi::before {
    content: "";
    display: block;
    width: calc(100% + 2rem);
    height: calc(100% + 2rem);
    position: absolute;
    right: -0.2rem;
    bottom: 0;
    background: url("../img/home/mainv_frame.svg") no-repeat bottom right/contain;
    z-index: 1;
    margin: 0 0 -0.08rem 0;
  }
}

.p-mainv__navi_inner {
  position: relative;
  z-index: 2;
}

.p-mainv__navi_title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #fff;
  background: #2d89cf;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  height: 6rem;
  text-align: center;
}
@media screen and (min-width: 1081px) {
  .p-mainv__navi_title {
    text-align: left;
    font-size: 1.4rem;
    padding: 0 1.5rem;
    height: 4.5rem;
    margin-bottom: 1rem;
    justify-content: flex-start;
  }
}

.p-mainv__navi_btns {
  position: relative;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}
@media screen and (max-width: 1080px) {
  .p-mainv__navi_btns::before {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccd9e2;
    margin: auto;
  }
}

.p-mainv__scroll {
  position: absolute;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  right: -5rem;
  bottom: 0;
  writing-mode: vertical-rl;
  display: none;
}
@media screen and (min-width: 1081px) {
  .p-mainv__scroll {
    display: flex;
    justify-content: flex-end;
  }
}
.p-mainv__scroll .text {
  transform: translateX(0.1em);
  font-size: 1.4rem;
}
.p-mainv__scroll .bar {
  display: block;
  width: 1px;
  height: 12.3rem;
  background: rgba(0, 63, 108, 0.2);
  margin: 1.5rem auto 0;
  z-index: 1;
}
.p-mainv__scroll .bar::after {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background: #003f6c;
  z-index: 2;
  animation: scroll 4s infinite;
}

@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
.p-message {
  padding: 7rem 0 10.6rem;
  background: url("../img/home/sp/bg_message.webp") no-repeat top right/100%;
}
@media screen and (min-width: 769px) {
  .p-message {
    background: url("../img/home/sp/bg_message_tb.webp") no-repeat top right/100%;
  }
}
@media screen and (min-width: 1081px) {
  .p-message {
    background: url("../img/home/bg_message.webp") no-repeat bottom right/contain;
    padding: 11.8rem 0 8.9rem;
  }
}
.p-message .c-btn__round {
  display: none;
}
@media screen and (min-width: 1081px) {
  .p-message .c-btn__round {
    display: block;
  }
}

.p-message__inner {
  position: relative;
}

.p-message__title {
  margin-top: 4rem;
  width: 110%;
  margin-right: 10%;
}
@media screen and (min-width: 1081px) {
  .p-message__title {
    margin-top: 6rem;
  }
}

.p-message__text {
  font-size: 1.6rem;
}
@media screen and (min-width: 1081px) {
  .p-message__text {
    font-size: 1.8rem;
  }
}

.p-message__img_wrap {
  margin-top: 4rem;
  position: relative;
}
@media screen and (min-width: 1081px) {
  .p-message__img_wrap {
    margin-top: 0;
    position: static;
  }
}

.p-message__img {
  -webkit-mask-image: linear-gradient(270deg, transparent 35%, #000 60%, #000);
  /* mask-image: linear-gradient(270deg, transparent 35%, #000 60%, #000); */
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  -webkit-mask-size: 250% 100%;
  mask-size: 250% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  opacity: 0;
}
@media screen and (min-width: 1081px) {
  .p-message__img {
    position: absolute;
  }
}
.p-message__img.is_active {
  transition: opacity 1.8s, -webkit-mask-position 2.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: opacity 1.8s, mask-position 2.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: opacity 1.8s, mask-position 2.2s cubic-bezier(0.165, 0.84, 0.44, 1), -webkit-mask-position 2.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
  opacity: 1;
}
.p-message__img.__01 {
  width: 79.4%;
  margin-left: calc(-2rem - 5%);
}
@media screen and (min-width: 1081px) {
  .p-message__img.__01 {
    width: 33.5%;
    right: 7.3%;
    margin-left: 0;
    top: -5%;
  }
}
.p-message__img.__02 {
  position: absolute;
  width: 37.3%;
  top: 38%;
  right: calc(-2rem - 3%);
}
@media screen and (min-width: 1081px) {
  .p-message__img.__02 {
    width: 18.2%;
    right: -16%;
    top: 40%;
    bottom: auto;
  }
}
.p-message__img.__03 {
  width: 52.2%;
  margin: 3rem 0 0 27.5%;
}
@media screen and (min-width: 1081px) {
  .p-message__img.__03 {
    width: 22.8%;
    right: 1.6%;
    bottom: -2%;
    margin: 0;
  }
}

@media screen and (min-width: 1081px) {
  .p-news {
    margin-top: 6.1rem;
  }
}

@media screen and (min-width: 1081px) {
  .p-news__inner {
    display: flex;
    justify-content: space-between;
  }
}

@media screen and (min-width: 1081px) {
  .p-news__title {
    width: 25.5%;
  }
}

@media screen and (min-width: 1081px) {
  .p-news__contents {
    width: 74.5%;
  }
}

.p-medical {
  position: relative;
  margin-top: 6.2rem;
  padding: 7rem 0 6rem;
  background: #f4faff url("../img/home/sp/bg_medical.webp") no-repeat top center/cover;
}
@media screen and (min-width: 1081px) {
  .p-medical {
    padding: 8rem 0 7rem;
    background: #f4faff url("../img/home/bg_medical.webp") no-repeat top center/100% auto;
    margin-top: 12rem;
  }
}
.p-medical .l-container {
  position: relative;
  z-index: 1;
}
.p-medical::before {
  content: "";
  display: block;
  height: 35%;
  width: 100%;
  background: #f4faff;
  position: absolute;
  left: 0;
  bottom: 0;
}

@media screen and (min-width: 1081px) {
  .p-medical__list {
    display: flex;
    justify-content: space-between;
  }
}

@media screen and (min-width: 1081px) {
  .p-medical__list_item {
    width: 32.3%;
  }
}
.p-medical__list_item + .p-medical__list_item {
  margin-top: 6rem;
}
@media screen and (min-width: 1081px) {
  .p-medical__list_item + .p-medical__list_item {
    margin-top: 0;
  }
}
.p-medical__list_item a {
  display: block;
}
.p-medical__list_item a .icon {
  width: 3.6rem;
  height: 3.6rem;
  border: 1px solid #ccd9e2;
  background: #fff;
  transition: 0.3s;
  position: absolute;
  right: 1.5rem;
  bottom: 0rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  z-index: 2;
}
@media screen and (min-width: 769px) {
  .p-medical__list_item a .icon {
    width: 5.5rem;
    height: 5.5rem;
    bottom: 1rem;
    right: 2rem;
  }
}
@media screen and (min-width: 1081px) {
  .p-medical__list_item a .icon {
    bottom: 1.5rem;
    width: 3.6rem;
    height: 3.6rem;
    right: 1.5rem;
  }
}
.p-medical__list_item a .icon svg {
  width: 1rem;
}
@media screen and (min-width: 769px) {
  .p-medical__list_item a .icon svg {
    width: 1.6rem;
  }
}
@media screen and (min-width: 1081px) {
  .p-medical__list_item a .icon svg {
    width: 1rem;
  }
}
.p-medical__list_item a .icon svg path {
  stroke: #2a90de;
  transition: 0.3s;
}
@media screen and (min-width: 1081px) {
  .p-medical__list_item a:hover {
    color: #003f6c;
  }
  .p-medical__list_item a:hover .icon {
    background: #003f6c;
    border-color: #003f6c;
  }
  .p-medical__list_item a:hover svg path {
    stroke: #fff;
    transition: 0.3s;
  }
  .p-medical__list_item a:hover .p-medical__list_item_img img {
    transform: scale(1.05);
  }
}

.p-medical__list_item_img {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}
.p-medical__list_item_img img {
  transition: 0.3s;
}
@media screen and (min-width: 1081px) {
  .p-medical__list_item_img::before {
    content: "";
    display: block;
    width: 8rem;
    height: 8rem;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: url("../img/home/medical_bg_btn.svg") no-repeat bottom right/contain;
  }
}

.p-medical__list_item_title {
  font-size: 2.4rem;
  margin: 2rem 0 0.5rem;
}
@media screen and (min-width: 1081px) {
  .p-medical__list_item_title {
    margin: 2.5rem 0 1.5rem;
  }
}

.p-medical__list_item_text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.4rem;
  opacity: 0.5;
  line-height: 1.6;
}
@media screen and (min-width: 1081px) {
  .p-medical__list_item_text {
    width: 90.3%;
  }
}

.p-dialysis {
  background: url("../img/home/sp/bg_dialysis.webp") no-repeat top center/cover;
  padding: 8rem 0 9.9rem;
}
@media screen and (min-width: 1081px) {
  .p-dialysis {
    padding: 10rem 0 24.4rem;
    margin-bottom: -11rem;
    background: url("../img/home/bg_dialysis.webp") no-repeat top center/100% auto;
  }
}

@media screen and (min-width: 1081px) {
  .p-dialysis__inner {
    display: flex;
    justify-content: space-between;
  }
}

@media screen and (min-width: 1081px) {
  .p-dialysis__item {
    width: 48.1%;
  }
}
@media screen and (max-width: 1080px) {
  .p-dialysis__item + .p-dialysis__item {
    margin-top: 2rem;
  }
}
.p-dialysis__item .p-dialysis__item_link {
  display: block;
  border: 1px solid #ccd9e2;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.5);
  padding: 2rem;
  height: 100%;
}
@media screen and (min-width: 1081px) {
  .p-dialysis__item .p-dialysis__item_link {
    padding: 3rem;
  }
}

.p-dialysis__item_title {
  font-size: 2rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}
@media screen and (min-width: 1081px) {
  .p-dialysis__item_title {
    font-size: 2.2rem;
    line-height: 1.8;
  }
}

.p-dialysis__item_text {
  font-size: 1.6rem;
  margin-bottom: 2.3rem;
}
@media screen and (min-width: 1081px) {
  .p-hall__img {
    width: calc(100% + 6rem);
    margin: 0 -3rem;
  }
}