@charset "UTF-8";
/* ---------------------
  - *共通設定
  - *メインビジュアル
  - *スマホのみのエリア
  - *お知らせ
  - *ご挨拶
  - *当院の特徴
  - *診療案内
  - *医療コラム
  - *ループスライダー
--------------------- */
/*==================================================================================================================================

  *共通設定

==================================================================================================================================*/
/*----------inner----------*/
.home_inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 640px) {
  .home_inner {
    padding-left: 5%;
    padding-right: 5%;
  }
}

/*----------タイトル----------*/
main h2 {
  font-size: 26px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
}

main h3 {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/*==================================================================================================================================

  *メインビジュアル

==================================================================================================================================*/
.home_mv {
  position: relative;
  height: 820px;
  overflow: hidden;
}

.home_mv_main {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  margin: 0 auto;
  width: 1200px;
  z-index: 2;
}
.main_catch_box {
  position: absolute;
  top: 440px;
  left: 0;
}
/*　スライダー */
.slider-fade .slick-slide img {
  width: 100%;
  height: 820px;
  -o-object-fit: cover;
     object-fit: cover;
}

/*　キャッチコピー　*/
.main_catch {
  position: absolute;
  left: 0;
  top: 90px;
  width: 100%;
  max-width: 550px;
  height: 350px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  font-weight: bold;
}

.catchcopy_tit {
  margin-bottom: 5px;
  display: block;
}

.catchcopy_tit span {
  display: inline-block;
  font-size: 32px;
  color: var(--text-color);
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.6);
  padding: 5px 7px;
}

.catchcopy_text {
  margin-bottom: 5px;
  display: block;
}

.catchcopy_text span {
  display: inline-block;
  font-size: 22px;
  color: var(--text-color);
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.6);
  padding: 5px 7px;
}

/*　キャッチコピー（スライドごと）　*/
.slide_catch {
  z-index: 1;
  position: absolute;
  left: calc((100% - 1200px) / 2);
  top: 200px;
  display: inline-block;
  font-size: 32px;
  color: var(--text-color);
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.6);
  padding: 5px 7px;
}

/*　RIBONバナー　*/
.home_mv .mv_ribon {
  position: absolute;
  bottom: 150px;
  left: 0;
}

/*　バナー　*/
.home_mv .mv_banner {
  position: absolute;
  bottom: 30px;
  left: 0;
}

.home_mv .mv_banner:not(.mv_banner-btn) {
  width: 550px;
  height: 110px;
}

.home_mv .mv_banner:not(.mv_banner-btn) img {
  max-height: 100%;
  width: auto;
}

.home_mv .mv_banner:not(.mv_banner-btn) a:hover {
  opacity: 0.8;
}

.mv_banner .btn01 a {
  font-size: 120%;
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: 0;
}

@media screen and (max-width: 640px) {
  .home_mv {
/*     height: 330px; */
	  height: 230px;
  }
  .main_catch_box {
/*     top: 170px; */
	  top: 135px;
    left: 10px;
    width: 220px;
}
  .home_mv_main {
    width: 100%;
  }

  /* スライダー */
  .slider-fade .slick-slide img {
/*     height: 330px; */
	  height: 230px;
  }

  /* キャッチフレーズ */
  .main_catch {
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: auto;
    height: 330px;
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

  .catchcopy_tit span {
    font-size: 5vw;
  }

  .catchcopy_text span {
    font-size: 3vw;
  }

  .slide_catch {
    left: 0;
    top: 140px;
    right: 0;
    max-width: calc(100% - 20px);
    width: auto;
    margin: auto;
    padding: 10px;
    font-size: 5vw;
  }
}

/*==================================================================================================================================

  *スマホのみのエリア

==================================================================================================================================*/
@media screen and (max-width: 640px) {
  .top_sp_only {
    padding: 20px 5% 0;
  }

  .top_sp_only .mv_banner,
  .top_sp_only .mv_ribon {
    text-align: center;
  }
}

/*==================================================================================================================================

  *お知らせ

==================================================================================================================================*/
/* パターンA(pattern01) お知らせのみ */
.top_news.pattern01 {
  padding-top: 80px;
  padding-bottom: 80px;
}
.top_news.pattern01 h2 {
  margin: 0;
}
.top_news.pattern01 .home_inner > .btn01 a {
  margin: 0;
}
.top_news.pattern01 .top_news_list li:not(:last-child) {
  margin-bottom: 30px;
}
.top_news.pattern01 .top_news_list li a {
  color: var(--text-color);
}
.top_news.pattern01 .top_news_list li a:hover {
  color: var(--main-color);
}
.top_news.pattern01 .top_news_list li span {
  font-size: 90%;
  margin-right: 10px;
}
.top_news.pattern01 .top_news_list li em {
  text-align: center;
  display: inline-block;
  padding: 0 10px;
  font-style: normal;
  margin-right: 10px;
  /* ↓ダミー用の記述なので提出時削除↓ */
  background: var(--main-color);
  color: #fff;
  /* ↑ダミー用の記述なので提出時削除↑ */
  min-width: 110px;
}
/* 本文を表示するお知らせ */
.top_news.pattern01 .top_news_frame {
  max-height: 200px;
  overflow-y: auto;
  padding: 20px;
}
.top_news.pattern01 .top_news_frame .news_desc {
  margin-bottom: 10px;
}
/*スクロールバーの横幅指定*/
.top_news.pattern01 .top_news_frame::-webkit-scrollbar {
  width: 5px;
}
/*スクロールバーの背景色・角丸指定*/
.top_news.pattern01 .top_news_frame::-webkit-scrollbar-track {
  border-radius: 10px;
  background: var(--bg-color);
}
/*スクロールバーの色・角丸指定*/
.top_news.pattern01 .top_news_frame::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--border-color);
}

@media print, screen and (min-width: 641px) {
  .top_news.pattern01 .home_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .top_news.pattern01 .top_news_list,
  .top_news.pattern01 .top_news_frame {
    width: 70%;
  }
  .top_news.pattern01 .top_news_list li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@media screen and (max-width: 640px) {
  .top_news.pattern01 {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .top_news.pattern01 h2 {
    margin-bottom: 30px;
  }
  .top_news.pattern01 .home_inner > .btn01 {
    text-align: center;
    margin-top: 25px;
  }
  .top_news.pattern01 .top_news_list li a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}


/* パターンB(pattern02) お知らせ+診療時間 */
.top_newsInfo.pattern02 {
  position: relative;
  padding-top: 269px;
  padding-bottom: 122px;
  margin-top: -210px;
  background: url(../images/top_news_bg.png) no-repeat top center;
}

.top_newsInfo.pattern02 .home_inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.94fr);
  gap: 0 76px;
  align-items: start;
}

.top_newsInfo.pattern02 .tit_h2_news,
.top_newsInfo.pattern02 .tit_h2_medical_time {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.top_newsInfo.pattern02 .tit_h2_news h2,
.top_newsInfo.pattern02 .tit_h2_medical_time h2 {
  color: #5d534b;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.top_newsInfo.pattern02 .tit_h2_news p,
.top_newsInfo.pattern02 .tit_h2_medical_time p {
  color: #008720;
  font-family: "sofia-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.top_newsInfo.pattern02 .top_news_body,
.top_newsInfo.pattern02 .top_medical_time_body {
  width: 100%;
}

.top_newsInfo.pattern02 .top_news_list {
  border-top: 1px solid #d9d8d1;
}

.top_newsInfo.pattern02 .top_news_list li {
  display: flex;
  align-items: center;
  gap: 0 10px;
  padding: 24px 8px;
  border-bottom: 1px solid #d9d8d1;
}

.top_newsInfo.pattern02 .top_news_list li:not(:last-child) {
  margin-bottom: 0;
}

.top_newsInfo.pattern02 .top_news_list li span {
  flex: 0 0 112px;
  color: #4ab398;
  font-family: "sofia-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.top_newsInfo.pattern02 .top_news_list li em {
/*   display: none; */
	  text-align: center;
  display: inline-block;
  padding: 0 10px;
  font-style: normal;
  margin-right: 10px;
  min-width: 110px;
}

.top_newsInfo.pattern02 .top_news_list li a {
  min-width: 0;
  overflow: hidden;
  color: #555555;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.top_newsInfo.pattern02 .top_news_list li a:hover {
  color: #008720;
}

.top_newsInfo.pattern02 .top_news .btn01 {
  margin-top: 28px;
  text-align: center;
}

.top_newsInfo.pattern02 .top_news .btn01 a {
  margin: 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
}

.top_newsInfo.pattern02 .hours_tit {
  display: none;
}

@media screen and (max-width: 640px) {
  .top_newsInfo.pattern02 {
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 0;
  }

  .top_newsInfo.pattern02 .home_inner {
    display: block;
  }

  .top_newsInfo.pattern02 .top_news {
    margin-bottom: 40px;
  }

  .top_newsInfo.pattern02 .tit_h2_news,
  .top_newsInfo.pattern02 .tit_h2_medical_time {
    margin-bottom: 24px;
  }

  .top_newsInfo.pattern02 .tit_h2_news h2,
  .top_newsInfo.pattern02 .tit_h2_medical_time h2 {
    font-size: 20px;
  }

  .top_newsInfo.pattern02 .tit_h2_news p,
  .top_newsInfo.pattern02 .tit_h2_medical_time p {
    font-size: 12px;
  }

  .top_newsInfo.pattern02 .top_news_list li {
    display: block;
    padding: 16px 0;
  }

  .top_newsInfo.pattern02 .top_news_list li span {
/*     display: block;
    margin-bottom: 8px; */
	  margin-bottom: 8px;
        align-items: center;
        display: inline-block;
        margin-right: 15px;
  }

  .top_newsInfo.pattern02 .top_news_list li a {
    display: block;
    white-space: normal;
  }

  .top_newsInfo.pattern02 .top_news .btn01 {
    margin-top: 28px;
  }

}


/* パターンC(pattern03) お知らせ+ブログ */
.top_newsBlog.pattern03 {
  padding-top: 80px;
  padding-bottom: 80px;
}
.top_newsBlog.pattern03 .top_news > .btn01,
.top_newsBlog.pattern03 .top_blog > .btn01 {
  text-align: center;
  margin-top: 25px;
}
.top_newsBlog.pattern03 .top_news > .btn01 a,
.top_newsBlog.pattern03 .top_blog > .btn01 a {
  margin: 0;
}

/* お知らせ */
.top_newsBlog.pattern03 .top_news_list li:not(:last-child) {
  margin-bottom: 30px;
}
.top_newsBlog.pattern03 .top_news_list li a {
  color: var(--text-color);
}
.top_newsBlog.pattern03 .top_news_list li a:hover {
  color: var(--main-color);
}
.top_newsBlog.pattern03 .top_news_list li span {
  font-size: 90%;
  margin-right: 10px;
}
.top_newsBlog.pattern03 .top_news_list li em {
  text-align: center;
  display: inline-block;
  padding: 0 10px;
  font-style: normal;
  margin-right: 10px;
  /* ↓ダミー用の記述なので提出時削除↓ */
  background: var(--main-color);
  color: #fff;
  /* ↑ダミー用の記述なので提出時削除↑ */
  min-width: 110px;
}
/* 本文を表示するお知らせ */
.top_newsBlog.pattern03 .top_news_frame {
  max-height: 200px;
  overflow-y: auto;
  padding: 20px;
}
.top_newsBlog.pattern03 .top_news_frame .news_desc {
  margin-bottom: 10px;
}
/*スクロールバーの横幅指定*/
.top_newsBlog.pattern03 .top_news_frame::-webkit-scrollbar {
  width: 5px;
}
/*スクロールバーの背景色・角丸指定*/
.top_newsBlog.pattern03 .top_news_frame::-webkit-scrollbar-track {
  border-radius: 10px;
  background: var(--bg-color);
}
/*スクロールバーの色・角丸指定*/
.top_newsBlog.pattern03 .top_news_frame::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--border-color);
}

/* ブログ */
.top_newsBlog.pattern03 .top_blog_list li:not(:last-child) {
  margin-bottom: 10px;
}
.top_newsBlog.pattern03 .top_blog_list li a {
  display: flex;
  align-items: center;
}
.top_newsBlog.pattern03 .top_blog_thum {
  min-width: 80px;
  width: 80px;
  height: 80px;
  margin-right: 3%;
}
.top_newsBlog.pattern03 .top_blog_thum img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 1px solid var(--border-color);
}
.top_newsBlog.pattern03 .top_blog_info {
  color: var(--text-color);
  width: calc(100% - 3% - 80px);
}
.top_newsBlog.pattern03 .top_blog_date {
  font-size: 90%;
}
.top_newsBlog.pattern03 .top_blog_tit {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media print, screen and (min-width: 641px) {
  .top_newsBlog.pattern03 .home_inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .top_newsBlog.pattern03 .top_news,
  .top_newsBlog.pattern03 .top_blog {
    width: 48%;
  }

  /* お知らせ */
  .top_newsBlog.pattern03 .top_news_list li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@media screen and (max-width: 640px) {
  .top_newsBlog.pattern03 {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .top_newsBlog.pattern03 .top_news {
    margin-bottom: 40px;
  }
  .top_newsBlog.pattern03 .top_news_list li a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}


/* パターンD(pattern04) お知らせ+ブログ+医院概要+アクセス */
.top_topics.pattern04 {
  padding-top: 80px;
  padding-bottom: 80px;
}
.top_topics.pattern04 .top_news > .btn01,
.top_topics.pattern04 .top_blog > .btn01 {
  text-align: center;
  margin-top: 25px;
}
.top_topics.pattern04 .top_news > .btn01 a,
.top_topics.pattern04 .top_blog > .btn01 a {
  margin: 0;
}

/* お知らせ */
.top_topics.pattern04 .top_news_list li:not(:last-child) {
  margin-bottom: 30px;
}
.top_topics.pattern04 .top_news_list li a {
  color: var(--text-color);
}
.top_topics.pattern04 .top_news_list li a:hover {
  color: var(--main-color);
}
.top_topics.pattern04 .top_news_list li span {
  font-size: 90%;
  margin-right: 10px;
}
.top_topics.pattern04 .top_news_list li em {
  text-align: center;
  display: inline-block;
  padding: 0 10px;
  font-style: normal;
  margin-right: 10px;
  /* ↓ダミー用の記述なので提出時削除↓ */
  background: var(--main-color);
  color: #fff;
  /* ↑ダミー用の記述なので提出時削除↑ */
  min-width: 110px;
}
/* 本文を表示するお知らせ */
.top_topics.pattern04 .top_news_frame {
  max-height: 200px;
  overflow-y: auto;
  padding: 20px;
}
.top_topics.pattern04 .top_news_frame .news_desc {
  margin-bottom: 10px;
}
/*スクロールバーの横幅指定*/
.top_topics.pattern04 .top_news_frame::-webkit-scrollbar {
  width: 5px;
}
/*スクロールバーの背景色・角丸指定*/
.top_topics.pattern04 .top_news_frame::-webkit-scrollbar-track {
  border-radius: 10px;
  background: var(--bg-color);
}
/*スクロールバーの色・角丸指定*/
.top_topics.pattern04 .top_news_frame::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--border-color);
}

/* ブログ */
.top_topics.pattern04 .top_blog_list li:not(:last-child) {
  margin-bottom: 10px;
}
.top_topics.pattern04 .top_blog_list li a {
  display: flex;
  align-items: center;
}
.top_topics.pattern04 .top_blog_thum {
  min-width: 80px;
  width: 80px;
  height: 80px;
  margin-right: 3%;
}
.top_topics.pattern04 .top_blog_thum img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 1px solid var(--border-color);
}
.top_topics.pattern04 .top_blog_info {
  color: var(--text-color);
  width: calc(100% - 3% - 80px);
}
.top_topics.pattern04 .top_blog_date {
  font-size: 90%;
}
.top_topics.pattern04 .top_blog_tit {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 医院概要 */
.top_topics.pattern04 .top_info address {
  text-align: center;
  font-style: normal;
}
.top_topics.pattern04 .top_info_add {
  line-height: 1.5;
  margin-bottom: 8px;
}
.top_topics.pattern04 .top_info_add span {
  display: block;
}
.top_topics.pattern04 .top_info_tel {
  font-size: 32px;
  line-height: 1;
  vertical-align: middle;
  margin-bottom: 16px;
}
.top_topics.pattern04 .top_info_tel a {
  color: var(--text-color);
}
.top_topics.pattern04 .top_info_tel a span {
  position: relative;
  top: -5px;
  margin-right: 10px;
  font-size: 19px;
  color: var(--main-color);
}
.top_topics.pattern04 .top_info_free {
  margin-bottom: 20px;
}
.top_topics.pattern04 .sche_wrap:not(:last-child) {
  margin-bottom: 30px;
}

/* アクセス */
.top_topics.pattern04 .top_access_map {
  text-align: center;
}
.top_topics.pattern04 .top_access_map iframe {
  width: 100%;
  height: 400px;
}
.top_topics.pattern04 .top_access_guide {
  margin-top: 20px;
}
.top_topics.pattern04 .top_access_guide li {
  position: relative;
  display: table;
  padding: 5px 15px;
  background: var(--bg-color);
}
.top_topics.pattern04 .top_access_guide li:not(:last-child) {
  margin-bottom: 5px;
}
.top_topics.pattern04 .top_access > .btn01 {
  text-align: center;
  margin-top: 20px;
}
.top_topics.pattern04 .top_access > .btn01 a {
  margin: 0;
}

@media screen and (max-width: 640px) {
  .top_topics.pattern04 {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .top_topics.pattern04 .home_inner > *:not(:last-child) {
    margin-bottom: 40px;
  }
  .top_topics.pattern04 .top_news_list li a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@media print, screen and (min-width: 641px) {
  .top_topics.pattern04 .home_inner {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 4%;
  }
  .top_topics.pattern04 .home_inner > * {
    width: 48%;
  }

  /* お知らせ */
  .top_topics.pattern04 .top_news_list li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}


/* パターンE(pattern05) お知らせ+医院概要+アクセス */
/* お知らせ */
.top_news.pattern05 {
  margin-top: 80px;
  margin-bottom: 50px;
}
.top_news.pattern05 h2 {
  margin: 0;
}
.top_news.pattern05 .btn01 {
  text-align: center;
}
.top_news.pattern05 .btn01 a {
  margin: 0;
}
.top_news.pattern05 .top_news_list li:not(:last-child) {
  margin-bottom: 30px;
}
.top_news.pattern05 .top_news_list li a {
  color: var(--text-color);
}
.top_news.pattern05 .top_news_list li a:hover {
  color: var(--main-color);
}
.top_news.pattern05 .top_news_list li span {
  font-size: 90%;
  margin-right: 10px;
}
.top_news.pattern05 .top_news_list li em {
  text-align: center;
  display: inline-block;
  padding: 0 10px;
  font-style: normal;
  margin-right: 10px;
  /* ↓ダミー用の記述なので提出時削除↓ */
  background: var(--main-color);
  color: #fff;
  /* ↑ダミー用の記述なので提出時削除↑ */
  min-width: 110px;
}
/* 本文を表示するお知らせ */
.top_news.pattern05 .top_news_frame {
  max-height: 200px;
  overflow-y: auto;
  padding: 20px;
}
.top_news.pattern05 .top_news_frame .news_desc {
  margin-bottom: 10px;
}
/*スクロールバーの横幅指定*/
.top_news.pattern05 .top_news_frame::-webkit-scrollbar {
  width: 5px;
}
/*スクロールバーの背景色・角丸指定*/
.top_news.pattern05 .top_news_frame::-webkit-scrollbar-track {
  border-radius: 10px;
  background: var(--bg-color);
}
/*スクロールバーの色・角丸指定*/
.top_news.pattern05 .top_news_frame::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--border-color);
}

/* 医院概要&アクセス */
.top_info.pattern05 {
  margin-bottom: 80px;
}
.top_info.pattern05 address {
  text-align: center;
  font-style: normal;
}
.top_info.pattern05 .top_info_add {
  line-height: 1.5;
  margin-bottom: 8px;
}
.top_info.pattern05 .top_info_add span {
  display: block;
}
.top_info.pattern05 .top_info_tel {
  font-size: 32px;
  line-height: 1;
  vertical-align: middle;
  margin-bottom: 16px;
}
.top_info.pattern05 .top_info_tel a {
  color: var(--text-color);
}
.top_info.pattern05 .top_info_tel a i {
  position: relative;
  top: -5px;
  margin-right: 10px;
  font-size: 19px;
  color: var(--main-color);
}
.top_info.pattern05 .top_info_free {
  margin-bottom: 20px;
}
.top_info.pattern05 .sche_wrap:not(:last-child) {
  margin-bottom: 30px;
}

/* アクセス */
.top_info.pattern05 .top_access_map {
  text-align: center;
}
.top_info.pattern05 .top_access_map iframe {
  width: 100%;
  height: 400px;
}
.top_info.pattern05 .top_access_guide {
  margin-top: 20px;
}
.top_info.pattern05 .top_access_guide li {
  position: relative;
  display: table;
  padding: 5px 15px;
  background: var(--bg-color);
}
.top_info.pattern05 .top_access_guide li:not(:last-child) {
  margin-bottom: 5px;
}
.top_info.pattern05 .top_access > .btn01 {
  text-align: center;
  margin-top: 20px;
}
.top_info.pattern05 .top_access > .btn01 a {
  margin: 0;
}

@media print, screen and (min-width: 641px) {
  .top_news.pattern05 .home_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* お知らせ */
  .top_news.pattern05 .top_news_list,
  .top_news.pattern05 .top_news_frame {
    width: 70%;
  }
  .top_news.pattern05 .top_news_list li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  /* 医院概要&アクセス */
  .top_info.pattern05 .home_inner {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 4%;
  }
  .top_info.pattern05 .top_info_left,
  .top_info.pattern05 .top_info_right {
    width: 48%;
  }
}

@media screen and (max-width: 640px) {
  .top_news.pattern05 {
    margin-top: 50px;
  }
  .top_news.pattern05 h2 {
    margin-bottom: 30px;
  }
  .top_news.pattern05 .btn01 {
    text-align: center;
    margin-top: 25px;
  }
  .top_news.pattern05 .top_news_list li a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .top_info.pattern05 {
    margin-bottom: 50px;
  }
  .top_info.pattern05 .top_info_left {
    margin-bottom: 50px;
  }
}


/* パターンf(pattern06) お知らせ+アクセス */
.top_newsAccess.pattern06 {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* お知らせ */
.top_newsAccess.pattern06 .top_news > .btn01 {
  text-align: center;
  margin-top: 25px;
}
.top_newsAccess.pattern06 .top_news > .btn01 a {
  margin: 0;
}
.top_newsAccess.pattern06 .top_news_list li:not(:last-child) {
  margin-bottom: 30px;
}
.top_newsAccess.pattern06 .top_news_list li a {
  color: var(--text-color);
}
.top_newsAccess.pattern06 .top_news_list li a:hover {
  color: var(--main-color);
}
.top_newsAccess.pattern06 .top_news_list li span {
  font-size: 90%;
  margin-right: 10px;
}
.top_newsAccess.pattern06 .top_news_list li em {
  text-align: center;
  display: inline-block;
  padding: 0 10px;
  font-style: normal;
  margin-right: 10px;
  /* ↓ダミー用の記述なので提出時削除↓ */
  background: var(--main-color);
  color: #fff;
  /* ↑ダミー用の記述なので提出時削除↑ */
  min-width: 110px;
}
/* 本文を表示するお知らせ */
.top_newsAccess.pattern06 .top_news_frame {
  max-height: 200px;
  overflow-y: auto;
  padding: 20px;
}
.top_newsAccess.pattern06 .top_news_frame .news_desc {
  margin-bottom: 10px;
}
/*スクロールバーの横幅指定*/
.top_newsAccess.pattern06 .top_news_frame::-webkit-scrollbar {
  width: 5px;
}
/*スクロールバーの背景色・角丸指定*/
.top_newsAccess.pattern06 .top_news_frame::-webkit-scrollbar-track {
  border-radius: 10px;
  background: var(--bg-color);
}
/*スクロールバーの色・角丸指定*/
.top_newsAccess.pattern06 .top_news_frame::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--border-color);
}

/* アクセス */
.top_newsAccess.pattern06 .top_access_map {
  text-align: center;
}
.top_newsAccess.pattern06 .top_access_map iframe {
  width: 100%;
  height: 400px;
}
.top_newsAccess.pattern06 .top_access_guide {
  margin-top: 20px;
}
.top_newsAccess.pattern06 .top_access_guide li {
  position: relative;
  display: table;
  padding: 5px 15px;
  background: var(--bg-color);
}
.top_newsAccess.pattern06 .top_access_guide li:not(:last-child) {
  margin-bottom: 5px;
}
.top_newsAccess.pattern06 .top_access > .btn01 {
  text-align: center;
  margin-top: 20px;
}
.top_newsAccess.pattern06 .top_access > .btn01 a {
  margin: 0;
}

@media print, screen and (min-width: 641px) {
  .top_newsAccess.pattern06 .home_inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .top_newsAccess.pattern06 .top_news,
  .top_newsAccess.pattern06 .top_access {
    width: 48%;
  }

  /* お知らせ */
  .top_newsAccess.pattern06 .top_news_list li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@media screen and (max-width: 640px) {
  .top_newsAccess.pattern06 {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .top_newsAccess.pattern06 .top_news {
    margin-bottom: 40px;
  }
  .top_newsAccess.pattern06 .top_news_list li a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

/*==================================================================================================================================

  *理念と行動指針

==================================================================================================================================*/
.sec_top_policy {
  position: relative;
  padding-top: 177px;
  padding-bottom: 420px;
  margin-top: -40px;
  background: url(../images/top_policy_bg.png) no-repeat top center;
}
.sec_top_policy::before {
  position: absolute;
  content: "";
  background: url(../images/top_policy_under_bg.png) no-repeat center / auto;
  width: 100%;
  height: 581px;
  bottom: -64px;
  left: 0;
}

.sec_top_policy .home_inner {
  position: relative;
  z-index: 2;
}

.top_policy_wrap {
  max-width: 500px;
  margin: 0 auto;
}

.tit_h2_policy {
  position: relative;
  display: table;
  flex-direction: column;
  align-items: center;
  margin-bottom: 38px;
  padding-top: 185px;
  background: url(../images/tit_h2_policy_top.png) no-repeat top center;
  margin: 0 auto 50px;
}
.tit_h2_policy::before {
  position: absolute;
  content: "";
  background: url(../images/tit_h2_policy_side.png) no-repeat;
  width: 70px;
  height: 78px;
  left: -94px;
  top: 134px;
}
.tit_h2_policy::after {
  position: absolute;
  content: "";
  background: url(../images/tit_h2_policy_side.png) no-repeat;
  width: 70px;
  height: 78px;
  right: -94px;
  top: 136px;
}

.tit_h2_policy h2 {
  color: #5d534b;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.tit_h2_policy p {
  color: #008720;
  font-family: "sofia-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

/* top_policy_block / action_list のテキストスタイルは style.css に移行済み */

.top_policy_img {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.top_policy_img img {
  display: block;
  width: 100%;
  height: auto;
}

.top_policy_img_left {
  top: 29%;
  left: 0;
  width: clamp(300px, 34.4vw, 660px);
}

.top_policy_img_right {
  top: 19%;
  right: 0;
  width: clamp(240px, 30vw, 576px);
}

@media screen and (max-width: 1700px) {

  .top_policy_img_left {
    width: clamp(300px, 31vw, 560px);
  }

  .top_policy_img_right {
    width: clamp(240px, 27vw, 490px);
  }
}

@media screen and (max-width: 1500px) {
  .top_policy_img_left {
    top: 28%;
    width: clamp(300px, 27vw, 460px);
}

.top_policy_img_right {
  top: 26%;
  width: clamp(240px, 23vw, 380px);
}
}

@media screen and (max-width: 1280px) {

  .top_policy_wrap {
    max-width: 460px;
  }

  .top_policy_img_left {
    top: 33%;
    width: 300px;
}

.top_policy_img_right {
  top: 30%;
  width: 240px;
}
}

@media screen and (max-width: 1024px) {
  .sec_top_policy {
    display: flex;
    flex-direction: column;
    padding: 70px 0 80px;
  }
  .sec_top_policy .home_inner {
    order: 1;
    padding-bottom: 30px;
  }
  .top_policy_img {
    position: static;
    width: min(100%, 520px);
    margin: 0 auto 24px;
    pointer-events: auto;
    order: 2;
  }
  .top_policy_wrap {
    max-width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .sec_top_policy {
    padding: 50px 0;
  }
	.tit_h2_policy::before{
		top: 95px;
        left: -25px;
        width: 40px;
        height: 45px;
        background-size: 100%;
	}
	.tit_h2_policy::after{
		top: 95px;
        right: -25px;
        width: 40px;
        height: 45px;
        background-size: 100%;
	}
  .tit_h2_policy {
    padding-top: 105px;
    background: url(../images/tit_h2_policy_top.png) no-repeat top center / 110px;
}
  .tit_h2_policy {
    margin-bottom: 28px;
  }

  .tit_h2_policy h2 {
    font-size: 20px;
  }

  .tit_h2_policy p {
    font-size: 12px;
  }
	.sec_top_policy::before{
		bottom: 0;
		background-size: 100%;
		background: url(../images/top_policy_under_bg.png) no-repeat center bottom / 100%;
	}
  /* top_policy_block / action_list のレスポンシブは style.css に移行済み */
}

/*==================================================================================================================================

  *ご挨拶

==================================================================================================================================*/
.sec_top_doctor {
  position: relative;
  padding: 1px 0 140px;
  background: url("../images/top_greeting_bg_left.png") no-repeat 3.5% 40%, url("../images/top_greeting_bg_right.png") no-repeat 100% 50%;
}

.tit_h2_greeting {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 63px;
}

.tit_h2_greeting_side_img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 971px;
  height: auto;
  top: 10px;
}

.tit_h2_greeting_center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 44px;
  margin-top: -30px;
  position: relative;
  z-index: 1;
}

.tit_h2_greeting_dot {
  display: block;
  width: 70px;
  height: auto;
  flex: 0 0 auto;
}

.tit_h2_greeting_dot_right {
  transform: scaleX(-1);
}

.tit_h2_greeting_text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tit_h2_greeting_text h2 {
  color: #5d534b;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.tit_h2_greeting_text p {
  color: #008720;
  font-family: "sofia-pro", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.top_greeting_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 1082px;
  margin-left: auto;
}

.top_greeting_flex_text {
  position: relative;
  width: 53.5%;
  padding-top: 10px;
}

.top_greeting_flex_text .text {
  margin-bottom: 30px;
}

.top_greeting_flex_text .text p {
  color: #333333;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 4px #fff;
}

.top_greeting_flex_img {
  position: relative;
  width: 26.5%;
}

.top_doctor_img {
  position: relative;
}

.top_doctor_img > img:not(.top_doctor_img_shikaku) {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 42px;
  position: relative;
  z-index: 2;
  box-shadow: 10px 10px 0 0 rgb(4 173 153);
}

.top_doctor_img_shikaku {
  position: absolute;
  right: -42px;
  top: -20px;
  max-width: 386px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.top_doctor_name {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  text-align: right;
  margin-top: 25px;
}

.top_doctor_name .carr {
  color: #5d534b;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.top_doctor_name .carr span {
  font-size: 20px;
}

.top_doctor_name .name {
  color: #5d534b;
  font-size: 28px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.top_doctor_name .name span {
  font-size: 80%;
}

.text .top_doctor_name p {
  margin-bottom: 0;
}

@media screen and (max-width: 640px) {
  .sec_top_doctor {
    padding: 50px 0;
    background: url(../images/top_greeting_bg_left.png) no-repeat 3.5% 40% / 150px, url(../images/top_greeting_bg_right.png) no-repeat 100% 50% / 310px;
}
  .top_greeting_flex {
    width: 100%;
    background:none;
}

  .tit_h2_greeting {
    margin-bottom: 30px;
  }

  .tit_h2_greeting_side_img {
    max-width: 100%;
  }

  .tit_h2_greeting_center {
    gap: 0 12px;
    margin-top: -18px;
  }

  .tit_h2_greeting_dot {
    width: 40px;
  }

  .tit_h2_greeting_text h2 {
    font-size: 20px;
  }

  .tit_h2_greeting_text p {
    font-size: 12px;
  }

  .top_greeting_flex {
    display: flex;
    flex-direction: column;
  }

  .top_greeting_flex_text {
    width: 100%;
    order: 2;
  }
  .top_greeting_flex_img {
    order: 1;
    margin-bottom: 20px;
  }

  .top_greeting_flex_text .text p {
    font-size: 15px;
  }

  .top_greeting_flex_img {
    width: 70%;
    max-width: 320px;
    margin: 0 auto;
}

  .top_greeting_flex_text .btn01 {
    text-align: center;
  }

  .top_doctor_img {
    text-align: center;
  }

  .top_doctor_img_shikaku {
    width: 140px;
    right: -10px;
    top: -10px;
  }

  .top_doctor_name {
    text-align: center;
  }

  .top_doctor_name .carr {
    font-size: 14px;
  }

  .top_doctor_name .carr span {
    font-size: 17px;
  }

  .top_doctor_name .name {
    font-size: 22px;
  }
}


/* ご挨拶パターンA(写真右) テキスト左・写真右 */
.sec_top_doctor.pattern01 .top_greeting_flex {
  flex-direction: row;
}


/* ご挨拶パターンB(写真左) */
.sec_top_doctor.pattern02 .top_greeting_flex {
  flex-direction: row-reverse;
}
.sec_top_doctor.pattern02 .top_doctor_name {
  text-align: left;
}

@media screen and (max-width: 640px) {
  .sec_top_doctor.pattern02 .top_doctor_name {
    text-align: center;
  }
}


/* ご挨拶パターンC(写真なし) */
.sec_top_doctor.pattern03 {
  background: url(../images/bg01.jpg) center no-repeat;
  background-size: cover;
}
.sec_top_doctor.pattern03 .top_greeting_flex_text {
  width: 100%;
}
.sec_top_doctor.pattern03 .top_greeting_flex_text .text p {
  text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 6px #fff, 0 0 8px #fff;
}
.sec_top_doctor.pattern03 .btn01 {
  text-align: right;
}

@media screen and (max-width: 640px) {
  .sec_top_doctor.pattern03 .top_doctor_name {
    text-align: right;
  }
}

/*==================================================================================================================================

  *当院の特徴

==================================================================================================================================*/
.sec_top_feature {
  position: relative;
  padding: 106px 0 310px;
  margin-top: -40px;
  background: url(../images/top_clinic_bg_left.png) no-repeat 5% 166%,url(../images/top_clinic_bg_right.png) no-repeat 93% 97%,url(../images/top_clinic_bg.png) no-repeat top center;
  overflow: hidden;
}
.sec_top_feature .home_inner {
  max-width: 1420px;
  min-width: 1200px;
}
.tit_h2_clinic {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 83px;
  position: relative;
}

.tit_h2_clinic_center {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

.tit_h2_clinic_up {
  display: block;
  width: 303px;
  height: auto;
  margin-bottom: 0;
}

.tit_h2_clinic_center h2 {
  color: #5d534b;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  padding-top: 24px;
}

.tit_h2_clinic_center p {
  color: #008720;
  font-family: "sofia-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.tit_h2_clinic_left, .tit_h2_clinic_right {
  display: block;
  width: auto;
  height: auto;
  flex: 0 0 auto;
}

.tit_h2_clinic_left {
  position: relative;
  margin-right: -20px;
  margin-bottom: -10px;
  left: -90px;
  top: -100px;
}

.tit_h2_clinic_right {
  position: relative;
  margin-left: -20px;
  margin-bottom: -10px;
  right: -87px;
  top: -100px;
}

@media screen and (min-width: 641px) and (max-width: 1100px) {
  .tit_h2_clinic_left,
  .tit_h2_clinic_right {
    width: 260px;
  }

  .tit_h2_clinic_up {
    width: 220px;
  }
}

@media screen and (max-width: 640px) {
  .sec_top_feature {
    padding: 48px 0 102px;
}
  .sec_top_feature .home_inner {
    max-width: 100%;
    min-width: 100%;
}
.sec_top_feature.pattern02 .top_feature_item .top_feature_img::before{
  display: none;
}
  .tit_h2_clinic {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 36px;
  }

  .tit_h2_clinic_center {
    order: -1;
    width: 100%;
    margin-bottom: 0;
  }

  .tit_h2_clinic_up {
    width: 180px;
  }

  .tit_h2_clinic_center h2 {
    font-size: 20px;
  }

  .tit_h2_clinic_center p {
    font-size: 12px;
  }
	.tit_h2_clinic_left{
		position: absolute;
        margin-right: -20px;
        margin-bottom: -10px;
        left: -87px;
        top: 52px;
        width: 45%;
	}
	.tit_h2_clinic_right{
		position: absolute;
		margin-left: -20px;
		margin-bottom: -10px;
		right: -87px;
		top: 45px;
		width: 45%;
	}
}

.top_feature_item {
  position: relative;
}


/* 当院の特徴パターンA(写真と文章分離、並列並び) */
.sec_top_feature.pattern01 h2 {
  margin-bottom: 60px;
}
.sec_top_feature.pattern01 .top_feature_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2%;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item {
  display: flex;
  flex-flow: column wrap;
  width: 32%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  margin-bottom: 40px;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_num {
  /* 枠上のナンバリング */
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  text-align: center;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_num p {
  display: inline-block;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  background: var(--main-color);
  padding: 10px;
  line-height: 1;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_num p em {
  font-style: normal;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_img {
  margin-bottom: 20px;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item h3 {
  text-align: center;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .btn01 {
  margin-top: auto;
  text-align: right;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box {
  position: relative;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box .top_feature_num {
  /* 画像下のナンバリング */
  position: static;
  margin-bottom: 10px;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box .top_feature_num p {
  font-size: 24px;
}

@media screen and (max-width: 640px) {
  .sec_top_feature.pattern01 .top_feature_wrap .top_feature_item {
    width: 100%;
  }
  .sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_num {
    top: -15px;
  }
  .sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_num p {
    font-size: 28px;
  }
}


/* 当院の特徴パターンB(写真と文章分離、1コンテンツ横幅フル) */
.sec_top_feature.pattern02 .top_feature_item {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 88px;
}
.sec_top_feature.pattern02 .top_feature_item:last-child {
  margin-bottom: 0;
}
.sec_top_feature.pattern02 .top_feature_num {
  position: absolute;
  z-index: 0;
  left: 10px;
  right: auto;
  top: 10px;
}
.sec_top_feature.pattern02 .top_feature_num p {
  color: #02ae98;
  font-family: "sofia-pro", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 72px;
  line-height: 1;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(1) .top_feature_num p { color: #02ae98; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(2) .top_feature_num p { color: #20b7d2; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(3) .top_feature_num p { color: #ffbf75; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(4) .top_feature_num p { color: #abbf1f; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(5) .top_feature_num p { color: #5fbcc1; }
.sec_top_feature.pattern02 .top_feature_num p em {
  font-style: normal;
}
.sec_top_feature.pattern02 .top_feature_img {
  position: relative;
  width: 41%;
  margin-right: 0;
}
.sec_top_feature.pattern02 .top_feature_box {
  width: 52%;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(4) .top_feature_box,
.sec_top_feature.pattern02 .top_feature_item:nth-child(5) .top_feature_box {
  padding-top: 20px;
}
.sec_top_feature.pattern02 .top_feature_img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  position: relative;
  z-index: 1;
}
/*.sec_top_feature.pattern02 .top_feature_img::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -10px;
  width: 100%;
  height: 100%;
  border-radius: 60px;
  background: #faf8f4;
  z-index: -1;
}*/

/* 左右互い違いパターン */
.top_feature_wrap.reverse .top_feature_item:nth-child(even) {
  flex-direction: row-reverse;
}
.top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_img {
  margin-right: 18px;
  margin-left: 0;
  padding-right: 0px;
}
.top_feature_wrap.reverse .top_feature_item:nth-child(4) .top_feature_img {
  margin-right: 0px;
}
.top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_num {
  position: absolute;
  left: auto;
  right: 395px;
}
.top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_img::before {
  left: auto;
  right: -10px;
}

@media screen and (max-width: 640px) {
  .sec_top_feature.pattern02 .top_feature_item {
    flex-direction: column;
  }
  .sec_top_feature.pattern02 .top_feature_img {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
  .sec_top_feature.pattern02 .top_feature_box {
    width: 100%;
  }
  .sec_top_feature.pattern02 .top_feature_box h3 {
    margin: 0 auto 20px;
  }
  .sec_top_feature.pattern02 .top_feature_box .btn01 {
    text-align: center;
  }

  /* 左右互い違いパターン */
  .top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_img {
    margin-left: 0;
  }
  .top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_num {
    position: absolute;
    left: 10px;
    right: 0;
  }
}


/* クリニックカード (items 01-03) */
.sec_top_feature.pattern02 .top_feature_item {
  background: #fff;
  border-radius: 60px;
  padding: 80px calc((100% - 1200px) / 2);
  gap: 80px;
  height: 537px;
  box-shadow: 20px 20px 0px #faf8f4;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(even) {
  box-shadow: -20px 20px 0px #faf8f4;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(2) {
  gap: 63px;
}

.sec_top_feature.pattern02 .top_feature_item .top_feature_img {
  position: relative;
  box-shadow: 20px 20px 0px #b7e2d9;
  border-radius: 40px;
  height: 360px;
}
.sec_top_feature.pattern02 .top_feature_item .top_feature_img::before {
  position: absolute;
  content: "";
  background: url(../images/top_clinic_dot_01.png) no-repeat;
  width: 620px;
  height: 467px;
  z-index: 0;
}

/* 各カードのドット背景（1は位置調整、2〜5は画像差し替え） */
.sec_top_feature.pattern02 .top_feature_item:nth-child(1) .top_feature_img::before {
  background: url(../images/top_clinic_dot_01.png) no-repeat;
  left: -60px;
  top: -44px;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(2) .top_feature_img::before {
  background: url(../images/top_clinic_dot_02.png) no-repeat;
  left: -59px;
  top: -44px;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(3) .top_feature_img::before {
  background: url(../images/top_clinic_dot_03.png) no-repeat;
  left: -60px;
  top: -44px;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(4) .top_feature_img::before {
  background: url(../images/top_clinic_dot_04.png) no-repeat;
  left: -59px;
  top: -44px;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(5) .top_feature_img::before {
  background: url(../images/top_clinic_dot_05.png) no-repeat;
  left: -60px;
  top: -44px;
}

.sec_top_feature.pattern02 .top_feature_item:nth-child(1) .top_feature_img {
  box-shadow: 20px 20px 0px #c0eef5;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(2) .top_feature_img { box-shadow: 20px 20px 0px #bfeef4; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(3) .top_feature_img { box-shadow: 20px 20px 0px #fee9cc; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(4) .top_feature_img { box-shadow: 20px 20px 0px #dee5a2; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(5) .top_feature_img { box-shadow: 20px 20px 0px #bee4e7; }

.sec_top_feature.pattern02 .top_feature_item:has(.clinic_head) .top_feature_img img {
	border-radius: 40px;
}

.sec_top_feature.pattern02 .top_feature_item .top_feature_num {
  top: -43px;
  left: 30px;
  z-index: 2;
}

/* clinic card: grid layout on .top_feature_box */
.sec_top_feature.pattern02 .top_feature_item:has(.clinic_head) .top_feature_box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 40px;
  align-items: start;
}

.sec_top_feature.pattern02 .top_feature_item:has(.clinic_head) .top_feature_text {
  display: contents;
}

.sec_top_feature.pattern02 .top_feature_item:has(.clinic_head) .clinic_head {
  display: contents;
}

.sec_top_feature.pattern02 .top_feature_item:has(.clinic_head) .top_feature_box h3 {
  grid-column: 2;
  grid-row: 1;
  padding-top: 22px;
}

.clinic_logo {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  width: 157px;
  height: 157px;
}

.clinic_logo img {
  display: block;
  height: auto;
}

.clinic_detail {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

.sec_top_feature.pattern02 .top_feature_item:has(.clinic_head) .clinic_area {
  grid-column: 1 / -1;
}

.sec_top_feature.pattern02 .top_feature_item:has(.clinic_head) .btn01 {
  grid-column: 1 / -1;
  text-align: right;
}
.sec_top_feature.pattern02 .top_feature_item:has(.clinic_head) .btn01 a {
  border: none;
  min-width: 361px;
  background-color: #51c4ab;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(1) .btn01 a { background-color: #02ae98; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(2) .btn01 a { background-color: #04aecf; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(3) .btn01 a { background-color: #fac16a; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(4) .btn01 a { background-color: #aec01e; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(5) .btn01 a { background-color: #62bac4; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(1) .btn01 a:after { background-color: #02ae98; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(2) .btn01 a:after { background-color: #04aecf; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(3) .btn01 a:after { background-color: #fac16a; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(4) .btn01 a:after { background-color: #aec01e; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(5) .btn01 a:after { background-color: #62bac4; }
.clinic_contact_line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 2px;
  margin-bottom: 6px;
}

.clinic_tel, .clinic_fax {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #333333;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.clinic_fax{
  font-size: 18px;
}

.clinic_tel::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 18px;
  flex: 0 0 auto;
  background: url(../images/icon_clinic_tel.png) no-repeat center / contain;
}

.clinic_fax::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 17px;
  flex: 0 0 auto;
  background: url(../images/icon_clinic_fax.png) no-repeat center / contain;
}

.clinic_access {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #333333;
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin-bottom: 0;
}

.clinic_access::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 22px;
  flex: 0 0 auto;
  background: url(../images/icon_clinic_access.png) no-repeat center / contain;
}

.clinic_area {
  border-radius: 20px;
  padding: 12px 35px 13px;
  margin-top: 34px;
  margin-bottom: 33px;
  background: #b7e2d9;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(1) .clinic_area { background: #b7e2d9; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(2) .clinic_area { background: #c0ecf7; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(3) .clinic_area { background: #fde8c9; }

.clinic_area_label {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--main-color);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.clinic_area p:not(.clinic_area_label) {
  font-size: 15px;
  color: #333333;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

/* Feature H3 styling */
.sec_top_feature.pattern02 .top_feature_box h3 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 26px;
  color: #555;
  letter-spacing: 0.04em;
  line-height: 1.1;
  padding-bottom: 14px;
  margin-bottom: 7px;
  position: relative;
  font-weight: 500;
}
.sec_top_feature.pattern02 .top_feature_box h3 br{
  display: none;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(4) .top_feature_box h3,
.sec_top_feature.pattern02 .top_feature_item:nth-child(5) .top_feature_box h3 {
  margin-bottom: 25px;
  line-height: 1.5;
}

.sec_top_feature.pattern02 .top_feature_box h3::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 87%;
  border-bottom: 1px dashed #02ad98;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(1) .top_feature_box h3::after { border-bottom-color: #02ad98; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(2) .top_feature_box h3::after { border-bottom-color: #02ad98; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(3) .top_feature_box h3::after { border-bottom-color: #fac270; }
.sec_top_feature.pattern02 .top_feature_item:nth-child(4) .top_feature_box h3::after {
  border-bottom-color: #1db7d2;
  width: 60%;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(5) .top_feature_box h3::after {
  border-bottom-color: #62bac4;
  width: 100%;
}

.sec_top_feature.pattern02 .top_feature_text p {
  font-size: 18px;
  color: #555555;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(4) .top_feature_text p,
.sec_top_feature.pattern02 .top_feature_item:nth-child(5) .top_feature_text p {
  line-height: 2.0;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(4) .btn01,
.sec_top_feature.pattern02 .top_feature_item:nth-child(5) .btn01 {
  text-align: right;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(5) .btn01 {
  margin-top: 130px;
}
.sec_top_feature.pattern02 .top_feature_item:nth-child(4) .btn01 a,.sec_top_feature.pattern02 .top_feature_item:nth-child(5) .btn01 a{
  border: none;
}
.sec_top_feature.pattern02 .top_feature_text p span{
  display: block;
  font-size: 16px;
}
@media screen and (max-width: 640px) {
  .sec_top_feature .home_inner {
    max-width: 100%;
    min-width: 0;
    padding-left: 5%;
    padding-right: 5%;
  }

  .sec_top_feature.pattern02 .top_feature_item {
    padding: 24px;
    border-radius: 24px;
    height: auto;
    gap: 20px;
    box-shadow: 10px 10px 0px #faf8f4;
  }
  .sec_top_feature.pattern02 .top_feature_item:nth-child(even) {
    box-shadow: 10px 10px 0px #faf8f4;
  }

  .sec_top_feature.pattern02 .top_feature_item .top_feature_img {
    border-radius: 20px;
    height: auto;
    box-shadow: 10px 10px 0px #b7e2d9;
  }
  .sec_top_feature.pattern02 .top_feature_item .top_feature_img::before {
    display: none;
  }

  .sec_top_feature.pattern02 .top_feature_item:nth-child(1) .top_feature_img { box-shadow: 10px 10px 0px #c0eef5; }
  .sec_top_feature.pattern02 .top_feature_item:nth-child(2) .top_feature_img { box-shadow: 10px 10px 0px #bfeef4; }
  .sec_top_feature.pattern02 .top_feature_item:nth-child(3) .top_feature_img { box-shadow: 10px 10px 0px #fee9cc; }
  .sec_top_feature.pattern02 .top_feature_item:nth-child(4) .top_feature_img { box-shadow: 10px 10px 0px #dee5a2; }
  .sec_top_feature.pattern02 .top_feature_item:nth-child(5) .top_feature_img { box-shadow: 10px 10px 0px #bee4e7; }

  .sec_top_feature.pattern02 .top_feature_num p {
    font-size: 48px;
  }
  .sec_top_feature.pattern02 .top_feature_item .top_feature_num {
    top: -30px;
    left: 16px;
  }

  .sec_top_feature.pattern02 .top_feature_item:has(.clinic_head) .top_feature_box {
    display: block;
  }
  .sec_top_feature.pattern02 .top_feature_item:has(.clinic_head) .top_feature_text {
    display: block;
  }
  .sec_top_feature.pattern02 .top_feature_item:has(.clinic_head) .clinic_head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }

  .clinic_logo {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
  }

  .clinic_logo img {
    max-width: 80px;
  }

  .sec_top_feature.pattern02 .top_feature_box h3 {
    font-size: 17px;
    line-height: 1.4;
    padding-bottom: 10px;
    margin-bottom: 12px;
  }
  .sec_top_feature.pattern02 .top_feature_box h3::after {
    width: 100%;
  }

  .clinic_contact_line {
    gap: 4px 12px;
  }
  .clinic_tel,
  .clinic_fax {
    font-size: 16px;
  }
  .clinic_fax {
    font-size: 14px;
  }
  .clinic_access {
    font-size: 13px;
  }

  .clinic_area {
    padding: 12px 16px;
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .clinic_area_label {
    font-size: 14px;
  }
  .clinic_area p:not(.clinic_area_label) {
    font-size: 13px;
  }

  .sec_top_feature.pattern02 .top_feature_item:has(.clinic_head) .btn01 {
    text-align: center;
  }
  .sec_top_feature.pattern02 .top_feature_item:has(.clinic_head) .btn01 a {
    min-width: 0;
    width: 100%;
  }

  .sec_top_feature.pattern02 .top_feature_text p {
    font-size: 15px;
  }
  .sec_top_feature.pattern02 .top_feature_item:nth-child(4) .btn01, .sec_top_feature.pattern02 .top_feature_item:nth-child(5) .btn01 {
    text-align: center;
    margin: 0 auto;
}
  .sec_top_feature.pattern02 .top_feature_item:nth-child(4) .btn01 a,
  .sec_top_feature.pattern02 .top_feature_item:nth-child(5) .btn01 a {
    min-width: 0;
    width: 100%;
  }
}


/* 当院の特徴パターンC(背景に写真、その上にテキスト) */
.sec_top_feature.pattern03 h2 {
  margin-bottom: 60px;
}
.sec_top_feature.pattern03 .top_feature_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2%;
}
.sec_top_feature.pattern03 .top_feature_item {
  position: relative;
  width: 32%;
  margin-bottom: 24px;
}
.sec_top_feature.pattern03 .top_feature_img {
  position: absolute;
  width: 100%;
  height: 100%;
}
.sec_top_feature.pattern03 .top_feature_img img {
  overflow: hidden;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.sec_top_feature.pattern03 .top_feature_box {
  color: #fff;
  display: flex;
  align-items: center;
  flex-flow: column wrap;
  position: relative;
  z-index: 1;
  margin: auto;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: rgba(58, 46, 46, 0.4);
}
.sec_top_feature.pattern03 .top_feature_num {
  margin-bottom: 20px;
  text-align: center;
}
.sec_top_feature.pattern03 .top_feature_num p {
  display: inline-block;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  background: var(--main-color);
  padding: 10px;
  line-height: 1;
}
.sec_top_feature.pattern03 .top_feature_num p em {
  font-style: normal;
}
.sec_top_feature.pattern03 .btn01 {
  text-align: center;
  margin-top: auto;
}

@media screen and (max-width: 640px) {
  .sec_top_feature.pattern03 .top_feature_item {
    width: 100%;
    margin-bottom: 32px;
  }
  .sec_top_feature.pattern03 .top_feature_item:last-child {
    margin-bottom: 0;
  }
}

/*==================================================================================================================================

  *診療案内

==================================================================================================================================*/
.sec_top_medical {
  position: relative;
  padding: 80px 0 250px;
  margin-top: -30px;
  background: url(../images/top_medical_bg_left.png) no-repeat 0% -475%,url(../images/top_medical_bg_right.png) no-repeat 100% -280%,url(../images/top_medical_bg_up.png) no-repeat top center;
}
.sec_top_medical .sec_top_medical_flex {
  display: flex;
  flex-wrap: wrap;
}


/* 診療案内パターンA(アイコンを目立たせるタイプ) */
.sec_top_medical.pattern01 .sec_top_medical_flex{
  justify-content: center;
  gap: 0 32px;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item {
  width: 276px;
  margin-bottom: 20px;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a {
  display: flex;
  flex-flow: column wrap;
  height: 100%;
  padding: 0 0 20px;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a .item_img {
  margin-bottom: 20px;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a h3 {
  margin: 0 auto 20px;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a p {
  margin-bottom: 20px;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a .btn01 {
  text-align: center;
  color: #fff;
  padding: 13px 15px;
  margin: 0;
  transition: 0.2s;
  min-width: 140px;
  border-radius: 30px;
  font-weight: 500;
}

/* 診療案内タイトル */
.tit_h2_medical {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 87px;
}
.tit_h2_medical_up {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 0;
}
.tit_h2_medical h2 {
  color: #5d534b;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  padding-top: 10px;
}
.tit_h2_medical p {
  color: #008720;
  font-family: "sofia-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

/* 診療案内パターンA カスタム（4列グリッド・緑/オレンジ交互） */
.sec_top_medical.pattern01 .sec_top_medical_flex {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 5px;
  justify-content: center;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item {
  width: auto;
  margin-bottom: 0;
  text-align: center;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a {
  align-items: center;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a .item_img {
  margin-bottom: 25px;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a h3 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin: 0 auto 14px;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a h3 span {
  display: block;
  font-size: 19px;
  line-height: 1.2;
}
/* .btn01 にaタグがない（aは親で全体を囲む）ので .btn01 自体をボタン化 */
.sec_top_medical.pattern01 .item .btn01 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  min-width: 213px;
  padding: 15px 48px 15px 28px;
  margin: 10px 0;
  color: #fff;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  position: relative;
}
.sec_top_medical.pattern01 .item .btn01::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  position: absolute;
  right: 12px;
  top: 50%;
  margin-top: -13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.59);
}
.sec_top_medical.pattern01 .item .btn01::after {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  position: absolute;
  right: 20px;
  top: 56%;
  margin-top: -8px;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  z-index: 1;
}

/* 緑アイテム: 1,3,6,8,9 */
.sec_top_medical.pattern01 .item:nth-child(1) a h3, .sec_top_medical.pattern01 .item:nth-child(3) a h3, .sec_top_medical.pattern01 .item:nth-child(6) a h3, .sec_top_medical.pattern01 .item:nth-child(8) a h3, .sec_top_medical.pattern01 .item:nth-child(9) a h3 {
  color: #02ad98;
}
.sec_top_medical.pattern01 .item:nth-child(1) .btn01, .sec_top_medical.pattern01 .item:nth-child(3) .btn01, .sec_top_medical.pattern01 .item:nth-child(6) .btn01, .sec_top_medical.pattern01 .item:nth-child(8) .btn01, .sec_top_medical.pattern01 .item:nth-child(9) .btn01 {
  background-color: #55c5ad;
}
.sec_top_medical.pattern01 .item:nth-child(1) .btn01::after,
.sec_top_medical.pattern01 .item:nth-child(3) .btn01::after,
.sec_top_medical.pattern01 .item:nth-child(6) .btn01::after,
.sec_top_medical.pattern01 .item:nth-child(8) .btn01::after,
.sec_top_medical.pattern01 .item:nth-child(9) .btn01::after {
  background-color: #55c5ad;
}

/* オレンジアイテム: 2,4,5,7,10 */
.sec_top_medical.pattern01 .item:nth-child(2) a h3,
.sec_top_medical.pattern01 .item:nth-child(4) a h3,
.sec_top_medical.pattern01 .item:nth-child(5) a h3,
.sec_top_medical.pattern01 .item:nth-child(7) a h3,
.sec_top_medical.pattern01 .item:nth-child(10) a h3 {
  color: #f18525;
}
.sec_top_medical.pattern01 .item:nth-child(2) .btn01,
.sec_top_medical.pattern01 .item:nth-child(4) .btn01,
.sec_top_medical.pattern01 .item:nth-child(5) .btn01,
.sec_top_medical.pattern01 .item:nth-child(7) .btn01,
.sec_top_medical.pattern01 .item:nth-child(10) .btn01 {
  background-color: #fca95d;
}
.sec_top_medical.pattern01 .item:nth-child(2) .btn01::after,
.sec_top_medical.pattern01 .item:nth-child(4) .btn01::after,
.sec_top_medical.pattern01 .item:nth-child(5) .btn01::after,
.sec_top_medical.pattern01 .item:nth-child(7) .btn01::after,
.sec_top_medical.pattern01 .item:nth-child(10) .btn01::after {
  background-color: #fca95d;
}

@media screen and (max-width: 1024px) {
  .sec_top_medical.pattern01 .sec_top_medical_flex {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 24px;
  }
}
@media screen and (max-width: 640px) {
  .sec_top_medical {
    padding: 50px 0 200px;
    background: url(../images/top_medical_bg_left.png) no-repeat 0% 96% / 230px,url(../images/top_medical_bg_right.png) no-repeat 101% 100% / 220px,url(../images/top_medical_bg_up.png) no-repeat top center / 100%;
}
  .tit_h2_medical {
    margin-bottom: 36px;
  }
  .tit_h2_medical h2 {
    font-size: 20px;
  }
  .tit_h2_medical p {
    font-size: 12px;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item a h3 span {
    font-size: 14px;
}
  .sec_top_medical.pattern01 .sec_top_medical_flex {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item a h3 {
    font-size: 17px;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item a .btn01 {
    min-width: 130px;
    font-weight: 400;
    font-size: 13px;
}
}


/* 診療案内パターンB(見出しを目立たせるタイプ) */
.sec_top_medical.pattern02 .sec_top_medical_flex {
  justify-content: flex-start;
}
.sec_top_medical.pattern02 .sec_top_medical_flex .item {
  width: 25%;
  margin-top: -1px;
}
.sec_top_medical.pattern02 .sec_top_medical_flex .item:not(:nth-child(4n+1)) {
  margin-left: -1px;
}
.sec_top_medical.pattern02 .sec_top_medical_flex .item a {
  display: flex;
  flex-flow: column wrap;
  position: relative;
  padding: 20px;
  height: 100%;
}
.sec_top_medical.pattern02 .sec_top_medical_flex .item a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--sub-color);
  z-index: 2;
}
.sec_top_medical.pattern02 .sec_top_medical_flex .item h3 {
  margin: 0 auto 20px;
}
.sec_top_medical.pattern02 .sec_top_medical_flex .item .images {
  margin-bottom: 20px;
}
.sec_top_medical.pattern02 .sec_top_medical_flex .item p {
  margin-bottom: 20px;
}
.sec_top_medical.pattern02 .sec_top_medical_flex .item .btn01 {
  text-align: center;
  color: #fff;
  background: var(--main-color);
  padding: 5px 15px;
  margin: auto auto 0;
  transition: 0.2s;
}
.sec_top_medical.pattern02 .sec_top_medical_flex .item:hover .btn01 {
  opacity: 0.7;
}

@media screen and (max-width: 640px) {
  .sec_top_medical.pattern02 .sec_top_medical_flex .item {
    width: 100%;
  }
  .sec_top_medical.pattern02 .sec_top_medical_flex .item:not(:nth-child(4n+1)) {
    margin-left: 0;
  }
}


/* 診療案内パターンC(写真+テキストボタンタイプ) */
.sec_top_medical.pattern03 .sec_top_medical_flex{
  justify-content: center;
  gap: 0 32px;
}
.sec_top_medical.pattern03 .item {
  width: 276px;
  margin-bottom: 20px;
}
.sec_top_medical.pattern03 a {
  display: block;
  padding: 100px 0;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.sec_top_medical.pattern03 a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: 0.2s ease-in-out;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  z-index: -1;
}
.sec_top_medical.pattern03 a:hover::after {
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
}
.sec_top_medical.pattern03 .item_img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.sec_top_medical.pattern03 .item_img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.sec_top_medical.pattern03 h3 {
  text-align: center;
  margin-bottom: 0;
}
.sec_top_medical p.top_medical_menu_en_title {
  display: block;
  font-weight: normal;
  text-align: center;
}

@media screen and (max-width: 640px) {
  .sec_top_medical.pattern03 .item {
    width: 48%;
  }
  .sec_top_medical.pattern03 a {
    padding: 50px 0;
  }
}

/*==================================================================================================================================

  *医療コラム

==================================================================================================================================*/
.sec_top_column {
  padding-top: 80px;
  padding-bottom: 80px;
}
.column_list_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 32px;
}
.column_list_flex dl {
  width: 276px;
  margin-bottom: 20px;
}
.column_list_flex dt {
  background: var(--main-color);
  color: #fff;
  font-size: 130%;
  font-weight: bold;
  text-align: center;
}
.column_list_flex dd {
  padding: 10px;
}
.column_list_flex dd ul li {
  position: relative;
  line-height: 2;
  display: flex;
  align-items: baseline;
}
.column_list_flex dd ul li::before {
  content: "\f054";
  color: var(--main-color);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 90%;
  margin-right: 5px;
}
.column_list_flex dd ul li a {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: var(--text-color);
}
@media (hover: hover) {
  .column_list_flex dd ul li a:hover {
    color: var(--sub-color);
  }
}

@media screen and (max-width: 640px) {
  .column_list_flex{
    /* gap: 20px 2%; */
    /* 一列にする場合はこちら */
    gap: 0;
  }
  .column_list_flex dl {
    /* width: 48%; */
    /* 一列にする場合はこちら */
    width: 100%;
  }
}

/*==================================================================================================================================

  *ループスライダー

==================================================================================================================================*/
.home_loopSlider {
  overflow: hidden;
}
.home_loopSlider div {
  vertical-align: top;
}
.home_loopSlider img {
  width: 100%;
}