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

/* 固定する画像 */
.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 {
  position: relative;
  display: block;
  padding-bottom: 20px;
  font-size: 220%;
}

.top_title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 46px;
  height: 4px;
  background: var(--main-color);
  border-radius: 999px;
  transform: translateX(-50%);
}

.top_title.title_left h2::after {
  left: 0;
  transform: none;
}

.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: 26px;
  }

  .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;
  bottom: 20%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}

.mvCatch .inner {
	position: relative;
	z-index: 1;
	max-width: none;
	padding: 0 52% 0 6%;
	padding: 0 25% 0 6%;
/* 	font-size: clamp(18px, 1.45vw, 30px);
	font-size: clamp(24px, 1.45vw, 30px); */
	font-size: clamp(24px, 2vw, 40px);
	line-height: 2.1;
	letter-spacing: 0.1em;
	text-align: left;
	text-shadow: 0 0 15px rgba(255, 255, 255, 0.95), 0 0 35px rgba(255, 255, 255, 0.85), 0 0 70px rgba(255, 255, 255, 0.75);
	font-weight: bold;
}

.mvCatch strong {
  color: var(--main-color);
  font-weight: inherit;
}

.mvCatch .splide__slide.is-active .inner {
  animation: mvCatchFade 1.8s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes mvCatchFade {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mvCatch .splide__slide.is-active .inner {
    animation: none;
  }
}

/* ----- コンテンツ ----- */
.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バナー ----- */
.mv_bnr_square{
display: flex;
align-items: stretch;
width: 100%;
gap: 15px;
position: absolute;
bottom: 70px;
left: 0;
}
.mv_bnr_square a{
display:flex;
justify-content:center;
flex-direction:column;
width: 100%;
max-width: 380px;
height: 100%;
padding: 12px 45px 12px 75px;
background: #fff;
border: 1px solid var(--main-color);
border-radius: 20px;
font-size: 125%;
font-weight: bold;
font-style: normal;
color: var(--main-color);
position: relative;
line-height: 1.8rem;
transition: all 0.2s;
}
.mv_bnr_square a{
color: var(--main-color);
}

.mv_bnr_square li:nth-of-type(even) a{
border: 1px solid var(--sub-color);
color: var(--sub-color);        
}
.mv_bnr_square a span{
font-size: 87%;
}
.mv_bnr_square a:before{
display: flex;
justify-content:center;
align-items: center;
width: 50px;
height: 50px;
font-family: FontAwesome;
font-style: normal;
font-weight: 900;
font-size: 22px;
content: "\f007";
position: absolute;
top: 50%;
left: 12%;
transform: translate(-50%,-50%);
}
.mv_bnr_square li:nth-of-type(2) a:before{
content: "\f236";	
}
.mv_bnr_square a:after{
color: var(--main-color);
font-family: FontAwesome;
font-style: normal;
font-weight: 900;
font-size: 15px;
content: "\f061";
position: absolute;
top: 50%;
right: 15px;
transform: translateY(-50%);
transition: all 0.2s;
}
.mv_bnr_square li:nth-of-type(even) a:after{
color: var(--sub-color);
}
.mv_bnr_square a:hover{
transform: scale(1.05,1.05);
}



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

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

  .mvImg img {
    object-position: 85% center;
  }

  /* ----- スライダーの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;
	  bottom: -50px;
    display: none;
  }

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

  .mvCatch .inner {
	padding: 0 20px;
	/*     font-size: 14px; */
	font-size: clamp(15px, 4.6vw, 20px);
	line-height: 1.9;
	letter-spacing: -0.1em;
	text-shadow: 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 6px #ffffff, 0 0 10px #ffffff, 0 0 18px rgba(255, 255, 255, 1.0), 0 0 32px rgba(255, 255, 255, 1.0);
	font-weight: bold;
  }

  /* ----- コンテンツ ----- */
  .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;
  }
	
.mv_bnr_square{
	position: static;
	flex-direction: column;
	margin-top: 25px;
}
.mv_bnr_square a{
padding: 12px 25px 12px 19%;
font-size: 115%;
}
.mv_bnr_square a:before {
left:10%;
}

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

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

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

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

.clinic #mp-contents,
.clinic .info .speciality,
.clinic .info .office_hour .title,
.clinic .info .office_hour .table_wrapper,
.clinic .info .googlemap,
.clinic .info .illustmap,
.clinic .info .google_calendar {
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(76, 110, 130, 0.08);
}

/* ----- お知らせ ----- */
.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;
}

.clinic .news .top_title h2 {
  padding-bottom: 0;
}

.clinic .news .top_title h2::after {
  display: none;
}

/* ----- 医院概要 ----- */
.clinic .info .inner {
  display: flex;
  gap: 40px;
  padding: 0 0 100px;
}

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

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

.clinic .info .office_hour .table_wrapper {
  padding: 28px 20px;
  background: #ffffff;
}

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

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

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

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

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

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

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

.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;
  margin: 25px auto 0;
  padding: 18px 25px;
  background: #ffffff;
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 8px 28px;
  background: var(--main-color);
  border-radius: 999px;
  color: #ffffff;
  text-align: center;
}

.clinic .info .googlemap,
.clinic .info .illustmap,
.clinic .info .google_calendar {
  overflow: hidden;
  line-height: 0;
}

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

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

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

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

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

  .clinic {
    background: radial-gradient(circle at 100% 0%, #e6eef2 0%, rgba(230, 238, 242, 0) 42%), radial-gradient(circle at 0% 100%, #ffedde 0%, rgba(255, 237, 222, 0) 38%), #fefbf6;
  }

  .clinic #mp-contents,
  .clinic .info .speciality,
  .clinic .info .office_hour .title,
  .clinic .info .office_hour .table_wrapper,
  .clinic .info .googlemap,
  .clinic .info .illustmap,
  .clinic .info .google_calendar {
    border-radius: 16px;
  }

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

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

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

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

  .clinic .info .office_hour .table_wrapper {
    padding: 20px 15px;
  }

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

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

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

  *ご挨拶（パターン01）

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

.greeting .inner {
  padding: 110px 0 120px;
}

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

.greeting_flex {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

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

.greeting_left,
.greeting_right {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(76, 110, 130, 0.08);
}

.greeting_left {
  flex-shrink: 0;
  width: 60%;
  padding: 55px 50px;
}

.greeting_right {
  flex-grow: 1;
  padding: 30px;
}

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

.greeting_text h3 {
  color: var(--main-color);
  font-size: 150%;
  font-weight: bold;
  line-height: 1.9;
}

.greeting_career {
  padding: 30px 35px;
  background: var(--bg-color);
  border-radius: 20px;
}

.greeting_career h4 {
  margin-bottom: 12px;
  color: var(--main-color);
  font-weight: bold;
}

.greeting_career .career_list li {
  padding: 12px 5px;
}

.greeting_career .career_list .term {
  display: block;
  margin-bottom: 2px;
  color: var(--main-color);
  font-size: 90%;
  letter-spacing: 0.08em;
}

.greeting_career .career_list .place,
.greeting_career .career_list .role {
  display: inline-block;
}

.greeting_career .career_list .place:not(:last-child)::after {
  content: "／";
  margin-left: 0.1em;
}

.greeting_career > *:last-child {
  margin-bottom: 0;
}

/* ----- 院長プロフィール ----- */
.greeting_img {
  overflow: hidden;
  border-radius: 18px;
  line-height: 0;
}

.greeting_profile {
  margin-top: 25px;
  padding: 22px 20px;
  background: var(--bg-color);
  border-radius: 18px;
  line-height: 1.75;
  text-align: center;
}

.greeting_profile .position {
  color: var(--main-color);
  font-size: 95%;
}

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

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

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

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

  .greeting_left,
  .greeting_right {
    border-radius: 16px;
  }

  .greeting_left {
    width: 100%;
    padding: 30px 20px 35px;
  }

  .greeting_right {
    padding: 20px;
  }

  .greeting_text h3 {
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0;
  }

  .greeting_text h3 br {
    display: none;
  }

  .greeting_career {
    padding: 20px;
    border-radius: 14px;
  }

  .greeting_career .career_list li {
    padding: 10px 2px;
    font-size: 90%;
  }

  .greeting_career .career_list .place,
  .greeting_career .career_list .role {
    display: block;
  }

  .greeting_career .career_list .place:not(:last-child)::after {
    content: none;
  }

  .greeting_profile {
    margin-top: 18px;
    padding: 18px 15px;
    border-radius: 14px;
  }

  .greeting_profile .name {
    font-size: 16px;
    font-weight: bold;
  }

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

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

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

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

/* ----- 診療科目カード（上3・下3） ----- */
.medical_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.medical_item {
  position: relative;
  z-index: 1;
  width: calc(33.3333333333% - 20px);
  height: auto;
  overflow: hidden;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(76, 110, 130, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.medical_item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(76, 110, 130, 0.16);
}

.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: 260px;
  padding: 45px 25px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

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

.medical_icon {
  width: 120px;
	width: 180px;
  max-width: 60%;
  margin: 0 auto 20px !important;
	background: url(https://hero116198.xsrv.jp/kondo-clinic.org/wp/wp-content/uploads/2026/09/med_icon_bg.png) no-repeat center/cover;
	aspect-ratio:1/1;
  position: relative;
}
.medical_item:nth-of-type(3) .medical_icon img{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
/* 	width: 118%; */
/* 	max-width: none; */
}

.medical_title h3 {
  color: var(--text-color);
  font-size: /*120*/150%;
  line-height: 1.7;
}
.medical_title h3 span{
	font-size: 80%;
}

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

.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 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);
  border-radius: 999px;
  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(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)), url(../images/common/dmy.jpg) no-repeat center/cover;
  }

  .medical .top_title h2 {
    padding-bottom: 15px;
  }

  .medical_list {
    gap: 15px 10px;
  }

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

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

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

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

  .medical_title h3 {
    font-size: /*13*/15px;
    line-height: 1.7;
    letter-spacing: 0;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  background: url(../images/front/top_featyre_bg.jpg) no-repeat center top/cover;
}

.feature .inner {
  padding: 110px 0 120px;
}

.feature_list {
  display: flex;
  flex-flow: column;
  gap: 70px;
  counter-reset: feature;
}

.feature_item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  counter-increment: feature;
}

.feature_img {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 480px;
  line-height: 0;
}

.feature_img img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(76, 110, 130, 0.14);
  object-fit: cover;
}

.feature_img::after {
  content: counter(feature, decimal-leading-zero);
  position: absolute;
  top: 20px;
  right: -28px;  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  background: var(--main-color);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(76, 110, 130, 0.22);
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.06em;
}

.feature_inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
  flex-grow: 1;
  min-height: 340px;
  margin: 0 0 0 -60px;
  padding: 60px 55px 60px 105px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(76, 110, 130, 0.08);
}

.feature_title {
  display: flex;
  flex-flow: column;
  margin-bottom: 22px;
}

.feature_num {
  margin: 0 0 14px;
  color: var(--main-color);
  font-size: 85%;
  line-height: 1;
  letter-spacing: 0.22em;
}

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

.feature_title h3 {
  color: var(--main-color);
	 color: var(--main-deep);
	color: var(--sub-color);
  font-size: 150%;
  line-height: 1.8;
	font-weight:bold;
}

.feature_button {
  display: flex;
  flex-flow: wrap;
  gap: 14px;
  margin-top: 38px;
}

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

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

  .feature_list {
    gap: 45px;
  }

  .feature_item {
    flex-flow: column;
    align-items: stretch;
    width: 100%;
  }

  .feature_img::after {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  .feature_img {
    width: 100%;
  }

  .feature_img img {
    border-radius: 16px 16px 0 0;
    box-shadow: none;
  }

  .feature_inner {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 30px 20px 35px;
    border-radius: 0 0 16px 16px;
  }

  .feature_title {
    min-height: auto;
    margin-bottom: 18px;
  }

  .feature_title h3 {
    color: var(--main-color);
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0;
  }

  .feature_num {
    margin: 0 0 10px;
  }

  .feature_button {
    gap: 10px;
    margin-top: 28px;
  }
}

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

  *医療コラム（パターン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;
  }
}

.banner {
display: flex;
    align-items: end;
    height: 100%;
    padding-bottom: 80px;
	gap:10px;
	justify-content: space-between;
}
@media screen and (max-width: 640px) {
	.banner {
		padding-top:30px;
		padding-bottom:0;
	}
}
.banner .left,.banner .right {
	display: flex;
	align-items: center;
}
.banner a {
	background:url(https://hero116198.xsrv.jp/kondo-clinic.org/wp/wp-content/uploads/2026/09/med_icon_bg.png)  no-repeat center /cover;
	aspect-ratio:1/1;
		color:white;
	    width: 160px;
    display: grid;
    place-content: center;
    text-align: center;
}
@media screen and (max-width: 640px) {
	.banner {
		width:100%;
		display: block;
        display: flex;
        flex-direction: column;
        align-items: center;
	}
	.banner .left, .banner .right {
		flex-direction:column;
		gap:10px;
	}
  .banner a {
width: 100% !important;
        border-radius: 20px;
        height: auto;
        aspect-ratio: auto;
        padding: 25px 20px 25px 20px;
	  position:relative;
	  background:transparent;
	  color:white;
background:transparent;
	  font-size: 120%;
	  font-weight:bold;
	  overflow:hidden;
	  &::before {
		  z-index:-1;
		  content:"";
		  position:absolute;
            width: 400px;
            height: 400px;
		  background:url(https://hero116198.xsrv.jp/kondo-clinic.org/wp/wp-content/uploads/2026/09/med_icon_bg.png)  no-repeat center /cover;
top: -10%;
            left: 50%;
            transform: translate(-50%, -50%);
	  }
  }
}