@charset "UTF-8";

/* ---------------------
  - *基本設定
  - *アニメーション
  - *タイトル
  - *メインビジュアル
  - *医院概要
  - *ご挨拶
  - *診療案内
  - *当院の特徴
  - *医療コラム
--------------------- */
/* ==================================================================================================================================

  *基本設定

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

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

/* 固定する画像 */f
.parallax_img::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

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

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

  *アニメーション

================================================================================================================================== */
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeRightAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeLeftAnime {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes zoomInAnime {
  from {
    pointer-events: none;
    transform: scale(0.5);
  }

  to {
    pointer-events: auto;
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes zoomOutAnime {
  from {
    pointer-events: none;
    transform: scale(1);
  }

  to {
    pointer-events: auto;
    opacity: 1;
    transform: scale(1.5);
  }
}
@keyframes scrolldown {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.fadeUp,
.zoomOut,
.zoomIn,
.fadeRight,
.fadeLeft {
  opacity: 0;
}

.fadeUp.is-active {
  animation: fadeUpAnime 1s forwards;
}

.fadeRight.is-active {
  animation: fadeRightAnime 1s forwards;
}

.fadeLeft.is-active {
  animation: fadeLeftAnime 1s forwards;
}

.zoomIn.is-active {
  animation: zoomInAnime 0.8s forwards;
}

.zoomOut.is-active {
  animation: zoomOutAnime 1s forwards;
}

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

  *タイトル

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

  /* 左寄せ */
}

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

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

.top_title .eng {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--main-color);
  font-size: 150%;
}

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

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

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

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

  *メインビジュアル

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

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

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

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

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

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

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

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

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

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

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

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

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

.mvImg .splide__slide {
  position: relative;
  z-index: 1;
  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: 230%;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
  margin-left: 55px;
  font-weight: 500;
  letter-spacing: 0.15em
}

.mvCatch p span {
  font-size: 130%;
}

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

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

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

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

.open_bnr > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 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);
}

/* ----- メインビジュアルバナー（新規開院・アクセス・専門医） ----- */
.mv_banner {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.mvContents .mv_banner {
  position: absolute;
  left: 0;
  bottom: 50px;
  z-index: 3;
}

/* 共通あしらい（ゴールドグラデ＋やわらかい白フチ＋影） */
.mv_banner_open,
.mv_banner_box {
  background: var(--main-gradient);
  border: 4px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 22px rgba(84, 84, 84, 0.22);
  color: #ffffff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(84, 84, 84, 0.5);
}

/* 新規開院（円） */
.mv_banner_open {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 230px;
  height: 230px;
  padding: 10px;
  border-radius: 50%;
  line-height: 1.4;
  background: var(--blue-gradient);
  background-clip: padding-box;
}

.mv_banner_open .year {
  font-size: 110%;
}

.mv_banner_open .date {
  margin: 2px 0 3px;
  font-size: 165%;
  font-weight: 700;
}

.mv_banner_open .date span {
  font-size: 65%;
}

.mv_banner_open .open {
  padding: 4px 0;
  font-size: 130%;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mv_banner_open .nairankai {
  margin-top: 2px;
  font-size: 105%;
}

/* アクセス・専門医（角丸ボックス） */
.mv_banner_info {
  display: flex;
  gap: 15px;
}

.mv_banner_box {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  min-width: 130px;
  padding: 18px 22px;
  border-radius: 20px;
  line-height: 1.5;
  background-clip: padding-box;
}

.mv_banner_box .lead {
  font-size: 90%;
}

.mv_banner_box .strong {
  margin-top: 2px;
  font-size: 140%;
  font-weight: 700;
  letter-spacing: 0.05em;
}

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

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

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

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

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

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

  /* ----- キャッチコピー ----- */
  .mvCatch {
    top: 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);
	margin-left: 5px;
  }

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

  /* ----- 開院バナー ----- */
  .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 .mv_banner {
    flex-flow: column;
    align-items: center;
    gap: 15px;
  }

  .sp_only .mv_banner_open {
    width: 200px;
    height: 200px;
  }

  .sp_only .mv_banner_info {
    width: 100%;
        max-width: 500px;
    justify-content: center;
  }

  .sp_only .mv_banner_box {
    flex: 1;
        padding: 15px 8px;
        min-width: 165px;
  }
  /* ----- スマホ専用エリア ----- */
  .sp_only {
    display: block;
    background: none !important;
  }

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

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.clinic {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(180deg, #FAF6EF 0%, #FCFAF5 100%);
}

/* シックな背景（円は使わず、斜めのやわらかい陰影＋極薄の織り目） */
.clinic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(216, 180, 132, 0.10) 0%, rgba(216, 180, 132, 0) 38%),
    repeating-linear-gradient(45deg, rgba(192, 151, 90, 0.025) 0 1px, transparent 1px 16px);
}

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

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

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

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

/* 見出し：英語＝上／日本語＝下（棒線なし） */
.clinic .news .top_title .eng {
  display: block;
  margin-bottom: 6px;
  font-style: italic;
  font-size: 130%;
  letter-spacing: 0.14em;
  color: var(--main-color);
}

.clinic .news .top_title h2 {
  font-size: 215%;
  letter-spacing: 0.08em;
}

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

/* お知らせリストを上品な枠で */
.clinic .news #mp-title {
  flex: 1;
  min-width: 0;
  padding: 14px 45px;
  background: #ffffff;
  border: 1px solid rgba(192, 151, 90, 0.28);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(192, 151, 90, 0.12);
}

.clinic .news #mp-title .news_item:first-of-type a {
  border-top: none;
}

.clinic .news #mp-title .news_item:last-of-type a {
  border-bottom: none;
}

.clinic .news #mp-title .news_item a {
  border-color: rgba(192, 151, 90, 0.2);
}

.clinic .news #mp-title .news_empty {
  padding: 35px 0;
}

.clinic .news #mp-contents {
  border: 1px solid rgba(192, 151, 90, 0.28);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(192, 151, 90, 0.12);
}

/* カテゴリーを角丸バッジに */
.clinic .news .news_info .cate {
  border-radius: 100px;
}

/* ----- 医院概要 ----- */
.clinic .info .inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 40px;
  padding: 0 0 100px;
}

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

/* 左右のカラムをそれぞれ上品な枠で囲む */
.clinic .info_left,
.clinic .info_right {
  padding: 44px 42px;
  background: #ffffff;
  border: 1px solid rgba(192, 151, 90, 0.30);
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(192, 151, 90, 0.13);
}

/* 左カラム内：各セクションの余白（詳細度を上げて確実に効かせる） */
.clinic .info .info_left > .speciality,
.clinic .info .info_left > .office_hour {
  margin-top: 45px;
}

/* 診療時間の見出し（ゴールドのピル） */
.clinic .info .office_hour .title {
  width: fit-content;
  margin: 0 0 16px;
  padding: 9px 28px;
  background: var(--main-gradient);
  border-radius: 100px;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(192, 151, 90, 0.22);
}

.clinic .info .office_hour .table_wrapper {
  padding: 0;
  background: none;
}

/* 診療時間テーブル（曜日行をゴールド・行間に細い区切り） */
.clinic .info .office_hour table tr:first-child th,
.clinic .info .office_hour table tr:first-child td {
  color: var(--main-color);
  font-weight: bold;
}

.clinic .info .office_hour table tr:not(:last-child) th,
.clinic .info .office_hour table tr:not(:last-child) td {
  border-bottom: 1px solid rgba(192, 151, 90, 0.16);
}

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

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

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

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

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

.clinic .info address .tel {
  margin-top: 15px;
  padding: 3px 0 7px 50px;
  font-size: 33px;
  line-height: 1;
}

.clinic .info address .tel::before {
  content: "\f3cd";
}
.clinic .info address .tel a{
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.clinic .info address .tel_text{
	font-size: 14px;
}
.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-size: 30px;
  line-height: 1;
}

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

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

/* 診療科目（枠なし・ゴールドのピル見出し＋テキスト） */
.clinic .info .speciality {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  background: none;
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
/*   background: var(--main-gradient); */
  background: linear-gradient(to right, #CCAA7A, #B8996E);
  border-radius: 100px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 6px 16px rgba(192, 151, 90, 0.22);
}

/* 右カラム：地図をカラムの高さいっぱいに */
.clinic .info_right {
  display: flex;
  flex-flow: column;
}

.clinic .info .googlemap,
.clinic .info .google_calendar {
  flex: 1 1 auto;
  min-height: 360px;
  border-radius: 14px;
  overflow: hidden;
}

.clinic .info .googlemap iframe,
.clinic .info .google_calendar iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.clinic .info .illustmap {
  border-radius: 14px;
  overflow: hidden;
}

.clinic .info .illustmap img {
  display: block;
  width: 100%;
}

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {

  /* ----- お知らせ ----- */
  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 40px 20px;
  }

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

  .clinic .news #mp-title {
    padding: 8px 22px;
  }

  /* ----- 医院概要 ----- */
  .clinic .info .inner {
    flex-flow: column;
    padding: 0 20px 40px;
  }

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

  /* カラム枠の内側余白をSP用に */
  .clinic .info_left, .clinic .info_right {
    padding: 30px 15px;
}
  .clinic .info .info_left > .speciality,
  .clinic .info .info_left > .office_hour {
    margin-top: 32px;
  }

  .clinic .info .speciality {
    flex-flow: column;
    align-items: flex-start;
    gap: 12px;
  }

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

  .clinic .info .googlemap,
  .clinic .info .google_calendar {
    min-height: 250px;
  }

  .clinic .info .googlemap iframe,
  .clinic .info .google_calendar iframe {
    min-height: 250px;
  }
	
.clinic .info address .tel {
  font-size: 30px;
}
}

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

  *ご挨拶（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.greeting {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: url(../images/front/top_greeting_bg.jpg) no-repeat center center / cover;
}

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

/* 見出し：英語＝上／日本語＝下（棒線なし・中央） */
.greeting .top_title .eng {
  display: block;
  margin-bottom: 8px;
  font-style: italic;
  font-size: 135%;
  letter-spacing: 0.18em;
  color: var(--main-color);
}

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

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

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

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

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

/* サブタイトル（ゴールドの縦アクセント／棒線は使わない） */
.greeting .greeting_subtitle {
  position: relative;
  margin-bottom: 28px;
  padding-left: 22px;
  font-size: 150%;
  font-weight: bold;
  line-height: 1.6;
}

.greeting .greeting_subtitle::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 5px;
  height: 1.15em;
  background: var(--main-gradient);
  border-radius: 100px;
}

/* 本文 */
.greeting .greeting_lead {
  line-height: 2.1;
}

/* 写真（角丸＋影＋ゴールドのオフセット枠） */
.greeting_right {
  flex: 1;
}

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

.greeting_img::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  z-index: -1;
  border: 1px solid var(--main-color);
  border-radius: 16px;
}

.greeting_img img {
  display: block;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(192, 151, 90, 0.15);
}

/* プロフィール */
.greeting_profile {
  margin-top: 24px;
  padding: 18px 22px;
/*   background: var(--main-gradient); */
  background: linear-gradient(to right, #CCAA7A, #B8996E);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(192, 151, 90, 0.18);
  color: #ffffff;
  line-height: 1.7;
  text-align: center;
}

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

.greeting_profile .name {
  font-size: 150%;
  letter-spacing: 0.08em;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting .top_title .eng {
    font-size: 18px;
  }

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

  .greeting_left {
    width: 100%;
  }

  .greeting .greeting_subtitle {
    font-size: 125%;
  }
.greeting .greeting_lead {
    font-size: 110%;
}
  .greeting_img::before {
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
  }

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
	background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/front/medical_bg.jpg) no-repeat center/cover;
/*   background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/common/dmy.jpg) no-repeat center/cover; */
}

.medical .top_title {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 0 5px rgba(0, 0, 0, 0.35);
}

.medical .top_title span {
  color: #ffffff;
}

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

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

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

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

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

.medical_inner {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: auto;
  padding: 20px 10px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 0 4px rgba(0, 0, 0, 0.30);
}

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

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

.medical_title h3 {
  color: #ffffff;
  font-size: 130%;
}

.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: #ffffff;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .medical {
/*     background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/common/dmy.jpg) no-repeat center/cover; */
	  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/front/medical_bg.jpg) no-repeat center/cover;
  }

  .medical_list {
    gap: 15px 10px;
  }

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

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

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

  .medical_icon {
    width: 75%;
  }

  .medical_title h3 {
    /*font-size: 16px;*/
	font-size: 15px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    min-height: 2.6em;
    line-height: 1.7;
    text-align: center;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #FFFCF6;
}

/* 背景の装飾（やわらかい奥行き＋極薄ゴールドのドットテクスチャ） */
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(192, 151, 90, 0.05) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
}

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

.feature_list {
  display: flex;
  flex-flow: column;
  gap: 85px;
}

.feature_item {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* ----- 写真（縦横比はそのまま・角丸・重ねたやわらかい影） ----- */
.feature_img {
  flex-shrink: 0;
  width: 46%;
}

.feature_img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 26px 55px rgba(192, 151, 90, 0.18), 0 4px 14px rgba(84, 84, 84, 0.05);
}

/* ----- テキスト（大きなゴールド番号を主役にしたエディトリアル） ----- */
.feature_inner {
  flex: 1;
  min-width: 0;
}

.feature_title {
  margin-bottom: 24px;
}

.feature_num {
  display: block;
  margin: 0 0 14px;
  color: var(--main-color);
  font-style: italic;
  font-size: 100%;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
}

.feature_num span {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 370%;
  font-weight: bold;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--main-color);
  background: var(--main-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature_title h3 {
  color: var(--text-color);
  font-size: 175%;
  font-weight: bold;
  line-height: 1.55;
}

/* ----- 本文 ----- */
.feature_text {
  line-height: 2;
}

/* ----- ボタン ----- */
.feature_button {
  display: flex;
  flex-flow: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 32px;
}

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

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

  .feature_item {
    flex-flow: column;
    align-items: stretch;
    gap: 22px;
  }

  .feature_img {
    width: 100%;
  }

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

  .feature_num span {
    font-size: 290%;
  }

  .feature_title {
    margin-bottom: 18px;
  }

  .feature_title h3 {
    font-size: 21px;
  }
	.feature_text{
		font-size: 110%;
	}
  .feature_button {
    justify-content: center;
  }
}

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

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

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

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

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .column .column_list {
    gap: 40px;
  }

  .column .column_box {
    width: 100%;
  }
}

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

  *無限スライダー

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

#infinitySlider .splide__list {
  gap: 10px;
}

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

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