/* 完全差し替え用CSS。以前の価格エリア用CSSは削除してください。
   このCSSは #tiger-alc-price の内側だけに適用します。 */
#tiger-alc-price {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 40px;
  color: #292929;
  font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 18px;
  line-height: 1.85;
  text-align: left;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

/* テーマの見出し・表・余白を、この価格エリア内でリセット。 */
#tiger-alc-price#tiger-alc-price :where(section, div, h2, p, span, table, thead, tbody, tr, th, td, a) {
  box-sizing: border-box;
  float: none;
  position: static;
  min-width: 0;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-align: left;
  text-indent: 0;
  text-shadow: none;
  text-decoration: none;
  transform: none;
}

#tiger-alc-price#tiger-alc-price :where(section, div, h2, p, span, th, td, a)::before,
#tiger-alc-price#tiger-alc-price :where(section, div, h2, p, span, th, td, a)::after {
  content: none;
  display: none;
}

#tiger-alc-price#tiger-alc-price :where(section, div, h2, p) {
  display: block;
  width: auto;
}

/* 見出し */
#tiger-alc-price#tiger-alc-price h2 {
  margin-bottom: 26px;
  padding: 0 0 16px;
  border-bottom: 3px solid #009d96;
  color: #006b66;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

/* 本体価格。淡い背景と左のラインで主役の価格を明確に。 */
#tiger-alc-price#tiger-alc-price .tiger-alc-price__body {
  padding: 28px 32px;
  border: 1px solid #cfe5e2;
  border-left: 5px solid #009d96;
  border-radius: 8px;
  background: #f0f8f7;
}

#tiger-alc-price#tiger-alc-price .tiger-alc-price__label {
  color: #006b66;
  font-size: 18px;
  font-weight: 700;
}

#tiger-alc-price#tiger-alc-price .tiger-alc-price__amount {
  margin-top: 8px;
  color: #164c47;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

#tiger-alc-price#tiger-alc-price .tiger-alc-price__amount span {
  display: inline-block;
  margin-left: 8px;
  color: #455e5b;
  font-size: 17px;
  font-weight: 400;
  white-space: nowrap;
}

/* 個別費用の表 */
#tiger-alc-price#tiger-alc-price .tiger-alc-price__total {
  margin-top: 24px;
  border: 1px solid #d9e4e2;
  border-radius: 8px;
  background: #fff;
}

#tiger-alc-price#tiger-alc-price .tiger-alc-price__table {
  display: table;
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

#tiger-alc-price#tiger-alc-price thead {
  display: table-header-group;
}

#tiger-alc-price#tiger-alc-price tbody {
  display: table-row-group;
}

#tiger-alc-price#tiger-alc-price tr {
  display: table-row;
}

#tiger-alc-price#tiger-alc-price :where(th, td) {
  display: table-cell;
  width: auto;
  padding: 20px 26px;
  vertical-align: middle;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

#tiger-alc-price#tiger-alc-price thead th {
  background: #e8f3f1;
  color: #006b66;
  font-size: 16px;
  font-weight: 700;
}

#tiger-alc-price#tiger-alc-price thead th:first-child {
  width: 70%;
  border-top-left-radius: 7px;
}

#tiger-alc-price#tiger-alc-price thead th:last-child {
  width: 30%;
  border-top-right-radius: 7px;
  text-align: right;
}

#tiger-alc-price#tiger-alc-price tbody th {
  font-size: 17px;
  font-weight: 500;
}

#tiger-alc-price#tiger-alc-price tbody td {
  color: #164c47;
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

#tiger-alc-price#tiger-alc-price tbody tr + tr :where(th, td) {
  border-top: 1px solid #e2ebe9;
}

/* お問い合わせ */
#tiger-alc-price#tiger-alc-price .tiger-alc-price__contact {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.85;
}

#tiger-alc-price#tiger-alc-price .tiger-alc-price__contact a {
  display: inline;
  color: #006b66;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#tiger-alc-price#tiger-alc-price .tiger-alc-price__contact a:hover {
  color: #004c48;
  text-decoration-thickness: 2px;
}

#tiger-alc-price#tiger-alc-price a:focus-visible {
  outline: 3px solid #006b66;
  outline-offset: 4px;
}

/* スマホでは各行の項目名と金額を縦に配置。横スクロールは不要。 */
@media screen and (max-width: 600px) {
  #tiger-alc-price {
    font-size: 17px;
  }

  #tiger-alc-price#tiger-alc-price h2 {
    margin-bottom: 20px;
    padding-bottom: 12px;
    font-size: 24px;
  }

  #tiger-alc-price#tiger-alc-price .tiger-alc-price__body {
    padding: 22px 20px;
  }

  #tiger-alc-price#tiger-alc-price .tiger-alc-price__amount span {
    margin-left: 6px;
    font-size: 16px;
  }

  #tiger-alc-price#tiger-alc-price .tiger-alc-price__total {
    margin-top: 18px;
  }

  /* 列見出しは読み上げ用に残します。 */
  #tiger-alc-price#tiger-alc-price thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  #tiger-alc-price#tiger-alc-price :where(table, tbody, tr, th, td) {
    display: block;
    width: 100%;
  }

  #tiger-alc-price#tiger-alc-price tbody tr {
    padding: 18px 20px;
  }

  #tiger-alc-price#tiger-alc-price tbody tr + tr {
    border-top: 1px solid #e2ebe9;
  }

  #tiger-alc-price#tiger-alc-price tbody :where(th, td) {
    padding: 0;
    border: 0;
    text-align: left;
  }

  #tiger-alc-price#tiger-alc-price tbody tr + tr :where(th, td) {
    border: 0;
  }

  #tiger-alc-price#tiger-alc-price tbody th {
    font-size: 16px;
  }

  #tiger-alc-price#tiger-alc-price tbody td {
    margin-top: 6px;
    font-size: 22px;
  }

  #tiger-alc-price#tiger-alc-price .tiger-alc-price__contact {
    margin-top: 20px;
    font-size: 16px;
  }
}