@charset "utf-8";
/*-------------- 医院ごとのパーツ -----------------*/
.mb-C.monshin {
  margin-bottom: 4px;
}

.wrapper.hour {
  background-image: url(../img/bg-hour.jpg);
}

.header-logo {
  margin: 2px 0 0 0;
}

@media only screen and (max-width: 980px) {
  /* ロゴの大きさ調整 */
  .header-logo {
    height: 40px;
    width: auto;
  }
			
  /* top/アクセスページの外観画像2枚の位置調整 */
  .access-text {
    margin-right: 0px;
  }
			
  /* 768～980px範囲でtop「医院の特徴」欄の各ナンバーの見切れを防止 */
  @media screen and (min-width: 768px) {
    .feature .box-920px {
      padding-left: 75px;
    }
			
    .feature .box-920px::before {
      left: -20px;
    }
  }
			
  /* top・アクセスページの外観画像2枚の間隔を調整 */
  .flex-box.access {
    justify-content: flex-start;
  }
			
  /* 画面幅の拡大によりメインスライドの画像が足りなくなるのを防止 */
  .slide-images {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
  }			
}
			
@media only screen and (min-width: 981px) and (max-width: 1016px) {
  /* 981px以降ヘッダー部分の左右余白が無くなるため修正 */
  .header-inner {
    width: calc(100% - 40px);
  }
}
			
/* main画像の大きさ調整 */
@media screen and (min-width: 768px) and (max-width: 1125px) {
  #main-image,
  #sec-main-image {
    height: calc(350px + (100vw - 768px) * 0.28);
  }
}


/*-------------- SP版（767px以下）--------------*/
@media only screen and (max-width: 767px) {
  /* ヘッダーロゴの大きさ調整 */
  .header-logo {
    margin: 10px 0 4px 8px;
    max-height: 32px;
    width: auto;
  }
	
  /* topページメイン画像の大きさ調整 */
  #main-image {
    height: 350px;
  }
	
  /* 下層ページメイン画像の大きさ調整 */
  @media screen and ( min-width: 441px ) {
    #sec-main-image {
      height: calc(150px + (100vw - 440px) * 0.61);
    }
  }
	
  /* top・アクセスページの外観画像2枚のサイズを画面100%にする */
  .access-img-A,
  .access-img-B {
    margin-right: 0;
    width: 100%;
  }
	
  /* アクセスページ「お電話でのお問合せ」の電話番号を中央揃えにする */
  .tell-number-B {
    margin: 0 auto 0;
    width: fit-content;
  }
	
  /* 採用情報ページの院長画像下部分の2枚の画像の位置を修正 */
  .flex-box-item-2col {
    margin: 0;
  }
	
  @media screen and (max-width: 375px) {
    /* ロゴ調整 */
    .header-logo {
      height: auto;
      max-height: none;
      width: 60%;
    }
  }
	
  /* topページ「お知らせ」欄の背景が途切れるのを防止 */
  .wrapper.infomation {
    background-size: cover;
  }
	
  /* 料金表や採用情報ページのリスト欄を中央揃えに変更 */
  .link-in-page-list ul {
    text-align: center;
  }
}