@charset "UTF-8";

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

  *基本設定

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.front {
  overflow: hidden;
  background: url(../images/front/bg_mv01.jpg) no-repeat left top 150px,
  url(../images/front/bg_mv02.jpg) no-repeat right top 500px;
}

section .inner {
  padding: 100px 0;
}

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

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .front{
    background-position: left top 400px,right top 800px;
    background-size: 80% auto,80% auto;
  }

  section .inner {
    padding: 80px 20px;
  }

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

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

  *アニメーション

================================================================================================================================== */
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeRightAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeLeftAnime {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes zoomInAnime {
  from {
    pointer-events: none;
    transform: scale(0.5);
  }

  to {
    pointer-events: auto;
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes zoomOutAnime {
  from {
    pointer-events: none;
    transform: scale(1);
  }

  to {
    pointer-events: auto;
    opacity: 1;
    transform: scale(1.5);
  }
}
@keyframes scrolldown {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.fadeUp,
.zoomOut,
.zoomIn,
.fadeRight,
.fadeLeft {
  opacity: 0;
}

.fadeUp.is-active {
  animation: fadeUpAnime 1s forwards;
}

.fadeRight.is-active {
  animation: fadeRightAnime 1s forwards;
}

.fadeLeft.is-active {
  animation: fadeLeftAnime 1s forwards;
}

.zoomIn.is-active {
  animation: zoomInAnime 0.8s forwards;
}

.zoomOut.is-active {
  animation: zoomOutAnime 1s forwards;
}

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

  *タイトル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.top_title {
  margin-bottom: 50px;
  line-height: 1.5;
  text-align: center;
  padding-top: 70px;
  background: url(../images/common/mark.png) no-repeat center top / auto 65px;
  /* 左寄せ */
}

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .top_title {
    margin-bottom: 40px;
  }

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

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

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

  *メインビジュアル

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

@media print, screen and (min-width: 641px){
  .mainvisual{
    max-width: calc(100% - 100px);
    margin: auto;
    border-radius: 20px;
    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: "\f060";
}

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

/* 各スライダーのボタンは非表示に */
.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 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 {
  font-family: var(--ja);
  font-weight: 500;
  font-size: 220%;
  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%;
}

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

/* ----- 開院バナーとリクルートバナー ----- */
.flex_btn {
  position: absolute;
  display: flex;
  flex-direction: column;
  bottom: 0;
  right: 0;
  gap: 20px 0;
}

.open_bnr:nth-of-type(2) {
  position: absolute;
  right: 0;
  bottom: 250px;
  display: block;
  padding: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  font-family: var(--mix);
}

.open_bnr:nth-of-type(1) {
  position: absolute;
  right: 0;
  bottom: 50px;
  display: block;
  padding: 4px;
  background: rgb(226 168 150 / 65%);
  /* border-radius: 50%; */
  border-radius: 14px;
  font-family: var(--mix);
  transition: opacity 0.2s;
}

.open_bnr:nth-of-type(1) > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  /* height: 280px; */
  height: 180px;
  padding: 15px;
  background: url(../images/front/recruit_bg.jpg) no-repeat center / cover;
  /* border-radius: 50%; */
  border-radius: 10px;
}

.open_bnr:nth-of-type(2) > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  /* height: 280px; */
  height: 180px;
  padding: 15px;
  background: linear-gradient(180deg,var(--main-color),var(--sub-color));
  /* border-radius: 50%; */
  border-radius: 10px;
  color: #ffffff;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
}

.open_bnr > a:hover {
  color: var(--main-color) !important;
  opacity: 0.8;
}

.open_bnr:nth-of-type(2) p:not(.nairankai_tit){
  filter: drop-shadow(0 0 1px var(--main-color)) drop-shadow(0 0 3px var(--main-color));
}

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

.open_bnr:nth-of-type(1) .date {
  margin-top: 7px;
  font-size: 110%;
  line-height: 1;
}

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

.open_bnr:nth-of-type(1) .open_text {
  margin: 10px 0 5px;
  font-size: 180%;
  line-height: 1.2;
  text-align: center;
}

.open_bnr:nth-of-type(1) .open_text span {
  display: inline-block;
  margin: 0 2px;
  color: var(--accent-color);
  font-size: 110%;
}

.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 .text_link{
    color: #fff;
    font-size: 90%;
    margin-top: 3px;
    text-decoration: underline;	
}
.open_bnr .text_link i{
	margin-left: 4px;
}
.open_bnr .text_link:hover{
	opacity: 0.7;
}

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

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

.mainvisual .mv_point{
  position: absolute;
  left: 0;
  bottom: 50px;
}
.mv_point{
  display: flex;
  gap: 15px;
}
.mv_point li{
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 180px;
  height: 180px;
  color: #fff;
  font-size: 125%;
  font-family: var(--mix);
  line-height: 1.5;
  background: var(--main-color) url(../images/common/mark_wh.svg) no-repeat center / 95%;
  border-radius: 50%;
  outline: 4px solid rgba(255,255,255,0.3);
  transition: opacity 0.2s;
}
.mv_point li:nth-of-type(2){
  background-color: var(--sub-color);
}
.mv_point li:nth-of-type(3){
  /*font-size: 100%;*/
  background-color: var(--accent-color);
}
.mv_point li a{
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.mv_point li .line{
  display: block;
  width: 80%;
  height: 1px;
  background: #fff;
  margin: 5px auto;
}

.mv_point li:has(a:hover){
  opacity: 0.8;
}

/* ----- スマホ専用エリア ----- */
.sp_only {
  display: none;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .mainvisual {
    height: 400px;
  }

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

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

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

  /* ----- コンテンツ ----- */
  .mvContents {
    display: none;
  }

  /* ----- 開院バナー ----- */
  .flex_btn {
    position: static;
    width: 100%;
    left: 0;
    flex-direction: column-reverse;
  }

  .open_bnr:nth-of-type(2) {
    position: relative;
    width: fit-content;
    left: 0;
    right: 0;
    bottom: unset;
    margin: auto;
  }
  
  .open_bnr:nth-of-type(1) {
    position: relative;
    left: 0;
    right: 0;
    bottom: unset;
    display: block;
    width: fit-content;
    margin: auto;
  }
  
  .open_bnr:nth-of-type(1) > * {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
  }
  
  .open_bnr:nth-of-type(2) > * {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
  }

  .mv_point{
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px 2%;
    width: 100%;
  }
  .mv_point li{
    width: 45%;
    height: auto;
    aspect-ratio: 1/1;
    font-size: 110%;
  }
  .mv_point li:nth-of-type(3){
    width: 100%;
    height: auto;
    aspect-ratio: unset;
    border-radius: 20px;
    padding: 10px 0;
  }

  /* ----- スマホ専用エリア ----- */
  .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: 20px;
    width: 100%;
  }
}

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

  *バナーエリア

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

.top_banner .inner{
  padding: 100px 0 130px;
}

/* 画像のみのバナー */
.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: url(../images/common/bg_stone.jpg);
  border-radius: 10px;
}

.top_banner .input .banner_slide .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;
  border-radius: 10px;
}

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

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

.top_banner .input .banner_slide .slide_content {
  font-family: var(--ja);
  font-weight: 500;
  font-size: 90%;
}

.top_banner .input a.banner_slide:hover {
  opacity: 0.6;
}

/* ----- グリッドバナー ----- */
.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(--sub-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) {
  .top_banner .inner{
    padding: 70px 20px;
  }
  /* ----- グリッドバナー ----- */
  .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）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.clinic {
  position: relative;
  z-index: 1;
  background: url(../images/front/bg_wave.svg) no-repeat center top,
  url(../images/front/bg_blue.jpg) repeat center bottom;
}
.clinic::before,
.clinic::after{
  content: "";
  position: absolute;
}
.clinic::before{
  top: -150px;
  left: 0;
  width: 440px;
  height: 403px;
  background: url(../images/front/leaf03.png) no-repeat center / cover;
}
.clinic::after{
  top: -100px;
  right: 0;
  width: 420px;
  height: 363px;
  background: url(../images/front/leaf04.png) no-repeat center / cover;
}

/* ----- お知らせ ----- */
.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: 150px 0 70px;
}

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

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

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

/* ----- 医院概要 ----- */
.clinic .info .inner {
  display: flex;
  gap: 40px;
  padding: 0 0 100px;
}

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

.clinic .info .info_right {
  margin: auto 0;
}

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

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

.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-weight: 400;
  font-size: 30px;
  line-height: 1;
}

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

.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-size: 30px;
  line-height: 1;
}

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

.clinic .info .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: 20px;
  background: #ffffff;
  border-radius: 10px;
  font-family: var(--ja);
  font-weight: 500;
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  color: #ffffff;
  text-align: center;
  border-radius: 10px;
}

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

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

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

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

/* クレジットカード */

.clinic .info .info_cash {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px auto 0;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  font-family: var(--ja);
  font-weight: 500;
}

.clinic .info .cash_title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  color: #ffffff;
  text-align: center;
  border-radius: 10px;
}

.clinic .info .card_brands {
  display: flex;
  gap: 10px;
  align-items: center;
}

.clinic .info .card_brands img {
  height: 60px;
  width: auto;
  aspect-ratio: 1 / 1;
}

/* style.cssの1472にて医院概要以外のクレカ部分非表示に設定 */

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .clinic::before{
    top: -70px;
    width: 160px;
    height: 147px;
  }
  .clinic::after{
    top: -60px;
    width: 150px;
    height: 130px;
  }
  /* ----- お知らせ ----- */
  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 60px 20px;
  }

  /* ----- 医院概要 ----- */
  .clinic .info .inner {
    flex-flow: column;
    padding: 0 20px 70px;
  }

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

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

  .clinic .info .speciality .title {
    width: 100%;
  }
	
  /* クレジットカード */
  .clinic .info .info_cash {
    flex-flow: column;
    gap: 10px;
    padding: 10px;
  }

  .clinic .info .cash_title {
    width: 100%;
  }
}

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

  *ご挨拶（パターン01）

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

/* 間の背景 */
.bg_separate01{
  position: relative;
  z-index: 0;
  background: url(../images/front/bg_greet.svg) no-repeat left -100px bottom -700px / 800px auto;
}
.bg_separate01::before{
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: url(../images/front/bg_blue.jpg) repeat center top;
}
.bg_separate01_inner{
  max-width: calc(100% - 100px);
  width: 100%;
  height: 300px;
  background: url(../images/front/bg_separate02_dmy.jpg) no-repeat center / cover;
  border-radius: 20px;
  margin: auto;
}
@media screen and (max-width: 640px) {
  .bg_separate01{
    background: none;
  }
  .bg_separate01_inner{
    max-width: calc(100% - 20px);
    width: 100%;
    height: 170px;
    background: url(../images/front/bg_separate02_dmy_sp.jpg) no-repeat center / cover;
  }
}

/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.greeting {
  position: relative;
  z-index: 1;
  background: url(../images/front/bg_greet.svg) no-repeat left -100px top -100px / 800px auto;
}

.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 > *:not(:last-child) {
  margin-bottom: 2em;
}

.greeting_img{
  position: relative;
  border-radius: 10px;
  outline: 1px solid rgba(255, 255, 255, 0.6);
  outline-offset: -15px;
}
.greeting_img::before,
.greeting_img::after{
  content: "";
  position: absolute;
  z-index: 1;
}
.greeting_img::before{
  top: -15px;
  left: -15px;
  width: 117px;
  height: 130px;
  background: url(../images/front/acce_doctor01.png) no-repeat center / cover;
}
.greeting_img::after{
  right: -20px;
  bottom: -15px;
  width: 91px;
  height: 100px;
  background: url(../images/front/acce_doctor02.png) no-repeat center / cover;
}

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

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

.greeting_profile .position {
  color: var(--main-color);
  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-size: 95% auto;
    background-position: left -20px bottom -20px;
  }
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }
  .greeting_profile .position{
    font-size: 110%;
  }
  .greeting_btn {
    margin-top: 40px;
  }
}

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

  *病状、症状から探す（パターン01）

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

/* 間の背景 */
.bg_separate02{
  position: relative;
  width: 100%;
  height: 400px;
  background: url(../images/front/bg_separate_wh.svg) no-repeat center bottom / 100% auto,
  url(../images/front/bg_separate01_dmy.jpg) no-repeat center / cover;
  box-shadow: inset 0 10px 15px -10px rgba(0, 0, 0, 0.3);
}
.bg_separate02::before,
.bg_separate02::after{
  content: "";
  position: absolute;
  z-index: 1;
}
.bg_separate02::before{
  left: 0;
  bottom: -110px;
  width: 534px;
  height: 337px;
  background: url(../images/front/leaf01.png) no-repeat left top / cover;
}
.bg_separate02::after{
  right: 0;
  bottom: -110px;
  width: 497px;
  height: 353px;
  background: url(../images/front/leaf02.png) no-repeat right top / cover;
}
@media screen and (max-width: 640px) {
  .bg_separate02{
    width: 100%;
    height: 150px;
    background: url(../images/front/bg_separate_wh_sp.svg) no-repeat center bottom / auto 57px,
    url(../images/front/bg_separate01_dmy_sp.jpg) no-repeat center / cover;
  }
  .bg_separate02::before{
    left: 0;
    bottom: -30px;
    width: 150px;
    height: 95px;
    background: url(../images/front/leaf01.png) no-repeat left top / cover;
  }
  .bg_separate02::after{
    right: 0;
    bottom: -30px;
    width: 150px;
    height: 107px;
    background: url(../images/front/leaf02.png) no-repeat right top / cover;
  }
}

/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.search {
  position: relative;
}

.search .tab_list {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.search .tab_list li {
  position: relative;
  display: flex;
  flex: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 10px 20px;
  color: #ffffff;
  font-family: var(--ja);
  font-weight: 500;
  font-size: 140%;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.2s, padding 0.2s;
  border-radius: 10px;
}

.search .tab_list li::after{
  display: none;
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  bottom: -10px;
  margin: auto;
  width: 15px;
  height: 10px;
  clip-path: polygon(0% 0%,100% 0%,50% 100%,0% 0%);
}

.search .tab_list li:nth-of-type(1){
  background: var(--main-color);
}
.search .tab_list li:nth-of-type(1)::after{
  background: var(--main-color);
}

.search .tab_list li:nth-of-type(2){
  background: var(--sub-color);
}
.search .tab_list li:nth-of-type(2)::after{
  background: var(--sub-color);
}

.search .tab_list li:nth-of-type(3){
  background: var(--accent-color);
}
.search .tab_list li:nth-of-type(3)::after{
  background: var(--accent-color);
}

.search .tab_list li.is-active::after {
  display: block;
}

/* ----- パネル ----- */
.search .panel_wrapper{
  margin-top: 10px;
}
.search .panel {
  display: none;
  margin: 0 !important;
  padding: 20px;
  background: url(../images/common/bg_stone.jpg);
  border-radius: 10px;
}

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

/* ----- 項目 ----- */
.search_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: fit-content;
}

.search_list a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 60px;
  padding: 10px 30px;
  background-image: url(../images/front/arrow_bk.svg);
  background-position: center right 15px;
  background-size: 30px auto;
  background-repeat: no-repeat;
  color: var(--text-color);
  font-family: var(--ja);
  font-weight: 500;
  font-size: 110%;
  border-radius: 10px;
  border: 1px solid #fff;
}

.search_list a:hover{
  background-position: center right 10px;
}

.panel:nth-of-type(1) .search_list a{
  background-color: #dce7f1;
}

.panel:nth-of-type(2) .search_list a{
  background-color: #dcece9;
}

.panel:nth-of-type(3) .search_list a{
  background-color: #f8eae6;
}

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

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

.panel_flex .search_list {
  grid-template-columns: repeat(2, 1fr);
  width: calc(50% - 10px);
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .search .tab_list {
    gap: 2%;
    margin: 0 0 15px;
  }

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

  /* ----- パネル ----- */
  .search .panel {
    padding: 10px;
  }

  /* ----- 項目 ----- */
  .search_list {
    grid-template-columns: repeat(1, 1fr);
  }
  .search_list a{
        font-size: 86%;
  }

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

  .panel_flex .search_img {
    width: 100%;
  }

  .panel_flex .search_list {
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }
}

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

  *診療案内（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  background: url(../images/front/bg_med_top.svg) no-repeat center top / 100% auto,
  url(../images/front/bg_med_bottom.svg) no-repeat center bottom / 100% auto,
  linear-gradient(to Bottom,rgba(110, 155, 197, 0.2),rgba(111, 176, 164, 0.2)),
  url(../images/front/bg_med.jpg) no-repeat center / cover;
}

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

.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.8);
  text-align: center;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  outline: 1px solid rgba(110, 155, 197, 0.5);
  outline-offset: -5px;
}

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

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

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

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

.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: linear-gradient(135deg,var(--main-color),var(--sub-color));
  border: 1px solid var(--main-color);
  color: #ffffff;
  font-family: var(--ja);
  font-weight: 500;
  letter-spacing: 1px;
  text-align: center;
  transition: padding 0.2s, color 0.2s, background 0.2s;
  border-radius: 10px;
}

.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/front/bg_med_top_sp.svg) no-repeat center top / auto 50px,
  url(../images/front/bg_med_bottom_sp.svg) no-repeat center bottom / auto 50px,
  linear-gradient(to Bottom,rgba(110, 155, 197, 0.2),rgba(111, 176, 164, 0.2)),
  url(../images/front/bg_med_sp.jpg) no-repeat center / cover;
  }

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

  .medical_list {
    gap: 15px 10px;
  }

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

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

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

  .medical_icon {
    width: 50%;
  }

  .medical_title h3 {
    font-size: 100%;
    letter-spacing: 0.05em;
    line-height: 1.3;
  }

}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  background: url(../images/front/bg_feature01.png) no-repeat left top,
  url(../images/front/bg_feature02.png) no-repeat right bottom,
  url(../images/common/bg_stone.jpg);
  background-blend-mode: multiply;
}

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

.feature_item {
  position: relative;
  display: flex;
  flex-flow: column;
  width: calc((100% - 40px) / 3);
  height: auto;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.feature_num {
  position: absolute;
  margin: 0 0 0 !important;
  font-size: 120%;
  font-family: var(--en);
  writing-mode: vertical-rl;
  border-radius: 0 0 30px;
  line-height: 1.5;
  letter-spacing: 3px;
  padding: 20px 5px;
  color: #ffffff;
  z-index: 1;
  filter: drop-shadow(0 0 1px var(--main-color)) drop-shadow(0 0 3px var(--main-color)) drop-shadow(0 0 20px var(--main-color));
}
.feature_num span {
  position: relative;
  display: inline-block;
  font-size: 140%;
  color: #ffffff;
  padding-top: 36px;
}
.feature_num span::before {
  position: absolute;
  content: '';
  top: 10px;
  left: 50%;
  transform: translateX(-50%) translateX(-2px);
  background: #ffffff;
  width: 1px;
  height: 15px;
}

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

.feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 0 10px 30px;
  background: #ffffff;
}

.feature_title {
  display: flex;
  flex-flow: column;
  justify-content: center;
  min-height: 90px;
  margin-bottom: 15px;
  border-bottom: 1px solid;
  border-image: linear-gradient(to Right,transparent,var(--main-color),transparent) 1;
}

.feature_title h3 {
  color: var(--text-color);
  font-family: var(--ja);
  font-weight: 500;
  font-size: 130%;
  letter-spacing: 0.05em;
  line-height: 1.75;
  text-align: center;
}



.feature_button {
  display: flex;
  flex-flow: column;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 25px;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {

  .feature_list {
    gap: 30px;
  }

  .feature_item {
    width: 100%;
  }

  .feature_inner{
    padding: 20px 10px 30px;
  }

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.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(25% - 18.75px);
}

.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;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .column .column_list {
    gap: 40px;
  }

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

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

  *無限スライダー

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
#infinitySlider {
  padding: 60px 0 20px;
}

#infinitySlider .splide__list {
  gap: 10px;
}

#infinitySlider .splide__slide {
  width: 400px !important;
}
#infinitySlider img{
  border-radius: 12px;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  #infinitySlider .splide__slide {
    width: 300px !important;
  }
}
