@charset "UTF-8";

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

  *基本設定

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

body::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 30%;
  height: 960px;
  background: var(--main-color);
  border-radius: 0 0 8px 0;
  z-index: -1;
}

.front {
  overflow: hidden;
}

section .inner {
  max-width: 1500px;
  padding: 120px 50px;
}

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

/* ----- パララックス ----- */
.parallax {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 500px;
}

/* 切り抜く範囲 */
.parallax_img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  clip-path: inset(0);
}

/* 固定する画像 */
.parallax_img::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  body::before {
    top: 105px;
    height: 650px;
  }

  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 {
  position: relative;
  z-index: 1;
  margin-bottom: 56px;
  line-height: 1.5;
  text-align: center;
}

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

.top_title h2 {
  color: var(--title-color);
  font-size: 175%;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 94px;
  font-family: var(--font-en);
  font-weight: 400;
  color: var(--main-color);
  text-transform: uppercase;
  line-height: 1;
  opacity: .4;
}

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

  .top_title h2 {
    font-size: 20px;
  }

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

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.mainvisual {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 740px;
}

.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 {
  position: relative;
  width: 100%;
  height: 100%;
  padding-left: 22%;
}

.mvImg::before {
  position: absolute;
  z-index: -1;
  content: "";
  top: 0;
  right: 0;
  width: calc(78% - 1px);
  height: 100%;
  background: #ffffff;
  border-radius: 8px 0 0 8px;
}

.mvImg::after {
  position: absolute;
  z-index: 1;
  content: "";
  bottom: -13px;
  left: 68px;
  width: 400px;
  height: auto;
  aspect-ratio: 268 / 321;
  background: url(../images/front/logo_icon_white.png) no-repeat center / cover;
  opacity: .2;
}

.mvImg .splide__track {
  width: 100%;
  height: 100%;
  border-radius: 8px 0 0 8px;
}

.mvImg .splide__slide {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 8px 0 0 8px;
}

.mvImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px 0 0 8px;
}

/* フェードの専用スタイル */
.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: 45%;
  left: 0;
  z-index: 3;
  width: max-content;
  height: max-content;
  visibility: visible;
  /* Splide初期のvisibility:hiddenによるFOUCを防止 */
  transform: translate(calc((14vw) / 2), -50%);
  -webkit-transform: translate(calc((14vw) / 2), -50%);
}

.mvCatch.splide {
  visibility: visible;
}

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

/* Splideの width:100% と fit-content の循環参照で幅0になるのを防ぐ */
.mvCatch .splide__track,
.mvCatch .splide__list {
  width: max-content;
  height: max-content;
  overflow: visible;
}

.mvCatch .splide__slide {
  width: max-content !important;
  height: auto !important;
  overflow: visible;
}

.mvCatch p {
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  -webkit-text-orientation: mixed;
  text-orientation: mixed;
  color: var(--main-color);
  font-size: 180%;
  font-family: var(--font-jp);
  font-weight: 700;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.mvCatch p span {
  display: inline-block;
  padding: 20px 14px 0;
  background: rgb(255 255 255 / .95);
  border-radius: 8px;
}

.mvCatch p span:nth-of-type(2) {
  position: relative;
  margin-top: 1.5em;
  margin-right: 16px;
}

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

.mvContents .inner {
  position: relative;
  z-index: 2;
  width: 78%;
  max-width: unset;
  height: 100%;
  margin-left: 22%;
}

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

/* ----- 丸型バナー ----- */
.mv_bnr_wrap {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 3;
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 410px;
}

.mv_bnr_item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: auto;
  aspect-ratio: 1;
  padding: 14px 8px 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  color: var(--text-color);
  text-align: center;
}

.mv_bnr_item:first-of-type {
  position: relative;
  top: 26px;
  margin: 0 22px;
}

.mv_bnr_item p {
  font-size: 90%;
  font-family: var(--font-jp);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.55;
}

.mv_bnr_item span {
  color: var(--main-color);
  font-size: 120%;
  font-weight: 700;
}


.mv_bnr_item small {
  display: inline-block;
  margin-top: 4px;
  color: var(--text-color);
  font-size: 100%;
}

/* ----- 認定バナー（長方形） ----- */
.mv_bnr_accreditation {
  position: absolute;
  left: 40px;
  bottom: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 470px;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
}

.mv_bnr_accreditation .mv_bnr_img {
  flex-shrink: 0;
  width: 150px;
}

.mv_bnr_accreditation p {
  font-size: 95%;
  font-family: var(--font-jp);
  font-weight: 700;
  line-height: 1.6;
}

.mv_bnr_accreditation span {
  color: var(--main-color);
  font-size: 130%;
  font-weight: 700;
}

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

.open_bnr>* {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 280px;
  padding: 15px;
  background: var(--main-color);
  border-radius: 50%;
  color: #ffffff;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
}

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

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

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

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

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

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

@media screen and (max-width: 1400px) {
  .mvCatch {
    transform: translate(4.5vw, -50%);
  }
}

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

  .mvImg {
    padding-left: 10%;
  }

  .mvImg::before {
    width: calc(90% - 1px);
  }

  .mvImg::after {
    bottom: -5px;
    left: -8px;
    width: 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: 20px;
    transform: translateY(0);
    -webkit-transform: translateY(0);
  }

  .mvCatch .inner {
    padding: 0 10px;
  }

  .mvCatch p {
    font-size: min(4.2vw, 16px);
  }

  .mvCatch p span:nth-of-type(2) {
    position: relative;
    margin-top: 1em;
    margin-right: 8px;
  }

  /* ----- コンテンツ ----- */
  .mvContents .inner {
    width: 100%;
    padding: 0 10px;
    margin: 0;
  }

  /* ----- 丸型バナー ----- */
/*   .mv_bnr_wrap {
    position: absolute;
    bottom: 15px;
    right: 10px;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 5px;
    width: calc(100% - 20px);
    max-width: unset;
  }

  .mv_bnr_item {
    width: calc((100% / 3) - (10px / 3));
    padding: 5px;
  } */
	
  .mv_bnr_wrap {
    position: absolute;
    bottom: 15px;
    right: 10px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    width: calc(100% - 20px);
  }

  .mv_bnr_item {
	width: 100%;
    padding: 5px;
  }

  .mv_bnr_item:first-of-type {
    top: 0;
    margin: 0;
  }

  .mv_bnr_item p {
    font-size: min(2.5vw, 16px);
  }

  .mv_bnr_item small {
    margin-top: 0;
  }

  /* ----- 認定バナー（長方形） ----- */
  .mv_bnr_accreditation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(30.4vw + 25px);
    width: calc(100% - 20px);
    max-width: unset;
    margin: 0;
    padding: 10px 12px;
    gap: 10px;
  }

  .mv_bnr_accreditation .mv_bnr_img {
    width: 80px;
  }

  .mv_bnr_accreditation p {
    font-size: min(3vw, 14px);
  }

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

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

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

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

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

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

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

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

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

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

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

.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;
  padding: 20px;
  background: #ffffff;
}

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

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

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

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

  .clinic .info .speciality .title {
    width: 100%;
  }
}

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

  *ご挨拶（パターン01）

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

.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_profile {
  padding: 20px;
  background: var(--main-color);
  color: #ffffff;
  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_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.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 .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: rgba(255, 255, 255, 0.9);
  text-align: center;
}

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

.medical_icon {
  width: 70%;
  max-width: 80px;
  margin: 0 auto 15px !important;
}

.medical_title h3 {
  color: var(--text-color);
  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(--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;
}

.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 {
    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_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: 50%;
  }

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

  /* ----- 先頭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;
}

.feature::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  mask: url(../images/front/wave_mask.png) no-repeat left top/100% 100%;
  background: url(../images/front/feature_bg.jpg) no-repeat center/cover;
  opacity: .3;
}

.feature::after {
  position: absolute;
  z-index: -1;
  bottom: -2px;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/front/wave_white.png) no-repeat left bottom / 100% auto;
}

.feature .inner {
  padding-top: 160px;
  padding-bottom: 200px;
}

.splide.feature_splide {
  visibility: inherit;
}

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

.feature_item {
  display: flex;
  flex-flow: column;
  width: calc(33.3333333333% - 20px);
  height: auto;
  box-shadow: 0 0 20px rgb(20 20 20 /.05);
}

.feature_img {
  position: relative;
  z-index: 1;
  padding: 0 8px 8px;
}

.feature_img::before {
  position: absolute;
  z-index: -1;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--main-color);
  border-radius: 8px 8px 0 0;
}

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

.feature_num {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 10px 18px 13px;
  background: var(--main-color);
  border-radius: 8px 8px 0 0;
  color: #ffffff;
  font-size: 100%;
  font-family: var(--font-en);
  font-weight: 400;
  line-height: 1;
}

.feature_num span {
  position: relative;
  top: 1px;
  margin-left: 4px;
  font-size: 135%;
}

/* 画像がない場合 */
.feature_item>.feature_num {
  position: static;
  margin: 0 0 12px !important;
  color: inherit;
  filter: none;
}

.feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 25px 20px 30px;
  background: rgb(255 255 255 / .9);
  border-radius: 0 0 8px 8px;
}

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

.feature_title h3 {
  color: var(--title-color);
  font-size: 140%;
  line-height: 1.7;
  text-align: center;
}

.feature_text {
  margin-bottom: 24px;
}

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

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

@media screen and (min-width: 641px) {
  .feature_button .btn01 a {
    min-width: 240px;
  }
}

/* ==============================================
  *SP
============================================== */
@media screen and (max-width: 640px) {
  .feature .splide__track {
    padding: 0 20px !important;
  }

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

  .feature .top_title {
    padding-right: 16px;
    padding-left: 16px;
  }

  .feature_list {
    position: relative;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
  }

  .feature_item {
    width: 100% !important;
  }

  .feature_img, .feature_img img {
    width: 100%;
    height: auto;
    aspect-ratio: 335 / 180;
  }

  .feature_img img {
    object-fit: cover;
  }

  .feature_num {
    font-size: 100%;
  }

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

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

  .feature_inner {
    height: auto;
    padding: 16px 20px 22px;
  }

  .feature_text p {
    font-size: 13px;
  }

  .feature_button {
    margin-top: 0;
  }

  /* ---- 横並びボタン ----- */
  .btnflex_feature .btn01 {
    width: 100%;
  }

  /* ---- ページネーション・スライダー矢印 ----- */
  .feature .feature_splide_options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 20px;
  }

  .feature .splide__pagination {
    display: flex;
    gap: 15px;
    width: fit-content;
  }

  .feature .splide__pagination li button {
    width: 8px;
    height: 8px;
    background-color: #e8e8e8;
    border-radius: 50%;
    transition: background 0.2s;
  }

  .feature .splide__pagination li button.is-active {
    background: var(--main-color);
  }

  .feature .splide__arrows {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: fit-content;
  }

  .feature .splide__arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    padding: 3px;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
  }

  .feature .splide__arrow i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    border-radius: 50%;
    font-size: 80%;
    line-height: 1;
    transition: background 0.2s;
  }

  .feature .splide__arrow:hover i {
    background: var(--sub-color);
  }
}

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

  *無限スライダー

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ 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_content {
  position: relative;
}

.top_content::before {
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 255, 255) 0%, rgba(255, 255, 255, 0.2) 100%) no-repeat left bottom / 100% 100px, linear-gradient(to bottom, rgba(255, 255, 255) 0%, rgba(255, 255, 255, 0.2) 100%) no-repeat left top / 100% 100px, url(../images/front/top_content_bg.jpg) no-repeat center / cover;
  opacity: .4;
}

/* .top_content::after {
  content: "";
  position: absolute;
  top: 260px;
  left: -250px;
  z-index: -1;
  width: 1000px;
  height: auto;
  aspect-ratio: 1000 / 577;
  background: url(../images/front/shape_pink.png) no-repeat center / cover;
  transform: rotate(30deg);
  opacity: .35;
} */

.top_banner .inner {
  padding-top: 160px;
  padding-bottom: 50px;
}

.top_banner .banner_slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--text-color);
}

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

.top_banner .onlyimg .banner_slide img {
  width: 100%;
  height: auto;
  transition: opacity 0.2s;
  border-radius: 8px;
}

.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;
  width: 460px !important;
}

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

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

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

  #bannerSlider .splide__slide {
    width: 100% !important;
  }

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

  #bannerSlider .bannerSlider_arrow_next {
    right: -10px;
  }

  #bannerSlider .bannerSlider_arrow_prev {
    left: -10px;
  }


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

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

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

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

.search::before {
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 255, 255) 0%, rgba(255, 255, 255, 0.2) 100%) no-repeat left bottom / 100% 50px, linear-gradient(to bottom, rgba(255, 255, 255) 0%, rgba(255, 255, 255, 0.2) 100%) no-repeat left top / 100% 100px, url(../images/front/search_bg.jpg) no-repeat center / cover;
  opacity: .4;
  transform: rotateY(-180deg);
}

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

.search .tab_list {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.search .tab_list li {
  display: flex;
  flex: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 14px 20px;
  background: #f0f0f0;
  border-radius: 8px;
  color: #999999;
  font-size: 120%;
  font-family: var(--font-jp);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

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

/* ----- パネル ----- */
.search .panel {
  display: none;
  margin: 0 !important;
  background: none;
}

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

/* ----- 項目 ----- */
.search_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  height: fit-content;
}

.search_list a {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  padding: 20px 15px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgb(20 20 20 /.05);
}

.search_icon {
  width: 50%;
  max-width: 260px;
  margin: 0 auto 12px;
  padding: 25px;
  background: var(--bg-color);
  border-radius: 50%;
}

.search_icon img {
  width: 100%;
  height: auto;
}

.search_name {
  color: var(--title-color);
  font-size: 130%;
  font-family: var(--font-jp);
  font-weight: 700;
  text-align: center;
}

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

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

.panel_flex .search_list {
  grid-template-columns: repeat(2, 1fr);
  width: calc(50% - 10px);
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .search .tab_list {
    flex-flow: wrap;
    gap: 5px;
    margin: 0 0 5px;
  }

  .search .tab_list .tab {
    flex: 0 0 calc(50% - (5px / 2));
    min-height: auto;
    padding: 12px 10px !important;
    border-radius: 8px;
    font-size: 100%;
    transform: translate(0, 0) !important;
  }

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

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

  .search_list a {
    padding: 10px;
  }

  .search_icon {
    width: 50%;
    max-width: 100px;
    padding: 10px;
    margin: 0 auto 8px;
  }

  .search_name {
    font-size: min(4vw, 15px);
    line-height: 1.4;
  }

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

  .panel_flex .search_img {
    width: 100%;
  }

  .panel_flex .search_list {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
}