@charset "UTF-8";

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

  *共通設定

==================================================================================================================================*/
/*----------inner----------*/
.home_inner {
  max-width: 1300px;
  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: 970px;
  margin-left: 80px;
  /* overflow: hidden; */
}

.home_mv::before {
  content: "";
  aspect-ratio: 1300 / 1195;
  bottom: 0px;
  right: 0;
  background: url(../images/mv_bg.jpg) center no-repeat;
  background-size: cover;
  width: 1300px;
  height: 1195px;
  z-index: -1;
  content: '';
  position: absolute;
}

.home_mv_main {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  margin: 0 auto;
  width: 1300px;
}

/*　スライダー */
/* .slider-fade .slick-slide img {
  width: 100%;
  height: 600px;
  -o-object-fit: cover;
     object-fit: cover;
} */

.slider-fade .slick-slide img {
  width: 1300px;
  height: 850px;
  object-fit: cover;
  object-position: 50% 20%;
}

/*　キャッチコピー　*/
.main_catch {
  position: absolute;
  width: max-content;
  height: max-content;
  right: 0;
  display: flex;
  flex-direction: row-reverse;

  /* left: 0;
  top: 90px;
  width: 100%;
  max-width: 550px;
  height: 350px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  font-weight: bold; */
}

.main_catch p {
  color: white;
  font-family: var(--font-jp);
  font-size: 30px;
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
  margin-bottom: 5px;
  display: block;
}

.main_catch p:nth-child(2) {
  margin-top: 70px;
}

.main_catch--under {
        top: 9%;
    left: calc(50% - -13%);
        text-shadow: black 1px 1px 2px, black 1px 1px 2px, black 1px 1px 2px;
}
/* .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: 548px; */
    height: 580px;
    padding-top: 264px;
  }

  .home_mv_main {
    width: 100%;
  }

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

  /* キャッチフレーズ */
  .main_catch {
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: auto;
    /* height: 264px; */
    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 {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* お知らせ */
.top_newsInfo.pattern02 .top_news>.btn01 {
  text-align: center;
  margin-top: 25px;
}

.top_newsInfo.pattern02 .top_news>.btn01 a {
  margin: 0;
}

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

.top_newsInfo.pattern02 .top_news_list li a {
  color: var(--text-color);
}

.top_newsInfo.pattern02 .top_news_list li a:hover {
  color: var(--main-color);
}

.top_newsInfo.pattern02 .top_news_list li span {
  font-size: 90%;
  margin-right: 10px;
}

.top_newsInfo.pattern02 .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_newsInfo.pattern02 .top_news_frame {
  max-height: 200px;
  overflow-y: auto;
  padding: 20px;
}

.top_newsInfo.pattern02 .top_news_frame .news_desc {
  margin-bottom: 10px;
}

/*スクロールバーの横幅指定*/
.top_newsInfo.pattern02 .top_news_frame::-webkit-scrollbar {
  width: 5px;
}

/*スクロールバーの背景色・角丸指定*/
.top_newsInfo.pattern02 .top_news_frame::-webkit-scrollbar-track {
  border-radius: 10px;
  background: var(--bg-color);
}

/*スクロールバーの色・角丸指定*/
.top_newsInfo.pattern02 .top_news_frame::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--border-color);
}

.top_newsInfo.pattern02 .top_info address {
  text-align: center;
  font-style: normal;
}

/* 医院概要 */
.top_newsInfo.pattern02 .top_info_add {
  line-height: 1.5;
  margin-bottom: 8px;
}

.top_newsInfo.pattern02 .top_info_add span {
  display: block;
}

.top_newsInfo.pattern02 .top_info_tel {
  font-size: 32px;
  line-height: 1;
  vertical-align: middle;
  margin-bottom: 16px;
}

.top_newsInfo.pattern02 .top_info_tel a {
  color: var(--text-color);
}

.top_newsInfo.pattern02 .top_info_tel a span {
  position: relative;
  top: -5px;
  margin-right: 10px;
  font-size: 19px;
  color: var(--main-color);
}

.top_newsInfo.pattern02 .top_info_free {
  margin-bottom: 20px;
}

.top_newsInfo.pattern02 .sche_wrap:not(:last-child) {
  margin-bottom: 30px;
}

@media print,
screen and (min-width: 641px) {
  .top_newsInfo.pattern02 .home_inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .top_newsInfo.pattern02 .top_news,
  .top_newsInfo.pattern02 .top_info {
    width: 48%;
  }

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

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

  /* お知らせ */
  .top_newsInfo.pattern02 .top_news {
    margin-bottom: 40px;
  }

  .top_newsInfo.pattern02 .top_news_list li a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}


/* パターン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_doctor {
  padding-top: 140px;
  position: relative;
}

.sec_top_doctor::before {
  aspect-ratio: 1 / 1;
  top: 666px;
  left: 0;
  background: url(../images/greeting_img_01.jpg) bottom no-repeat;
  background-size: contain;
  width: auto;
  height: 260px;
  z-index: -1;
  content: '';
  position: absolute;
}

.sec_top_doctor::after {
  aspect-ratio: 1 / 1;
  top: 980px;
  left: 0;
  background: url(../images/greeting_img_02.jpg) bottom no-repeat;
  background-size: contain;
  width: auto;
  height: 200px;
  z-index: -1;
  content: '';
  position: absolute;
}


.sec_top_doctor h2 {
  letter-spacing: 0.2em;
  /* text-align: right; */
  position: relative;
  width: max-content;
  margin-left: auto !important;
  margin-bottom: 70px !important;
  font-size: 40px;
}

.sec_top_doctor h2::before {
  content: "";
  position: absolute;
  left: -200px;
  top: 53%;
  transform: translateY(-50%);
  width: 150px;
  height: 1px;
  background: var(--text-color);
}


.top_greeting_flex {
  width: 1200px;
  margin-left: auto;
  position: relative;
}

.sec_top_doctor h3 {
  position: absolute;
  top: 0;
  font-size: 28px;
  font-family: var(--font-jp);
  font-weight: 500;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  color: var(--text-color);
}

.sec_top_doctor h3 span {
  color: var(--blue);
}

.sec_top_doctor h3::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: var(--blue);
  border-radius: 50%;
  top: -24px;
  right: -14px;
  filter: blur(30px);
  z-index: -1;
}

.top_greeting_flex_img {
  width: 920px;
  margin-bottom: 20px;
  margin-left: auto;
  position: relative;
}

.top_greeting_flex_img img {
  height: 600px;
  object-fit: cover;
}

.top_doctor_name {
  position: absolute;
  bottom: 0;
  right: 0;
  background: white;
  font-family: var(--font-jp);
  width: 350px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.top_doctor_name .carr {
  font-size: 100%;
  font-size: 20px;
  letter-spacing: 0.2em;
}


.top_doctor_name .name {
  font-size: 24px;
  letter-spacing: 0.2em;
}


.top_greeting_flex_text .text {
  font-size: 18px;
  font-family: var(--font-jp);
  letter-spacing: 0.2em;
  margin-top: 90px;
  margin-bottom: 120px;
}

.top_greeting_flex_text .text p {
  margin-bottom: 35px !important;
}

.top_greeting_flex .movie_wrap {
  margin-top: 120px;
  display: flex;
  justify-content: space-between;
}

.top_greeting_flex .movie_wrap .item_btn {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 23px;
  align-content: center;
  align-items: center;
  width: 600px;
}

.top_greeting_flex .movie_wrap .item_btn .btn01 a {
  position: relative;
  padding: 21px 20px;
  min-width: 398px;
  letter-spacing: 0.3em;
  font-size: 18px;
  overflow: hidden;
}

.top_greeting_flex .movie_wrap .item_btn .btn01 a::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 10px;
  width: 110px;
  height: auto;
  aspect-ratio: 1 / 1;
  background: url(../images/logo_icon.png) bottom no-repeat;
  background-size: contain;
  z-index: 1;
  opacity: .075;
  pointer-events: none;
}

.top_greeting_flex .movie_wrap .item_movie {
  width: 650px !important;
  height: 450px !important;
  flex-shrink: 0;
}

.top_greeting_flex .movie_wrap .item_movie iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 640px) {
  .sec_top_doctor {
    padding: 60px 0;
  }

  .top_greeting_flex {
    display: block;
  }

  .top_greeting_flex_img {
    width: 100%;
  }

  .top_greeting_flex_text {
    width: 100%;
  }

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

  .top_doctor_img {
    text-align: center;
  }

  .top_doctor_name {
    text-align: center;
  }
}


/* ご挨拶パターンA(写真右) */
.sec_top_doctor.pattern01 .top_greeting_flex {
  flex-direction: row-reverse;
}



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

  *当院の特徴

==================================================================================================================================*/
.sec_top_feature {
  padding-top: 145px;
  padding-bottom: 150px;
  /* padding: 80px 0 50px; */
}

.sec_top_feature .home_inner {
  max-width: 1500px;
}

.sec_top_feature h2 {
  position: relative;
  width: max-content;
  margin-right: auto !important;
  margin-bottom: 90px !important;
  font-size: 40px;
  letter-spacing: 0.2em;
}

.sec_top_feature h2::before {
  content: "";
  position: absolute;
  right: -200px;
  top: 53%;
  transform: translateY(-50%);
  width: 150px;
  height: 1px;
  background: var(--text-color);
}

.top_feature_item {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 88px;
}

.sec_top_feature.pattern02 .top_feature_item:last-child {
  margin-bottom: 0;
}

.top_feature_wrap.reverse .top_feature_item:nth-child(even) {
  flex-direction: row-reverse;
}


.top_feature_item:nth-child(4n+1)::before {
  aspect-ratio: 1 / 1;
  top: -145px;
  right: -130px;
  background: url(../images/feature_deco.png) bottom no-repeat;
  background-size: contain;
  width: auto;
  height: 280px;
  z-index: 1;
  content: '';
  position: absolute;
}

.top_feature_item:nth-child(3n)::before {
  aspect-ratio: 1 / 1;
  top: -129px;
  left: -130px;
  background: url(../images/feature_deco.png) bottom no-repeat;
  background-size: contain;
  width: auto;
  height: 280px;
  z-index: 1;
  content: '';
  position: absolute;
  transform: scale(1, -1);
}


.top_feature_item:nth-child(4n+1)::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: var(--blue);
  border-radius: 50%;
  bottom: 60px;
  left: -90px;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.5;
}

.top_feature_item:nth-child(n+4):nth-child(4n)::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: #a1cd9e;
  border-radius: 50%;
  top: -150px;
  right: -20px;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
}


.sec_top_feature.pattern02 .top_feature_img {
  position: relative;
  width: 700px;
  /* margin-right: 3%; */
}

.sec_top_feature.pattern02 .top_feature_img::before {
  content: '成長できる舞台';
  position: absolute;
  bottom: 50px;
  right: 44px;
  color: white;
  font-family: var(--font-jp);
  font-weight: 400;
  z-index: 2;
  font-size: 40px;
  letter-spacing: 0.2em;
  text-shadow: 0px 0px 25px rgba(0, 0, 0, 0.8);
  line-height: 1;
}

.top_feature_item:nth-child(even) .top_feature_img::before {
  right: inherit;
  left: 44px;
}

.top_feature_item:nth-child(2) .top_feature_img::before {
  content: '安心を届ける医療';
}

.top_feature_item:nth-child(3) .top_feature_img::before {
  content: '理念で動く組織';
}

.top_feature_item:nth-child(4) .top_feature_img::before {
  content: '輝ける環境';
}

.top_feature_item:nth-child(5) .top_feature_img::before {
  content: 'Leaders AWARD';
}

.sec_top_feature.pattern02 .top_feature_img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--blue);
  pointer-events: none;
  opacity: 0.2;
}

.top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_img::after {
  background-color: var(--green);
}

.sec_top_feature.pattern02 .top_feature_img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.sec_top_feature.pattern02 .top_feature_box {
  width: 695px;
}

.sec_top_feature.pattern02 .top_feature_box h3 {
  font-size: 28px;
  letter-spacing: 0.2em;
  font-family: var(--font-jp);
  font-weight: 400;
}

.sec_top_feature.pattern02 .top_feature_box h3 span {
  color: var(--blue);
}

.top_feature_wrap.reverse .top_feature_item:nth-child(even) h3 span {
  color: var(--green);
}

.top_feature_text p {
  letter-spacing: 0.1em;
}

.top_feature_text p span {
  letter-spacing: 0.2em;
  font-family: var(--font-jp);
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}

.top_feature_box .btn01 {
  margin-top: 60px;
  text-align: right;
}

.sec_top_feature.pattern02 .top_feature_num {
  display: none;
}


.sec_top_feature .section_img {
  padding-top: 150px;
  height: 700px;
}

.sec_top_feature .section_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@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;
  }

  /* 左右互い違いパターン */
  .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;
  }
}




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

  *診療案内

==================================================================================================================================*/
.sec_top_medical {
  padding: 80px 0 50px;
}

.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;
  justify-content: center;
  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;
  background: var(--main-color);
  padding: 5px 15px;
  margin: auto auto 0;
  transition: 0.2s;
}

.sec_top_medical.pattern01 .sec_top_medical_flex .item a:hover .btn01 {
  background: var(--sub-color);
}

@media screen and (max-width: 640px) {
  .sec_top_medical.pattern01 .sec_top_medical_flex .item {
    width: 100%;
  }
}


/* 診療案内パターン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 {
  background: var(--sub-color);
}

@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 img {
  width: 500px;
  height: 350px;
  object-fit: cover;
  margin-right: 50px;
}

@media screen and (max-width: 640px) {
  .home_loopSlider img {
    width: 200px;
  }
}

/* common */
.home h2 {
  font-family: var(--font-jp);
  color: var(--text-color);
  font-weight: 400;
  margin: 0;
}

.home h2 span:first-child {
  color: var(--green);
}

/* sec_philo */
.home .freearea_up {
  margin-top: 140px;
  position: relative;
}

.home .freearea_up::before {
  aspect-ratio: 430 / 500;
  top: 0px;
  right: 0;
  background: url(../images/philo_img_01.jpg) bottom no-repeat;
  background-size: contain;
  width: auto;
  height: 500px;
  z-index: -1;
  content: '';
  position: absolute;
}

.home .freearea_up::after {
  aspect-ratio: 220 / 250;
  top: 540px;
  right: 30px;
  background: url(../images/philo_img_02.jpg) bottom no-repeat;
  background-size: contain;
  width: auto;
  height: 250px;
  z-index: -1;
  content: '';
  position: absolute;
}

.home .freearea_up h2 {
  white-space: nowrap;
  writing-mode: vertical-rl;
  font-size: 50px;
  letter-spacing: 0.3em;
  position: relative;
  padding-bottom: 235px;
}

.home .freearea_up h2 .green {
  color: var(--green);
}

.home .freearea_up h2::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: rgba(161, 205, 158, 1);
  border-radius: 50%;
  top: -44px;
  left: -55px;
  filter: blur(50px);
  z-index: -1;
}

.home .freearea_up h2::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 200px;
  background: var(--text-color);
}

.sec_philo .flex {
  width: 1300px;
  margin: 0 auto;
  display: flex;
  gap: 0px 215px;
  align-items: flex-start;
  margin-bottom: 132px;
}

.sec_philo .flex dt {
  font-size: 24px;
  letter-spacing: 0.2em;
  color: var(--blue);
  margin-bottom: 30px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.sec_philo .flex dt span {
  font-size: 18px;
  letter-spacing: 0.15em;
  color: #cfd6df;
  margin-left: 30px;
}

.sec_philo .flex dd {
  font-size: 17px;
  letter-spacing: 0.15em;
}

.sec_philo .flex dd:not(:last-child) {
  margin-bottom: 90px;
}

.sec_philo .flex dl>* {
  font-family: var(--font-jp);
  font-weight: 400;
}

.home .freearea_up picture img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

/* sec_media */
.sec_media {
  margin-top: 145px;
  padding-bottom: 130px;
  position: relative;
  background: url(../images/media_bg.jpg) top no-repeat;
  background-size: cover;
  background-position: 0% 10%;
}

.sec_media_title {
  text-align: center;
  margin-bottom: 90px;
}

.sec_media_title p {
  font-size: 40px;
  letter-spacing: 0.3em;
  font-weight: 400;
  font-family: var(--font-en);
  line-height: 1;
  background: linear-gradient(to right, #5487bb 0%, #5b8f84 50%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sec_media_title h2 {
  font-size: 40px;
  letter-spacing: 0.3em;
  margin-top: 35px;
  line-height: 1;
}

/* 年表 */
.timeline-wrapper {
  width: 100%;
  max-height: 1200px;
  margin-top: 85px;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  justify-content: flex-start;
  overflow-y: auto;
  padding-right: 10px;
}

.timeline-wrapper::-webkit-scrollbar {
  width: 2px;
}

.timeline-wrapper::-webkit-scrollbar-thumb {
  height: 30px;
  background: #cfd6df;
  border-radius: 3px;
}

.timeline {
  width: 50%;
}

.timeline h3 {
  font-family: var(--font-jp);
  font-size: 24px;
  color: var(--blue);
  letter-spacing: 0.1em;
  position: sticky;
  top: 0;
  background: #F4F9FC;
  z-index: 2;
  padding-bottom: 35px;
  margin-bottom: 0;
}

.media_list h3 {
  color: var(--green);
}

.timeline ul {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 50px;
  padding-left: 45px;
  padding-right: 45px;
  position: relative;
  margin-left: 5px;
}

.timeline ul::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #bcbdbf;
}

.timeline li {
  font-family: var(--font-jp);
  font-size: 18px;
  margin-bottom: 60px;
  cursor: pointer;
  line-height: 1.5;
  letter-spacing: 0.1em;
  font-weight: normal !important;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -49px;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
}

.media_list li::before {
  background: var(--green);
}

.timeline li span {
  color: var(--blue);
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  font-weight: normal !important;
  display: block;
  padding-bottom: 15px;
  margin-right: 0;
}

.media_list li span {
  color: var(--green);
}

.timeline li[onclick]:hover {
  color: var(--blue);
  cursor: pointer;
}

.media_list li[onclick]:hover {
  color: var(--green);
}

/* sec_recruit */
.home .freearea_under {
  position: relative;
  margin-bottom: 150px;
}

.home .freearea_under .home_inner {
  max-width: 1500px !important;
  margin: 0 auto;
}

.home .freearea_under .home_inner h2 {
  position: relative;
  width: 100%;
  margin-right: auto !important;
  margin-bottom: 118px !important;
  font-size: 40px;
  letter-spacing: 0.2em;
  text-align: left;
}

.home .freearea_under .home_inner h2::before {
  content: "";
  position: absolute;
  right: 0px;
  top: 53%;
  transform: translateY(-50%);
  width: 1270px;
  height: 1px;
  background: var(--text-color);
}

.sec_recruit_item {
  display: flex;
  justify-content: space-between;
}

.sec_recruit_item:not(:last-child) {
  margin-bottom: 80px;
}

.sec_recruit_item .left_item {
  width: 700px;
  height: 400px;
  position: relative;
}

.sec_recruit_item .left_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sec_recruit_item .left_item h3 {
  position: absolute;
  top: 0;
  left: 40px;
  font-size: 22px;
  font-family: var(--font-jp);
  font-weight: 400;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  color: white;
  background: var(--green);
  width: 80px;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  padding-top: 28px;
}

.sec_recruit_item:nth-of-type(2) .left_item h3 {
  background: var(--main-color);
}

.sec_recruit_item:nth-of-type(3) .left_item h3 {
  background: var(--blue);
}

.sec_recruit_item .right_item {
  max-width: 750px;
  position: relative;
}

.sec_recruit_item .right_item .title {
  font-size: 25px;
  letter-spacing: 0.2em;
  font-family: var(--font-jp);
  font-weight: 400;
}

.sec_recruit_item .right_item .text {
  letter-spacing: 0.2em;
}

.sec_recruit_item .right_item .text span {
  font-weight: bold;
}

.sec_recruit_item .right_item .btn01 {
  margin-top: 40px;
}

/* fixed bnr */
.bnr_wrap {
  position: fixed;
  bottom: 30px;
  right: 50px;
  display: flex;
  gap: 20px;
  z-index: 9999;
}

.bnr_wrap a {
  width: 370px;
  height: 130px;
}

.bnr_wrap a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bnr_btn {
  width: 60%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-top: 40px;
  transition: all 0.2s;
}

.bnr_btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* hover */
@media (hover: hover) {
  .bnr_btn:hover {
    opacity: 0.8;
  }
}

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

  .sec_top_feature .home_inner,
  .home .freearea_under .home_inner {
    width: 1300px;
    max-width: 1300px;
    min-width: 1300px;
  }

  .sec_top_feature,
  .sec_top_doctor {
    overflow: hidden;
  }

  #mainvisual {
    min-width: 60%;
  }

  .home_mv {
    margin-left: 0;
  }

  .slider-fade .slick-slide img {
    width: 80%;
  }

  .header_logo {
    top: 10px;
    left: 0px;
  }

  h1 {
    left: 10px;
  }

  .sec_philo .flex dl>* {
    text-shadow:
      0 0 1px #fff,
      0 0 2px #fff,
      0 0 3px #fff,
      0 0 4px #fff;
  }

  .home .freearea_up::before,
  .sec_top_doctor::before,
  .sec_top_doctor::after {
    opacity: 0.4;
  }

  .sec_top_feature.pattern02 .top_feature_img {
    width: 48%;
  }

  .sec_top_feature.pattern02 .top_feature_box {
    width: 48%;
  }

  .sec_recruit_item .left_item {
    width: 45%;
  }

  .sec_recruit_item .right_item {
    width: 51%;
  }

  .sec_top_feature.pattern02 .top_feature_img img,
  .sec_recruit_item .left_item {
    height: auto;
  }

  .home .freearea_under .home_inner h2::before {
    width: 82%;
  }

  .sec_philo .flex {
    gap: 0 120px;
  }

  .home .freearea_up h2 {
    display: flex;
    align-content: center;
    align-items: center;
    margin-left: 100px;
  }
}

/* 1500 */
@media screen and (max-width: 1500px) {
  .main_catch {
    right: 5%;
  }
}

/* 1250 */
@media screen and (max-width: 1250px) {
  .home_mv::before {
    width: 100%;
  }
}

/* 640 */
@media screen and (max-width: 640px) {

  .sec_top_feature .home_inner,
  .home .freearea_under .home_inner,
  .top_greeting_flex,
  .sec_top_feature h2,
  .top_greeting_flex .movie_wrap .item_btn {
    width: 100% !important;
    max-width: 100%;
    min-width: 100%;
  }

  .sec_top_doctor h2,
  .home .freearea_up h2,
  .sec_top_feature h2,
  .sec_media_title p,
  .home .freearea_under .home_inner h2 {
    font-size: 25px;
  }

  .sec_media_title h2 {
    font-size: 19px;
  }

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

  .top_greeting_flex .movie_wrap .item_movie {
    width: 100% !important;
    height: auto !important;
  }

  .sec_philo .flex {
    flex-direction: column;
  }

  .sec_top_feature.pattern02 .top_feature_img img {
    height: auto;
  }


  .top_feature_item:nth-child(n+4):nth-child(4n)::after {
    right: 0;
  }

  .home_mv {
    margin-left: 0;
  }

  .home_mv::before {
    width: 100%;
    height: 264px;
    top: 0;
    left: 0;
    background: url(../images/sp_mv_bg.jpg) center no-repeat;
  }


  .slider-fade .slick-slide img {
    width: 100%;
  }

  .main_catch {
    height: auto;
    justify-content: center;
    top: 15px;
  }

  .main_catch p {
    font-size: 20px;
    margin-bottom: 0;
  }

  .main_catch p:nth-child(2) {
    margin-top: 20px;
  }
.main_catch--under {
    top: 45px;
        right: 5%;
}
  .bnr_wrap {
    position: relative;
    flex-direction: column;
    bottom: 0;
    right: inherit;
    margin-top: 20px;
  }

  .bnr_wrap a {
    width: 100%;
  }

  .home .freearea_up {
    margin-top: 40px;
  }

  .home .freearea_up h2 {
    font-size: 25px;
    padding-bottom: 110px;
    margin-top: 50px;
    margin-left: 0;
  }

  .home .freearea_up h2::before {
    width: 70px;
    height: 70px;
  }

  .home .freearea_up h2::after {
    height: 100px;
  }

  .home .freearea_up picture img {
    height: auto;
  }

  .sec_philo .flex {
    width: 90%;
    margin: 0 auto;
    align-items: center;
  }

  .home .freearea_up::after {
/*     top: 10%;
    width: 25%;
    height: auto;
    right: 0;
    background: url(../images/sp_philo_img_02.jpg) no-repeat;
    background-size: contain; */
	  background: none;
  }

  .home .freearea_up::before {
/*     right: 0;
    width: 30%;
    height: auto;
    background: url(../images/sp_philo_img_01.jpg) no-repeat;
    background-size: contain; */
	  background: none;
  }

  .philo_list {
    margin-top: 40px;
  }

  .sec_philo .flex dt {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  .sec_philo .flex dt span {
    font-size: 16px;
    margin-left: 20px;
  }

  .sec_philo .flex dd {
    font-size: 15px;
  }

  .sec_philo .flex dd:not(:last-child) {
    margin-bottom: 60px;
  }

  .home .freearea_up .section_img {
    margin-top: 60px;
  }

  .top_greeting_flex_img img {
    height: auto;
  }

  .sec_top_doctor h2 {
    width: 100%;
    text-align: right;
    margin-bottom: 30px !important;
  }

  .sec_top_doctor h2::before {
    width: 28%;
    left: 0;
  }

  .sec_top_doctor h3 {
    position: relative;
    writing-mode: inherit;
    font-size: 19px;
  }

  .top_doctor_name {
    width: auto;
    height: auto;
    padding: 10px 20px;
  }

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

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

  .top_greeting_flex_text .text {
    font-size: 15px;
    margin-top: 30px;
    margin-bottom: 0px;
  }

   .sec_top_doctor::before {
/*    width: 30%;
    height: auto;
    top: 48%;
    opacity: 0.4;
    background: url(../images/sp_greeting_img_01.jpg) no-repeat;
    background-size: contain; */
	background: none;
  }

  .sec_top_doctor::after {
/*     width: 20%;
    height: auto;
    top: 58%;
    opacity: 0.4;
    background: url(../images/sp_greeting_img_02.jpg) no-repeat;
    background-size: contain; */
	background: none;
  }

  .sec_top_doctor h3::before {
    left: 0;
    right: inherit;
    width: 30px;
    height: 30px;
    filter: blur(20px);
    top: -10px;
  }

  .top_greeting_flex .movie_wrap {
    margin-top: 50px;
    gap: 30px;
  }

  .top_greeting_flex .movie_wrap .item_btn {
    gap: 20px;
  }

  .top_greeting_flex .movie_wrap .item_btn .btn01 {
    width: 100%;
  }

  .top_greeting_flex .movie_wrap .item_btn .btn01 a {
    max-width: 100%;
    min-width: 100%;
  }

  .top_greeting_flex .movie_wrap .item_movie {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .home_loopSlider img {
    width: 200px;
    height: auto;
    aspect-ratio: 500 / 350;
  }

  .home_loopSlider img {
    margin-right: 10px;
  }

  .sec_media {
    margin-top: 60px;
    padding-bottom: 60px;
    background: url(../images/sp_media_bg.jpg) top no-repeat;
  }

  .sec_media_title {
    margin-bottom: 40px;
  }

  .sec_media_title h2 {
    margin-top: 10px;
  }

  .timeline-wrapper {
    flex-direction: column;
    margin-top: 30px;
  }

  .timeline {
    width: 100%;
  }

  .timeline li {
    font-size: 16px;
  }

  .timeline-wrapper {
    overflow-y: visible !important;
    max-height: none !important;
  }

  .timeline ul {
    max-height: 350px;
    padding: 0;
    overflow-y: auto;
    padding-left: 45px;
    position: relative;
  }

  .timeline li {
    padding-bottom: 40px;
    margin-bottom: 0;
  }

  .timeline li span {
    padding-bottom: 5px;
  }

  .timeline li::before {
    left: -45px;
    z-index: 2;
  }

  .timeline ul li::after {
    content: "";
    position: absolute;
    left: -41px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #bcbdbf;
  }

  .timeline ul li:last-child::after {
    bottom: 50%;
  }

  .timeline ul::before {
    display: none;
  }

  .timeline h3 {
    background: transparent;
    padding-bottom: 25px;
  }


  .media_list {
    margin-top: 40px;
  }

  .sec_top_feature {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .sec_top_feature h2 {
    margin-bottom: 40px !important;
  }

  .sec_top_feature.pattern02 .top_feature_img {
    width: 100%;
  }

  .sec_top_feature.pattern02 .top_feature_img::before {
    font-size: 18px;
  }

  .sec_top_feature.pattern02 .top_feature_img::before,
  .top_feature_item:nth-child(even) .top_feature_img::before {
    bottom: 20px;
    right: 20px;
    left: inherit;
  }

  .sec_top_feature.pattern02 .top_feature_box {
    width: 100%;
  }

  .sec_top_feature.pattern02 .top_feature_box h3 {
    font-size: 22px;
  }

  .top_feature_box .btn01 {
    margin-top: 35px;
  }

  .top_feature_item {
    margin-bottom: 50px;
  }

  .top_feature_item:nth-child(4n+1)::before {
    right: -5%;
    top: -18px;
    aspect-ratio: 1 / 1;
    width: 30%;
    height: auto;
    background: url(../images/sp_feature_deco.png) no-repeat;
    background-size: contain;
  }

  .top_feature_item:nth-child(4n+1)::after {
    width: 30%;
    height: 30%;
    top: 109px;
    left: -5%;
    filter: blur(30px);
    opacity: 0.3;
  }

  .top_feature_item:nth-child(3n)::before {
    width: 30% !important;
    height: auto !important;
    top: -30px;
    left: -5%;
    background: url(../images/sp_feature_deco.png) no-repeat;
    background-size: contain;
  }

  .top_feature_item:nth-child(n+4):nth-child(4n)::after {
    width: 30%;
    height: auto;
    aspect-ratio: 1 / 1;
    top: -30px;
    right: -5%;
    filter: blur(30px);
  }

  .sec_top_feature .section_img {
    padding-top: 60px;
    height: auto;
  }

  .home .freearea_under {
    margin-bottom: 60px;
  }

  .home .freearea_under .home_inner h2,
  .sec_top_feature h2 {
    width: 100%;
    text-align: left;
    margin-bottom: 30px !important;
  }

  .home .freearea_under .home_inner h2::before,
  .sec_top_feature h2::before {
    width: 62%;
    right: 0;
  }

  .sec_top_feature h2::before {
    width: 25%;
  }

  .sec_recruit_item {
    flex-direction: column;
  }

  .sec_recruit_item .left_item,
  .sec_recruit_item .right_item {
    width: 100%;
    height: auto;
  }

  .sec_recruit_item .left_item h3 {
    padding-top: 20px;
    font-size: 18px;
    left: 20px;
  }

  .sec_recruit_item .right_item .title {
    font-size: 20px;
    margin-top: 20px;
  }

  .sec_recruit_item .right_item .btn01 {
    margin-top: 20px;
  }

  .sec_recruit_item:not(:last-child) {
    margin-bottom: 50px;
  }

  .bnr_btn {
    width: 80%;
  }

  .bnr_wrap {
    z-index: 5;
  }
}