@charset "UTF-8";

/* ---------------------
  - *基本設定
  - *タイトル
  - *メインビジュアル
  - *バナーエリア
  - *医院概要
  - *ご挨拶
  - *診療案内
  - *当院の特徴
  - *病状・病名から探す
  - *医療コラム
  - *無限スライダー
--------------------- */
@import url("variables.css");

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

  *基本設定

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

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

  *タイトル

================================================================================================================================== */
.top_title {
  margin-bottom: 50px;
  /* line-height: 1.; */
  text-align: center;
  position: relative;
}



.top_title::before {
  content: "";
  display: block;
  width: 60px;
  height: 60px;
  margin: 0px auto;
  background: url(../images/moon.png) no-repeat center / contain;
  position: relative;
  top: 10px;
  margin-bottom: 10px;
}


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

.top_title h2 {
  /* font-family: var(--font-jp); */
  font-size: 22px;
  /* letter-spacing: 0.175em; */
}

.top_title .eng {
  font-size: 65px;
  letter-spacing: 0.05em;
  line-height: 1.2;
  /* font-size: 60px; */
  display: inline-block;
  margin-bottom: 5px;
  background: linear-gradient(135deg, #0b1680, #a4def8);
  /* background: linear-gradient(135deg, #f7a12f, #f6dc3d); */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* color: var(--main-color); */
  /* font-family: var(--font-jp); */

}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
  .top_title {
    margin-bottom: 40px;
  }

  .top_title h2 {
    /* margin: 5px 0 0; */
    font-size: 18px;
  }

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

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

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
  position: relative;
  z-index: 1;
  /* height: 100vh; */
  height: 850px;
  width: 95%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}

/* .slider-fade .slick-slide img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  border-radius: 20px;
} */


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

.slider-fade .slick-slide img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  border-radius: 20px;
}

/* ----- スライダーの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: "\f053";
}

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

/* 各スライダーのボタンは非表示に */
.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 hideImg {
  0% {
    opacity: 1;
  }

  10% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

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

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

.mvCatch p {
  font-size: 250%;
  color: #003c7ead;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) 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;
  max-width: 95%;
  height: 100%;
  margin: 0 auto;
}

.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: #003c7ead;
  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);
}

/* ----- RIBONバナー ----- */
.mv_ribon {
  position: absolute;
  bottom: 150px;
  left: 0;
}

.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: 50%;
    transform: translateY(-50%);
    /* bottom: 20px; */
  }

  .mvCatch p {
    font-size: 150%;
    line-height: 1.75;
text-shadow:
  0 0 5px #ffffff,
  0 0 5px #ffffff,
  0 0 5px #ffffff,
  0 0 5px #ffffff,
  0 0 5px #ffffff,
  0 0 5px #ffffff,
  0 0 5px #ffffff;
	  filter: none;
  }

  .mvContents {
    display: none;
  }

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

  .open_bnr {
    position: static;
    width: 100%;
    max-width: 350px;
    border-radius: 0;
  }

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

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

  *バナーエリア

================================================================================================================================== */
/* ----- 共通設定 ----- */
.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);
}

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

.top_banner .input a.banner_slide:hover {
  background: #f5f5f5;
}

.top_banner .input .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 .slide_inner {
  width: 100%;
  height: 100%;
  padding: 0 0 10px;
}

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

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

/* ----- グリッドバナー ----- */
.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(--text-color);
}

#bannerSlider .bannerSlider_arrow_prev {
  left: 0;
}

#bannerSlider .bannerSlider_arrow_prev span::before {
  content: "\f104";
}

#bannerSlider .bannerSlider_arrow_next {
  right: 0;
}

#bannerSlider .bannerSlider_arrow_next span::before {
  content: "\f105";
}

/* ページネーション */
#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) {

  /* ----- グリッドバナー ----- */
  .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;
  }
}

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

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

==================================================================================================================================*/
.clinic {
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0)), url(../images/bg_feature.jpg) no-repeat center / cover !important;
}

.clinic::after {
  content: "";
  width: 90%;
  height: 110px;
  position: absolute;
  background: url(../images/star_line.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.clinic .top_title::before {
  display: none;
}


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

.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 {
  display: flex;
  gap: 40px;
  padding: 30px 0 200px;
}

.clinic .info .inner>* {
  width: calc(50% - 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(--sub-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-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 .speciality {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px auto 0;
  padding: 20px;
  background: white;
  border-radius: 10px;
  filter: drop-shadow(#fcf796 0px 0px 5px);
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--sub-color);
  color: #ffffff;
  text-align: center;
  border-radius: 5px;
}

.clinic .info .office_hour:first-child {
  margin-top: 30px;
}

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

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

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

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

@media screen and (max-width: 640px) {
  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 60px 20px;
    padding-top: 80px;
  }

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

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

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

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


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

  *ご挨拶

================================================================================================================================== */
.greeting {
  position: relative;
  padding-top: 50px;
}


.greeting::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 0px;
  z-index: 1;
  display: block;
  width: 100%;
  height: 210px;
  background: url(../images/cloud_line.png) no-repeat top / cover;
}


.greeting::after {
  position: absolute;
  content: "";
  background: linear-gradient(-135deg, rgb(240, 201, 29, 0.5), rgb(240, 141, 29, 0.5)), url(../images/bg_img.jpg) no-repeat center / cover;
  width: 78%;
  height: 67%;
  bottom: 0px;
  left: 0;
  z-index: -1;
  opacity: 0.5;
  border-radius: 0px 0px 25px 0;
}

.greeting .top_title {
  position: absolute;
  z-index: 1;
  left: 12%;
  top: 13%;
}

.greeting .inner {
  padding-top: 0;
  margin-top: -350px;
  max-width: 75%;
}

.greeting_image {
  width: 65%;
  height: 800px;
  margin-left: auto;
}

.greeting_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px 0px 0px 25px;
  object-position: 23% 50%;
}


.greeting_cards {
  display: flex;
  gap: 50px;
  justify-content: space-between;
  align-items: stretch;
}

.greeting_card {
  background: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  filter: drop-shadow(0 0 5px #00000035);
  border-radius: 10px;
  padding: 40px 30px;
}

.greeting_text {
  flex-grow: 1;
}

.greeting_text h3 {
  font-size: 25px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #f7a12f, #f6dc3d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.greeting_profile {
  margin-top: 20px;
  text-align: center;
}

.greeting_profile p {
  font-size: 20px;
  color: var(--main-color);
}


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

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }

}

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

  *診療案内

================================================================================================================================== */
.medical {
  background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0)), url(../images/bg_feature.jpg) no-repeat center / cover !important;
  position: relative;
}

.medical::before {
  content: "";
  width: 90%;
  height: 110px;
  position: absolute;
  background: url(../images/star_line.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}


.medical::after {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 0%;
  z-index: 2;
  width: 604px;
  height: 454px;
  background: url(../images/stardust_right.png);
  background-size: contain;
  opacity: 0.8;
}

.medical .inner {
  padding-top: 150px;
  padding-bottom: 180px;
}


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

.medical_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.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;
  border-radius: 10px;
}

.medical_inner {

  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  min-width: 270px;
  min-height: 270px;
  padding: 0;
  background: rgba(68, 88, 100, 0.65);
  transition: 0.3s;
  text-align: center;
  border-radius: 10px;
  position: relative;
}

.medical_inner::before {
  position: absolute;
  content: "";
  border: 2px dotted white;
  border-radius: 5px;
  width: 93%;
  height: 93%;
  top: 10px;
  left: 10px;
  opacity: 0.5;

}

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

.medical_icon img {
  width: 25%;
  height: 25%;
  object-fit: contain;
}

.medical_item:nth-child(6) .medical_icon img {
  width: 22%;
  height: 22%;
}

.medical_item:nth-child(3) .medical_icon img,
.medical_item:nth-child(4) .medical_icon img {
  width: 27%;
  height: 27%;
}

.medical_item:nth-child(10) .medical_icon img {
  width: 33%;
  height: 33%;
}

.medical_item:nth-child(7) .medical_icon img {
  width: 37%;
  height: 37%;
}

.medical_title h3 {
  color: white;
  font-size: 135%;
}

.medical_title_eng {
  color: var(--sub-color);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.15rem;
  text-align: center;
}

.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_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_title h3 {
    font-size: 110%;
    margin: 5px 0;
  }
}

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

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

================================================================================================================================== */
.feature {
  padding-bottom: 200px;
  position: relative;
  background: url(../images/bg_feature.jpg);
}

.feature::before {
  content: "";
  position: absolute;
  top: -240px;
  left: 0px;
  z-index: -1;
  display: block;
  width: 100%;
  height: 240px;
  background: url(../images/wave.png);
  background-size: cover;
  opacity: 0.9;
}

.feature::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: #FCFCEE;
  background-size: cover;
  opacity: 0.9;
}

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

.feature .inner::before {
  content: "";
  position: absolute;
  top: -128px;
  left: 0%;
  z-index: 1;
  width: 500px;
  height: 454px;
  background: url(../images/stardust.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.feature .inner::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: 0%;
  z-index: 2;
  width: 500px;
  height: 454px;
  background: url(../images/stardust_right.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.feature_list {
  display: flex;
  flex-flow: wrap;
  gap: 50px 30px;
  justify-content: space-between;
}

.feature_item {
  display: flex;
  flex-flow: column;
  width: calc(33.3333333333% - 30px);
  height: auto;
  position: relative;
  z-index: 3;
  margin-bottom: 40px;
}

.feature_item:nth-of-type(3n-1) {
  align-self: flex-end;
  margin-top: 40px;
  margin-bottom: 0;
}

.feature_num {
  padding-top: 12px;
  position: absolute;
  top: 1%;
  left: 2%;
  font-size: 8.5px;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  color: white;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f7a12f, #f6dc3d);
  mask: url(../images/star_icon.png) no-repeat center / contain;
  -webkit-mask: url(../images/star_icon.png) no-repeat center / contain;
  background-size: contain;
  background-repeat: no-repeat;
  justify-content: center;
  line-height: 1.1;
  z-index: 2;
}

.feature_num span {
  color: white;
  font-size: 22px;
  display: block;
}

.feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 25px 20px 30px;
}

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

.feature_title {
  display: flex;
  flex-flow: column;
  justify-content: center;
  min-height: 70px;
  margin-bottom: 15px !important;
}

.feature_title h3 {
  color: var(--main-color);
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  margin-top: 10px;
}

.feature_img {
  position: relative;
}


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

.feature_img::before {
  content: "";
  position: absolute;
  bottom: -9px;
  left: -9px;
  z-index: -1;
  display: block;
  width: 105%;
  height: 50%;
  background: linear-gradient(135deg, #f7a12f, #f6dc3d);
  border-radius: 0px 0px 15px 15px;
}


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

/* ---- 横並びボタン ----- */
.btnflex_feature {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

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

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

@media screen and (max-width: 640px) {
  .feature_list {
    gap: 30px;
  }

  .feature_item {
    width: 100%;
  }
	
  .feature_inner {
    padding: 25px 0 30px;
  }

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

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

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

  *病状、症状から探す

================================================================================================================================== */
.search {
  position: relative;
}

.search::after {
  content: "";
  display: block;
  position: relative;
  width: calc(100% - 110px);
  height: 400px;
  margin: 0 auto;
  background: url(../images/section_img.jpg) no-repeat center / cover;
  border-radius: 15px;
}

.search .inner {
  padding-top: 0px;
}

.search::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 0px;
  z-index: 1;
  display: block;
  width: 100%;
  height: 200px;
  background: url(../images/cloud_line.png) no-repeat top / cover;
}

.search .tab_list {
  gap: 10px;
}

.search .tab_list .tab {
  padding: 15px 20px;
  border-radius: 10px 10px 0px 0px;
}

.search .panel {
  position: relative;
  z-index: 1;
  padding: 25px;
  background: var(--main-color);
  border-radius: 0px 0px 10px 10px;
}

.search_img img {
  border-radius: 10px;

}

.search_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  height: fit-content;
}

.search_list li {
  width: calc(33.3333333333% - 13.3333333333px);
  height: auto;
}

/* ----- リンクボタン ----- */
.search_list li a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 60px;
  padding: 10px 45px 10px 30px;
  background: white;
  color: var(--text-color);
  border-radius: 10px;
  text-align: center;
}

.search_list li a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 19px;
  z-index: 2;
  display: block;
  width: 14px;
  height: 7px;
  background: #ffffff;
  -webkit-mask: url(../images/btn_arrow.png) no-repeat center/14px 7px;
  mask: url(../images/btn_arrow.png) no-repeat center/14px 7px;
  transform: translateY(-50%);
  transition: background 0.2s;
}

.search_list li a:hover::before {
  background: var(--main-color);
}

/* 矢印の背景 */
.search_list li a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  z-index: 1;
  display: block;
  width: 22px;
  height: 22px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background 0.2s;
}

.search_list li a:hover::after {
  background: #ffffff;
}

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

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

.panel_flex .search_list {
  width: calc(50% - 10px);
}

.panel_flex .search_list li {
  width: calc(50% - 10px);
}

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
  .search .tab_list {
    flex-flow: column;
    gap: 7px;
    margin: 0 0 15px;
  }

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

  .search .panel {
    padding: 20px;
    border-radius: 10px;
  }

  .search_list {
    gap: 10px;
  }

  .search_list li {
    width: 100%;
  }

  .search_list li a {
    min-height: auto;
    padding: 10px 40px;
  }

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

  .search_img {
    width: 100%;
  }

  .panel_flex .search_list {
    width: 100%;
  }

  .panel_flex .search_list li {
    width: 100%;
  }
}

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

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

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

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

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

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

.column_box dd {
  padding: 15px 10px;
  border-bottom: 1px dashed var(--line-color);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.column_box dd a {
  color: var(--text-color);
}

.column_box dd a:hover {
  color: var(--main-color);
}

/* ==============================================
  *SP 医療コラム
============================================== */
@media screen and (max-width: 640px) {
  .column_list {
    gap: 40px;
  }

  .column_box {
    width: 100%;
  }
}

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

  *無限スライダー

================================================================================================================================== */
#infinitySlider {
  padding: 10px;
  margin-top: -100px;
  position: relative;
  z-index: 4;
}

#infinitySlider .splide__list {
  gap: 10px;
}

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


#infinitySlider .splide__slide:nth-child(even) {
  margin-top: 50px;
}

#infinitySlider .splide__slide img {
  object-fit: cover;
  height: 100%;
  border-radius: 10px;

}

/* ==============================================
  *SP 無限スライダー
============================================== */
@media screen and (max-width: 640px) {
  #infinitySlider .splide__slide {
    width: 250px !important;
  }
}

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

  *ピックアップ（パターン02） - 追加コンテンツ

==================================================================================================================================*/
.pickup {
  position: relative;
}

.pickup::before {
  position: absolute;
  content: "";
  background-image: repeating-linear-gradient(90deg, #FFFFFF, #FFFFFF 200px, #f6f9fa 201px, #f6f9fa 202px);
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0;
  z-index: -2;
}

.pickup .inner {
  width: 100%;
  max-width: none;
  padding: 150px 0;
  padding-bottom: 220px;
}

.pickup .top_title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 100px;
}

.pickup .top_title::before {
  width: 250px;
  height: 250px;
  opacity: 0.05;
  position: absolute;
  top: inherit;
  z-index: -2;
}

.pickup .top_title h2 {
  font-size: 20px;
  line-height: 1.5;
}

.pickup .top_title h2 .fz-small {
  font-size: 25px;
}

.pickup .top_title h2 .color {
  color: var(--sub-color);
  background: linear-gradient(135deg, #f7a12f, #f6dc3d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 45px;
}

.pickup_list {
  display: flex;
  gap: 50px;
  align-items: stretch;
}

.pickup_item {
  width: 100%;
  flex: 1;
  display: flex;
}

.pickup_inner {
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  max-width: 550px;
  justify-content: flex-start;
}

.pickup_title {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto 15px;
  padding: 13px 30px;
  color: #ffffff;
  text-align: center;
  border-radius: 10px;
}

.pickup_title::before {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  display: block;
  width: 30px;
  height: 25px;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transform: translateX(-50%);
}

.pickup_title h2,
.pickup_title h3 {
  background: none;
  font-size: 130%;
}

.pickup_title span {
  font-size: 100%;
}

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

.pickup_img img {
  border-radius: 10px;

}

.pickup_text {
  margin: 30px 0;
  flex-grow: 1;
}

.pickup_link {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
  height: 100%;
  margin-top: auto;
  align-items: flex-end;
}

.pickup_link .pickup_btn {
  width: calc((100% / 2) - (10px / 2));
  height: fit-content;
}

.pickup_link .pickup_btn a {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 10px 35px;
  background: #f4ac48;
  color: #ffffff;
  font-size: 95%;
  letter-spacing: 0.15em;
  text-align: center;
  transition: all 0.2s ease-in-out;
  border-radius: 10px;
}

.pickup_link .pickup_btn a:hover {
  transform: translateY(-5px);
}

.pickup_link .pickup_btn a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  display: block;
  width: 14px;
  height: 7px;
  background: #ffffff;
  mask: url(../images/btn_arrow.png) no-repeat center / cover;
  -webkit-mask: url(../images/btn_arrow.png) no-repeat center / cover;
  transform: translateY(-50%);
  transition: right 0.2s, background 0.2s;
}

.pickup_link .pickup_btn a:hover::before {
  right: 12px;
  background: white;
}

/* 奇数 */
.pickup_item:nth-child(odd) .pickup_inner {
  margin: 0 0 0 auto;
}

.pickup_item:nth-child(odd) .pickup_title {
  background: #f4ac48;
}

.pickup_item:nth-child(odd) .pickup_title::before {
  background: #f4ac48;
}

/* 偶数 */
.pickup_item:nth-child(even) .pickup_inner {
  margin: 0 auto 0 0;
}

.pickup_item:nth-child(even) .pickup_title {
  background: #efc700;
}

.pickup_item:nth-child(even) .pickup_title::before {
  background: #efc700;
}

.pickup_item:nth-child(2) .pickup_link .pickup_btn a {
  background: #efc700;
}


/*==============================================
  *SP　ピックアップ（追加コンテンツ）
==============================================*/
@media screen and (max-width:640px) {
  .pickup .inner {
    padding: 80px 0 0;
  }

  .pickup .top_title {
    margin: 0 auto 40px;
    padding: 0 20px;
  }

  .pickup .top_title h2 {
    font-size: 150%;
  }


  .pickup_list {
    width: calc(100%);
  }

  .pickup_item {
    width: 100%;
    padding: 20px;
  }

  .pickup_title {
    padding: 10px;
    font-size: 110%;
  }

  .pickup_title::before {
    bottom: -20px;
    width: 25px;
    height: 20px;
  }

  .pickup_inner {
    max-width: none;
    min-height: auto;
    margin: 0 !important;
  }

  .pickup_link {
    min-height: auto;
    margin-top: 20px;
  }

  .pickup_link .pickup_btn {
    width: 100%;
  }
}

.googlemap iframe {
  border-radius: 10px;
}

.bnr_flex {
  width: 100%;
  justify-content: center;
  align-items: center;
  position: absolute;
  display: flex;
  bottom: 20px;
  gap: 20px;
  align-items: flex-end;
}

.open_bnr {
  position: relative;
}

.bnr_star_wrap {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.bnr_star {
  width: 200px;
  height: 200px;
  background: var(--sub-color);
  mask: url(../images/star_icon.png) no-repeat top left / contain;
  -webkit-mask: url(../images/star_icon.png) no-repeat top left / contain;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bnr_star p,
a.bnr_star .link_text {
  text-align: center;
  color: white;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 4px;
}


.bnr_star p span,
a.bnr_star span:not([class]) {
  font-size: 21px;
}

.bnr_list {
  width: 320px
}

.bnr_list li {
  background: #6db3ece7;
  margin-bottom: 10px;
  border-radius: 10px;
  text-align: center;
  padding: 10px 0;
  position: relative;
  transition: all ease-in-out 0.2s;
}

.bnr_list li:hover {
  background: #54a2e1;
}

.bnr_list li::after,
.bnr_list li a .btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  display: block;
  width: 14px;
  height: 7px;
  background: #ffffff;
  -webkit-mask: url(../images/btn_arrow.png) no-repeat center / cover;
  mask: url(../images/btn_arrow.png) no-repeat center / cover;
  transform: translateY(-50%);
  transition: right 0.2s, background 0.2s;
}

.bnr_list li:first-child {
  line-height: 1.75;
  padding: 25px;
  border-radius: 10px;
}

.bnr_list li:first-child::after {
  display: none;
}


.bnr_list li a {
  color: white;
  display: block;
}

.bnr_list li a .fz {
  font-size: 20px;
}

.bnr_list li a .btn {
  background: rgba(255, 255, 255, 0.8);
  color: #54a2e1;
  padding: 10px 20px;
  border-radius: 50px;
  display: block;
  margin-top: 10px;
  position: relative;
}

.bnr_list li a .btn::after {
  background: #7eb9e9e0;
}

@media screen and (max-width:1420px) {
  .open_bnr>* {
    width: 260px;
    height: 260px;
  }

  .bnr_star {
    width: 180px;
    height: 180px;
  }

}

@media screen and (max-width:640px) {
  .bnr_flex {
    position: relative;
    flex-direction: column;
    align-items: center;
  }

  .open_bnr>* {
    border-radius: 10px;
  }

  .bnr_star_wrap {
    width: 100%;
    gap: 5px;
  }

  .bnr_star,
  .link_bnr_star {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .bnr_star p,
  a.bnr_star .link_text {
    font-size: clamp(8px, 2.25vw, 14px);
    line-height: 1.4;
  }

  .bnr_star p span,
  a.bnr_star span:not([class]) {
    font-size: clamp(13px, 3.6vw, 18px);
  }

  .bnr_list {
    width: 100%;
    max-width: 350px;
  }

  .top_title::before {
    width: 40px;
    height: 40px;
  }

  .clinic {
    padding-bottom: 50px;
  }

  .clinic::after {
    background-size: cover;
    height: 60px;
    background: url(../images/star_line_sp.png);
    background-position: bottom;
    width: 86%;
  }

  .greeting {
    padding-top: 0;
  }

  .greeting::before,
  .search::before {
    width: 100%;
    height: 100px;
    background-size: cover;
    top: -100px;
    background: url(../images/cloud_line_sp.png) no-repeat top / cover;
  }

  .greeting::after {
    height: 90%;
    background: linear-gradient(-135deg, rgb(240, 201, 29, 0.5), rgb(240, 141, 29, 0.5)), url(../images/bg_img_sp.jpg) no-repeat center / cover;
  }

  .greeting .top_title {
    position: relative;
    left: inherit;
    top: -20px;
    margin-bottom: 10px;
  }

  .greeting .inner {
    max-width: 100%;
    margin-top: 0;
    padding-bottom: 50px;

  }

  .greeting_image {
    width: 90%;
    margin: 0 auto;
    height: auto;
    margin-bottom: 20px;
  }

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

  .greeting_cards {
    flex-direction: column;
    gap: 30px;
  }

  .greeting_card {
    padding: 30px 20px;
  }

  .greeting_text h3 {
    font-size: 18px;
  }

  .pickup {
    padding-bottom: 70px;
  }

  .pickup::before {
    background-image: repeating-linear-gradient(90deg, #ffffff, #ffffff 87px, #f6f9fa 88px, #f6f9fa 89px);
  }

  .pickup .top_title h2 .fz-small {
    font-size: 16px;
  }

  .pickup .top_title h2 .color {
    font-size: 30px;
  }

  .pickup .top_title::before {
    width: 150px;
    height: 150px;
  }

  .pickup_list {
    flex-direction: column;
    gap: 30px;
  }

  .feature {
    background-repeat: repeat;
    background-size: contain;
    padding-bottom: 70px;
    background: url(../images/bg_feature_sp.jpg);
    background-position: 23% 0%;
  }

  .feature .top_title {
    top: -20px;
  }

  .feature_list {
    padding: 0 25px;
  }

  .feature::before {
    height: 50px;
    width: 100%;
    top: -50px;
    background-size: cover !important;
    background-repeat: repeat-y;
    opacity: 1;
    background: url(../images/wave_sp.png);
  }

  .feature_item {
    margin-bottom: 0;
  }

  .feature_item:nth-of-type(3n-1) {
    margin-top: 0;
  }

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

  .feature .inner::before {
    top: -70px;
    width: 40%;
    height: 141px;
  }

  .feature .inner::after {
    width: 40%;
    height: 141px;
    right: 0;
    bottom: -13px;
    left: inherit;
  }

  .search .inner {
    padding-bottom: 40px;
  }

  .search .top_title {
    top: -30px;
    z-index: 1;
    margin-bottom: 0px;
  }

  .search::after {
    width: 90%;
    border-radius: 10px;
    height: 150px;
    background: url(../images/section_img_sp.jpg) no-repeat center / cover;
  }

  .medical::before {
    background-size: cover;
    height: 60px;
    background: url(../images/star_line_sp.png);
    background-position: bottom;
    width: 86%;
  }


  .medical .top_title {
    margin-bottom: 30px;
  }

  .medical .inner {
    padding-top: 80px;
    padding-bottom: 130px;
  }


  .medical_item {
    aspect-ratio: 1 / 1;

  }

  .medical_inner {
    min-width: 100%;
    height: 100%;
  }

  .medical_inner::before {
    top: 7px;
    left: 7px;
  }

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

  .medical_icon img {
    width: 30%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
  }

  .medical_item:nth-child(3) .medical_icon img,
  .medical_item:nth-child(4) .medical_icon img,
  .medical_item:nth-child(6) .medical_icon img {
    width: 33%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
  }

  .medical_item:nth-child(7) .medical_icon img {
    width: 45%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
  }


  .medical_item:nth-child(10) .medical_icon img {
    width: 40%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
  }

  .medical_inner:nth-child(7) .medical_icon {
    margin-bottom: 0 !important;
  }

  .medical_title_eng {
    font-size: 8px;
  }

  .medical::after {
    width: 50%;
    height: 200px;
    right: 0;
    bottom: 19px;
    left: inherit;
  }

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

  .greeting_profile p {
    font-size: 18px;
  }

  .mainvisual {
    margin-top: 10px;
  }
}