@charset "UTF-8";

/*toppage
----------------------------------------------------*/
#treat_nav {
    padding: 1em 0;
    box-shadow: 10px 0 20px rgba(0,0,0,0.2);
}

#treat_nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#treat_nav ul li {
    width: 33.333%;
}

#treat_nav ul a {
    display: block;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #fff;
    text-align: center;
    padding: 15px 0 0;
    box-sizing: border-box;
    text-decoration: none;
    color: #2d9629;
    font-size: 14px;
    font-size: 1.4rem;
	font-family: "Zen Maru Gothic", serif;
	font-weight: 500;
    margin: 1em auto;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
}

#treat_nav ul a:hover {
    background: #effac8;
}

#treat_nav ul a span {
    letter-spacing: -0.1em;
}

#treat_nav ul a img {
    width: auto;
    height: 40px;
    padding-bottom: 0.3em;
}

#news {
    background: url(/img/news_bg.png) 3% 15% no-repeat;
    background-size: 30%;
}

#news .box_white {
    padding-top: 50px;
    position: relative;
    z-index: 1;
}

#news .box_white::after {
    content: "";
    display: block;
    position: absolute;
    top: -1em;
    right: 0;
    background: url(/img/bird.png) 100% 100% no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    z-index: 2;
}

#news dt {
    font-weight: bold;
    padding-left: 1.5em;
    position: relative;
    line-height: 1;
    margin-bottom: 0.2em;
}

#news dt::before {
    content: "";
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background: #2d9629;
    position: absolute;
    left: 0;
    top: calc( 50% - 0.5em);
}

#news dt:not(:first-child) {
    margin-top: 1.5em;
}

#news dd a {
    color: #2d9629;
}

#greet .box_white {
    position: relative;
    z-index: 1;
}

#greet .box_white::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -1em;
    right: 0;
    background: url(/img/flower.png) 100% 100% no-repeat;
    background-size: contain;
    width: 70px;
    height: 70px;
    z-index: 2;
}

#greet .img {
    float: right;
    width: 35%;
    padding-left: 3%;
}

#greet .img img {
    border-radius: 50%;
}

#guide .box {
    padding: 20px;
    margin-bottom: 1em;
    border: 3px solid #8dad00;
    box-sizing: border-box;
    box-shadow: none;
    border-radius: 20px;
}

#guide #nursing {
    border-color: #009ada;
}

#guide #tomo {
    border-color: #0066a2;
    position: relative;
    z-index: 1;
}

#guide #tomo::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -0.5em;
    right: 1em;
    background: url(/img/clover.png) 100% 100% no-repeat;
    background-size: contain;
    width: 70px;
    height: 70px;
    z-index: 2;
}

#guide .box h3 {
	font-family: "Zen Maru Gothic", serif;
	font-weight: 500;
	font-size: 2em;
    color: #fff;
    background: #8dad00;
    line-height: 1;
    margin: -23px -23px 0.5em;
    border-radius: 20px 20px 0 0;
    text-align: center;
    padding: 0.5em;
    box-sizing: border-box;
}

#guide #nursing h3 {
    background: #009ada;
}

#guide #tomo h3 {
    background: #0066a2;
}

#guide .box h3 img {
    width: 50px;
    padding-top: 0.4em;
}

#guide .box dt {
	font-family: "Zen Maru Gothic", serif;
	font-weight: 600;
	font-size: 1.2em;
    margin: 1.2em 0 0;
}

#guide .box dd {
    padding-left: 1.3em;
    position: relative;
    line-height: 1;
    margin: 1em 0;
    font-size: 1.1em;
}

#guide .box dd::before {
    content: "";
    display: block;
    width: 0.4em;
    height: 0.4em;
    border-top: 3px solid #8dad00;
    border-left: 3px solid #8dad00;
    transform: rotate(135deg);
    position: absolute;
    left: 0;
    top: 25%;
	transition: 0.5s;
}

#guide .box dd:hover::before {
    left: 3px; 
}

#guide #nursing dd::before {
    border-color: #009ada;
}

#guide #tomo dd::before {
    border-color: #0066a2;
}

#guide .box dd a {
    text-decoration: none;
    color: #222;
}


/*media Queries
----------------------------------------------------*/
@media only screen and (min-width: 800px) {

    #treat_nav ul li {
        width: 20%;
    }

    #treat_nav ul a {
        width: 140px;
        height: 140px;
        font-size: 16px;
        font-size: 1.6rem;
        padding-top: 1.5em;
    }
    
    #treat_nav ul a img {
        height: 60px;
    }

    #news .box_white {
        padding-top: 100px;
    }
    
    #news .box_white::after {
        top: -2em;
        width: 100px;
        height: 100px;
    }
    
    #greet .box_white::after {
        width: 100px;
        height: 100px;
    }

    #guide .cover {
        display: flex;
        justify-content: space-between;
    }

    #guide .cover .box {
        width: 32%;
    }
    
    #guide .box h3 img {
        width: 70px;
    }

    #guide #tomo::after {
        bottom: -1em;
        width: 100px;
        height: 100px;
    }

}

/*media Queries
----------------------------------------------------*/
@media only screen and (min-width: 1400px) {	

    #treat_nav ul {
        gap: 2em;
        justify-content: center;
    }

    #treat_nav ul li {
        width: fit-content;
    }
    
    #treat_nav ul a {
        width: 160px;
        height: 160px;
        font-size: 17px;
        font-size: 1.7rem;
        padding-top: 2em;
    }
}

