/*
 *
 * TOPページ
 * LAST UPDATE : 2024/
 *
 */

/* ----------------------------------------------

 * header_slider

---------------------------------------------- */
#header_slider {
  position: relative;
  width: 100%;
}
    #header_slider .swiper {
      width: 100%;
    }




/* モバイル */
@media not screen and (min-width: 1280px) {
  #header_slider .swiper {
    height: 80vh;
  }
	#slider_texts {
		position: relative;
		bottom: 100px;
		width: 100%;
		left: 50%;
		transform: translateX(-50%);
		z-index: 10;
		padding: 0 1em;
	}

}
@media print,
screen and (max-width : 730px) {
	#header_slider .swiper {
		height: 380px !important;
	}
}
/* パソコン */
@media print,
screen and (min-width : 1280px) {
  #header_slider .swiper {
    height: 100vh;
  }
    #slider_texts {
    width: 500px;
    position: absolute;
    bottom: 1em;
    left: 1em;

    z-index: 10;
  }

}



/* ----------------------------------------------

 * NEWS

---------------------------------------------- */
#news {
  margin-block-start: 1em;
  border-radius: 20px;
  border: solid 2px #738745;
  background: #fff;
}
  #news li {
      font-weight: bold;
      font-size: 1.125em;
      line-height: 1.5;
  }
    #news li:not(:last-child) {
      margin-block-end: 1em;
    }
    #news li a {
      color: #211816;
    }
    #news li time {
      color: #738745;
      font-weight: normal;
      padding-inline-end: 1em;
    }

/* モバイル */
@media not screen and (min-width: 1280px) {
	#news {
			padding: 20px;
	}
	#news li {
		display: block;
	}
	#news li a {
		font-size: 14px;
	}
	#news li time {
	  	display: block;
      	border-bottom: solid 1px #211816;
    }
}

/* パソコン */
@media print,
screen and (min-width : 1280px) {
	#news {
		width: 700px;
		padding: 30px;
		border-radius: 20px;
	}
	#news li {
		display: inline-block;
	}
	#news li time {
      margin-inline-end: 1em;
      border-right: solid 1px #211816;
    }

}


/* ----------------------------------------------

 * ドナー募集中バナー

---------------------------------------------- */

/* モバイル */
@media not screen and (min-width: 1280px) {
	.banner_space {
		text-align: center;
	}
	.banner_space .btn {
		font-size: 1.5em;
	}
  .banner_space li {
  }
}

/* パソコン */
@media print,
screen and (min-width : 1280px) {
	.banner_space .btn {
		width: -webkit-fit-content;
		width: -moz-fit-content;
		width: fit-content;
		display: block;
		margin-inline: auto;
	}
	.banner_space {
		margin-block: 4em 0;
	}
}

/* ----------------------------------------------

 * 当院の診療の特徴

---------------------------------------------- */
#introduction {
  margin-top: 5em;
  margin-bottom: 5em;
}

  #introduction h2 {
    color: var(--main_color);
    font-weight: 500;
    text-align: center;
  }

  #introduction p {
    line-height: 2;
  }

#menus {
  margin: 0 auto 5em;
}
  #menus ul {
    position: relative;
    width: 100%;
  }
    

   
/* モバイル ～750px */
@media print,screen and (max-width : 750px) {
  #introduction h2 {
    font-size: 1.8em;
    line-height: 1.6;
  }

  #menus ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
  }
	#menus li {
		width: calc(50% - 1em);
	}

}

/* 751px ～ 1280px */
@media print,screen and (min-width : 751px) and (max-width : 1280px) {
  #menus {
    width: 740px;
  }
    #menus ul {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
      #menus li {
        width: 30%;
        margin-bottom: 1em;
      }
        #menus li:not(:nth-child(3n)) {
          margin-right: 1em;
        }
}

/* パソコン　1280px ～ */
@media print,screen and (min-width : 1280px) {
  #introduction h2 {
    font-size: 2.5em;
    line-height: 1.6;
  }

  #menus {
    width: 1200px;
  }
    #menus ul::after {
      content: "";
      display: block;
      clear: both;
    }

    #menus li {
      float: left;
      width: 228px;
    }
      #menus li:not(:first-child) {
        margin-inline-start: -90px;
      }
    
      #menus li:nth-child(2n) {
        margin-block-start: 150px;
      }
}


/* ACEのHPへ */
#to_ace {
  padding: 50px 0;
  text-align: center;
  background-color: #f4f4f4;
}