@charset "UTF-8";

/* ---------------------
  - *基本設定
  - *アニメーション
  - *タイトル
  - *メインビジュアル
  - *医院概要
  - *コンセプト
  - *診療案内
  - *お悩みの部位から探す
  - *病状、症状から探す
  - *無限スライダー
  - *当院の特徴
  - *ご挨拶
--------------------- */
/* ==================================================================================================================================

  *基本設定

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

section .inner {
  max-width: 1400px;
  padding: 130px 50px 150px;
}

.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: 80px;
  line-height: 1.5;
  text-align: center;
}

.top_title::before {
  content: "";
  position: relative;
  right: -13px;
  display: block;
  width: 30px;
  height: 36px;
  margin: 0 auto 25px;
  background: url(../images/front/gabyou.png) no-repeat center/cover;
}

.top_title h2 {
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 40px;
  letter-spacing: 0.2em;
}

.top_title .eng {
  display: inline-block;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
  font-family: "din-condensed", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--main-color);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.1em;
}

.top_title .eng::before {
  content: "(";
  position: relative;
  top: -3px;
}

.top_title .eng::after {
  content: ")";
  position: relative;
  top: -3px;
}

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

  .top_title::before {
    right: -11px;
    width: 20px;
    height: 24px;
    margin: 0 auto 15px;
  }

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

  .top_title .eng {
    margin-top: 13px;
    font-size: 15px;
  }

  .top_title .eng::before {
    top: -1px;
  }

  .top_title .eng::after {
    top: -1px;
  }
}

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 950px;
  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 {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.mvImg::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 150px;
  background: var(--main-color);
  -webkit-mask: url(../images/front/mv-wave.svg) no-repeat center/cover;
  mask: url(../images/front/mv-wave.svg) no-repeat center/cover;
  opacity: 0.3;
}

.mvImg::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 150px;
  background: #ffffff;
  -webkit-mask: url(../images/front/mv-wave.svg) no-repeat center/cover;
  mask: url(../images/front/mv-wave.svg) no-repeat center/cover;
  opacity: 1;
}

.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;
  width: 100%;
  transform: translateY(-50%);
}

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

.mvCatch .main {
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: #ffffff;
  font-size: 250%;
  line-height: 1.65;
  letter-spacing: 0.2em;
  text-align: right;
}

/* ----- コンテンツ ----- */
.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-banner {
  position: absolute;
  bottom: 120px;
  left: 0;
  width: 310px;
}

/* ----- スモールバナー ----- */
.mv-banner-warpper {
  position: absolute;
  right: 0;
  bottom: 120px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: fit-content;
}

.mv-banner-item {
  width: 300px;
  height: auto;
  padding: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: #ffffff;
  font-size: 90%;
  line-height: 1.6;
  text-align: center;
}

.mv-banner-item:hover {
  color: #ffffff;
  opacity: 0.7;
}

.mv-banner-item span {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100px;
  padding: 10px 10px 15px;
  background: rgba(165, 96, 158, 0.9);
  border-radius: 3px;
  overflow: hidden;
}

.mv-banner-item span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  z-index: -1;
  display: block;
  width: 150px;
  height: 127.5px;
  background: rgb(255, 255, 255);
  -webkit-mask: url(../images/common/logo.svg) no-repeat center/cover;
  mask: url(../images/common/logo.svg) no-repeat center/cover;
  opacity: 5%;
  transform: translate(-50%, -50%);
}

.mv-banner-item:nth-child(even) span {
  background: rgba(173, 131, 169, 0.9);
}

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

/* ----------------------------------------------------------------------
  ▼ 1920px以上
---------------------------------------------------------------------- */
@media screen and (min-width: 1920px) {
  .mvImg::before {
    bottom: -1.3020833333vw;
    height: 10.4166666667vw;
  }

  .mvImg::after {
    bottom: -2.0833333333vw;
    height: 10.4166666667vw;
  }
}

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

  .mvImg::before {
    left: 50%;
    width: 750px;
    height: 58px;
    transform: translateX(-50%);
  }

  .mvImg::after {
    bottom: -10px;
    left: 50%;
    width: 750px;
    height: 58px;
    transform: translateX(-50%);
  }

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

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

  .mvCatch .main {
    font-size: 110%;
    text-align: center;
  }

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

  /* ----- 開院バナー ----- */
  .open-banner {
    bottom: 40px;
    left: 20px;
    width: 170px;
	          width: 240px;
	  border-radius:20px;
	          overflow: hidden;
  }

  .mv-banner-warpper {
    position: static;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 5px;
    width: 100%;
  }

  .mv-banner-item {
    width: 100%;
  }

  .mv-banner-item span {
    height: auto;
    min-height: 70px;
    padding: 10px 20px;
  }

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

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

  .sp_only_contents {
    width: 100%;
  }

  .sp_only_contents .open-banner {
    display: none;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.clinic {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

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

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

.clinic .news .top_title::before {
  width: 25px;
  height: 30px;
  margin: 0 auto 20px;
}

.clinic .news .top_title h2 {
  font-size: 34px;
}

.clinic .news .top_title .eng {
  margin-top: 15px;
  font-size: 24px;
}

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

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

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

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

.clinic .info::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  z-index: -1;
  display: block;
  width: calc(50% - 100px);
  height: 50%;
  background: url(../images/common/marble-beige.jpg) repeat center/500px 500px;
  border-radius: 10px;
}

.clinic .info .inner {
  display: flex;
  gap: 60px;
  padding: 0 50px 120px;
}

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

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

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

.clinic .info address > * {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  line-height: 1.6;
}

.clinic .info address > * .title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 55px;
  padding: 3px 10px 7px;
  background: var(--main-color);
  border-radius: 3px;
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0.1em;
}

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

.clinic .info address .location .title {
  font-size: 15px;
}

.clinic .info address .tel {
  margin-top: 15px;
  font-family: "din-condensed", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.15em;
}

.clinic .info address .fax {
  margin-top: 15px;
  font-family: "din-condensed", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.15em;
}

.clinic .info .speciality {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  line-height: 1.6;
}

.clinic .info .speciality .title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 55px;
  padding: 3px 10px 7px;
  background: var(--main-color);
  border-radius: 3px;
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.clinic .info .googlemap {
  padding: 5px;
  border: 1px solid var(--line-color);
  border-radius: 10px;
}

.clinic .info .googlemap iframe {
  height: 420px;
  border-radius: 5px;
}

.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 .news .top_title {
    margin-bottom: 40px;
  }

  .clinic .news .top_title::before {
    right: -11px;
    width: 20px;
    height: 24px;
    margin: 0 auto 15px;
  }

  .clinic .news .top_title h2 {
    font-size: 22px;
  }

  .clinic .news .top_title .eng {
    margin-top: 13px;
    font-size: 15px;
  }

  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 60px 20px;
  }

  /* ----- 医院概要 ----- */
  .clinic .info::after {
    left: 10px;
    z-index: -1;
    display: block;
    width: 100px;
    height: 30%;
    background: url(../images/common/marble-beige.jpg) repeat center/500px 500px;
    border-radius: 10px;
  }

  .clinic .info .inner {
    flex-flow: column;
    padding: 0 20px 70px;
  }

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

  .clinic .info address > * {
    flex-flow: column;
    gap: 15px;
  }

  .clinic .info address > * .title {
    width: 100%;
    height: 45px;
  }

  .clinic .info address .location {
    letter-spacing: 0.05em;
    text-align: center;
  }

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

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

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

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

  .clinic .info .googlemap iframe {
    height: 300px;
    border-radius: 5px;
  }

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

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

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

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

  *コンセプト（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.concept {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  padding: 0 10px;
}

.concept .top_title h2 {
  color: #ffffff;
}

.concept_wrapper {
  position: relative;
  z-index: 1;
  background: linear-gradient(rgba(92, 84, 68, 0.3)), url(../images/common/dmy.jpg) no-repeat center/cover;
  border-radius: 10px;
  overflow: hidden;
}

.concept_wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  display: block;
  width: 95vw;
  min-width: 1250px;
  max-width: 1800px;
  height: 95vw;
  min-height: 1250px;
  max-height: 1800px;
  background: rgba(215, 215, 215, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.concept_wrapper .inner {
  padding: 150px 50px 160px;
}

.concept_container {
  display: flex;
  gap: 80px;
}

.concept_left {
  width: 100%;
}

.concept_contents {
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: #ffffff;
  font-size: 110%;
  line-height: 2.5;
  text-align: center;
}

.concept_buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  gap: 10px;
  padding-top: 50px;
}

.concept_button > * {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: 15px 20px;
  background: rgba(180, 122, 174, 0.85);
  border-radius: 5px;
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: #ffffff;
  font-size: 100%;
  text-align: center;
  vertical-align: bottom;
  transition: background 0.2s, color 0.2s;
}

.concept_button > *:hover {
  background: var(--sub-color);
  color: #ffffff;
}

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

  .concept_wrapper .inner {
    padding: 70px 13px;
  }

  .concept_right {
    width: 100%;
  }

  .concept_buttons {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px 8px;
    padding-top: 20px;
  }

  .concept_button > * {
    padding: 10px 20px;
  }
}

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

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

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

.medical .top_title {
  margin-bottom: 100px;
  text-align: start;
}

.medical .top_title::before {
  margin: 0 auto 30px 0;
}

.medical .top_title .eng {
  justify-content: flex-start;
}

.medical_wrapper {
  position: relative;
  z-index: 1;
  border: 1px solid #f4f4f4;
  border-radius: 10px;
}

.medical_wrapper::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: -1;
  display: block;
  width: 150px;
  height: 100%;
  background: url(../images/front/dot.png) center center/15px 2px repeat;
}

.medical_wrapper::after {
  content: "";
  position: absolute;
  top: 150px;
  right: 0;
  z-index: -1;
  display: block;
  width: calc(50% - 100px);
  height: 60%;
  background: url(../images/common/dmy.jpg) no-repeat center/cover;
  border-radius: 10px 0 0 10px;
  opacity: 0.5;
}

.medical_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.medical_item {
  position: relative;
  z-index: 1;
  height: auto;
  border: 1px solid var(--line-color);
  border-radius: 7px;
  overflow: hidden;
}

.medical_item::before {
  content: "\f061";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background: var(--main-color);
  border-radius: 5px 0 0 0;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  transition: background 0.2s;
}

.medical_item:hover::before {
  background: var(--sub-color);
}

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

.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: 300px;
  padding: 40px 20px 40px;
  background: #ffffff;
  text-align: center;
}

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

.medical_icon {
  width: 70%;
  max-width: 120px;
  margin: 0 auto 25px !important;
  padding: 5px;
  border: 1px solid var(--line-color);
  border-radius: 5px;
}

.medical_icon span {
  display: block;
  background: url(../images/common/marble-lightpurple.jpg) repeat center/250px 250px;
  border-radius: 4px;
}

.medical_title h3 {
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: var(--text-color);
  font-size: 120%;
  line-height: 1.6;
}

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

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

  .medical .top_title {
    margin-bottom: 40px;
  }

  .medical .top_title::before {
    margin: 0 auto 15px 0;
  }

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

  .medical .top_title .eng {
    justify-content: flex-start;
  }

  .medical_wrapper::before {
    width: 25%;
    height: 100%;
    background: url(../images/front/dot.png) center center/7.5px 1px repeat;
  }

  .medical_wrapper::after {
    top: 50px;
    width: calc(50% - 100px);
    height: 200px;
    border-radius: 10px 0 0 10px;
    opacity: 0.5;
  }

  .medical_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 10px;
  }

  .medical_item::before {
    width: 25px;
    height: 25px;
    padding: 0 0 0 1px;
    font-size: 10px;
  }

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

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

  .medical_icon span {
    padding: 3px;
  }

  .medical_title h3 {
    font-size: 13px;
  }
}

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

  *お悩みの部位から探す - 追加コンテンツ

================================================================================================================================== */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 10px;
}

.grid-layout .top_title h2 {
  font-size: 34px;
}

.grid-layout .top_title .eng {
  margin-top: 15px;
  font-size: 22px;
}

.body-parts {
  order: 2;
  background: url(../images/common/marble-beige.jpg) repeat center/500px 500px;
  border-radius: 10px;
}

.body-parts .inner {
  padding: 100px 50px 130px;
}

.body-parts_wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

/* ----- 体の画像 ----- */
.body-parts_img {
  max-width: 250px;
  margin: 0 auto;
}

/* ----- 各部位の共通設定 ----- */
.body_parts_list > li:not(:last-child) {
  position: absolute;
  display: block;
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  transform: translateX(-50%);
}

.body_parts_list > li:not(:last-child) .body_parts_title {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 7px 20px;
  background: #f3eef2;
  border-radius: 5px;
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 110%;
  text-align: center;
  white-space: nowrap;
}

.body_parts_list > li:not(:last-child) .body_parts_title::before {
  content: "";
  position: absolute;
  top: 50%;
  display: block;
  border: 1px dashed #c6c6c6;
}

.body_parts_list > li:not(:last-child) .body_parts_title::after {
  content: "";
  position: absolute;
  top: 50%;
  display: block;
  width: 23px;
  height: 23px;
  background: var(--main-color);
  border: 4px solid rgb(240, 229, 239);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background 0.2s, border 0.2s;
}

.body_parts_list > li:not(:last-child) .body_parts_title:hover {
  background: #f3f1ed;
}

.body_parts_list > li:not(:last-child) .body_parts_title:hover::after {
  background: var(--sub-color);
  border: 5px solid #f4f1eb;
}

/* ----- 全身のタイトル ----- */
.body_parts_list li:last-child {
  position: absolute;
  bottom: 120px;
  left: calc(50% - 180px);
}

.body_parts_list li:last-child .body_parts_title {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  padding: 0 0 1px 2px;
  background: var(--main-color);
  border-radius: 50%;
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: white;
  font-size: 14px;
  line-height: 1.4;
}

.body_parts_list li:last-child .body_parts_title::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  z-index: -1;
  display: block;
  width: 15px;
  height: 20px;
  background: var(--main-color);
  clip-path: polygon(100% 45%, 0 0, 0 100%);
  transform: translateY(-50%);
  transition: background 0.2s;
}

.body_parts_list li:last-child .body_parts_title:hover {
  background: var(--sub-color);
}

.body_parts_list li:last-child .body_parts_title:hover::before {
  background: var(--sub-color);
}

/* ----- 各部位の位置 ----- */
#body-parts1 {
  top: 90px;
  left: calc(50% - 125px);
}

#body-parts1 .body_parts_title::before {
  right: -85px;
  width: 50px;
  transform: translateX(-50%);
}

#body-parts1 .body_parts_title::after {
  right: -90px;
}

#body-parts2 {
  top: 20px;
  left: calc(50% + 160px);
}

#body-parts2 .body_parts_title::before {
  left: -60px;
  width: 50px;
}

#body-parts2 .body_parts_title::after {
  left: -90px;
}

#body-parts3 {
  top: 175px;
  right: calc(50% - 230px);
}

#body-parts3 .body_parts_title::before {
  left: -60px;
  width: 50px;
}

#body-parts3 .body_parts_title::after {
  left: -90px;
}

#body-parts4 {
  top: 230px;
  left: calc(50% + 160px);
}

#body-parts4 .body_parts_title::before {
  left: -80px;
  width: 70px;
}

#body-parts4 .body_parts_title::after {
  left: -110px;
}

#body-parts5 {
  top: 230px;
  left: calc(50% - 145px);
}

#body-parts5 .body_parts_title::before {
  right: -60px;
  width: 50px;
}

#body-parts5 .body_parts_title::after {
  right: -90px;
}

#body-parts6 {
  top: 350px;
  left: calc(50% + 130px);
}

#body-parts6 .body_parts_title::before {
  left: -60px;
  width: 50px;
}

#body-parts6 .body_parts_title::after {
  left: -90px;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .grid-layout {
    grid-template-columns: repeat(1, 1fr);
    gap: 7px;
    margin-bottom: 7px;
    padding: 0 7px;
  }

  .grid-layout .top_title h2 {
    font-size: 22px;
  }

  .grid-layout .top_title .eng {
    margin-top: 10px;
    font-size: 18px;
  }

  .body-parts {
    order: 1;
    width: 100%;
  }

  .body-parts .inner {
    padding: 60px 20px;
  }

  .body-parts_img {
    width: 52%;
  }

  /* ----- 各部位の共通設定 ----- */
  .body_parts_list > li {
    padding: 8px;
  }

  .body_parts_list > li:not(:last-child) {
    position: absolute;
    display: block;
    font-family: "source-han-sans-japanese", sans-serif;
    font-style: normal;
    font-weight: 500;
    transform: translateX(-50%);
  }

  .body_parts_list > li:not(:last-child) .body_parts_title {
    padding: 5px 15px;
    font-size: 14px;
  }

  .body_parts_list > li:not(:last-child) .body_parts_title::before {
    display: none;
  }

  .body_parts_list > li:not(:last-child) .body_parts_title::after {
    display: none;
  }

  /* ----- 全身のタイトル ----- */
  .body_parts_list li:last-child {
    bottom: 100px;
    left: 5%;
  }

  .body_parts_list li:last-child .body_parts_title {
    width: 70px;
    height: 70px;
    font-size: 12px;
  }

  /* ----- 各部位の位置 ----- */
  #body-parts1 {
    top: 10%;
    left: 20%;
  }

  #body-parts2 {
    top: 10%;
	   top: 0%;
    left: 80%;
  }

  #body-parts3 {
    top: 25%;
    left: 80%;
  }

  #body-parts4 {
    top: 40%;
    left: 80%;
  }

  #body-parts5 {
    top: 30%;
    left: 20%;
  }

  #body-parts6 {
    top: 55%;
	  top: 75%;
    left: 80%;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.search {
  position: relative;
  background: url(../images/common/marble-beige.jpg) repeat center/500px 500px;
  border-radius: 10px;
  overflow: hidden;
}

.search .inner {
  max-width: 1000px;
  padding: 100px 50px 130px;
}

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

.search .tab_list li {
  display: flex;
  flex: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 10px 10px 10px 15px;
  background: #e5e5e5;
  border-radius: 100000px;
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: #828282;
  font-size: 130%;
  cursor: pointer;
  transition: transform 0.2s, padding 0.2s;
}

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

/* ----- パネル ----- */
.search .panel {
  display: none;
}

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

.search_list a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 70px;
  padding: 15px 20px;
  background: #ffffff;
  border-radius: 5px;
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: var(--text-color);
  font-size: 100%;
  line-height: 1.6;
}

.search_list a:hover {
  color: var(--main-color);
}

/* ----- 画像 ----- */
.search_img {
  width: 100%;
  height: 300px;
  margin-bottom: 30px;
  padding: 5px;
  background: #ffffff;
  border-radius: 10px;
}

.search_img img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

/* ----------------------------------------------------------------------
  ▼ 1600px
---------------------------------------------------------------------- */
@media screen and (max-width:1600px) {
  .search_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .search {
    order: 2;
  }

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

  .search .tab_list {
    flex-flow: column;
    gap: 7px;
    margin: 0 0 15px;
  }

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

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

  .search_list a {
    min-height: auto;
    padding: 15px;
  }

  /* ----- 画像 ----- */
  .search_img {
    height: 200px;
    margin-bottom: 20px;
    padding: 4px;
  }

  .search_img img {
    border-radius: 5px;
  }
}

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

  *無限スライダー

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
#infinitySlider {
  margin-bottom: 10px;
}

#infinitySlider::after {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  margin-top: 10px;
  background: #ddd3c1;
}

#infinitySlider .splide__list {
  gap: 10px;
}

#infinitySlider .splide__slide {
  width: 500px !important;
  border-radius: 8px;
  overflow: hidden;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  #infinitySlider {
    margin-bottom: 7px;
  }

  #infinitySlider::after {
    height: 5px;
    margin-top: 7px;
  }

  #infinitySlider .splide__list {
    gap: 7px;
  }

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  padding: 0 10px;
}

.feature .top_title .num {
  display: inline-block;
  padding: 0 20px;
  font-family: "din-condensed", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--main-color);
  font-size: 170%;
}

.feature_wrapper {
  position: relative;
  z-index: 1;
  border-radius: 10px;
  overflow: hidden;
}

.feature_wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../images/common/dmy.jpg) no-repeat center/cover;
  opacity: 0.2;
}

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

.feature_item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  width: calc(33.3333333333% - 20px);
  height: auto;
  padding: 0 10px 10px;
}

.feature_item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 65%;
  background: url(../images/common/marble-purple.jpg) repeat center/500px 500px;
  border-radius: 0 0 12px 12px;
}

.feature_num {
  position: relative;
  z-index: 2;
  margin: 0 0 -35px 0 !important;
  padding: 0 20px;
  font-family: "din-condensed", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.3em;
  text-align: right;
}

.feature_num span {
  color: var(--main-color);
  font-size: 60px;
}

.feature_item_box {
  display: flex;
  flex-flow: column;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 25px 20px 30px;
  background: #ffffff;
}

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

.feature_title h3 {
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: var(--text-color);
  font-size: 120%;
  line-height: 1.75;
  text-align: center;
}

.feature_button {
  display: flex;
  flex-flow: column;
  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: 0 7px;
  }

  .feature_list {
    gap: 30px;
  }

  .feature_item {
    width: 100%;
    padding: 0 7px 7px;
  }

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

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

  *ご挨拶（パターン01）

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

.greeting::after {
  content: "";
  display: block;
  width: 100%;
  height: 600px;
  margin-top: 10px;
  background: url(../images/common/dmy.jpg) no-repeat center/cover;
  border-radius: 10px;
}

.greeting_wrapper {
  position: relative;
  z-index: 1;
  border: 1px solid #f4f4f4;
  border-radius: 10px;
}

.greeting_wrapper::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: -1;
  display: block;
  width: 150px;
  height: 100%;
  background: url(../images/front/dot.png) center center/15px 2px repeat;
}

.greeting_wrapper::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0px;
  z-index: -1;
  display: block;
  width: 150px;
  height: 100%;
  background: url(../images/front/dot.png) center center/15px 2px repeat;
}

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

.greeting_wrapper .inner::before {
  content: "";
  position: absolute;
  bottom: 100px;
  left: -100px;
  display: block;
  width: 700px;
  height: 595px;
  background: url(../images/common/logo.svg) no-repeat center/cover;
  opacity: 5%;
}

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

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

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

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

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

.greeting_text {
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  line-height: 2.5;
  letter-spacing: 0.15em;
}

.greeting_text .catch {
  margin-bottom: 50px !important;
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.75;
}

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

.greeting_profile {
  margin-top: 40px;
  border-radius: 7px;
  font-family: "source-han-sans-japanese", sans-serif;
  font-style: normal;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.2em;
  text-align: center;
}

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

.greeting_profile .name {
  margin-top: 20px;
  font-size: 170%;
}

.greeting_profile .name .tit {
  position: relative;
  top: -2px;
  display: inline-block;
  margin-right: 15px;
  padding: 2px 9px 3px 11px;
  background: var(--main-color);
  border-radius: 5px;
  color: #ffffff;
  font-size: 70%;
}

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

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

  .greeting::after {
    height: 300px;
    margin-top: 7px;
    border-radius: 10px;
  }

  .greeting_wrapper::before {
    width: 20%;
    background: url(../images/front/dot.png) center center/7.5px 1px repeat;
  }

  .greeting_wrapper::after {
    width: 20%;
    background: url(../images/front/dot.png) center center/7.5px 1px repeat;
  }

  .greeting_wrapper .inner::before {
    content: "";
    position: absolute;
    bottom: 10%;
    left: -150px;
    display: block;
    width: 500px;
    height: 425px;
  }

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

  .greeting_left {
    width: 100%;
  }

  .greeting_text .catch {
    margin-bottom: 30px !important;
    font-size: 20px;
    text-align: center;
  }

  .greeting_profile {
    margin-top: 30px;
  }

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

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

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