@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 {
  margin-bottom: 50px;
  line-height: 1.5;
  text-align: center;
  /* 左寄せ */
}
.top_title.title_left {
  text-align: start;
}
.top_title h2 {
  font-size: 150%;
  letter-spacing: .1em;
}
.top_title .eng {
  display: inline-block;
  color: var(--main-color);
  font-size: 70px;
  font-family: var(--en-font);
  letter-spacing: .1em;
}


/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .top_title {
    margin-bottom: 40px;
  }
  .top_title h2 {
    font-size: 120%;
  }
  .top_title .eng {
    font-size: 45px;
  }
}
/* ==================================================================================================================================

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 1000px;
  overflow: hidden;
}

.mvSlider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.mvSlider::before {
  position: absolute;
  bottom: -10px;
  left: 0;
  content: "";
  width: 100%;
  height: 138px;
  background: url(../images/front/mv_wave.png) no-repeat bottom center / cover;
  z-index: 1;
}

/* ----- スライダーの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動画----------*/
#mvVideo {
  position: relative;
  z-index: 0;
  width:100%;
  height: 100%;
  margin: 0 0 0 auto;
  overflow: hidden;
}

#mvVideo video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  min-width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translateX(-50%) translateY(-50%);
}
/* ----- 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: 50%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}
.mvCatch .inner {
  position: relative;
  z-index: 1;
}
.mvCatch p {
  font-size: 180%;
  font-family: var(--jp-font);
  letter-spacing: .1em;
}

.mvCatch span {
  margin-bottom: 15px;
  padding: 0 50px;
  display: block;
  background: #fff;
  border-radius: 10px;
  width: fit-content;
}

.mvCatch span:first-child {
  font-size: 120%;
}

/* ----- コンテンツ ----- */
.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-size: 110%;
  line-height: 1.5;
  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_info {
  position: absolute;
  left: 0;
  bottom: 0;
  width: fit-content;
  height: 265px;
  padding: 50px 20px 65px;
  display: flex;
  gap: 10px;
}

.mv_info .bnr_item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  text-align: center;
  /* font-family: 'M PLUS 1p', sans-serif; */
  font-size: 100%;
  line-height: 1.6;
  font-weight: 600;
  padding-top: 14px;
}

.mv_info .bnr_item .number {
  color: #80c0e9;
  font-family: var(--en-font);
  font-size: 18px;
}

.mv_info .bnr_item:nth-of-type(2) .number {
  margin-bottom: 10px;
}

.mv_info ol.circle {
  gap: 10px;
  font-size: 110%;
  font-family: var(--jp-font);
}

.mv_info ol.circle li {
  padding: 0 0 0 45px;
}

.mv_info ol.circle li::before {
  top: 2px;
}

.mv_banner {
  position: absolute;
  left: 500px;
  bottom: 50px;
  width: 350px;
}

.mv_btn > *{
  position: relative;
  display: inline-block;
  padding: 20px 45px 20px 35px;
  background: #008cc2;
  border: 1px solid #008cc2;
  width: 100%;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 100%;
  font-family: var(--jp-font);
  letter-spacing: 0.15em;
  text-align: center;
  vertical-align: bottom;
  transition: background 0.2s, color 0.2s;
}

.mv_btn > *::before {  
  content: "\f138";
  position: absolute;
  top: 50%;
  right: 15px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 20px;
  transform: translateY(-50%);
  transition: right 0.2s;
}

.mv_btn i {
  margin-right: 10px;
  padding: 10px;
  background: rgb(255 255 255 / 30%);
  border-radius: 50%;
}

/* ----- スマホ専用エリア ----- */
.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;
  }
  .mvSlider::before {
    bottom: 0;
    width: 768px;
    height: 84px;
    background: url(../images/front/sp_mv_wave.png) no-repeat bottom center / auto;
  }
  /* ----- キャッチコピー ----- */
  .mvCatch {
    top: auto;
    bottom: 20px;
    display: none;
  }
  .mvCatch span {
    margin-bottom: 8px;
    padding: 5px 10px;
  }
  .mvCatch span:first-child {
    font-size: 100%;
  }
  .mvCatch.is-active {
    display: block;
  }
  .mvCatch p {
    font-size: 130%;
    line-height: 1.75;
  }
  /* ----- コンテンツ ----- */
  .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;
  }
  /* ----- スマホ専用エリア ----- */
  .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%;
  }
  .mv_info {
    position: static;
    padding: 20px 10px;
    width: auto;
    max-width: 100%;
    height: auto;
    justify-content: space-evenly;
	flex-wrap: wrap;
  }
  .mv_info ol.circle {
    font-size: 100%;
  }

  .mv_banner {
    position: static;
    width: 100%;
    max-width: 330px;
  }

}

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

  *バナーエリア

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
/* ----- 共通設定 ----- */
.top_banner {
  position: relative;
  z-index: 0;
}

.top_banner::before {
  position: absolute;
  top: 50px;
  left: 5%;
  content: "";
  width: 100px;
  height: 200px;
  background: url(../images/front/bird01.png) no-repeat center / contain;
  z-index: -1;
}

.top_banner::after {
  position: absolute;
  bottom: 50px;
  right: 5%;
  content: "";
  width: 50px;
  height: 100px;
  background: url(../images/front/bird02.png) no-repeat center / contain;
  z-index: -1;
}

.top_banner .inner {
  padding: 100px 50px;
  max-width: 1500px;
}

.top_banner .banner_slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--text-color);
}

/* 画像のみのバナー */
.top_banner .onlyimg .banner_slide {
  height: fit-content;
  padding: 0;
}

.top_banner .onlyimg .banner_slide img {
  width: 100%;
  height: auto;
  transition: opacity 0.2s;
}

.top_banner .onlyimg a.banner_slide:hover img {
  opacity: 0.5;
}

/* インプットバナー */
.top_banner .input .banner_slide {
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 15px;
  background: var(--bg-color);
  border-radius: 15px;
}

.top_banner .input .banner_slide .slide_img {
  flex-shrink: 0;
  width: calc(30% - 10px);
  height: 100%;
}

.top_banner .input .banner_slide .slide_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top_banner .input .banner_slide .slide_inner {
  width: 100%;
  height: 100%;
  padding: 0 0 10px;
}

.top_banner .input .banner_slide .slide_title {
  margin: 0 auto 10px;
  padding: 5px;
  border-bottom: 1px solid var(--line-color);
  color: var(--main-color);
  font-family: var(--jp-font);
  font-size: 110%;
  line-height: 1.5;
}

.top_banner .input .banner_slide .slide_content {
  font-size: 90%;
}

.top_banner .input a.banner_slide:hover {
  opacity: 0.6;
}

/* ----- グリッドバナー ----- */
.banner_grid ul {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.banner_grid li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(33.3333333333% - 13.3333333333px);
}

/* ----- スライダーバナー ----- */
#bannerSlider .splide {
  position: relative;
  z-index: 1;
}

#bannerSlider .splide__inner {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

/* スライドの設定  */
#bannerSlider .splide__slide {
  display: flex;
  align-items: center;
  min-height: 200px;
}

/* スライダーのArrowボタン */
#bannerSlider .bannerSlider_arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
}

#bannerSlider .bannerSlider_arrow i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 0 1px 0;
  background: var(--main-color);
  border-radius: 50%;
  font-size: 80%;
  transition: background 0.2s;
}

#bannerSlider .bannerSlider_arrow:hover i {
  background: var(--sub-color);
}

#bannerSlider .bannerSlider_arrow_prev {
  left: 0;
}

#bannerSlider .bannerSlider_arrow_next {
  right: 0;
}

/* ページネーション */
#bannerSlider .bannerSlider_pagination {
  z-index: 1;
  display: flex;
  gap: 15px;
  margin: 30px auto 0;
}

#bannerSlider .bannerSlider_page {
  width: 10px;
  height: 10px;
  background-color: #e8e8e8;
  border-radius: 50%;
  transition: background 0.2s;
}

#bannerSlider .bannerSlider_page.is-active {
  background: var(--main-color);
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .top_banner::before {
    top: 50px;
    width: 60px;
    height: 100px;
  }

  .top_banner::after {
    bottom: 30px;
    right: 5%;
    width: 40px;
    height: 80px;
  }

  .top_banner .inner {
    padding: 70px 0;
  }

  /* ----- グリッドバナー ----- */
  .banner_grid li {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* ----- スライダーバナー ----- */
  #bannerSlider .splide__inner {
    position: relative;
    z-index: 1;
    padding: 0 15px;
  }

  /* スライダーのArrowボタン */
  #bannerSlider .bannerSlider_arrow {
    width: 40px;
    height: 40px;
  }

  #bannerSlider .bannerSlider_arrow i {
    padding: 0 0 1px 0;
  }

  /* ページネーション */
  #bannerSlider .bannerSlider_pagination {
    gap: 12px;
    margin: 20px auto 0;
  }

  #bannerSlider .bannerSlider_page {
    width: 8px;
    height: 8px;
  }
}


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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.clinic {
  background: var(--bg-color);
}
.clinic .inner {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 60px;
}
.clinic .inner > * {
  width: calc(50% - 30px);
}

/* ----- お知らせ ----- */
.clinic .news .top_title h2 {
  font-size: 170%;
}
.clinic .news .btn01 {
  margin-top: 30px;
  text-align: center;
}

/* ----- 医院概要 ----- */
.clinic .info .office_hour .title {
  background: #ffffff;
}
.clinic .info .office_hour .table_wrapper {
  background: #ffffff;
}

/* 診療科目 */
.clinic .info .speciality {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px auto 0;
  padding: 20px;
  background: #ffffff;
}
.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  color: #ffffff;
  text-align: center;
}

.clinic .info address {
  margin-top: 20px;
}
.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 span {
  display: inline-block;
  margin-right: 10px;
}
.clinic .info address .tel {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-size: 30px;
  line-height: 1;
}
.clinic .info address .tel::before {
  content: "\f3cd";
}
.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-size: 30px;
  line-height: 1;
}
.clinic .info address .fax::before {
  content: "\f249";
}
.clinic .info address .note {
  margin-top: 20px;
  padding-left: 12px;
  font-size: 90%;
}

.clinic .info .list_access {
  margin-top: 10px;
}
.clinic .info .btn01 {
  margin-top: 20px;
  text-align: center;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .clinic .inner > * {
    width: 100%;
  }
  /* ----- 医院概要 ----- */
  .clinic .info .speciality {
    flex-flow: column;
    gap: 10px;
    padding: 15px;
  }
  .clinic .info .speciality .title {
    width: 100%;
  }
}
/* ==================================================================================================================================

  *ご挨拶（パターン01）

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

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

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

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

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

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

.greeting_profile {
  padding: 20px;
  background: var(--main-color);
  color: #ffffff;
  line-height: 1.75;
  text-align: center;
}
.greeting_profile .position {
  font-size: 130%;
}
.greeting_profile .name {
  font-size: 150%;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }
  .greeting_left {
    width: 100%;
  }
  .greeting_btn {
    margin-top: 40px;
  }
}
/* ==================================================================================================================================

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  background: url(../images/front/feature_top_wave.png) no-repeat top center / 100% auto, url(../images/front/bubble01.png) no-repeat top 80px left 5% / 80px auto, url(../images/front/bubble02.png) no-repeat bottom 80px right 5% / 80px auto, linear-gradient(rgb(5 121 166 / 80%), rgb(107 200 242 / 60%)), url(../images/front/top_medical_bg.jpg) no-repeat center / cover;
}

.medical .inner {
  padding: 100px 50px;
  max-width: 1500px;
}

.medical .top_title {
  color: #ffffff;
}

.medical .top_title span {
  color: #ffffff;
}

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

@media screen and (max-width: 480px) {

  .medical_list a span {
    display: none;
  }
}

.medical_item {
  position: relative;
  z-index: 1;
  width: calc((100% / 5) - (80px / 5));
  height: auto;
}

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

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

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

.medical_inner {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 270px;
  padding: 30px 20px 40px;
  background: url(../images/front/top_medical_item.png) no-repeat center / cover;
  border-radius: 15px;
  text-align: center;
}

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

.medical_icon {
  width: 70%;
  max-width: 115px;
  margin: 0 auto 15px !important;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 15px #c9e7fa;
  padding: 15px;
}

.medical_title h3 {
  color: var(--text-color);
  font-size: 110%;
  line-height: 1.5;
}

.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_btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto;
  padding: 3px 35px 2px 20px;
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 1px;
  text-align: center;
  transition: padding 0.2s, color 0.2s, background 0.2s;
}

.medical_btn span::after {
  content: "\f138";
  position: absolute;
  top: 50%;
  right: 10px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
  transform: translateY(-50%);
  transition: right 0.2s;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .medical {
    background: url(../images/front/feature_top_wave.png) no-repeat top center / 768px auto, url(../images/front/bubble01.png) no-repeat top 80px left 5% / 30px auto, url(../images/front/bubble02.png) no-repeat bottom 40px right 5% / 30px auto, linear-gradient(rgb(5 121 166 / 80%), rgb(107 200 242 / 60%)), url(../images/front/top_medical_bg.jpg) no-repeat center / cover;
  }

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

  .medical_list {
    gap: 10px 5px;
  }

  .medical_item {
    width: calc((100% / 3) - (10px / 3));
  }

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

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

  .medical_icon {
    padding: 5px;
    width: 60%;
    max-width: 80px;
  }

  .medical_title h3 {
        font-size: min(2.7vw, 14px);
  }
  .medical_btn span {
    padding: 5px 25px 5px 10px;
    font-size: min(3vw,14px);
  }
  .medical_btn span::after {
    right: 5px;
  }
}
/* ==================================================================================================================================

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  background: url(../images/front/feature_top_wave.png) no-repeat top center / 100% auto, url(../images/front/feature_btm_wave.png) no-repeat bottom -1px center / 100% auto, url(../images/front/tree01.png) no-repeat bottom right / 300px auto, url(../images/front/tree02.png) no-repeat bottom -10px left / 300px auto, url(../images/front/top_feature_bg.jpg) no-repeat top center / cover;
}

.feature .inner {
  padding: 100px 50px 150px;
  max-width: 1500px;
}

.splide.feature_splide {
  visibility: inherit;
}

.feature .splide__track {
  overflow: visible;
}

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

.feature_item {
  padding-top: 30px;
  display: flex;
  flex-flow: column;
  width: calc(33.3333333333% - 20px);
  height: auto;
}

.feature_num {
  margin: 0 0 0 !important;
  background: url(../images/front/feature_num.png) no-repeat center / contain;
  width: 95px;
  color: #fff;
  font-size: 9px;
  font-family: var(--en-font);
  font-weight: 600;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.feature_num span {
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}

.feature_img {
  margin: 0 auto;
  width: 90%;
  position: relative;
  z-index: 1;
}

.feature_img img {
  border-radius: 15px;
  border: 5px solid #bfdfec;
}

.feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  margin-top: -85px;
  padding: 105px 2rem 50px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 0 15px #bbdbea;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.feature_inner::before {
  position: absolute;
  bottom: -8px;
  right: -30px;
  content: "";
  width: 300px;
  height: 200px;
  background: url(../images/front/bg_logo.png) no-repeat center / contain;
  z-index: -1;
  opacity: 0.1;
}

.feature_title {
  display: flex;
  flex-flow: column;
  justify-content: center;
  min-height: 70px;
  padding-bottom: 20px;
  margin-bottom: 40px;
  position: relative;
}

.feature_title::before {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 100%;
  height: 2px;
  background: var(--bg-color);
}

.feature_title h3 {
  color: var(--main-color);
  font-size: 130%;
  line-height: 1.75;
  text-align: center;
}

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

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

/* ==============================================
  *SP
============================================== */
@media screen and (max-width: 640px) {
  .feature {
    background: url(../images/front/feature_top_wave.png) no-repeat top center / 768px auto, url(../images/front/feature_btm_wave.png) no-repeat bottom -1px center / 768px auto, url(../images/front/tree01.png) no-repeat bottom right / 70px auto, url(../images/front/tree02.png) no-repeat bottom left / 100px auto, url(../images/front/top_feature_bg.jpg) no-repeat top center / cover;
  }

  .feature .splide__track {
    padding: 0 20px !important;
  }

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

  .feature .top_title {
    padding-right: 16px;
    padding-left: 16px;
  }

  .feature_list {
    position: relative;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
  }

  .feature_item {
    width: 100% !important;
  }
	
  .feature_img img {
    object-fit: cover;
    height: 160px;
  }

  .feature_inner {
    padding: 95px 20px 30px;
	height:auto;
	font-size:13px;
  }

.feature_num {
    width: 65px;
	font-size: 8px;
  }
	
.feature_num span {
    font-size: 190%;
  }

  .feature_title {
    margin-bottom: 25px;
    padding: 0 0 5px;
    min-height: auto;
  }
	
  .feature_button {
  padding-top: 20px;
  }

  /* ---- 横並びボタン ----- */
  .btnflex_feature .btn01 {
    width: 100%;
  }

  /* ---- ページネーション・スライダー矢印 ----- */
  .feature .feature_splide_options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 20px;
  }

  .feature .splide__pagination {
    display: flex;
    gap: 15px;
    width: fit-content;
  }

  .feature .splide__pagination li button {
    width: 8px;
    height: 8px;
    background-color: #e8e8e8;
    border-radius: 50%;
    transition: background 0.2s;
  }

  .feature .splide__pagination li button.is-active {
    background: var(--main-color);
  }

  .feature .splide__arrows {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: fit-content;
  }

  .feature .splide__arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    padding: 3px;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    aspect-ratio: 1;
  }

  .feature .splide__arrow i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    border-radius: 50%;
    font-size: 80%;
    line-height: 1;
    transition: background 0.2s;
    aspect-ratio: 1;
  }

  .feature .splide__arrow:hover i {
    background: var(--sub-color);
  }
}

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

  *病状、症状から探す（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.search {
  position: relative;
}

.search .inner {
  padding: 100px 50px;
  max-width: 1500px;
}

.search .top_title {
  width: fit-content;
  margin: 0 auto 50px;
  position: relative;
}

.search .top_title::before {
  position: absolute;
  top: 25%;
  left: -280px;
  width: 200px;
  height: 65px;
  content: "";
  background: url(../images/front/fish01.png) no-repeat center / contain;
  transform: rotate(5deg);
}

.search .top_title::after {
  position: absolute;
  bottom: 20%;
  right: -250px;
  width: 150px;
  height: 55px;
  content: "";
  background: url(../images/front/fish02.png) no-repeat center / contain;
  transform: rotate(5deg);
}

.search .tab_list {
  display: flex;
  flex-flow: wrap;
  gap: 1px;
}

.search .tab_list li {
  display: flex;
  flex: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 15px 20px;
  background: #7daac0;
  color: #ffffff;
  font-family: var(--jp-font);
  font-size: 120%;
  cursor: pointer;
  transition: transform 0.2s, padding 0.2s;
}

.search .tab_list li.is-active {
  background: var(--main-color);
}

.search .tab_list li:first-child {
  border-radius: 15px 0 0 0;
}

.search .tab_list li:last-child {
  border-radius: 0 15px 0 0;
}

/* ----- パネル ----- */
.search .panel {
  display: none;
  margin: 0 !important;
  padding: 20px;
  background: var(--bg-color);
  border-radius: 0 0 15px 15px;
}

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

/* ----- 項目 ----- */
.search_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: fit-content;
}

.search_list a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 60px;
  padding: 15px 30px;
  background: #ffffff;
  color: var(--text-color);
  font-size: 105%;
}

.search_list a:hover {
  box-shadow: 0 0 10px #bbdbea;
}

/* ----- 画像あり ----- */
.panel_flex.is-active {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.panel_flex .search_img {
  width: calc(40% - 10px);
  margin: 0 !important;
}

.panel_flex .search_img img {
  border-radius: 10px;
}

.panel_flex .search_list {
  grid-template-columns: repeat(2, 1fr);
  width: calc(60% - 10px);
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .search .inner {
    padding: 70px 20px;
  }

  .search .top_title::before {
    top: -35px;
    left: -65px;
    width: 100px;
    height: 30px;
    transform: rotate(10deg);
  }

  .search .top_title::after {
    bottom: 5%;
    right: -85px;
    width: 70px;
    height: 25px;
    transform: rotate(20deg);
  }

  .search .tab_list {
    margin: 0 0 15px;
    display: grid;
    flex-flow: column;
    gap: 7px;
    grid-template-columns: 1fr 1fr;
  }

  .search .tab_list li:first-child,
  .search .tab_list li:last-child {
    border-radius: 10px;
  }

  .search .tab_list .tab {
    width: 100%;
    min-height: auto;
    padding: 10px !important;
    border-radius: 10px;
    font-size: 110%;
    transform: translate(0, 0) !important;
  }

  /* ----- パネル ----- */
  .search .panel {
    padding: 20px;
    border-radius: 15px;
  }

  /* ----- 項目 ----- */
  .search_list {
    grid-template-columns: repeat(1, 1fr);
  }

  /* ----- 画像あり ----- */
  .panel_flex.is-active {
    gap: 20px;
  }

  .panel_flex .search_img {
    width: 100%;
  }

  .panel_flex .search_list {
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }

  .search_list a {
    min-height: 50px;
    padding: 10px 30px;
    font-size: 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;
  }
}