@charset "UTF-8";

/* 共通部分
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
html{
    font-size: 100%;
    overflow-x: hidden;
}
body{
    font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans",sans-serif;
    line-height: 1.7;
    color: #000;
    background-color: #FCF7E1;
    animation: body 1s 1 linear;
}
@keyframes body{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
a{
    text-decoration: none;
}
img{
    max-width: 100%;
}

/* レイアウト
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.wrapper{
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.align-center{
    text-align: center;
}

/* ヘッダー
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.page-header{
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo{
    max-width: 240px;
    margin-left: -.7rem;;
}
.main-nav{
    display: flex;
    justify-content: flex-end;
    gap: 1.5px;
    margin-right: -1rem;
}
.nav-icon{
    max-width: 25px;
}

/* ハンバーガーメニューーーーーーー */
.menu-btn{
    display: flex;
    height: 25px;
    width: 25px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #5A9F4D;
    border-radius: 50%;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after{
    content: '';
    display: block;
    height: 1px;
    width: 11px;
    background-color: #fff;
    position: absolute;
}
.menu-btn span::before{
    bottom: 3.5px;
}
.menu-btn span::after{
    top: 3.5px;
}
#menu-btn-check:checked~.menu-btn span{
    background-color: rgba(255,255,255,0);
}
#menu-btn-check:checked~.menu-btn span::before{
    bottom: 0;
    transform: rotate(45deg);
    z-index: 100;
}
#menu-btn-check:checked~.menu-btn span::after{
    top: 0;
    transform: rotate(-45deg);
    z-index: 100;
}
#menu-btn-check{
    display: none;
}

.hmenu-content{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: #5A9F4D;
}
.hmenu-content ul{
    padding: 70px 10px 0;
}
.hmenu-content ul li{
    border-bottom: 1px solid #fff;
    list-style: none;
}
.hmenu-content ul li a{
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #fff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.hmenu-content ul li a::before{
    content: '';
    width: 7px;
    height: 7px;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}
.hmenu-content{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    background-color: #5A9F4D;
    transition: all 0.5s;
}
#menu-btn-check:checked~.hmenu-content{
    left: 0;
}


/* 見出し
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.top-page-title{
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
    font-size: 1.5rem;
}
.tomo-title{
    font-size: 5.3rem;
    color: #5A9F4D;
    font-family: "Montserrat", system-ui;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

/* ボタン
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.btn{
    display: block;
    background-color: #ECE4CC;
    border-radius: 16px;
    padding: .75rem 1.5rem;
    aspect-ratio: 1/1;
    object-fit: cover;
    color: #000;
    transition: .5s;
}
.btn ::first-letter{
    color: #3A833D;
}
.btn:hover{
    background-color: #5A9F4D;
    color: #fff;
}
.icon-img{
    max-width: 80%;
    transition: .8s;
    padding-top: 1rem;
}
.icon-img:hover{
    scale: 1.13;
}

.news-btn{
    display: inline-block;
    background-color: #FCF7E1;
    border-radius: 25px;
    padding: .5rem 1rem;
    color: #3A833D;
    transition: .5s;
    margin-top: 2rem;
}
.news-btn:hover{
    scale: 1.13;
}

.get-btn{
    display: inline-block;
    background-color: #fff;
    border-radius: 16px;
    padding: 1rem 1.2rem;
    width: 10.5rem;
    font-size: .8rem;
    color: #3A833D;
    transition: .5s;
}
.get-btn:hover{
    background-color: #5A9F4D;
    color: #fff;
    scale: 1.13;
}

/* ホーム
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.top-img{
    border-radius: 16px;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.container-top{
    position: relative;
    margin-top: 7.2rem;
}
.tomo-p{
    position: absolute;
    top: -5.9rem;
    left: 1.9rem;
    margin: 0 auto;
}
.container-mess{
    position: relative;
    margin-top: 8rem;
    margin-bottom: 4rem;
}
/*　↓ 小見出し ↓　*/
.title-font_big{
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
    color: #F4F0DB;
    font-size: 5.5rem;
    text-align: center;
    line-height: .8;
}
.title-font_small{
    font-family: "Montserrat", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.mess-line{
    background-color: #000;
    height: 1px;
    width: 7rem;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.meess-p{
    text-align: center;
    padding: 0 1.5rem;
}
.container-depart{
    position: relative;
    margin-top: 7rem;
    margin-bottom: .7rem;
    height: 10rem;
}
.title-font_small2{
    font-family: "Montserrat", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    position: absolute;
    top: 37%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.depart-line{
    background-color: #000;
    height: 1px;
    width: 9.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.b-title{
    text-align: center;
    position: absolute;
    top: 64%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 1.5rem;
}

/* グリット ーーー*/
.grid{
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2,minmax(0,1fr));
    text-align: center;
    margin-bottom: 9rem;
}
.icon-img{
    aspect-ratio: 1/1;
    object-fit: cover;
}
.icon-p{
    font-size: .7rem;
}
/* ーーーーーーーーー */

.container-news{
    position: relative;
    margin-top: -3rem;
    margin-bottom: -1rem;
    height: 13rem;
}
.title-font_small3{
    font-family: "Montserrat", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
}
.news-line{
    background-color: #fff;
    height: 1px;
    width: 6.5rem;
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.b-title2{
    text-align: center;
    position: absolute;
    top: 74%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 1.5rem;
    color: #fff;
}
.news-wrapper{
    background-color: #5A9F4D;
    padding-bottom: 7rem;
}

.news-p{
    color: #fff;
    line-height: 2.3;
}
.news-li{
    list-style: none;
    padding: 1.5rem 0;
    border-bottom: 1px solid #fff;
}
.news-ul{
    margin-bottom: 2rem;
}

.container-get{
    position: relative;
    margin-top: 6rem;
    margin-bottom: 4rem;
}
.title-font_big2{
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
    color: #F4F0DB;
    font-size: 5.4rem;
    text-align: center;
    line-height: .8;
}
.title-font_small4{
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 1.2rem;
}
.get-line{
    background-color: #000;
    height: 1px;
    width: 10.5rem;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.get-flex{
    display: flex;
    margin-bottom: 4rem;
    gap: 1rem;
}
.get-item{
    display: flex;
    justify-content: center;
    margin: 0 auto;
}
.table-footer{
    margin-bottom: 1.5rem;
}

/* fotterアニメーション ーーーーーーーーーーーーーーーーーーーーーー*/
.c-text{
    overflow: hidden;
    display: flex;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
}
.c-text-item{
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 8rem;
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
    color: #F4F0DB;
    margin-bottom: -3.8rem;

    &:nth-child(odd) {
    animation: MoveLeft 30s -15s infinite linear; 
    /* 30秒かけて-15秒後に無限ループさせる */
    }

    &:nth-child(even) {
    animation: MoveLeft2 30s infinite linear; 
    /* 30秒かけて無限ループさせる */
    }
}
@keyframes MoveLeft {
    from {
    transform: translateX(100%);
    }
    to {
    transform: translateX(-100%);
    }
}

@keyframes MoveLeft2 {
    from {
    transform: translateX(0);
    }
    to {
    transform: translateX(-200%);
    }
}

/* ↑ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

.footer-wrapper{
    background-color: #ECE4CC;
}
.footer-nav li{
    list-style: none;
    font-size: .8rem;
}
.fot_icon{
    width: 30px;
}
.footer-logo{
    width:130px ;
}
.container-fot{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 5rem 2rem;
}
.footer-icon{
    padding-top: .5rem;
}
.footer-nav a{
    color: #000;
}
.footer-nav li{
    width: 145px;
}




/* 診療時間・アクセス
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.info-title{
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
    color: #5A9F4D;
    font-size: 3.6rem;
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 5rem;
}
.info-p{
    font-size: 0.8rem;
    margin: .2rem 0 4rem;
}
.info-table{
    margin-bottom: 5rem;
}
.map-img img{
    border-radius: 0 0 16px 16px;
}
iframe{
    width: 100%;
    border-radius: 16px 16px 0 0;
    margin-bottom: -.6rem;
}
.container-map{
    margin-bottom: 6rem;
}



/* ここから下はアニメーションーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
/* ローディング画面ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

/* Loading背景画面設定　*/
#splash {
    /*fixedで全面に固定*/
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999;
    background:#5A9F4D;
    text-align:center;
    color:#fff;
    }
    
    /* Loading画像中央配置　*/
    #splash_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    }
    
    /* Loading アイコンの大きさ設定　*/
    #splash_logo img {
    width:300px;
    }
    
    /* fadeUpをするアイコンの動き */
    .fadeUp{
    animation-name: fadeUpAnime;
    animation-duration:0.5s;
    animation-fill-mode:forwards;
    opacity: 0;
    }
    
    @keyframes fadeUpAnime{
    from {
        opacity: 0;
    transform: translateY(100px);
    }
    
    to {
        opacity: 1;
    transform: translateY(0);
    }
    }



    /*========= 流れるテキスト ===============*/

/*全共通*/

.slide-in {
	overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
	display: inline-block;

}

/*左右のアニメーション*/
.leftAnime{
    opacity: 0;/*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
	animation-name:slideTextX100;
	animation-duration:0.8s;
	animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes slideTextX100 {
from {
	transform: translateX(-100%); /*要素を左の枠外に移動*/
        opacity: 0;
}

to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
}
}

.slideAnimeRightLeft {
	animation-name:slideTextX-100;
	animation-duration:0.8s;
	animation-fill-mode:forwards;
    opacity: 0;
}


@keyframes slideTextX-100 {
from {
	transform: translateX(100%);/*要素を右の枠外に移動*/
    opacity: 0;
}

to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
}
}


/* 滑らかに出現アニメーションーーーーーーーーーーーーーーーーーーーーーーーーーーー */
span.smoothText {
	overflow: hidden;
	display: block;
}

/* アニメーションで傾斜がついている文字列を水平に戻す*/
span.smoothTextTrigger{
	transition: .8s ease-in-out;
	transform: translate3d(0,100%,0) skewY(12deg);
	transform-origin: left;
	display: block;
}
span.smoothTextTrigger.smoothTextAppear{
    transform: translate3d(0,0,0) skewY(0);
}






/* デスクトップ版
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
@media (min-width: 767px){

.logo{
    max-width: 510px;
}
.nav-icon{
    max-width: 50px;
}
.main-nav{
    gap: 3px;
}
.page-header{
    padding-top: 3rem;
}
/* ハンバーガーメニュー */
.menu-btn{
    display: flex;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #5A9F4D;
    border-radius: 50%;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after{
    content: '';
    display: block;
    height: 1px;
    width: 23px;
    background-color: #fff;
    position: absolute;
}
.menu-btn span::before{
    bottom: 6px;
}
.menu-btn span::after{
    top: 6px;
}
#menu-btn-check:checked~.menu-btn span{
    background-color: rgba(255,255,255,0);
}
#menu-btn-check:checked~.menu-btn span::before{
    bottom: 0;
    transform: rotate(45deg);
    z-index: 100;
}
#menu-btn-check:checked~.menu-btn span::after{
    top: 0;
    transform: rotate(-45deg);
    z-index: 100;
}
#menu-btn-check{
    display: none;
}

.hmenu-content{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: #5A9F4D;
}
.hmenu-content ul{
    padding: 90px 10px 0;
}
.hmenu-content ul li{
    border-bottom: 1px solid #fff;
    list-style: none;
}
.hmenu-content ul li a{
    display: block;
    width: 100%;
    font-size: 18px;
    box-sizing: border-box;
    color: #fff;
    text-decoration: none;
    padding: 20px 15px 14px 0;
    position: relative;
}
.hmenu-content ul li a::before{
    content: '';
    width: 12px;
    height: 12px;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    transform: rotate(45deg);
    position: absolute;
    right: 30px;
    top: 30px;
}
.hmenu-content{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    background-color: #5A9F4D;
    transition: all 0.5s;
}
#menu-btn-check:checked~.hmenu-content{
    left: 0;
}

/* 見出し
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.top-page-title{
    padding: 6rem 2rem 2rem;
    font-size: 3rem;
}
.tomo-title{
    font-size: 13.5rem;
}




/* ボタン
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.icon-img:hover{
    scale: 1.15;
}

.news-btn{
    font-size: 1.3rem;
}

.get-btn{
    border-radius: 18px;
    padding: 1.2rem 1.5rem;
    width: 20rem;
    font-size: 1.5rem;
}





/* ホーム
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.top-img{
    aspect-ratio: 4/3;
    object-fit: cover;
}
.container-top{
    position: relative;
    margin-top: 13rem;
}
.tomo-p{
    position: absolute;
    top: -13.6rem;
    left: 1.9rem;
    margin: 0 auto;
}


.container-mess{
    position: relative;
    margin-top: 10rem;
    margin-bottom: 6rem;
}
/*　↓ 小見出し ↓　*/
.title-font_big{
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
    color: #F4F0DB;
    font-size: 9rem;
    text-align: center;
    line-height: .8;
}
.title-font_small{
    font-family: "Montserrat", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    position: absolute;
    font-size: 2.4rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.mess-line{
    background-color: #000;
    height: 1px;
    width: 11.5rem;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.meess-p{
    text-align: center;
    padding: 0 1.5rem;
    font-size: 1.3rem;
}



.container-depart{
    position: relative;
    margin-top: 15rem;
    margin-bottom: 2.5rem;
    height: 10rem;
}
.title-font_small2{
    font-family: "Montserrat", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 2.4rem;
    text-align: center;
    position: absolute;
    top: 31%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.depart-line{
    background-color: #000;
    height: 1px;
    width: 16rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.b-title{
    text-align: center;
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 2rem;
}

/* グリット ーーー*/
.grid{
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(4,minmax(0,1fr));
    text-align: center;
    margin-bottom: 10rem;
}
.icon-img{
    aspect-ratio: 1/1;
    object-fit: cover;
}

.icon-p{
    font-size: 1rem;
}
/* ーーーーーーーーー */




.news-wrapper{
    padding-bottom: 7rem;
}

.container-news{
    position: relative;
    margin-top: 15rem;
    padding: 6rem 0 3rem;
}
.title-font_small3{
    font-size: 2.4rem;
    top: 51%;
}
.news-line{
    width: 9rem;
}
.b-title2{
    font-size: 2rem;
}
.news-p{
    font-size: 1.3rem;
}






.container-get{
    margin-top: 10rem;
    margin-bottom: 6rem;
}
.title-font_big2{
    font-size: 9rem;
}
.title-font_small4{
    font-size: 2.2rem;
}
.get-line{
    width: 19rem;
}
.get-flex{
    display: flex;
    margin-bottom: 12.5rem;
    gap: 1rem;
}
.get-item{
    display: flex;
    justify-content: center;
    margin: 0 auto;
}
.table-footer{
    margin-bottom: 7rem;
}






/* fotterアニメーション ーーーーーーーーーーーーーーーーーーーーーー*/

.c-text-item{
    font-size: 14rem;
    margin-bottom: -6.6rem;
}
/* ↑ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

.footer-nav li{
    font-size: 1.3rem;
}
.fot_icon{
    width: 55px;
}
.footer-logo{
    width:250px ;
}
.container-fot{
    gap: 10rem;
    padding: 5rem 2rem;
}
.footer-icon{
    padding-top: 1rem;
}
.footer-nav li{
    width: 250px;
}
.footer-wrapper{
    padding-bottom: 5rem;
    padding-top: 5rem;
}

/* 診療時間・アクセス
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.info-title{
    font-size: 9.9rem;
    text-align: left;
    padding-top: 7rem;
    padding-bottom: 6rem;
    padding-left: 3rem;
}
.info-title-small h3{
    font-size: 2.5rem;
}
.info-p{
    font-size: 1.5rem;
    margin: 1rem 0 14rem;
}
.info-table{
    margin-bottom: 8.5rem;
}
.map-img img{
    border-radius: 0 16px 16px 0;
    max-width: 500px;
}
iframe{
    width: 152%;
    border-radius: 16px 0 0 16px;
    margin-bottom: 0;
}
.container-map{
    margin-bottom: 10rem;
    display: flex;
    justify-content: space-between;
}


}

