@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.診察内容
        06-02.設備紹介
        06-03.医院のご案内
        06-04.アクセス

    Media Query
    07.レスポンシブ　(max-width: 768px)
        07-01.レスポンシブ ヘッダー、フッター、ナビ　ページ
        07-02.レスポンシブ TOPページ
    08.レスポンシブ　(min-width: 1000px)
        08-01.共通スタイル（全体・ヘッダー・ナビゲーション・フッター）
    09.レスポンシブ　(max-width: 1000px)
       08-01.共通スタイル（全体・ヘッダー・ナビゲーション・フッター）
    10.レスポンシブ　(max-width: 480px)
       08-01.共通スタイル（全体・ヘッダー・ナビゲーション・フッター）
        
------------------------------------*/

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

	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;
}

* {
    line-height: 1.8em;
}

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;
}

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

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

.txt-red {
    color: #ff0000;
}


.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 >*{
    width: 48%
}

.section{
    padding: 0;
}


/*ナビゲーション*/
#gnav {
    background-color: #46C5C8;
    padding: 13px 0;
}
.gnav-container li {
    font-size: 16px;
    width: 20%;
    border-right: 1px solid #8fe4e6;
    text-align: center;
}
.gnav-container li:first-child{
    border-left: 1px solid #8fe4e6;
}
.gnav-container li a {
    padding: 3px;
}
.gnav-container li.current-menu-item a {
    background-color: #46C5C8;
    color: #fff;
}
.gnav-container li a{
    background-color: #46C5C8;
    color: #fff;
}
.gnav-container li a:hover{
    opacity: .8;
    background-color: #46C5C8;
    color: #fff;
}

/*ヘッダー*/
.header{
    padding: 20px 0;
}
.site-title{
    display: inline-block;
    margin:0;
    padding:0;
}
.site-title a{
    font-weight: 700;
    font-size:32px;
    line-height:50px;
    color: #46C5C8;
}
.site-title .categories{
    font-size: 15px;
    font-weight: 700;
}
.site-description{
    font-size:13px;
    line-height:18px;
    font-weight:normal;
    font-style:normal;
    display:block;
    margin:0;
}

#h_tel{
    float: right;
}
#h_tel .contact{
    font-size: 16px;
    font-weight: 700;
}
#h_tel .tel {
    color: #ff9300;
    font-size: 24px;
    margin-top: -10px;
}
#h_tel .tel .tel-number {
    font-size: 30px;
}

.header_left{
    float:left;
}


/*フッター*/

.footerTop {
    margin-top: 50px;
}
.footerTop h2 {
    font-size: 20px;
    text-align: center;
    margin: 20px 0;
}

.footerTop h2 span {
    display: inline-block;
    border-bottom: 1px solid #031e1b;
    padding: 10px 0;
}

.footerTop .content.info .float-box .consultation{
    width: 60%;
}

.footerTop .content.info .float-box .clinic-info{
    width: 38%;
    text-align: left;
}

.footerTop .content.info .name{
    display: inline-block;
    font-size: 32px;
    color: #46C5C8;
    margin-top: -12px;
}

.footerTop .content.info .categories{
    font-size: 15px;
    color: #031e1b;
}

.footerTop .content.info .address{
    font-size: 14px;
}

.footerTop .content.info .tel {
    font-size: 24px;
    margin-top: -10px;
}
.footerTop .content.info .tel-number {
    font-size: 30px;
}
.footerTop .content.info .time {
    padding: 12px 0;
}
.footerTop .content.info .time p{
    margin: 5px 0;
}
.footerTop .content.info .time p span{
    display: inline-block;
    text-align: center;
    width: 100px;
}



.footerTop .content.consultation .table-container{
}
.footerTop .content.consultation table {
    max-width: 520px;
}

.footerTop .content .vaccination-time {
    font-size: 15px;
    color: #ff0000;
    margin: 15px 0;
}
.footerTop .content .vaccination-time *{
    line-height: 1.4em;
}


.footerBottom {
    background-color: #46C5C8;
}
#copyright {
    float: none;
    font-size: 12px;
    color: #fff;
    text-align: right;
}

.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: #46C5C8;
    border: 2px solid #ffffff;
    text-align: center;
    line-height: 44px;
}

/* 診察時間テーブル */
table.consultation-hour {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

table.consultation-hour, table.consultation-hour td, table.consultation-hour th {
    border-collapse: collapse;
    border: 1px solid #36C2C5;
}
table.consultation-hour th{
    width: 10%;
    padding: 15px;
    text-align: center;
}

table.consultation-hour th{
    background: #4edfe2;
}
table.consultation-hour th.time {
    width: 25%;
}
table.consultation-hour td{
    text-align: center;
    color: #499793;
    background-color: #fffbe9;
}
table.consultation-hour td.closed{
    font-size: 15px;
    color: #f24545;
}
table.consultation-hour td .circle {
    width: 1.5rem;
    height: 1.5rem;
    border: solid 1px #077274;
    border-radius: 50%;
    text-align: center;
    margin: 0 auto;
}

/* 診察時間テーブル */



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

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

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



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

	02.[START] トップページ

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

.top-image{
    display: block;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.top_main_bg{
    background: url(/wp-content/uploads/2018/02/top-image-1.jpg);
    background-position: left;
    background-repeat: no-repeat;
    height: 420px;
    max-width: 1400px;
    margin: 0 auto;
}

.top_main_bg h2{
    display: inline-block;
    color: #46C5C8;
    font-size: 36px;
    line-height: 1.4em;
    padding: 100px 0 20px;
    border-bottom: 1px solid #46C5C8;
}

.top_main_bg  p{
    margin: 40px 0;
}

#main.home {
    margin: 0 auto;
    padding: 0 10px;
}

#main.home h2{
    font-size: 32px;
    text-align: center;
    margin: 20px 0;
}
#main.home h2 span{
    display: block;
    font-size: 14px;
    color: #09aaad;
    margin: 10px 0;
}

#main.home .content{
    width: 100%;
    margin: 50px 0;
}

/* 当院の特色 */

#main.home .content.feature img {
    max-height: 280px;
}

#main.home .content.feature .point{
    display: inline-block;
    width: 120px;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    font-weight:700;
    border-radius: 10px;
    color: #00a9ad;
    background-color: #fcddaa;
    margin: 20px 0;
    text-align: center;
}
#main.home .content.feature .point p{
    margin-top: -20px;
}
#main.home .content.feature .point .num{
    font-size: 32px;
    margin-left: 10px;
}

#main.home .content.feature .attention{
    font-size: 28px;
    font-weight: 700;
    color: #22bbbf;
    margin-bottom: 20px;
}
#main.home .content.feature .attention span{
    color: #00696c;

}

/* /当院の特色 */


/* お知らせ */


#news.content{
    background-color: #dff2f2;
    padding: 30px 0;
}

#news.content .text{
    display: inline-block;
    width: 30%;
    text-align: center;
    vertical-align: middle;
}

#news.content .text .title{
    font-size: 28px;
}
#news.content .text .btn{
    width: 120px;
    border-radius: 15px;
    color: #ffe6be;
    background-color: #09aaad;
    cursor: default;
}

#news.content ul{
    display: inline-block;
    width: 68%;
    margin: 0;
    vertical-align: middle;
}

#news.content ul li{
    padding: 15px 20px;
    border-bottom: 1px solid #addcdc;
}

/* /お知らせ */


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

  [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 #46C5C8;
    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 #46C5C8;
    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: #46C5C8;
    color: white;
}
.blog-header:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px #46C5C8;
    opacity: .8;
}

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

.blog-content{
    margin: 10px;
}


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

	05.error(404.php)

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

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


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

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

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

/*固定ページ共通*/


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 {
    color: #46C5C8;
    font-size: 30px;
    text-align: left;
    line-height: 1.4em;
    padding: 7px;
    border-bottom: 2px solid #00696c;
    margin: 30px 0;
}
#main.page .content{
    margin-bottom: 30px;
}

/*--------------------------------------
	06-01.診察内容
--------------------------------------*/

#main.page.examination h2{
    color: #46C5C8;
    text-align: left;
    line-height: 1.4em;
    padding: 7px;
    border-bottom: 2px solid #00696c;
    margin: 0;
}

#main.page.examination .content{
    margin: 30px 0;
}
#main.page.examination .content .float-box img{
    max-height: 390px;
}

#main.page.examination .float-box .fl{
    width: 350px;
}
#main.page.examination .float-box .fr{
    width: calc(100% - 370px);
    text-align: right;
}

#main.page.examination ul.list{
    margin: 10px 0;
}
#main.page.examination ul ul{
    margin-left: 1em;
}



/*--------------------------------------
	06-02.設備紹介
--------------------------------------*/

#main.page.armamentarium img{
    max-height: 275px;
}

#main.page.armamentarium .content h2{
    margin: 10px 0;
}
#main.page.armamentarium .content p{
    margin: 10px 0;
}


/*--------------------------------------
	06-03.医院のご案内
--------------------------------------*/


/*--------------------------------------
	06-04. アクセス
--------------------------------------*/

/************************************************************************
	[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-bottom: 1px solid #fff;
        font-size: 13px;
        list-style-type: none;
        color: #fff;
    }
    .gnav-container li a{
        color: #fff;
        padding: 10px;
    }

    .gnav-container li a:hover,.gnav-container li.current-menu-item a {
        background: #2Ac0A4;
    }

    .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 {
        font-size: 30px;
        line-height: 1.4em;
    }
    .site-title .categories {
        font-size: 14px;
        margin-top: -5px;
    }
    .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 .float-box .clinic-info {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        text-align: left;
    }
    
    .footerTop .content.info .float-box .consultation{
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }
    
    /*--------------------------------------
        07-02.レスポンシブ TOPページ
    --------------------------------------*/

    .top_main_bg{
        margin-top: 20px;
        background: none;
        height: auto;
        text-align: left;
    }
    .top_main_bg h2{
        display: block;
        font-size: 28px;
        padding: 10px 0;
    }
    .top_main_bg  p{
        margin: 20px 0;
    }

    /* 当院の特色 */
    #main.home .content.feature img {
        display: block;
        margin: 0 auto;
    }
    #main.home .content.feature .inline{
        max-width: 520px;
        text-align: left;
        margin:0 auto;
    }
    /* /当院の特色 */


    /* 新着情報 */
    #news.content {
        background-color: #dff2f2;
        padding: 30px 0;
    }

    #news.content .text {
        display: block;
        width: 100%;
        text-align: center;
        vertical-align: middle;
        margin: 0 auto 10px;
    }
    #news.content ul {
        display: inline-block;
        width: 100%;
        margin: 0;
        vertical-align: middle;
        text-align: left;
    }
    /* /新着情報 */

    
    /*--------------------------------------
       07-02-02.固定ページ
   --------------------------------------*/
    #main.page .float-box >*{
        width: 100% !important;
    }
    #main.page h2{
        font-size: 22px;
    }


    /*--------------------------------------
        07-03.診察内容
    --------------------------------------*/
    #main.page.examination .content{
        margin: 0 0 10px;
    }
    #main.page.examination .float-box .fr {
        text-align: left;
    }
    
}

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

	08.レスポンシブ　(min-width: 1000px)

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

@media (min-width: 1000px){
    .container {
        max-width: 920px;
    }
}

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

	09.レスポンシブ　(max-width: 1000px)

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

@media (max-width: 1080px){
    .main-column, .side-column {
        max-width: 100%;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
}

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

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

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

@media (max-width: 480px){
    .top-image {
        object-fit: cover;
        object-position: center;
        height: 180px;
    }
}

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

	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;
        border: solid 1px #077274;
        border-radius: 50%;
        text-align: center;
        margin: 0 auto;
    }
}
