/* 社長、法改正です。 コア機能 */
:root {
  --ht-accent: #1E40AF;
  --ht-accent-soft: #EFF4FF;
  --ht-deadline: #B45309;
  --ht-deadline-soft: #FFF7ED;
  --ht-text: #1F2937;
  --ht-sub: #6B7280;
  --ht-line: #E5E7EB;
  --ht-done: #4B5563;
  --ht-done-soft: #F3F4F6;
  --ht-pending: #6D28D9;
  --ht-pending-soft: #F5F3FF;
}

/* ---- 絞り込み ---- */
.ht-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
}
.ht-filters__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ht-sub);
  margin-right: 4px;
}
.ht-pill,
.ht-toggle {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--ht-line);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ht-text);
  text-decoration: none;
  background: #fff;
}
.ht-pill:hover,
.ht-toggle:hover {
  border-color: var(--ht-accent);
  color: var(--ht-accent);
}
.ht-pill.is-active {
  background: var(--ht-accent);
  border-color: var(--ht-accent);
  color: #fff;
}
.ht-toggle {
  margin-left: auto;
  border-style: dashed;
}

/* ---- カレンダー ---- */
.ht-calendar {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 1px solid var(--ht-line);
}
.ht-calendar__item {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--ht-line);
}
.ht-calendar__item::before {
  display: none !important;
}
.ht-calendar__item a {
  display: grid;
  grid-template-columns: 9.5em 6.5em 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 8px;
  color: var(--ht-text);
  text-decoration: none;
}
.ht-calendar__item a:hover {
  background: var(--ht-accent-soft);
}
.ht-calendar__date {
  font-weight: 700;
  color: var(--ht-deadline);
  font-variant-numeric: tabular-nums;
}
.ht-calendar__body strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.ht-calendar__body span {
  display: block;
  font-size: 14px;
  color: var(--ht-sub);
  line-height: 1.7;
}
.ht-calendar__size {
  margin-top: 4px;
  font-size: 13px !important;
}
.ht-empty {
  color: var(--ht-sub);
}

/* ---- 状態の印 ---- */
.ht-badge {
  display: inline-block;
  justify-self: start;
  align-self: start;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}
.ht-badge--upcoming {
  background: var(--ht-deadline-soft);
  color: var(--ht-deadline);
}
.ht-badge--done {
  background: var(--ht-done-soft);
  color: var(--ht-done);
}
.ht-badge--pending {
  background: var(--ht-pending-soft);
  color: var(--ht-pending);
}

@media (max-width: 600px) {
  .ht-calendar__item a {
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
  }
  .ht-calendar__body {
    grid-column: 1 / -1;
  }
  .ht-toggle {
    margin-left: 0;
  }
}

/* ---- 期限ボックス ---- */
.ht-deadline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  margin: 0 0 16px;
  border: 1px solid var(--ht-deadline);
  border-left-width: 6px;
  border-radius: 6px;
  background: var(--ht-deadline-soft);
}
.ht-deadline__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ht-deadline);
}
.ht-deadline__date {
  font-size: 22px;
  color: var(--ht-text);
}
.ht-deadline__remain {
  font-size: 14px;
  font-weight: 700;
  color: var(--ht-deadline);
}
.ht-deadline__law {
  font-size: 13px;
  color: var(--ht-sub);
}
.ht-deadline__link {
  font-size: 13px;
  color: var(--ht-accent);
}

/* ---- 法改正ページの基本データ ---- */
.ht-law-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
}
.ht-law-table th,
.ht-law-table td {
  padding: 12px 14px;
  border: 1px solid var(--ht-line);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}
.ht-law-table th {
  width: 9em;
  background: var(--ht-accent-soft);
  color: var(--ht-accent);
  white-space: nowrap;
}
.ht-law-more a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--ht-accent);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}
.ht-law-source {
  font-size: 13px;
  color: var(--ht-sub);
}

/* ---- 記事テンプレートの部品 ---- */
.ht-ceo-box {
  padding: 24px 24px 8px;
  margin-bottom: 32px;
  border: 2px solid var(--ht-accent);
  border-radius: 8px;
  background: var(--ht-accent-soft);
}
.ht-ceo-box > .wp-block-heading:first-child {
  margin-top: 0;
  color: var(--ht-accent);
}
.ht-ceo-box table th {
  width: 9em;
  white-space: nowrap;
}
.ht-staff-label {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  background: var(--ht-text);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.ht-meta {
  font-size: 13px;
  color: var(--ht-sub);
}
.ht-pr {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--ht-sub);
  border-radius: 3px;
  font-size: 12px;
  color: var(--ht-sub);
}
.ht-faq details {
  border-bottom: 1px solid var(--ht-line);
  padding: 12px 0;
}
.ht-faq summary {
  font-weight: 700;
  cursor: pointer;
}

/* ---- トップページ ---- */
.ht-hero {
  padding: 48px 32px 40px;
  margin: 0 0 56px;
  border-radius: 12px;
  background: var(--ht-accent-soft);
}
.ht-hero__title {
  margin: 0 0 12px !important;
  font-size: clamp(26px, 4.2vw, 40px) !important;
  font-weight: 800;
  line-height: 1.35 !important;
  color: var(--ht-text);
}
.ht-hero__lead {
  font-size: 16px;
  color: var(--ht-text);
  margin-bottom: 24px !important;
}
.ht-hero__label {
  font-size: 14px !important;
  font-weight: 700;
  color: var(--ht-sub);
  margin-bottom: 8px !important;
}
.ht-hero .wp-block-buttons {
  gap: 8px;
}
.ht-hero .wp-block-button__link {
  padding: 8px 20px !important;
  border: 1px solid var(--ht-accent) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--ht-accent) !important;
  font-size: 15px !important;
  font-weight: 700;
  text-decoration: none;
}
.ht-hero .wp-block-button__link:hover {
  background: var(--ht-accent) !important;
  color: #fff !important;
}
.ht-section {
  margin: 0 0 56px;
}
.ht-more {
  text-align: right;
  margin-top: 12px !important;
}
.ht-more a {
  font-weight: 700;
  color: var(--ht-accent);
  text-decoration: none;
}
.ht-tiles {
  gap: 16px !important;
}
.ht-tile {
  height: 100%;
  padding: 20px !important;
  border: 1px solid var(--ht-line);
  border-radius: 10px;
  background: #fff;
}
.ht-tile p {
  margin: 0 0 6px !important;
}
.ht-tile__name a,
.ht-tile__name {
  font-size: 18px !important;
  font-weight: 800;
  color: var(--ht-accent);
  text-decoration: none;
}
.ht-tile__desc {
  font-size: 14px !important;
  color: var(--ht-sub);
  line-height: 1.7 !important;
}
.ht-tile--soon .ht-tile__name {
  color: var(--ht-sub);
}
.ht-latest {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  border-top: 1px solid var(--ht-line);
}
.ht-latest li {
  padding: 16px 4px !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--ht-line);
}
.ht-latest li::before {
  display: none !important;
}
.ht-latest a {
  font-size: 17px;
  font-weight: 700;
  color: var(--ht-text);
  text-decoration: none;
}
.ht-latest .wp-block-latest-posts__post-date {
  display: block;
  font-size: 13px;
  color: var(--ht-sub);
}
.ht-latest .wp-block-latest-posts__post-excerpt {
  margin: 4px 0 0 !important;
  font-size: 14px;
  color: var(--ht-sub);
}
.ht-newsletter {
  padding: 28px !important;
  border-radius: 12px;
  border: 1px dashed var(--ht-accent);
}

/* =====================================================================
 * 1.1.0 サイト全体の見た目(AFFINGERの上書き)
 * =================================================================== */
body.wp-theme-affinger {
  color: var(--ht-text);
}
#headbox-bg-fixed {
  background: #fff !important;
}
#headbox {
  padding: 14px 10px !important;
}
#st-text-logo .descr {
  font-size: 12px !important;
  color: var(--ht-sub) !important;
  font-weight: 500 !important;
  margin: 0 0 2px !important;
}
#st-text-logo .sitename {
  margin: 0 !important;
}
#st-text-logo .sitename a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: .02em;
  color: var(--ht-text) !important;
  text-decoration: none;
}
#st-text-logo .sitename a::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ht-accent);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}
#st-menubox {
  background: #fff !important;
  border-top: 1px solid var(--ht-line) !important;
  border-bottom: 1px solid var(--ht-line) !important;
}
#st-menuwide nav ul.menu {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 4px 28px;
  padding: 0 20px !important;
}
#st-menuwide nav ul.menu > li {
  float: none !important;
  width: auto !important;
  border: none !important;
}
#st-menuwide nav ul.menu > li > a {
  padding: 12px 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--ht-text) !important;
  background: none !important;
  border: none !important;
}
#st-menuwide nav ul.menu > li > a:hover {
  color: var(--ht-accent) !important;
}
#st-menuwide nav ul.menu > li:first-child > a {
  color: var(--ht-accent) !important;
}

/* ---- トップページ:1カラム・全幅 ---- */
body.ht-is-home #side,
body.ht-is-home .sns,
body.ht-is-home .st-author-box,
body.ht-is-home #breadcrumb {
  display: none !important;
}
body.ht-is-home #contentInner {
  float: none !important;
  margin: 0 !important;
  width: 100% !important;
}
body.ht-is-home #contentInner main {
  margin: 0 !important;
  padding: 0 0 24px !important;
  background: transparent !important;
}
body.ht-is-home #content-w {
  padding-top: 0 !important;
}
body.ht-is-home .entry-content > *:first-child {
  margin-top: 0;
}
body.ht-is-home {
  overflow-x: hidden;
}
.ht-home p {
  margin: 0;
}
.ht-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.ht-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.ht-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
  border: 1.5px solid var(--ht-accent);
  font-family: inherit;
}
.ht-btn--primary {
  background: var(--ht-accent);
  color: #fff !important;
}
.ht-btn--primary:hover {
  background: #1E3A8A;
  box-shadow: 0 6px 16px rgba(30, 64, 175, .25);
}
.ht-btn--ghost {
  background: #fff;
  color: var(--ht-accent) !important;
}
.ht-btn--ghost:hover {
  background: var(--ht-accent-soft);
}
.ht-btn--white {
  background: #fff;
  border-color: #fff;
  color: var(--ht-accent) !important;
}
.ht-btn--block {
  width: 100%;
}

/* hero */
.ht-hero2 {
  background: linear-gradient(180deg, #EEF3FF 0%, #F7F9FD 100%);
  border-bottom: 1px solid var(--ht-line);
}
.ht-hero2__in {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.ht-eyebrow {
  display: inline-block;
  margin-bottom: 18px !important;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #C7D2FE;
  font-size: 14px;
  font-weight: 700;
  color: var(--ht-accent);
}
.ht-hero2__title {
  margin-bottom: 20px !important;
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: .01em;
  color: #0F172A;
}
.ht-hero2__title span {
  color: var(--ht-accent);
}
.ht-hero2__lead {
  margin-bottom: 28px !important;
  font-size: 17px;
  line-height: 1.9;
  color: #374151;
}
.ht-hero2__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.ht-hero2__points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.ht-hero2__points li {
  position: relative;
  margin: 0 !important;
  padding: 0 0 0 22px !important;
  font-size: 14px;
  color: #374151;
}
.ht-hero2__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #15803D;
  font-weight: 800;
}
.ht-finder {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--ht-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}
.ht-finder__title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
}
.ht-finder__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}
.ht-finder__field select {
  width: 100%;
  min-height: 50px;
  padding: 0 12px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  color: #0F172A;
  font-family: inherit;
}
.ht-finder__note {
  font-size: 13px;
  color: var(--ht-sub);
  text-align: center;
}

/* sections */
.ht-sec {
  padding-top: 64px;
}
.ht-sec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 8px;
}
.ht-home h2.ht-sec__title,
.entry-content .ht-home h2.ht-sec__title {
  position: relative;
  margin: 0 !important;
  padding: 0 0 0 16px !important;
  background: none !important;
  border: none !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  line-height: 1.4 !important;
}
.ht-home h2.ht-sec__title::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: .2em !important;
  bottom: .2em !important;
  width: 5px !important;
  height: auto !important;
  border: none !important;
  border-radius: 3px;
  background: var(--ht-accent) !important;
}
.ht-home h2.ht-sec__title::after {
  display: none !important;
}
.ht-sec__more {
  font-size: 15px;
  font-weight: 700;
  color: var(--ht-accent) !important;
  text-decoration: none !important;
}
.ht-sec__lead {
  margin-bottom: 20px !important;
  font-size: 15px;
  color: var(--ht-sub);
}
.ht-sec__head + .ht-cards,
.ht-sec__head + .ht-tiles2,
.ht-sec__head + .ht-empty-box {
  margin-top: 20px;
}

/* calendar on home */
.ht-home .ht-calendar {
  border: 1px solid var(--ht-line) !important;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.ht-home .ht-calendar__item:last-child {
  border-bottom: none;
}
.ht-calendar__item a {
  grid-template-columns: 10em 6.5em 1fr auto !important;
  align-items: center !important;
  padding: 20px 24px !important;
}
.ht-calendar__date {
  font-size: 16px;
}
.ht-calendar__cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--ht-accent);
  white-space: nowrap;
}
.ht-calendar__cta::after {
  content: " →";
}
.ht-calendar__item--done .ht-calendar__date {
  color: var(--ht-done);
}
.ht-filter-note {
  margin: -12px 0 16px !important;
  font-size: 14px;
  color: var(--ht-sub);
}

/* latest cards */
.ht-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ht-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--ht-line);
  border-radius: 12px;
  background: #fff;
  color: var(--ht-text) !important;
  text-decoration: none !important;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ht-card:hover {
  border-color: #A5B4FC;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
  transform: translateY(-2px);
}
.ht-card__cat {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ht-accent-soft);
  color: var(--ht-accent);
  font-size: 12px;
  font-weight: 700;
}
.ht-card__title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}
.ht-card__excerpt {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ht-sub);
}
.ht-card__date {
  margin-top: auto;
  font-size: 13px;
  color: var(--ht-sub);
}
.ht-empty-box {
  padding: 28px;
  border: 1px dashed #CBD5E1;
  border-radius: 12px;
  background: #F8FAFC;
  color: var(--ht-sub);
  font-size: 15px;
}

/* tiles */
.ht-tiles2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ht-tiles2--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ht-tile2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--ht-line);
  border-radius: 12px;
  background: #fff;
  color: var(--ht-text) !important;
  text-decoration: none !important;
  transition: border-color .15s, box-shadow .15s;
}
a.ht-tile2:hover {
  border-color: var(--ht-accent);
  box-shadow: 0 8px 20px rgba(30, 64, 175, .10);
}
.ht-tile2__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
}
.ht-tile2__name em {
  padding: 2px 8px;
  border-radius: 999px;
  background: #F1F5F9;
  color: var(--ht-sub);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
.ht-tile2__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ht-sub);
}
.ht-tile2__go {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ht-accent);
}
.ht-tile2.is-soon {
  background: #F8FAFC;
}

/* newsletter band */
.ht-nl {
  margin-top: 72px;
  background: #1E3A8A;
}
.ht-nl__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.ht-nl__badge {
  display: inline-block;
  margin-bottom: 10px !important;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.ht-nl__title {
  margin-bottom: 8px !important;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}
.ht-nl__lead {
  font-size: 15px;
  color: #DBEAFE;
}

@media (max-width: 900px) {
  .ht-hero2__in {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .ht-cards,
  .ht-tiles2,
  .ht-tiles2--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ht-calendar__item a {
    grid-template-columns: 1fr auto !important;
    padding: 16px !important;
  }
  .ht-calendar__body,
  .ht-calendar__cta {
    grid-column: 1 / -1;
  }
  #st-menuwide nav ul.menu {
    gap: 4px 18px;
  }
}
@media (max-width: 600px) {
  .ht-cards,
  .ht-tiles2,
  .ht-tiles2--3 {
    grid-template-columns: 1fr;
  }
  .ht-sec {
    padding-top: 48px;
  }
  .ht-home h2.ht-sec__title,
  .entry-content .ht-home h2.ht-sec__title {
    font-size: 22px !important;
  }
  .ht-finder {
    padding: 20px;
  }
}

/* =====================================================================
 * 1.1.1 記事ページの仕上げ
 * =================================================================== */
/* メニュー:縦位置をそろえる */
#st-menubox,
#st-menuwide,
#st-menuwide-fixed,
#st-menuwide nav {
  height: auto !important;
  min-height: 0 !important;
}
#st-menuwide nav ul.menu {
  align-items: center;
  min-height: 48px;
}
#st-menuwide nav ul.menu > li > a {
  display: block;
  height: auto !important;
  line-height: 1.5 !important;
  padding: 13px 0 !important;
}
/* 本文の枠を外し、左端をロゴにそろえる */
body.single #contentInner main,
body.page:not(.ht-is-home) #contentInner main {
  border: none !important;
  background: transparent !important;
  padding: 24px 20px 40px !important;
}
/* タイトルを文節で折り返す */
.entry-title,
.ht-card__title,
.kanren-t {
  word-break: auto-phrase;
  text-wrap: pretty;
}
.entry-title {
  font-size: 30px !important;
  line-height: 1.45 !important;
}
/* 投稿日はAFFINGERの表示を消し、本文冒頭の「◯年◯月◯日時点の情報」に一本化 */
body.single .blogbox {
  display: none !important;
}
/* 結論の囲み:上の余白を詰める */
.ht-ceo-box {
  padding: 24px 28px 12px !important;
}
.ht-ceo-box > .wp-block-heading:first-child,
.ht-ceo-box > .wp-block-group__inner-container > .wp-block-heading:first-child,
.entry-content .ht-ceo-box h2.wp-block-heading:first-child {
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: 22px !important;
}
.ht-ceo-box .wp-block-heading:first-child::before,
.ht-ceo-box .wp-block-heading:first-child::after {
  display: none !important;
}
.ht-ceo-box h3 {
  margin-top: 20px !important;
}
.ht-ceo-box .wp-block-table td {
  background: #fff;
}
/* 表:薄い罫線、見出しは左寄せ */
.entry-content table {
  width: 100%;
  border-collapse: collapse !important;
  border: 1px solid var(--ht-line) !important;
  font-size: 15px;
}
.entry-content table th,
.entry-content table td {
  padding: 12px 14px !important;
  border: 1px solid var(--ht-line) !important;
  text-align: left !important;
  vertical-align: top !important;
  line-height: 1.7 !important;
}
.entry-content table tbody th {
  width: 9em;
  background: #F8FAFC !important;
  color: #334155 !important;
  font-weight: 700 !important;
}
.entry-content table thead th {
  background: var(--ht-accent-soft) !important;
  color: var(--ht-accent) !important;
  font-weight: 700 !important;
  white-space: nowrap;
}
.entry-content .wp-block-table {
  margin-bottom: 24px !important;
  overflow-x: auto;
}
.entry-content .wp-block-table table {
  margin: 0 !important;
}
/* サイドバー */
.ht-side-box {
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid var(--ht-line);
  border-radius: 12px;
  background: #fff;
}
.ht-side-box__title {
  margin: 0 0 10px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
}
.ht-side-sizes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 12px !important;
  padding: 0 !important;
  list-style: none !important;
}
.ht-side-sizes li {
  margin: 0 !important;
  padding: 0 !important;
}
.ht-side-sizes li::before {
  display: none !important;
}
.ht-side-sizes a {
  display: block;
  padding: 8px 0;
  border: 1px solid #C7D2FE;
  border-radius: 8px;
  background: var(--ht-accent-soft);
  color: var(--ht-accent) !important;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
}
.ht-side-sizes a:hover {
  background: var(--ht-accent);
  color: #fff !important;
}
.ht-side-cta {
  display: block;
  padding: 11px 0;
  border-radius: 8px;
  background: var(--ht-accent);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
}
#side .ht-deadline {
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .entry-title {
    font-size: 24px !important;
  }
  body.single #contentInner main,
  body.page:not(.ht-is-home) #contentInner main {
    padding: 16px 4px 32px !important;
  }
  .entry-content table tbody th {
    width: 7em;
  }
}
