@charset "UTF-8";
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

*{
    margin:0;
    padding:0;
    border:0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight:400;
}


p {line-height: 1.3;}
a{text-decoration: none;}


/* baseここまで */







/*
モバイルサイズ
*/

@media screen and (max-width:768px) {
.wrap{
    position: relative;
    width:100%;
    margin: 0;
}


header{
    width:100%;
    padding:5px;
    height:50px;
    background-color:#fff;
    position: relative;
    display:flex;
    flex-wrap: wrap;
    flex-direction: column;
    animation-name: header_anime2;
    animation-duration:1s;
    animation-fill-mode:forwards;
}

@keyframes header_anime2 {
    0% { opacity:0;}
    100% { opacity:1;}
}

#navibutton{
    text-align: right;
}

#navibutton a{
    display:block;
    width:3em;
    margin-bottom: 2px;
    margin-left: auto;
    padding: 0 2em 0.2em;
    border: 1px solid #000;
    border-radius: 3px;
    text-align: center;
}
    
.basenavi{
        display: none;
    }
.basenavi ul{
	display:none;
}
.basenavi li{
	color:white;
	background:midnightblue;
	border-bottom:2px solid white;
    text-align: center;
}
.basenavi li a{
	color:white;
	display:block;
	padding:15px;
}

.mark_nms{
    width: 55px;
    height:50px;
}
.mark_nms img{
    height:50px;
}
.mark_text{
    height:20px;
    display:flex;
 }
 .mark_text div{display:flex;}
.mark_text a:link { color: #fff;}
.mark_text a:visited { color: #fff; }
.mark_text a:hover { color: #fff; }
.mark_text a:active { color: #fff; }

.mark_1 a,.mark_2 a,.mark_3 a,.mark_4 a,.mark_5 a{
    margin-right: 2px;
    padding: 2px;
    text-align: center;
    background-color: darkblue;
    color:white;
    border-radius: 5px;
    font-size: 0.15em;
}
.mark_text2{
    height:25px;
    padding-top:5px;
    font-size: 1.05em;
    font-weight: normal;
    color:#000;
 }

.mark_text2 a,{ color: #000;}
.mark_text2 a:link { color: #000;}
.mark_text2 a:visited { color: #000;}
.mark_text2 a:hover { color: #000;}
.mark_text2 a:active { color: #000;}

.mark_form{
    padding-top: 2px;
    padding-left: 3px;
    
 } 
.mark_form a:link,.mark_form a:visited {
    font-size:6px;
    color: darkblue;
 } 


.subject{
    width:100%;
    height: 100px;
    text-align: center;
    display:flex;
    flex-wrap: wrap;
    flex-direction: column;
    border-bottom: 1px solid #987d09;
    background: linear-gradient(to bottom, #ddd5b0 0%,#ffffff 80%); 
    animation-name: subject_anime2;
    animation-duration:1.5s;
    animation-fill-mode:forwards;
}

@keyframes subject_anime2 {
    0% { opacity:0;margin-top:300px;}
    100% { opacity:1;margin-top: 0;}
}

    
    
.exit{
    padding:3em;
    margin:0 auto;
    text-align: center;
    background: #fff;
}
.exitbox{
    padding: 0 1em 0;
    margin-bottom: 20px;
    text-align: center;
    background: darkblue;
    color:#fff;
    border-radius: 10px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}

 
.exitbox h3{
    padding-top: 5px;
    margin-bottom: 10px;
    border-bottom:1px dotted lightgray;
}
.exitbox ul{
    margin-left: 10px;
    margin-right: 10px;
    padding-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    list-style-type: none;
}
.exitbox li{
      display:inline-block;
    }

.exitbox a,.exitbox a:visited{
    color:#fff;
}
.exitbox a:hover{
    color:yellow;
}
.exitbox1 p{
    text-align: center;
}  
    
.ep{
    padding:30px  1em;
    margin:0 auto;
    text-align: center;
    background: #fff;
}
    
.epbox{ 
    padding:30px 20px 30px;
    border: 1px solid darkblue;
    }
.epbox h3{ 
     font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: darkblue;
    }
    
.epbox h4{ 
    font-size: 18px;
    padding:20px 5px 5px;
    border-bottom:1px solid darkblue;
    margin-bottom: 8px;
    }
.epbox h5{ 
    padding:2px 2px 2px;
    margin: 15px 0 5px;
    font-size: 16px;
    text-align: left;
    color: darkblue;
    border-bottom:1px dotted lightgray;
    }
.epbox h6{ 
    padding:5px 0px 2px;
    font-size: 14px;
    text-align: left;
    font-weight:600;
    }

.eplead{ 
    font-size: 16px;
    line-height: 1.2;
    }
.epbox p{ 
    text-align: left;
    font-size: 13px;
    line-height: 1.7;
    }
.epbox .str{
     font-weight:600;
     color:darkblue;
    }
    
.epbox figure img{ 
    margin:  10px 5px 3px 5px;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
    width:80%;
    }
    .epbox .tosite{
        margin: 10px 20px 20px;
        padding:0px 10px 3px;
        box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
        border-radius: 10px;
        background-color:darkblue;
        color:white;
    }
    .epbox .tosite h5{
        margin: 3px 0 3px;
        padding-top: 10px;
        padding-bottom: 10px;
        line-height: 1;
        color:#fff;
    }
    .epbox .tosite a{
        color:#fff;
    }

    
    #tbox{width:100%;
        margin: 0 auto;
    overflow-x: scroll;}

    #tbox thead td{
        height:10pem;
    } 
.epbox table{
    width:35em;
	border: 0px solid #000;
	border-collapse: collapse;
}


.epbox td:nth-of-type(1){width:4em;}
.epbox td:nth-of-type(2){width:8em;} 
.epbox td:nth-of-type(3){width:5em;}
.epbox td:nth-of-type(4),.epbox td:nth-of-type(5),.epbox td:nth-of-type(6),.epbox td:nth-of-type(7),.epbox td:nth-of-type(8),.epbox td:nth-of-type(9),.epbox td:nth-of-type(10){width:1.8em;}
.epbox td:nth-of-type(11){width:7.5em;}

.epbox .even {
	background: #e4ecfa;
}
.epbox .odd {
	background: #f5f5f5;
}

.epbox thead{
	display: block;
    width:100%;
    overflow-y:scroll;
}
.epbox thead td{
        background-color: darkblue;
    color:#fff;
    padding-top: 3px;
    padding-bottom: 3px;
    height:10em;
}
.epbox thead .tate{
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode:vertical-rl;  
    font-size:1em;
    padding-top:5px;
    height:9.5em;
}
.epbox tbody{
	display: block;
    overflow-y:scroll;
    height:300px;
}

    /* グーグルマップ切り替え */
    #map_large{display: none;}
    #map_small{display: block;width:%
        400px;margin: 0 auto;}
    
footer{
    width:100%;
    padding:20px 0 30px;
    background-color:darkblue;
    color:#fff;
    text-align: center;
}


footer h3{
    width:70%;
    margin: 0 auto 1em;
    font-size: 16px;
    border-bottom:1px dotted lightgray;
    padding:0 2em 0.5em;
}
footer h4{
    width:70%;
    margin: 0 auto 1em;
    font-size: 14px;
    border-bottom:1px dotted lightgray;
    padding:0 2em 0.3em;
}
footer ul{
    margin: 0 auto 3em;
    list-style-type: none;
}
footer li{
    display: block;
    margin: 0 auto 20px;
    font-size: 14px;
    text-align: center;
}
footer li a{
    display: block;
    font-size: 14px;
    text-align: center;
    color:#fff;
}
footer p{
    clear: both;
    font-size: 13px;
    margin-top: 20px;
}
footer a
{color:#fff;
}


}





 /*　サイズが768x以上 
ieのアニメーションは仕様が異なるのでさらに下に
https://qiita.com/sawadays0118/items/bd0731878e9eb49c03f5
*/


@media screen and (min-width:768px) {
    


.wrap{
    position: relative;
    width:960px;
    margin: 0 auto;
}





header{
    position: relative;
    display:flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding:5px;
    height:80px;
    text-overflow: hidden;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    animation-name: h_anime;
    animation-duration: 1s;
    animation-fill-mode:forwards;
}

@keyframes h_anime {
    0% { opacity:0;top: 30px;}
    100% { opacity:1;top: 0px;}
}

#navibutton{
	display:none;	
}

.basenavi{
    display: flex;
    flex-direction:row;
    list-style-type: none;
    justify-content: space-between;
}
.basenavi li{
	color:white;
     width:33.2%;
}

.basenavi li a{
	color:white;
	display:block;
	padding:5px 30px 5px 30px;
	text-decoration:none;
	text-align:center;
    background-color: darkblue;
    font-size: 14px;
    letter-spacing: 0.3em;
   
}

.basenavi li a:hover{
    opacity: 0.8;
}
.basenavi #sp{
    display:none;
}
    
.mark_nms{
    width: 60px;
    height:150px;
}
.mark_nms img{
    height:55px;
}
.mark_text{
    width:900px;
    height:30px;
    display:flex;
    align-content: space-between;
 }
 .mark_text div{width:700px;display:flex;}
.mark_1 a,.mark_2 a,.mark_3 a,.mark_4 a,.mark_5 a{
    margin-right: 5px;
    padding: 4px;
    width:110px;
    text-align: center;
    background-color: darkblue;
    border-radius: 5px;
    font-size: 0.8em;
}
    
.mark_text a,.mark_text h1 a { color: #fff;}
.mark_text a:link { color: #fff;}
.mark_text a:visited { color: #fff;}
.mark_text a:hover { color: #fff;}
.mark_text a:active { color: #fff;}
.mark_form{
    text-align: right;
    padding-top: 5px;
 } 
.mark_form a:link,.mark_form a:visited {
    font-size:12px;
    color: darkblue;
 } 
.mark_text2{
    width:900px;
    height:40px;
    font-size: 30px;
    color:#000;
 }

.mark_text2 a,{ color: #000;}
.mark_text2 a:link { color: #000;}
.mark_text2 a:visited { color: #000;}
.mark_text2 a:hover { color: #000;}
.mark_text2 a:active { color: #000;}
.mainbox{
    width:860px;
    margin: 0 auto;
    padding: 120px 50px 50px;
    display: flex;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    animation-name: mainslide;
    animation-duration: 6s;
    animation-fill-mode:forwards;
}
    
@keyframes mainslide {
  0% { opacity:0;margin-top:-100px;}
    100% { opacity:1;margin-top:0px;}
}


.subject{
    width:140px;
    background-color: rgba(255, 228, 196,0.5);
    text-align: center;
    padding-bottom:7px;
}
    
.s_doctor{
    width:140px;
    height:170px;
    background:#fff;    
}

.s_doctor img{
    margin: 0;
    line-height: 1;
}
    
.s_name{
    width:120px;
    text-align: center;
    font-size: 18px;
    padding:10px; 
    margin-bottom: 5px;
    background-color: darkblue;
    color:#fff;
}



.s_professor{
    display: block;
    font-size: 13px;
    line-height: 1.2;
}

.s_page{
    display: block;
    background:#fff;
    width:130px;
    margin-top: 5px;
    margin-left: 5px;
    border-radius: 5px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
    transition: 0.3s;
    
}
.s_page:hover{
     background-color:#fff1b7;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.8);
}
.s_caution{
    font-size: 12px;
    color:gray;
    line-height: 1;
    padding-top: 5px;
    padding-bottom: 5px;
}

.s_site{
    font-size: 14px;
    font-weight: bold;
    color:darkblue;
    line-height: 1.3;
}

    
.introbox{
    width:820px;
    padding:50px 70px 0px;
    margin:0 auto;
    text-align: center;
    background: #fff;
}
    
.introbox p{
 line-height: 1.4;
    }

.headline {
    margin-bottom: 3em;
    } 
    
.headline h3{
    width:100%;
    padding: 5px 0 3px;
    background-color: darkblue;
    color:#fff;
    }
    
.headline p{
    border: 1px solid darkblue;
    padding:0.8em;
    font-size: 14px;
    } 
    

.headline a{
    padding: 3px;
    font-size:0.8em;
    color:#fff;
    background-color:cornflowerblue;
    }
    
.exit{
    width:820px;
    padding:50px 70px 50px;
    margin:0 auto;
    text-align: center;
    background: #fff;
}
.exitbox{
    margin: 0 60px 10px;
    padding: 0 20px 0;
    text-align: center;
    background: darkblue;
    color:#fff;
    border-radius: 10px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}

 
.exitbox h3{
    padding-top: 5px;
    margin-bottom: 10px;
    border-bottom:1px dotted lightgray;
}
.exitbox ul{
    margin-left: 10px;
    margin-right: 10px;
    padding-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    list-style-type: none;
}
.exitbox li{
      display:inline-block;
    }
.exitbox a,.exitbox a:visited{
    color:#fff;
}
.exitbox a:hover{
    color:yellow;
}
.exitbox1 p{
    text-align: center;
}
    
.ep{
    width:820px;
    padding:50px 70px 50px;
    margin:0 auto;
    text-align: center;
    background: #fff;
}
    
.epbox{ 
    padding:40px 60px 40px;
    border: 1px solid darkblue;
    }
.epbox h3{ 
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: darkblue;
    }
    
.epbox h4{ 
    font-size: 20px;
    padding:20px 5px 5px;
    border-bottom:1px solid darkblue;
    margin-bottom: 8px;
    }
.epbox h5{ 
    padding:2px 2px 2px;
    margin: 15px 0 5px;
    font-size: 16px;
    text-align: left;
    color: darkblue;
    border-bottom:1px dotted lightgray;
    }
.epbox h6{ 
    padding:5px 0px 2px;
    font-size: 14px;
    text-align: left;
    font-weight:600;
    }

.eplead{ 
    font-size: 16px;
    line-height: 1.2;
    }
.epbox p{ 
    text-align: left;
    font-size: 13px;
    line-height: 1.7;
    }
.epbox .str{
     font-weight:600;
     color:darkblue;
    }
     
.epbox figure img{ 
    height: 200px;
    margin:  10px 5px 3px 5px;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
    }
    .epbox .tosite{
        margin: 10px 40px 20px;
        padding:0px 10px 3px;
        box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
        border-radius: 10px;
        background-color:darkblue;
        color:white;
    }
    .epbox .tosite h5{
        margin: 3px 0 3px;
        padding-top: 10px;
        padding-bottom: 10px;
        line-height: 1;
        color:#fff;
    }
    .epbox .tosite a{
        color:#fff;
    }
    .epbox .tosite a:hover{
        color:yellow;
    }
        .epbox .tosite:hover{
            opacity: 0.9;
    }
    

    

.epbox table{
	border: 0px solid #000;
	border-collapse: collapse;
    font-size: 0.9em;}


.epbox td:nth-of-type(1){width:4em;}
.epbox td:nth-of-type(2){width:15em;}
.epbox td:nth-of-type(3){width:6em;}
.epbox td:nth-of-type(4),.epbox td:nth-of-type(5),.epbox td:nth-of-type(6),.epbox td:nth-of-type(7),.epbox td:nth-of-type(8),.epbox td:nth-of-type(9),.epbox td:nth-of-type(10){width:2em;}
.epbox td:nth-of-type(11){width:7.5em;}

.epbox .even {
	background: #e4ecfa;
}
.epbox .odd {
	background: #f5f5f5;
}

.epbox thead{
	display: block;
    width:100%;
    overflow-y:scroll;
}
.epbox thead td{
        background-color: darkblue;
    color:#fff;
    padding-top: 3px;
    padding-bottom: 3px;
        height:10em;
}
.epbox thead .tate{
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode:vertical-rl;  
    font-size:1em;
    padding-top:5px;
    height:9.5em;
}
.epbox tbody{
	display: block;
    overflow-y:scroll;
    height:300px;
}
 
    #tbox thead td{
        height:10pem;
    }  
    
    /* グーグルマップ切り替え */
    #map_small{display: none;}
    #map_large{display: block;width:700px;margin: 0 auto;}
    
footer{
    width:860px;
    padding:20px 50px 20px;
    background-color:darkblue;
    color:#fff;
    
}
footer a{
    color:#fff;
}
footer a:hover{
    color:#aaa;
}

footer h3{
    font-size: 18px;
    margin-bottom: 5px;
    color:#fff;
}

footer h4{
 /*   margin-top: 30px; */ 
    font-size: 13px;
    color:#fff;
}
.footerflex{
    display: flex;
    width:100%;
}

.fb40{
    width:40%;
}
.fb30{
    width:30%;
}

.footerbox ul{
    list-style-type: none;
}
.footerbox li{
    font-size: 14px;
    width: 160px;
}

.footerbox li a:hover{
    color:yellow;
}

.fb30 ul li{
    font-size: 12px;
}



}


/*ie 対応のための外部ketframe */
@keyframes slide {
  0% { background-size:140%;}
    100% { background-size:100%;}
}
@keyframes maskslide {
  0% { background-color: rgba(255,255,255,1);}
    100% { background-color: rgba(255,255,255,0);}
}
@keyframes h_anime {
    0% { opacity:0;top: 30px;}
    100% { opacity:1;top: 0px;}
}

@keyframes mainslide {
  0% { opacity:0;margin-top:-100px;}
    100% { opacity:1;margin-top:0px;}
}
