@charset "utf-8";
/* *****共通設定***** */
a {
  color: #696969;
}
a:hover {
  color: #a9a9a9;
}
.bg-primary, .btn-primary {
  background-color: #00AC7C !important;
  border: none; /* 枠線を消す */
}
.border-primary {
  border-color: #00AC7C !important;
}
.bg-maincolor {
  background-color: #f0f8ff !important;
}
.btn-warning:hover {
  color: #212529;
  background-color: #ffa500;
  border-color: #ffa500;
}
.bg-yl-color {
  background-color: #fffaf0 !important;
}
.text-shadow {
  text-shadow: 1px 1px 3px #000;
}
.font-patrick {
  font-family: 'Fredericka the Great', cursive;
}
/* ヘッダー(navbar) */
#nav01 {
  border-bottom: 3px solid #00AC7C;	
}
#nav02 .nav-fill {
  width: 100%;
	 background-color: #fff;
}
#nav02 .nav-item {
  border-left: 1px solid #dee2e6;
}
#nav02 .last-list-md {
  border-right: 1px solid #dee2e6;
}
/* フッター */
#footer-sns img {
  height: 58px;
  width: auto;
  margin-right: 25px;
}
#footer-index ul ul {
  padding-left: 0.75rem;
  border-left: 1px solid #6c757d;
}
/* *****トップページ***** */
.jumbotron {
  background-image: url("../img/top-image2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  text-align: right;
}
.jumbotron hr {
  width: 50%;
  text-align: right;
  margin-right: 0px;
}
/* *****下層ページ***** */
.breadcrumb-item + .breadcrumb-item:before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: small;
  color: #fff;
}
#page .jumbotron {
  background: #f1efff url("../img/subpage-headding.jpg") no-repeat center center;
  background-size: cover;
  border-radius: initial;
}
.table {
  width: 100%;
  margin: auto;
}
/*テーブル*/
table {
  width: 100%;
  margin-bottom: 1em;
  border-collapse: collapse;
  border: 0.5px solid #9A9389;
}
th {
  padding: 10px;
  text-align: center;
  vertical-align: middle;
  border: 0.5px solid #9A9389;
  background: #A3A29E;
  color: #fff;
}
td {
  padding: 10px;
  text-align: center;
  border: 0.5px solid #9A9389;
}
/* *****上に戻るボタン***** */
#page_top {
  width: 90px;
  height: 90px;
  position: fixed;
  right: 0;
  bottom: 0;
  opacity: 0.6;
}
#page_top a {
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}
#page_top a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #00AC7C;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
#page_top a::after {
  content: 'PAGE TOP';
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
  color: #00AC7C;
}
/*================================================
 *  ヘッダーの設定
 ================================================*/

#header {
  position: fixed; /*ヘッダーの固定*/
  z-index: 10; /*レイヤーの重なり順を指定*/
  background-color: #fff;
  width: 100%;
  top: 0; /*ブラウザのウィンドウを基準にヘッダーの位置を指定*/
  color: #fff;
  height:180px;
}


main {
  padding-top:180px; /*ヘッダーの高さ分だけ次の要素を下げます。 */
 
  background-color: #fff
  
}
/* --------------------------------------------------
 ジャンプのずれ修正
--------------------------------------------------　*/

#sec01{padding-top:200px;margin-top:-200px;}
#sec02{padding-top:200px;margin-top:-200px;}
#sec03{padding-top:200px;margin-top:-200px;}
#sec04{padding-top:200px;margin-top:-200px;}
#sec05{padding-top:200px;margin-top:-200px;
  }
#sec06{padding-top:200px;margin-top:-200px;}
#sec07{padding-top:200px;margin-top:-200px;}
#sec08{padding-top:200px;margin-top:-200px;}
#sec09{padding-top:200px;margin-top:-200px;}
#sec10{padding-top:200px;margin-top:-200px;}
#sec11{padding-top:200px;margin-top:-200px;}
#sec12{padding-top:200px;margin-top:-200px;}
#sec13{padding-top:200px;margin-top:-200px;}
#sec14{padding-top:200px;margin-top:-200px;}
#sec15{padding-top:200px;margin-top:-200px;}
#sec16{padding-top:200px;margin-top:-200px;}
#sec17{padding-top:200px;margin-top:-200px;}

/*================================================
 *  更新ボックスの設定(そのうち消す)


.kousin {
  overflow: auto;
  width: 100%;
  height: 300px;
  padding: 5px;
  border: 2px dotted #ffffff;
  color: #00000;
  background-color: #FAFCED;
  line-height: 1.5em;
}
.info dt {
  border-bottom: none;
  padding-left: 1em;
}
.info dd {
  padding-left: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #ddd;
}

.kousin a {
  color: #ff0000;
}
.kousin a:hover {
  color: #ff0000;
}
 ================================================*/

/*================================================
 *  更新ボックスの設定
 ================================================*/
.kousin1 {
  overflow: auto;
  padding: 5px;
  border: 2px dotted #ffffff;
  color: #00000;
  background-color: #FAFCED;
  line-height: 1.5em;	
}
.info dt {
  border-bottom: none;
  padding-left: 1em;
}
.info dd {
  padding-left: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #ddd;
}


.kousin1 a {
  color: #ff0000;
}
.kousin1 a:hover {
  color: #ff0000;
}

.kousin1 span {
  font-weight:bold;/*太字*/
}

/*================================================
 *  ひとことの設定
 ================================================*/
.box3 {
  width: 80%;
  height: 80px;
  line-height: 80px;
  margin: 0 auto; /* 中央寄せ */
  margin-bottom: 10px;
}
.box3 a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  background: #00AC7C;
  text-align: center;
  color: #FFFFFF;
  font-size: 30px;
  font-weight: bold;
  border-top-right-radius: 28px;
  -webkit-border-top-right-radius: 28px;
  -moz-border-radius-topright: 28px;
  border-bottom-left-radius: 28px;
  -webkit-border-bottom-left-radius: 28px;
  -moz-border-radius-bottomleft: 28px;
}
.box3 a:hover {
  background: #86C28C;
  color: #ddd;
  margin-left: 0px;
  margin-top: 0px;
  box-shadow: none;
}






/* --------------------------------------------------

 アコーディオン

--------------------------------------------------　*/
.card-header {
  padding: 10px;
  text-align: left;
  vertical-align: middle;
  border: 0.5px solid #fff;
  background: #00AC7C;
}
.btn {
  color: #fff;
}
/* --------------------------------------------------

ハンバーガーメニュー

--------------------------------------------------　*/
.navbar-toggler {
  background-color: #00AC7C;
  border-color: #ffffff;
}
/* --------------------------------------------------

その他

--------------------------------------------------　*/
.ba {
  padding: 0.5em 1em;
  margin: 2em 0;
  color: #474747;
  background: #FAFCED; /*背景色*/
  border-left: double 7px #00AC7C; /*左線*/
  border-right: double 7px #00AC7C; /*右線*/
  border-radius: 10px; /*角の丸み*/
}
.ba-c {
  padding: inherit;
  text-align: left;
  margin: auto;
}
.h5title {
  border-bottom: double 5px #00AC7C;
}
ul.cp_list li {
  line-height: 1.5;
  padding: 0.5em 0 0.5em 1.4em;
  border-bottom: 1px dashed #00AC7C;
}
h2 {
  padding: .3em .75em;
  background-color: #2EA7E0;/*#DCF1F5;*/
  border-bottom: 1px solid #ccc;
  color: aliceblue;
  
}
/* --------------------------------------------------
 医師紹介 
--------------------------------------------------　*/

.box28 {
    position: relative;
    margin: 2em 0;
    padding: 25px 10px 7px;
    border: solid 2px #00AC7C;
}
.box28 .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #00AC7C;
    color: #ffffff;
    font-weight: bold;
}
.box28 p {
    margin: 0; 
    padding: 0;
}


.box26 h3 {
   position: relative;
}
.box26 h3:before {
   content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: -webkit-repeating-linear-gradient(-45deg, #6ad1c8, #6ad1c8 2px, #fff 2px, #fff 4px);
  background: repeating-linear-gradient(-45deg, #00AC7C, #00AC7C 2px, #fff 2px, #fff 4px);
}


/*================================================
 *  topのおしらせ
 ================================================*/

.boxtop {
    margin: 2em 0;
    background: #dcefff;
}
.boxtop .box-title {
    font-size: 1.2em;
    background: #b92625;
    padding: 4px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.boxtop p {
    padding: 15px 20px;
    margin: 0;
}



/*================================================
 *  診療時間NEW
 ================================================*/
.schedule th {
  background: gray;
  font-weight: bold;
  white-space: nowrap;

}

.schedule td, .schedule th {
  vertical-align: middle;
  padding: .75rem;
	
}

.schedule .green {
  color: #006400;  /* 濃い緑 */
  font-weight: bold;
}
.schedule .red {
  color: #cc0000;
  font-weight: bold;
}

/* --------------------------------------------------
スマホ版診療
--------------------------------------------------　*/


.schedule-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 常に2列 */
  gap: 1rem;
}
.day { border:1px solid #ccc; border-radius:8px; padding:1rem; background:#fff; text-align:center; }
.green{ color:#006400; font-weight:bold; }
.red{ color:#cc0000; font-weight:bold; }
.muted{ color:#666; }




/* --------------------------------------------------
よくある症例　患者
--------------------------------------------------　*/

.balloon5 {
  width: 100%;
  margin: 1.5em 0;
  overflow: hidden;
}

.balloon5 .faceicon {
  float: left;
  margin-right: -90px;
  width: 80px;
}

.balloon5 .faceicon img{
  width: 100%;
  height: auto;
  border: solid 3px #d7ebfe;
  border-radius: 50%;
}

.balloon5 .chatting {
  width: 100%;
}

.says {
  display: inline-block;
  position: relative; 
  margin: 5px 0 0 105px;
  padding: 17px 13px;
  border-radius: 12px;
  background: #d7ebfe;
}

.says:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 18px; 
  left: -24px;
  border: 12px solid transparent;
  border-right: 12px solid #d7ebfe;
}

.says p {
  margin: 0;
  padding: 0;
}




/* --------------------------------------------------
よくある症例　医者
--------------------------------------------------　*/

.balloon6 {
  width: 100%;
  margin: 0.5em 0;
  overflow: hidden;

}


.balloon6 .chatting {
  width: 100%;
  text-align:center;
}


.says1 {
  display: inline-block;
  position: relative; 

  padding:13px 10px;
  border-radius: 12px;
  background: #ffea80;
}

.says:after1 {
  content: "";
  display: inline-block;
  position: absolute;
  top: 18px; 
  right: -24px;
  border: 12px solid transparent;
  border-right: 12px solid #ffea80;
}



.says1 p {
  margin: 0;
  padding:6px;
	text-align:left;
}


/* --- パンくずリスト-------　*/



.breadcrumb li:after {/* >を表示*/
  content: '>';
  padding: 0 0.2em;
  color: white;
}

.breadcrumb li:last-child:after {
  content: '';
}

.breadcrumb li a {
  text-decoration: none;
  color: white;/*色*/
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------
 診断内容
--------------------------------------------------　*/
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* PCでは4列 */
  gap: 0.5rem; /* ← 余白を減らす */
  text-align: center;
  max-width: 1000px; /* 全体幅を広めに確保 */
  margin: auto;
  padding: 0 0.5rem;
}

.service-item img {
  width: 98%;          /* ← 幅いっぱいに近づける */
  max-width: 250px;    /* ← 1つあたりの最大サイズを広げる */
  height: auto;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.service-item p {
  font-size: 1rem;
  margin: 0;
}

/* スマホ用（768px以下） */
@media (max-width: 768px) {
  .services {
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 1rem; /* スマホでは少し余白を戻すと見やすい */
  }

  .service-item img {
    max-width: 160px; /* スマホでは少し小さめに調整 */
  }
}



/* --------------------------------------------------

 イラストなど

--------------------------------------------------　*/
.picture {
text-align: center;
}




/* --------------------------------------------------

 レスポンシブ

--------------------------------------------------　*/
@media (max-width: 991.98px) {
  /* md タブレット・スマートフォン向け */
  #nav02 .nav-item {
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #dee2e6;
    letter-spacing: 0.25rem;
  }
  @media (max-width: 575.98px) {
    /* xs スマートフォン向け */
    /* フッター */
    #footer-sns img {
      height: 29px;
      margin-right: 15px;
    }
    table {
      width: 100%;
      table-layout: fixed;
      word-break: break-all;
      word-wrap: break-all;
    }
    table img {
      width: 100%;
      height: 100%;
      text-align: center;
    }
 /* *****イラストなど***** */  
	.picture img {
     text-align: center;
	  width: 100%;		
}
  
	  
    /* *****トップページ***** */
    .jumbotron {
      text-align: left;
    }
    .jumbotron h1 {
      font-size: 3em;
    }
    .jumbotron p {
      font-size: 0.8em;
    }
    .jumbotron hr {
      width: 100%;
      text-align: right;
      margin-right: 0px;
    }

#header {
  position: fixed; /*ヘッダーの固定*/
  z-index: 10; /*レイヤーの重なり順を指定*/
  background-color: #fff;
  width: 100%;
  top: 0; /*ブラウザのウィンドウを基準にヘッダーの位置を指定*/
  color: #fff;
  height:130px;
}


main {
  padding-top:130px; /*ヘッダーの高さ分だけ次の要素を下げます。 */
  background-color: #fff
  
}


}	 
  
}