@charset "UTF-8";

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

  *基本設定

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.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;
  }
}

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

  *アニメーション

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  *タイトル

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

  /* 左寄せ */
}

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

.top_title h2 {
  color: var(--text-color-brown);
  font-family: var(--font-type);
  /* font-size: 220%; */
  font-size: 180%;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--main-color);
  font-family: var(--font-type-en);
  /* font-size: 150%; */
  font-size: 440%;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

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

  .top_title h2 {
    margin: 5px 0 0;
    font-family: var(--font-type);
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1.7;
  }

  .top_title .eng {
    font-family: var(--font-type-en);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1.7;
  }
}

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ 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: 56%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}

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

.mvCatch p {
  /* filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff); */
  color: var(--text-color-brown);
  font-family: var(--font-type);
  font-size: 180%;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 2;
}

.mvCatch p span {
  width: fit-content;
  background-color: rgb(255 255 255 / 80%);
  padding: 10px 30px;
  border-radius: 5px;
}

.mvCatch p i  {
  margin: 0 5px 0 0;
  /* color: var(--sub-color); */
  font-size: 110%;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.mvCatch p em  {
  /* color: var(--sub-color-green); */
  margin: 0 5px;
  font-size: 120%;
  font-style: normal;
  font-weight: 600;
}

/* ----- コンテンツ ----- */
.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%; */
  border-radius: 14px;
}

.open_bnr > * {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 225px;
  height: 160px;
  padding: 15px;
  background: #00A291;
  /* border-radius: 50%; */
  border-radius: 10px;
  color: #ffffff;
  font-family: var(--font-type);
  font-size: 100%;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-align: center;
  z-index: 2;
}

.open_bnr > *::before {
  position: absolute;
  content: "";
  top: 17px;
  left: 0;
  right: 0;
  margin: auto;
  width: 170px;
  height: 30px;
  background: url(../images/front/open_bg_top.png) no-repeat center / cover;
  z-index: -1;
}

.open_bnr > *::after {
  position: absolute;
  content: "";
  bottom: -13px;
  left: -17px;
  right: 0;
  margin: auto;
  width: 254px;
  height: 44px;
  background: url(../images/front/open_bg_bt.png) no-repeat center / cover;
  z-index: -1;
}

.open_bnr .date,.preview_date {
  font-family: var(--font-type);
  font-size: 85%;
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.1em;
}

.open_bnr .open_text {
  margin: 20px 0;
  font-family: var(--font-type);
  font-size: 104%;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.open_bnr .open_text span {
  font-size: 143%;
}

.open_bnr .nairankai_tit {
  position: relative;
  display: block;
  width: 70%;
  margin: 0 0 10px;
  padding: 5px 10px;
  background: #ffffff;
  border-radius: 300px;
  color: var(--main-color-dark);
  font-family: var(--font-type);
  font-size: 100%;
  font-style: normal;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.1em;
  text-align: center;
  z-index: 2;
}

.open_bnr .nairankai_tit::before,.open_bnr .nairankai_tit::after {
  position: absolute;
  content: "";
  z-index: -1;
  width: 92px;
  height: 82px;
  background: url(../images/mark_pop.svg) no-repeat center / 92px 82px;
  background-size: 30%;
}

.open_bnr .nairankai_tit::before {
  left: -30px;
  bottom: -25px;
}

.open_bnr .nairankai_tit::after {
  right: -30px;
  bottom: -25px;
}

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

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

/* ---------- MV上のアイコン ---------- */
.mv_icon_wrap {
  position: absolute;
  left: calc(50% - 330px);
  bottom: 50px;
  display: flex;
  gap: 15px;
}

.mv_icon {
  position: relative;
  background: rgb(255 255 255 / 30%);
  padding: 4px;
  /* border-radius: 9px; */
  border-radius: 50%;
  transform: translateY(0);
  transition: box-shadow 0.3s ease, filter 0.3s ease, transform 0.2s ease-in-out;
}

.mv_icon_wrap .mv_bnr_item {
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 2;
  width: 160px;
  height: 160px;
  background: rgb(198 160 84 / 50%);
  border: 1px solid rgb(255 255 255 / 61%);
  /* border-radius: 5px; */
  border-radius: 50%;
  padding: 14px 0 10px;
  opacity: 1;
  overflow: hidden;
  color: #fff !important;
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1.7;
  transition: opacity 0.2s ease;
  padding-top: 20px;
}

.mv_icon_wrap .mv_icon .three {
  padding-top: 10px;
}

.mv_icon_wrap .mv_icon .three i {
  margin-bottom: 5px;
}

/* アイコン全体（背景含む）を上に5px動かす */
.mv_icon_wrap .mv_icon:hover {
  transform: translateY(-5px);
}

/* アイコンにホバーしたとき、中にある.mv_bnr_itemの不透明度（opacity）だけを変える */
.mv_icon_wrap .mv_icon:hover .mv_bnr_item {
  opacity: 0.8;
}

.mv_icon_wrap .mv_icon .mv_bnr_item {
  background: var(--main-color-80-04);
}

.mv_icon_wrap .mv_bnr_item span {
  display: inline-block;
  /* margin: 8px 2px 4px 2px; */
  color: #fff;
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  font-size: 115%;
  line-height: 1.5;
  text-align: center;
  z-index: 1;
}
 
.mv_icon_wrap .mv_bnr_item i {
  display: block;
  margin-bottom: 12px;
  padding: 8px;
  background-color: #fff;
  border-radius: 3px;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  color: var(--sub-color);
  font-size: 18px;
}

.mv_icon_wrap .mv_icon:nth-of-type(1) .mv_bnr_item i {
  color: var(--main-color-80-01);
}

.mv_icon_wrap .mv_icon:nth-of-type(2) .mv_bnr_item i {
  color: var(--main-color-80-02);
}

.mv_icon_wrap .mv_icon:nth-of-type(3) .mv_bnr_item i {
  color: var(--main-color-80-03);
}

.mv_icon_wrap .mv_icon:nth-of-type(4) .mv_bnr_item i {
  color: var(--main-color-80-04);
}
.mv_icon_wrap .mv_icon:nth-of-type(5) .mv_bnr_item i {
  color: var(--main-color-80-04);
}

.mv_icon_inner {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 0 10px;
  width: 250px;
  height: 250px;
  background: linear-gradient(180deg, rgb(89, 173, 241), rgb(15 101 178));
  border-radius: 50%;
  box-shadow: 0px 0px 8px 0px rgb(116 120 123 / 41%);
}

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

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

  /* ----- スライダーの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; */
    bottom: calc(50% - 60px);
    display: none;
  }

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

  .mvCatch p {
    font-size: min(3.9vw, 23px) !important;
    line-height: 1.75;
    /* filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff); */
  }

  .mvCatch p span {
    border-radius: 100vh;
    padding: 10px 15px;
    overflow: hidden;
}

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

  /* ----- 開院バナー ----- */
  .open_bnr {
    position: static;
    width: 100%;
    max-width: 230px;
    background: rgb(253 243 231 / 85%);
    /* border-radius: 0; */
  }

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

  .open_bnr > *::before {
    top: 6px;
  }
  
  .open_bnr > *::after {
    left: -16px;
    background-size: 80%;
  }

   /* 3枚並びの枠 */
   .mv_icon_wrap {
    position: static;
    flex-wrap: wrap;
    bottom: 20px;
    left: 20px;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    /* gap: 10px; */
	   justify-content:center;
  }

  .mv_icon {
    width: calc(100% / 2 - 10px);
    height: auto;
    aspect-ratio: unset;
    padding: 5px;
    background: rgb(243 235 227 / 60%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mv_icon_wrap .mv_bnr_item {
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    border-radius: 10px;
    padding: 10px 0;
    font-size: min(3.6vw, 16px) !important;
    font-family: var(--font-type);
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.7;
  }

  .mv_icon_wrap .mv_bnr_item::after {
    top: auto;
    bottom: 0;
    left: 40px;
    transform: translate(-50%, 0);
  }

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

  .sp_only .inner {
    padding: 0 20px 30px;
  }

  .sp_only_contents {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
}
/* ==================================================================================================================================

  *フレーム

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.frame01 {
  position: relative;
  z-index: 1;
  padding: 40px 30px;
  background: var(--bg-color);
  border-radius: 10px;
}

.frame01::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  display: block;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 1px solid #ffffff;
  transform: translate(-50%, -50%);
  border-radius: 8px;
}

.frame01 p {
  font-family: var(--font-type);
  font-size: 120%;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 2;
  text-align: center;
}
.frame02 {
    padding: 15px 25px;
    background: var(--bg-color);
}
/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */


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

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

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

.clinic::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 1007px;
  height: 335px;
  background: url(../images/front/clinic_top_l_bg.png) no-repeat left top / cover;
  overflow: hidden;
  z-index: -1;
}

.clinic::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 404px;
  background: url(../images/front/clinic_top_bg.png) center bottom / cover;
  z-index: -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: 60px;
  padding: 80px 0 30px;
}

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

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

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

/* ----- 医院概要 ----- */
.clinic .info{
  position: relative;
  z-index: 1;
  padding: 30px 0 80px;
}
.clinic .info .inner {
  display: flex;
  gap: 60px;
  background-color: rgb(251 247 242 / 80%);
  border-radius: 10px;
  padding: 60px 40px;
}

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

.clinic .info .info_left .logo {
  width: 65%;
  margin: 50px auto;
}

/* ドクター勤務時間テキスト　非表示（TOPのみ） */
.doctor_schedule_txt {
  display: none;
}


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

.clinic .info .office_hour .table_wrapper {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.clinic .info .office_hour .table_wrapper table th,.clinic .info .office_hour .table_wrapper table td {
  vertical-align: top;
  white-space: nowrap;
  text-align: center;
}

.clinic .info .office_hour .table_wrapper table th {
  vertical-align: middle;
}

.clinic .info .office_hour .table_wrapper table td i,.clinic .info .note i{
  color: var(--sub-color-green);
  font-style: normal;
  font-size: 120%;
}

.office_hour .double {
  background: linear-gradient(130deg, #00a291 50%, #f6ba6f 50%);
  background-clip: border-box;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 120%;
  -webkit-text-fill-color: transparent;
}

.clinic .info .office_hour .table_wrapper table td em,.clinic .info .note em {
  background: linear-gradient(130deg, #00a291 50%, var(--sub-color-pink) 50%);
  background-clip: border-box;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 120%;
  font-style: normal;
  -webkit-text-fill-color: transparent;
}

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

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

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

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

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

.clinic .info address .tel {
  margin-top: 15px;
  padding: 3px 0 7px 50px;
  font-family: var(--font-type-en);
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
}

.clinic .info address .tel a {
  color: var(--text-color-brown);
  display: inline-flex;  /* 横並びにしてインライン要素のように扱う */
  align-items: center;   /* 縦方向の中央揃え */
}

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

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

.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  display: inline-flex;  /* 横並びにしてインライン要素のように扱う */
  align-items: center;   /* 縦方向の中央揃え */
  color: var(--text-color-brown);
  font-family: var(--font-type-en);
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
}

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

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

.clinic .info .note h3 {
  width: fit-content;
  background: #fff;
  border-radius: 10px;
  margin: 50px 0 20px;
  padding: 5px 25px;
  color: var(--text-color-brown);
  font-family: var(--font-type);
  font-size: 120%;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.clinic .info .note h3:first-of-type i{
  color: var(--sub-color);
}

.clinic .info .note h3:last-of-type i{
  color: var(--sub-color-pink);
}

.clinic .info .note dl {
  margin: 15px 0 20px;
  display: flex;
  flex-wrap: wrap;
}

.clinic .info .note dl dt {
  width: 12%;
  border-bottom: 1px dotted var(--line-color);
  padding: 1%;
  font-family: var(--font-type);
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
}

.clinic .info .note dl:last-child dt {
  width: 30%;
}

.clinic .info .note dl dd {
  width: 88%;
  border-bottom: 1px dotted var(--line-color);
  padding: 1%;
  line-height: 1.5;
}

.clinic .info .note dl:last-child dd {
  width: 70%;
}

.clinic .info .speciality {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border-radius: 10px;
  margin: 20px auto 0;
  padding: 20px;
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  border-radius: 100vh;
  color: var(--text-color-brown);
  font-family: var(--font-type);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-align: center;
}

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

.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 .note .card_note .btnflex {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  /* gap: 0 10px; */
  gap: 0;
  width: 100%;
  max-width: fit-content;
  margin: auto;
  text-align: center;
}

.clinic .info .note .card_note .btnflex li {
  flex: 1;
}

.clinic .info .note .card_note .center.pay {
  width: 80%;
  max-width: 460px;
  margin: auto;
}

.clinic .info .note .pay .btnflex li {
  flex: auto;
  width: calc(100% / 5);
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .clinic::before {
    background-size: 50%;
  }
  /* ----- お知らせ ----- */
  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 60px 20px 20px;
  }

  /* ----- 医院概要 ----- */
  .clinic .info {
    margin: 0 4%;
  }
  .clinic .info .inner {
    flex-flow: column;
    padding: 40px 20px;
    gap: 40px;
  }

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

  .clinic .info .speciality {
    flex-flow: column;
    gap: 10px;
    padding: 10px;
	text-align: center;
	word-break: auto-phrase;
  }

  .clinic .info .speciality .title {
    width: 100%;
  }
  
  .clinic .info .note dl dt {
    display: block;
    width: 100% !important;
  }
  
  .clinic .info .note dl dd {
    display: block;
    width: 100% !important;
  }

  .clinic .info .googlemap iframe {
    height: 300px;
  }
  .clinic .info .note h3 {
    margin: 20px 0 10px;
  }  
  .clinic .info .note .card_note .center.pay {
    width: 100%;
    max-width: unset;
    margin: auto;
  }
  .clinic .info .note {
    padding-left: 0;
  }
  /* .clinic .info .note .card_note .btnflex li {
    flex: unset;
    padding: 3%;
  }

  .clinic .info .note .card_note .btnflex li:first-of-type{
    padding: 1%;
  } */
}

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

  *ご挨拶（パターン01）

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

.greeting::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 308px;
  height: 296px;
  background: url(../images/front/greeting_r_top.png) no-repeat right top / cover;
  z-index: -1;
}

.greeting::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 295px;
  height: 320px;
  background: url(../images/front/greeting_l_bt.png) no-repeat left bottom / cover;
  z-index: -1;
  border-radius: 10px;
}
.greeting .inner {
  padding-bottom: 120px;
}

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


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

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

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

.greeting_text .catchcopy {
  color: var(--main-color);
  font-family: var(--font-type);
  font-size: 215%;
  font-style: normal;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.15em;
}

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

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

.greeting_right::before {
  position: absolute;
  content: "";
  bottom: -119px;
  right: -120px;
  width: 204px;
  height: 156px;
  background: url(../images/front/greeting_bg_mark.svg) no-repeat bottom right / cover;
  opacity: 0.5;
  z-index: -1;
}

.greeting_img {
  border-radius: 10px;
  overflow: hidden;
}

.greeting_profile {
  position: absolute;
  width: fit-content;
  bottom: -133px;
  left: 0;
  right: 0;
  background: rgb(200 179 152 / 35%);
  border-radius: 10px;
  margin: auto;
  padding: 20px 30px;
  color: var(--text-color-brown);
  font-family: var(
  --font-type);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 2;
  text-align: center;
}

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

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

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



/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting::before, .greeting::after {
    background-size: 50%;
  }
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
	position: relative;
    width: 100%;
    padding-top: 140px;
	z-index: 2;
  }

  .greeting_text .catchcopy {
    margin-bottom: 1.0em;
    font-size: min(5.8vw, 20px);
  }

  .greeting_right::before {
    bottom: -280px;
    right: -20px;
  }

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

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

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

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

.medical::before {
  position: absolute;
  content: "";
  width: 50%;
  height: 100%;
  bottom: 0;
  left: 0;
  background-color: var(--bg-gray);
  z-index: -1;
}

.medical::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 958px;
  height: 100%;
  /* background: url(../images/front/medical_bg_r.png) repeat right top / 958px 231px; */
  /* ドットの大きさは最初の「2px」のままキープ */
  background-image: 
    radial-gradient(rgba(246, 236, 223, 0.8) 2px, transparent 2.5px),
    radial-gradient(rgba(246, 236, 223, 0.8) 2px, transparent 2.5px);
  
  /* 間隔だけを1.5倍（27px）に広げる */
  background-size: 36px 36px;
  
  /* 27pxの半分（13.5px）ズラす */
  background-position: 0 0, 18px 18px;
  z-index: -2;
  overflow: hidden;
}

.medical .top_title {
  color: #ffffff;
}

.medical .top_title span {
  color: var(--main-color);
  font-family: var(--font-type-en);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

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

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

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

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

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

.medical_inner {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 270px;
  padding: 30px 20px 40px;
  /* background: rgba(255, 255, 255, 0.9); */
  border-radius: 10px;
  text-align: center;
  transition: background 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.medical_item:hover .medical_inner { 
  opacity: 0.9;
}

.medical_item:nth-child(odd) .medical_inner {
  background-color: var(--bg-color-beige);
}

.medical_item:nth-child(odd):hover .medical_inner { 
  background: var(--bg-color);
  /* box-shadow: rgba(175 159 139 / 40%) 0px 1px 4px; */
}

.medical_item:nth-child(even) .medical_inner {
  background-color: var(--bg-color);
}

.medical_item:nth-child(even):hover .medical_inner { 
  background: var(--bg-color-beige);
  /* box-shadow: rgba(175 159 139 / 40%) 0px 1px 4px; */
}

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

.medical_icon {
  width: 50%;
  max-width: 173px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 15px !important;
  border-radius: 50%;
  overflow: hidden;
}

.medical_title h3 {
  width: 100%;
  min-width: 265px;
  background: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  color: var(--text-color-brown);
  font-family: var(--font-type);
  font-size: 120%;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
  transition: color 0.2s;
}

.medical_item:hover .medical_title h3 { 
  color: var(--sub-color);
}

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

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

.medical_btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 100vh;
  margin: 0 auto;
  /* padding: 7px 25px 7px 15px; */
  padding: 15px 60px 15px 45px;
  color: var(--text-color-brown);
  font-family: var(--font-type);
  font-size: 100%;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.7;
  text-align: center;
  transition: padding 0.2s, color 0.2s, background 0.2s;
}

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

.medical_item:hover .medical_btn span {
  opacity: 0.8;
}

.medical_item:hover .medical_btn span::after {
  right: 10px;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  /* .medical {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url(../images/common/dmy.jpg) no-repeat center/cover;
  } */

  /* .medical::after {
    background-size: 50%;
  } */

  .medical_list {
    gap: 15px 10px;
  }

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

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

  .medical_inner {
    min-height: auto;
    justify-content: flex-start;
    padding: 20px 10px;
  }

  .medical_icon {
    width: 80%;
  }

  .medical_title h3 {
    min-width: fit-content;
    font-size: min(3.7vw, 22px);
    padding: 7px 20px;
  }

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

  .medical_btn span {
    padding: 10px 30px 10px 20px;
    font-size: min(3.2vw, 16px);
  }
  .medical_btn {
    margin: auto;
  }
  .medical_item:nth-of-type(1) .medical_inner .medical_btn, .medical_item:nth-of-type(4) .medical_inner .medical_btn {
    margin-top: -24px;
  }
}

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

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

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

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

.feature_item {
  position: relative;
  display: flex;
  height: auto;
  width: 100%;
  margin-top: 50px;
  z-index: 1;
}

.feature_item:nth-child(odd)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50vw - 110%);
  z-index: -1;
  width: 964px;
  height: 357px;
  background: url(../images/front/feature_item_l_bg.png) no-repeat left bottom / cover;
}

.feature_item:nth-child(even)::before {
  content: "";
  position: absolute;
  top: -100px;
  right: calc(50vw - 110%);
  z-index: -1;
  width: 1100px;
  height: 398px;
  background: url(../images/front/feature_item_r_bg.png) no-repeat right top / cover;
}

.feature_img {
  position: relative;
  /* width: 500px; */
  width: 550px;
  flex-shrink: 0;
  margin-top: -50px;
  z-index: 1;
  height: fit-content;
  padding-left: 20px;
  padding-bottom: 20px;
}

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

.feature_img::before {
  position: absolute;
  content: "";
  top: 20px;
  left: 0;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  background: var(--main-color-80-01);
  border-radius: 20px;
  z-index: -1;
}

.feature_inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-flow: column;
  width: calc(100% + 50px);
  height: 100%;
  min-height: 400px;
  margin: 0 0 0 -50px;
  /* padding: 50px 30px 50px; */
  /* padding: 50px 75px 50px 90px; */
  padding: 50px 60px;
  background: #fff;
  border-radius: 10px;
}

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

.feature_item:nth-child(odd) .feature_inner::before {
  content: "";
  position: absolute;
  bottom: 65px;
  left: -71px;
  width: 130px;
  height: 130px;
  background: url(../images/front/feature_innre_circle_l.png) no-repeat left bottom / cover;
  z-index: 2;
}

.feature_item:nth-child(even) .feature_inner::before {
  content: "";
  position: absolute;
  bottom: -56px;
  left: -76px;
  width: 152px;
  height: 156px;
  background: url(../images/front/feature_innre_circle_r.png) no-repeat right bottom / cover;
  z-index: 2;
}

.feature_title {
  position: relative;
  display: flex;
  flex-flow: row;
  /* margin-bottom: 20px !important; */
  margin-bottom: 40px !important;
  align-items: center;
  gap: 0 30px;
  padding: 18px 0 18px 22px;
}

.feature_title h3:before {
  position: absolute;
  bottom: 12px;
  left: 110px;
  width: 78%;
  height: 17px;
  content: '';
  background: url(../images/front/feature_h3_line.png) repeat-x left bottom / 60px 17px;
}


.feature_title h3 {
  color: var(--text-color-brown);
  font-family: var(--font-type);
  font-size: 140%;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.feature_num {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin: 0 0 5px !important;
  color: var(--text-color-brown);
  font-family: var(
  --font-type);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.7;
  font-size: 110%;
  line-height: 1;
  z-index: 2;
  white-space: nowrap;
}

.feature_num::before {
  content: "";
  position: absolute;
  top: 53%;
  left: 47%;
  transform: translate(-50%, -50%);
  width: 113px;
  height: 112px;
  background: url(../images/front/feature_num.png) no-repeat center / cover;
  z-index: -1;
}

.feature_num span {
  color: var(--sub-color);
  font-family: var(--font-type);
  font-size: 293%;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
}

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

.feature_item .btn01 {
  /* margin-top: auto; */
  text-align: center;
}

.feature_item .btn01 > * {
  /* padding: 10px 40px 10px 30px; */
  font-size: 95%;
}

.btnflex_feature {
  display: flex;
  align-items: center;
  flex-flow: wrap;
  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 {
    padding-bottom: 0;
  }

  .feature_list {
    gap: 50px;
  }

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

  .feature_img {
    width: 100%;
    margin: 0;
  }

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

  .feature_title {
    flex-direction: column;
    gap: 32px 0;
    margin-bottom: 30px !important;
    padding: 20px 0 10px;
    min-height: auto;
  }

  .feature_title h3 {
    font-size: min(4.2vw, 17px) !important;
    line-height: 1.5;
  }

  .feature_num {
    font-size: 80%;
  }

  .feature_num::before {
    background-size: 75%;
  }

  .feature_title h3:before {
    bottom: -15px;
    left: 0;
    width: 100%;
  }

  .feature_item:nth-child(odd)::before,
  .feature_item:nth-child(even)::before {
    display: none;
  }

  .feature_item:nth-child(odd) .feature_inner::before {
    bottom: -32px;
    left: unset;
    right: calc(50% - 180px);
    z-index: -1;
  }

  .feature_item:nth-child(even) .feature_inner::before {
    bottom: -56px;
    left: -15px;
    z-index: -1;
  }

  .feature_button {
    flex-wrap: wrap;
  }

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

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

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

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

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

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

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

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

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

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

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

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

  *無限スライダー

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
#infinitySlider {
  padding: 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;
  }
}