@charset 'utf-8';

/*************************************
* 共通
*************************************/

@media screen and (max-width:768px) {
  h2{
    font-size: 1.4em;
  }
  h3{
    font-size: 1.6em;
    padding-left: 25px;
  }
  h3:before{
    width: 17px;
    height: 18px;
  }
  .sp-view{
    display: block;
  }
  .sp-view-inline{
    display: inline;
  }
  .pc-view{
    display: none;
  }
  .pc-view-inline{
    display: none;
  }
  .half-box{
    width: 100%;
  }
  .half-box:nth-child(odd),
  .half-box:nth-child(even){
    margin: 0 0 20px 0;
  }
}

/*************************************
* ヘッダー
*************************************/

@media screen and (max-width:768px) {
  header {
    min-width: initial;
    padding-top: 65px;
  }
  #header_nav_button{
    position: fixed;
    top: 12px;
    right: 15px;
    z-index: 3;
  }
  #header_nav_button:hover{
    cursor: pointer;
  }
  #header_nav_button span{
    display: block;
    height: 5px;
    width: 40px;
    background: #6C3400;
    margin: 7px auto;
  }
  #header_nav,
  #header_nav.fixed{
    position: fixed;
    top: 0!important;
    left: 0;
    height: 65px;
    width: 100%;
    min-width: initial;
    border-bottom: 1px #FFFFFF solid;
    margin: 0!important;
  }
  #header_nav h1{
    float: left;
    width: auto;
    padding-top: 5px;
  }
  #header_nav h1 a,
  #header_nav.fixed h1 a{
    padding: 5px;
    display: block;
  }
  #header_nav h1 img {
    width: 170px;
    height: 44px;
    width: auto;
  }
  #header_menu{
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(108,52,0,0.8);
  }
  #header_menu a{
    display: block;
    width: 100%;
    height: auto;
    padding: 5px 0;
    color: #FFF;
    border: none;
    border-top: 1px #FFFFFF solid;
  }
  #header_nav.fixed #header_menu a {
    height: auto;
  }
  #header_menu a span{
    color: #FFFFFF;
  }
}

/*************************************
* スライダー、メインビジュアル
*************************************/

@media screen and (max-width:768px) {
  #slider{
    min-height: 200px;
  }
  #main_visual {
    margin-bottom: 30px;
  }
  .bx-wrapper{
     margin-bottom: 30px;
  }
  .bx-wrapper .bx-pager {
    display: none;
  }
}

/*************************************
* main, container
*************************************/
@media screen and (max-width:768px) {
  main{
    margin-bottom: 20px;
  }
  main .container{
    padding: 10px 30px;
  }
  .container{
    width: 100%;
  }
}

/*************************************
*  インフォメーション
*************************************/

@media screen and (max-width:768px) {
  #infomation{
    margin-bottom: 50px;
  }
  #infomation .col-left,
  #infomation .col-right{
    display: block;
    width: 100%;
    padding: 10px 30px;
  }
  #infomation_news{
    font-size: 1.4em;
  }

#infomation_hours{
	margin-top: 30px;
}
 #infomation_hours table{
    display: block;
    width: 100%;
  }
  #infomation_hours table thead{
    display: block;
    float: left;
    width: 20%;
  }
 #infomation_hours table tbody{
    display: block;
    width: auto;
    white-space: nowrap;
    letter-spacing: -.4em;
  }
 #infomation_hours table th{
    display: block;
    width:auto;
    height: 45px;
    border: none;
    border-top: 1px #B3B3B3 solid;
  }
  #infomation_hours table th:last-child{
    border-bottom: 1px #B3B3B3 solid;
  }
  #infomation_hours table thead tr{
    width: 100%;
    display: block;
  }
 #infomation_hours table tbody tr{
    display: inline-block;
    letter-spacing: normal;
    width: 40%;
  }
 #infomation_hours table td{
    display: block;
    height: 45px;
    border: none;
    border-top: 1px #B3B3B3 solid;
  }
  #infomation_hours table td:last-child{
    border-bottom: 1px #B3B3B3 solid;
  }
  #infomation_hours p{
    text-align: center;
    font-size: 1.4em;
  }
  #infomation_contact{
    margin: 0 -20px;
  }
  #infomation_contact p{
    font-weight: bold;
    font-size: 2.0em;
    width: 100%;
  }
  #infomation_contact p > span{
    display: block;
    font-weight: normal;
    font-size: 0.7em;
  }
  #infomation_contact .row{
    display: block;
    text-align: center;
  }
  #infomation_tel{
    display: inline-block;
    margin-bottom: 10px;
    margin-right: 0;
  }
  #infomation_tel:before{
    top: 4px;
    width: 24px;
    height: 27px;
  }
  #infomation_mail{
    display: inline-block;
  }
    #infomation_contact .row b.notice{
        display: inline-block;
        margin-top: 10px;
  }
}

/*************************************
* フッター
*************************************/

@media screen and (max-width:768px) {
  footer {
    min-width: initial;
    height: auto;
  }
  footer p{
    position: static;
    text-align: center;
    padding-bottom: 20px;
  }
  #footer_map{
    height: 200px;
    min-width: initial;
  }
  #footer_nav{
    position: static;
    text-align: center;
    padding: 15px 0;
  }
  #footer_nav ul li {
    float: none;
    display: inline-block;
  }
}

/*************************************
* 個別ページ（トップぺージ）
*************************************/

@media screen and (max-width:640px) {
  #page_top{
    margin-bottom: 0;
  }
  #page_top .box-wrapper{
    margin-bottom: 0;
  }
  #page_top .half-box h3{
    padding-left: 0;
  }
  #page_top .half-box h3:before{
    content: none;
  }
  #page_top .half-box p{
    line-height: 1.6;
  }
}

/*************************************
* 個別ページ（当院について）
*************************************/

@media screen and (max-width:640px) {
  #page_about h3.mincho{
    text-align: left;
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  #page_about p.descripition{
    font-size: 1.4em;
    text-align: left;
  }
  #page_about .half-box h3{
    padding-left: 0;
  }
  #page_about .half-box h3:before{
    content: none;
  }
}

/*************************************
* 個別ページ（治療内容）
*************************************/

@media screen and (max-width:640px) {
  #page_treatment h3{
    text-align: left;
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  #page_treatment p{
    font-size: 1.4em;
    text-align: left;
  }
  #page_treatment img:not(:last-child) {
    margin-bottom: 40px;
  }
  #page_treatment dd{
    text-align: left;
  }
  #page_treatment dl.arrow dd:not(:last-child):after{
    text-align: center;
  }
  #page_treatment ul{
    text-align: left;
  }
}

/*************************************
* 個別ページ（ドクター紹介）
*************************************/

@media screen and (max-width:640px) {
  #page_dentist .dentist-box:not(:last-child){
    padding: 0;
  }
 #page_dentist .dentist-box:last-child{
    padding-bottom: 0;
  }
  #page_dentist .dentist-image{
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
	padding-left: 0;
  }
  #page_dentist .dentist-image img{
    max-width: 200px;
    width: 100%;
  }
  #page_dentist .dentist-profile{
    display: block;
    width: 100%;
    padding: 0;
  }
  #page_dentist .title{
    text-align: center;
    margin-bottom: 5px;
  }
  #page_dentist h3{
    text-align: center;
    font-size: 2.1em;
    margin-bottom: 20px;
	font-weight: bold;
  }
  #page_dentist h3 span{
    display: block;
    text-align: center;
    margin: 0;
  }
  #page_dentist dt {
    width: 100%;
    float: none;
    text-align: center;
  }
  #page_dentist dd {
    margin: 0;
  }
}

/*************************************
* 個別ページ（アクセス）
*************************************/

@media screen and (max-width:640px) {
  #page_access .col-left,
  #page_access .col-right{
    width: 100%;
    float: none;
  }
  #page_access .col-left{
    text-align: center;
  }

  #page_access .col-right{
    margin-bottom: 10px;
  }
  #page_access .col-right img{
    width: 100%;
  }
  #page_access ul{
    text-align: left;
  }
}

/*************************************
* 個別ページ（お問合せ）
*************************************/

@media screen and (max-width:640px) {{}
  #page_contact h3{
    font-size: 2.0em;
  }
  #page_contact p{
    text-align: left;
    margin-bottom: 30px;
  }
  #page_contact form{
    width: 100%;
  }
  #page_contact dl dt{
    width: 100%;
    float: none;
    padding: 0;
    text-align: center;
    margin-bottom: 5px;
  }
  #page_contact dl dd{
    width: 100%;
    float: none;
    padding: 0;
    text-align: center;
    margin-left: 0;
  }
  #page_contact .control,
  #page_contact .control.complete{
    width: 100%;
    text-align: center;
    padding: 0;
  }
  #page_contact .button{
    float: none;
    display: block;
    margin: 0 auto 10px auto;
  }
  #page_contact dl.confirm dd {
    text-align: left;
  }
}