@charset "UTF-8";

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

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

  *基本設定

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

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) {
  section .inner {
    padding: 70px 20px;
  }

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

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

  *タイトル

================================================================================================================================== */
.top_title {
  margin-bottom: 50px;
  line-height: 1.5;
  text-align: center;

  /* 左寄せ */
}

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

.top_title h2 {
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 10px;
  font-family: "adobe-garamond-pro", serif;
  font-style: normal;
  font-weight: 400;
  color: var(--main-color);
  font-size: 70px;
  line-height: 1;
  letter-spacing: 0.075em;
}

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

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

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

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

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

  *メインビジュアル

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

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

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

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

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

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

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

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

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

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

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

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

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

.mvImg .splide__slide {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* .mvImg .splide__slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
} */

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

/* アニメーションを実行 */
/* MVのアニメーション  */
@keyframes hideImg {
  0% {
    opacity: 1;
  }

  10% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}
@keyframes showTranslate {
  0% {
    transform: translate3d(0, 0px, 0);
  }

  100% {
    transform: translate3d(0, -30px, 0);
  }
}
@keyframes hideTranslate {
  /* 下降 */
  0% {
    transform: translate3d(0, -30px, 0);
  }

  100% {
    transform: translate3d(0, 0px, 0);
  }
}

/* ----- キャッチコピー ----- */
.mvCatch {
  position: absolute !important;
  top: 40%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}

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

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

.mv_banner {
  position: absolute;
  bottom: 150px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mv_banner_item {
  max-width: 280px;
}

.mv_banner_item a:hover {
  opacity: 0.7;
}

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

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

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

  .sp_only {
    display: block;
    margin: 0 auto 40px;
    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%;
  }

  .mv_banner {
    position: static;
    display: block;
  }

  .mv_banner_item {
    max-width: 280px;
  }

  .mv_banner_item a:hover {
    opacity: 0.7;
  }

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

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

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

  *バナーエリア

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

/* 画像のみのバナー */
.top_banner .onlyimg .banner_slide {
  height: fit-content;
  padding: 0;
}

.top_banner .onlyimg .banner_slide img {
  width: 100%;
  height: auto;
  transition: opacity 0.2s;
}

.top_banner .onlyimg a.banner_slide:hover img {
  opacity: 0.5;
}

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

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

.top_banner .input a.banner_slide:hover {
  background: #f5f5f5;
}

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

.top_banner .input .banner_slide .slide_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

/* ----- グリッドバナー ----- */
.banner_grid ul {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.banner_grid li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(33.3333333333% - 13.3333333333px);
}

/* ----- スライダーバナー ----- */
#bannerSlider .splide {
  position: relative;
  z-index: 1;
}

#bannerSlider .splide__inner {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

/* スライドの設定  */
#bannerSlider .splide__slide {
  display: flex;
  align-items: center;
  min-height: 200px;
}

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

#bannerSlider .bannerSlider_arrow i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 0 1px 0;
  background: var(--main-color);
  border-radius: 50%;
  font-size: 80%;
  transition: background 0.2s;
}

#bannerSlider .bannerSlider_arrow:hover i {
  background: var(--text-color);
}

#bannerSlider .bannerSlider_arrow_prev {
  left: 0;
}

#bannerSlider .bannerSlider_arrow_next {
  right: 0;
}

/* ページネーション */
#bannerSlider .bannerSlider_pagination {
  z-index: 1;
  display: flex;
  gap: 15px;
  margin: 30px auto 0;
}

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

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

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

  /* ----- スライダーバナー ----- */
  #bannerSlider .splide__inner {
    position: relative;
    z-index: 1;
    padding: 0 15px;
  }

  /* スライダーのArrowボタン */
  #bannerSlider .bannerSlider_arrow {
    width: 40px;
    height: 40px;
  }

  #bannerSlider .bannerSlider_arrow i {
    padding: 0 0 1px 0;
  }

  /* ページネーション */
  #bannerSlider .bannerSlider_pagination {
    gap: 12px;
    margin: 20px auto 0;
  }

  #bannerSlider .bannerSlider_page {
    width: 8px;
    height: 8px;
  }
}

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

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

================================================================================================================================== */
.clinic {
  position: relative;
  z-index: 1;
  background: url(../images/clinic-mable-bg.png) no-repeat top 100px right 0/1160px 1390px;
}

/* ----- お知らせ ----- */
.clinic .news {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: -100px auto 0;
  overflow: hidden;
}

.clinic .news::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: calc(100% - 100px);
  min-width: calc(100% - (100% - 1400px) / 2);
  height: 100%;
  background: url(../images/news_leaf.png) no-repeat right 0 bottom 0/170px 185px;
}

.clinic .news::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  display: block;
  width: calc(100% - 100px);
  min-width: calc(100% - (100% - 1400px) / 2);
  height: 100%;
  background: url(../images/news_marble.png) no-repeat top 0 left 0/730px 440px, linear-gradient(#efefef, #efefef);
}

.clinic .news .inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  margin: 0 auto;
  padding: 100px 0;
}

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

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

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

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

.clinic .info .info_left {
  flex-shrink: 0;
  width: 600px;
}

.info_left .logo {
  max-width: 280px;
  margin: 0 auto 35px;
}

.clinic .info address .location {
  position: relative;
  z-index: 1;
  padding: 5px 10px;
/*   background: #efefef; */
  background: rgb(255 255 255 / .8);
  font-size: 15px;
  letter-spacing: 0.05em;
  text-align: center;
}

.clinic .info address .location .zipcode {
  position: relative;
  z-index: 1;
  margin-right: 10px;
  padding-left: 20px;
}

.clinic .info address .location .zipcode::before {
  content: "\f3c5";
  position: absolute;
  top: -1px;
  left: 0px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #a36fae;
  font-size: 16px;
  line-height: 1;
}

.clinic .info address .tel {
  margin-top: 25px;
  font-size: 42px;
  line-height: 1;
  text-align: center;
}

.clinic .info address .tel a {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 0 0 0 40px;
  font-family: "adobe-garamond-pro", serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.clinic .info address .tel a::before {
  content: "\f879";
  position: absolute;
  top: 13px;
  left: 0;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--sub-color);
  font-size: 24px;
}

.clinic .info address .tel a span {
  background: linear-gradient(180deg, #ba93c2, #92579f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

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

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

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

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

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

.clinic .info .googlemap {
  border: 1px solid #cfc0da;
  border-radius: 10px;
  overflow: hidden;
}

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

.clinic .info .icon_button-google {
  margin-top: 30px;
}

@media screen and (max-width: 640px) {
  .clinic .news {
    margin: 0;
  }

  .clinic .news::before {
    width: 100%;
    min-width: auto;
    height: 100%;
    background: url(../images/news_leaf.png) no-repeat right 0 bottom 0/100px 108px;
  }

  .clinic .news::after {
    width: 100%;
    min-width: auto;
    height: 100%;
    background: url(../images/news_marble.png) no-repeat top 0 left 0/350px 210px, linear-gradient(#efefef, #efefef);
  }

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

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

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

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

  .info_left .logo {
    width: 60%;
    margin: 0 auto 25px;
  }

  .clinic .info address .location {
    padding: 10px;
  }

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

  .clinic .info address .tel a::before {
    top: 9px;
  }

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

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

  *ご挨拶

================================================================================================================================== */
.message_img {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 800px;
  background: url(../images/greeting-img.jpg) no-repeat center/cover;
}

.message_img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 345px;
  background: linear-gradient(to right, transparent 0, transparent 100px, #ffffff 100px, #ffffff 100%);
}

.message_img p {
  width: fit-content;
  height: fit-content;
  font-family: "adobe-garamond-pro", serif;
  font-style: normal;
  font-weight: 400;
  color: #ffffff;
  font-size: 200px;
  letter-spacing: 0.075em;
  opacity: 0.5;
}

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

.greeting::before {
  content: "";
  position: absolute;
  top: 850px;
  left: 0;
  display: block;
  width: 820px;
  height: 900px;
  background: url(../images/greeting-bg.png) no-repeat center/cover;
}

.greeting_container {
  position: relative;
  z-index: 1;
  margin-top: -345px;
}

.greeting_container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: block;
  width: 895px;
  height: 420px;
  background: url(../images/greeting-marble.png) no-repeat center/cover;
}

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

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

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

.greeting_left {
  position: relative;
  z-index: 2;
  width: 100%;
}

.greeting_text .catch {
  font-size: 130%;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 500;
}

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

.greeting_right {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 540px;
}

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

.greeting_img::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -200px;
  z-index: -1;
  display: block;
  width: 419px;
  height: 411px;
  background: url(../images/greeting-flower_01.png) no-repeat center/cover;
}

.greeting_img::after {
  content: "";
  position: absolute;
  bottom: -165px;
  left: -150px;
  z-index: -1;
  display: block;
  width: 344px;
  height: 309px;
  background: url(../images/greeting-flower_02.png) no-repeat center/cover;
}

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

.greeting_profile {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
  margin-top: 25px;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--main-color);
  font-size: 19px;
  line-height: 1.75;
  text-align: center;
}

.greeting_profile .name span {
  font-size: 75%;
}

.greeting_btn {
  margin-top: 30px;
  text-align: right;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
  .message_img {
    height: 400px;
    background: url(../images/greeting-img_sp.jpg) no-repeat center/cover;
  }

  .message_img::after {
    right: 0;
    left: auto;
    width: calc(100% - 20px);
    height: 185px;
    background: url(../images/greeting-marble.png) no-repeat center/cover, linear-gradient(to right, #ffffff 0, #ffffff 100%);
  }

  .message_img p {
    font-size: 56px;
    line-height: 1;
  }

  .greeting::before {
    top: auto;
    bottom: 0;
    width: 500px;
    height: 548px;
    opacity: 0.5;
  }

  .greeting_container {
    margin-top: -200px;
  }

  .greeting_container::before {
    display: none;
  }

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

  .greeting_left {
    width: 100%;
  }
	
  .greeting_text p:not(.catch) {
	text-shadow: 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff;
  }

  .greeting_right {
    width: 100%;
    margin: 0 auto;
  }

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

  .greeting_img::before {
    top: -60px;
    right: -80px;
    width: 150px;
    height: 147px;
  }

  .greeting_img::after {
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 134px;
  }

  .greeting_profile {
    justify-content: center;
    align-items: center;
  }

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

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

  *診療案内

================================================================================================================================== */
.medical {
  position: relative;
  z-index: 1;
  background: url(../images/medical-leaf.png) no-repeat bottom 0 right 0/560px 380px, url(../images/medical-marble.png) no-repeat bottom 0 left 0/1190px 1470px;
}

.medical .inner {
  padding: 120px 0 140px;
}

.medical .top_title {
  margin-bottom: 45px;
}

.medical_message {
  width: fit-content;
  margin: 0 auto 70px;
  padding: 0 10px 5px;
  border-bottom: 1px solid #b08d58;
  font-family: "adobe-garamond-pro", serif;
  font-style: normal;
  font-weight: 400;
  color: #b08d58;
  font-size: 24px;
  letter-spacing: 0.1em;
  text-align: center;
}

.medical_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: flex-start;
  gap: 70px 50px;
}

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

.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: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
}

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

.medical_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70%;
  max-width: 130px;
  margin: 0 auto 27px !important;
  padding: 10px;
  background: #ffffff;
  border-radius: 50%;
  filter: drop-shadow(0 0 8px #e1b8ea);
}

.medical_icon img {
  border: 1px solid #ecd8f0;
  border-radius: 50%;
}

.medical_title_eng {
  margin-bottom: 10px;
  font-family: "adobe-garamond-pro", serif;
  font-style: normal;
  font-weight: 400;
  color: #ab7cb5;
  font-size: 13px;
  line-height: 1;
  text-align: center;
}

.medical_title h3 {
  color: var(--text-color);
  font-size: 24px;
  line-height: 1.65;
  text-align: center;
}

.medical_title h3 .sub {
  display: block;
  font-size: 14px;
}

.medical_text {
  width: 100%;
  height: 100%;
  color: var(--text-color);
}

.medical_symptom_list {
  display: flex;
  flex-flow: column;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 25px;
  background: #f6f3f7;
  border-radius: 10px;
}

.medical_symptom_list li {
  position: relative;
  z-index: 1;
  padding: 0 0 0 35px;
  font-size: 16px;
  text-align: start;
}

.medical_symptom_list li::before {
  content: "\f14a";
  position: absolute;
  top: 3px;
  left: 0px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: #bdafc6;
  font-size: 24px;
  line-height: 1;
}

/* 青色 */
.medical_item:nth-child(n+5):nth-child(-n+8) .medical_icon {
  filter: drop-shadow(0 0 8px #a3d0ee);
}

.medical_item:nth-child(n+5):nth-child(-n+8) .medical_icon img {
  border: 1px solid #cbdff2;
}

.medical_item:nth-child(n+5):nth-child(-n+8) .medical_title_eng {
  color: #7c98b5;
}

.medical_item:nth-child(n+5):nth-child(-n+8) .medical_symptom_list {
  background: #eef4f7;
}

.medical_item:nth-child(n+5):nth-child(-n+8) .medical_symptom_list li::before {
  color: #7caed5;
}

/* 茶色 */
.medical_item:nth-child(n+9):nth-child(-n+12) .medical_icon {
  filter: drop-shadow(0 0 8px #e1d195);
}

.medical_item:nth-child(n+9):nth-child(-n+12) .medical_icon img {
  border: 1px solid #e5e1cf;
}

.medical_item:nth-child(n+9):nth-child(-n+12) .medical_title_eng {
  color: #af9863;
}

.medical_item:nth-child(n+9):nth-child(-n+12) .medical_symptom_list {
  background: #f7f4ee;
}

.medical_item:nth-child(n+9):nth-child(-n+12) .medical_symptom_list li::before {
  color: #bdb28c;
}

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
  .medical {
    background: url(../images/medical-leaf.png) no-repeat bottom 0 right 0/200px 135px, url(../images/medical-marble.png) no-repeat bottom 0 left 0/500px 617px;
  }

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

  .medical_message {
    margin: 0 auto 40px;
    padding: 0 10px 10px;
    font-size: 18px;
    line-height: 1.65;
  }

  .medical_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 15px;
  }

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

  .medical_icon {
    width: 70%;
  }

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

  .medical_title h3 .sub {
    font-size: 11px;
  }

  .medical_title_eng {
    font-size: 10px;
  }

  .medical_symptom_list {
    padding: 15px;
  }

  .medical_symptom_list li {
    padding: 0 0 0 25px;
    font-size: 13px;
    line-height: 1.65;
  }

  .medical_symptom_list li::before {
    top: 4px;
    font-size: 16px;
  }
}

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

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

================================================================================================================================== */
.feature {
  position: relative;
  z-index: 1;
}

.feature::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: calc(100% - 100px);
  height: 1270px;
  background: linear-gradient(rgba(240, 229, 243, 0.85), rgba(240, 229, 243, 0.85)), url(../images/feature-bg.jpg) no-repeat center/cover;
}

.feature::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -330px;
  z-index: -2;
  display: block;
  width: 1130px;
  height: 1260px;
  background: url(../images/feature-marble-bg.png) no-repeat center/cover;
}

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

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

.feature_img {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.feature_img::before {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 50%;
  z-index: -1;
  display: block;
  width: 217px;
  height: 217px;
  background: url(../images/gold-circle.png) no-repeat center/cover;
  transform: translateX(-50%);
}

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

.feature_inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  height: 100%;
}

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

.feature_inner p {
  letter-spacing: 0.075em;
}

.feature_title {
  display: flex;
  flex-flow: column;
  justify-content: center;
  min-height: 70px;
  margin-bottom: 15px !important;
}

.feature_title h3 {
  color: var(--text-color);
  font-size: 24px;
  line-height: 1.65;
  text-align: center;
}

.feature_buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: auto;
}

.feature_buttons .feature_button a {
  width: 100%;
  min-width: auto;
  padding: 0 8px 8px 12px;
}

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

.feature_button a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-width: 200px;
  padding: 0 12px 8px 28px;
  border-bottom: 1px solid #a06cab;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--text-color);
  font-size: 18px;
}

.feature_button a i {
  background: linear-gradient(180deg, #ba93c2, #92579f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 80%;
  transition: transform 0.2s;
}

.feature_button a:hover {
  color: #a06cab;
}

.feature_button a:hover i {
  transform: translateX(5px);
}

/* ---- 横並びボタン ----- */
.btnflex_feature {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

.btnflex_feature .btn01 {
  width: calc(50% - 2.5px);
}

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

@media screen and (max-width: 640px) {
  .feature::before {
    width: calc(100% - 20px);
    height: 90%;
    background: linear-gradient(rgba(240, 229, 243, 0.85), rgba(240, 229, 243, 0.85)), url(../images/feature-bg_sp.jpg) no-repeat center/cover;
  }

  .feature::after {
    right: -150px;
    bottom: -400px;
    width: 582px;
    height: 650px;
  }

  .feature .inner {
    padding-top: 20px;
  }

  .feature_list {
    gap: 50px;
  }

  .feature_item {
    width: 100%;
  }

  .feature_img {
    width: 90%;
    margin: 0 auto 20px;
  }

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

  .feature_title h3 {
    font-size: 22px;
  }

  .feature_button a {
    padding: 0 15px 8px 20px;
    font-size: 16px;
  }

  .feature_buttons .feature_button a {
    padding: 0 6px 8px 10px;
  }
}

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

  *病状、症状から探す

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

.search .tab_list {
  gap: 10px;
}

.search .tab_list .tab {
  padding: 15px 20px;
}

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

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

.search_list li {
  width: calc(33.3333333333% - 13.3333333333px);
  height: auto;
}

/* ----- リンクボタン ----- */
.search_list li a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 60px;
  padding: 10px 45px 10px 30px;
  background: var(--bg-color);
  color: var(--text-color);
}

.search_list li a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 19px;
  z-index: 2;
  display: block;
  width: 14px;
  height: 7px;
  background: #ffffff;
  -webkit-mask: url(../images/btn_arrow.png) no-repeat center/14px 7px;
  mask: url(../images/btn_arrow.png) no-repeat center/14px 7px;
  transform: translateY(-50%);
  transition: background 0.2s;
}

.search_list li a:hover::before {
  background: var(--main-color);
}

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

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

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

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

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

.panel_flex .search_list li {
  width: calc(50% - 10px);
}

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
  .search .tab_list {
    flex-flow: column;
    gap: 7px;
    margin: 0 0 15px;
  }

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

  .search .panel {
    padding: 20px;
  }

  .search_list {
    gap: 10px;
  }

  .search_list li {
    width: 100%;
  }

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

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

  .search_img {
    width: 100%;
  }

  .panel_flex .search_list {
    width: 100%;
  }

  .panel_flex .search_list li {
    width: 100%;
  }
}

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

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

================================================================================================================================== */
.column {
  background: var(--bg-color);
}

.column_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 50px 25px;
  padding: 30px;
  background: #ffffff;
}

.column_box {
  width: calc(25% - 18.75px);
}

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

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

.column_box dd a {
  color: var(--text-color);
}

.column_box dd a:hover {
  color: var(--main-color);
}

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

  .column_box {
    width: 100%;
  }
}

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

  *無限スライダー

================================================================================================================================== */
#infinitySlider {
  padding: 10px;
}

#infinitySlider .splide__list {
  gap: 10px;
}

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

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