@charset "UTF-8";

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

  *基本設定

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

section .inner {
  padding: 100px 0;
}

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

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

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

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

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

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

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

  *タイトル

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

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

.top_title h2 {
  font-size: 23px;
  font-family: var(--font-jp);
}

.top_title .eng {
  display: inline-block;
  margin-bottom: -10px;
  color: var(--main-color);
  font-size: 110px;
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--main-color), var(--sub-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

  .top_title h2 {
    font-size: 16px;
    margin-top: 5px;
  }

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

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

  *メインビジュアル

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


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

.mvSlider::before {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  width: 100%;
  height: auto;
  aspect-ratio: 1905 / 105;
  background: url(../images/wave.png) no-repeat center / cover;
  z-index: 1;
}


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

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

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

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

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

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

.mvSlider .sliderBtn#mv_btnPrev span::before {
  content: "\f053";
}

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

/* 各スライダーのボタンは非表示に */
.mvSlider .splide__arrows {
  display: none;
}

/* ----- MVの画像 ----- */
.mvImg {
  width: 100%;
  height: 100%;
}

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

.mvImg .splide__slide {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

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

/* フェードの専用スタイル */
.fade .mvImg .splide__slide img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  height: calc(100% + 50px);
  pointer-events: none;
}

/* アニメーションを実行 */
.fade.move .mvImg .splide__slide img {
  animation: hideTranslate 8s ease-out forwards;
}

.fade.move .mvImg .splide__slide.is-active img {
  animation: showTranslate 8s ease-out forwards;
}

/* MVのアニメーション  */
@keyframes hideImg {
  0% {
    opacity: 1;
  }

  10% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes showTranslate {
  0% {
    transform: translate3d(0, 0px, 0);
  }

  100% {
    transform: translate3d(0, -30px, 0);
  }
}

@keyframes hideTranslate {

  /* 下降 */
  0% {
    transform: translate3d(0, -30px, 0);
  }

  100% {
    transform: translate3d(0, 0px, 0);
  }
}

/* ----- キャッチコピー ----- */
.mvCatch {
  position: absolute !important;
  top: 22%;
  left: 3%;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}

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

.mvCatch p {
  font-family: var(--font-jp);
  font-size: 220%;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
  text-align: left;
  text-shadow: 2px 3px 3px rgba(255, 255, 255, 0.4);
}

/* ----- コンテンツ ----- */
.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.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: 450px;
  }

  /* ----- スライダーの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: 25%;
    bottom: inherit;
    display: none;
	left: 0%;
  }

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

  .mvCatch p {
    font-size: 120%;
    line-height: 1.75;
	text-align: center;
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff);
	text-shadow: 2px 2px 2px rgba(255, 255, 255, 0.4);
  }

  .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 {
  position: relative;
}

/* ----- 共通設定 ----- */
.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: all 0.2s;
}

.top_banner .onlyimg a.banner_slide:hover img {
  transform: translateY(-10px);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#bannerSlider .bannerSlider_arrow_prev {
  left: 0;
}

#bannerSlider .bannerSlider_arrow_next {
  right: 0;
}

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

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

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

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

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

  /* ----- スライダーバナー ----- */
  #bannerSlider .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 {
  padding-top: 100px;
  padding-bottom: 150px;
  position: relative;
}

.clinic::before {
  position: absolute;
  left: 0;
  bottom: 0px;
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/bg.jpg) repeat center / cover !important;
  z-index: -1;
  opacity: 0.8;
}

.clinic::after {
  position: absolute;
  left: 0;
  bottom: -1px;
  content: "";
  width: 100%;
  height: auto;
  aspect-ratio: 1905 / 105;
  background: url(../images/wave_white.png) no-repeat center / cover;
  z-index: 1;
}

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

.clinic .news .inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  padding: 50px;
  background: #ffffff;
  border-radius: 30px;
  margin-bottom: 40px;
}

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

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

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

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

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

/* ----- 医院概要 ----- */
.clinic .info .inner {
  display: flex;
  gap: 40px;
  padding: 50px;
  background: #ffffff;
  border-radius: 30px;
}

.clinic .info .inner>* {
  width: calc(50% - 20px);
}

.clinic .info address>* {
  position: relative;
  z-index: 1;
  min-height: 40px;
}

.clinic .info address>*::before {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 0 2px;
  background: var(--main-color);
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffffff;
  font-size: 16px;
}

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

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

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

.clinic .info address .tel {
  margin-top: 15px;
  padding: 3px 0 7px 50px;
  font-size: 30px;
  line-height: 1;
  font-family: var(--font-en);
}

.clinic .info address .tel a {
  color: var(--sub-color);
}

.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 .office_hour:first-child {
  margin-top: 30px;
}

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

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

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

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

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

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

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

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


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

  *ご挨拶

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

.greeting::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  aspect-ratio: 1905 / 105;
  background: url(../images/wave_02.png) no-repeat center / cover;
  transform: translateY(100%);
  z-index: 3;
}

.greeting .inner {
  padding-top: 80px;
  padding-bottom: 100px;
  position: relative;
}

.greeting .inner::before {
  content: "";
  position: absolute;
  top: 100px;
  right: 0;
  width: 450px;
  aspect-ratio: 1037 / 1512;
  background: url(../images/greeting_right.png) no-repeat center / contain;
  pointer-events: none;
  z-index: -1;
  transform: translateX(calc(50vw - 600px));
}

.greeting .inner::after {
  content: "";
  position: absolute;
  bottom: 200px;
  left: 0;
  width: 400px;
  aspect-ratio: 758 / 1019;
  background: url(../images/greeting_left.png) no-repeat center / contain;
  pointer-events: none;
  z-index: -1;
  transform: translateX(calc(-50vw + 600px));
}

.greeting_img {
  display: block;
  width: 477px;
  height: 411px;
  mask-image: url(../images/mask_greeting.png);
  -webkit-mask-image: url(../images/mask_greeting.png);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-mode: alpha;
  -webkit-mask-mode: alpha;
  overflow: hidden;
}


.greeting_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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


.greeting_flex {
  display: flex;
  gap: 50px;
  align-items: center;
}

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

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

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

.greeting_profile {
  line-height: 1.75;
  text-align: center;
  font-family: var(--font-jp);
  margin-top: 15px;

}

.greeting_profile img {
  width: 80%;
  margin: 0 auto;
}

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

.greeting_profile .name {
  font-size: 150%;
  margin-top: 10px;
}

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

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

  .greeting_left {
    width: 100%;
  }

  .greeting_btn {
    margin-top: 40px;
  }
}

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

  *診療案内

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

.medical::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  aspect-ratio: 1905 / 105;
  background: url(../images/wave_02.png) no-repeat center / cover;
  transform: translateY(100%);
  z-index: 3;
}

.medical::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 0;
  width: 500px;
  aspect-ratio: 1145 / 1547;
  background: url(../images/medical_right.png) no-repeat center / contain;
  pointer-events: none;
  z-index: -1;
  opacity: 0.8;
}

.medical .inner {
  padding-top: 0;
  padding-bottom: 100px;
}

.medical .top_title {
  color: #ffffff;
}

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

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

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

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

.medical_item:hover .medical_icon {
  filter: brightness(1.1);
}

.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: 30px 20px 40px;
  background: var(--bg-color);
  text-align: center;
  border-radius: 40px;
  position: relative;
}

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

.medical_icon {
  display: grid;
  height: auto;
  aspect-ratio: 1 / 1;
  width: 130px;
  place-items: center;
  background: linear-gradient(135deg, #fe6c1c, #ffcd7a);
  border-radius: 50%;
  margin: 0px auto 10px !important;
  transition: 0.2s all;
}

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

.medical_title h3 {
  color: var(--text-color);
  font-size: 120%;
  font-family: var(--font-jp);
}

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

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

.medical_btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto;
  padding: 7px 25px 7px 15px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  letter-spacing: 1px;
  text-align: center;
  transition: padding 0.2s, color 0.2s, background 0.2s;
  font-family: var(--font-jp);
  border-radius: 50px;
}

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

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


/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
  .medical_list {
    gap: 15px 10px;
  }

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

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

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

  .medical_icon {
    width: 50%;
  }

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

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

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

================================================================================================================================== */
.feature {
  position: relative;
  padding-top: 80px;
  padding-bottom: 70px;
}

.feature::before {
  position: absolute;
  left: 0;
  bottom: 0px;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(#fffdf64d, #fffdf64d), url(../images/ptn.jpg) top right / 500px 500px;
  z-index: -1;
  opacity: 0.8;
}

.feature::after {
  position: absolute;
  left: 0;
  bottom: 0px;
  content: "";
  width: 100%;
  height: auto;
  aspect-ratio: 1905 / 105;
  background: url(../images/wave.png) no-repeat center / cover;
  z-index: 1;
}

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

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

.feature_item {
  display: flex;
  flex-direction: column;
  width: calc(33.3333% - 30px);
  position: relative;
}

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

.feature_num {
  margin: 0 0 0 !important;
  font-size: 16px;
  font-family: var(--font-en);
  position: absolute;
  z-index: 1;
  right: 0px;
  top: 167px;
  background: #f39700ab;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  margin-left: -5px;
  filter: drop-shadow(0 0 5px var(--main-color)) drop-shadow(0 0 5px var(--main-color) drop-shadow(0 0 5px var(--main-color)));
}

.feature_num span {
  line-height: 1;
  color: white;
  font-size: 43px;
  letter-spacing: 0.05em;
  font-family: var(--font-en);
  display: block;
  margin-top: -10px;
  margin-left: 2px;
}

.feature_inner {
  display: flex;
  flex-flow: column;
  padding: 25px 20px 30px;
  min-height: 380px;
  justify-content: space-evenly;
}

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

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

.feature_title h3 {
  color: var(--main-color);
  font-size: 130%;
  line-height: 1.75;
  text-align: center;
  font-family: var(--font-jp);
  position: relative;
  padding-bottom: 15px;
}

.feature_title h3::before {
  position: absolute;
  content: "";
  height: auto;
  width: 80%;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0px;
  background-size: contain;
  aspect-ratio: 552 / 10;
  z-index: 0;
  background: url(../images/line_yellow.png) center center / cover no-repeat;
}

.feature_item .flex {
  display: flex;
  justify-content: space-between;
}

.feature_item .flex .btn01 {
  width: max-content;
}

.feature_item .flex .btn01>* {
  padding: 10px 32px 10px 22px;
}

.feature_item .flex .btn01>*::after {
  right: 10px;
}

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

.feature_item .btn01>* {
  font-size: 14px;
}

.feature_item .flex .btn01>*:hover::after {
  right: 7px;
  background: white;
}

.feature_item:nth-child(1)::before,
.feature_item:nth-child(6)::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 0px;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 379 / 252;
  background: #ea5e036e;
  mask: url(../images/mask_01.png) no-repeat center / contain;
  -webkit-mask: url(../images/mask_01.png) no-repeat center / contain;
  transform: scale(-1, 1);
}

.feature_item:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 10px;
  right: -5px;
  z-index: 0;
  display: block;
  width: 101%;
  height: auto;
  aspect-ratio: 379 / 252;
  background: #f3970070;
  mask: url(../images/mask_02.png) no-repeat center / contain;
  -webkit-mask: url(../images/mask_02.png) no-repeat center / contain;
  transform: rotate(166deg);
}

.feature_item:nth-child(3)::before,
.feature_item:nth-child(5)::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 30px;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 379 / 252;
  background: #ea5e036e;
  mask: url(../images/mask_03.png) no-repeat center / contain;
  -webkit-mask: url(../images/mask_03.png) no-repeat center / contain;
  transform: scale(-1, 1);
}

.feature_item:nth-child(4)::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 0px;
  z-index: 0;
  display: block;
  width: 102%;
  height: auto;
  aspect-ratio: 379 / 252;
  background: #f3970070;
  mask: url(../images/mask_04.png) no-repeat center / contain;
  -webkit-mask: url(../images/mask_04.png) no-repeat center / contain;
  transform: scale(-1, 1);
}

.feature_item:nth-child(6)::before {
  background: #f3970070;
}

.feature_item:nth-child(1) .feature_img,
.feature_item:nth-child(6) .feature_img {
  mask: url(../images/mask_01.png) no-repeat left top / 100% 100%;
  -webkit-mask: url(../images/mask_01.png) no-repeat left top / 100% 100%;
}

.feature_item:nth-child(2) .feature_img {
  mask: url(../images/mask_02.png) no-repeat left top / 100% 100%;
  -webkit-mask: url(../images/mask_02.png) no-repeat left top / 100% 100%;
}

.feature_item:nth-child(3) .feature_img,
.feature_item:nth-child(5) .feature_img {
  mask: url(../images/mask_03.png) no-repeat left top / 100% 100%;
  -webkit-mask: url(../images/mask_03.png) no-repeat left top / 100% 100%;
}

.feature_item:nth-child(4) .feature_img {
  mask: url(../images/mask_04.png) no-repeat left top / 100% 100%;
  -webkit-mask: url(../images/mask_04.png) no-repeat left top / 100% 100%;
}


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

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

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

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

  .feature_item {
    width: 100%;
  }

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

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

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

  *病状、症状から探す

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

.search::before {
  position: absolute;
  left: 0;
  bottom: 0px;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(#fffdf64d, #fffdf64d), url(../images/ptn.jpg) top right / 500px 500px;
  z-index: -2;
  opacity: 0.8;
}

.search::after {
  position: absolute;
  content: "";
  height: auto;
  width: 23%;
  right: 0px;
  bottom: -33px;
  background-size: contain;
  aspect-ratio: 730 / 972;
  opacity: 0.1;
  z-index: -1;
  background: url(../images/icon_logo.png) center center / cover no-repeat;
}


.search .inner {
  padding-top: 150px;
  padding-bottom: 200px;
}

.search .tab_list {
  gap: 10px;
}

.search .tab_list .tab {
  padding: 15px 20px;
  font-family: var(--font-jp);
  border-radius: 20px 20px 0px 0px;
}

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

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

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

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

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

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

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

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

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

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

.search_img img {
  border-radius: 25px;
}

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

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

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

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

  .search .panel {
    padding: 20px;
  }

  .search_list {
    gap: 10px;
  }

  .search_list li {
    width: 100%;
  }

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

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

  .search_img {
    width: 100%;
  }

  .panel_flex .search_list {
    width: 100%;
  }

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

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

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

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

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

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

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

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

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

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

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

  .column_box {
    width: 100%;
  }
}

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

  *無限スライダー

================================================================================================================================== */
#infinitySlider {
  padding: 10px;
  margin-top: -100px;
}

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

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

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

#infinitySlider .splide__list {
  gap: 10px;
}

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

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

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

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

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

.pickup {
  position: relative;
}

.pickup::before {
  content: "";
  position: absolute;
  top: 120px;
  left: 0;
  width: 500px;
  aspect-ratio: 1017 / 1620;
  background: url(../images/medical_left.png) no-repeat center / contain;
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
}

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

.pickup_list {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  padding-bottom: 60px;
}

.pickup_item {
  width: 48%;
}

.pickup_inner {
  display: flex;
  flex-flow: column;
  justify-content: center;
  max-width: 550px;
  height: auto;
}

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

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

.pickup_title h2,
.pickup_title h3 {
  background: none;
  font-size: 130%;
  font-family: var(--font-jp);
}

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

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

.pickup_img img {
  border-radius: 30px;
}

.pickup_text {
  margin: 30px 0;
}

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

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

.pickup_link .pickup_btn a {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 10px 35px;
  color: #ffffff;
  font-size: 95%;
  letter-spacing: 0.15em;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  font-family: var(--font-jp);
  border-radius: 50px;
  background: var(--sub-2-color);
  border: 1px solid var(--sub-2-color);
}

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

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

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


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

.pickup_item:nth-child(odd) .pickup_title {
  background: var(--sub-2-color);
}

.pickup_item:nth-child(odd) .pickup_title::before {
  background: var(--sub-2-color);
}

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

.pickup_item:nth-child(even) .pickup_title {
  background: var(--sub-color);
}

.pickup_item:nth-child(even) .pickup_title::before {
  background: var(--sub-color);
}

.pickup_item:nth-child(2) .pickup_link .pickup_btn a {
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
}

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

.pickup_item:nth-child(even) .pickup_link .pickup_btn a:hover::before {
  background: var(--sub-color);
}

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

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

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

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

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

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

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

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

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

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

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

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

.open_bnr .date {
  font-size: 100%;
  line-height: 1.75;
}

.open_bnr .open_text {
  margin: 0 0 5px;
  font-size: 35px;
}

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

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

.bnr {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  padding: 4px;
  background: rgba(255, 255, 255, 0.4);
  box-sizing: border-box;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 0;
  transition: all .2s;
}

.bnr>* {
  background: #f39600d0;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.377);
  font-family: var(--font-jp);
  line-height: 1.5;
  font-size: 110%;
}

.bnr>*::after {
  content: "";
  position: absolute;
  top: 29px;
  right: -17px;
  z-index: 0;
  display: block;
  width: 80%;
  height: auto;
  aspect-ratio: 500 / 500;
  background: white;
  mask: url(../images/icon_logo.png) no-repeat center / contain;
  -webkit-mask: url(../images/icon_logo.png) no-repeat center / contain;
  opacity: 0.15;
  z-index: 0;
}

.bnr p,
.bnr a {
  text-align: center;
  color: white;
  font-size: 19px;
  line-height: 1.5;
  font-family: var(--font-jp);
  position: relative;
  z-index: 1;
}

.bnr a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.bnr:nth-child(1):hover {
  transform: translateY(-10px);
}

.bnr p span {
  font-size: 21px;
}

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

  .open_bnr>* {
    border-radius: 10px;
    width: 100%;
    height: auto;
  }

  .bnr_wrap {
    width: 100%;
    justify-content: space-between;
  }

  .bnr {
    width: 32%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    padding: 0px;
    background: rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 0;
    transition: all .2s;
  }

  .bnr>* {
    background: #f39600d0;
  }

  .bnr p,
  .bnr a {
    font-size: 100%;
  }

  .top_banner .inner {
    padding: 40px 20px;
  }

  .clinic {
    padding: 60px 20px 60px 20px;
  }

  .clinic::before {
    background: url(../images/bg_sp.jpg) repeat center / cover !important;
  }

  .clinic .news .inner {
    padding: 15px 20px 30px 20px;
    margin-bottom: 20px;
  }

  .clinic .info .inner {
    padding: 30px 20px;
  }

  .greeting_img {
    width: 90%;
    height: auto;
    aspect-ratio: 477 /411;
  }

  .greeting .inner::before {
    top: 255px;
    right: 0px;
    width: 40%;
    transform: inherit;
  }

  .greeting .inner::after {
    display: none;
  }

  .greeting_img {
    position: relative;
    overflow: inherit;
  }

  .greeting .inner {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .greeting_btn {
    margin-top: 20px;
  }

  .feature {
    padding-top: 0;
    padding-bottom: 0;
  }

  .feature .inner {
    padding-top: 60px;
    padding-bottom: 50px;
  }

  .feature_inner {
    min-height: auto;
  }

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

  .pickup .inner {
    padding-top: 30px;
  }

  .pickup .top_title {
    margin-bottom: 0;
  }

  .pickup::before {
    top: 131px;
    left: 0;
    width: 50%;
  }

  .pickup_item {
    padding: 25px 20px !important;
  }

  .pickup_link {
    margin-top: 0;
  }

  .medical::after {
    top: -1000px;
    right: 0;
    width: 80%;
    opacity: 0.5;
  }

  .pickup_list {
    padding-bottom: 10px;
  }

  .medical .inner {
    padding-bottom: 60px;
  }

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

  .search .tab_list .tab,
  .search .panel {
    border-radius: 10px;
  }

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

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

  .search::after {
    display: none;
  }
}

@media screen and (max-width: 375px) {
  .feature_inner {
    margin-top: 20px;
  }

  .medical_title h3 {
    font-size: 13px;
  }

  .medical_title_eng {
    font-size: 9px;
  }

  .feature_item .flex {
    flex-direction: column;
    align-items: center;
  }

  .feature_item .flex .btn01:nth-child(1) {
    margin-bottom: 10px;
  }

  .feature_item .flex .btn01>* {
    width: 200px;
  }

  .bnr p,
  .bnr a {
    font-size: 80%;
  }
}