@charset "UTF-8";

/* ---------------------
  - *基本設定
  - *タイトル
  - *メインビジュアル
  - *バナーエリア
  - *医院概要
  - *ご挨拶
  - *診療案内
  - *当院の特徴
  - *ピックアップ
  - *お悩みの部位から探す
  - *病状・病名から探す
  - *医療コラム
  - *無限スライダー
--------------------- */
@import url("variables.css");

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

  *基本設定

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

section .inner {
  padding: 120px 0;
}

.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: 100px;
  line-height: 1.5;
  text-align: center;

  /* 左寄せ */
}

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

.top_title h2 {
  font-size: 160%;
  letter-spacing: 0.12em;
  font-family: var(--jp-font);
  font-weight: 500;
  font-style: normal;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 15px;
  /* background: linear-gradient(#a79069,#c4aa83, #e2d2bc); */
  background: linear-gradient(-90deg,#9fd6c1,#83c6c0, #72c2c4); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 500%;
  line-height: 1;
  letter-spacing: 0.1em;
  font-family: var(--en-font);
  font-weight: 400;
  font-style: normal;
} 

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

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

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

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

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 950px;
  overflow: hidden;
}
.mvSlider::before {
  position: absolute;
  content: "";
  background: url(../images/nami01.png) center bottom / contain no-repeat;
  width: 100%;
  height: 300px;
  bottom: -1px;
  z-index: 1;
}

.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%;
}

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

.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: 48%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
  font-family: var(--jp-font);
  font-weight: 500;
  font-style: normal;  
}

.mvCatch .inner {
  position: relative;
  z-index: 1;
}

.mvCatch p {
  font-size: 200%;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
  letter-spacing: 0.15em;
}

/* ----- コンテンツ ----- */
.mvContents {
  position: absolute !important;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

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

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

.open_bnr {
  position: absolute;
  bottom: 50px;
  right: 0;
  display: inline-block;
  padding: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.open_bnr > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 280px;
  padding: 15px;
  color: #fff;
  border-radius: 50%;
  background: var(--sub-color);
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

.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: rgba(255,255,255,0.9);
  border-radius: 5px;
  color: var(--sub-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_box {
    position: absolute;
    bottom: 50px;
    z-index: 2;
    width: 100%;
    height: 208px;
}
.mv_info_box .inner {
    height: 100%;
    position: relative;
}
.mv_info_wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 15px;
}
.mv_info {
  background: rgba(255, 255, 255, 0.4);
  padding: 4px;
  border-radius: 50%;
}
.mv_info > * {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #40c0a5;
  color: #fff;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
/*   line-height: 1.75; */
  line-height: 1.5;
  font-size: 20px;
}
.mv_info:nth-child(2) > * {
  background: var(--main-color);
}
.mv_info:nth-child(3) > * {
  background: #009ebe;
}
.mv_info > * span {
  display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
  font-size: 80%;
  background: rgba(255,255,255,0.25);
  border-radius: 300px;
  padding: 5px 20px;
}
.mv_info > * span::after {
  content: "";
  position: relative;
  display: block;
  width: 12px;
  height: 10px;
  background: #ffffff;
  -webkit-mask: url(../images/btn_arrow.png) no-repeat center / cover;
  mask: url(../images/btn_arrow.png) no-repeat center / cover;
  right: 0;
  transition: right 0.2s;
}
.mv_info > a:hover span::after {
  right: -5px;
}
.mv_info > a:hover {
  color: #fff;
  background: #228784;
}
/* ----- RIBONバナー ----- */
.mv_ribon {
  position: absolute;
  bottom: 150px;
  left: 0;
}

.sp_only {
  display: none;
}

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

  /* ----- スライダーの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: 50%;
    bottom: 20px;
  }

  .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);
  }

  .mvContents {
    display: none;
  }

  .sp_only {
    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: 10px;
    width: 100%;
  }

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

  .open_bnr > * {
    width: 100%;
    height: auto;
    padding: 15px 20px;
    border-radius: 5px;
  }

  .mv_info_box {
    z-index: 3;
  }
  .mv_info_wrap {
    width: 100%;
    gap: 5px;
    justify-content: center;
  }
  .mv_info {
    width: calc(100% / 3 - 10px);
    height: auto;
    max-width: 130px;
    aspect-ratio: 1 / 1;
    padding: 2px;
  }
  .mv_info > * {
    width: 100%;
    height: 100%;
/*     font-size: 9px; */
	font-size: clamp(9px,3vw,13px);
    gap: 5px;
  }
  .mv_info > * span {
    padding: 5px;
  }
  .mv_info > * span::after {
    width: 7px;
    height: 6px;
  }
}

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

  *バナーエリア

================================================================================================================================== */
/* ----- 共通設定 ----- */
.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_prev span::before {
  content: "\f104";
}

#bannerSlider .bannerSlider_arrow_next {
  right: 0;
}

#bannerSlider .bannerSlider_arrow_next span::before {
  content: "\f105";
}

/* ページネーション */
#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;
    background: 
    linear-gradient(rgba(255,255,255,0.4),rgba(255,255,255,0.4)),
    url(../images/greeting_bg.jpg) top center / cover no-repeat;
  }
  
  /* ----- お知らせ ----- */
  .clinic .news {
    position: relative;
    z-index: 1;
    background: linear-gradient(rgba(255,255,255,1),rgba(255,255,255,0));
  }
  .clinic .news::before {
    position: absolute;
    content: "";
    background: #fff;
    width: calc((100% - 1200px) / 2 + 350px);
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
  .clinic .news .inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
    padding: 80px 80px 80px 0px;
    background: #fff;
    border-radius: 0 5px 5px 0;
  }
  
  .clinic .news .news_left {
    flex-shrink: 0;
  }
  
  .clinic .news .top_title {
    margin: 0 0 60px;
    text-align: left;
  }
  .clinic .news .top_title h2 {
    font-size: 140%;
  }
  .clinic .news .top_title .eng {
    font-size: 350%;
  }
  .clinic .news .btn01 {
    margin-top: 30px;
    text-align: center;
  }
  
  /* ----- 医院概要 ----- */
  .clinic .info {
    position: relative;
    margin-top: 80px;
  }
  .clinic .info::before {
    position: absolute;
    content: "";
    background: #fff;
    width: 80%;
    height: 100%;
    right: 0;
    z-index: -1;
  }
  .clinic .info .inner {
    display: flex;
    gap: 40px;
    padding: 80px 0 150px 80px;
    background: #fff;
    border-radius: 5px 0 0;
  }

  .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: flex-start;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--sub-color);
    font-size: 25px;
  }
  
  .clinic .info address .location {
    padding: 5px 0 5px 32px;
  }
  
  .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 0;
    font-size: 30px;
    line-height: 1;
    font-family: var(--en-font);
    font-weight: 400;
    font-style: normal;
  }
  .clinic .info address .tel span {
    font-size: 70%;
    color: var(--sub-color);
    padding-right: 0.3em;
  }
  
  /* .clinic .info address .tel::before {
    content: "\f3cd";
  } */
  .clinic .info address .tel a {
    color: var(--text-color);
  }
  .clinic .info address .fax {
    margin-top: 15px;
    padding: 5px 0 5px 50px;
    font-size: 30px;
    line-height: 1;
  }
  
  .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: 20px;
    margin: 20px auto 0;
    padding: 20px 0;
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
  }
  
  .clinic .info .speciality .title {
    flex-shrink: 0;
    width: fit-content;
    padding: 10px 30px;
    background: var(--main-color);
    color: #ffffff;
    text-align: center;
    border-radius: 5px;
  }
  
  .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;
  }
  
  @media screen and (max-width: 640px) {
    .clinic {
        padding: 0 20px 120px;
        background: 
        linear-gradient(rgba(255,255,255,1) 0%,rgba(255,255,255,0.4) 10%),
    url(../images/greeting_bg.jpg) top center / cover no-repeat;
    }
    .clinic .news .inner {
      flex-flow: column;
      gap: 0;
      padding: 60px 20px;
    }
    .clinic .news .top_title h2 {
      font-size: 20px;
    }
    .clinic .news .top_title .eng {
      font-size: 40px;
    }
    .clinic .info {
      margin-top: 40px;
    }
    .clinic .info .inner {
      flex-flow: column;
      padding: 30px 15px 70px;
    }
  
    .clinic .info .inner > * {
      width: 100%;
    }
  
    .clinic .info .speciality {
      flex-flow: column;
      gap: 10px;
      padding: 10px 0;
    }
  
    .clinic .info .speciality .title {
      width: 100%;
    }
  }
  

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

  *ご挨拶

================================================================================================================================== */
.greeting {
  position: relative;
  margin-top: -150px;
  z-index: 1;
}
.greeting::before {
  position: absolute;
  content: "";
  mask: url(../images/nami_mask.png) top center / cover no-repeat;
  -webkit-mask: url(../images/nami_mask.png) top center / cover no-repeat;
  background:
  url(../images/logo_mark_w.svg) bottom right -80px / 40% no-repeat,
  url(../images/clinic_bg.jpg) top left / cover no-repeat;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.greeting::after {
  position: absolute;
  content: "";
  background: url(../images/nami02.png) top center / contain no-repeat;
  width: 100%;
  height: 400px;
  top: 0;
  right: 0;
  z-index: -2;
  opacity: 0.8;
}
.greeting .inner {
  padding: 200px 0 100px;
}
.greeting .top_title {
  text-align: left;
}
.greeting .top_title .eng {
    background: linear-gradient(90deg, #baa570, #d6c7a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.greeting_box {
  position: relative;
  z-index: 1;
}

.greeting_flex {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.greeting_box:not(:last-child) {
  margin-bottom: 70px;
}

.greeting_left {
  flex-shrink: 0;
  width: 58%;
}
.greeting_text {
    line-height: 2.3;
}
.doctor_catch {
  padding-bottom: 1em;
  border-bottom: 1px solid var(--line-color);
}
.greeting_text > *:not(:last-child) {
  margin-bottom: 2em;
}
.greeting_text > *:not(.doctor_catch) {
  font-size: 100%;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}
.greeting_right {
    position: relative;
}
.greeting_img {
    position: relative;
    z-index: -1;
}
.greeting_img img {
  border-radius: 5px;
  box-shadow: 0px 0px 20px 0px rgba(170, 136, 77, 0.2);
}

.greeting_profile {
    line-height: 1.75;
    text-align: center;
    font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
    background: var(--main-color);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -75px;
    right: -40px;
    color: #fff;
    margin: 4px;
}
.greeting_profile::before {
    position: absolute;
    content: "";
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    background: rgba(255,255,255,0.4);
    z-index: -1;
    border-radius: 50%;
}

.greeting_profile .name {
/*   font-size: 115%; */
	font-size: 130%;
	font-weight: 500;
}
.greeting_profile .name span:first-child {
font-size: 80%;
padding-right: 0.5em;
}
.greeting_profile .name span:nth-child(2) {
    font-size: 70%;
  display: block;
}
.greeting_btn {
  margin-top: 50px;
  text-align: center;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
    .greeting {
        margin-top: -65px;
    }
    .greeting::before {
        position: absolute;
        content: "";
        mask: url(../images/nami_mask_sp.png) top center / cover no-repeat;
        -webkit-mask: url(../images/nami_mask_sp.png) top center / cover no-repeat;
        background: url(../images/logo_mark_w.svg) bottom right -80px / 85% no-repeat, url(../images/clinic_bg.jpg) center / cover no-repeat;
        width: 100%;
        height: 100%;
        z-index: -1;
    }
    .greeting .inner {
        padding: 70px 20px;
    }
    .greeting .top_title {
      text-align: center;
    }
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 50px;
  }

  .greeting_left {
    width: 100%;
  }
  .greeting_img {
    width: 80%;
    margin: 0 auto;
}
.greeting_text > *:not(:last-child) {
    margin-bottom: 1em;
  }
  .greeting_profile {
    width: 130px;
    height: 130px;
    right: -10px;
    bottom: -40px;
    font-size: 14px;
    margin: 6px;
  }
  .greeting_btn {
    margin-top: 40px;
  }
  .greeting_profile .position {
    font-size: 80%;
}
.greeting_profile .name {
  font-size: 93%;
}
.greeting_profile::before {
  width: calc(100% + 6px);
  height: calc(100% + 6px);
}
}

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

  *診療案内

================================================================================================================================== */
.medical {
  position: relative;
  margin-top: -150px;
  z-index: 1;
}
.medical .inner {
    max-width: 1400px;
    padding: 100px 50px;
}
.medical::before {
  position: absolute;
  content: "";
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url(../images/medical_bg.jpg) no-repeat center/cover !important;
  width: calc(100% - 100px);
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  border-radius: 5px;
}

.medical .top_title span {
  background: linear-gradient(90deg, #baa570, #d6c7a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.medical_item {
  position: relative;
  z-index: 1;
  width: calc(100% / 3 - 14px);
  height: auto;
}

.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: 50px 20px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
  border-radius: 5px;
  box-shadow: 0px 0px 15px 0px rgba(29, 110, 107, 0.1);
}

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

.medical_icon {
  width: 70%;
  max-width: 180px;
  margin: 0 auto 15px !important;
  background: rgba(43, 173, 169, 0.1);
  border-radius: 50%;
}
.medical_item:hover .medical_icon {
    background: var(--bg-color2);
}

.medical_title h3 {
  color: var(--text-color);
  font-size: 120%;
  font-family: var(--jp-font);
  font-weight: 500;
  font-style: normal;
}

.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: 3px 25px 3px 15px;
  background: var(--main-color);
  color: #ffffff;
  letter-spacing: 1px;
  text-align: center;
  transition: padding 0.2s, color 0.2s, background 0.2s;
  border-radius: 5px;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
  font-size: 90%;
    letter-spacing: 0.12em;
    min-width: 130px;
}

.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: var(--sub-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 {
    margin-top: 0;
  }
  .medical::before {
    width: 100%;
  }
  .medical .inner {
    padding: 70px 20px;
  }
  
  .medical_list {
    gap: 15px 10px;
    padding: 0;
  }

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

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

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

  .medical_icon {
    width: 50%;
  }

  .medical_title h3 {
    font-size: 14px;
  }
  .medical_btn span {
    font-size: 11px;
    min-width: 80px
  }

  /* ----- 先頭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;
}
.feature::before {
  position: absolute;
  content: "";
  mask: url(../images/nami_mask.png) top center / cover no-repeat;
  -webkit-mask: url(../images/nami_mask.png) top center / cover no-repeat;
  background:
  linear-gradient(rgba(255,255,255,0.5),rgba(255,255,255,0.8)),
  url(../images/greeting_bg.jpg) top center / cover no-repeat;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.feature::after {
  position: absolute;
  content: "";
  background: url(../images/nami02.png) top center / contain no-repeat;
  width: 100%;
  height: 400px;
  top: 0;
  right: 0;
  z-index: -2;
  opacity: 0.8;
}
.feature .inner {
  padding: 220px 0 280px;
}
.feature_list {
  display: flex;
  flex-flow: wrap;
  gap: 50px 30px;
}

.feature_item {
  display: flex;
  flex-flow: column;
  width: calc(33.3333333333% - 20px);
  height: auto;
}

.feature_num {
  position: absolute;
  display: flex;
  flex-flow: column;
      align-items: center;
      justify-content: center;
      margin: 0 0 0 !important;
      font-size: 60%;
      line-height: 1;
      font-family: var(--en-font);
      font-weight: 400;
      font-style: normal;
      color: #fff;
      background: var(--main-color);
      text-align: center;
      width: 75px;
      height: 75px;
      gap: 3px;
      border-radius: 50%;
      bottom: -35px;
      left: 50%;
      transform: translateX(-50%);
      padding-top: 8px;
}

.feature_num span {
  color: #fff;
  font-size: 200%;
}

.feature_inner {
  display: flex;
      flex-flow: column;
      height: 100%;
      margin-top: -70px;
      padding: 120px 15px 30px;
      background: #ffffff;
      box-shadow: 0px 0px 15px 0px rgba(29, 110, 107, 0.15);
      border-radius: 5px;
}

.feature_inner > *:not(:last-child) {
  margin-bottom: 30px;
}
.feature_img {
  position: relative;
  padding: 0 15px;
}
.feature_img img {
  border-radius: 5px;
  box-shadow: 0px 0px 15px 0px rgba(29, 110, 107, 0.15);
}
.feature_title {
    display: flex;
    flex-flow: column;
    justify-content: center;
    margin-bottom: 30px !important;
    padding: 10px 0 10px;
    min-height: 80px;
    border-radius: 0 0 5px 5px;
}

.feature_title h3 {
  font-size: 125%;
  line-height: 1.75;
  text-align: center;
  font-family: var(--jp-font);
  font-weight: 500;
  font-style: normal;  
}
.feature_title h3 span {
  background: linear-gradient(transparent 70%, rgba(43, 173, 169, 0.15) 70%);
}
.feature_item .btn01 {
  margin-top: auto;
  text-align: center;
}

/* ---- 横並びボタン ----- */
.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::before {
    mask: url(../images/nami_mask_sp.png) top center / cover no-repeat;
    -webkit-mask: url(../images/nami_mask_sp.png) top center / cover no-repeat;
  }
      .feature .inner {
        padding: 70px 20px;
      }
  .feature_list {
    gap: 30px;
  }

  .feature_item {
    width: 100%;
  }
  .feature_inner {
    margin-top: -90px;
  }
  .feature_title {
    min-height: auto;
    margin-bottom: 15px !important;
    padding: 0;
  }
  .feature_title h3 {
    padding: 15px 10px 10px;
    font-size: 115%;
  }
  .feature_num {
    bottom: -27px;
  }
  /* ---- 横並びボタン ----- */
  .btnflex_feature .btn01 {
    width: 100%;
  }
}
/*==================================================================================================================================

  *ピックアップ（パターン02） - 追加コンテンツ

==================================================================================================================================*/
.pickup {
  position: relative;
}
/* .pickup::before {
  position: absolute;
  content: "";
  background: #3dc4bd;
  bottom: -100px;
  left: -100px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  z-index: -1;
  filter: blur(100px);
  opacity: 0.1;
}
.pickup::after {
  position: absolute;
  content: "";
  background: var(--sub-color);
  bottom: -100px;
  right: -100px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  z-index: -1;
  filter: blur(100px);
  opacity: 0.1;
} */
.pickup .inner {
  max-width: 1500px;
  padding: 120px 50px;
  }
  
  .pickup_list {
    display: flex;
    flex-flow: wrap;
    gap: 40px;
  }
  
  .pickup_item {
    position: relative;
    width: calc(50% - 20px);
    padding: 60px 50px 50px;
    display: flex;
    flex-flow: column;
    border-radius: 5px;
  }
  
  .pickup_inner {
    display: flex;
    flex-flow: column;
    justify-content: center;
    height: auto;
  }
  
.pickup_title {
    position: relative;
    width: 100%;
    margin: 0 auto 60px;
    padding: 0;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}
.pickup_title::before {
  position: absolute;
  content: "01";
  font-size: 800%;
  font-family: var(--en-font);
  font-weight: 400;
  font-style: normal;
  color: rgba(255, 255, 255, 0.6);
  z-index: -1;
  padding-top: 18px;
}
  .pickup_title h2, .pickup_title h3 {
    background: none;
    font-size: 170%;
    font-family: var(--jp-font);
    font-weight: 500;
    font-style: normal;
    color: var(--text-color);
    line-height: 1;
    padding-top: 12px;
  }
  
  .pickup_title span {
    font-size: 120%;
    font-family: var(--en-font);
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    color: var(--main-color);
    letter-spacing: 0.12em;
    position: relative;
  }

  .pickup_title span em {
    font-style: normal;
    font-size: 130%;
  }
  .pickup_img {
    position: relative;
    z-index: 1;
  }
  .pickup_img img {
    border-radius: 5px;
  }
  .pickup_text {
    margin: 30px 0;
  }
  
  .pickup_link {
    display: flex;
    flex-flow: wrap;
    gap: 10px;
    margin-top: auto;
  }
  
  .pickup_link .pickup_btn {
    width: calc((100% / 2) - (10px / 2));
    height: auto;
  }

/* ボタン3列 */
.pickup_link:has(.three_rows) .pickup_btn {
    width: calc((100% / 3) - (20px / 3));
  }
.pickup_link .pickup_btn:last-child {
    width: 100%;
  }


.pickup_link .pickup_btn a {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 12px 35px 12px 20px;
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: #ffffff;
    font-size: 95%;
    letter-spacing: 0.15em;
    text-align: center;
    transition: background 0.2s, color 0.2s;
    font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
    border-radius: 5px;
  }
  
  .pickup_link .pickup_btn a:hover {
    background: #ffffff;
    color: var(--main-color);
  }
  
  .pickup_link .pickup_btn a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    display: block;
    width: 16px;
    height: 13px;
    background: #ffffff;
    mask: url(../images/btn_arrow.png) no-repeat center / cover;
    -webkit-mask: url(../images/btn_arrow.png) no-repeat center / cover;
    transform: translateY(-50%);
    transition: right 0.2s, background 0.2s;
  }
  
  .pickup_link .pickup_btn a:hover::before {
    right: 12px;
    background: var(--main-color);
  }
  
  .pickup_link .pickup_btn:last-child {
    padding-top: 15px;
    width: 100%;
  }
  .pickup_link .pickup_btn:last-child a {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    font-size: 150%;
    background: #fff;
    color: var(--text-color);
    border: none;
    box-shadow: 0px 0px 20px 0px rgba(43, 173, 169, 0.3);
    transition: 0.2s;
    padding: 12px 35px 20px 20px;
  }
  .pickup_link .pickup_btn:last-child a::before {
    background: #fff;
    right: 50px;
    z-index: 1;
  }
  .pickup_link .pickup_btn:last-child a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 33px;
    display: block;
    width: 50px;
    height: 50px;
    background: var(--main-color);
    transform: translateY(-50%);
    transition: right 0.2s, background 0.2s;
    border-radius: 50%;
  }
  .pickup_link .pickup_btn:last-child a:hover {
    transform: scale(1.05);
  }
  .pickup_link .pickup_btn:last-child a span {
    font-size: 60%;
    font-family: var(--en-font);
    font-weight: 400;
    font-style: normal;
    color: var(--main-color);
    line-height: 1;
  }
  .pickup_link .pickup_btn:last-child a:hover::before {
    right: 36px;
  }
  .pickup_link .pickup_btn:last-child a:hover::after {
    right: 20px;
  }
  /* 奇数 */
  .pickup_item:nth-child(odd) {
    background: var(--bg-color);
  }

  /* .pickup_item:nth-child(odd) .pickup_inner {
    margin: 0 0 0 auto;
  } */
  
  /* .pickup_item:nth-child(odd) .pickup_title {
    background: var(--main-color);
  } */
  
  /* .pickup_item:nth-child(odd) .pickup_title::before {
    background: var(--main-color);
  } */
  /* .pickup_item:nth-child(odd) .pickup_link {
    margin-left: auto;
  } */
  /* 偶数 */
  .pickup_item:nth-child(even) {
      background: var(--bg-color2);
  }
  
  .pickup_item:nth-child(even) .pickup_inner {
    margin: 0 auto 0 0;
  }
  .pickup_item:nth-child(even) .pickup_title::before {
    content: "02";
}
  .pickup_item:nth-child(even) .pickup_title span {
    color: var(--sub-color);
  }
  
  
  .pickup_item:nth-child(2) .pickup_link .pickup_btn a {
    background: var(--sub-color);
    border: 1px solid var(--sub-color);
  }
  
  .pickup_item:nth-child(even) .pickup_link .pickup_btn a:hover {
    background: #ffffff;
    color: var(--sub-color);
  }
  
  .pickup_item:nth-child(even) .pickup_link .pickup_btn a:hover::before {
    background: var(--sub-color);
  }
  .pickup_item:nth-child(even) .pickup_link .pickup_btn:last-child a {
    background: #fff;
    border: none;
    box-shadow: 0px 0px 20px 0px rgba(170, 136, 77, 0.3);
  }
  .pickup_item:nth-child(even) .pickup_link .pickup_btn:last-child a:hover {
    color: var(--text-color);
  }
  
  .pickup_item:nth-child(even) .pickup_link .pickup_btn:last-child a::after {
    background: var(--sub-color);
  }
  .pickup_item:nth-child(even) .pickup_link .pickup_btn:last-child a:hover::before {
    background: #fff;
  }
  .pickup_item:nth-child(even) .pickup_link .pickup_btn:last-child a span {
    color: var(--sub-color);
  }
  /*==============================================
    *SP　ピックアップ（追加コンテンツ）
  ==============================================*/
  @media screen and (max-width:640px) {
    .pickup .inner {
      padding: 70px 20px;
    }
  
    .pickup .top_title {
      margin: 0 auto 50px;
      padding: 0 20px;
    }
  
    .pickup .top_title h2 {
      font-size: 20px;
    }
  
  
    .pickup_list {
      width: calc(100%);
    }
  
    .pickup_item {
      width: 100%;
      padding: 50px 20px!important;
    }
  
    .pickup_title {
      padding: 10px;
      font-size: 110%;
      margin: 0 auto 30px;
    }
  
    .pickup_title::before {
      font-size: 500%;
    }
    .pickup_title h2, .pickup_title h3 {
      font-size: 120%;
    }
    .pickup_title span {
      font-size: 90%;
    }
    .pickup_inner {
      max-width: none;
      min-height: auto;
      margin: 0!important;
    }
  
    .pickup_link {
      min-height: auto;
      margin-top: 20px;
    }
  .pickup_link:has(.three_rows) .pickup_btn,
    .pickup_link .pickup_btn {
      width: 100%;
    }
    .pickup_link .pickup_btn:last-child a {
      font-size: 110%;
      padding: 12px 35px 12px 10px;
    }
    .pickup_link .pickup_btn:last-child a::before {
      right: 19px;
    }
    .pickup_link .pickup_btn:last-child a::after {
      width: 30px;
      height: 30px;
      right: 12px;
    }
    .pickup_link .pickup_btn:last-child a:hover::before {
      right: 19px;
    }
    .pickup_link .pickup_btn:last-child a:hover::after {
      right: 12px;
  }
  }
/*==================================================================================================================================

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

==================================================================================================================================*/
.body-parts {
    position: relative;
}
.body-parts::before {
    position: absolute;
    content: "";
    background: 
    linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.2)),
    url(../images/column_bg.jpg) center / cover no-repeat;
    top: 340px;
    left: 0;
    width: 100%;
    height: 62%;
}
.body-parts .inner {
  padding: 120px 0 0;
}
.body-parts .top_title {
  margin-bottom: 20px;
}
.body-parts_wrap {
  position: relative;
  z-index: 1;
  max-width: 900px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding-top: 0;
  background: #fff;
  border-radius: 50%;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  }
  
  /* ----- 体の画像 ----- */
  .body-parts_img {
    max-width: 300px;
    margin: 0 auto 0;
  }
  
  /* ----- 各部位の共通設定 ----- */
  .body_parts_list > li {
    position: absolute;
    display: block;
  }
  
  /* ----- 各部位の位置 ----- */
  #body-parts1 {
    top: 196px;
    left: 118px;
  }
  
  #body-parts1 .body_parts_title::before {
    top: 60%;
    right: -140px;
    width: 130px;
  }
  
  #body-parts2 {
    top: 190px;
    right: 118px;
  }
  
  #body-parts2 .body_parts_title::before {
    top: 45%;
    left: -170px;
    width: 160px;
  }
  
  #body-parts3 {
    top: 360px;
    left: -33px;
  }
  
  #body-parts3 .body_parts_title::before {
    top: 28%;
    right: -137px;
    width: 129px;
    transform: rotate(-10deg);
  }
  
  #body-parts4 {
    top: 340px;
    right: 57px;
  }
  
  #body-parts4 .body_parts_title::before {
    top: 21%;
    left: -160px;
    width: 150px;
    transform: rotate(12deg);
  }
  
  #body-parts5 {
    top: 496px;
    left: -87px;
  }
  
  #body-parts5 .body_parts_title::before {
    top: -1%;
    right: -151px;
    width: 145px;
    transform: rotate(-19deg);
  }
  
  #body-parts6 {
/*     top: 480px;
    right: -35px; */
	top: 515px;
	right: -42px;
  }
  
  #body-parts6 .body_parts_title::before {
    top: -50%;
    left: -200px;
    width: 200px;
    transform: rotate(30deg);
  }
  
  #body-parts7 {
    top: 630px;
    left: 73px;
  }
  
  #body-parts7 .body_parts_title::before {
    top: -29%;
    right: -140px;
    width: 141px;
    transform: rotate(-34deg);
  }
  
  #body-parts8 {
/*     top: 520px;
    right: 150px; */
    top: 600px;
    right:45px;
  }
  
  #body-parts8 .body_parts_title::before {
/*     top: -10%;
    left: -190px;
    width: 190px;
    transform: rotate(30deg);  */
	top: 17%;
    left: -215px;
    width: 200px;
    transform: rotate(10deg);
  }

  #body-parts9 {
    top: 710px;
    right:90px;
  }
#body-parts9 .body_parts_title::before{
	top: 58%;
    left: -95px;
    width: 80px;
    transform: rotate(-2deg);
}
  
  /* ----- 各部位のタイトル ----- */
  .body_parts_title {
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 5px 40px 5px 15px;
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: #ffffff;
    font-size: 120%;
    text-align: center;
    font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
    border-radius: 5px;
  }

  .body_parts_title:hover {
    background: #ffffff;
    color: var(--main-color);
  }
  
  .body_parts_title::before {
    content: "";
    position: absolute;
    display: block;
    height: 1px;
    background: var(--main-color);
  }
  .body_parts_title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    display: block;
    width: 16px;
    height: 13px;
    background: #ffffff;
    mask: url(../images/btn_arrow.png) no-repeat center / cover;
    -webkit-mask: url(../images/btn_arrow.png) no-repeat center / cover;
    transform: translateY(-50%);
    transition: right 0.2s, background 0.2s;
  }
  .body_parts_title:hover::after {
    background: var(--main-color);
    right: 10px;
  }
  
  /* -----　部位ごとの病状・病名　----- */
  .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::before {
        top: 230px;
        height: 54%;
    }
    .body-parts .inner {
        padding: 70px 20px;
      flex-flow: column;
      gap: 0;
    }
    .body-parts .top_title {
        margin-bottom: 60px;
    }
  
    .body-parts_wrap {
      max-width: 450px;
    }
  
    .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: 23%;
      left: 0;
    }
  
    #body-parts4 {
      top: 25%;
      right: 0;
    }
  
    #body-parts5 {
      top: 56%;
      left: 0;
    }
  
    #body-parts6 {
      top: 50%;
      right: 0;
    }
  
    #body-parts7 {
      top: 80%;
      left: 0;
    }
  
    #body-parts8 {
      top: 69%;
      right: 0;
    }
	  
    #body-parts9 {
      top: 88%;
      right: 0;
    }
  
    /* ----- 各部位のタイトル ----- */
    .body_parts_title {
      padding: 8px 18px 8px 5px;
      font-size: 85%;
      line-height: 1.5;
    }
  
    .body_parts_title::before {
      display: none;
    }
    .body_parts_title::after {
      width: 10px;
      height: 8px;
      right: 5px;
    }
  
    /* -----　部位ごとの病状・病名　----- */
    .body-parts_search {
      display: none;
    }
  }
/* ==================================================================================================================================

  *病状、症状から探す

================================================================================================================================== */
.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%;
  }
}

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

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

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

.column .inner {
  padding: 0 0 100px;
}
.column_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 50px 25px;
  padding: 80px 50px;
  background: var(--bg-color2);
  border-radius: 5px;
}

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

.column_box dt a {
  position: relative;
  display: block;
  padding: 15px 35px 15px 10px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  font-size: 110%;
  text-align: center;
  border-radius: 5px;
  transition: background 0.2s;
}
.column_box dt a:hover {
  background: #fff;
  color: var(--main-color);
}
.column_box dt a::after {
  content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    display: block;
    width: 16px;
    height: 13px;
    background: #ffffff;
    mask: url(../images/btn_arrow.png) no-repeat center / cover;
    -webkit-mask: url(../images/btn_arrow.png) no-repeat center / cover;
    transform: translateY(-50%);
    transition: right 0.2s, background 0.2s;
}
.column_box dt a:hover::after {
  right: 12px;
  background: var(--main-color);
}
.column_box dd {
  padding: 0;
  border-bottom: 1px solid var(--line-color);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.column_box dd a {
  padding: 15px 10px;
  color: var(--text-color);
  display: block;
  width: 100%;
  height: 100%;
}

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

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

  .column_box {
    width: 100%;
  }
  .column_box dt a {
    font-size: 100%;
    padding: 10px 35px 10px 10px;
  }
}

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

  *無限スライダー

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

#infinitySlider .splide__list {
  gap: 20px;
}

#infinitySlider .splide__slide {
  width: 460px !important;
}
#infinitySlider .splide__slide img {
  border-radius: 5px;
}
/* ==============================================
  *SP 無限スライダー
============================================== */
@media screen and (max-width: 640px) {
    #infinitySlider {
        padding: 0 0 20px;
    }
  #infinitySlider .splide__slide {
    width: 250px !important;
  }
}
