@charset "UTF-8";

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

  *基本設定

================================================================================================================================== */
.front {
  overflow: hidden;
  background: url(../images/bg01.jpg) no-repeat center / cover;
  background-attachment: fixed;
}

section .inner {
  padding: 80px 40px 100px;
}

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

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

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

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

/* ==============================================
  *SP 基本設定
============================================== */
@media screen and (max-width: 640px) {
  .front {
    background: url(../images/bg01_sp.jpg) no-repeat center / cover;
  }

  section .inner {
    padding: 70px 20px;
  }

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

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

  *タイトル

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

  /* 左寄せ */
}

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

.top_title h2 {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 160%;
  letter-spacing: 0.08em;
  color: var(--title-color);
}

.top_title .eng {
  display: inline-block;
  /* margin-bottom: 10px; */
  color: var(--main-color);
  font-family: classico-urw, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 100px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  background: linear-gradient(90deg, #A4CCA1 0%, #90C0A6 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 5px #fff);
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
  .top_title {
    margin-bottom: 30px;
  }

  .top_title h2 {
    margin: 5px 0 0;
    font-size: 20px;
  }

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

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

  *メインビジュアル

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

.mainvisual::before{
  position: absolute;
  content: '';
  background: #fff;
  width: 100%;
  height: 70%;
  top: 0;
  left: 0;
  z-index: -1;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.mvCatch .inner {
  position: relative;
  z-index: 1;
  padding: 0 40px;
}

.mvCatch p {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
/*   font-size: 220%; */
	    font-size: 280%;
  background: linear-gradient(90deg, #51A371 0%, #bda27a 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
	    line-height: 1.8em;
}
.mvCatch p span{
	    font-size: 150%;
}
.mvCatch p .small{
	font-size: 60%;
	letter-spacing: 0.01em;
}
/* ----- コンテンツ ----- */
.mvContents {
  position: absolute !important;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

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

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

.open_bnr {
  position: absolute;
  bottom: 50px;
  display: inline-block;
}

.open_bnr_inner{
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
}

.open_bnr_inner::before{
  position: absolute;
  content: '';
  background: rgba(81, 163, 113, 0.4);
  border-radius: 5px;
  width: 120px;
  height: 120px;
  top: 0;
  right: 0;
  z-index: -1;
}

.open_bnr_inner::after{
  position: absolute;
  content: '';
  background: rgba(81, 163, 113, 0.4);
  border-radius: 5px;
  width: 120px;
  height: 120px;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.open_bnr_inner > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 340px;
  height: 240px;
  padding: 15px;
  background: linear-gradient(rgba(255, 255, 255, 0.2),rgba(255, 255, 255, 0.2)), url(../images/bg02.jpg) no-repeat center / cover;
  border-radius: 5px;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
  position: relative;
  z-index: 0;
}

.open_bnr .date {
  font-size: 110%;
  color: var(--main-color);
}

.open_bnr .open_text {
  margin: 0 0 10px;
  font-size: 180%;
  letter-spacing: 0;
  color: var(--main-color);
}

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

.nairakai_date{
  color: var(--title-color);
}

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

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

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

.mv_bnr div{
  width: 210px;
  height: 210px;
  padding: 100px 10px 10px;
  display: flex;
  justify-content: center;
  /* align-items: center; */
  background: var(--bg02-color);
  border-radius: 5px;
/*   color: var(--main-color); */
  color: #f4a66d;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 105%;
  line-height: 1.75;
  text-align: center;
  position: relative;
  z-index: 0;
}

.mv_bnr div::before {
  position: absolute;
  content: '';
  background-image: url(../images/mv_bnr_icon01.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 50% 50%;
  width: 60px;
  height: 60px;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.mv_bnr div:nth-of-type(2)::before{
  background-image: url(../images/mv_bnr_icon02.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 50% 50%;
}
/* 先生吹き出しバナー */
.top_catch_bnr {
    position: absolute;
    top:38%;
	right: 10%;
}
.top_catch_bnr img {
    width: 320px;
}
/* ----- RIBONバナー ----- */
.mv_ribon {
  position: absolute;
  bottom: 150px;
  left: 0;
}

.sp_only {
  display: none;
}

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

  .mvImg{
    padding: 0 10px 10px;
  }

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

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

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

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

  .mvCatch {
    top: auto;
	  bottom: 130px;
/*     bottom: 20px; */
    display: none;
  }

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

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

  .mvCatch p {
	position: relative;
    font-size: 110%;
    line-height: 1.75;
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff);
  }
	.mvCatch p .small{
		font-size:75%;
	}
	.mvCatch p::before {
    content: attr(data-text); /* HTML側に data-text="テキスト" を入れる必要あり */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* 文字の後ろへ */
    -webkit-text-fill-color: #ffffff; /* 影用の色は白 */
    text-shadow: 
      0 0 5px #ffffff, 
      0 0 5px #ffffff, 
      0 0 5px #ffffff;
}
  .mvContents {
    display: none;
  }

  .sp_only {
    display: block;
    background: none !important;
    position: relative;
    z-index: 2;
  }

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

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

  .open_bnr {
    position: static;
    width: 100%;
    max-width: 350px;
    border-radius: 0;
    margin-bottom: 10px;
  }

  .open_bnr_inner::before,
  .open_bnr_inner::after{
    width: 80px;
    height: 80px;
  }

  .open_bnr_inner > * {
    width: 100%;
    height: auto;
    padding: 20px 20px;
    border-radius: 5px;
  }

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

  .open_bnr .open_text{
    font-size: 130%;
    margin-bottom: 5px;
  }

  .open_bnr .nairankai_tit{
    font-size: 80%;
  }
/* 先生吹き出しバナー */
.top_catch_bnr {
	top: auto;
	right: 5%;
	bottom: 8%;
}
.top_catch_bnr img {
    width: 220px;
}
  /* ----- MVのバナー ----- */
  .mv_bnr{
    position: unset;
    flex-direction: column;
    width: 100%;
    max-width: 350px;
  }

  .mv_bnr div{
    width: 100%;
    height: auto;
    padding: 75px 10px 20px;
    line-height: 1.5;
  }

  .mv_bnr div::before,
  .mv_bnr div::after{
    width: 50px;
    height: 50px;
    top: 15px;
  }
}

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

  *バナーエリア

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

.top_banner::before{
  position: absolute;
  content: '';
  background: url(../images/leaf01.png) no-repeat center / contain;
  width: calc(500px * 0.3);
  height: calc(382px * 0.3);
  top: -70px;
  left: -10px;
  z-index: 0;
}

.top_banner::after{
  position: absolute;
  content: '';
  background: url(../images/leaf02.png) no-repeat center / contain;
  width: calc(500px* 0.4);
  height: calc(310px* 0.4);
  bottom: 110px;
  right: 30px;
  z-index: -1;
}

/* ----- 共通設定 ----- */
.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);
}

.top_banner_btn {
    margin-bottom: 30px;
    justify-content: center;
}

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

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

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

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

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

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

#bannerSlider .bannerSlider_arrow_prev {
  left: 0;
}

#bannerSlider .bannerSlider_arrow_next {
  right: 0;
}

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

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

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

/* ==============================================
  *SP バナーエリア（追加コンテンツ）
============================================== */
@media screen and (max-width: 640px) {
  .top_banner::before{
    width: calc(500px * 0.2);
    height: calc(382px * 0.2);
    top: -30px;
  }

  .top_banner::after{
    width: calc(500px * 0.25);
    height: calc(310px * 0.25);
    bottom: 20px;
    right: 0;
  }

  /* ----- グリッドバナー ----- */
  .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::before{
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background-image: url(../images/dots01.png), url(../images/dots01.png);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: calc(500px * 0.4) calc(395px * 0.4), calc(500px * 0.5) calc(395px * 0.5);
  background-position: 4% 38%, 98% 101%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.3;
}

/* ----- お知らせ ----- */
.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: 50px 40px;
}

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

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

.clinic .news .top_title .eng{
  font-size: 65px;
  letter-spacing: 0.06em;
}

.clinic .news .top_title h2{
  font-size: 150%;
}

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

/* ----- 医院概要 ----- */
.clinic .info{
  background: linear-gradient(rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.7)100%);
}

.clinic .info .inner {
  display: flex;
  gap: 40px;
  padding: 30px 40px 80px;
}

.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-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 30px;
  line-height: 1;
}

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

.clinic .info address .tel a{
  color: var(--title-color);
}

.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  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: 15px;
  background: var(--bg-color);
  border-radius: 5px;
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  color: #ffffff;
  text-align: center;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  border-radius: 3px;
}

.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 .btn01 a{
  width: 50%;
}

.clinic .info .googlemap iframe {
  height: 350px;
  width: 100%;
  border-radius: 5px;
}

@media screen and (max-width: 640px) {
  .clinic::before{
    background-size: calc(500px * 0.4) calc(395px * 0.4), calc(500px * 0.5) calc(395px * 0.5);
    background-position: 4% 38%, 120% 101%;
  }

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

  .clinic .news .btn01{
    width: 100%;
  }

  .clinic .news .btn01 a{
    width: 80%;
  }

  .clinic .info .inner {
    flex-flow: column;
    padding: 0 20px 70px;
  }

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

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

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

  .clinic .info .btn01 a{
    width: 80%;
  }
}

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

  *ご挨拶

================================================================================================================================== */
.greeting{
  position: relative;
  z-index: 1;
  background: linear-gradient(rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.2) 20%, rgba(240, 249, 244, 0.2) 80%, rgba(234, 247, 237, 1) 100%), url(../images/greeting_bg.jpg) no-repeat center / cover;
}

.greeting::before{
  position: absolute;
  content: '';
  background: url(../images/leaf03.png) no-repeat center / contain;
  width: calc(500px * 0.55);
  height: calc(207px * 0.55);
  bottom: -60px;
  right: -70px;
  z-index: 1;
}

.greeting::after{
  position: absolute;
  content: '';
  background: url(../images/wave02.svg) no-repeat left calc(-1px) / 100% auto;
  width: 100%;
  height: 100px;
  bottom: -79px;
  left: 0;
  z-index: 0;
}

.greeting .inner{
  padding-bottom: 80px;
  position: relative;
  z-index: 0;
}

.greeting .inner::before{
  position: absolute;
  content: '';
  background: linear-gradient(rgba(242, 251, 244, 0.8) 0%, rgba(242, 251, 244, 0.3) 2%, rgba(242, 251, 244, 0.6) 95%, rgba(242, 251, 244, 0.8) 100%),url(../images/bg_water.jpg) no-repeat center / contain;
  width: calc(500px * 0.8);
  height: calc(375px * 0.8);
  top: 70px;
  left: -250px;
  z-index: -1;
}

.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: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 155%;
  letter-spacing: 0.08em;
  line-height: 1.75;
  margin: 0 0 1.8em!important;
  color: var(--title-color);
}

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

.greeting_profile {
  margin-top: 20px;
/*   color: var(--main-color); */
  color: #f4a66d;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 1.75;
  text-align: center;
}

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

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

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

.greeting_btn a{
  width: 50%;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
  .greeting{
    background: linear-gradient(rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.2) 5%, rgba(255, 255, 255, 0) 100%), url(../images/greeting_bg_sp.jpg) no-repeat center / cover;
  }

  .greeting::after{
    bottom: -99px;
  }
  
  .greeting .inner{
    padding-top: 40px;
  }

  .greeting .inner::before{
    width: calc(500px * 0.6);
    height: calc(375px * 0.6);
    top: 0;
    left: -120px;
  }

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

  .greeting_left {
    width: 100%;
  }

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

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

  .greeting_text h3{
    font-size: 102%;
    line-height: 1.6;
    margin: 10px 0 1.5em !important;
  }

  .greeting_img{
    width: 70%;
    margin: 0 auto;
  }

  .greeting_btn {
    margin-top: 40px;
  }

  .greeting_btn a{
    width: 80%;
  }
}

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

  *診療案内

================================================================================================================================== */
.medical {
  position: relative;
  z-index: 0;
  background: linear-gradient(rgba(240, 249, 241, 0.4), rgba(240, 249, 241, 0.4)), url(../images/medical_bg.jpg) no-repeat center/cover !important;
}

.medical::before{
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

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

.medical .top_title {
  color: #ffffff;
}

.medical .top_title span {
  color: #ffffff;
}

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

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

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

.medical_item::before{
  position: absolute;
  content: '';
  background: #74b58d;
  width: 12px;
  height: 12px;
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  bottom: 13px;
  right: 13px;
  z-index: 1;
}

.medical_img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}

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

.medical_inner {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 350px;
  padding: 30px 20px 40px;
  background: var(--bg-color);
  background: url(../images/bg02.jpg) no-repeat center / cover;
  text-align: center;
  border-radius: 7px;
  position: relative;
  z-index: 0;
}

.medical_inner::before{
  position: absolute;
  content: '';
  width: calc(100% - 13px);
  height: calc(100% - 13px);
  background: rgba(254, 254, 254, 1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 5px;
}

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

.medical_icon {
  width: 70%;
  max-width: 170px;
  margin: 0 auto 5px !important;
  padding: 35px;
  position: relative;
  z-index: 0;
}

.medical_icon::before{
  position: absolute;
  content: '';
  background: url(../images/maru01.png) no-repeat center / contain;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.medical_title h3 {
/*   color: var(--main-color); */
  color: #f4a66d;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 140%;
}

.medical_title_eng {
  margin-top: 5px;
  color: #cab595;
  font-family: classico-urw, sans-serif;
  font-weight: 400;
  font-style: normal;
  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: 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% - 10px);
  min-height: 350px;
}

.medical_item:nth-of-type(-n + 2) .medical_inner {
  padding: 20px 20px 40px;
  flex-flow: row;
  gap: 40px;
}

.medical_item:nth-of-type(-n + 2) .medical_icon {
  max-width: 170px;
  margin: 0 !important;
}

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

/* ==============================================
  *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-top: 70px;
  }

  .medical_list {
    gap: 15px 10px;
  }

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

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

  .medical_item::before{
    width: 10px;
    height: 10px;
    bottom: 11px;
    right: 11px;
  }

  .medical_inner {
    background: url(../images/bg02_sp.jpg) no-repeat center / cover;
    min-height: auto;
    padding: 15px 10px 30px;
  }

  .medical_icon {
    width: 70%;
    padding: 20px;
  }

  .medical_title h3 {
    font-size: 100%;
    letter-spacing: 0.07em;
    line-height: 1.3;
  }

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

  .medical_item:nth-of-type(-n + 2) .medical_inner {
    flex-flow: column;
    gap: 0;
    padding: 15px 10px 30px;
  }

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

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

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

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

==================================================================================================================================*/
.feature {
  position: relative;
  z-index: 0;
  background: url(../images/feature_bg.jpg) no-repeat center / cover;
  background-attachment: fixed;
}

.feature::before{
  position: absolute;
  content: '';
  background: url(../images/wave01.svg) no-repeat left bottom / 100% auto;
  width: 100%;
  height: 100px;
  bottom: -1px;
  left: 0;
  z-index: 0;
}

.feature .inner{
  padding-bottom: 130px;
}

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

.feature_item{
  display: flex;
  align-items: center;
  height: auto;
  width: 100%;
  padding: 10px 0 70px 10px;
}

.feature_img{
  width: 570px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.feature_img::before{
  position: absolute;
  content: '';
  background: linear-gradient(0deg, rgba(81, 163, 113, 0.8) 0%, rgba(81, 163, 113, 0) 100%);
  width: 100%;
  height: 28%;
  bottom: 0;
  left: 0;
  z-index: 0;
  border-radius: 5px;
}

.feature_img::after{
  position: absolute;
  content: '';
  background: rgba(81, 163, 113, 0.4);
  border-radius: 5px;
  width: 120px;
  height: 120px;
  top: -10px;
  left: -10px;
  z-index: -1;
}

.feature_img img{
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 15px -6px;
}

.feature_num{
  position: absolute;
  content: '';
  bottom: 8px;
  left: 10px;
  font-family: classico-urw, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #fff;
}

.feature_num span{
  font-size: 40px;
  padding-left: 5px;
}

.feature_inner{
  position: relative;
  z-index: 0;
  display: flex;
  flex-flow: column;
  width: calc(100% + 50px);
  height: 100%;
  padding: 80px 0 0 50px;
}

.feature_inner::before{
  position: absolute;
  content: '';
  background: url(../images/maru03.png) no-repeat center / contain;
  width: calc(500px * 0.9);
  height: calc(497px * 0.9);
  top: -80px;
  left: -80px;
  z-index: -1;
  opacity: 0.45;
}

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

.feature_title{
  display: flex;
  flex-flow: column;
  margin-bottom: 40px!important;
  padding-bottom: 20px;
  position: relative;
  z-index: 0;
}

.feature_title::before{
  position: absolute;
  content: '';
  border-bottom: 2px solid rgb(81, 163, 113, 0.6);
  width: calc(100% + 70px);
  height: 1px;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.feature_title h3{
/*   color: var(--main-color); */
  color: #f4a66d;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 180%;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-shadow: 0px 0px 5px rgba(255, 255, 255, 1), 0px 0px 10px rgba(255, 255, 255, 1), 0px 0px 20px rgba(255, 255, 255, 1);
}

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

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

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

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

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

.feature_item:nth-child(even) .feature_inner::before{
  transform: rotate(60deg);
}


.feature_item:nth-child(even) .feature_img::after{
  left: unset;
  right: -10px;
}

.feature_item:nth-child(even) .feature_num{
  left: unset;
  right: 10px;
}

.feature_item:nth-child(even) .feature_title::before{
  right: unset;
  left: -10px;
}

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

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

@media screen and (max-width: 640px) {
  .feature{
    background: url(../images/feature_bg_sp.jpg) no-repeat center / cover;
    padding-bottom: 0;
  }

  .feature .inner{
    padding-bottom: 100px;
  }

  .feature_inner::before{
    width: calc(500px * 0.6);
    height: calc(497px * 0.6);
    top: -80px;
    left: -80px;
  }
  
  .feature_list{
    gap: 60px;
  }

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

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

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

  .feature_inner p{
    line-height: 1.75;
  }

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

  .feature_title::before{
    width: 100%;
    left: 0;
  }

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

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

  .feature_item .btn01 > *{
    width: 80%;
  }

  /* 左右 */
  .feature_item:nth-child(even){
    flex-flow: column;
    padding: 10px 0 0;
  }

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

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

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

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

  *病状、症状から探す

================================================================================================================================== */
.search{
  position: relative;
  z-index: 0;
  background: var(--bg-color);
}

.search::before{
  position: absolute;
  content: '';
  background: url(../images/leaf01.png) no-repeat center / contain;
  width: calc(500px * 0.3);
  height: calc(382px * 0.3);
  top: -120px;
  left: -10px;
  z-index: 0;
}

.search::after{
  position: absolute;
  content: '';
  background: url(../images/maru02.png) no-repeat center / contain;
  width: calc(500px * 1);
  height: calc(557px * 1);
  bottom: -250px;
  right: -70px;
  transform: rotate(-40deg);
  z-index: -1;
  opacity: 0.45;
}

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

.search_panel{
  position: relative;
  z-index: 0;
  display: flex;
  flex-flow: wrap;
  gap: 20px;
  padding: 40px;
  background: #fff;
  z-index: 0;
  border-radius: 5px;
}

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

.search_img img {
  width: 100%;
}

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

.search_item {
  position: relative;
  z-index: 1;
  width: calc(50% - 10px);
  height: auto;
  min-height: 80px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 10px 40px 10px 70px;
  background: var(--bg02-color);
  border-left: 5px solid #82bc98;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 110%;
  line-height: 1.75;
  color: var(--title-color);
  text-align: center;
  border-radius: 3px;
  overflow: hidden;
}

.search_item:hover {
  background: var(--sub-color);
  border-left: 5px solid #dfd3bf;
  color: #fff;
}

.search_item::before {
  display: block;
  position: absolute;
  content: "";
  background: var(--main-color);
  -webkit-mask: url(../images/search_icon.svg) no-repeat center / contain;
  mask: url(../images/search_icon.svg) no-repeat center / contain;
  width: calc(125px * 0.16);
  height: calc(150px * 0.16);
  top: 50%;
  left: 25px;
  transform: translateY(-50%);
  z-index: 2;
  transition: background 0.2s;
}

.search_item:hover::before{
  background: #fff;
}

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
  .search::before{
    width: calc(500px * 0.2);
    height: calc(382px * 0.2);
    top: -50px;
  }

  .search::after{
    width: calc(500px * 0.7);
    height: calc(557px * 0.7);
    bottom: -130px;
    right: -30px;
  }
  
  .search .inner{
    padding-top: 50px;
  }

  .search_panel{
    flex-direction: column;
    gap: 10px;
    padding: 25px 20px;
  }
  
  .search_panel::before{
    top: -10px;
    left: -10px;
  }

  .search_panel::after{
    bottom: -10px;
    right: -10px;
  }

  .search_img{
    width: 100%;
  }

  .search_list {
     width: 100%;
    flex-direction: column;
    gap: 15px;
  }

  .search_item {
    width: 100%;
    min-height: auto;
    align-items: flex-start;
    padding: 10px 10px 10px 47px;
    text-align:left;
    font-size: 92%;
  }

  .search_item::before{
    width: calc(125px * 0.12);
    height: calc(150px * 0.12);
    left: 15px;
  }

}

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

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

================================================================================================================================== */
.column {
  background: #fff;
  position: relative;
  z-index: 0;
}

.column::before{
  position: absolute;
  content: '';
  background: url(../images/watercolor.png) no-repeat center / contain;
  width: calc(500px * 1.3);
  height: calc(149px * 1.3);
  left: 0;
  bottom: 0;
  z-index: -1;
}

.column::after{
  position: absolute;
  content: '';
  background: url(../images/dots01.png) no-repeat center / contain;
  width: calc(500px * 0.5);
  height: calc(395px * 0.5);
  top: -30px;
  right: -20px;
  z-index: 1;
  opacity: 0.3;
}

.column_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 50px 25px;
  padding: 30px;
  background: var(--bg-color);
  border-radius: 5px;
}

.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;
  border-radius: 3px;
}

.column_box dd {
  padding: 15px 10px;
  border-bottom: 1px solid 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::before{
    width: calc(500px * 0.8);
    height: calc(149px * 0.8);
  }

  .column::after{
    width: calc(500px * 0.3);
    height: calc(395px * 0.3);
    top: -40px;
    right: -50px;
  }

  .column_list {
    gap: 40px;
    padding: 25px 20px;
  }

  .column_box {
    width: 100%;
  }

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

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

  *無限スライダー

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

#infinitySlider .splide__list {
  gap: 10px;
}

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

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

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