@charset "UTF-8";

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

  *基本設定

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

section .inner {
  max-width: 1600px;
  padding: 140px 100px;
}

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

@media screen and (max-width: 1700px) {
  section .inner {
    padding-left: 50px;
    padding-right: 50px;
  }
}

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

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

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

  *タイトル

================================================================================================================================== */
.top_title {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0 auto 120px;
  line-height: 1.5;
  text-align: center;
}

.top_title::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  width: 320px;
  height: auto;
  aspect-ratio: 768 / 493;
  background: url(../images/front/title_bg.png) no-repeat center / cover;
  filter: drop-shadow(0 0 6px rgb(246 172 45 / .3));
  opacity: .85;
}

.top_title::after {
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 0;
  transform: translate(-110%, 45%);
  content: "";
  width: 100px;
  height: auto;
  aspect-ratio: 230 / 224;
  background: url(../images/front/top_title01.png) no-repeat center / cover;
}

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

.top_title h2 {
  font-size: 180%;
}

.top_title h2 span {
  padding: 0 6px;
  font-size: 180%;
  color: var(--main-color);
}

.top_title .eng {
  display: inline-block;
  color: var(--main-color);
  font-size: 130%;
  font-family: var(--font-en);
  font-weight: 400;
  text-transform: uppercase;
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
  .top_title {
    display: block;
    width: 100%;
    margin-bottom: 84px !important;
  }

  .top_title::before {
    width: 80% !important;
  }

  .top_title::after {
    width: 80px;
    transform: translate(0%, 45%);
  }

  .top_title h2 {
    font-size: min(7vw, 32px);
  }

  .top_title h2 span {
    font-size: 130%;
  }

  .top_title .eng {
    font-size: 18px;
  }
}

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

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
  position: relative;
  z-index: 1;
  height: calc(100vh - 170px);
  min-height: 700px;
  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 32px;
}

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

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

.mvImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* フェードの専用スタイル */
.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: 46%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}

.mvCatch .inner {
  position: relative;
  width: calc(100% - 220px);
  max-width: unset;
  min-width: 1200px;
  z-index: 1;
}

.mvCatch p {
  font-size: 230%;
  font-family: var(--font-pop);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.4;
  text-align: center;
  -webkit-text-stroke: 4px #fff;
  paint-order: stroke;
}

.mvCatch p span {
  font-size: 130%;
  padding: 0 6px;
  color: var(--main-color);
  -webkit-text-stroke: 6px #fffaf5;
}

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

.mvContents .inner {
  position: relative;
  z-index: 2;
  width: calc(100% - 220px);
  max-width: unset;
  min-width: 1200px;
  height: 100%;
}

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

.open_bnr {
  position: absolute;
  bottom: 50px;
  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;
  background: var(--main-color);
  border-radius: 50%;
  color: #ffffff;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
}

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

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

.open_bnr .nairankai_tit {
  display: block;
  width: 100%;
  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_feature_bnr {
  position: absolute;
  right: 0;
  bottom: 140px;
}

.mv_feature_bnr_item {
  position: relative;
  display: flex;
  align-items: center;
  width: 360px;
  height: auto;
  aspect-ratio: 42 / 13;
  padding: 16px 24px 10px;
  background: url(../images/front/mv_bnr_bg.jpg) no-repeat left center / cover;
  border-radius: 20px;
}

.mv_feature_bnr_item::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 90%;
  height: 100%;
  background: linear-gradient(to right, rgb(255 255 255), rgba(255 255 255 / .8) 70%, rgb(255 255 255 / 0));
  border-radius: 10px;
}

.mv_feature_bnr_item p {
  position: relative;
  z-index: 1;
  line-height: 1.2;
  letter-spacing: 0;
  font-size: 160%;
  font-family: var(--font-pop);
  font-weight: 400;
}

.mv_feature_bnr_item p span {
  font-size: 140%;
  color: var(--sub-color-pink);
  background-image: radial-gradient(circle at center, var(--sub-color-pink) 20%, transparent 20%);
  background-position: top right;
  background-repeat: repeat-x;
  background-size: 1em 0.32em;
  padding-top: 0.2em;
}

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

.sp_only {
  display: none;
}

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

  .mvImg {
    width: 100%;
    height: 100%;
    padding: 5px 10px 10px;
  }

  .mvImg .splide__track, .mvImg img {
    border-radius: 10px;
  }

  /* ----- スライダーの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 {
    display: none;
    left: 10px;
    top: auto;
    bottom: 24px;
    transform: translate(0);
  }

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

  .mvCatch .inner {
    width: 100%;
    min-width: unset;
    padding: 0 10px 0 20px;
  }

  .mvCatch p {
    font-size: min(6vw, 24px);
    line-height: 1.5;
    text-align: left;
    -webkit-text-stroke: 3px #fffaf5;
  }

  .mvCatch p span {
    padding: 0;
    font-size: 100%;
    -webkit-text-stroke: 3px #fffaf5;
  }

  .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: 0;
  }

  .mv_bnr {
    position: static;
    gap: 10px;
    width: 100%;
  }

  .mv_feature_bnr {
    position: static;
  }
}

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

  *バナーエリア

================================================================================================================================== */
/* ----- 共通設定 ----- */
.top_banner .inner {
  padding-top: 72px;
  padding-bottom: 0;
}

.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: 20px;
  width: 100%;
  height: 100%;
  padding: 16px;
  background: #edffef url(../images/common/bg_pattern.png);
  border-radius: 10px;
  transition: .2s ease-in-out;
}

#bannerSlider .slide_order_2 .banner_slide {
  background: #ffe9ed url(../images/common/bg_pattern.png);
}

#bannerSlider .slide_order_3 .banner_slide {
  background: #ecfbff url(../images/common/bg_pattern.png);
}

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

.top_banner .input a.banner_slide:hover {
  opacity: 0.9;
  filter: brightness(1.02);
}

.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;
  border-radius: 8px;
object-position: -50px center;
}

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

.top_banner .input .slide_title {
  display: flex;
  align-items: center;
  min-height: 66px;
  margin: 0 auto 10px;
  padding: 8px 14px;
  background: #00950c url(../images/common/bg_pattern.png);
  border-radius: 8px;
  color: #fff;
  font-size: 130%;
/*   font-family: var(--font-pop); */
	font-family: var(--font-jp);
  line-height: 1.1;
}

#bannerSlider .slide_order_2 .slide_title {
  background: #e67a91 url(../images/common/bg_pattern.png);
}

#bannerSlider .slide_order_3 .slide_title {
  background: var(--sub-color-blue) url(../images/common/bg_pattern.png);
}

.top_banner .input .slide_content {
  font-size: 90%;
  font-family: var(--font-jp);
  font-weight: 500;
  line-height: 1.75;
}

/* ----- グリッドバナー ----- */
.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) {
  .top_banner .inner {
    padding-top: 72px;
    padding-bottom: 70px;
  }

  /* ----- グリッドバナー ----- */
  .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;
  }

  .top_banner .input .slide_title {
    min-height: unset;
    padding: 8px 12px;
    font-size: 120%;
  }
}

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

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

================================================================================================================================== */
.clinic .inner {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 60px;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 0;
}

/* ----- お知らせ ----- */
.clinic .news {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.news_title_wrap {
  display: flex;
  flex-direction: column;
  width: fit-content;
  min-width: 320px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.news_title_wrap .top_title {
  margin-bottom: 48px;
}

.news_title_wrap .top_title::before {
  width: 280px;
}

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

/* ----- 医院概要 ----- */
.clinic .info .office_hour .table_wrap {
  background: #ffffff;
}

.clinic .info .office_hour .title {
  background: #ffffff;
}

.clinic .info .speciality {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px auto 0;
  padding: 20px;
  background: #ffffff;
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  color: #ffffff;
  text-align: center;
}

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

.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: var(--main-color);
  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 span {
  display: inline-block;
  margin-right: 10px;
}

.clinic .info address .tel {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-size: 30px;
  line-height: 1;
}

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

.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  line-height: 1;
}

.clinic .info address .fax p {
  font-size: 30px;
}

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

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

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

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

@media screen and (max-width: 640px) {
  .clinic .inner>* {
    width: 100%;
  }

  .clinic .news {
    flex-direction: column;
    gap: 0;
  }

  /* ----- 医院概要 ----- */
  .clinic .info .speciality {
    flex-flow: column;
    gap: 10px;
    padding: 15px;
  }

  .clinic .info .speciality .title {
    width: 100%;
  }
}

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

  *ご挨拶

================================================================================================================================== */
.greeting_box {
  position: relative;
  z-index: 1;
}

.greeting_flex {
  display: flex;
  gap: 50px;
}

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

.greeting_left {
  flex-shrink: 0;
  width: 60%;
}

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

.greeting_profile {
  padding: 20px;
  background: var(--main-color);
  color: #ffffff;
  line-height: 1.75;
  text-align: center;
}

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

.greeting_profile .name {
  font-size: 150%;
}

.greeting_btn {
  margin-top: 50px;
  text-align: center;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }

  .greeting_btn {
    margin-top: 40px;
  }
}

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

  *診療案内

================================================================================================================================== */
.medical {
  position: relative;
  z-index: 1;
}

.medical::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 20px;
  transform: translateY(-23%);
  content: "";
  width: 160px;
  height: auto;
  aspect-ratio: 393/557;
  background: url(../images/front/medical_animal01.png) no-repeat center/cover;
}

.medical:after {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  transform: translateY(-60%);
  content: "";
  width: 140px;
  height: auto;
  aspect-ratio: 326 / 266;
  background: url(../images/front/medical_animal02.png) no-repeat center / cover;
}

.medical .top_title::after {
  left: auto;
  right: 0;
  transform: translate(120%, 45%);
  aspect-ratio: 282 / 386;
  background: url(../images/front/top_title03.png) no-repeat center / cover;
}

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

.medical_item {
  position: relative;
  z-index: 1;
  width: calc((100% / 3) - (60px / 3));
  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: 30px 20px 40px;
  background: #edffef url(../images/common/bg_pattern.png);
  border-radius: 20px;
  text-align: center;
}

.medical_item:nth-of-type(2n) .medical_inner {
  background: #ecfbff url(../images/common/bg_pattern.png);
}

.medical_item:nth-of-type(3n) .medical_inner {
  background: #fff3e6 url(../images/common/bg_pattern.png);
}

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

.medical_icon {
  position: relative;
  z-index: 1;
  width: 40%;
  height: auto;
  aspect-ratio: 766 / 771;
  margin: 0 auto 15px !important;
  padding: 48px;
}

.medical_icon::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/front/medical_bg_green.png) no-repeat center / cover;
  opacity: .85;
}

.medical_item:nth-of-type(2n) .medical_icon::before {
  background: url(../images/front/medical_bg_blue.png) no-repeat center / cover;
}

.medical_item:nth-of-type(3n) .medical_icon::before {
  background: url(../images/front/medical_bg_orange.png) no-repeat center / cover;
}

.medical_title h3 {
  color: var(--text-color);
  font-size: 140%;
}

.medical_title_eng {
  color: var(--sub-color);
  font-size: 14px;
  font-family: var(--font-en);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}

.medical_item:nth-of-type(2n) .medical_title_eng {
  color: var(--sub-color-blue);
}

.medical_item:nth-of-type(3n) .medical_title_eng {
  color: var(--main-color);
}

.medical_text {
  width: calc(100% - 48px);
  height: 100%;
  padding: 32px 32px 32px;
  background: rgb(255 255 255 / .9);
  border-radius: 16px;
  color: var(--text-color);
}

.medical_sub_title {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: dashed 2px var(--line-color);
}

.medical_sub_title h4 {
  color: var(--sub-color);
  font-size: 120%;
  line-height: 1.6;
}

.medical_item:nth-of-type(2n) .medical_text h4 {
  color: var(--sub-color-blue);
}

.medical_item:nth-of-type(3n) .medical_text h4 {
  color: var(--main-color);
}

.medical_text {
  display: flex;
  flex-direction: column;
  width: calc(100% - 48px);
  height: 100%;
  padding: 32px 32px 32px;
  background: rgb(255 255 255 / .9);
  border-radius: 16px;
  color: var(--text-color);
}

.medical_text h4 span {
  font-size: 90%;
}

.medical_text p {
  text-align: left;
}

.medical_text p:last-of-type {
  margin-bottom: 24px;
}

.medical_btn {
  margin-top: auto;
}

.medical_btn span {
  position: relative;
  display: inline-block;
  padding: 10px 45px 10px 35px;
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
  border-radius: 3em;
  color: #ffffff;
  font-size: 100%;
  font-family: var(--font-jp);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-align: center;
  vertical-align: bottom;
  transition: background 0.2s, color 0.2s;
}

.medical_item:nth-of-type(2n) .medical_btn span {
  background: var(--sub-color-blue);
  border: 1px solid var(--sub-color-blue);
}

.medical_item:nth-of-type(3n) .medical_btn span {
  background: var(--main-color);
  border: 1px solid var(--main-color);
}

.medical_btn span::after {
  content: "\f061";
  position: absolute;
  top: 50%;
  right: 15px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 11px;
  transform: translateY(-50%);
  transition: right 0.2s;
}

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

.medical_item:hover:nth-of-type(2n) .medical_btn span {
  background: #ffffff;
  color: var(--sub-color-blue);
}

.medical_item:hover:nth-of-type(3n) .medical_btn span {
  background: #ffffff;
  color: var(--main-color);
}

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
  .medical::before {
    width: 80px;
  }

  .medical:after {
    transform: translateY(-30%);
    width: 80px;
  }

  .medical .top_title::after {
    transform: translate(-20%, 45%);
  }

  .medical_list {
    gap: 15px 10px;
  }

  .medical .inner {
    padding-top: 140px;
  }

  .medical_item {
    width: 100%;
  }

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

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

  .medical_icon {
    width: 50%;
	          width: 30%;
        padding: 16px;
  }
	.medical_title {
		margin-bottom:15px;
	}
  .medical_text {
    width: 100%;
    padding: 32px 20px;
	  padding: 15px 5px;
  }

  .medical_sub_title {
    min-height: unset;
  }
}

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

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

================================================================================================================================== */
.feature {
  padding-top: 240px;
  background: url(../images/front//feature_flower01.png) no-repeat right 16px top 40% / 100px auto, url(../images/front//feature_bird02.png) no-repeat left 40px bottom 40% / 100px auto, url(../images/front/feature_bird01.png) no-repeat left 80px top 200px / 140px auto, url(../images/front/white_wave.png) repeat-x bottom -2px left / auto 60px, url(../images/front/feature_cloud.png) no-repeat top -20px center / 100% auto, #fff3e6 url(../images/common/bg_pattern.png);
}

.feature .top_title::after {
  aspect-ratio: 24/26;
  background: url(../images/front/top_title02.png) no-repeat center/cover;
}

.feature .inner {
  padding-top: 70px;
}

.feature .splide__track {
  overflow: visible;
}

.feature_list {
  display: flex;
  flex-flow: wrap;
  gap: 60px 30px;
  visibility: visible;
}

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

.feature_img {
  position: relative;
}

.feature_order_3 .feature_img::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 30%;
  content: "";
  transform: translate(-40%, -64%);
  width: 80px;
  height: auto;
  aspect-ratio: 21 / 9;
  background: url(../images/front/feature_bird03.png) no-repeat center / cover;
}

.feature_img_mask {
  mask: url(../images/front/feature_img_mask.png) no-repeat center / cover;
}

.feature_img img {
  border-radius: 20px 20px 0 0;
}

.feature_num {
  position: absolute;
  bottom: 16px;
  left: 20px;
  margin: 0 !important;
  line-height: 1;
  letter-spacing: -.2em;
  font-size: 150%;
  font-family: var(--font-pop);
  font-weight: 400;
  -webkit-text-stroke: 8px #fffaf5;
  paint-order: stroke;
	white-space:nowrap;
}

.feature_num span {
  color: var(--main-color);
  font-size: 200%;
}

.feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  margin-top: -60px;
  padding: 92px 32px 56px;
  background: rgb(255 255 255 / .85);
  border-radius: 40px;
}

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

.feature_title {
  display: flex;
  flex-flow: column;
  justify-content: center;
  min-height: 100px;
  padding-bottom: 16px;
  border-bottom: dashed 2px var(--line-color);
}

.feature_title h3 {
  font-size: 120%;
  line-height: 1.75;
  text-align: center;
}

.feature_title h3 span {

  padding: 0 3px;
  color: var(--main-color);
  font-size: 120%;
}

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

/* ---- 横並びボタン ----- */
.feature_button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column;
  flex-flow: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
}

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

/* ==============================================
  *SP 当院の特徴
============================================== */
@media screen and (max-width: 640px) {
  .feature {
    padding-top: 70px;
    background: url(../images/front//feature_flower01.png) no-repeat right 12px top 30px / 60px auto, url(../images/front/feature_bird01.png) no-repeat left 20px top -20px / 110px auto, url(../images/front/white_wave.png) repeat-x bottom -2px left / auto 30px, url(../images/front/feature_cloud.png) no-repeat top -20px center / 100% auto, #fff3e6 url(../images/common/bg_pattern.png);
  }


  .feature .splide__track {
    padding: 0 20px !important;
  }

  .feature .inner {
    padding-left: 0;
    padding-right: 0;
  }

  .feature .top_title {
    padding-left: 16px;
    padding-right: 16px;
  }

  .feature .top_title::after {
    aspect-ratio: 24 / 26;
    width: 70px;
    transform: translate(15%, 45%);
    background: url(../images/front/top_title02.png) no-repeat center / cover;
  }

  .feature_list {
    position: relative;
    flex-wrap: nowrap;
    gap: 0;
  }

  .feature_item {
    width: 100%;
  }

  .feature_title {
    min-height: auto;
    margin-bottom: 15px !important;
  }

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

  /* ---- ページネーション ----- */
  .feature .splide__pagination {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 15px;
    width: 100%;
    margin: 0 0 24px auto;
    padding-top: 8px;
  }

  .feature .splide__pagination li button {
    width: 8px;
    height: 8px;
    background-color: #e8e8e8;
    border-radius: 50%;
    transition: background 0.2s;
  }

  .feature .splide__pagination li button.is-active {
    background: var(--main-color);
  }

  /* ---- スライダー矢印 ----- */
  .feature .splide__arrows {
    display: flex !important;
    align-items: center;
    gap: 20px;
    width: fit-content;
    margin: 0 16px 0 auto;
  }

  .feature .splide__arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    aspect-ratio: 1;
    height: auto;
    padding: 3px;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
  }

  .feature .splide__arrow i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    border-radius: 50%;
    font-size: 80%;
    line-height: 1;
    transition: background 0.2s;
  }

  .feature .splide__arrow:hover i {
    background: var(--sub-color);
  }

  .feature .splide__counter {
    font-size: 110%;
  }
	
	.feature_img {
	width: 50%;
    margin-inline: auto;
	}
	.feature_inner p {
		font-size:14px;
		line-height:1.7;
	}
	.feature_inner {
		padding: 70px 10px 40px;
		height:auto;
	}
	
}


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

  *病状、症状から探す

================================================================================================================================== */
.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 {
  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: 10px;
}

#infinitySlider .splide__list {
  gap: 10px;
}

#infinitySlider .splide__slide {
  width: 350px !important;
}

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