@charset "utf-8";

/** ***************************************************************************
 * 共用
 * ************************************************************************* */

#Footer {
  margin-top: 0;
}

#Main div.body {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

#Main .column ~ .column {
  margin-top: 30px;
}

#Main p { margin:0; padding:0; }

p + #Main * { margin-top:1.25em; }

#Main * + p { margin-top:1.25em; }

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:768px) {

  #Main div.body {
    padding-left: 30px;
    padding-right: 30px;
  }

  #Main .column ~ .column {
    margin-top: 50px;
  }

  p + #Main * { margin-top:1.5em; }

  #Main * + p { margin-top:1.5em; }

}

/** ***************************************************************************
 * ビジュアル
 * ************************************************************************* */

#visual {
  height: 60vw;
  max-height: 360px;
  position: relative;
  z-index: 1;
}

@media print, screen and (min-width:992px) {

  #visual {
    height: 480px;
    max-height: none;
  }

}

/** ***************************************************************************
 * 画像
 */

#visual div.image {
  height: 100%;
}

#visual div.image div.slick-list {
  height: 100%;
}

#visual div.image div.slick-track {
  height: 100%;
}

#visual div.image div.item {
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

#visual div.image div.item div.body {
  height: 100%;
  padding: 20px 46px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

#visual div.image div.item-1 {
  background-image: url(../img/top/mainvis.jpg);
}

#visual div.image div.item-2 {
  background-image: url(../img/top/mainvis2.jpg);
}

@media print, screen and (min-width:992px) {

  #visual div.image div.item div.body {
    padding: 20px 100px;
  }

}

/** ===========================================================================
 * タイトル
 */

#visual div.image .title {
  width: 80%;
  max-width: 400px;
  margin-bottom: 10px;
  background: rgba(0, 70, 155, .9);
}

#visual div.image .title img {
  max-width: 100%;
}

@media print, screen and (min-width:992px) {

  #visual div.image .title {
    margin-bottom: 20px;
  }

}

/** ===========================================================================
 * テキスト
 */

#visual div.image .text {
  max-width: 500px;
}

#visual div.image .text img {
  max-width: 100%;
}

/** ***************************************************************************
 * 前へ / 次へ
 */

#visual div.button {
  width: 16px;
  cursor: pointer;
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
  position: absolute;
  z-index: 2;
  top: 50%;
}

#visual div.button img {
  max-width: 100%;
}

#visual div.button.prev {
  left: 10px;
}

#visual div.button.prev img {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

#visual div.button.next {
  right: 10px;
}

@media print, screen and (min-width:992px) {

  #visual div.button {
    width: auto;
  }

  #visual div.button.prev {
    left: 30px;
  }

  #visual div.button.next {
    right: 30px;
  }

}

/** ***************************************************************************
 * 外来初診について
 * ************************************************************************* */

#outpatient {
  margin: 0;
  padding: 40px 0;
  background-color: #eff3f7;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:768px) {

  #outpatient {
    padding: 50px 0;
  }

}

/** ***************************************************************************
 * タイトル
 */

#outpatient .section-title {
	margin: 0 0 20px;
	padding: 0 0.5em 0.375em;
	border: none;
  border-radius: 0;
  border-bottom: 2px solid #2355a0;
}

#outpatient .section-title::before {
  content: none;
}

/** ***************************************************************************
 * 紹介文
 */

#outpatient div.lead ul.memo li::before {
  background-color: #2355a0;
}

/** ***************************************************************************
 * サポート
 */

#outpatient div.support {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

#outpatient div.support dl.list {
  border: 2px solid #2355a0;
  background-color: #fff;
}

#outpatient div.support dl.list ~ dl.list {
  margin-top: 20px;
}

#outpatient div.support dl.list dt {
  padding: 0.75em 1em;
  color: #2355a0;
  font-size: 1.125em;
  font-weight: 500;
  border-bottom: 2px solid #2355a0;
}

#outpatient div.support dl.list dd {
  padding: 1em;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:768px) {

  #outpatient div.support {
    margin-bottom: -30px;
    overflow: hidden;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
  }

  #outpatient div.support dl.list {
    width: 48%;
    /*width: 100%;*/
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 30px;
  }

  /*
  #outpatient div.support dl.list p:not([class]) {
    width: 100%;
  }
  */

  #outpatient div.support dl.list ~ dl.list {
    margin-top: 0;
  }

}

/** ===========================================================================
 * お問い合わせ
 */

#outpatient div.support dl.contact .time {
  margin-top: 0.75em;
  color: #2355a0;
}

#outpatient div.support dl.contact .tel {
  color: #2355a0;
}

#outpatient div.support dl.contact .number {
  color: inherit;
  line-height: 1;
  font-size: 24px;
  font-weight: 700;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:768px) {

  #outpatient div.support dl.contact dd {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
  }

  #outpatient div.support dl.contact .time {
    margin-left: 0.375em;
    margin-right: 0.375em;
  }

  #outpatient div.support dl.contact .tel {
    margin-top: 0.75em;
    margin-left: 0.375em;
    margin-right: 0.375em;
  }

}
