
/*============================================================================

	#mainvisual

============================================================================*/

#mainvisual{
	height:690px;
	background-image:url(../images/mainvisual_slide1.png);
}

@media screen and (max-width:640px) {
/* スマホ */
#mainvisual{
	height:300px;
}

.mainvisual_catch {
    top: 100px;
}

.mainvisual_catch img{
    width: 80%;
}

.mainvisual_open{
	display:none;
}

.top_news {
    overflow: hidden;
}

.top_news .box1 {
    width: 89%;
    margin: 0 auto;
    height: 300px;
    z-index: 5;
}

.top_news::before {
    content: "";
    position: absolute;
    left: -1%;
    top: -1%;
    width: 30%;
    height: 30%;
    margin: auto;
    background: url(../images/newsbg1.png) no-repeat;
    z-index: 1;
    background-size: contain;
}

.top_news::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -13%;
    width: 30%;
    height: 30%;
    margin: auto;
    background: url(../images/newsbg2.png) no-repeat;
    z-index: 1;
    animation: ship 2s 0.3s ease-in-out infinite alternate;
    background-size: contain;
}

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

    to {
        transform: translateY(-5px);
    }
}

.scroll_area {
    height: 150px;
    color: #fff;
}

.date {
    margin-right: 0;
	margin-left: 0 !important;
    display: block;
	overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.news_text p span:nth-of-type(1){
	margin: 0 0 10px 0 !important;
}

.category {
    width: 100%;
    height: auto;
    margin: 0 0 15px !important;
    font-size: 16px;
    display: inline-block;
    text-align: center;
    padding: 7px 0;
}

.top_medical .box1 h3.tit01 {
    font-size: 22px;
    letter-spacing: 0;
}

.top_medical_list {
    margin: 0 auto 40px;
    width: 90%;
}

.top_medical_list a {
    width: 45%;
    margin-right: 10%;
}

.top_medical_list a:nth-child(even){
	margin-right:0;
}

.top_medical_list dl dd {
    font-size: 20px;
}

.top_medical dl.consultation {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: auto;
    background: #f1f1f1;
    background-image: none;
}

.top_medical dl.consultation dt {
width: 90%;
float: none;
text-align: center;
padding: 20px 0;
font-family: Shuei Mincho M, serif;
font-size: 17px;
letter-spacing: 0;
margin: 0 auto;
}

.top_medical dl.consultation dd {
    width: 90%;
    float: none;
    margin: 0 auto;
}

.top_medical dl.consultation::before {
content: "";
position: absolute;
left: 0;
right: -75%;
top: 60px;
width: 70px;
height: 200px;
margin: auto;
background: url(../images/symptom_img5.png) no-repeat;
    background-size: auto auto;
background-size: contain;
opacity: 0.4;
/*display:none;*/
}

.top_medical dl.consultation dd .list03 li {
    float: left;
    width: 50%;
    font-size: 17px;
    margin-bottom: 15px;
}

.top_doctor h3.tit01 {
    width: 100%;
    text-align: center;
    padding: 7px 0 0 !important;
    margin-bottom: 43px;
}

.top_doctor .box1 {
    width: 90%;
    margin: 0 auto 100px;
}

.top_doctor .box2 .text span {
    text-align: left;
}

.top_doctor_img2 {
    float: none;
    margin: 100px 0 0;
    width: auto;
}

.top_doctor .box2 .text a {
    text-align: center;
    display: block;
    margin: 0 0 20px;
}

.top_medical4 .top_medical_list a {
    display: block;
    float: left;
    max-width: 47.5% !important;
	width:auto;
    margin-right: 5%;
    margin-bottom: 5%;
    text-align: center;
}

.top_medical4 .top_medical_list a:nth-child(even) {
    margin-right: 0;
}

.top_medical4 .top_medical_list a:nth-child(3n) {
    margin-right: 5%;
}

.top_medical4 .top_medical_list a:nth-child(6) {
    margin-right: 0;
}

.top_medical4 a:nth-of-type(2) {
    background: url(../images/top_faci_img02_bg.png) no-repeat;
    top: 0;
    position: relative;
}

.top_medical4 a:nth-of-type(5) {
    background: url(../images/top_faci_img05_bg.png) no-repeat;
    top: 0;
    position: relative;
}

.top_medical4 .top_medical_list dl dt {
    margin-bottom: 0;
}

.top_medical4 .top_medical_list {
    width: 90%;
    margin: 0 auto;
	display:block !important;
}

.top_medical4 a:nth-of-type(1),
.top_medical4 a:nth-of-type(2),
.top_medical4 a:nth-of-type(3),
.top_medical4 a:nth-of-type(4),
.top_medical4 a:nth-of-type(5),
.top_medical4 a:nth-of-type(6){
	background-size:contain;
}

.top_link {
    padding: 75px 0;
}

.top_link::after {
    top: 90px;
}

.top_link ul {
    width: 90%;
    margin: 0 auto;
}

.top_link li:first-child {
    float: none;
    margin: 0 0 20px;
}

.top_link li:last-child {
    float: none;
    margin: 0;
}

}



@media screen and (max-width:320px) {
	
	.top_news::after {
    bottom: -16%;
}
	
}