
@charset "utf-8";
.no-gutter > [class*='col-'] {
	padding-right: 0;
	padding-left: 0;
}

.bg-lightgreen {
	background-color: #f5f5f5; /*ロゴ＋説明＋写真の背景色*/
}

/* topスライダー
============================================== */
.slider {
    position:relative;
  z-index: 1;
  /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
  height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
/*　背景画像設定　*/

.slider-item01 {
    background:url(../img/gaikan.JPG);
}

.slider-item02 {
    background:url(../img/uketsuke.JPG);
}

.slider-item03 {
    background:url(../img/matiai.JPG);
}

@media screen and (max-width: 520px) {
.slider-item01 {
background-position: 38% 50%!important;
}

.slider-item02 {
    background-position: 37% 50%!important;
}

.slider-item03 {
    background:url(../img/matiaiS.JPG);
}
}

.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height: 85vh;/*各スライダー全体の縦幅を画面の高さ*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}



/*========= レイアウトのためのCSS ===============*/
ul{
  margin:0;
  padding: 0;
  list-style: none;
}

.jumbotron {
  position: relative;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.wrapper  .top {
    z-index: 2;
    position: absolute; /*下寄せ用*/
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

.wrapper .card {
   background-color: transparent; /*透過*/
   color: white; /*白文字*/
   text-shadow: black 1px 1px 10px, black -1px 1px 10px,
                black 1px -1px 10px, black -1px -1px 10px; /*黒ぼかし重ね*/
   border: none; /*枠線消す*/
}


.heading {
	border-left: 6px solid #008db7;
	padding: 0 0 0 10px;
}

.breadcrumb-item + .breadcrumb-item::before {
	content: ">"
}

.footer-copyright {
	width: 100%;
	height: 60px;
	line-height: 60px;
	background-color: #fad09e;
}

.container {
  margin: 0 auto;
  padding: 0 10px;
  max-width: 1200px;
}

@media screen and (max-width: 520px) {
.container {
  margin: 0 auto;
  padding: 0 10px;
  max-width: 750px;
}
.header-box .w-100 {
width: 150%!important;
}
}

/* 患者さんへメッセージ中央ぞろえ
============================================== */
@media screen and (min-width: 521px)
.message {
    position: absolute;
    top: 0%;
    left: 0%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
}

.p-5 {
 padding: inherit!important;
}

/* メニューバー
============================================== */
.bg-dark {
    background-color: #008db7!important;
}

.navbar-dark .navbar-nav .nav-link{
    color: white;
}



/* タブレット、パソコン用文字
============================================== */
@media screen and (min-width: 521px) {
html,body {
	font-size: 17px;	/*基準となるフォントサイズ。*/
}
}

/* スマホ用文字
============================================== */
@media screen and (max-width: 520px) {
html,body {
	overflow-x: hidden;
	font-size: 15px;	/*基準となるフォントサイズ。*/
}

h1 {
  font-size: 1.5rem;
  font-weight: none;
}
}

/* 小デバイス（521px 以上）
============================================== */
@media screen and (min-width: 521px) {
 #sec2 .message {
    position: absolute;
     height: 500px;
     left: 0;
 } 

.list { /*横並び解除*/
 flex: none;
}

.gnav-item {
	display: block;
	width: 100%;
	border: none;
}
.gnav-item+ .gnav-item {
	border: none;
}

} /* END */

/* 医院概要
============================================== */
table{
  border-collapse: collapse;
  width: 100%;
}

.tb01 th,
.tb01 td{
  padding: 10px;
  border: solid 1px #ccc;
  text-align:center;
  box-sizing:border-box;
}


.tb01 th {
  background: #008db7;
  color: white; 
}
  
@media screen and (max-width: 640px) {
  .tb01 {
    width: 100%;
  }
  table.tb01 th,
  table.tb01 td {
    display: block;
    width: 100%;
    border-bottom:none;
  }
  .tb01 tr:last-child{
    border-bottom: solid 1px #ccc;
  }
}

/*「お知らせ」
---------------------------------------------------------------------------*/
#new {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	padding: 5 0px;		/*上下、左右へのボックス内の余白*/
}

/*日付(dt)、記事(dd)共通設定*/
#new dt,
#new dd {
	border-bottom-color: #ccc;	/*下線の色*/
	border-bottom: solid 1px;       /*下線の幅、線種*/
        padding: 5px 0;					/*上下、左右へのボックス内の余白*/
        width: 100%;                                    /*横幅いっぱい*/
        border-collapse: cllapse;                       /*線が2重にならないように*/
}

/*日付(dt)設定*/
#new dt {
        border-bottom: none;                            /*dtだけ下線無し*/
        margin-bottom: 0.5em;
}

.pagination-container ul {   /*ページング*/
    width: 100%;
    display: flex;
    justify-content: center;
}

.pagination-container li{ 
  width: 2.75em;
  height: 2.75em;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
  background: #white;     /*丸背景色*/
  font-weight: nomal;         /*文字太さ*/
  border: solid 1px #008db7;
  transition: all 0.15s linear;
}

.pagination {
  width: 1.5em;
}

.pagination > * + * {
  margin-left: 8px;
}

#new h3 {
  display: inline;
  font-size: 1.5rem;
  margin-top: 0!important;
  margin-right: 0.5rem;
  line-height: 1.2;
}

p {
  margin-bottom: 0.5rem;
}

/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: blue;	/*文字色*/
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

.pagetop a {
	display: block;
        text-decoration: none;
        text-align: center;
	width: auto;		/*幅*/
        line-height: 50px;      /*縦*/
	position: fixed;
	right: 30px;		/*右からの配置場所指定*/
	bottom: 30px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	background: rgba(0,0,0,0.4);	/*背景色。0,0,0は黒色の指定で0.4は色が40%出た状態。*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
        padding: 0.5rem;
}

/*マウスオン時*/
.pagetop a:hover {
	background: rgba(0,0,0,0.8);	/*背景色。0,0,0は黒色の指定で0.8は色が80%出た状態。*/
}

@media screen and (max-width: 520px) { /*スマホ用*/
.pagetop-show {display: block;}

.pagetop a {
	display: block;
        text-decoration: none;
        text-align: center;
	width: auto;		/*幅*/
        line-height: 35px;      /*縦*/
	position: fixed;
	right: 30px;		/*右からの配置場所指定*/
	bottom: 30px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	background: rgba(0,0,0,0.4);	/*背景色。0,0,0は黒色の指定で0.4は色が40%出た状態。*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
        padding: 0.5rem;
}
} /*スマホ閉じ*/

/*診療案内カード
---------------------------------------------------------------------------*/
.card-img-top {
  padding: 1rem;
}
@media screen and (max-width: 520px) {
.card-img-box {
  width: 100%;
}
}
/*アクセス
---------------------------------------------------------------------------*/
.Card {
  display: flex;
}
.Card-Left {
  position: relative;
  width: 60%;
}
.Card-Left-Map {
  height: 0;
  padding-top: 56.25%;
}
.Card-Left-Map-Iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.Card-Right {
  width: 40%;
  padding-left: 1.5rem;
}

@media screen and (max-width: 520px) {
.Card {
  display: block;
}
.Card-Left {
  margin: 0 auto;
  width: 100%;
}

.Card-Right {
  margin: 0 auto;
  width: 100%;
}
}

/施設・設備紹介
---------------------------------------------------------------------------*/
@media (min-width: 576px)
.card-columns {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;　
    -webkit-column-gap: 1.25rem;
    -moz-column-gap: 1.25rem;
    column-gap: 1.25rem;
}
}


/*当院について画像下
---------------------------------------------------------------------------*/
.about {
  width: 100%;
  height: auto;
}

.about p {
 text-align: center;
}

@media screen and (max-width: 520px) {
.about img {
 width: 100%;
 height: auto;
}

.h3, h3 {
 font-size: 1.25rem!important;
}
}

/*当院からのメッセージ上
---------------------------------------------------------------------------*/
@media screen and (max-width: 520px) {
.p-5 {
  padding: 0.5rem!important; /*上書き*/
}

.pt-2 {
 padding-top: initial!important; /*無効*/
}

.pb-4 {
 padding-bottom: initial!important; /*無効*/
}
}

/*診療時間表
---------------------------------------------------------------------------*/
@media screen and (max-width: 520px) {
.text-center td {
  vertical-align: middle;
}

.table td, th {
  padding: 0.5rem!important;
}
}

/*施設・設備紹介欄
---------------------------------------------------------------------------*/
 .flexbox {
     display: flex;
 }
 .box1 {
justify-content: center;
 }
 .box1 .card-img {
  display: block;
  width: 320px;
  }

 .box2 {
     margin-right: 1.5rem;
     margin-left: 1.5rem;
     display: flex;
align-items: center;
 }

@media screen and (max-width: 520px) {
.flexbox {
 display: block;
}
.box1 {
 width: 100%;
}
.box1 .card-img {
 width: 100%;
}
.box2 {
 margin: 0;
}
}

/*診療内容欄
---------------------------------------------------------------------------*/
.h5 {
    background-image: linear-gradient(90deg, #b2d5de 0 20%, #dedede 20%);
    background-repeat: no-repeat;
    background-size: 100% 10%;
    background-position: bottom;
    color: #323232;
    font-weight: bold;
    margin: 0;

    }
    
#flex .container  {
 display: flex;
 }
 
 /*施設基準について
---------------------------------------------------------------------------*/
#kizyun {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
}

/*日付(dt)、記事(dd)共通設定*/
#kizyun dt,
#kizyun dd {
	border-bottom-color: #ccc;	/*下線の色*/
	border-bottom: solid 1px;       /*下線の幅、線種*/
        width: 100%;                                    /*横幅いっぱい*/
        border-collapse: cllapse;                       /*線が2重にならないように*/
}

/*日付(dt)設定*/
#kizyun dt {
        border-bottom: none;                            /*dtだけ下線無し*/
}
