@charset "UTF-8";
/* CSS Document */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px; /* 固定ヘッダの高さ分 */
}

/*---------------------

トップ共通

---------------------*/

.txt p{
    font-size: 2rem;
}
@media screen and (max-width:769px) {
    .txt p{
        font-size: 1.8rem;
    }
}
@media screen and (max-width:425px) {
    .inner-wrap{
        padding: 0 60px;
    }    
    .txt p{
        font-size: 1.4rem;
    }
}

/*---------------------

こんな悩みありませんか

---------------------*/
#worry .grid{
    grid-template-columns: repeat(3, 1fr);
    gap:5%;
}
#worry .item p{
    margin-top: 20px;
}
@media screen and (max-width:769px) {
    
}
@media screen and (max-width:425px) {
    #worry .grid{
        grid-template-columns: 1fr;
        gap:30px;
    }
}
/*---------------------

ラストレターとは

---------------------*/
#about{
    line-height: 2.6;
    overflow: hidden;
}
#about{
    position: relative;
}
#about::before{
    position: absolute;
    content: "";
    background: url("../images/top/about-img.png") no-repeat;
    background-size: contain;
    width: 335px;
    height: 438px;
    bottom: 0;
    right: 0;
}
@media screen and (max-width:769px) {
    #about::before{
        width: 169px;
        height: 220px;
    }
}
/*---------------------

メッセージ

---------------------*/
#message .message-inner{
    background: url("../images/top/message-bg_pc.jpg")no-repeat;
    background-size: cover;
    padding: 60px
}
#message .inner{
    width: 58%;
    margin-left: -5%;
    background: rgba(255,255,255,0.76);
    padding: 70px;
}
#message .ttlarea .ttl{
    font-size: 3rem;
    text-align: left;
}
#message .ttlarea{
    margin-bottom: 15px;
}
#message .inner p{
    line-height: 2.6;
    background-position: left;
}
@media screen and (max-width:1024px) {
    #message .inner{
        width: 70%;
    }
}
@media screen and (max-width:769px) {
    #message .inner{
        width: 100%;
        margin: -100px 0 0;
        padding: 40px;
    }
    #message .message-inner{
        background: url("../images/top/message-bg_sp.jpg")no-repeat;
        background-size: cover;
        padding: 0;
        height: 500px
    }
}
@media screen and (max-width:425px) {
    #message .message-inner{
        height: 80vw;
    }
    #message .inner{
        padding:17px 20px;
        background: rgba(255, 255, 255, 0.9);
    }
    #message .ttlarea .ttl{
        font-size: 1.9rem;
    }
    #message .ttlarea{
        margin-bottom: 4px;
    }

}
/*---------------------

最後の時間を

---------------------*/

#lastmessage .flex{
    justify-content: center;
    align-items: center;
}
#lastmessage .ttlarea{
    width: 28%;
    text-align: left;
}
#lastmessage p{
    line-height: 2.6;
    text-align: left;
}
@media screen and (max-width:769px) {
    #lastmessage .ttlarea{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    #lastmessage p{
        text-align: center;
    }
}
/*---------------------

CTA

---------------------*/
.cta{
    padding: 100px 0;
}
.cta .btnarea{
    margin: 0;
}
#cta1{
    background: url("../images/top/cta1-bg_pc.jpg")no-repeat;
    background-size: cover;
    background-position: center;
}
#cta2{
    background: url("../images/top/cta2-bg_pc.jpg")no-repeat;
    background-size: cover;
    background-position: center;
}
@media screen and (max-width:769px) {
    #cta1{
        background: url("../images/top/cta1-bg_sp.jpg")no-repeat;
        background-size: cover;
    }
    #cta2{
        background: url("../images/top/cta2-bg_sp.jpg")no-repeat;
        background-size: cover;
    }
    .cta{
        padding: 150px 0;
    }
}
@media screen and (max-width:425px) {
    .cta{
        padding: 60px 0;
    }
}
/*---------------------

お客様の声

---------------------*/
#voice .inner{
    width: 80%;
    margin-right: 0;
}
#voice .voice img{
    aspect-ratio: 14 / 9;
    object-fit: cover;
    border-radius: 20px;
    width: 100%; /* 親要素に合わせて幅を調整 */
  height: auto; /* 高さは自動調整（アスペクト比維持） */
}
#voice .voice .txt{
    padding: 30px;
}
#voice .voice .txt p{
    font-size: 1.6rem;
}
#voice .voice .slidenav{
    position: relative;
}
.swiper-autoheight .swiper-wrapper{
    padding-bottom: 40px;
}
.slidenav{
  display: flex;
  justify-content: left;
    margin-left: 2%;
}
.swiper-pagination {
  position: static;
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
  width: auto;
}
.swiper-pagination-bullets {
  display: flex;
  align-items: center;
}
.swiper-button-prev,
.swiper-button-next {
  position: static;
  margin-top: initial;
}
.swiper-button-prev::after,
.swiper-button-next::after {
/*  display: none;*/
}
.swiper-button-prev:after,
.swiper-button-next:after{
    content: "";
    border-right: var(--white-color) solid 1px;
    border-bottom: var(--white-color) solid 1px;
    transform: rotate(-45deg);
    width: 10px;
    height: 10px;
    left: 40%;
     margin-left: -2px;
}
.swiper-button-prev:after{
    transform: rotate(135deg);
    left: 40%;
    margin-left: 4px;
}
.swiper-button-prev,
.swiper-button-next{
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background: var(--main-color) ;
}
.swiper-pagination{
    margin: 0 13px;
}
.swiper-pagination-bullet-active{
    background: var(--main-color);
}
@media screen and (max-width:425px) {
    #voice .voice .txt{
        padding: 20px 10px;
    }
    .slidenav{
        margin: -30px 0 0 2%;
    }
}
/*---------------------

利用の流れ

---------------------*/
.steplist{
    display: grid;
    gap:30px;
    max-width: 800px;
    margin: 0 auto;
}
.steplist li{
    background: rgba(255,255,255,0.76);
    border-radius: 20px;
    box-shadow: 0px 0px 29px -5px rgba(105,185,221,0.7);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.steplist li::after{
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    bottom: -10px;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 23px calc(41px / 2) 0 calc(41px / 2);
    border-color: var(--main-color) transparent transparent transparent;
}
.steplist li:last-of-type::after{
    display: none;
}
.steplist li .icon{
    width: 20%;
    text-align: center;
}
.steplist li .txt{
    width: 78%;
}
.steplist li .txt h3{
    color: var(--main-color);
    font-size: 2.6rem;
}
@media screen and (max-width:769px) {
    .steplist{
        padding: 0 5%;
    }
}
@media screen and (max-width:425px) {
    .steplist{
        gap:20px;
        padding: 0;
    }
    .steplist li{
        padding: 15px 15px 20px;
    }
    .steplist li .icon{
        width: 16%;
    }
    .steplist li .txt h3{
        font-size: 1.6rem;
    }
}
/*---------------------

検討中の病院の方へ

---------------------*/
#hospitalnav .inner{
    background: rgba(255,255,255,0.76);
    border-radius: 20px;
    padding: 80px;
}
#hospitalnav .inner .ttlarea{
    margin-bottom: 40px;
}
#hospitalnav p{
    font-size: 2rem;
    line-height: 2.6;
}
#hospitalnav .logo{
    margin: 40px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:10px;
}
#hospitalnav .logo img{
    width: 18%;
    
}
@media screen and (max-width:769px) {
    #hospitalnav .logo img{
        width: 28%;
    }
    #hospitalnav .inner .ttlarea{
        margin-bottom: 30px;
    }
    #hospitalnav .logo{
        margin: 20px 0 20px;
    }
}
@media screen and (max-width:425px) {
    #hospitalnav .inner{
        padding: 30px 20px 40px;
    }
    #hospitalnav p{
        font-size: 1.5rem;
    }
    #hospitalnav .ttlarea{
        margin-bottom: 15px;
    }
    #hospitalnav .btnarea{
        margin-top: 20px;
    }
    #hospitalnav .btn{
        width: 90%;
    }
}
.skybg{
    background: url("../images/common/sky-bg_pc.jpg")no-repeat;
    background-size: cover;
}
@media screen and (max-width:769px) {
    .skybg{
        background: url("../images/common/sky-bg_sp.jpg")no-repeat;
        background-size: cover;
    }
}


@media screen and (max-width:1350px){

}

@media screen and (max-width:1024px) {

  
}
@media screen and (max-width:769px) {
  

}
@media screen and (max-width:360px) {
}
