@charset "UTF-8";

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

@import url("variables.css");

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

  *基本設定

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

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


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

  *タイトル

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

.top_title h2 {
  padding: 0;
  font-size: 220%;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--main-color);
  font-size: 450%;
  font-family: "museo-sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  opacity: 0.5;
}

/* 左寄せ */
.top_title.title_left {
  text-align: start;
}

/*==============================================
  *SP タイトル
==============================================*/
@media screen and (max-width: 640px) {
  .top_title h2 {
    margin: 5px 0 0;
    font-size: 26px;
  }

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

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

  *メインビジュアル

==================================================================================================================================*/
.mainvisual {
  position: relative;
  z-index: 1;
  height: 950px;
  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 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:hover span {
  background: var(--text-color);
}

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

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

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

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

.mvSlider #mv_btnNext.sliderBtn span::before {
  content: "\f105";
  right: 20px;
}

/* 各スライダーのボタンは非表示に */
.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: 200%;
	font-family: "Zen Old Mincho", serif;
	font-weight: 500;
	font-style: normal;
	   filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff); 
text-shadow: 
    -2px -2px 10px #ffffff,  /* 左上 */
     2px -2px 10px #ffffff,  /* 右上 */
    -2px  2px 10px #ffffff,  /* 左下 */
     2px  2px 10px #ffffff,  /* 右下 */
    -2px  0px 10px #ffffff,  /* 左 */
     2px  0px 10px #ffffff,  /* 右 */
     0px -2px 10px #ffffff,  /* 上 */
     0px  2px 10px #ffffff;  /* 下 */
	line-height: 1.75;
  letter-spacing: 0.1em;
}

.mvCatch p .main{
  display: block;
  font-size: 150%;
  margin-bottom: 15px;
  /* letter-spacing: 3px; */
  letter-spacing: 0.12em;
}

.mvCatch p .main .color{
  color: var(--main-color);
}

.mvCatch p .main .color:nth-of-type(2){
  color: #c9dc58;
}

.mvCatch p .color{
  color: #A8BC29;
}

/* ---------- コンテンツ ---------- */
.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: rgb(255, 255, 255, 0.4);
  border-radius: 50%;
}

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

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

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

.open_bnr .nairankai_tit {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 5px 10px;
  background: #ffffff;
  border-radius: 300px;
  color: var(--main-color);
  font-size: 90%;
  text-align: center;
}

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

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

/* ---------- MVのバナー ---------- */
.mv_bnr{
  position: absolute;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mv_bnr div{
  position: relative;
  width: 240px;
  height: 240px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  line-height: 1.7;
  box-shadow: 0 0 8px #ADCFC9;
  transition: 0.3s;
}

.mv_bnr div:nth-of-type(1):hover,
.mv_bnr div:nth-of-type(2):hover{
  transition: 0.3s;
  opacity: 0.7; 
}

.mv_bnr div:nth-of-type(2){
  box-shadow: 0 0 8px #BEDCC6;
}

.mv_bnr div:nth-of-type(3){
  padding: 120px 20px 20px;
  box-shadow: 0 0 8px #E2ECA6;
}

.mv_bnr div::before{
  position: absolute;
  content: "";
  width: 70px;
  height: 70px;
  background: 
  url(../images/mv_icon01.png) no-repeat 50% 50% / calc(400px*0.15) calc(350px*0.15), 
  var(--main-color) 0% 0% / 50px 50px;
  border-radius: 50%;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.mv_bnr div:nth-of-type(2):before{
  background: url(../images/mv_icon02.png) no-repeat 50% 50% / calc(400px*0.15) calc(350px*0.15),
  #7fba90 0% 0% / 50px 50px;
}

.mv_bnr div:nth-of-type(3):before{
  background: url(../images/mv_icon03.png) no-repeat 50% 50% / calc(400px*0.15) calc(350px*0.15),
  #A8BC29 0% 0% / 50px 50px;
}

.mv_bnr a{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  color: var(--text-color);
}

.mv_bnr div:nth-of-type(1) a,
.mv_bnr div:nth-of-type(2) a{
  padding: 120px 20px 20px;
}

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

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

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

  .mvCatch {
    top: auto;
    bottom: 60px;
  }

	.mvCatch p {
		font-size: 115%;
		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: 
			-2px -2px 5px #ffffff,  /* 左上 */
			2px -2px 5px #ffffff,  /* 右上 */
			-2px  2px 5px #ffffff,  /* 左下 */
			2px  2px 5px #ffffff,  /* 右下 */
			-2px  0px 5px #ffffff,  /* 左 */
			2px  0px 5px #ffffff,  /* 右 */
			0px -2px 5px #ffffff,  /* 上 */
			0px  2px 5px #ffffff;  /* 下 */

	}

  .mvContents {
    display: none;
  }

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

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

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

  .open_bnr {
    position: static;
  }

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

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

  .mv_bnr{
    position: unset;
    flex-wrap: wrap;
    gap: 15px;
  }

  .mv_bnr div{
    width: 100%;
    height: auto;
    border-radius: 10px;
    font-size: 100%;
  }

  .mv_bnr div::before{
    width: 50px;
    height: 50px;
    top: 10px;
    background: url(../images/mv_icon01.png) no-repeat 50% 50% / calc(400px* 0.1) calc(350px* 0.1), var(--main-color) 0% 0% / 50px 50px;
  }
  
  .mv_bnr div:nth-of-type(2):before{
    background: url(../images/mv_icon02.png) no-repeat 50% 50% / calc(400px* 0.1) calc(350px* 0.1), #7fba90 0% 0% / 50px 50px;
  }

  .mv_bnr div:nth-of-type(3):before{
    background: url(../images/mv_icon03.png) no-repeat 50% 50% / calc(400px* 0.1) calc(350px* 0.1), #A8BC29 0% 0% / 50px 50px;
  }

  .mv_bnr div:nth-of-type(3),
  .mv_bnr div:nth-of-type(1) a,
  .mv_bnr div:nth-of-type(2) a{
    padding: 70px 15px 15px;
  }
}


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

  *バナーエリア

==================================================================================================================================*/
:is(.banner_grid , .banner_slider) .banner_slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--text-color);
}

/* 画像のみのバナー */
:is(.banner_grid , .banner_slider) .onlyimg .banner_slide {
  height: fit-content;
  padding: 0;
}

:is(.banner_grid , .banner_slider) .onlyimg .banner_slide img {
  width: 100%;
  height: auto;
  transition: opacity 0.2s;
}

:is(.banner_grid , .banner_slider) .onlyimg a.banner_slide:hover img {
  opacity: 0.5;
}

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

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

:is(.banner_grid , .banner_slider) .input a.banner_slide:hover {
  background: #f5f5f5;
}

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

:is(.banner_grid , .banner_slider) .input .banner_slide .slide_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:is(.banner_grid , .banner_slider) .input .slide_inner {
  width: calc(100%);
  height: 100%;
  padding: 0 0 10px;
}

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

:is(.banner_grid , .banner_slider) .input .slide_content {
  font-size: 90%;
}

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

.banner_grid ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc((100% / 3) - (40px / 3));
}

/* ----- スライダーバナー ----- */
#bannerSlider .splide {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
  padding: 0 20px;
}

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

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

#bannerSlider .splide__arrow:hover span {
  background: var(--text-color);
}

#bannerSlider .splide__arrow span::before {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: #ffffff;
  font-size: 20px;
  transition: color 0.2s;
}

#bannerSlider .splide__arrow--prev {
  left: 0;
}

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

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

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

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

/* ----- ページネーション ----- */
#bannerSlider .splide__pagination {
  position: absolute;
  bottom: -40px;
  left: 50%;
  z-index: 1;
  display: flex;
  gap: 15px;
  transform: translateX(-50%);
}

#bannerSlider .bannerSlider-page {
  width: 12px;
  height: 12px;
  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 ul li {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* ----- スライダーバナー ----- */
  #bannerSlider .splide {
    margin-bottom: 30px;
    padding: 0 15px;
  }

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

  #bannerSlider .splide__arrow span::before {
    font-size: 16px;
  }

  #bannerSlider .splide__pagination {
    bottom: -30px;
  }
}


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

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

==================================================================================================================================*/
  .clinic {
    position: relative;
    z-index: 1;
    padding-bottom: 80px;
    width: 100%;
    height: 100%;
    background: #fff;
    top: 0;
    left: 0;  
  }

  .clinic::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 150px;
    background: url(../images/clinic_bg.jpg) repeat top / contain;
    background-size: auto auto;
    mask: url(../images/wave02.svg) no-repeat center / cover;
    -webkit-mask: url(../images/wave02.svg) no-repeat center / cover;
    bottom: calc(55% + -5px);
    z-index: -1;
  }

  .clinic::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 55%;
    background: url(../images/clinic_bg.jpg) repeat top / contain;
    bottom: 0;
  }
  
  /* ----- お知らせ ----- */
  .clinic .news {
    position: relative;
    z-index: 0;
  }

  .clinic .news::after{
    position: absolute;
    content: "";
    background: url(../images/shape02.svg) no-repeat center / contain;
    width: calc(153px* 4.8);
    height: calc(150px* 4.8);
    top: -50%;
    right: 0%;
    transform: rotate(50deg);
    opacity: 0.25;
    z-index: -1;
  }
 
  .clinic .news .inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    padding: 70px 0;
  }
  
  .clinic .news .news_left {
    flex-shrink: 0;
  }
  
  .clinic .news .top_title {
    margin: 0 0 30px;
    position: relative;
    z-index: 0;
  }

  .clinic .news .top_title::after{
    position: absolute;
    content: "";
    background: url(../images/shape01.svg) no-repeat center / contain;
    width: calc(156px* 1.2);
    height: calc(150px* 1.2);
    top: 40%;
    left: 0%;
    transform: translateY(-50%);
    opacity: 0.8;
    z-index: -1;
  }
  
  .clinic .news .btn01 {
    margin-top: 30px;
    text-align: center;
  }
  
  /* ----- 医院概要 ----- */
  .clinic .info{
    position: relative;
    z-index: 1;
  }

  .clinic .info .inner {
    display: flex;
    gap: 40px;
    padding: 40px;
    max-width: 1280px;
    background: var(--bg-color);
    box-shadow: 0 0 8px #BDD9D3;
    border-radius: 15px;
    position: relative;
    z-index: 0;
  }
  
  .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: 3px 0 7px 50px;
    font-size: 30px;
    font-family: "museo-sans", sans-serif;
    font-weight: 300;
    font-style: normal;
    line-height: 1;
  }
  
  .clinic .info address .tel::before {
    content: "\f095";
    background: #A8BC29;
  }

  .clinic .info address .tel a{
    color: var(--text-color);
  }
  
  .clinic .info address .fax {
    margin-top: 15px;
    padding: 5px 0 5px 50px;
    font-size: 30px;
    font-family: "museo-sans", sans-serif;
    font-weight: 300;
    font-style: normal;
    line-height: 1;
  }
  
  .clinic .info address .fax::before {
    content: "\f1ac";
    background: #7fba90;
  }
  
  .clinic .info address .note {
    margin-top: 20px;
    padding-left: 12px;
    font-size: 90%;
  }
  
  .clinic .info .speciality {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px auto 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
  }
  
  .clinic .info .speciality .title {
    flex-shrink: 0;
    width: fit-content;
    padding: 10px 30px;
    background: var(--main-color);
    color: #ffffff;
    text-align: center;
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    font-style: normal;
    border-radius: 5px;
  }
  
  .clinic .info .office_hour:first-child {
    margin-top: 30px;
  }
  
  .clinic .info .list_access {
    margin-top: 5px;
  }
  
  .clinic .info .calendar_text {
    margin-top: 20px;
  }
  
  .clinic .info .btn01 {
    margin-top: 30px;
    text-align: center;
  }
  
  .clinic .info .googlemap iframe {
    height: 410px;
  }
  
  @media screen and (max-width: 640px) {
    .clinic {
      padding-bottom: 60px;
    }

    .clinic .news::after{
      width: calc(153px* 2.8);
      height: calc(150px* 2.8);
      top: unset;
      bottom: 0;
    }

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

    .clinic .news .top_title::before{
      width: calc(153px* 1.2);
      height: calc(150px* 1.2);
    }

    .clinic .news .inner {
      flex-flow: column;
      gap: 0;
      padding: 60px 20px;
    }
  
    .clinic .info .inner {
      flex-flow: column;
      padding: 20px 15px 50px;
      width: 90%;
    }
  
    .clinic .info .inner > * {
      width: 100%;
    }
  
    .clinic .info .speciality {
      flex-flow: column;
      gap: 10px;
      padding: 10px;
    }
  
    .clinic .info .speciality .title {
      width: 100%;
    }
  }
  

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

  *ご挨拶

==================================================================================================================================*/
.greeting{
  position: relative;
  z-index: 0;
}

.greeting::before{
  position: absolute;
  content: "";
  top: -9%;
  right: -6%;
  width: calc(153px* 3.6);
  height: calc(150px* 3.6);
  background: url(../images/shape02.svg) no-repeat center / contain;
  opacity: 0.9;
}

.greeting::after{
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background:
  url(../images/logo_icon_white.svg) no-repeat 0% 105% / calc(217px*3) calc(150px*3) ,
  url(../images/shape01.svg) no-repeat -10% 170% / calc(156px*5.5) calc(150px*5.5);
  bottom: 0;
  left: 0;
  opacity: 1;
  z-index: 0;
}

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

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

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

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

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

.greeting_text h3{
	font-family: "Zen Old Mincho", serif;
	font-weight: 500;
	font-style: normal;
/* 	font-size: 120%; */
	font-size: 170%;
	color: var(--sub-color02);
}

.greeting_img{
  position: relative;
  z-index: 0;
}

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

.greeting_profile {
  color: var(--main-color);
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.75;
  text-align: center;
  margin-top: 1em;
}

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

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

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

/*==============================================
  *SP ご挨拶
==============================================*/
@media screen and (max-width: 640px) {
  .greeting::before{
    top: -6%;
    right: -10%;
    width: calc(153px* 2.2);
    height: calc(150px* 2.2);
  }

  .greeting::after{
    background: 
    url(../images/logo_icon_white.svg) no-repeat -100% 100% / calc(217px* 1.6) calc(150px* 1.6), 
    url(../images/shape01.svg) no-repeat 80% 105% / calc(156px* 3) calc(150px* 3)
  }

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

  .greeting_left {
    width: 100%;
  }
	
	.greeting_text h3{
/* 		font-size: 110%; */
		font-size: 130%;
	}

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


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

  *診療案内

==================================================================================================================================*/
.medical {
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)) , url(../images/medical_bg.jpg) no-repeat center / cover !important;
}

.medical .inner{
  padding-bottom: 240px;
}

.medical .top_title {
  color: #ffffff;
}

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

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

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

.medical_item::before{
  position: absolute;
  content: "";
  border: 1px solid #fff;
  border-radius: 12px;
  width: calc(100% - 15px);
  height: calc(100% - 15px);
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 0;
}

.medical_item:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 8px #9CC5BE;
  border-radius: 15px;
}

.medical_item:hover > .medical_inner{
  background: rgba(255, 255, 255, 0.7);
}

.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: rgba(255, 255, 255, 0.5);
  text-align: center;
  border-radius: 15px;
}

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

.medical_icon {
  width: 70%;
  max-width: 120px;
  margin: 0 auto 15px !important;
  background: var(--bg-color);
  padding: 23px;
  border-radius: 50%;
}

.medical_item:hover .medical_icon{
  background: #C8DAD2;
}

.medical_title h3 {
  color: var(--text-color);
  font-size: 120%;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

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

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

.medical_btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto;
  padding: 7px 25px 7px 15px;
  background: #7AAEA1;
  border: 1px solid #7AAEA1;
  color: #ffffff;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 1px;
  text-align: center;
  transition: padding 0.2s, color 0.2s, background 0.2s;
  border-radius: 30px;
}

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

/*==============================================
  *SP 診療案内
==============================================*/
@media screen and (max-width: 640px) {
  .medical {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)) , url(../images/medical_bg_sp.jpg) no-repeat center / cover !important;
  }

  .medical .inner{
    padding-bottom: 120px;
  }

  .medical_list {
    gap: 10px;
  }

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

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

  .medical_item::before{
    width: calc(100% - 10px);
    height: calc(100% - 10px);
  }

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

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

  .medical_icon {
    margin: 0 auto 10px !important;
  }

  .medical_title h3 {
    font-size: 110%;
  }

  .medical_btn span{
    font-size: 3.3vw;
  }

}


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

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

==================================================================================================================================*/
  .feature {
    position: relative;
    z-index: 0;
    background: var(--bg-color);
  }
  
  .feature::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 120px;
    top: -110px;
    left: 0;
    background-size: auto auto;
    background-color: var(--bg-color);
    mask: url(../images/wave.svg) repeat-x center / contain;
    -webkit-mask: url(../images/wave.svg) repeat-x center / contain;
    z-index: 0;
  }

  .feature::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    bottom: 0;
    background: 
    url(../images/leaf01.png) no-repeat 103% 5% / calc(500px* 1) calc(473px* 1),
    url(../images/leaf02.png) no-repeat 95% 47% / calc(500px* 0.75) calc(928px* 0.75),
    /* url(../images/nut.png) no-repeat 94% 38% / calc(300px*0.5) calc(754px*0.5),
    url(../images/nut.png) no-repeat 91% 75% / calc(300px*0.5) calc(754px*0.5), */
    url(../images/leaf03.png) no-repeat 0% 94% / calc(500px*0.75) calc(928px*0.75);
    opacity: 0.6;
    z-index: -1;
  }

  .feature .inner{
    padding: 20px 0 130px;
  }
  
  .feature_list{
    display: flex;
    flex-flow: wrap;
    gap: 70px 30px;
  }
  
  .feature_item{
    display: flex;
    height: auto;
    width: 100%;
    margin-top: 50px;
    position: relative;
    z-index: 0;
  }

  .feature_item::before{
    position: absolute;
    content: "";
    width: 70%;
    height: 100%;
    background: #7fba90;
    top: 45%;
    left: 5%;
    transform: translateY(-50%);
    z-index: -1;
    border-radius: 115px;
  }
  
  .feature_img{
    width: 570px;
    flex-shrink: 0;
    margin-top: -50px;
    position: relative;
    z-index: 0;
  }

  .feature_img img{
    border-radius: 15px;
  }

  .feature_img::before{
    position: absolute;
    content: "";
    width: 55vw;
    height: 1px;
    border-top: 2px solid #7fba90;
    left: -50vw;
    top: 30%;
    z-index: -1;
  }
  
  .feature_inner{
    position: relative;
    z-index: 2;
    display: flex;
    flex-flow: column;
    width: calc(100% + 50px);
    height: 100%;
    min-height: 400px;
    margin: 0 0 0 -50px;
    padding: 50px 30px 50px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 8px #ADCFC9;
  }
  
  .feature_inner > *:not(:last-child){
    margin-bottom: 30px;
  }
  
  .feature_title{
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px!important;
  }
  
  .feature_title h3{
    color: #7fba90;
    font-size: 150%;
    font-family: "Zen Old Mincho", serif;
    font-weight: 600;
    font-style: normal;
    line-height: 1.75;
    letter-spacing: 3px;
    width: calc(100% - 80px);
  }
  
  .feature_num{
    margin: 0 0 5px!important;
    font-size: 230%;
    font-family: "museo-sans", sans-serif;
    font-weight: 300;
    font-style: normal;
    line-height: 1.2;
    text-shadow: #437A53 1px 0 10px;
    width: 80px;
    height: 80px;
    background: #E7F2EA;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 8px #ADCFC9;
  }
  
  .feature_num span{
    color: #fff;
  }

  .feature_item .btn_flex {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
/*     gap: 0 20px; */
	gap: 10px 20px;
	justify-content: center;
  }
  
  .feature_item .btn01 {
    margin-top: auto;
    text-align: center;
  }
  
  .feature_item .btn01 > *{
    padding: 10px 40px 10px 30px;
    font-size: 95%;
    background: #7fba90;
    border: 1px solid #7fba90;;
  }

  .feature_item .btn01 > *:hover{
    background:#fff;
    color: #7fba90;
  }
  
  .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)::before{
    left: unset;
    right: 5%;
    background: #A8BC29;
  }

  .feature_item:nth-child(even) .feature_img::before{
    left: unset;
    right: -50vw;
    border-top: 2px solid #A8BC29;
  }
  
  .feature_item:nth-child(even) .feature_inner{
    margin: 0 -50px 0 0;
    box-shadow: 0 0 8px #E7EFB6;
  }

  .feature_item:nth-child(even) .feature_title h3{
    color: #A8BC29;
  }

  .feature_item:nth-child(even) .feature_num{
    background: #F1F5D4;
    text-shadow: #879821 1px 0 10px;
    box-shadow: 0 0 8px #CBDD64;
  }

  .feature_item:nth-child(even) .btn01 > *{
    background: #A8BC29;
    border: 1px solid #A8BC29;
  }

  .feature_item:nth-child(even) .btn01 > *:hover{
    background: #fff;
    color: #A8BC29;
  }
  
  /* ボタン横並び */
  .btnflex_feature .btn01{
    width: calc(50% - 2.5px);
  }
  
  .btnflex_feature .btn01 > * {
    width: 100%;
  }
  
  @media screen and (max-width: 640px) {
    .feature{
      padding-bottom: 0;
    }

    .feature::before{
      height: 60px;
      top: -60px;
      left: 0;
      mask: url(../images/wave.svg) no-repeat center / cover;
      -webkit-mask: url(../images/wave.svg) no-repeat center / cover;
    }

    .feature .inner{
      padding: 30px 20px 60px;
    }
    
    .feature_list{
      gap: 40px;
    }
  
    .feature_item{
      flex-flow: column;
      width: 100%;
      margin: 0;
    }

    .feature_item::before,
    .feature_item:nth-child(even)::before{
      width: 100%;
      height: calc(100% + 8px);
      top: 0;
      left: 8px;
      transform: unset;
      border-radius: 15px;
    }
  
    .feature_img{
      width: 100%;
      margin: 0;
    }

    .feature_img img{
      border-radius: 15px 15px 0 0;
    }
  
    .feature_inner{
      width: 100%;
      min-height: auto;
      padding: 20px 20px 30px;
      margin: 0;
      border-radius: 0 0 15px 15px;
    }

    .feature_num{
      width: 80px;
      height: 80px;
      font-size: 220%;
    }
  
    .feature_title{
      flex-direction: column;
      margin: -50px auto 15px !important;
      min-height: auto;
      gap: 10px;
    }

    .feature_title h3{
      width: 100%;
      font-size: 130%;
      letter-spacing: 1px;
    }
  
    .feature_item .btn01{
      text-align: center;
    }
  
    /* 左右 */
    .feature_item:nth-child(even){
      flex-flow: column;
    }
    .feature_item:nth-child(even) .feature_inner{
      margin: 0 auto;
    }
  
    /* 横並び */
    .btnflex_feature .btn01{
      width: 100%;
    }
  }


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

  *病状、症状から探す

==================================================================================================================================*/
.search {
  position: relative;
  width: 100%;
  height: 100%;
  background: url(../images/clinic_bg.jpg) repeat top / contain;
}

.search::before{
  position: absolute;
  content: "";
  width: 100%;
  height: 500px;
  background: url(../images/search01.jpg) no-repeat center / cover;
  top: 0;
  right: 0;
}

.search .inner{
  padding-top: 120px;
}

.search .inner .top_title{
  position: relative;
  z-index: 0;
  margin-bottom: 30px;
}

/* .search .inner .top_title{
  color: #fff;
} */

/* .search .inner .top_title::before{
  position: absolute;
  content: "";
  width: calc(156px*2.5);
  height: calc(150px*2.5);
  background: url(../images/shape01.svg) no-repeat center / contain;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: -1;
} */

/* .search .inner .top_title::before{
  position: absolute;
  content: "";
  width: 600px;
  height: 600px;
  background: #7AAEA1;
  border-radius: 50%;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
} */

.search .tab_list {
  gap: 10px;
  display: none;
}

.search .panel {
  position: relative;
  z-index: 1;
  padding: 30px;
  background: #7AAEA1;
  border-radius: 15px;
}

.search .panel::before{
  position: absolute;
  content: "";
  width: calc(100% - 15px);
  height: calc(100% - 15px);
  border: 2px dotted #fff;
  border-radius: 13px;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

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

.search_list li {
  width: calc((100% / 3) - (40px / 3));
  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 30px 10px 48px;
  background: var(--bg-color);
  color: var(--text-color);
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
}

.search_list li a:hover{
  background: #fff;
}

/* 矢印 */
.search_list li a::before {
  position: absolute;  
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f00c";
  top: 50%;
  left: 17px;
  z-index: 2;
  display: block;
  color: #fff;
  transform: translateY(-50%);
  transition: background 0.2s;
}

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

/* 矢印の背景 */
.search_list li a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 13px;
  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;
}

/* ----- 画像あり ----- */
.search .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 .inner{
    padding-top: 80px;
  }

  .search .inner .top_title::before{
    width: 100%;
    height: 400px;
  }

  .search .tab_list {
    flex-flow: column;
    gap: 7px;
    margin: 0 0 15px;
  }

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

  .search_list {
    gap: 10px;
  }

  .search_list li {
    width: calc(100%);
  }

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

  .search .panel {
    padding: 20px;
  }

  /* ----- 画像あり ----- */
  .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: rgb(234,241,238);
  background: linear-gradient(110deg, rgba(234,241,238,1) 0%, rgba(255,255,255,1) 25%, rgba(249,251,238,1) 50%, rgba(234,241,238,1) 75%, rgba(255,255,255,1) 100%);
}

.column .column_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 50px 25px;
  padding: 30px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 0 8px #BED9D4;
}

.column .column_box {
  width: calc((100% / 4) - (75px / 4));
}

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

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

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

  *無限スライダー

==================================================================================================================================*/
#infinitySlider {
  margin: 15px 0;
}

#infinitySlider .splide__list {
  gap: 10px;
}

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

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