@charset "UTF-8";

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

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

  *基本設定

================================================================================================================================== */
.front {
  overflow: hidden;
}

section .inner {
  padding: 80px 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: 50px 5%;
  }

  /* ----- パララックス ----- */
  .parallax {
    height: 300px;
  }
}

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

  *タイトル

================================================================================================================================== */
.top_title {
  position: relative;
  margin-bottom: 80px;
  text-align: center;
}

.top_title::before {
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  margin: auto;
  color: rgba(239, 239, 239, 1);
  font-family: "baskerville-display-pt", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 180px;
  line-height: 1;
  letter-spacing: 0.1em;
  content: "";
}

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

.top_title h2 {
  position: relative;
  color: var(--text-color);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-shadow: 0 0 3px #fff, 0 0 5px #fff, 0 0 6px #fff, 0 0 9px #fff, 0 0 12px #fff;
}

.top_title .eng {
  display: inline-block;
  position: relative;
  margin-bottom: 10px;
  color: var(--accent-color);
  font-family: "baskerville-display-pt", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.15em;
  text-shadow: 0 0 3px #fff, 0 0 5px #fff, 0 0 6px #fff, 0 0 9px #fff, 0 0 12px #fff;
}

.top_title .eng::first-letter {
  background: -webkit-linear-gradient(rgba(76, 42, 7, 1) 0% 70%, rgba(113, 69, 24, 1) 30% 100%);
	/*background: -moz-linear-gradient(45deg, rgb(106, 175, 179) 0%, rgb(152, 192, 216) 100%);
	background: linear-gradient(45deg, rgb(106, 175, 179) 0%, rgb(152, 192, 216) 100%);*/
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
  color: var(--accent-color);
  font-size: 80px;
}

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

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

  .top_title .eng {
    font-size: 24px;
  }
	
	.top_title .eng::first-letter {
		font-size: 45px;
	}
}

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

  *メインビジュアル

================================================================================================================================== */
.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: "\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: 50%;
  left: 0;
  right: 0;
  z-index: 3;
  width: 100%;
  margin: auto;
}

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

.mvCatch p {
  color: var(--text-color2);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 140%;
  line-height: 2;
  letter-spacing: 0.15em;
  text-align: center;
  text-shadow: 0 0 5px #ffffff, 0 0 5px #ffffff, 0 0 5px #ffffff, 0 0 5px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff,0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 15px #ffffff, 0 0 15px #ffffff, 0 0 15px #ffffff, 0 0 15px #ffffff;
}

.mv_slogan {
  display: flex;
  flex-flow: column wrap;
  gap: 20px;
}

.mv_slogan_txt01 span {
  font-weight: 700;
  font-size: 160%;
}

.mv_slogan_txt01 span em {
  margin-right: 10px;
  font-style: normal;
  font-size: 150%;
}

@media screen and (max-width: 1600px) and (min-width: 640px) {
  .mvCatch p {
    font-size: 110%;
  }

  .mv_slogan_txt01 span {
    font-size: 130%;
  }

  .mv_slogan_txt01 span em {
    font-size: 140%;
  }
}

/* ----- コンテンツ ----- */
.mvContents {
  position: absolute!important;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.mvContents .inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  height: 100%;
}

.mvContents .inner::before {
  position: absolute;
  inset: 0;
  margin: auto;
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.mvContents .splide__track {
  width: 100%;
  height: 100%;
}

/* ----- キャッチコピー（MV左側） ----- */
.mv_info {
  position: absolute;
  bottom: 0;
  left: 0;
}

.mv_info_item p {
  position: relative;
  color: #ffffff;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 120%;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-shadow: 0 0 10px rgba(85, 85, 85, 0.7);
}

.mv_info_tit {
  display: flex;
  align-items: center;
  gap: 0 15px;
  padding: 20px 20px 20px 0;
  background: -webkit-linear-gradient(to right, rgba(200, 200, 200, 0.9) 0, rgba(200, 200, 200, 0.8) 45%, transparent 100%);
  background: -moz-linear-gradient(to right, rgba(200, 200, 200, 0.9) 0, rgba(200, 200, 200, 0.8) 45%, transparent 100%);
  background: linear-gradient(to right, rgba(200, 200, 200, 0.9) 0, rgba(200, 200, 200, 0.8) 45%, transparent 100%);
}

.mv_info_tit::before {
  display: block;
  flex-shrink: 0;
  width: 30px;
  height: 1px;
  background: #ffffff;
  content: "";
}

.mv_info_txt {
  padding: 25px 20px 25px 45px;
  background: -webkit-linear-gradient(to right, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 0.6) 70%, transparent 100%);
  background: -moz-linear-gradient(to right, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 0.6) 70%, transparent 100%);
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 0.6) 70%, transparent 100%);
  color: var(--text-color2)!important;
  font-weight: 600!important;
  font-size: 140%!important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7)!important;
}

.mv_info_item01 .mv_info_tit {
  display: block;
  padding: 20px 50px 20px 40px;
  background: -webkit-linear-gradient(to right,rgba(105, 219, 186, 1) 0, rgba(105, 219, 186, 0.6) 45%, transparent 100%);
  background: -moz-linear-gradient(to right,rgba(105, 219, 186, 1) 0, rgba(105, 219, 186, 0.6) 45%, transparent 100%);
  background: linear-gradient(to right,rgba(105, 219, 186, 1) 0, rgba(105, 219, 186, 0.6) 45%, transparent 100%);
  font-weight: 700;
  font-size: 140%;
}

.mv_info_item01 .mv_info_tit::before {
  display: none;
}

@media screen and (max-width: 1600px) and (min-width: 640px) {
  .mv_info_item p {
    font-size: 100%;
  }

  .mv_info_tit {
    gap: 0 10px;
  }

  .mv_info_txt {
    padding: 20px 20px 20px 45px;
    font-size: 105%!important;
  }
  
  .mv_info_item01 .mv_info_tit {
    font-size: 110%;
  }
}

/* ----- MVバナー（新規開院） ----- */
.open_bnr {
  display: inline-block;
  position: absolute;
  bottom: 50px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.open_bnr > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 280px;
  padding: 15px;
  border-radius: 50%;
  background: rgba(127, 195, 175, 0.9);
  color: #ffffff;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 105%;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-align: center;
}

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

.open_bnr .open_text {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 150%;
}

.open_bnr .nairankai_tit {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 5px 10px;
  border-radius: 300px;
  background: #ffffff;
  color: var(--main-color);
  font-weight: 600;
  font-size: 90%;
  text-align: center;
}

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

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

/* ----- MVバナー ----- */
.mv_bnr {
  position: absolute;
  bottom: 50px;
  right: 100px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.mv_bnr > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  padding: 15px;
  border-radius: 50%;
  background: rgba(127, 127, 127, 0.8);
	
  color: #ffffff;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 110%;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-align: center;
}
.mv_bnr01 {
    right: 332px;
    display: inline-block;
    font-size: 13px;
}
a.mv_bnr01 {
    transition: .3s;
}
a.mv_bnr01:hover {
  transform: scale(1.1);
}
.mv_bnr01 div {
	background: rgba(127, 195, 175, 0.8);
}
.mv_bnr_title {
	margin-bottom: 5px;
    font-size: 18px;
}

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

.sp_only {
  display: none;
}

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
  /* .mainvisual {
    position: relative;
    height: 400px;
  } */
  .mainvisual {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 300px;
  }
  
  .mvImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mvSlider::before {
    position: absolute;
    inset: 0;
    margin: auto;
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
  }

  @keyframes showTranslate {
    0% {
      transform: translate3d(0, 0px, 0);
    }
  
    100% {
      transform: translate3d(0, -20px, 0);
    }
  }
  @keyframes hideTranslate {
    /* 下降 */
    0% {
      transform: translate3d(0, -20px, 0);
    }
  
    100% {
      transform: translate3d(0, 0px, 0);
    }
  }

  /* ----- スライダーの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: 70%;
    transform: translateY(-50%);
  }

  /* ----- キャッチコピー ----- */
  .mvCatch p {
    font-size: 93%;
    line-height: 1.7;
    color: #fff;
    text-shadow: none;
  }

  .mv_slogan_txt01 span {
    font-size: 120%;
  }

  .mv_slogan_txt01 span em {
    font-size: 140%;
  }

  .mv_slogan {
    gap: 8px;
  }

  .mvContents {
    display: none;
  }

  .sp_only {
    display: block;
    background: none!important;
  }

  .sp_only .inner {
    padding: 0;
  }

  .sp_only_contents {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
  }
	.mv_bnr_block {	
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
	}
	.mv_bnr_text {
    font-size: 88%;
	}

  /* ----- キャッチコピー（MV左側） ----- */
  .mv_info {
    position: static;
    width: 100%;
  }

  .mv_info_item p {
    font-size: 100%;
    text-align: center;
  }

  .mv_info_tit {
    justify-content: center;
    padding: 15px 15px;
  }

  .mv_info_tit::before {
    width: 20px;
  }

  .mv_info_txt {
    padding: 15px 15px;
    font-size: 110%!important;
  }

  .mv_info_item01 .mv_info_tit {
    padding: 15px 15px;
    font-size: 105%;
  }

  /* ----- MVバナー（新規開院） ----- */
  .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バナー ----- */
  .mv_bnr {
    position: static;
  }

  .mv_bnr > * {
    width: 180px;
    height: 180px;
    font-size: 105%;
  }
}

@media screen and (max-width: 480px) {
  .mvImg li:first-child img {
    object-fit: contain;
  }
}

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

  *バナーエリア

================================================================================================================================== */
.top_banner {
  position: relative;
  z-index: 1;
}

/* ----- 共通設定 ----- */
.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;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 15px;
  background: -webkit-linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.8), transparent);
  background: -moz-linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.8), transparent);
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.8), transparent);
}

.top_banner .input .banner_slide .slide_img {
  flex-shrink: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  margin: auto;
}

.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 {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.top_banner .input .slide_title {
  width: 100%;
  margin: 0 auto 10px;
  padding: 5px;
  border-bottom: 1px solid var(--line-color);
  color: var(--text-color2);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 110%;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-shadow: 0 0 3px #fff, 0 0 5px #fff, 0 0 6px #fff, 0 0 9px #fff, 0 0 12px #fff;
}

.top_banner .input .slide_content {
  font-size: 100%;
  line-height: 2;
  letter-spacing: 0.15em;
  text-shadow: 0 0 3px #fff, 0 0 5px #fff, 0 0 6px #fff, 0 0 9px #fff, 0 0 12px #fff;
}

.top_banner .input a.banner_slide:hover {
  background: -webkit-linear-gradient(to right, rgba(127, 195, 175, 0.4), rgba(255, 255, 255, 0.8), transparent);
  background: -moz-linear-gradient(to right, rgba(127, 195, 175, 0.4), rgba(255, 255, 255, 0.8), transparent);
  background: linear-gradient(to right, rgba(127, 195, 175, 0.4), rgba(255, 255, 255, 0.8), transparent);
}

/* ----- グリッドバナー ----- */
.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);
  border: 1px solid rgba(68, 68, 68, 0.15);
}

/* ----- スライダーバナー ----- */
#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;
  border: 1px solid rgba(68, 68, 68, 0.15);
}

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

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

  *ご挨拶

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

.greeting_wrap {
  position: relative;
  padding-top: 160px;
}

.greeting_wrap::before {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -2;
  width: calc(100% - (50% - 480px));
  height: 100%;
  margin: auto;
  background: url("../images/marble02.png") no-repeat center / cover;
  content: "";
}

.greeting_wrap::after {
  position: absolute;
  top: 80px;
  left: 0;
  z-index: -1;
  width: calc(100% - (50% - 480px));
  height: 100%;
  margin: auto;
  background: url("../images/marble01.png") no-repeat center / cover;
  content: "";
}

.greeting .inner {
  z-index: 1;
  padding: 120px 0;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.97);
}

.greeting .inner::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 98%;
  height: 96%;
  margin: auto;
  border: 1px solid var(--line-color);
  content: "";
}

.greeting .top_title {
  margin-bottom: 120px;
}

.greeting .top_title::before {
  content: "Greeting";
}

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

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

.greeting_flex {
  display: flex;
  flex-direction: column-reverse;
  flex-wrap: wrap;
  gap: 50px;
}

.greeting_left {
  width: 100%;
}

.greeting_text {
  color: var(--text-color);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 105%;
  line-height: 2.5;
  letter-spacing: 0.15em;
}

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

.greeting_text_detail {
  width: fit-content;
  margin: 0 auto;
  text-align: center;
}

.greeting_slogan {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 20px;
  position: relative;
  width: fit-content;
  margin: 0 auto 20px;
  color: var(--accent-color);
  font-weight: 500;
  font-size: 120%;
  line-height: 1.5;
}

.greeting_slogan::before {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--accent-color);
  content: "";
}

.greeting_slogan::after {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--accent-color);
  content: "";
}

.greeting_right {
  width: 100%
}

.greeting_img {
  margin-bottom: 20px;
  text-align: center;
}

.greeting_img figure {
  position: relative;
}

.greeting_img img {
  position: relative;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.05);
}

.greeting_profile {
  color: var(--text-color);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 120%;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-align: center;
}

.greeting_profile .position {
  margin-bottom: 5px;
  font-size: 95%;
}

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

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

.greeting_btn_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 20px;
}

.greeting_btn_flex .btn01 a {
  width: 200px;
  font-size: 95%;
}

.greeting_bg {
  position: relative;
  margin-top: -160px;
  width: 100%;
  height: 400px;
  background: url("../images/top_clinic_img01.jpg") no-repeat center / cover;
}
.greeting_banner {
  margin-top: 50px;
  text-align: center;
}
.greeting_banner img {
  width: 60%;
  max-width: 800px;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
  .greeting_wrap {
    padding-top: 100px;
  }

  .greeting_wrap::before {
    width: calc(100% - (50% - 150px));
    background: url("../images/marble02_sp.png") no-repeat center / cover;
  }

  .greeting_wrap::after {
    top: 50px;
    width: calc(100% - (50% - 150px));
    background: url("../images/marble01_sp.png") no-repeat center / cover;
  }

  .greeting .inner {
    width: 95%;
    margin: 0 auto;
    padding: 50px 10%;
  }

  .greeting .inner::before {
    width: 94%;
    height: 97%;
  }

  .greeting .top_title {
    margin-bottom: 80px;
  }

  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }
	
	.greeting_text_detail {
		text-align: left;
	}
	
	.greeting_text_detail p:not(:last-child) {
		margin-bottom: 1em;
	}

  .greeting_text {
    font-size: 100%;
    line-height: 2;
  }
  
  .greeting_slogan {
    gap: 0 15px;
    font-size: 110%;
  }

  .greeting_slogan::before,
  .greeting_slogan::after {
    width: 15px;
  }

  .greeting_btn {
    margin-top: 40px;
  }

  .greeting_btn_flex {
    gap: 10px;
  }

  .greeting_btn_flex .btn01 {
    width: 100%;
  }

  .greeting_btn_flex .btn01 a {
    width: 100%;
  }

  .greeting_bg {
    margin-top: -80px;
    height: 200px;
    background: url("../images/top_clinic_img01_sp.jpg") no-repeat center / cover;
  }
  .greeting_banner img {
    width: 80%;
  }
}

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

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

==================================================================================================================================*/
.pickup {
  position: relative;
  z-index: 1;
}

.pickup::before {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - (50% - 480px));
  height: 100%;
  margin: auto;
  background: url("../images/marble01.png") no-repeat center / cover;
  content: "";
}

.pickup .inner {
	z-index: 1;
	max-width: none;
  padding: 160px 0;
}

.pickup .top_title {
  margin-bottom: 120px;
}

.pickup .top_title::before {
  content: "Pick Up";
}

.pickup_list {
  position: relative;
}

.pickup_item {
  position: relative;
}

.pickup_item::before {
  position: absolute;
  top: 100px;
  left: 0;
  z-index: -1;
  width: calc(100% - (50% + 70px));
  height: 84.3%;
  background: url("../images/marble02.png") no-repeat center / cover;
  content: "";
}

.pickup_item:not(:last-child) {
	margin-bottom: 80px;
}

.pickup_detail {
	display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.pickup_img figure {
  position: relative;
}

.pickup_img figure img {
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
}

.pickup_inner {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 0 0 -70px;
  padding: 60px 40px 70px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.97);
}

.pickup_inner::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 96%;
  height: 94%;
  margin: auto;
  border: 1px solid var(--line-color);
  content: "";
}

.pickup_title {
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
  text-align: center;
}

.pickup_title h2, .pickup_title h3 {
  color: var(--text-color2);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 120%;
  line-height: 1.5;
  letter-spacing: 0.15em;
}

.pickup_title h2 {
    padding: 10px 5px;
    background: linear-gradient(to right, #ddeee9, #c8dcd4);
}

.pickup_title span {
  color: #3a7967;
}

.pickup_sub_title {
	margin-bottom: 1em;
	position: relative;
	padding: 10px;
	color: var(--text-color2);
	border: 1px solid var(--line-color);
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	font-size: 95%;
	line-height: 1.5;
	letter-spacing: 0.15em;
	text-align: center;
}

.pickup_frame {
	position: absolute;
	top: -15px;
	left: -10px;
	padding: 10px 20px;
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	font-size: 115%;
	line-height: 1;
	border: 1px solid var(--line-color);
	background: url("../images/marble03.png") no-repeat center / cover;
}

.pickup_text {
  margin: 0 0 30px;
  color: var(--text-color);
  font-size: 100%;
  line-height: 2;
  letter-spacing: 0.15em;
}

.pickup_link {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
  margin-top: auto;
}

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

.pickup_link .pickup_btn a {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 14px 34px;
  border: 1px solid var(--sub-color);
  color: var(--text-color2);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 95%;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

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

.pickup_link .pickup_btn a:hover {
  background: var(--sub-color);
  color: #ffffff;
}

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

/* 偶数 */
.pickup_item:nth-child(even)::before {
  top: 100px;
  left: auto;
  right: 0;
}

.pickup_item:nth-child(even) .pickup_detail {
  flex-flow: row-reverse;
}

.pickup_item:nth-child(even) .pickup_inner {
  margin: 0 -70px 0 0;
}

/*==============================================
  *SP　ピックアップ（追加コンテンツ）
==============================================*/
@media screen and (max-width:640px) {
  .pickup::before {
    width: calc(100% - (50% - 150px));
		background: url("../images/marble01_sp.png") no-repeat center / cover;
  }

	.pickup .inner {
		padding: 80px 0;
	}

	.pickup .top_title {
		margin-bottom: 80px;
	}
  
  .pickup_list {
    width: calc(100%);
  }
	
	.pickup_item:not(:last-child) {
		margin-bottom: 50px;
	}
	
	.pickup_item::before {
		top: -20px;
		width: calc(100% - (50% - 150px));
		height: 100%;
		background: url("../images/marble02_sp.png") no-repeat center / cover;
	}
	
	.pickup_detail {
		flex-flow: column;
		width: 100%;
		max-width: none;
		padding: 0 5%;
	}

  .pickup_img {
    margin: 0 auto 10px;
  }

  .pickup_inner {
    margin: 0 auto;
    padding: 30px 8%;
  }
	
	.pickup_inner::before {
		width: 94%;
		height: 97%;
	}
	
	.pickup_title h2, .pickup_title h3 {
    font-size: 110%;
  }

  .pickup_link {
    min-height: auto;
  }

  .pickup_link .pickup_btn {
    width: 100%;
  }

  /* 偶数 */
	.pickup_item:nth-child(even)::before {
		top: -20px;
	}
	
	.pickup_item:nth-child(even) .pickup_detail {
		flex-flow: column;
	}

  .pickup_item:nth-child(even) .pickup_img {
    margin: 0 auto 10px;
  }

  .pickup_item:nth-child(even) .pickup_inner {
		margin: 0 auto;
    padding: 40px 10% 30px;
  }
	
	.pickup_frame {
		top: -15px;
		left: 0;
		right: 0;
		width: fit-content;
		padding: 10px 20px;
		margin: auto;
		font-size: 100%;
	}
}

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

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

================================================================================================================================== */
.feature {
  position: relative;
  z-index: 1;
  background: url(../images/marble03.png) no-repeat center / cover;
}

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

.feature .top_title::before {
  color: rgba(232, 232, 232, 1);
  content: "Feature"
}

.feature .top_title .eng::first-letter {
  margin-right: -8px;
}

.feature_list {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  gap: 50px 0;
  position: relative;
  z-index: 1;
}

.feature_item {
  display: flex;
  flex-flow: column;
  position: relative;
  width: calc(97% / 4);
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
}

.feature_num {
  position: absolute;
  top: -22px;
  left: 0;
  z-index: 1;
  margin: 0!important;
  color: var(--text-color);
  font-family: "baskerville-display-pt", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 145%;
  line-height: 1;
  letter-spacing: 0.15em;
  text-shadow: 0 0 3px #fff, 0 0 5px #fff, 0 0 6px #fff, 0 0 9px #fff, 0 0 12px #fff;
}

.feature_num span {
  color: var(--main-color);
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 150%;
  letter-spacing: 0.1em;
}

.feature_img figure {
  position: relative;
}

.feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 25px 20px 30px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-color);
  font-size: 100%;
  line-height: 2;
  letter-spacing: 0.15em;
}

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

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

.feature_title h3 {
  color: var(--main-color);
  font-weight: bold;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 105%;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-align: center;
}

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

.feature_item .btn01 a {
  padding: 12px 45px 12px 35px;
  font-size: 90%;
}

.feature_bg {
  position: relative;
  margin-top: -160px;
  width: 100%;
  height: 400px;
  background: url("../images/top_clinic_img02.jpg") no-repeat center / cover;
}

/* ---- 横並びボタン ----- */
.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 {
		background: url("../images/marble03_sp.png") no-repeat center / cover;
	}

	.feature .inner {
		padding: 60px 5%;
	}
	
	.feature .top_title .eng::first-letter {
		margin-right: -4px;
	}
	
  .feature_list {
    gap: 50px;
  }

  .feature_item {
    width: 100%;
  }

  .feature_title {
    min-height: auto;
    margin-bottom: 15px!important;
  }
	
	.feature_bg {
		height: 200px;
		margin-top: -160px;
		background: url("../images/top_clinic_img02_sp.jpg") no-repeat center / cover;
	}

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

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

  *病状・症状から探す

================================================================================================================================== */
.search {
  position: relative;
  z-index: 1;
}

.search .inner {
  padding: 160px 0 140px;
}

.search .top_title::before {
  content: "Search";
}

.search .tab_list {
  gap: 10px;
}

.search .tab_list .tab {
  padding: 20px 20px;
}

.search .panel_wrap {
  border: 1px solid rgba(68, 68, 68, 0.05);
}

.search .panel {
  position: relative;
  z-index: 1;
  padding: 20px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
  background: url("../images/marble01.png") no-repeat center / cover;
}

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

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

/* ----- リンクボタン ----- */
.search_list li a {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 60px;
  padding: 10px 45px 10px 30px;
  border: 1px solid rgba(68, 68, 68, 0.15);
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-color2);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 100%;
  line-height: 1.5;
  letter-spacing: 0.15em;
}

.search_list li a::before {
  display: block;
  position: absolute;
  top: 50%;
  right: 19px;
  z-index: 2;
  transform: translateY(-50%);
  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;
  content: "";
  transition: background 0.2s;
}

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

/* 矢印の背景 */
.search_list li a::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  z-index: 1;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 1px solid var(--sub-color);
  background: var(--sub-color);
  border-radius: 50%;
  content: "";
  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;
}

.search_img figure {
  position: relative;
}

.search_img figure img {
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
}

.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 .inner {
		padding: 60px 5%;
	}
	
  .search .tab_list {
    flex-flow: column;
    gap: 8px;
    margin: 0 0 15px;
  }

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

  .search .panel {
    padding: 20px;
		background: url("../images/marble01_sp.png") no-repeat center / cover;
  }

  .search_list {
    gap: 10px;
  }

  .search_list li {
    width: 100%;
  }

  .search_list li a {
    min-height: auto;
    padding: 12px 40px;
		font-size: 95%;
  }

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

  .search_img {
    width: 100%;
  }

  .panel_flex .search_list {
    width: 100%;
  }

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

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

  *診療案内

================================================================================================================================== */
.medical {
	position: relative;
	z-index: 1;
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url(../images/top_medical_bg.jpg) no-repeat center/cover !important;
}

.medical .inner {
	padding: 160px 0 140px;
}

.medical .top_title::before {
  content: "Medical";
}

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

.medical_item {
  position: relative;
  z-index: 1;
  width: calc(25% - 15px);
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
}

.medical_item::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 94%;
  height: 94%;
  margin: auto;
  border: 1px solid var(--line-color);
  content: "";
}

.medical_img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
	transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  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: rgba(255, 255, 255, 0.97);
  text-align: center;
}

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

.medical_icon {
  width: 70%;
  max-width: 80px;
  margin: 0 auto 15px!important;
	padding: 10px;
	border-radius: 50%;
	background: var(--sub-color);
}

.medical_title h3 {
  color: var(--text-color2);
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
  font-size: 115%;
	line-height: 1.5;
	letter-spacing: 0.15em;
}

.medical_title h3 span {
	display: block;
	font-size: 80%;
}

.medical_title_eng {
  margin-top: 8px;
  color: var(--main-color);
	font-family: "baskerville-display-pt", serif;
	font-weight: 400;
	font-style: normal;
  font-size: 85%;
  line-height: 1;
  letter-spacing: 0.15em;
  text-align: center;
}

.medical_text {
  color: var(--text-color);
	font-size: 90%;
	line-height: 2;
	letter-spacing: 0.15em;
}

.medical_btn span {
	display: inline-block;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 8px 25px 8px 15px;
  border: 1px solid var(--sub-color);
  color: var(--text-color2);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 80%;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-align: center;
  transition: padding 0.2s, color 0.2s, background 0.2s;
}

.medical_btn span::after {
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 10px;
	transform: translateY(-50%);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 10px;
	content: "\f105";
}

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

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

/* ----- 先頭2つの設定----- */
.medical_item:nth-of-type(-n+3) {
	width: calc((100% / 3) - (40px / 3));
  min-height: 350px;
}

.medical_item:nth-of-type(-n+3) .medical_inner {
  padding: 20px 20px 40px;
}

.medical_item:nth-of-type(-n+3) .medical_icon {
  max-width: 100px;
  margin: 0 auto 10px!important;
	padding: 10px;
}

.medical_item:nth-of-type(-n+3) .medical_title h3 {
  font-size: 125%;
}

.medical_item:nth-of-type(-n+3) .medical_title .medical_title_eng {
	font-size: 95%;
}

.medical_item:nth-of-type(-n+3) .medical_text {
	font-size: 100%;
}

.medical_item:nth-of-type(-n+3) .medical_btn span {
	padding: 10px 25px 10px 15px;
	font-size: 90%;
}

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
  .medical {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url("../images/top_medical_bg_sp.jpg") no-repeat center/cover !important;
  }
	
	.medical .inner {
		padding: 60px 5%;
	}

  .medical_list {
    gap: 15px 10px;
  }

  .medical_item {
    width: calc(50% - 5px);
  }
	
	.medical_item::before {
		width: 94%;
		height: 96%;
	}

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

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

  .medical_icon {
    width: 50%;
  }

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

  /* ----- 先頭2つの設定----- */
  .medical_item:nth-of-type(-n+3) {
    width: calc(50% - 5px);
    min-height: auto;
  }

  .medical_item:nth-of-type(-n+3) .medical_inner {
    padding: 20px 10px;
  }

  .medical_item:nth-of-type(-n+3) .medical_icon {
    width: 50%;
  }

  .medical_item:nth-of-type(-n+3) .medical_title h3 {
    font-size: 85%;
  }
	
	.medical_item:nth-of-type(-n+3) .medical_text {
		font-size: 90%;
	}
	
	.medical_item:nth-of-type(-n+3) .medical_btn span {
		font-size: 80%;
	}
}

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

  *症例スライダー

================================================================================================================================== */
#caseSlider {
	position: relative;
}

#caseSlider .inner {
  max-width: none;
	padding: 160px 0 120px;
}

#caseSlider .top_title::before {
  content: "Case";
}

#caseSlider .splide {
  position: relative;
  z-index: 1;
}

#caseSlider .splide__inner {
  position: relative;
  z-index: 1;
}

#caseSlider .splide__track {
  padding: 0 100px!important;
}

/* ----- スライドの設定 ----- */
#caseSlider .splide__slide {
  position: relative;
  z-index: 1;
  padding: 50px;
  background: #ffffff;
}

#caseSlider .splide__slide::before {
  position: absolute;
  top: 0;
	bottom: 0;
  left: 0;
	z-index: -2;
  width: 50%;
  height: 100%;
  background: url("../images/marble01.png") no-repeat center / cover;
  content: "";
}

#caseSlider .splide__slide::after {
  position: absolute;
  top: 0;
	bottom: 0;
  right: 0;
	z-index: -1;
  width: 50%;
  height: 100%;
  background: url("../images/marble02.png") no-repeat center / cover;
  content: "";
}

/* ----- オペレーション ----- */
#caseSlider .splide__operation {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0 auto 30px;
}

/* ページネーション */
#caseSlider .caseSlider_pagination {
  display: flex;
  gap: 15px;
	z-index: 1;
}

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

#caseSlider .caseSlider_page.is-active {
  background: var(--main-color);
}

/* ----- スライダーのArrowボタン ----- */
#caseSlider .caseSlider_arrows {
  display: flex;
  gap: 3px;
}

#caseSlider .caseSlider_arrow {
	display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 60px;
  height: 60px;
  padding: 3px;
  border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
}

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

#caseSlider .caseSlider_arrow:hover i {
  background: var(--text-color);
}

#caseSlider .caseSlider_arrow_prev {
  left: 60px;
}

#caseSlider .caseSlider_arrow_prev span::before {
  content: "\f104";
}

#caseSlider .caseSlider_arrow_next {
  right: 60px;
}

#caseSlider .caseSlider_arrow_next span::before {
  content: "\f105";
}

.case_item {
  height: fit-content;
}

.case_images_list {
  display: flex;
  gap: 50px;
	position: relative;
	z-index: 1;
  width: 100%;
}

.case_images_item {
  flex: 1;
  width: 100%;
}

.case_detail {
  max-width: 1200px;
  margin: 50px auto 0;
}

.case_images_item .title {
  padding: 20px;
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
  background: var(--sub-color);
  color: #ffffff;
	font-family: "baskerville-display-pt", serif;
	font-weight: 400;
	font-style: normal;
  font-size: 150%;
	line-height: 1;
	letter-spacing: 0.15em;
  text-align: center;
}

.case_images_item .images {
  padding: 10px;
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.97);
  text-align: center;
}

.case_images_item .images {
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
}

.case_images_item .text {
  margin-top: 20px;
	color: var(--text-color);
	font-size: 100%;
	line-height: 2;
	letter-spacing: 0.15em;
}

.case_detail {
	position: relative;
  padding: 30px;
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.97);
}

.case_detail_accordion {
  position: relative;
  z-index: 1;
  padding: 15px;
	color: var(--text-color2);
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
  font-size: 120%;
	line-height: 1.5;
	letter-spacing: 0.15em;
  cursor: pointer;
}

.case_detail_accordion::before {
  position: absolute;
  top: 50%;
  right: 15px;
  z-index: 2;
	transform: rotate(90deg);
  width: 15px;
  height: 2px;
  background: var(--text-color2);
	content: "";
  transition: transform 0.3s, opacity 0.3s;
}

.case_detail_accordion.open::before {
  opacity: 0;
  transform: rotate(180deg);
}

.case_detail_accordion::after {
  position: absolute;
  top: 50%;
  right: 15px;
  z-index: 2;
  width: 15px;
  height: 2px;
  background: var(--text-color2);
	content: "";
  transition: transform 0.3s, background 0.3s;
}

/*.case_images_item:nth-child(even) .title {
	background: var(--accent-color);
}*/

/* ----- 詳細テーブル ----- */
.case_table {
  display: none;
  margin: 0 auto 30px;
}

.case_table th, .case_table td {
  padding: 20px;
}

.case_table th {
  background: var(--bg-color);
  color: var(--text-color);
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	font-size: 100%;
	line-height: 1.5;
	letter-spacing: 0.15em;
}

.case_table td {
  background: #ffffff;
	color: var(--text-color);
	font-size: 100%;
	line-height: 2;
	letter-spacing: 0.15em;
}

/* ----- リンクボタン ----- */
.case_button {
  text-align: center;
}

.case_button > * {
  display: block;
  padding: 20px;
  border: 1px solid var(--sub-color);
  color: var(--text-color2);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 110%;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-align: center;
}

.case_button > *:hover {
  background: var(--sub-color);
  color: #ffffff;
}

/* ==============================================
  *SP 症例スライダー
============================================== */
@media screen and (max-width: 640px) {
  #caseSlider .inner {
    padding: 60px 0;
  }

  #caseSlider .splide__track {
    padding: 0 30px !important;
  }

  #caseSlider .splide__operation {
    gap: 15px;
    padding: 0 20px;
  }

  .case_detail {
    padding: 15px 15px;
  }

  #caseSlider .splide__slide {
    padding: 20px;
  }
	
	#caseSlider .splide__slide::before {
		background: url("../images/marble01_sp.png") no-repeat center / cover;
	}
	
	#caseSlider .splide__slide::after {
		background: url("../images/marble02_sp.png") no-repeat center / cover;
	}

  .case_detail_accordion {
    padding: 10px 30px 10px 10px;
		font-size: 100%;
  }

  .case_detail_accordion::before {
    right: 10px;
    width: 10px;
  }

  .case_detail_accordion::after {
    right: 10px;
    width: 10px;
  }

  .case_images_item .title {
    padding: 10px;
    font-size: 120%;
  }

  #caseSlider .caseSlider_arrow {
    position: static;
    width: 40px;
    height: 40px;
    transform: translate(0, 0);
  }

  #caseSlider .caseSlider_arrow i {
    font-size: 80%;
  }

  #caseSlider .case_images_list {
    flex-flow: column;
    gap: 20px;
  }

  #caseSlider .caseSlider_page {
    width: 8px;
    height: 8px;
  }

  .case_detail {
    margin: 20px auto 0;
  }

  .case_table {
    margin: 0 auto 15px;
  }

  .case_table th, .case_table td {
    display: block;
    width: 100%;
  }

  .case_table th {
    border-bottom: none;
  }

  .case_button {
    margin: 0;
  }

  .case_button > * {
    margin: 0;
    padding: 10px 10px;
    font-size: 100%;
  }
}

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

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

==================================================================================================================================*/
.clinic {
  position: relative;
  z-index: 1;
}

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

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

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

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

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

.clinic .news .top_title .eng {
  font-size: 60px;
}

.clinic .news .top_title .eng::first-letter {
	font-size: 90px;
}

.clinic .news .btn01 {
  margin-top: 40px;
  text-align: center;
}
.banner_recruit .inner {
	padding: 0 0 80px;
}
/* ----- 医院概要 ----- */
.clinic .info {
	display: none!important;
}

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

.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(--main-color);
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffffff;
  font-size: 16px;
}

.clinic .info address .location {
  padding: 5px 0 5px 50px;
}

.clinic .info address .location::before {
  content: "\f3c5";
}

.clinic .info address .location .zipcode {
  margin-right: 10px;
}

.clinic .info address .tel {
  margin-top: 15px;
  padding: 3px 0 7px 50px;
  font-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: var(--bg-color);
}

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

.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: 0 5% 60px;
  }
	
	.clinic .news .top_title {
		margin-bottom: 40px;
	}
	
	.clinic .news .top_title .eng {
		font-size: 38px;
	}
	
	.clinic .news .top_title .eng::first-letter {
		font-size: 62px;
	}

  .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%;
  }
.banner_recruit .inner {
	padding: 0 5% 80px;
}
}

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

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

================================================================================================================================== */
.column {
  display: none !important;
  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;
}

#infinitySlider .splide__list {
  gap: 10px;
}

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

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