@charset "UTF-8";

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

  *基本設定

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

section .inner {
  max-width: 1300px;
  padding: 140px 20px;
}

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

.footer_info {
  margin: -70px auto 0;
  padding: 150px 20px 100px;
}

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

  /* ----- パララックス ----- */
  .parallax {
    height: 300px;
  }

  .footer_info {
    margin: -70px auto 0;
    padding: 140px 20px 70px;
  }
}

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

  *アニメーション

================================================================================================================================== */
@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;
  margin-bottom: 80px;
  line-height: 1.5;
  text-align: center;

  /* 左寄せ */
}

.top_title::after {
  content: "";
  display: block;
  width: 75px;
  height: auto;
  margin: 30px auto 0;
  aspect-ratio: 241 / 50;
  background: url(../images/front/title_deco.png) no-repeat center center / contain;
}

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

.top_title h2 {
  font-size: 270%;
  font-family: var(--font-jp);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--main-color);
  font-size: 140%;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.1em;
}

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

  .top_title::after {
    width: 50px;
    margin: 20px auto 0;
  }

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

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

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 800px;
  padding: 0 20px;
  overflow: hidden;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.mvImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* フェードの専用スタイル */
.fade .mvImg .splide__slide img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  height: calc(100% + 50px);
  pointer-events: none;
}

/* アニメーションを実行 */
.fade.move .mvImg .splide__slide img {
  animation: hideTranslate 8s ease-out forwards;
}

.fade.move .mvImg .splide__slide.is-active img {
  animation: showTranslate 8s ease-out forwards;
}

/* MVのアニメーション  */
@keyframes showTranslate {
  0% {
    transform: translate3d(0, 0px, 0);
  }

  100% {
    transform: translate3d(0, -30px, 0);
  }
}
@keyframes hideTranslate {
  0% {
    transform: translate3d(0, -30px, 0);
  }

  100% {
    transform: translate3d(0, 0px, 0);
  }
}

/* ----- キャッチコピー ----- */
.mvCatch {
  position: absolute !important;
  top: 40%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}

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

.mvCatch p {
  font-size: 220%;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
}

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

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

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

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

.open_bnr > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 15px;
  background: var(--main-color);
  border-radius: 50%;
  color: #ffffff;
  font-size: 110%;
  font-family: var(--font-jp);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-align: center;
}

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

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

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

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

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

/* ----- バナーエリア ----- */
.bnr_area {
  position: absolute;
  bottom: 50px;
  left: 340px;
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 20px;
}

.bnr_area .bnr_item {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  width: auto;
  min-width: 405px;
  min-height: 100px;
  padding: 15px 20px;
  background: #ffffff;
  border-radius: 10px;
  color: var(--sub-color);
  font-family: var(--font-jp);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.75;
  transition: opacity 0.2s;
}

.bnr_area .bnr_item::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: block;
  width: 10px;
  height: auto;
  aspect-ratio: 1 / 1;
  background: var(--sub-color);
  border-radius: 0 0 3px 0;
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  transition: right 0.2s, bottom 0.2s;
}

.bnr_area .bnr_item i {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: auto;
  aspect-ratio: 1 / 1;
  background: #ecfbde;
  border-radius: 50%;
  color: var(--sub-color);
  font-size: 20px;
}

.bnr_area .bnr_item:hover {
  opacity: 0.8;
}

.bnr_area .bnr_item:hover::after {
  right: 8px;
  bottom: 8px;
}
/* ----- スマホ専用エリア ----- */
.sp_only {
  display: none;
}

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

  /* ----- スライダーの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 .splide__slide {
    border-radius: 15px;
  }

  /* ----- キャッチコピー ----- */
  .mvCatch {
    top: auto;
    bottom: 20px;
    display: none;
  }

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

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

  /* ----- コンテンツ ----- */
  .mvContents .inner > *:not(.open_bnr) {
    display: none;
  }

  /* ----- 開院バナー ----- */
  .open_bnr {
    bottom: 20px;
  }

  .open_bnr > * {
    width: 200px;
    font-size: 80%;
  }

  /* ----- バナーエリア ----- */
  .bnr_area {
    position: static;
    flex-flow: row;
    gap: 15px;
    width: 100%;
    max-width: 450px;
  }

  .bnr_area .bnr_item {
    flex-flow: column;
    width: calc(50% - 10px);
    min-width: auto;
    height: auto;
    min-height: 170px;
    padding: 15px 10px;
    font-size: 90%;
    box-shadow: 0 0 0 2px #ecfbde;
  }

  .bnr_area .bnr_item::after {
    right: 7px;
    bottom: 7px;
  }

  .bnr_area .bnr_item i {
    width: 50px;
    font-size: 18px;
  }

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

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

  .sp_only_contents {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .sp_only_contents .open_bnr {
    display: none;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.clinic {
  position: relative;
  z-index: 1;
  background: var(--bg-color);
}

.clinic::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 0px;
  z-index: 2;
  display: block;
  width: 100%;
  height: 70px;
  background: var(--bg-color);
  mask: url(../images/front/section_wave.png) center center / 1920px 70px repeat-x;
  -webkit-mask: url(../images/front/section_wave.png) center center / 1920px 70px repeat-x;
}

/* ----- お知らせ ----- */
.clinic .news {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 100px 20px 30px;
}

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

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

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

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

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

/* ----- 医院概要 ----- */
.clinic .info {
  max-width: 1300px;
  margin: 0 auto;
  padding: 30px 20px 140px;
}

.clinic .info .inner {
  display: flex;
  gap: 50px;
  padding: 50px;
  background: #ffffff;
  border-radius: 20px;
}

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

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

.clinic .info address>* {
  position: relative;
  z-index: 1;
  min-height: 40px;
}

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

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

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

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

.clinic .info address .tel {
  margin-top: 20px;
  padding: 8px 0 0px 50px;
  font-size: 34px;
  font-family: var(--font-en);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-box: trim-both cap alphabetic;
}

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

.clinic .info address .fax {
  margin-top: 20px;
  padding: 8px 0 0px 50px;
  font-size: 30px;
  font-family: var(--font-en);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-box: trim-both cap alphabetic;
}

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

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

.clinic .info .speciality {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 30px auto 0;
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  color: #ffffff;
  font-family: var(--font-jp);
  letter-spacing: 0.1em;
  text-align: center;
  border-radius: 7px;
}

.clinic .info .googlemap iframe {
  height: 360px;
  border-radius: 15px;
}

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .clinic::before {
    top: -28px;
    width: 750px;
    height: 28px;
    -webkit-mask: url(../images/front/section_wave.png) repeat-x center / 750px 28px;
    mask: url(../images/front/section_wave.png) repeat-x center / 750px 28px;
  }

  /* ----- お知らせ ----- */
  .clinic .news {
    padding: 70px 20px 25px;
  }

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

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

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

  /* ----- 医院概要 ----- */
  .clinic .info {
    padding: 25px 20px 70px;
  }

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

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

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

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

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

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

  *ご挨拶（パターン01）

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

.greeting::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 0px;
  z-index: 2;
  display: block;
  width: 100%;
  height: 70px;
  background:#ffffff;
  mask: url(../images/front/section_wave.png) center center / 1920px 70px repeat-x;
  -webkit-mask: url(../images/front/section_wave.png) center center / 1920px 70px repeat-x;
}

.greeting .inner {
  position: relative;
  padding: 100px 20px 140px;
}

.greeting .inner::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -250px;
  z-index: -1;
  width: 700px;
  height: auto;
  aspect-ratio: 23 / 21;
  background: url(../images/common/logo_icon.png) no-repeat center/cover;
  opacity: 0.05;
}

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

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

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

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

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

.greeting_text .catchcopy {
  font-size: 120%;
  font-family: var(--font-jp);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.greeting_text .catchcopy span {
  font-size: 150%;
  margin: 0 5px;
}

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

.greeting_profile {
  margin-top: 20px;
  font-family: var(--font-jp);
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.1em;
  text-align: center;
}

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

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

.greeting_profile .name small {
  margin-right: 10px;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting::before {
    top: -28px;
    width: 750px;
    height: 28px;
    -webkit-mask: url(../images/front/section_wave.png) repeat-x center / 750px 28px;
    mask: url(../images/front/section_wave.png) repeat-x center / 750px 28px;
  }

  .greeting .inner {
    padding: 70px 20px 70px;
  }

  .greeting .inner::before {
    left: -200px;
    width: 500px;
  }

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

  .greeting_left {
    width: 100%;
  }

  .greeting_img {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

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

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

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

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

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

.medical::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url(../images/common/dmy.jpg) no-repeat center/cover;
  opacity: 0.5;
}

.medical .top_title span {
  color: var(--main-color);
}

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

.medical_item {
  position: relative;
  z-index: 1;
  width: calc(25% - 15px);
  height: auto;
}

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

.medical_img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}

.medical_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.medical_inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 270px;
  padding: 40px 20px 35px;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  overflow: hidden;
}

.medical_inner::before {
  content: '';
  position: absolute;
  background-color: #ffffff;
  background-image: radial-gradient(rgb(229, 233, 235, 0.8) 9%, transparent 9%), radial-gradient(rgb(229, 233, 235, 0.8) 9%, transparent 9%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

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

.medical_icon {
  width: 70%;
  max-width: 120px;
  margin: 0 auto 20px !important;
  padding: 10px;
  border-radius: 50%;
  border: 3px solid var(--sub-color);
}

.medical_title h3 {
  color: var(--main-color);
  font-size: 120%;
  font-family: var(--font-jp);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.medical_title_eng {
  margin-top: 5px;
  color: #80a7d1;
  font-size: 12px;
  font-family: var(--font-en);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
}

.medical_text {
  color: var(--text-color);
}

.medical_btn {
  margin-top: 10px;
}

.medical_btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto;
  padding: 7px 35px 7px 35px;
  background: #407ab9;
  border: 1px solid #407ab9;
  color: #ffffff;
  letter-spacing: 1px;
  font-size: 90%;
  font-family: var(--font-jp);
  letter-spacing: 0.1em;
  text-align: center;
  border-radius: 100px;
  transition: padding 0.2s, color 0.2s, background 0.2s;
}

.medical_item:hover .medical_btn span {
  background: #ffffff;
  color: #407ab9;
}

/* ----- 先頭3つの設定（7個の場合のみ） ----- */
.medical_list:has(.medical_item:nth-of-type(7):last-of-type) .medical_item:nth-of-type(-n + 3) {
  width: calc((100% / 3) - (40px / 3));
  min-height: 350px;
}

.medical_list:has(.medical_item:nth-of-type(7):last-of-type) .medical_item:nth-of-type(-n + 3) .medical_inner {
  border-radius: 15px;
}

.medical_list:has(.medical_item:nth-of-type(7):last-of-type) .medical_item:nth-of-type(-n + 3) .medical_icon {
  max-width: 100px;
  margin: 0 auto 5px !important;
}

.medical_list:has(.medical_item:nth-of-type(7):last-of-type) .medical_item:nth-of-type(-n + 3) .medical_title h3 {
  font-size: 150%;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .medical_list {
    gap: 15px 10px;
  }

  .medical_item {
    width: calc(50% - 5px);
  }

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

  .medical_inner {
    min-height: auto;
    padding: 20px 10px;
  }

  .medical_icon {
    width: 60%;
    margin-bottom: 15px!important;
    padding: 5px;
  }

  .medical_title h3 {
    font-size: 110%;
    line-height: 1.7;
  }
  
  .medical_btn span {
    padding: 7px 12px 7px 12px;
    font-size: 85%;
  }

  /* ----- 先頭3つの設定（7個の場合のみ） ----- */
  .medical_list:has(.medical_item:nth-of-type(7):last-of-type) .medical_item:nth-of-type(-n + 3) {
    width: 100%;
    min-height: auto;
  }

  .medical_list:has(.medical_item:nth-of-type(7):last-of-type) .medical_item:nth-of-type(-n + 3) .medical_inner {
    padding: 20px 20px 20px;
  }

  .medical_list:has(.medical_item:nth-of-type(7):last-of-type) .medical_item:nth-of-type(-n + 3) .medical_icon {
    width: 30%;
  }

  .medical_list:has(.medical_item:nth-of-type(7):last-of-type) .medical_item:nth-of-type(-n + 3) .medical_title h3 {
    font-size: 140%;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  position: relative;
  background: var(--bg-color);
}

.feature::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 0px;
  z-index: 2;
  display: block;
  width: 100%;
  height: 70px;
  background: var(--bg-color);
  mask: url(../images/front/section_wave.png) center center / 1920px 70px repeat-x;
  -webkit-mask: url(../images/front/section_wave.png) center center / 1920px 70px repeat-x;
}

.feature .inner {
  max-width: 1500px;
  padding: 120px 20px 180px;
}

.feature .top_title .num {
  margin: 0 8px;
  font-size: 140%;
  color: var(--sub-color);
}

.feature .top_title .subcatch {
  display: block;
  margin-top: 10px;
  font-size: 50%;
}

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

.feature_item {
  display: flex;
  flex-flow: column;
  width: calc(25% - 22.5px);
  height: auto;
  border-radius: 15px;
  overflow: hidden;
}

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

.feature_num {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 0 !important;
  width: 50px;
  height: auto;
  aspect-ratio: 1 / 1;
  background: #407ab9;
  border-radius: 50%;
  color: #ffffff;
  font-size: 120%;
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.1em;
}

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

.feature_title h3 {
  color: var(--main-color);
  font-size: 130%;
  font-family: var(--font-jp);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-align: center;
}

.feature_title h3 span {
  font-size: 80%;
}

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

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

.feature_button .btn01 >* {
  min-width: 250px;
}

@media screen and (min-width: 641px) and (max-width: 1460px) {
  .feature .inner {
    max-width: 1200px;
  }

  .feature_item {
    width: calc(50% - 15px);
  }

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .feature::before {
    top: -28px;
    width: 750px;
    height: 28px;
    -webkit-mask: url(../images/front/section_wave.png) repeat-x center / 750px 28px;
    mask: url(../images/front/section_wave.png) repeat-x center / 750px 28px;
  }

  .feature .inner {
    padding: 70px 20px 80px;
  }

  .feature_list {
    gap: 30px;
  }

  .feature_item {
    width: 100%;
  }

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

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

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

  *医療コラム（パターン03）

================================================================================================================================== */
#columnSlider .inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 130px;
  width: 90%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 100px 50px;
}

#columnSlider .top_title {
  flex-shrink: 0;
}

#columnSlider .top_title h2 {
  font-size: 220%;
}

#columnSlider .top_title h2::before, #columnSlider .top_title h2::after {
  display: none;
}

/* ----- コラムスライダー設定 ----- */
#columnSlider .splide {
  width: 100%;
  padding-top: 75px;
  overflow: hidden;
}

#columnSlider .splide__list {
  align-items: flex-start;
  width: 100%;
}


/* スライダーのArrowボタン */
#columnSlider .splide__arrow {
  position: absolute;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 45px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  cursor: pointer;
  border-radius: 5px;
  overflow: hidden;
  transform: translateZ(0);
  transition: background 0.2s, color 0.2s;
}

#columnSlider .splide__arrow:hover {
  background: #ffffff;
  color: var(--main-color);
}

#columnSlider .splide__arrow span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transition: background 0.2s;
}

#columnSlider .splide__arrow span::before {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
}

#columnSlider .splide__arrow--prev {
  right: 70px;
}

#columnSlider .splide__arrow--prev span::before {
  content: "\f104";
}

#columnSlider .splide__arrow--next {
  right: 0;
}

#columnSlider .splide__arrow--next span::before {
  content: "\f105";
}

#columnSlider .splide__slide {
  display: flex;
  align-items: center;
  min-height: 200px;
}

/* ----- ページネーション ----- */
#columnSlider .splide__pagination {
  position: absolute;
  top: 17px;
  right: 190px;
  z-index: 1;
  display: flex;
  gap: 15px;
}

#columnSlider .columnSlider-page {
  width: 10px;
  height: 10px;
  background-color: #e8e8e8;
  border-radius: 50%;
  transition: background 0.2s;
}

#columnSlider .columnSlider-page.is-active {
  background: var(--main-color);
}

/* ----- コラム個別 ----- */
#columnSlider .column_item:first-child .column_item_thum::before {
  content: "New";
  position: absolute;
  top: -1px;
  left: -1px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-self: center;
  width: 90px;
  height: 90px;
  padding: 10px 35px 0 0;
  background: var(--sub-color);
  color: #ffffff;
  font-size: 16px;
  font-family: var(--font-en);
  letter-spacing: 0.075em;
  opacity: 0.9;
  clip-path: polygon(0 0, 0% 100%, 100% 0);
}

#columnSlider .column_item a {
  width: 100%;
  padding: 15px;
  background: var(--bg-color);
  border-radius: 20px;
}

#columnSlider .column_item a:hover .column_item_thum img {
  transform: scale(1.1);
}

#columnSlider .column_item a:hover .column_title {
  color: var(--main-color);
}

#columnSlider .column_item_thum {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  margin: 0 0 15px;
  border-radius: 10px;
  overflow: hidden;
}

#columnSlider .column_item_thum img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
  aspect-ratio: 13/9;
}

#columnSlider .column_info {
  display: flex;
  flex-flow: wrap;
  gap: 15px;
  margin: 0 0 15px;
  color: #747474;
  font-size: 90%;
}

#columnSlider .column_info ul {
  display: flex;
  flex-flow: wrap;
  gap: 5px;
}

#columnSlider .column_info ul li {
  min-width: 80px;
  padding: 2px 10px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 90%;
  font-family: var(--font-jp);
  text-align: center;
  border-radius: 5px;
}

#columnSlider .column_date {
  flex-shrink: 0;
}

#columnSlider .column_title {
  color: var(--text-color);
  font-size: 105%;
  font-family: var(--font-jp);
  letter-spacing: 0.1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

/* ==============================================
  *SP　医療コラム
============================================== */
@media screen and (max-width: 640px) {
  #columnSlider .inner {
    flex-flow: column;
    gap: 0;
    width: 100%;
    margin: 0 auto;
    padding: 70px 20px;
  }

  #columnSlider .top_title {
    margin: 0 auto 50px;
  }

  #columnSlider .splide {
    margin-right: -40px;
  }

  #columnSlider .splide__arrow {
    width: 50px;
    height: 40px;
  }

  #columnSlider .splide__arrow--next {
    right: 20px;
  }

  #columnSlider .splide__arrow--prev {
    right: 80px;
  }

  #columnSlider .splide__pagination {
    top: 13px;
    right: auto;
    left: 0;
    justify-content: flex-end;
    gap: 13px;
    transform: translate(0);
  }

  #columnSlider .splide__slide:first-child .column_item_thum::before {
    width: 80px;
    height: 80px;
    padding: 13px 25px 0 0;
  }

  #columnSlider .columnSlider-page {
    width: 8px;
    height: 8px;
  }
}

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

  *無限スライダー

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
#infinitySlider {
  position: relative;
  z-index: 2;
  padding: 10px 0;
}

#infinitySlider .splide__list {
  gap: 10px;
}

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

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

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

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

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

  *バナーエリア

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
/* ----- 共通設定 ----- */
.top_banner .inner {
  padding: 60px 20px 130px;
}

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

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

.top_banner .onlyimg .banner_slide img {
  width: 100%;
  height: auto;
  transition: opacity 0.2s;
}

.top_banner .onlyimg a.banner_slide:hover img {
  opacity: 0.5;
}

/* インプットバナー */
.top_banner .input .banner_slide {
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 15px;
  background: var(--bg-color);
}

.top_banner .input .banner_slide .slide_img {
  flex-shrink: 0;
  width: calc(30% - 10px);
  height: 100%;
}

.top_banner .input .banner_slide .slide_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top_banner .input .banner_slide .slide_inner {
  width: 100%;
  height: 100%;
  padding: 0 0 10px;
}

.top_banner .input .banner_slide .slide_title {
  margin: 0 auto 10px;
  padding: 5px;
  border-bottom: 1px solid var(--line-color);
  color: var(--main-color);
  font-size: 110%;
  line-height: 1.5;
}

.top_banner .input .banner_slide .slide_content {
  font-size: 90%;
}

.top_banner .input a.banner_slide:hover {
  opacity: 0.6;
}

/* ----- グリッドバナー ----- */
.banner_grid ul {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.banner_grid li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(33.3333333333% - 13.3333333333px);
}

/* ----- スライダーバナー ----- */
#bannerSlider .splide {
  position: relative;
  z-index: 1;
}

#bannerSlider .splide__inner {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

/* スライドの設定  */
#bannerSlider .splide__slide {
  display: flex;
  align-items: center;
  min-height: 200px;
}

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

#bannerSlider .bannerSlider_arrow i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 0 1px 0;
  background: var(--main-color);
  border-radius: 50%;
  font-size: 80%;
  transition: background 0.2s;
}

#bannerSlider .bannerSlider_arrow:hover i {
  background: var(--sub-color);
}

#bannerSlider .bannerSlider_arrow_prev {
  left: 0;
}

#bannerSlider .bannerSlider_arrow_next {
  right: 0;
}

/* ページネーション */
#bannerSlider .bannerSlider_pagination {
  z-index: 1;
  display: flex;
  gap: 15px;
  margin: 30px auto 0;
}

#bannerSlider .bannerSlider_page {
  width: 10px;
  height: 10px;
  background-color: #e8e8e8;
  border-radius: 50%;
  transition: background 0.2s;
}

#bannerSlider .bannerSlider_page.is-active {
  background: var(--main-color);
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .top_banner .inner {
    padding: 50px 20px 70px;
  }

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

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

  /* スライドの設定  */
  #bannerSlider .splide__slide {
    min-height: 150px;
  }

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

  #bannerSlider .bannerSlider_arrow i {
    padding: 0 0 1px 0;
  }

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

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

  /* ページネーション */
  #bannerSlider .bannerSlider_pagination {
    gap: 12px;
    margin: 20px auto 0;
  }

  #bannerSlider .bannerSlider_page {
    width: 8px;
    height: 8px;
  }
}

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

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

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

.search .inner {
  padding: 140px 20px 160px;
}

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

.search .tab_list li {
  display: flex;
  flex: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 10px 20px;
  background: #a9a9a9;
  color: #ffffff;
  font-size: 140%;
  cursor: pointer;
  transition: transform 0.2s, padding 0.2s;
}

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

.search .tab_list li:only-child {
  display: none;
}

/* ----- パネル ----- */
.search .panel {
  display: none;
  margin: 0 !important;
  border-radius: 20px;
}

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

/* ----- 項目 ----- */
.search_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  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: 60px;
  padding: 15px 45px 15px 15px;
  background: #ffffff;
  color: var(--text-color);
  font-size: 100%;
  font-family: var(--font-jp);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  border-bottom: 1px solid var(--main-color);
}

.search_list a::after {
  content: "\f061";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 25px;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 1px 0px 0px 2px;
  list-style: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 11px;
  background: var(--main-color);
  border-radius: 50%;
  color: #ffffff;
  transform: translateY(-50%);
  transition: right 0.2s, background 0.2s, color 0.2s;
}

.search_list a:hover {
  background: #eaf9ff;
}

.search_list a:hover::after {
  right: 7px;
}

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

.panel_flex .search_img {
  position: relative;
  width: 450px;
  margin: 0 !important;
  padding: 15px 0 0 15px;
}

.panel_flex .search_img::before {
  content: '';
  position: absolute;
  background-color: #ffffff;
  background-image: radial-gradient(rgb(141, 215, 246) 10%, transparent 10%), radial-gradient(rgb(141, 215, 246) 10%, transparent 10%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  width: calc(100% - 15px);
  height: calc(100% - 15px);
  top: 0;
  left: 0;
  z-index: -1;
}

.panel_flex .search_img img {
  border-radius: 15px;
}

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

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

  .search .top_title {
    margin-bottom: 20px;
  }

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

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

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

  .search_list a {
    font-size: 95%;
  }

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

  .panel_flex .search_img {
    width: 100%;
  }

  .panel_flex .search_img img {
    height: 220px;
    object-fit: cover;
    object-position: top;
  }

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