@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 {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  clip-path: inset(0);
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  section .inner {
    padding: 80px 16px;
  }

  /* ----- パララックス ----- */
  .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: 80px;
  text-align: center;
}

.top_title::before {
	display: block;
  margin-bottom: 16px;
  padding-bottom: 0.1em;
	background: linear-gradient(90deg, rgba(145, 185, 67, 0.8) 35%, rgba(118, 179, 101, 0.8) 65%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
  color: var(--main-color);
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 615%;
	line-height: 1;
	letter-spacing: 0.075em;
  content: "";
}

/* 左寄せ */
.top_title.title_left {
  text-align: start;
}

.top_title h2 {
  color: var(--highlight-color);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 194%;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.top_title .eng {
  display: inline-block;
  margin-top: 16px;
  color: var(--support-color);
  font-family: "Allura", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 147%;
  line-height: 1;
  letter-spacing: 0.075em;
}

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

  .top_title::before {
    margin-bottom: 8px;
    font-size: 390%;
  }

  .top_title h2 {
    font-size: 165%;
  }

  .top_title .eng {
    margin-top: 8px;
  }
}

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

  *メインビジュアル

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

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

.mvSlider::before {
  opacity: 0.6;
  position: absolute;
  top: -48px;
  right: -24px;
  z-index: 1;
  width: 528px;
  height: 524px;
  background-image: url("../images/common/plant_01.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
}

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

.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%;
  border-radius: 50%;
  background: var(--main-color);
  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-weight: 900;
  font-style: normal;
  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%;
}

.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: 35%;
  left: 0;
  z-index: 3;
  transform: translateY(-50%);
  width: 100%;
}

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

.mvCatch p {
  color: var(--text-color);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 194%;
  line-height: 1.8;
  letter-spacing: 0.2em;
  text-shadow: 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff;
}

.mvCatch p span {
  margin-right: 8px;
  color: var(--sub-color);
  font-weight: 700;
  font-size: 130%;
  letter-spacing: 0.22em;
}

.mvCatch p span::before {
  display: inline-block;
  transform: rotateY(180deg);
  margin-right: 16px;
  content: "”";
}

.mvCatch p span::after {
  display: inline-block;
  margin-left: 8px;
  content: "”";
}

.mvCatch p span:last-child {
  color: var(--accent-color);
}

/* ----- コンテンツ ----- */
.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%;
}

/* ----- バナー ----- */
.info_bnr_box {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  position: absolute;
  bottom: 40px;
  left: 0;
}

/* 新規開院・内覧会バナー */
.open_bnr {
  display: inline-block;
  padding: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.open_bnr > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 280px;
  padding: 16px;
  border-radius: 50%;
  background: rgba(145, 185, 67, 0.95);
  color: #ffffff;
  font-size: 100%;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: center;
}

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

.open_bnr .open_text {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 180%;
}

.open_bnr .nairankai_tit {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  padding: 4px 16px;
  border-radius: 300px;
  background: #ffffff;
  color: var(--main-color);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 95%;
}

.open_bnr .nairakai_date {
  margin: 10px 0 0;
}

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

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

/* その他バナー */
.info_bnr {
  display: inline-block;
  position: relative;
}

.info_bnr > * {
  position: relative;
  width: 240px;
  height: 240px;
  padding: 16px;
  aspect-ratio: 640 / 682;
  color: var(--sub-color);
  font-size: 100%;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: center;
}

.info_bnr div::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-image: url("../images/front/frame_01.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
}

.info_bnr a {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 16px;
  color: var(--sub-color);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.info_bnr p {
  margin-top: -10px;
}

.info_bnr p::before {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 10px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #e3f3c3;
  color: #91b943;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 25px;
  content: "\f554";
}


.info_bnr01 p::before {
  font-size: 30px;
}


.info_bnr02 p::before {
  content: "\f7f2";
}

.info_bnr03 p::before {
  content: "\f1b9";
}

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

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

  .mvSlider::before {
    top: -16px;
    right: -24px;
    width: 250px;
    height: 240px;
  }

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

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

  .mvCatch p {
    font-size: 108%;
    line-height: 1.75;
  }

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

  /* ----- 開院バナー ----- */
  .info_bnr_box {
    justify-content: center;
    position: static;
    gap: 8px;
  }

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

  .open_bnr > * {
    width: 100%;
    height: auto;
    padding: 15px 20px;
    border-radius: 0;
  }
  
  .info_bnr {
    width: calc(50% - 4px);
    border-radius: 0;
  }
  
  .info_bnr > * {
    width: 100%;
    height: 100%;
    font-size: 85%;
  }
  
  .info_bnr a {
    border-radius: 0;
  }

  .info_bnr p::before {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  .info_bnr01 p::before {
    font-size: 25px;
  }
  /* ----- スマホ専用エリア ----- */
  .sp_only {
    display: block;
    background: none !important;
    position: relative;
  }

  .sp_only::before {
    opacity: 0.5;
    z-index: -1;
    position: absolute;
    top: -35px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/front/deco_01.png");
    background-position: left top;
    background-size: 52%;
    background-repeat: no-repeat;
    content: "";
  }

  .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::before {
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/front/deco_01.png"), url("../images/front/deco_02.png");
  background-position: left top -128px, right bottom 144px;
  background-size: 45%, 45%;
  background-repeat: no-repeat, no-repeat;
  content: "";
}

@media (max-width: 1600px) {
  .clinic::before {
    background-position: left top -104px, right bottom 200px;
    background-size: 42%, 44%;
  }
}

/* ----- お知らせ ----- */
.clinic .news {
  position: relative;
  z-index: 1;
}

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

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

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

.clinic .news .top_title::before {
  display: none;
}

.clinic .news .top_title .eng {
  display: block;
  margin: 0 0 4px;
  padding-bottom: 0.1em;
  background: linear-gradient(90deg, rgba(145, 185, 67, 0.8) 35%, rgba(118, 179, 101, 0.8) 65%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
  color: var(--main-color);
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 476%;
  filter: drop-shadow(4px 0 0 #ffffff) drop-shadow(-4px 0 0 #ffffff) drop-shadow(0 4px 0 #ffffff) drop-shadow(0 -4px 0 #ffffff);
}

.clinic .news .top_title h2 {
  font-size: 170%;
  text-shadow: 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff, 0 0 4px #ffffff;
}

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

/* ----- 医院概要 ----- */
.clinic .info {
  position: relative;
  z-index: 1;
}

.clinic .info .inner {
  display: flex;
  gap: 56px;
  padding: 0 0 80px;
}

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

/* 所在地・電話・FAX */
.clinic .info address > * {
  position: relative;
  z-index: 1;
  min-height: 40px;
}

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

/* 所在地 */
.clinic .info address .location {
  padding: 10px 0 10px 50px;
  color: var(--text-color);
  font-size: 100%;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

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

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

/* 電話 */
.clinic .info address .tel {
  display: none !important; /* 表示が必要な場合は削除 */
}

.clinic .info address .tel {
  margin-top: 16px;
  padding: 10px 0 10px 50px;
  color: var(--highlight-color);
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.075em;
}

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

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

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

/* FAX */
.clinic .info address .fax {
  display: none !important; /* 表示が必要な場合は削除 */
}

.clinic .info address .fax {
  margin-top: 16px;
  padding: 10px 0 10px 50px;
  color: var(--highlight-color);
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.075em;
}

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

/* 注意事項 */
.clinic .info .note {
  margin-top: 16px;
  padding-left: 16px;
  color: var(--text-color);
  font-size: 90%;
	line-height: 1.8;
  letter-spacing: 0.1em;
}

/* 診療科目 */
.clinic .info .speciality {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  position: relative;
  margin-top: 24px;
  padding: 24px 24px 24px 152px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 100%;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.clinic .info .speciality .title {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 128px;
  height: 100%;
  background: var(--main-color);
  color: #ffffff;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
}

/* 診療時間 */
.clinic .info .office_hour .title {
  background: var(--bg-color);
}

.clinic .info .office_hour .table_wrapper {
  background: var(--bg-color);
}

.clinic .info .office_hour .note {
  padding: 0;
  font-size: 95%;
}

/* Google Map */
.clinic .info .googlemap {
  position: relative;
}

.clinic .info .googlemap iframe {
  height: 350px;
  border-radius: 10px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.06);
}

/* カレンダー */
.clinic .info .calendar_text {
  margin-top: 16px;
}

/* アクセス詳細 */
.clinic .info .list_access {
  margin-top: 16px;
}

.clinic .info .btnflex {
  margin-top: 40px;
  gap: 16px;
  justify-content: center;
  text-align: center;
}

.clinic .info .btnflex .btn01 {
  width: calc((90% - 16px) / 2);
}

.clinic .info .btnflex .btn01 a {
  width: 100%;
}

.clinic_bg_box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  position: relative;
  width: 100%;
  max-width: 1760px;
	height: 480px;
  margin: 0 auto;
  padding: 0 40px;
}

.clinic_bg {
  width: calc((100% - 24px) / 2);
	height: inherit;
  border-radius: 10px;
  background-image: url("../images/common/dmy2.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.clinic_bg02 {
  background-image: url("../images/common/dmy3.jpg");
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .clinic::before {
    background-image: url(../images/front/deco_02.png);
    background-position: right bottom 120px;
    background-size: 75%;
    background-repeat: no-repeat;
  }
  /* ----- お知らせ ----- */
  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 56px 16px;
  }

  .clinic .news .top_title {
    margin-bottom: 32px;
  }

  .clinic .news .top_title .eng {
    font-size: 400%;
  }

  .clinic .news .top_title h2 {
    font-size: 165%;
  }

  /* ----- 医院概要 ----- */
  .clinic .info .inner {
    flex-flow: column;
    padding: 0 16px 56px;
    gap: 32px;
  }

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

  /* 診療科目 */
  .clinic .info .speciality {
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 60px 8px 16px 8px;
  }

  .clinic .info .speciality .title {
    bottom: auto;
    width: 100%;
    height: auto;
    padding: 12px;
  }

  .clinic .info .btnflex {
    margin-top: 40px;
  }
  
  .clinic .info .btnflex .btn01 {
    width: 100%;
  }

  .clinic_bg_box {
    gap: 16px;
    height: 200px;
    max-width: none;
    padding: 0 16px;
  }

  .clinic_bg {
    width: calc((100% - 16px) / 2);
  }
}

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

  *ご挨拶（パターン01）

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

.greeting::before {
  opacity: 0.05;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/common/logo_icon_green_01.svg"), url("../images/common/logo_icon_green_02.svg");
  background-position: left -64px center, right bottom;
  background-size: 65%, 60%;
  background-repeat: no-repeat, no-repeat;
  content: "";
}

@media (max-width: 1600px) {
  .greeting::before {
    background-size: 75%, 65%;
    background-position: left -80px center, right bottom 144px;
  }
}

.greeting .inner {
  padding: 120px 0 40px;
}

.greeting .top_title::before {
  content: "Greeting";
}

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

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

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

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

.greeting_text {
	color: var(--text-color);
  font-size: 100%;
  line-height: 2;
  letter-spacing: 0.1em;
  text-shadow: 1px 1px 1px #ffffff, -1px 1px 1px #ffffff, 1px -1px 1px #ffffff, -1px -1px 1px #ffffff, 1px 0px 1px #ffffff, 0px 1px 1px #ffffff, -1px 0px 1px #ffffff, 0px -1px 1px #ffffff;
}

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

.greeting_slogan {
	color: var(--text-color);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 130%;
  line-height: 1.8;
  letter-spacing: 0.2em;
}

.greeting_slogan span {
  margin: 0 4px;
  color: var(--main-color);
  font-weight: 600;
  font-size: 115%;
}

.greeting_slogan span:last-child {
  color: var(--sub-color);
}

.greeting_desc {
  font-size: 95%;
}

.greeting_title {
  width: fit-content;
  position: relative;
  margin-left: 32px;
  margin-top: 55px;
  margin-bottom: 16px;
  padding: 14px 24px 14px 32px;
  border-top: 3px solid var(--main-color);
  border-bottom: 3px solid var(--main-color);
  background: #f9f6ec;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 115%;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-shadow: none;
}

.greeting_title::before {
  position: absolute;
  top: 52%;
  left: -32px;
  width: 56px;
  height: 30px;
  transform: translateY(-50%);
  background: url("../images/front/tit_deco.svg") no-repeat center / contain;
  content: "";
}

.greeting_title::after {
  position: absolute;
  top: -39px;
  right: 10px;
  width: 60px;
  height: 38px;
  background: url("../images/common/logo_icon.svg") no-repeat center / contain;
  content: "";
  
}

.greeting_img figure {
	position: relative;
}

.greeting_img figure img {
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.06);
}

.greeting_profile {
  margin-top: 24px;
  color: var(--highlight-color);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  font-style: normal;
	font-size: 100%;
  line-height: 1.5;
	letter-spacing: 0.1em;
  text-align: center;
}

.greeting_profile .position {
  margin-bottom: 4px;
  font-size: 120%;
}

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

.greeting_profile .name span.director {
  margin-right: 8px;
	font-size: 85%;
}

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting::before {
    background-size: 150%, 80%;
    background-position: center, right bottom 148px;
  }

  .greeting .inner {
    padding: 48px 16px 64px;
  }

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

  .greeting_left {
    width: 100%;
  }

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  position: relative;
  z-index: 1;
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url("../images/front/top_medical_bg.jpg") no-repeat center / cover;
}

.medical::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/front/wave_01.png"), url("../images/front/wave_02.png");
  background-position: center top -1px, center bottom -1px;
  background-size: 100%, 100%;
  background-repeat: no-repeat, no-repeat;
  content: "";
}

.medical::after {
  position: absolute;
  top: -96px;
  right: 0;
  width: 480px;
  height: 542px;
  background-image: url("../images/front/plant_01.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
}

@media (max-width: 1600px) {
  .medical::after {
    width: 360px;
    height: 406px;
  }
}

.medical .inner {
  padding: 280px 0 400px;
}

.medical .top_title::before {
  content: "Medical Cases";
}

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

.medical_item {
  position: relative;
  z-index: 1;
  width: calc((100% - 48px) / 4);
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.medical_inner {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 200px;
  padding: 30px 20px 40px;
  background: #ffffff;
  text-align: center;
}

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

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

.medical_title {
  text-align: center;
}

.medical_title h3 {
  color: var(--accent-color);
	font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 110%;
	line-height: 1.5;
	letter-spacing: 0.1em;
}

.medical_title_eng {
  margin-top: 8px;
  color: var(--support-color);
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 75%;
  line-height: 1;
  letter-spacing: 0.1em;
}

.medical_text {
  color: var(--text-color);
	font-size: 90%;
	line-height: 1.8;
	letter-spacing: 0.1em;
}

.medical_btn {
	margin-top: auto;
  pointer-events: auto;
}

.medical_btn span {
  display: inline-block;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 8px 32px 8px 24px;
  border: 1px solid var(--main-color);
  border-radius: 30px;
  background: var(--main-color);
  color: #ffffff;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 95%;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: center;
  transition: padding 0.2s, color 0.2s, background 0.2s;
}

.medical_item:hover .medical_btn span {
  background: #ffffff;
  color: var(--main-color);
}

.medical_btn span::after {
  display: inline-block;
  position: absolute;
  top: 52%;
  right: 12px;
  transform: translateY(-50%);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  content: "\f105";
}

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

/* ----- 先頭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/front/top_medical_bg_sp.jpg") no-repeat center/cover;
  }

  .medical::before {
    background-image: url("../images/front/wave_01_sp.png"), url("../images/front/wave_02_sp.png");
  }

  .medical::after {
    top: -20px;
    width: 120px;
    height: 135px;
  }

  .medical .inner {
    padding: 110px 16px 110px;
  }

  .medical .top_title::before {
    font-size: 240%;
  }

  .medical_list {
    gap: 15px 10px;
  }

  .medical_item {
    width: 100%;
  }

  .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
---------------------------------------------------------------------- */
.search {
  position: relative;
  z-index: 1;
  margin-top: -24px;
}

.search::before {
  opacity: 0.8;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/front/deco_03.png"), url("../images/front/deco_04.png");
  background-position: left top -56px, right bottom;
  background-size: 35%, 35%;
  background-repeat: no-repeat, no-repeat;
  content: "";
}

.search::after {
  position: absolute;
  top: -400px;
  left: 0;
  width: 480px;
  height: 465px;
  background-image: url("../images/front/plant_02.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
}

@media (max-width: 1600px) {
  .search::after {
    top: -344px;
    width: 360px;
    height: 348px;
  }
}

.search .inner {
  padding: 0 0 120px;
}

.search .top_title::before {
  content: "Search";
} 

.search .tab_list {
  display: flex;
  flex-flow: wrap;
  gap: 16px;
}

.search .tab_list li {
  display: flex;
  flex: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 16px 24px;
  border-radius: 5px 5px 0 0;
  background: #a8a8a8;
  color: #ffffff;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 140%;
  line-height: 1.5;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform 0.2s, padding 0.2s;
}

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

.search .tab_list li.tab2.is-active {
  background: var(--sub-color);
}

/* ----- パネル ----- */
.search .panel {
  display: none;
  margin: 0 !important;
  padding: 24px;
  border-radius: 0 0 10px 10px;
  background: #c1dd8b;
}

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

.search .panel2.is-active {
  background: #b0dfa3;
}

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

.search_list a {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 60px;
  padding: 16px 24px;
  border-radius: 5px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.06);
  background: #ffffff;
  color: #8f7766;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 100%;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.search_list a:hover {
  background: #83ae31;
  color: #ffffff;
}

.search .panel2 .search_list a:hover {
  background: #6aa35a;
  color: #ffffff;
}

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

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

.panel_flex .search_img figure img {
  border-radius: 10px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.06);
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .search::after {
    top: -80px;
    width: 120px;
    height: 135px;
  }

  .search::before {
  background-position: left top 56px, right bottom 20px;
  background-size: 35%, 35%;
}

  .search .inner {
    padding: 56px 16px 64px;
  }

  .search .tab_list {
    /*flex-flow: column;*/
    gap: 8px;
  }

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

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

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

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

  .panel_flex .search_img {
    width: 100%;
  }

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
	position: relative;
	z-index: 1;
  background-image: url("../images/front/deco_bg_01.jpg");
  background-position: center bottom -120px;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: var(--bg-color);
}

.feature::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/front/wave_01.png");
  background-position: center top -1px;
  background-size: 100%;
  background-repeat: no-repeat;
  content: "";
}

.feature .inner {
	padding: 280px 0 144px;
}

.feature .top_title::before {
  content: "Features";
}

.feature_list {
  display: flex;
  flex-flow: wrap;
  gap: 88px 32px;
	justify-content:center;
}

.feature_item {
  display: flex;
  flex-flow: column;
	position: relative;
  width: calc(33.3333% - 21.3333px);
  border-radius: 10px;
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.03);
}

.feature_num {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
	position: absolute;
	top: -24px;
	left: -16px;
	z-index: 1;
  width: 108px;
  height: 108px;
  aspect-ratio: 640 / 682;
  color: #ffffff;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 80%;
	line-height: 1.1;
	letter-spacing: 0.1em;
}

.feature_num::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  margin: auto;
  background: url("../images/front/frame02.png") no-repeat center / contain;
  content: "";
}

.feature_num span {
  font-size: 180%;
}

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

.feature_img figure {
	position: relative;
	border-radius: 10px 10px 0 0;
}

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

.feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 24px 24px 32px;
	border-radius: 0 0 10px 10px;
  background: #ffffff;
	color: var(--text-color);
  font-size: 105%;
  line-height: 2;
  letter-spacing: 0.1em;
}

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

.feature_title {
  display: flex;
  flex-flow: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  min-height: 70px;
  margin-bottom: 16px !important;
}

.feature_title h3 {
  color: var(--heading-color);
	font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 00;
  font-style: normal;
  font-size: 115%;
  line-height: 1.6;
	letter-spacing: 0.1em;
  text-align: center;
  text-shadow: 1px  1px 1px #ffffff, -1px  1px 1px #ffffff, 1px -1px 1px #ffffff, -1px -1px 1px #ffffff, 1px  0px 1px #ffffff, 0px  1px 1px #ffffff, -1px  0px 1px #ffffff, 0px -1px 1px #ffffff;
}

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

.feature_item .btn01 > * {
  padding: 13px 50px 13px 40px;
  font-size: 95%;
}

.btnflex_feature {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

/* 横並び */
.btnflex_feature .btn01 {
  width: calc(50% - 2px);
}

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

/* ==============================================
  *SP 当院の特徴（パターン01）
============================================== */
@media screen and (max-width: 640px) {
  .feature .inner {
    padding: 80px 16px 72px;
  }

  .feature::before {
    background-image: url("../images/front/wave_01_sp.png");
  }
  .feature_list {
    gap: 56px;
  }

  .feature_item {
    width: 100%;
  }

  .feature_num {
    left: -8px;
    width: 80px;
    height: 80px;
    font-size: 65%;
  }

  .feature_inner {
    font-size: 100%;
  }

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

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

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

  /* 横並び */
  .btnflex_feature .btn01 {
    width: 100%;
  }
}

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

  *無限スライダー

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
#infinitySlider {
  padding: 10px 0;
}

#infinitySlider .splide__list {
  gap: 10px;
}

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

#infinitySlider .splide__slide img {
  border-radius: 10px;
}

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

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

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