@charset "utf-8";

/*=================================================================================================================================*/
/** 個別指定 for スマートフォン
/*=================================================================================================================================*/

/*---------------------------------------------
 ** 740px
---------------------------------------------*/
@media screen and (max-width: 767px) {
  /*---------------------------------------------
	html
---------------------------------------------*/
  html {
    scroll-behavior: smooth;
    font-size: 55%;
  }
  /*画像*/
  img {
    max-width: 100%;
    height: auto;
  }
  p {
    text-align: justify;
  }

  /*---------------------------------------------
 **  カラム
---------------------------------------------*/
  #main {
    width: 90%;
    padding: 0rem 0 2rem;
  }

  .only_sp_none{
    display: none !important;
  }


  /*---------------------------------------------
 ** ヘッダー記述
---------------------------------------------*/
  .header_wrapper {
    /* padding: 6px 0 0 3%; */
    border-bottom: 2px solid #eaedf4;
    box-sizing: border-box; /*通常の記述*/
    -webkit-box-sizing: border-box; /*Google ChromeやSafariの機能を利用*/
    -moz-box-sizing: border-box; /*Firefoxの機能を利用*/
  }


  /* ロゴ */
  .logo {
    max-width: 260px;
  }
  #footer .logo {
    max-width: 80%;
    max-height: 43px;
    margin: 0 auto;
  }

  /* 上部4つボタン */
  .tel_nbr p {
    font-size: 1.7rem !important;
    padding: 5px 0 !important;
    font-weight: bold;
  }

  /* ヘッダーサブナビ 順番 */
    .header-sub-nav{
 display: flex;
 flex-direction: row;
}

.header-sub-nav li:nth-of-type(1){ order:4;}
.header-sub-nav li:nth-of-type(2){ order:4; width: 49%;}
.header-sub-nav li:nth-of-type(3){ order:4; width: 49%;}
.header-sub-nav li:nth-of-type(4){ order:1; margin-bottom:6px;}

.header-sub-nav li{width: 100%;margin-right: 0;}


  .tel_nbr {
    margin-bottom: 6px;
  }
  .tel_nbr:nth-of-type(1),
  .tel_nbr:nth-of-type(2) {
    width: 100%;
  }


  .tel_nbr:nth-of-type(4) p {
    font-size: 2rem !important;
    padding: 6px 0 7px !important;
   
  }
  .tel_nbr:nth-of-type(3) p,
  .tel_nbr:nth-of-type(4) p {
    margin: 0;
  }
  .tel_nbr:nth-of-type(4) p {
    margin-bottom: 0;
  }
  .tel_nbr {
    list-style: none;
  }

  /* スマホ TEL アイコン */
  .tel_sp {
    display: none;
  }

  .header-access {
    padding: 0.1rem 5.4rem;
    font-size: 1.1rem;
    color: #0059aa;
    border: 1px solid #0059aa;
    background: #ffffff;
    text-align: center;
    font-weight: bold;
    position: relative;
    top: -16px;
    display: inline-block;
    right: unset;
    display: none;
  }

  #footer .header-access {
    position: relative;
    top: unset;
    right: unset;
    display: block;
    width: 40%;
    margin: 15px auto 0;
  }

  #footer .tel_nbr:nth-of-type(3) {
    width: 100%;
  }
  .time-holiday {
    list-style: none;
    padding: 0 0 15px;
  }
  /*---------------------------------------------
 **  ナビ
---------------------------------------------*/
  .sub-menu {
    padding: 0 12% 0 7%;
    background: #f4fafd;
  }
  .sub-menu li {
    border-bottom: 1px dashed #ccc;
  }
  .sub-menu li:last-of-type {
    border: none;
  }
  .sub-menu li a {
    padding: 0.8em 1em 0.7em 2em;
    font-size: 12px;
  }
  .sub-menu li a:after {
    position: absolute;
    top: 9px;
    left: 5px;
    content: "≫";
    color: #006cbb;
  }
  .sub-menu li:last-of-type a:after {
    content: "≫";
  }
  #nav01 {
    border-bottom: none;
  }
  .sub-menu li a:before {
    display: none;
  }

  .sub-menu {
    border-top: 1px solid #dcdddd;
  }
  .sub-menu li:last-of-type {
    border-bottom: none;
    border-top: none;
  }

  
/*---------------------------------------------
 **  お知らせ欄
---------------------------------------------*/
#top_info #info_block,
#top_info #info_dl{
  width: 100% !important;
}
#top_info #info_block{
  padding-top: 1rem !important;
}
#top_info #info_dl dl{
  flex-direction: column;
}


  /*---------------------------------------------
 ** フッター記述
---------------------------------------------*/
  footer {
    margin-bottom: 8rem;
  }
  .footer_wrapper {
    margin: 0;
    padding-bottom: 10px;
  }
  /* フッターナビ */
  #footer nav ul {
    background: #f6f6f6;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1px 0 1px 0;
  }
  #footer nav li {
    width: 49.3%;
    margin: 1px;
  }
  #footer nav a {
    width: 100%;
    background: #fff;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    display: block;
    position: relative;
  }
  #footer nav a:after {
    width: 10px;
    height: 10px;
    position: absolute;
    top: 15px;
    right: 11px;
    background-size: 100%;
    content: "";
  }

  /*---------------------------------------------
 **  診療時間
---------------------------------------------*/
  .time_table_wrapper {
    width: 100%;
  }
  .time_table th {
    font-size: 1.4rem;
    padding: 0.1rem 0.4rem 0.5rem;
  }
  .time_table td,
  tr.time_tr_shyujutsu td {
    font-size: 1.4rem;
    padding: 0.4rem 0.3rem;
  }
  /* MAP */
  .map {
    height: 300px;
  }
  /* 住所 */
  .txt-address {
    margin: 0 0 10px;
  }

  /*---------------------------------------------
 **  スマホナビ（
---------------------------------------------*/
  #nav03 ul {
    padding: 0px 5% 0 7%;
    background: #f6f6f6;
  }
  #nav03 ul li {
    border-bottom: 1px dashed #ccc;
  }
  #nav03 ul li:last-of-type {
    border: none;
  }
  #nav03 ul li a {
    padding: 0.8em 1em 0.7em 2em;
    font-size: 12px;
  }
  #nav03 ul li a:after {
    position: absolute;
    top: 7px;
    left: 5px;
    content: "≫";
    color: #0059b2;
  }
  #nav03 ul li:last-of-type a:after {
    content: "≫";
  }
  #nav03 {
    border-bottom: none !important;
  }

  #nav03 ul li a:before {
    display: none;
  }

  #nav03 ul {
    border-top: 1px solid #dcdddd;
    border-bottom: 1px solid #dcdddd;
  }

  .navBtn {
    width: 54px;
    height: 62px !important;
    background: #006cbb;
    top: 0px !important;
    right: 0px !important;
    padding: 20px 16px 0px 20px !important;
    box-sizing: border-box; /*通常の記述*/
    -webkit-box-sizing: border-box; /*Google ChromeやSafariの機能を利用*/
    -moz-box-sizing: border-box; /*Firefoxの機能を利用*/
    display: flex;
  }

  /*=================================================================================================================================*/
  /**  TOPコンテンツ	*/
  /*=================================================================================================================================*/
  .news_L {
    flex-basis: 65px;
    min-height: 85px;
    padding-top: 23px;
  }
  .news_R {
    width: 73% !important;
    font-size: 1.5rem;
  }
  .news_wrapper {
    padding: 2rem 0 2.1rem;
  }

  .slick-next,
  .slick-prev {
    z-index: 999;
  }
  .slick-next {
    right: -10px !important;
  }
  .slick-prev {
    left: -13px !important;
  }
  button.slick-prev,
  button.slick-next {
    width: 23px !important;
    border: unset;
  }

  .sp-top-treat img {
    height: 130px;
    object-fit: cover;
  }

  .sp-top-treat-ttl {
    margin: 0 !important;
  }

  /*=================================================================================================================================*/
  /**  内部ページ	*/
  /*=================================================================================================================================*/
  .main_img {
    background-size: cover;
    position: relative;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: 30% 0 !important;
  }
  #top .main_img {
    display: block;
    height: 100%;
  }
  /* スライドショー位置調整 */
  .main_img_slide_01 {
    background-position: center top;
  }
  .main_img_slide_02 {
    background-position: 45% 0 !important;
  }
  .main_img_slide_03 {
    background-position: 10% 0 !important;
  }
  .main_img_slide_04 {
    background-position: 15% 0 !important;
  }
  .slideshow {
    width: 100%;
    position: relative;
    left: 0;
  }



/* 疾患用説明リスト */

	.tbl-dis {
		margin: 0;
	}
  .tbl-dis  th,
  .tbl-dis  td {
		width: 100%;
		display: block;
		border-top: none;
	}
	.tbl-dis  tr:first-child th {
		border-top: 1px solid #dddddd;
	}

  .treat-time-wrapper{
    width: 90%;
    margin: 0 auto 3rem auto;
  }
.treat-time-wrapper ul{
  margin: 1rem 0 0 1rem;
}

.flx-base-571 {
  margin-bottom: 3rem !important;
}



/* 予約ボックス */
.reservebox .item:first-child{
  border-bottom: 2px solid #104583;
  padding-bottom: 1rem;
}
.reservebox .item{ width: 90%; margin: 0 auto;}


.last td:last-child {
  border-bottom: solid 1px #ccc;
  width: 100%;
}
.tbl-r02 {
  width: 80%;
}
.tbl-r02 th,
.tbl-r02 td {
　　border-bottom: none;
  display: block;
  width: 100%;
}


} /*■■ ここまで ■■*/
