h1{
color:#000;
font-size:80%;
background-image:url(image/logo60.png);
background-repeat:no-repeat;
background-position:center;
backgroundsize:471px 60px;
line-height:1.2;
}
h1 a{
color:#000;
text-decoration:none;
font-size:120%;
}
strong{
font-size:220%;
}

header{
border-top:solid 4px #005EAC;
}

.phone{
text-decoration:none;
color:#003682;
text-align:center;
font-size:150%;
padding:0px;
margin:0;
}
.phone a{
text-decoration:none;
color:#003682;
text-align:center;
padding:0px;
margin:0;
}

div{
max-width:640px;
margin-right:auto;
margin-left:auto;
}

h1,h2,li,footer{
text-align:center;
font-family: "BIZ UDGothic", serif;
font-weight: 400;
font-style: normal;
}

footer{
font-size:normal;
line-height:1.7;
}

nav{
margin-top:20px;
margin-bottom:40px;
}

/*メニューバー*/
.menubar{
position:fixed;
top:22px;
right:15px;
}

/*上に戻るボタン*/
.pagetop{
position:fixed;
bottom:22px;
right:15px;
display:flex;
}

/*角を丸くする*/
.maru{
border-radius:10px;
}

section{
box-shadow:0 0 10px 0 #96B4CE;
margin-top:40px;
padding:10px 20px;
}
img{
max-width:100%;
}
iframe{
max-width:100%;
}

/*リスト*/
nav li{
list-style:none;
width:25%;
float:left;
}
section li{
list-style:none;
}
ul:after{
content:"";
display:block;
clear:both;
}
ul{
padding:0;
}

/*診察時間*/
#table2 table{
width:100%;
font-size:120%;
background-color:#D0DEEA;
border-radius:6px;
margin:20px 0px;
padding:10px;
border-collapse:collapse;
}
.row{
border-bottom:1px solid #fff;
}
#table2 td{
text-align:center;
width:10%;
padding-top:7px;
padding-bottom:7px;
}
.sunday{
width:12%;
}

/*ナビゲーション*/
li a{
color:#000;
}
li a:hover{
text-decoration:none;
color:#003682;
}

/*ご挨拶*/
.greetingtable{
width:100%;
font-size:100%;
margin:0;
padding:0;
}
.greetingtd{
text-align:left;
width:50%;
padding-top:7px;
padding-bottom:7px;
vertical-align:bottom;
}
.greetingname{
line-height:1.5;
}

/*マップ・アクセス*/
.mapfig{
float:left;
}
.clear:after{
content:"";
display:block;
clear:both;
}

/*箇条書き*/
.menu{
font-size:1.2em;
line-height:1.7em;
color:#005EAC;
}

/*メニュー画面、診療案内の背景、文字*/
.menubackground{
background-color:rgba(194,228,230,0.2);
color:#005EAC;
font-weight:bold;
}
section li a{
color:#005EAC;
}

/*ギャラリー関連*/
.container{
margin:0 auto;
padding:0;
max-width:860px;
margin-right:auto;
margin-left:auto;
box-shadow:none;
color:#005EAC;
}
.box,article,figure,figcaption{
display:block;
}
.flex{
font-size:1em;
line-height:1.7;
box-shadow:none;
display:flex;
justify-content:space-between;
margin-bottom:2em;
flex-wrap:wrap;
row-gap:2em;
}
.title{
text-align:center;
padding:0.5em 0;
font-size:2em;
}
.box{
width:48%;
text-align:center;
padding:2% 0;
box-sizing:border-box;
margin-bottom:0;
text-align:center;
margin-top:0;
box-shadow:0 0 10px 0 #fff;
}
.box:hover {
transform:scale(1.5)
}
h3{
margin:0;
padding:0;
}
figure{
margin:0 5%;
padding:0;
}

/*準備中画像*/
.zyunbityu{
text-align:center;
}

/*メディアクエリ*/
@media(max-width:640px){
nav li{
width:auto;
float:none;
}
nav li a{
padding:1em;
margin-bottom:0.5em;
display:block;
color:#003682;
background-color:#C2E5F9;
border-radius:6px;
text-decoration:none;
}

.menubackground{
width:auto;
color:#003682;
font-weight:bold;
border-radius:6px;
}
}

@media(min-width:640px){
.menubackground{
width:auto;
background-image:url(image/dot3.png);
background-repeat:repeat-y;
background-position:center;
border-radius:6px;
}
