@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;
  display: flex;
  flex-direction: column-reverse;
  padding-top: 53px;
  background: url(../images/common/logo_mark.png) no-repeat top center / calc(200px * 0.21) calc(205px * 0.21);
}

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

.top_title h2 {
  color: var(--title-color);
  font-family: var(--jp-font);
  font-weight: 500;
  font-size: 220%;
  letter-spacing: 0.1em;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--main-color);
  font-family: var(--en-font);
  font-weight: 500;
  font-size: 150%;
  line-height: 1.3;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .top_title {
    margin-bottom: 40px;
    padding-top: 43px;
    background: url(../images/common/logo_mark.png) no-repeat top center / calc(200px * 0.2) calc(205px * 0.2);
  }

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

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

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ 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 {
  color: var(--title-color);
  font-family: var(--jp-font);
  font-weight: 500;
  font-size: 220%;
  letter-spacing: 0.1em;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
  filter: drop-shadow(0 0 5px rgb(255, 255, 255, 0.5)) drop-shadow(0 0 5px rgb(255, 255, 255, 0.6)) drop-shadow(0 0 5px rgb(255, 255, 255, 0.8));
}

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

.mvContents .inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

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

/* ----- 開院バナー ----- */
.open_bnr {
  position: absolute;
  bottom: 50px;
  display: inline-block;
  padding: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.open_bnr > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 280px;
  padding: 15px;
  background: #EB9370;
  background: linear-gradient(225deg, #F2C484 0%, #EB9370 100%);
  border-radius: 50%;
  color: #ffffff;
  font-family: var(--jp-font);
  font-weight: 500;
  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);
}

/* MVのバナー */
.mv_bnr {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  bottom: 50px;
  left: 310px;
}

.mv_bnr div a{
  width: 180px;
  height: 180px;
  padding: 70px 20px 30px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  font-size: 110%;
  font-family: var(--jp-font);
  font-weight: 500;
  font-style: normal;
  line-height: 1.5;
  color: var(--title-color);
  position: relative;
  z-index: 0;
  transition: 0.3s;  
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 10px 50px;
  border: solid 3px var(--sub-color);
}

.mv_bnr div:nth-of-type(2) a{
  border: solid 3px var(--sub02-color);
}

.mv_bnr div a:hover{
  transform: translateY(-10px);
  opacity: 0.8;
}

.mv_bnr div a::before {
  position: absolute;
  content: '';
  background: url(../images/front/mv_bnr_icon01.png) no-repeat center / contain;
  width: 53px;
  height: 53px;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.mv_bnr div:nth-of-type(2) a::before{
  background: url(../images/front/mv_bnr_icon02.png) no-repeat center / contain;
}

.mv_bnr div a .morebtn{
  background: #efefef;
  color: var(--title-color);
  padding: 7px 15px;
  border-radius: 30px;
  font-family: var(--en-font);
  font-weight: 500;
  font-size: 65%;
  line-height: 1;
  margin-top: 6px;
}

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

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

  /* ----- スライダーの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: 50%;
    display: none;
  }

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

  .mvCatch p {
    font-size: 130%;
    line-height: 1.75;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff);
  }

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

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

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

  /*----- MVのバナー -----*/
  .mv_bnr{
    bottom: 15px;
    left: unset;
    right: 15px;
    z-index: 1;
    justify-content: end;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px 10px;
    width: 100%;
  }

  .mv_bnr div{
    width: 32%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .mv_bnr div::before{
    bottom: 0;
  }

  .mv_bnr div a{
    width: 100%;
    height: 100%;
    padding: 50px 10px 15px;
    font-size: 90%;
    letter-spacing: 0.05em;
  }

  .mv_bnr div a::before{
    width: 35px;
    height: 35px;
    top: 10px;
  }

  .mv_bnr div a .morebtn{
    padding: 5px 10px;
    margin-top: 3px;
  }

  /* ----- スマホ専用エリア ----- */
  .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%;
    max-width: 95%;
    margin: 0 auto;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.clinic {
  position: relative;
  z-index: 1;
  background: url(../images/front/bg_clinic.jpg) no-repeat bottom / cover;
  padding-bottom: 100px;
}

.clinic::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url(../images/front/dot_shape02_gr.png), url(../images/front/dot_shape01_or.png), url(../images/front/dot_shape02_bl.png);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: calc(300px* 0.8) calc(212px* 0.8), calc(300px* 0.8) calc(247px* 0.8), calc(300px* 0.8) calc(212px* 0.8);
  background-position: 2% 35%, 100% 75%, 5% 108%;
  z-index: -1;
  opacity: 0.8;
}

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

.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 .inner {
  display: flex;
  gap: 40px;
  padding: 50px;
  background: #fff;
  border-radius: 20px;
  box-shadow: rgba(149, 157, 165, 0.15) 0px 8px 24px;
}

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

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

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

.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(--en-font);
  font-weight: 500;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.09em;
}

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

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

.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-family: var(--en-font);
  font-weight: 500;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.09em;
  color: var(--title-color);
}

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

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

.clinic .info .speciality {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px auto 0;
  font-family: var(--jp-font);
  font-weight: 400;
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 12px 30px;
  background: var(--bg-gray);
  color: var(--title-color);
  text-align: center;
  font-weight: 500;
  border-radius: 8px;
}

.clinic .info .googlemap iframe {
  height: 350px;
  border-radius: 13px;
}

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .clinic {
    background: url(../images/front/bg_clinic_sp.jpg) no-repeat bottom / cover;
    padding: 0 15px 70px;
  }

  .clinic::before{
    background-size: calc(300px * 0.4) calc(212px * 0.4), calc(300px * 0.4) calc(247px * 0.4), calc(300px * 0.4) calc(212px * 0.4);
    background-position: -11% 1%, 100% 39%, 3% 100%;
  }
  /* ----- お知らせ ----- */
  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 60px 5px;
  }
  .clinic .news .top_title{
    margin: 0 0 10px;
  }

  /* ----- 医院概要 ----- */
  .clinic .info .inner {
    flex-flow: column;
    padding: 25px 15px 40px;
  }

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

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

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

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

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

  .clinic .info .note{
    padding-left: 0;
  }

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

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

  *ご挨拶（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.greeting {
  position: relative;
  z-index: 1;
  background: 
  url(../images/front/greeting_bg01.png) no-repeat top 120px left 8% / calc(162px * 0.45) calc(145px * 0.45),
  url(../images/front/greeting_bg02.png) no-repeat top -50px right 0 / calc(512px * 0.9) calc(510px * 0.9),
  url(../images/front/greeting_bg03.png) no-repeat bottom -10px left 0px / calc(474px * 1) calc(371px * 1);
}

.greeting .inner{
  padding-bottom: 130px;
}

.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 > *:not(:last-child) {
  margin-bottom: 2em;
}

.greeting_text h3{
  font-family: var(--jp-font);
  font-weight: 500;
  font-size: 145%;
  letter-spacing: 0.1em;
  color: var(--title-color);
}

.greeting_text h3 span{
  padding: 0 2px;
  font-size: 120%;
    /* background: #F7F7F7;
    padding: 5px 10px;
    border-radius: 8px;
    margin: 0 3px; */
}

.greeting_img{
  position: relative;
  z-index: 0;
  padding: 10px 10px 0 0;
}

.greeting_img::before{
  content: '';
  position: absolute;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  top: 0;
  right: 0;
  background: #e98b66;
  background: #EB9370;
  background: linear-gradient(225deg, #F2C484 0%, #EB9370 100%);
  border-radius: 15px 20px 15px 15px;
  z-index: -1;
}

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

.greeting_profile {
  margin-top: 20px;
  color: var(--title-color);
  font-family: var(--jp-font);
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
}

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting {
    background: 
    url(../images/front/greeting_bg01.png) no-repeat top 160px left -2% / calc(162px * 0.2) calc(145px * 0.2),
    url(../images/front/greeting_bg02.png) no-repeat top -40px right 0 / calc(431px * 0.4) calc(409px * 0.4),
    url(../images/front/greeting_bg03.png) no-repeat bottom 0px left -5px / calc(474px * 0.4) calc(371px * 0.4);
  }

  .greeting .inner{
    padding-bottom: 70px;
  }

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

  .greeting_left {
    width: 100%;
  }

  .greeting_text h3{
    margin-bottom: 1.5em!important;
    font-size: 130%;
    line-height: 1.6;
  }

  .greeting_img{
    width: 80%;
    margin: 0 auto;
  }
  
  .greeting_profile .position {
    font-size: 110%;
  }

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

  .greeting_btn {
    margin-top: 40px;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  position: relative;
  z-index: 0;
}

.feature::before{
  content: '';
  position: absolute;
  background: #f6f5f4;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -2;
}

.feature::after{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url(../images/front/dot_shape01_or.png), url(../images/front/dot_shape02_bl.png), url(../images/front/dot_shape02_gr.png), url(../images/front/dot_shape01_or.png), url(../images/front/dot_shape01_bl.png), url(../images/front/dot_shape02_or.png), url(../images/front/dot_shape02_gr.png);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: calc(300px * 0.9) calc(247px * 0.9), calc(300px * 0.9) calc(212px * 0.9), calc(300px * 0.9) calc(212px * 0.9), calc(300px * 0.9) calc(247px * 0.9), calc(300px * 0.9) calc(247px * 0.9), calc(300px * 0.9) calc(212px * 0.9), calc(300px * 0.9) calc(212px * 0.9);
  background-position: 5% 7%, 95% 22%, 6% 34%, 95% 49%, 5% 63%, 95% 73%, 8% 98%;
  z-index: -1;
  opacity: 0.6;
}

.feature_bg_line{
  position: absolute;
  background: url(../images/front/dot_line.png) repeat-x left / calc(170px * 0.8) calc(10px * 0.8);
  width: calc(100% - 100px);
  height: 10px;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

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

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

.feature_item {
  display: flex;
  width: 100%;
  height: auto;
  margin-top: 50px;
}

.feature_img {
  position: relative;
  z-index: 0;
  flex-shrink: 0;
  width: 540px;
  height: fit-content;
  margin-top: -50px;
  padding-bottom: 20px;
}

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

.feature_num {
  font-family: var(--en-font);
  font-weight: 500;
  font-size: 270%;
  letter-spacing: 0.05em;
  line-height: 1;
  position: absolute;
  bottom: 0;
  left: 10px;
}

.feature_num span {
  color: var(--main-color);
  background: url(../images/front/feature_num_bg01.png) no-repeat center / contain;
  padding: 30px;
}

.feature_item:nth-of-type(3n+2) .feature_num span{
  color: var(--sub-color);
    background: url(../images/front/feature_num_bg02.png) no-repeat center / contain;
}

.feature_item:nth-of-type(3n+3) .feature_num span{
  color: var(--sub02-color);
    background: url(../images/front/feature_num_bg03.png) no-repeat center / contain;
}

.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: 55px 55px 50px;
  background: var(--main-color);
  border-radius: 20px;
  overflow: hidden;
}

.feature_item:nth-of-type(3n+2) .feature_inner{
  background: var(--sub-color);
}

.feature_item:nth-of-type(3n+3) .feature_inner{
  background: var(--sub02-color);
}

.feature_inner::before{
  content: '';
  position: absolute;
  width: 100%;
  height: calc(100% - 10px);
  top: 0;
  left: 0;
  background: #fff;
  border-radius: 18px;
  z-index: -1;
}

.feature_inner::after{
  content: '';
  position: absolute;
  background: url(../images/common/logo_mark.png) no-repeat center / contain;
  width: calc(200px * 1);
  height: calc(205px * 1);
  bottom: -20px;
  right: -10px;
  z-index: -1;
  opacity: 0.16;
}

.feature_title {
  display: flex;
  flex-flow: column;
  margin-bottom: 30px;
}

.feature_title h3 {
  color: var(--title-color);
  font-family: var(--jp-font);
  font-weight: 500;
  font-size: 160%;
  line-height: 1.6;
  letter-spacing: 0.12em;
  padding: 3px 10px 18px;
  position: relative;
  z-index: 0;
}

.feature_title h3::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  left: 0;
  bottom: 0;
  background-color: var(--main-color);
  mask: url(../images/front/dot_line.png) repeat-x bottom left / calc(170px * 0.4) calc(10px * 0.4);
  -webkit-mask: url(../images/front/dot_line.png) repeat-x bottom left / calc(170px * 0.4) calc(10px * 0.4);
  z-index: 0;
}

.feature_item:nth-of-type(3n+2) .feature_title h3::before {
   background-color: var(--sub-color);
}

.feature_item:nth-of-type(3n+3) .feature_title h3::before {
   background-color: var(--sub02-color);
}

.feature_title h3::after{
  content: '';
  position: absolute;
  background: var(--main-color);
  filter: blur(22px);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  top: 3px;
  left: 0;
  z-index: -1;
}

.feature_item:nth-of-type(3n+2) .feature_title h3::after{
  background: var(--sub-color);
}

.feature_item:nth-of-type(3n+3) .feature_title h3::after{
  background: var(--sub02-color);
}

.feature_title h3 .small{
  font-size: 85%;
}

.feature_text .btn01 {
  text-align: right;
}

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

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


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

  .feature::after{
    background-size: 
      calc(300px * 0.4) calc(247px * 0.4), 
      calc(300px * 0.4) calc(212px * 0.4), 
      calc(300px * 0.4) calc(212px * 0.4), 
      calc(300px * 0.4) calc(247px * 0.4), 
      calc(300px * 0.4) calc(247px * 0.4), 
      calc(300px * 0.4) calc(212px * 0.4), 
      calc(300px * 0.4) calc(212px * 0.4);
    background-position: -20% 2%, 100% 20%, 0% 36%, 100% 52%, 0% 69%, 100% 85%, 0% 100%;
  }

  .feature_bg_line{
    background: url(../images/front/dot_line.png) repeat-x left / calc(170px * 0.5) calc(10px * 0.5);
    width: calc(100% - 40px);
    height: 5px;
  }

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

  .feature_inner::before{
    border-radius: 0 0 15px 15px;
  }
    
  .feature_inner::after{
    width: calc(200px * 0.5);
    height: calc(205px * 0.5);
    bottom: -5px;
    right: -5px;
  }

  .feature_list {
    gap: 40px;
  }

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

  .feature_img {
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 3;
  }

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

  .feature_num{
    font-size: 200%;
    bottom: 5px;
    left: unset;
    right: 5px;
  }

  .feature_num span{
    padding: 22px;
  }

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

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

  .feature_title h3{
    padding: 3px 5px 18px;
    font-size: 120%;
    letter-spacing: 0.06em;
  }

  .feature_title h3::after{
    filter: blur(13px);
    width: 20px;
    height: 20px;
  }

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url(../images/front/medical_bg.jpg) no-repeat center/cover;
}

.medical .top_title {
  color: #ffffff;
}

.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 {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 270px;
  padding: 30px 20px 40px;
  background: var(--bg-color);
  text-align: center;
  border-radius: 10px;
}

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

.medical_icon {
  width: 70%;
  max-width: 120px;
  margin: 0 auto 10px !important;
  background: #fff;
  padding: 18px;
  border-radius: 50%;
}

.medical_title h3 {
  color: var(--title-color);
  font-family: var(--jp-font);
  font-weight: 500;
  font-size: 120%;
}

.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;
  margin: 0 auto;
  padding: 7px 25px 7px 15px;
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
  color: #ffffff;
  font-family: var(--jp-font);
  font-weight: 500;
  letter-spacing: 1px;
  text-align: center;
  transition: padding 0.2s, color 0.2s, background 0.2s;
  border-radius: 8px;
}

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


/* ----------------------------------------------------------------------
  ▼ 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/front/medical_bg_sp.jpg) no-repeat center/cover;
  }

  .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_inner > *:not(:last-child){
    margin-bottom: 10px;
  }

  .medical_icon {
    width: 50%;
    padding: 13px;
    margin: 0 auto 5px !important;
  }

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

  .medical_btn span {
    padding: 5px 20px 5px 10px;
  }

}

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

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