@charset "UTF-8";

/* ---------------------
  - *基本設定
  - *アニメーション
  - *タイトル
  - *メインビジュアル
  - *医院概要
  - *ご挨拶
  - *診療案内
  - *当院の特徴
  - *医療コラム
--------------------- */
/* ==================================================================================================================================

  *基本設定

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

section .inner {
  padding: 120px 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%;
}

.front-wrap {
  position: relative;
  z-index: 1;
  padding: 0 40px;
}

.front-wrap::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), rgb(255, 255, 255), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)), url(../images/front/bg_img02.jpg) center center / cover no-repeat;
  opacity: 0.6;
}



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

  .front-wrap {
    padding: 0;
    margin-top: 20px;
  }

  .front-wrap::before {
    opacity: 1;
  }

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

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

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

  *アニメーション

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  *タイトル

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

  /* 左寄せ */
}

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

.top_title h2 {
  font-size: 170%;
  font-family: var(--main-font);
}

.top_title .eng {
  display: inline-block;
  padding-bottom: 30px;
  color: var(--main-color);
  font-size: 400%;
  font-family: var(--main-font);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.08em;
  line-height: 1;
  background: linear-gradient(var(--main-color), #e3cfb1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

  .top_title h2 {
    margin: 0;
    font-size: 140%;
  }

  .top_title .eng {
    font-size: 320%;
    padding-bottom: 20px;
  }
}

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

  *メインビジュアル

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.mvImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* フェードの専用スタイル */
.fade .mvImg .splide__slide img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  height: calc(100% + 50px);
  pointer-events: none;
}

/* アニメーションを実行 */
.fade.move .mvImg .splide__slide img {
  animation: hideTranslate 8s ease-out forwards;
}

.fade.move .mvImg .splide__slide.is-active img {
  animation: showTranslate 8s ease-out forwards;
}

/* MVのアニメーション  */
@keyframes showTranslate {
  0% {
    transform: translate3d(0, 0px, 0);
  }

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

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

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

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

.mvCatch p {
  font-size: 220%;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
  text-align: center;
  font-family: var(--main-font);
  letter-spacing: 0.08em;
}

.mvCatch p span {
  display: block;
}

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

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

.open_bnr > * {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 260px;
  height: 180px;
  padding: 15px;
  color: #ffffff;
  font-size: 100%;
  line-height: 1.5;
  text-align: center;
  font-family: var(--main-font);
  background: rgba(199, 159, 98, 0.7);
  font-weight: 700;
  letter-spacing: normal;
}

.open_bnr-date01 {
  font-size: 100%;
}

.open_bnr-head {
  font-size: 240%;
  line-height: 1;
  margin: 5px auto 10px;
}

.open_bnr-subhead {
  width: 100%;
  background: #fff;
  color: var(--main-color);
  letter-spacing: 0.08em;
  padding: 4px 10px;
  margin-top: 5px;
  line-height: normal;
}

.open_bnr-date02 {
  font-size: 90%;
}

.open_bnr-date03 {
  font-size: 90%;
}


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

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

.mv-bnr {
  position: absolute;
  left: 290px;
  bottom: 50px;
  display: flex;
  gap: 10px;
}

.mv-bnr_list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

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

.mv-bnr_item a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 180px;
  color: #ffffff;
  font-family: var(--main-font);
  background:  var(--sub-color);
  font-size: 130%;
  line-height: 1.6;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.1em;
  overflow: hidden;
  flex-direction: column;
  border-radius: 50%;
}

.mv-bnr_item a::before {
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../images/front/bg_img01.jpg);
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.6;
  border-radius: 50%;
}

.mv-bnr_item a::after {
  position: absolute;
  content: "";
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  top: 3px;
  left: 3px;
  background: linear-gradient(90deg, rgb(255, 255, 253) 0%, rgb(255, 255, 255) 50%, rgb(255, 255, 255) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  border-radius: 50%;
}

.mv-bnr_item a:hover {
  opacity: 0.7;
}

.mv-bnr_item:nth-child(1) span.text02 {
  font-size: 70%;
}

.mv-bnr_item:nth-child(2) span.text02 {
  font-size: 70%;
}

/* ----- スマホ専用エリア ----- */
.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: 30%;
    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);
    text-align: left;
  }

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

  /* ----- 開院バナー ----- */
  .open_bnr {
    width: 100%;
    max-width: 210px;
    border-radius: 0;
    padding: 0;
    bottom: inherit;
    top: 320px;
    left: 20px;
  }

  .open_bnr > * {
    width: 100%;
    height: auto;
    padding: 15px;
    font-size: 100%;
  }

  .open_bnr > *::before {
    opacity: 0.04;
  }

  .open_bnr-date01 {
    font-size: 80%;
  }

  .open_bnr-head {
    font-size: 180%;
  }

  .open_bnr-subhead {
    width: 100%;
    font-size: 80%;
  }


  .mv-bnr {
    position: inherit;
    width: 100%;
    justify-content: center;
    max-width: 350px;
  }

  .mv-bnr_list {
    width: 100%;
    gap: 0 10px;
    flex-wrap: wrap;
  }

  .mv-bnr_item {
    width: 100%;
    height: 100%;
    padding: 0;
    flex: 1;
    aspect-ratio: 1;
  }

  .mv-bnr_item a {
    width: 100%;
    height: 100%;
    padding: 0;
    font-size: 100%;

  }

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


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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.clinic {
  position: relative;
  z-index: 1;
  /* background: var(--bg-color); */
}

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

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

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

.clinic .news .top_title .eng {
  padding-bottom: 8px;
}

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

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

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

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

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

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

.clinic .info address>*::before {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 0 2px;
  background: var(--main-color);
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffffff;
  font-size: 16px;
}

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

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

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

.clinic .info address .tel {
  margin-top: 15px;
  padding: 3px 0 7px 50px;
  font-size: 30px;
  line-height: 1;
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--main-color);
}

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

.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-size: 30px;
  line-height: 1;
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--main-color);
}

.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;
  background: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 9px 1px;
}

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

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

.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 .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 60px 20px;
  }

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

  .clinic .news .top_title .eng {
    padding-bottom: 10px;
  }

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

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

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

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

  .clinic .info .speciality .text {
    padding: 0 10px 10px;
    font-size: 90%;
  }

  .clinic .info address>*::before {
    width: 32px;
    height: 32px;
    font-size: 13px;
    top: -1px;
  }

  .clinic .info address .location {
    padding: 0 0 0 40px;
    font-size: 96%;
  }

  .clinic .info address .tel {
    padding: 0 0 0 40px;
    font-size: 26px;
  }

  .clinic .info address .fax {
    padding: 0 0 0 40px;
    font-size: 26px;
  }

  .clinic .info .note {
    margin-top: 10px;
  }

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


}

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

  *コンセプト

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

.concept .inner {
  max-width: none;
  padding: 0;
}

.concept .top_title {
  text-align: left;
}

.concept .top_title {
  margin-bottom: 50px;
}

.concept .top_title .eng {
  padding-bottom: 40px;
}

.concept_box {
  position: relative;
  z-index: 1;
  padding: 80px 0 120px;
}

.concept_flex {
  display: flex;
  gap: 70px;
  flex-direction: row-reverse;
}

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

.concept_left {
  flex-shrink: 0;
  width: 55%;
  padding-right: 40px;
}

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

.concept_profile {
  padding: 20px;
  background: var(--main-color);
  color: #ffffff;
  line-height: 1.75;
  text-align: center;
}

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

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

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

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

.concept_img::after {
  position: absolute;
  content: "";
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  top: 5px;
  left: 5px;
  background: linear-gradient(90deg, rgb(179, 152, 85) 0%, rgb(255, 249, 230) 50%, rgb(179, 152, 85) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}

.concept_img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.concept_text p {
  line-height: 2.5;
}

.concept_right {
  margin-left: -40px;
}


/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .concept_box {
    padding: 0 20px 80px;
  }
  .concept_flex {
    flex-flow: column-reverse;
    gap: 35px;
  }

  .concept_left {
    width: 100%;
    padding-right: 0;
  }

  .concept_btn {
    margin-top: 40px;
  }

  .concept_right {
    margin-left: 0;
  }

  .concept .top_title {
    text-align: center;
    margin-bottom: 30px;
  }

  .concept .top_title .eng {
    padding-bottom: 20px;
  }

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

  .concept_text p {
    line-height: 2;
  }
}


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

  *ご挨拶（パターン01）

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

.greeting::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7), rgb(255, 255, 255), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)), url(../images/front/bg_img04.jpg) center center / cover no-repeat;
  opacity: 0.7;
}

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

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

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

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

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

.greeting_profile {
  line-height: 1.75;
  text-align: center;
}

.greeting_profile-hospital {
  max-width: /*320*/300px;
  margin: 20px auto /*15px*/0;
}

.greeting_profile-inner {
  display: flex;
  justify-content: center;
  align-items: baseline;
  font-family: var(--main-font);
  /* font-weight: 700; */
  gap: 10px;
}

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

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

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

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

.greeting_img::after {
  position: absolute;
  content: "";
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  top: 5px;
  left: 5px;
  background: linear-gradient(90deg, rgb(179, 152, 85) 0%, rgb(255, 249, 230) 50%, rgb(179, 152, 85) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}

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

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

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

  .greeting_left {
    width: 100%;
  }

  .greeting_btn {
    margin-top: 20px;
  }


  .greeting_profile-hospital {
    max-width: 240px;
    margin: 10px auto 5px;
  }

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

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

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

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

.medical::before {
  position: absolute;
  top: -129px;
  left: 0px;
  content: "";
  width: 100%;
  height: 130px;
  background-image: url(../images/front/wave_img02.png);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
  background-position: bottom;
}

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

.medical .top_title span {
  color: var(--main-color);
}

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

.medical_item {
  position: relative;
  z-index: 1;
  width: calc(25% - 15px);
  height: auto;
}

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

.medical_img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}

.medical_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.medical_inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 270px;
  padding: 40px 20px 40px;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 9px 1px;
  border-radius: 10px;
}

.medical_inner::before {
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../images/front/bg_img03.jpg);
  background-position: left center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  /* opacity: 0.8; */
}

.medical_inner::after {
  position: absolute;
  content: "";
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  top: 5px;
  left: 5px;
  background: linear-gradient(90deg, rgb(179, 152, 85) 0%, rgb(255, 249, 230) 50%, rgb(179, 152, 85) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}

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

.medical_icon {
  width: 160px;
  height: 160px;
  margin: 0 auto 15px !important;
  background: rgba(255, 255, 255, 0.8);
  padding: 15px 15px 0;
  display: flex;
  justify-content: center;
  border-radius: 50%;
}

.medical_icon {
  height: auto;
}

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

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

.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;
  font-family: var(--main-font);
  min-width: 170px;
}

.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 {
    padding: 0;
  }

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

  .medical_list {
    gap: 15px 10px;
  }

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

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

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

  .medical_icon {
    width: 80%;
  }

  .medical_title h3 {
    font-size: 100%;
    line-height: normal;
  }

  .medical_btn {
    margin-top: auto;
  }

  .medical_btn span {
    padding: 7px 25px 7px 10px;
    min-width: auto;
    font-size: 80%;
  }

  .medical_title_eng {
    font-size: 11px;
  }

  /* ----- 先頭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 {
  position: relative;
  z-index: 1;
  background: var(--bg-color);
  padding: 0 40px;
}

.feature::before {
  position: absolute;
  top: -129px;
  left: 0px;
  content: "";
  width: 100%;
  height: 130px;
  background-image: url(../images/front/wave_img01.png);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
  background-position: bottom;
}

.feature .inner {
  padding: 120px 0 160px;
}

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

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

.feature_num {
  margin: 0 0 0 !important;
  font-size: 150%;
  line-height: normal;
  font-family: var(--sub-font);
  color: #896d43;
}

.feature_num span {
  color: var(--main-color);
  font-size: 140%;
}

.feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 25px 20px 30px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 9px 1px;
}

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

.feature_title h3 {
  position: relative;
  z-index: 1;
  color: var(--main-dark);
  font-size: 130%;
  line-height: 1.75;
  text-align: center;
  font-family: var(--main-font);
  padding-bottom: 23px;
}

.feature_title h3::before {
  content: "";
  width: 1px;
  height: 17px;
  background: var(--main-dark);
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 0;
}

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

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

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

.feature_img::after {
  position: absolute;
  content: "";
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  top: 5px;
  left: 5px;
  background: linear-gradient(90deg, rgb(179, 152, 85) 0%, rgb(255, 249, 230) 50%, rgb(179, 152, 85) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}

.greeting_text {
  font-family: var(--main-font);
}

/* .feature_text p {
  background: #eda1a214;
  padding: 20px;
} */

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

  .feature::before {
    top: -129px;
    height: 130px;
    background-image: url(../images/front/wave_img01_sp.png);
    background-size: contain;
    background-position: bottom;
  }

  .feature .inner {
    padding: 50px 20px 60px;
  }

  .feature_list {
    gap: 25px;
  }

  .feature_item {
    width: 100%;
  }


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


  .feature_title h3 {
    font-size: 118%;
    padding-bottom: 23px;
  }

  .feature_num { 
    font-size: 130%;
  }

  .feature_item:nth-child(even) .feature_num {
    text-align: right;
  }
  
}

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

  *医療コラム（パターン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: 10px 0;
}

#infinitySlider .splide__list {
  gap: 10px;
}

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

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

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

  *バナーエリア

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
/* ----- 共通設定 ----- */
.top_banner .inner {
  padding: 100px 0 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;

  position: relative;
  z-index: 1;
}

.top_banner .onlyimg .banner_slide::after {
  position: absolute;
  content: "";
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  top: 3px;
  left: 3px;
  background: linear-gradient(90deg, rgb(179, 152, 85) 0%, rgb(255, 249, 230) 50%, rgb(179, 152, 85) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}

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

  /* ----- グリッドバナー ----- */
  .banner_grid li {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* ----- スライダーバナー ----- */
  #bannerSlider .splide__slide {
    min-height: 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;
  }
}
