@charset "UTF-8";

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

  *基本設定

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

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

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

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

  *タイトル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.top_title {
  margin-bottom: 80px;
  line-height: 1.5;
  text-align: center;
}

.top_title h2 {
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 170%;
  letter-spacing: 0.15em;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 25px;
  background: linear-gradient(140deg, #6d6962 72%, var(--sub-color) 72%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "futura-pt", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: transparent;
  font-size: 100px;
  line-height: 1;
  letter-spacing: 0.15em;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

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

  .top_title h2 {
    font-size: 120%;
  }

  .top_title .eng {
    display: inline-block;
    margin-bottom: 15px;
    background: linear-gradient(140deg, #6d6962 72%, var(--sub-color) 72%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 50px;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
  }
}

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

  *メインビジュアル

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

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

/* ----- 動画 ----- */
.mvVideo {
    position: relative;
    z-index: 1;
/*     width: 100%; */
    height: 99%;
    margin: 10px;
    overflow: hidden;
	margin: 10px 10px 0;
	border-radius: 15px;
}

.mvVideo video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translateX(-50%) translateY(-50%);
}

/* ----- スライダーの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#sliderBtn_prev {
  left: 20px;
}

.mvSlider .sliderBtn#sliderBtn_next {
  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#sliderBtn_prev span::before {
  content: "\f053";
}

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

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

/* ----- MVの画像 ----- */
.mvImg {
  width: 100%;
  height: 100%;
  padding: 10px;
}

.mvImg .splide__track {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
}

.mvImg .splide__track::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 300px;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
}

.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;
  bottom: 60px;
  left: 70px;
  z-index: 3;
  width: 100%;
}

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

.mvCatch p {
  display: flex;
  flex-flow: row-reverse;
  gap: 20px;
  width: fit-content;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 120%;
  letter-spacing: 0.2em;
}

.mvCatch p span {
  display: inline-block;
  width: fit-content;
  height: fit-content;
  padding: 30px 5px;
  background: #ffffff;
  border-radius: 5px;
  writing-mode: vertical-rl;
}

.mvCatch p span:nth-child(2) {
  margin-top: 50px;
}

/* ----- コンテンツ ----- */
.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: var(--main-color);
  border-radius: 50%;
  color: #ffffff;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
}

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

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

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

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .mainvisual {
   /* height: 600px; */
	  height: 335px;
        padding: 55px 0 0 0;
  }

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

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

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

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

  /* ----- キャッチコピー ----- */
  .mvCatch {
    top: 20px;
    bottom: 30px;
    left: 0;
    display: none;
    padding-left: 10px;
  }

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

  .mvCatch p {
    gap: 5px;
/*     font-size: 13px; */
	  font-size: 12px;
  }

  .mvCatch p span {
    padding: 10px 5px;
  }

  /* ----- コンテンツ ----- */
  .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: 10px;
    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 50px 0;
}

/* 画像のみのバナー */
.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 .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;
}

/* ----- グリッドバナー ----- */
.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: 0 20px;
  }

  /* ----- グリッドバナー ----- */
  .banner_grid li {
    width: 90%;
    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;
  padding-bottom: 600px;
}

.clinic::before {
  content: "";
  position: absolute;
  bottom: 100px;
  left: 0;
  z-index: -1;
  display: block;
  width: calc(100% - 100px);
  height: 800px;
  background: url(../images/front/clinic_bg.jpg) no-repeat center/cover;
  border-radius: 0 15px 15px 0;
}

.clinic::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -2;
  display: block;
  width: calc((100% - 1300px) / 2 + 400px);
  height: 40%;
  background: #6f6350;
  background: url(../images/front/mokume.jpg) no-repeat center/cover;
  border-radius: 0 0 0 20px;
	background-color: #878787;
    background-blend-mode: multiply;
    filter: saturate(1.1) contrast(2.3) sepia(0.5) brightness(1.1);
}

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

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

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

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

.clinic .news .top_title h2 {
  margin: 0;
  font-size: 150%;
}

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

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

.clinic .info::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: calc((100% - 1400px) / 2);
  height: 100%;
  background: #ffffff;
}

.clinic .info .inner {
  display: flex;
  gap: 60px;
  width: 100%;
  padding: 90px 0 100px 80px;
  background: #ffffff;
  border-radius: 15px 0 0 15px;
}

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

.clinic .info address > * {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  font-family: "futura-pt", sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.clinic .info address > *::before {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 50px;
  padding: 10px 18px 8px 22px;
  border: 1px solid var(--text-color);
  border-radius: 4px;
  font-family: "futura-pt", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.1em;
}

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

.clinic .info address .location .zipcode {
  margin-right: 10px;
}

.clinic .info address .tel {
  margin-top: 15px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.15em;
}

.clinic .info address .tel::before {
  content: "Tel.";
  font-size: 20px;
}

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

.clinic .info address .fax {
  margin-top: 15px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.15em;
}

.clinic .info address .fax::before {
  content: "Fax.";
  font-size: 20px;
}

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

.clinic .info .speciality {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 10px;
  margin: 40px auto 50px;
}

.clinic .info .speciality span {
  display: inline-block;
  width: 100%;
  padding: 5px 20px;
  background: var(--sub-color);
  border-radius: 10000px;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #ffffff;
  font-size: 95%;
  text-align: center;
}

.clinic .info .googlemap iframe {
  width: 100%;
  height: 385px;
  border-radius: 10px;
}

.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 {
    padding-bottom: 220px;
  }

  .clinic::before {
    bottom: 40px;
    left: 0;
    width: calc(100% - 20px);
    height: 300px;
  }

  .clinic::after {
    right: 0;
    bottom: 0;
    width: calc(100% - 40px);
    height: 300px;
    border-radius: 0 0 0 15px;
  }

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

  .clinic .news .top_title {
    margin-bottom: 40px;
  }

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

  /* ----- 医院概要 ----- */
  .clinic .info::before {
    display: none;
  }

  .clinic .info .inner {
    flex-flow: column;
    gap: 30px;
    padding: 70px 20px;
  }

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

  .clinic .info address > * {
    flex-flow: column;
    gap: 20px;
  }

  .clinic .info address > *::before {
    width: 100%;
    height: 40px;
    font-size: 16px;
  }

  .clinic .info address .location .zipcode {
    display: block;
    margin: 0;
  }

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

  .clinic .info address .tel::before {
    font-size: 19px;
  }

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

  .clinic .info address .fax::before {
    font-size: 19px;
  }

  .clinic .info .speciality {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    margin: 30px auto;
  }

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

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

  *ご挨拶（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.greeting {
  position: relative;
  z-index: 1;
}

.greeting .top_title {
  margin-bottom: 100px;
  text-align: start;
}

.greeting .top_title .eng {
  position: relative;
  left: -7px;
}

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

.greeting_box::before {
  content: "";
  position: absolute;
  top: 100px;
  right: -200px;
  z-index: -1;
  display: block;
  width: 495px;
  height: 285px;
  background: #9f9b94;
  -webkit-mask: url(../images/front/dumbbell.svg) no-repeat center/cover;
  mask: url(../images/front/dumbbell.svg) no-repeat center/cover;
  opacity: 0.1;
  transform: rotate(30deg);
}

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

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

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

.greeting_text {
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 105%;
  line-height: 2.5;
}

.greeting_text .catch {
  font-size: 130%;
}

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

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

.greeting_profile {
  margin-top: 40px;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 2;
  text-align: center;
}

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

.greeting_profile .name {
  margin-top: 5px;
  font-size: 150%;
}

.greeting_profile .name .kana {
  display: inline-block;
  margin-left: 10px;
  font-size: 70%;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting .inner {
    padding: 100px 20px 70px;
  }

  .greeting .top_title {
    margin-bottom: 40px;
  }

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

  .greeting_left {
    width: 100%;
  }

  .greeting_box::before {
    top: 0;
    right: -50px;
    width: 247.5px;
    height: 142.5px;
  }

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

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

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

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

  *無限スライダー

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
#infinitySlider .splide__list {
  gap: 60px;
}

#infinitySlider .splide__slide {
  width: 550px !important;
  height: fit-content;
  padding: 5px;
  background: #ffffff;
  border-radius: 20px;
}

#infinitySlider .splide__slide img {
  border-radius: 15px;
  overflow: hidden;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  #infinitySlider .splide__list {
    gap: 30px;
  }

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

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

  *こんなお悩みありませんか？（追加コンテンツ）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.symptom {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  margin: 150px auto;
  padding: 0 50px;
}

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

.symptom_wrapper::before {
  content: "";
  position: absolute;
  top: 50px;
  right: 0;
  z-index: -1;
  display: block;
  width: calc(100% - 400px);
  height: calc(100% - 50px);
  background: #ffffff;
  border-radius: 15px;
}

.symptom_wrapper::after {
  content: "";
  position: absolute;
  bottom: 50px;
  left: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 80%;
  background: url(../images/front/mokume.jpg) no-repeat center/cover;
  border-radius: 15px;
	background-color: #878787;
    background-blend-mode: multiply;
    filter: saturate(1.1) contrast(2.3) sepia(0.5) brightness(1.1);
}

.symptom .inner {
  max-width: 1600px;
  padding: 0 50px 130px;
}

.symptom .top_title {
  text-align: right;
}

.symptom .top_title h2 {
  padding-right: 12px;
}

.symptom_container {
  display: flex;
  align-items: center;
  gap: 100px;
}

.symptom_img {
  flex-shrink: 0;
  max-width: 600px;
  padding: 5px;
  background: #ffffff;
  border-radius: 25px;
}

.symptom_img img {
  border-radius: 20px;
}

.symptom_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
  width: 100%;
  height: fit-content;
}

.symptom_item {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding: 0 60px 20px 20px;
  border-bottom: 1px solid var(--line-color);
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: var(--text-color);
  font-size: 120%;
  text-align: start;
}

.symptom_item:nth-child(-n+2) {
  margin-top: 0;
}

.symptom_item::after {
  content: "\f178";
  position: absolute;
  top: 32%;
  right: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3px 8px 3px 10px;
  background: #cbc5b9;
  border-radius: 100000px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 10px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s, color 0.2s;
}

.symptom_item:hover {
  color: var(--text-color);
}

.symptom_item:hover::after {
  background: #efd6b9;
  color: var(--sub-color);
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .symptom {
    margin: 30px auto 80px;
    padding: 0;
  }

  .symptom .inner {
    padding: 70px 20px;
  }

  .symptom .top_title {
    text-align: center;
  }

  .symptom .top_title h2 {
    padding: 0;
  }

  .symptom_wrapper::before {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 80%;
  }

  .symptom_container {
    flex-flow: column;
    gap: 30px;
  }

  .symptom_list {
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
  }

  .symptom_item {
    margin: 0;
    padding: 0 60px 15px 15px;
    font-size: 110%;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  position: relative;
  z-index: 1;
  background: #f5f5ed;
}

.feature .top_title h2 .num {
  display: inline-block;
  padding: 0 20px;
  font-family: "futura-pt", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 170%;
  line-height: 1;
}

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

.feature_item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  width: 100%;
  height: auto;
}

.feature_img {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 630px;
  padding: 0 20px 30px 40px;
}

.feature_img::before {
  content: "";
  position: absolute;
  bottom: 20%;
  left: 0;
  z-index: -1;
  display: block;
  width: 70%;
  height: 70%;
  background: var(--sub-color);
  border-radius: 13px;
}

.feature_img::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  display: block;
  width: 85%;
  height: 50%;
  background: url(../images/front/mokume.jpg) no-repeat center/cover;
  border-radius: 13px;
	background-color: #878787;
    background-blend-mode: multiply;
    filter: saturate(1.1) contrast(2.3) sepia(0.5) brightness(1.1);
}

.feature_img span {
  display: block;
  padding: 5px;
  background: #ffffff;
  border-radius: 20px;
}

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

.feature_inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-flow: column;
  width: 100%;
  height: auto;
  padding-bottom: 80px;
}

.feature_title {
  display: flex;
  flex-flow: column;
  margin-bottom: 50px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--text-color);
}

.feature_title h3 {
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 180%;
  line-height: 1.75;
  letter-spacing: 0.15em;
}

.feature_num {
  margin: 0 0 25px;
  font-family: "futura-pt", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 200%;
  line-height: 1;
  letter-spacing: 0.1em;
}

.feature_num span {
  display: inline-block;
  margin-left: 5px;
  color: var(--sub-color);
  font-size: 150%;
}

.feature_button {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}

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

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

.feature_item:nth-child(even) .feature_img {
  padding: 0 40px 30px 20px;
}

.feature_item:nth-child(even) .feature_img::before {
  right: 0;
  bottom: 20%;
  left: auto;
}

.feature_item:nth-child(even) .feature_img::after {
  right: auto;
  left: 0;
}

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

  .feature .top_title h2 .num {
    padding: 0 10px;
    font-size: 170%;
  }

  .feature_list {
    gap: 60px;
  }

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

  .feature_img {
    width: 100%;
    margin: 0;
    padding: 0 10px 10px 15px;
  }

  .feature_inner {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 0;
  }

  .feature_num {
    margin: 0 0 15px;
    font-size: 130%;
  }

  .feature_title {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }

  .feature_title h3 {
    font-size: 140%;
  }

  .feature_button {
    margin-top: 35px;
  }

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

  .feature_item:nth-child(even) .feature_img {
    padding: 0 15px 10px 10px;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  position: relative;
  z-index: 1;
  padding-bottom: 150px;
}

.medical::before {
  content: "";
  position: absolute;
  bottom: 150px;
  left: 100px;
  z-index: -1;
  display: block;
  width: calc(100% - 100px);
  height: 60%;
  background: url(../images/front/clinic_bg2.jpg) no-repeat center/cover;
  border-radius: 20px 0 0 20px;
}

.medical::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -2;
  display: block;
  width: calc(100% - 250px);
  height: 65%;
  background: url(../images/front/mokume.jpg) no-repeat center/cover;
  border-radius: 0 20px 0 0;
	background-color: #878787;
    background-blend-mode: multiply;
    filter: saturate(1.1) contrast(2.3) sepia(0.5) brightness(1.1);
}

.medical .inner {
  display: flex;
  gap: 70px;
  max-width: 1920px;
  padding-left: 100px;
}

.medical .top_title {
  flex-shrink: 0;
  height: fit-content;
  margin: 0;
  text-align: start;
}

.medical .top_title .eng {
  font-size: 60px;
}

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

/* ----- 先頭2つの設定----- */
.medical_item:nth-of-type(-n + 2) {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  width: calc(50% - 10px);
  min-height: 350px;
  margin-bottom: 30px;
  background: #ffffff;
  border-radius: 20px;
}

.medical_item:nth-of-type(-n + 2) .medical_img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 100%;
  padding: 7px;
  border-radius: 20px;
  overflow: hidden;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}

.medical_item:nth-of-type(-n + 2) .medical_img span {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 13px;
  overflow: hidden;
}

.medical_item:nth-of-type(-n + 2) .medical_img span::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, rgba(117, 117, 117, 0) 40%, rgba(117, 117, 117, 0.7));
}

.medical_item:nth-of-type(-n + 2) .medical_img img {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  object-fit: cover;
  overflow: hidden;
  transition: transform 0.4s;
}

.medical_item:nth-of-type(-n + 2):hover .medical_img img {
  transform: scale(1.05);
}

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

.medical_item:nth-of-type(-n + 2) .medical_title {
  margin: 0;
  text-align: right;
}

.medical_item:nth-of-type(-n + 2) .medical_title h3 {
  position: relative;
  z-index: 1;
  padding: 0 50px 0 0;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #ffffff;
  font-size: 150%;
}

.medical_item:nth-of-type(-n + 2) .medical_title h3::after {
  content: "\f178";
  position: absolute;
  top: 50%;
  right: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3px 8px 3px 10px;
  background: #cbc5b9;
  border-radius: 100000px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--text-color);
  font-size: 10px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s, color 0.2s;
}

.medical_item:nth-of-type(-n + 2):hover .medical_title h3::after {
  background: #f8e8d6;
  color: var(--sub-color);
}

/* ----- 最初の2つ以外 ----- */
.medical_item:not(:nth-of-type(-n + 2)) {
  position: relative;
  z-index: 1;
  width: calc(25% - 20px);
  height: auto;
  border-radius: 10px;
  overflow: hidden;
}

.medical_item:not(:nth-of-type(-n + 2)) .medical_inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: 100%;
  padding: 20px 20px 20px 35px;
  background: rgb(255, 255, 255);
  text-align: center;
}

.medical_item:not(:nth-of-type(-n + 2)) .medical_icon {
  width: 70%;
  max-width: 65px;
  padding: 8px;
  background: #f8f3ea;
  border-radius: 50%;
  transition: transform 0.5s, border 0.3s, background 0.3s;
}

.medical_item:not(:nth-of-type(-n + 2)) .medical_title h3 {
  padding-bottom: 3px;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--text-color);
  font-size: 115%;
  line-height: 1.6;
  text-align: start;
}

.medical_item:not(:nth-of-type(-n + 2)):hover .medical_icon {
  background: #fbe9d3;
  transform: rotate(360deg);
}

@media screen and (max-width: 1600px) {
  .medical_item:not(:nth-of-type(-n + 2)) {
    width: calc(33.3333333333% - 13.3333333333px);
  }
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .medical {
    padding-bottom: 50px;
  }

  .medical::before {
    bottom: 50px;
    width: calc(100% - 80px);
    height: 80%;
  }

  .medical::after {
    width: calc(100% - 100px);
    height: 70%;
  }

  .medical .inner {
    flex-flow: column;
    gap: 40px;
    padding: 70px 20px;
  }

  .medical .top_title .eng {
    font-size: 50px;
  }

  .medical_list {
    gap: 10px;
  }

  /* ----- 先頭2つの設定----- */
  .medical_item:nth-of-type(-n + 2) {
    width: 100%;
    min-height: 200px;
    margin: 0;
    border-radius: 14px;
  }

  .medical_item:nth-of-type(-n + 2) .medical_img {
    padding: 4px;
  }

  .medical_item:nth-of-type(-n + 2) .medical_img span {
    border-radius: 9px;
  }

  .medical_item:nth-of-type(-n + 2) .medical_img img {
    width: 100%;
    height: 100%;
    border-radius: 13px;
    object-fit: cover;
    overflow: hidden;
  }

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

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

  .medical_item:nth-of-type(2) {
    margin-bottom: 20px;
  }

  /* ----- 最初の2つ以外 ----- */
  .medical_item:not(:nth-of-type(-n + 2)) {
    width: calc(50% - 5px);
    border-radius: 10px;
  }

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

  .medical_item:not(:nth-of-type(-n + 2)) .medical_icon {
    padding: 8px;
  }

  .medical_item:not(:nth-of-type(-n + 2)) .medical_title h3 {
    padding: 0;
    font-size: 105%;
  }

  .medical_item:not(:nth-of-type(-n + 2)):hover .medical_icon {
    background: #fbe9d3;
    transform: rotate(360deg);
  }
}

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

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

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

.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: 10px 20px;
  background: #a9a9a9;
  color: #ffffff;
  font-size: 140%;
  cursor: pointer;
  transition: transform 0.2s, padding 0.2s;
}

.search .tab_list li.is-active {
  background: var(--main-color);
}

/* ----- パネル ----- */
.search .panel {
  display: none;
  margin: 0 !important;
  padding: 20px;
  background: var(--bg-color);
}

.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: #ffffff;
  color: var(--text-color);
  font-size: 110%;
}

/* ----- 画像あり ----- */
.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 {
    flex-flow: column;
    gap: 7px;
    margin: 0 0 15px;
  }

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

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

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

  /* ----- 画像あり ----- */
  .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
---------------------------------------------------------------------- */
.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%;
  }
}
