@charset "utf-8";

/* =========================================
   HES ZERO Service Card
========================================= */

/* ページ全体の表示エリア */
.service-section {
  width: 100%;
  padding: 80px 0 110px;
  box-sizing: border-box;
}
/* .cpr_mainbox {
  padding: 0 16px;
} */

/* =========================================
   SERVICE INTRO
========================================= */
.ser_containbox {
    /* background-color: #EBEDF0;  */
    margin: 0 auto;
    max-width: 1792px;
    padding-bottom: 100px;
}

.service-intro {
  width: 97%;
  margin: 0px 40px 0;
  color: #333333;
  line-height: 1;
  letter-spacing: 0.02em;
  box-sizing: border-box;
  /* font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; */
}

.ser_3_p {
    font-size: 25px;
    color: #01203F;
    line-height: 60px;
}

.ser_b_pad {
    padding-top: 20px;
}
/* .service-intro p {
  margin: 0 0 14px;
  font-size: 30px;
} */

.service-intro p:last-child {
  margin-bottom: 0;
}

/* 紹介文を入れた分、カード上の余白を調整 */
.service-section,
.cpr_mainbox {
  padding-top: 60px;
}

/* カード本体 */
.service-card {
  width: 82%;
  max-width: 1120px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #d9e4ee;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  box-sizing: border-box;
}
/* 上部画像 */
.service-card__image {
  width: 100%;
  height: auto;
  background: #f4f8fb;
  border-bottom: 1px solid #dce6ee;
  box-sizing: border-box;
}
/* 画像 */
.service-card__image img {
  display: block;
  width: 100%;
  height: auto;
  /* object-fit: cover; */
}

/* PC表示時：スマホ画像を非表示 */
.service-card__image img.only_mb {
  display: none;
}

/* 下部コンテンツ */
.service-card__body {
  padding: 44px 50px 48px;
  box-sizing: border-box;
}
/* カード全体リンク */
.service-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
/* タイトル */
.service-card__title-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 30px;
}
/* オレンジ丸矢印 */
.service-card__arrow {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border: 2px solid #FBB03B;
  border-radius: 50%;
  box-sizing: border-box;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.service-card__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #FBB03B;
  border-right: 2px solid #FBB03B;
  transform: translate(-65%, -50%) rotate(45deg);
  transition: border-color 0.3s ease;
}
.service-card:hover .service-card__arrow {
  background-color: #FBB03B;
  transform: scale(1.15); 
}
.service-card:hover .service-card__arrow::before {
  border-top-color: #ffffff;
  border-right-color: #ffffff;
}

/* タイトルラッパー*/
.service-card__title-wrap {
  display: flex;
  flex-direction: column;
}
/* HES ZERO */
.service-card__title {
  margin: 0;
  color: #082f5b;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  /* font-family: "游教科書体", "YuKyokasho", "Yu Mincho", serif; */
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
/* 説明文 */
.service-card__description {
  margin: 0;
  color: #163c65;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.02em;
  /* font-family: "Baskerville", "Georgia", "Libre Baskerville", serif; */
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
/* Hover */
.service-card__arrow:hover {
  background: #f36b21;
}

.service-card__arrow:hover::before {
  border-color: #ffffff;
}

.service-card__link:hover .service-card__title {
  color: #1177bd;
}


/* =========================================
   PC（1201px〜1500px）
========================================= */
@media screen and (min-width: 1201px) and (max-width: 1500px) {

  .service-section {
    padding: 60px 0 90px;
  }

  .service-card {
    width: 82%;
  }

  .service-card__body {
    padding: 40px 45px 44px;
  }

  .service-card__title {
    font-size: 25px;
  }

  .service-card__description {
    font-size: 20px;
  }

  .service-intro {
    width: 90%;
    margin: -30px auto 20px;
  }

  .ser_3_p {
    font-size: 20px;
    line-height: 45px;
  }
}


/* =========================================
   SMALL PC（960px〜1200px）
========================================= */
@media screen and (min-width: 960px) and (max-width: 1200px) {

  .service-section {
    padding: 60px 0 85px;
  }

  .service-card {
    width: 88%;
    max-width: 900px;
  }

  .service-card__body {
    padding: 36px 38px 40px;
  }

  .service-card__title {
    font-size: 25px;
  }

  .service-card__description {
    font-size: 18px;
  }

  .service-intro {
    width: 90%;
    max-width: 900px;
    margin: -30px auto 20px;
    line-height: 1.8;
  }

  .ser_3_p {
    font-size: 18px;
    line-height: 35px;
  }
}


/* =========================================
   TABLET（800px〜959px）
========================================= */
@media screen and (min-width: 800px) and (max-width: 959.98px) {

  .service-section {
    padding: 65px 0 85px;
  }

  .service-card {
    width: 88%;
    max-width: 900px;
  }

  .service-card__body {
    padding: 36px 38px 40px;
  }

  .service-card__title {
    font-size: 23px;
  }

  .service-card__description {
    font-size: 16px;
  }

  .service-intro {
    width: 90%;
    max-width: 900px;
    margin: 0px auto 20px;
    line-height: 1.8;
  }

  .ser_3_p {
    font-size: 20px;
    line-height: 35px;
  }
}


/* =========================================
   SMARTPHONE（799px以下）
========================================= */
@media screen and (max-width: 799.98px) {

  .service-section {
    padding: 45px 0 60px;
  }

  .service-card {
    width: 70%;
    max-width: none;
  }

  .service-card__body {
    padding: 26px 22px 30px;
  }

  .service-card__title-row {
    gap: 14px;
    margin-bottom: 22px;
  }

  .service-card__arrow {
    width: 33px;
    height: 33px;
  }

  .service-card__title {
    font-size: 20px;
  }

  .service-card__sub-title {
    font-size: 14px;
  }

  .service-card__description {
    font-size: 14px;
    line-height: 1.8;
  }

  .service-intro {
    width: 90%;
    margin: 0px auto 10px;
    line-height: 1.85;
  }

  .ser_3_p {
    font-size: 14px;
    line-height: 24px;
  }

  .cpr_mainbox {
    padding-top: 30px;
  }

  /* スマホ用画像に切り替える */
  .service-card__image img.only_pc {
    display: none;
  }

  .service-card__image img.only_mb {
    display: block;
  }
}