@charset "utf-8";
/*
 Theme Name:   wsc8
 Description:  嶋村歯科
 Author:
 Author URI:
 Template:     wsc8
*/

/*-----------------------------------------------------------------------

　端末用のスタイルまとめて下に書いてます。

-----------------------------------------------------------------------*/

/*------------------------------------
    ----------------------------------
  		Structure
  	----------------------------------

  	01.共通スタイル（全体・ヘッダー・ナビゲーション・フッター）
    02.[START] トップページ
    03.ブログページ共通
    04.single(記事ページ)
    05.error(404.php)
    06.[START] 下層ページ　固定ページ
        06-01.
    Media Query
    07.レスポンシブ　(max-width: 768px)
        07-01.レスポンシブ ヘッダー、フッター、ナビ　ページ
        07-02.レスポンシブ TOPページ

------------------------------------*/

/************************************************************************

	01.共通スタイル（全体・ヘッダー・ナビゲーション・フッター）

************************************************************************/
/*パンくずリスト*/

.breadcrumbs{
    display: none!important;
}

.single .container {
    max-width: 920px;
}


body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif!important;
    font-size: 14px;
    color: #0788da;
}




* {
    line-height: 1.4em;
}

em {
    font-style: normal;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul,li {
    list-style: none;
    padding: 0;
    margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
    line-height: 1.4em;
}
a{
    color: #0788da;
}

.mincho {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "Sawarabi Mincho" , "ＭＳ Ｐ明朝", "ＭＳ 明朝","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic",sans-serif!important;
    transform: rotate(.03deg);
    font-weight: 700;
}
.noto_sans{
    font-family: 'Noto Sans Japanese', sans-serif;
    font-weight: normal;
}

.txt-blue {
    color: #026eb8;
}

.txt-cyan {
    color: #29A99C;
}

.txt-red {
    color: #ff0000;
}
.txt-black{
    color: #333;
}


.section {
    padding: 30px;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}
.align-left {
    text-align: left;
}

.bold {
    font-weight: bold;
}
.font-m {
    font-size: 1.3em;
}
.fl{
    float: left;
}
.fr{
    float: right;
}
.float-box >*{
}
.flex{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.circle {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: solid 1px #68d0ff;
    background-color: #68d0ff;
    border-radius: 50%;
    text-align: center;
    margin: 0 auto;
    vertical-align: middle;
}

.icon:before {
    position: relative;
    vertical-align: middle;
    margin-right: 10px;
}


.section{
    padding: 0;
}
.drawer-btn{
    color: #333;
}


/*ナビゲーション*/
#gnav {
    background-color: #ffffff;
    padding: 13px 0;
}
.gnav-container li {
    font-size: 100%;
    width: 25%;
    border-right: 1px solid #9ec3dd;
    text-align: center;
}
.gnav-container li:first-child{
    border-left: 1px solid #9ec3dd;
}
.gnav-container li a {
    font-size: 1.1em;
    padding: 3px;
    background-color: #ffffff;
    color: #0788da;
}
.gnav-container li a:hover, .gnav-container li.current-menu-item a{
    color: #0788da;
    background-color: #ffffff;
    opacity: .8;
}

/*ヘッダー*/
.header{
    padding: 20px 0 0;
}

.header_left{
    float:left;
}

.site-title{
    display: inline-block;
    margin:0;
    padding:0;
}
.site-title a{
    font-size: 14px;
}

.site-title img{
    max-width: 300px;
}
.site-title .clinic-name{
    margin-top: 20px;
    margin-left: 10px;
}
.site-title .name{
    font-size: 2.4em;
}
.site-title .name-eng {
    font-size: .9em;
}

#h_tel{
    float: right;
}
#h_tel .contact{
    color: #063462;
    font-weight: 700;
}
#h_tel .contact:before{
    content: url("/wp-content/uploads/2018/02/shimamura-shika02.jpg");
    margin-right: 5px;
    vertical-align: -7px;
}
#h_tel .tel{
    color: #f6a000;
    font-size: 2.5em;
}


/*フッター*/
.footerTop{
}

.footerTop .footer-top-image{
    background-image: url("/wp-content/uploads/2018/03/0302shimamura-sub_05.jpg");
    background-position: center;
    height: 220px;
}
.footerTop .content.info{
    margin: 50px 0;
}

.footerTop .content.info .consultation{
    width: 100%;
    max-width: 520px;
}
.footerTop .content.info .table-container >p{
    float: right;
    text-align: left;
    display: inline-block;
}


.footerTop .content.info .clinic-info{
    margin-left: 60px;
}
.footerTop .content.info .clinic-info .name{
    font-size: 2.4em;
    margin-bottom: 5px;
}
.footerTop .content.info .clinic-info .name-eng{
    font-size: 0.9em;
}
.footerTop .content.info .clinic-info .tel{
    color: #f6a000;
    font-size: 2.5em;
}
.footerTop .content.info .clinic-info .tel:before{
    content: url("/wp-content/uploads/2018/02/shimamura-shika09.jpg");
    margin-right: 10px;
}


.footerBottom {
    background-color: #0086db;
}
#copyright {
    float: none;
    font-size: 12px;
    color: #fff;
    text-align: center;
}

.page_top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    background: #0086db;
    border: 2px solid #ffffff;
    text-align: center;
    line-height: 44px;
}



/* 診察時間テーブル */
table.consultation-hour {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: #054e98;
    border-collapse: collapse;

}

table.consultation-hour td, table.consultation-hour th {
    border: 1px solid #72c6ed;
    font-weight: normal;

}
table.consultation-hour th{
    width: 10%;
    padding: 15px 0;
    text-align: center;
}

table.consultation-hour tr.days th{
    background: #e0f5ff;
}
table.consultation-hour th.time {
    width: 25%;
}
table.consultation-hour td{
    text-align: center;
    color: #499793;
}
table.consultation-hour td.closed{
    font-size: 15px;
    color: #f24545;
}
/* 診察時間テーブル */



/************************************************************************

  [終わり] 共通スタイル（全体・ヘッダー・ナビゲーション・フッター）

************************************************************************/



/************************************************************************

	02.[START] トップページ

************************************************************************/

#main.home .top-image{
    position: relative;
    background-image: url(/wp-content/uploads/2018/02/shimamura-shika03.jpg);
    background-position: center;
    padding-bottom: calc(100%*520/1400);
    background-size: 100% auto;
    height: auto;
    margin-bottom: 60px;
}
#main.home .top-image:after{
    content: "";
    background-image: url(/wp-content/uploads/2018/02/shimamura-shika04.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100%;
    position: absolute;
    width: 100%;
    height: 100px;
    bottom: -60px;
}

#n2-ss-2-align{
    position: relative;
    margin-bottom: 60px;
}
#n2-ss-2-align:after {
    content: "";
    background-image: url(/wp-content/uploads/2018/02/shimamura-shika04.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100%;
    position: absolute;
    width: 100%;
    height: 100px;
    bottom: -60px;
    z-index: 10;
}

#main.home .content-box1 h2{
    font-size: 2.28em;
    text-align: center;
}
#main.home .content-box1 .name-eng{
    font-size: 1.15em;
    margin: 20px 0;
}
#main.home .content-box1 .flex-box{
    justify-content: space-around;
    align-items: left;
    flex-wrap: wrap;
}

#main.home .content-box1 .flex-box .item-box{
    width: 300px;
    margin: 0 auto;
}
#main.home .content-box1 .flex-box .item-box h3{
    text-align: center;
    font-size: 1.45em;
    font-weight: normal;
}

#main.home .content-box1 .flex-box .item-box p{
    margin: 20px 0;
}

#main.home .content-box2 .flex-box{
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
#main.home .content-box2.notice{
    padding: 60px 0;
    background-color: #e9fbfd;
}
#main.home .content-box2 .info{
    width: 300px;
    justify-content: center;
    align-items: center;
}
#main.home .content-box2 .info h2{
    font-size: 1.9em;
    color: #07529c;
}
#main.home .content-box2 .info p{
    color: #1bb5fb;
    margin: 5px 0;
}
#main.home .content-box2 .info .btn{
    position: relative;
    width: 160px;
    border: 1px solid #0086db;
    border-radius: 0;
    margin-top: 30px;
}
#main.home .content-box2 .info .btn:after{
    position: absolute;
    content: "＞";
    right: 7px;
}
#main.home .content-box2 .list{
    width: calc(100% - 300px);
}
#main.home .content-box2 .list ul li{
    padding: 20px;
    border-bottom: 1px dotted #93c7e2;
}
#main.home .content-box2 .list ul li a{
    color: #0086db;
}
#main.home .content-box2 .list ul li a span{
    color: #333;
}




/************************************************************************

  [END] トップページ

************************************************************************/



/************************************************************************

	03.ブログページ共通

************************************************************************/
                
.main-blog{
    margin-top: 30px;
}

.main-column {
    width: 550px;
    float: left;
    padding-bottom: 30px;
}

.main-column .entry-title{
    display: block;
    font-size: 20px;
    border-top: none;
    border-bottom: 3px solid #0086db;
    line-height: 1.4em;
    padding: 10px 0;
    margin: 0 0 15px;
    font-weight: bold;
    text-align: left;
    color: #333;
}

.main-column .post {
    margin-bottom: 30px;
}


.side-column a {
    color: #333;
}

.side-widget ul{
    margin: 10px;
}

.widget-title {
    font-weight: 700;
    border-bottom: solid 3px #0086db;
    position: relative;
    margin-bottom:30px;
}

 /* サイドバー検索ボックス */
.side-column form#searchform{
    display: block;
    background-color: #fff;
}
.side-column .searchform{
    margin: 0;
}

.side-column .searchform-txt {
    width: 150px;
}

.side-column #searchform #s {
    padding: 4px;
    font-size: 13px;
    line-height: 15px;
    width: 150px;
    float: left;
    margin: 0;
    border-radius: 0;
    border: 1px solid #999;
    box-shadow: inset 1px 2px 4px #ddd;
}

.side-column #searchform #searchsubmit {
    float: left;
    text-indent: -9090px;
    border-style: none;
    width: 35px;
    height: 31px;
    padding: 0;
    margin: 0;
    background: #999 url(img/search_btn.png) no-repeat center center;
    border-width: 0;
    border-radius: 0;
    cursor: pointer;
}

/* /サイドバー検索ボックス */


/************************************************************************

	04.single(記事ページ)　category(一覧ページ)

************************************************************************/



.blog-header {
    padding: 20px;
    margin: 40px 0;
    font-size: 22px;
    position: relative;
    background: #0086db;
    color: white;
}
.blog-header:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px #0086db;
    opacity: .8;
}

.entry-header{
    border-bottom: 1px solid;
}

.blog-content{
    color: #333;
    margin: 10px;
}


/************************************************************************

	05.error(404.php)

************************************************************************/

.error-page{
    width: 100%;
    padding: 4%;
}


/************************************************************************

	06.[START] 下層ページ　固定ページ

************************************************************************/

/*固定ページ共通*/

.page-template-page-full .container{
    max-width: 980px;
}

h1 img{
    margin: 0 auto;
    display: block;
    height: 150px;
    width: auto;
    object-fit: cover;
    object-position: left;
}

.page-default{
    max-width: 1000px;
}

#main.page h2 {
    font-size: 28px;
    margin: 20px 0;
    border-bottom: 2px solid #0086db;
    line-height: 1.4em;
}
#main.page .content{
    margin-bottom: 30px;
}

.page-template-page-full #main.page .content{
    /*max-width: 1400px;*/
    /*margin: 0 auto;*/
}


/*--------------------------------------
	06-01.設備案内
--------------------------------------*/

#main.machinery .head-bg{
    background: url(/wp-content/uploads/2018/02/machinery-00.jpg);
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
    height: 150px;
    max-width: 1400px;
    margin: 0 auto;
}
#main.machinery .head .canvas {
    width: 100%;
    height: 100%;
    background: -moz-linear-gradient(left, rgba(0, 134, 219, 1) 30%, rgba(255,255,255,0) 60%, rgba(255,255,255,0) 40%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(0, 134, 219, 1) 30%,rgba(255,255,255,0) 60%,rgba(255,255,255,0) 40%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(0, 134, 219, 1) 30%,rgba(255,255,255,0) 60%,rgba(255,255,255,0) 40%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1c1c1c', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
}

#main.machinery .head h1{
    color: #fff;
    font-size: 28px;
    line-height: 150px;
    margin: 0 20px;
}

#main.machinery .content{
    margin: 30px auto;
}
#main.machinery .content p{
    color: #333;
    line-height: 1.8em;
}
#main.machinery .content h2{
    position: relative;
    font-size: 28px;
    margin: 10px 0;
    line-height: 1.8em;
    border: none;
}
#main.machinery .content h2:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 3px;
    margin: 0 auto;
    text-align: center;
    background-image: -webkit-linear-gradient(left, transparent, #0086db 0%, #0086db 75%, transparent);
    background-image: linear-gradient(to right, transparent, #0086db 0%, #0086db 75%, transparent);
    background-position: center;
    background-repeat: no-repeat;
}

#main.machinery .float-box .fl{
    width: 55%;
    padding-right: 30px;
}
#main.machinery .float-box .fr{
    width: 45%;
    padding: 10px 0;
}


/************************************************************************
	[END] 下層ページ　固定ページ
************************************************************************/


/************************************************************************

	07.レスポンシブ　(max-width: 768px)

************************************************************************/

/*--------------------------------------
	07-01.レスポンシブ ヘッダー、フッター、ナビ　ページ
--------------------------------------*/
@media (max-width: 768px) {

    h1 img {
        margin: 0 auto 30px;
        display: block;
        height: 85px;
        width: auto;
        object-fit: cover;
        object-position: left;
    }

    .float-box > * {
        float: none;
        display: block;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        margin-bottom: 20px;
    }

    .drawer-btn {
        left: auto;
        right: 0;
    }

    #gnav {
        margin: 0;
        padding: 0;
    }

    .gnav-container li {
        display: block;
        float: none;
        width: 100%;
        background: #2aa095;
        border: 1px solid #9ec3dd;
        font-size: 13px;
        list-style-type: none;
        color: #fff;
        margin-top: -1px;
    }
    .gnav-container li:first-child{
        border-top: 1px solid #9ec3dd;
    }

    .gnav-container li a {
        padding: 10px;
    }

    .gnav-container li a:hover, .gnav-container li.current-menu-item a {
        opacity: 0.8;
    }

    .gnav-container li .sub-menu li {
        border-bottom: 1px solid #fedb97;
    }

    .gnav-container li .sub-menu li:first-child {
        border-top: 1px solid #fedb97;
    }

    /* /ナビゲーション */
    /*ヘッダー*/
    .header {
        padding: 15px 0 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .header_left {
        float: none;
    }

    .site-title {
        text-align: left;
        display: block;
    }

    .site-title a {
        line-height: 1.4em;
    }


    .site-description {
        text-align: center;
    }

    #h_tel {
        margin-top: 5px;
        text-align: left;
        float: none;
    }

    #h_tel .contact {
        font-size: 14px;
        font-weight: 700;
    }

    #h_tel .contact {
        font-size: 14px;
        font-weight: 700;
    }

    #h_tel .tel {
        color: #ff9300;
        font-size: 22px;
        line-height: 1.4em;
    }

    #h_tel .tel .tel-number {
        font-size: 28px;
    }

    .footerTop .content.info .consultation{
        margin: 30px auto;
    }

    .footerTop .content.info .clinic-info{
        max-width: 520px;
        margin: 0 auto;
    }



    /*--------------------------------------
        07-02.レスポンシブ TOPページ
    --------------------------------------*/
    #n2-ss-2-align:after {
        height: 80px;
    }
    #main.home .content-box2 .info{
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    #main.home .content-box2 .list{
        width: 100%;
    }


    /*--------------------------------------
        07-02-01.レスポンシブ 設備案内
    --------------------------------------*/
    #main.machinery .head-bg{
        height: 100px;
    }
    #main.machinery .head h1{
        line-height: 100px;
    }
    #main.machinery{
        margin-bottom: 20px;
    }
    #main.machinery .float-box .fl{
        width: 100%;
        padding:0;
    }
    #main.machinery .float-box .fr{
        max-width: 100%;
        width: auto;
        margin: 0 auto;
    }
  

}
@media (min-width: 992px)     {
    .container {
        width: 960px;
    }
}

/************************************************************************

	10.レスポンシブ　(max-width: 420px)

************************************************************************/

@media (max-width: 420px){
    table.consultation-hour {
        font-size: 11px;
    }
    table.consultation-hour th {
        width: 10%;
        padding: 5px;
        text-align: center;
    }
    .footerTop .content.info .time {
        padding: 7px 0;
    }
    table.consultation-hour td.closed {
        font-size: 12px;
        color: #f24545;
    }
    table.consultation-hour td .circle {
        width: 1.2rem;
        height: 1.2rem;
    }
}

/************************************************************************

	11.レスポンシブ　(min-width: 769px) PCサイズ

************************************************************************/


@media (min-width: 769px) {
    /* #main.access .map iframe{
        max-width: 570px;
        width: calc(100% - 205px);
        float: left;
    }
    #main.access .map p{
        float: left;
        margin-left: 20px;
    } */

    #main.access .content div{
        position: relative;
        width: 480px;
        height: 480px;
        display: inline-block;
        float: initial;
    }

    #main.access .map p {
        margin-left: 20px;
        width: 30%;
        display: inline-block;
        vertical-align: top;
        float: initial;
    }
}

@media (max-width: 768px){
    #main.access .content div{
        width: 100% !important;
    }
}