/* 元の上書き */

/* body main */
@media only screen and (min-width: 1441px) {
    body main {
        padding-top:80px
    }
}

@media only screen and (min-width: 961px) and (max-width: 1440px) {
    body main {
        padding-top:80px
    }
}

@media only screen and (max-width: 960px) {
    body main {
        padding-top:16vw
    }
}

/* body .pages__content */

@media only screen and (min-width: 1441px) {
    body .pages__content {
        padding:40px 0 0
    }
}

@media only screen and (min-width: 961px) and (max-width: 1440px) {
    body .pages__content {
        padding:40px 0 0
    }
}

@media only screen and (max-width: 960px) {
    body .pages__content {
        padding:40px 0 25.6vw
    }
}

/* #pages__wp__detail .wp__detail__head__inner */
@media only screen and (min-width: 1441px) {
    #pages__wp__detail .wp__detail__head__inner {
        row-gap:40px;
        margin-bottom: 40px;
    }
}

@media only screen and (min-width: 961px) and (max-width: 1440px) {
    #pages__wp__detail .wp__detail__head__inner {
        row-gap:2.7777777778vw;
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 960px) {
    #pages__wp__detail .wp__detail__head__inner {
        row-gap:6.4vw;
        margin-bottom: 40px;
    }
}

@media only screen and (min-width: 1441px) {
    #pages__wp__detail .wp__detail__dl__box h2 {
        margin-bottom:0
    }
}

@media only screen and (min-width: 961px) and (max-width: 1440px) {
    #pages__wp__detail .wp__detail__dl__box h2 {
        margin-bottom:0;
    }
}


/* #pages__wp__detail .wp__detail__head__inner */
@media only screen and (min-width: 1441px) {
    #pages__wp__detail .wp__detail__head__inner {
        row-gap:20px;
        margin-bottom: 40px;
    }
}

@media only screen and (min-width: 961px) and (max-width: 1440px) {
    #pages__wp__detail .wp__detail__head__inner {
        row-gap:20px;
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 960px) {
    #pages__wp__detail .wp__detail__head__inner {
        row-gap:6.4vw;
        margin-bottom: 40px;
    }
}



.wp__detail__client__title {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 12px;
}


@media only screen and (max-width: 960px) {

    .wp__detail__client__title {
        font-size: 1.2rem;
        font-weight: bold;
        text-align: center;
        margin-bottom: 12px;
    }
}

.wp__detail__client__list {
  display: flex;
  flex-wrap: wrap;       /* 折り返しを有効に */
  gap: 0 16px;             /* アイテム間の隙間（必要に応じて調整） */
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: flex-start; /* 左寄せ、中央寄せにしたい場合はcenterなどに */
  margin-bottom: 40px;
}

.wp__detail__client__list li {
  flex: 0 0 calc(100% / 5 - 16px); /* 横5個ずつ表示（全15個→3行） */
  box-sizing: border-box;
  text-align: center;
}

/* 中身資料一覧 */
.wp__detail__document__list {
  display: flex;
  flex-wrap: wrap;       /* 折り返しを有効に */
  gap: 16px;             /* アイテム間の隙間（必要に応じて調整） */
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center; /* 左寄せ、中央寄せにしたい場合はcenterなどに */
}

.wp__detail__document__list li {
  flex: 0 0 calc(100% / 5 - 16px);
  box-sizing: border-box;
  text-align: center;
}

.wp__detail__document__list li img:hover {
    cursor: pointer;
}