/*
$xs-max:767px;
$sm-min:768px;
*/
/* ---------------------------------------- */
#contents {
  padding-top: 0;
}

/* ---------------------------------------- */
#slide .swiper-slide img {
  width: 100%;
}

@media screen and (max-width: 599px) {
  #slide {
    margin-top: 65px;
  }
}

@media screen and (min-width: 992px) {
  #slide {
    margin-bottom: 60px;
  }
}

#slide .swiper-pagination {
  width: 100%;
  text-align: center;
}

@media screen and (max-width: 599px) {
  #slide .swiper-pagination-bullets {
    bottom: 0;
  }
}

#slide .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  margin: 20px 8px 0 8px;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#1db1e2), to(#01d3f4));
  background-image: linear-gradient(-180deg, #1db1e2 0%, #01d3f4 100%);
}

#slide .swiper-pagination-bullet:focus {
  outline: none;
}

#slide .swiper-pagination-bullet-active {
  background-color: #fff;
  border: solid 1px #00bbe2;
}

#slide h1 {
  position: absolute;
  bottom: 20%;
  left: 0;
  width: 100%;
  z-index: 100;
  text-align: center;
}

@media screen and (max-width: 599px) {
  #slide h1 {
    bottom: 25px;
    text-align: left;
  }
  #slide h1 img {
    width: 70vw;
    margin-left: 25px;
  }
}

@media screen and (min-width: 600px) {
  #slide h1 img {
    width: 90%;
  }
}

@media screen and (min-width: 1200px) {
  #slide h1 img {
    width: 70%;
  }
}

/* ---------------------------------------- */
#top-local ul li {
  float: left;
  border-left: solid 2px #fff;
  border-bottom: solid 2px #fff;
}

@media screen and (max-width: 599px) {
  #top-local ul li {
    width: 33.3333%;
  }
}

@media screen and (min-width: 600px) {
  #top-local ul li {
    width: 14.285714285714286%;
  }
}

#top-local ul li a {
  display: block;
  color: #1a3e82;
  text-decoration: none;
  text-align: center;
  background-color: #f3fbff;
}

@media screen and (max-width: 599px) {
  #top-local ul li a {
    font-size: 1.4rem;
    padding: 8px 0;
  }
}

@media screen and (min-width: 600px) {
  #top-local ul li a {
    padding: 13px 0;
  }
}

/* ---------------------------------------- */
@media screen and (max-width: 599px) {
  #medical .image {
    margin: 0 20px;
  }
}

@media screen and (max-width: 599px) {
  #medical .medical-btn {
    text-align: center;
    margin-top: -30px;
  }
}

@media screen and (min-width: 600px) {
  #medical .btn-blank {
    position: absolute;
    bottom: -30px;
    left: 0;
  }
}

/* ---------------------------------------- */
@media screen and (max-width: 599px) {
  #message h3 {
    width: 85%;
  }
}

/* ---------------------------------------- */
#related h3 {
  font-weight: bold;
  padding-bottom: 10px;
  display: inline-block;
  color: #00bbe2;
  border-bottom: solid 2px #00bbe2;
}

/* ---------------------------------------- */
#access .map {
  border: solid 3px #fff;
  height: 200px;
}

#access .map iframe {
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 600px) {
  #access .map {
    height: 400px;
  }
}

/* ---------------------------------------- */
#contact table {
  margin: 0 auto;
}

#contact table th {
  font-weight: normal;
  text-align: left;
  padding-right: 10px;
  color: #00bbe2;
}

/* ---------------------------------------- */
#staff .others table {
  margin: 0 auto;
}

#staff .others table tr th,
#staff .others table tr td {
  color: #111;
  font-weight: normal;
  text-align: left;
}

#staff .others table tr th {
  padding-right: 2em;
  white-space: nowrap;
  vertical-align: top;
}

#staff-popup {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
}

#staff-popup #staff-popup-container {
  position: absolute;
  width: 80%;
  height: 460px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-color: #fff;
  -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
          box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

@media screen and (min-width: 600px) {
  #staff-popup #staff-popup-container {
    width: 600px;
    height: 400px;
  }
}

@media screen and (min-width: 992px) {
  #staff-popup #staff-popup-container {
    width: 900px;
    height: 560px;
  }
}

#staff-popup #staff-popup-container #staff-popup-close {
  position: absolute;
  width: 40px;
  height: 40px;
  top: -40px;
  right: 0;
  cursor: pointer;
}

@media screen and (min-width: 600px) {
  #staff-popup #staff-popup-container #staff-popup-close {
    width: 50px;
    height: 50px;
    top: -50px;
  }
}

#staff-popup .staff-detail {
  background-color: #fff;
}

@media screen and (max-width: 599px) {
  #staff-popup .staff-detail {
    padding: 15px;
    padding-right: 8px;
  }
  #staff-popup .staff-detail .xs-scroll {
    height: 420px;
  }
  #staff-popup .staff-detail .image {
    text-align: center;
    margin-bottom: 20px;
  }
  #staff-popup .staff-detail .image img {
    width: 180px;
  }
}

@media screen and (min-width: 600px) {
  #staff-popup .staff-detail .image {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 240px;
  }
  #staff-popup .staff-detail .text {
    position: absolute;
    top: 20px;
    left: 290px;
    width: 300px;
    height: 360px;
  }
  #staff-popup .staff-detail .text-only {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 560px;
    height: 360px;
  }
}

@media screen and (min-width: 992px) {
  #staff-popup .staff-detail .image {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 320px;
  }
  #staff-popup .staff-detail .text {
    position: absolute;
    top: 40px;
    left: 400px;
    width: 460px;
    height: 480px;
  }
  #staff-popup .staff-detail .text-only {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 820px;
    height: 480px;
  }
}

/* ---------------------------------------- */
.mCSB_scrollTools .mCSB_draggerRail {
  width: 4px;
}

.mCSB_scrollTools .mCSB_draggerRail {
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.2);
  filter: "alpha(opacity=20)";
  -ms-filter: "alpha(opacity=20)";
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #1a3e82;
  background-color: #1a3e82;
  filter: "alpha(opacity=100)";
  -ms-filter: "alpha(opacity=100)";
}

.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
  background-color: #1a3e82;
  background-color: #1a3e82;
  filter: "alpha(opacity=100)";
  -ms-filter: "alpha(opacity=100)";
}

.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
  background-color: #1a3e82;
  background-color: #1a3e82;
  filter: "alpha(opacity=100)";
  -ms-filter: "alpha(opacity=100)";
}
