@charset "utf-8";
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
PC版
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
.service-sec__wrapper-m {
  padding-top: 10.26vw;
}

.service-sec__head {
  margin-bottom: 10.26vw;
}

.service-sec__head .cmn-header h4 {
  font-size: 6.15vw;
  font-weight: var(--bold);
  color: #103e76;
}
.service-sec__head  .cmn-header{
  padding-right: 0;

}
.service-sec__head .cmn-header::after{
  content: none;
}
.service-sec__head .cmn-header::before{

  margin: 0;

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

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

/* カード全体をリンクエリアに */
.service-sec_item a {
  color: inherit;
  text-decoration: none;
  display: block;
  padding: 6.15vw;
  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: 2.05vw;
  border-bottom: 1px dashed #000;
  margin-bottom: 4.10vw;
  line-height: 1;
  font-weight: 700;
  color: #103e76;
}

/* ホバー時の強調 */
.service-sec_item:hover .service-sec__item--ttl::after {
  transform: translatex(1.03vw);
}

.service-sec__item--link{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #103E76 !important;
  gap: 1.03vw;
  margin-top: 4.10vw !important;
}
.service-sec__item--link::after {
  content: "";
  background: url("../images/icon_service-sec__item--ttl.png") no-repeat center
    center;
  background-size: contain;
  display: block;
  width: 4.62vw;
  height: 4.62vw;
  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: 8.21vw;
  }
}

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

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

  .service-button__link {
    width: inherit;
    height: inherit;
    border-radius: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3.08vw 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: 4.62vw;
        height: 4.62vw;
        background: no-repeat center/contain url("../images/icon_button.webp");
      }
    }
  }
}

.service-sec_img{
  padding-top: 0;
}

.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: 100%;
  height: 4.36vw;
  background: no-repeat center url("../images/sp_cmn_cta.png");
  background-size: contain;
}

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