 @charset "utf-8";

/** ***************************************************************************
 * 紹介文
 * ************************************************************************* */

/**
 * 始めにお読みください
 */

#lead .title {
  text-align: center;
}

/**
 * ボタン
 */

#lead div.button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#lead div.button > * {
  min-width: 300px;
  margin: 5px;
}

@media screen and (min-width:768px) {

  #lead div.button > * {
    min-width: 370px;
    margin: 10px;
  }

}

/** ***************************************************************************
 * 妊婦健診
 * ************************************************************************* */

/**
 * 紹介文
 */

#checkups div.lead {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

@media screen and (min-width:768px) {

  #checkups div.lead {
    flex-direction: row;
    align-items: flex-end;
  }

}

/* 内容 */

@media screen and (min-width:768px) {

  #checkups div.lead div.content {
    width: calc(50% + 200px);
    max-width: none;
    padding-right: 60px;
    flex-shrink: 0;
  }

}

/* 画像 */

#checkups div.lead div.image {
  height: 50vw;
  margin-bottom: 20px;
  border-radius: 10px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  order: -1;
}

@media screen and (min-width:768px) {

  #checkups div.lead div.image {
    max-width: none;
    width: calc(var(--innerWidth) / 2 - 200px);
    height: 300px;
    margin: unset;
    border-radius: unset;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    align-self: flex-start;
    flex-shrink: 0;
    order: unset;
  }

}

/** ***************************************************************************
 * 鍼灸外来
 * ************************************************************************* */

/**
 * 診察詳細
 */

#acupuncture div.detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

@media screen and (min-width:768px) {

  #acupuncture div.detail {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

}

/* 内容 */

@media screen and (min-width:768px) {

  #acupuncture div.detail div.content {
    padding-right: 3em;
    flex-grow: 1;
  }

}

/* 画像 */

#acupuncture div.detail div.image {
  width: 180px;
  margin: 0 auto 20px;
  order: -1;
}

#acupuncture div.detail div.image img {
  border-radius: 10px;
}

@media screen and (min-width:768px) {

  #acupuncture div.detail div.image {
    width: 220px;
    margin: unset;
    order: unset;
  }

  #acupuncture div.detail div.image img {
    border-radius: 20px;
  }

}

/** ***************************************************************************
 * エムセラ
 * ************************************************************************* */

/**
 * エムセラ
 */

/* ロゴ */

#emsella div.emsella div.logo {
  text-align: center;
}

/* ボタン */

#emsella div.emsella div.button {
  text-align: center;
}

@media screen and (min-width:768px) {

  #emsella div.emsella div.button a {
    min-width: 400px;
  }

}

/**
 * 動画
 */

#emsella div.movie-list {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* タイトル */

#emsella div.movie-list .title {
  margin-bottom: 20px;
  text-align: center;
}

/* 動画 */

#emsella div.movie-list div.movie ~ div.movie {
  margin-top: 30px;
}

@media screen and (min-width:768px) {

  #emsella div.movie-list div.movie ~ div.movie {
    margin-top: 60px;
  }

}
