@charset "UTF-8";

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

  *基本設定

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

section .inner {
  padding: 140px 0;
}

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

.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,
  section .inner_large {
    max-width: 1200px;
    padding: 70px 20px;
  }

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

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

  *タイトル

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

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

#columnSlider .top_title {
  flex-shrink: 0;
}

.top_title h2 {
  letter-spacing: .1em;
  font-size: 160%;
}

#columnSlider .top_title h2::before, #columnSlider .top_title h2::after {
  display: none;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 16px;
  padding-left: .08em;
  color: var(--main-color);
  line-height: 1;
  letter-spacing: .08em;
  font-size: 640%;
  font-family: var(--font-en);
  font-weight: 400;
}

.news .top_title .eng, #columnSlider .top_title .eng {
  font-size: 520%;
}

.body-parts .top_title .eng {
  font-size: 460%;
}

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


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

  .top_title .eng {
    margin-bottom: 6px;
    padding-left: 0;
    font-size: min(17vw, 64px);
  }

  #columnSlider .top_title {
    margin: 0 auto 50px;
  }

  .news .top_title .eng, #columnSlider .top_title .eng {
    font-size: min(17vw, 64px);
  }

  .body-parts .top_title .eng {
    font-size: min(9vw, 42px);
  }
}

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 800px;
  padding: 0 50px;
  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#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%;
  border-radius: 20px;
}

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

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

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

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

.mvCatch p {
  letter-spacing: 0.15em;
  text-align: center;
  font-size: 180%;
  font-family: var(--font-jp);
  -webkit-text-stroke: 2px rgb(255 255 255 / .8);
  paint-order: stroke;
  text-shadow: 0 0 20px rgb(255 255 255), 0 0 15px rgb(255 255 255), 0 0 10px rgb(255 255 255), 0 0 5px rgb(255 255 255), 0 0 3px rgb(255 255 255), 0 0 2px rgb(255 255 255), 0 0 1px rgb(255 255 255), 0 0 0 rgb(255 255 255);
}

.mvCatch p span {
  color: var(--sub-color);
  font-size: 130%;
}

/* ----- コンテンツ ----- */
.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;
  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);
}

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

/* ----- MVバナー ----- */
.mv_bnr_wrap {
  position: absolute;
  bottom: 30px;
  left: 0;
  display: flex;
  gap: 32px;
}

.mv_bnr_item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 254px;
  height: auto;
  aspect-ratio: 1 / 1;
  padding-top: 50px;
  background: url(../images/front/feature_num_bubble.png) center center / cover no-repeat;
}


.mv_bnr_item::before {
  display: inline-block;
  content: "";
  width: 52px;
  height: auto;
  aspect-ratio: 211 / 247;
  margin-bottom: 15px;
  background: url(../images/front/reves_logo.png) no-repeat center / cover;
}

.mv_bnr_link:nth-of-type(2) .mv_bnr_item::before {
  width: 62px;
  aspect-ratio: 156 / 106;
  background: url(../images/front/sakushin_logo.png) no-repeat center / cover;
}

.mv_bnr_item p {
  position: relative;
  line-height: 1.5;
  letter-spacing: .1em;
  text-align: center;
  font-family: var(--font-jp);
  font-weight: 400;
}

.mv_bnr_item p span {
  color: var(--sub-color);
  font-size: 110%;
}
/* ----- MVバナー 右----- */
.mv_sq_bnr_wrap {
    position: absolute;
    bottom: 30px;
    right: 0;
    display: flex;
    gap: 20px;
    flex-direction: column;
    width: 370px;
	transition:.3s;
	a:hover {
		opacity:.7;
	}
}
.mv_sq_bnr_wrap a img {
	width:100%;
}
@media screen and (min-width: 641px) {
.mv_sq_bnr_wrap a:first-child {
	width:75%;
	    margin-left: auto;
}
.mv_sq_bnr_wrap a:last-child {
border-radius: 10px;
background: var(--main-color);
padding: 5px;
}
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .mainvisual {
    padding: 0;
    height: 400px;
  }

  .mvImg img {
    border-radius: 0;
  }


  .mvImg .splide__track {
    border-radius: 0;
  }

  /* ----- スライダーの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: min(4vw, 24px);
    text-align: left;
    line-height: 1.75;
    text-shadow: 0 0 10px rgb(255 255 255), 0 0 5px rgb(255 255 255), 0 0 3px rgb(255 255 255), 0 0 2px rgb(255 255 255), 0 0 1px rgb(255 255 255), 0 0 0 rgb(255 255 255);
  }

  /* ----- コンテンツ ----- */
  .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: 0 20px;
  }

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

  .mv_bnr_wrap {
    position: static;
    flex-wrap: wrap;
    width: 100%;
    gap: 12px;
  }

  .mv_bnr_item {
        /* width: calc(50% - 6px); */
        padding-top: 8vw;
        width: 100%;
  }
	a.mv_bnr_link {
		width: calc(50% - 6px);
		display: block;
	}

  .mv_bnr_item::before {
    width: 8vw;
    margin-bottom: 10px;
  }

  .mv_bnr_item:nth-of-type(2)::before {
    width: 10vw;
  }

  .mv_bnr_item p {
    font-size: min(3vw, 24px);
  }

  .mv_bnr_item p span {
    font-size: 100%;
  }
	.mv_sq_bnr_wrap {

    position: static;
/*     flex-direction: row; */
    width: 100%;
	flex-direction: column-reverse;
	}
}

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

  *バナーエリア

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

.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: 400px !important;
}

/* ----- スライダーバナー ----- */
#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);
  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(--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-top: 60px;
  }

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

  /* ----- スライダーバナー ----- */
  #bannerSlider .splide__slide {
    width: 95% !important;
  }

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

  /* スライダーの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;
  }

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

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

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

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

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

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

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

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

.clinic .news .top_title {
  margin: 0 0 30px;
}

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

/* ----- 医院概要 ----- */
.clinic .info .inner {
  display: flex;
  gap: 40px;
  padding: 60px;
  background: var(--bg-color);
  border-radius: 30px;
}

.clinic .info .inner>* {
  width: calc(50% - 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 .zipcode {
  margin-right: 10px;
}

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

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

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

.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: 16px;
  margin: 20px auto 0;
  padding: 16px 20px;
  background: #fff;
  border-radius: 20px;
  font-size: 90%;
  font-family: var(--font-jp);
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 8px 28px;
  background: var(--main-color);
  border-radius: 3em;
  color: #ffffff;
  text-align: center;
}

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

.google_calendar iframe {
  height: 550px;
  border-radius: 28px;
}

@media screen and (max-width: 640px) {
  .clinic .top_title h2 {
    font-size: 120%;
  }

  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 60px 20px;
  }

  .clinic .info {
    padding: 0 20px;
  }

  .clinic .info .inner {
    flex-flow: column;
    padding: 48px 20px;
    border-radius: 24px;
  }

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

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

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

  .clinic .info address>*::before {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .clinic .info address .tel {
    padding: 0 0 0 45px;
    font-size: 29px;
  }

  .clinic .info .speciality {
    flex-flow: column;
    gap: 10px;
    padding: 12px 16px;
  }

  .clinic .info .speciality .title {
    width: 100%;
    padding: 8px 20px;
  }

  .google_calendar iframe {
    height: 400px;
    border-radius: 20px;
  }
}

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

  *ご挨拶（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.greeting {
  position: relative;
  z-index: 1;
  background: url(../images/front/greeting_bg.jpg) no-repeat bottom center / 100% auto;
}

.greeting .inner {
  position: relative;
}

.greeting .inner::before {
  position: absolute;
  top: 140px;
  left: 0px;
  content: "";
  width: 170px;
  height: auto;
  aspect-ratio: 228 / 116;
  background: url(../images/front/seagull.png) center center / cover no-repeat;
}

.greeting .inner::after {
  position: absolute;
  bottom: -80px;
  left: 0px;
  content: "";
  width: 500px;
  height: auto;
  aspect-ratio: 525 / 300;
  background: url(../images/front/lighthouse.png) center center / cover no-repeat;
  transform: translateX(-40%);
}

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

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

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

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

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

.greeting_text h3 {
  letter-spacing: .1em;
  font-size: 140%;
}

.greeting_text h3 span {
  padding-right: 4px;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  color: var(--sub-color);
  font-size: 120%;
}

.greeting_text p {
  letter-spacing: .1em;
  font-family: var(--font-jp);
  font-weight: 400;
}

.greeting_img img {
  border-radius: 30px;
}

.greeting_profile {
  margin-top: 24px;
  line-height: 1.75;
  text-align: center;
  font-family: var(--font-jp);
  font-weight: 400;
}

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

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

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

.greeting_title {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

.greeting_title>* {
  width: calc(50% - 10px);
  padding: 12px 10px 10px;
  background: var(--sub-color02);
  border-radius: 3em;
  color: #fff;
  text-align: center;
  line-height: 1.7;
  font-family: var(--font-jp);
  font-weight: 400;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting .inner {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .greeting .inner::before {
    top: 40px;
    left: 20px;
    width: 100px;
  }

  .greeting .inner::after {
    width: 50%;
    bottom: 0;
    transform: translate(0);
  }

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

  .greeting_left {
    width: 100%;
  }

  .greeting_title {
    gap: 10px;
  }

  .greeting_title>* {
    width: 100%;
  }

  .greeting_text h3 {
    margin-bottom: 24px !important;
    font-size: min(4.5vw, 24px);
  }

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

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical_wrap {
  background: url(../images/front/medical_wrap_bg.jpg) no-repeat center top/cover;
}

.medical_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.medical_item {
  position: relative;
  z-index: 1;
  width: calc((100% / 4) - (120px / 4));
  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;
  overflow: hidden;
  border-radius: 20px;
}

.medical_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: .2s;
}

.medical_inner {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
}

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

.medical_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 180px;
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto 15px !important;
  padding: 54px;
  background: url(../images/front/feature_num_bubble.png) no-repeat center / cover;
  border-radius: 50%;
}

.medical_title h3 {
  letter-spacing: .1em;
  color: var(--text-color);
  font-size: 120%;
}

.medical_title_eng {
  margin-top: 5px;
  color: var(--main-color);
  font-size: 18px;
  font-family: var(--font-en);
  line-height: 1;
  letter-spacing: .1em;
  text-align: center;
}

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

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

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

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

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

.medical_item:nth-of-type(-n + 2):hover {
  transform: translate(0);
}

.medical_item:nth-of-type(-n + 2) .medical_inner {
  padding: 20px 20px 40px;
  background: linear-gradient(135deg, rgb(80 148 241 / .4), rgb(108 190 250 / .3));
  border-radius: 20px;
}

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

.medical_item:nth-of-type(-n + 2) .medical_title h3 {
  color: #fff;
  font-size: 160%;
  text-shadow: rgb(80 148 241) 0px 0px 4px;
}

.medical_item:nth-of-type(-n + 2) .medical_title_eng {
  color: #fff;
  text-shadow: rgb(80 148 241) 0px 0px 2px;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .medical_wrap {
    background: url(../images/front/medical_wrap_bg_sp.jpg) no-repeat center top/cover;
  }

  .medical_list {
    gap: 20px 10px;
  }

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

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

  .medical_inner {
    justify-content: flex-start;
    min-height: auto;
    padding: 0;
  }

  .medical_icon {
    width: 70%;
    margin-bottom: 2px !important;
    padding: 9vw;
  }

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

  .medical_title_eng {
    margin-top: 0;
    font-size: 10px;
  }

  /* ----- 先頭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）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  position: relative;
  background: linear-gradient(#daeff0, var(--bg-color), #c7eff4);
}

.feature .inner_large {
  padding-bottom: 50px;
}

.feature_list {
  display: flex;
  flex-flow: wrap;
  gap: 100px 30px;
}

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

.feature_num {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  width: 90px;
  height: auto;
  aspect-ratio: 1;
  padding-top: 6px;
  background: url(../images/front/feature_num_bubble.png) no-repeat center / cover;
  transform: translate(-25%, -20%);
  line-height: 1;
  font-size: 100%;
  font-family: var(--font-en);
  font-weight: 400;
}

.feature_num span {
  color: var(--sub-color);
  font-size: 180%;
}

.feature_text {
  padding: 0 12px;
}

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

.feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 30px 0 0;
}

.feature_title {
  display: flex;
  flex-flow: column;
  justify-content: center;
  min-height: 95px;
  padding-bottom: 24px;
  margin-bottom: 20px;
  background: url(../images/front/title_bubble.png) repeat-x center bottom / auto 5px;
}

.feature_title h3 {
  font-size: 115%;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-align: center;
}

.feature_title h3 .blue_letter {
  padding-right: 4px;
  color: var(--sub-color02);
  font-size: 130%;
}

.feature_title h3 .small_letter {
  font-size: 90%;
}

.feature_button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: auto;
  padding-top: 56px;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .feature_inner {
    padding-top: 16px;
  }

  .feature_list {
    gap: 64px;
  }

  .feature_item {
    width: 100%;
  }

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

  .feature_num {
    width: 70px;
    font-size: 80%;
  }
}

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

  *病状、症状から探す（パターン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%;
  }
}

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

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

==================================================================================================================================*/
#columnSlider .inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 130px;
  width: 90%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 100px 50px;
}

/* ----- コラムスライダー設定 ----- */
#columnSlider .splide {
  width: 100%;
  padding-top: 75px;
  overflow: hidden;
}

#columnSlider .splide__list {
  align-items: flex-start;
  width: 100%;
}

/* スライダーのArrowボタン */
#columnSlider .splide__arrow {
  position: absolute;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  overflow: hidden;
  transform: translateZ(0);
  transition: background 0.2s, color 0.2s;
}

#columnSlider .splide__arrow:hover {
  background: #ffffff;
  color: var(--main-color);
}

#columnSlider .splide__arrow span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transition: background 0.2s;
}

#columnSlider .splide__arrow span::before {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
}

#columnSlider .splide__arrow--prev {
  right: 70px;
}

#columnSlider .splide__arrow--prev span::before {
  content: "\f104";
}

#columnSlider .splide__arrow--next {
  right: 0;
}

#columnSlider .splide__arrow--next span::before {
  content: "\f105";
}

#columnSlider .splide__slide {
  display: flex;
  align-items: center;
  min-height: 200px;
}

/* ----- ページネーション ----- */
#columnSlider .splide__pagination {
  position: absolute;
  top: 17px;
  right: 190px;
  z-index: 1;
  display: flex;
  gap: 15px;
}

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

#columnSlider .columnSlider-page.is-active {
  background: var(--main-color);
}

/* ----- コラム個別 ----- */
#columnSlider .column_item a {
  width: 100%;
}

#columnSlider .column_item_thum {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  margin: 0 0 15px;
  overflow: hidden;
  border-radius: 20px;
}

#columnSlider .column_item_thum img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
  aspect-ratio: 13 / 9;
  border-radius: 20px;
}

#columnSlider .column_item a:hover .column_item_thum img {
  transform: scale(1.1);
}

#columnSlider .column_item:first-child .column_item_thum::before {
  content: "New";
  position: absolute;
  top: -1px;
  left: -1px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-self: center;
  width: 90px;
  height: 90px;
  padding: 10px 35px 0 0;
  background: var(--sub-color);
  border-radius: 20px 0 0 0;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0.075em;
  opacity: 0.9;
  clip-path: polygon(0 0, 0% 100%, 100% 0);
}

#columnSlider .column_info {
  display: flex;
  flex-flow: wrap;
  gap: 15px;
  margin: 0 0 15px;
  color: #747474;
  font-size: 90%;
}

#columnSlider .column_date {
  flex-shrink: 0;
}

#columnSlider .column_info ul {
  display: flex;
  flex-flow: wrap;
  gap: 5px;
}

#columnSlider .column_info ul li {
  min-width: 80px;
  padding: 2px 10px;
  background: var(--sub-color02);
  border-radius: 6px;
  color: #ffffff;
  font-size: 90%;
  text-align: center;
}

#columnSlider .column_title {
  color: var(--text-color);
  font-size: 105%;
  font-family: var(--font-jp);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

#columnSlider .column_item a:hover .column_title {
  color: var(--main-color);
}

/*==============================================
  *SP　医療コラム
==============================================*/
@media screen and (max-width: 640px) {
  #columnSlider .inner {
    flex-flow: column;
    gap: 0;
    width: 100%;
    margin: 0 auto;
    padding: 70px 20px;
  }

  #columnSlider .splide {
    margin-right: -40px;
  }

  #columnSlider .splide__arrow {
    width: 40px;
    height: 40px;
  }

  #columnSlider .splide__arrow--next {
    right: 20px;
  }

  #columnSlider .splide__arrow--prev {
    right: 70px;
  }

  #columnSlider .splide__pagination {
    top: 13px;
    right: auto;
    left: 0;
    justify-content: flex-end;
    gap: 13px;
    transform: translate(0);
  }

  #columnSlider .columnSlider-page {
    width: 8px;
    height: 8px;
  }

  #columnSlider .splide__slide:first-child .column_item_thum::before {
    width: 80px;
    height: 80px;
    padding: 13px 25px 0 0;
  }
}

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

  *無限スライダー

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
#infinitySlider {
  padding: 0 0 100px;
}

#infinitySlider .splide__list {
  gap: 24px;
}

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

#infinitySlider .splide__slide img {
  border-radius: 24px;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  #infinitySlider {
    padding-bottom: 40px;
  }

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

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

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

==================================================================================================================================*/
.body-parts .inner {
  padding-top: 20px;
}

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

/* ----- 体の画像 ----- */
.body-parts_img {
  position: relative;
  width: 100%;
  text-align: center;
  margin: 0px auto;
}

.body-parts_img::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  content: "";
  width: 580px;
  height: auto;
  aspect-ratio: 768/659;
  background: url(../images/front/body_parts_bg.png) no-repeat center/cover;
  transform: translate(-50%, -50%);
}

.body-parts_img img {
  max-width: 320px;
}

/* ----- 各部位の共通設定 ----- */
.body_parts_list>li {
  position: absolute;
  display: block;
  padding: 5px;
  background: rgb(255 255 255 / .9);
  border-radius: 3em;
}

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

#body-parts1 .body_parts_title::before {
  top: 70%;
  right: -259px;
  width: 255px;
  transform: rotate(6deg);
}

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

#body-parts2 .body_parts_title::before {
  top: 70%;
  left: -170px;
  width: 160px;
  transform: rotate(-6deg);
}

#body-parts3 {
  top: 240px;
  left: 100px;
}

#body-parts3 .body_parts_title::before {
  top: 30%;
  right: -180px;
  width: 170px;
  transform: rotate(-10deg);
}

#body-parts4 {
  top: 160px;
  right: 80px;
}

#body-parts4 .body_parts_title::before {
  top: 40%;
  left: -40px;
  width: 40px;
  transform: rotate(20deg);
}

#body-parts5 {
  bottom: 0;
  left: 0;
}

#body-parts5 .body_parts_title::before {
  top: -100%;
  right: -310px;
  width: 330px;
  transform: rotate(-35deg);
}

#body-parts6 {
  top: 300px;
  right: 0;
}

#body-parts6 .body_parts_title::before {
  top: 61%;
  left: -118px;
  width: 110px;
  transform: rotate(-9deg);
}

#body-parts7 {
  bottom: 0;
  right: 80px;
}

#body-parts7 .body_parts_title::before {
  top: -40%;
  left: -139px;
  width: 140px;
  transform: rotate(27deg);
}

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

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

/* ----- 各部位のタイトル ----- */
.body_parts_title {
  display: block;
  width: fit-content;
  min-width: 180px;
  margin: 0 auto;
  padding: 5px 15px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 3em;
  color: #ffffff;
  font-size: 120%;
  font-family: var(--font-jp);
  font-weight: 400;
  text-align: center;
}

.body_parts_title:hover {
  background: #ffffff;
  color: var(--main-color);
}

.body_parts_title::before {
  content: "";
  position: absolute;
  display: block;
  height: 1px;
  background: rgb(108 190 250 / .7);
}

/* -----　部位ごとの病状・病名　----- */
.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 .inner {
    flex-flow: column;
    gap: 0;
  }

  .body-parts_wrap {
    max-width: 100%;
  }

  .body-parts_img {
    width: 100%;
  }

  .body-parts_img::before {
    width: 100%;
  }

  .body-parts_img img {
    max-width: 55%;
    padding-right: 0;
  }

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

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

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

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

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

  #body-parts5 {
    bottom: auto;
    top: 50%;
  }

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

  #body-parts7 {
    bottom: 10%;
    right: auto;
    left: 0;
  }

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

  /* ----- 各部位のタイトル ----- */
  .body_parts_title {
    min-width: unset;
    font-size: 90%;
  }

  .body_parts_title::before {
    display: none;
  }

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