@charset "UTF-8";
/* =========================================================
 * 作業料金ページ(/workfee/)だけのCSS
 * workfee_sub.css(土台)・base.css(事業内容ページと同じ部品)の後に読み込みます。
 * PC: 960px以上 / SP: 959px以下(事業内容・採用ページと同じ区切り)
 * 色:#182987(紺)/ #0093DD(青)/ #ECEEEF(グレー)
 * 料金表のセルの色は管理画面(外観 > 作業料金ページ)で表ごとに設定でき、その指定が優先されます。
 * ======================================================= */

/* ---------- 料金表のまとまり ---------- */
.wf-price .title-block {
  margin-bottom: 40px;
}
.wf-table-block + .wf-table-block {
  margin-top: 70px;
}
.wf-table-title {
  position: relative;
  margin-bottom: 20px;
  padding-left: 45px;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
}
.wf-table-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 35px;
  height: 22px;
  background: url(images/title_bg.svg) no-repeat center center/contain;
  transform: translateY(-50%);
}

/* ---------- 横スクロール ---------- */
.wf-scroll-hint {
  display: none;
}
.wf-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  outline: none;
}
.wf-table-scroll:focus-visible {
  box-shadow: 0 0 0 2px #0093DD;
}

/* ---------- 表 ---------- */
.wf-price-table {
  width: 100%;
  border-collapse: separate;   /* 左に固定する列の線が消えないよう separate で引く */
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
  border-top: 1px solid #c9cdd0;
  border-left: 1px solid #c9cdd0;
}
.wf-price-table th,
.wf-price-table td {
  padding: 16px 14px;
  font-size: 1.6rem;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  border-right: 1px solid #c9cdd0;
  border-bottom: 1px solid #c9cdd0;
  white-space: nowrap;
}
/* 色の初期値(管理画面の色が表ごとに上書きします) */
.wf-price-table thead th {
  font-weight: 700;
  color: #fff;
  background: #182987;
}
.wf-price-table thead th .wf-note {
  display: block;
  margin-top: 2px;
  font-size: 1.3rem;
  font-weight: 500;
  opacity: 0.85;
}
.wf-price-table .wf-row-head,
.wf-price-table .wf-group-head,
.wf-price-table .wf-sub-label {
  font-weight: 700;
  color: #222;
  background: #ECEEEF;
}
.wf-price-table .wf-row-head,
.wf-price-table .wf-group-head {
  text-align: left;
}
.wf-price-table .wf-price-cell {
  font-weight: 500;
  color: #222;
  background: #fff;
}
.wf-price-table .wf-subtotal,
.wf-price-table .wf-subtotal-label {
  font-weight: 700;
  color: #182987;
  background: #e6f4fb;
}
.wf-price-table .wf-corner {
  background: #ECEEEF;
}
.wf-price-table .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* 項目名の列を左に固定(横にスクロールしても見える) */
.wf-price-table .wf-sticky {
  position: sticky;
  left: 0;
  z-index: 2;
}
.wf-price-table thead .wf-sticky {
  z-index: 3;
}
/* グループの表は「グループ名」と「行名」の2列を固定する。グループ名の列は幅を決めて、行名の列をその右に固定 */
.wf-price-table .wf-group-head {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  white-space: normal;
}
.wf-price-table .wf-sub-label {
  position: sticky;
  left: 150px;
  z-index: 2;
}
/* 固定した列の右端に薄い影(スクロールしたときに境目が分かるように) */
.wf-price-table .wf-row-head::after,
.wf-price-table .wf-sub-label::after,
.wf-price-table .wf-corner::after {
  content: "";
  position: absolute;
  top: 0;
  right: -6px;
  width: 6px;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
  pointer-events: none;
}

/* ---------- 注記 ---------- */
.wf-notes {
  margin-top: 60px;
}

/* ---------- 整備ページへのリンク(事業内容「その他の事業」と同じボタン) ---------- */
.wf-more {
  margin-top: 50px;
  text-align: center;
}
.wf-more a {
  position: relative;
  display: inline-block;
  min-width: 320px;
  padding: 18px 60px 18px 40px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background: linear-gradient(90deg, #182B89 0%, #0093DD 100%);
  transition: opacity 0.2s;
}
.wf-more a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

/*PC*/
@media screen and (min-width: 960px) {
  .wf-more a:hover {
    opacity: 0.8;
  }
}
/*SP*/
@media screen and (max-width: 959px) {
  .wf-price .title-block {
    margin-bottom: 30px;
  }
  .wf-table-block + .wf-table-block {
    margin-top: 50px;
  }
  .wf-table-title {
    padding-left: 38px;
    font-size: 1.8rem;
  }
  .wf-table-title::before {
    width: 28px;
    height: 18px;
  }
  .wf-scroll-hint {
    display: block;
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: #5c6270;
    text-align: right;
  }
  .wf-scroll-hint::after {
    content: " →";
  }
  .wf-price-table {
    width: auto;
    min-width: 100%;
  }
  .wf-price-table th,
  .wf-price-table td {
    padding: 12px 10px;
    font-size: 1.4rem;
  }
  .wf-price-table thead th .wf-note {
    font-size: 1.1rem;
  }
  /* 項目名の列は左に固定されるため、スマホでは少し詰めて料金の列を広く見せる */
  .wf-price-table .wf-row-head,
  .wf-price-table .wf-group-head,
  .wf-price-table .wf-sub-label {
    padding: 10px 8px;
    font-size: 1.3rem;
  }
  .wf-price-table .wf-group-head {
    width: 96px;
    min-width: 96px;
    max-width: 96px;
  }
  .wf-price-table .wf-sub-label {
    left: 96px;
  }
  .wf-notes {
    margin-top: 40px;
  }
  .wf-more {
    margin-top: 40px;
  }
  .wf-more a {
    display: block;
    min-width: 0;
    padding: 16px 50px 16px 30px;
  }
}
