@charset "UTF-8";

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

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

  *基本設定

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

section .inner {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

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

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

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

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

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

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

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

  *タイトル

==================================================================================================================================*/
.top_title {
  margin-bottom: 60px;
  text-align: center;
}

.top_title h2 {
  position: relative;
  color: var(--text-color);
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 180%;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.top_title .eng {
  display: block;
  position: relative;
  margin-bottom: 25px;
  color: var(--main-color);
  font-family: "lato", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 340%;
  line-height: 1;
  letter-spacing: 0.12em;
}

.top_title .eng::before {
  display: block;
  margin: 0 auto 25px;
  content: "";
}

/* 左寄せ */
.top_title.title_left {
  text-align: start;
}

/*==============================================
  *SP タイトル
==============================================*/
@media screen and (max-width: 640px) {
  .top_title {
    margin-bottom: 50px;
  }
  
  .top_title h2 {
    font-size: 130%;
  }

  .top_title .eng {
    margin-bottom: 15px;
    font-size: 180%;
  }
  
  .top_title .eng::before {
    margin: 0 auto 15px;
  }
}

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

  *メインビジュアル

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

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

.mvSlider::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: 161px;
  margin: auto;
  background: url("../images/wave_double.png") no-repeat center top / cover;
  content: "";
}

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

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

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

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

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

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

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

.mvSlider #mv_btnNext.sliderBtn span::before {
  content: "\f105";
  right: 20px;
}

/* 各スライダーのボタンは非表示に */
.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: 50%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}

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

.mvCatch p {
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 200%;
  line-height: 2;
  letter-spacing: 0.15em;
  text-align: center;
  filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 5px #fff) drop-shadow(0 0 5px #fff);
}

.mvCatch p.mvCatch_txt span:nth-of-type(1) {
  display: block;
  color: var(--main-color);
}

.mvCatch p.mvCatch_txt span:nth-of-type(2) {
  color: var(--sub-color);
  font-size: 125%;
}

/* ---------- コンテンツ ---------- */
.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 {
  display: inline-block;
  position: absolute;
  bottom: 50px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

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

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

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

.open_bnr .nairankai_tit {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 5px 10px;
  border-radius: 300px;
  background: #fff;
  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のバナー ---------- */
.mv_bnr_box {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  position: absolute;
  bottom: 100px;
  left: 0;
}

.mv_bnr_item {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid rgba(128, 52, 0, 1);
  background: rgba(255, 255, 255, 0.9);
}
a.mv_bnr_item {
	color: inherit;
}
.mv_bnr_box p {
  color: var(--text-color);
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
/*   font-size: 125%; */
	font-size: 110%;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: center;
}

.mv_bnr_box p span {
  display: block;
  margin-bottom: 10px;
  color: var(--main-color);
  font-size: 160%;
  line-height: 1;
}

.mv_bnr_box > div:nth-child(even) .mv_bnr_item {
  border: 3px solid rgba(255, 168, 7, 1);
}

.mv_bnr_box > div:nth-child(even) p span {
  color: var(--sub-color);
}
a.mv_bnr_item:hover {
	color: inherit;
	opacity: 0.8;
}
/* ---------- RIBONバナー ---------- */
.mv_ribon {
  position: absolute;
  bottom: 150px;
  left: 0;
}

.sp_only {
  display: none;
}

/*==============================================
  *SP メインビジュアル
==============================================*/
@media screen and (max-width: 640px) {
  .mainvisual {
    height: 380px;
  }
  
  .mvSlider::after {
    bottom: -2px;
    height: 35px;
    background: url(../images/wave_double_sp.png) no-repeat center top / cover;
  }

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

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

  .mvSlider #mv_btnNext.sliderBtn {
    right: 10px;
  }
  
  .mvCatch {
    top: 40%;
  }

  .mvCatch p {
    font-size: 115%;
    line-height: 1.75;
    filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 3px #fff) drop-shadow(0 0 3px #fff);
  }

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

  .open_bnr {
    width: 100%;
    max-width: 350px;
    border-radius: 0;
  }

  .open_bnr > * {
    width: 100%;
    height: auto;
    padding: 15px 20px;
    border-radius: 0;
  }
  
  .mv_bnr_box {
    justify-content: center;
    position: absolute;
    bottom: 20px;
    right: 0;
    margin: auto;
  }

  .mv_bnr_item {
    width: 30vw;
    height: auto;
    aspect-ratio: 1 / 1;
    padding-top: 0!important;
    justify-content: center;
  }

  .mv_bnr_box p {
    font-size: 70%;
  }

  .mv_bnr_box p span {
    margin-bottom: 10px;
    font-size: 140%;
  }
}

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

  *バナーエリア

==================================================================================================================================*/
:is(.banner_grid , .banner_slider) .banner_slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--text-color);
}

/* 画像のみのバナー */
:is(.banner_grid , .banner_slider) .onlyimg .banner_slide {
  height: fit-content;
  padding: 0;
}

:is(.banner_grid , .banner_slider) .onlyimg .banner_slide img {
  width: 100%;
  height: auto;
  transition: opacity 0.2s;
}

:is(.banner_grid , .banner_slider) .onlyimg a.banner_slide:hover img {
  opacity: 0.5;
}

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

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

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

:is(.banner_grid , .banner_slider) .input a.banner_slide:hover {
  background: #f5f5f5;
}

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

:is(.banner_grid , .banner_slider) .input .banner_slide .slide_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:is(.banner_grid , .banner_slider) .input .slide_inner {
  width: calc(100%);
  height: 100%;
  padding: 0 0 10px;
}

:is(.banner_grid , .banner_slider) .input .slide_title {
  margin: 0 auto 10px;
  padding: 5px 5px 5px;
  border-bottom: 1px solid var(--line-color);
  color: var(--main-color);
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 110%;
  line-height: 1.5;
}

:is(.banner_grid , .banner_slider) .input .slide_content {
  font-size: 90%;
}

/* ----- グリッドバナー ----- */
.banner_grid {
  position: relative;
}

.banner_grid ul {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.banner_grid ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc((100% / 3) - (40px / 3));
}

/* ----- スライダーバナー ----- */
#bannerSlider .splide {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
  padding: 0 20px;
}

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

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

@media (any-hover: hover) {
  #bannerSlider .splide__arrow:hover span {
    background: var(--text-color);
  }
}

#bannerSlider .splide__arrow span::before {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: #fff;
  font-size: 20px;
  transition: color 0.2s;
}

#bannerSlider .splide__arrow--prev {
  left: 0;
}

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

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

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

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

/* ----- ページネーション ----- */
#bannerSlider .splide__pagination {
  display: flex;
  gap: 15px;
  position: absolute;
  bottom: -40px;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
}

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

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

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

  /* ----- スライダーバナー ----- */
  #bannerSlider .splide {
    margin-bottom: 30px;
    padding: 0 15px;
  }

  #bannerSlider .splide__arrow {
    width: 40px;
    height: 40px;
  }

  #bannerSlider .splide__arrow span::before {
    font-size: 16px;
  }

  #bannerSlider .splide__pagination {
    bottom: -30px;
  }
}

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

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

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

.clinic::before {
  opacity: 0.5;
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  z-index: 1;
  width: 100%;
  height: 82px;
  margin: auto;
  background: url("../images/town.png") repeat-x left bottom / 50%;
  content: "";
}

.clinic .inner {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 0 60px;
  padding: 60px 0 160px;
}

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

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

.clinic .news .top_title .eng {
  font-size: 330%;
}

.clinic .news .top_title h2 {
  font-size: 170%;
}

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

/* ----- 医院概要 ----- */
.clinic .info .office_hour .table_wrap {
  background: #fffbf1;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.1);
}

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

.clinic .info .speciality {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px auto 0;
  padding: 20px;
  border-radius: 5px;
  background: #fffbf1;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.1);
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  border-radius: 5px;
  background: #ce8a5c;
  color: #fff;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  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: 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;
  position: relative;
  top: 1px;
  color: var(--text-color);
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
/*   font-size: 16px; */
  line-height: 1.5;
  letter-spacing: 0.1em;
}

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

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

.clinic .info address .tel {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-family: "lato", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.12em;
}

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

.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-family: "lato", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.12em;
}

.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: 5px;
}

.clinic .info .btn01 {
  margin-top: 20px;
  text-align: center;
}

@media screen and (max-width: 640px) {
  .clinic::before {
    bottom: -8px;
    height: 40px;
    background: url("../images/town.png") repeat-x left bottom / 120%;
  }

  .clinic .inner > * {
    width: 100%;
  }
  
  .clinic .inner {
    padding: 20px 5% 80px;
  }
  
  .news {
    margin-bottom: 35px;
  }
  
  .clinic .news .top_title {
    text-align: center;
  }
  
  .clinic .news .top_title .eng {
    font-size: 280%;
  }
  
  .clinic .news .top_title h2 {
    font-size: 140%;
  }

  /* ----- 医院概要 ----- */
  .clinic .info .speciality {
    flex-flow: column;
    gap: 10px;
    padding: 15px;
  }

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

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

  *ご挨拶

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

.greeting_bg01 {
  position: absolute;
  top: 120px;
  right: 0;
  width: calc(100% - (50% + 320px));
  height: 400px;
  border-radius: 10px 0 0 10px;
  background: url("../images/top_greeting_img01.jpg") no-repeat center / cover;
}

.greeting_bg02 {
  position: absolute;
  bottom: 0;
  width: calc(100% - (50% + 320px));
  height: 400px;
  border-radius: 0 10px 10px 0;
  background: url("../images/top_greeting_img02.jpg") no-repeat center / cover;
}

.greeting .inner {
  padding: 60px 0 120px;
}

.greeting .top_title .eng::before {
  width: 38px;
  height: 59px;
  background: url("../images/icon_orange15.svg") no-repeat center / contain;
}

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

.greeting_flex {
  display: flex;
  gap: 50px;
  padding: 5%;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.1);
}

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

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

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

.greeting_text {
  color: #666;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 105%;
  line-height: 2;
  letter-spacing: 0.1em;
}

.greeting_text p:not(:last-child) {
  margin-bottom: 20px!important;
}

.greeting_img figure img {
  border-radius: 10px 0 0 10px;
}

.greeting_profile {
  padding: 15px;
  border-radius: 0 0 10px 10px;
  background: var(--main-color);
  color: #fff;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  text-align: center;
}

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

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

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

/*==============================================
  *SP ご挨拶
==============================================*/
@media screen and (max-width: 640px) {
  .greeting_bg01 {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 160px;
    border-radius: 0;
  }
  
   .greeting_bg02 {
    display: none;
  }
  
  .greeting .inner {
    padding: 60px 5% 210px;
  }
  
  .greeting .top_title .eng::before {
    width: 30px;
    height: 46px;
  }
  
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }

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

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

  *診療案内

==================================================================================================================================*/
.medical {
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)) , url(../images/top_medical_bg.jpg) no-repeat center / cover !important;
}

.medical .top_title {
}

.medical .top_title .eng::before {
  width: 56px;
  height: 55px;
  background: url("../images/icon_orange14.svg") no-repeat center / contain;
}

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

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

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

.medical_img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  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;
  border-radius: 10px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  background: rgba(128, 52, 0, 0.6);
  text-align: center;
}

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

.medical_icon {
  width: 70%;
  max-width: 80px;
  margin: 0 auto 15px!important;
  border-radius: 50%;
  background: rgba(103, 70, 47, 0.8);
}

.medical_title h3 {
  color: #fff;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 120%;
}

.medical_title_eng {
  margin-top: 5px;
  color: #fff;
  font-size: 105%;
  font-family: "lato", sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
}

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

.medical_btn span {
  display: inline-block;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 3px 35px 3px 25px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.8);
  color: var(--main-color);
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 95%;
  letter-spacing: 1px;
  text-align: center;
  transition: padding 0.2s, color 0.2s, background 0.2s;
}

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

@media (any-hover: hover) {
  .medical_item:hover .medical_btn span {
    background: rgba(255, 255, 255, 1);
  }
}

.medical_item:nth-child(even) .medical_inner {
  background: rgba(255, 168, 7, 0.6);
}

.medical_item:nth-child(even) .medical_icon {
  background: rgba(138, 98, 24, 0.8);
}

.medical_item:nth-child(even) .medical_btn span {
  color: var(--sub-color);
}

/*==============================================
  *SP 診療案内
==============================================*/
@media screen and (max-width: 640px) {
  .medical {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)) , url(../images/top_medical_bg_sp.jpg) no-repeat center / cover !important;
  }
  
  .medical .top_title .eng::before {
    width: 45px;
    height: 45px;
  }

  .medical_list {
    gap: 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: 80%;
  }
  
  .medical_title_eng {
    font-size: 70%;
  }
  
  .medical_item:nth-of-type(1) .medical_title h3 {
    font-size: 65%;
  }
  
  .medical_btn span {
    padding: 3px 25px 1px 20px;
    font-size: 60%;
  }
}

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

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

==================================================================================================================================*/
.feature {
  position: relative;
  background: url("../images/watercolor01.png") no-repeat center / cover;
}

.feature .inner {
  padding: 80px 15px;
}

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

.feature .top_title .eng::before {
  width: 60px;
  height: 49px;
  background: url("../images/icon_orange10.svg") no-repeat center / contain;
}

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

.feature_item {
  display: flex;
  width: 100%;
  margin-top: 50px;
}

.feature_img {
  width: 500px;
  flex-shrink: 0;
  margin-top: -50px;
}

.feature_img figure {
  position: relative;
}

.feature_img figure::before {
  position: absolute;
  top: 15px;
  left: -15px;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: rgba(128, 52, 0, 0.4);
  content: "";
}

.feature_img figure img {
  border-radius: 10px;
}

.feature_inner {
  display: flex;
  flex-flow: column;
  position: relative;
  z-index: 2;
  width: calc(100% + 50px);
  height: 100%;
  min-height: 380px;
  margin: 0 0 0 -50px;
  padding: 60px 50px 50px;
  border-radius: 10px;
  background: #fff;
}

.feature_inner::after {
  position: absolute;
  top: 15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 168, 7, 0.6);
  content: "";
}

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

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

.feature_title h3 {
  position: relative;
  color: var(--text-color);
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 170%;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-shadow: 1px 1px 1px #fff, -1px 1px 1px #fff, 1px -1px 1px #fff, -1px -1px 1px #fff, 1px 0px 1px #fff, 0px 1px 1px #fff, -1px 0px 1px #fff, 0px -1px 1px #fff;
}

.feature_num {
  opacity: 0.3;
  position: absolute;
  bottom: 30px;
  right: 30px;
  color: var(--main-color);
  font-family: "Marck Script", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 300%;
  line-height: 1;
  letter-spacing: 0.1em;
  text-align: right;
}

.feature_num span {
  margin-left: 10px;
  color: #00b9ef;
  font-size: 230%;
}

.feature_item .btn01 {
  z-index: 1;
  margin-top: auto;
  text-align: left;
}

.feature_item .btn01 > * {
  font-size: 100%;
}

.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 figure::before {
  left: auto;
  right: -15px;
  background: rgba(255, 168, 7, 0.4);
}

.feature_item:nth-child(even) .feature_inner {
  margin: 0 -50px 0 0;
}

.feature_item:nth-child(even) .feature_inner::after {
  left: -15px;
  right: auto;
  border: 1px solid rgba(128, 52, 0, 0.6);
}

.feature_item:nth-child(even) .feature_inner .feature_num {
  right: 35px;
}

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

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

@media screen and (max-width: 640px) {
  .feature .inner {
    padding: 60px 5% 80px;
  }
  
  .feature .top_title .eng::before {
    width: 50px;
    height: 39px;
  }

  .feature_list {
    gap: 40px;
  }

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

  .feature_img {
    width: 100%;
    margin: 0 auto 10px;
  }
  
  .feature_img figure::before {
    top: 5px;
    left: -5px;
  }

  .feature_inner {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 25px 20px 35px 30px;
  }
  
  .feature_inner::after {
    top: 5px;
    right: -5px;
  }

  .feature_title {
    min-height: auto;
    margin-bottom: 15px!important;
  }
  
  .feature_title h3 {
    font-size: 130%;
  }
  
  .feature_num {
    position: static;
    margin-bottom: 10px;
    font-size: 200%;
    text-align: center;
  }

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

  /* 左右 */
  .feature_item:nth-child(even) {
    flex-flow: column;
  }
  
  .feature_item:nth-child(even) .feature_img figure::before {
    right: -5px;
  }
  
  .feature_item:nth-child(even) .feature_inner {
    margin: 0 auto;
  }
  
  .feature_item:nth-child(even) .feature_inner::after {
    left: 5px;
  }

  /* 横並び */
  .btnflex_feature .btn01 {
    width: 100%;
  }
}

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

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

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

.pickup::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: scale(1, -1);
  width: 100%;
  height: 193px;
  margin: auto;
  background: url("../images/wave_watercolor03.png") no-repeat center bottom / cover;
  content: "";
}

.pickup .inner {
  width: 100%;
  max-width: none;
  padding: 273px 0 120px;
}

.pickup .top_title .eng::before {
  width: 50px;
  height: 43px;
  background: url("../images/icon_orange12.svg") no-repeat center / contain;
}

.pickup_list {
  display: flex;
  flex-flow: wrap;
}

.pickup_item {
  width: 50%;
}

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

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

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

.pickup_title h2,
.pickup_title h3 {
  color: #fff;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 160%;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.pickup_title span {
  color: #fff;
  font-family: "lato", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 130%;
}

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

.pickup_img figure img {
  border-radius: 10px;
}

.pickup_text {
  margin: 20px 0;
}

.pickup_link {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  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 {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 10px 35px;
  border-radius: 5px;
  border: 1px solid var(--main-color);
  background: var(--main-color);
  color: #fff;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 105%;
  letter-spacing: 0.1em;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

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

@media (any-hover: hover) {
  .pickup_link .pickup_btn a:hover {
    background: #fff;
    color: var(--main-color);
  }
  
  .pickup_link .pickup_btn a:hover::before {
    right: 12px;
    background: var(--main-color);
  }
}

/* 奇数 */
.pickup_item:nth-child(odd) {
  padding-right: 25px;
}

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

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

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

/* 偶数 */
.pickup_item:nth-child(even) {
  padding-left: 25px;
}

.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: #fff;
  color: var(--sub-color);
}

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

/*==============================================
  *SP　ピックアップ（追加コンテンツ）
==============================================*/
@media screen and (max-width:640px) {
  .pickup::after {
    height: 42px;
    background: url(../images/wave_watercolor03_sp.png) no-repeat center bottom / cover;
  }
  
  .pickup .inner {
    padding: 100px 5% 80px;
  }

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

  .pickup .top_title h2 {
    font-size: 150%;
  }

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

  .pickup_item {
    width: 100%;
    padding: 0!important;
  }
  
  .pickup_item:not(:last-child) {
    margin-bottom: 50px;
  }

  .pickup_title {
    padding: 15px;
    font-size: 80%;
  }

  .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: 10px;
  }

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

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

  *病状、症状から探す

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

.search .tab_list {
  gap: 10px;
}

.search .panel {
  position: relative;
  z-index: 1;
  padding: 25px;
  background: var(--main-color);
}

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

.search_list li {
  width: calc((100% / 3) - (40px / 3));
  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;
  background: var(--bg-color);
  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;
  mask: url(../images/btn_arrow.png) no-repeat center / 14px 7px;
  -webkit-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(--main-color);
}

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

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

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

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

.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 {
    width: 100%;
    min-height: auto;
    padding: 10px !important;
    font-size: 120%;
    transform: translate(0, 0) !important;
  }

  .search_list {
    gap: 10px;
  }

  .search_list li {
    width: calc(100%);
  }

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

  .search .panel {
    padding: 20px;
  }

  /* ----- 画像あり ----- */
  .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 .column_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 50px 25px;
  padding: 30px;
  background: #ffffff;
}

.column .column_box {
  width: calc((100% / 4) - (75px / 4));
}

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

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

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

  .column .column_box {
    width: 100%;
  }
}

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

  *無限スライダー

==================================================================================================================================*/
#infinitySlider {
  margin: 15px 0;
}

#infinitySlider .splide__list {
  gap: 10px;
}

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

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