@charset "UTF-8";

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

  *基本設定

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

section .inner {
  padding: 120px 0;
  max-width: 1200px;
}

section .inner.large {
  max-width: 1500px;
  padding-left: 50px;
  padding-right: 50px;
}

section .inner.standout {
  max-width: unset;
  padding-left: calc((100% - 1500px) / 2 + 50px);
  padding-right: 80px;
}

.inner.inner_flex {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

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

@media screen and (max-width:1520px) {
  section .inner.standout {
    padding-left: 80px;
  }

  section .inner.large {
    padding-left: 80px;
    padding-right: 80px;
  }
}

/* ----- パララックス ----- */
.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, section .inner.large, section .inner.standout {
    padding: 80px 20px;
  }

  .inner.inner_flex {
    flex-direction: column;
  }

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

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

  *タイトル

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

.top_title.title_left {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 80px;
  text-align: start;
}

.top_title.title_vertical {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  flex-shrink: 0;
  gap: 16px;
  writing-mode: vertical-rl;
  text-align: left;
  white-space: nowrap;
}

.top_title h2 {
  font-size: 160%;
  letter-spacing: 0.1em;
}

.top_title.title_left h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.top_title.title_small h2 {
  font-size: 200%;
}

.top_title.title_left h2::before {
  display: inline-block;
  content: "";
  width: 60px;
  height: 1px;
  background: var(--line-color);
  transform: rotate(-45deg);
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--main-color);
  line-height: 1;
  letter-spacing: 0.08em;
  font-size: 340%;
  font-family: var(--font-en);
  font-weight: 300;
  opacity: .9;
}

.top_title.title_small .eng {
  font-size: 200%;
}

.top_title.title_left .eng {
  margin-bottom: 0;
}

.top_title.title_vertical .eng {
  font-size: 320%;
  letter-spacing: 0.1em;
}


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

  .top_title.title_left {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 40px;
  }

  .top_title.title_vertical {
    display: block;
    writing-mode: inherit;
    white-space: wrap;
  }

  .top_title.title_left h2::before {
    content: none;
  }

  .top_title h2 {
    font-size: 140%;
  }

  .top_title.title_left h2 {
    gap: 10px;
  }

  .top_title .eng {
    margin-bottom: 10px;
    font-size: 320%;
  }

  .top_title.title_vertical .eng {
    font-size: min(8vw, 40px);
  }
}

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

  *メインビジュアル

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

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

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

.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.3s;
}

.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%;
  padding: 0 0 0 280px;
  height: 100%;
  margin-left: auto;
}

@media screen and (max-width:1520px) {
  .mvImg {
    padding: 0 0 0 200px;
  }
}

.mvImg::before {
  position: absolute;
  z-index: 1;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #2b5876, #0e3a5e);
  opacity: .15;
}

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

.mvCatch .inner {
  position: relative;
  left: 80px;
  z-index: 1;
  max-width: calc(100% - 100px);
}

@media screen and (max-width: 1520px) {
  .mvCatch .inner {
    left: 30px;
  }
}

.mvCatch p {
  font-size: 180%;
  font-family: var(--font-jp);
  letter-spacing: .1em;
  line-height: 1.7;
  text-shadow: 0px 0px 5px rgba(255, 255, 255, .8), 0px 0px 5px rgba(255, 255, 255, .8), 0px 0px 5px rgba(255, 255, 255, .8), 0px 0px 5px rgba(255, 255, 255, .8), 0px 0px 10px rgba(255, 255, 255, .8), 0px 0px 10px rgba(255, 255, 255, .8), 0px 0px 10px rgba(255, 255, 255, .8), 0px 0px 10px rgba(255, 255, 255, .8), 0px 0px 15px rgba(255, 255, 255, .8);
}

.mvCatch p span {
  font-size: 160%;
  color: var(--main-color);
}

.mvCatch p span:first-of-type {
  padding-right: 4px;
}

.mvCatch p span:last-of-type {
  padding-left: 4px;
}

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

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

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

.open_bnr {
  position: absolute;
  bottom: 50px;
  display: inline-block;
  padding: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.open_bnr>* {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 280px;
  padding: 15px;
  background: var(--main-color);
  border-radius: 50%;
  color: #ffffff;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
}

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

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

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

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

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

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

.sp_only {
  display: none;
}

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
  .mainvisual {
    height: 400px;
  }

  .mvImg {
    padding: 0 0 0 20px;
  }

  /* ----- スライダーの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;
    left: 16px;
    bottom: 20px;
    display: none;
  }

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

  .mvCatch .inner {
    left: 0;
    max-width: unset;
  }

  .mvCatch p {
    font-size: min(4vw, 20px);
    line-height: 1.75;
  }

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

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

  *バナーエリア

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#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.3s;
}

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

/* ==============================================
  *SP バナーエリア（追加コンテンツ）
============================================== */
@media screen and (max-width: 640px) {

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

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

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

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

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

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

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

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

==================================================================================================================================*/
.clinic {
  position: relative;
  padding-bottom: 120px;
}

.clinic::before {
  position: absolute;
  z-index: -1;
  left: 0px;
  bottom: 0px;
  content: "";
  width: 40%;
  height: calc(100% + 280px);
  background: url(../images/lines_white.png) repeat-y left 15% top/21px auto, url(../images/texture_bg_blue.jpg);
}

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

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

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

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

.clinic .news .top_title .eng {
  font-size: 380%;
  margin-bottom: 0;
}

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

/* ----- 医院概要 ----- */
.clinic .info .inner {
  display: flex;
  gap: 40px;
  padding: 80px 60px;
  background: #fff;
  box-shadow: rgba(149, 157, 165, 0.14) 0px 8px 24px;
}

.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: 1px;
  left: 0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding: 0 0 0 2px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--main-color);
  font-size: 26px;
  line-height: 1;
}

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

.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 0 40px;
  font-size: 36px;
  font-family: var(--font-en);
  line-height: 1;
  text-box: trim-both cap alphabetic;
}

.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;
  font-family: var(--font-jp);
}

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

  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 60px 20px;
  }

  .clinic .news .top_title .eng {
    font-size: 320%;
    margin-bottom: 10px;
  }

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

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

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

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


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

  *ご挨拶

================================================================================================================================== */
.greeting {
  background: url(../images/greeting_bg.jpg) no-repeat left top/cover;
}

.greeting .inner.large {
  padding-bottom: 10px;
}

.greeting .top_title .eng {
  font-size: 400%;
}

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

.greeting_flex {
  position: relative;
  top: -110px;
  display: flex;
  gap: 50px;
  padding: 100px 60px 80px;
}

.greeting_flex::before {
  position: absolute;
  z-index: -1;
  content: "";
  top: 50%;
  left: 50%;
  width: calc(100% + 100px);
  height: 100%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: rgba(149, 157, 165, 0.16) 0px 8px 24px;
}

/* @media screen and (max-width: 1520px) {
  .greeting_flex::before {
    width: calc(100% + 100px);
  }
} */

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

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

.greeting_text>p {
  line-height: 2.5;
}

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

.greeting_profile {
  padding: 20px;
  font-family: var(--font-jp);
  line-height: 1.75;
  text-align: center;
}

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

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

.greeting_profile .name span {
  margin-right: 10px;
  font-size: 80%;
}

.greeting_btn {
  margin-top: 50px;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
  .greeting {
    background: url(../images/greeting_bg_sp.jpg) no-repeat left top/cover;
  }

  .greeting .top_title .eng {
    font-size: 320%;
  }

  .greeting_flex {
    top: -17vw;
    flex-flow: column-reverse;
    gap: 0;
    padding: 80px 20px 60px;
  }

  .greeting_flex::before {
    width: 100%;
  }

  .greeting_left {
    width: 100%;
  }

  .greeting_text>p {
    line-height: 2;
  }

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

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

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

  *診療案内

================================================================================================================================== */
.medical .inner {
  padding-bottom: 90px;
}

.medical_list {
  display: flex;
  flex-wrap: wrap;
  width: 85%;
}

.medical_item {
  position: relative;
  z-index: 1;
  width: 25%;
  aspect-ratio: 1;
  height: auto;
}


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

.medical_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s ease-in-out;
}

.medical_item:hover .medical_img img {
  transform: scale(1.2);
}

.medical_inner {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 270px;
  padding: 30px 20px 40px;
  text-align: center;
  background: linear-gradient(rgb(64 114 174 / 0) 60%, rgb(64 114 174 / .3) 94%);
  transition: 0.3s ease-in-out;
}

.medical_inner::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgb(64 114 174 / .2) 60%, rgb(64 114 174 / .4) 94%);
  opacity: 0;
  transition: 0.3s ease-in-out;
}

.medical_item:hover .medical_inner::after {
  opacity: 1;
}

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

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

.medical_title {
  position: absolute;
  z-index: 1;
  bottom: 16px;
  right: 16px;
}

.medical_title h3 {
  color: rgb(255, 255, 255);
  font-size: 120%;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-align: right;
  font-feature-settings: "palt";
  text-shadow: rgba(64, 114, 174, 0.2) 0px 0px 10px, rgba(64, 114, 174, 0.2) 0px 0px 10px, rgba(64, 114, 174, 0.2) 0px 0px 10px, rgba(64, 114, 174, 0.2) 0px 0px 10px;
}

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

.medical_title_eng {
  margin-top: 5px;
  color: var(--main-color);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
}

.medical_text {
  color: var(--text-color);
}

.medical_btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto;
  padding: 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.3s, color 0.3s, background 0.3s;
}

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

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

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
  .medical .inner.standout {
    padding-top: 0px;
  }

  .medical_list {
    gap: 10px;
    width: 100%;
  }

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

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

  .medical_icon {
    width: 50%;
  }

  .medical_title {
    position: absolute;
    z-index: 1;
    bottom: 10px;
    right: 8px;
  }

  .medical_title h3 {
    font-size: min(3.8vw, 20px);
  }
}

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

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

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

.feature::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/feature_bg01.png) no-repeat center top, url(../images/feature_bg02.png) no-repeat center bottom, url(../images/texture_bg.jpg);
  opacity: .5;
}

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

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

.feature_item {
  position: relative;
  display: flex;
  flex-flow: column;
  width: calc(100% / 2 - 40px);
  height: auto;
}

.feature_item:nth-of-type(2n) {
  top: 40px;
}

.feature_img {
  position: relative;
  z-index: 2;
  padding-right: 10%;
}

.feature_num {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 250%;
  font-family: var(--font-en);
  font-weight: 300;
  writing-mode: vertical-rl;
  color: var(--main-color);
  line-height: 1;
  margin: 0px !important;
}

.feature_num span {
  padding-top: 8px;
  font-size: 130%;
}

.feature_inner {
  position: relative;
  top: -32px;
  left: 32px;
  display: flex;
  flex-flow: column;
  width: 90%;
  height: 100%;
  padding: 63px 32px 80px;
  background: rgb(255, 255, 255);
  box-shadow: rgba(149, 157, 165, 0.16) 0px 8px 24px;
}

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

.feature_title {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: center;
  min-height: 70px;
  padding-bottom: 16px;
  margin-bottom: 32px !important;
  border-bottom: 1px solid var(--line-color);
}

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

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

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

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

.btnflex_feature .btn01 a {
  padding: 12px 35px 11px 25px;
  width: 100%;
}

@media screen and (max-width: 640px) {
  .feature .top_title .eng {
    font-size: min(8.2vw, 40px);
  }

  .feature_list {
    gap: 30px;
  }

  .feature_item {
    width: 100%;
  }

  .feature_item:nth-of-type(2n) {
    top: 0;
  }

  .feature_num {
    top: 8px;
    right: 8px;
    font-size: 160%;
    color: #fff;
  }

  .feature_img {
    padding-right: 0;
  }

  .feature_inner {
    top: -32px;
    left: 0;
    width: 100%;
    padding: 63px 14px 80px;
  }

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

  .feature_title h3 {
    letter-spacing: .05em;
    font-size: 130%;
  }

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

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

  *病状、症状から探す

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

.search::before {
  position: absolute;
  top: 0px;
  left: 0;
  content: "";
  width: 50%;
  height: 580px;
  background: url("../images/lines_white.png") right 15% top / 21px repeat-y, var(--bg-color);
}

.search::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 95%;
  height: 400px;
  background: url(../images/search_bg.jpg) no-repeat center / cover;
}

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

.search .tab_wrap {
  width: 85%;
}

.search .tab_list {
  position: relative;
  z-index: 2;
  gap: 10px;
  margin-bottom: 10px;
}

.search .tab_list .tab {
  position: relative;
  padding: 26px 16px;
  background: #9e9e9e;
  transition: .3s;
  line-height: 1.56;
  letter-spacing: .1em;
  font-size: 110%;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

.search .tab_list .tab:hover {
  background: #838181;
}

.search .tab_list .tab.active {
  background: var(--main-color);
  color: #fff;
}

@media screen and (min-width: 641px){
.search .tab_list .tab::before {
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translate(-50%, 100%);
  content: "";
  width: 24px;
  height: auto;
  aspect-ratio: 3 / 2;
  background: var(--main-color);
  clip-path: polygon(100% 0, 0 0, 50% 100%);
  transition: .3s opacity;
  opacity: 0;
}

.search .tab_list .tab.active::before {
  position: absolute;
  opacity: 1;
}
}

.search .panel_wrap {
  box-shadow: rgba(149, 157, 165, 0.16) 0px 8px 24px;
}

.search .panel {
  position: relative;
  z-index: 1;
  gap: 0;
  min-height: 550px;
  padding: 0;
  background: #fff;
}

.search_list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  width: 100%;
  height: fit-content;
  padding: 50px;
}

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

/* ----- リンクボタン ----- */
.search_list li a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 60px;
  padding: 24px 50px 23px 10px;
  line-height: 1.63;
  letter-spacing: 0.12em;
  color: var(--text-color);
  font-size: 110%;
  font-family: var(--font-jp);
}

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

.search_list li a::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(to right, var(--main-color), var(--main-color) 50%, var(--line-color) 50%, var(--line-color));
  background-position: 100% 0;
  background-size: 200%;
  transition: .3s ease-in-out;
}

.search_list li a:hover::before {
  background-position: 0 0;
}

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

@media (hover: hover) {
  .search_list li a:hover::after {
    right: 10px;
    background: var(--main-color);
  }
}

/* ----- 画像あり ----- */
.panel_flex.active {
  display: flex;
}

.search_img {
  position: relative;
  flex-shrink: 0;
  width: 35%;
  height: auto;
  min-height: 497px;
  margin: 0 !important;
}

.search_img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
  .search::before {
    top: 0;
    width: 65%;
    height: 80%;
  }

  .search::after {
    background: url(../images/search_bg_sp.jpg) no-repeat center / cover;
  }

  .search .inner {
    flex-direction: column;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .search .top_title {
    width: 100%;
    align-items: center;
    margin-bottom: 40px;
  }

  .search .tab_wrap {
    width: 100%;
    padding-right: 0;
  }

  .search .tab_list {
    flex-flow: column;
    gap: 7px;
    margin: 0 0 15px;
  }

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

  .search .panel {
    flex-direction: column;
    padding: 32px 20px 42px;
  }

  .search_list {
    gap: 20px;
  }

  .search_list li {
    width: 100%;
  }

  .search_list li a {
    padding: 10px 45px 10px 5px;
    font-size: 100%;
  }

  /* ----- 画像あり ----- */
  .search_img {
    width: 100%;
    height: 300px;
    min-height: unset;
    overflow: hidden;
    margin-bottom: 24px !important;
  }

  .search_img img {
    width: 100%;
    max-width: unset;
    height: 100%;
    object-fit: cover;
  }

  .panel_flex .search_list {
    gap: 0 10px;
    width: 100%;
    padding: 0;
  }

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

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

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

==================================================================================================================================*/
#columnSlider .inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 130px;
  /* width: 90%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 100px 50px; */
}

#columnSlider .top_title {
  flex-shrink: 0;
}

#columnSlider .top_title h2::before, #columnSlider .top_title h2::after {
  display: none;
}

/* ----- コラムスライダー設定 ----- */
#columnSlider .splide {
  width: 100%;
  padding-top: 75px;
  overflow: hidden;
}

#columnSlider .splide__list {
  align-items: flex-start;
  width: 100%;
}

/* スライダーのArrowボタン */
#columnSlider .splide__arrow {
  position: absolute;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 45px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  cursor: pointer;
  overflow: hidden;
  transform: translateZ(0);
  transition: background 0.2s, color 0.2s;
}

#columnSlider .splide__arrow:hover {
  background: #ffffff;
  color: var(--main-color);
}

#columnSlider .splide__arrow span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transition: background 0.2s;
}

#columnSlider .splide__arrow span::before {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
}

#columnSlider .splide__arrow--prev {
  right: 70px;
}

#columnSlider .splide__arrow--prev span::before {
  content: "\f104";
}

#columnSlider .splide__arrow--next {
  right: 0;
}

#columnSlider .splide__arrow--next span::before {
  content: "\f105";
}

#columnSlider .splide__slide {
  display: flex;
  align-items: center;
  min-height: 200px;
}

/* ----- ページネーション ----- */
#columnSlider .splide__pagination {
  position: absolute;
  top: 17px;
  right: 190px;
  z-index: 1;
  display: flex;
  gap: 15px;
}

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

#columnSlider .columnSlider-page.is-active {
  background: var(--main-color);
}

/* ----- コラム個別 ----- */
#columnSlider .column_item a {
  width: 100%;
}

#columnSlider .column_item_thum {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  margin: 0 0 15px;
  overflow: hidden;
}

#columnSlider .column_item_thum img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
  aspect-ratio: 13 / 9;
}

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

#columnSlider .column_item:first-child .column_item_thum::before {
  content: "New";
  position: absolute;
  top: -1px;
  left: -1px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-self: center;
  width: 90px;
  height: 90px;
  padding: 10px 35px 0 0;
  background: var(--sub-color);
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0.075em;
  opacity: 0.9;
  clip-path: polygon(0 0, 0% 100%, 100% 0);
}

#columnSlider .column_info {
  display: flex;
  flex-flow: wrap;
  gap: 15px;
  margin: 0 0 15px;
  color: #747474;
  font-size: 90%;
}

#columnSlider .column_date {
  flex-shrink: 0;
}

#columnSlider .column_info ul {
  display: flex;
  flex-flow: wrap;
  gap: 5px;
}

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

#columnSlider .column_title {
  color: var(--text-color);
  font-size: 105%;
  font-family: var(--font-jp);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

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

/*==============================================
  *SP　医療コラム
==============================================*/
@media screen and (max-width: 640px) {
  #columnSlider .inner {
    flex-flow: column;
    gap: 0;
    width: 100%;
    margin: 0 auto;
    padding: 70px 20px;
  }

  #columnSlider .top_title {
    margin: 0 auto 50px;
  }

  #columnSlider .splide {
    margin-right: -40px;
  }

  #columnSlider .splide__arrow {
    width: 50px;
    height: 40px;
  }

  #columnSlider .splide__arrow--next {
    right: 20px;
  }

  #columnSlider .splide__arrow--prev {
    right: 80px;
  }

  #columnSlider .splide__pagination {
    top: 13px;
    right: auto;
    left: 0;
    justify-content: flex-end;
    gap: 13px;
    transform: translate(0);
  }

  #columnSlider .columnSlider-page {
    width: 8px;
    height: 8px;
  }

  #columnSlider .splide__slide:first-child .column_item_thum::before {
    width: 80px;
    height: 80px;
    padding: 13px 25px 0 0;
  }
}

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

  *無限スライダー

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

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

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

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

.pickup .top_title.title_left h2::after {
  content: none;
}

.pickup_list {
  position: relative;
  display: flex;
  flex-flow: wrap;
  gap: 120px;
}

.pickup_item {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 80px;
  width: 100%;
}

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

.pickup_img::before {
  position: absolute;
  z-index: -1;
  right: -40px;
  bottom: -40px;
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/lines_white.png) repeat-y right 15% top/21px auto, url(../images/texture_bg_blue.jpg);
}

.pickup_inner {
  flex-shrink: 0;
  width: 48%;
}

.pickup_title h2, .pickup_title h3 {
  margin-bottom: 32px;
  padding-bottom: 24px;
  background: none;
  border-bottom: 1px solid var(--line-color);
  font-size: 150%;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

.pickup_title .color01 {
  color: var(--main-color);
}

.pickup_title .color02 {
  color: var(--sub-color);
}

.pickup_text h3 span {
  margin: 0px 5px;
  background-image: radial-gradient(circle at center, var(--main-color) 20%, transparent 20%);
  background-position: right top;
  background-repeat: repeat-x;
  background-size: 1.1em 0.23em;
  padding-top: 0.45em;
  font-size: 130%;
}

.pickup_text h4 {
  margin: 48px 0px 16px;
  letter-spacing: 0.1em;
  font-size: 110%;
}

.pickup_text h4 .pickup_highlight {
  padding: 0 5px 3px;
  font-size: 140%;
  color: var(--main-color);
}

.pickup_text h4 .pickup_highlight span {
  background-image: radial-gradient(circle at center, var(--main-color) 20%, transparent 20%);
  background-position: right top;
  background-repeat: repeat-x;
  background-size: 1.07em .3em;
  padding-top: 0.55em;
}

.pickup_problem_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding: 32px;
  background: #ffffff;
  box-shadow: rgba(149, 157, 165, 0.14) 0px 8px 24px;
}

.pickup_problem_list li {
  position: relative;
  padding-left: 28px;
}

.pickup_problem_list li::before {
  position: absolute;
  top: 6px;
  left: 0;
  content: "";
  width: 18px;
  height: auto;
  aspect-ratio: 1;
  background: url(../images/check.png) no-repeat center / cover;
}

.pickup_link {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
  margin-top: 32px;
}

.pickup_link .pickup_btn {
  display: block;
  width: calc(50% - 10px);
}

.pickup_link .pickup_btn a {
  position: relative;
  display: block;
  padding: 12px 45px 11px 25px;
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
  border-radius: 5em;
  color: rgb(255, 255, 255);
  font-size: 95%;
  font-family: var(--font-jp);
  letter-spacing: 0.1em;
  text-align: center;
  vertical-align: bottom;
  transition: background 0.3s, color 0.3s;
}

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

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

.pickup_link .pickup_btn a:hover::before {
  right: 10px;
  background: var(--sub-color);
}

/*==============================================
  *SP　ピックアップ（追加コンテンツ）
==============================================*/
@media screen and (max-width:640px) {
  .pickup::before {
    height: calc(100% + 150px);
  }

  .pickup .inner {
    padding-bottom: 70px;
  }

  .pickup .top_title .eng {
    font-size: min(9vw, 40px);
  }

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

  .pickup_title h2, .pickup_title h3 {
    margin-bottom: 24px;
    padding-bottom: 16px;
    font-size: min(5.2vw, 24px);
  }

  .pickup_item {
    flex-flow: column;
    gap: 50px;
    width: 100%;
  }

  .pickup_img {
    width: calc(100% - 20px);
    margin: 0 auto 0 0;
  }

  .pickup_img::before {
    right: -40px;
    bottom: -20px;
  }

  .pickup_inner {
    width: 100%;
    padding-bottom: 0;
  }

  .pickup_text h3 {
    font-size: min(5.5vw, 24px);
    text-align: center;
  }

  .pickup_text h3 span {
    padding-top: 0.2em;
  }

  .pickup_problem_list {
    padding: 16px;
  }

  .pickup_problem_list li {
    padding-left: 24px;
  }

  .pickup_problem_list li::before {
    top: 6px;
    width: 18px;
  }

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

  .pickup_text h4 {
    margin-top: 40px 0 16px;
    font-size: 100%;
    line-height: 1.6;
  }

  .pickup_link .pickup_btn {
    width: 100%;
  }

  .pickup_link .pickup_btn a {
    padding: 16px 70px 17px 30px;
  }

  .pickup_link .pickup_btn a::after {
    right: 17px;
    width: 40px;
  }
}