@charset "UTF-8";

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

  *基本設定

================================================================================================================================== */
body {
      background: linear-gradient(-90deg, rgba(185, 181, 164, 0.15) 1px, transparent 0) center / 250px;
}
.front {
  overflow: hidden;
}

section .inner {
  padding: 120px 50px;
  max-width: 1400px;
}

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

/* ----- パララックス ----- */
.parallax {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

/* 切り抜く範囲 */
.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;
  background: 
linear-gradient(rgba(10, 14, 55, 0.8)30%,rgba(10, 14, 55, 0.4)),
  url(../images/greeting_bg.jpg) center / cover no-repeat;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==============================================
  *SP 基本設定
============================================== */
@media screen and (max-width: 640px) {
  section .inner {
    padding: 70px 20px;
  }

  /* ----- パララックス ----- */

}

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

  *タイトル

================================================================================================================================== */
.top_title {
  margin-bottom: 50px;
  line-height: 1.5;
  text-align: center;

  /* 左寄せ */
}

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

.top_title h2 {
  font-size: 160%;
  font-family: var(--jp-font);
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.12em;
}

.top_title .eng {
  display: inline-block;
  padding-bottom: 10px;
  color: var(--main-color);
  font-size: 700%;
  font-family:  var(--en-font);
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0.12em;
    background: linear-gradient(var(--main-color) 60%,var(--sub-color) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

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

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

  *メインビジュアル

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

.mvSlider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.mvSlider::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 17, 48, 0.6),rgba(15, 17, 48, 0.1) 50%);
    top: 0;
    left: 0;
    z-index: 1;
}

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

.mvSlider .sliderBtn#mv_btnPrev {
  left: 20px;
}

.mvSlider .sliderBtn#mv_btnNext {
  right: 20px;
}

.mvSlider .sliderBtn span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--main-color);
  border-radius: 50%;
  transition: background 0.2s;
}

.mvSlider .sliderBtn span:hover {
  background: var(--text-color);
}

.mvSlider .sliderBtn span::before {
  padding: 0 0 1px 0;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: #ffffff;
  font-size: 15px;
  transition: color 0.2s;
}

.mvSlider .sliderBtn#mv_btnPrev span::before {
  content: "\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: 48%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
  text-align: center;
}
.mvCatch > div {
  overflow: visible!important;
}

.mvCatch .inner {
  position: relative;
  z-index: 1;
}
.mvCatch .inner::before {
  
  position: absolute;
    content: "";
    width: 430px;
    height: 340px;
    background: url(../images/logo_mark_w.svg) top left / cover no-repeat;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.15;
}

.mvCatch p {
    font-size: 250%;
    color: #fff;
    line-height: 1.3;
    letter-spacing: 0.12em;
}

.mvCatch p span {
    font-size: 160%;
    padding: 0 5px;
}

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

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

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

.open_bnr {
  position: absolute;
  bottom: 50px;
  display: inline-block;
  border-radius: 50%;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

.open_bnr > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 300px;
  padding: 15px;
  background: rgba(10, 14, 55, 0.4);
  border-radius: 50%;
  color: #ffffff;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
}

.open_bnr .date {
  font-size: 130%;
  letter-spacing: 0.12em;
}

.open_bnr .open_text {
  margin: 0 0 10px;
  padding: 0 10px;
  font-size: 280%;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

.open_bnr .nairankai_tit {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  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: 550px;
  }

  /* ----- スライダーのArrowボタン ----- */
  .mvSlider .sliderBtn {
    top: 50%;
    width: 40px;
    height: 40px;
    padding: 2px;
    font-size: 12px;
  }

  .mvSlider .sliderBtn#mv_btnPrev {
    left: 10px;
  }

  .mvSlider .sliderBtn#mv_btnNext {
    right: 10px;
  }

  .mvSlider .sliderBtn span::before {
    font-size: 11px;
  }

  .mvCatch {
    top: auto;
    bottom: 20px;
    display: none;
  }
  .mvCatch .inner::before {
   width: 270px;
    height: 213px; 
  }

  .mvCatch.is-active {
    display: block;
  }

  .mvCatch p {
    font-size: 120%;
  }

  .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%;
    height: auto;
    padding: 15px 20px;
    border-radius: 0;
    background: rgba(10, 14, 55, 0.7);
  }
}

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

  *バナーエリア

================================================================================================================================== */
/* ----- 共通設定 ----- */
.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 .inner {
  padding: 100px 50px 70px;
}
#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: 80px;
}

/* スライダーの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(--sub-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_next {
  right: 0;
}

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

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

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

/* ==============================================
  *SP バナーエリア（追加コンテンツ）
============================================== */
@media screen and (max-width: 640px) {
  /* ----- グリッドバナー ----- */
  .banner_grid li {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* ----- スライダーバナー ----- */
  #bannerSlider .inner {
    padding: 50px 20px;
  }
  #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;
  }
}

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

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

==================================================================================================================================*/
.clinic .clinic_top {
  position: relative;
  padding: 0 50px;
}
.clinic .clinic_top::before {
    position: absolute;
    content: "";
    background: var(--bg-color);
    width: 80%;
    height: 100%;
    bottom: 200px;
    left: 0;
    z-index: -1;
}

.clinic .clinic_top .inner {
  display: flex;
  padding: 90px 30px 80px;
  background: #fff;
      box-shadow: 0px 30px 80px -30px rgba(0, 0, 0, 0.1);
}
.clinic .clinic_top .inner > * {
  padding: 0 50px;
}
/* ------ お知らせ ------ */
.clinic .news {
  width: calc(50%);
  border-right: 1px solid var(--line-color);
}
.news .top_title .eng {
  font-size: 450%;
}
.news .top_title h2 {
  font-size: 150%;
}

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

/* ------ コラム ------ */
.clinic_column {
  width: 50%;
}
.clinic_column .top_title .eng {
  font-size: 450%;
}
.clinic_column .top_title h2 {
  font-size: 150%;
}

.clinic_column .column_list {
  margin-bottom: 30px;
}

.clinic_column .column_item {
  width: 100%;
  border-top: 1px solid #f0f0f0;
}

.clinic_column .column_item:last-child {
  border-bottom: 1px solid #f0f0f0;
}

.clinic_column .column_item a {
  display: flex;
  gap: 20px;
  height: 100%;
  padding: 29px 15px;
}

/* サムネイル */
.clinic_column .column_item_thum {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
}

.clinic_column .column_item_thum img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.clinic_column .column_item a:hover .column_item_thum img {
  transform: scale(1.1);
}

.clinic_column .column_info_inner {
  display: flex;
  flex-flow: wrap;
  gap: 10px 20px;
}

.clinic_column .column_item a .column_info {
  display: flex;
  flex-flow: column;
  gap: 15px;
  width: calc(100% - 120px);
  color: var(--text-color);
  font-size: 90%;
}

/*　カテゴリー */
.clinic_column .column_item a .column_date {
  flex-shrink: 0;
}

.clinic_column .column_item a .column_info ul {
  display: flex;
  flex-flow: wrap;
  gap: 5px;
}

.clinic_column .column_item a .column_info ul li {
  min-width: 80px;
  padding: 2px 10px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 90%;
  text-align: center;
}

/* コラムタイトル */
.clinic_column .column_item a .column_title {
  color: var(--text-color);
  font-size: 120%;
  white-space: nowrap;
  transition: color 0.2s;
}

.clinic_column .column_item a:hover .column_title {
  color: var(--main-color);
}

.clinic_column .column_item a .column_title p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* コラムがない時 */
.colum_coming {
  margin: 0 auto 30px;
  text-align: center;
}

/* ------ 医院概要 ------ */
.clinic .info {
  width: 100%;
  padding-top: 110px;
}

.clinic .info .inner {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 40px;
  padding: 0 50px 100px;
}

.clinic .info .inner > * {
  width: calc(50% - 20px);
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

.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: rgba(42, 47, 97, 0.1);
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--main-color);
  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;
  letter-spacing: 0.12em;
}

.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;
  letter-spacing: 0.12em;
}

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

.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: 2px 0;
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
}

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

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


.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: 500px;
  width: 100%;
}

@media screen and (max-width: 640px) {
  .clinic .clinic_top {
    padding: 0 10px;
  }
  .clinic .clinic_top .inner {
    flex-flow: column;
    gap: 60px;
    padding: 60px 20px;
  }
  .clinic .clinic_top .inner > * {
    padding: 0;
  }

  /* ------ お知らせ ------ */
  .clinic .news {
    width: 100%;
    border-right: none;
  }
.news .top_title .eng {
  font-size: 55px;
}
  .news .top_title h2 {
    font-size: 18px;
  }

  /* ------ 医療コラム ------ */
  .clinic_column {
    width: 100%;
  }
.clinic_column .top_title .eng {
  font-size: 55px;
}
  .clinic_colum .top_title h2 {
    font-size: 18px;
  }

  .clinic_column .column_item a {
    padding: 15px 5px 15px 10px;
  }

  .clinic_column .column_item a .column_info ul li {
    min-width: 70px;
  }

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

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

.clinic .info .speciality .title {
     padding: 20px 10px; 
}
.clinic .info address .location .zipcode {
  display: block;
}

  /* Googleマップ */
  .clinic .info .googlemap iframe {
    height: 250px;
  }
}

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

  *ご挨拶

================================================================================================================================== */
.greeting {
  position: relative;
}
.greeting::before {
  position: absolute;
  content: "";
  background: url(../images/logo_mark_w.svg) top left / cover no-repeat;
  width: 863px;
    height: 682px;
    top: -4px;
    right: -162px;
    opacity: 0.1;
}
.greeting .inner {
  padding: 150px 50px 260px;
}
.greeting .top_title {
  text-align: left;
  margin-bottom: 80px;
}
.greeting .top_title h2 {
  color: #fff;
  font-size: 120%;
}
.greeting .top_title .eng {
    background: linear-gradient(var(--sub-color) 60%,var(--sub-color) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.greeting_box {
  position: relative;
  z-index: 1;
}

.greeting_flex {
  display: flex;
  gap: 70px;
}
.greeting_box:nth-child(1) {
  color: #fff;
}

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

.greeting_left {
  flex-shrink: 0;
  width: 50%;
}
.greeting_catch {
  font-size: 220%;
  line-height: 1.75;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
    padding-bottom: 50px;
}
.greeting_text {
    line-height: 1.8;
}
.greeting_text > *:not(:last-child) {
  margin-bottom: 2em;
}
.greeting_right {
  position: relative;
  height: fit-content;
}


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

.greeting_profile .name {
  font-size: 150%;
}
.greeting_profile .name span {
  font-size: 80%;
  padding-right: 10px;
}
.greeting_btn {
  margin-top: 50px;
}

.greeting_box:nth-child(1) .greeting_btn a {
  border: 1px solid #fff;
  color: #fff;
}
.greeting_box:nth-child(1) .greeting_btn a:hover {
  background: #fff;
  color: var(--main-color);
}
.greeting_box:nth-child(1) .greeting_btn a::after {
  background: #fff;
}
.greeting_box:nth-child(1) .greeting_btn a:hover::after {
  background: var(--main-color);
}

/* 医師ごあいさつ */
.greeting_box:nth-child(2) .greeting_flex {
  background: rgba(255,255,255,0.9);
  padding: 100px 100px 100px 0;
    flex-direction: row-reverse;
      align-items: stretch;
      margin-left: 100px;
}
.greeting_box:nth-child(2) .greeting_catch {
  font-size: 200%;
  padding-bottom: 50px;
}
.greeting_box:nth-child(2) .greeting_catch span {
  font-size: 70%;
  color: var(--sub-color);
    font-family: var(--en-font);
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.1em;
}
.greeting_box:nth-child(2) .greeting_catch span::before {
  content: "/";
  color: #ccc;
  padding: 0 15px 0 10px;
}

.greeting_box:nth-child(2) .greeting_right {
  margin: 0 0 0 -100px;
}

.greeting_box:nth-child(2) .greeting_img {
  position: relative;
}
.greeting_box:nth-child(2) .greeting_img::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 40%;
  background: linear-gradient(rgba(42, 47, 97, 0),rgba(42, 47, 97, 0.7));
  left: 0;
  bottom: 0;
}
.greeting_box:nth-child(2) .greeting_profile {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px 30px;
  width: 100%;
  color: #fff;
  line-height: 1.75;
  text-align: center;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}
/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
  .greeting .inner {
    padding: 70px 20px;
  }
  .greeting .top_title {
    margin-bottom: 40px;
  }
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }
.greeting_catch {
  font-size: 190%;
  padding-bottom: 20px;
}
  .greeting_btn {
    margin-top: 40px;
  }
  
.greeting_profile .position {
  font-size: 85%;
}
.greeting_box:not(:last-child) {
  margin-bottom: 80px;
}
  /* 院長ごあいさつ */
  .greeting_box:nth-child(2) .greeting_flex {
    flex-flow: column;
    flex-direction: column-reverse;
    margin-left: 0;
    margin-top: 20px;
    padding: 20px 20px 100px;
  }
  .greeting_box:nth-child(2) .greeting_right {
    margin: -40px 0 0 -40px
  }
  .greeting_box:nth-child(2) .greeting_catch {
    font-size: 190%;
    padding-bottom: 20px;
  }
  .greeting_box:nth-child(2) .greeting_catch span {
    font-size: 60%;
    display: block;
  }
  .greeting_box:nth-child(2) .greeting_catch span::before {
    padding: 0 10px 0 0;
  }
}

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

  *診療案内

================================================================================================================================== */
.medical {
  position: relative;
  background: rgba(117,115,99, 0.1);
}
.medical::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/medical_bg.jpg) bottom right / 100% no-repeat;
  right: 0;
  bottom: 0;
  opacity: 0.12;
  z-index: -1;
}
.medical_wrap {
  position: relative;
}
.medical .top_title {
  color: #ffffff;
}

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

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

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

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

.medical_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}
.medical_item:hover .medical_img img {
  transform: scale(1.2);
}
.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(10, 14, 55, 0.6);
  text-align: center;
  transition: 0.2s;
}
.medical_item:hover .medical_inner {
  background: rgba(10, 14, 55, 0.4);
}
.medical_inner > *:not(:last-child) {
  margin-bottom: 15px;
}

.medical_icon {
  width: 70%;
  max-width: 80px;
  margin: 0 auto 15px !important;
}

.medical_title h3 {
  color: #fff;
  font-size: 120%;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

.medical_title_eng {
  margin-top: 5px;
  color: var(--sub-color);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
    font-family: var(--en-font);
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.12em;
}

.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);
}
.top_medical_under_text {
  padding-top: 100px;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}
.top_medical_under_text .btn01 {
  text-align: center;
}
.top_medical_under_text .btn01 a {
  font-size: 140%;
  padding: 20px 70px 20px 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 600px;
  margin: 0 auto;
}

.top_medical_under_text .btn01 a span {
  display: block;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
}

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

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

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

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



/* ==============================================
  *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_icon {
    width: 50%;
  }

  .medical_title h3 {
    font-size: 110%;
  }
.top_medical_under_text {
    padding-top: 30px!important;
}
.top_medical_under_text .btn01 a {
  width: 100%;
  line-height: 1.6;
  font-size: 17px;
  padding: 20px 45px 20px 20px;
}
  /* ----- 先頭2つの設定----- */
  .medical_item:nth-of-type(-n + 2) {
    width: 100%;
    min-height: auto;
  }

  .medical_item:nth-of-type(-n + 2) .medical_inner {
    padding: 15px 20px 30px;
  }

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

  .medical_item:nth-of-type(-n + 2) .medical_title h3 {
    font-size: 140%;
  }
}
/* ==================================================================================================================================

  *ピックアップ

================================================================================================================================== */
.pickup .inner {
padding: 150px 0 0;
    max-width: 100%;
}
.pickup .top_title {
  margin-bottom: 60px;
}
.pickup_list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.pickup_list::before {
  position: absolute;
  content: "";
  width: 80px;
  height: 50px;
  background: #fff;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  clip-path: polygon(100% 0, 0 0, 50% 100%);
  z-index: 2;
}

.pickup_item {
  position: relative;
  z-index: 1;
  width: 50%;
  min-height: 670px;
}
.pickup_item::before {
  position: absolute;
  content: "";
  background: linear-gradient(rgba(10, 14, 55, 0),rgba(10, 14, 55, 0.7));
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: 0.2s;
}
.pickup_item:hover::before {
  opacity: 0.8;
}
.pickup_img {
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}
.pickup_item:hover .pickup_img img {
  transform: scale(1.2);
}
.pickup_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.pickup_inner {
    position: relative;
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 370px 70px 70px;
    width: 100%;
    max-width: 800px;
    height: 100%;
    text-align: center;
    margin: 0 auto;
}

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

.pickup_icon {
  width: 70%;
  max-width: 80px;
  margin: 0 auto 15px !important;
}

.pickup_title h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 320%;
    color: #fff;
    font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.15em;
    line-height: 1.7;
}

.pickup_title_eng {
  margin-top: 0;
  color: var(--sub-color);
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-align: center;
  font-family: var(--en-font);
  font-weight: 500;
  font-style: normal;
}

.pickup_text {
  color: #fff;
}
.pickup_btn {
  margin-top: auto;
}
.pickup_btn span {
  position: relative;
  display: block;
    padding: 15px 70px 15px 40px;
    color: #fff;
    border: 1px solid #fff;
    font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
    transition: color 0.2s, background 0.2s;
}
.pickup_item:hover .pickup_btn span {
  background: #fff;
  color: var(--main-color);
}
.pickup_btn span::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    display: block;
    width: 40px;
    height: 4px;
    background: #fff;
    -webkit-mask: url(../images/btn_arrow.png) no-repeat center right / contain;
    mask: url(../images/btn_arrow.png) no-repeat center right / contain;
    transform: translateY(-50%);
    transition: right 0.2s, background 0.2s;
}

.pickup_item:hover .pickup_btn span::before {
  background: var(--main-color);
  right: 10px;
}
/* ==============================================
  *SP ピックアップ
============================================== */
@media screen and (max-width: 640px) {
.pickup .inner {
  padding: 70px 0 0;
}

  .pickup_list::before {
    width: 50px;
    height: 30px;
  }

  .pickup_item {
    width: 100%;
    min-height: auto;
  }
  .pickup_item::before {
    background: linear-gradient(rgba(10, 14, 55, 0.2),rgba(10, 14, 55, 0.7));
  }
  .pickup_item:hover {
    transform: translateY(-5px);
  }

  .pickup_inner {
    min-height: auto;
    padding: 70px 10px 50px;
  }
.pickup_inner > *:not(:last-child) {
  margin-bottom: 20px;
}
  .pickup_icon {
    width: 50%;
  }
.pickup .top_title {
  margin-bottom: 40px;
}
  .pickup_title h3 {
    font-size: 240%;
  }
  /* ----- 先頭2つの設定----- */
  /* .pickup_item:nth-of-type(-n + 2) {
    width: 100%;
    min-height: auto;
  }

  .pickup_item:nth-of-type(-n + 2) .pickup_inner {
    padding: 15px 20px 30px;
  }

  .pickup_item:nth-of-type(-n + 2) .pickup_icon {
    width: 30%;
  }

  .pickup_item:nth-of-type(-n + 2) .pickup_title h3 {
    font-size: 140%;
  } */
}

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

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

================================================================================================================================== */
.feature {
  position: relative;
}
.feature::before {
    position: absolute;
    content: "";
    background: rgba(117,115,99, 0.1);
    width: 100%;
    height: calc(100% + 250px);
    top: -250px;
    left: 0;
    z-index: -1;
}
.feature::after {
  display: block;
    content: "";
    background: url(../images/feature_under_img.jpg) center / cover no-repeat;
    width: 100%;
    height: 600px;
}
.feature .top_title {
  margin-bottom: 70px;
}
.feature_list {
  display: flex;
  align-items: flex-start;
  flex-flow: wrap;
  gap: 80px 50px;
}

.feature_item {
  display: flex;
  flex-flow: column;
  width: calc(50% - 25px);
  height: auto;
    padding-left: 50px;
}
.feature_img {
  position: relative;
}
.feature_num {
    position: absolute;
    left: -40px;
    top: 0;
    margin: 0 0 0 !important;
    font-size: 17px;
    color: #af9d75;
    font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    letter-spacing: 0.15em;
}
.feature_num span {
    font-size: 170%;
    padding-top: 2px;
}
.feature_inner {
  position: relative;
    display: flex;
    flex-flow: column;
    height: 100%;
    padding: 75px 55px;
    background: #fff;
    box-shadow: 0px 30px 60px -30px rgba(0, 0, 0, 0.1);
    margin: -50px 0 0 -50px;
    width: calc(100% + 20px)
}

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

.feature_title {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: center;
  min-height: 70px;
  margin-bottom: 28px !important;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
  z-index: 1;
}

.feature_title h3 {
  color: var(--main-color);
  font-size: 198%;
  line-height: 1.6;
  letter-spacing: 0.12em;
}
.feature_title h3 span {
  color: #af9d75;
}
.feature_item .btn01 {
  margin-top: auto;
  text-align: right;
}
.feature_item:nth-child(even) {
  margin-top: 50px;
}

/* ---- 横並びボタン ----- */
.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::before {
    height: calc(100% + 100px);
    top: -100px;
  }
.feature::after {
  height: 180px;
}
  .feature_list {
    gap: 30px;
  }

  .feature_item {
    width: 100%;
    padding-left: 30px;
  }
.feature_inner {
margin: -20px 0 0 -30px;
        padding: 40px 20px;
        width: calc(100% + 10px);
}
  .feature_title {
    min-height: auto;
    margin-bottom: 25px !important;
  }

.feature_title h3 {
  font-size: 140%;
}
.feature_num {
  left: -30px;
  font-size: 14px;
}
.feature_item:nth-child(even) {
  margin-top: 0;
}
  /* ---- 横並びボタン ----- */
  .btnflex_feature .btn01 {
    width: 100%;
  }
}

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

  *病状、症状から探す

================================================================================================================================== */
.search {
  position: relative;
}
.search::before {
    position: absolute;
    content: "";
    width: 98%;
    height: 60%;
    background: 
    linear-gradient(rgba(10, 14, 55, 0.5),rgba(10, 14, 55, 0.5)),
    url(../images/search_under_img.jpg) center / cover no-repeat;
    bottom: 0;
    right: 0;
}
.search .inner {
  padding: 120px 50px 170px;
}
.search .tab_wrap {
  display: flex;
  gap: 0;
  align-items: flex-start;

}
.search .tab_list {
    flex-flow: column;
    gap: 10px;
    width: 350px;
    flex-shrink: 0;
}

.search .tab_list .tab {
  position: relative;
  padding: 20px;
  width: 100%;
  min-height: 80px;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}
.search .tab_list .tab::before {
  position: absolute;
  content: "";
  width: 40px;
  height: 100%;
  background: #a9a9a9;
  top: 0;
  right: -40px;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}
.search .tab_list .tab.active::before  {
  background: var(--sub-color);
    z-index: 2;
}
.search .panel {
  position: relative;
  z-index: 1;
    padding: 50px 70px;
    background: #f2f2ef;
    /* box-shadow: 0px 30px 60px -30px rgba(0, 0, 0, 0.3); */
}

.search_list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 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: 70px;
  padding: 15px 10px 15px 40px;
  border-bottom: 1px solid #b0b1bb;
  color: var(--text-color);
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}
.search_list li a:hover {
  background: #fff;
}
.search_list li a::before {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 10px;
    z-index: 2;
    display: block;
    color: var(--sub-color);
    transform: translateY(-50%);
    transition: background 0.2s,color 0.2s;
}
.search_list li a:hover::before {
  color: 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: column;
  gap: 20px;
}

.search_img {
  width: 100%;
  margin: 0 !important;
}

.panel_flex .search_list {
  width: 100%;
}

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

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
  .search .inner {
    padding: 70px 20px;
  }
  .search .tab_wrap {
    flex-flow: column;
  }
  .search .tab_list {
    flex-flow: wrap;
    gap: 5px;
    margin: 0 0 15px;
    width: 100%;
  }

  .search .tab_list .tab {
    width: 100%;
    min-height: auto;
    padding: 10px 5px 0!important;
    font-size: 100%;
    line-height: 1.5;
    transform: translate(0, 0) !important;
      -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  }
.search .tab_list .tab::before {
  width: 100%;
  height: 30px;
  top: auto;
  right: 0;
  bottom: -30px;
  clip-path: polygon(100% 0, 0 0, 50% 100%);
}
.tab_list li.active {
  z-index: 2;
}
  .search .panel {
    padding: 20px;
  }

  .search_list {
    gap: 0;
  }

  .search_list li {
    width: 100%;
  }

  .search_list li a {
    min-height: auto;
    padding: 10px 10px 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: 0;
  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: 0;
  }

  .column_box {
    width: 100%;
  }
}

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

  *無限スライダー

================================================================================================================================== */
#infinitySlider {
  padding: 0;
    margin-top: -130px;
    position: relative;
    z-index: 1;
}
#infinitySlider  .splide__track {
  overflow: unset;
}

#infinitySlider .splide__list {
  gap: 50px;
}

#infinitySlider .splide__slide {
  width: 380px !important;
}
#infinitySlider .splide__slide:nth-child(even) {
  margin-top: 50px;
}
#infinitySlider .splide__slide img {
  box-shadow: 0px 30px 60px -30px rgba(0, 0, 0, 0.3);
}
/* ==============================================
  *SP 無限スライダー
============================================== */
@media screen and (max-width: 640px) {
  #infinitySlider .splide__slide {
    width: 200px !important;
  }
  #infinitySlider .splide__list {
  gap: 30px;
}
}
