@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;
    color:rgba(0,0,0,1);
}


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

.strong{font-weight: bold;}
/* 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;}
}

.s_doctor{
    width:82px;
    height: 100px; 
    overflow: hidden;
}
    

.s_doctor img{
    margin: 0;
    width:82px;
    height: 100px; 
}

    
.s_name{

    background-color: darkblue;
    color:#fff;
    text-align: left;
    font-size: 20px;
    line-height: 1;
    padding:5px;
    letter-spacing: 0.5em;
}


.s_professor{
    display:flex;
    flex-direction: row;
 
    padding-top: 5px;
    padding-bottom: 5px;
    font-size:0.8em;
    line-height: 1.2;
}
.s_professor_m{
    width:6em;
    padding-left:1em;
    text-align: left;
}
.s_page{
    display:flex;
    flex-direction: row;
    width:70%;
    margin-left:10px;
    background:#fff;
    padding: 5px 0 5px; 5px;
    border-radius: 5px;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
    transition: 0.5s;
}
.s_page:hover{
    
    background-color:#fff1b7;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}
.s_caution{
    font-size: 0.4em;
    color:gray;
    line-height: 1;
    padding:0.3em 0.5em 0 0.5em;
}

.s_site{
    display:flex;
    font-size: 0.8em;
    font-weight: bold;
    color:darkblue;
    padding:0.2em 0.5em 0;
    line-height: 1;
}
    
.headline h4{
    margin-left: 1em;
    margin-right: 0.8em;
    padding: 5px 0 3px;
    color:darkblue;
    }

.headline .a_blue{
    padding: 0;
    font-size:1em;
    color:darkblue;
    }

    .headline .headline_table{
        width:100%;
        overflow-x: scroll;
        margin-bottom: 2em;
    }
    .headline p.headline_date
    {
color: slategrey;
font-size: 0.7em;
text-align: right;
margin-top: 2px;
margin-bottom: 0;
padding-right: 20px;
        }
    .rec{
        
        width:100%;
        overflow-x: scroll;
        margin: 1em;
        font-size:12px;
    }

    .rec h3{
        width:100%;
        margin:0 auto;
        margin-top: 30px;
        font-weight: bold;
        text-align: left;
        color: darkblue;
    }
       .rec p{
           margin-top: 5px;
        font-size:11px;
        color:darkblue;
    }
    .rec1{
         border-collapse: collapse;
        text-align: center;
    }
      .days{
        width:770px;
    }
          .docs{
        width:100%;
    }
       .rec1 tr:nth-of-type(1),.rec1 th{
        background-color:darkblue;
           color:white;
    }
    .rec1 tr:nth-of-type(2n){
        background-color:bisque;
    }
    .rec1 th,.rec1 td{
        padding:2px;
    } 
    .rec_short2{
        width:130px;
   } 
    .rec_short{
         width:120px;
    } 
    .rec_short3{
        width:90px;
    } 
    .rec_short4{
        width:70px;
    } 
    .rec1 img{
        width:20px;
    }   
    .rec_alert{
        width:150px;
        font-size:9px;
    text-align: left;
    }
    .rec_mail{
        width:8em;
        font-size:10px;
    }
        .rec1 .fb{
            font-weight: bold;
    }  
        .rec1 .nw{
            width:5em;
            white-space:nomal;
    }  
        .rec_icon img{
        width:25px;
    }
    .rec1 .text_l{
        text-align: left;
        font-size:9px;
    }
    .left2{
        text-align:left;
        margin-top: 0.8em;
        margin-bottom: 2em;
        padding:0;
        color:darkblue;
        } 

.introbox{
    margin:1em;
    animation-name: intro_anime2;
    animation-duration:3s;
    animation-fill-mode:forwards;
}

@keyframes intro_anime2 {
    0% { opacity:0;}
    100% { opacity:1;}
}
    
.introbox h2{
    font-size: 1.2em;
    color:darkblue;
    margin-top: 20px;
    padding:1em 1em 0.5em;
    border-top: 1px solid darkblue;
    border-right: 1px solid darkblue;
    border-left: 1px solid darkblue;
    background: linear-gradient(to bottom, #ddd5b0 0%,#ffffff 80%); 
    }
.introbox p{
    font-size: 0.9em;
    line-height: 1.5;
    padding:1em 1em 0.5em;
    margin-bottom: -0.75em;
    border-right: 1px solid darkblue;
    border-left: 1px solid darkblue;

    }

.introbox ol{
    font-size: 0.85em;
    text-align: left;
    border-bottom: 1px solid darkblue;
    border-right: 1px solid darkblue;
    border-left: 1px solid darkblue;
    }
.introbox li{
   margin: 0.5em 1em 1em 2em;
    }
    .headline h3{
    border: none;
    color:darkblue;
    background: #fff;
    font-size: 1,2em;
    border-bottom: 1px solid #000;
    margin-bottom: 1em;
    }
    .headline h4{
        padding: 0 0 1em;
       border: none;
       background: #fff;
       }
    .headline p{
     padding: 0 0 1em;
    border: none;
    background: #fff;
    text-align: left;
    }
    .headline a{
    padding: 3px;
    font-size:0.8em;
    color:#fff;
    }
    .headline  .br::before {
	content: "\A" ;
	white-space: pre ;
}   
.headline .headline2 a{
    background-color:white;
    }
    
.exit{
padding: 1em 2em 2em 1em;
    }
.exitbox {
        width:100%;
        margin-bottom: 10px;
    background:#fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
    background-color:darkblue;
    color:#fff;
    }
.exitbox h3{
    border-bottom:1px dotted lightgray;
    margin-bottom: 5px;
    color:#fff;
    }

.exitbox a{
        color:#fff;
    }

    
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;
    color:#fff;
}
footer h4{
    width:70%;
    margin: 0 auto 1em;
    font-size: 14px;
    border-bottom:1px dotted lightgray;
    padding:0 2em 0.3em;
    color:#fff;
}
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;
    background-image:url("../img/building.jpg");
    background-repeat: no-repeat;
    background-position: center 90px;
    animation-name: slide;
    animation-duration: 3s;
    animation-fill-mode:forwards;
}

@keyframes slide {
  0% { background-size:140%;}
    100% { background-size:100%;}
}


.wrapmask{
    width:960px;
    background-color: rgba(255,255,255,0.5);
    animation-name: maskslide;
    animation-duration: 3s;
    animation-fill-mode:forwards;
}
@keyframes maskslide {
  0% { background-color: rgba(255,255,255,1);}
    100% { background-color: rgba(255,255,255,0);}
}

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: 2s;
    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 h2{
 padding-bottom:10px;
    }
.introbox p{
 line-height: 1.4;
    }

.introbox ol{
    text-align: left;
    }
.introbox li{
   margin: 0.5em 4em;
    }
.headline {
    margin-bottom: 3em;
    border: 1px solid darkblue;
    } 
    
.headline h3{
    width:100%;
    padding: 5px 0 3px;
    background-color: darkblue;
    color:#fff;
    font-size: 1,2em;
    }
    .headline h4{
        margin-left: 0.8em;
        margin-right: 0.8em;
        padding: 5px 0 3px;
        border-bottom: 2px dotted darkblue;
        text-align: left;
        }
        .headline p.headline_date
        {
color: slategrey;
font-size: 0.7em;
text-align: right;
margin-top: 2px;
margin-bottom: 0;
padding-right: 20px;
            }
.headline p{
    padding:0 0.8em 0.8em;
    font-size: 14px;
    text-align: left;
    } 
    
        .left2{
            text-align:left;
            /* margin-top: -0.8em; */
            margin-bottom: 2em;
            padding:0;
            margin-left: 20px;
            color:darkblue;
            } 
.headline a{
    padding: 3px;
    font-size:0.8em;
    color:#fff;
    }
    .headline .a_blue{
        padding: 0;
        font-size:1em;
        color:darkblue;
        }

    .rec{
        margin: 40px auto 10px;
    }
    .rec2{
        padding:20px;

    }
    .rec h3{
        width:100%;
        margin:0 auto;
        margin-top: 30px;
        font-weight: bold;
        text-align: left;
        color: darkblue;
    }
  .rec p {
           margin-top: 5px;
        font-size:12px;
        color:darkblue;
    }
    .rec1{
        width:100%;
            margin:0 auto;
         border-collapse:separate;
        font-size:13px;
        text-align: center;
    }
       .rec1 tr:nth-of-type(1),.rec1 th{
        background-color:darkblue;
           color:white;
    }
    .rec1 tr:nth-of-type(2n){
        background-color:bisque;
    }
    .rec1 th,.rec1 td{
        padding:3px;
    }   
    .rec2 .strong{
        font-weight: 600;
    }
    .rec_short2{
        width:140px;
   } 
   .rec_short3{
    width:135px;
} 
.rec_short_place{
    width:75px;
} 
    .rec1 .rec_alert{
        font-size:10px;
        text-align: left;
        padding-left:10px;
    }
        .rec1 .fb{
            font-weight: bold;
    }  
        .rec1 .nw{
            white-space:nowrap;
    } 
    .rec_icon img{
        width:25px;
    }
    .rec1 .text_l{
        text-align: left;
    }
.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;
    color:#fff;
}
.exitbox p{
    text-align: left;
    margin-left: 10px;
    margin-right: 10px;
    padding-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.exitbox a,.exitbox a:visited{
    color:#fff;
}
.exitbox a:hover{
    color:yellow;
}
.exitbox p{
    text-align: center;
}
    

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;}
}

span.color_btn{background-color: darkblue;color: #fff;}