@charset "utf-8";

html{width: 100%;font-size:12px;color:#333333;background-color: #fff;font-weight:400;font-family:"游ゴシック",sans-serif;min-width:1300px;scroll-behavior: smooth;}.spOnly{display:none;}@media only screen and (max-width:768px){html{min-width:0;}.spOnly{display:block;}.pcOnly{display:none;}}
::selection{background-color: #ffbace;color: #fff;text-shadow: none;}
img{width: 100%;height: auto;}
html a{
    text-decoration: none;
}
.ripple:hover{position: relative;}
.ripple:hover::before{
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    border: 5px double #fff;
    width: 100%;
    height: 100%;
    border-radius: 0 20px 0 75px;
    animation: ripples .7s forwards linear;
}
@keyframes ripples{
from{
    transform: scale(.05);
}
80%{
    opacity: .8;
}
to{
    transform: scale(1);
    opacity: 0;
}
}
.btnLink .inner_btnLink:active::before{
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    border: 1px solid #fff;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    animation: ripples .2s forwards;
}
.fadeUp{animation-name: fade;animation-duration: 1.5s;animation-fill-mode: forwards;opacity: 0;}
.hover11:hover{animation: bigUp 1s infinite;}
@keyframes fade{
    from{
        opacity: 0;
        transform: translateY(100px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
.fadeOn{animation-name: backFade;animation-duration: 1.5s;animation-fill-mode: forwards;opacity: 0;}
@keyframes backFade{
    from{
        opacity: 0;
        transform: translateY(100px);
    }
    to{
        opacity: 0.5;
        transform: translateY(0);
    }
}
.fadeOut{animation-name: easeB;animation-duration: 1.5s;animation-fill-mode: forwards;opacity: 0;}
@keyframes easeB{
    from{
        opacity: 1;
    }
    to{
        opacity: 0;
    }
}
.fadeOut2{animation-name: easeB2;animation-duration: 1.5s;animation-fill-mode: forwards;opacity: 0;}
@keyframes easeB2{
    from{
        opacity: 0.4;
    }
    to{
        opacity: 0;
    }
}
@keyframes bigUp{
    from{
        transform: scale(1);
    }
    50%{
        transform: scale(1.05);
        box-shadow: 0px 0px 5px 5px rgb(0, 0, 0, .1);
        filter: brightness(1.02);
    }
    to{
        transform: scale(1);
        box-shadow: none;
        filter: none;
    }
}
/*▲とりあえず共通しそうなやつで思いついたやつ書いてく*/

/* スクロールバー */
/* スクロールバー全体 */
::-webkit-scrollbar{
    width: 10px;
    /* display: none; */
 }
/* スクロールバーの棒のとこ */
 ::-webkit-scrollbar-track{
    background-color: #f7f2e9;
 }
/* スクロールで動くとこ */
 ::-webkit-scrollbar-thumb{
    background-color: #ffbace;
    border-radius: 5px;
 }

 /* ScrollAnime - スクロールの矢印 */
 .ScrollAnime{
    position: fixed;
    bottom: 50px;
    right: 50px;
    animation: scrollA 1.5s infinite;
 }
 .ScrollAnime .anime{
    position: relative;
    writing-mode: vertical-rl;
    color: #ffbace;
    font-size: 12px;
    letter-spacing: 1px;
 }
 .ScrollAnime .anime::before{
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    height: 130%;
    background-color: #ffbace;
    left: -3px;
    top: 0;
 }
 .ScrollAnime .anime::after{
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    height: 11px;
    background-color: #ffbace;
    transform: rotate(30deg);
    left: 0px;
    bottom: -30%;
 }


 @keyframes scrollA{
    from{
        transform: translateY(0);
    }

    50%{
        transform: translateY(10px);
    }
    to{
        transform: translateY(0);
    }
 }

 .beB{
    animation: beBA 1s forwards;
 }

 @keyframes beBA{
    from{
        color: #ffbace;
    }
    to{
        color: #000;
    }
 }


/* boxFamile */
.boxFamile{
    max-width: 1000px;
    width: 100%;
    margin: 0 auto 60px;
}
.boxFamile .tit_Famile{
    font-size: 40px;
    letter-spacing: 2px;
    position: relative;
    text-align: center;
    width: fit-content;
    z-index: 9;
    margin: 0 auto 30px;
    font-weight: 600;
}
.boxFamile .boxUp_Famile{
    position: relative;
    width: 100%;
    z-index: 9;
}
.boxFamile .back_UpFamile{
    position: absolute;
    background-color: #fff;
    border: 5px solid #ddf5f0;
    top: 0;
    right: 0;
    height: 100%;
    width: 93.96%;
    z-index: -1;
    border-radius: 20px 20px 0 20px;
    overflow: hidden;
}
.boxFamile .innerBack_UpFamile{
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 9;
}
.boxFamile .innerBack_UpFamile::before{
    content: "";
    position: absolute;
    display: block;
    background: url(../img/Famile/circle_Famile.png) center/contain no-repeat;
    width: 371px;
    height: 375px;
    top: -150px;
    left: -75px;
    animation: roll 31s infinite linear;
}
.boxFamile .innerBack_UpFamile::after{
    content: "";
    position: absolute;
    display: block;
    z-index: 9;
    bottom: -86px;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 86px solid transparent;
    border-bottom: 86px solid transparent;
    border-right: 643px solid #ddf5f0;
    border-left: 0;
}
.boxFamile .tit_Famile::before{
    content: "";
    position: absolute;
    display: block;
    transform: translate(-50%,0);
    bottom: 0;
    left: 50%;
    background-color: #ffdfda;
    width: 105%;
    height: 45%;
    z-index: -1;
}
.boxFamile .com_Doctor{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0 20px;
}
.boxFamile .boxImg_Doctor{
    width: 384px;
}
.boxFamile .boxTxt_Famile{
    width: calc(100% - 384px);
    margin: 35px 15px 10px 0;
    position: relative;
    z-index: 9;
}
.boxFamile .boxTxt_Famile::before{
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: #fff;
    opacity: .6;
    z-index: -1;
}
.boxFamile .titCom_Famile{
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-weight: 600;
}
.boxFamile .txt_Famile{
    font-size: 19px;
    letter-spacing: .2px;
    line-height: 1.67;
}
.boxFamile .boxUnder_Famile{
    width: 100%;
    background-color: #fff;
    border: 5px solid #ddf5f0;
    border-radius: 20px 0 20px 20px;
    padding: 10px 15px;
    position: relative;
    overflow: hidden;
}
.boxFamile .boxUnder_Famile::before,
.boxFamile .boxUnder_Famile::after{
    content: "";
    display: block;
    position: absolute;
}
.boxFamile .boxUnder_Famile::before{
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 33px solid transparent;
    border-bottom: 33px solid transparent;
    border-left: 150px solid #ddf5f0;
    border-right: 0;
    bottom: -33px;
    left: 0;
}
.boxFamile .boxUnder_Famile::after{
    background: url(../img/Famile/circle_Famile.png) center/contain no-repeat;
    width: 263px;
    height: 265px;
    top: -125px;
    right: -20px;
    animation: roll 29s infinite linear;
}
.boxFamile .boxName_Famile{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 99;
    gap: 0 20px;
    margin-bottom: 10px;
}
.boxFamile .boxTxt_UnderFamile{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 10px 0;
}
.boxFamile .name_Famile01{
    font-size: 20px;
}
.boxFamile .name_Famile02{
    font-size: 24px;
}
.boxFamile .name_Famile03{
    font-size: 36px;
    letter-spacing: 1px;
}
.boxFamile .comp_Famile{
    font-size: 18px;
    padding-left: 101px;
    line-height: 1.34;
}
@media only screen and (max-width:768px){
    .boxFamile{
        margin:0 auto 6.5vw;
    }
    .boxFamile .tit_Famile{
        font-size: 5.2vw;
        letter-spacing: .04vw;
        margin: 0 auto 3.9vw;
    }
    .boxFamile .back_UpFamile{
        border: 0.65vw solid #ddf5f0;
        border-radius: 2.6vw 2.6vw 0 2.6vw;
    }
    .boxFamile .innerBack_UpFamile::before{
        width: 48vw;
        height: 48.8vw;
        top: -19.5vw;
        left: -9.7vw;
    }
    .boxFamile .innerBack_UpFamile::after{
        bottom: -11.19vw;
        border-top: 11.19vw solid transparent;
        border-bottom: 11.19vw solid transparent;
        border-right: 83.7vw solid #ddf5f0;
    }
    .boxFamile .com_Doctor{
        gap: 0 1.3vw;
        gap: 0;
        position: relative;
        justify-content: end;
    }
    .boxFamile .boxImg_Doctor{
        width: 37.5vw;
        position: absolute;
        left: 0;
        bottom: 0;
    }
    .boxFamile .boxTxt_Famile{
        width: calc(100% - 28.8vw);
        padding: 1vw 2vw;
        margin: 4.55vw 1.95vw 1.3vw 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .boxFamile .boxTxt_Famile::before{
        border-radius: 1.3vw;
    }
    .boxFamile .titCom_Famile{
        font-size: 3.9vw;
        letter-spacing: .02vw;
        margin-bottom: 3.25vw;
    }
    .boxFamile .txt_Famile{
        font-size: 2.6vw;
        letter-spacing: .01vw;
    }
    .boxFamile .boxUnder_Famile{
        border: .65vw solid #ddf5f0;
        border-radius: 2.6vw 0 2.6vw 2.6vw;
        padding: 1.3vw 1.95vw;
    }
    .boxFamile .boxUnder_Famile::before{
        border-top: 4.29vw solid transparent;
        border-bottom: 4.29vw solid transparent;
        border-left: 19.5vw solid #ddf5f0;
        bottom: -4.29vw;
    }
    .boxFamile .boxUnder_Famile::after{
        width: 34.2vw;
        height: 34.5vw;
        top: -16.3vw;
        right: -2.6vw;
    }
    .boxFamile .boxName_Famile{
        gap: 0 2.6vw;
        margin-bottom: 1.3vw;
    }
    .boxFamile .boxTxt_UnderFamile{
        gap: 1.3vw 0;
    }
    .boxFamile .name_Famile01{
        font-size: 2.6vw;
    }
    .boxFamile .name_Famile02{
        font-size: 3.125vw;
    }
    .boxFamile .name_Famile03{
        font-size: 4.6875vw;
        letter-spacing: .02vw;
    }
    .boxFamile .comp_Famile{
        font-size: 2.47vw;
        padding-left: 13.15vw;
    }
    .boxFamile .boxImg_logo{
        width: 10.546875vw;
        height: auto;
    }
}
  
@keyframes roll{
    from{
        rotate: 0deg;
    }
    to{
        rotate: 360deg;
    }
}


/* boxMaternity */
.boxMaternity{
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 100px;
}
.boxMaternity .tit_Maternity{
    text-align: center;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.44;
    margin-bottom: 25px;
    letter-spacing: 1px;
}
.boxMaternity .boxImg_Maternity_train{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 10px;
    margin-bottom: 25px;
}
.boxMaternity .Img_Maternity_train{
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.4);
}
.boxMaternity .txt_Maternity{
    text-align: center;
    font-size: 22px;
    line-height: 1.44;
    letter-spacing: .5px;
    margin-bottom: 20px;
}
.boxMaternity .cau_Maternity{
    font-size: 16px;
    line-height: 1.34;
}
@media only screen and (max-width:768px){
    .boxMaternity{
        margin: 0 auto 13vw;
    }
    .boxMaternity .tit_Maternity{
        font-size: 4.1vw;
        margin-bottom: 3.25vw;
        letter-spacing: .02vw;
    }
    .boxMaternity .boxImg_Maternity_train{
        gap: 0 1.3vw;
        margin-bottom: 3.25vw;
    }
    .boxMaternity .txt_Maternity{
        font-size: 2.75vw;
        letter-spacing: .01vw;
        margin-bottom: 2.6vw;
    }
    .boxMaternity .cau_Maternity{
        font-size: 2.1vw;
    }
}

/* .boxMaternity .txt_Maternity{
    position: relative;
}
.boxMaternity .txt_Maternity::before{
    content: "";
    display: block;
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 99;
    background-color: #ffbace;
    border-radius: 100%;
    animation: gunyo 5s linear infinite;
    width: random(--x,50px, 100px);
    height: random(--y,50px, 100px);
}
@keyframes gunyo{
    from{
        width: 10px;
        height: 10px;
    }
    to{
        width: random(--x,50px, 100px);
        height: random(--y,50px, 100px);
    }
} */