@charset "UTF-8";

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

  *基本設定

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

section .inner {
  padding: 120px 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 {
    padding: 70px 20px;
  }

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

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

  *タイトル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.top_title {
  margin-bottom: 80px;
  line-height: 1.5;
  text-align: center;

  /* 左寄せ */
}

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

.top_title h2 {
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 220%;
  letter-spacing: 0.1em;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "tangerine", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--main-color);
  font-size: 250%;
  line-height: 1;
  letter-spacing: 0.2em;
}

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

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

  .top_title .eng {
    font-size: 30px;
  }
}

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 1060px;
  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#sliderBtn_prev {
  left: 20px;
}

.mvSlider .sliderBtn#sliderBtn_next {
  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#sliderBtn_prev span::before {
  content: "\f053";
}

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

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

/* ----- MVの画像 ----- */
.mvImg {
  width: 100%;
  height: 100%;
  padding: 80px;
  background: #f9f7f3;
}

.mvImg .splide__track {
  width: 100%;
  height: 100%;
  border-radius: 50px;
  overflow: hidden;
}

.mvImg .splide__slide {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

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

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

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

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

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

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

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

/* ----- キャッチコピー ----- */
.mvCatch {
  position: absolute !important;
  top: 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%;
  padding: 0 80px;
}

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

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

/* ----- 開院バナー ----- */
.open_bnr {
  position: absolute;
  bottom: 40px;
  left: 100px;
  display: inline-block;
  padding: 5px;
  background: rgba(23, 115, 195, 0.3);
  border-radius: 50%;
}

.open_bnr > * {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 300px;
  padding: 15px;
  background: rgba(23, 115, 195, 0.5);
  border-radius: 50%;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #ffffff;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
  overflow: hidden;
}

.open_bnr > *::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  display: block;
  width: 220px;
  height: 222.2px;
  background: #ffffff;
  -webkit-mask: url(../images/common/logo.svg) no-repeat center/cover;
  mask: url(../images/common/logo.svg) no-repeat center/cover;
  opacity: 8%;
  transform: translate(-50%, -50%);
}

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

.parking_banner {
  position: absolute;
  bottom: 300px;
  left: 350px;
  width: 200px;
  height: 200px;
  padding: 4px;
  background: rgba(59, 190, 208, 0.2);
  border-radius: 50%;
}

.parking_banner > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 15px;
  background: rgba(59, 190, 208, 0.5);
  border-radius: 50%;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.65;
  text-align: center;
}

.parking_banner > *:hover {
  color: #ffffff;
  opacity: 0.55;
}

.parking_banner .btn {
  display: block;
  width: fit-content;
  margin: 10px auto 0;
  padding: 4px 15px;
  background: #ffffff;
  border-radius: 1000px;
  color: #3bbed0;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.message_banner {
  position: absolute;
  right: 0;
  bottom: 150px;
  display: flex;
  flex-flow: column;
  gap: 10px;
  width: 600px;
}

.message_banner p {
  padding: 15px 30px;
  background: linear-gradient(to right, rgba(23, 115, 195, 0.7), rgba(59, 190, 208, 0.7));
  border-radius: 10px 0 0 10px;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #ffffff;
  font-size: 120%;
}

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

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

  /* ----- スライダーのArrowボタン ----- */
  .mvSlider .sliderBtn {
    top: 50%;
    width: 40px;
    height: 40px;
    padding: 2px;
    font-size: 10px;
  }

  .mvSlider .sliderBtn#sliderBtn_prev {
    left: 10px;
  }

  .mvSlider .sliderBtn#sliderBtn_next {
    right: 10px;
  }

  .mvSlider .sliderBtn span::before {
    font-size: 11px;
  }

  /* ----- MVの画像 ----- */
  .mvImg {
    padding: 20px;
  }

  .mvImg .splide__track {
    border-radius: 30px;
  }

  /* ----- キャッチコピー ----- */
  .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 {
    display: none;
  }

  /* ----- 開院バナー ----- */
  .open_bnr {
    position: static;
    width: 100%;
    max-width: 350px;
    border-radius: 14px;
  }

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

  .parking_banner {
    position: static;
    width: 100%;
    max-width: 350px;
    height: auto;
    padding: 4px;
    border-radius: 14px;
  }

  .parking_banner > * {
    border-radius: 10px;
  }

  .message_banner {
    position: static;
    display: flex;
    flex-flow: wrap;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }

  .message_banner p {
    width: 100%;
    padding: 11px 20px 12px;
    border-radius: 8px;
    font-size: 95%;
    line-height: 1.6;
  }

  /* ----- スマホ専用エリア ----- */
  .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%;
  }
}

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

  *バナーエリア

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
/* ----- 共通設定 ----- */
.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) {
  /* ----- グリッドバナー ----- */
  .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）

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

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

.clinic .news::before {
  content: "";
  position: absolute;
  bottom: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 25px;
  background: var(--bg-color);
  -webkit-mask: url(../images/common/wave.svg) repeat-x center/contain;
  mask: url(../images/common/wave.svg) repeat-x center/contain;
}

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

.clinic .news .inner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -200px;
  z-index: -1;
  display: block;
  width: 400px;
  height: 288px;
  background: url(../images/front/suisai.png) no-repeat center/cover;
  transform: translateY(-50%) rotate(45deg);
}

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

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

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

/* ----- 医院概要 ----- */
.clinic .info {
  position: relative;
  z-index: 1;
  padding-bottom: 100px;
  background: linear-gradient(to bottom, var(--bg-color) calc(100% - 300px), #ffffff calc(100% - 300px));
}

.clinic .info .logo {
  width: 70%;
  margin: 0 auto 50px;
}

.clinic .info::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: calc(50% - 100px);
  height: 600px;
  background: url(../images/front/mokume.jpg) no-repeat center/cover;
  border-radius: 0 50px 50px 0;
}

.clinic .info::after {
  content: "";
  z-index: 2;
  display: block;
  width: calc(100% - 200px);
  height: 700px;
  margin: 0 0 0 auto;
  background: url(https://tanaka-thyroid.com/wp/wp-content/uploads/2026/05/top_bg001.jpg) no-repeat center/cover;
  border-radius: 50px 0 0 50px;
}

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

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

.clinic .info address > * {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 0 25px;
  border-bottom: 2px dashed var(--line-color);
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-style: normal;
  font-weight: 400;
}

.clinic .info address > * .title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 60px;
  padding: 10px 20px;
  background: #8ab3d7;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
}

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

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

.clinic .info address .tel a {
  color: rgb(103, 142, 176);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.1em;
}

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

.clinic .info address .fax p {
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.1em;
}

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

.clinic .info .speciality {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-style: normal;
  font-weight: 400;
}

.clinic .info .speciality .title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 60px;
  padding: 10px 18px 10px 22px;
  background: #8ab3d7;
  border-radius: 8px;
  color: #ffffff;
  font-size: 15px;
}

.clinic .info .googlemap iframe {
  height: 340px;
  border-radius: 20px;
}

.clinic .info .list_access {
  margin-top: 5px;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 100%;
}

.clinic .info .list_access li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 10px;
}

.clinic .info .list_access li i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: auto;
  color: var(--main-color);
  font-size: 20px;
}

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  /* ----- お知らせ ----- */
  .clinic .news::before {
    content: "";
    position: absolute;
    bottom: 0;
    z-index: -1;
    display: block;
    width: 100%;
    height: 15px;
    background: var(--bg-color);
    -webkit-mask: url(../images/common/wave.svg) repeat-x center/contain;
    mask: url(../images/common/wave.svg) repeat-x center/contain;
  }

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

  .clinic .news .inner::after {
    content: "";
    position: absolute;
    top: 25%;
    left: -100px;
    z-index: -1;
    display: block;
    width: 300px;
    height: 216px;
    background: url(../images/front/suisai.png) no-repeat center/cover;
    transform: translateY(-50%) rotate(30deg);
  }

  /* ----- 医院概要 ----- */
  .clinic .info {
    padding-bottom: 50px;
    background: linear-gradient(to bottom, var(--bg-color) calc(100% - 150px), #ffffff calc(100% - 150px));
  }

  .clinic .info::before {
    width: calc(50% - 50px);
    height: 250px;
    border-radius: 0 30px 30px 0;
  }

  .clinic .info::after {
    width: calc(100% - 40px);
    height: 300px;
    border-radius: 30px 0 0 30px;
  }

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

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

  .clinic .info .logo {
    width: 80%;
    max-width: 300px;
    margin: 0 auto 40px;
  }

  .clinic .info address > * {
    flex-flow: column;
    width: 100%;
  }

  .clinic .info address > * .title {
    width: 100%;
    height: auto;
    padding: 8px 15px;
  }

  .clinic .info .speciality {
    flex-flow: column;
    gap: 20px;
    margin-top: 25px;
  }

  .clinic .info .speciality .title {
    width: 100%;
    height: auto;
    padding: 8px 15px;
    font-size: 16px;
  }

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

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

  *ご挨拶（パターン01）

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

.greeting::before {
  content: "";
  position: absolute;
  bottom: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 25px;
  background: var(--bg-color);
  -webkit-mask: url(../images/common/wave.svg) repeat-x center/contain;
  mask: url(../images/common/wave.svg) repeat-x center/contain;
}

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

.greeting_box::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -200px;
  z-index: -1;
  display: block;
  width: 400px;
  height: 404px;
  background: url(../images/common/logo.svg) no-repeat center/cover;
  opacity: 5%;
}

.greeting_box::after {
  content: "";
  position: absolute;
  top: 55%;
  left: -700px;
  z-index: -1;
  display: block;
  width: 1000px;
  height: 720px;
  background: url(../images/front/suisai.png) no-repeat center/cover;
  opacity: 0.8;
  transform: translateY(-50%);
}

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

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

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

.greeting_text {
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 105%;
  line-height: 2.5;
}

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

.greeting_img {
  position: relative;
  z-index: 1;
  padding: 0 20px 40px 20px;
}

.greeting_img::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  display: block;
  width: calc(100% - 50px);
  height: calc(100% - 100px);
  background-image: repeating-linear-gradient(135deg, #c3e9ee, #c3e9ee 2px, transparent 2px, transparent 7px);
  border-radius: 28px;
  overflow: hidden;
}

.greeting_img::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 0px;
  z-index: -1;
  display: block;
  width: 80%;
  height: 40%;
  background: url(../images/front/mokume.jpg) center center/cover no-repeat;
  border-radius: 20px;
}

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

.greeting_profile {
  margin-top: 40px;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 2;
  text-align: center;
}

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting::before {
    width: 100%;
    height: 15px;
  }

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

  .greeting_box::before {
    right: -100px;
    width: 300px;
    height: 303px;
  }

  .greeting_left {
    width: 100%;
  }

  .greeting_img {
    padding: 0 10px 30px 15px;
  }

  .greeting_img::after {
    bottom: 10px;
  }

  .greeting_profile {
    margin-top: 40px;
  }

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

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

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  position: relative;
  z-index: 1;
  padding-bottom: 235px;
  background: var(--bg-color);
}

.feature::after {
  content: "";
  position: absolute;
  bottom: -25px;
  z-index: 2;
  display: block;
  width: 100%;
  height: 25px;
  background: var(--bg-color);
  mask: url(../images/common/wave.svg) center center/contain repeat-x;
  transform: rotate(180deg);
}

.feature .top_title h2 .num {
  display: inline-block;
  padding: 0 8px 0 10px;
  color: var(--sub-color);
  font-size: 150%;
}

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

.feature_item {
  display: flex;
  flex-flow: column;
  width: calc(33.3333333333% - 26.6666666667px);
  height: auto;
  background: linear-gradient(to bottom, var(--main-color) 50%, var(--sub-color) 50%);
  border-radius: 20px;
  overflow: hidden;
}

.feature_container {
  display: flex;
  flex-flow: column;
  height: 100%;
  background: #ffffff;
  border-radius: 50px;
  overflow: hidden;
}

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

.feature_img img {
  border-radius: 20px;
  overflow: hidden;
}

.feature_num {
  position: absolute;
  right: 25px;
  bottom: 10px;
  font-family: "tangerine", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 500%;
  line-height: 1;
}

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

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

.feature_title {
  display: flex;
  flex-flow: column;
  justify-content: center;
  width: 100%;
  min-height: 100px;
  margin: 0px auto;
  padding: 0 0 20px;
  border-bottom: 2px dashed #cfdfed;
}

.feature_title h3 {
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--main-color);
  font-size: 130%;
  line-height: 1.6;
  text-align: center;
}

.feature_title h3 .small {
  display: block;
  font-size: 85%;
}

.feature_text {
  margin-top: 30px;
}

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .feature {
    padding-bottom: 75px;
  }

  .feature::after {
    bottom: -15px;
    height: 15px;
  }

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

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

  .feature .top_title h2 .num {
    padding: 0 10px 0 0;
  }

  .feature_list {
    gap: 30px;
  }

  .feature_item {
    width: 100%;
  }

  .feature_inner {
    padding: 25px 20px 40px;
  }

  .feature_text {
    margin-top: 10px;
  }

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

  .feature_button {
    padding-top: 25px;
  }
}

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

  *お悩みから探す

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.section-img-trouble {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: -235px;
  padding: 0 80px;
}

.section-img-trouble picture {
  height: 500px;
  border-radius: 40px;
  overflow: hidden;
}

.section-img-trouble picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trouble {
  position: relative;
  z-index: 2;
}

.trouble .inner {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  padding: 120px 50px;
}

.trouble .inner::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -200px;
  z-index: -1;
  display: block;
  width: 700px;
  height: 504px;
  background: url(../images/front/suisai.png) no-repeat center/cover;
  transform: translateY(-50%) rotate(-45deg);
}

.trouble::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: 50%;
  z-index: 2;
  display: block;
  width: 2px;
  height: 150px;
  background: linear-gradient(var(--main-color) 50%, #ffffff 50%);
}

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

.trouble_box {
  display: flex;
  flex-flow: row-reverse;
  gap: 70px;
}

.trouble_list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 20px;
  height: fit-content;
  padding: 0 50px 50px;
}

.trouble_list::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: -1;
  display: block;
  width: 100%;
  height: 80%;
  background: url(../images/front/mokume.jpg) center center/cover no-repeat;
  border-radius: 40px;
}

.trouble_item {
  position: relative;
  z-index: 1;
  width: calc(33.3333333333% - 20px);
  height: auto;
  overflow: hidden;
}

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

.trouble_img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.trouble_inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 40px 20px 45px;
  border-radius: 10px;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  overflow: hidden;
}

.trouble_inner::after {
  content: "\f178";
  position: absolute;
  right: -20px;
  bottom: -20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  padding: 0 12px 14px 0;
  background: #ffffff;
  border-radius: 50%;
  border-radius: 100000px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 11px;
  line-height: 1;
}

.trouble_title h3 {
  color: var(--text-color);
  font-size: 120%;
  line-height: 1.65;
}

.trouble_title_eng {
  margin-top: 5px;
  color: var(--main-color);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
}

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

.trouble_item:nth-child(-n+9) .trouble_inner {
  background: rgb(251, 249, 239);
}

.trouble_item:nth-child(-n+9) .trouble_inner::after {
  background: rgb(239, 236, 219);
  color: #988f3a;
}

.trouble_item:nth-child(-n+6) .trouble_inner {
  background: rgb(239, 251, 240);
}

.trouble_item:nth-child(-n+6) .trouble_inner::after {
  background: rgb(221, 239, 222);
  color: #3a9848;
}

.trouble_item:nth-child(-n+3) .trouble_inner {
  background: var(--bg-color);
}

.trouble_item:nth-child(-n+3) .trouble_inner::after {
  background: #e5eef7;
  color: var(--main-color);
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .section-img-trouble {
    gap: 10px;
    margin-top: -75px;
    padding: 0 20px;
  }

  .section-img-trouble picture {
    height: 200px;
    border-radius: 20px;
  }

  .trouble::after {
    bottom: -65px;
    height: 100px;
  }

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

  .trouble .inner::after {
    top: 40%;
    left: 50%;
    width: 500px;
    height: 360px;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

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

  .trouble_img {
    width: 60%;
    margin: 0 auto;
  }

  .trouble_list {
    gap: 15px 10px;
    padding: 0 20px 25px;
  }

  .trouble_list::before {
    height: 90%;
    border-radius: 20px;
  }

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

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

  .trouble_inner {
    min-height: auto;
    padding: 20px 10px;
    font-size: 90%;
  }

  .trouble_inner::after {
    right: -17px;
    bottom: -17px;
    width: 40px;
    height: 40px;
    padding: 0 9px 10px 0;
    font-size: 10px;
  }

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  position: relative;
  z-index: 1;
  padding-top: 20px;
  background: linear-gradient(rgba(164, 213, 255, 0.5)), url(../images/front/dmy.jpg) no-repeat center/cover;
}

.medical::before {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 25px;
  background: #ffffff;
  mask: url(../images/common/wave.svg) center center/contain repeat-x;
  transform: rotate(180deg);
}

.medical .top_title {
  color: #ffffff;
}

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

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

.medical_item {
  position: relative;
  z-index: 1;
  width: calc(25% - 30px);
  height: auto;
  margin-top: 60px;
  transition: opacity 0.2s, transform 0.2s;
}

.medical_inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 10px 40px;
  background: linear-gradient(to bottom, var(--main-color) 50%, var(--sub-color) 50%);
  border-radius: 20px;
  text-align: center;
}

.medical_inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 40px;
}

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

.medical_img {
  width: calc(100% - 80px);
  margin: -70px 0 auto;
  border-radius: 15px;
  overflow: hidden;
}

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

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

.medical_title {
  display: flex;
  align-items: center;
  min-height: 50px;
}

.medical_title h3 {
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--text-color);
  font-size: 120%;
  line-height: 1.6;
}

.medical_title h3 .small {
  display: block;
  color: #a1a1a1;
  font-size: 70%;
}

.medical_title_eng {
  margin-top: 5px;
  color: var(--main-color);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
}

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

.medical_btn {
  margin-top: auto;
}

.medical_btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto;
  padding: 2px 20px;
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
  border-radius: 1000px;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-align: center;
  vertical-align: bottom;
  overflow: hidden;
  transition: background 0.15s, color 0.15s;
}

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

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

  .medical::before {
    height: 15px;
  }

  .medical_list {
    gap: 15px 10px;
  }

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

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

  .medical_inner {
    min-height: auto;
    padding: 25px 10px;
    border-radius: 15px;
  }

  .medical_inner::after {
    border-radius: 35px;
  }

  .medical_img {
    width: 70%;
    min-width: 100px;
    margin-top: -50px;
  }

  .medical_title {
    min-height: auto;
  }

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

  .medical_btn {
    margin-top: auto;
  }

  .medical_btn span {
    padding: 2px 15px;
    color: #ffffff;
    font-size: 10px;
  }
}

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

  *無限スライダー

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

#infinitySlider .splide__list {
  gap: 10px;
}

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

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