@charset "utf-8";

/* * {
  border: 1px solid red;
} */

#service .page_ttl {
  margin: 32px 0;
}

#service .inner p {
  text-indent: 1em;
  margin-bottom: 16px;
}

#service dl {
  margin-bottom: 40px;
}

#service dt {
  color: #ff3e98;
  font-size: 1.125rem;
  padding-left: 32px;
  background: url(../image/icon_adjustment.svg) no-repeat left center / 24px;
  margin: 16px 0 4px;
}

#service dt:nth-child(1) {
  background-image: url(../image/icon_careplan.svg);
}
#service dt:nth-child(3) {
  background-image: url(../image/icon_consultation.svg);
  background-size: 26px;
}
#service dt:nth-child(5) {
  background-image: url(../image/icon_delegation.svg);
}

.parallax_box {
  height: 450px;
  overflow: hidden;
}
.parallax_content {
  display: flex;
  height: 100%;
  /* padding: 100%; */
  justify-content: center;
  align-items: center;

  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  font-size: 1rem;
  color: #ffffff;
}
.img_bg_01 {
  background-image: url(../image/service_page_bg.jpg);
  line-height: 4rem;
  text-align: center;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  #service dt {
    font-size: 1.2rem;
  }
  .tb_none {
    display: none;
  }
  .parallax_content {
    font-size: 1.5rem;
  }
  .parallax_content .tb_none {
    display: none;
  }
}

@media (min-width: 1024px) {
  #service {
    padding: 200px 0 24px;
  }
  #service dt {
    margin-top: 32px;
  }
}

/* service.cssに追加 */
/* パララックス効果のモバイル対応 */
@media (max-width: 767px) {
  .parallax_content {
    /* モバイルでは固定背景を解除 */
    background-attachment: scroll;
    /* 背景位置を調整 */
    background-position: center center;
  }

  /* 代替アプローチ: 背景を固定する代わりに、スクロール速度を遅くする */
  .parallax_box {
    position: relative;
  }

  .img_bg_01 {
    /* 必要に応じて背景画像の位置調整 */
    background-position: center center;
    background-size: cover;
  }
}
