@charset "utf-8";
#Main p{ line-height:1.6em;}

#Main h2{margin-top:60px;}
#Main h4{border-bottom:1px solid #CCCCCC; margin-bottom:8px;}

p.read{margin-top:12px;}

div.adaptation{background-color:#E9EFFF; padding:12px;}
div.adaptation ul li{display:inline-block;}
div.adaptation ul li:after{content:"・";}
div.adaptation ul li:last-child:after{ content:"";}

div.adaptation ul:after{ content:"など";}

/*症例*/
div.ex{display:flex; flex-wrap: wrap; justify-content: space-between; box-sizing: border-box;  align-items:top;}
div.ex dl{width: calc((100% - 40px) / 2); margin-bottom:30px;}

ul.progress{ margin-left:9px; margin-bottom:30px;}
ul.progress li {
position: relative;
display: inline-block;
padding:0 15px 0 0; margin-left:-9px;
}
ul.progress li:after{
content: "";
width: 0;
height: 0;
border: solid 9px transparent;
border-left: solid 5px #333333;
position: absolute;
top: 45%;
right: 0;
margin-top: -8px;
}
ul.progress li:last-child:after{border:none;}
ul.progress li:last-child{padding:0;}


/*料金*/
table.prices{border-bottom:1px solid #003366; width:80%;}
table.prices th, table.prices td{padding:8px; border-top:1px solid #003366;}
table.prices th{background-color:#E1E9FB;}
table.prices td{ border-left:1px solid #003366;  text-align:right;}

table.prices tr.tax td{border:none;}


/*治療禁忌*/
ul.contraindications{ list-style-type:square; margin-left:24px;}


@media screen and (max-width:580px){
div.ex dl{width:100%;}
table.prices{width:100%;}
table.prices th, table.prices td{padding:8px 1px;}
}

@media screen and (max-width:400px){
img{max-width:100%;}

h4{text-align:center;}
ul.progress{text-align:center;}
ul.progress li{display:block; padding:12px 0;}
ul.progress li:after{
content: "";
width: 0;
height: 0;
border-top: 10px solid #000000;
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid transparent;
position: absolute;
top:100%;
right:48%;
margin-top: -12px;
}
}