@charset "UTF-8";

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

  *基本設定

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.front {
  background-image: radial-gradient(circle, rgb(228, 245, 255) 1.5px, transparent 1.5px), radial-gradient(circle, rgb(187, 244, 255) 1px, transparent 1px);
  background-size: 23px 45px;
  background-position: 0px 0px, 11.5px 22.5px;
  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: 42px;
  background: url(../images/front/mark.svg) no-repeat center / 100%;
  margin: 0 auto 4px;
}

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

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

.top_title .eng {
  display: inline-block;
  color: var(--sub-color);
  font-family: var(--font-type-en);
  font-size: 150%;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

/* ----------------------------------------------------------------------
  ▼ 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-size: 26px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.7;
  }

  .top_title .eng {
    font-family: var(--font-type-en);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1.7;
  }
}

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

  *メインビジュアル

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

.mvCatch p {
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
  color: var(--text-color-darkbrown);
  font-family: var(--font-type);
  font-size: 220%;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-align: center;
}

.mvCatch p em  {
  margin: 0 5px 0 0;
  color: var(--main-color);
  font-size: 120%;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.mvCatch p i  {
  color: var(--sub-color);
  margin: 0 5px;
  font-size: 120%;
  font-style: normal;
  font-weight: 500;
}


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

.open_bnr > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 280px;
  padding: 15px;
  background: var(--main-color);
  border-radius: 50%;
  color: #ffffff;
  font-family: var(--font-type);
  font-size: 110%;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-align: center;
}

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

.open_bnr .open_text {
  margin: 0 0 10px;
  font-size: 180%;
}

.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-size: 90%;
  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: 0;
  bottom: 50px;
  display: flex;
  gap: 15px;
}

.mv_icon {
  position: relative;
  background: rgb(255 255 255 / 30%);
  padding: 4px;
  border-radius: 9px;
  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: 200px;
  height: 170px;
  background: rgb(0 172 168 / 80%);
  border-radius: 5px;
  padding: 25px 20px;
  opacity: 1;
  overflow: hidden;
  transition: 0.2s;
  color: #fff;
  font-family: var(--font-type) !important;
  font-size: 105%;
  font-style: normal;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1.7;
  z-index: 2;
} 

.mv_icon_wrap .mv_bnr_item::after {
  position: absolute;
  content: "";
  width: 103px;
  height: 88px;
  top: 71%;
  left: 18px;
  transform: translate(-50%, -50%);
  /* background: url(../images/mv_bnr_bg_foot.svg) no-repeat center / 100%; */
  z-index: -1;
  overflow: hidden;
}

.mv_icon_wrap .mv_icon:first-of-type .mv_bnr_item{
  background-color: rgb(98 202 199 / 80%);
}

.mv_icon_wrap .mv_icon:last-of-type .mv_bnr_item{
  background-color: rgb(0 91 171 / 80%);
}

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

.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_icon .mv_bnr_item i {
  display: block;
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  background-color: #fff;
  color: var(--sub-color);
  font-size: 25px;
}

.mv_icon_wrap .mv_icon:nth-of-type(1) .mv_bnr_item i {
  color: #71bdba;
}

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

.mv_icon_wrap .mv_bnr_item::after {
  position: absolute;
  content: "";
  width: 103px;
  height: 85px;
  left: 38px;
  transform: translate(-50%, -50%);
  background: url(../images/front/mv_bg_mark.svg) no-repeat bottom left / 100%;
  z-index: -1;
  opacity: 0.5;
}

/* ----- スマホ専用エリア ----- */
.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% - 60px);
    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;
  }

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

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

  .mv_icon_wrap {
    position: static;
    bottom: 0;
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
    width: auto;
    gap: 10px 10px;
    margin: 10px 0 30px;
  }

  /* 3枚並びの枠 */
  .mv_icon {
    width: calc(100% / 2 - 10px);
    height: auto;
    aspect-ratio: unset;
    padding: 2px;
    background: rgb(117 205 205 / 20%) !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mv_icon:nth-of-type(1) {
    background: rgb(50 120 177 / 29%) !important;
  }

  .mv_icon_wrap .mv_bnr_item {
    height: 100%;
    width: 100%;
    border-radius: 10px;
    padding: 10px 5px 15px;
    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);
  }

  /* ----- スマホ専用エリア ----- */
  .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: var(--bg-color); */
  /* background: #ffffff; */
  z-index: 1;
  padding-bottom: 100px;
}

.clinic::before {
  position: absolute;
  content: "";
  width: calc(50% - 360px);
  height: 100%;
  top: 0;
  left: 0;
  margin: auto;
  background-color: var(--bg-color);
  z-index: -1;
}

/* ----- お知らせ ----- */
.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: 50px;
  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 .inner {
  position: relative;
  padding: 40px 20px 20px 0;
  z-index: 1;
}
.clinic .info .info_box {
  position: relative;
  width: 100% !important;
  display: flex;
  gap: 50px;
  padding: 0 0 100px;
  background: var(--bg-colorlight);
  border-radius: 18px;
  padding: 50px 60px;
}

.clinic .info .info_box::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 20px;
  left: 20px;
  margin: auto;
  z-index: -1;
  background: var(--sub-color-light-50);
  border-radius: 23px;
}

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

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

/* .clinic .info .office_hour .table_wrapper {
  background: #ffffff;
} */

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

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

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

.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;
  font-family: var(--font-type-en);
  font-size: 80%;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

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

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

.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 {
    padding-bottom: 0;
  }

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

  /* ----- 医院概要 ----- */
  .clinic .info .inner {
    flex-flow: column;
    padding: 0 20px 70px;
  }

  .clinic .info .inner>* {
    width: 100% !important;
    flex-flow: column;
    /* padding: 0 20px 70px; */
    padding: 50px 15px;
  }
  .clinic .info .info_box >* {
    width: 100% !important;
  }
  .clinic .info .info_box::before {
    top: 10px;
    left: 10px;
  }
  .clinic .info .speciality {
    flex-direction: column;
    padding: 20px 0;
  }
  .clinic .info .speciality .title {
    /* width: 100%; */
    width: 95%;
  }
  .clinic .info .note {
    padding-left: 0;
  }
  .clinic .info .googlemap iframe {
    height: 350px;
  }
  .clinic .info address .location .zipcode {
    display: block;
  }
}

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

  *ご挨拶（パターン01）

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

.greeting::before,
.greeting::after {
  position: absolute;
  content: "";
  width: calc(50% - 360px);
  height: 39%;
  margin: auto;
  z-index: -1;
}

.greeting::before {
  top: 210px;
  right: 0;
  background-color: var(--bg-color-lightbeige);
}

.greeting::after {
  bottom: 100px;
  left: 0;
  background-color: var(--bg-color-lightbeige);
}

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

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

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

.greeting_box::before {
  position: absolute;
  content: "";
  width: 326px;
  height: 267px;
  bottom: 73px;
  z-index: -1;
  opacity: 0.5;
}

.greeting_box:nth-child(odd)::before {
  left: calc(50% - 600px);
  background: url(../images/front/greeting_bg_mark.svg) no-repeat bottom left / cover;
}

.greeting_box:nth-child(even)::before {
  right: calc(50% - 600px);
  background: url(../images/front/greeting_bg_mark.svg) no-repeat bottom left / cover;
}

.greeting_box:nth-child(even) .greeting_flex {
  flex-direction: row-reverse;
}

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

.greeting_left {
/*   flex-shrink: 0; */
  width: 100%;
  text-align: center;
}

.greeting_text .catchcopy {
  color: var(--text-color-darkbrown);
  font-family: var(--font-type);
  font-size: 180%;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.greeting_box:nth-child(odd) .greeting_text .catchcopy {
  color: var(--main-color);
}

.greeting_box:nth-child(even) .greeting_text .catchcopy {
  color: var(--sub-color);
}

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

.greeting_left p {
  font-feature-settings: "palt";
  font-size: 17px;
  font-style: normal;
  letter-spacing: 0.15em;
  line-height: 2.3;
}

.greeting_img {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-left: 20px;
  padding-bottom: 20px;
}

.greeting_img::before {
  position: absolute;
  content: "";
  width: calc(100% - 20px);
  max-width: 416px;
  height: calc(100% - 20px);
  top: 20px;
  right: 20px;
  margin: auto;
  z-index: -1;
  border-radius: 23px;
}

.greeting_box:nth-child(odd) .greeting_img::before {
  background: var(--main-color-light-50);
}

.greeting_box:nth-child(even) .greeting_img::before {
  background: var(--sub-color-light-50);
}

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

.greeting_profile {
  /* padding: 20px;
  background: var(--main-color); */
  padding: 40px 0 0;
  color: var(--text-color-darkbrown);
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-align: center;
}

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

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

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

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

.greeting_box:nth-child(odd) .greeting_btn.btn01 > * {
  background: var(--main-color);
  border: 1px solid var(--main-color);
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting_img::before {
    margin: auto;
  }
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 40px 0;
  }

  .greeting_left {
    width: 100%;
  }

  .greeting_left p{
    font-size: 16px;
    letter-spacing: 0.1em;
    line-height: 2.0;
  }

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

  .greeting_profile {
    padding: 25px 0 0;
  }

  .greeting_text .catchcopy {
    margin-bottom: 1em !important;
    font-size: min(5.8vw, 20px);
  }

  .greeting_btn {
    margin-top: 40px;
  }
  .greeting_box:nth-child(even) .greeting_flex {
    flex-direction: column-reverse;
  }
  .greeting_box:nth-child(odd)::before {
    left: 0;
    top: calc(50% - 0.01em);
  }
  .greeting_box:nth-child(even)::before {
    right: 0;
    bottom: calc(50% - 0.01em);
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  position: relative;
  z-index: 1;
  /* background: var(--bg-color); */
  overflow: hidden; /* ★斜めにはみ出た背景をカットするために追加 */
}

.medical::before {
  position: absolute;
  content: "";
  top: 0;
  left: -10%;
  width: 45%;
  height: 100%;
  background: var(--bg-color);
  z-index: -1;
  transform: skewX(15deg);
  transform-origin: top left;
}

.medical .top_title {
  color: #ffffff;
}

.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(25% - 15px);
  height: auto;
}

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

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

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

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

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

.medical_icon {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 220px;
  margin: 0 auto 25px !important;
  padding: 60px;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}

.medical_item:nth-child(odd) .medical_icon {
  background-color: var(--main-color);
}

.medical_item .medical_icon::before{
  position: absolute;
  content: "";
  top: 10px;
  left: 10px;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  z-index: -1;
}

.medical_item:nth-child(odd) .medical_icon::before {
  background: var(--main-color-light-50);
}

.medical_item:nth-child(even) .medical_icon {
  background-color: var(--sub-color);
}

.medical_item:nth-child(even) .medical_icon::before {
  background: var(--sub-color-light-50);
} 

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

.medical_title_eng {
  margin-top: 5px;
  font-size: 12px;
  font-family: var(--font-type-en);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
}

.medical_item:nth-child(odd) .medical_title_eng {
  color: var(--sub-color);
}

.medical_item:nth-child(even) .medical_title_eng {
  color: var(--main-color);
}

.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::before {
    left: -64%;
    width: 100%;
    height: 100%;
  }
  .medical_list {
    gap: 15px 10px;
  }

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

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

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

  .medical_icon {
    position: relative;
    /* width: 50%; */
    width: 100%;
    padding: 30px;
    z-index: 2;
  }

  /* 1番目・4番目のグループ（メインカラー） */
  .medical_item:nth-child(4n+1) .medical_icon,
  .medical_item:nth-child(4n) .medical_icon {
    background-color: var(--main-color);
  }
  .medical_item:nth-child(4n+1) .medical_icon::before,
  .medical_item:nth-child(4n) .medical_icon::before {
    background: var(--main-color-light-50);
  }

  /* 2番目・3番目のグループ（サブカラー） */
  .medical_item:nth-child(4n+2) .medical_icon,
  .medical_item:nth-child(4n+3) .medical_icon {
    background-color: var(--sub-color);
  }
  .medical_item:nth-child(4n+2) .medical_icon::before,
  .medical_item:nth-child(4n+3) .medical_icon::before {
    background: var(--sub-color-light-50);
  }

  .medical_title h3 {
    font-family: var(--font-type);
    /* font-size: 110%; */
    font-size: min(3.7vw, 22px);
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.7;
  }
  .medical_title_eng {
    font-size: min(2.0vw, 12px);
  }
}

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

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

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

.feature::before {
  position: absolute;
  content: "";
  width: 35%;
  height: 100%;
  bottom: 0;
  left: 0;
  background-color: #fff;
  z-index: -1;
}

.feature .inner {
  margin: auto;
  padding: 100px 0;
}

.feature_list {
  display: flex;
  flex-flow: wrap;
  /* align-items: center; */
  gap: 130px 30px;
}

.feature_item {
  display: flex;
  align-items: center;
  height: auto;
  width: 100%;
  /* margin-top: 50px; */
  gap: 0 50px;
}

.feature_img {
  position: relative;
  width: 500px;
  flex-shrink: 0;
  margin-top: 0;
  z-index: 1;
  padding-left: 20px;
  padding-bottom: 20px;
}

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

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

.feature_item:nth-child(even) .feature_img::before {
  background: var(--sub-color-light-50);
}

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

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

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

.feature_title h3 {
  position: relative;
  /* padding: 1rem 0 1rem 0; */
  padding: 0.8rem 0 1rem 0;
  color: var(--main-color);
  font-family: var(--font-type);
  font-size: 150%;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.75;
}

.feature_item:nth-child(odd) .feature_title h3{
  color: var(--main-color);
  border-bottom: 3px solid var(--main-color);
}

.feature_item:nth-child(even) .feature_title h3{
  color: var(--sub-color);
  border-bottom: 3px solid var(--sub-color);
}

.feature_title h3:before {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 50%;
  height: 3px;
  content: '';
}

.feature_item:nth-child(odd) .feature_title h3:before{
  background-color: var(--main-color-light);
}

.feature_item:nth-child(even) .feature_title h3:before{
  background-color: var(--sub-color-light02);
}

.feature_num {
  /* margin: 0 0 15px !important; */
  margin: 0 !important;
  color: var(--text-color-darkbrown);
  font-size: 120%;
  font-family: var(--font-type-en);
  font-size: 135%;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
}

.feature_num span {
  font-family: var(--font-type-en);
  font-size: 150%;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
}

.feature_item:nth-child(odd) .feature_num span {
  color: var(--main-color);
}

.feature_item:nth-child(even) .feature_num span {
  color: var(--sub-color);
}

.feature_text.text p {
  font-feature-settings: "palt";
  font-size: 17px;
  font-style: normal;
  letter-spacing: 0.15em;
  line-height: 2.3;
}

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

.feature_item .btn01 > * {
  font-size: 95%;
}

.feature_item:nth-child(odd) .btn01 > * {
  background: var(--main-color) !important;
  border: 1px solid var(--main-color) !important;
}

.feature_item:nth-child(even) .btn01 > * {
  background: var(--sub-color) !important;
  border: 1px solid var(--sub-color) !important;
}

.feature_item:nth-child(odd) .btn01 > *:hover {
  background: var(--main-color-light) !important;
  border: 1px solid var(--main-color-light) !important;
  color: #ffffff;
} 

.feature_item:nth-child(even) .btn01 > *:hover {
  background: var(--sub-color-light02) !important;
  border: 1px solid var(--sub-color-light02) !important;
  color: #ffffff;
} 

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

.btnflex_feature .btn01 {
  width: calc(50% - 2.5px);
}

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

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

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

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

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

  .feature_list {
    gap: 40px;
  }

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

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

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

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

  .feature_title h3 {
    font-size: min(5vw, 23px);
  }

  .feature_text.text p {
    font-size: 16px;
    letter-spacing: 0.1em;
    line-height: 2.0;
  }

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

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

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

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