@charset 'utf-8';

/******************************
*   
*         ヒーローヘッダー
*   
******************************/
.heroHeader {
  position: relative;
  margin-top: 150px;

  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 500px;

  z-index: 0;
}

/* ヒーローヘッダー内サイドメニュー */
.heroHeader aside {
  height: auto;
  position: relative;
  padding: 3rem 0;
  margin: 0 0 0 auto;
}
.heroHeader ul.heroMenu {
  display: block;
  right: 0;
  width: 255px;
  z-index: 10;
}
.heroHeader ul.heroMenu li {
  margin-top: 5px;
}
.heroHeader ul.heroMenu li a {
  display: block;
  background: rgba(255, 255, 255, 0.95) url(../img/common/arrow_circle_blue.png) no-repeat 1.5em center;
  padding: 1.5em 1em 1.5em 4em;
  border-radius: 5px 0 0 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  font-size: 18px;
}
.heroHeader ul.heroMenu li a:hover {
  color: white;
  background: #00a6c0 url(../img/common/arrow_circle_white.png) no-repeat 1.5em center;
}
/* 背景スライド */
.heroHeader .bx-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.heroHeader .bx-wrapper .bx-viewport,
.heroHeader .bx-wrapper .bx-viewport div,
.heroHeader .bx-wrapper .bx-viewport ul,
.heroHeader .bx-wrapper .bx-viewport li {
  height: 100% !important;
}
.heroHeader .bx-wrapper .bx-viewport li img {
  object-fit: cover;
  width: 100%;
  height: 100%;

  /* IEで画像の伸縮に対応 */
  object-position: center;
  font-family: "object-fit: cover; object-position: center;";
}

/* スライドコントローラー */
#Home .bx-controls {
  display: block !important;
  width: 1000px;

  position: absolute;
  bottom: 20px;
  left: 50%;
  margin-left: -500px;
}
.bx-pager.bx-default-pager {
  display: flex;
  align-items: center;
  justify-content: center;
}
.bx-pager-link {
  color: transparent !important;
  display: inline-block;
  width: 15px;
  height: 15px;
  overflow: hidden;
  border-radius: 50%;
  background-color: #fff;
  margin: 0 5px;
}
.bx-pager-link.active {
  background-color: #00a6c0;
}
.bx-controls-direction {
  display: none; /* Next Prev を非表示化 */
}
.bx-has-controls-direction{
    pointer-events: none;
}
.bx-has-controls-direction .bx-pager.bx-default-pager .bx-pager-link {
    pointer-events: all;
}
/* モバイル（768までの端末） */
@media screen and (max-width: 767px) {
  /* SP */
  .heroHeader {
    display: block;
    margin-top: 75px;
    min-height: auto;
    max-height: auto;
  }
  .heroHeader aside {
    position: static;
    padding: 0;
    margin: 0;
  }
  .heroHeader ul.heroMenu {
    position: static;
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 0 0.75em 1em 0.75em;
    /*margin-bottom: 1em;*/
  }
  .heroHeader ul.heroMenu li {
    max-width: 14em;
    width: 32%;
    margin: 1em 0.25em 0 0.25em;
  }
  .heroHeader ul.heroMenu li a {
    border-radius: 5px;
    color: #fff;
    background: #00a6c0 url(../img/common/arrow_circle_white.png) no-repeat 0.75em center;
    background-size: 1em auto;
    padding: 0.5em 1em 0.5em 2em;
  }
  .heroHeader ul.heroMenu li a:hover {
    background: #00a6c0 url(../img/common/arrow_circle_white.png) no-repeat 0.75em center;
    background-size: 1em auto;
  }
  .heroHeader ul.heroMenu li a .fontSmall {
    font-size: 0.8em;
    font-weight: 500;
  }
  .heroHeader .bx-wrapper {
    position: static;
  }
  #Home .bx-controls {
    width: auto;
    bottom: 10px;
  }
  .bx-pager-link {
    margin: 0 10px;
  }
  .heroHeader ul.heroMenu {
    padding: 0 1em 0.5em 1em;
    flex-direction: column;
  }
  .heroHeader ul.heroMenu li {
    max-width: 100%;
    width: 100%;
    flex-grow: 1;
    margin-top: 0.5em;
    margin-left: 0;
    margin-right: 0;
  }
  .heroHeader ul.heroMenu li a {
    /*font-size: 3vw;*/
    background: #00a6c0 url(../img/common/arrow_circle_white.png) no-repeat 0.5em center;
    background-size: 1em auto;
    padding: 0.25em 0.5em 0.25em 2em;
  }
  .heroHeader ul.heroMenu li a:hover {
    background: #00a6c0 url(../img/common/arrow_circle_white.png) no-repeat 0.5em center;
    background-size: 1em auto;
  }
}

/******************************
*   
*       コンテンツレイアウト
*   
******************************/
#Home #ContentsWrap .sideMenu,
#Home #ContentsWrap .mainContentsWrap {
  padding-top: 50px;
}
#Home #ContentsWrap .mainContentsWidth {
  width: auto;
  padding: 0 75px 75px;
}

#Home .topFlexLayout {
  display: flex;
  margin-top: 75px;
  margin-bottom: 50px;
}
#Home .topFlexLayout .topFlexLayout__info {
  width: 100%;
  margin-right: 50px;
}
#Home .topFlexLayout .topFlexLayout__facebook {
  flex-grow: 0;
  flex-shrink: 0;
  width: 320px;
  background-color: #ddd;
}
@media screen and (max-width: 1290px) {
  .topFlexLayout .sp-table-column table th,
  .topFlexLayout .sp-table-column table td {
    display: block;
    width: 100% !important;
    text-align: center;
  }
}
@media screen and (max-width: 1090px) {
  #Home .topFlexLayout .topFlexLayout__facebook {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  /* SP */
  #Home .bge-contents h2,
  #Home .bge_content h2 {
    margin-top: 0;
  }
  #Home #ContentsWrap .sideMenu,
  #Home #ContentsWrap .mainContentsWrap {
    padding-top: 0;
  }
  #Home #ContentsWrap .mainContentsWidth {
    width: 100%;
    padding: 1em 1em 0 1em;
  }
  #Home .topFlexLayout .topFlexLayout__info {
    margin-right: 0;
  }
}

/* サイドメニュー */
#Home .sideMenu {
  text-align: center;
}
#Home .sideMenu a {
  padding: 0;
}
#Home .sideMenu .topAttentionMenu,
#Home .sideMenu .topAttentionMenu li {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #00a5c1;
  text-align: center;
}
#Home .sideMenu .topAttentionMenu li {
  padding: 0.5em;
}
#Home .sideMenu .topAttentionMenu li + li {
  padding-top: 0;
}
#Home .sideMenu .topAttentionMenu li a {
  display: flex;
  background-color: #fff;
  padding: 1em 0.3em;
  transition: all 0.3s;
}
#Home .sideMenu .topAttentionMenu li a span {
  flex-shrink: 0;
  flex-grow: 0;
  position: relative;
  width: 3em;
}
#Home .sideMenu .topAttentionMenu li a span img {
  height: 2.5em;
}
#Home .sideMenu .topAttentionMenu li a p {
  text-align: left;
  padding-left: 0.3em;
  font-size: 0.9em;
  display: inline-flex;
  align-items: center;
  justify-items: flex-start;
}
#Home .sideMenu .topAttentionMenu li a:hover {
  background-color: #c1f7ff;
  /* color: #fff; */
}

@media screen and (max-width: 767px) {
  /* SP */
  #Home .sideMenu .topAttentionMenu {
    padding: 1.5em 1em;
  }
  #Home .sideMenu .topAttentionMenu li {
    padding: 0 0.5em;
    margin-bottom: 2px;
  }
  #Home .sideMenu .topAttentionMenu li a {
    font-weight: bold;
    padding: 0.5em 0.3em;
  }
  #Home .sideMenu .topAttentionMenu li a p {
    font-weight: bold;
  }
}

/* フェイスブックリンク */
@media screen and (min-width: 768px) {
  /* PC */
  .snsLink {
    display: none;
  }
}

.snsLink {
    flex-wrap: wrap;
    padding: 20px 0;
}

.snsLink a {
  position: relative;
  background-color: #f3f3f3;
  color: #1877f2;
  text-decoration: none;
  font-size: 0.9em;
  display: block;
  padding: 0.75em 2em 0.75em 1em;
  margin: 0.5em 0;
  flex-grow: 1;
  max-width: 21em;
}

.snsLink a[title="熊本市民病院Facebook"] {
    display: none;
}


.snsLink > a::after {
  position: absolute;
  top: 50%;
  right: 0.7em;
  display: block;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  content: "";
  border-style: solid;
  border-color: #00a6bf;
  border-width: 2px 2px 0 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.snsLink img {
  vertical-align: middle;
  margin-right: 0.75em;
  width: 1.25em;
  height: 1.25em;
  top: -0.1em;
}

.snsLink span {
  font-weight: 700;
}

/******************************
*   
*         パーツスタイル
*   
******************************/
#Home .mainContentsWrap .bgt-title-link-container a {
  text-decoration: none;
}
#Home .mainContentsWrap strong {
  font-weight: 500;
  font-size: 1.2em;
}
@media screen and (max-width: 767px) {
  #Home .mainContentsWrap .bgt-title-link-container a {
    font-size: 0.75em;
  }
}
