@charset "UTF-8";

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

  *基本設定

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

section .inner {
  padding: 100px 40px;
  max-width: 1300px;
}

.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: 30px 0 80px;
  line-height: 1.5;
  text-align: center;
  position: relative;
  z-index: 0;
}

.top_title::before{
  content: '';
  position: absolute;
  background: url(../images/title_bg.png) no-repeat center / contain;
  width: calc(500px * 0.75);
  height: calc(247px * 0.75);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

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

.top_title h2 {
  font-family: var(--jp-font);
  font-weight: 500;
  font-size: 220%;
  letter-spacing: 0.08em;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--main-color);
  font-family: var(--en-font);
  font-weight: 400;
  font-size: 180%;
}

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

  .top_title::before{
    width: calc(500px * 0.58);
    height: calc(247px * 0.58);
  }

  .top_title h2 {
    font-size: 26px;
  }

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

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

  *メインビジュアル

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

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

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

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

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

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

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

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

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

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

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

/* ----- MVの画像 ----- */
.mvImg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0;
}

.mvImg::before{
  content: '';
  position: absolute;
  background: url(../images/cloud.svg) no-repeat bottom / 2000px 287px;
  width: 100%;
  height: 287px;
  bottom: -40px;
  left: 0;
  z-index: 2;
}

.mvImg::after{
  content: '';
  position: absolute;
  background: rgb(158, 194, 107, 0.06);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

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

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

.mvCatch p {
  /* color:#fff; */
  width: fit-content;
  padding: 10px 40px;
  font-family: var(--jp-font);
  font-weight: 500;
  font-size: 200%;
  background: url(../images/mv_catch_bg.svg) no-repeat left / contain;
}

.mvCatch p span{
  padding: 0 3px;
}

.mvCatch p span.color01{
  color: #65cfe9;
}

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

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

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

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

.open_bnr > * {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 280px;
    padding: 15px;
    background-image: 
      radial-gradient(rgba(255, 255, 255, 0.2) 15%, transparent 16%),
      radial-gradient(rgba(255, 255, 255, 0.2) 15%, transparent 16%),
      url(../images/bg_suisai07.jpg);
    background-position: 0 0, 6px 6px, center; /* 2つ目のドットをずらす */
    background-size: 12px 12px, 12px 12px, cover;
    background-repeat: repeat, repeat, no-repeat;
    border-radius: 50%;
    color: #ffffff;
    font-family: var(--jp-font);
    font-weight: 500;
    font-size: 110%;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-align: center;
    position: relative;
    z-index: 0;
    text-shadow: 0 0 5px rgba(0,0,0,0.25);
}

.open_bnr > *::before{
  content: '';
  position: absolute;
  background: url(../images/open_bnr_leaf.png) no-repeat center / contain;
  width: calc(100px * 0.8);
  height: calc(87px * 0.8);
  bottom: 20px;
  right: 20px;
  z-index: -1;
}

.open_bnr > *::after{
  content: '';
  position: absolute;
  background: url(../images/open_bnr_leaf.png) no-repeat center / contain;
  width: calc(100px * 0.8);
  height: calc(87px * 0.8);
  top: 20px;
  left: 20px;
  transform: rotate(180deg);
  z-index: -1;
}

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

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

.open_bnr .nairankai_tit {
  display: block;
  width: fit-content;
  margin: 0 0 10px;
  padding: 5px 50px;
  border-top: solid 2px rgb(255, 255, 255, 0.8);
  border-bottom: solid 2px rgb(255, 255, 255, 0.8);
  font-size: 95%;
  text-align: center;
}

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

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

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

.sp_only {
  display: none;
}

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


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

  .mvImg::before{
    background: url(../images/cloud.svg) no-repeat bottom / 750px 107px;
    width: 100%;
    height: 107px;
    bottom: -2px;
  }

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

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

  .mvCatch p {
    font-size: 130%;
    line-height: 1.75;
    text-align: center;
    padding: 20px 25px 20px 30px;
    /* background: url(../images/mv_catch_bg_sp.svg) no-repeat center / contain; */
    background: #effffd;
    mask: url(../images/mv_catch_bg_sp.svg) no-repeat center / contain;;
    -webkit-mask: url(../images/mv_catch_bg_sp.svg) no-repeat center / contain;;
    margin: 0 auto;
  }

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

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

  .open_bnr > *::before{
    width: calc(100px * 0.5);
    height: calc(87px * 0.5);
    bottom: 10px;
    right: 10px;
  }

  .open_bnr > *::after{
    width: calc(100px * 0.6);
    height: calc(87px * 0.6);
    top: 10px;
    left: 10px;
  }
}

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

  *バナーエリア

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

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

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

==================================================================================================================================*/
.clinic {
  position: relative;
  z-index: 1;
  background: url(../images/grassland.svg) repeat-x left bottom / 1142px 80px;
}

.clinic::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(../images/dots_maru01.png), url(../images/flower_maru01.png), url(../images/flower_maru02.png), url(../images/dots_maru02.png);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: calc(300px * 0.5) calc(294px * 0.5), calc(300px * 0.8) calc(281px * 0.8), calc(300px * 0.8) calc(404px * 0.8), calc(300px * 0.5) calc(283px * 0.5);
  background-position: 2.5% 27%, 103% 0%, -6% 70%, 98% 53%;
  top: 0;
  left: 0;
  z-index: -2;
}

/* ----- お知らせ ----- */
.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 40px;
}

.clinic .news .inner::before{
  content: '';
  position: absolute;
  background: url(../images/bird_fly01.png) no-repeat center / contain;
  width: calc(200px * 0.3);
  height: calc(188px * 0.3);
  top: 40px;
  left: -5px;
  z-index: 1;  
}

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

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

.clinic .news .top_title::before{
  width: calc(500px * 0.63);
  height: calc(247px * 0.63);
}

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

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

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

/* ----- 医院概要 ----- */
.clinic .info{
  position: relative;
  z-index: 0;
}

.clinic .info::before{
  content: '';
  position: absolute;
  background: url(../images/bird_fly04.png) no-repeat center / contain;
  width: calc(200px * 0.35);
  height: calc(121px * 0.35);
  top: -20px;
  right: 8%;
  z-index: -1;  
}

.clinic .info::after{
  content: '';
  position: absolute;
  background: url(../images/tree02.png) no-repeat center / contain;
  width: calc(300px * 0.75);
  height: calc(316px * 0.75);
  bottom: 30px;
  right: 2%;
  z-index: -1; 
}

.clinic .info .inner {
  display: flex;
  gap: 40px;
  padding: 30px 40px 60px;
}

.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-family: var(--en-font);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.clinic .info address .tel::before {
  content: "\f3cd";
  background: var(--sub-color);
}

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

.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-family: var(--en-font);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.clinic .info address .fax::before {
  content: "\f249";
  background: var(--sub02-color);
}

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

.clinic .info .speciality {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px auto 0;
  padding: 15px;
  background: var(--bg-color);
  border-radius: 9px;
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: url(../images/bg_suisai06.jpg) no-repeat center / cover;
  color: #fff;
  text-align: center;
  font-family: var(--jp-font);
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 7px;
}

.clinic .info .office_hour:first-child {
  margin-top: 30px;
}

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

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

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

.clinic .info .googlemap iframe {
  height: 350px;
  border-radius: 9px;
}

.clinic .info .hiyoko{
  display: flex;
  gap: 25px;
  width: fit-content;
  position: relative;
  left: 150px;
  bottom: 20px;
}

.clinic .info .hiyoko .hiyoko_img{
  background: url(../images/hiyoko01.png) no-repeat center / calc(200px * 0.3) calc(208px * 0.3);
  width: calc(200px * 0.3);
  height: calc(208px * 0.3);
}

.clinic .info .hiyoko .hiyoko_img:nth-of-type(2){
  margin-top: -15px;
}

@media screen and (max-width: 640px) {
  .clinic{
    background: url(../images/grassland.svg) repeat-x left bottom / 750px 53px;
  }

  .clinic::before{
    background-size: calc(300px * 0.3) calc(294px * 0.3), calc(300px * 0.3) calc(281px * 0.3), calc(300px * 0.3) calc(404px * 0.3), calc(300px * 0.3) calc(283px * 0.3);
    background-position: -3% 30%, 110% -2%, -17% 84%, 104% 60%;
  }

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

  .clinic .news .inner::before{
    width: calc(200px * 0.2);
    height: calc(188px * 0.2);
    top: 145px;
    left: 4px;
  }

  .clinic .news .top_title::before{
    width: calc(500px * 0.58);
    height: calc(247px * 0.58);
  }

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

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

  .clinic .info::before{
    width: calc(200px * 0.25);
    height: calc(121px * 0.25);
    top: -30px;
    right: 20px;
  }

  .clinic .info::after{
    width: calc(300px * 0.5);
    height: calc(316px * 0.5);
    bottom: 20px;
    right: -40px;
  }

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

  .clinic .info .speciality .title {
    width: 100%;
    padding: 5px 20px;
  }

  .clinic .info .hiyoko{
    bottom: 10px;
    left: 10px;
    gap: 15px;
  }

  .clinic .info .hiyoko .hiyoko_img{
    background: url(../images/hiyoko01.png) no-repeat center / calc(200px * 0.2) calc(208px * 0.2);
    width: calc(200px * 0.2);
    height: calc(208px * 0.2);
  }

  .clinic .info .hiyoko .hiyoko_img:nth-of-type(2) {
    margin-top: -12px;
  }
}


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

  *ご挨拶

================================================================================================================================== */
.greeting{
  background: 
  url(../images/suisai_line.png) repeat-x top left / 600px 10px, 
  url(../images/green_frame_left.png) no-repeat top 10px left / calc(600px * 0.6) calc(690px * 0.6), 
  url(../images/green_frame_right.png) no-repeat top 10px right / calc(600px * 0.6) calc(690px * 0.6), 
  url(../images/wave02.svg) repeat-x bottom right / 300px 23px,
  radial-gradient(#FEF7CB 18%, transparent 18%) repeat 0 0 / 12px 12px,
  radial-gradient(#FEF7CB 18%, transparent 18%) repeat 6px 6px / 12px 12px #fff;
  padding: 13px 0;
  position: relative;
  z-index: 1;
}

.greeting::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 230px;
  background-image: 
  url(../images/blue_maru.png), 
  url(../images/green_maru.png), 
  url(../images/dots_maru03.png), 
  url(../images/green_maru.png), 
  url(../images/dots_maru02.png);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 
  calc(600px * 0.25) calc(600px * 0.25), 
  calc(600px * 0.07) calc(600px * 0.07), 
  calc(300px * 0.3) calc(299px * 0.3), 
  calc(600px * 0.15) calc(600px * 0.15), 
  calc(300px * 0.4) calc(283px * 0.4);
  background-position: 3% 100%, 17% 0%, 25% 75%, 90% 79%, 102% 23%;
  bottom: -40px;
  left: 0;
  z-index: -1;
}

.greeting .top_title::before{
  background: url(../images/title_bg_yellow.png) no-repeat center / contain;
}

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

.greeting_text{
  margin-top: 40px;
}

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

.greeting_img{
  position: relative;
  z-index: 0;
}

.greeting_img::before{
  content: '';
  position: absolute;
  background: var(--main-color);
  -webkit-mask: url(../images/shape03.svg) no-repeat center / contain;
  mask: url(../images/shape03.svg) no-repeat center / contain;
  width: 100%;
  height: 100%;
  bottom: -7px;
  right: -7px;
  z-index: -1;
}

.greeting_img::after{
  content: '';
  position: absolute;
  background: url(../images/owl02.png) no-repeat center / contain;
  width: calc(300px * 0.23);
  height: calc(523px * 0.23);
  top: 20px;
  right: 33px;
  z-index: 0;
}

.greeting_img img{
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: url(../images/shape03.svg);
  mask-image: url(../images/shape03.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain; 
  mask-size: contain;
}

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

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

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

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

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
  .greeting{
    background: 
      url(../images/suisai_line.png) repeat-x top left / 400px 6.7px, 
      url(../images/green_frame_left.png) no-repeat top 7px left / calc(600px * 0.22) calc(690px * 0.22), 
      url(../images/green_frame_right.png) no-repeat top 7px right / calc(600px * 0.22) calc(690px * 0.22), 
      url(../images/wave02.svg) repeat-x bottom right / 300px 23px,
      radial-gradient(#FEF7CB 18%, transparent 18%) repeat 0 0 / 12px 12px,
      radial-gradient(#FEF7CB 18%, transparent 18%) repeat 6px 6px / 12px 12px #fff;
  }

  .greeting::before{
    height: 150px;
    bottom: -30px;
    background-size: 
      calc(600px * 0.1) calc(600px * 0.1), 
      calc(600px * 0.035) calc(600px * 0.035), 
      calc(300px * 0.15) calc(299px * 0.15), 
      calc(600px * 0.07) calc(600px * 0.07), 
      calc(300px * 0.2) calc(283px * 0.2);
    background-position: -5% 100%, 17% 25%, 25% 76%, 85% 79%, 104% 23%;
  }

  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }

  .greeting_text{
    margin-top: 0;
  }

  .greeting_img{
    width: 90%;
    margin: 0 auto;
  }

  .greeting_img::after{
    width: calc(300px * 0.18);
    height: calc(523px * 0.18);
    top: 20px;
    right: 23px;
  }

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

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

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

==================================================================================================================================*/
.feature {
  position: relative;
  z-index: 0;
  background: url(../images/wave01.svg) repeat-x bottom left / 300px 23px, var(--bg-color);
  padding-bottom: 43px;
}

/* 葉っぱと丸 */
.feature::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    url(../images/leaf02.svg), 
    url(../images/leaf01.svg), 
    url(../images/leaf02.svg), 
    url(../images/sketch_maru.svg), 
    url(../images/leaf01.svg), 
    url(../images/sketch_maru.svg), 
    url(../images/leaf02.svg), 
    url(../images/sketch_maru.svg);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 
    calc(57px* 2.8) calc(150px* 2.8), 
    calc(94px* 2.8) calc(150px* 2.8), 
    calc(57px* 2.8) calc(150px* 2.8), 
    calc(195px* 2) calc(150px* 2), 
    calc(94px* 2.5) calc(150px* 2.5),
    calc(195px* 2) calc(150px* 2), 
    calc(57px* 2.8) calc(150px* 2.8),
    calc(195px* 2) calc(150px* 2);
  background-position: 93% -6%, 3% 4%, 97% 40%, 110% 51%, 0% 66%, -10% 72%, 98% 92%, 110% 98%;
  top: 0;
  left: 0;
  z-index: -1;
}

/* ドットと丸 */
.feature::after{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    url(../images/dots01.svg), 
    url(../images/sketch_maru.svg), 
    url(../images/sketch_maru.svg), 
    url(../images/dots02.svg), 
    url(../images/dots01.svg), 
    url(../images/dots02.svg);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 
    calc(135px* 1.1) calc(150px* 1.1), 
    calc(195px* 2) calc(150px* 2), 
    calc(195px* 2) calc(150px* 2), 
    calc(77px* 1.8) calc(150px* 1.8), 
    calc(135px* 1) calc(150px* 1), 
    calc(77px* 1.6) calc(150px* 1.6);
  background-position: 97% 17%, 111% 10%, -10% 33%, 3% 29%, 3% 86%, 98% 61%;
  top: 0;
  left: 0;
  z-index: -1;
}

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

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

.feature_img{
  width: 550px;
  flex-shrink: 0;
  margin-top: -50px;
  position: relative;
  z-index: 2;
}

.feature_img::before{
  content: '';
  position: absolute;
  background: url(../images/shape01.svg) no-repeat center / contain;
  width: calc(153px * 3);
  height: calc(150px * 3);
  left: -50px;
  bottom: -30px;
  z-index: -1;
}

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

.feature_inner{
  position: relative;
  z-index: 0;
  display: flex;
  flex-flow: column;
  width: calc(100% + 50px);
  height: 100%;
  min-height: 445px;
  padding: 73px 50px 60px 60px;
  background: url(../images/wave01.svg) repeat-x top right / 300px 23px; 
}

.feature_inner::before{
  content: '';
  position: absolute;
  background: #fff;
  border-radius: 0 0 20px 20px;
  width: calc(100% + 250px);
  height: calc(100% - 23px);
  right: 0;
  bottom: 0;
  z-index: -1;
}

.feature_inner::after{
  content: '';
  position: absolute;
  background: url(../images/bird_fly03.png) no-repeat center / contain;
  width: calc(200px * 0.48);
  height: calc(127px * 0.48);
  top: -40px;
  right: 25px;
  z-index: 0;
}

.feature_item:nth-of-type(2) .feature_inner::after{
  background: url(../images/hiyoko02.png) no-repeat center / contain;
  width: calc(200px * 0.35);
  height: calc(250px * 0.35);
  right: unset;
  left: 25px;
}

.feature_item:nth-of-type(3) .feature_inner::after{
  background: url(../images/owl02.png) no-repeat center / contain;
  width: calc(200px * 0.33);
  height: calc(349px * 0.33);
  right: 25px;
}

.feature_item:nth-of-type(4) .feature_inner::after{
  background: url(../images/bird_fly02.png) no-repeat center / contain;
  width: calc(200px * 0.45);
  height: calc(151px * 0.45);
  right: unset;
  left: 25px;
  transform: scale(-1, 1);
}

.feature_item:nth-of-type(5) .feature_inner::after{
  background: url(../images/hiyoko01.png) no-repeat center / contain;
  width: calc(200px * 0.35);
  height: calc(208px * 0.35);
  right: 25px;
}

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

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

.feature_title h3{
  font-family: var(--jp-font);
  font-weight: 500;
  font-size: 160%;
  line-height: 1.6;
}

.feature_num{
  margin: 0 0 25px!important;
  font-family: var(--en-font);
  font-weight: 400;
  font-size: 110%;
  line-height: 1;
  padding: 8px 18px;
  background: var(--main-color);
  width: fit-content;
  color: #fff;
  border-radius: 5px;
}

.feature_num span{
  font-size: 130%;
}

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

.feature_item .btn01 > *{
  padding: 10px 40px 10px 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_inner::before{
  right: unset;
  left: 0;
}

.feature_item:nth-child(even) .feature_img::before{
  background: url(../images/shape02.svg) no-repeat center / contain;
  width: calc(151px * 3);
  height: calc(150px * 3);
  left: unset;
  right: -70px;
  bottom: -40px;
  transform: scale(-1,1) rotate(30deg);
}

.feature_item:nth-child(even) .feature_num{
  background: #c1e089;
}

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

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

@media screen and (max-width: 640px) {
  .feature{
    padding-bottom: 0;
  }

  .feature::before{
    background-size: 
      calc(57px* 1.5) calc(150px* 1.5), 
      calc(94px* 1.5) calc(150px* 1.5), 
      calc(57px* 1.5) calc(150px* 1.5), 
      calc(195px* 0.6) calc(150px* 0.6), 
      calc(94px* 1.5) calc(150px* 1.5),
      calc(195px* 0.6) calc(150px* 0.6), 
      calc(57px* 1.5) calc(150px* 1.5),
      calc(195px* 0.6) calc(150px* 0.6);
    background-position: 
      -17% 17%, 
      123% 46%, 
      -17% 65%, 
      110% 43%, 
      98% 99%, 
      -10% 62%, 
      104% 92%, 
      110% 99%;
  }

  .feature::after{
    background-size: 
      calc(135px* 0.6) calc(150px* 0.6), 
      calc(195px* 0.6) calc(150px* 0.6), 
      calc(195px* 0.6) calc(150px* 0.6), 
      calc(77px* 1.0) calc(150px* 1.0), 
      calc(135px* 0.6) calc(150px* 0.6), 
      calc(77px* 1.0) calc(150px* 1.0);
    background-position:
      110% 10%, 
      121% 11%, 
      -10% 32%, 
      -7% 29%, 
      -10% 98%, 
      105% 73%;
  }

  .feature .top_title{
    position: relative;
    z-index: 4;
  }
  
  .feature_list{
    gap: 40px;
  }

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

  .feature_img{
    width: 100%;
    margin: 0;
  }

  .feature_img::before{
    width: calc(153px * 0.8);
    height: calc(150px * 0.8);
    left: -40px;
    bottom: unset;
    top: -30px;
  }

  .feature_inner{
    width: 100%;
    min-height: auto;
    padding: 40px 20px 30px;
    margin-top: -20px;
    background: url(../images/wave01.svg) repeat-x top right / 300px 24px;
    z-index: 3;
  }

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

  .feature_inner::after{
    width: calc(200px * 0.35);
    height: calc(127px * 0.35);
    top: 0;
    right: 5px;
  }

  .feature_item:nth-of-type(2) .feature_inner::after{
    width: calc(200px * 0.26);
    height: calc(250px * 0.26);
    left: unset;
    right: 10px;
  }

  .feature_item:nth-of-type(3) .feature_inner::after{
    width: calc(200px * 0.24);
    height: calc(349px * 0.24);
    right: 10px;
  }

  .feature_item:nth-of-type(4) .feature_inner::after{
    width: calc(200px * 0.35);
    height: calc(151px * 0.35);
    left: unset;
    right: 10px;
    transform: unset;
  }

  .feature_item:nth-of-type(5) .feature_inner::after{
    width: calc(200px * 0.28);
    height: calc(208px * 0.28);
    right: 10px;
  }

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

  .feature_num{
    font-size: 100%;
    padding: 8px 13px;
    margin: 0 0 15px !important;
  }

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

  .feature_title h3{
    font-size: 135%;
    letter-spacing: 0.08em;
    line-height: 1.7;
  }

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

  /* 左右 */
  .feature_item:nth-child(even){
    flex-flow: column;
  }

  .feature_item:nth-child(even) .feature_img::before{
    width: calc(151px * 0.8);
    height: calc(150px * 0.8);
    left: unset;
    right: -40px;
    bottom: -40px;
  }

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

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

  *お悩みから探す

================================================================================================================================== */
.search{
  position: relative;
  z-index: 0;
}

.search::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(../images/cloud_blue01.png), url(../images/green_maru.png), url(../images/cloud_blue02.png), url(../images/dots_maru01.png), url(../images/dots_maru03.png);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: calc(300px * 0.5) calc(135px * 0.5), calc(600px * 0.7) calc(600px * 0.7), calc(300px * 0.4) calc(169px * 0.4), calc(300px * 0.5) calc(294px * 0.5), calc(300px * 0.5) calc(299px * 0.5);
  background-position: 6% 7%, -15% 30%, 97% 8%, 3% 98%, 88% 34%;
  top: 0;
  left: 0;
  z-index: -1;
}

.search::after{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(../images/dots_maru02.png), url(../images/blue_maru.png);
  background-repeat: no-repeat, no-repeat;
  background-size: calc(300px * 0.55) calc(283px * 0.55), calc(600px * 0.5) calc(600px * 0.5);
  background-position: 93% 100%, 108% 95%;
  bottom: -120px;
  left: 0;
  z-index: -1;
}

.search .top_title::before{
  background: url(../images/title_bg_yellow.png) no-repeat center / contain;
}

.search_panel{
  position: relative;
  z-index: 0;
  display: flex;
  flex-flow: column;
  gap: 20px;
  padding: 25px;
  background: var(--bg-color);
  background: url(../images/bg_suisai.jpg) no-repeat center bottom / cover;
  z-index: 0;
  border-radius: 10px;
  border-bottom: 5px solid #d6ece6;
}

.search_panel::before{
  content: '';
  position: absolute;
  background: url(../images/bird01.png) no-repeat center / contain;
  width: calc(200px * 0.3);
  height: calc(276px * 0.3);
  top: -75px;
  right: 105px;
  z-index: 1;
}

.search_panel::after{
  content: '';
  position: absolute;
  background: url(../images/bird02.png) no-repeat center / contain;
  width: calc(200px * 0.3);
  height: calc(276px * 0.3);
  top: -75px;
  right: 30px;
  z-index: 1;
}

.search_img{
  width: 100%;
  margin: 0 !important;
}

.search_img img {
  width: 100%;
  border-radius: 8px;
}

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

.search_item {
  position: relative;
  z-index: 1;
  width: calc((100% - 40px) / 3);
  height: auto;
  min-height: 70px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  /* align-items: center; */
  padding: 10px 10px 10px 60px;
  background: #fff;
  font-family: var(--jp-font);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-color);
  border-radius: 5px;
}

.search_item:hover {
  background: var(--sub-color);
  color: #fff;
}

.search_item::before {
  display: block;
  position: absolute;
  top: 50%;
  left: 19px;
  z-index: 2;
  transform: translateY(-50%);
  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;
  content: "";
  transition: background 0.2s;
}

.search_item:hover::before{
  background: var(--sub-color);
}

.search_item::after {
  display: block;
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 1;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--main-color);
  background: var(--main-color);
  content: "";
  transition: background 0.2s;
}

.search_item:hover::after{
  border: 1px solid var(--sub-color);
  background: var(--bg-color);
}
a.search_item[href="#"]{
	pointer-events: none;
}

/* ==============================================
  *SP お悩みから探す
============================================== */
@media screen and (max-width: 640px) {
  .search::before{
    background-size: 
    calc(300px * 0.2) calc(135px * 0.2), 
    calc(600px * 0.3) calc(600px * 0.3), 
    calc(300px * 0.15) calc(169px * 0.15), 
    calc(300px * 0.3) calc(294px * 0.3), 
    calc(300px * 0.3) calc(299px * 0.3);
    background-position: 
    4% 2%, 
    -45% 40%, 
    97% 4%, 
    -9% 94%, 
    105% 34%;
  }

  .search::after{
    background-size: calc(300px * 0.3) calc(283px * 0.3), calc(600px * 0.2) calc(600px * 0.2);
    background-position: 112% 73%, 126% 87%;
    bottom: -90px;
  }

  .search_panel{
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }
  
  .search_panel::before{
    width: calc(200px * 0.18);
    height: calc(276px * 0.18);
    top: -35px;
    right: 50px;
  }

  .search_panel::after{
    width: calc(200px * 0.18);
    height: calc(276px * 0.18);
    top: -35px;
    right: 0;
  }

  .search_img{
    width: 100%;
  }

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

  .search_item {
    width: 100%;
    min-height: auto;
    padding: 12px 10px 12px 50px;
	  text-align:left;
  }

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

}


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

  *診療案内

================================================================================================================================== */
.medical {
  position: relative;
  z-index: 0;
  background: url(../images/tree02.png) no-repeat bottom 110px right 20px / calc(300px * 0.9) calc(316px * 0.9), url(../images/grassland02.jpg) no-repeat bottom -50px left / auto 365px;
}

.medical::before{
  content: '';
  position: absolute;
  background: url(../images/owl01.png) no-repeat center / contain;
  width: calc(300px * 0.6);
  height: calc(205px * 0.6);
  top: 20px;
  left: -10px;
  z-index: -1;
}

.medical::after{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(../images/leaf03.png), url(../images/leaf04.png);
  background-repeat: no-repeat, no-repeat;
  background-size: calc(200px * 0.5) calc(267px * 0.5), calc(200px * 0.2) calc(110px * 0.2);
  background-position: 6% 43%, 93% 25%;
  top: 0;
  left: 0;
  z-index: -2;
}

.medical .inner{
  padding-top: 50px;
}


.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_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: rgba(255, 255, 255, 0.9);
  background: var(--bg-gray-color);
  background: url(../images/bg_suisai03.jpg) no-repeat center / cover;
  aspect-ratio: 1 / 1;
  text-align: center;
  border-radius: 10px;
  border: 5px solid #cee5d7;
}

.medical_item:nth-of-type(even) .medical_inner{
  background: url(../images/bg_suisai04.jpg) no-repeat center / cover;
  border: 5px solid #f6eec0;
}

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

.medical_icon {
  width: 70%;
  max-width: 130px;
  margin: 0 auto 15px !important;
  padding: 30px;
  background: url(../images/frame_maru01.svg) no-repeat center / contain, rgba(255, 255, 255, 1);
  border-radius: 50%;
}

.medical_item:nth-of-type(even) .medical_icon{
  background: url(../images/frame_maru02.svg) no-repeat center / contain, rgba(255, 255, 255, 1);
}

.medical_title h3 {
  color: var(--text-color);
  font-family: var(--jp-font);
  font-weight: 500;
  font-size: 123%;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

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

.medical_item:nth-of-type(even) .medical_title_eng{
  color: var(--sub-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);
}


/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
  .medical {
    background: url(../images/tree02.png) no-repeat bottom 40px right -30px / calc(300px * 0.5) calc(316px * 0.5), url(../images/grassland02.jpg) no-repeat bottom -50px left / auto 137px;
  }
  .medical::before{
    width: calc(300px * 0.3);
    height: calc(205px * 0.3);
    top: 0;
  }

  .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%;
    padding: 15px;
  }

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

}


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

  *医療コラム（パターン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;
  position: relative;
  z-index: 0;
}

#infinitySlider::before{
  content: '';
  position: absolute;
  background: #E0F1C5;
  width: 100%;
  height: 50%;
  top: 0;
  left: 0;
  z-index: -1;
}

#infinitySlider::after{
  content: '';
  position: absolute;
  background: var(--bg-color);
  width: 100%;
  height: 50%;
  bottom: 0;
  left: 0;
  z-index: -1;
}

#infinitySlider .splide__list {
  gap: 30px;
}

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

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

#infinitySlider .splide__slide img{
  border-radius: 10px;
}

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