@charset "UTF-8";

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

/* フォント一括リスト正本: library/BasefontStyle/BasefontStyle.txt … キー BFJP_FRONT（[BasefontStyleJP] / css/front.css） */

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

  *基本設定

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ 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 {
  margin-bottom: 50px;
  line-height: 1.5;
  text-align: center;

  /* 左寄せ */
}

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

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

.top_title .eng {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--main-color-light-grd);
  font-family: var(--font-type-en);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  font-size: 400%;
}

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

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

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

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ 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 {
  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 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%;
  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%;
}

/* ----- 開院バナー ----- */
.open_bnr {
  position: absolute;
  bottom: 70px;
  display: inline-block;
  padding: 4px;
  background: rgb(49 165 127 / 38%);
  border-radius: 50%;
}

.open_bnr > * {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 210px;
  height: 210px;
  padding: 15px;
  background: url(../images/front/open_green_back_bg.png) no-repeat top left / cover, var(--bg-color);
  border-radius: 50%;
  color: var(--text-color-brown);
  text-align: center;
  z-index: 2;
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  font-size: 90%;
  letter-spacing: 0.1em;
  line-height: 1.7;
  z-index: 2;
}

.open_bnr > *::before {
  position: absolute;
  content: "";
  width: 243px;
  height: 177px;
  bottom: 0;
  left: 50%;
  margin: auto;
  transform: translateX(-50%);
  background: url(../images/front/open_green_bg.png) no-repeat center / 100%;
  z-index: -1;
}

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

.open_bnr .open_text {
  margin: 15px 0 10px;
  color: var(--main-color);
  font-size: 170% !important;
  font-family: var(--font-type-en);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  font-size: 100%;
  text-align: center;
}
.open_bnr .open_text span {
  display: block;
  margin-top: 8px;
  color: var(--sub-color);
  font-size: 65%;
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
}

.open_bnr .nairankai_tit {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 5px 10px;
  background: #ffffff;
  border-radius: 300px;
  color: var(--main-color);
  font-family: var(--font-type-en);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.7;
  font-size: 90%;
  text-align: center;
}

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

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

/* ----- メインビジュアルのアイコン ----- */
.mv_icon_wrap {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 50px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.mv_icon {
  position: relative;
  background: rgb(255 255 255 / 30%);
  padding: 4px;
  border-radius: 20px;
  transition: 0.2s;
}

.mv_icon_wrap .mv_bnr_item {
  position: relative !important;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 2;
  width: 300px;
  height: 250px;
  background-color: var(--sub-color-grd);
  border-radius: 16px;
  padding: 16px 20px;
  opacity: 1;
  overflow: hidden;
  transition: 0.2s;
  color: #fff;
  text-shadow: 0.02px 0 0 rgb(255 255 255);
  text-align: center;
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  font-size: 116%;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

/* ----- リンクボタン（→と円のみ・白） ----- */
.mv_icon_wrap .mv_bnr_item::before {
  content: "\f061";
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  padding: 0 0 0 3px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--sub-color);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 11px;
  z-index: 1;
  transition: background 0.2s, transform 0.2s ease-in-out;
}

.mv_icon_wrap .mv_icon:hover .mv_bnr_item::before {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.45);
}

.mv_icon_wrap .mv_icon:first-of-type .mv_bnr_item{
  background-color: var(--sub-color-light-grd);
}

.mv_icon_wrap .mv_icon:last-of-type .mv_bnr_item{
  background-color: var(--sub-color-dark-grd);
}

.mv_icon_wrap .mv_bnr_item span {
  width: 100%;
}

.mv_icon_wrap .mv_bnr_item span em {
  display: block;
  width: 100%;
  margin-top:3px;
  /* color: var(--text-color-brown); */
  color: var(--text-color-darkbrown);
  text-shadow: 0.02px 0 0 var(--text-color-darkbrown);
  font-size: 80%;
  /* font-size: 85%; */
  font-style: normal;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.mv_icon_wrap .mv_icon .mv_bnr_item:hover {
  opacity: 0.8;
}

.mv_icon_wrap .mv_icon {
  background: rgb(255 255 255 / 30%);
  color: #fff;
}

.mv_icon_wrap .mv_bnr_item::after {
  position: absolute;
  content: "";
  width: 103px;
  height: 100px;
  top: 50%;
  left: 0;
  bottom: auto;
  transform: translateY(-50%);
  background: url(../images/front/mv_btn_bg.png) no-repeat bottom left / 100%;
  z-index: -1;
  opacity: 0.2;
}

.mv_icon_wrap .mv_icon .mv_bnr_item i{
    display: block;
    width: 55px;
    height: 55px;
    aspect-ratio: 1 / 1;
    background-color: #fff;
    border-radius: 50%;
    margin-bottom: 8px;
    padding: 7px;
    text-align: center;
}

/* ----- スマホ専用エリア ----- */
.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;
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff);
  }

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

  /* ----- 開院バナー -----
     内側の円は PC 共通指定（.open_bnr > * の 210px 固定）と同じ。
     「SP だけ別寸」と言われた場合は下のコメント内の案を参照。
  */
  .open_bnr {
    position: static;
    display: flex;
  }

  .open_bnr > * {
    flex-shrink: 0;
    width: 210px;
    height: 210px;
    padding: 15px;
    border-radius: 50%;
  }

  /*
  ▼ 過去案（トレイ前）: 外枠ごと円形のみ
  .open_bnr {
    position: static;
    width: auto;
    aspect-ratio: 1 / 1;
    min-width: 176px;
    height: auto;
    border-radius: 50%;
  }

  ▼ 過去案: 内側を親幅いっぱいの円にする版（PC の 210px 固定とは異なる）
  .open_bnr > * {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 20px;
    border-radius: 50%;
  }

  .open_bnr > *::before {
    width: 100%;
    height: auto;
    aspect-ratio: 243 / 177;
    left: 0;
    bottom: 0;
    transform: none;
    z-index: -1;
  }

  ▼ トレイ幅の差し替え例（いまは 95%）
  .open_bnr {
    width: 100%;
    margin: 0;
  }
  */

  .mv_icon_wrap {
    position: static;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    gap: 10px 10px;
    margin: 10px 0 30px;
  }
  /* ----- メインビジュアルのアイコン(sp) ----- */
  /* 3枚並びの枠 */
  .mv_icon {
    width: calc(100% / 2 - 10px);
    height: auto;
    aspect-ratio: unset;
    padding: 2px;
    background: rgb(250 234 196 / 90%) !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mv_icon_wrap .mv_bnr_item {
    height: 100%;
    min-height: 190px;
    width: 100%;
    border-radius: 10px;
    padding: 10px 5px 50px;
    font-size: min(3.2vw, 25px) !important;
  }

  /* アイコン：規定のmin()でサイズ指定 */
  .mv_icon_wrap .mv_bnr_item .fa-solid {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    /* 規定に合わせたサイズ調整 */
    width: min(10vw, 40px);
    height: min(10vw, 40px);
    font-size: min(5vw, 20px) !important;
    margin-bottom: min(1.7vw, 13px);
  }

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

  .mv_icon_wrap .mv_bnr_item::before {
    bottom: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 9px;
  }

  .mv_icon_wrap .mv_bnr_item span em {
    margin-top: 6px;
    font-size: 75%;
  }



  /* ----- スマホ専用エリア ----- */
  .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: 10px;
    width: 100%;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.clinic {
  position: relative;
  z-index: 1;
  background: url(../images/front/clinic_bg_top_l.png) no-repeat left top / 30%, url(../images/front/clinic_bg_bt_r.png) no-repeat right bottom / 35%, var(--bg-color);
}

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

.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;
  padding: 40px 0 100px;
}

.clinic .info .inner {
  display: flex;
  gap: 40px;
  background-color: #fff;
  border-radius: 20px;
  padding: 60px 50px;
}

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

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

.clinic .info .office_hour .table_wrapper {
  background: var(--bg-color);
}

.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: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  font-size: 30px;
}

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

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

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

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

.clinic .info .speciality {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px auto 0;
  padding: 20px;
  background: var(--bg-color);
  border-radius: 10px;
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  border-radius: 100vh;
  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: 420px;
}

.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 {
    background: url(../images/front/clinic_bg_top_l.png) no-repeat left top / 80%, url(../images/front/clinic_bg_bt_r.png) no-repeat right bottom / 80%, var(--bg-color);
  }

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

  /* ----- 医院概要 ----- */
  .clinic .info {
    padding: 30px 20px 80px;
  }

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

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

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

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

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

  .clinic .info address .tel,
  .clinic .info address .fax {
    font-size: 26px;
  }
}

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

  *ご挨拶（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.greeting {
  position: relative;
  z-index: 1;
  background: url(../images/front/greeting_top_bg.png) no-repeat center top -5px / 100%, url(../images/front/greeting_bt_bg.png) no-repeat right bottom / 35%,  linear-gradient(135deg, transparent 0%, transparent 68%, rgb(242 251 249 / 80%) 100%), #fff;
}

.greeting .inner {
  padding: 100px 0;
}

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

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

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

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

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

.greeting_right {
  position: relative;
}

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

.greeting_profile {
  position: absolute;
  width: 90%;
  bottom: -75px;
  left: 0;
  right: 0;
  margin: auto;
  padding: 20px;
  background: var(--main-color-light-grd);
  border-radius: 0 0 10px 10px;
  color: #ffffff;
  text-align: center;
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

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

.greeting_profile .name {
  margin-top: 5px;
  font-size: 150%;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting {
    background: url(../images/front/greeting_top_bg.png) no-repeat center top -5px / 100%, url(../images/front/greeting_bt_bg.png) no-repeat right bottom -10px / 100%, linear-gradient(135deg, transparent 0%, transparent 68%, rgb(242 251 249 / 80%) 100%), #fff;
  }

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

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

  .greeting_right {
    position: relative;
    padding-bottom: 105px;
  }
  .greeting_profile{
    bottom: 10px;
  }

  .greeting_left {
    width: 100%;
  }

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),url(../images/front/medical_bg_leaf_top_l.png) no-repeat top -12px left / 383px 287px, url(../images/front/medical_bg_leaf_bt_r.png) no-repeat bottom right / 663px 256px, url(../images/front/medical_bg.png) no-repeat center/cover;
}

.medical .top_title {
  color: #ffffff;
}

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

.medical .top_title span {
  color: var(--main-color);
  font-family: var(--font-type-en);
  font-style: normal;
  font-weight: 500;
  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(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;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 30px 20px 40px;
  text-align: center;
}

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

.medical_icon {
  position: relative;
  width: 100%;
  max-width: 115px;
  padding: 20px;
  margin: 0 auto 15px !important;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.medical_icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f6f7f6;
  opacity: 1;
  z-index: 0;
}

.medical_icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../images/front/watercolor-pattern_120.jpg);
  background-size: cover;
  background-repeat: repeat;
  opacity: 1;
  z-index: 0;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.medical_icon img {
  position: relative;
  z-index: 1;
}

.medical_title h3 {
  color: var(--text-color-brown);
  text-shadow: 0.02px 0 0 var(--text-color-brown);
  font-size: 120%;
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

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

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

.medical_text ul li {
  width: 100%;
  margin-bottom: 5px;
  background: var(--bg-color-pink);
  padding: 5px 10px;
  border-radius: 100vh;
  font-family: var(--font-type);
  font-size: 95%;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.medical_item:nth-child(odd) .medical_text ul li {
  background: var(--bg-color);
}

.medical_text ul li:last-of-type {
  margin-bottom: 0;
}

.medical_btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto;
  padding: 15px 60px 15px 40px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 100vh;
  color: #ffffff;
  font-family: var(--font-type-en);
  font-size: 105%;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  text-align: center;
  transition: padding 0.2s, color 0.2s, background 0.2s;
}

.medical_btn span::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: right 0.2s ease-in-out;
}

.medical_btn span::after {
  content: "\f061";
  position: absolute;
  top: 50%;
  right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  padding: 0 0 0 3px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 11px;
  transform: translateY(-50%) rotate(0deg);
  transition: right 0.2s ease-in-out;
}

.medical_item:nth-child(odd) .medical_btn span {
  background: var(--main-color-light);
  border-color: var(--main-color-light);
}

.medical_item:nth-child(even) .medical_btn span {
  background: var(--sub-color-light);
  border-color: var(--sub-color-light);
}

.medical_item:nth-child(odd):hover .medical_btn span {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #ffffff;
}

.medical_item:nth-child(even):hover .medical_btn span {
  background: var(--sub-color);
  border-color: var(--sub-color);
  color: #ffffff;
}

/* ----------------------------------------------------------------------
  ▼ 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/front/medical_bg_leaf_top_l.png) no-repeat top -12px left / 60%, url(../images/front/medical_bg_leaf_bt_r.png) no-repeat bottom right / 80%, url(../images/front/medical_sp_bg.png) repeat-y center / 100% auto;
    padding-bottom: 55px;
  }

  .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: 20px 15px;
    /* padding: 20px 10px; */
  }

  .medical_icon {
    width: 65%;
    padding: 15px;
  }

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

  .medical_btn span {
    padding: 15px 50px 15px 13px;
  }
  
  .medical_btn span::before {
    width: 25px;
    height: 25px;
  }
  .medical_btn span::after {
    width: 25px;
    height: 25px;
    right: 15px;
  }

  .medical_text {
    width: 100% !important;
  }

  .medical_text ul li {
    padding: 5px;
    font-size: 67%;
    letter-spacing: 0.08em;
    line-height: 1.5;
  }

  /* ----- 2カラム時の市松配置（偶数行の左右を入れ替え） ----- */
  /* #3, #7, #11... → ピンク系（偶数色）に切替 */
  .medical_item:nth-child(4n+3) .medical_text ul li {
    background: var(--bg-color-pink);
  }

  .medical_item:nth-child(4n+3) .medical_btn span {
    background: var(--sub-color-light);
    border-color: var(--sub-color-light);
  }
  .medical_item:nth-child(4n+3):hover .medical_btn span {
    background: var(--sub-color);
    border-color: var(--sub-color);
  }

  /* #4, #8, #12... → グリーン系（奇数色）に切替 */
  .medical_item:nth-child(4n) .medical_text ul li {
    background: var(--bg-color);
  }
  .medical_item:nth-child(4n) .medical_btn span {
    background: var(--main-color-light);
    border-color: var(--main-color-light);
  }
  .medical_item:nth-child(4n):hover .medical_btn span {
    background: var(--main-color);
    border-color: var(--main-color);
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  background: url(../images/front/feature_top_bg.png) no-repeat left top / 35%,url(../images/front/feature_top_bg_r.png) no-repeat right top -10px / 362px 768px, url(../images/front/feature_bt_bg.png) no-repeat right bottom / 35%, var(--bg-color)
}

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

.feature .inner .top_title {
  margin-bottom: 60px;
}

.feature_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  /* gap: 70px 0; */
  gap: 50px 0;
}

.feature_item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0 50px;
  width: 100%;
  height: auto;
}

.feature_item:not(:last-child) {
  padding-bottom: 40px;
}

.feature_item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -47px;
  z-index: 0;
  width: 100%;
  height: 47px;
  background: url(../images/front/feature_line.png) repeat-x center bottom / contain;
  pointer-events: none;
}

.feature_item:last-of-type::after {
  display: none;
}

.feature_item + .feature_item {
  margin-top: 50px;
}

.feature_img {
  flex-shrink: 0;
  width: 500px;
}

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

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

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

.feature_title::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 0;
  z-index: -1;
  width: 112px;
  height: 110px;
  background: url(../images/front/feature_title_bg.png) no-repeat left top / 112px 110px;
  pointer-events: none;
  opacity: 0.5;
}

.feature_title h3 {
  color: var(--main-color);
  font-size: 145%;
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.feature_num {
  /* margin: 0 0 10px; */
  padding: 0 7px;
  color: var(--sub-color-brown);
  font-size: 120%;
  font-weight: 600;
  max-width: 140px;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

.feature_num span {
  color: var(--sub-color);
  font-size: 130%;
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.feature_text.text .list03 {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
}

.feature_text .list03 li {
  margin-bottom: 8px;
  font-size: 17px;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

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

.feature_item:nth-of-type(2) .feature_button {
  width: 80%;
  max-width: 475px;
  justify-content: space-between;
  margin: 0 auto;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .feature {
    background: url(../images/front/feature_top_bg.png) no-repeat left top / 35%, url(../images/front/feature_top_bg_r.png) no-repeat right top -15px / 53%, url(../images/front/feature_bt_bg.png) no-repeat right bottom / 80%, var(--bg-color);
    padding-bottom: 0;
  }

  .feature_list {
    gap: 80px 0;
  }

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

  .feature_item + .feature_item {
    margin-top: 0 !important;
  }

  .feature_item::after {
    bottom: -30px;
    height: 40px;
  }

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

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

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

  .feature_num {
    padding: 0;
    text-align: left;
  }

  .feature_text.text .list03 {
    padding: 35px 20px;
  }

  .feature_text .list03 li {
    font-size: 16px;
    letter-spacing: 0.08em;
  }

  .feature_item:nth-of-type(2) .feature_button {
    width: 100%;
    max-width: unset;
    justify-content: center;
  }

  .feature_item:not(:last-child) {
    padding-bottom: 50px;
  }
}

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

  *医療コラム（パターン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;
  }
}

