@charset "UTF-8";

/* ---------------------
  - *基本設定
  - *タイトル
  - *メインビジュアル
  - *バナーエリア
  - *医院概要
  - *ご挨拶
  - *診療案内
  - *当院の特徴
  - *病状・病名から探す
  - *医療コラム
  - *無限スライダー
--------------------- */
/* ==================================================================================================================================

  *基本設定

================================================================================================================================== */
.front {
  overflow: hidden;
}

section .inner {
  padding: 120px 50px;
  max-width: 1400px;
}

.text > *:not(:last-child) {
  margin-bottom: 2em;
}

/* ----- パララックス ----- */
.parallax {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 500px;
}

/* 切り抜く範囲 */
.parallax_img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  clip-path: inset(0);
}

/* 固定する画像 */
.parallax_img::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==============================================
  *SP 基本設定
============================================== */
@media screen and (max-width: 640px) {
  section .inner {
    padding: 70px 20px;
  }

  /* ----- パララックス ----- */
  .parallax {
    height: 300px;
  }
}

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

  *タイトル

================================================================================================================================== */
.top_title {
  margin-bottom: 65px;
  line-height: 1.5;
  text-align: center;

  /* 左寄せ */
}

.top_title.title_left {
  text-align: start;
}

.top_title h2 {
  font-size: 180%;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--main-color);
  font-size: 450%;
  font-family: var(--en-font);
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.12em;
  line-height: 1;
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
  .top_title {
    margin-bottom: 40px;
  }

  .top_title h2 {
    margin: 5px 0 0;
    font-size: 18px;
  }

  .top_title .eng {
    font-size: 45px;
    margin-bottom: 5px;
  }
}

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

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
  position: relative;
  z-index: 2;
  height: 800px;
  overflow: hidden;
}

.mvSlider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* ----- スライダーのArrowボタン ----- */
.mvSlider .sliderBtn {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
}

.mvSlider .sliderBtn#mv_btnPrev {
  left: 20px;
}

.mvSlider .sliderBtn#mv_btnNext {
  right: 20px;
}

.mvSlider .sliderBtn span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--main-color);
  border-radius: 50%;
  transition: background 0.2s;
}

.mvSlider .sliderBtn span:hover {
  background: var(--text-color);
}

.mvSlider .sliderBtn span::before {
  padding: 0 0 1px 0;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: #ffffff;
  font-size: 15px;
  transition: color 0.2s;
}

.mvSlider .sliderBtn#mv_btnPrev span::before {
  content: "\f053";
}

.mvSlider .sliderBtn#mv_btnNext span::before {
  content: "\f054";
}

/* 各スライダーのボタンは非表示に */
.mvSlider .splide__arrows {
  display: none;
}

/* ----- MVの画像 ----- */
.mvImg {
  width: 100%;
  height: 100%;
  padding: 0 30px 0 25%;
}

.mvImg .splide__track {
  width: 100%;
  height: 100%;
border-radius: 5px;
}

.mvImg .splide__slide {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

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

/* フェードの専用スタイル */
.fade .mvImg .splide__slide img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  height: calc(100% + 50px);
  pointer-events: none;
}

/* アニメーションを実行 */
.fade.move .mvImg .splide__slide img {
  animation: hideTranslate 8s ease-out forwards;
}

.fade.move .mvImg .splide__slide.is-active img {
  animation: showTranslate 8s ease-out forwards;
}

/* MVのアニメーション  */
@keyframes hideImg {
  0% {
    opacity: 1;
  }

  10% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}
@keyframes showTranslate {
  0% {
    transform: translate3d(0, 0px, 0);
  }

  100% {
    transform: translate3d(0, -30px, 0);
  }
}
@keyframes hideTranslate {
  /* 下降 */
  0% {
    transform: translate3d(0, -30px, 0);
  }

  100% {
    transform: translate3d(0, 0px, 0);
  }
}

/* ----- キャッチコピー ----- */
.mvCatch {
  position: absolute !important;
  top: 25%;
  left: 0;
  z-index: 3;
  width: 25%;
  transform: translateY(-50%);
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

.mvCatch .inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mvCatch p {
  position: relative;
  font-size: 180%;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
  -ms-writing-mode: tb-rl; /* IE用 */
  writing-mode: vertical-rl; /* 一般的なブラウザ */
  padding: 90px 0 0;
}
.mvCatch p::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 59px;
    background: url(../images/ashirai_leaf.png) top left / cover no-repeat;
    top: 0;
    left: 58%;
    transform: translateX(-50%);
}
/* ----- コンテンツ ----- */
.mvContents {
  position: absolute !important;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.mvContents .inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 1920px;
}

.mvContents .splide__track {
  width: 100%;
  height: 100%;
}

.open_bnr {
  position: absolute;
  left: 30%;
  bottom: 70px;
  display: inline-block;
  border-radius: 50%;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

.open_bnr > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 280px;
  padding: 15px;
  background: url(../images/bg_orange01.jpg) top left / 500px no-repeat;
  border-radius: 50%;
  color: #ffffff;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.15em;
}

.open_bnr .date {
  font-size: 110%;
}

.open_bnr .open_text {
  margin: 0 0 10px;
  font-size: 180%;
}

.open_bnr .nairankai_tit {
  display: block;
  width: 80%;
  margin: 0 0 10px;
  padding: 5px 10px;
  background: #ffffff;
  border-radius: 300px;
  color: var(--main-color);
  font-size: 90%;
  text-align: center;
}

/* サブカラー */
.open_bnr.subcolor > * {
  background: var(--sub-color);
}

.open_bnr.subcolor > * .nairankai_tit {
  color: var(--sub-color);
}

/* mvバナー */
.mv_info {
    width: 25%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: absolute;
    bottom: 80px;
    font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
}

.mv_info_item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 80%;
    max-width: 300px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.8);
    border-radius: 5px;
    text-align: center;
    box-shadow: 0px 0px 5px 0px rgba(250, 143, 43, 0.2);
}
.mv_info_icon {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    background: #c1923e;
    border-radius: 50%;
}
.mv_info_text {
    flex: 3;
    color: #777777;
    line-height: 1.5;
}
.mv_info_item .accent {
    font-size: 120%;
    color: #c1923e;
}
/* ----- RIBONバナー ----- */
.mv_ribon {
  position: absolute;
  bottom: 150px;
  left: 0;
}

.sp_only {
  display: none;
}

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
  .mainvisual {
    height: 500px;
  }
.mvImg {
    padding: 0;
}

  /* ----- スライダーのArrowボタン ----- */
  .mvSlider .sliderBtn {
    top: 50%;
    width: 40px;
    height: 40px;
    padding: 2px;
    font-size: 12px;
  }

  .mvSlider .sliderBtn#mv_btnPrev {
    left: 10px;
  }

  .mvSlider .sliderBtn#mv_btnNext {
    right: 10px;
  }

  .mvSlider .sliderBtn span::before {
    font-size: 11px;
  }

  .mvCatch {
    top: auto;
    bottom: 20px;
    display: none;
    transform: none;
  }

  .mvCatch.is-active {
    display: block;
  }

  .mvCatch p {
    font-size: 130%;
    line-height: 1.75;
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff);
  }
.mvCatch p::before {
    width: 30px;
    height: 30px;
    top: 40px;
}
  .mvContents {
    display: none;
  }

  .sp_only {
            position: relative;
        z-index: 1;
    display: block;
    background: none !important;
  }

  .sp_only .inner {
    padding: 0 20px;
  }

  .sp_only_contents {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
  }

  .open_bnr {
    position: static;
    width: 100%;
    max-width: 350px;
    border-radius: 0;
  }

  .open_bnr > * {
    width: 70%;
    height: 100%;
    aspect-ratio: 1 / 1;
    padding: 15px 20px;
    margin: 0 auto;
  }

  .mv_info {
    position: static;
    width: 100%;
  }
  .mv_info_item {
    width: 100%;
    max-width: 100%;
  }
}

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

  *バナーエリア

================================================================================================================================== */
/* ----- 共通設定 ----- */
.top_banner .banner_slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--text-color);
}

/* 画像のみのバナー */
.top_banner .onlyimg .banner_slide {
  height: fit-content;
  padding: 0;
}

.top_banner .onlyimg .banner_slide img {
  width: 100%;
  height: auto;
  transition: opacity 0.2s;
}

.top_banner .onlyimg a.banner_slide:hover img {
  opacity: 0.5;
}

/* インプットバナー */
.top_banner .input .banner_slide {
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 15px;
  background: var(--bg-color);
}

.top_banner .input .banner_slide .slide_img {
  flex-shrink: 0;
  width: calc(30% - 10px);
  height: 100%;
}

.top_banner .input a.banner_slide:hover {
  background: #f5f5f5;
}

.top_banner .input .slide_img {
  flex-shrink: 0;
  width: calc(30% - 10px);
  height: 100%;
}

.top_banner .input .banner_slide .slide_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top_banner .input .slide_inner {
  width: 100%;
  height: 100%;
  padding: 0 0 10px;
}

.top_banner .input .slide_title {
  margin: 0 auto 10px;
  padding: 5px;
  border-bottom: 1px solid var(--line-color);
  color: var(--main-color);
  font-size: 110%;
  line-height: 1.5;
}

.top_banner .input .slide_content {
  font-size: 90%;
}

/* ----- グリッドバナー ----- */
.banner_grid ul {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.banner_grid li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(33.3333333333% - 13.3333333333px);
}

/* ----- スライダーバナー ----- */
#bannerSlider .splide {
  position: relative;
  z-index: 1;
}

#bannerSlider .splide__inner {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

/* スライドの設定  */
#bannerSlider .splide__slide {
  display: flex;
  align-items: center;
  min-height: 200px;
}

/* スライダーのArrowボタン */
#bannerSlider .bannerSlider_arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
}

#bannerSlider .bannerSlider_arrow i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 0 1px 0;
  background: var(--main-color);
  border-radius: 50%;
  font-size: 80%;
  transition: background 0.2s;
}

#bannerSlider .bannerSlider_arrow:hover i {
  background: var(--text-color);
}

#bannerSlider .bannerSlider_arrow_prev {
  left: 0;
}

#bannerSlider .bannerSlider_arrow_next {
  right: 0;
}

/* ページネーション */
#bannerSlider .bannerSlider_pagination {
  z-index: 1;
  display: flex;
  gap: 15px;
  margin: 30px auto 0;
}

#bannerSlider .bannerSlider_page {
  width: 10px;
  height: 10px;
  background-color: #e8e8e8;
  border-radius: 50%;
  transition: background 0.2s;
}

#bannerSlider .bannerSlider_page.is-active {
  background: var(--main-color);
}

/* ==============================================
  *SP バナーエリア（追加コンテンツ）
============================================== */
@media screen and (max-width: 640px) {
  /* ----- グリッドバナー ----- */
  .banner_grid li {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* ----- スライダーバナー ----- */
  #bannerSlider .splide__inner {
    position: relative;
    z-index: 1;
    padding: 0 15px;
  }

  /* スライダーのArrowボタン */
  #bannerSlider .bannerSlider_arrow {
    width: 40px;
    height: 40px;
  }

  #bannerSlider .bannerSlider_arrow i {
    padding: 0 0 1px 0;
  }

  /* ページネーション */
  #bannerSlider .bannerSlider_pagination {
    gap: 12px;
    margin: 20px auto 0;
  }

  #bannerSlider .bannerSlider_page {
    width: 8px;
    height: 8px;
  }
}

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

  *医院概要（パターン02）

==================================================================================================================================*/
.clinic {
  position: relative;
  z-index: 1;
}
.clinic .news::before {
    position: absolute;
    content: "";
    width: 400px;
    height: 522px;
    background: url(../images/leaf_img01.png) top left / contain no-repeat;
    left: -100px;
    top: -270px;
}
/* ----- お知らせ ----- */
.news_wrap {
    position: relative;
}
.news_wrap::before {
    position: absolute;
    content: "";
    background: 
    url(../images/bg_nami_w01.svg) top left / 50% repeat-x,
    url(../images/bg_nami_w02.svg) bottom left / 50% repeat-x,
    linear-gradient(90deg, rgba(255,255,255,0),#fff),
    url(../images/bg_orange02.jpg) top left / cover no-repeat;
    width: 100%;
    height: calc(100% + 540px);
    bottom: 0;
    left: 0;
}
.clinic .news {
  position: relative;
  z-index: 1;
}

.clinic .news::after {
    position: absolute;
    content: "";
    width: 300px;
    height: 380px;
    background: url(../images/leaf_img02.png) top left / contain no-repeat;
    right: -10px;
    bottom: -200px;
}

.clinic .news .inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  padding: 100px 50px 160px;
}

.clinic .news .news_left {
  flex-shrink: 0;
  width: 300px;
}

.clinic .news .top_title {
  margin: 0 0 30px;
}
.clinic .news .top_title .eng {
    font-size: 350%;
}
.clinic .news .top_title h2 {
    font-size: 150%;
}
.clinic .news .btn01 {
  margin-top: 30px;
  text-align: center;
}

/* ----- 医院概要 ----- */
.clinic .info {
    position: relative;
}
.clinic .info::before {
    position: absolute;
    content: "";
    background: url(../images/leaf_img06.png) top left / contain no-repeat;
    width: 190px;
    height: 242px;
    bottom: 46px;
    left: -35px;
    z-index: -1;
}

.clinic .info .inner {
  display: flex;
  gap: 40px;
  padding: 120px 50px;
}

.clinic .info .inner > * {
  width: calc(50% - 20px);
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

.clinic .info address > * {
  position: relative;
  z-index: 1;
  min-height: 40px;
}

.clinic .info address > *::before {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 0 2px;
  background: url(../images/bg_orange01.jpg) center left / 100px no-repeat;
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffffff;
  font-size: 16px;
}

.clinic .info address .location {
  padding: 5px 0 5px 50px;
}

.clinic .info address .location::before {
  content: "\f3c5";
}

.clinic .info address .location .zipcode {
  margin-right: 10px;
}

.clinic .info address .tel {
  margin-top: 15px;
  padding: 3px 0 7px 50px;
  font-size: 30px;
  line-height: 1;
  font-family: var(--en-font);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.12em;
}

.clinic .info address .tel::before {
  content: "\f3cd";
}

.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-size: 30px;
  line-height: 1;
  font-family: var(--en-font);
  font-weight: 400;
  font-style: normal;
}

.clinic .info address .fax::before {
  content: "\f249";
}

.clinic .info address .note {
  margin-top: 20px;
  padding-left: 12px;
  font-size: 90%;
}

.clinic .info .speciality {
display: flex;
    align-items: center;
    gap: 30px;
    margin: 20px auto 0;
    padding: 15px 0;
    background: #fff6dd;
    border-radius: 5px;
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 0 30px;
  text-align: center;
  border-right: 1px solid var(--line-color);
}

.clinic .info .office_hour:first-child {
  margin-top: 30px;
}

.clinic .info .list_access {
  margin-top: 5px;
}

.clinic .info .calendar_text {
  margin-top: 20px;
}

.clinic .info .btn01 {
  margin-top: 30px;
  text-align: center;
}

.clinic .info .googlemap iframe {
  height: 350px;
}
.clinic_under_img {
    position: relative;
    padding: 0 80px;
}
.clinic_under_img::before {
    position: absolute;
    content: "";
    width: 400px;
    height: 551px;
    background: url(../images/leaf_img05.png) top right / contain no-repeat;
    right: -35px;
    bottom: -220px;
    transform: scaleX(-1);
    z-index: 1;
}
.clinic_under_img_inner { 
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: 5px;
    overflow: hidden;
}
.clinic_under_img_inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: 
    linear-gradient(rgba(255,255,255,0.5),rgba(255,255,255,0.5)),
    linear-gradient(rgba(255, 206, 46, 0.5),rgba(250, 143, 43, 0.5));
    bottom: 0;
    left: 0;
    opacity: 0.5;
    border-radius: 5px;
}

/* .clinic_under_img::after {
    position: absolute;
    content: "";
    width: 500px;
    height: 400px;
    background: url(../images/leaf_img03.png) bottom left / contain no-repeat;
    left: 0;
    bottom: -42px;
} */
@media screen and (max-width: 640px) {
.clinic {
    z-index: 0;
}

.clinic .news::before {
    width: 150px;
    height: 194px;
    left: -50px;
    top: -50px;
}
.clinic .news::after {
    width: 125px;
    height: 158px;
    bottom: -58px;
}
.news_wrap::before {
    height: calc(100% + 280px);
}
  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 60px 20px;
  }

  .news_wrap::before {
    background: 
    url(../images/bg_nami_w01.svg) top left / 50% repeat-x,
    url(../images/bg_nami_w02.svg) bottom left / 50% repeat-x,
    url(../images/bg_orange02.jpg) top left / cover no-repeat;
  }
  .clinic .info::before {
     width: 100px;
    height: 128px;
    bottom: -24px;
    left: -35px;   
  }
  .clinic .info .inner {
    flex-flow: column;
    padding: 70px 20px;
  }

  .clinic .info .inner > * {
    width: 100%;
  }

  .clinic .info .speciality {
    gap: 15px;
    padding: 10px;
  }

  .clinic .info .speciality .title {
    padding: 0 15px;
  }
  .clinic_under_img {
    padding: 0 20px;
  }
.clinic_under_img::before {
    width: 150px;
    height: 206px;
    right: -14px;
    bottom: -105px;
}
  .clinic .news .btn01 {
    margin-right: auto;
  }
}

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

  *ご挨拶

================================================================================================================================== */
.greeting {
    position: relative;
}
.greeting .inner {
    padding: 100px 50px 120px;
}
.greeting::before {
    position: absolute;
    content: "";
    width: 363px;
    height: 460px;
    background: url(../images/leaf_img02.png) top left / contain no-repeat;
    right: -10px;
    top: -70px;
    z-index: 2;
}
.greeting::after {
    position: absolute;
    content: "";
    background:
    url(../images/leaf_img03.png) bottom -50px left / 600px no-repeat,
    linear-gradient(rgba(255, 206, 46, 0.2),rgba(250, 143, 43, 0.2)),
    linear-gradient(rgba(255,255,255,0.4),rgba(255,255,255,0.4)),
    url(../images/greeting_bg.jpg) center / cover no-repeat;
    width: 80%;
    height: 80%;
    left: 0;
    bottom: -200px;
    border-radius: 0 5px 5px 0;
}
.greeting .inner::before {
    position: absolute;
    content: "";
    background: url(../images/leaf_img06.png) top left / contain no-repeat;
    width: 190px;
    height: 242px;
    top: -156px;
    left: -26px;
    z-index: 1;
}
.greeting .top_title h2 {
    color: #6e5f53;
}
.greeting_box {
  position: relative;
  z-index: 1;
    padding: 0 0 80px 100px;
    background: #fff;
    border-radius: 5px;
}
.greeting .top_title {
    text-align: left;
}
.greeting_flex {
  display: flex;
  gap: 80px;
}

.greeting_box:not(:last-child) {
  margin-bottom: 70px;
}
.greeting_left {
    flex-shrink: 0;
    width: 60%;
    display: flex;
    flex-direction: row-reverse;
    gap: 70px;
}
.greeting_catch {
    position: relative;
    flex-shrink: 0;
    font-size: 180%;
    display: flex;
    align-items: center;
    color: #b1967c;
    font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
    padding: 80px 0 0;
      -ms-writing-mode: tb-rl; /* IE用 */
  writing-mode: vertical-rl; /* 一般的なブラウザ */
}
.greeting_catch::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 60px;
    background: #b1967c;
    top: 0;
}

.greeting_text > *:not(:last-child) {
  margin-bottom: 2em;
}
.greeting_img img {
    border-radius: 5px 5px 0 0;
}

.greeting_profile {
  padding: 20px;
  background: url(../images/bg_orange01.jpg) top left / 600px no-repeat;
  color: #ffffff;
  line-height: 1.75;
  text-align: center;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
  border-radius: 0 0 5px 5px;
}

.greeting_profile .position {
  font-size: 130%;
}

.greeting_profile .name {
  font-size: 150%;
}
.greeting_profile .name span {
    font-size: 80%;
    padding-right: 10px;
}
.greeting_btn {
  margin-top: 50px;
  text-align: left;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
.greeting::after {
    height: 250px;
    width: 100%;
    bottom: -85px;
    background-size: 280px,100%,100%,100%;
}
.greeting::before {
    width: 150px;
}
.greeting .inner {
    padding: 70px 20px 120px;
}
.greeting .inner::before {
    width: 80px;
    height: 102px;
    top: -82px;
    left: -15px;
}
.greeting_box {
    padding: 0 0 20px;
}
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
    flex-flow: column;
    gap: 20px;
  }
.greeting_catch {
    padding: 0 0 0 30px;
    font-size: 19px;
    -ms-writing-mode: rl-tb;
    writing-mode: rl-tb;    
}
.greeting_catch::before {
    width: 15px;
    height: 1px;
    top: auto;
    left: 0;
}
  .greeting_btn {
    margin-top: 0;
    text-align: center;
  }
  .greeting_right {
    width: 80%;
    margin: 0 auto;
}
.greeting_profile {
    padding: 10px 20px;
    line-height: 1.5;
}
}

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

  *診療案内

================================================================================================================================== */
.medical {
    position: relative;
}
.medical::before {
    position: absolute;
    content: "";
    width: 100%;
    height: calc(100% - 400px);
    background:
    url(../images/bg_nami_w01.svg) top left / 30% repeat-x,
    linear-gradient(var(--bg-color), #fffae2);
    bottom: 0;
    left: 0;
    z-index: -1;
}
.medical .inner {
    padding: 150px 50px;
}
.medical .top_title span {
  color: var(--main-color);
}

.medical_list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 20px;
}

.medical_item {
  position: relative;
  z-index: 1;
  width: calc(25% - 15px);
  height: auto;
  padding: 0 0 8px 0;
  background: url(../images/bg_orange01.jpg) center / 500px no-repeat;
  border-radius: 10px;
  box-shadow: 0px 0px 7px 0px rgba(250, 143, 43, 0.2);
}

.medical_item:hover {
  transform: translateY(-10px);
}

.medical_img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}

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

.medical_inner {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 270px;
  padding: 30px 20px 40px;
  background: rgba(255, 255, 255, 1);
  text-align: center;
  border-radius: 5px;
}

.medical_inner > *:not(:last-child) {
  margin-bottom: 15px;
}

.medical_icon {
  width: 70%;
  max-width: 130px;
  margin: 0 auto 15px !important;
  background: var(--bg-color);
    border-radius: 50%;
}

.medical_title h3 {
  color: var(--text-color);
  font-size: 120%;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}
.medical_title h3 span {
    display: block;
    font-size: 80%;
}
.medical_title_eng {
  margin-top: 5px;
  color: var(--main-color);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
}

.medical_text {
  color: var(--text-color);
}

.medical_btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto;
  padding: 7px 25px 7px 15px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  letter-spacing: 1px;
  text-align: center;
  transition: padding 0.2s, color 0.2s, background 0.2s;
}

.medical_btn span::after {
  content: "\f105";
  position: absolute;
  top: 50%;
  right: 10px;
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 10px;
  transform: translateY(-50%);
}

.medical_item:hover .medical_btn span {
  background: #ffffff;
  color: var(--main-color);
}

/* ----- 先頭2つの設定----- */
/* .medical_item:nth-of-type(-n + 2) {
  width: calc(50% - 10px);
  min-height: 350px;
}

.medical_item:nth-of-type(-n + 2) .medical_inner {
  padding: 20px 20px 40px;
}

.medical_item:nth-of-type(-n + 2) .medical_icon {
  max-width: 100px;
  margin: 0 auto 5px !important;
}

.medical_item:nth-of-type(-n + 2) .medical_title h3 {
  font-size: 150%;
} */

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
.medical::before {
    height: calc(100% - 270px);    
}
.medical .inner {
    padding: 70px 20px;
}
  .medical_list {
    gap: 15px 10px;
  }

  .medical_item {
    width: calc(50% - 5px);
    padding: 0 0 5px 0;
  }

  .medical_item:hover {
    transform: translateY(-5px);
  }

  .medical_inner {
    min-height: auto;
    padding: 20px 10px;
  }

  .medical_icon {
    width: 50%;
  }

  .medical_title h3 {
    font-size: 90%;
  }

  /* ----- 先頭2つの設定----- */
  /* .medical_item:nth-of-type(-n + 2) {
    width: 100%;
    min-height: auto;
  }

  .medical_item:nth-of-type(-n + 2) .medical_inner {
    padding: 15px 20px 30px;
  }

  .medical_item:nth-of-type(-n + 2) .medical_icon {
    width: 30%;
  }

  .medical_item:nth-of-type(-n + 2) .medical_title h3 {
    font-size: 140%;
  } */
}

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

  *当院の特徴（パターン01）

================================================================================================================================== */
.feature {
    position: relative;
  background: 
  url(../images/bg_nami_w01.svg) top left / 100% repeat-x,
    url(../images/bg_nami_w02.svg) bottom left / 100% repeat-x,
    linear-gradient(rgba(255, 240, 221, 0.6), rgba(255, 248, 217, 0.6));
    z-index: 1;
}
.feature::before {
position: absolute;
    content: "";
    width: 330px;
    height: 416px;
    background: url(../images/leaf_img02.png) top left / contain no-repeat;
    right: -10px;
    top: -100px;
}
.feature::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
    url(../images/leaf_img05.png) top 55% left -40px / 330px no-repeat;
    top: 0;
    left: 0;
    z-index: -1;
}
.feature .inner {
    padding: 0 50px 150px;
}
.feature .top_title {
    margin-bottom: 70px;
}
.feature_list {
  display: flex;
  flex-flow: wrap;
    gap: 40px;
}

.feature_item {
  display: flex;
  flex-flow: column;
  width: calc(33.333333% - 27px);
  height: auto;
}
.feature_item:nth-child(2),
.feature_item:nth-child(5) {
    margin-top: 30px;
}
.feature_item:nth-child(3),
.feature_item:nth-child(6) {
    margin-top: 60px;
}
.feature_num {
    position: absolute;
    bottom: -100px;
    left: -100px;
    background: url(../images/bg_orange01.jpg) bottom -15px left / 500px no-repeat;
    width: 200px;
    height: 200px;
    border-radius: 50%;
}
.feature_num::before {
    position: absolute;
    content: "";
    background: url(../images/feature_num_img.png) top left / cover no-repeat;
    width: 60px;
    height: 50px;
    top: 22px;
    right: 19px;
}
.feature_num span {
    position: absolute;
    color: #fff;
    font-size: 200%;
    font-family: var(--en-font);
    font-weight: 400;
    font-style: normal;
    bottom: 120px;
    left: 112px;
    line-height: 1;
}

.feature_inner {
  display: flex;
  flex-flow: column;
  padding: 20px 0;
}

.feature_inner > *:not(:last-child) {
  margin-bottom: 10px;
}
.feature_img {
    position: relative;
    padding: 0 10px 10px 10px;
    z-index: 1;
    overflow: hidden;
    border-radius: 5px;
}
.feature_img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    background: linear-gradient(90deg,var(--main-color),var(--sub-color));
    left: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 5px;
}
.feature_img img {
    border-radius: 5px;
}
.feature_title {
    display: flex;
    flex-flow: column;
    justify-content: center;
    min-height: 90px;
    margin-bottom: 15px !important;
    padding: 20px;
    background: #fff;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0px 0px 5px 0px rgba(250, 143, 43, 0.2);
}

.feature_title h3 {
color: #6c4623;
    font-size: 130%;
    line-height: 1.6;
    font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
}

.feature_item .btn01 {
  margin-top: auto;
  text-align: right;
}

/* ---- 横並びボタン ----- */
.btnflex_feature {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

.btnflex_feature .btn01 {
  width: calc(50% - 2.5px);
}

.btnflex_feature .btn01 > * {
  width: 100%;
}

@media screen and (max-width: 640px) {
.feature {
    background: 
    url(../images/bg_nami_w01.svg) top 18px left / 100% repeat-x,
    url(../images/bg_nami_w02.svg) bottom left / 100% repeat-x,
    linear-gradient(90deg, rgba(255,255,255,0), #fff),
    linear-gradient(var(--bg-color),#fff8d9) top 18px left no-repeat;
}
.feature::before {
    width: 130px;
    height: 165px;
    z-index: -1;
    top: -160px;
}
.feature::after {
    background-size: 120px;
    background-position: top 52% left -20px;
}
.feature .inner {
    padding: 0 20px 70px;
}
  .feature_list {
    gap: 30px;
  }
.feature .top_title {
    margin-bottom: 45px;
}
  .feature_item {
    width: 100%;
  }

  .feature_title {
    min-height: auto;
    margin-bottom: 15px !important;
    padding: 10px;
  }
  .feature_title h3 {
    font-size: 120%;
  }
  .feature_item:nth-child(2), .feature_item:nth-child(5),
  .feature_item:nth-child(3), .feature_item:nth-child(6) {
    margin-top: 0;
}

  /* ---- 横並びボタン ----- */
  .btnflex_feature .btn01 {
    width: 100%;
  }
}

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

  *病状、症状から探す

================================================================================================================================== */
.search {
  position: relative;
}

.search .tab_list {
  gap: 10px;
}

.search .tab_list .tab {
  padding: 15px 20px;
}

.search .panel {
  position: relative;
  z-index: 1;
  padding: 25px;
  background: var(--main-color);
}

.search_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  height: fit-content;
}

.search_list li {
  width: calc(33.3333333333% - 13.3333333333px);
  height: auto;
}

/* ----- リンクボタン ----- */
.search_list li a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 60px;
  padding: 10px 45px 10px 30px;
  background: var(--bg-color);
  color: var(--text-color);
}

.search_list li a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 19px;
  z-index: 2;
  display: block;
  width: 14px;
  height: 7px;
  background: #ffffff;
  -webkit-mask: url(../images/btn_arrow.png) no-repeat center/14px 7px;
  mask: url(../images/btn_arrow.png) no-repeat center/14px 7px;
  transform: translateY(-50%);
  transition: background 0.2s;
}

.search_list li a:hover::before {
  background: var(--main-color);
}

/* 矢印の背景 */
.search_list li a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  z-index: 1;
  display: block;
  width: 22px;
  height: 22px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background 0.2s;
}

.search_list li a:hover::after {
  background: #ffffff;
}

/* ----- 画像あり ----- */
.panel_flex.active {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.search_img {
  width: calc(50% - 10px);
  margin: 0 !important;
}

.panel_flex .search_list {
  width: calc(50% - 10px);
}

.panel_flex .search_list li {
  width: calc(50% - 10px);
}

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
  .search .tab_list {
    flex-flow: column;
    gap: 7px;
    margin: 0 0 15px;
  }

  .search .tab_list .tab {
    width: 100%;
    min-height: auto;
    padding: 10px !important;
    font-size: 120%;
    transform: translate(0, 0) !important;
  }

  .search .panel {
    padding: 20px;
  }

  .search_list {
    gap: 10px;
  }

  .search_list li {
    width: 100%;
  }

  .search_list li a {
    min-height: auto;
    padding: 10px 40px;
  }

  /* ----- 画像あり ----- */
  .search .panel_flex.active {
    gap: 20px;
  }

  .search_img {
    width: 100%;
  }

  .panel_flex .search_list {
    width: 100%;
  }

  .panel_flex .search_list li {
    width: 100%;
  }
}
/*==================================================================================================================================

  *お悩みの部位から探す - 追加コンテンツ

==================================================================================================================================*/
.body-parts {
    position: relative;
    padding: 120px 0 130px;
}
.body-parts::before {
    position: absolute;
    content: "";
    width: calc((100% - 1400px) / 2 + 917px);
    height: 100%;
    background: url(../images/bg_orange02.jpg) top left / cover no-repeat;
    top: -250px;
    right: 0;
    border-radius: 0 0 0 300px;
}
.body-parts::after {
    position: absolute;
    content: "";
    background: url(../images/leaf_img06.png) top left / contain no-repeat;
    width: 190px;
    height: 242px;
    bottom: 46px;
    left: -35px;
}
.body-parts .inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 0;
}
.body-parts .inner::before {
    position: absolute;
    content: "";
    width: 1000px;
    height: calc(100% + 270px);
    background: url(../images/bg_orange02.jpg) top right / cover no-repeat;
    top: -370px;
    border-radius: 0 5px 300px 0;
    right: 100%;
}
.body-parts .top_title {
    position: relative;
    flex-shrink: 0;
    width: calc(100% - 900px);
    min-height: 524px;
    display: flex;
    gap: 15px;
    padding-top: 65px;
    flex-flow: column;
    justify-content: center;
    -ms-writing-mode: tb-rl; /* IE用 */
    writing-mode: vertical-rl; /* 一般的なブラウザ */
}
.body-parts .top_title::before {
    position: absolute;
    content: "";
    width: 50px;
    height: 50px;
    background: url(../images/ashirai_leaf.png) top left / cover no-repeat;
    top: 0;
    left: 47%;
    transform: translateX(-50%);
}
.body-parts .top_title h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 250%;
    letter-spacing: 0.2em;
}
.body-parts .top_title .eng {
    height: fit-content;
    font-size: 25px;
    font-weight: 400;
    margin-top: auto;
}

.body-parts_wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}



/* ----- 体の画像 ----- */
.body-parts_img {
  max-width: 250px;
  margin: 0 auto;
}

/* ----- 各部位の共通設定 ----- */
.body_parts_list > li {
  position: absolute;
  display: block;
}

/* ----- 各部位の位置 ----- */
#body-parts1 {
  top: 60px;
  left: 110px;
}

#body-parts1 .body_parts_title::before {
    top: 50%;
    right: -208px;
    width: 200px;
}

#body-parts2 {
  top: 95px;
  right: 110px;
}

#body-parts2 .body_parts_title::before {
  top: 45%;
  left: -170px;
  width: 160px;
}

#body-parts3 {
  top: 225px;
  left: 110px;
}

#body-parts3 .body_parts_title::before {
    top: 74%;
    right: -182px;
    width: 178px;
    transform: rotate(8deg);
}

#body-parts4 {
  top: 250px;
  right: 110px;
}

#body-parts4 .body_parts_title::before {
    top: 24%;
    left: -142px;
    width: 135px;
    transform: rotate(10deg);
}

#body-parts5 {
  top: 385px;
  left: 110px;
}

#body-parts5 .body_parts_title::before {
    top: -35%;
    right: -192px;
    width: 195px;
    transform: rotate(-23deg);
}

#body-parts6 {
  top: 415px;
  right: 110px;
}

#body-parts6 .body_parts_title::before {
    top: 70%;
    left: -197px;
    width: 190px;
    transform: rotate(-6deg);
}

#body-parts7 {
  top: 550px;
  left: 110px;
}

#body-parts7 .body_parts_title::before {
top: -4%;
    right: -200px;
    width: 196px;
    transform: rotate(-14deg);
}

#body-parts8 {
  top: 520px;
  right: 150px;
}

#body-parts8 .body_parts_title::before {
  top: -10%;
  left: -190px;
  width: 190px;
  transform: rotate(30deg);
}

/* ----- 各部位のタイトル ----- */
.body_parts_title {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 5px 15px;
  background: linear-gradient(135deg,var(--main-color),var(--sub-color));
  color: #ffffff;
  font-size: 130%;
  text-align: center;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
  border-radius: 300px;
  min-width: 120px;
  transition: opacity 0.2s, color 0.2s;
}

.body_parts_title:hover {
    opacity: 0.7;
    color: #fff;
}

.body_parts_title::before {
  content: "";
  position: absolute;
  display: block;
  height: 1px;
  background: var(--main-color);
}

/* -----　部位ごとの病状・病名　----- */
.body-parts_search {
  margin: 10px 0 0;
}

.body-parts_search li {
  line-height: 1.5;
}

.body-parts_search li:not(:last-child) {
  margin-bottom: 5px;
}

.body-parts_search li a {
  font-size: 95%;
}

/*==============================================
  *SP　お悩みの部位から探す（追加コンテンツ）
==============================================*/
@media screen and (max-width: 640px) {
.body-parts {
    padding: 0;
}
.body-parts::before {
    top: -50px;
    z-index: -1;
    width: 80%;
}
.body-parts::after {
    width: 80px;
    height: 102px;
    bottom: 30px;
    left: -15px;    
}
  .body-parts .inner {
    flex-flow: column;
    gap: 0;
    padding: 70px 20px 100px;
  }

  .body-parts_wrap {
    max-width: 450px;
  }
  .body-parts .top_title {
    width: 100%;
    align-items: center;
    gap: 0;
    padding-top: 40px;
    writing-mode: rl;
    -ms-writing-mode: rl;
    min-height: auto;
  }
  .body-parts .top_title::before {
    left: 50%;
    width: 30px;
    height: 30px;
  }
.body-parts .top_title h2 {
    font-size: 22px;
}
.body-parts .top_title .eng {
    font-size: 14px;
    margin-bottom: 5px;
}

  .body-parts_img {
    width: 55%;
  }

  /* ----- 各部位の共通設定 ----- */
  .body_parts_list > li {
    padding: 0;
  }

  /* ----- 各部位の位置 ----- */
  #body-parts1 {
    top: 0;
    left: 0;
  }

  #body-parts2 {
    top: 0;
    right: 0;
  }

  #body-parts3 {
    top: 25%;
    left: 0;
  }

  #body-parts4 {
    top: 25%;
    right: 0;
  }

  #body-parts5 {
    top: 50%;
    left: 0;
  }

  #body-parts6 {
    top: 50%;
    right: 0;
  }

  #body-parts7 {
    top: 75%;
    left: 0;
  }

  #body-parts8 {
    top: 75%;
    right: 0;
  }

  /* ----- 各部位のタイトル ----- */
  .body_parts_title {
    padding: 10px 15px;
    font-size: 90%;
    min-width: 100px;
  }

  .body_parts_title::before {
    display: none;
  }

  /* -----　部位ごとの病状・病名　----- */
  .body-parts_search {
    display: none;
  }
}
/* ==================================================================================================================================

  *医療コラム（パターン01）

================================================================================================================================== */
.column {
  background: var(--bg-color);
}

.column_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 50px 25px;
  padding: 30px;
  background: #ffffff;
}

.column_box {
  width: calc(25% - 18.75px);
}

.column_box dt a {
  display: block;
  padding: 15px 10px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 110%;
  text-align: center;
}

.column_box dd {
  padding: 15px 10px;
  border-bottom: 1px dashed var(--line-color);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.column_box dd a {
  color: var(--text-color);
}

.column_box dd a:hover {
  color: var(--main-color);
}

/* ==============================================
  *SP 医療コラム
============================================== */
@media screen and (max-width: 640px) {
  .column_list {
    gap: 40px;
  }

  .column_box {
    width: 100%;
  }
}

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

  *無限スライダー

================================================================================================================================== */
#infinitySlider {
  padding: 0;
}

#infinitySlider .splide__list {
  gap: 70px;
}

#infinitySlider .splide__slide {
  width: 400px !important;
}
#infinitySlider .splide__slide:nth-child(even) {
    margin-top: 50px;
}
.splide__slide img {
    border-radius: 5px;
}
/* ==============================================
  *SP 無限スライダー
============================================== */
@media screen and (max-width: 640px) {
#infinitySlider .splide__list {
    gap: 40px;
}
  #infinitySlider .splide__slide {
    width: 180px !important;
  }
}
