
/* .display_text {
  font-size: calc(1.625rem + 1.5vw);
  font-weight: 900;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

@media screen and (max-width: 768px) {
  .display_text {
    font-size: calc(1.625rem + 0.2vw);
    font-weight: 900;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  }
} */

.carousel-indicators [data-bs-target] {
  height: 8px;
}

.container.default a {
    color: #333;
    text-decoration: underline;
}

/* =========================================================
  ケン・バーンズ効果 (画像ズーム)
========================================================= */

/* 1. アニメーションの定義 */
@keyframes kenBurnsZoom {
  from {
    transform: scale(1); /* 開始時: 拡大なし */
  }
  to {
    transform: scale(1.1); /* 終了時: 5%拡大 */
  }
}

/* 2. 画像へのアニメーション適用 */
.carousel-item img.kenburns-zoom {
  /* アニメーション名、時間、イージング（滑らかさ）、終了状態（forwardsで最終状態を維持） */
  animation: kenBurnsZoom 5s ease-out forwards;
  
  /* トランジションが切り替わったときにスムーズにリセットされるように */
  transition: transform 0s;
}

/* 3. 親要素の設定 */
/* アニメーションをカルーセル全体に適用するため、画像がはみ出しても見えないように設定 */
#header_carousel {
  overflow: hidden; 
  position: relative;
}

/* =========================================================
  テキストマスク（左入→滞留→右抜け）
========================================================= */
.headlineReveal {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  margin-top: 70px;
}

.headlineReveal__content {
  position: relative;
  z-index: 1;
  opacity: 0;
}

.headlineReveal__bar {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 2;
  transform: translateX(-100%);
  will-change: transform;
}

/* active */
.headlineReveal.is-active .headlineReveal__bar {
  animation: revealBarSharp 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.headlineReveal.is-active .headlineReveal__content {
  animation: revealText 0.2s ease-out forwards;
  animation-delay: 0.46s;
}

@media screen and (max-width: 768px) {
  .headlineReveal {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    margin-top: 10px;
  }
}




/* 白帯 */
@keyframes revealBarSharp {
  0% {
    transform: translateX(-100%);
  }
  48% {
    transform: translateX(0);
  }
  52% {
    transform: translateX(4%);
  }
  100% {
    transform: translateX(102%);
  }
}

/* テキスト表示 */
@keyframes revealText {
  to {
    opacity: 1;
  }
}

/* メインビジュアル */
#header_carousel .carousel-item {
  height: 40vh;
}

#header_carousel .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

@media (max-width: 768px) {
  #header_carousel .carousel-item {
    position: relative;
    min-height: 200px;
    height: 30vh;
  }
}





/* =========================================================
  書類提出ボタン
========================================================= */
.application_btn_wrap {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 20px 0 80px;
}

.container.default a.application_btn {
  text-decoration: none;
}

.application_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 500px;
  height: 90px;
  background: #d1a100;
  text-decoration: none;
  overflow: hidden;
}

/* 中央テキスト */
.application_btn-text {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* 矢印位置（右寄せ） */
.application_btn .arrow-box {
  position: absolute;
  right: 30px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* hover時：矢印だけ動かす */
.application_btn:hover .arrow-box {
  transform: translateX(6px);
}

.application_btn:hover {
  opacity: 0.85;
}
.application_text {
  text-align: center;
}

@media screen and (max-width: 768px) {
  .application_btn_wrap {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 80px;
    padding: 20px 0 60px;
  }

  .application_btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 90px;
    background: #d1a100;
    text-decoration: none;
    overflow: hidden;
    padding-left: 20px;
  }

  .application_btn-text {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: left;
  }
  .application_btn .arrow-box {
    position: absolute;
    right: 20px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
  .application_btn_wrap {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 20px 0 80px;
    text-align: center;
  }
}


/* ==============================
  プラン
============================== */
.insurance_card {
  display: flex;
  background: #e4f4f3;
  /* max-width: 1200px; */
  /* margin: 0 auto; */
  margin-top: 20px;
}

/* 左テキスト */
.insurance_card__text {
  flex: 1;
  padding: 32px 40px;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .insurance_card__text {
    flex: 1;
    padding: 20px 10px;
    box-sizing: border-box;
  }
}

.insurance_card__header {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* アイコン */
.insurance_card__icon {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 2px 6px rgba(0,0,0,0.15); */
  border: solid 1px #0f8f7c;
}

.insurance_card__icon img {
  width: 32px;
  height: 32px;
}

/* タイトル */
.insurance_card__sub {
  margin: 0 0 4px;
  font-size: 14px;
  color: #333;
}

.insurance_card__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #333;
}

/* 横線 */
.insurance_card__line {
  margin: 24px 0 16px;
  border: none;
  border-top: 1px solid #5aa6a0;
}

/* 下部テキスト */
.insurance_card__note {
  margin: 0;
  padding-left: 1.2em;
  position: relative;
  font-size: 16px;
  color: #5aa6a0;
}

.insurance_card__note::before {
  content: "■";
  position: absolute;
  left: 0;
  color: #5aa6a0;
}

/* 右画像 */
.insurance_card__image {
  width: 25%;
}

.insurance_card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


@media (max-width: 768px) {
  .insurance_card {
    flex-direction: column;
  }

  .insurance_card__image {
    width: 100%;
    height: 150px;
  }

  .insurance_card__title {
    font-size: 22px;
  }
}


/* 全体 */
.feature_section {
  border-top: 1px solid #1aa39a;
  border-bottom: 1px solid #1aa39a;
  padding: 30px 0;
  margin-top: 30px;
  margin-bottom: 20px;
}

.feature_inner {
  /* max-width: 1200px; */
  margin: 0 auto;
  /* padding: 0 24px; */
  display: flex;
  align-items: center;
  gap: 40px;
}

/* 左ボックス */
.feature_box {
  width: 200px;
  height: 120px;
  color: #0f8f7c;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  text-align: center;
  border: solid 1px #0f8f7c;
}

.feature_box__small {
  font-size: 16px;
  color: #fff;
  background: #0f8f7c;
  padding: 0 10px;
}

.feature_box__large {
  font-size: 28px;
}
.feature_box__large span:first-child {
  font-size: 32px;
}
.feature_box__large span:nth-child(2) {
  font-size: 22px;
}

/* 右リスト */
.feature_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature_list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.6;
}

.feature_list li:last-child {
  margin-bottom: 0;
}

/* 緑丸 */
.feature_list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  background: #0f8f7c;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .feature_inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .feature_box {
    width: 100%;
    height: auto;
    padding: 20px 0;
  }

  .feature_box__large {
    font-size: 24px;
  }
}



/* 全体バナー */
.clinic_preparedness_title {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #0f8f7c;
  padding: 16px 24px;
  margin-top: 40px;
}

/* 左ラベル（長方形） */
.clinic_preparedness_title__label {
  background: #fff;
  color: #0f8f7c;
  font-weight: 700;
  padding: 10px 18px;
  font-size: 16px;
  white-space: nowrap;
}

/* 見出し（h3） */
.clinic_preparedness_title__heading {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .clinic_preparedness_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #0f8f7c;
  padding: 16px 24px;
  margin-top: 40px;
  }
}



/* ==============================
  footer
============================== */
@media screen and (max-width: 768px) {
  .row + .imi-footer-bottom {
    margin-bottom: 10px;
  }
}



/********** bootstrap.min.css 上書き **********/
.pl-4 {
  padding-left: 1.5rem;
}
.pl-5 {
  padding-left: 3rem;
}



/* =========================================================
  carousel
========================================================= */



