@charset "UTF-8";

/* ---------------------
  - *基本設定
  - *タイトル
  - *メインビジュアル
  - *バナーエリア
  - *医院概要
  - *ご挨拶
  - *診療案内
  - *当院の特徴
  - *当院の受診をおすすめする症状
  - *呼吸器・アレルギーの疾患一覧
  - *医療コラム
  - *無限スライダー
--------------------- */
/* ==================================================================================================================================

  *基本設定

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

section .inner {
  padding: 150px 50px;
  max-width: 1820px;
}

.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: 70px;
  line-height: 1.5;
  /* text-align: center; */

  /* 左寄せ */
}

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

.top_title h2 {
  font-size: 300%;
  font-family: var(--jp-font);
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.1em;
  padding-bottom: 10px;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 0;
  color: var(--main-color);
  font-size: 120%;
  font-family: var(--en-font);
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0.15em;
}

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

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

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

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

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 830px;
  overflow: hidden;
}
.mainvisual::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 300px;
    background: var(--bg-color);
    left: 0;
    bottom: 0;
}
.mvSlider {
  position: relative;
  z-index: 1;
 width: calc(100% - 70px);
 margin-left: auto;
  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 {
    position: relative;
  width: 100%;
  height: 100%;
  border-radius: 100px 0 0 30px;
  overflow: hidden;
}
.mvImg::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,rgba(74, 149, 184, 0.5),rgba(22, 85, 178, 0) 60%);
    z-index: 1;
}
.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: 40%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
  font-family: var(--jp-font);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.2em;
}
.mvCatch p span {
    padding-right: 10px;
}
.mvCatch p .catch_big {
    font-size: 160%;
}
.mvCatch p .catch_small {
    font-size: 80%;
}
.mvCatch .inner {
  position: relative;
  z-index: 1;
  max-width: 1700px;
  padding: 0 50px;
}

.mvCatch p {
  font-size: 150%;
  color: #fff;
      text-shadow: 0px 0px 5px rgba(22, 85, 178, 0.4), 0px 0px 10px rgba(22, 85, 178, 0.3);
  /* filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff); */
  
}

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

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

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

.open_bnr {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 180px;
    font-family: var(--jp-font);
    font-style: normal;
    font-weight: 400;
    border-radius: 10px;
    right: 50px;
    background: linear-gradient(-100deg,var(--main-color),var(--sub-color));
}

.open_bnr > * {
    display: flex;
    flex-flow: column;
    justify-content: center;
    height: 130px;
    align-items: center;
    padding: 15px 37px;
    color: #fff;
    font-size: 110%;
    line-height: 1.5;
    text-align: center;
}

.open_bnr .newopen {
  border-right: 2px solid #fff;
}
/* .open_bnr > *.nairan {
    border-right: 2px solid #fff;
} */

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

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

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

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

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


.mv_bnr {
    position: absolute;
    width: 550px;
    bottom: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    
}
.mv_bnr a {
    width: 270px;
    height: 118px;
    transition: 0.2s;
}
.mv_bnr a:hover {
  opacity: 0.6;
}

.mv_bnr a.coming {
  position: relative;
  pointer-events: none;
}
.mv_bnr a.coming::before {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  content: "Coming soon";
  color: #fff;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: rgba(90, 90, 90, 0.7);
      font-family: var(--en-font);
    font-style: normal;
    font-weight: 500;
    font-size: 110%;
    letter-spacing: 0.15em;
}
/* ----- RIBONバナー ----- */
.mv_ribon {
  position: absolute;
  bottom: 150px;
  left: 0;
}

.sp_only {
  display: none;
}

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
  .mainvisual {
    height: 480px;
  }
  .mainvisual::before {
    height: 150px;
  }
  .mvSlider {
    width: calc(100% - 20px);
  }
.mvCatch .inner {
  padding: 0 20px;
}
.mvImg::before {
  background: linear-gradient(0deg,rgba(74, 149, 184, 0.5),rgba(22, 85, 178, 0) 60%);
}
  /* ----- スライダーのArrowボタン ----- */
  .mvSlider .sliderBtn {
    top: 50%;
    width: 40px;
    height: 40px;
    padding: 2px;
    font-size: 12px;
  }

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

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

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

  .mvCatch {
    top: auto;
    bottom: 20px;
    display: none;
    transform: translateY(0);
  }

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

  .mvCatch p {
    font-size: 100%;
        line-height: 1.8;
  }

  .mvContents {
    display: none;
  }
h1 {
  margin: 0 auto;
  padding: 20px;
}
  .sp_only {
    display: block;
    background: var(--bg-color) !important;
  }

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

  .sp_only_contents {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    width: 100%;
  }

  .open_bnr {
    position: static;
    width: 100%;
    max-width: 350px;
    padding: 15px 10px;
  }

  .open_bnr > * {
    width: 100%;
    height: auto;
    padding: 15px 10px;
    border-radius: 0;
    font-size: 100%;
  }

  .newopen {
    width: 45%;
    flex-shrink: 0;
  }
  .open_bnr .date {
    font-size: 90%;
  }
  .open_bnr .open_text {
    font-size: 150%;
  }
  .nairakai_date {
    font-size: 80%;
  }

  .mv_bnr {
    position: static;
    width: 100%;
  }
  .mv_bnr a {
    width: calc(50% - 5px);
    height: auto;
}
}

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

  *バナーエリア

================================================================================================================================== */
/* ----- 共通設定 ----- */
.top_banner .banner_slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--text-color);
}

/* 画像のみのバナー */
.top_banner .onlyimg .banner_slide {
  height: fit-content;
  padding: 0;
}

.top_banner .onlyimg .banner_slide img {
  width: 100%;
  height: auto;
  transition: opacity 0.2s;
}

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

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

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

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

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

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

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

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

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

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

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

/* ----- スライダーバナー ----- */
#bannerSlider .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;
  }
}

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

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

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

.clinic .inner {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 100px;
  padding: 100px 50px 180px;
  max-width: 1580px;
}

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


/* ----- お知らせ ----- */
.clinic .news .top_title {
  margin-bottom: 47px;
}

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

/* ----- 医院概要 ----- */
.clinic .info .office_hour .table_wrap {
  background: #ffffff;
  border-radius: 8px;
}

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

.clinic .info .speciality {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 30px auto;
  padding: 0;
}
.clinic .info .speciality span {
    color: var(--main-color);
    /* border: 1px solid var(--line-color); */
    border-radius: 300px;
    padding: 2px 15px;
    min-width: 100px;
    text-align: center;
    background: #fff;
}
.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  color: #ffffff;
  text-align: center;
}

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

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

.clinic .info address > *::before {
  position: absolute;
  top: 5px;
  left: 0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  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: 13px;
}

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

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

.clinic .info address .location span {
  display: block;
  margin-right: 10px;
}

.clinic .info address .tel {
  display: inline-block;
  margin-top: 15px;
  padding: 5px 15px 5px 50px;
  font-size: 30px;
  line-height: 1;
  font-family: var(--en-font);
  font-weight: 500;
  font-style: normal;
}

.clinic .info address .tel::before {
  content: "\f3cd";
}

.clinic .info address .fax {
display: inline-block;
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  line-height: 1;
  font-family: var(--en-font);
  font-weight: 500;
  font-style: normal;
}

.clinic .info address .fax p {
  font-size: 30px;
  
}

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

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

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

.clinic .info .btn01 {
  margin-top: 30px;
  text-align: right;
}

@media screen and (max-width: 640px) {
  .clinic .inner {
    padding: 70px 20px;
    gap: 50px;
  }
  .clinic .inner > * {
    width: 100%;
  }
.clinic .news .top_title {
  margin-bottom: 30px;
}
  /* ----- 医院概要 ----- */
  .clinic .info .speciality {
    gap: 5px;
    margin: 20px auto;
  }
.clinic .info .speciality span {
  padding: 2px 10px;
}
  .clinic .info .speciality .title {
    width: 100%;
  }
}

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

  *ご挨拶

================================================================================================================================== */
.greeting {
  position: relative;
}
.greeting::before {
  position: absolute;
  content: "";
  mask: url(../images/bg_nami02.svg) top right / contain no-repeat;
  background: #f5f5f5;
    width: 55%;
    height: 100%;
    top: -100px;
    right: -180px;
    z-index: -1;
}
/* .greeting::before {
  position: absolute;
  content: "";
  background: url(../images/bg_logo.png) top left / cover no-repeat;
    width: 2500px;
    height: 1679px;
    top: -400px;
    right: -1100px;
    z-index: -1;
} */

.greeting .inner {
    max-width: 1500px;
    padding: 120px 50px 150px;
}
.greeting_box {
  position: relative;
  z-index: 1;
}

.greeting_flex {
  display: flex;
  gap: 50px;
}

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

.greeting_left {
  flex-shrink: 0;
  width: 60%;
}
.doctor_catch {
  font-size: 180%;
    color: var(--main-color);
    font-family: var(--jp-font);
    font-style: normal;
    font-weight: 400;
    border-left: 2px solid var(--sub-color);
    padding-bottom: 0;
    padding-left: 40px;
}

.greeting_text > *:not(:last-child) {
  margin-bottom: 2em;
}
.greeting_img img {
    border-radius: 100px 20px 20px 20px;
}
.greeting_profile {
  padding-top: 20px;
  line-height: 1.75;
  font-family: var(--jp-font);
  font-style: normal;
  font-weight: 400;
}

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

.greeting_profile .name {
  font-size: 150%;
}
.greeting_profile .name span {
  font-size: 80%;
  padding-right: 10px;
}
.greeting_btn {
  margin-top: 50px;
  text-align: center;
}
.greeting_text .btnflex {
  padding: 20px 0 100px;
}
.greeting_text .btn01 > a {
  display: flex;
  align-items: center;
  height: 100%;
}
/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
  .greeting::before {
    width: 100%;
    top: -60px;
    right: 0;
  }
  .greeting .inner {
    padding: 70px 20px;
  }
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }
.greeting_img {
  width: 70%;
  margin: 0 auto;
}
.greeting_profile .position {
  font-size: 100%;
}
.greeting_profile .name {
  font-size: 130%;
}
.doctor_catch {
  font-size: 16px;
  padding-left: 15px;
  line-height: 1.6;
}
.greeting_text > *:not(:last-child) {
  margin-bottom: 1.5em;
}
  .greeting_btn {
    margin-top: 40px;
  }
  .greeting_text .btnflex {
    padding: 20px 0 50px;
}
}

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

  *診療案内

================================================================================================================================== */
.medical {
    background: linear-gradient(#f8f8f8,#f8f8f8) bottom left / 100% 100px no-repeat;
}
.medical_wrap {
    position: relative;
  background: linear-gradient(var(--main-color),var(--sub-color));
  border-radius: 100px 100px 0 0;
  overflow: hidden;
}
.medical .inner::before {
    position: absolute;
    content: "";
    background: url(../images/medical_bg.jpg) center / cover no-repeat;
    width: 30%;
    min-width: 534px;
    height: 100%;
    top: 0;
    left: 0;
}
.top_medical_box {
    width: 70%;
    max-width: calc(100% - 534px);
    margin-left: auto;
    padding-left: 50px;
}
.medical .top_title {
  color: #ffffff;
}

.medical .top_title .eng {
  color:#fff;
}

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

.medical_item {
  position: relative;
  z-index: 1;
  width: calc(100% / 3 - 14px);
  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: 175px;
  padding: 10px 12px 10px;
  text-align: center;
  border-radius: 8px;
  border: 2px solid #99b6e0;
  transition: background 0.2s;
}

.medical_inner > *:not(:last-child) {
  margin-bottom: 15px;
}
.medical_item:hover .medical_inner {
  background: #ffffff;
}

.medical_icon {
    width: 70%;
    max-width: 70px;
    margin: 0 auto 10px !important;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: background 0.2s;
    /* border: 1px solid #fff; */
}

.medical_item:hover .medical_icon {
  background: var(--main-color);
}
.medical_title h3 {
  color: #fff;
  font-size: 110%;
  font-family: var(--jp-font);
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.medical_item:hover .medical_title h3 {
  color: var(--main-color);
}
.medical_title_eng {
  margin-top: 5px;
  color: var(--main-color);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-align: center;
  font-family: var(--en-font);
  font-style: normal;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.medical_item:hover .medical_title_eng {
  color: var(--main-color);
}

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

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

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

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

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

.medical_item:nth-of-type(-n + 2) .medical_inner {
    flex-flow: nowrap;
  padding: 10px 20px;
}

.medical_item:nth-of-type(-n + 2) .medical_icon {
  max-width: 100px;
  width: auto;
  margin: 0 auto 5px !important;
}
.medical_item:nth-of-type(-n + 2) .medical_title {
    width: 50%;
    text-align: left;
}
.medical_item:nth-of-type(-n + 2) .medical_title h3 {
  font-size: 150%;
}

.medical_item:nth-of-type(-n + 2) .medical_title_eng{
    text-align: left;
}
/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
.medical .inner::before {
      width: 100%;
    min-width: auto;
    height: 200px;
    top: 0;
    left: 0;
}
.medical_wrap {
  border-radius: 50px 50px 0 0;
}
.top_medical_box {
  width: 100%;
  max-width: 100%;
  margin-top: 180px;
  margin-left: 0;
  padding-left: 0;
}
  .medical_list {
    gap: 15px 10px;
  }

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

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

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

  .medical_icon {
    width: 40%;
  }

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

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

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

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

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

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

==================================================================================================================================*/
.pickup {
    position: relative;
    background: #f5f5f5;
}

.pickup .inner {
  display: flex;
  width: 100%;
  padding: 180px 50px 150px;
}
.pickup .top_title {
    flex-shrink: 0;
    display: flex;
  padding: 0 100px 0 50px;
  gap: 20px;
}
.pickup .top_title h2 {
    -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.pickup .top_title h2 span {
  color: var(--main-color);
  font-size: 70%;
  padding: 20px;
}
.pickup .top_title .eng {
    -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.pickup_list {
  display: flex;
  flex-flow: wrap;
  gap: 50px;
}

.pickup_item {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 70px;
  background: #fff;
  padding: 0;
  border-radius: 100px 0 0 30px;
  /* border-top: 1px solid var(--line-color);
  border-left: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color); */
}
.pickup_item::before {
    position: absolute;
    content: "";
    width: 50%;
    height: 100%;
    background: #fff;
    top: 0;
    right: -50%;
    /* border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color); */
}
.pickup_img {
  position: relative;
  flex-shrink: 0;
  z-index: 1;
  /* height: fit-content; */
  width: 45%;
}
.pickup_img img {
    border-radius: 100px 0 0 30px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pickup_inner {
  position: relative;
  z-index: 2;
  width: 55%;
  margin: 0;
  padding: 70px 0;
}

.pickup_title {
  position: relative;
  z-index: 2;
  margin: 0 auto 15px;
}

.pickup_title h2, .pickup_title h3 {
  background: none;
  font-size: 200%;
  font-family: var(--jp-font);
  font-style: normal;
  font-weight: 400;
}

.pickup_title span {
  color: var(--main-color);
  font-family: var(--en-font);
  font-weight: 700;
  font-style: normal;
    font-size: 110%;
    line-height: 1;
    letter-spacing: 0.12em;
}
.pickup_title span::before {
  display: inline-block;
  content: "";
  background: var(--sub-color02);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 12px;
}
.pickup_text {
  margin: 30px 0;
}

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

.pickup_link .pickup_btn {
  width: calc((100% / 2) - (10px / 2));
      display: flex;
}

.pickup_link .pickup_btn a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 40px 10px 15px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  font-size: 95%;
  letter-spacing: 0.15em;
  text-align: center;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
  font-family: var(--jp-font);
  font-style: normal;
  font-weight: 400;
}

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

.pickup_link .pickup_btn a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  display: block;
  width: 12px;
  height: 12px;
  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;
  z-index: 1;
}


.pickup_link .pickup_btn a::after {
    content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%);
  transition: right 0.2s, background 0.2s;
}
.pickup_link .pickup_btn a:hover::after {
  background: var(--main-color);
}

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

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

/*==============================================
  *SP　ピックアップ（追加コンテンツ）
==============================================*/
@media screen and (max-width:640px) {
  .pickup .inner {
    flex-flow: column;
    padding: 70px 0 70px 20px;
  }
  .pickup .top_title {
    flex-flow: column;
    padding: 0;
    gap: 0;
  }
  .pickup .top_title h2 {
      font-size: 26px;
  }
  .pickup .top_title h2,
  .pickup .top_title .eng {
    -ms-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
  }
  .pickup .top_title h2 span {
    padding: 10px;
  }
  
  .pickup_list {
    width: calc(100%);
  }

  .pickup_title h2, .pickup_title h3 {
    font-size: 160%;
  }
  .pickup_title span {
    font-size: 12px;
  }
.pickup_title span::before {
  width: 7px;
  height: 7px;
  margin-right: 10px;
}
  .pickup_item {
    flex-flow: column;
    width: 100%;
    gap: 0;
  }

  .pickup_img {
    width: 100%;
    height: 200px;
    margin: 0 auto 0 0;
  }
.pickup_img img {
  border-radius: 50px 0 0 0;
}
  .pickup_inner {
    width: 100%;
    margin: 0 0 0 auto;
    padding: 30px 20px;
  }
.pickup_text {
  margin: 20px 0;
}
  .pickup_link {
    min-height: auto;
    margin-top: 20px;
  }

  .pickup_link .pickup_btn {
    width: calc(50% - 5px);
  }
  .pickup_link .pickup_btn a {
    padding: 10px 30px 10px 10px;
  }
  .pickup_link .pickup_btn a::before {
    width: 8px;
    height: 8px;
    right: 14px;
  }
.pickup_link .pickup_btn a::after {
  width: 20px;
  height: 20px;
}
  /* 偶数 */
  .pickup_item:nth-child(even) {
    flex-flow: column;
  }

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

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

  .medical_item:nth-of-type(-n + 2) {
    width: 100%;
    min-height: 135px;
}
.medical_item:nth-of-type(-n + 2) .medical_icon {
    max-width: 80px;
}
}

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

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

==================================================================================================================================*/
.feature {
  position: relative;
  background:
  url(../images/bg_nami02.svg) top right / 60% no-repeat,
  url(../images/bg_nami03.svg) bottom left / 60% no-repeat;
}
.feature::before {
  position: absolute;
  content: "";
  background: 
  url(../images/between_img02.jpg) center / cover no-repeat;
  top: -100px;
  right: 50px;
  width: 30%;
  height: 350px;
  border-radius: 100px 20px 20px 20px;
}
.feature .inner {
    position: relative;
    max-width: 1500px;
}
.feature .inner::before {
    position: absolute;
    content: "";
    background: url(../images/bird_img01.png) top left / cover no-repeat;
    width: 129px;
    height: 100px;
    top: 85px;
    left: 462px;
}
.feature .top_title {
  margin-bottom: 100px;
}
.feature .top_title h2 {
  padding-bottom: 25px;
  line-height: 1.3;
}
.feature .top_title h2 span {
    color: var(--main-color);
    font-size: 150%;
}
.feature_list{
  display: flex;
  flex-flow: wrap;
  gap: 70px 30px;
}

.feature_item{
  display: flex;
  height: auto;
  width: 100%;
  gap: 90px;
  /* margin-top: 50px; */
}

.feature_img{
  width: 45%;
  flex-shrink: 0;
  /* margin-top: -50px; */
}
.feature_img img {
    border-radius: 20px 100px 20px 20px;
}
.feature_inner{
  position: relative;
  z-index: 2;
  display: flex;
  flex-flow: column;
  justify-content: center;
  width: calc(100% + 50px);
  height: 100%;
  min-height: 400px;
  /* margin: 0 0 0 -50px; */
  padding: 0;
}

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

.feature_title{
  position: relative;
  display: flex;
  flex-flow: column;
  margin-bottom: 20px!important;
}

.feature_title h3{
  font-size: 200%;
  color: var(--main-color);
  line-height: 1.75;
  font-family: var(--jp-font);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.feature_num{
  position: absolute;
  margin: 0 0 5px!important;
    top: -40px;
    left: -30px;
  font-family: var(--en-font);
  font-weight: 500;
  font-style: normal;
}

.feature_num span{
    color: rgba(0, 0, 0, 0.08);
    font-size: 500%;
    line-height: 1;
}

.feature_item .btn01 {
  /* margin-top: auto; */
  text-align: right;
}

.feature_item .btn01 > *{
  padding: 14px 40px 14px 30px;
  font-size: 95%;
}

.btnflex_feature{
  display: flex;
  align-items: center;
  flex-flow: wrap;
  gap: 5px;
  margin-top: auto;
}

/* 左右 */
.feature_item:nth-child(even){
  flex-flow: row-reverse;
}
.feature_item:nth-child(even) .feature_img img {
  border-radius: 100px 20px 20px 20px ;
}
/* .feature_item:nth-child(even) .feature_inner{
  margin: 0 -50px 0 0;
} */

/* ボタン横並び */
.btnflex_feature .btn01{
  width: calc(50% - 2.5px);
}

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

@media screen and (max-width: 640px) {
  .feature{
    padding-bottom: 0;
    background-size: 70%;
  }
  .feature::before {
    top: -47px;
    right: 20px;
    width: 200px;
    height: 100px;
    border-radius: 50px 15px 15px 15px;
  }
  .feature .inner::before {
        width: 72px;
    height: 56px;
    top: 42px;
    left: auto;
    right: 23px;
  }
  .feature .top_title {
    margin-bottom: 30px;
}
  .feature .top_title h2 {
    padding-bottom: 10px;
  }
  .feature .top_title .eng {
    font-size: 12px;
  }
  .feature_list{
    gap: 40px;
  }

  .feature_item{
    flex-flow: column;
    width: 100%;
    margin: 0;
    gap: 10px;
  }

  .feature_img{
    width: 100%;
    height: 180px;
    margin: 0;
  }
 .feature_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px 50px 15px 15px;
 }
  .feature_inner{
    width: 100%;
    min-height: auto;
    padding: 30px 0 0;
    margin: 0;
  }

  .feature_title{
    margin-bottom: 15px!important;
    min-height: auto;
    padding: 0 20px;
  }
.feature_title h3 {
  font-size: 20px;
}
.feature_num {
  top: -24px;
  left: 0;
}
.feature_num span {
  font-size: 50px;
}
  .feature_item .btn01{
    text-align: center;
  }

  /* 左右 */
  .feature_item:nth-child(even){
    flex-flow: column;
  }
  .feature_item:nth-child(even) .feature_inner{
    margin: 0 auto;
  }
.feature_item:nth-child(even) .feature_img img {
  border-radius: 50px 15px 15px 15px;
}
  /* 横並び */
  .btnflex_feature .btn01{
    width: 100%;
  }
}
/* ==================================================================================================================================

  *当院の受診をおすすめする症状

================================================================================================================================== */
.search {
  position: relative;
}
.search::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    mask: url(../images/bg_nami.svg) bottom left / 50% repeat-x;
    -webkit-mask: url(../images/bg_nami.svg) bottom left / 50% repeat-x;
    background: #fff;
    top: -49px;
    left: 0;
}
.search .inner {
    position: relative;
    display: flex;
    gap: 50px;
}
.search .inner::before {
    position: absolute;
    content: "";
    background: url(../images/bird_img01.png) top left / cover no-repeat;
    width: 129px;
    height: 100px;
    top: -48px;
    left: 347px;
}
.search .top_title {
    flex-shrink: 0;
    width: 430px;
    display: flex;
    justify-content: center;
    gap: 30px;
}
.search .top_title h2 {
   -ms-writing-mode: tb-rl;
   writing-mode: vertical-rl;
   line-height: 1.7;
}
.search .top_title h2 span {
    color: var(--main-color);
    padding-bottom: 10px;
}
.search .top_title .eng {
    font-size: 120%;
    -ms-writing-mode: tb-rl;
   writing-mode: vertical-rl;
}
.search .tab_list {
    gap: 15px;
    width: 100%;
    margin-bottom: 30px;
}

.search .tab_list .tab {
    position: relative;
    align-items: center;
    padding: 20px 10px 10px;
    background: none;
    font-size: 120%;
    color: #9f9f9f;
    border-bottom: 2px solid #9f9f9f;
    width: 100%;
    line-height: 1.5;
    min-height: 100px;
    text-align: center;
}
.search .tab_list .active {
    background: none;
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
}
.search .tab_list .active::before {
    position: absolute;
    content: "";
    background: var(--sub-color02);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    bottom: -6px;
}

.search .panel {
  position: relative;

  z-index: 1;
  padding: 0;
  background: none;
}

.search_list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  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 40px 10px 20px;
  background: #e4f2f8;
  color: var(--main-color);
  font-family: var(--jp-font);
  font-style: normal;
  font-weight: 400;
  border-radius: 5px;
}
.search_list li a:hover {
  background: var(--sub-color);
  color: #fff;
}
.search_list li a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  z-index: 2;
  display: block;
  width: 14px;
  height: 14px;
  background: var(--main-color);
  -webkit-mask: url(../images/btn_arrow.png) no-repeat center/cover;
  mask: url(../images/btn_arrow.png) no-repeat center/cover;
  transform: translateY(-50%);
  transition: background 0.2s, right 0.2s;
}

.search_list li a:hover::before {
  background: #fff;
  right: 12px;
}

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

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

/* ----- 画像あり ----- */

.search .panel_flex.active {
  display: flex;
  flex-flow: column;
  flex-flow: wrap;
  gap: 20px;
}

.search_img {
  width: 100%;
  height: 250px;
  margin: 0 !important;
}
.search_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 70px 10px 10px 10px;
}
.panel_flex .search_list {
  width: 100%;
}

.panel_flex .search_list li {
  width: calc(100% / 3 - 7px);
}

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
.search .inner {
  flex-flow: column;
  gap: 0;
}
.search .inner::before {
     width: 77px;
    height: 60px;
    top: 38px;
    left: auto;
    right: 33px;   
}
  .search .top_title {
    flex-flow: column;
    width: auto;
    gap: 0;
  }
  .search .top_title h2 {
    -ms-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
  }
  .search .top_title .eng {
    -ms-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    font-size: 15px;
  }
  .search .tab_list {
    flex-flow: nowrap;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 15px;
  }

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

  .search .panel {
    padding: 0;
  }

  .search_list {
    gap: 10px;
  }

  .search_list li {
    width: 100%;
  }

  .search_list li a {
    min-height: auto;
    padding: 10px 24px 10px 15px;
    line-height: 1.6;
  }
  .search_list li a::before {
    width: 10px;
    height: 10px;
    right: 10px;
  }

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

  .search_img {
    width: 100%;
    height: 100px;
  }
.search_img img {
  border-radius: 50px 10px 10px 10px;
}
  .panel_flex .search_list {
    width: 100%;
  }

  .panel_flex .search_list li {
    width: calc(50% - 5px);
  }
}
/* ==================================================================================================================================

  *呼吸器・アレルギーの疾患一覧

================================================================================================================================== */
.disease {
  position: relative;
  background: var(--bg-color);
}
.disease::after {
  position: absolute;
  content: "";
  background: 
  url(../images/between_img01.jpg) center / cover no-repeat;
    top: -200px;
    left: 50px;
    width: 22%;
    height: 260px;
  border-radius: 20px 100px 20px 20px;
}
.disease::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    mask: url(../images/bg_nami.svg) bottom left / 50% repeat-x;
    -webkit-mask: url(../images/bg_nami.svg) bottom left / 50% repeat-x;
    background: var(--bg-color);
    top: -49px;
    left: 0;
}
.disease .top_title {
    flex-shrink: 0;
    display: flex;
    padding: 0 150px 0 80px;
    gap: 30px;
}
.disease .top_title h2 {
    line-height: 1.7;
 -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.disease .top_title .eng {
    -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.disease .inner {
    display: flex;
    padding: 200px 50px;
}
.disease .tab_list {
  gap: 20px;
  margin-bottom: 30px;
}
.disease .tab_wrap {
    width: 100%;
}
.disease .tab_list .tab {
  position: relative;
  padding: 10px 10px 20px;
  background: none;
  color: #a9a9a9;
  border-bottom: 2px solid;
}
.disease .tab_list li.active {
    color: var(--main-color);
}
.disease .tab_list li.active::before {
    position: absolute;
    content: "";
    background: var(--sub-color02);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    bottom: -6px;
}
.disease .panel {
  position: relative;
  z-index: 1;
  padding: 0;
}

.disease_list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  height: fit-content;
}

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

/* ----- リンクボタン ----- */
.disease_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 40px 10px 30px;
  background: #fff;
  color: var(--main-color);
  font-family: var(--jp-font);
  font-style: normal;
  font-weight: 400;
  border-radius: 5px;
}
.disease_list li a:hover {
  background: var(--sub-color);
  color: #fff;
}
.disease_list li a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  z-index: 2;
  display: block;
  width: 14px;
  height: 14px;
  background: var(--main-color);
  -webkit-mask: url(../images/btn_arrow.png) no-repeat center/ cover;
  mask: url(../images/btn_arrow.png) no-repeat center/ cover;
  transform: translateY(-50%);
  transition: background 0.2s, right 0.2s;
}

.disease_list li a:hover::before {
  background: #fff;
  right: 12px;
}

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

.disease_list li a:hover::after {
  background: #ffffff;
} */

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

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

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

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

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
    .disease::after {
      width: 170px;
      height: 100px;
      left: 20px;
      top: -72px;
      border-radius: 15px 50px 15px 15px;
    }
    .disease .inner {
      flex-flow: column;
      padding: 70px 20px;
    }
    .disease .top_title {
      flex-flow: column;
      padding: 0;
      gap: 0;
    }
    .disease .top_title h2 {
      font-size: 26px;
    }
    .disease .top_title h2,
    .disease .top_title .eng {
        -ms-writing-mode: horizontal-tb;
        writing-mode: horizontal-tb;
    }
  .disease .tab_list {
    flex-flow: nowrap;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 15px;
  }

  .disease .tab_list .tab {
    width: 100%;
    min-height: auto;
    padding: 10px 0 !important;
    font-size: 100%;
    line-height: 1.6;
    text-align: center;
    transform: translate(0, 0) !important;
  }

  .disease .panel {
    padding: 0;
  }

  .disease_list {
    gap: 10px;
  }

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

  .disease_list li a {
    min-height: auto;
    padding: 10px 24px 10px 15px;
    line-height: 1.6;
  }

  .disease_list li a::before {
    width: 10px;
    height: 10px;
    right: 10px;
  }
  /* ----- 画像あり ----- */
  .disease .panel_flex.active {
    gap: 20px;
  }

  .disease_img {
    width: 100%;
  }

  .panel_flex .disease_list {
    width: 100%;
  }

  .panel_flex .disease_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 {
    position: relative;
  padding: 0;
  background: linear-gradient(#f5f5f5,#f5f5f5) top left / 100% 500px no-repeat;
}
/* #infinitySlider::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    mask: url(../images/bg_nami.svg) bottom left / 50% repeat-x;
    -webkit-mask: url(../images/bg_nami.svg) bottom left / 50% repeat-x;
    background: #f5f5f5;
    top: 199px;
    left: 0;
    transform: scaleY(-1);
} */

#infinitySlider .splide__list {
  gap: 50px;
}

#infinitySlider .splide__slide {
    position: relative;
  width: 480px !important;
  height: 600px;
}
#infinitySlider .splide__slide:nth-child(even) {
    margin-top: 50px;
    height: 500px;
}

#infinitySlider .splide__slide img {
    border-radius: 15px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ==============================================
  *SP 無限スライダー
============================================== */
@media screen and (max-width: 640px) {
  #infinitySlider {
  background: linear-gradient(#f5f5f5,#f5f5f5) top left / 100% 200px no-repeat;
}
#infinitySlider .splide__list {
  gap: 20px;
}
  #infinitySlider .splide__slide {
    width: 250px !important;
  }

  #infinitySlider .splide__slide {
    position: relative;
  width: 200px !important;
  height: 260px;
}
#infinitySlider .splide__slide:nth-child(even) {
    margin-top: 25px;
    height: 210px;
}
}
