/* ===================================================================================
 資料ダウンロードまとめページ（dl-matome_）
 =================================================================================== */
 .dl-matome_wrap {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "メイリオ", sans-serif;
    color: #293033;
    max-width: 1140px;
    margin: 0 auto;
    box-sizing: border-box;
}

.dl-matome_wrap * {
    box-sizing: border-box;
}

.dl-matome_forSP {
    display: none;
}

/* header */
.dl-matome_header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background-color: #FDF5F5;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.dl-matome_header_ttl {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.dl-matome_header_txt {
    font-size: 1.6rem;
    line-height: 1.8;
}

/* page jump nav */
.dl-matome_jumpnav {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
}

.dl-matome_jumpnav_item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 50px;
    padding: 12px 24px;
    background: #fff;
    border: 2px solid #d76767;
    border-radius: 6px;
    color: #d76767;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    box-shadow: 0 2px 8px 0 rgba(66, 63, 173, 0.1);
}

.dl-matome_jumpnav_item a:hover {
    background: #d76767;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px 0 rgba(66, 63, 173, 0.25);
}

/* section */
.dl-matome_section {
    margin-bottom: 80px;
}

.dl-matome_section_ttl {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.dl-matome_section_ttl::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: #423fad;
}

.dl-matome_section-work .dl-matome_section_ttl::after {
    background: #e08a2e;
}

.dl-matome_section-oyakudachi .dl-matome_section_ttl::after {
    background: #50c78d;
}


/* cards */
.dl-matome_cards {
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 50px;
}

.dl-matome_card {
    width: calc((100% - 60px) / 3);
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    box-shadow: 0px 3px 10px 0px rgba(41, 48, 51, 0.08);
}

.dl-matome_card_img {
    margin-bottom: 20px;
    text-align: center;
    aspect-ratio: 16 / 9; /* ★現在の横向き画像の縦横比に合わせて調整してください */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dl-matome_card_img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}


.dl-matome_card_ttl {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 12px;
    min-height: calc(1.7rem * 1.5 * 1);
}

.dl-matome_card_ttl .minfont {
    font-size: 80%;
}

/* 資料名が長くて説明文の高さを2行分空けたいとき */
.dl-matome_card_ttl2 {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 12px;
    min-height: calc(1.7rem * 1.5 * 2);
}

.dl-matome_card_ttl2 .minfont {
    font-size: 80%;
}

/* 資料名が長くて説明文の高さを3行分空けたいとき */
.dl-matome_card_ttl3 {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 12px;
    min-height: calc(1.7rem * 1.5 * 3);
}

.dl-matome_card_ttl3 .minfont {
    font-size: 80%;
}

.dl-matome_card_txt {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* all download button */
.dl-matome_all_btn {
    text-align: center;
}

.dl-matome_all_btn a {
    display: inline-block;
    min-width: 400px;
    text-align: center;
    background: #fff;
    border: 2px solid #423fad;
    color: #423fad;
    font-size: 2rem;
    font-weight: 700;
    padding: 20px 70px;
    border-radius: 6px;
}

.dl-matome_all_btn a:hover {
    text-decoration: none;
    background: #423fad;
    color: #fff;
}

.dl-matome_section-oyakudachi .dl-matome_all_btn a {
    border-color: #50c78d;
    color: #50c78d;
}

.dl-matome_section-oyakudachi .dl-matome_all_btn a:hover {
    background: #50c78d;
    color: #fff;
}

.dl-matome_section-work .dl-matome_all_btn a {
    border-color: #e08a2e;
    color: #e08a2e;
}
.dl-matome_section-work .dl-matome_all_btn a:hover {
    text-decoration: none;
    background: #e08a2e;
    color: #fff;
}


/* CTA section */
.dl-matome_card_btn {
    display: block;
    text-align: center;
    background: #423fad;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 14px;
    border-radius: 6px;
    position: relative;
}

.dl-matome_card_btn:hover {
    text-decoration: none;
    color: #fff;
    opacity:0.7;
}

.dl-matome_section-oyakudachi .dl-matome_card_btn {
    background: #50c78d;
}

.dl-matome_section-oyakudachi .dl-matome_card_btn:hover {
    text-decoration: none;
    opacity:0.7;
}

.dl-matome_section-work .dl-matome_card_btn {
    background: #e08a2e;
}
.dl-matome_section-work .dl-matome_card_btn:hover {
    text-decoration: none;
    opacity:0.7;
}


.dl-matome_cta {
    text-align: center;
    background: #f5f5f5;
    border-radius: 16px;
    padding: 50px 30px;
    margin-bottom: 60px;
}

.dl-matome_cta_ttl {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.dl-matome_cta_txt {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.dl-matome_cta_btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.dl-matome_cta_btn {
    display: inline-block;
    min-width: 260px;
    text-align: center;
    padding: 16px 20px;
    border-radius: 6px;
    font-size: 1.6rem;
    font-weight: 700;
}

.dl-matome_cta_btn-primary {
    background: #d76767;
    border: 2px solid #d76767;
    color: #fff;
}

.dl-matome_cta_btn-primary:hover {
    text-decoration: none;
    color: #fff;
    opacity:0.7;
}

.dl-matome_cta_btn-secondary {
    background: #fff;
    border: 2px solid #d76767;
    color: #d76767;
}

.dl-matome_cta_btn-secondary:hover {
    text-decoration: none;
    background: #d76767;
    color: #fff;
}



/* link boxes */
.dl-matome_linklist_boxes {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.dl-matome_linklist_box {
    width: calc((100% - 30px) / 2);
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    padding: 24px;
}

.dl-matome_linklist_box_ttl {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.dl-matome_linklist_box_txt {
    font-size: 1.4rem;
    line-height: 1.7;
}

/* ===================================================================================
 タブレット
 =================================================================================== */
@media screen and (max-width: 1024px) {
    .dl-matome_wrap {
        padding: 0px 20px 0px 20px;
    }

    .dl-matome_header_ttl {
        font-size: 3rem;
    }

    .dl-matome_jumpnav {
      gap: 12px;
  }

  .dl-matome_jumpnav_item a {
      font-size: 1.4rem;
      padding: 10px 18px;
      min-height: 46px;
  }

    .dl-matome_section_ttl {
        font-size: 2.2rem;
    }

    .dl-matome_cards {
        flex-flow: row wrap;
        gap: 20px;
    }

    .dl-matome_card {
        width: calc((100% - 40px) / 3);
        padding: 18px;
    }

    .dl-matome_all_btn a {
        min-width: 320px;
    }

    .dl-matome_cta_btn {
        min-width: 220px;
    }
}

/* ===================================================================================
 SP
 =================================================================================== */
@media screen and (max-width: 740px) {
    .dl-matome_forSP {
        display: block;
    }

    .dl-matome_wrap {
        padding: 30px 15px 60px;
    }

    .dl-matome_header {
        margin-bottom: 30px;
    }

    .dl-matome_header_ttl {
        font-size: 2.2rem;
        margin-bottom: 12px;
        display:block;
        text-align: center;
    }

    .dl-matome_header_txt {
        font-size: 1.3rem;
    }

    .dl-matome_jumpnav {
      flex-flow: column nowrap;
      gap: 10px;
      margin-top: 20px;
  }

  .dl-matome_jumpnav_item a {
      width: 100%;
      font-size: 1.3rem;
      padding: 12px 16px;
      border-radius: 8px;
  }

  .dl-matome_section {
      margin-bottom: 50px;
      scroll-margin-top: 70px;
  }

    .dl-matome_section {
        margin-bottom: 50px;
    }

    .dl-matome_section_ttl {
        font-size: 1.8rem;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .dl-matome_cards {
        flex-flow: column nowrap;
        gap: 15px;
        margin-bottom: 25px;
    }

    .dl-matome_card {
        width: 100%;
        padding: 16px;
    }

    .dl-matome_card_ttl {
        font-size: 1.5rem;
        min-height: inherit;
    }

    .dl-matome_card_txt {
        font-size: 1.3rem;
    }

    .dl-matome_all_btn a {
        min-width: inherit;
        width: 100%;
        font-size: 1.4rem;
        padding: 14px 20px;
    }

    .dl-matome_cta {
        padding: 30px 15px;
        border-radius: 10px;
        margin-bottom: 40px;
    }

    .dl-matome_cta_ttl {
        font-size: 1.8rem;
    }

    .dl-matome_cta_txt {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .dl-matome_cta_btns {
        flex-flow: column nowrap;
        gap: 12px;
    }

    .dl-matome_cta_btn {
        width: 100%;
        min-width: inherit;
        font-size: 1.4rem;
    }

    .dl-matome_linklist_boxes {
        flex-flow: column nowrap;
        gap: 15px;
    }

    .dl-matome_linklist_box {
        width: 100%;
        padding: 16px;
    }

    .dl-matome_linklist_box_ttl {
        font-size: 1.5rem;
    }

    .dl-matome_linklist_box_txt {
        font-size: 1.3rem;
    }
}

/* ===================================================================================
 related-services（plus_staff.css .link セクションの移植版）
 =================================================================================== */
 .related-services {
    font-family: 'Noto Sans JP', sans-serif;
    color: #293033;
    padding: 14.6666666667vw 6.4vw 18vw 6.4vw;
    background: #f5f5f5;                  /* 背景はセクション全幅にそのまま効く */
    overflow: hidden;
    box-sizing: border-box;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  .related-services *,
  .related-services *::before,
  .related-services *::after {
    box-sizing: border-box;
  }
  @media screen and (min-width: 741px) {
    .related-services {
      padding: 67px 0 80px 0;
    }
  }
  
  /* 内側ラッパー：中央寄せ＋幅制限 */
  .related-services__inner {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  @media screen and (min-width: 741px) {
    .related-services__inner {
      padding: 0 20px;
    }
  }
  
  .related-services__ttl {
    text-align: center;
    font-size: 6.8vw;
    font-weight: 700;
    line-height: 1.4;
    padding: 0 0 4.6666666667vw 0;
    position: relative;
    margin: 0;
  }
  @media screen and (min-width: 741px) {
    .related-services__ttl {
      font-size: 30px;
      padding: 0 0 20px 0;
    }
  }
  .related-services__ttl::after {
    content: '';
    display: block;
    width: 11.3333333333vw;
    height: 1.3333333333vw;
    background: #eeb5b5;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  @media screen and (min-width: 741px) {
    .related-services__ttl::after {
      width: 50px;
      height: 6px;
    }
  }
  
  .related-services__lead {
    text-align: center;
    font-size: 5.8933333333vw;
    font-weight: 700;
    line-height: 1;
    margin: 13.3333333333vw -1em 0 -1em;
  }
  @media screen and (min-width: 741px) {
    .related-services__lead {
      font-size: 26px;
      margin: 60px 0 0 0;
    }
  }
  
  /* リストの基本（SP） */
  .related-services__list {
    list-style: none;
    margin: 17.0666666667vw 0 0 0;
    padding: 0;
  }
  .related-services__list > li {
    padding: 23.7333333333vw 9.8666666667vw 6.6666666667vw 9.8666666667vw;
    background: #fff;
    border-radius: 3.2vw;
    position: relative;
  }
  .related-services__list > li:not(:first-child) {
    margin: 12vw 0 0 0;
  }
  .related-services__list h3 {
    font-size: 4.5333333333vw;
    font-weight: 700;
    line-height: 1;
    margin: 0;
  }
  .related-services__list ul {
    list-style: none;
    margin: 3.3333333333vw 0 0 0;
    padding: 0;
  }
  .related-services__list li {
    font-size: 3.6266666667vw;
    line-height: 1.5;
    position: relative;
  }
  
  /* イラスト（SP：疑似要素で背景画像） */
  .related-services__list li.illust01::after,
  .related-services__list li.illust02::after,
  .related-services__list li.illust03::after,
  .related-services__list li.illust04::after,
  .related-services__list li.illust05::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .related-services__list li.illust01::after {
    width: 35.7333333333vw;
    height: 25.7333333333vw;
    top: -7.0666666667vw;
    background: url(../../../images/service/onsite/plus_staff/v2/link-illust01.png) no-repeat;
    background-size: 100%;
  }
  .related-services__list li.illust02::after {
    width: 38.2666666667vw;
    height: 25.6vw;
    top: -6.8vw;
    background: url(../../../images/service/onsite/plus_staff/v2/link-illust02.png) no-repeat;
    background-size: 100%;
  }
  .related-services__list li.illust03::after {
    width: 35.7333333333vw;
    height: 25.7333333333vw;
    top: -7.0666666667vw;
    background: url(../../../images/service/onsite/plus_staff/v2/link-illust03.png) no-repeat;
    background-size: 100%;
  }
  .related-services__list li.illust04::after {
    width: 45vw;
    height: 30vw;
    top: -7.0666666667vw;
    background: url(../../../images/service/onsite/plus_staff/v2/link-illust04.png) no-repeat;
    background-size: 100%;
  }
  .related-services__list li.illust05::after {
    width: 45vw;
    height: 30vw;
    top: -11vw;
    background: url(../../../images/service/onsite/plus_staff/v2/link-illust05.png) no-repeat;
    background-size: 100%;
  }
  
  .related-services__btn {
    margin: 3.3333333333vw 0 0 0;
  }
  .related-services__btn a {
    height: 9.0666666667vw;
    font-size: 3.6266666667vw;
    font-weight: 700;
    color: #fff;
    background: #19afaf;
    border-radius: 1.6vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
  }
  .related-services__btn a:hover {
    opacity: 0.7;
    text-decoration: none;
    color: #fff;
  }
  .related-services__btn span {
    display: inline-block;
    padding: 0 6.4vw 0 0;
    background: url(../../../images/service/onsite/plus_staff/v2/arrow02.svg) no-repeat 100% 50%;
    background-size: 4.5333333333vw auto;
  }
  
  /* ===== PC版（741px以上）：4個を2×2の二段組に ===== */
  @media screen and (min-width: 741px) {
    .related-services__list {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 30px 20px;
      width: 100%;
      max-width: 1200px;
      margin: 50px auto 0 auto;
      box-sizing: border-box;
    }
  
    .related-services__list > li {
      width: calc(50% - 10px); /* 2列配置 */
      box-sizing: border-box;
      border-radius: 12px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      margin: 0 !important;
  
      /* パディング：右文字エリアを最大限に広げる設定 */
      padding-top: 24px;
      padding-bottom: 24px;
      padding-right: 20px;
      padding-left: clamp(170px, 32vw, 210px) !important; /* 画像の幅に合わせて左余白を最小化 */
  
      /* 背景画像：サイズ上限を固定して左寄せ配置 */
      background-repeat: no-repeat !important;
      background-position: 15px center !important;
      background-size: clamp(140px, 28vw, 180px) auto !important; /* 画像幅を最適化 */
    }
  
    /* SP用の擬似要素イラストを消去 */
    .related-services__list li::after {
      display: none !important;
    }
  
    /* 各カードの背景画像設定 */
    .related-services__list li.illust01 {
      background: #fff url(../../../images/service/onsite/plus_staff/v2/link-illust01.png);
    }
    .related-services__list li.illust02 {
      background: #fff url(../../../images/service/onsite/plus_staff/v2/link-illust02.png);
    }
    .related-services__list li.illust03 {
      background: #fff url(../../../images/service/onsite/plus_staff/v2/link-illust03.png);
    }
    .related-services__list li.illust04 {
      background: #fff url(../../../images/service/onsite/plus_staff/v2/link-illust04.png);
    }
    .related-services__list li.illust05 {
      background: #fff url(../../../images/service/onsite/plus_staff/v2/link-illust05.png);
    }
  
    /* テキストの折り返しを防ぎ読みやすく調整 */
    .related-services__list h3 {
      font-size: clamp(16px, 1.3vw, 20px);
      line-height: 1.4;
      word-break: keep-all; /* 単語途中の不自然な改行を防ぐ */
      overflow-wrap: break-word;
    }
    .related-services__list .illust04 h3 {
      font-size: clamp(14px, 1.1vw, 17px);
    }
  
    .related-services__list ul {
      margin: 10px 0 0 0;
    }
    .related-services__list li {
      font-size: clamp(12px, 0.95vw, 14px);
      line-height: 1.6;
    }
  
    .related-services__btn {
      margin-top: auto;
      padding-top: 15px;
    }
    .related-services__btn a {
      height: 40px;
      font-size: clamp(12px, 0.9vw, 14px);
      border-radius: 6px;
    }
    .related-services__btn span {
      padding: 0 24px 0 0;
      background-size: 14px auto;
    }
  }