@charset "utf-8";
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
PC版
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
.service-sec__wrapper-m {
  padding-top: 40px;
}
.service-sec__head {
  margin-bottom: 40px;
}

/* サービスカード群のラッパー */
.service-sec_wrap {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

/* 各サービスカード */
.service-sec_item {
  background: #fff;
  border: 1px solid #000;
  border-radius: 6px;
  overflow: hidden;
  transition: 0.3s;
}

/* カード全体をリンクエリアに */
.service-sec_item a {
  color: inherit;
  text-decoration: none;
  display: block;
  padding: 24px;
  line-height: 1.5;
  letter-spacing: 0;
}
.service-sec__item--cont{
  margin-bottom: 0;
}
/* サービスタイトル */
.service-sec__item--ttl {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 8px;
  border-bottom: 1px dashed #000;
  margin-bottom: 16px;
  line-height: 1;
  font-weight: 700;
  color: #103e76;
}
.service-sec_item:hover {
  opacity: 1;
  background: #103e76;
  color: #fff;
  border: 1px solid #fff;
  a {
    opacity: 1;
  }
  .service-sec__item--ttl {
    color: #fff;
    border-bottom: 1px dashed #fff;
  }
  .service-sec__item--txt{
    color: #fff;
  }
}
/* ホバー時の強調 */
.service-sec_item:hover .service-sec__item--ttl::after {
  transform: translatex(4px);
}

.service-sec__item--ttl::after {
  content: "";
  background: url("../images/icon_service-sec__item--ttl.png") no-repeat center
    center;
  background-size: contain;
  display: block;
  width: 18px;
  height: 18px;
  transition: transform 0.18s ease;
}

/* 説明文 */
.service-sec__item--txt {
  color: #000;
}

/* 強調文字（strongタグ） */
.service-sec__item--txt strong {
  font-weight: bold;
}

/* PC: 3カラム対応（3×3+1構成） */
@media screen and (min-width: 768px) {
  .service-sec_wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* SP: パディング調整 */
@media screen and (max-width: 767px) {
  .service-sec_item a {
    padding: 16px;
  }

  .sx-cnt_wrap {
    padding: 28px 12px;
  }
}

/* もっと詳しく知るボタン */
.service-button {
  width: fit-content;
  margin: var(--sp-3) auto;
  border: 1px solid var(--clr-txt2);
  border-radius: 6px;
  margin-bottom: var(--sp-10);

  .service-button__link {
    width: inherit;
    height: inherit;
    border-radius: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px var(--sp-3);

    span {
      font-size: var(--body-fz);
      font-weight: var(--regular);
      color: var(--clr-txt2);
      padding-left: var(--sp-3);
      position: relative;

      &::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        margin-block: auto;
        width: 18px;
        height: 18px;
        background: no-repeat center/contain url("../images/icon_button.webp");
      }
    }
  }
}

.service_cta{
  margin-bottom: 80px;
}

.cmn-cta {
  position: relative;
  padding-bottom: var(--sp-5);
  margin-block: var(--sp-5) var(--sp-4);
  text-align: center;
  color: #103e76;
}

.cmn-cta::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  margin-inline: auto;
  width: 1100px;
  height: 17px;
  background: no-repeat center / 1100px url("../images/cmn_cta.png");
}

.cmn-cta p {
  color: #103e76;
  text-align: center;
  font-weight: var(--bold);
  font-size: 27px;
}
