@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: 70px 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 {
  position: relative;
  margin-bottom: 50px;
  line-height: 1.5;
  text-align: center;

  /* 左寄せ */
}

.top_title::before {
  content: "";
  display: block;
  width: 51px;
  height: 46px;
  background: url(../images/common/mark.svg) no-repeat center / 100%;
  margin: 0 auto 4px;
}

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

.top_title h2 {
  color: var(--text-color-brown);
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
  font-size: 160%;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 5px;
  /* color: var(--main-color); */
  background: -webkit-linear-gradient(90deg, rgb(255 242 169) 0%, rgb(255 214 185) 36%, rgb(181 218 147) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-got-title);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
  font-size: 430%;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .top_title {
    margin-bottom: 40px;
  }

  .top_title h2 {
    margin: 5px 0 0;
    font-family: var(--font-type);
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1.7;
    font-size: 20px;
  }

  .medical .top_title span {
    line-height: 1 !important; 
  }

  .top_title .eng {
    font-size: min(10.2vw, 50px) !important;
  }
}

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

  *メインビジュアル

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

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

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

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


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

.mvImg .splide__track::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 112px;
  background: url(../images/front/mv_wave.svg) no-repeat left bottom / cover;
}

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

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

.mvCatch p {
  padding-top: 0;
  color: var(--text-color-gray);
  font-family: var(--font-type);
  font-weight: 400;
  font-size: 220%;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
}

.mvCatch p span {
  position: relative;
  display: inline-block;
  margin: 0 7px 0 8px;
  color: var(--text-color-brown);
  font-family: var(--font-type);
  font-style: normal;
  font-size: 120%;
  letter-spacing: 0.11em;
}

/* ----- コンテンツ ----- */
.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;
  letter-spacing: 0;
  bottom: 60px;
  /* left: -4px; */
  left: 0;
  display: inline-block;
  padding: 4px;
  width: 288px;
  height: 288px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  aspect-ratio: 1 / 1 !important;
  /* transform: translate(50% , 50%); */

}
.open_bnr > * {
  position: relative;
  display: flex;
  flex-flow: column;
  align-items: center;
  /* top: -10%; */
  /* bottom: 50%; */
  left: 0%;
  justify-content: center;
  /* transform: translate(-50% , 50%); */
  /* align-items: center; */
  width: 280px;
  height: 280px;
  padding: 20px;
  background: url(../images/front/open_bnr_bg.png) no-repeat center / 100%, var(--sub-color);
  border-radius: 50%;
  color: rgb(255, 255, 255);
  font-size: 100%;
  text-align: center;
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
  z-index: 2;
  aspect-ratio: 1 / 1 !important;
}

.open_bnr .date {
	font-size: 135%;
/*  font-size: 95%; */
}
.open_bnr .open_text {
  margin: 0 0 10px;
	font-size: 250%;
/*  font-size: 180%; */
}
.open_bnr .nairankai_tit {
  position: relative;
  display: block;
  width: 60%;
  margin: 0 0 10px;
  padding: 5px 10px;
  background: #ffffff;
  border-radius: 300px;
  color: var(--sub-color);
  font-size: 105%;
  text-align: center;
}

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

/* ---------- MV上のアイコン ---------- */
.mv_icon_wrap {
  position: absolute;
  left: calc(50% - 245px);
  /* bottom: 50px; */
  bottom: 70px;
  display: flex;
  gap: 15px;
}

.mv_icon {
  position: relative;
  background: rgb(255 255 255 / 30%);
  padding: 4px;
  border-radius: 18px;
  transition: box-shadow 0.3s ease, filter 0.3s ease;
  transition: 0.2s;
  z-index: 2;
  transition: transform 0.2s bottom 0.2s;
}

.mv_icon_wrap .mv_bnr_item {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
  width: 200px;
  height: 190px;
  border-radius: 16px;
  padding: /*18*/13px 10px;
  opacity: 1;
  overflow: hidden;
  transition: 0.2s;
  color: #fff !important;
  text-align: center;
  font-family: var(--font-type);
  font-size: /*100*/110%;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
  overflow: hidden;
  z-index: 2;
  transition: opacity 0.2s;
}

.mv_icon_wrap .mv_icon:nth-of-type(1) .mv_bnr_item {
/*   background: rgb(219 204 189 / 80%); */
  background: rgb(208 188 169);
}

.mv_icon_wrap .mv_icon:nth-of-type(2) .mv_bnr_item {
/*   background: rgb(243 193 196 / 80%); */
  background: rgb(248 188 191);
}

.mv_icon_wrap .mv_icon:nth-of-type(3) .mv_bnr_item {
/* 	 background: rgb(254 198 161 / 80%); */
	 background: rgb(248 189 149);
}

.mv_icon_wrap .mv_icon .mv_bnr_item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 103px;
  height: 94px;
  background: url(../images/front/mv_bg_mark.svg) no-repeat center / cover;
  z-index: -1;
}

.mv_icon_wrap .mv_bnr_item em {
  font-size: 120%;
  font-style: normal;
}

.mv_icon_wrap .mv_icon:hover {
  opacity: 0.9;
}


.mv_icon_wrap .mv_bnr_item i {
  display: block;
  margin-bottom: 12px;
  padding: 8px;
  background-color: #fff;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  /* width: 68px; */
  color: var(--main-color);
  font-style: normal;
  font-size: 130%;
  font-weight: 600;
  line-height: 1.2;
}

.mv_icon_wrap .mv_icon:nth-of-type(1) .mv_bnr_item i {
  color: var(--main-color);
}

.mv_icon_wrap .mv_icon:nth-of-type(2) .mv_bnr_item i {
  color: #f3c6c8;
}

.mv_icon_wrap .mv_icon:nth-of-type(3) .mv_bnr_item i {
	 color: var(--sub-color-orange);
}

.mv_icon_inner {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 0 10px;
  width: 250px;
  height: 250px;
  background: linear-gradient(180deg, rgb(89, 173, 241), rgb(15 101 178));
  border-radius: 50%;
  box-shadow: 0px 0px 8px 0px rgb(116 120 123 / 41%);
}

/* ----- スマホ専用エリア ----- */
.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; */
    bottom: calc(50% - 100px);
    display: none;
  }

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

  .mvCatch p {
    font-size: 130%;
    line-height: 1.75;
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff);
  }

  .mvCatch p span {
    margin: 0 2px 0 0;
  }

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

  /* ----- 開院バナー ----- */
  .open_bnr {
    position: static;
    /* max-height: 242px; */
    width: 235px;
    height: 235px;
    /* background-color: rgb(144 185 233 / 50%); */
  }
  .open_bnr > * {
    width: 233px;
    height: 233px;
    margin: auto;
  }
  .open_bnr > ::before, .open_bnr > ::after {
    background-size: 80%;
  }
  .open_bnr > ::before {
    bottom: -17px;
    left: -40px;
  }

  .open_bnr > *::after {
    right: -29px;
  }
  .open_bnr .open_text {
/*    font-size: min(5vw, 16px);  */
  }
  /* .open_bnr {
    position: static;
    width: 100%;
    max-width: 350px;
    border-radius: 0;
  }

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

  /* 3枚並びの枠 */
  .mv_icon_wrap {
    position: static;
    bottom: 20px;
    left: 20px;
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0;
    /* gap: 10px; */
    gap: 5px;
  }

  .mv_icon {
    width: calc(100% / 2 - 10px);
    height: auto;
    min-width: 154px;
    min-height: 120px;
    aspect-ratio: unset;
    padding: 2px;
    /* background: rgb(144 185 233 / 50%); */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mv_icon_wrap .mv_bnr_item {
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    border-radius: 10px;
    padding: 10px 0;
    font-size: min(3.2vw, 12px) !important;
    font-family: var(--font-type);
    font-style: normal;
    letter-spacing: 0.1em;
    line-height: 1.7;
  }

  .mv_icon_wrap .mv_icon .mv_bnr_item::before {
    z-index: -1;
    background-size: 70%;
    background: url(../images/front/mv_bg_mark.svg) no-repeat left bottom / cover;
  }

  .mv_icon_wrap .mv_bnr_item::after {
    top: auto;
    bottom: 0;
    left: 40px;
    transform: translate(-50%, 0);
  }

  /* ----- スマホ専用エリア ----- */
  .sp_only {
    display: block;
    /* background: none !important; */
    background: var(--bg-color);
    padding: 30px 0;
    padding-bottom: 30px;
  }

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

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.clinic {
  position: relative;
  z-index: 1;
  background: var(--bg-color);
  overflow: hidden;
}

/* ----- お知らせ ----- */
.clinic .news {
  position: relative;
  background-color: #fff;
  z-index: 1;
}

.clinic .news::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 308px;
  height: 277px;
  background: url(../images/front/clinic_tree_l_top_bg.png) no-repeat left top / cover;
  z-index: -1;
}

.clinic .news::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 112px;
  background: url(../images/front/news_wave.svg) no-repeat left bottom / cover;
  z-index: -2;
}

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

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

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

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

/* ----- 医院概要 ----- */
.clinic .info {
  position: relative;
  z-index: 1;
}

.clinic .info::before {
  content: "";
  position: absolute;
  bottom: 25px;
  right: 20px;
  width: 353px;
  height: 301px;
  background: url(../images/front/clinic_dotto_bg.png) no-repeat left top / cover;
  z-index: -1;
}

.clinic .info .inner {
  display: flex;
  gap: 40px;
  padding: 100px 0;
}

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

.clinic .info .office_hour .title {
  background: #ffffff;
}

.clinic .info .office_hour .table_wrapper {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.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: var(--font-type-en);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  font-size: 30px;
  line-height: 1;
}

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

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

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

.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  color: var(--text-color-brown);
  font-family: var(--font-type-en);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  font-size: 30px;
  line-height: 1;
}

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

.clinic .info .note {
  margin-top: 20px;
  padding-left: 12px;
  font-family: var(--font-type);
  font-size: 90%;
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.clinic .info .note p > span {
  color: var(--sub-color);
}

.clinic .info .note .list03 li:before {
  left: 5px;
}

.clinic .info .speciality {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px auto 0;
  padding: 20px;
  background: #ffffff;
  border-radius: 14px;
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-align: center;
}

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

.clinic .info .list_access {
  margin-top: 5px;
}

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

.clinic .info .btn01 {
  margin-top: 30px;
  text-align: center;
}
/* ----------------------------------------------------------------------
  ▼ NOTE
---------------------------------------------------------------------- */
@media screen and (min-width: 641px) and (max-width: 1536px) {
  .clinic .news::before {
    background-size: 66%;
  }
}

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

  /* ----- お知らせ ----- */
  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 60px 20px;
  }

  /* ----- 医院概要 ----- */
	.clinic .info{
		padding-top: 30px;
	}
  .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 .news::before {
    background-size: 50%;
  }
  .clinic .news::after {
    background: url(../images/front/news_wave.png) no-repeat center bottom / cover;
    overflow: hidden;
  }
  .clinic .info address .location .zipcode {
    display: block;
  }
}

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

  *ご挨拶（パターン01）

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

.greeting::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 617px;
  height: 173px;
  background: url(../images/front/greeting_bg_l_top.svg) no-repeat left top -2px / cover;
  z-index: -1;
}

.greeting::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 1059px;
  height: 242px;
  background: url(../images/front/greeting_bg_r_bt.svg) no-repeat right bottom / cover;
}

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

.greeting .inner::before {
  content: "";
  position: absolute;
  bottom: 110px;
  left: -190px;
  width: 408px;
  height: 371px;
  background: url(../images/front/greeting_bg_mark.svg) no-repeat left top / cover;
  z-index: -1;
  opacity: 0.5;
}

.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 .catchcopy {
  margin-bottom: 1.3em !important;
  color: var(--text-color-gray);
  font-family: var(--font-type);
  font-weight: 400;
  font-style: normal;
  font-size: 160%;
}

.greeting_text .catchcopy span {
  margin: 0 4px 0 0;
  color: var(--main-color);
  font-size: 120%;
}

.greeting_left p {
  font-feature-settings: "palt";
  font-size: 105%;
  font-style: normal !important;
  letter-spacing: 0.12em;
  line-height: 2.2;
}

.greeting_img {
  margin: auto;
  text-align: center;
}

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

.greeting_profile {
  background: var(--main-color);
  border-radius: 0 0 15px 15px;
  max-width: 416px;
  margin: auto;
  padding: 30px 20px;
  color: #ffffff;
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-align: center;
}

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

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

.greeting_profile .name em {
  display: inline-block;
  font-style: normal;
  font-size: 75%;
  margin-right: 10px;
}

.greeting_profile .name i {
  display: inline-block;
  font-style: normal;
  font-size: 75%;
  margin-left: 10px;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting::before {
    background-size: 50%;
  }
  .greeting::after {
    background-size: 100%;
    width: 100%;
  }
  
.greeting .inner::before {
  background: url(../images/front/greeting_bg_mark.svg) no-repeat left bottom / cover;
  background-size: 50%;
  left: 10px;
  bottom: 140px;
}
.greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }

  .greeting_text .catchcopy {
    font-size: min(4.6vw, 22px) !important;
  }

  .greeting_profile .position {
    font-size: min(3.7vw, 12px) !important;
  }

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  background:linear-gradient(rgb(246 239 236 / 80%), rgb(246 239 236 / 50%)), url(../images/common/dmy.jpg) no-repeat center / cover;
	background:linear-gradient(rgb(246 239 236 / 80%), rgb(246 239 236 / 50%)), url(../images/front/medical_bg.jpg) no-repeat center / cover;
}

.medical .top_title {
  color: #ffffff;
}

.medical .top_title .eng {
/*   background: -webkit-linear-gradient(269deg, rgb(255 255 255 / 33%) 0%, rgb(255 255 255) 36%, rgb(164 107 88 / 65%) 100%); */
background: -webkit-linear-gradient(269deg, rgb(199 181 164 / 50%) 0%, #c7b5a4 36%, var(--text-color-brown));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.medical .top_title span {
  color: var(--main-color);
  font-family: var(--font-type-en);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

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

.medical_item {
  position: relative;
  z-index: 1;
  width: calc(33.3333333333% - 13.333px);
  height: auto;
} */

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

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

.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 {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 270px;
  padding: 30px 20px 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  z-index: 1;
}

.medical_item .medical_inner::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  width: 40px;
  height: 40px;
  background: var(--main-color);
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  transition: 0.2s ease-in-out;
  z-index: -1;
}

.medical_item:nth-of-type(1) .medical_inner::before,.medical_item:nth-of-type(5) .medical_inner::before {
  background: var(--sub-color);
}

.medical_item:nth-of-type(2) .medical_inner::before,.medical_item:nth-of-type(6) .medical_inner::before {
  background: var(--sub-color-pink);
}

.medical_item:nth-of-type(3) .medical_inner::before {
  background: var(--sub-color-orange);
}

.medical_item:nth-of-type(4) .medical_inner::before {
  background: var(--sub-color-yellow);
}

.medical_item:hover .medical_inner::before {
  width: 100%;
  height: 100%;
  clip-path: stroke-box;
  border-radius: 15px;
}

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

.medical_icon {
  /* width: 70%;
  max-width: 80px;
  margin: 0 auto 15px !important; */
  width: 100%;
  max-width: 115px;
  background-color: var(--main-color);
  aspect-ratio: 1 / 1;
  margin: 0 auto 15px !important;
  /* padding: 25px; */
  border-radius: 50%;
}

.medical_title h3 {
  color: var(--text-color);
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
  font-size: /*120*/130%;
}

.medical_title_eng {
  /* margin-top: 5px;
  color: var(--main-color);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center; */
  position: absolute;
  top: 30px;
  right: 25px;
  display: flex;
  align-items: flex-start;
  color: var(--main-color);
  font-family: var(--font-type-en);
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1;
  text-align: center;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

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

/* ----------------------------------------------------------------------
  ▼ 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;
	  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url(../images/front/medical_bg.jpg) no-repeat center/cover;
  }

  .medical_list {
    gap: 15px 10px;
  }

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

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

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

  .medical_item .medical_inner::before {
    width: 25px;
    height: 25px;
  }

  .medical_icon {
    width: 50%;
    /* padding: 15px; */
  }

  .medical_title h3 {
    font-family: var(--font-type);
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1.7;
    font-size: min(3.6vw, 17px) !important;
  }

  .medical_title_eng {
    top: 15px;
    right: 7px;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  position: relative;
  background: url(../images/front/feature_bg_top.png) no-repeat center top / 100% auto, url(../images/front/feature_bg_bt.png) no-repeat center bottom / 100% auto, var(--bg-color);
  z-index: 1;
}

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

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

.feature_item:nth-of-type(1)::before,.feature_item:nth-of-type(3)::before {
  content: "";
  position: absolute;
  bottom: -287px;
  right: calc((100vw - 1200px) / -2); /* コンテナ外側から画面右端までの距離を自動計算 */
    /* bottom はそのままお好みの位置に調整してください */
  width: 418px;
  height: 510px;
  background: url(../images/front/feature_inner_bg01.png) no-repeat left top / cover;
  z-index: -1;
}

.feature_item:nth-of-type(2)::before,.feature_item:nth-of-type(4)::before {
  content: "";
  position: absolute;
  bottom: -287px;
  left: calc((100vw - 1200px) / -2); /* コンテナ外側から画面左端までの距離を自動計算 */
  width: 481px;
  height: 579px;
  background: url(../images/front/feature_inner_bg02.png) no-repeat left top / cover;
  z-index: -1;
}

.feature_img {
  position: relative;
  flex-shrink: 0;
  width: 500px;
  height: fit-content;
  margin-top: -50px;
  padding: 0 0 20px 20px;
  z-index: 1;
}

.feature_item:nth-child(odd) .feature_img {
  /* padding: 0 0 20px 20px; */
  padding: 0 0 15px 15px;
}
.feature_item:nth-child(even) .feature_img {
  /* padding: 0 20px 20px 0; */
  padding: 0 15px 15px 0;
}

.feature_img:before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: calc(100% - 20px);
  background: var(--sub-color-yellow);
  border-radius: 30px 0 0 30px;
  z-index: -1;
}

.feature_item:nth-child(odd) .feature_img:before {
  border-radius: 30px 0 0 30px;
}
.feature_item:nth-child(even) .feature_img:before {
  border-radius: 0 30px 30px 0;
  background: var(--sub-color-orange);
}

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

.feature_inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-flow: column;
  width: calc(100% + 50px);
  height: 100%;
  min-height: 400px;
  margin: 0 0 0 -50px;
  /* padding: 50px 30px 50px; */
  padding: 50px 75px 50px 90px;
  background: #ffffff;
  border-radius: 15px;
  z-index: 1;
}

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

.feature_title {
  position: relative;
  display: flex;
  flex-flow: column;
  margin-bottom: 30px;
}

.feature_title h3 {
  position: relative;
  padding-bottom: 30px;
  color: var(--text-color-brown);
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
  font-size: 150%;
  z-index: 1;
}

.feature_title h3:before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 16px;
  content: '';
  background: url(../images/front/feature_h3_line.png) repeat-x left bottom / 237px 16px;
  z-index: -1;
}

.feature_num {
  position: absolute;
  display: inline-flex;
  align-items: flex-end; /* 「Feature.」と「01」を下揃えにする */
  /* font-size: 120%; */
  margin-bottom: 12px; /* 下の見出しとの隙間 */
  color: #efefef;
  font-family: var(--font-got-title);
  font-weight: 700;
  font-size: 36px;
  /* 小文字を自動で大文字「FEATURE.」に変換 */
  text-transform: uppercase; 
  letter-spacing: 0.3em; /* 文字の間隔を広げる */
  line-height: 0.9;
  text-shadow: 
    /* 上下左右 */
    2px  0px 0 #c7c7c7,
    -2px  0px 0 #c7c7c7,
     0px  2px 0 #c7c7c7,
     0px -2px 0 #c7c7c7,
     1.4px  1.4px 0 #c7c7c7,
    -1.4px -1.4px 0 #c7c7c7,
     1.4px -1.4px 0 #c7c7c7,
    -1.4px  1.4px 0 #c7c7c7,
     2px  4px 8px rgba(199, 199, 199, 0.15);
}

.feature_item:nth-child(odd) .feature_inner .feature_num {
  top: -96px;
  right: -50px;
}
.feature_item:nth-child(even) .feature_inner .feature_num {
  top: -96px;
  left: -50px;
}

.feature_num span {
  margin-left: -16px; /* 「Feature.」との間の絶妙な隙間 */
  color: #f4f4f4;
  font-family: var(--font-got-title);
  font-size: 72px; /* 数字だけ大きく */
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.1em; /* 0と1の隙間を少し詰める */
  line-height: 0.8;
  /* letter-spacing: 0.1em; */
  /* line-height: 1.7; */
  /* font-size: 130%; */
}

.feature_button {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  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; */
    gap: 50px;
  }

  .feature_item {
    flex-flow: column;
    width: 100%;
    gap: 30px 0;
    margin: 0;
  }
  .feature_item:nth-child(odd) .feature_inner .feature_num {
    /* top: -75px; */
    top: -55px;
    left: 0;
    right: 0;
    font-size: 25px;
    white-space: nowrap;
  }

  .feature_num span {
    margin-left: -10px;
    font-size: 60px;
  }

  .feature_item:nth-child(even) .feature_inner .feature_num {
    /* top: -75px; */
    top: -55px;
    left: auto;
    /* right: 0; */
    font-size: 25px;
    white-space: nowrap;
  }

  .feature_title h3 {
    margin-top: 15px;
    font-size: min(5vw, 20px) !important;
  }

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

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

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

  .feature_item:nth-child(odd) .feature_img:before,.feature_item:nth-child(even) .feature_img:before {
    top: 10px;
    height: calc(100% - 10px);
    border-radius: 20px;
  }

  .feature_item:nth-child(odd) .feature_img {
    /* padding: 0 0 20px 20px; */
    padding: 0 0 10px 10px;
  }
  .feature_item:nth-child(even) .feature_img {
    /* padding: 0 20px 20px 0; */
    padding: 0 10px 10px 0;
  }

  .feature_title {
    min-height: auto;
    margin-bottom: 15px;
  }

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