@charset "UTF-8";

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

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

  *基本設定

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

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

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

  *アニメーション

================================================================================================================================== */
@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 {
  padding-top: 65px;
  margin-bottom: 50px;
  line-height: 1.5;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: 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%;
  letter-spacing: 0.1em;
}

.top_title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  aspect-ratio: 56 / 74;
  width: 40px;
  height: auto;
  background: url(../images/front/title_deco_tree.png) no-repeat center / contain;
}

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

  .top_title h2 {
    font-size: 20px;
  }

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

  .top_title::before {
    width: 32px;
  }
}

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ 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のアニメーション  */
.bnr_flex {
  display: flex;
  gap: 20px;
  position: absolute;
  bottom: 50px;
}

.bnr_flex div {
  width: 200px;
  height: 200px;
  background: #ffffff59;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s;
}

.bnr_flex div a {
  width: 96%;
  height: 96%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: var(--font-jp);
  background: /*var(--main-color)*/var(--blue-color);
  text-align: center;
  font-size: 17px;
  line-height: 1.5;
  color: white;
  position: relative;
  z-index: 1;
}

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

.bnr_flex div a::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}

.bnr_flex div a i {
  width: 50px;
  height: 50px;
  background: white;
  color: /*var(--main-color)*/var(--blue-color);
  padding: 10px;
  border-radius: 50px;
  font-size: 21px;
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bnr_flex .bnr_02 a {
  background: var(--sub-color);
}

.bnr_flex .bnr_02 a i {
  color: var(--sub-color);
}

@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 {
  text-align: center;
  font-size: 220%;
  letter-spacing: 0.1em;
  -webkit-text-stroke: 5px #fff;
  paint-order: stroke fill;
  text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
  line-height: 1.5;
}

/* ----- コンテンツ ----- */
.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);
}

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

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

  /* ----- スライダーの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: 50%;
    transform: translateY(-50%);
    display: none;
  }

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

  .mvCatch p {
    font-size: 130%;
    line-height: 1.75;
  }

  /* ----- コンテンツ ----- */
  .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 {
    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%;
  }

  .sp_only .inner {
    background: url(../images/front/leaf_top_right.png) right -10% / 25% auto no-repeat,
      url(../images/front/leaf_top_left.png) left -10% / 25% auto no-repeat;
    padding-top: 50px;
    padding-bottom: 0px;
  }

  .bnr_flex {
    position: relative;
    bottom: 0;
    justify-content: space-between;
    gap: 0px;
    width: 100%;
    margin-bottom: 50px;

  }

  .bnr_flex div {
    width: 49%;
    height: auto;
    background: none;
    aspect-ratio: 1 / 1;
  }

  .bnr_flex div a {
    width: 100%;
    height: 100%;
    font-size: 15px;
  }
}

@media screen and (max-width: 400px) {
  .bnr_flex div a {
    font-size: 13px;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.clinic {
  position: relative;
  z-index: 1;
/*   background: var(--bg-color); */
  background:
    url(../images/front/leaf_top_right.png) top -10% right -2%/ 18% auto no-repeat,
    url(../images/front/leaf_top_left.png) top -10% left -2% / 18% auto no-repeat;

}

/* ----- お知らせ ----- */
.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;
	padding-top: 75px;
}
.clinic .news .top_title:before{
	aspect-ratio: 70 / 104;
	width: 50px;
	background: url(../images/front/title_deco_balloon_02.png) no-repeat center / contain;
	
}
.clinic .news .btn01 {
  margin-top: 30px;
  text-align: center;
}

/* ----- 医院概要 ----- */
.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 {
  background: #ffffff;
  border-radius: 10px;
  padding-bottom: 0;
}

.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)*/var(--blue-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 a{
	letter-spacing: 0.1em;
	color: var(--text-color);
	font-weight: 700;	
}

.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: 10px;
  padding-left: 12px;
/*   font-size: 90%; */
}

.clinic .info .speciality {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px auto 0;
  padding: 20px 0;
  background: #ffffff;
  border-radius: 10px;
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: /*var(--main-color)*/var(--blue-color);
  color: #ffffff;
  text-align: center;
  border-radius: 5px;
  font-family: var(--font-jp);
  font-weight: 400;
}

.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 .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 30px 20px 60px;
  }

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

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

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

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

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

  *ご挨拶（パターン01）

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

.greeting::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: url(../images/front/bg_ptn_02.png) center / 200px auto repeat;
  opacity: 0.2;
}

.greeting::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 20px;
  background: url(../images/front/wave_top.png) left top / auto 15px repeat-x;
}

.greeting .top_title .eng {
  color: var(--sub-color);
}

.greeting_box {
  position: relative;
  z-index: 1;
  padding: 80px;
  background: rgba(255, 255, 255, 0.9);
  border: 5px solid var(--sub-color);
}

.greeting_box::before {
  content: "";
  position: absolute;
  inset: 15px;
  border: 2px dashed var(--sub-color);
  border-radius: 20px;
  pointer-events: none;
  z-index: 3;

}

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

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

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

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

.greeting_profile {
  padding: 20px;
  background: var(--main-color);
  color: #ffffff;
  line-height: 1.75;
  text-align: center;
}

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }

  .greeting_btn {
    margin-top: 40px;
  }

  .greeting {
    background: url(../images/front/sp_concept_bg.jpg) center / cover no-repeat;
  }

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

  .greeting::after {
    top: -1px;
    height: 10px;
    background: url(../images/front/wave_top.png) left top / auto 10px repeat-x;
  }

  .greeting_box {
    padding: 30px 25px;
  }

  .greeting_box::before {
    inset: 8px;
  }
}

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

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

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

.medical .top_title {
  color: #ffffff;
}

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

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

.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: 270px;
  padding: 30px 20px 40px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}

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

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

.medical_title h3 {
  color: var(--text-color);
  font-size: 120%;
}

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

/* ----- 先頭2つの設定----- */
.medical_item:nth-of-type(-n + 2) {
  width: calc(50% - 10px);
  min-height: 350px;
}

.medical_item:nth-of-type(-n + 2) .medical_inner {
  padding: 20px 20px 40px;
}

.medical_item:nth-of-type(-n + 2) .medical_icon {
  max-width: 100px;
  margin: 0 auto 5px !important;
}

.medical_item:nth-of-type(-n + 2) .medical_title h3 {
  font-size: 150%;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .medical {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url(../images/common/dmy.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 10px;
  }

  .medical_icon {
    width: 50%;
  }

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

  /* ----- 先頭2つの設定----- */
  .medical_item:nth-of-type(-n + 2) {
    width: 100%;
    min-height: auto;
  }

  .medical_item:nth-of-type(-n + 2) .medical_inner {
    padding: 15px 20px 30px;
  }

  .medical_item:nth-of-type(-n + 2) .medical_icon {
    width: 30%;
  }

  .medical_item:nth-of-type(-n + 2) .medical_title h3 {
    font-size: 140%;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  background: url(../images/front/feature_top_deco.png) left 0% top -12% / 100% no-repeat,
    url(../images/front/feature_cloud_left.png) left 2% bottom 15% / 15% no-repeat,
    url(../images/front/feature_cloud_right.png) right 2% top 25% / 15% no-repeat,
    url(../images/front/cloud_left.png) left 2% top 25% / 15% no-repeat,
    url(../images/front/cloud_right.png) right 2% bottom 40% / 15% no-repeat,
    url(../images/front/feature_bottom_deco.png) right 0% bottom -2% / 130% no-repeat;
}

.feature .top_title {
  padding-top: 65px;
}

.feature .top_title::before {
  aspect-ratio: 39 / 56;
  width: 40px;
  background: url(../images/front/title_deco_balloon.png) no-repeat center / contain;
}

.feature .top_title .eng {
  color: var(--blue);
}

.feature .inner {
  padding-top: 300px;
}

.splide.feature_splide {
  visibility: inherit;
}

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

.feature_item {
  display: flex;
  flex-flow: column;
  width: calc((100% / 3) - (100px / 3));
  height: auto;
  position: relative;
}

.feature_num {
  font-size: 13px;
  background: url(../images/front/feature_speech_bubble_orange.png) center / 90px 90px no-repeat;
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  line-height: 1;
  align-self: flex-start;
  position: absolute;
  top: -45px;
  left: -10px;
  z-index: 1;
}

.feature .splide__track {
  padding-top: 45px;
  padding-left: 10px;
}

.feature_num span {
  color: white;
  font-size: 33px;
  letter-spacing: 0.1em;
  display: block;
}

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

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

.feature_title h3 {
  color: var(--sub-color);
  font-size: 130%;
  line-height: 1.75;
  text-align: center;
  position: relative;
  -webkit-text-stroke: 6px #fff;
  paint-order: stroke fill;
  text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
  line-height: 1.5;
}

.feature_title h3::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  width: 90%;
  height: auto;
  aspect-ratio: 300 / 85;
  background: url(../images/front/feature_title_bg_orange.png) center / contain no-repeat;
}

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

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

.feature_item:nth-child(3n+2) .feature_title h3 {
  color: var(--main-color);
}

.feature_img {
  position: relative;
  border: 6px solid #ebac508c;
  border-radius: 26px;
}

.feature_item:nth-child(3n+2) .feature_button .btn01>* {
  background: var(--main-color);
  border: 1px solid var(--main-color);
}

.feature_item:nth-child(3n+2) .feature_button .btn01>*:hover {
  background: #ffffff;
  color: var(--main-color);
}

.feature_item:nth-child(3n+2) .feature_button .btn01>*:hover::after {
  right: 5px;
  background: #e8f3e3;
}

.feature_item:nth-child(3n+2) .feature_num {
  background: url(../images/front/feature_speech_bubble_green.png) center / 90px 90px no-repeat;
}

.feature_item:nth-child(3n+2) .feature_title h3::before {
  background: url(../images/front/feature_title_bg_green.png) center / contain no-repeat;
}

.feature_item:nth-child(3n+2) .feature_img {
  border: 6px solid #8dc2718c;
}

.feature_item:nth-child(3n+3) .feature_button .btn01>* {
  background: var(--blue);
  border: 1px solid var(--blue);
}

.feature_item:nth-child(3n+3) .feature_button .btn01>*:hover {
  background: #ffffff;
  color: var(--blue);
}

.feature_item:nth-child(3n+3) .feature_button .btn01>*:hover::after {
  right: 5px;
  background: #e8f1fc;
}

.feature_item:nth-child(3n+3) .feature_title h3::before {
  background: url(../images/front/feature_title_bg_blue.png) center / contain no-repeat;
}

.feature_item:nth-child(3n+3) .feature_title h3 {
  color: var(--blue);
}

.feature_item:nth-child(3n+3) .feature_num {
  background: url(../images/front/feature_speech_bubble_blue.png) center / 90px 90px no-repeat;
}

.feature_item:nth-child(3n+3) .feature_img {
  border: 6px solid #6eaaee8c;
}

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

  .feature .top_title {
    padding-right: 16px;
    padding-left: 16px;
  }

  .feature_list {
    position: relative;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
  }

  .feature_item {
    width: 100% !important;
  }

  .feature_num {
    font-size: 120%;
  }

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

  .feature_inner {
    padding: 40px 20px;
  }

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

  /* ---- ページネーション・スライダー矢印 ----- */
  .feature .feature_splide_options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 20px;
  }

  .feature .splide__pagination {
    display: flex;
    gap: 15px;
    width: fit-content;
  }

  .feature .splide__pagination li button {
    width: 8px;
    height: 8px;
    background-color: #e8e8e8;
    border-radius: 50%;
    transition: background 0.2s;
  }

  .feature .splide__pagination li button.is-active {
    background: var(--main-color);
  }

  .feature .splide__arrows {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: fit-content;
  }

  .feature .splide__arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: auto;
    padding: 3px;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    aspect-ratio: 1;
  }

  .feature .splide__arrow i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    border-radius: 50%;
    font-size: 80%;
    line-height: 1;
    transition: background 0.2s;
  }

  .feature .splide__arrow:hover i {
    background: var(--sub-color);
  }

  .feature {
    background: url(../images/front/feature_top_deco.png) center top -5% / 130% no-repeat,
      url(../images/front/feature_cloud_left.png) left 2% bottom 10% / 15% no-repeat,
      url(../images/front/feature_cloud_right.png) right 2% top 12% / 15% no-repeat,
      url(../images/front/cloud_left.png) left 2% top 15% / 15% no-repeat,
      url(../images/front/cloud_right.png) right 2% bottom 10% / 15% no-repeat,
      url(../images/front/feature_bottom_deco.png) center bottom 0% / 250% no-repeat;
  }

  .feature .inner {
    padding-top: 80px;
  }

  .feature .top_title {
    margin-bottom: 30px;
  }

  .feature .top_title::before {
    width: 28px;
  }

  .feature .top_title {
    padding-top: 46px;
  }

  .feature .splide__track {
    padding: 50px 15px 0px 15px !important;
  }

  .feature_num {
    left: -5px;
  }
}

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

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

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

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

  *バナーエリア

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ 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 {
/*   background:
    url(../images/front/leaf_top_right.png) right -20%/ 18% auto no-repeat,
    url(../images/front/leaf_top_left.png) left -20% / 18% auto no-repeat; */
}
#bannerSlider .inner{
	padding-top: 50px;
}
#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;
  }

  .top_banner .inner {
    padding-top: 0;
    padding-bottom: 50px;
  }

  #bannerSlider {
    background: none;
  }

  #bannerSlider .splide__slide {
    min-height: 100px;
  }
}

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

  *病状、症状から探す（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.search {
  position: relative;
  background: url(../images/front/leaf_top_right.png) right -10% / 23% auto no-repeat,
    url(../images/front/leaf_top_left.png) left -10% / 23% auto no-repeat,
    url(../images/front/leaf_center_right.png) right 3% top 45% / 6% auto no-repeat,
    url(../images/front/leaf_center_left.png) left 0% top 40% / 10% auto no-repeat,
    url(../images/front/bg_ptn_01.png) center / 300px auto repeat,
    var(--bg-color);
}

.search .inner {
  padding-top: 100px;
}

.search .top_title {
  padding-top: 65px;
}

.search .top_title::before {
  aspect-ratio: 93 / 47;
  width: 90px;
  background: url(../images/front/title_deco_bird.png) no-repeat center / contain;
}

.search .tab_list {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.search .tab_list li {
  display: flex;
  flex: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 10px 20px;
  background: /*#b9d4aa*/#9ab6d7;
  color: #ffffff;
  font-size: 140%;
  cursor: pointer;
  transition: transform 0.2s, padding 0.2s;
}

.search .tab_list li:nth-child(4),
.search .tab_list li:nth-child(5),
.search .tab_list li:nth-child(6) {
  background: #f2c98c;
}

.search .tab_list li.is-active {
  background: /*var(--main-color)*/var(--blue-color);
}

.search .tab_list li:nth-child(4).is-active,
.search .tab_list li:nth-child(5).is-active,
.search .tab_list li:nth-child(6).is-active {
  background: var(--sub-color);
}

/* ----- パネル ----- */
.search .panel {
  display: none;
  margin: 0 !important;
  padding: 20px;
  background: white;
}

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

/* ----- 項目 ----- */
.search_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: fit-content;
}

.search_list a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 60px;
  padding: 10px 30px;
  background: /*var(--bg-green)*/#e2eaf3;
  color: var(--text-color);
  font-size: 110%;
  transition: background 0.2s;
  text-align:center;
}

.search_list a:hover {
  background: #8dc27175;
}

.search_list a:hover::after {
  right: 5px;
}

.search_list a::after {
  content: "\f061";
  position: absolute;
  top: 50%;
  right: 10px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 11px;
  transform: translateY(-50%);
  transition: right 0.2s;
  width: 30px;
  height: 30px;
  background: rgb(255, 255, 255);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  color: /*var(--main-color)*/var(--blue-color);
}

.panel4 .search_list a,
.panel5 .search_list a,
.panel6 .search_list a {
  background: var(--bg-orange);
}

.panel4 .search_list a::after,
.panel5 .search_list a::after,
.panel6 .search_list a::after {
  color: var(--sub-color);
}

.panel4 .search_list a:hover,
.panel5 .search_list a:hover,
.panel6 .search_list a:hover {
  background: #ebac5085;
}

/* ----- 画像あり ----- */
.panel_flex.is-active {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.panel_flex .search_img {
  width: calc(50% - 10px);
  margin: 0 !important;
}

.panel_flex .search_list {
  grid-template-columns: repeat(2, 1fr);
  width: calc(50% - 10px);
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .search .tab_list {
    flex-flow: column;
    gap: 7px;
    margin: 0 0 15px;
  }

  .search .tab_list .tab {
    width: 100%;
    min-height: auto;
    padding: 10px !important;
    font-size: 120%;
    transform: translate(0, 0) !important;
  }

  /* ----- パネル ----- */
  .search .panel {
    padding: 20px;
  }

  /* ----- 項目 ----- */
  .search_list {
    grid-template-columns: repeat(1, 1fr);
  }

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

  .panel_flex .search_img {
    width: 100%;
  }

  .panel_flex .search_list {
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }

  .search {
    background: url(../images/front/leaf_top_right.png) right -1% / 25% auto no-repeat,
      url(../images/front/leaf_top_left.png) left -1% / 25% auto no-repeat,
      url(../images/front/leaf_center_right.png) right -1% top 5% / 7% auto no-repeat,
      url(../images/front/leaf_center_left.png) left 0% top 3% / 10% auto no-repeat,
      url(../images/front/bg_ptn_01.png) center / 300px auto repeat, var(--bg-color);
  }

  .search .inner {
    padding-top: 70px;
  }

  .search .top_title {
    padding-top: 40px;
  }

  .search .top_title::before {
    width: 62px;
  }

  .search .tab_list li {
    border-radius: 10px;
  }
}
