.header{
    text-align: center ;			/* テキスト、画像の真ん中寄せ */
    border-bottom: 3px solid #888 ;		/* 枠線 */
    padding: 1em 0 ;			/* 上下の余白 */
    margin-bottom: 1em ;			/* 他のブロックとのスペース */
}
/* 全体(デスクトップPCとスマホ)に適用するCSS */
.wrapper{
    width: 80%;
    margin: 0 auto ;		/* 左右に[auto]を指定することで、真ん中に寄る */
    padding: 0 ;			/* 上下左右の余白を0にしておく */
}
/* 全体に適用するCSS */
.main{
    width: 918px ;
    padding: 20px ;					/* 上下左右に20pxの余白 */
    border: 1px solid rgba(0,0,0,.1) ;		/* 枠線 */
    background: #FFFFFF ;			/* 背景色(確認用) */
    border-radius:10px;
    margin:0 auto;
}
.footer_area {
    /*position: fixed; /* 固定 */
    bottom: -12px; /* 一番下に表示 */
    width: 100%; /* 中央に表示 */
}
.footer_block {
    background: <?=$HandBgColor?>;
}

.footer_box {
/*  width: 720px; */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer_box p {
    margin: 0;
    text-align: center;
}
.container{
width: 100%;
max-width: 1500px;
}
/* ヘッダー */
header{
margin: 0 auto;
box-shadow: 2px 2px 4px #AFAFAF;
padding: 20px;
color: #000000;
font-weight: bold;
background: #00CCE5;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
}
.header_flex{
width: 98%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
margin: 0 auto;
}
.top_logo{
width: 15%;
margin: 0 auto;
}
.top_logo2{
    width: 10%;
    margin: 0 auto;
    }
.header_title{
width: 55%;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.header_time{
width: 25%;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.top_logo img{
width: 100%;
}
.header_clnicname{
font-size: 200%;
margin: 0 auto;
text-align: center;
}
.order_title{
padding: 10px 0;
text-align: center;
}
.order_title span{
font-size: 200%;
color: #ffffff;
background: #40BED3;
display: inline-block;
width: 1.7em;
height: 1.7em;
line-height: 1.7;
border-radius: 100vh;
}
.update_time{
font-size: 120%;
display: inline-block;
text-decoration: underline;
}
.DispSeetime{
text-decoration: underline;
}
.header_time a{
text-decoration: none;
}
.header_time a:hover{
opacity: 0.8;
}
.reload_btn{
color: #11C4C9;
background:#ffffff;
border: 1px solid #11C4C9;
border-radius: 10px;
cursor: pointer;
text-align: center;
padding: 10px 30px;
text-decoration: none;
box-shadow: 0 0 3px 0 rgba(0,0,0,.12), 0 2px 3px 0 rgba(0,0,0,.22);
font-size: 100%;
margin-left: 10px;
}
.main_cont{
width: 90%;
display: flex;
justify-content: flex-start;
flex-direction: row;
margin: 10px auto 20px;
}
.sub_cont01{
width: 45%;
display: flex;
justify-content: flex-start;
flex-direction: column;
margin: 10px auto 20px;
}
.sub_cont02{
width: 45%;
justify-content: center;
margin: 20px auto;
}

.order_info {
width: 90%;
margin: 10px auto;
}
.info_title {
font-size: 110%;
padding: 4px;
text-align: left;
 font-weight: bold;
 letter-spacing: 0.05em;
}
.info_msg {
padding: 15px 20px;
margin: 0;
}
.msg_box{
border:1px solid #005E69;
margin: 10px;
width: 95%;
font-weight: bold;
text-align: center;
background: #FCFDFF;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
}
.msg_title {
font-size: 110%;
background: #40BED3;
padding: 4px;
text-align: center;
color: #FFF;
 font-weight: bold;
 letter-spacing: 0.05em;
}
.consulting_room{
display: flex;
justify-content: center;
flex-direction: row;
align-items: baseline;
padding: 20px 10px;
}
.call_number{
padding: 10px 20px;
border:1px solid #000000;
color: #4386FD;
font-size: 120%;
margin: 0 10px;
}
.display_number{
color: rgba(67,134,253,1.00);
padding: 10px 0;
}
.soon_room{
padding: 20px 10px;
}
.soon_msg{
font-size: 90%;
padding: 5px;
}
.called_msg{
font-size: 90%;
padding: 5px;
}
.soon_number,.called_number{
border-spacing: 10px;
border-collapse: separate;  
margin: 10 auto;
padding: 0;
}
ul.soon_number li,ul.called_number li{
padding: 10px 20px;
border:1px solid #000000;
color: #4386FD;
font-size: 120%;
list-style: none;
display: inline-block;
}
.cont_02{
width: 60%;
margin: 20px auto;
}
.waiting_room{
padding: 10px;
font-size: 150%;
font-weight: bold;
text-align: center;
}
.real_time_sp{
 display: none;
}
.DispMsg7{
text-align: center;
font-size: 120%;
font-weight: bold;
}
.DispMsg7 span{
color: #009DC5;
}
.wating_table{
width: 60%;
margin: 10px auto;
background: #ffffff;
}
.wating_table td{
padding: 10px 20px;
border:1px solid #000000;
text-align: center;
}
.wating_table td:nth-child(1){
color: #4386FD;
font-weight: bold;
}
.wating_table td:nth-child(2){

}
.DispMsg12{
text-align: center;
font-size: 90%;
}
.last_cont{
text-align: center;
font-size: 120%;
color: #0067B1;
}
.peco_img{
width: 8%;
margin: 10px auto;
}
.peco_img img{
width: 100%;
}
footer{
padding: 50px;
text-align: center;
background: #00CCE5;
font-size: 150%;
font-weight: bold;
color: #ffffff;
margin-top: 100px;
}

/*---------------スマホタブレットサイズここから-------------------*/
@media screen and (max-width: 769px) { 
header{
padding: 20px 5px;
}
.header_flex{
width: 100%;
justify-content: center;
flex-direction: column;
align-items: center;
display: flex;
margin: 0 auto;
}
.header_title{
width: 98%;
}
.header_time{
width: 98%;
}
.main_cont{
width: 100%;
display: flex;
justify-content: center;
flex-direction: column;
margin: 20px auto;
}
 .header_clnicname{
font-size: 150%;
}
.order_title span{
font-size: 130%;
}
.reload_btn{
margin-left: 0;
margin-top: 10px;
}
.top_logo{
width: 20%;
margin: 0 auto;
}
.display_number{
color: rgba(67,134,253,1.00);
padding: 10px 0;
}
.sub_cont01{
width: 95%;
display: flex;
justify-content: center;
flex-direction: column;
margin: 20px auto;
}
.sub_cont02{
width: 95%;
justify-content: center;
margin: 20px auto;
}
.wating_table{
width: 90%;
margin: 10px auto;
}
.DispSeetime{
display: inline-block;
}
.last_cont{
text-align: center;
font-size: 90%;
color: #0067B1;
width: 95%;
margin: 0 auto;
}
.peco_img{
width: 30%;
margin: 10px auto;
}
.real_time_sp{
display: block;
font-size: 90%;
}
.wrapper{
width: 95%;
}
.main{
    width: auto ;
    padding: 10px ;		/* 余白 */
     border: none ;		/* 枠線 */
}
}
/*---------------スマホサイズここから-------------------*/
@media screen and (max-width: 479px) { 
footer{
font-size: 120%;
}
}


