
/* .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;
}

/* =========================================================
  ケン・バーンズ効果 (画像ズーム)
========================================================= */

/* 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;
  }
  
}


/* ==============================
  住宅設備延長保証｜対象設備･機器例
============================== */
.question_box {
  border: 1px solid #e0e0e0;
  padding: 20px 24px;
  background: #fbfbfb;
  margin: 30px 0 50px;
}

/* タイトル行 */
.question_box__title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #222;
}

.question_box__icon {
  font-size: 18px;
  line-height: 1;
}


/* ==============================
  導入される理由 2
============================== */
ul.feature_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.feature_list li {
  background: #fbfbfb;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 20px 16px 16px 60px;
  margin-bottom: 12px;
  position: relative;
}

.feature_index {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  color: #333;
  background: #fff;
}

ul.feature_list li strong {
  font-size: 1.1em;
}

ul.feature_list li p {
  margin: 6px 0;
  line-height: 1.6;
  color: #555;
}

.feature_list li:last-child {
  margin-bottom: 40px;
}

/* ==============================
  ナンバリング
============================== */
.condition_list {
  margin: 0;
}

.condition_list dt {
  float: left;
  clear: left;
  width: 1.2em;
  font-weight: bold;
}

.condition_list dd {
  margin: 0 0 0.5em 1.2em;
}




/* ==============================
  footer
============================== */
@media screen and (max-width: 768px) {
  .row + .imi-footer-bottom {
    margin-bottom: 10px;
  }
  /* .btn.btn-lg.btn-primary.btn-lg-square.rounded-circle.back_to_top {
    bottom: 95px;
  } */
}
