@charset "UTF-8";

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

  *基本設定

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

section .inner {
  width: calc(100% - 100px);
  max-width: 1400px;
  padding: 100px 0;
}

.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 {
    width: 100%;
    padding: 80px 15px;
  }

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

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

  *タイトル

================================================================================================================================== */
.top_title {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  line-height: 1.5;
  text-align: center;
}

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

.top_title h2 {
  color: var(--sub-color);
  line-height: 1;
  letter-spacing: .12em;
  font-size: 187.5%;
}

.top_title .eng {
  display: inline-block;
  background: linear-gradient(-60deg, #bea162, #d9be84);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: .05em;
  font-size: 375%;
  font-family: var(--font-en-c);
  font-weight: 400;
  font-style: normal;
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
  .top_title {
    gap: 8px !important;
    margin-bottom: 40px;
  }

  .top_title h2 {
    font-size: 140% !important;
  }

  .top_title .eng {
    font-size: 280%;
  }
}

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

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 980px;
  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: "\f053";
}

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

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

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

.mvImg::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/front/mv_shadow.png) no-repeat left top/100% auto, url(../images/front/mv_shadow_blue.png) no-repeat left bottom/cover;
}

.mvImg::after {
  position: absolute;
  top: calc(50% + 28px);
  left: -7px;
  transform: translateY(-50%);
  content: "HARUKAS \A ENDOSCOPIC \A CLINIC";
  white-space: pre;
  color: rgb(255, 255, 255, .1);
  letter-spacing: .2em;
  line-height: 1.21;
  font-size: 750%;
  font-family: var(--font-en-c);
  font-weight: 600;
  font-style: normal;
}

.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 hideImg {
  0% {
    opacity: 1;
  }

  10% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@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: -6px;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}

.mvCatch .inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 100px);
  max-width: 1820px;
}

.mvCatch p {
  letter-spacing: .12em;
  line-height: 1.48;
  color: #fff;
  font-size: 225%;
  font-family: var(--font-jp);
  text-shadow: 0 10px 10px rgba(0, 0, 0, 0.4);
}

.mvCatch p span.emphasize {
  letter-spacing: .12em;
  font-size: min(167%, 60px);
}

.mvCatch p span.pc_lh2 {
  line-height: 2;
}

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

.mvContents .inner {
  position: relative;
  z-index: 2;
  width: calc(100% - 100px);
  max-width: 1820px;
  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: 280px;
  padding: 15px;
  background: var(--main-color);
  border-radius: 50%;
  color: #ffffff;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
}

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

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

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

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

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

/* ----- RIBONバナー ----- */
.mv_ribon {
  position: absolute;
  bottom: 150px;
  left: 0;
}

.sp_only {
  display: none;
}

/* ----- MV アクセスバナー ----- */
.mv_bnr_access {
  position: absolute;
  left: -50px;
  bottom: 122px;
}

.mv_bnr_access>a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 18px 28px 14px 17px;
  background: #fff;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2);
  transition: .3s ease-in-out;
}

.mv_bnr_access>a::before {
  position: absolute;
  bottom: 3px;
  right: 4px;
  content: "";
  width: 14px;
  height: auto;
  aspect-ratio: 1;
  background: #c9bea5;
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

@media screen and (min-width: 641px) {
  .mv_bnr_access>a:hover {
    padding-left: 120px;
    opacity: .9;
  }

  .mv_bnr_access>a::after {
    position: absolute;
    top: 50%;
    left: 34px;
    transform: translateY(-50%);
    content: "";
    position: absolute;
    width: 50px;
    height: auto;
    aspect-ratio: 10 / 1;
    mask: url(../images/front/mask_arrow.png) no-repeat center / cover;
    background: #9a9895;
    transition: 0.2s ease-in-out;
    opacity: 0;
  }

  .mv_bnr_access>a:hover::after {
    opacity: 1;
  }
}

.bnr_access_icon {
  display: inline-block;
  width: 90px;
  height: auto;
  aspect-ratio: 1;
  margin-right: 18px;
  background: url(../images/front/mv_bnr_access_icon.png) no-repeat center/cover;
}

.bnr_access_title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 33px;
  margin-right: 20px;
  color: #786848;
  letter-spacing: .1em;
  line-height: 1;
  font-size: 106.25%;
  font-family: var(--font-jp);
}

.bnr_access_title::before {
  position: absolute;
  top: calc(50% - 3px);
  left: 0;
  transform: translateY(-50%);
  content: "";
  width: 100%;
  height: 1px;
  background: #bab5a9;
}

.bnr_access_title .text_large {
  position: relative;
  letter-spacing: 0;
  font-size: 32px;
}

.bnr_access_floor {
  letter-spacing: 0;
  line-height: 1;
  color: #786848;
  font-size: 18px;
  font-family: var(--font-jp);
}

.bnr_access_floor span {
  display: inline-block;
  background: linear-gradient(-60deg, #bea162, #dec48b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 95px;
  font-family: var(--font-en-f);
  font-weight: 400;
  font-style: normal;
}

/* ----- MV 特徴バナー ----- */
.mv_bnr_feature {
  position: absolute;
  top: 210px;
  right: 0;
  display: flex;
  gap: 15px;
}

.bnr_feature_img>a {
  display: block;
  transition: .2s ease-in-out;
}

.bnr_feature_img>a:hover {
  opacity: .8;
}

.bnr_feature_img {
  max-width: 181px;
  transition: .2s ease-in-out;
}

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
  .mainvisual {
    height: calc(100svh - 75px);
  }

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

  .mvImg::before {
    background: url(../images/front/mv_shadow.png) no-repeat left top/100% auto, url(../images/front/mv_shadow_blue_sp.png) no-repeat left bottom/cover;
  }

  .mvImg::after {
    top: calc(50% + 3vw);
    letter-spacing: .15em;
    font-size: min(12vw, 64px);
  }

  .mvCatch {
    left: 0;
  }

  .mvCatch .inner {
    width: 100%;
    padding: 0 15px;
  }

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

  .mvCatch p {
    line-height: 1.7;
    letter-spacing: .12em;
    font-size: min(4.2vw, 18px);
    text-shadow: 0 6px 6px rgba(0, 0, 0, 0.4);
  }
	
  .mvCatch p span.pc_lh2 {
    line-height: inherit;
  }


  .mvContents .mv_bnr_feature {
    display: none;
  }

  .mv_bnr_access {
    position: absolute;
    left: 0;
    bottom: 10vh;
  }

  .mv_bnr_access>a {
    padding: 3vw 3vw;
  }

  .mv_bnr_access>a::before {
    width: 3vw;
  }

  .bnr_access_icon {
    width: 18vw;
    margin-right: 2.5vw;
  }

  .bnr_access_title {
    gap: 16px;
    margin-right: 2.5vw;
    font-size: min(3.5vw, 18px);
  }

  .bnr_access_title .text_large {
    font-size: 140%;
  }

  .bnr_access_floor {
    font-size: 3vw;
  }

  .bnr_access_floor span {
    font-size: min(12vw, 60px);
  }

  .mvContents .inner {
    width: 100%;
    padding: 0 15px;
  }

  .sp_only {
    display: block;
    background: none !important;
  }

  .sp_only .inner {
    padding: 10px 15px 0;
  }

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

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

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

  .sp_only_contents .mv_bnr_access {
    display: none;
  }

  .mv_bnr_feature {
    position: static;
    gap: 10px;
  }
}

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

  *バナーエリア

================================================================================================================================== */
/* ----- 共通設定 ----- */
.top_banner .banner_slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--text-color);
}

.top_banner .inner {
  padding-top: 106px;
  padding-bottom: 25px;
}

.about_reservation {
  margin-bottom: 25px;
  padding: 32px 10px 31px 23px;
  border: 1px solid #575042;
}

.about_reservation p {
  text-align: center;
  letter-spacing: .12em;
  line-height: 1.58;
  color: #484030;
  font-size: 118.75%;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

.about_reservation p span {
  color: #9d751a;
}

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

.slide_img {
  overflow: hidden;
}

.top_banner .onlyimg .banner_slide img {
  width: 100%;
  height: auto;
  transition: 0.2s ease-in-out;
}

.top_banner .onlyimg a.banner_slide:hover img {
  opacity: 0.7;
  transform: scale(1.02);
}

/* インプットバナー */
.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 a.banner_slide:hover {
  background: #f5f5f5;
}

.top_banner .input .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 .slide_inner {
  width: 100%;
  height: 100%;
  padding: 0 0 10px;
}

.top_banner .input .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 .slide_content {
  font-size: 90%;
}

/* ----- グリッドバナー ----- */
.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(--text-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-top: 40px;
    padding-bottom: 0;
  }

  .about_reservation {
    margin-bottom: 20px;
    padding: 28px 8px;
  }

  .about_reservation p {
    letter-spacing: .1em;
    font-size: 110%;
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
  }

  /* ----- グリッドバナー ----- */
  .banner_grid ul {
    gap: 10px;
  }

  .banner_grid li {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

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

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

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

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

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

==================================================================================================================================*/
.top_content_wrap {
  position: relative;
  padding-bottom: 146px;
  background: url(../images/front/clinic_bg.jpg) no-repeat left top/cover;
}

.clinic {
  position: relative;
  z-index: 1;
  background: url(../images/front/clinic_bg.jpg) no-repeat left top/cover;
}

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

.clinic .news .inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 89px;
  padding: 64px 0 76px;
}

.clinic .news .news_left {
  flex-shrink: 0;
  padding-top: 43px;
}

.clinic .news .top_title {
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 15px;
}

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

.clinic .news .top_title h2 .eng {
  background: linear-gradient(-60deg, #bea162, #dec48b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.clinic .news .btn02 {
  margin-top: 0;
  text-align: center;
}

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

.clinic .info::before {
  position: absolute;
  z-index: -1;
  bottom: 0;
  right: 0;
  content: "";
  width: calc(100% - 107px);
  min-width: 1380px;
  height: 100%;
  background: url(../images/front/marble_beige.jpg) no-repeat center/cover;
}

.clinic .info::after {
  position: absolute;
  z-index: -1;
  top: 78px;
  right: -43px;
  content: "CLINIC INFORMATION";
  color: rgb(255 255 255 / .9);
  letter-spacing: .1em;
  line-height: 1;
  font-size: 750%;
  font-family: var(--font-en-c);
  font-weight: 600;
  font-style: normal;
}

.clinic .info .inner {
  display: flex;
  gap: 104px;
  padding: 151px 0 88px;
}

.clinic .info .inner>* {
  width: calc(((100% / 2) - (104px / 2)));
}

.info_left {
  padding-top: 40px;
}

.info_right {
  padding-right: 5px;
}

.clinic .info address {
  padding-left: 53px;
}

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

.clinic .info address .location .location_icon {
  position: relative;
  top: 2px;
  display: inline-block;
  width: 14px;
  height: auto;
  aspect-ratio: 7/9;
  margin-right: 11px;
  mask: url(../images/front/location.png) no-repeat center/cover;
  background: #787061;
}

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

.clinic .info address .tel {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 18px;
  line-height: 1;
}

.clinic .info address .tel .tel_head {
  display: inline-block;
  min-width: 165px;
  padding: 10px 10px 9px;
  background: url(../images/front/brackets01.png) no-repeat left center/auto 100%, url(../images/front/brackets02.png) no-repeat right center/auto 100%;
  color: #575042;
  text-align: center;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

.clinic .info address .tel a {
  line-height: 1;
  letter-spacing: .15em;
  color: #b29554;
  font-size: 287.5%;
  font-family: var(--font-en-g);
  font-weight: 400;
  font-style: normal;
}

.clinic .info address .fax {
  margin-top: 15px;
  font-size: 30px;
  line-height: 1;
}

.clinic .info address .note {
  margin-top: 20px;
  padding-left: 12px;
  font-size: 90%;
}

.clinic .info .speciality {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-top: 15px;
  padding-left: 53px;
  line-height: 1;
}

.clinic .info .speciality .title {
  display: inline-block;
  min-width: 165px;
  padding: 10px;
  background: url(../images/front/brackets01.png) no-repeat left center/auto 100%, url(../images/front/brackets02.png) no-repeat right center/auto 100%;
  color: #575042;
  text-align: center;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

.clinic .info .office_hour:first-child {
  margin-top: 30px;
}

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

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

.clinic .info .googlemap {
  border: 1px solid #baae9e;
}

.clinic .info .googlemap iframe {
  width: 100%;
  height: 407px;
}

@media screen and (max-width: 1725px) {
  .clinic .info::before {
    width: calc(100% - 50px);
  }

  .clinic .info::after {
    font-size: 650%;
  }
}

@media screen and (max-width: 1585px) {
  .clinic .info::before {
    width: calc(100% - 25px);
  }

  .clinic .info::after {
    font-size: 550%;
  }
}

@media screen and (min-width: 641px) and (max-width: 1450px) {
  .clinic .info .office_hour th .subject {
    font-size: 70%;
  }
}

/* ==============================================
  *SP 医院概要
============================================== */

@media screen and (max-width: 640px) {
  .top_content_wrap {
    padding-bottom: 0;
    background: url(../images/front/clinic_bg_sp.jpg) no-repeat left top/cover;
  }

  .clinic .news .inner {
    flex-flow: column;
    align-items: center;
    gap: 0;
    padding: 80px 15px;
  }

  .clinic .news .news_left {
    width: 100%;
    padding-top: 0;
  }

  .clinic .news .top_title {
    align-items: center;
    margin-bottom: 5px;
  }

  .clinic .news .btn02 {
    margin-top: 24px;
  }

  .clinic .info::before {
    width: 100%;
    min-width: unset;
    background: url(../images/front/marble_beige_sp.jpg) no-repeat center/cover;
  }

  .clinic .info .inner {
    flex-flow: column;
    gap: 50px;
    padding: 0 15px 80px;
  }

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

  .info_left {
    padding-top: 70px;
  }

  .clinic .info::after {
    top: auto;
    bottom: 20px;
    font-size: min(7vw, 40px);
    white-space: nowrap;
  }

  .clinic .info address {
    padding-left: 0;
  }

  .clinic .info address .location {
    line-height: 1.6;
  }

  .clinic .info address .sp_wrap {
    display: block;
  }

  .clinic .info address .location .location_icon {
    width: 11px;
    margin-right: 6px;
  }

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

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

  .clinic .info address .tel .tel_head {
    min-width: 27vw;
    padding: 8px 7px;
    font-size: min(3.5vw, 18px);
  }

  .clinic .info address .tel a {
    font-size: min(8vw, 50px);
  }

  .clinic .info .speciality {
    gap: 3vw;
    padding: 0;
    margin-top: 20px;
    line-height: 1.4;
  }

  .clinic .info .speciality .title {
    min-width: 27vw;
    padding: 8px 7px;
    line-height: 1;
    font-size: min(3.5vw, 18px);
  }

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


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

  *ご挨拶

================================================================================================================================== */
.greeting {
  position: relative;
}

.greeting::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: calc(100% + 30px);
  background: url(../images/front/greeting_bg.jpg) no-repeat left top/cover;
}

.greeting .inner {
  padding-top: 145px;
  padding-bottom: 448px;
}

.greeting .top_title {
  gap: 10px;
  margin-bottom: 39px;
}

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

.greeting_flex {
  display: flex;
  gap: 62px;
  min-height: 525px;
  padding: 60px 69px 54px 55px;
  background: #fff;
  box-shadow: 0px 10px 20px rgba(47, 29, 10, 0.2);
}

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

.greeting_text {
  display: flex;
  align-items: center;
  height: 100%;
}

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

.greeting_text h3 {
  position: relative;
  margin: 0 64px 0 0 !important;
  padding-right: 49px;
  color: rgb(120, 104, 72);
  letter-spacing: 0.12em;
  line-height: 1.9;
  font-size: 150%;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

.greeting_text h3::before {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  content: "";
  width: 1px;
  height: 100%;
  min-height: 380px;
  background: #cfcdc9;
}

.greeting_text h3 span {
  color: #c1a566;
  font-size: 125%;
}

.greeting_text p {
  line-height: 1.81;
}

.greeting_text p:not(:last-of-type) {
  margin-bottom: 31px;
}

.greeting_text .btn02 {
  margin-top: 42px;
}

.greeting_right {
  flex-shrink: 0;
  width: 360px;
}

.greeting_img {
  text-align: center;
}

.greeting_img img {
  max-height: 322px;
  width: auto;
}

.greeting_profile {
  margin-top: 30px;
  padding-right: 9px;
  color: #786848;
  text-align: center;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

.greeting_profile .position {
  margin-bottom: 9px;
  line-height: 1.38;
  letter-spacing: .12em;
}

.greeting_profile .name {
  line-height: 1;
  letter-spacing: .12em;
  font-size: 143.75%;
}

.greeting_profile .name span {
  margin-right: 10px;
  font-size: 1rem;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
  .greeting::before {
    height: calc(100% + 80px);
    background: url(../images/front/greeting_bg_sp.jpg) no-repeat left top/cover;
  }

  .greeting .inner {
    padding-top: 80px;
    padding-bottom: 180px;
  }

  .greeting .top_title {
    margin-bottom: 16px;
  }

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

  .greeting_flex {
    flex-flow: column-reverse;
    gap: 32px;
    min-height: unset;
    padding: 32px 20px 48px;
  }

  .greeting_left {
    width: 100%;
  }

  .greeting_text {
    flex-direction: column;
  }

  .greeting_text h3 {
    width: 100%;
    margin: 0 0 24px !important;
    padding: 0 0 16px;
    border-bottom: 1px solid #cfcdc9;
    text-align: center;
    line-height: 1.5;
    font-size: 135%;
    -webkit-writing-mode: inherit;
    writing-mode: inherit;
  }

  .greeting_text h3::before {
    content: none;
  }

  .greeting_text p:not(:last-of-type) {
    margin-bottom: 24px;
  }

  .greeting_text .btn02 {
    margin-top: 32px;
    text-align: center;
  }

  .greeting_right {
    width: 100%;
  }

  .greeting_profile {
    margin-top: 24px;
    padding-right: 0;
  }

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

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

  *診療案内

================================================================================================================================== */
.medical {
  position: relative;
  z-index: 1;
  margin-top: -23.385vw;
  background: #8b7755;
  overflow: hidden;
}

.medical::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  content: "";
  width: 80.6%;
  height: auto;
  aspect-ratio: 1549/1019;
  mask: url(../images/front/medical_img_mask.png) no-repeat center/cover;
  background: url(../images/front/medical_bg.jpg) no-repeat center/cover;
}

.medical .inner {
  max-width: 1500px;
  padding-top: 29.79vw;
  padding-bottom: 0;
}

.medical .top_title {
  align-items: flex-start;
  margin-bottom: 7.03125vw;
}

.medical .top_title h2 {
  color: #ffffff;
  font-size: 250%;
}

.medical .top_title .eng {
  font-size: 812.5%;
  background: #d4c5a8;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.medical_list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  padding-top: 54px;
  padding-bottom: 54px;
}

.medical_list::after {
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: calc(100% + 420px);
  min-width: 100vw;
  height: 100%;
  background: linear-gradient(rgb(21 20 19 / .3), rgb(21 20 19 / .3)), linear-gradient(rgb(125 111 81 / .7), rgb(125 111 81 / .7)), url(../images/front/medical_bg02.jpg) no-repeat center / cover;
  box-shadow: 0px 10px 20px rgb(47 29 10 / .1);
}

.medical_item {
  position: relative;
  z-index: 1;
  width: calc((100% / 5) - (13px * 4 / 5));
  height: auto;
}

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

.medical_item::before {
  position: absolute;
  bottom: 6px;
  right: 6px;
  content: "";
  width: 14px;
  height: auto;
  aspect-ratio: 1;
  background: #c9bea5;
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  transition: .2s;
}

.medical_item:hover::before {
  background: #fff;
}

.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;
  align-items: center;
  gap: 13px;
  width: 100%;
  height: 100%;
  min-height: 120px;
  padding: 25px 5px 23px 13px;
  border: 1px solid #fff;
  text-align: center;
}

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

.medical_icon {
  width: 70%;
  max-width: 70px;
  margin: 0 !important;
  background: #fff;
  border-radius: 50%;
}

.medical_title {
  display: flex;
  flex-flow: column-reverse;
  align-items: flex-start;
  gap: 7px;
}

.medical_title h3 {
  color: #fff;
  text-align: left;
  letter-spacing: .12em;
  line-height: 1.59;
  font-size: 106.25%;
}

.medical_title_eng {
  color: #ebe7ae;
  font-size: 81.25%;
  line-height: 1;
  letter-spacing: 1px;
  font-family: var(--font-en-f);
  font-weight: 300;
  font-style: normal;
}

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

.medical_btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto;
  padding: 7px 25px 7px 15px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  letter-spacing: 1px;
  text-align: center;
  transition: padding 0.2s, color 0.2s, background 0.2s;
}

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

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

@media screen and (max-width: 1580px) {
  .medical .top_title {
    margin-bottom: 3.5vw;
  }
}

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
  .medical {
    margin-top: 0;
  }

  .medical::before {
    top: 0;
    width: 80%;
    aspect-ratio: 375 / 333;
    mask: url(../images/front/medical_img_mask.png) repeat left top;
    background: url(../images/front/medical_bg_sp.jpg) no-repeat center / cover;
  }

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

  .medical .top_title .eng {
    font-size: min(16vw, 72px);
  }

  .medical_list {
    gap: 10px;
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .medical_list::after {
    width: calc(100% + 30px);
    min-width: unset;
    background: linear-gradient(rgb(21 20 19 / .4), rgb(21 20 19 / .4)), linear-gradient(rgb(125 111 81 / .7), rgb(125 111 81 / .7)), url(../images/front/medical_bg02_sp_dummy.jpg) no-repeat center / cover;
  }

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

  .medical_item::before {
    width: 3vw;
  }

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

  .medical_inner {
    flex-direction: column;
    gap: 12px;
    min-height: auto;
    padding: 4vw 2vw;
  }

  .medical_icon {
    width: 40%;
  }

  .medical_title {
    align-items: center;
    gap: 5px;
  }

  .medical_title h3 {
    letter-spacing: .1em;
    font-size: min(4vw, 20px);
  }

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

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

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

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

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

.feature_item {
  display: flex;
  flex-flow: column;
  width: calc(33.3333333333% - 20px);
  height: auto;
}

.feature_num {
  margin: 0 0 0 !important;
  font-size: 150%;
}

.feature_num span {
  color: var(--main-color);
  font-size: 140%;
}

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

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

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

.feature_title h3 {
  color: var(--main-color);
  font-size: 130%;
  line-height: 1.75;
  text-align: center;
}

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

/* ---- 横並びボタン ----- */
.btnflex_feature {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

.btnflex_feature .btn01 {
  width: calc(50% - 2.5px);
}

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

@media screen and (max-width: 640px) {
  .feature_list {
    gap: 30px;
  }

  .feature_item {
    width: 100%;
  }

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

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

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

  *病状、症状から探す

================================================================================================================================== */
.search {
  position: relative;
  background: url(../images/front/search_bg.jpg) no-repeat left bottom/cover;
}

.search::before {
  position: absolute;
  top: 120px;
  left: 0;
  content: "";
  width: 50.1%;
  height: 495px;
  background: #f4f4f4;
}

.search::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 95.1%;
  height: 514px;
  background: linear-gradient(rgb(45 40 40 / .4), rgb(45 40 40 / .4)), url(../images/front/search_bg02.jpg) no-repeat center/cover;
}

.search .inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1500px;
  padding-top: 257px;
  padding-bottom: 161px;
}

.search .top_title {
  align-items: flex-start;
  flex-shrink: 0;
  gap: 27px;
}

.search .top_title .eng {
  position: relative;
  left: -5px;
  background: linear-gradient(-60deg, rgb(99, 97, 92), rgb(163, 158, 148)) text;
  -webkit-text-fill-color: transparent;
}

.search .tab_wrap {
  width: 73%;
  padding-right: 9px;
}

.search .tab_list {
  position: relative;
  z-index: 2;
  gap: 2px;
  margin-bottom: 10px;
}

.search .tab_list .tab {
  position: relative;
  padding: 26px 20px;
  background: #8a8682;
  line-height: 1.56;
  letter-spacing: .1em;
  font-size: 112.5%;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

.search .tab_list .tab::before {
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translate(-50%, 100%);
  content: "";
  width: 30px;
  height: auto;
  aspect-ratio: 3/2;
  background: #b9a372;
  clip-path: polygon(100% 0, 0 0, 50% 100%);
  transition: .2s opacity;
  opacity: 0;
}

.search .tab_list .tab.active {
  background: #b9a372;
}

.search .tab_list .tab.active::before {
  position: absolute;
  opacity: 1;
}

.search .panel_wrap {
  box-shadow: 0px 9px 20px rgb(47 29 10 / .2);
}

.search .panel {
  position: relative;
  z-index: 1;
  gap: 52px;
  align-items: center;
  padding: 0 52px 0 0;
  background: #fff;
}

.search_list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  width: 100%;
  height: fit-content;
}

.search_list li {
  width: calc(33.3333333333% - 13.3333333333px);
  height: auto;
}

/* ----- リンクボタン ----- */
.search_list li a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 60px;
  padding: 23px 42px 22px 17px;
  border-bottom: 1px solid #cfcdc9;
  line-height: 1.63;
  letter-spacing: .12em;
  color: #786848;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

.search_list li a[href="#"]::before {
  content: "準備中";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  mask: unset;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
  font-size: 100%;
  transform: translate(-50%, -50%);
}

.search_list li a[href="#"] {
  pointer-events: none;
}

.search_list li a:hover {
  opacity: .7;
}

.search_list li a::after {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  content: "";
  width: 38px;
  height: auto;
  aspect-ratio: 38 / 5;
  mask: url(../images/front/mask_arrow02.png) no-repeat center / cover;
  background: #9a9895;
  transition: 0.2s ease-in-out;
}

@media (hover: hover) {
  .search_list li a:hover::after {
    transform: translate(5px, -50%);
  }
}

.search_list li:nth-last-of-type(-n + 2) a {
  border-bottom: none;
}

/* ----- 画像あり ----- */
.panel_flex.active {
  display: flex;
}

.search_img {
  flex-shrink: 0;
  width: 35%;
  max-width: 360px;
  margin: 0 !important;
}

.panel_flex .search_list li {
  width: calc(50% - 10px);
}

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
  .search::before {
    top: 40px;
    width: 65%;
    height: 80%;
  }

  .search::after {
    width: 100%;
    height: 50%;
    background: linear-gradient(rgb(45 40 40 / .4), rgb(45 40 40 / .4)), url(../images/front/search_bg02_sp.jpg) no-repeat center/cover;
  }

  .search .inner {
    flex-direction: column;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .search .top_title {
    width: 100%;
    align-items: center;
    margin-bottom: 16px;
  }

  .search .tab_wrap {
    width: 100%;
    padding-right: 0;
  }

  .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 .tab_list .tab.active::before {
    content: none;
  }

  .search .panel {
    flex-direction: column;
    padding: 32px 20px 20px;
  }

  .search_list {
    gap: 20px;
  }

  .search_list li {
    width: 100%;
  }

  .search_list li a {
    min-height: 59px;
    padding: 10px 22px 10px 5px;
    line-height: 1.5;
    font-size: 90%;
  }

  .search_list li a::after {
    right: 0px;
    width: 18px;
  }

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

  .search_img {
    width: 100%;
    max-height: 250px;
    overflow: hidden;
  }

  .search_img img {
    width: 100%;
    max-width: unset;
    height: 100%;
    object-fit: cover;
  }

  .panel_flex .search_list {
    gap: 0 10px;
    width: 100%;
  }

  .panel_flex .search_list li {
    width: calc(50% - 5px);
  }
}

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

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

================================================================================================================================== */
.column {
  background: var(--bg-color);
}

.column_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 50px 25px;
  padding: 30px;
  background: #ffffff;
}

.column_box {
  width: calc(25% - 18.75px);
}

.column_box dt a {
  display: block;
  padding: 15px 10px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 110%;
  text-align: center;
}

.column_box dd {
  padding: 15px 10px;
  border-bottom: 1px dashed var(--line-color);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

/* ==============================================
  *SP 医療コラム
============================================== */
@media screen and (max-width: 640px) {
  .column_list {
    gap: 40px;
  }

  .column_box {
    width: 100%;
  }
}

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

  *無限スライダー

================================================================================================================================== */
#infinitySlider {
  position: relative;
  z-index: 2;
  margin-top: -283px;
}

#infinitySlider .splide__list {
  align-items: flex-start;
  gap: 30px;
}

#infinitySlider .splide__slide {
  position: relative;
  width: 500px !important;
}

#infinitySlider .splide__slide:nth-of-type(2n) {
  margin-top: 30px;
}

#infinitySlider .splide__slide::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(rgb(81 76 62 / .2), rgb(81 76 62 / .2));
}

/* ==============================================
  *SP 無限スライダー
============================================== */
@media screen and (max-width: 640px) {
  #infinitySlider {
    margin-top: -100px;
  }

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

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

  *内視鏡検査のご案内 - 追加コンテンツ

================================================================================================================================== */
.endoscopy {
  position: relative;
  z-index: 1;
  background: url(../images/front/endoscopy_bg.jpg) no-repeat center/cover;
}

.endoscopy .inner {
  width: calc(100% - 122px);
  max-width: 1920px;
  padding-top: 167px;
  padding-bottom: 177px;
}

.endoscopy .top_title {
  gap: 5px;
  margin: 0 auto 44px;
}

.endoscopy .top_title h2 {
  color: #fff;
  font-size: 250%;
}

.endoscopy_list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.endoscopy_item {
  position: relative;
  z-index: 1;
  width: calc((100% / 4) - (24px * 3 / 4));
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.endoscopy_item::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: rgb(81 76 62/ .2);
  transition: .2s ease-in-out;
}

a.endoscopy_item:hover::before {
  background: rgb(0 0 0/ .2);
}

.top_endoscopy_text {
  max-width: 1265px;
  margin: 0 auto 102px;
}

.top_endoscopy_text>* {
  color: #fff;
  letter-spacing: .1em;
  line-height: 1.88;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

.top_endoscopy_text p:not(:last-of-type) {
  margin-bottom: 31px;
}

.endoscopy_img {
  height: 100%;
  background: #676058 url(../images/front/endoscopy_title_bg.png) no-repeat center bottom/100% auto;
  transition: .2s ease-in-out;
}

a.endoscopy_item:hover .endoscopy_img {
  transform: scale(1.1);
}

.endoscopy_img_mask {
  mask: url(../images/front/endoscopy_img_mask.png) no-repeat center/100% 100%;
}

.endoscopy_title {
  position: absolute;
  z-index: 1;
  bottom: min(3.385vw, 65px);
  width: 100%;
}

.endoscopy_title h3 {
  color: #fff;
  letter-spacing: .1em;
  line-height: 1.2;
  text-align: center;
  font-size: 156.25%;
}

.endoscopy_num {
  position: absolute;
  z-index: 1;
  bottom: min(6.98vw, 134px);
  left: calc(50% + 9px);
  transform: translateX(-50%);
}

.endoscopy_num span {
  position: relative;
  display: inline-block;
  padding-left: 56px;
  color: #fff;
  line-height: 1;
  letter-spacing: .05em;
  font-size: 750%;
  font-family: var(--font-en-c);
  font-weight: 400;
  font-style: italic;
  text-box: trim-both cap alphabetic;
}

.endoscopy_num span::before {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 86px;
  height: auto;
  aspect-ratio: 86 / 44;
  background: url(../images/front/endoscopy_point.png) no-repeat center/cover;
}

@media screen and (max-width:1790px) {
  .endoscopy_num span {
    font-size: 550%;
  }
}

@media screen and (max-width:1580px) {
  .endoscopy .inner {
    width: calc(100% - 100px);
  }

  .endoscopy_title h3 {
    font-size: 125%;
  }

  .endoscopy_num span {
    font-size: 450%;
  }
}

/* ==============================================
  *SP 内視鏡のご案内
============================================== */
@media screen and (max-width:640px) {
  .endoscopy {
    background: url(../images/front/endoscopy_bg_sp.jpg) no-repeat center/cover;
  }

  .endoscopy .inner {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .endoscopy .top_title {
    margin-bottom: 24px;
  }

  .endoscopy .top_title .eng {
    font-size: min(6.2vw, 28px) !important;
  }

  .top_endoscopy_text {
    margin-bottom: 40px;
  }

  .top_endoscopy_text>* {
    line-height: 1.75;
  }

  .top_endoscopy_text p:not(:last-of-type) {
    margin-bottom: 16px;
  }

  .endoscopy_list {
    gap: 10px;
  }

  .endoscopy_item {
    width: calc(50% - 5px);
    aspect-ratio: 1 / 1.5;
  }

  .endoscopy_num {
    bottom: 54px;
  }

  .endoscopy_num span {
    padding-left: 0vw;
    font-size: 13vw;
  }

  .endoscopy_num span::before {
    left: -8.5vw;
    width: 14vw;
  }

  .endoscopy_title {
    bottom: 5px;
    padding: 0 5px;
  }

  .endoscopy_title h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    font-size: 100%;
    line-height: 1.5;
  }
}

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

  *ピックアップ（パターン02） - 追加コンテンツ

==================================================================================================================================*/
.pickup {
  background: url(../images/front/pickup_bg.jpg) no-repeat center /cover;
}

.pickup .inner {
  width: 100%;
  max-width: none;
  padding-top: 125px;
  padding-bottom: 130px;
}

.pickup .top_title {
  align-items: flex-start;
  gap: 15px;
}

.pickup .top_title .eng {
  font-size: 500%;
}

.pickup_item .top_title .eng {
  background: linear-gradient(-60deg, #63615c, #a5a39f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pickup_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
}

.pickup_item {
  display: flex;
  flex-flow: wrap;
  width: 100%;
}

.pickup_item>* {
  width: 50%;
}

/* ----- 左側 ----- */
.pickup_link {
  display: flex;
  flex-flow: wrap;
  height: 100%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.pickup_link .link_item {
  position: relative;
  z-index: 1;
  width: calc(100% / 2);
  height: auto;
  aspect-ratio: 48 / 42;
  overflow: hidden;
}

.pickup_link .link_item:has(a[href="#"])::before {
  content: "準備中";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  mask: unset;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
  font-size: 120%;
  transform: translate(-50%, -50%);
}

.pickup_link .link_img {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pickup_link .link_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .2s ease-in-out;
}

.pickup_link .link_title {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: min(2.71vw, 52px);
  transform: translateX(-50%);
  width: 100%;
  color: #fff;
  text-align: center;
  letter-spacing: .1em;
  line-height: 1.74;
  font-size: 143.75%;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

/*リンクの場合 */
.pickup_link .link_item a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.pickup_link .link_item a::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: rgb(50 49 46 / .3);
  pointer-events: none;
}

.pickup_link .link_item a::after {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #111213, #ffffff);
  opacity: .2;
  pointer-events: none;
}

.pickup_link .link_item a:hover .link_img img {
  transform: scale(1.1);
}

/* ----- 右側 ----- */
.pickup_item_right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
  max-width: 34%;
  margin: 0 auto;
  padding: 115px 0 100px;
}

.pickup_item_title {
  width: 100%;
  margin: 0 auto 15px;
}

.pickup_item_title h2,
.pickup_item_title h3 {
  padding-left: 5px;
  background: none;
  font-size: 130%;
}

.pickup_text {
  min-height: 165px;
}

.pickup_text p {
  line-height: 2.06;
}

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

.pickup_btn_list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 70px;
}

.pickup_btn_list li {
  width: calc(50% - 11px);
}

.pickup_btn_list .btn01>* {
  width: 100%;
  padding: 22px 90px 16px 40px;
}

.pickup_item:nth-of-type(odd) .pickup_btn_list .btn01>*::before {
  background: linear-gradient(-60deg, #63615c, #a5a39f);
}

/* -----  偶数個目　----- */
.pickup_item:nth-child(even) {
  flex-direction: row-reverse;
}

.pickup .pickup_item:nth-of-type(even) .top_title .eng {
  background: linear-gradient(-60deg, #bea162, #dcc697);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pickup_item:nth-of-type(even) .pickup_link .link_item a::before {
  background: rgb(81 61 2 / .3);
}

.pickup_item:nth-of-type(even) .pickup_link .link_item a::after {
  background: linear-gradient(to top, #312408, #ffffff);
}

.pickup_item:nth-child(even) .pickup_item_right {
  padding-top: 159px;
}

.pickup_item:nth-child(even) .pickup_btn_list {
  margin-top: 32px;
}

@media screen and (max-width: 1550px) {
  .pickup_item_right {
    max-width: 40%;
  }
}

@media screen and (max-width: 1500px) {
  .pickup_link .link_title {
    font-size: 135%;
  }
}

/*==============================================
  *SP　ピックアップ（追加コンテンツ）
==============================================*/
@media screen and (max-width:640px) {
  .pickup .inner {
    padding: 80px 0;
  }

  .pickup_item {
    flex-flow: column-reverse;
    gap: 0;
  }

  .pickup_item>* {
    width: 100%;
  }

  .pickup .top_title {
    margin-bottom: 10px;
  }

  .pickup_item .top_title .eng {
    font-size: min(14vw, 64px);
  }

  .pickup_item_right {
    max-width: unset;
    padding: 20px 15px 56px;
  }

  .pickup_item:nth-child(even) .pickup_item_right {
    padding-top: 90px;
  }

  .pickup_item_title {
    text-align: center;
  }

  .pickup_item_title h2,
  .pickup_item_title h3 {
    padding: 0;
  }

  .pickup_item_title span {
    font-size: 40px;
  }

  .pickup_link .link_item {
    width: 50%;
    height: auto;
    min-height: unset;
    aspect-ratio: 1;
  }

  .pickup_text {
    min-height: unset;
  }

  .pickup_link .link_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    bottom: 10px;
    left: 0;
    transform: translate(0);
    min-height: 9.6vw;
    padding: 0 1.5vw;
    letter-spacing: .03em;
    text-align: left;
    line-height: 1.4;
    font-size: min(3.5vw, 20px);
  }

  .pickup_banner {
    width: 95%;
    margin-top: 15px;
  }

  .pickup_btn_list {
    gap: 10px;
    margin-top: 24px;
  }

  .pickup_btn_list li {
    width: 100%;
  }

  /* -----  偶数個目　----- */
  .pickup_item:nth-child(even) {
    flex-flow: column-reverse;
  }

  .pickup_btn_list .btn01>* {
    padding: 18px 60px 17px 30px;
  }
}

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

  *円グラフ - 追加コンテンツ

==================================================================================================================================*/
#chart {
  position: relative;
  background: url(../images/front/results_bg.jpg) no-repeat left top/cover;
}

#chart .inner {
  padding-top: 148px;
  padding-bottom: 0;
}

#chart .top_title {
  gap: 16px;
  margin-bottom: 60px;
}

#chart .top_title h2 {
  font-size: 250%;
}

/* ---- グラフのタブ ----- */
#chart .panel {
  padding: 60px 42px 0;
  background: #fff;
}

#chart .tab_wrap {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  margin: 0 auto;
  box-shadow: 0px 30px 20px rgb(47 29 10 / .2);
}

#chart .tab_list {
  display: flex;
  flex-flow: wrap;
  gap: 3px;
}

#chart .panel_wrap {
  box-shadow: 0px 30px 20px rgba(47, 29, 10, 0.1);
}

#chart .tab {
  position: relative;
  z-index: 1;
  display: block;
  flex: 1;
  width: calc((100% / 4) - (9px / 4));
  padding: 24px 20px;
  background: #8a8682;
  color: #fff;
  line-height: 1;
  letter-spacing: .12em;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  font-size: 187.5%;
  font-family: var(--font-en-g);
  font-weight: 700;
  font-style: normal;
}

#chart .tab.active {
  background: #b9a372;
}

#chart .tab .jp {
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

/* ----- 累計の数 ----- */
#chart .total_overall {
  position: relative;
  z-index: 1;
  display: none;
  margin: 20px auto 70px;
  font-size: 36px;
  text-align: center;
}

#chart .total_overall .total_overall_num {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 30px;
  color: var(--main-color);
  font-size: 150%;
  line-height: 1;
}

/* ----- タブごとの合計数 ----- */
#chart .total_graph {
  margin-bottom: 69px;
  text-align: center;
}

#chart .total_graph_text {
  color: #786848;
  letter-spacing: .12em;
  line-height: 1;
  font-size: 187.5%;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

#chart .total_graph_num {
  display: inline-block;
  padding: 0px 15px 0px 11px;
  color: rgb(176, 161, 132);
  line-height: 1;
  letter-spacing: 0.15em;
  font-size: 200%;
  font-family: var(--font-en-g);
  font-weight: 700;
  font-style: normal;
}

.total_graph_period {
  margin-top: 11px;
  color: #786848;
  line-height: 1;
  letter-spacing: .12em;
  font-size: 112.5%;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

/* ----- グラフを囲う枠 ----- */
#chart .graph_container {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 0 33px;
  padding-bottom: 49px;
}

#chart .graph_box {
  position: relative;
  z-index: 1;
  flex: 1;
  height: auto;
  margin: 0 auto;
  background: #eeeeee;
}

/* ----- ラベル ----- */
#chart .graph_label {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 5px 10px 6px;
  color: #ffffff;
  text-align: center;
  letter-spacing: .12em;
  line-height: 1.41;
  font-size: 143.75%;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

#chart .graph_label .small_label {
  font-size: 18px;
}

/* ----- 円グラフの数値（件数） ----- */
#chart .graph_count {
  position: relative;
  margin: 0 auto 63px;
  padding: 3px 20px;
  background: #e49aa3;
  color: #fff;
  text-align: center;
  line-height: 1.51;
  letter-spacing: .1em;
  font-size: 143.75%;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

#chart .graph_count::before {
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translate(-50%, 100%);
  content: "";
  width: 20px;
  height: auto;
  aspect-ratio: 4/3;
  background: #e49aa3;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

#chart .graph_box:nth-of-type(2n) .graph_count,
#chart .graph_box:nth-of-type(2n) .graph_count::before {
  background: #87b5af;
}

#chart .graph_box:nth-of-type(3n) .graph_count,
#chart .graph_box:nth-of-type(3n) .graph_count::before {
  background: #87b5a5;
}


#chart .graph_count_num {
  margin-right: 8px;
  letter-spacing: .15em;
  font-size: 3.3125rem;
  font-family: var(--font-en-g);
  font-weight: 700;
  font-style: normal;
}

/* ---- 円グラフ ----- */
#chart .graph_content_wrap {
  position: relative;
  z-index: 1;
  top: -16px;
  max-width: 266px;
  margin: 0 auto 37px;
}

#chart .graph_content {
  position: relative;
  z-index: 1;
}

#chart .graph_content::before,
#chart .graph_content::after {
  position: absolute;
  z-index: 1;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
}

#chart .graph_content::before {
  width: 48%;
  background: rgb(255 255 255 / .22);
}

#chart .graph_content::after {
  width: 40%;
  background: #fff;
}


#chart .graph_content canvas {
  position: relative;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1;
  margin: 0 auto;
}

/* ----- タブの中のグラフでの割合（%） ----- */
#chart .graph_percentage {
  position: absolute;
  z-index: 2;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #8f8571;
  letter-spacing: .1em;
  line-height: 1;
  font-size: 150%;
  font-family: var(--font-en-g);
  font-weight: 700;
  font-style: normal;
}

#chart .graph_percentage span {
  color: #dc7e89;
  font-size: 200%;
}

#chart .graph_box:nth-of-type(2n) .graph_percentage span {
  color: #65a098;
}

#chart .graph_box:nth-of-type(3n) .graph_percentage span {
  color: #65a08c;
}

/* ----- 説明文 ----- */
#chart .graph_explanation {
  margin-top: 30px;
}

/* ----- グラフ下のフリーエリア ----- */
.chart_bnr_wrap {
  background: #eee;
}

.chart_bnr_inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 21px;
  padding: 67px 80px 63px;
}

.chart_bnr_item {
  transition: .2s ease-in-out;
  overflow: hidden;
}

.chart_bnr_item img {
  transition: .2s ease-in-out;
}

.chart_bnr_item:hover img {
  opacity: 0.7;
  transform: scale(1.02);
}

/*==============================================
  *SP 円グラフ
==============================================*/
@media screen and (max-width: 640px) {
  #chart {
    background: url(../images/front/results_bg_sp.jpg) no-repeat left top / cover;
  }

  #chart .inner {
    padding: 80px 0;
  }

  #chart .top_title {
    margin-bottom: 36px;
    padding: 0 15px;
  }

  #chart .top_title .eng {
    font-size: min(10vw, 52px);
  }

  /* ----- 累計の数 ----- */
  #chart .total_overall {
    margin: 0 auto 30px;
    font-size: 26px;
  }

  #chart .total_overall::before {
    display: none;
  }

  #chart .total_overall_text {
    display: block;
    margin: 0 auto 5px;
  }

  #chart .total_overall .total_overall_num {
    padding: 0 10px 0 0;
    font-size: 130%;
  }

  #chart .tab_wrap {
    box-shadow: 0px 10px 20px rgb(47 29 10 / .2);
  }

  #chart .tab_list {
    flex-flow: wrap;
    gap: 3px;
    padding: 0 3px;
  }

  #chart .tab {
    width: calc((100% / 2) - (6px / 2));
    flex: auto;
    padding: 10px 20px;
    font-size: 120%;
  }

  #chart .tab::after {
    right: 10px;
    width: 7px;
    height: 7px;
  }

  #chart .panel {
    padding: 40px 3px;
  }

  /* ----- タブごとの合計数 ----- */
  #chart .total_graph {
    margin-bottom: 40px;
  }

  #chart .total_graph_text {
    display: block;
    font-size: 140%;
  }

  .total_graph_period {
    margin-top: 10px;
    font-size: 90%;
  }

  #chart .total_graph_num {
    padding: 0 10px 0;
    font-size: 150%;
  }

  /* ----- グラフを囲う枠 ----- */
  #chart .graph_container {
    gap: 3px;
    padding-bottom: 0;
  }

  #chart .graph_box {
    width: 100%;
  }

  /* ----- ラベル ----- */
  #chart .graph_label {
    padding: 2vw 0;
    font-size: min(3.2vw, 20px);
  }

  #chart .graph_label .small_label {
    font-size: 23px;
  }

  /* ----- 円グラフの数値（件数） ----- */
  #chart .graph_count {
    padding: 7px 2vw;
    margin: 0 auto 20px;
    font-size: 100%;
  }

  #chart .graph_count::before {
    width: 4vw;
  }

  #chart .graph_count_num {
    margin-right: 0;
    font-size: min(5vw, 32px);
  }

  /* ---- 円グラフ ----- */
  #chart .graph_content_wrap {
    top: 0;
    max-width: unset;
    margin-bottom: 32px;
  }

  #chart .graph_content canvas {
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto;
  }

  /* ----- タブの中のグラフでの割合（%） ----- */
  #chart .graph_percentage {
    font-size: 80%;
  }

  /* ----- 説明文 ----- */
  #chart .graph_explanation {
    margin-top: 20px;
  }

  #chart .graph_percentage span {
    font-size: min(6vw, 40px);
  }

  /* フリーエリア */
  .chart_bnr_inner {
    grid-template-columns: repeat(1, 1fr);
    padding: 40px 20px;
  }
}