@charset "UTF-8";

/* ==========================================================================
   base
   ========================================================================== */
html {
    font-size: 10px;
}

body {
    color: #333;
    font-size: 140%;
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 0;
    /* font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; */
    font-family: YuGothic, "Yu Gothic", 游ゴシック体, 游ゴシック, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "ＭＳ Ｐゴシック", Osaka, "MS PGothic", Arial, Helvetica, Verdana, sans-serif;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-size: 140%;
    font-size: 1.4rem;
}

.h1, .h2, .h3, h1, h2, h3 {
    margin-top: 0;
}

ul, ol {
    list-style-type: none;
    list-style-position: inside;
    margin: 0;
    padding: 0;
}

address {
    margin-bottom: 0;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

a[href] {
    color: #09f;
    text-decoration: underline;
}

a[href]:hover {
    color: #07f;
    text-decoration: none;
}

/* ==========================================================================
   helper
   ========================================================================== */
.x-small {
    font-size: 65%;
}
.text-bold{
    font-weight:700;
}
.mb10 {
    margin-bottom: 10px;
}

.mb20 {
    margin-bottom: 20px;
}

.no-border {
    border: 0 !important;
}

.no-padding {
    padding: 0 !important;
}

.no-margin {
    margin: 0 !important;
}

.no-shadow {
    box-shadow: none !important;
}

ul.list-disc, ol.list-disc {
    list-style-type: disc;
    padding-left: 1em;
    text-indent: -1em;
}

/*gridのgutter調整*/
.row-0 {
    margin-left: 0;
    margin-right: 0;
}
.row-0 > [class^="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.row-10 {
    margin-left: -5px;
    margin-right: -5px;
}
.row-10 > [class^="col-"] {
    padding-right: 5px;
    padding-left: 5px;
}

.row-20 {
    margin-left: -10px;
    margin-right: -10px;
}
.row-20 > [class^="col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

.row-30 {
    margin-left: -15px;
    margin-right: -15px;
}
.row-30 > [class^="col-"] {
    padding-right: 15px;
    padding-left: 15px;
}

.row-40 {
    margin-left: -20px;
    margin-right: -20px;
}
.row-40 > [class^="col-"] {
    padding-right: 20px;
    padding-left: 20px;
}

/*装飾用*/
.disc {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: #6cf;
    background: -webkit-linear-gradient(#6cf, #09f);
    background:         linear-gradient(#6cf, #09f);
}

.disc-small {
    width: 8px;
    height: 8px;
    border-radius: 4px;
}

/* ==========================================================================
   layout
   ========================================================================== */
#wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

header {
    width: 200px;
    float: left;
    position: relative;
}

main {
    width: 100%;
    float: right;
    padding-left: 200px;
    margin-left: -200px;
    /*min-height: 600px;*/
}

main > .container {
    width: auto;
}

main #topimage {
    height: 0;
    /*padding-bottom:61.8%;*/
    padding-bottom: 56%;
    background: url(../img/topimage.jpg) 0 0 no-repeat;
    background-size: 100% auto;
    margin-bottom: 20px;
}

main #breadcrumb {
    font-size: 1.1rem;
    line-height: 1.3;
    padding: 8px 0;
    /*background:#F9FCFF;*/
    margin-bottom: 30px;
}

main #breadcrumb a {
    color: #5a5c5f;
}

footer {
    padding-top: 15px;
    padding-bottom: 15px;
}

footer .container {
    width: 1000px;
    max-width: 100%;
}

footer > nav {
    margin-bottom: 10px;
    background: #6cf;
}

footer > nav a[href] {
    color: #fff;
}

footer #footer_link {
    color: #777;
    font-size: 1.1rem;
}

footer #footer_link a {
    color: inherit;
}

@media (min-width: 767px) {
    footer #footer_link {
        text-align: right;
    }
    footer #copyright {
        text-align: right;
    }
}

@media (max-width: 767px) {
    body {
        margin-top: 50px;
    }
    header {
        width: 100%;
        float: none;
    }
    main {
        float: none;
        padding-left: 0;
        margin-left: 0;
    }
    main #topimage {
        margin-left: -15px;
        margin-right: -15px;
    }
    main #breadcrumb {
        padding-left: 10px;
        padding-right: 10px;
        margin-left: -15px;
        margin-right: -15px;
    }
    footer #footer_link {
        margin-top: 10px;
    }
}

/*bootstrap - nav*/
.navbar-custom {
    border: 0;
    margin: 0 0 15px;
    border-radius: 0;
    background: rgba(255, 255, 255, .95);
}

.navbar-custom .navbar-header {
    float: none;
}

.navbar-brand {
    display: block;
    background-image: url(./../img/sprite/sprite.png);
    background-position: 0 -80px;
    width: 170px;
    height: 90px;
}

.navbar-custom .navbar-nav {
    float: none;
    margin-right: -15px;
    margin-left: -15px;
}

.navbar-custom .navbar-nav > li {
    float: none;
}

.navbar-custom .navbar-nav > li > a {
    color: #333;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media (min-width: 767px) {
    .navbar-custom.navbar-fixed-top {
        position: static;
        right: auto;
        left: auto;
        z-index: initial;
    }
    .navbar-brand {
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: 0 !important;
    }
}

@media (max-width: 767px) {
    .navbar-custom {
        box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    }
    .navbar-brand {
        width: 157px;
        height: 40px;
        margin: 5px 15px;
        background-image: url(./../img/sprite/sprite.png);
        background-position: 0 0;
        background-size: 157px 85px;
    }
}

/*ヘッダー内問い合わせ部分*/
header #contactus {
    padding: 15px;
    margin: 0 -15px;
    border: solid 2px #0af;
    color: #0af;
}

#contactus > dd {
    padding-top: 5px;
}

#contactus #tophone {
    font-size: 128.6%;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
    cursor: default;
}

#contactus .rmks {
    color: #333;
    font-size: 11px;
    text-align: left;
    margin: 5px 0 0;
    padding-top: 5px;
    border-top: dotted 1px #0af;
}

#contactus .rmks dt {
    float: left;
    font-weight: normal;
    margin-right: .5em;
}

#contactus .rmks dd ~ dd {
    padding-top: .25em;
    font-weight: 700;
}

@media (max-width: 767px) {
    header #contactus {
        padding: 0;
        margin: 8px 0;
        background: transparent;
        border: 0;
        position: absolute;
        top: 0;
        right: 60px;
    }
    #contactus > dt {
        display: none;
    }
    #contactus > dd {
        padding-top: 0;
        float: left;
        margin-right: 10px;
        width: 44px;
        height: 34px;
        overflow: hidden;
        border-radius: 3px;
    }
    #contactus #tophone {
        display: block;
        color: #fff;
        background: #0af;
    }
    #contactus #tophone .fa {
        font-size: 2rem;
        display: block;
        width: 44px;
        height: 34px;
        line-height: 34px;
    }
}

/*追従ヘッドバー(PC表示用)*/
/*#header_band {
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, .15);
    position: fixed;
    top: -50px;
    left: 0;
    z-index: 9999;
    -webkit-transition: top .2s;
            transition: top .2s;
}

#header_band.show {
    top: 0;
    -webkit-transition: top .3s;
            transition: top .3s;
}

#header_band > div {
    width: 1000px;
    height: 50px;
    line-height: 50px;
    white-space: nowrap;
    font-weight: 700;
    font-size: 110%;
    margin: auto;
}

#header_band > div:before {
    content: "";
    float: left;
    width: 157px;
    height: 40px;
    margin: 5px 0;
    background-image: url(../img/sprite/sprite.png);
    background-position: 0 0;
    background-size: 157px 85px;
    background-repeat: no-repeat;
}

#header_band > div .fa {
    color: #0af;
}*/

/* ==========================================================================
   detail
   ========================================================================== */
/*index*/
#newsticker {
    background: #f9f9f9;
    padding: 15px 10px;
    margin-top: -20px;
    margin-bottom: 20px;
    position: relative;
    font-size:107.1%;
}

#newsticker > span {
    font-size: 100%;
    font-weight: 700;
    display: inline-block;
    width: 5em;
    border-right: dotted 1px #333;
    position: absolute;
    height: 1.5em;
    margin: auto 0;
    top: 0;
    bottom: 0;
}

#newsticker > .ticker {
    width: auto;
    border: 0;
    padding: 0;
    background: 0;
    overflow: hidden;
    position: relative;
    margin: 0 auto 0 5.5em;
    min-height: 1.5em;
}

.ticker ul {
    width: 100%;
    position: relative;
}

.ticker ul li {
    display: none;
    width: 100%;
    overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ticker a {
    color: #777;
}

.ticker a:hover {
    color: #999;
}

#newsticker > #ticker_control {
    position: absolute;
}

#ticker_control > div {
    float: left;
    color: #fff;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #333;
}

#ticker_control > div .fa {
    font-size: 10px;
}

#ticker_control > div:nth-child(2) {
    margin: 0 1px;
}


#topsubject .circle {
    display: inline-block;
    width: 53%;
    height: 0;
    padding-bottom: 53%;
    margin-bottom: 5px;
    border-radius: 50%;
    background-color: #6cf;
    background-image: url(../img/c1.png);
    background-size: 20%;
    background-repeat: no-repeat;
    background-position: center 40%;
}

#topsubject .circle i {
    color: #fff;
    font-size: 105%;
    font-weight: 600;
    font-style: normal;
    letter-spacing: .1em;
    position: absolute;
    top: 65%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
}

@media (min-width: 767px) {
    #topsubject > li:nth-child(3n+2) {
        border-left: dotted 1px #656c6f;
        border-right: dotted 1px #656c6f;
    }
}

#calendarPager{
    margin-top:-50px;
}

#calendarPager > button{
    color:#fff;
    background:#444;
}

#calendarPager > button:hover{
    background:#666;
}

#calendarPager > button:nth-child(2){
    margin-left:1px;
}

#weekCalender > thead > tr > th, #weekCalender > tbody > tr > td {
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
    border-color: #656c6f;
}

#weekCalender > thead > tr > th {
    border-bottom-width: 1px;
}

#weekCalender > thead > tr > th:not(:first-child), #weekCalender > tbody > tr > td:not(:first-child) {
    border-left: solid 1px #656c6f;
}

#weekCalender td {
    line-height: 1.25;
}

#weekCalender td span {
    font-size: x-small;
    display: block;
}

#caution {
    font-size: 75%;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    list-style-type: disc;
    color: #333;
    background: #f5f5f5;
}

#caution li {
    text-indent: -1em;
    padding-left: 1em;
}

/*main.sub*/
.sub h1 {
    font-size: 25px;
    /* color:#6cf; */
    border-bottom: dotted 2px #ccc;
    padding-bottom: 28px;
    margin-bottom: .67em;
}

.sub h2 {
    font-size: 20px;
    line-height: 1.5;
    color: #6cf;
    border-bottom: 1px solid #cef;
}

.sub h2 ~ p {
    margin-bottom: 20px;
}

.sub h2 ~ h2 {
    padding-top: 10px;
}

.sub .img, .sub .img + p {
    max-width: 260px;
}
.sub .img.h{
    max-width: 114px;
}

.sub .img {
    display:block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
    overflow: hidden;
}

.sub .img.noeffect {
    border-radius: 0;
}

.sub .img + p {
    margin-left: auto;
    margin-right: auto;
}

.sub .img:not(.noeffect):after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .1), inset 0 0 1px rgba(0, 0, 0, .14);
}

@media (max-width: 767px) {
    .sub .img, .sub .img + p,
    .sub .img.h, .sub .img.h + p {
        width:auto;
        max-width:90%;
    }
    .sub .col-img{
        text-align:center;
    }
    .sub .col-img .img{
        display:inline-block;
        vertical-align: bottom;
    }
    .sub .img + p {
        text-align:left;
        margin-bottom: 15px;
    }
}

.sub .box {
    background: rgba(102, 204, 255, .15);
    padding: 10px;
    border-radius: 8px;
}

.sub .box .h {
    font-weight: 600;
    position: relative;
    border-left: solid 3px #6cf;
    padding: 5px 10px;
    overflow: hidden;
}

.sub .box .h:before {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    background: #6cf;
    position: absolute;
    top: 0;
    left: 2px;
}

.sub .box .h:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    bottom: 0;
    position: absolute;
    border-bottom: dotted 1px #6cf;
    left: 8px;
}

.sub .box .t {
    padding: 5px 10px;
}

/*アクセス*/
#access {
    width: 200px;
    clear: left;
    float: left;
}

#access h3 {
    font-size: 92.9%;
    font-weight: 700;
    padding: 5px 0;
    border-bottom: solid 1px #656c6f;
}

#map_canvas {
    width: 100%;
    height: 200px;
}

@media screen and (max-width: 767px) {
    #access {
        width: 100%;
        padding: 0 15px;
        margin-top: 15px;
    }
    #access h3 {
        font-size: 100%;
    }
    #map_canvas {
        height: 300px;
    }
}

/*診療科目*/
#cavity {
    margin: 0 -5px;
}

#cavity dl {
    margin-bottom: 0;
}

#cavity h3 {
    font-weight: 700;
    color: #fff;
    background: #6cf;
    padding: 2px;
    margin-top: 15px;
    margin-bottom: 10px;
}

#cavity p {
    padding: 7px 5px 7px 4.42em;
    background: #f7f6e7;
    border-radius: 4px;
    margin-top: 10px;
}

#cavity p b {
    color: #8a6d3b;
    display: block;
    float: left;
    margin-left: -4em;
}

#cavity p b:after {
    content: "…";
}

/*機材・機器紹介*/
@media (max-width: 767px) {
    #sterilizer > div:nth-child(2n+1) {
        clear: left;
    }
}

/*最新情報*/
#newslist{

}
#newslist > li{
    padding:12px 0;
    border-bottom:dotted 1px #656c6f;
}
#newslist > li > small{
    display:inline-block;
    margin-right:15px;
}
@media (min-width: 767px) {
    .sub .newsimg{
        float:left;
        margin-right:15px;
    }
    .sub .newsimg + p {
        overflow:auto;
        max-width: none;
        margin:auto;
    }
}

/*院長・スタッフ紹介*/
#profile{
    margin-bottom: 20px;
}
#profile > p:first-child{
    float:left;
    width:200px;
    margin-right:15px;
    margin-bottom:15px;
}
#profile > p:first-child + div{
    overflow:auto;
}
#profile dl{
    overflow:hidden;
}
#profile dt,#profile dd{
    padding:10px 0;
}
#profile dt:first-of-type,#profile dd:first-of-type{
    padding-top:0;
}
#profile dt{
    float:left;
    clear:left;
}
#profile dd{
    padding-left:6.25em;
    border-bottom:dotted 1px #656c6f;
}
@media (max-width: 767px) {
    #profile > p:first-child{
        float:none;
        width:auto;
        max-width:90%;
        margin-left:auto;
        margin-right:auto;
    }
    #profile > p:first-child + div{

    }
}