@charset "UTF-8";
/* ---------------------
  - *基本設定
  - *タイトル
  - *メインビジュアル
  - *医院概要
  - *ご挨拶
  - *当院の特徴
  - *お悩みから探す
  - *診療案内
--------------------- */
/* ==================================================================================================================================

  *基本設定

================================================================================================================================== */
.front {
  overflow: hidden;
}

footer {
  margin-top: -160px;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  footer {
    margin-top: -18%;
  }
}

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

  *タイトル

================================================================================================================================== */
.top_title {
  background: url(../images/front/title_dec.png) center top/104px auto no-repeat, url(../images/front/title_bg.png) center top/336px auto no-repeat;
  padding-top: 100px;
  margin-bottom: 30px;
  text-align: center;
}

.top_title h2 {
  font-size: 24px;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1.7;
}

.top_title .eng {
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  display: block;
  color: #73cce6;
  font-size: 90px;
  font-family: "alkaline", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .top_title {
    background-size: 80px auto, 260px auto;
    padding-top: 70px;
  }
  .top_title h2 {
    font-size: 22px;
  }
  .top_title .eng {
    font-size: 60px;
  }
}

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

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
  position: relative;
  max-width: 1920px;
  height: 1365px;
  padding-block: 145px 300px;
  background: url(../images/front/mv_bg.jpg) center bottom no-repeat;
  overflow: hidden;
  margin-inline: auto;
}

.mvInner {
  max-width: 1240px;
  padding-inline: 20px;
  margin-inline: auto;
}

.mvSlider {
  position: relative;
  width: 100%;
  height: 100%;
}

.mvSlider > * {
  padding-inline: 5.7%;
}

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

.mvSlider .sliderBtn#mv_btnPrev {
  left: 20px;
}

.mvSlider .sliderBtn#mv_btnNext {
  right: 20px;
}

.mvSlider .sliderBtn span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--main-color);
  border-radius: 50%;
  transition: background 0.2s;
}

.mvSlider .sliderBtn span:hover {
  background: var(--text-color);
}

.mvSlider .sliderBtn span::before {
  padding: 0 0 1px 0;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: #ffffff;
  font-size: 15px;
  transition: color 0.2s;
}

.mvSlider .sliderBtn#mv_btnPrev span::before {
  content: "\f060";
}

.mvSlider .sliderBtn#mv_btnNext span::before {
  content: "\f061";
}

/* 各スライダーのボタンは非表示に */
.mvSlider .splide__arrows {
  display: none;
}

/* ----- MVの画像 ----- */
.mvImg {
  width: 100%;
  height: 100%;
}

.mvImg::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% + 20px);
  background: url(../images/front/mv_img_dec_btm_left.png) left calc(5.7% + 20px) bottom/152px auto no-repeat, url(../images/front/mv_left.png) left bottom 196px/234px auto no-repeat, url(../images/front/mv_right.png) right bottom 44px/410px auto no-repeat;
  pointer-events: none;
}

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

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

.mvImg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     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: 50%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}

.mvCatch p {
  color: #4f5b5f;
  font-size: 46px;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1.7;
  text-align: center;
}

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

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

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

/* ----- 開院バナー ----- */
.mvOpen {
  text-align: center;
  background: url(../images/front/open_bg.png) center/100% auto no-repeat;
}

.mvFeature {
  display: flex;
  gap: 10px;
}

.mvFeature > li {
  width: 180px;
}

.mvFeature > li > * {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  background: url(../images/front/mv_feature_bg_pink.png) center/100% auto no-repeat;
  font-size: 22px;
  color: #ec92a9;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-align: center;
  padding-top: 20px;
}

.mvFeature > li:nth-child(even) > * {
  background-image: url(../images/front/mv_feature_bg_blue.png);
  color: #25a0c8;
}

.mvFeature_icon {
  text-align: center;
}

.mvFeature > li:nth-child(2) .mvFeature_icon {
  margin-bottom: 0.5em;
}

.mvFeature_icon img {
  width: auto;
  max-height: 1.3em;
}

.mvFeature_text {
  min-height: 3.5em;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.mvFeature_text_fsS {
  display: block;
  font-size: 77%;
}

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

/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
@media print, screen and (min-width: 641px) {
  .mvCatch p {
    padding-bottom: 120px;
    text-align: left;
    color: #fff;
    text-shadow: 0px 0px 6px rgb(164 164 164), 0px 0px 10px rgb(164 164 164);
  }
  .mvOpen {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
    display: flex;
    flex-flow: column;
    justify-content: center;
    position: absolute;
    left: 20px;
    bottom: 50px;
  }
  .mvFeature {
    position: absolute;
    left: 320px;
    bottom: 50px;
  }
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .mainvisual {
    height: 280px;
    padding-block: 0 30px;
    background-size: 100% auto;
  }
  .mvInner,
  .mvSlider > * {
    padding-inline: 5%;
  }

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

  /* ----- MVの画像 ----- */
  .mvImg::after {
    background-size: 50px auto, 80px auto, 108px auto;
    background-position: left calc(5% + 10px) bottom, left bottom 30%, right bottom 40px;
  }
  .mvImg .splide__slide {
    border-radius: 40px;
  }

  /* ----- キャッチコピー ----- */
  .mvCatch {
    display: none;
  }
  .mvCatch.is-active {
    display: block;
  }
  .mvCatch p {
    font-size: clamp(15px, 4.3vw, 20px);
    color: #fff;
	text-shadow: 0px 0px 6px rgb(164 164 164), 0px 0px 10px rgb(164 164 164);
  }

  /* ----- コンテンツ ----- */
  .mvContents {
    display: none;
  }
  h1 {
    margin-bottom: 0;
  }

  /* ----- スマホ専用エリア ----- */
  .sp_only {
    display: block;
    background: #c6e9ec;
    padding-block: 20px 10px;
    position: relative;
  }
  .sp_only::after {
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: url(../images/front/bg.jpg) center bottom/960px auto;
    opacity: 0.5;
    position: absolute;
    left: 0;
    top: 0;
  }
  .sp_only .inner {
    position: relative;
    z-index: 1;
  }
  .sp_only_contents {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  /* ----- 開院バナー ----- */
  .mvOpen {
    max-width: 400px;
    width: 100%;
    background: #81b8e0;
    border-radius: 20px;
    border: 2px solid #86cada;
    padding: 15px;
  }
  .mvOpen img {
    max-width: 280px;
    width: 70%;
  }
  .mvFeature {
    width: 100%;
    justify-content: center;
    gap: 5px;
  }
  .mvFeature > li {
    max-width: 160px;
    width: calc((100% - 10px) / 3);
  }
  .mvFeature > li > * {
    font-size: clamp(12px, 3.7vw, 20px);
    padding-top: 11%;
  }
  .mvFeature_icon {
    margin-bottom: 0.5em;
  }
}

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

  *医院概要

================================================================================================================================== */
.clinic {
  margin-top: -290px;
  position: relative;
}
.clinic::before, .clinic::after {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}
.clinic::before {
  background: linear-gradient(to bottom, #c6e9ec 0%, #c6ecdf 40%, #73cce6 100%);
}
.clinic::after {
  background: url(../images/front/bg.jpg) center top;
  opacity: 0.5;
}

/* ----- お知らせ ----- */
.clinic .news {
  position: relative;
  background: url(../images/front/news_bg_btm.png) center bottom no-repeat;
  padding-bottom: 185px;
}

.clinic .news::before {
  display: block;
  content: "";
  width: 100%;
  height: 248px;
  background: url(../images/front/news_bg_top.png) center top/auto 100% no-repeat;
  pointer-events: none;
}

.clinic .news::after {
  display: block;
  content: "";
  width: 100%;
  height: calc(100% - 248px - 440px + 2px);
  background: #fff;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 247px;
}

.clinic .news .inner {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.clinic .news .news_left {
  flex: 1;
}

.clinic .news .btn01 {
  margin-top: 55px;
}

#mp-title {
  width: 866px;
}

#mp-title .news_item a {
  display: flex;
  align-items: center;
  gap: 0 30px;
  padding-block: 20px 24px;
  background: url(../images/front/news_dotted_line.png) left bottom repeat-x;
  color: var(--text-color);
  line-height: 1.4;
}

@media (hover: hover) {
  #mp-title .news_item a:hover {
    color: var(--main-color);
  }
}
#mp-title .news_info {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px 20px;
}

#mp-title .news_info .date,
#mp-title .news_info .cate {
  display: block;
  flex-shrink: 0;
}

#mp-title .news_info .cate {
  min-width: 120px;
  padding: 7px 10px;
  border-radius: 8px;
  font-style: normal;
  text-align: center;
}

#mp-title .news_title {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ----- お知らせがない時 ------ */
#mp-title .news_empty {
  text-align: center;
}

/* ----- 医院概要 ----- */
.info {
  background: url(../images/front/info_bg_left.png) left 64px top/178px auto no-repeat, url(../images/front/info_bg_btm.png) center bottom no-repeat;
  padding-top: 80px;
  padding-bottom: 320px;
  margin-top: -10px;
}

.info .inner {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  padding: 55px 50px 60px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50px;
}

.info .inner > * {
  width: 525px;
}

/* ------ 左側 ------ */
.info_left address {
  text-align: center;
}

.info_left address > *:not(:first-child) {
  margin-top: 15px;
}

.info_left address .location {
  font-size: 15px;
}

.info_left address .zipcode {
  padding-right: 0.5em;
}

.info_left address .tel,
.info_left address .fax {
  width: -moz-fit-content;
  width: fit-content;
  font-size: 34px;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  padding-left: 1.1em;
  margin-inline: auto;
  position: relative;
}

.info_left address .tel::before {
  display: block;
  content: "";
  width: 0.7em;
  aspect-ratio: 1;
  border-radius: 50%;
  background: url(../images/common/icon_tel.png) #73cce6 center/56% auto no-repeat;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.info_left address .tel a {
  color: #73cce6;
}

.info_left address .note {
  font-size: 90%;
}

/* 診療科目 */
.speciality {
  display: flex;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.7;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 35px;
}

.speciality > * {
  padding: 16px 20px;
}

.speciality_title {
  width: 130px;
  background: #73cce6;
  color: #ffffff;
  text-align: center;
}

.speciality_text {
  flex: 1;
  background: #fff;
}

/* 診療時間  */
.info .office_hour:first-child {
  margin-top: 20px;
}

/* ------ 右側 ------ */
.info_right .googlemap {
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.info_right .googlemap iframe {
  width: 100%;
  height: 390px;
}

.info_right .list_access {
  margin-top: 20px;
}

.info_right .calendar_text {
  margin-top: 20px;
}

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

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

/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
@media print, screen and (min-width: 641px) {
  .clinic .news .news_left {
    background: url(../images/front/title_bg.png) right 58px top/336px auto no-repeat;
  }
  .news_left_inner {
    width: -moz-fit-content;
    width: fit-content;
  }
  .clinic .news .top_title {
    background: url(../images/front/title_dec.png) center top/104px auto no-repeat;
  }
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .clinic {
    margin-top: 0;
  }
  .clinic::after {
    background-size: 960px auto;
  }

  /* ----- お知らせ ----- */
  .clinic .news {
    background-size: 120% auto;
    background-position: right bottom;
    padding-bottom: 18%;
  }
  .clinic .news::before {
    width: 120%;
    height: auto;
    aspect-ratio: 1920/248;
  }
  .clinic .news::after {
    height: auto;
    top: 0;
    bottom: 0;
    margin-top: calc(15.5% - 1px);
    margin-bottom: calc(27.5% - 1px);
  }
  .clinic .news .inner {
    display: block;
  }
  .clinic .news .top_title {
    margin-bottom: 10px;
  }
  .clinic .news .btn01 {
    text-align: center;
    margin-top: 20px;
  }
  #mp-title {
    width: 100%;
  }
  #mp-title .news_item a {
    display: block;
    padding-block: 16px 18px;
    background-size: auto 2px;
  }
  #mp-title .news_info {
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  #mp-title .news_info .date,
  #mp-title .news_info .cate {
    flex-shrink: 1;
  }
  #mp-title .news_info .cate {
    min-width: 100px;
    padding: 5px 10px;
  }

  /* ----- 医院概要 ----- */
  .info {
    padding: 40px 20px 26%;
    background-size: 30% auto, 120% auto;
    background-position: left 10px top, right bottom;
  }
  .info .inner {
    display: block;
    padding: 30px 20px;
    border-radius: 30px;
  }
  .info .inner > * {
    width: 100%;
  }

  /* ------ 左側 ------ */
  .info_left {
    margin-bottom: 35px;
  }
  .info_left address .zipcode {
    padding-right: 0;
    display: block;
  }
  .info_left address .tel,
  .info_left address .fax {
    font-size: clamp(24px, 8vw, 30px);
  }

  /* 診療科目 */
  .speciality {
    display: block;
  }
  .speciality > * {
    padding: 10px 20px;
  }
  .speciality_title {
    width: 100%;
  }

  /* ------ 右側 ------ */
  .info_right .googlemap iframe {
    height: 300px;
  }
  .info_right .btn01 {
    margin-top: 20px;
  }
}

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

  *ご挨拶

================================================================================================================================== */
.greeting {
  background: url(../images/front/greeting_bg.jpg) center bottom no-repeat;
  padding-bottom: 570px;
  margin-top: -150px;
  position: relative;
}

.greeting::before {
  display: block;
  content: "";
  width: 100%;
  height: 152px;
  background: url(../images/front/greeting_bg_top.png) center top/auto 100% no-repeat;
  pointer-events: none;
}

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

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

.greeting_img {
  padding: 18px 16px 40px 0;
  background: url(../images/front/greeting_img_bg.png) right top/100% auto no-repeat;
}

.greeting_img img {
  -webkit-mask: url(../images/front/greeting_img_mask.png) center/100% auto no-repeat;
          mask: url(../images/front/greeting_img_mask.png) center/100% auto no-repeat;
}

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

.greeting_catch {
  font-size: 24px;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1.7;
  margin-bottom: 1.8em;
}

.greeting_profile {
  font-size: 20px;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-align: center;
}

.greeting_profile_name {
  margin-top: 15px;
}

.greeting_profile .position {
  padding-right: 1em;
}

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

.greeting_btn {
  margin-top: 55px;
  text-align: right;
}

/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
@media print, screen and (min-width: 641px) {
  .top_title {
    margin-bottom: 50px;
  }
  .greeting_left {
    flex: 1;
  }
  .greeting_right {
    width: 540px;
  }
  .greeting_img {
    margin-right: -16px;
  }
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting {
    background: none;
    padding-bottom: 0;
    margin-top: calc(-9.5% + 2px);
  }
  .greeting::before {
    width: 120%;
    height: auto;
    aspect-ratio: 1920/152;
  }
  .greeting .inner {
    padding-bottom: calc(35% + 30px);
    background: url(../images/front/bg.jpg) center bottom/960px auto no-repeat;
  }
  .greeting .inner::before, .greeting .inner::after {
    content: "";
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin-top: calc(9.5% + 10px);
    margin-bottom: 19%;
  }
  .greeting .inner::before {
    background: #fff;
    border-bottom-left-radius: 50% 60px;
    border-bottom-right-radius: 50% 60px;
  }
  .greeting .inner::after {
    background: url(../images/front/greeting_bg_sp_left.png) left bottom/60% auto no-repeat, url(../images/front/greeting_bg_sp_right.png) right bottom/20% auto no-repeat;
  }
  .greeting_box {
    position: relative;
    z-index: 1;
  }
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }
  .greeting_img {
    width: 80%;
    max-width: 556px;
    padding: 10px 10px 20px 0;
    text-align: center;
    margin-inline: auto;
  }
  .greeting_text {
    text-shadow: 0 0 4px #fff, 0 0 4px #fff, 0 0 8px #fff;
  }
  .greeting_text > *:not(:last-child, .greeting_catch) {
    margin-bottom: 1em;
  }
  .greeting_catch {
    font-size: 20px;
    margin-bottom: 1em;
  }
  .greeting_profile {
    font-size: 18px;
  }
  .greeting_profile_name {
    margin-top: 0.5em;
  }
  .greeting_btn {
    margin-top: 25px;
  }
}

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

  *当院の特徴

================================================================================================================================== */
.feature {
  background: url(../images/front/feature_wave.png) center top no-repeat, url(../images/front/feature_bg_top.png) center top no-repeat;
  padding-top: 210px;
  padding-bottom: 400px;
  position: relative;
  margin-top: -296px;
}

.feature::before {
  display: block;
  content: "";
  width: 100%;
  height: calc(100% - 300px);
  background: url(../images/front/feature_bg_left.png) left bottom 520px/432px auto no-repeat, url(../images/front/feature_bg_right.png) right bottom 166px/982px auto no-repeat, url(../images/front/feature_bg.jpg) center top;
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.feature_item {
  background: #fff;
  border-radius: 40px;
  padding: 20px 20px 40px;
}

.feature_img {
  position: relative;
}

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

.feature_num {
  width: 110px;
  aspect-ratio: 220/184;
  color: #25a0c8;
  font-size: 50px;
  font-family: "alkaline", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1;
  padding-left: 5px;
  padding-top: 5px;
  background: url(../images/front/feature_num_bg.png) left top/100% auto no-repeat;
  position: absolute;
  left: -1px;
  top: -1px;
}

.feature_inner {
  padding-top: 45px;
  position: relative;
}
.feature_inner::after {
  display: block;
  content: "";
  width: 46px;
  aspect-ratio: 92/88;
  background: url(../images/front/feature_item_title_dec_shell.png) center/100% auto no-repeat;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -41%);
}

.feature_title {
  color: #73cce6;
  font-size: 20px;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-align: center;
  padding-bottom: 35px;
  background: url(../images/front/feature_item_title_dec_btm_blue.png) center bottom/auto 12px no-repeat;
  margin-bottom: 18px;
}

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

.feature_button .btn01 {
  text-align: center;
}
.feature_button .btn01 > * {
  padding-inline: 40px;
}

.feature_item:nth-child(even) .feature_num {
  color: #ec92a9;
}
.feature_item:nth-child(even) .feature_inner::after {
  width: 50px;
  aspect-ratio: 100/108;
  background-image: url(../images/front/feature_item_title_dec_starfish.png);
  transform: translate(-50%, -44%);
}
.feature_item:nth-child(even) .feature_title {
  color: #f5b2db;
  background-image: url(../images/front/feature_item_title_dec_btm_pink.png);
}
.feature_item:nth-child(even) .feature_button .btn01 > * {
  background-color: #ec92a9;
}
@media (hover: hover) {
  .feature_item:nth-child(even) .feature_button .btn01 > *:hover {
    background-color: var(--main-color);
  }
}

/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
@media print, screen and (min-width: 641px) {
  .feature .top_title {
    margin-bottom: 70px;
  }
  .feature_list {
    display: flex;
    flex-flow: wrap;
    gap: 40px 45px;
  }
  .feature_item {
    display: flex;
    flex-flow: column;
    width: 370px;
  }
  .feature_inner {
    display: flex;
    flex-flow: column;
    flex: 1;
  }
  .feature_title {
    display: flex;
    flex-flow: column;
    justify-content: center;
    min-height: 4.8em;
  }
  .feature_text {
    padding-inline: 30px;
  }
  .feature_button {
    margin-top: auto;
    padding-top: 25px;
  }
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .feature {
    background-size: 120% auto;
    padding-top: 14%;
    padding-bottom: calc(10% + 40px);
    margin-top: -19%;
  }
  .feature::before {
    height: 100%;
    background-size: 30% auto, 70% auto, 960px auto;
    background-position: left bottom calc(10vw + 14px), right bottom 5vw, center top;
  }
  .feature_list {
    max-width: 370px;
    margin-inline: auto;
  }
  .feature_item {
    padding-bottom: 20px;
  }
  .feature_item:not(:last-child) {
    margin-bottom: 20px;
  }
  .feature_inner {
    padding-top: 35px;
  }
  .feature_title {
    font-size: clamp(16px, 5.3vw, 20px);
    padding-bottom: 25px;
  }
  .feature_button {
    margin-top: 20px;
  }
}

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

  *お悩みから探す

================================================================================================================================== */
.search {
  background: url(../images/front/search_bg_right.png) right bottom 414px/174px auto no-repeat, url(../images/front/search_bg_top.png) center top no-repeat;
  padding-top: 175px;
  padding-bottom: 260px;
  margin-top: -160px;
}

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

.search .tab_list .tab {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 10px;
  width: -moz-fit-content;
  width: fit-content;
  padding: 10px 20px;
  background: #abc6ce;
  border-radius: 40px;
  color: #ffffff;
  font-size: 138%;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1.6;
  cursor: pointer;
  transition: transform 0.2s, padding 0.2s;
}
.search .tab_list .tab::before {
  display: block;
  content: "";
  width: 40px;
  aspect-ratio: 1;
  background: url(../images/front/search_tab_icon1.png) center/100% auto no-repeat;
  background-color: #abc6ce;
  border-radius: 50%;
  flex-shrink: 0;
}
.search .tab_list .tab:nth-child(2)::before {
  background-image: url(../images/front/search_tab_icon2.png);
}
.search .tab_list .tab:nth-child(3)::before {
  background-image: url(../images/front/search_tab_icon3.png);
}
.search .tab_list .tab:nth-child(4)::before {
  background-image: url(../images/front/search_tab_icon4.png);
}

.search .tab_list .tab.is-active {
  background: #73cce6;
}
.search .tab_list .tab.is-active::before {
  background-color: #73cce6;
}

/* ----- パネル ----- */
.panel_wrapper {
  position: relative;
}
@media print, screen and (min-width: 641px) {
	.panel_wrapper {
  min-height: 550px;
}
}
.panel_wrapper::after {
  display: block;
  content: "";
  width: 11%;
  aspect-ratio: 268/176;
  background: url(../images/front/search_panel_dec_btm.png) left center/100% auto no-repeat;
  pointer-events: none;
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(30%, 27%);
}

.search .panel {
  display: none;
  padding: 40px;
  background: url(../images/front/bg.jpg) center;
  border-radius: 50px;
}

/* ----- 項目 ----- */
.search_list a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px;
  background: #ffffff;
  border: 2px solid #a9e3f4;
  border-radius: 20px;
  color: var(--text-color);
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  text-align: center;
}

@media (hover: hover) {
  .search_list a {
    transition: border-color 0.2s, background-color 0.2s;
  }
  .search_list a:hover {
    border-color: var(--sub-color);
    background-color: #fff4f7;
  }
}

/* ----- 画像 ----- */
.search_img {
  position: relative;
}
.search_img::before {
  display: block;
  content: "";
  width: 13.5%;
  aspect-ratio: 124/136;
  background: url(../images/front/search_panel_dec_top.png) left center/100% auto no-repeat;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-58%, 9%);
}
.search_img img {
  border-radius: 20px;
}

/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
@media print, screen and (min-width: 641px) {
  .search .top_title {
    margin-bottom: 75px;
  }
  .search .tab_list .tab {
    flex: 1;
    min-height: 70px;
  }

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

  /* ----- 画像あり ----- */
  .panel_flex.is-active {
    display: flex;
    flex-flow: wrap;
    gap: 40px;
  }
  .panel_flex .search_img {
    width: 460px;
    flex-shrink: 0;
  }
  .panel_flex .search_list {
    grid-template-columns: repeat(2, 1fr);
    flex: 1;
  }
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .search {
    background: url(../images/front/search_bg_top.png) left top/120% auto no-repeat;
    padding-top: 14%;
    padding-bottom: calc(22% + 40px);
    margin-top: calc(-10% - 2px);
  }
  .search .tab_list {
    gap: 10px;
  }
  .search .tab_list .tab {
    width: calc((100% - 10px) / 2);
    justify-content: flex-start;
    gap: 0 0.4em;
    padding: 10px;
    font-size: clamp(12px, 3.5vw, 16px);
    letter-spacing: 0;
  }
  .search .tab_list .tab::before {
    width: 2.3em;
  }

  /* ----- パネル ----- */
  .panel_wrapper::after {
    width: 18%;
  }
  .search .panel {
    padding: 20px;
    border-radius: 30px;
  }

  /* ----- 項目 ----- */
  .search_list li:not(:last-child) {
    margin-bottom: 10px;
  }

  /* ----- 画像あり ----- */
  .panel_flex .search_img {
    margin-bottom: 20px;
  }
}

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

  *診療案内

================================================================================================================================== */
.medical {
  background: url(../images/front/medical_bg_top.png) center top no-repeat;
  padding-top: 375px;
  padding-bottom: 280px;
  margin-top: -240px;
  position: relative;
}
.medical::before {
  display: block;
  content: "";
  width: 100%;
  height: 172px;
  -webkit-mask: url(../images/front/medical_top_mask.png) center top/auto 100% no-repeat;
          mask: url(../images/front/medical_top_mask.png) center top/auto 100% no-repeat;
  background: url(../images/front/bg.jpg) center bottom 2px;
  pointer-events: none;
  position: absolute;
  top: 180px;
  left: 0;
}
.medical::after {
  display: block;
  content: "";
  width: 1920px;
  height: 100%;
  background: url(../images/front/medical_bg_btm_left.png) left bottom 330px/324px auto no-repeat, url(../images/front/medical_bg_top_left.png) left top 400px/376px auto no-repeat, url(../images/front/medical_bg_btm_right.png) right bottom 100px/332px auto no-repeat, url(../images/front/medical_bg_top_right.png) right top 304px/274px auto no-repeat;
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.medical .inner::before {
  display: block;
  content: "";
  width: 100%;
  height: calc(100% - 170px - 180px);
  background: url(../images/front/bg.jpg) center top;
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 0;
}

.medical .inner > * {
  position: relative;
  z-index: 1;
}

.medical_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 60px 32px;
}

.medical_list a {
  color: var(--text-color);
}

.medical_item {
  display: block;
  width: 276px;
}

@media (hover: hover) {
  .medical_item:hover {
    transform: translateY(-10px);
  }
}
.medical_item_icon {
  max-width: 252px;
  aspect-ratio: 504/460;
  background: url(../images/front/medical_item_icon_bg_blue.png) center/100% auto no-repeat;
  margin: 0 auto 25px;
}

.medical_item_title {
  font-size: 26px;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-align: center;
}

.medical_item_eng {
  color: #73cce6;
  font-family: "alkaline", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  letter-spacing: 0.05em;
  line-height: 1;
  text-align: center;
  margin-top: 10px;
}

.medical_item:nth-child(even) .medical_item_icon {
  background-image: url(../images/front/medical_item_icon_bg_pink.png);
}
.medical_item:nth-child(even) .medical_item_eng {
  color: #f5b2db;
}

/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
@media print, screen and (min-width: 641px) {
  .medical .top_title {
    margin-bottom: 100px;
  }
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .medical {
    background-size: 120% auto;
    padding-top: 22%;
    padding-bottom: 43%;
    margin-top: -22%;
  }
  .medical::before {
    height: auto;
    aspect-ratio: 1920/206; /* 172pxの120% */
    background-size: 960px auto;
    top: 0;
    margin-top: 11%;
  }
  .medical::after {
    width: 100%;
    background-size: 30% auto, 30% auto, 30% auto, 20% auto;
    background-position: left bottom calc(18vw + 20px), left top 22vw, right bottom 18vw, right top calc(22vw + 20px);
  }
  .medical .inner::before {
    height: auto;
    background-size: 960px auto;
    top: 0;
    margin-top: calc(22% - 2px);
  }
  .medical_list {
    gap: 15px 10px;
  }
  .medical_item {
    max-width: 276px;
    width: calc((100% - 10px) / 2);
  }
  .medical_item_icon {
    max-width: 80%;
    margin-bottom: 10px;
  }
  .medical_item_title {
    font-size: clamp(14px, 4.3vw, 16px);
  }
  .medical_item_eng {
    font-size: clamp(12px, 3.7vw, 14px);
  }
}