@charset "UTF-8";

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

  *基本設定

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.front {
  overflow: hidden;
}

section .inner {
  max-width: 1200px;
  padding: 140px 0;
}

section .inner.inner_large {
  max-width: 1500px;
  padding: 112px 50px 140px;
}

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

  section .inner.inner_large {
    padding: 80px 20px;
  }

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

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

  *タイトル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.top_title {
  margin-bottom: 56px;
  line-height: 1.5;
  text-align: center;
}

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

.top_title h2 {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 38px;
  font-size: 22px;
  line-height: 1;
}

.top_title.title_left h2 {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 38px;
  white-space: nowrap;
}

.top_title.title_left h2::after {
  display: inline-block;
  content: "";
  width: 100%;
  height: 1px;
  background: var(--line-color);
}

.top_title .eng {
  position: relative;
  left: -3px;
  display: inline-block;
  margin-bottom: 16px;
  background: linear-gradient(60deg, var(--main-color), #897a5a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: .05em;
  line-height: 1.5;
  font-size: 100px;
  font-family: var(--font-en);
  font-weight: 300;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .top_title {
    margin-bottom: 40px;
  }

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

  .top_title.title_left h2 {
    gap: 16px;
  }

  .top_title .eng {
    left: -2px;
    margin-bottom: 4px;
    font-size: 54px;
  }
}

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.mainvisual::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, rgb(75 61 30 / .3), transparent);
  pointer-events: none;
}

.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#sliderBtn_prev {
  left: 20px;
}

.mvSlider .sliderBtn#sliderBtn_next {
  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#sliderBtn_prev span::before {
  content: "\f053";
}

.mvSlider .sliderBtn#sliderBtn_next 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 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: 40%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}

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

.mvCatch p {
  font-size: 220%;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
}

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

.mvContents .inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: unset;
  height: 100%;
  padding: 0 50px;
}

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

/* ----- 開院バナー ----- */
.open_bnr {
  position: absolute;
  bottom: 30px;
  display: inline-block;
  padding: 4px;
  background: rgb(255 255 255 / .3);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 20px rgb(20 20 20 / .02);
}

.open_bnr>* {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 260px;
  height: 260px;
  padding: 24px 15px 11px;
  background: rgb(195 182 152 / .7);
  color: #ffffff;
  font-size: 110%;
  font-family: "bookmania", "Zen Kaku Gothic New", sans-serif;
  line-height: 1.5;
  text-align: center;
}

.open_bnr .date {
  font-size: 110%;
  letter-spacing: .1em;
}

.open_bnr .open_text {
  margin: 0 0 6px;
  font-size: 220%;
  letter-spacing: .08em;
}

.open_bnr .nairankai_tit {
  display: block;
  width: 65%;
  margin: 0 0 10px;
  padding: 7px 10px 1px;
  background: rgb(255 255 255 / .7);
  border-radius: 300px;
  color: var(--sub-color);
  font-size: 90%;
  text-align: center;
}

.nairakai_date {
  line-height: 1.7;
  letter-spacing: .1em;
}

.nairakai_date .day {
  font-family: var(--font-jp);
  font-weight: 400;
}

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

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

/* ----- スマホ専用エリア ----- */
.sp_only {
  display: none;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .mainvisual {
    height: 300px;
    min-height: unset;
  }

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

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

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

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

  /* ----- キャッチコピー ----- */
  .mvCatch {
    top: auto;
    bottom: 20px;
    display: 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);
  }

  /* ----- コンテンツ ----- */
  .mvContents {
    display: none;
  }

  /* ----- 開院バナー ----- */
  .open_bnr {
    position: static;
    width: 100%;
    max-width: 350px;
    border-radius: 0;
  }

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

  /* ----- スマホ専用エリア ----- */
  .sp_only {
    display: block;
    background: none !important;
  }

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

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

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

  *バナーエリア

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
/* ----- 共通設定 ----- */
.top_banner .inner {
  max-width: unset;
  max-width: 1500px;
  padding: 100px 50px 80px;
}

.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 .banner_slide .slide_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.top_banner .input .banner_slide .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 .banner_slide .slide_content {
  font-size: 90%;
}

.top_banner .input a.banner_slide:hover {
  opacity: 0.6;
}

/* ----- グリッドバナー ----- */
.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;
  width: 480px !important;
}

/* スライダーの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);
  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);
  font-size: 80%;
  transition: background 0.2s;
}

#bannerSlider .bannerSlider_arrow:hover i {
  background: var(--sub-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: 80px 10px;
  }

  /* ----- グリッドバナー ----- */
  .banner_grid li {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

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

  #bannerSlider .splide__slide {
    width: 100% !important;
  }

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

  #bannerSlider .bannerSlider_arrow_prev {
    left: -10px;
  }

  #bannerSlider .bannerSlider_arrow_next {
    right: -10px;
  }

  #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）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.top_content_bg {
  position: relative;
}

.top_content_bg::before {
  position: absolute;
  content: "";
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - (350px / 2));
  background: linear-gradient(to top, #fff, rgb(255 255 255 / .4)), url(../images/common/top_content_bg.jpg) no-repeat center / cover;
}

.clinic {
  position: relative;
  z-index: 1;
}

.clinic::before {
  position: absolute;
  bottom: 0;
  right: 0;
  content: "";
  width: 95%;
  height: 350px;
  background: url(../images/front/clinic_bg_img.jpg) no-repeat center center / cover;
}

/* ----- お知らせ ----- */
.clinic .news {
  position: relative;
  z-index: 1;
}

.clinic .news .inner {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 80px;
  padding: 0 0 80px;
}

.clinic .news .news_left {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.clinic .news .top_title {
  margin: 0;
  padding-bottom: 40px;
}

.clinic .news .top_title .eng {
  margin-bottom: 0;
  font-size: 60px;
}

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

.clinic .news .btn01 a {
  min-width: 220px;
}

/* ----- 医院概要 ----- */
.clinic .info {
  position: relative;
  padding: 0 0 160px;
}


.clinic .info .inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 50px;
  padding: 64px;
  background: rgb(255 255 255 / .8);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgb(20 20 20 / .02);
}

.clinic .info .inner>* {
  width: calc(50% - 20px);
}

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

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

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

.clinic .info address>*::before {
  position: absolute;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 0 2px;
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--main-color);
  font-size: 24px;
}

.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: 24px;
  padding: 9px 0 0px 50px;
}

.clinic .info address .tel a {
  color: var(--text-color);
  font-size: 30px;
  font-family: var(--font-en);
  font-weight: 300;
  line-height: 1;
  letter-spacing: .1em;
}

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

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

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

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

.clinic .info .speciality {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
  margin: 24px auto 0;
  font-family: var(--font-jp);
  font-weight: 400;
}

.clinic .info .speciality .title {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 6px 20px;
  border: 1px solid var(--sub-color);
  color: var(--sub-color);
  font-family: var(--font-jp);
  font-weight: 400;
  text-align: center;
}

.clinic .info .googlemap iframe {
  height: 380px;
}

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .top_content_bg::before {
    background: linear-gradient(to top, rgb(255 255 255 / .95), transparent, rgb(255 255 255)), url(../images/common/top_content_bg_sp.jpg) no-repeat center / cover;
  }

  .clinic {
    padding-bottom: 50px;
  }

  .clinic::before {
    width: 100%;
  }

  .clinic .news .top_title .eng {
    font-size: 54px;
  }

  /* ----- お知らせ ----- */
  .clinic .news .inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    gap: 0;
    padding: 0 20px 60px;
  }

  /* ----- 医院概要 ----- */
  .clinic .info {
    padding: 0 20px;
  }

  .clinic .info .inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    padding: 54px 20px;
    background: rgb(255 255 255 / .95);
  }

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

  .clinic .info address>*::before {
    top: -1px;
  }

  .clinic .info address .location .zipcode {
    display: block;
    margin-right: 0;
    line-height: 1.2;
  }

  .clinic .info address .tel a {
    font-size: 24px;
  }

  .clinic .info .speciality {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    gap: 10px;
    padding: 10px;
  }

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

  .clinic .info .googlemap iframe {
    height: 260px;
  }
}

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

  *ご挨拶（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.greeting {
  position: relative;
  z-index: 1;
}

.greeting::before {
  position: absolute;
  content: "";
  z-index: -1;
  bottom: 40px;
  left: 40px;
  width: auto;
  height: 800px;
  aspect-ratio: 1;
  background: url(../images/common/logo_icon_colored.svg) no-repeat center/ cover;
  opacity: .1;
}

.greeting .inner.inner_large {
  padding-top: 120px;
}

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

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

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

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

.greeting_text {
  padding: 24px 0 0;
}

.greeting_text>*:not(:last-child) {
  margin-bottom: 2.3em;
  line-height: 2.5;
}

.greeting_text h3 {
  margin-bottom: 32px !important;
  color: var(--sub-color);
  font-size: 120%;
  letter-spacing: .1em;
}

.greeting_text h3 span {
  margin: 0 5px 0 3px;
  font-size: 140%;
}

.greeting_profile {
  padding: 32px 20px 0;
  font-family: var(--font-jp);
  font-weight: 400;
  line-height: 1.75;
  text-align: center;
}

.greeting_logo {
  margin-bottom: 16px;
}

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

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

.greeting_profile .name span {
  margin-right: 8px;
  font-size: 80%;
}

.greeting_btn {
  margin-top: 48px;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting::before {
    bottom: 30px;
    left: -60px;
    width: 100%;
    height: auto;
  }

  .greeting .inner.inner_large {
    padding-top: 80px;
  }

  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }

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

  .greeting_text h3 {
    font-size: 120%;
  }

  .greeting_text h3 span {
    margin: 0;
    font-size: 120%;
  }

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

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

  *診療案内（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  padding-bottom: 180px;
  background: linear-gradient(rgb(75 61 30 /.5), rgb(75 61 30 /.5)), url(../images/front/medical_bg.jpg) no-repeat center center / cover;
}

.medical .top_title .eng {
  background: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.medical .top_title h2 {
  color: #fff;
}

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

.medical_item {
  position: relative;
  z-index: 1;
  width: calc((100% / 7) - (20px * 6 / 7));
  height: auto;
  aspect-ratio: 1;
}

.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 {
  position: relative;
  z-index: 2;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 30px 5px 40px;
  background: rgb(255 255 255 / .35);
  box-shadow: 0 0 20px rgb(20 20 20 / .02);
  text-align: center;
  transition: .2s ease-in-out;
}

.medical_item:nth-of-type(n+4) .medical_inner {
  backdrop-filter: blur(5px);
}

.medical_item:hover .medical_inner {
  background: rgb(255 255 255 / .6);
}

.medical_inner::before {
  position: absolute;
  bottom: 4px;
  right: 4px;
  content: "";
  width: 8px;
  height: auto;
  aspect-ratio: 1;
  background: #fff;
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  transition: .2s;
}

.medical_item:hover .medical_inner::before {
  background: var(--sub-color);
}

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

.medical_icon {
  width: 80%;
  max-width: 80px;
  margin: 0 auto 15px !important;
  padding: 4px;
  background: rgb(75 61 30 / .4);
  border-radius: 50%;
}

.medical_title h3 {
  color: #fff;
  letter-spacing: .1em;
  font-size: 120%;
  transition: color 0.2s;
}

.medical_item:hover .medical_title h3 {
  color: var(--sub-color);
}

.medical_title_eng {
  position: relative;
  left: 1px;
  color: #fff;
  font-size: 12px;
  font-family: var(--font-en);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
}

.medical_item:hover .medical_title_eng {
  color: var(--sub-color);
  transition: color 0.2s;
}

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

/* ----- 先頭3つの設定----- */
.medical_item:nth-of-type(-n + 3) {
  width: calc((100% / 3) - (40px / 3));
  aspect-ratio: 16 / 12;
  overflow: hidden;
}

.medical_item:nth-of-type(-n + 3)::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(-90deg, transparent, rgb(75 61 30 / .2));
  pointer-events: none;
}

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

.medical_list:has(.medical_item:nth-of-type(-n + 3):hover) .medical_item:nth-of-type(-n + 3):not(:hover) .medical_inner {
  backdrop-filter: blur(5px);
}

.medical_item:nth-of-type(-n + 3) .medical_inner::before {
  content: none;
}

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

.medical_item:nth-of-type(-n + 3) .medical_img {
  overflow: hidden;
}

.medical_item:nth-of-type(-n + 3) .medical_img img {
  transition: .2s ease-in-out;
}

.medical_item:nth-of-type(-n + 3):hover .medical_img img {
  transform: scale(1.1);
}

.medical_item:nth-of-type(-n + 3) .medical_title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column-reverse;
  gap: 1px;
}

.medical_item:nth-of-type(-n + 3) .medical_title h3 {
  text-align: right;
  font-size: 140%;
  color: #fff;
}

.medical_item:nth-of-type(-n + 3) .medical_title_eng {
  color: #fff;
  font-size: 16px;
  text-align: left;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .medical {
    background: linear-gradient(rgb(75 61 30 /.5), rgb(75 61 30 /.5)), url(../images/front/medical_bg_sp.jpg) no-repeat center center / cover;
  }

  .medical_list {
    gap: 15px 10px;
  }

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

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

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

  .medical_icon {
    width: 50%;
    padding: 13px;
  }

  .medical_title h3 {
    font-size: min(4vw, 16px);
  }

  .medical_title_eng {
    font-size: min(3.2vw, 10px);
  }

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

  .medical_item:nth-of-type(-n + 3)::before {
    background: linear-gradient(-90deg, transparent, rgb(75 61 30 / .4));
  }

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

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

  .medical_item:nth-of-type(-n + 3) .medical_title {
    bottom: 8px;
    left: 20px;
  }

  .medical_item:nth-of-type(-n + 3) .medical_title h3 {
    font-size: min(4.5vw, 20px);
  }

  .medical_item:nth-of-type(-n + 3) .medical_title_eng {
    font-size: 12px;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  background: url(../images/front/feature_bg_pattern.jpg) no-repeat left top 180px/31.25% auto, url(../images/front/feature_bg_pattern.jpg) no-repeat right center/31.25% auto, url(../images/front/feature_bg_pattern.jpg) no-repeat left bottom 100px/31.25% auto, var(--bg-color);
}

.feature .top_title {
  margin-bottom: 64px;
}

.feature_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: wrap;
  flex-flow: wrap;
  gap: 60px 30px;
}

.feature_item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: auto;
  width: 100%;
  height: auto;
}

.feature_img {
  position: relative;
  z-index: 2;
  width: 45%;
  padding: 15px 0 0 15px;
  flex-shrink: 0;
}

.feature_img::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: calc(100% - 15px);
  height: calc(100% - 15px);
  border: 1px solid var(--main-color);
  pointer-events: none;
}

.feature_inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-flow: column;
  width: calc(100% + 64px);
  height: fit-content;
  min-height: 350px;
  margin: 15px 15px 15px -64px;
  padding: 52px 56px 48px;
}

.feature_inner::before {
  position: absolute;
  z-index: -1;
  content: "";
  bottom: -15px;
  right: -15px;
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/front/bg_woody.jpg) no-repeat center / cover;
  opacity: .85;
}

.feature_inner::after {
  position: absolute;
  z-index: -1;
  content: "";
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: rgb(255 255 255 / .7);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 20px rgb(20 20 20 / .02);
}

.feature_title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column;
  flex-flow: column;
  margin-bottom: 17px;
}

.feature_title h3 {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-color);
  color: var(--sub-color);
  font-size: 160%;
  line-height: 1.75;
}

.feature_num {
  margin: 0 0 10px;
  letter-spacing: .1em;
  line-height: 1;
  font-size: 130%;
  font-family: var(--font-en);
  font-weight: 300;
}

.feature_num span {
  margin-left: 2px;
  color: var(--main-color);
  font-size: 180%;
  letter-spacing: .1em;
}

.feature_button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: wrap;
  flex-flow: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
}

/* ----- 左右 ----- */
.feature_item:nth-child(even) {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-flow: row-reverse;
  flex-flow: row-reverse;
}

.feature_item:nth-child(even) .feature_img {
  padding: 15px 15px 0 0;
}

.feature_item:nth-child(even) .feature_img::before {
  right: 0;
  left: auto;
}

.feature_item:nth-child(even) .feature_inner {
  margin: 15px -64px 15px 15px;
}

.feature_item:nth-child(even) .feature_inner::before {
  bottom: -15px;
  right: auto;
  left: -15px;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .feature {
    padding-bottom: 0;
    background: url(../images/front/feature_bg_pattern.jpg) no-repeat left top 120px/50% auto, url(../images/front/feature_bg_pattern.jpg) no-repeat right center/50% auto, url(../images/front/feature_bg_pattern.jpg) no-repeat left bottom 0px/50% auto, var(--bg-color);
  }

  .feature_list {
    gap: 40px;
  }

  .feature_item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    width: 100%;
    margin: 0;
  }

  .feature_img {
    width: 100%;
    margin: 0;
    padding: 10px 0 0 10px;
  }

  .feature_item:nth-child(even) .feature_img {
    padding: 0 10px 10px;
  }

  .feature_inner {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 32px 20px 40px;
  }

  .feature_inner::before {
    bottom: -10px;
    right: -10px;
  }

  .feature_item:nth-child(even) .feature_inner::before {
    bottom: -10px;
    right: auto;
    left: -10px;
  }

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

  .feature_title h3 {
    font-size: 130%;
  }

  .feature_button {
    justify-content: center;
  }

  /* ----- 左右 ----- */
  .feature_item:nth-child(even) {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
  }

  .feature_item:nth-child(even) .feature_inner {
    margin: 0 auto;
  }
}

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

  *病状、症状から探す（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.search {
  position: relative;
}

.search .tab_list {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.search .tab_list li {
  display: flex;
  flex: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 10px 20px;
  background: #a9a9a9;
  color: #ffffff;
  font-size: 140%;
  cursor: pointer;
  transition: transform 0.2s, padding 0.2s;
}

.search .tab_list li.is-active {
  background: var(--main-color);
}

/* ----- パネル ----- */
.search .panel {
  display: none;
  margin: 0 !important;
  padding: 20px;
  background: var(--bg-color);
}

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

/* ----- 項目 ----- */
.search_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: fit-content;
}

.search_list a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 60px;
  padding: 10px 30px;
  background: #ffffff;
  color: var(--text-color);
  font-size: 110%;
}

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

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

.panel_flex .search_list {
  grid-template-columns: repeat(2, 1fr);
  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 {
    grid-template-columns: repeat(1, 1fr);
  }

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

  .panel_flex .search_img {
    width: 100%;
  }

  .panel_flex .search_list {
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }
}

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

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

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

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

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .column .column_list {
    gap: 40px;
  }

  .column .column_box {
    width: 100%;
  }
}

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

  *無限スライダー

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
#infinitySlider {
  margin-top: -142px;
  padding: 0;
}

#infinitySlider .splide__list {
  gap: 24px;
}

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

#infinitySlider .splide__slide:nth-of-type(even) {
  margin-top: 20px;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  #infinitySlider .splide__slide {
    width: 300px !important;
  }
}