@scope ([data-public-site]) {

  /* [price_table]: APIから取得できた現在価格だけを強調する。 */
  .price_table_current_price {
    color: #b54a00;
    font-weight: 700;
}
  :where(:scope):is([data-site-theme="dark"],.dark-theme:where(:not([data-site-theme]))) .price_table_current_price {
    color: #ff9c32;
}
  @media (prefers-color-scheme: dark) {
:where(:scope)[data-site-theme="system"] .price_table_current_price {
    color: #ff9c32;
}
}

  :where(:scope):is([data-site-theme="light"],.white-theme:where(:not([data-site-theme]))) .gc-device-specs th {
    background-color: #F7F7F7;
}
  @media (prefers-color-scheme: light) {
:where(:scope)[data-site-theme="system"] .gc-device-specs th {
    background-color: #F7F7F7;
}
}

  :where(:scope):is([data-site-theme="light"],.white-theme:where(:not([data-site-theme]))) .gc-device-specs tr {
    border-bottom: solid 1px #E8E8E8;
}
  @media (prefers-color-scheme: light) {
:where(:scope)[data-site-theme="system"] .gc-device-specs tr {
    border-bottom: solid 1px #E8E8E8;
}
}

  :where(:scope):is([data-site-theme="dark"],.dark-theme:where(:not([data-site-theme]))) .gc-device-specs th {
    background-color: #2E2E2E;
}
  @media (prefers-color-scheme: dark) {
:where(:scope)[data-site-theme="system"] .gc-device-specs th {
    background-color: #2E2E2E;
}
}

  :where(:scope):is([data-site-theme="dark"],.dark-theme:where(:not([data-site-theme]))) .gc-device-specs tr {
    border-bottom: solid 1px #3F3F3F;
}
  @media (prefers-color-scheme: dark) {
:where(:scope)[data-site-theme="system"] .gc-device-specs tr {
    border-bottom: solid 1px #3F3F3F;
}
}

  :where(:scope):is([data-site-theme="dark"],.dark-theme:where(:not([data-site-theme]))) .device_size_note {
    color: #ccc;
}
  @media (prefers-color-scheme: dark) {
:where(:scope)[data-site-theme="system"] .device_size_note {
    color: #ccc;
}
}

  .device_table_scroll {
    max-width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}
  .device_table_scroll:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
  .device_table_scroll .gc-device-specs {
    margin-bottom: 0;
}

  /* Give each specification its own row; content determines when scrolling is needed. */
  .device_table_scroll .gc-device-specs {
    font-size: 14px;
    line-height: 1.6;
}
  .device_table_scroll .gc-device-specs tbody {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr);
}
  .device_table_scroll .gc-device-specs tr {
    display: grid;
    grid-template-columns: 180px max-content;
    width: auto;
    align-items: center;
}
  .device_table_scroll .gc-device-specs th {
    width: auto;
    align-self: stretch;
    display: flex;
    align-items: center;
}
  .device_table_scroll .gc-device-specs td {
    box-sizing: content-box;
    width: max-content;
    max-width: 28em;
    overflow-wrap: anywhere;
}
  @media (max-width: 768px) {
    .device_table_scroll .gc-device-specs tr {
        grid-template-columns: 110px max-content;
    }
    .device_table_scroll .gc-device-specs td {
        max-width: 16em;
    }
}

  .gc-device-specs {
    table-layout: fixed;
    text-align: left;
    font-size: 11px;
    width: 100%;
    margin-bottom: 20px;
}
  .device_size_note {
    margin: 0 0 20px;
    font-size: 12px;
    line-height: 1.6;
    color: #666;
}
  .gc-device-specs tr {
    width: 49%;
    border-bottom: 1px solid #3F3F3F;
    display: inline-table;
}
  .gc-device-specs tbody {
    display: flex;
    flex-wrap: wrap;
}
  .gc-device-specs th {
    width: 90px;

}
  .gc-device-specs th,
.gc-device-specs td {
    vertical-align: middle;
    padding: 8px 5px;
}
  @media (max-width: 768px) {
    .gc-device-specs tr {
        width: 100%;
    }
}

}
