@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-bottom: 50px;
  line-height: 1.5;
  text-align: center;
  position: relative;
  z-index: 0;

  /* 左寄せ */
}

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

.top_title h2 {
	font-size: 183%;
	font-family: var(--font-jp);
	letter-spacing: 0.18em;
	font-weight: 500;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--main-color);
  font-size: 560%;
  font-family: var(--font-en);
}

.top_title::before {
	position: absolute;
	top: 15px;
	left: 0;
	right: 0;
	margin: 0 auto;
	content: "";
	display: block;
	width: 105px;
	height: 105px;
	background: url(../images/logo.svg) no-repeat;
	background-size: contain;
	opacity: 0.2;
	z-index: -1;
}

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

	.top_title h2 {
		margin: 5px 0 0;
		font-size: 22px;
		line-height: 1;
	}

	.top_title .eng {
		font-size: 62px;
		line-height: 1.2;
	}
	.top_title::before {
		top: 0;
		width: 78px;
		height: 78px;
	}
}

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

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 800px;
  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#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: 40%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}

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

.mvCatch p {
	font-size: 220%;
	text-shadow: #7f6f53 0 0 10px, #7f6f53 0 0 10px, #7f6f53 0 0 5px, #7f6f53 0 0 5px;
	color: #fff;
	font-family: var(--font-jp);
	line-height: 1.8;
	letter-spacing: 0.2em;
}

/* ----- コンテンツ ----- */
.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: 56px;
  display: inline-block;
  /*background: rgba(255, 255, 255, 0.4);*/
  border-radius: 50%;
  z-index: 3;
}

.open_bnr > * {
	display: flex;
	flex-flow: column;
	justify-content: flex-start;
	align-items: center;
	width: 255px;
	height: 255px;
	padding: 15px 17px 15px 15px;
	color: #3f2a12;
	font-size: 110%;
	line-height: 1.5;
	text-align: center;
	font-family: var(--font-jp);
	letter-spacing: 0.1em;
	/*background: rgb(249 245 240 / 82%);*/
	border-radius: 50%;
}
.open_bnr > div::before {
	content: "";
	position: absolute;
	top: 56%;
	left: 57%;
	transform: translate(-49%, -50%);
	width: 132%; 
	height: 132%;
	background: url(../images/mv_bnr_bg.png) no-repeat center center / contain;
	opacity: 0.8;
}
.open_bnr::after {
	content: "";
	position: absolute;
	inset: -6%;
	border-radius: 50%;
	background: rgba(255,255,255,0.78);
	backdrop-filter: blur(8px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
	z-index: -1;
}
.open_bnr .date {
  font-size: 110%;
  padding-top: 28px;
  z-index: 1;
}

.open_bnr .open_text {
	margin: 0 0 5px;
	font-size: 180%;
	letter-spacing: 0.13em;
}

.open_bnr .nairankai_tit {
	display: block;
	width: 90%;
	margin: 0 0 10px;
	padding: 5px 10px;
	background: #ffffff;
	border-radius: 300px;
	color: var(--main-color);
	font-size: 92%;
	text-align: center;
	box-shadow: 
		0 2px 4px rgba(0, 0, 0, 0.02), 
		4px 8px 20px -2px rgba(80, 70, 60, 0.1);
}
.open_bnr .nairakai_date {
	line-height: 1.2;
	z-index: 1;
}

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

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

.bnr_wrap {
	position: absolute;
	bottom: 50px;
	left: 320px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.bnr_wrap a {
	background: url(../images/bg_mvbnr.jpg) no-repeat center / cover;
	font-family: var(--font-jp);
	font-weight: 600;
	font-size: 120%;
	color: #6b4f2a;
	text-shadow: 0 1px 0 rgba(255,255,255,0.4);
	width: 280px;
	height: 130px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	text-align: center;
	position: relative;
	line-height: 1.5;
	letter-spacing: 0.12em;
	z-index: 0;
	overflow: hidden;
}
.bnr_wrap a::before {
	position: absolute;
	content: "";
	border: 4px solid rgb(220 201 171 / 80%);
	width: 100%;
	height: 100%;
	z-index: -1;
}
.bnr_wrap a::after {
	position: absolute;
	z-index: -2;
	content: "";
	bottom: -23px;
	right: -10px;
	width: 100px;
	height: auto;
	aspect-ratio: 149 / 150;
	background: url(../images/logo.svg) no-repeat center / contain;
	opacity: 0.1;
}
.bnr_wrap a span::before {
	position: absolute;
	content: "";
	width: 10px;
	height: 10px;
	background: #a77c45;
	right: 4px;
	bottom: 4px;
	transition: background 0.5s;
	clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}
.bnr_wrap a:hover {
	transform: translateY(-10px);
}
.bnr_wrap a.no_link:hover {
	transform: none;
}
/* ----- 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: auto;
    bottom: 20px;
    display: none;
  }

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

  .mvCatch p {
    font-size: 130%;
    line-height: 1.75;
  }

  .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: 15px;
    width: 100%;
  }

	.open_bnr {
		position: static;
		width: 100%;
		height: 265px;
		padding: 14px 0;
		position: relative;
		max-width: 335px;
        margin: 0 auto;
	}
	.open_bnr > * {
		width: 100%;
		height: auto;
		border-radius: 0;
		position: relative;
		padding: 12px 36px 20px 14px;
		top: 55px;
	}
	.open_bnr .date {
		padding-top: 18px;
	}
	.open_bnr .open_text {
		font-size: 170%;
	}
	.open_bnr .nairankai_tit {
		width: 190px;
	}
	.open_bnr .nairakai_date {
		text-shadow: 
			0 0 10px #fff, 
			0 0 15px #fff;
	}
	.open_bnr > div::before {
		position: absolute;
		left: 50.2%;
		width: 142%;
		height: 142%;
		opacity: 0.75;
	}
	.open_bnr::after {
		width: 240px;
		aspect-ratio: 1 / 1;
		background: rgb(245 242 237 / 40%);
		backdrop-filter: blur(8px);
		box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
		top: 45px;
        left: -32px;
        max-width: 335px;
        margin: 0 auto;
	}
	.bnr_wrap {
		max-width: 330px;
		position: static;
		width: 100%;
		margin-top: 5px;
	}
	.bnr_wrap a {
		width: 100%;
		height: 120px;
		font-size: 124%;
	}
	.bnr_wrap a:hover {
		transform: none;
		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;
	background: linear-gradient(180deg, #fdfbf8 0%, #e9e4dd 100%);
	padding-bottom: 100px;
	overflow: hidden;
	z-index: 0;
}
/*.clinic::before {
	position: absolute;
	content: '';
	top: -160px;
	left: -160px;
	width: 480px;
	height: 450px;
	transform: rotate(158deg);
	transform-origin: center;
	background: url(../images/bg_flower.svg) no-repeat center / cover;
	-webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
	mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
	opacity: 0.45;
	z-index: -1;
}*/
/*右下の花*/
.clinic::after {
	position: absolute;
	content: '';
	bottom: -200px;
	right: -190px;
	width: 720px;
	height: auto;
	aspect-ratio: 720 / 680;
	background: url(../images/bg_flower.svg) no-repeat center / cover;
	z-index: -1;
	-webkit-mask-image: radial-gradient(circle at bottom right, black 30%, transparent 80%);
	mask-image: radial-gradient(circle at bottom right, black 30%, transparent 80%);
	filter: brightness(0) invert(1);
	z-index: -1;
	opacity: 0.6;
}
/* ----- お知らせ ----- */
.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: 56px 0 70px;
}

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

.clinic .news .top_title {
  margin: 0 0 30px;
  position: relative;
}
.clinic .news .top_title .eng {
	text-shadow: 0 0 10px #f2eae0;
}
.clinic .news .top_title::before {
	position: absolute;
	content: "";
	background: url(../images/bg_leaves.svg) no-repeat;
	background-size: contain;
	width: 150px;
	height: 150px;
	left: 78%;
	top: -2%;
	z-index: -1;
	transform: rotate(15deg);
	opacity: 0.7;
}

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

/* ----- 医院概要 ----- */
.clinic .info .inner {
	display: flex;
	gap: 50px;
	justify-content: space-between;
	padding: 40px;
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 
		0 2px 4px rgba(128, 78, 33, 0.05), 
		0 10px 20px rgba(128, 78, 33, 0.1);
}

.clinic .info .inner > * {
	width: calc(50% - 15px);
	padding: 30px 0 40px;
}

.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;
	letter-spacing: 0.1em;
}

.clinic .info address .location::before {
  content: "\f3c5";
  top: 12px;
}

.clinic .info address .location .zipcode {
  margin-right: 10px;
  display: block;
}

.clinic .info address .tel {
	margin-top: 15px;
	padding: 3px 0 7px 50px;
	font-size: 30px;
	line-height: 1.1;
    font-family: var(--font-jp);
	font-style: normal;
}

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

.clinic .info address .fax {
	margin-top: 15px;
	padding: 3px 0 7px 50px;
	font-size: 30px;
	line-height: 1.1;
	font-family: var(--font-jp);
	font-style: normal;
	color: var(--sub-color);
}

.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: 30px auto 0;
}

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

.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;
}
.illustmap {
	text-align: center;
}

@media screen and (max-width: 640px) {
	.clinic  {
		padding-bottom: 0;
	}
	.clinic::after {
		width: 500px;
		opacity: 1;
	}
	.clinic .news .inner {
		flex-flow: column;
		gap: 0;
		padding: 60px 20px;
	}
	.clinic .news .top_title::before {
		width: 100px;
		height: 100px;
		left: 103px;
        top: -15px;
	}

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

	.clinic .info .inner > * {
		width: 100%;
	}
	.clinic .info .inner > .info_right {
		padding: 4px 0 15px;
	}

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

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

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

  *ご挨拶

================================================================================================================================== */
.greeting {
	position: relative;
}
.greeting:before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../images/bg_greeting.jpg") no-repeat left center / cover;
	opacity: 0.4;
	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 {
	line-height: 2.5;
	font-weight: 500;
}
.greeting_text .tit {
	font-family: var(--font-jp);
	color: var(--main-color);
	font-size: 190%;
	font-weight: 600;
	letter-spacing: 0.16em;
	margin-bottom: 20px!important;
}
.greeting_text > *:not(:last-child) {
  margin-bottom: 2em;
}

.greeting_profile {
  padding: 20px;
  color: #ffffff;
  line-height: 1.75;
  text-align: center;
  font-family: var(--font-jp);
  font-weight: 600;
  color: var(--sub-color);
}

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

.greeting_profile .name {
  font-size: 150%;
}
.greeting_profile .name span {
	font-size: 70%;
}
.greeting_btn {
	margin-top: 10px;
	text-align: center;
}

.greeting_img {
	text-align: center;
	padding: 44px 0 15px;
}
.greeting_img img {
	opacity: 1;
	border-radius: 200px 200px 4px 4px;
	width: 55%;
	aspect-ratio: 4 / 6;
	object-fit: cover;
	box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
	.greeting::before {
		background: url(../images/bg_greeting_sp.jpg) no-repeat left center / cover;
		opacity: 0.3;
	}
	.greeting .inner {
		padding: 60px 20px;
	}
	.greeting_flex {
		flex-flow: column-reverse;
		gap: 25px;
	}
	.greeting .top_title {
		margin-bottom: 10px;
	}
	.greeting_img {
		padding: 30px 0 15px;
	}

	.greeting_left {
		width: 100%;
	}
	.greeting_profile {
		line-height: 1.6;
		padding: 5px 20px 20px;
	}
	.greeting_profile .position {
		font-size: 120%;
	}
	.greeting_profile .name {
		font-size: 145%;
	}
	.greeting_text .tit {
		line-height: 1.5;
		font-size: 190%;
		text-align: center;
		letter-spacing: 0.18em;
	}

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

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

  *診療案内

================================================================================================================================== */
.medical {
	background: linear-gradient(to bottom, #c0cbae 0%, #c0cbae 20%, #f9f5f0 100%);
	position: relative;
	overflow: hidden;
	z-index: 0;
}
.medical::before {
	position: absolute;
	content: '';
    width: 620px;
	height: 620px;
	top: -55px;
    left: -22px;
	background: url(../images/bg_medical.png) no-repeat center / cover;
	transform: rotate(-178deg);
	opacity: 0.4;
	z-index: -1;
}
.medical::after {
	position: absolute;
	content: '';
	bottom: -160px;
	right: -10px;
	width: 720px;
	height: 680px;
	background: url(../images/bg_medical.png) no-repeat center / cover;
	opacity: 0.6;
}

.medical .top_title {
	color: var(--text-color);
}
.medical .top_title::before {
	filter: brightness(0) invert(1);
}
.medical .top_title span {
  color: var(--sub-color);
}

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

.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: flex-start;
	align-items: center;
	width: 100%;
	height: 100%;
	min-height: 270px;
	padding: 30px 20px 30px;
	background: #f9f7f1;
	text-align: center;
	outline: 1px solid #e2d8c0;
	outline-offset: -6px;
	box-shadow: 0 5px 10px rgb(94 119 121 / 10%);
}

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

.medical_icon {
	max-width: 110px;
    margin: 0 auto 25px !important;
    background: #f5efe3;
    border-radius: 50%;
    padding: 20px;
}
.medical_item:nth-child(odd) .medical_icon {
    background: #f5efe3;
}
.medical_item:nth-child(even) .medical_icon {
    background-color: #e4e7da;
}
.medical_item:nth-child(5) .medical_icon {
	margin: 0 auto 12px !important;
}
.medical_title h3 {
  color: var(--text-color);
  font-size: 120%;
  font-family: var(--font-jp);
  line-height: 1.5;
  font-weight: 500;
}

.medical_title_eng {
	margin-top: 8px;
	color: var(--main-color);
	font-size: 12px;
	line-height: 1;
	letter-spacing: 1px;
	text-align: center;
	font-family: var(--font-en);
	font-weight: 300;
	font-style: italic;
}

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

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

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

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
  .medical {
  }
	.medical::before {
		content: none;
	}

  .medical_list {
    gap: 15px 10px;
  }

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

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

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

  .medical_icon {
    width: 55%;
	padding: 15px;
	margin: 0 auto 16px!important;
  }

  .medical_title h3 {
    font-size: 115%;
  }
	.medical_title_eng {
		font-size: 80%;
	}
}

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

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

==================================================================================================================================*/
.feature {
  background: linear-gradient(to bottom, #f2eae0, #b39f8a85);
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.feature::before {
    position: absolute;
    content: "";
    top: -20px;
    width: 510px;
    height: 510px;
    left: -64px;
    background: url(../images/bg_item01.svg) no-repeat top center;
	transform: scaleX(-1) rotate(-4deg);
	opacity: 0.8;
	z-index: -1;
}
.feature::after {
	position: absolute;
	content: "";
	bottom: 748px;
	right: -10px;
	width: 550px;
	height: 550px;
	background: url(../images/bg_item01.svg) no-repeat top center;
	transform: rotate(-4deg);
	opacity: 0.7;
	z-index: -1;
}
.feature_box {
	position: relative;
	z-index: 0;
}
.feature_box::before {
	position: absolute;
	content: "";
	bottom: -172px;
	width: 490px;
	height: 490px;
	background: url(../images/bg_item01.svg) no-repeat top center;
	transform: scaleX(-1) rotate(20deg);
	opacity: 0.7;
	z-index: -1;
}
.feature .inner {
	max-width: 1300px;
	padding: 100px 0 150px;
	position: relative;
}
.feature_list{
  display: flex;
  flex-flow: wrap;
  gap: 70px 30px;
}

.feature_item{
  display: flex;
  height: auto;
  width: 100%;
  margin-top: 50px;
}

.feature_img{
	width: 500px;
	height: fit-content;
	flex-shrink: 0;
	margin-top: -50px;
	position: relative;
}
.feature_img::before {
	position: absolute;
	content: "";
	border: 1px solid #d8c4ad;
	width: 100%;
	height: 100%;
	right: -10px;
	top: 10px;
}
.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 -40px;
	padding: 40px;
	background: #fff;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 0 8px rgba(155, 130, 110, 0.18);
}
.feature_inner::before {
	position: absolute;
	content: "";
	background: url(../images/logo.svg) no-repeat right -70px bottom -85px;
	z-index: 0;
	width: 100%;
	height: 100%;
	right: 0;
	bottom: 0;
	opacity: 0.05;
}
.feature_inner > *:not(:last-child){
	margin-bottom: 30px;
}

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

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

.feature_num{
	margin: 0 0 8px!important;
	font-size: 150%;
	font-family: var(--font-en);
	position: relative;
}

.feature_num span{
	color: var(--main-color);
	font-size: 180%;
	text-shadow: 0 0 8px rgba(255, 255, 255, 1), 0 0 4px rgba(255, 255, 255, 0.8);
	font-style: italic;
	line-height: 1.6;
}
.feature_num::before {
	position: absolute;
	content: "";
	width: 80px;
	height: 80px;
	background: url(../images/bg_leaves02.svg) no-repeat;
	background-size: contain;
	left: 108px;
	top: -2px;
	transform: rotate(25deg);
	opacity: 0.3;
	z-index: -1;
}
.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;
}

/* ボタン横並び */
.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 {
		top: -22px;
		left: -22px;
		width: 210px;
		height: 210px;
		transform: scaleX(-1) rotate(36deg);
	}
	.feature::after {
		top: 135px;
        right: -42px;
        width: 210px;
        height: 210px;
        transform: rotate(36deg);
		opacity: 0.7;
	}
	.feature_box::before {
		content: none;
	}
	.feature .inner {
		padding: 70px 20px 50px;
	}
	.feature_num {
		font-size: 130%;
		margin: 0 0 4px !important;
	}
	.feature_num::before {
		width: 60px;
		height: 60px;
		left: 81px;
		top: -2px;
	}

	.feature_list{
		gap: 40px;
	}

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

	.feature_img {
		width: 100%;
		margin: 0;
	}
	.feature_item:nth-child(2n) .feature_img::before {
		left: -10px;
		right: 0;
	}
	.feature_inner{
		width: 100%;
		min-height: auto;
		padding: 25px;
		margin: 0;
	}

	.feature_title{
		margin-bottom: 15px!important;
		min-height: auto;
	}
	.feature_title h3 {
		font-size: 138%;
		line-height: 1.5;
	}

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

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

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

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

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

.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_list {
    gap: 40px;
  }

  .column_box {
    width: 100%;
  }
}

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

  *無限スライダー

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

#infinitySlider .splide__list {
  gap: 10px;
}

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

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