@charset "UTF-8";

/* ---------------------
  - *基本設定
  - *アニメーション
  - *タイトル
  - *メインビジュアル
  - *医院概要
  - *ご挨拶
  - *診療案内
  - *当院の特徴
  - *医療コラム
--------------------- */
/* ==================================================================================================================================

  *基本設定

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.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;
  }
}

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

  *アニメーション

================================================================================================================================== */
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeRightAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeLeftAnime {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes zoomInAnime {
  from {
    pointer-events: none;
    transform: scale(0.5);
  }

  to {
    pointer-events: auto;
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes zoomOutAnime {
  from {
    pointer-events: none;
    transform: scale(1);
  }

  to {
    pointer-events: auto;
    opacity: 1;
    transform: scale(1.5);
  }
}
@keyframes scrolldown {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.fadeUp,
.zoomOut,
.zoomIn,
.fadeRight,
.fadeLeft {
  opacity: 0;
}

.fadeUp.is-active {
  animation: fadeUpAnime 1s forwards;
}

.fadeRight.is-active {
  animation: fadeRightAnime 1s forwards;
}

.fadeLeft.is-active {
  animation: fadeLeftAnime 1s forwards;
}

.zoomIn.is-active {
  animation: zoomInAnime 0.8s forwards;
}

.zoomOut.is-active {
  animation: zoomOutAnime 1s forwards;
}

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

  *タイトル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.top_title {
  	margin-bottom: 50px;
    padding-top: 38px;
    background: url(../images/common/tit_logo.png) no-repeat top center / auto 33px;
    line-height: 1.5;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;

  /* 左寄せ */
}

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

.top_title h2 {
  font-size: 210%;
	font-family: var(--font-jp);
	font-weight: var(--weight-jp);
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .top_title {
    margin-bottom: 20px;
	      background: url(../images/common/tit_logo.png) no-repeat top center / auto 28px;
  }

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

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

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.mainvisual {
	position: relative;
	z-index: 1;
	height: 860px;
	overflow: hidden;
	background: linear-gradient(180deg, #fff 0%, #fff 70%, #eaeef2 80%, #eaeef2 100%);
}
.mainvisual::before {
	position: absolute;
    content: "";
    right: 0;
    top: 100px;
    width: 238px;
    height: 182px;
    background: url(../images/front/acce_leaves01.png) no-repeat left / cover;
    z-index: 2;
}
.mainvisual::after {
	position: absolute;
    content: "";
    left: 0;
    top: 420px;
    width: 226px;
    height: 170px;
    background: url(../images/front/acce_leaves02.png) no-repeat right / cover;
    z-index: 2;
}
.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: "\f060";
}

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

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

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

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

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

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

.mvCatch p {
	font-size: 170%;
	font-family: var(--font-jp);
	font-weight: var(--weight-jp);
	filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
}

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

/* ----- MV情報 ----- */
.bnr_box {
	position: absolute;
    left: 300px;
    bottom: 70px;
    display: flex;
    gap: 14px;
}
.bnr_box li {
        display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    color: var(--text-color);
    text-align: center;
    font-family: var(--font-jp);
    font-style: normal;
    font-size: 114%;
    line-height: 1.4;
    transition: opacity 0.15s;
}

.bnr_box li a {
	position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    border-radius: 50%;
    padding: 60px 0 0;
}
.bnr_box li:nth-child(1) a {
	background: url(../images/front/icon_bnrbox01.png) no-repeat center top 6px / 60px, linear-gradient(#5fb3b0 0%, #4d7c7a 100%);
    padding: 36px 0 0;
}
.bnr_box li:nth-child(2) a {
	background: url(../images/front/icon_bnrbox02.png) no-repeat center top 20px/70px,linear-gradient(#78b478 0%, #628a62 100%);
}
.bnr_box li:nth-child(3) a {
	background: url(../images/front/icon_bnrbox03.png) no-repeat center top 20px/70px,linear-gradient(#dbd387 0%, #c2a455 100%);
}
.bnr_box li a:hover {
	opacity: 0.8;
}
.bnr_box li a span {
	font-size: 70%;
	padding-top: 6px;
}
/* ----- 開院バナー ----- */
.open_bnr {
	position: absolute;
	bottom: 50px;
	display: inline-block;
	padding: 4px;
	background: rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	font-family: var(--font-jp);
	font-weight: var(--weight-jp);
}

.open_bnr > * {
	position: relative;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 270px;
  height: 270px;
  padding: 25px;
  background: #ffffff;
  border-radius: 50%;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
}
.open_bnr > *::before {
	position: absolute;
	content: "";
	border: 1px solid #46bbb5;
	width: calc(100% - 14px);
	height: calc(100% - 14px);
	border-radius: 50%;
}

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

.open_bnr .open_text {
	position: relative;
	margin: 0 0 10px;
	padding: 0 30px;
	font-size: 166%;
}
.open_bnr .open_text::before,.open_bnr .open_text::after {
	position: absolute;
	content: "";
	width: 20px;
	height: 15px;
	top: 50%;
	transform: translateY(-50%);
	background: url(../images/common/acce_minilogo.png) no-repeat center / cover;
}
.open_bnr .open_text::before {
	left: 0;
}
.open_bnr .open_text::after {
	right: 0;
}
.open_bnr .nairankai_tit {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 5px 10px;
  background: var(--main-color);
  border-radius: 300px;
  color: #fff;
  text-align: center;
}

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .mainvisual {
    height: 400px;
  }
	.mainvisual::before {
		width: 106px;
        height: 77px;
        top: auto;
        bottom: -10px;
	}
	.mainvisual::after {
		top: 48%;
        width: 90px;
        height: 65px;
	}
  /* ----- スライダーの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;
  }
	.mvImg {
		padding: 0;
	}
	.mvImg .splide__track {
		border-radius: 0;
	}
  /* ----- キャッチコピー ----- */
  .mvCatch {
    top: auto;
    bottom: 0;
    display: none;
  }

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

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

  /* ----- コンテンツ ----- */
  .mvContents {
    display: none;
  }

  /* ----- 開院バナー ----- */
  .open_bnr {
    position: static;
    width: 100%;
    max-width: 350px;
    border-radius: 0;
	  background: none;
	  padding: 0;
  }

  .open_bnr > * {
	  	width: 100%;
        height: auto;
        padding: 25px 24px;
        border-radius: 25px;
  }
	.open_bnr > *::before {
		border-radius: 20px;
	}
	.open_bnr .nairankai_tit {
		font-size: 90%;
	}
	/* ----- MV情報 ----- */
	.bnr_box {
		position: static;
		gap: 0px 20px;
    	flex-wrap: wrap;
    	justify-content: center;
	}
	.bnr_box li {
		width: 140px;
    	height: 140px;
	}
	.bnr_box li:nth-child(1) a {
		background: url(../images/front/icon_bnrbox01.png) no-repeat center top 2px / 50px, linear-gradient(#5fb3b0 0%, #4d7c7a 100%);
		font-size: 90%;
	}
	.bnr_box li:nth-child(2) a {
		background: url(../images/front/icon_bnrbox02.png) no-repeat center top 15px / 60px, linear-gradient(#78b478 0%, #628a62 100%);
	}
	.bnr_box li:nth-child(3) a {
		background: url(../images/front/icon_bnrbox03.png) no-repeat center top 15px / 60px, linear-gradient(#dbd387 0%, #c2a455 100%);
	}
	h1 {
		margin: 0;
	}
	

  /* ----- スマホ専用エリア ----- */
  .sp_only {
    display: block;
	background: url(../images/front/bg_marble.jpg) no-repeat center top / cover;
  }

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

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

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

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

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

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

.clinic .news .inner {
  	position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
	background: #fff;
    border-radius: 30px;
	padding: 50px;
}

.clinic .news .news_left {
  flex-shrink: 0;
	background: #fff;
    border-radius: 30px;
}

.clinic .news .top_title {
  margin: 0 0 10px;
}
.clinic .news .top_title h2 {
	font-size: 180%;
}
.clinic .news #mp-title .news_item a {
	background: var(--bg-color);
    border-radius: 100px;
	padding: 20px 40px 20px 40px !important;
	border-top: none;
	border-bottom: none;
}

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

/* ----- 医院概要 ----- */
.clinic .info {
	background: url(../images/front/bg_marble.jpg) no-repeat center top / cover;
    padding: 80px 0;
}
.clinic .info .inner {
	display: flex;
  justify-content: center;
    flex-direction: column;
	padding: 50px;
	background: #fff;
	border-radius: 30px;
    flex-flow: wrap;
}

.info_box {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 50px;
}

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

.info_left {
    width: calc(50% - 25px);
}
.info_right {
    width: calc(50% - 25px);
}
.info_calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.clinic .info .office_hour .title {
  background: #ffffff;
}

.clinic .info .office_hour .table_wrapper {
  background: var(--bg-gray);
	padding: 0;
}

.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: 2px 0 5px 50px;
    font-size: 34px;
    font-family: var(--font-sub);
    font-weight: var(--weight-sub);
    line-height: 1;
}

.clinic .info address .tel::before {
  content: "\f3cd";
}
.clinic .info address .tel a {
	color: var(--text-color);
}

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

.clinic .info address .fax::before {
  content: "\f249";
}

.clinic .info .note {
  margin-top: 10px;
  padding-left: 12px;
  /*font-size: 90%;*/
}

.clinic .info .speciality {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px auto 0;
    padding: 20px 0;
    background: #ffffff;
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
}

.clinic .info .speciality .title {
	flex-shrink: 0;
	width: fit-content;
	padding: 6px 24px;
	background: var(--main-color);
	border-radius: 10px;
	color: #ffffff;
	text-align: center;
	font-family: var(--font-jp);
	font-weight: var(--weight-jp);
}

.clinic .info .googlemap iframe {
  height: 350px;
}
.clinic .info .illustmap img {
	/*border: 1px solid var(--line-color);*/
	/*border-radius: 10px;*/
}
.clinic .info .list_access {
  margin-top: 5px;
}

.clinic .info .calendar_text {
  margin-top: 20px;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {

  /* ----- お知らせ ----- */
	.clinic .news {
		padding: 50px 20px;
	}
  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 40px 20px;
  }
	.clinic .news .top_title {
		margin: 0 0 14px;
	}
	.clinic .news .top_title h2 {
		font-size: 24px;
	}
	.clinic .news #mp-title .news_item a {
		border-radius: 0;
        padding: 10px 10px 10px 10px !important;
        border-bottom: solid 1px var(--line-color);
        border-top: solid 1px var(--line-color);
        background: none;
	}
	.clinic .news .btn01 {
		margin-top: 26px;
	}
  /* ----- 医院概要 ----- */
	.clinic .info {
		padding: 50px 20px;
	}
  .clinic .info .inner {
    flex-flow: column;
    padding: 40px 20px 40px;
  }

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

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

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

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

  *ご挨拶（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.greeting {
  position: relative;
  z-index: 1;
	overflow: hidden;
}
.greeting::before {
	position: absolute;
	content: "";
	width: 800px;
	height: 578px;
	left: calc(50% + 40px);
	bottom: -100px;
	background: url(../images/front/bg_logo.png) no-repeat center / auto;
}

.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_img img {
	border-radius: 20px;
    outline: 6px solid #fff;
    outline-offset: -6px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
.greeting_profile {
	padding: 20px;
	background: linear-gradient(to bottom, rgb(56 136 142 / 70%), rgb(79 158 163 / 60%)), url(../images/common/footer_marble.jpg) no-repeat center top / cover;
	color: #ffffff;
	line-height: 1.75;
	text-align: center;
	font-family: var(--font-jp);
	font-weight: var(--weight-jp);
	border-radius: 20px;
    margin: 20px auto 0;
}

.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_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }
	.greeting_profile .position {
		font-size: 120%;
	}
	.greeting_profile .name {
		font-size: 140%;
	}
  .greeting_btn {
    margin-top: 20px;
  }
	.greeting_text > *:not(:last-child) {
		margin-bottom: 1em;
	}
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  /*background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url(../images/common/dmy.jpg) no-repeat center/cover;*/
	background: url(../images/front/bg_marble.jpg) no-repeat center top / cover;
}

.medical .top_title {
  color: #ffffff;
}

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

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

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

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

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

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

.medical_inner {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 270px;
  padding: 40px 20px 40px;
  background: rgba(255, 255, 255, 0.9);
	border-radius: 20px;
  text-align: center;
}

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

.medical_icon {
position: relative;
  width: 94px;
	height: 94px;
  margin: 0 auto 8px !important;
}
.medical_icon::before {
	position: absolute;
	content: "";
	left: 0;
    right: 0;
    margin: 0 auto;
	width: 100%;
	height: 100%;
	background: url(../images/front/icon_medical_marble.png) no-repeat center / contain;
	transition: 0.4s;
	transform: scale(1);
}
.medical_item:hover .medical_icon::before {
	transform: scale(1.1);
}
.medical_icon img {
	position: relative;
	z-index: 1;
}
.medical_title h3 {
	color: var(--text-color);
	font-size: 140%;
	font-family: var(--font-jp);
	font-weight: var(--weight-jp);
}
.medical_title h3 span {
	font-size: 97%;
	letter-spacing: 0.01em;
}
.medical_title_eng {
	margin-top: 0;
	color: var(--sub-color);
	font-size: 12px;
	font-family: var(--font-sub);
	font-weight: var(--weight-sub);
	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: 4px 27px 3px 25px;
    background: var(--main-color);
    border: 1px solid var(--main-color);
    border-radius: 100px;
    color: #ffffff;
    font-size: 90%;
    font-family: var(--font-jp);
    font-weight: var(--weight-jp);
    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 {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url(../images/common/dmy.jpg) no-repeat center/cover;
  }

  .medical_list {
    gap: 15px 10px;
  }

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

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

  .medical_inner {
	justify-content: flex-start;
	min-height: auto;
	padding: 24px 10px;
  }

  .medical_icon {
	width: 18vw;
	height: 18vw;
  }

  .medical_title h3 {
	font-size: 116%;
	line-height: 1.4;
	margin-bottom: 6px;
  }
	.medical_title_eng {
		font-size: 10px;
	}
	.medical_inner > *:not(:last-child) {
		margin-bottom: 16px;
	}
	.medical_btn span {
		padding: 3px 25px 2px 23px;
		font-size: 80%;
	}

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

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

  .medical_item:nth-of-type(-n + 2) .medical_icon {
    width: 30%;
  }

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  background: var(--bg-color);
}

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

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

.feature_img {
  flex-shrink: 0;
  width: 500px;
  margin-top: -50px;
}
.feature_img img {
	border-radius: 20px;
	outline: 6px solid #fff;
    outline-offset: -6px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
.feature_inner {
  	position: relative;
    z-index: 2;
    display: flex;
    flex-flow: column;
    width: calc(100% + 50px);
    height: 100%;
    min-height: 360px;
    margin: 0 0 0 -50px;
    padding: 80px 50px 50px;
    border-radius: 20px;
    background: #ffffff;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 16px;
}

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

.feature_title h3 {
	color: var(--main-color);
    font-family: var(--font-sub);
    font-weight: var(--weight-sub);
    font-size: 150%;
    line-height: 1.6;
    border-bottom: 1px solid var(--line-color);
    padding: 0 0 20px;
}

.feature_num {
    position: absolute;
    top: -22px;
    left: 10px;
    width: 140px;
    height: 80px;
    background: url(../images/front/acce_feature.png) no-repeat center / contain;
    padding: 10px 0 0;
    font-size: 100%;
    font-family: var(--font-sub);
    font-weight: var(--weight-sub);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    line-height: 1;
    letter-spacing: 0.04em;
}

.feature_num span {
	font-size: 180%;
	letter-spacing: 0.1em;
}

.feature_button {
  display: flex;
  flex-flow: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: auto;
  padding-top: 25px;
}

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

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

.feature_item:nth-child(even) .feature_inner {
  margin: 0 -50px 0 0;
}*/

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

  .feature_list {
    gap: 40px;
  }

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

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

  .feature_inner {
		width: calc(100% - 30px);
        min-height: auto;
        margin: -40px auto 0;
        padding: 50px 20px 30px;
  }

  .feature_title {
    min-height: auto;
    margin-bottom: 15px;
  }
	.feature_title h3 {
		font-size: 136%;
		padding: 0 0 16px;
	}
	.feature_num {
		top: -18px;
		left: 20px;
		width: 90px;
		height: 60px;
		padding: 7px 0 0;
		font-size: 90%;
	}
  /* ----- 左右 ----- */
/*  .feature_item:nth-child(even) {
    flex-flow: column;
  }

  .feature_item:nth-child(even) .feature_inner {
    margin: 0 auto;
  }*/
}

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

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

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

.column .column_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 50px 25px;
  padding: 30px;
  background: #ffffff;
}

.column .column_box {
  width: calc(25% - 18.75px);
}

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

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

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

  *無限スライダー

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

#infinitySlider .splide__list {
  gap: 10px;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  #infinitySlider .splide__slide {
    width: 300px !important;
  }
}
