/* CSS Document */

@media screen and (max-width:640px) {
    body {
        font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", verdana, Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
        color: #333;
        font-size: 14px;
        line-height: 1.6;
        letter-spacing: 0.5px;
        background-image: url(../images/bg_body.png), url(../images/bg.png);
        background-repeat: no-repeat, repeat;
        background-position: top center, top center;
        text-align: justify;
        min-width: 380px;
    }
    a {
        color: #333;
        text-decoration: none;
    }
    a:hover {
        color: #826455;
        text-decoration: underline;
    }
    .pc {
        display: none!important;
    }
    /*============================================================================

	#header　＊ヘッダー（スライド時固定）＊

============================================================================*/
    #header {
        position: relative;
        width: 100%;
        height: 100px;
        top: 0;
        border-bottom: #c9b9b1 1px solid;
        background-image: url(../images/bg_header.png);
    }
    .header_contents {
        position: relative;
        width: 100%;
    }
    /*--------------------　h1　--------------------*/
    #header h1 {
        position: relative;
        margin-top: 5px;
        font-size: 13px;
        color: #46736d;
        text-align: center;
    }
    /*--------------------　ロゴ　--------------------*/
    .header_logo {
        float: left;
        width: 310px;
        margin-top: 10px;
        margin-left: 10px;
    }
    .header_logo img {
        width: 100%;
        height: auto;
    }
    /*--------------------　メニュー　--------------------*/
    #Menu {
        width: 50px;
        height: auto;
        margin-top: 13px;
        margin-right: 10px;
        cursor: pointer;
        z-index: 9999;
    }
    #spNavi {
        display: none;
        width: 100%;
        /*96%*/
        z-index: 9999;
        padding: 10px 0 0 0px;
        position: absolute;
        top: 84px;
        background-image: url(../images/bg.png);
    }
    #spNavi li {
        float: left;
        text-align: center;
        width: 48%;
        background-color: #FFFFFF;
        opacity: 0.8;
        border-radius: 6px;
        /* CSS3草案 */
        -webkit-border-radius: 6px;
        /* Safari,Google Chrome用 */
        -moz-border-radius: 6px;
        /* Firefox用 */
        padding: 4px 0;
        border: 1px solid #DEDEDE;
        margin-bottom: 8px;
        z-index: 9999;
    }
    #spNavi li a {
        display: block;
    }
    #spNavi li img {
        width: 120px;
    }
    /*--------------------　住所・電話番号　--------------------*/
    .header_info {
        position: absolute;
        width: 100%;
        font-size: 13px;
        text-align: center;
        color: #826455;
        top: 120px;
    }
    .header_info li {
        margin-bottom: 8px;
    }
    /*============================================================================

	#main　＊メイン画像・スライダー＊

============================================================================*/
    #home_main {
        width: 100%;
        height: 350px;
        top: 90px;
        position: relative;
        overflow: hidden;
        margin-bottom: 80px;
    }
    #home_main h2 img {
        width: 600px;
        position: absolute;
        left: 50%;
        margin-left: -300px;
        height: auto;
    }
    #home_inner {}
    #home_inner h2 {
        padding-top: 90px;
        text-align: center;
    }
    #home_inner img {
        width: 100%;
        height: auto;
    }
    /*============================================================================

	#contents　＊メインコンテンツ＊

============================================================================*/
    #contents {
        width: 100%;
        margin: 40px auto 0;
        padding-bottom: 150px;
        overflow: hidden;
    }
    /*==================================================================

	#contents_left 　＊左サブメニュー＊

==================================================================*/
    .contents_left {
        position: relative;
        height: auto;
        bottom: 0;
        width: 100%;
        margin: 180px 0 0;
        padding-top: 40px;
        border-top: #500102 2px solid;
    }
    .submenu_box {
        padding: 20px 0 45px;
        width: 90%;
        margin: 0 auto;
        overflow: hidden;
    }
    .submenu_box img {
        overflow: hidden;
    }
    .left_bnr img {
        display: block;
        margin: 0 auto;
    }
    .left_bnr p {
        margin-bottom: 20px;
    }
    /*--------------------　診療時間　--------------------*/
    .submenu_schedule_text {
        padding: 10px 0;
        border-bottom: #9c7d5f 1px dotted;
    }
    .submenu_schedule_text strong {
        font-size: 16px;
    }
    .submenu_schedule_text span {
        color: #46736D;
    }
    span#attention {
        color: #393939;
        font-weight: bold;
        line-height: 1.25;
    }
    span#attention>span {
        color: #46736D;
        margin-bottom: 1em;
    }
    .submenu_m {
        color: #46736D;
        font-size: 16px;
    }
    /*--------------------　アクセス・茶色い枠部　--------------------*/
    .submenu_access_text {
        margin-top: 10px;
        padding: 10px 0;
        text-align: center;
        color: #604a3f;
        background-color: #e5d8ce;
        border-radius: 10px;
        /* CSS3草案 */
        -webkit-border-radius: 10px;
        /* Safari,Google Chrome用 */
        -moz-border-radius: 10px;
        /* Firefox用 */
    }
    /*--------------------　診療案内　--------------------*/
    .submenu_medicalnav li {
        background: url(../images/submenu_point_sp.png) no-repeat left center;
        background-size: 37px 15px;
        -webkit-background-size: 37px 15px;
        -moz-background-size: 37px 15px;
        border-bottom: #9c7d5f 1px dotted;
        height: 35px;
        padding: 15px 0 5px 55px;
        font-size: 15px;
    }
    /*==================================================================

	#contents_right 　＊右メインカラム＊

  ==================================================================*/
    #contents_right {
        width: 100%;
    }
    /*====================　Home　====================*/
    /*-----　患者さんへメッセージ　-----*/
    #message {
        width: 90%;
        margin: 0 auto;
        letter-spacing: 0;
        line-height: 1.7;
    }
    #message img {
        padding-left: 10px;
    }
    /*-----　お任せください　-----*/
    #subject {
        position: relative;
        height: 797px;
        margin-bottom: 110px;
        margin-top: 70px;
        left: 50%;
        margin-left: -335px;
        background-image: url(../images/home_subject.png);
    }
    #subject h4 {
        color: #a16a50;
        margin-top: 30px;
        margin-left: 150px;
        font-size: 13px;
        letter-spacing: 0px;
    }
    #subject p {
        width: 210px;
        text-align: left;
        letter-spacing: 0;
    }
    .subject_naika_photo {
        position: relative;
        top: 60px;
        left: 100px;
    }
    .subject_naika_photo img {
        width: 90%;
    }
    .subject_naika_title {
        position: relative;
        top: -106px;
        left: 300px;
    }
    .subject_naika {
        position: relative;
        top: -103px;
        left: 300px;
    }
    .subject_zensoku_photo {
        position: relative;
        top: -95px;
        left: 375px;
    }
    .subject_zensoku_photo img {
        width: 90%;
    }
    .subject_zensoku_title {
        position: relative;
        top: -250px;
        left: 150px;
    }
    .subject_zensoku {
        position: relative;
        top: -245px;
        left: 155px;
    }
    .subject_suimin_photo {
        position: absolute;
        top: 589px;
        left: 100px;
    }
    .subject_suimin_photo img {
        width: 90%;
    }
    .subject_suimin_title {
        position: relative;
        top: -199px;
        left: 290px;
    }
    .subject_suimin {
        position: absolute;
        top: 645px;
        left: 300px;
    }
    /*-----　お知らせ　-----*/
    #news {
        width: 90%;
        height: 240px;
        padding: 20px;
        background-image: url(../images/bg_news.png);
    }
    #news #js-info{
        height: 100%;
        overflow-y: scroll;
    }
    #js-info ul{
        list-style: none;
        padding-left: 0;
        margin-bottom: .02em;
        font-size: 11px;
    }
    #js-info li{
        color: #46736d;
    }
    #js-info li span{
        color: #826455;
        font-size: 1.3em;
    }
    #js-info div{
            font-weight: normal;
            line-height: 1.7;
            padding-bottom: 1.5em;
            border-bottom: dotted 1px #9c7d5f;
            margin-top: 0;
            margin-bottom: 1.5em;
    }
    #js-info div p:not(:last-of-type){
        margin-bottom: 1.25em;
    }
    .btn_newslist{
        width: fit-content;
        margin: 20px auto 20px;
    }
    .btn_newslist a{
        padding: 5px 20px;
        color: #826455;
        border: solid 1px #9c7d5f;
        border-radius: 5px;   
    }
    .line {
        border-bottom: #9c7d5f 1px dotted;
        padding-bottom: 20px;
        width: 95% !important;
    }
    /*====================　Medical　====================*/
    .medical_point {
        background: url(../images/medical_point_sp.png) no-repeat left center;
        background-size: 14px 14px;
        padding-left: 35px;
        font-size: 18px;
        height: 30px;
        color: #826455;
        margin: 40px 0 0 20px;
    }
    .medical_text {
        padding: 10px 15px 10px 35px;
    }
    .medical_text a {
        color: #46736d;
        text-decoration: underline;
    }
    .medical_checkbox01 {
        background-color: rgba(219, 198, 186, 0.40);
        border-radius: 10px;
        /* CSS3草案 */
        -webkit-border-radius: 10px;
        /* Safari,Google Chrome用 */
        -moz-border-radius: 10px;
        /* Firefox用 */
        padding: 20px;
    }
    .medical_checkbox02 {
        background-color: rgba(219, 198, 186, 0.40);
        border-radius: 10px;
        /* CSS3草案 */
        -webkit-border-radius: 10px;
        /* Safari,Google Chrome用 */
        -moz-border-radius: 10px;
        /* Firefox用 */
        height: auto;
        padding: 20px;
        margin-bottom: 10px;
    }
    .medical_check {
        background: url(../images/medical_check_sp.png) no-repeat left 3px;
        background-size: 15px 15px;
        padding-left: 30px;
        height: 20px;
        color: #826455;
        margin: 0 0 11px 0;
    }
    .info1805 {
        background: url(../images/medical_check_sp.png) no-repeat left center top;
        height: auto;
    }
    .info1805 span {
        border-bottom: solid 1px;
    }
    .medical_box {
        background-color: rgba(219, 198, 186, 0.40);
        border-radius: 10px;
        /* CSS3草案 */
        -webkit-border-radius: 10px;
        /* Safari,Google Chrome用 */
        -moz-border-radius: 10px;
        /* Firefox用 */
        height: auto;
        padding: 20px;
    }
    /*====================　clinic　====================*/
    .clinic_m {
        width: 355px !important;
    }
    .link_clinic {
        color: #826455;
        width: 263px;
        line-height: 42px;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        border: #826455 solid 2px;
        background-color: #FFF;
        -webkit-transition: 0.2s ease-in-out;
        -moz-transition: 0.2s ease-in-out;
        -o-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out;
        display: block;
        margin: 10px auto 0;
    }
    .link_clinic:hover {
        color: #500102;
        width: 263px;
        line-height: 42px;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        border: #500102 solid 2px;
        /* box-shadow: 2px 2px #775848; */
        /* border-radius: 4px; */
        background-color: #A0897D;
        -webkit-transition: 0.2s ease-in-out;
        -moz-transition: 0.2s ease-in-out;
        -o-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out;
        display: block;
        margin: 10px auto 0;
    }
    .link_clinic2 {
        color: #46736D;
        width: 263px;
        line-height: 42px;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        border: #46736D solid 2px;
        background-color: #FFF;
        -webkit-transition: 0.2s ease-in-out;
        -moz-transition: 0.2s ease-in-out;
        -o-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out;
        display: block;
        margin: 10px auto 0;
    }
    .link_clinic2:hover {
        color: #46736D;
        width: 263px;
        line-height: 42px;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        border: #244f49 solid 2px;
        background-color: #698B85;
        -webkit-transition: 0.2s ease-in-out;
        -moz-transition: 0.2s ease-in-out;
        -o-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out;
        display: block;
        margin: 10px auto 0;
    }
    /*====================　Access　====================*/
    .access_point {
        background: url(../images/access_point.png) no-repeat left center;
        padding-left: 40px;
        font-size: 18px;
        height: 30px;
        color: #826455;
        width: 200px;
        border-bottom: #826455 2px solid;
    }
    .access_text {
        padding: 10px 10px 10px 10px;
        margin-bottom: 30px;
    }
    .access_left {
        float: left;
        width: 270px;
    }
    .access_right {
        float: right;
        width: 350px;
        margin-right: 20px;
    }
    /*====================　Doctor　====================*/
    /*-----　ごあいさつ　-----*/
    .message_img {
        float: left;
        margin: 0 20px 0 0px;
        padding-top: 10px;
    }
    .message dd {
        float: right;
        margin: 0 15px;
        letter-spacing: 0;
        line-height: 1.7;
    }
    /*-----　学歴　-----*/
    .doctor_list {
        margin-bottom: 100px;
    }
    .doctor_list li {
        padding: 10px 0 10px 55px;
        border-bottom: #9c7d5f 1px dotted;
        width: 90%;
        margin: 0 auto;
    }
    .doctor_box_left {
        margin: 0 25px 50px 0;
    }
    .doctor_box_right {
        margin: 0 0 50px 0;
    }
    .doctor_list_s li {
        padding: 10px 0 10px 55px;
        border-bottom: #9c7d5f 1px dotted;
        width: 90%;
        margin: 0 auto;
    }
    .doctor_point li {
        background: url(../images/doctor_point.png) no-repeat left center;
        font-size: 16px;
        height: auto;
        padding: 18px 10px 10px 58px;
        color: #826455;
        border-bottom: #826455 1px solid;
    }
    /*============================================================================

	#footer

============================================================================*/
    #footer {
        position: relative;
        height: auto;
        margin-top: 30px;
        height: 330px;
        border-top: #500102 3px solid;
        background-image: url(../images/bg_footer.png);
    }
    .footer_contents {
        width: 100%;
        margin: 0 auto;
        padding-top: 130px;
        text-align: center;
    }
    .footer_contents dl {
        color: #4f3327;
    }
    .footer_contents dd {
        margin-top: 10px;
    }
    .footer_navi {
        width: 100%;
        /*96%*/
        z-index: 9999;
        padding: 10px 0 0 0px;
        position: absolute;
        top: 20px;
    }
    .footer_navi li {
        float: left;
        text-align: center;
        width: 49%;
        padding: 4px 0;
        margin-bottom: 15px;
        z-index: 9999;
    }
    .footer_navi li:nth-child(odd) {
        border-right: 1px solid #500102;
        border-left: 1px solid #500102;
    }
    .footer_navi li:nth-child(even) {
        border-right: 1px solid #500102;
    }
    .footer_navi li a {
        color: #FFFFFF;
        display: block;
    }
    .footer_navi li a:hover {
        color: #efe1da;
        text-decoration: none;
    }
    /*--------------------　PageTop　--------------------*/
    #pagetop {
        position: relative;
        width: 100%;
        bottom: 30px;
        margin: 0 auto;
        cursor: pointer;
    }
    #pagetop p {
        position: absolute;
        left: 50%;
        margin-left: -52px;
    }
    .pagetop {
        position: relative;
        width: 100%;
        bottom: 30px;
        margin: 150px auto 0;
        cursor: pointer;
    }
    .pagetop p {
        position: absolute;
        left: 50%;
        margin-left: -52px;
    }
    /*--------------------　Copyright　--------------------*/
    .copy {
        clear: both;
        position: absolute;
        width: 100%;
        margin: 0 auto;
        top: 290px;
    }
    .copy p {
        position: absolute;
        right: 10px;
    }
    /*==================================================================

	共通

==================================================================*/
    .box {
        margin-bottom: 50px;
    }
    .text {
        padding: 0 15px;
    }
    /*==================================================================

	table

==================================================================*/
    /*-----　Home　診療時間　-----*/
    .schedule {
        border-spacing: 2px;
        border-collapse: separate;
        background-color: #e1d4cd;
        white-space: nowrap;
        width: 100%;
    }
    .schedule td,
    .schedule th {
        padding: 8px 8px;
    }
    .schedule th {
        font-weight: normal;
        white-space: nowrap;
        text-align: center;
        color: #ffffff;
        background-color: #906658;
    }
    .schedule td {
        background-color: #c4cbd1;
        color: #366861;
        text-align: center;
    }
    .schedule td.time {
        background-color: #366861;
        color: #fff;
    }
    .kyushin p {
        font-size: 0.9em;
        letter-spacing: ;
        text-align: center;
        line-height: 2;
        white-space: nowrap;
        background-color: #c4cbd1;
    }
    /*-----　Medical　健康診断表　-----*/
    .medical_table {
        font-size: 10px;
        border-spacing: 1px;
        border-collapse: separate;
        background-color: #a8816e;
    }
    .medical_table td,
    .medical_table th {
        padding: 4px 8px;
    }
    .medical_table th {
        font-weight: normal;
        text-align: center;
        color: #ffffff;
        background-color: #826455;
    }
    .medical_table td {
        background-color: #fff8f6;
        color: #222222;
    }
    /*==================================================================

	タイトル

==================================================================*/
    /*-------------------- 右メインカラム　タイトル見出し--------------------*/
    h3.title01 {
        width: 610px;
        height: 50px;
        margin-bottom: 35px;
        padding-top: 10px;
        padding-left: 60px;
        font-size: 23px;
        letter-spacing: 0.1em;
        color: #604a3f;
        background: url(../images/title_sp.png);
        background-repeat: no-repeat;
        background-size: 670px 60px;
        -webkit-background-size: 670px 60px;
        -moz-background-size: 670px 60px;
    }
    /*-------------------- ホーム　こじま内科へお任せください--------------------*/
    h3.title02 {
        padding-top: 26px;
        font-size: 20px;
        color: #FFFFFF;
        padding-left: 160px;
    }
    /*-------------------- 右メインカラム　院長紹介　短いタイトル見出し--------------------*/
    h3.title03 {
        height: 50px;
        margin-bottom: 35px;
        padding-top: 10px;
        padding-left: 60px;
        font-size: 23px;
        letter-spacing: 0.1em;
        color: #604a3f;
        background: url(../images/title.png);
    }
    /*-------------------- 右メインカラム　慢性閉塞性肺疾患（ＣＯＰＤ）字が多い時・ SP用--------------------*/
    h3.title04 {
        height: 50px;
        margin-bottom: 35px;
        padding-top: 10px;
        padding-left: 60px;
        font-size: 19px;
        letter-spacing: 0.1em;
        color: #604a3f;
        background: url(../images/title_sp.png);
        background-size: 670px 60px;
    }
}

.medical_checkbox {
    background-color: rgba(240, 226, 218, 0.8);
    border-radius: 15px;
    width: auto;
    height: auto;
}

@media screen and (max-width: 640px) {
    .medical_check {
        height: auto !important;
    }
}

.medical_checkbox ul {
    padding: 1rem;
}

.medical_checkbox li {
    display: flex;
    margin-bottom: 13px;
    color: #826455;
    line-height: 1.6;
}

.medical_checkbox li:last-child {
    margin-bottom: 0;
}

.medical_checkbox li::before {
    content: "";
    background: url(../images/medical_check.png) no-repeat left 3px;
    width: 5%;
    height: 25px;
    margin-right: 5px;
}

.medical_checkbox li span {
    width: 95%;
}

/*add*/
#contents.news h3.title01{
  background: url(../images/title.png) no-repeat left bottom;
  width: 100%;
  padding: 0 5% 1% 60px;
  font-size: 20px;
  box-sizing: border-box;
}