@charset "UTF-8";

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

  *基本設定

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

section .inner {
  padding: 100px 0;
}

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

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

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

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

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

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

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

  *タイトル

================================================================================================================================== */
.top_title {
  margin-top: 65px;
  margin-bottom: 50px;
  line-height: 1.5;
  text-align: center;
  font-family: var(--main-font);


  /* 左寄せ */
}



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

.top_title h2 {
  font-size: 300%;
  margin-top: -6px;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--main-color);
  font-size: 340%;
  letter-spacing: 0.16em;

  position: relative;
  z-index: 1;
}

.top_title .eng::before {
  position: absolute;
  top: -65px;
  right: 0;
  left: 0;
  margin: auto;
  background: url(../images/logo_simple.png) no-repeat;
  background-size: cover;
  content: "";
  width: 60px;
  height: 57px;
  z-index: 1;
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
  .top_title {
    margin-top: 46px;
    margin-bottom: 40px;
  }
  
  .top_title h2 {
    margin: 0;
    font-size: 240%;
  }

  .top_title .eng {
    font-size: 260%;
    margin-bottom: 0;
  }

  .top_title .eng::before {
    top: -45px;
    width: 40px;
    height: 38px;
  }
}

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

  *メインビジュアル

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

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

.mvVideo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0 0 0 auto;
    overflow: hidden;
}

.mvVideo video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translateX(-50%) translateY(-50%);
}

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

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

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

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

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

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

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

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

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

/* ----- MVの画像 ----- */
.mvImg {
  width: 100%;
  height: 100%;
}

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

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

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

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

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

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

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

  10% {
    opacity: 0;
  }

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

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

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

/* ----- キャッチコピー ----- */
.mvCatch {
  position: absolute !important;
  top: 50%;
  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);
  font-family: var(--main-font);
  text-align: center;
}

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

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

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

.open {
  position: absolute;
  bottom: 30px;
  display: inline-block;
  padding: 4px;
}

.open .inner {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 290px;
  height: 260px;
  padding: 10px;
  color: #ffffff;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
  font-family: var(--main-font);
  background: var(--main-color);
  position: relative;
  overflow: hidden;
  transition: 100ms;
}

.open .inner:after {
  position: absolute;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-width: 1px;
  border-style: solid;
  border-color: rgb(255, 255, 255);
  border-image: initial;
}

.open_recruit {
    left: 310px;
}
.open_recruit .inner {
    width: 270px;
    height: 70px;
    background: var(--sub-color);
    transition: .2s all;
}
.open_recruit a:hover {
    opacity: .7;
}
.open_recruit span {
	margin-bottom: 0;
	display: inline-block;
    color: #fff;
    font-size: 78%;
}

.open_certified-dc {
    left: 588px;
}

.open_certified-dc .inner {
    width: 260px;
    height: 70px;
    background: var(--sub-color);
    transition: .2s all;
}
.open_certified-dc a:hover {
    opacity: .7;
}
.open_certified-dc span {
	margin-bottom: 0;
	display: inline-block;
    color: #fff;
    font-size: 78%;
}

.open_consultation {
    left: 857px;
}
.open_consultation .inner {
    width: 190px;
    height: 70px;
    background: var(--sub-color);
    transition: .2s all;
}
.open_consultation a:hover {
    opacity: .7;
}
.open_consultation span {
	margin-bottom: 0;
	display: inline-block;
    color: #fff;
    font-size: 78%;
}

.open_day {
  font-size: 110%;
}

.open_title {
  margin: 0 0 5px;
  font-size: 180%;
}

.open_text_small {
    margin-bottom: 5px;
    font-size: 80%;
}

.open_preview {
  width: 90%;
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 5px 10px;
  background-color: rgb(255, 255, 255 , 0.2);
  color: #ffffff;
  font-size: 100%;
}

.open_note {
  margin-left: 5px;
}

@-webkit-keyframes shinyshiny {
  0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
  80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
  81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
  100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

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

.sp_only {
  display: none;
}

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

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

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

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

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

  .mvCatch {
    top: 80%;
    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); */
    text-shadow: 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff;
  }

  .mvContents {
    display: none;
  }

  .sp_only {
    display: block;
    background: none !important;
  }

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

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

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

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

  .open .inner {
    width: 280px;
    height: 230px;
    padding: 10px;
    color: #ffffff;
    font-size: 110%;
    line-height: 1.5;
    text-align: center;
    font-family: var(--main-font);
    background: var(--main-color);
    position: relative;
    overflow: hidden;
    transition: 100ms;
  }
.open_recruit .inner {
    height: 80px;
    background: var(--sub-color);
	}
	.open_recruit span {
    font-size: 85%;
}
	
.open_consultation .inner {
    height: 80px;
    background: var(--sub-color);
	}
	.open_consultation span {
    font-size: 102%;
}
	
.open_certified-dc .inner {
    height: 80px;
    background: var(--sub-color);
	}
	.open_certified-dc span {
    font-size: 93%;
}
/* Instagramのバナー */
.top_bnr_instagram>*{
	display: block;
	max-width: 350px;
	min-width: 280px;
	padding: 20px 25px;
	background: linear-gradient(135deg, rgba(131, 58, 180, 0.8), rgba(253, 29, 29, 0.8), rgba(252, 176, 69, 0.8));
	text-align: center;
	color: #fff;
	font-size: 145%;
	transition: all 0.2s;
}
.top_bnr_instagram>* i{
	margin-right: 6px;
}
.top_bnr_instagram>*:hover{
	opacity:0.8;
}
}

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

  *バナーエリア

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#bannerSlider .bannerSlider_arrow_prev {
  left: 0;
}

#bannerSlider .bannerSlider_arrow_next {
  right: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.clinic .news::before {
  content: "";
  position: absolute;
  width: calc(50% - 200px);
  height: 78%;
  left: 0;
  bottom: 0;
  background: var(--bg-color);
  z-index: -1;
  top: 0;
  margin: auto;


  background-image: url(../images/bg_img01.jpg);
  background-size: cover;
  background-repeat: repeat;
  opacity: 0.4;
}

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

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

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

.clinic .news .top_title h2 {
  margin-top: 0;
}

.clinic .news .top_title .eng {
  margin-bottom: 0;
  font-size: 220%;
  letter-spacing: 0.1em;
}

.clinic .news .top_title .eng::before {
  display: none;
}

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

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

.clinic .info .inner {
  padding: 100px 80px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 9px 1px;
  background: rgba(255, 255, 255, 0.95);
}

.clinic .info .inner .inner-wrapper {
  display: flex;
  gap: 40px;
  /*padding: 100px 80px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 9px 1px;
  background: rgba(255, 255, 255, 0.95);*/
}

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

.clinic .info .inner-card{
	width: 100%;
	display: block;
	margin-top: 30px;
}

.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: 3px 0 7px 50px;
  font-size: 30px;
  line-height: 1;
  font-family: var(--main-font);
}

.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: 20px;
  margin: 20px auto 0;
  padding: 10px;
  background: var(--bg-color);
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  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;
}

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

/* 背景スクロール */

.clinic .fiximg {
  width: 100%;
  height: 500px;
  position: absolute;
  bottom: -180px;
  z-index: -1;
  left: 0;
}

.clinic .fiximg_inner {
  width: 100%;
  height: 100%;
  clip-path: inset(0);
}
.clinic .fiximg_img {
  object-fit: cover;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.clinic .fiximg_img img {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 640px) {
  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 50px 0;
  }

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

  .clinic .news .top_title .eng {
    font-size: 260%;
  }
	
	.clinic .info .inner{
	padding: 20px 20px 40px;
    gap: 25px;
	}

  .clinic .info .inner .inner-wrapper {
    flex-flow: column;
  }

  .clinic .info .inner .inner-wrapper > * {
    width: 100%;
  }
	
	.clinic .info .inner-card{
		margin-top: 40px;
	}

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

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


  .clinic .fiximg {
    width: 100%;
    height: 300px;
    bottom: -100px;
  }



}



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

  *ご挨拶

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

.greeting {
  position: relative;
  z-index: 1;
  margin-top: 180px;
}

.greeting::before {
  content: "";
  width: 80%;
  height: 84%;
  background-image: url(../images/bg_img01.jpg);
  background-size: cover;
  background-repeat: repeat;
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.3;
}

.greeting .inner {
  max-width: none;
  padding: 140px 0 60px;
}

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

.greeting_flex {
  display: flex;
  margin-top: 80px;
}

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

.greeting_left {
  position: relative;
  z-index: 2;
  order: 2;
  width: calc(55%);
  height: fit-content;
  margin: 0;
  padding: 0  max(3.8vw, 50px);
  margin-top: 50px;
}

.greeting_right {
  position: relative;
  z-index: 1;
  order: 1;
  flex-shrink: 0;
  width: calc(45% + 0px);
  height: fit-content;
}

.greeting_text {
  font-family: var(--main-font);
  font-size: 100%;
}

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

.greeting_text h3 {
  font-size: 200%;

  line-height: 1.6;
  margin-bottom: 35px !important;
  color: var(--sub-color);
}

.greeting_text h3 span {
  color: var(--main-color);
}

.greeting_profile {
  color: var(--main-color);
  line-height: 1.75;
  text-align: center;
  margin-top: 20px;
  font-family: var(--main-font);
}

.greeting_profile-logo {
  max-width: 400px;
  margin: 15px auto 30px;
}

.greeting_profile-inner {
  display: flex;
  justify-content: center;
  align-items: baseline;
  color: var(--sub-color);
}

.greeting_profile .position {
  font-size: 150%;
  margin-right: 10px;
}

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

.greeting_profile .name span {
  font-size: 70%;
}

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

.greeting_img {
  position: relative;
}


.greeting_img img {
  width: 100%;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
  .greeting::before {
    width: 80%;
    height: 62%;
    bottom: -60px;
  }

  .greeting {
    margin-top: 0;
  }

  .greeting_flex {
    flex-flow: column;
    gap: 50px;
    padding: 0 20px;
    margin-top: 40px;
  }

  .greeting_left {
    width: 100%;
    padding: 0;
    margin-top: 0;
  }

  .greeting_right {
    width: 100%;
    margin: 0;
  }

  .greeting_btn {
    margin-top: 20px;
  }

  .greeting .inner {
    max-width: none;
    padding: 160px 0 0;
  }

  .greeting_profile {
    margin-top: 15px;
  }

  .greeting_profile-inner {
    display: inherit;
    justify-content: inherit;
    align-items: inherit;
  }
  
  .greeting_text h3 {
    margin-bottom: 25px !important;
    text-align: center;
    font-size: 160%;
  }

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

  .greeting_profile .name span {
    display: block;
  }

  .greeting_profile-logo {
    max-width: 280px;
    margin: 15px auto 20px;
  }

}

@media screen and (max-width: 340px) {
  .greeting_text h3 br {
    display: none !important;
  }
}

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

  *診療案内

================================================================================================================================== */
.medical {
  background: var(--bg-color2);
  padding: 0 20px;
}

.medical .inner {
  padding: 140px 0;
}

.medical .top_title span {
  color: var(--main-color);
}

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

.medical_item {
  position: relative;
  z-index: 1;
  width: calc(25% - 15px);
  height: auto;
}

.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: var(--main-color);
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 9px 1px;
}

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

.medical_icon {
  width: 70%;
  max-width: 96px;
  margin: 0 auto 15px !important;
}

.medical_icon img {
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
}

.medical_title h3 {
  color: #fff;
  font-size: 120%;
  font-family: var(--main-font);
}

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

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

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

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

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

.medical_item:nth-of-type(-n + 3) .medical_inner {
  padding: 20px 20px 40px;
  background: rgba(106, 105, 105, 0.6);
}

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

.medical_item:nth-of-type(-n + 3) .medical_title h3 {
  font-size: 160%;
}

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {

  .medical .inner {
    padding: 90px 0 60px;
  }

  .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;
    justify-content: space-between;
  }

  .medical_icon {
    width: 40%;
  }

  .medical_title h3 {
    font-size: 100%;
    line-height: 1.5;
  }

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

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

  .medical_item:nth-of-type(-n + 3) .medical_icon {
    width: 23%;
  }
  .medical_item:nth-of-type(-n + 3) .medical_title h3 {
    font-size: 150%;
  }
}

@media screen and (max-width: 375px) {
  .medical_btn span {
    font-size: 80%;
    padding: 5px 20px 5px 10px;
  }
}



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

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

==================================================================================================================================*/
.feature {
  padding: 0 20px;
}

.feature .inner {
  padding: 140px 0 200px;
}

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

.feature_item{
  position: relative;
  z-index: 1;
  display: flex;
  height: auto;
  width: 100%;
  margin-top: 50px;
}

.feature_img{
  position: relative;
  z-index: 1;
  /* width: 500px; */
  width: 640px;
  flex-shrink: 0;
  margin-top: -50px;
}

.feature_img::before {
  content: "";
  position: absolute;
  top: -50px;
  right: 50px;
  width: 1000px;
  height: 412px;
  background-image: url(../images/bg_img01.jpg);
  z-index: -1;
}

.feature_img img {
  box-shadow: -45px 45px 0 var(--sub-color);
  outline: 1px solid  #ccc;
  outline-offset: -10px;
}

.feature_inner{
  position: relative;
  width: 50%;
  height: 100%;
  padding: 0 0 0 120px;
  z-index: 2;
  font-family: var(--main-font);
}


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

.feature_title{
  display: flex;
  flex-flow: column;
  margin-bottom: 20px!important;
}

.feature_title h3{
  color: var(--sub-color);
  font-size: 170%;
  line-height: 1.75;
  font-family: var(--main-font);
}

.feature_num{
  margin: 0 0 35px !important;
  font-size: 120%;
  border-bottom: 1px solid var(--main-color);
}

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

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

.feature_item .btn01 > *{
  padding: 10px 40px 10px 30px;
  font-size: 95%;
}

.btnflex_feature{
  display: flex;
  align-items: center;
  flex-flow: wrap;
  gap: 5px;
  margin-top: auto;
}

/* 左右 */
.feature_item:nth-child(even){
  flex-flow: row-reverse;
}

.feature_item:nth-child(even) .feature_inner{
  padding: 0 120px 0 0;
}

.feature_item:nth-child(even) .feature_img::before {
  right: inherit;
  left: 50px;
}

.feature_item:nth-child(even) .feature_img img {
  box-shadow: 45px 45px 0 var(--sub-color);
}

/* ボタン横並び */
.btnflex_feature .btn01{
  width: calc(50% - 2.5px);
}

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

@media screen and (max-width: 640px) {
  .feature{
    padding-bottom: 0;
  }

  .feature .inner {
    padding: 90px 0 60px;
  }
  
  .feature_list{
    gap: 40px;
    margin-top: 70px;
  }

  .feature_item{
    flex-flow: column;
    width: 100%;
    margin: 0;
  }

  .feature_img{
    width: 100%;
    margin: 0;
  }

  .feature_img img {
    box-shadow: -20px 20px 0 var(--sub-color);
  }

  .feature_img::before {
    top: -20px;
    left: inherit;
    right: -20px;
    margin: auto;
    width: 200%;
    height: 100%;
  }

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

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

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

  .feature_num{
    margin: 0 0 25px !important;
  }

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

  /* 左右 */
  .feature_item:nth-child(even){
    flex-flow: column;
  }
  .feature_item:nth-child(even) .feature_inner{
    margin: 0 auto;
    padding: 40px 0 30px;
  }

  .feature_item:nth-child(even) .feature_img img {
    box-shadow: -20px 20px 0 var(--sub-color);
  }

  

  /* 横並び */
  .btnflex_feature .btn01{
    width: 100%;
  }
}

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

  *病状、症状から探す

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

.search .tab_list {
  gap: 10px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .search .panel {
    padding: 20px;
  }

  .search_list {
    gap: 10px;
  }

  .search_list li {
    width: 100%;
  }

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

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

  .search_img {
    width: 100%;
  }

  .panel_flex .search_list {
    width: 100%;
  }

  .panel_flex .search_list li {
    width: 100%;
  }
}

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

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

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

.column .inner {
  padding: 120px 0;
}

.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 .inner {
    padding: 90px 0 60px;
  }

  .column_list {
    gap: 40px;
    padding: 10px;
  }

  .column_box {
    width: 100%;
  }

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

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

  *無限スライダー

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

#infinitySlider .splide__list {
  /* gap: 10px; */
}

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

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

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

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

==================================================================================================================================*/
.pickup {
  padding: 0 20px;
}

.pickup .inner {
  width: 100%;
  padding: 200px 0;
}

.pickup_list {
  display: flex;
  flex-flow: wrap;
  gap: 160px;
}

.pickup_item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 70px;
}

.pickup_item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  right: -920px;
  top: -70px;
  z-index: -1;
  background: var(--bg-color);
  margin: auto;
}

.pickup_img {
  position: relative;
  z-index: 1;
  height: fit-content;

  width: 60%;
}

.pickup_img img {
  width: 100%;
}

.pickup_num {
  position: absolute;
  margin: 0 0 0 !important;
  font-size: 120%;
  font-family: var(--main-font);
  font-weight: 400;
  font-style: normal;
  background: var(--main-color);
  background-size: cover;
  width: 120px;
  height: 120px;
  border-radius: 100vh;
  color: #ffffff;
  left: -10px;
  top: -45px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  line-height: 1;
  padding: 25px 10px;
  box-shadow: 0px 0px 9px 1px rgba(0, 0, 0, 0.1);
}

.pickup_num span {
  font-size: 200%;
  margin-top: 5px;
}

.pickup_inner {
  position: relative;
  z-index: 2;
  width: 40%;
  font-family: var(--main-font);
}

.pickup_title {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  text-align: center;
}

.pickup_title h2, .pickup_title h3 {
  position: relative;
  z-index: 1;
  background: none;
  font-size: 220%;
  font-family: var(--main-font);
  border-bottom: 1px solid var(--sub-color);
  color: var(--sub-color);
  line-height: 1.5;
  padding-bottom: 5px;
}

.pickup_title h2::before, .pickup_title h3::before {
  position: absolute;
  top: -50px;
  right: 0;
  left: 0;
  margin: auto;
  background: url(../images/logo_simple.png) no-repeat;
  background-size: cover;
  content: "";
  width: 40px;
  height: 38px;
  z-index: 1;
}

.pickup_title span {
  font-size: 75%;
  display: block;
}

.pickup_text {
  margin: 40px 0 40px;
  padding: 0 40px;
}

.pickup_link {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
  margin-top: auto;
  justify-content: center;
}

.pickup_link .pickup_btn {
  width: calc((100% / 2) - (10px / 2));
  /*height: fit-content;*/
  display: flex;
  align-items: stretch;
}

.pickup_link .pickup_btn a {
  position: relative;
  z-index: 1;
  /*display: block;*/
  width: 100%;
  padding: 10px 25px 10px 10px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  font-size: 83%;
  letter-spacing: 0.15em;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.pickup_link .pickup_btn a:hover {
  background: #ffffff;
  color: var(--main-color);
}

.pickup_link .pickup_btn a::before {
  content: "\f101";
  position: absolute;
  /*top: 10px;*/
  right: 15px;
  display: block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 13px;
  text-align: center;
  color: #fff;
  transition: right 0.2s, background 0.2s;
}

.pickup_link .pickup_btn a:hover::before {
  right: 12px;
  color: var(--main-color);
}

/* 偶数 */
.pickup_item:nth-child(even) {
  flex-flow: row-reverse;
}

.pickup_item:nth-child(even) .pickup_num {
  left: inherit;
  right: -10px;
}

.pickup_item:nth-child(even)::before {
  right: inherit;
  left: -920px;
}




/*==============================================
  *SP　ピックアップ（追加コンテンツ）
==============================================*/
@media screen and (max-width:640px) {
  .pickup .inner {
    padding: 150px 0 60px;
  }

  .pickup_list {
    width: 100%;
    gap: 80px;
  }

  .pickup_title h2, .pickup_title h3 {
    font-size: 160%;
  }

  .pickup_item {
    flex-flow: column;
    width: 100%;
    gap: 40px;
  }

  .pickup_img {
    width: 100%;
    margin: 0 auto;
  }

  .pickup_inner {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .pickup_title {
    margin-top: 46px;
    margin-bottom: 40px;
  }

  .pickup_text {
    margin: 40px auto 30px;
    padding: 0 20px;
  }

  .pickup_link {
    min-height: auto;
    margin-top: 20px;
  }

  .pickup_link .pickup_btn {
    width: 100%;
  }

  .pickup_num {
    font-size: 100%;
    width: 90px;
    height: 90px;
    left: -10px;
    top: -45px;
    padding: 25px 10px;
  }
  
  .pickup_num span {
    font-size: 180%;
    margin-top: 3px;
  }

  /* 偶数 */
  .pickup_item:nth-child(even) {
    flex-flow: column;
  }

  .pickup_item:nth-child(even) .pickup_img {
    margin: 0 auto;
  }

  .pickup_item:nth-child(even) .pickup_inner {
    margin: 0 auto;
  }
}


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

  *病状・病名から探す（タブなし）

==================================================================================================================================*/
.symptoms {
  position: relative;
  padding: 0 20px;
}

.symptoms .inner {
  position: relative;
  padding: 120px 0 140px;
}

.symptoms .inner::before {
  position: absolute;
  content: "";
  width: 580px;
  height: 100%;
  bottom: 0;
  background: url(../images/bg_img02.png);
  background-position: center bottom;
  z-index: 1;
  background-size: contain;
  left: -250px;
  background-repeat: no-repeat;
  opacity: 0.8;
}

.symptoms_list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  height: fit-content;
  width: 83%;
  margin: 0 0 0 auto;

  justify-content: center;
}

.symptoms_item {
  position: relative;
  z-index: 1;
  width: 17.8%;
}

.symptoms_item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 128px;
  background-color: #fff;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  transition: background 0.2s;
  z-index: 2;
}

.symptoms_item::after {
  position: absolute;
  bottom: 8px;
  left: 144px;
  display: block;
  font-family: "Font Awesome 5 Free";
  content: "\f101";
  font-weight: 900;
  font-size: 13px;
  text-align: center;
  color: var(--main-color);
  transition: background 0.2s;
  z-index: 3;
}

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

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

.symptoms_item:hover::after {
  color: #fff;
}

.symptoms_inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  min-height: 76px;
  padding: 20px;
  background: var(--main-color);
  color: #fff;
  font-family: var(--main-font);
  font-size: 120%;
  border-radius: 9999px;
  text-align: center;
}

.symptoms_inner::before {
  position: absolute;
  display: block;
  content: "";
  background-color: var(--main-color);
  width: 2.5em;
  height: 1.5em;
  border-radius: 5px;
  left: 1em;
  bottom: 1em;
  transform: skewX(-45deg);
  rotate: -20deg;
}

.symptoms.fiximg {
  clip-path: inset(0);
}
.symptoms .fiximg_img {
  object-fit: cover;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.symptoms .fiximg_img img {
  width: 100%;
  height: 100%;
}

@media screen and (max-width:1300px) {
  .symptoms .inner::before {
    left: -200px;
  }
}

/*==============================================
  *SP　病状・病名から探す（タブなし）
==============================================*/
@media screen and (max-width:640px) {
  .symptoms::after {
    width: 100%;
    height: 80px;
    position: absolute;
    bottom: -1px;
    z-index: 2;
    background-size: contain;
  }

  .symptoms .inner {
    position: relative;
    padding: 90px 0 200px;
  }

  .symptoms .inner::before {
/*     width: 140px; */
	width: 190px;
    height: 100%;
    left: -50px;
  }

  .symptoms .top_title {
    position: relative;
    z-index: 1;
  }

  .symptoms_list {
    width: 100%;
    margin: 0 auto;
    gap: 10px 10px;
    justify-content: space-between;
  }

  .symptoms_item {
    width: 47%;
  }

  .symptoms_item::before {
    left: calc((270 / 750) * 100vw);
    width: calc((60 / 750) * 100vw);
    height: calc((60 / 750) * 100vw);
    bottom: calc((20 / 750) * 100vw);
  }
  
  .symptoms_item::after {
    left: calc((270 / 750) * 100vw);
    width: calc((60 / 750) * 100vw);
    height: calc((60 / 750) * 100vw);
    bottom: calc((8 / 750) * 100vw);
    font-size: calc((20 / 750) * 100vw);
  }

  .symptoms_inner {
    min-height: auto;
    width: calc((330 / 750) * 100vw);
    height: calc((330 / 750) * 100vw);
    font-size: 100%;
    padding: calc((15 / 750) * 100vw);
    line-height: 1.4;
    margin: 0 auto;
  }

  .symptoms_inner::before {
    width: calc((45 / 750) * 100vw);
    height: calc((35 / 750) * 100vw);
    left: calc((28 / 750) * 100vw);
    bottom: calc((38 / 750) * 100vw);
  }




  
}
