@charset "UTF-8";

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

  *基本設定

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.front {
  overflow: hidden;
}

section .inner {
  padding: 100px 0;
}

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

h1 {
  position: absolute;
  top: 8px;
  right: 340px;
  z-index: 11;
  width: 100%;
  color: var(--text-color);
  font-size: 12px;
  pointer-events: none;
}
h1 span {
  display: block;
  max-width: 1200px;
  margin: 0 0 0 auto;
  text-align: right;
}

/* ----- パララックス ----- */
.parallax {
  position: relative;
  z-index: 1;
  width: calc(100% - 100px);
  height: 700px;
  margin: 0 auto;
}

/* 切り抜く範囲 */
.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%;
}
.parallax_img::after {
  position: absolute;
  content: "";
  mask: url(../images/front/nami_mask.png) bottom center / 100% no-repeat;
  -webkit-mask: url(../images/front/nami_mask.png) bottom center / 100% no-repeat;
  background: #fff;
  width: calc(100% + 2px);
  height: 200px;
  bottom: -1px;
  left: -1px;
}
.parallax_img img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  h1 {
    position: static;
  }
  h1 span {
    text-align: center;
  }
  section .inner {
    padding: 70px 20px;
  }

  /* ----- パララックス ----- */
  .parallax {
    width: 100%;
    height: 200px;
  }
}

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

  *アニメーション

================================================================================================================================== */
@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 {
  position: relative;
  margin-bottom: 65px;
  line-height: 1.5;
  text-align: center;
  z-index: 1;
  /* 左寄せ */
}

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

.top_title h2 {
  font-size: 35px;
  margin: 0 auto 5px;
  width: fit-content;
  letter-spacing: 0.2em;
  background: url(../images/front/text_bg.jpg) no-repeat center center / cover;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

.top_title .eng {
  display: inline-block;
  color: #a3947f;
  font-size: 20px;
  letter-spacing: 0.2em;
  font-family: var(--en-font);
  font-weight: 400;
  font-style: normal;
   white-space:nowrap;
}

/* セクション別タイトル装飾 */
.top_title::before {
  position: absolute;
  font-size: 95px;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
  z-index: -1;
  line-height: 1;
  white-space: nowrap;
}
.clinic .news .top_title::before {
  content: "NEWS";
  color: #fff;
  top: -40px;
  left: -90px;
}
.greeting .top_title::before {
  content: "GREETING";
  color: rgba(149, 181, 176, 0.1);
  top: -40px;
  left: -90px;
}
.feature .top_title::before {
  content: "FEATURES";
  color: #fff;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}
.medical .top_title::before {
  content: "MEDICAL";
  color: rgba(149, 181, 176, 0.1);
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}
/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .top_title {
    margin-bottom: 40px;
  }
  .top_title::before {
    font-size: 52px;
  }
  .top_title h2 {
    margin: 5px auto 0;
    font-size: 26px;
  }

  .top_title .eng {
    font-size: 15px;
  }
  .clinic .news .top_title::before {
    top: -20px;
    left: 20px;
  }
  .greeting .top_title::before {
    top: -20px;
    left: -30px;
  }
  .feature .top_title::before,
  .medical .top_title::before {
    top: -20px;
  }
}

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 900px;
  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: calc(100% - 400px);
  height: 100%;
  max-width: 1520px;
  margin-left: auto;
}

.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: 35%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}

.mvCatch .inner {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  padding: 0 50px;
}

.mvCatch p {
  font-size: 22px;
  /* filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff); */
  letter-spacing: 0.2em;
  line-height: 2.2;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

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

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

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

/* ----- 開院バナー ----- */
.open_bnr {
  position: absolute;
  bottom: 210px;
  display: inline-block;
  
  border: 1px solid var(--line-color);
}

.open_bnr > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  width: 300px;
  padding: 20px;
  align-items: center;
  font-size: 110%;
  line-height: 1.75;
  text-align: center;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

.open_bnr .date {
  font-family: var(--en-font);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.open_bnr .open_text {
  margin: 0 0 10px;
  font-size: 150%;
  color: var(--main-color);
  font-family: var(--en-font);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
}
.nairankai_wrap {
  display: flex;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--line-color);
}
.open_bnr .nairankai_tit {
  position: relative;
  display: block;
  flex-shrink: 0;
  margin: 0;
  padding: 0 15px 0 0;
  font-size: 90%;
}
.open_bnr .nairankai_tit::after {
  position: absolute;
  content: "";
  width: 7px;
  height: 7px;
   background: var(--main-color);
   right: 0;
   top: 9px;
   clip-path: polygon(100% 50%, 0 0, 0 100%);
}
.nairakai_date {
  font-size: 90%;
  text-align: left;
}

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

.open_bnr.subcolor > * .nairankai_tit {
  color: var(--sub-color);
}
/* MV info */
.mv_info_wrap {
  position: absolute;
  bottom: 30px;
  display: flex;
  gap: 15px;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

.mv_info a {
  position: relative;
  display: flex;
  flex-flow: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  color: #444;
  padding: 20px;
  border-radius: 50%;
  text-align: center;
  line-height: 1.6;
}
.mv_info a:hover {
  color: #fff;
}
.mv_info a::before {
  position: absolute;
  content: "";
  mask: url(../images/front/medical_icon_mask.png) center center / contain no-repeat;
  -webkit-mask: url(../images/front/medical_icon_mask.png) center center / contain no-repeat;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  z-index: -1;
  transition: background 0.2s;
}
.mv_info:nth-child(1) a::before {
  background: #b4e8e0;
}
.mv_info:nth-child(2) a::before {
  background: #b4e0e8;
}
.mv_info:nth-child(3) a::before {
  background: #adcfe4;
}
.mv_info:nth-child(4) a::before {
  background: #9ec1d6;
}
.mv_info:nth-child(1) a:hover::before {
  background: #66c0b3;
}
.mv_info:nth-child(2) a:hover::before {
  background: #5babb9;
}
.mv_info:nth-child(3) a:hover::before {
  background: #5d9ec7;
}
.mv_info:nth-child(4) a:hover::before {
  background: #5391b9;
}
.mv_info a::after {
  content: "";
  display: block;
  mask: url(../images/front/arrow_img.png) top left / contain no-repeat;
  -webkit-mask: url(../images/front/arrow_img.png) top left / contain no-repeat;
  background: var(--text-color);
  width: 34px;
  height: 8px;
  transition: transform 0.2s, background 0.2s;
}
.mv_info a:hover::after {
  transform: translateX(6px);
  background: #fff;
}

/* リンクがない時 */
.mv_info *.no_link {
  pointer-events: none;
}
.mv_info *.no_link::after {
  content: none;
}
/* ----- スマホ専用エリア ----- */
.sp_only {
  display: none;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .mainvisual {
    height: 500px;
  }
  .mvImg {
    width: 100%;
  }
  /* ----- スライダーのArrowボタン ----- */
  .mvSlider .sliderBtn {
    top: 50%;
    width: 40px;
    height: 40px;
    padding: 2px;
    font-size: 12px;
  }

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

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

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

  /* ----- キャッチコピー ----- */
  .mvCatch {
    top: auto;
    bottom: 20px;
    display: none;
    transform: translateY(0);
  }
  .mvCatch .inner {
    padding: 0 20px;
  }

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

  .mvCatch p {
    font-size: 110%;
    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;
  }

  /* ----- 開院バナー ----- */
  .open_bnr {
    position: static;
    width: 100%;
    max-width: 350px;
    border-radius: 0;
  }

  .open_bnr > * {
    width: 100%;
    height: auto;
    padding: 15px 20px;
    border-radius: 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%;
  }

  /* MV info */
  .mv_info_wrap {
    position: static;
	flex-wrap: wrap;
	justify-content: center;
    gap: 12px;
    width: 100%;
  }
  .mv_info {
    width: calc(50% - 6px);
    height: 100%;
    aspect-ratio: 1 / 1;
  }
  .mv_info a {
    width: 100%;
    height: 100%;
    padding: 10px;
    font-size: 16px;
  }
  .mv_info a::after {
    width: 28px;
    height: 6px;
  }
}
/* ==================================================================================================================================

  *バナーエリア

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
/* ----- 共通設定 ----- */
.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;
  box-shadow: -5px 10px 10px -5px rgba(143, 168, 163, 0.2);
}

.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 .banner_slide .slide_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.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-size: 110%;
  line-height: 1.5;
}

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

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

/* ----- グリッドバナー ----- */
.top_banner {
  position: relative;
  background: 
  url(../images/front/suisai02.png) bottom -150px right -230px no-repeat;
}
.top_banner::before {
  position: absolute;
  content: "";
  mask: url(../images/front/nami_mask.png) bottom center / 100% no-repeat;
  background: var(--bg-color);
  width: 100%;
  height: 200px;
  bottom: 0;
  left: 0;
}

.top_banner .inner {
  position: relative;
  padding: 120px 50px 240px;
  max-width: 1500px;
}
.top_banner::after {
  position: absolute;
  content: "";
  background:  url(../images/front/suisai06.png) top left / contain no-repeat;
  width: 326px;
  height: 388px;
  top: 0;
  left: -200px;

  z-index: -1;
}
.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 {
    background-size: 400px;
    background-position: bottom -80px right -60px;
  }
  .top_banner::after {
    width: 270px;
    height: 388px;
    left: -50px;
  }
  .top_banner .inner {
    padding: 70px 20px 100px;
  }

  /* ----- グリッドバナー ----- */
  
  .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/suisai06.png) top 50px left -250px no-repeat,
  url(../images/front/suisai06.png) bottom 100px right -100px no-repeat,
  var(--bg-color);
}
.clinic::before {
  position: absolute;
  content: "";
  mask: url(../images/front/nami_mask.png) bottom center / 100% no-repeat;
  -webkit-mask: url(../images/front/nami_mask.png) bottom center / 100% no-repeat;
  background: #fff;
  width: 100%;
  height: 200px;
  bottom: 0;
  left: 0;
}
/* ----- お知らせ ----- */
.clinic .news {
  position: relative;
  z-index: 1;
}

.clinic .news .inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 150px;
  padding: 100px 0 70px;
}

.clinic .news .news_left {
  flex-shrink: 0;
}
.clinic .news .top_title h2 {
  margin: 0 auto 5px -5px;
}
.clinic .news .top_title {
  margin: 0 0 30px;
}

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

/* ----- 医院概要 ----- */
.clinic .info {
  padding-bottom: 210px;
}
.clinic .info .inner {
  display: flex;
  gap: 40px;
  padding: 0;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

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

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

.clinic .info .office_hour .table_wrapper {
  background: #fff;
  box-shadow: 0 0 7px rgba(168, 213, 206, 0.3);
}

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

.clinic .info address>*::before {
  position: absolute;
  top: 4px;
  left: 0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--main-color);
  font-size: 16px;
}

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

.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 0;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.12em;
  font-family: var(--en-font);
  font-weight: 400;
  font-style: normal;
}
.clinic .info address .tel a {
  color: #a3947f;
}
.clinic .info address .tel span {
  font-size: 70%;
  padding-right: 10px;
}
.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: 15px 15px 15px 0;
  background: #fff;
  box-shadow: 0 0 7px rgba(168, 213, 206, 0.3);
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  border-right: 1px solid var(--line-color);
  text-align: center;
}

.clinic .info .googlemap iframe {
  height: 450px;
  width: 100%;
}

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .clinic {
    background-position: 
    top 50px left -250px,bottom -152px right -257px;
  }
  .clinic .info {
    padding-bottom: 0;
  }

  /* ----- お知らせ ----- */
  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 60px 20px;
  }

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

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

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

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

  .clinic .info .speciality .title {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line-color);
    padding: 0 10px 10px;
  }
}
/* ==================================================================================================================================

  *ご挨拶（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.greeting {
  position: relative;
  z-index: 1;
  padding: 0 30px;
  background: 
  url(../images/front/suisai04.png) top 20px left -180px no-repeat,
  url(../images/front/suisai02.png) bottom -130px right -80px no-repeat;
}
.greeting::before {
  position: absolute;
  content: "";
  mask: url(../images/front/nami_mask.png) bottom center / 100% no-repeat;
  -webkit-mask: url(../images/front/nami_mask.png) bottom center / 100% no-repeat;
  background: var(--bg-color);
  width: 100%;
  height: 200px;
  bottom: 0;
  left: 0;
}

.greeting .top_title {
  position: relative;
  max-width: 920px;
  margin: 0 auto 65px -60px;
}

.greeting .top_title h2 {
  margin-left: -5px;
}
.greeting .inner {
  max-width: 1920px;
  padding: 50px 0 150px;
}
.greeting_box {
  position: relative;
  z-index: 1;
}

.greeting_flex {
  display: flex;
  gap: 5.5vw;
}
.greeting_flex::before {
  position: relative;
  bottom: -130px;
  display: block;
  content: "";
  background: url(../images/front/greeting_img.jpg) center center / cover no-repeat;
  width: 20%;
  max-width: 380px;
  height: 536px;
  flex: 1.1;
  margin-top: auto;
}
.greeting_box:not(:last-child) {
  margin-bottom: 70px;
}
.greeting_right {
  width: 36%;
  max-width: 500px;
  margin-top: -120px;
  flex: 1.5;
}
.greeting_img {
  position: relative;
}

.greeting_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.greeting_left {
  width: 58%;
  flex: 2;
}
.greeting_text {
  font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
}
.greeting_text > *:not(:last-child) {
  margin-bottom: 2em;
}

.greeting_profile {
  padding: 30px 0 0 0;
  line-height: 1.75;
  text-align: right;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

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

.greeting_profile .name {
  font-size: 150%;
}
.greeting_profile .name span {
  font-size: 70%;
  padding-right: 15px;
}
.greeting_btn {
  margin-top: 50px;
  text-align: right;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting {
    padding: 0;
    background-size: 400px, 600px;
    background-position: 
    top 20px left -180px, bottom right -150px;
  }
  .greeting .inner {
    padding: 70px 20px 100px;
  }
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 0;
  }
  .greeting_flex::before {
    flex: auto;
    max-width: 100%;
    width: 100%;
    height: 215px;
    margin-top: -70px;
  }
  .greeting_left {
    width: 100%;
  }
  .greeting .top_title {
    margin: 0 auto 30px 0;
  }

  .greeting_btn {
    margin-top: 40px;
  }

  .greeting_right {
    width: 230px;
    margin: 0 auto 35px;
  }
  .greeting_img {
    height: 320px;
  }
  .greeting_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  position: relative;
  z-index: 2;
}
.medical::before {
  position: absolute;
  content: "";
  background: 
  url(../images/front/suisai04.png) top left / contain no-repeat;
  width: 612px;
  height: 533px;
  top: -280px;
  left: -100px;
}

.medical .inner {
  max-width: 1500px;
  padding: 100px 50px 100px;
}
.medical_list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 15px;
}

.medical_item {
  position: relative;
  z-index: 1;
  width: calc(20% - 12px);
  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%;
  aspect-ratio: 1/1;
  padding: 30px 20px 40px;
  background: url(../images/front/medical_icon_bg.png) center center / cover no-repeat;
  text-align: center;
}

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

.medical_icon {
  width: 36%;
  max-width: 80px;
  margin: 0 auto 5px !important;
}

.medical_title h3 {
  color: #fff;
  font-size: 135%;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

.medical_title_eng {
  margin-top: 5px;
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
  font-family: var(--en-font);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
}

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

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

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

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

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

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

.medical_item:nth-of-type(-n + 2) .medical_icon {
  max-width: 100px;
  margin: 0 auto 5px !important;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .medical::before {
    width: 370px;
    height: 320px;
    top: -85px; 
  }
  .medical .inner {
    position: relative;
    padding: 70px 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 25px;
  }

  .medical_icon {
    width: 35%;
  }

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

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

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

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

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  background: 
  url(../images/front/suisai06.png) top 50px left -250px no-repeat,
  url(../images/front/suisai03.png) top 300px right -320px no-repeat,
  url(../images/front/suisai03.png) bottom 200px left -250px no-repeat,
  url(../images/front/suisai06.png) bottom 100px right -200px no-repeat,
  linear-gradient(var(--bg-color),rgba(255,255,255,0) 50%);
}
.feature .inner {
  max-width: 1500px;
  padding: 100px 50px 150px;
}
.feature_list {
  display: flex;
  flex-flow: wrap;
  gap: 60px 50px;
}

.feature_item {
  display: flex;
  flex-flow: column;
  width: calc(33.3333333333% - 34px);
  height: auto;
}

.feature_num {
  margin: 0 0 0 !important;
  font-size: 115%;
  letter-spacing: 0.12em;
  color: #86ada7;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
  padding-bottom: 7px;
}

.feature_img {
  position: relative;
  z-index: 1;
  margin: 0 7px 7px 0;
}
.feature_img::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/front/feature_bg.png) top left / cover no-repeat;
  opacity: 0.8;
  bottom: -7px;
  right: -7px;
  z-index: -1;
}
.feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 25px 20px 0;
}

.feature_title {
  display: flex;
  flex-flow: column;
  justify-content: center;
  min-height: 120px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line-color);
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

.feature_title h3 {
  font-size: 142%;
  line-height: 1.75;
  text-align: center;
  letter-spacing: 0.1em;
  background: url(../images/front/text_bg.jpg) no-repeat center center / cover;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.feature_button .btn01 {
  text-align: center;
  width: 100%;

}
.feature_button .btn01 a {
  background: none;
  width: 100%;
  border: 1px solid var(--line-color);
  color: var(--text-color);
  padding: 13px 40px 13px 18px;
}
.feature_button .btn01 a:hover {
  color: #fff;
}
.feature_button .btn01 a::before {
  opacity: 0;
}
.feature_button .btn01 a:hover::before {
  opacity: 1;
}
.feature_button .btn01 a::after {
  background: var(--main-color);
  width: 32px;
  height: 6px;
  right: 15px;
}
.feature_button .btn01 a:hover::after {
  background: #fff;
}
/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .feature {
    background-position:
    top 10% left -370px,
    top 38% right -362px,
    bottom 38% left -250px,
    bottom 10% right -360px,
    top left;
  }
  .feature .inner {
    padding: 100px 20px 70px;
  }
  .feature_list {
    gap: 30px;
  }

  
  .feature_item {
    width: 100%;
  }
  .feature_inner {
    padding: 20px 20px 0;
  }
  .feature_title {
    min-height: auto;
    margin-bottom: 15px !important;
    padding-bottom: 20px;
  }
  .feature_title h3 {
    font-size: 135%;
  }
  .feature_button {
    flex-wrap: wrap;
  }
}
/* ==================================================================================================================================

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.search {
  position: relative;
  background: url(../images/front/suisai02.png) bottom -130px right -120px no-repeat;
}
.search::before {
  position: absolute;
  content: "";
  background: url(../images/front/suisai06.png) top left / contain no-repeat;
  width: 612px;
  height: 650px;
  top: -550px;
  right: -100px;
  z-index: -2;
}
.search::after {
  position: absolute;
  content: "";
  mask: url(../images/front/nami_mask.png) bottom center / 100% no-repeat;
  -webkit-mask: url(../images/front/nami_mask.png) bottom center / 100% no-repeat;
  background: var(--bg-color);
  width: 100%;
  height: 200px;
  bottom: 0;
  left: 0;
}
.search .inner {
  position: relative;
  max-width: 1500px;
  padding: 0 50px;
}
.search .inner::before {
  position: absolute;
  content: "";
  background: url(../images/front/suisai06.png) top left / contain no-repeat;
  width: 612px;
  height: 650px;
  top: -307px;
  left: -305px;
  z-index: -1;
}
.tab_wrapper {
  position: relative;
  z-index: 1;
}
.search .tab_list {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.search .tab_list li {
  display: flex;
  flex: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 0 20px 20px;
  color: rgba(0,0,0,0.3);
  font-size: 140%;
  cursor: pointer;
  transition: transform 0.2s, padding 0.2s;
  border-bottom: 1px solid var(--line-color);
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
}

.search .tab_list li.is-active {
  position: relative;
  border-bottom: 1px solid #189784;
  color: #189784;
}
.search .tab_list li.is-active::before {
  position: absolute;
  content: "";
  width: 20px;
  height: 14px;
  background: #189784;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  clip-path: polygon(100% 0, 0 0, 50% 100%);
}

/* ----- パネル ----- */
.search .panel {
  display: none;
  margin: 0 !important;
  padding: 50px 20px 0 20px;
}

.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: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 60px;
  padding: 15px 60px 15px 20px;
  background: rgba(185, 152, 108, 0.1);
  color: var(--text-color);
  font-size: 110%;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
}
.search_list a:hover {
  background: rgba(185, 152, 108, 0.2);
}
.search_list a::after {
  content: "";
  position: absolute;
  mask: url(../images/front/arrow_img.png) top left / contain no-repeat;
  -webkit-mask: url(../images/front/arrow_img.png) top left / contain no-repeat;
  background: var(--sub-color);
  width: 34px;
  height: 8px;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  transition: right 0.2s, background 0.2s;
}
.search_list a:hover::after {
  right: 15px;
}

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

.panel_flex .search_img {
  position: relative;
  width: calc(50% - 10px);
  margin: 0 !important;
}
.panel_flex .search_img::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(85, 189, 173, 0.5), rgba(255,255,255,0));
  bottom: 0;
  left: 0;
}
.panel_flex .search_list {
  grid-template-columns: repeat(2, 1fr);
  width: calc(50% - 10px);
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .search {
    background-size: 400px;
    background-position: bottom -80px right -60px;
  }
  .search::before {
    width: 430px;
    height: 457px;
    top: -510px;
  }
  .search .inner {
    padding: 0 20px 100px;
  }
  .search .inner::before {
    width: 490px;
    height: 440px;
    top: -240px;
    left: -250px;
  }
  .search .tab_list {
    gap: 7px;
    margin: 0 0 15px;
    flex-wrap: wrap;
  }

  .search .tab_list .tab {
    min-width: 100px;
    min-height: auto;
    padding: 10px 0!important;
    font-size: 100%;
    transform: translate(0, 0) !important;
  }
  
  .search .tab_list li {
    flex: auto;
  }
  .search .tab_list li.is-active::before {
    width: 15px;
    height: 10px;
    bottom: -10px;
  }

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

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

  /* ----- 画像あり ----- */
  .panel_flex.is-active {
    gap: 20px;
    padding: 20px 0 0;
    flex-direction: column-reverse;
  }

  .panel_flex .search_img {
    width: 100%;
  }

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

  *医療コラム（パターン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: 150px 0 0;
  background: var(--bg-color);
}

#infinitySlider .splide__list {
  gap: 30px;
}

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

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