@charset "utf-8";

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

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

  .sp_br{
    display: inline;
  }

  h2 {
    padding-top:20px;
  }
  h3 {
    font-size:16px;
  }

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

  /*---------------------------------------------
 ** ヘッダー記述
---------------------------------------------*/
  .header_wrapper {
    box-sizing: border-box; /*通常の記述*/
    -webkit-box-sizing: border-box; /*Google ChromeやSafariの機能を利用*/
    -moz-box-sizing: border-box; /*Firefoxの機能を利用*/
    padding-top:0;
  }


  /* ロゴ */
  .logo {
    margin: 50px auto 3px;
    width: 100%;
    max-width: 320px;
  }
  #footer .logo {
    max-width: 80%;
    margin: 30px auto 20px;
  }

  /* 上部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;}

#header .tel {
  width: 256px;
  position:absolute;
  top:0px;
  left:10px;
}
  .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;
  }

  #right_igawadani	{ display: none;}
  #right_reserve { display: none;}
  #right_recruit	{ display: none;}
/*
  #right_igawadani	{ width:64px; height:auto; position: fixed; right: 0; top: 100px; z-index:99;}
  #right_reserve	{ width:64px; height:auto; position: fixed; right: 0; top: 235px; z-index:99;}
  #right_recruit	{ width:62px; height:70px; position: fixed; right: 0; top: 400px; z-index:99; overflow: hidden;}
*/
  /*---------------------------------------------
 **  サブナビ
---------------------------------------------*/
  .sub-menu {
    padding: 0 12% 0 7%;
    background: #fdf2e342;
  }
  .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: #f08600;
  }
  .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;
  }

  /*---------------------------------------------
 ** フッター記述
---------------------------------------------*/
  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 1px 2px 1px;
  }
  #footer nav a {
    width: 100%;
    background: #01BE8F;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    display: block;
    position: relative;
    color:#fff;
  }

  #footer_fix{
    width:100%;
    position:fixed;
    background:rgba(203, 174, 0, 0.9);
    padding-top:60px;
    padding-bottom:10px;
    bottom:0px;
    z-index: 9999;
  }
  #footer_fix div{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  position:relative;
  }
  #footer_fix div .footer_btn00{
  width:20%;
  max-width:65px;
  display: block;
  position:absolute;
  top:-55px;
  left:0;
  right:0;
  margin:0 auto;
  padding-right:130px;
  }
  #footer_fix div::before{
    content:'はら耳鼻咽喉科\A明石クリニック';
    white-space: pre;
    color:#fff;
    width:100px;
    height:20px;
    font-size:16px;
    font-weight: bold;
    display: block;
    position:absolute;
    line-height: 1.4;
    top:-45px;
    left:0;
    right:0;
    margin:0 auto;
    padding-left:45px;
  }
  #footer_fix div ul{
    width:100%;
    margin-left:0%;
    display: flex;
    padding-top:2%;
    justify-content: space-between;
  }
  #footer_fix div li{
    width:33%;
    text-align: center;
    list-style: none;
    display: block;
  }
  #footer_fix div li img{
    width:95%;
    margin:0 auto;
    display: block;
    max-width:336px;
  }

  body{
    padding-bottom:50px;
  }

  #pageTop {
    bottom:145px;
    right:10px;
  }

  .bnr-footer-tenant .img-box_pc{
    display: none;
  }
  .bnr-footer-tenant .img-box_sp{
    display: block;
  }


  /*---------------------------------------------
 **  診療時間
---------------------------------------------*/
  .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;
  }


  /*---------------------------------------------
 **  スマホナビ（
---------------------------------------------*/

  .navBtn {
    width: 54px;
    height: 62px !important;
    background: #f08600;
    top: 0px !important;
    right: 0px !important;
    padding: 24px 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コンテンツ	*/
  /*=================================================================================================================================*/


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


.header-recruit{
  display: none;
}

.header-reserve{
  width:40%;
  max-width: 150px;
  position: absolute;
  top: -142px;
  right: 60px;
}
.header-reserve .only_pc{
  display: none;
}
.header-reserve .only_sp{
  display: block;
}


/* ヘッダー */
.header_R{
  border-top: 2px solid #caae00;
  background: #FDFAB9;
  width: 100% !important;
  padding: 4% 5%;
}
.header_L{
  padding: 0 5%;
  margin: 0px;
}

.sp-m-b-none{
  margin-bottom: unset !important;
}

.header_wrapper .col-wrapper{
  width: 100% !important;
}

#main .col-wrapper{
  padding-top:20px;
}

/* TEL */
#header .tel_nbr p{
  position: absolute;
  top: -144px;
  left: 5%;
}

@media screen and (max-width: 320px) {
  .header-reserve{
    top: -133px;
  }
  #header .tel_nbr p{
    position: absolute;
    top: -134px;
    left: 5%;
  }
}

#footer .tel_nbr p{
 font-size:4rem !important;
}

.header-time-list{
  margin: 0 auto;
}

/* ヘッダー */
.main_img_wrapper{
  background-size: 80%;
}
.news-wrapper{
  padding-top: 10px!important;
}

.news-item-inner-L{
  padding: 1.6rem 1rem 0;
}

.news-item-inner-R{
  padding: 0rem 1rem 1.6rem;
}

/* お知らせ */
.icon-new {
  background: #00be8e;
  color: #fff;
  padding: 0.5rem 0.5rem;
  width: 20%;
  margin: 0 auto;
  font-size: 1.2rem;
  display: inline-block;
}

.news-item-inner-L p{
  display: inline-block;
  text-align: left;
    width: 50%;
}
.news-list-wrapper li{
  width:100%;
}

/* 見出し */
.ttl-icon {
  min-height: unset;
  margin-bottom: 1rem;
  padding: 62px 0 0 0;
}
.ttl-icon img{
  width: auto;
  min-height:unset !important;
  margin-bottom: 0.5rem;
}
.ttl-ptn-02 {
  font-size: 2.0rem;
}


h2.h2_lower{
  margin-top:0px;
}
.ttl-icon:before {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 10px;
  left: 0px;
  right: 0;
  margin: 0 auto;
  background: url(/img/ttl-logo.png) no-repeat;
  background-size: contain;
  content: "";
}
h2.bg_y:after{
  background:none;
}

h2.bg_w:after{
  background:none;
}
h2.bg_g:after{
  background:none;
}



/* TOPページ コンテンツ */


.index-treat{
  width:100%;
  max-width:1200px;
  display: block;
  flex-wrap: wrap;
  margin:0 auto;
}
.index-treat a{
  display: block;
  width:100%;
  position:relative;
  margin:10px 0 100px;
}
.clinic-info-R{
  position:inherit;
}
.clinic-info-L{
  position:inherit;
}
.index-treat .ttl-2{
  padding-top:10px;
}


.img-box-auto{
  position:relative;
  margin:0;
}
.img-box-auto img{
  max-width:200px;
  margin-top:5px;
}


.clinic-info-01, .clinic-info-03, .clinic-info-05{
  width:130px;
  position:absolute;
  top:1%;
  right:3%;
}
.clinic-info-02, .clinic-info-04, .clinic-info-06{
  width:130px;
  position:absolute;
  top:1%;
  left:3%;
}

.clinic-info-bg-01 {
  background: url(/img/clinic-info-bg-01_sp.png) no-repeat;
}
.clinic-info-bg-02 {
  background: url(/img/clinic-info-bg-02_sp.png) no-repeat;
}
.clinic-info-bg-03 {
  background: url(/img/clinic-info-bg-03_sp.png) no-repeat;
}
.clinic-info-bg-04 {
  background: url(/img/clinic-info-bg-04_sp.png) no-repeat;
}
.clinic-info-bg-05 {
  background: url(/img/clinic-info-bg-05_sp.png) no-repeat;
}
.clinic-info-bg-06 {
  background: url(/img/clinic-info-bg-06_sp.png) no-repeat;
}
.clinic-info-bg-01, .clinic-info-bg-02, .clinic-info-bg-03,
.clinic-info-bg-04, .clinic-info-bg-05, .clinic-info-bg-06 {
  background-size:100%;
  height:150px;
}

.index-treat p{
  font-size:14px;
  width:90%;
  margin:0 auto;
  display: block;
  position:absolute;
  bottom:-45px;
  right:0;
  left:0;
  line-height: 1.4;
}


/* フッターバナー */
.footer-banner-wrapper .item{
  width: 48%;
}
.doctor_item .flx-base-4::before{
  content:'';
}

/*---------------------------------------------
 ** 診療表
---------------------------------------------*/
/* 診療時間デザイン */

.time_table table tr:nth-child(1){
	font-size:12px;
}
.time_table table tr:nth-child(2), .time_table table tr:nth-child(4){
	font-size:12px;
}
.time_table table tr:nth-child(3){
	font-size:12px;
}

.time_table table td{
  font-size:12px;
}
.time_table table td p{
  text-align: center;
}
.time_table table tr td:nth-child(1){
  width:17%!important;
	font-size:12px;
}
.time_table table tr:nth-child(1) td{
	font-size:14px!important;
}
.time_table table tr td:nth-child(5){
  width:14%!important;
}
.time_table table td strong{
	font-size:10px!important;
}
.time_table table td em{
	font-size:14px!important;
}
.time_table blockquote{
  font-size:10px;
}





footer .time_table table tr:nth-child(1){
	font-size:12px;
}
footer .time_table table tr:nth-child(2), footer .time_table table tr:nth-child(4){
	font-size:12px;
}
footer .time_table table tr:nth-child(3){
	font-size:12px;
}

footer .time_table table td{
	font-size:12px;
}
footer .time_table table td p{
	text-align: center;
}

footer .time_table table tr td:nth-child(1){
  width:17%!important;
	font-size:12px;
}
footer .time_table table tr:nth-child(1) td{
	font-size:14px!important;
}
footer .time_table table tr td:nth-child(5){
  width:14%!important;
}
footer .time_table table td strong{
	font-size:10px!important;
}
footer .time_table table td em{
	font-size:14px!important;
}
footer .time_table blockquote{
  font-size:10px;
}
/*=================================================================================================================================*/
/**  診療のご紹介	**/
/*=================================================================================================================================*/

.guide_rinen{
  background-img:url(/img/guide/guide_logo.png);
  background-size:180px auto;
  background-color:rgba(255,255,255,0.5);
  background-blend-mode:lighten;
  background-position: center;
  background-repeat: no-repeat;
  padding:200px 0 0;
}

.guide_tbl p{
  margin:0 auto 10px
}

.guide_time{
  width:90%!important;
  max-width:785px!important;
  margin:0px auto 10px;
}

.guide_time .item{
  width:100%!important;
}
.guide_time h3{
  font-size:110%;
  margin-bottom:5px;
}
.guide_time .item p{
  font-size:100%;
  text-align: center;
}

.guide_icon{
  width:90%!important;
  margin:0 auto 0px!important;
}
.guide_icon .item{
  width:26%;
  position: relative;
  text-align: center;
}

.guide_menu{
  margin-bottom:0;
}
.guide_menu .flx-base-8{
  flex-basis: 100%!important;
  margin-left:0;
  padding-top:3%;
}

.guide_img img{
  max-width:180px;
  margin:0 auto;
}
.guide_menu ul{
  margin-bottom:0!important;
}
.guide_menu ul li{
  float:left;
  margin:5px 15px 5px 0;
  list-style: none;
  padding:5px 5px!important;
  font-size:92%;
  font-weight: bold;
}

.guide_menu2 .item{
  flex-basis: 100%!important;
}
.guide_dizzy, .guide_smoking{
  padding-top:20px;
}
.check_box2 p{
  margin:10px auto 0px;
}

/*=================================================================================================================================*/
/**  医院のご紹介	*/
/*=================================================================================================================================*/

.clinic_bg{
  background:url(/img/clinic/clinic_bg.png) no-repeat left -50px bottom #FFF9B9!important;
  background-size:700px auto!important;
}
.clinic_bg2{
  background:url(/img/clinic/clinic_bg2.png) no-repeat left -50px bottom #fff!important;
  background-size:700px auto!important;
}

.clinic_img .item{
  margin-bottom:30px;
}


/*=================================================================================================================================*/
/**  医師のご紹介	*/
/*=================================================================================================================================*/

.doctor_item .flx-base-4{
  flex-basis:80%;
  margin:0 auto;
}
.doctor_item .flx-base-6 h3{
  margin-top:10px;
  margin-left:0px;
  margin-bottom:10px;
  font-size:2.0rem;
}

.doctor_bg{
  background:url(/img/doctor/doctor_img01_2.png) no-repeat top right;
  background-size:100% auto;
  padding-top:70%;
}
.doctor_bg2{
  background:url(/img/doctor/doctor_img02_2.png) no-repeat top right;
  background-size:100% auto;
  padding-top:70%;
}
.doctor_bg3{
  background:url(/img/doctor/doctor_img03_2.png) no-repeat top right;
  background-size:100% auto;
  padding-top:70%;
}
.doctor_bg4{
  background:url(/img/doctor/doctor_img04_2.png) no-repeat top right;
  background-size:100% auto;
  padding-top:70%;
}

.doctor_bg5{
  background:url(/img/doctor/doctor_img05_2.png) no-repeat top right;
  background-size:100% auto;
  padding-top:70%;
}
.doctor_profile{
  width:90%!important;
  margin:0 auto;
}
.doctor_profile dt{
  width:100%;
  display:block;
  margin:0 auto 10px;
  padding:3px 0;
}
.doctor_profile dl h3{
  text-align: center;
}

.doctor_staff .flx-base-4{
  flex-basis:100%;
}




/*=================================================================================================================================*/
/**  診療のご予約	*/
/*=================================================================================================================================*/

.reserve_item{
  width:100%!important;
  margin:40px auto 20px!important;
}
.reserve_item .item:nth-child(1) div{
  width:76%;
  background:url(/img/reserve/reserve_img01.png) no-repeat center top 20px #f08600;
  background-size:120px auto;
  padding:120px 5% 10px 5%;
  text-align: center;
  margin:0 auto;
}

.reserve_item .item:nth-child(2) div{
  width:76%;
  background:url(/img/reserve/reserve_img02.png) no-repeat left 20% top 20px #f08600;
  background-size:80px auto;
  padding:120px 5% 10px 5%;
  text-align: center;
  margin:0 auto;
}

.reserve_item .item:nth-child(2) div::after{
  content:'';
  width:35%;
  max-width:100px!important;
  height:auto;
  margin:20px 0 0;
}
.reserve_item .item h3{
  font-size:100%;
  margin-bottom:10px;
  color:#fff;
  line-height: 1.4;
}
.reserve_item .item h3 span{
  font-size:120%;
  display: block;
}
.reserve_pdf a{
  font-size:100%;
}

.reserve_att{
  width:100%;
  padding:10px 20px;
  margin-bottom:20px;
}

.reserve_time{
  display: block;
}

.reserve_time dt{
  width:100%;
  background:#f08600;
  color:#fff;
  margin:0 auto!important;
  text-align: center;
  padding:10px 0;
  border-radius: 20px;
}
.reserve_time dd{
  width:100%;
  text-align: left;
  margin:0 auto;
  padding:10px 0 10px 20px;
}

/*=================================================================================================================================*/
/**  アクセス	*/
/*=================================================================================================================================*/

.access-map{
  width:100%;
  height:300px;
}
.map_add{
  width:100%;
  font-size:100%;
  margin:10px auto;
}

.map_add i{
  font-size:120%;
  color:#f08600;
}
.map_add span{
  font-size:100%;
  font-weight: bold;
}
.access_how dt{
  font-size:120%;
  padding:5px 0;
}
.access_how dd{
  font-size:100%;
  margin:10px auto 30px;
}


/* ブログ */
.ttl-blog-2{
  background-size:40px!important;
  padding:5px 0 10px 50px!important;
}

.check_box ul li{
  text-indent: -0.9em;
  list-style: decimal;
  list-style-position:inside;
  margin-bottom:5px;
  font-weight: bold;
  margin-left:1.5em;
}
.h3_yellow2{
  margin-top:0!important;
}



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