@charset "UTF-8";

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

  *基本設定

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

section .inner {
  padding: 100px 50px;
  max-width: 1380px;
}

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

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

/* 切り抜く範囲 */
.parallax_img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  clip-path: inset(0);
}

/* 固定する画像 */
.parallax_img::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

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

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

  *タイトル

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

  /* 左寄せ */
}

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

.top_title h2 {
  margin: 0 auto;
  padding: 0 140px;
  width: fit-content;
  font-size: 20px;
  letter-spacing: .2em;
  position: relative;
}

.top_title h2::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  content: "";
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg,rgba(219, 208, 193, 1) 0%, rgba(245, 241, 230, 1) 100%);
}

.top_title h2::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  content: "";
  width: 120px;
  height: 1px;
  background: linear-gradient(-90deg,rgba(219, 208, 193, 1) 0%, rgba(245, 241, 230, 1) 100%);
}

.top_title .eng {
  display: inline-block;
  background: linear-gradient(180deg, #ae7d3d 0%, #c99b56 100%);
  font-size: 90px;
  font-family: var(--sub-font);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

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

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

  .top_title h2::before,
  .top_title h2::after {
    width: 60px;
  }

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

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

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 900px;
  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: 46%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}

.mvCatch .inner {
  position: relative;
  z-index: 1;
  padding: 0 100px;
  max-width: 1920px;
}

.mvCatch p {
  font-size: 32px;
  font-family: var(--main-font);
  color: #fff;
  letter-spacing: 0.1em;
  filter: drop-shadow(0 0 5px #463321) drop-shadow(0 0 10px #463321);
  line-height: 1.75;
}
.mvCatch__title{
	font-weight: 900;
	font-size: 110%;
	line-height: 1;
}
.mvCatch__text{
	font-size: 85%;
}

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

.mvContents .inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1920px;
  padding: 0 100px;
  height: 100%;
}

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

.open_bnr {
  position: absolute;
  bottom: 60px;
  display: inline-block;
}

.open_bnr > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 280px;
  padding: 15px;
  background: rgb(40 123 118 / 80%);
  color: #ffffff;
  font-family: var(--main-font);
  font-size: 17px;
  letter-spacing: 0.075em;
  line-height: 1.5;
  text-align: center;
}

.open_bnr .date {
  font-size: 17px;
  letter-spacing: 0.2em;
}

.open_bnr .big {
  font-size: 145%;
}

.open_bnr .open_text {
  margin: 0 0 10px;
  font-size: 32px;
  letter-spacing: 0.2em;
}

.open_bnr .nairankai_tit {
  margin: 0 auto;
  padding-top: 20px;
  display: block;
  width: 85%;
  border-top: 1px solid #fff;
  font-size: 24px;
  letter-spacing: 0.075em;
  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;
}

/* ==============================================
  *1705px以下 メインビジュアル
============================================== */
@media screen and (max-width: 1705px) {
  .mvContents .inner {
    padding: 0 50px;
  }

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

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

  /* ----- スライダーの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 .inner {
    padding: 0 20px;
  }

  .mvCatch {
    top: auto;
    bottom: 20px;
    display: none;
  }

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

  .mvCatch p {
    font-size: 130%;
    line-height: 1.75;
  }

  .mvContents {
    display: none;
  }

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

  .sp_only .inner {
    padding: 0 20px;
  }

  .sp_only > *:last-child {
    padding-bottom: 30px;
  }

  .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_info

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

.top_info {
  position: relative;
}

.top_info::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 520px;
  height: 1950px;
  content: "";
  background: url(../images/top_info_bg.jpg) no-repeat top right / cover;
  z-index: -1;
}

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
.top_info::before{
  width: 50%;
  background: url(../images/sp_top_info_bg.jpg) no-repeat top right / cover;
}
}

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

  *バナーエリア

================================================================================================================================== */
/* ----- 共通設定 ----- */
.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(50% - 10px);
}

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

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

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

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

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

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

#bannerSlider .bannerSlider_arrow_prev {
  left: 0;
}

#bannerSlider .bannerSlider_arrow_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 ul {
    gap: 15px;
  }

  .banner_grid li {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

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

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

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

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

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

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

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

.clinic .news::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 1250px;
  height: 1px;
  background: linear-gradient(-90deg,rgba(255, 255, 255, 1) 0%, rgba(153, 153, 153, 1) 100%);;
}

.clinic .news .inner {
  position: relative;
  z-index: 1;
  padding: 0 50px 70px;
}

.clinic .news .top_title {
  margin: 0 0 45px;
  display: flex;
  align-items: baseline;
  gap: 37px;
}

.clinic .news .top_title h2 {
  margin: 0;
  padding: 0;
  font-size: 20px;
  letter-spacing: 0.2em;
}

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

.clinic .news .top_title h2::after {
  top: 60%;
  left: 120px;
  width: 1250px;
  height: 1px;
  background: linear-gradient(90deg,rgba(255, 255, 255, 1) 0%, rgba(153, 153, 153, 1) 100%);;
}

.clinic .news .news_flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 80px;
}

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

.clinic .news_left .btn02 {
  text-align: center;
  writing-mode: vertical-lr;
}

.clinic .news_left .btn02 > * {
  margin: 0 25px;
  padding: 0 0 75px;
}

.clinic .news_left .btn02 > *::before {
  right: -22px;
  bottom: 30px;
  transform: rotate(90deg);
  transition: ease-in-out .2s;
}

.clinic .news_left .btn02 > *:hover {
  color: var(--text-color);
}

.clinic .news_left .btn02 > *:hover::before {
  bottom: 25px;
}

#mp-title {
  width: 1100px;
}

#mp-title .news_item:nth-child(odd) a {
  background: rgb(200 200 200 / 20%);
}


/* ----- 医院概要 ----- */
.clinic .info .inner {
  display: flex;
  gap: 80px;
  padding: 105px 50px 80px;
}

.info_left {
  width: 640px;
}

.info_right {
  width: 560px;
}

.clinic .info_left address {
  margin-top: 53px;
  padding: 17px 15px;
  background: linear-gradient(90deg, rgba(186, 139, 72, 1) 0%, rgba(215, 178, 126, 1) 100%);
  font-family: var(--main-font);
  font-style: inherit;
  text-align: center;
  color: #fff;
  letter-spacing: .1em;
  position: relative;
}

.clinic .info_left address::before {
  position: absolute;
  top: -5px;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #a88e71;
}

.clinic .info_left address::after {
  position: absolute;
  bottom: -5px;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #a88e71;
}

.clinic .info_left address .tel {
  margin-top: 10px;
  font-family: var(--sub-font);
  font-size: 37px;
  letter-spacing: 0.1em;
  line-height: 1;
}

.clinic .info_left address .tel span {
  margin-right: 15px;
  font-size: 60%;
}

.clinic .info_left address .tel a {
  color: #fff;
}

.clinic .info_left address .fax {
  margin-top: 15px;
  font-size: 30px;
  line-height: 1;
}

.clinic .info_left address .fax span {
  margin-right: 15px;
  font-size: 60%;
}

.clinic .info_left address .note {
  margin-top: 20px;
  padding-left: 12px;
  font-size: 90%;
}

.clinic .info_left .speciality {
  display: table;
  align-items: center;
  gap: 20px;
  margin: 25px auto 0;
  width: 100%;
  background: #f6f4f1;
  letter-spacing: .1em;
}

.clinic .info_left .speciality .title {
  flex-shrink: 0;
  padding: 13px 30px;
  display: table-cell;
  width: 200px;
  height: 100%;
  background: var(--sub-color);
  font-size: 17px;
  font-family: var(--main-font);
  color: #ffffff;
  text-align: center;
  vertical-align: middle;
}

.clinic .info_left .speciality .content {
  padding: 10px 30px;
  display: table-cell;
  vertical-align: middle;
  font-size: 16px;
}

.clinic .info_right address .location {
  margin-bottom: 20px;
  padding: 10px 25px;
  background: #f6f4f1;
  letter-spacing: 0.025em;
}

.clinic .info_right address .location .zipcode {
  margin-right: 5px;
}

.clinic .info_right .googlemap,
.clinic .info_right .illustmap {
  margin-bottom: 20px;
}

.clinic .info_right .googlemap iframe {
  height: 360px;
}

.clinic .info_right .access_box {  
  padding: 15px 25px;
  background: var(--bg-color);
  display: flex;
}

.clinic .info_right .access_box .title {
  padding: 0 15px 0 0;
  border-right: 1px solid #787878;
  font-family: var(--sub-font);
  font-size: 17px;
  letter-spacing: .1em;
  text-align: center;
  writing-mode: tb-rl;
}

.clinic .info_right ul {
  padding-left: 35px;
}

.clinic .info_right ul li {
  letter-spacing: 0.025em;
}

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

.clinic .info_right .btnflex {
  margin-top: 20px;
  gap: 20px;
}

.clinic .info_right .btn01 {
  text-align: center;
  width: calc(50% - 10px);
}

.clinic .info_right .btn01 a {
  width: 100%;
}

@media screen and (max-width: 640px) {
  .clinic .news::after {
    width: 70%;
  }
  
  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 50px 20px;
  }

  .clinic .news .top_title {
    gap: 20px;
  }

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

  .clinic .news .top_title h2::after {
    left: 120px;
    width: 335px;
  }

  .clinic .news .news_flex {
    gap: 0;
  }

  .clinic .news .btn02 {
    margin: 50px auto 0;
    text-align: center;
  }

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

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

  .clinic .info_left address {
    margin-top: 30px;
  }

  .clinic .info_left address .tel {
    font-size: min(7vw,32px);
  }

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

  .clinic .info .speciality .title {
    display: block;
    width: 100%;
    font-size: 105%;
  }

  .clinic .info_left .speciality .content {
    padding: 0;
    display: block;
    vertical-align: middle;
    font-size: 100%;
  }

  .clinic .info_right .access_box {
    padding: 15px;
  }

  .clinic .info_right .access_box .title {
    padding: 0 10px 0 0;
  }

  .clinic .info_right ul {
    padding-left: 20px;
  }

  .clinic .info_right .btn01 {
    width: 100%;
  }
}


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

  *ご挨拶

================================================================================================================================== */
.marble_bg {
  background: url(../images/marble_bg.jpg) no-repeat top center / 100% auto;
}

.greeting .inner {
  padding: 40px 0 0;
  max-width: 100%;
}

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

.greeting_box .top_title .eng {
  line-height: 1.2;
}

.greeting_flex {
  display: flex;
  align-items: stretch;
  height: 660px;
}

@media screen and (min-width: 2000px) {
.greeting_flex {
  height: 1000px;
}
}

.greeting_wrap {
  display: flex;
  background: url(../images/greeting_bg.png) no-repeat top right / cover;
  width: calc(100% - 21vw);
}

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

.greeting_left {
  flex-shrink: 0;
  align-content: center;
  width: 100%;
  padding-right: 200px;
  text-align: center;
  font-size: 18px;
  font-family: var(--main-font);
  line-height: 2.5;
  filter: drop-shadow(0 0 5px #fefefe) drop-shadow(0 0 5px #fefefe);
}

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

.greeting_clinic_img {
  width: 21vw;
}

.greeting_clinic_img p {
  height: 50%;
  width: 100%;
}

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

.greeting_right {
  display: none;
}

.greeting_profile {
  margin-top: 1em;
  line-height: 1.75;
  text-align: center;
}

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

.greeting_profile rt {  
  margin-bottom: 7px;
  text-align: center;
  font-size: 13px;
  font-family: var(--sub-font);
}

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

.greeting_btn a {
  margin: 0 auto;
  padding: 20px 70px;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
  .marble_bg {
    background: url(../images/sp_marble_bg.jpg) no-repeat top center / 100% auto;
  }
  
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 0;
    height: auto;
  }

  .greeting_wrap {
    padding: 50px 20px;
    width: 100%;
    flex-flow: column-reverse;
    background: url(../images/sp_greeting_bg.jpg) no-repeat top right / cover;
  }

  .greeting_left {
    padding: 20px 0;
    width: 100%;
    font-size: 105%;
  }

  .greeting_right {
    margin: 0 auto;
    display: block;
    width: 70%;
  }

  .greeting_clinic_img {
    width: 100%;
    display: flex;
  }

  .greeting_clinic_img p {
    height: auto;
    width: 50%;
  }

  .greeting_profile {
    margin-top: 20px;
    font-size: 120%;
  }

  .greeting_btn {
    margin-top: 10px;
  }

  .greeting_btn a {
    padding: 15px 30px;
  }
}

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

  *診療案内

================================================================================================================================== */
.medical .inner {
  padding: 50px 50px 0;
}

.medical .top_title {
  color: #ffffff;
}

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

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

/* ▼ 準備中 */
.medical_list a[href="#"] {
  position: relative;
  pointer-events: none;
}

.medical_list a[href="#"]::after {
  content: "準備中";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  font-family: var(--main-font);
  font-size: 24px;
  color: #ffffff;
  transform: translate(-50%, -50%);
}
/* ▲ 準備中 */

.medical_item {
  position: relative;
  z-index: 1;
  width: calc(25% - (90px / 4));
  height: auto;
}

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

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

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

.medical_inner {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 270px;
  padding: 35px 20px;
  background: url(../images/top_medical_bg.jpg) no-repeat center / cover;
  border: 1px solid #e4e4e4;
  text-align: center;
}

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

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

.medical_title h3 {
  color: #173917;
  font-size: 24px;
  letter-spacing: 0.1em;
}

.medical_title_eng {
  margin-top: 5px;
  color: #09978f;
  font-family: var(--sub-font);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: center;
}

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

.medical_btn span {
  position: relative;
  z-index: 1;
  font-size: 14px;
}

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

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

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

  .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: min(4vw, 110%);
  }

  .medical_title_eng {
    font-size: 10px;
  }

  .medical_btn span {
    padding: 0 35px 0 0;
    font-size: 10px;
    line-height: 1;
  }

  .medical_btn span::before {
    width: 30px;
    height: 3px;
  }

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

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

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

================================================================================================================================== */
.feature .inner {
  max-width: 100%;
  padding: 100px 0 130px;
}

.feature .top_title {
  margin-bottom: 55px;
}

/* ----- 特徴スライダー設定 ----- */
#featureSlider .splide {
  width: 100%;
  /* overflow: hidden; */
}

#featureSlider .splide .splide__track {
  overflow: unset;
}

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

/* スライダーのArrowボタン */
#featureSlider .splide__arrows.splide__arrows--ltr { 
  position: absolute;
  top: -100px;
  right: 0;
  display: flex;
  gap: 10px;
  padding-right: 10%; 
  text-align: center;
  justify-content: flex-end;
}

#featureSlider .splide__arrow {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: #415e42;
  border: 1px solid #415e42;
  color: #ffffff;
  cursor: pointer;
  overflow: hidden;
  transform: translateZ(0);
  transition: background 0.2s , color 0.2s;
}

#featureSlider .splide__arrow:hover {
  filter: brightness(1.1);
  color: #fff;
}

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

#featureSlider .splide__arrow span::before {
  content: "";
  width: 12px;
  height: 20px;
}

#featureSlider .splide__arrow--prev span::before {
  background: url(../images/left_slide_arrow.png) no-repeat center / contain;
}

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

#featureSlider .splide__arrow--next span::before {
  background: url(../images/right_slide_arrow.png) no-repeat center / contain;
}

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

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

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

.feature_item {
  display: flex;
  align-items: center;
  flex-flow: column;
  height: 650px;
}

.feature_item a {
  width: 100%;
  height: 100%;
  color: #fff;
}

/* ▼ 準備中 */
.feature_item a[href="#"] {
  position: relative;
  pointer-events: none;
}

.feature_item a[href="#"] .feature_inner::after {
  content: "準備中";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  font-family: var(--main-font);
  font-size: 30px;
  color: #ffffff;
  transform: translate(-50%, -50%);
}
/* ▲ 準備中 */

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

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

.feature_num {
  position: absolute;
  bottom: -65px;
  right: 7px;
  z-index: 3;
  margin: 0 0 0 !important;
  font-family: var(--sub-font);
  writing-mode: tb-rl;
  display: flex;
  gap: 10px;
  font-style: normal;
}

.feature_num span {
  background: linear-gradient(180deg, #ae7d3d 0%, #c99b56 100%);
  font-size: 30px;
  font-family: var(--sub-font);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  writing-mode: tb-rl;
  letter-spacing: 0.05em;
}

.feature_num em {
  background: linear-gradient(180deg, #ae7d3d 0%, #c99b56 100%);
  font-size: 30px;
  font-family: var(--sub-font);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 130px;
  font-style: normal;
  letter-spacing: 0;
  writing-mode: horizontal-tb;
  line-height: 1;
}

.feature_inner {
  display: flex;
  flex-flow: column;
  justify-content: center;
  height: 100%;
  padding: 50px;
  background: hsl(0deg 0% 0% / 70%);
  z-index: 0;
}

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

.feature_item .feature_inner::before {  
  font-family: var(--sub-font);
  content: 'VIEW MORE';
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: rgba(16, 24, 17, 0.85);
  transition: ease-in-out .2s;
  font-size: 2rem;
  z-index: 1;
  opacity: 0;
}


.feature_item a:hover .feature_inner::before {
  opacity: 1;
}

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

.feature_title h3 {
  font-size: 24px;
  line-height: 1.667;
}

.feature_inner .btn02 > * {
  color: #fff;
}

.feature_inner .btn02 > *::before {
    background: #ffffff;
    -webkit-mask: url(../images/arrow_right.png) no-repeat center / contain;
    mask: url(../images/arrow_right.png) no-repeat center / contain;
}

/* ---- 横並びボタン ----- */
.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 .top_title {
    margin-bottom: 40px;
  }

  #featureSlider .splide .splide__track {
    padding-top: 65px;
  }

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

  #featureSlider .splide__arrows.splide__arrows--ltr {
    top: 0;
    right: 0;
    padding-right: 20px;
  }

  #featureSlider .splide__list {
    align-items: stretch;
  }

  .feature_item {
    width: 100%;
    height: auto;
  }

  .feature_inner {
    padding: 50px 30px;
    min-height: 550px;
  }

  .feature_num {
    bottom: -45px;
    right: 0px;
    gap: 5px;
  }

  .feature_num span {
    font-size: 20px;
  }

  .feature_num em {
    font-size: 85px;
  }

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

  .feature_title h3 {
    font-size: 20px;
  }

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

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

  *コンセプト

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

.concept {
  background: url(../images/concept_deco01.png) no-repeat left bottom -165px / 216px auto, url(../images/concept_deco02.png) no-repeat top -100px right / 234px auto, linear-gradient(90deg,rgba(16, 24, 17, 0.9) 0%, rgba(16, 24, 17, 0.9) 100%), url(../images/concept_bg.jpg) no-repeat center / cover;
}

.concept .top_title {
  margin-bottom: 55px;
}

.concept .top_title .eng {
  margin-bottom: 20px;
  font-size: 30px;
}

.concept .top_title h2 {
  margin-bottom: 10px;
  font-size: 40px;
  letter-spacing: .1em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(216, 202, 187, 1) 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

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

.concept .sub_tit {
  font-size: 26px;
  font-family: var(--main-font);
  letter-spacing: .1em;
  color: #dacdbe;
}

.concept_text {
  color: #fff;
  font-size: 17px;
  font-family: var(--main-font);
  letter-spacing: .1em;
  text-align: center;
}

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

.concept_btn {
  margin-top: 60px;
  text-align: center;
}

.concept_btn a {
  margin: 0 auto;
  padding: 17px 30px;
  width: 340px;
  font-size: 18px;
}


/* ==============================================
  *SP コンセプト
============================================== */
@media screen and (max-width: 640px) {
  .concept {
    background: url(../images/concept_deco01.png) no-repeat left bottom -85px / 108px auto, url(../images/concept_deco02.png) no-repeat top -50px right / 127px auto, linear-gradient(90deg,rgba(16, 24, 17, 0.9) 0%, rgba(16, 24, 17, 0.9) 100%), url(../images/sp_concept_bg.jpg) no-repeat center / cover;
  }

  .concept .top_title h2 {
    padding: 0;
    font-size: 30px;
  }

  .concept .sub_tit {
    font-size: 18px;
  }

  .concept_text {
    font-size: 105%;
    text-align: left;
  }

  .concept_btn a {
    padding: 15px 30px;
    width: auto;
    font-size: 100%;
  }
}
/*==================================================================================================================================

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

==================================================================================================================================*/
.pickup .inner {
  padding: 0 100px;
  width: 100%;
  max-width: unset;
}

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

.pickup_item {
  display: flex;
  align-items: center;
  gap: 100px;
  padding: 50px 0;
  width: 100%;
  position: relative;
  z-index: 0;
}

.pickup_item::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 1720px;
  height: 100%;
  z-index: -1;
}

.pickup_item:nth-child(even)::before {
  left: auto;
  right: 0;
  background: url(../images/pickup_bg_left.png) no-repeat center / cover;
}

@media screen and (min-width: 1750px) {
  .pickup_item::before {
    left: auto;
    right: 0;
  }
  .pickup_item:nth-child(even)::before {
    left: 0;
    right: auto;
  }
}

.pickup_item:first-child::before {
  background: url(../images/pickup_bg01.png) no-repeat top right / 1115px auto, url(../images/pickup_bg_right.png) no-repeat center / cover;
}

.pickup_item:nth-child(2)::before {
  background: url(../images/pickup_bg02.png) no-repeat top -60px left / 1240px auto, url(../images/pickup_bg_left.png) no-repeat center / cover;
}

.pickup_num {
  position: absolute;
  bottom: -54px;
  left: 23px;
  z-index: 2;
  font-family: var(--sub-font);
  line-height: 1;
  display: flex;
  gap: 10px;
  flex-direction: row-reverse;
  align-items: baseline;
}

.pickup_num span {
  background: linear-gradient(180deg, #ae7d3d 0%, #b5894f 30%, #c99b56 100%);
  font-size: 30px;
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: 0.05em;
  color: transparent;
}

.pickup_num em {
  background: linear-gradient(180deg, #ae7d3d 0%, #b5894f 30%, #c99b56 100%);
  font-style: normal;
  font-size: 160px;
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: 0;
  color: transparent;
  line-height: 1;
}

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

.pickup_inner {
  position: relative;
  z-index: 2;
  width: 640px;
}

.pickup_title {
  position: relative;
  z-index: 2;
  margin: 0 auto 15px;
  color: #173917;
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 28px;
}

.pickup_title::after {
  position: absolute;
  bottom: 12px;
  right: 0;
  content: "";
  width: 280px;
  height: 1px;
  background: #bfbfbf;
}

.pickup_item:nth-child(2) .pickup_title::after {
  width: 310px;
}

.pickup_title h2, .pickup_title h3 {
  background: none;
  font-size: 32px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.pickup_title span {
  font-size: 20px;
  font-family: var(--sub-font);
  letter-spacing: 0.05em;
}

.pickup_text {
  margin: 15px 0 30px;
  font-size: 16px;
  line-height: 2;
}

.pickup_text .sub_tit {
  margin: 1.2em 0 15px;
  font-family: var(--main-font);
  font-size: 24px;
  letter-spacing: 0.05em;
  color: #52351d;
  position: relative;
}

.pickup_text .sub_tit::after {
  position: absolute;
  bottom: 15px;
  right: 0;
  content: "";
  width: 230px;
  height: 1px;
  background: #bfbfbf;
}

.pickup_item:nth-child(2) .sub_tit::after {
  width: 140px;
}

.list_pickup {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列 */
  gap: 8px;
  list-style: none;
  padding: 0 20px;
  margin: 0;
}

.list_pickup li {
  padding-left: 30px;
  background: url(../images/list_check.png) no-repeat top 7px left / 20px auto;
  font-size: 15px;
}

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

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

/* ▼ 準備中 */
.pickup_link .pickup_btn a[href="#"] {
  position: relative;
  pointer-events: none;
}

.pickup_link .pickup_btn a[href="#"]::before {
  content: "準備中";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  font-family: var(--main-font);
  color: #ffffff;
  transform: translate(-50%, -50%);
}
/* ▲ 準備中 */

/* 偶数 */
.pickup_item:nth-child(even) {
  flex-flow: row-reverse;
}

.pickup_item:nth-child(even) .pickup_num {
  left: auto;
  right: 20px;
  flex-direction: unset;
}

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

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

  .pickup_title {
    padding: 0 5px 10px;
    border-bottom: 1px solid #bfbfbf;
    gap: 10px;
  }
  
  .pickup_title::after {
    display: none;
  }

  .pickup_title h2, .pickup_title h3 {
    font-size: 160%;
  }

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

  .pickup_text .sub_tit {
    font-size: 120%;
  }

  .pickup_text .sub_tit::after {
    display: none;
  }

  .pickup_item {
    flex-flow: column;
    gap: 30px;
    padding: 0 20px 70px;
    width: 100%;
  }

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

  .pickup_item:first-child::before {
    background: url(../images/sp_pickup_bg01.png) no-repeat bottom right / auto, url(../images/sp_pickup_bg.jpg) no-repeat center / cover;
  }

  .pickup_item:nth-child(2)::before {
    background: url(../images/sp_pickup_bg02.png) no-repeat bottom center / auto, url(../images/sp_pickup_bg.jpg) no-repeat center / cover;
  }
  .pickup_num {
    bottom: -30px;
  }

  .pickup_num span {
    font-size: 25px;
  }

  .pickup_num em {
    font-size: 85px;
  }

  .pickup_img {
    width: 100%;
  }

  .pickup_inner {
    width: 100%;
  }

  .list_pickup {
    grid-template-columns: repeat(1, 1fr);
  }

  .list_pickup li {
    font-size: 100%; 
  }

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

  .pickup_link .pickup_btn {
    width: 100%;
  }

  /* 偶数 */
  .pickup_item:nth-child(even) {
    flex-flow: column;
  }
}

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

  *病状、症状から探す

================================================================================================================================== */
.search {
  position: relative;
  background: url(../images/top_search_bg.jpg) no-repeat top center / cover;
}

.search .inner {
  padding: 105px 50px 140px;
  max-width: 1480px;
}

.search .top_title h2 {
  margin-top: 10px;
}

.search .tab_wrap {
  padding: 50px;
  background: rgb(221 218 209 / 80%);
}

.search .tab_list {
  gap: 10px;
}

.search .tab_list .tab {
  padding: 23px 20px;
  border-radius: 10px 10px 0 0;
  font-size: 22px;
  font-family: var(--main-font);
  position: relative;
  display: flex;
  flex-flow: unset;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.search .tab_list .tab::before {
  position: static;
  content: "";
  display: block;
  transition: right 0.2s, background 0.2s;
}

.search .tab_list .tab1::before {
  width: 37px;
  height: 36px;
  background: #785d37;
  -webkit-mask: url(../images/search_icon01.svg) no-repeat center / contain;
  mask: url(../images/search_icon01.svg) no-repeat center / contain;
}

.search .tab_list .tab2::before {
  width: 38px;
  height: 42px;
  background: #785d37;
  -webkit-mask: url(../images/search_icon02.svg) no-repeat center / contain;
  mask: url(../images/search_icon02.svg) no-repeat center / contain;
}

.search .tab_list .tab3::before {
  width: 37px;
  height: 36px;
  background: #785d37;
  -webkit-mask: url(../images/search_icon03.svg) no-repeat center / contain;
  mask: url(../images/search_icon03.svg) no-repeat center / contain;
}

.search .tab_list .tab4::before {
  width: 38px;
  height: 42px;
  background: #785d37;
  -webkit-mask: url(../images/search_icon04.svg) no-repeat center / contain;
  mask: url(../images/search_icon04.svg) no-repeat center / contain;
}

.search .tab_list .tab.active {
  color: #fff;
}

.search .tab_list .tab.active::before {
  background: #b1c28b;
}

.search .panel {
  position: relative;
  z-index: 1;
  padding: 70px 50px;
  background: #fff;
}

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

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

/* ----- リンクボタン ----- */
.search_list li a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 60px;
  padding: 10px 30px;
  background: #fff;
  font-size: 20px;
  font-family: var(--main-font);
  filter: drop-shadow(0 0 3px #e9e7e0) drop-shadow(0 0 5px #e9e7e0);
  color: var(--text-color);
}

.search_list li a:hover {
  background: #f6f4f1;
}

/* ▼ 準備中 */
.search_list li a[href="#"] {
  position: relative;
  pointer-events: none;
}

.search_list li a[href="#"]::after {
  content: "準備中";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  font-family: var(--main-font);
  font-size: 100%;
  color: #ffffff;
  transform: translate(-50%, -50%);
}
/* ▲ 準備中 */

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

.search_img {
  width: 440px;
  margin: 0 !important;
}

.panel_flex .search_list {
  width: calc(100% - 470px);
}

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

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
  .search {
    background: url(../images/sp_top_search_bg.jpg) no-repeat top center / cover;
  }

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

  .search .tab_wrap {
    padding: 20px;
  }

  .search .tab_list {
    gap: 7px;
    margin: 0 0 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);

  }

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

  .search .tab_list .tab1::before,
  .search .tab_list .tab3::before {
    width: 25px;
    height: 24px;
  }

  .search .tab_list .tab2::before,
  .search .tab_list .tab4::before {
    width: 24px;
    height: 27px;
  }

  .search .tab_list .tab.active::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 5px;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid #b1c28b;
    border-right: 0;
  }

  .search .panel {
    padding: 20px;
  }

  .search_list {
    gap: 10px;
  }

  .search_list li {
    width: 100%;
  }

  .search_list li a {
    min-height: auto;
    padding: 10px;
    font-size: 100%;
  }

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

  .search_img {
    width: 100%;
  }

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

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

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

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

#columnSlider {
  position: relative;
}

#columnSlider::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 1250px;
  height: 1px;
  background: linear-gradient(-90deg, rgba(255, 255, 255, 1) 0%, rgba(153, 153, 153, 1) 100%);
}

#columnSlider .inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 auto;
  padding: 110px 0 25px;
}

#columnSlider .top_title {
  margin: 0 auto;
  padding: 0 50px;
  max-width: 1380px;
  text-align: left;
  display: flex;
  align-items: baseline;
  gap: 30px;
}

#columnSlider .top_title h2 {
  margin: 0;
  padding: 0;
  position: relative;
}

#columnSlider .top_title h2::after {
  position: absolute;
  top: 75%;
  left: 120px;
  transform: translateY(-50%);
  content: "";
  width: 1250px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(153, 153, 153, 1) 100%);
}

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

/* ----- コラムスライダー設定 ----- */
#columnSlider .splide {
  width: 100%;
}

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

/* スライダーのArrowボタン */
#columnSlider .splide__arrows{
  position: relative;
  padding-top: 120px;
}

#columnSlider .splide__arrow {
  position: absolute;
  top: 20px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: #415e42;
  border: 1px solid #415e42;
  color: #ffffff;
  cursor: pointer;
  overflow: hidden;
  transform: translateZ(0);
  transition: background 0.2s , color 0.2s;
}

#columnSlider .splide__arrow:hover {
  filter: brightness(1.1);
  color: #fff;
}

#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 {
  content: "";
  width: 12px;
  height: 20px;
}

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

#columnSlider .splide__arrow--prev span::before {
  background: url(../images/left_slide_arrow.png) no-repeat center / contain;
}

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

#columnSlider .splide__arrow--next span::before {
  background: url(../images/right_slide_arrow.png) no-repeat center / contain;
}

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

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

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

#columnSlider .columnSlider-page.is-active {
  background: #415e42;
}

/* ----- コラム個別 ----- */
#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: 360 / 240;
}

#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_item_thum ul {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  flex-flow: wrap;
  gap: 5px;
}

#columnSlider .column_item_thum ul li {
  min-width: 150px;
  padding: 2px 10px;
  background: #415e42;
  color: #ffffff;
  font-family: var(--main-font);
  text-align: center;
}

#columnSlider .column_item_thum ul li:nth-child(even) {
  background: #9b8573;
}

#columnSlider .column_info {
  display: flex;
  flex-flow: wrap;
  gap: 15px;
  margin: 0 0 5px;
  font-family: var(--sub-font);
  font-size: 18px;
  color: #555555;
  letter-spacing: .1em;
}

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

#columnSlider .column_title {
  color: var(--text-color);
  font-size: 18px;
  font-family: var(--main-font);
  font-weight: 500;
  /* white-space: nowrap;
  text-overflow: ellipsis; */
  overflow: hidden;
  transition: color 0.2s;
}

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

.column_btn {
  margin: 70px auto 0;
  max-width: 1280px;
  text-align: right;
}

/*==============================================
  *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 40px;
    padding: 0;
    gap: 20px;
  }

  #columnSlider .top_title h2::after {
    width: 65vw;
  }

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

  #columnSlider .splide__arrows {
    padding-top: 60px;
  }

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

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

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

  #columnSlider .splide__pagination {
    top: 10px;
    right: 155px;
    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;
  }

  .column_btn {
    margin: 30px auto 0;
    text-align: center;
  }
}

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

  *無限スライダー

================================================================================================================================== */
#infinitySlider {
  padding: 50px 0;
}

#infinitySlider .splide__list {
  gap: 30px;
}

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

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

  #infinitySlider .splide__list {
    gap: 15px;
  }
}


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

  *フッター

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

footer::before {
  position: absolute;
  top: -730px;
  right: 0;
  width: 520px;
  height: 1950px;
  content: "";
  background: url(../images/top_column_bg.jpg) no-repeat center / cover;
  z-index: -1;
}

.footer_info .inner {
  padding: 100px 50px 120px;
  max-width: 1380px;
}

.affiliations .inner,
.banner .inner {
  padding: 50px;
}
/* ==============================================
  *SP フッター
============================================== */
@media screen and (max-width: 640px) {
footer::before {
  top: -535px;
  width: 50%;
  height: 1950px;
  background: url(../images/sp_top_column_bg.jpg) no-repeat center / cover;
}
}
