/* 記事本文（全企業CMS共通）。表の枠線・見出し色・表内スワイプはここで定義する。 */
.cms-article-body,
.cms-body,
.prose .cms-article-body,
.prose .cms-body {
  font-size: 1rem;
  line-height: 1.75;
  word-wrap: break-word;
  max-width: 100%;
  min-width: 0;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100%;
}

html:has(.cms-table-scroll),
body:has(.cms-table-scroll) {
  overflow-x: hidden !important;
  max-width: 100%;
}

.wrap,
.narrow,
.article,
.article-page,
.prose,
.cms-article-body,
.cms-body {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.cms-article-body p,
.cms-body p {
  margin: 0 0 1em;
}

.cms-article-body p:last-child,
.cms-body p:last-child {
  margin-bottom: 0;
}

.cms-article-body ul,
.cms-article-body ol,
.cms-body ul,
.cms-body ol {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

.cms-article-body ul,
.cms-body ul {
  list-style-type: disc;
}

.cms-article-body ol,
.cms-body ol {
  list-style-type: decimal;
}

.cms-article-body li,
.cms-body li {
  margin: 0.25em 0;
}

.cms-article-body ul ul,
.cms-article-body ul ol,
.cms-article-body ol ul,
.cms-article-body ol ol,
.cms-body ul ul,
.cms-body ul ol,
.cms-body ol ul,
.cms-body ol ol {
  margin-bottom: 0;
}

.cms-article-body img,
.cms-body img {
  max-width: 100%;
  height: auto;
}

.cms-article-body blockquote,
.cms-body blockquote {
  margin: 0 0 1em;
  padding: 0.25em 0 0.25em 1em;
  border-left: 4px solid #cbd5e1;
  color: #475569;
}

.cms-table-scroll,
.cms-article-body .cms-table-scroll,
.cms-body .cms-table-scroll {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  margin: 0 0 1em;
}

.cms-table-scroll__pane {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.cms-table-scroll__pane > table {
  display: table;
}

.cms-article-body table,
.cms-article-body .cms-article-table,
.cms-body table,
.cms-body .cms-article-table {
  width: max-content;
  min-width: 100%;
  max-width: none;
  border-collapse: collapse;
  table-layout: auto;
  margin: 0;
}

.cms-article-body table:has(col[style*="width"]),
.cms-article-body table:has(col[width]),
.cms-body table:has(col[style*="width"]),
.cms-body table:has(col[width]) {
  table-layout: fixed;
}

.cms-article-body th,
.cms-article-body td,
.cms-body th,
.cms-body td {
  border-width: 1px !important;
  border-style: solid !important;
  border-color: var(--cms-table-border, #707070) !important;
  padding: 0.5em 0.7em;
  vertical-align: top;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.cms-article-body th,
.cms-article-body thead td,
.cms-body th,
.cms-body thead td {
  background-color: var(--cms-table-th-bg, #E8E8E8) !important;
  font-weight: 700;
  text-align: left;
}

.cms-table-scroll .scroll-hint-x__sign,
.cms-article-body .scroll-hint-x__sign,
.cms-body .scroll-hint-x__sign,
.cms-table-scroll .scroll-hint-x__sign-inner,
.cms-article-body .scroll-hint-x__sign-inner,
.cms-body .scroll-hint-x__sign-inner {
  display: none !important;
}

.cms-table-scroll .scroll-hint-x__sign,
.cms-article-body .scroll-hint-x__sign,
.cms-body .scroll-hint-x__sign {
  position: absolute;
  inset: 0;
  z-index: 20;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cms-table-scroll .scroll-hint-x__sign-inner,
.cms-article-body .scroll-hint-x__sign-inner,
.cms-body .scroll-hint-x__sign-inner {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 5.5rem;
  min-height: 5.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: 9999px;
  background: var(--cms-scroll-hint-bg, rgba(0, 32, 69, 0.82));
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 32, 69, 0.28);
}

.cms-table-scroll .scroll-hint-x__hand,
.cms-article-body .scroll-hint-x__hand,
.cms-body .scroll-hint-x__hand {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.cms-table-scroll .scroll-hint-x__label,
.cms-article-body .scroll-hint-x__label,
.cms-body .scroll-hint-x__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (max-width: 767.98px) {
  .cms-table-scroll.is-hinting > .scroll-hint-x__sign,
  .cms-article-body .scroll-hint-x.is-hinting > .scroll-hint-x__sign,
  .cms-body .scroll-hint-x.is-hinting > .scroll-hint-x__sign {
    display: flex !important;
    animation: scrollHintSignLife 2s ease-out forwards;
  }

  .cms-table-scroll.is-hinting > .scroll-hint-x__sign > .scroll-hint-x__sign-inner,
  .cms-article-body .scroll-hint-x.is-hinting > .scroll-hint-x__sign > .scroll-hint-x__sign-inner,
  .cms-body .scroll-hint-x.is-hinting > .scroll-hint-x__sign > .scroll-hint-x__sign-inner {
    display: flex !important;
  }

  .cms-table-scroll.is-hinting .scroll-hint-x__hand,
  .cms-article-body .scroll-hint-x.is-hinting .scroll-hint-x__hand,
  .cms-body .scroll-hint-x.is-hinting .scroll-hint-x__hand {
    animation: scrollHintHand 0.75s ease-in-out infinite;
  }
}

@keyframes scrollHintSignLife {
  0% { opacity: 0; }
  12% { opacity: 1; }
  75% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes scrollHintHand {
  0% { transform: translateX(16px); }
  100% { transform: translateX(-16px); }
}

.cms-article-body .cms-text-marker,
.cms-body .cms-text-marker {
  background: linear-gradient(#fff59d, #fff59d) no-repeat bottom;
  background-size: 100% 60%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.prose .cms-article-body h1,
.prose .cms-body h1,
.cms-article-body h1,
.cms-body h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 1.25em 0 0.6em;
  color: #0f172a;
  scroll-margin-top: 6rem;
}

.prose .cms-article-body h2,
.prose .cms-body h2,
.cms-article-body h2,
.cms-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 1.15em 0 0.55em;
  color: #0f172a;
  scroll-margin-top: 6rem;
}

.prose .cms-article-body h3,
.prose .cms-body h3,
.cms-article-body h3,
.cms-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 1em 0 0.5em;
  color: #1e293b;
  scroll-margin-top: 6rem;
}

.prose .cms-article-body h4,
.prose .cms-body h4,
.cms-article-body h4,
.cms-body h4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0.9em 0 0.45em;
  color: #334155;
  scroll-margin-top: 6rem;
}

.cms-article-body h1:first-child,
.cms-article-body h2:first-child,
.cms-article-body h3:first-child,
.cms-article-body h4:first-child,
.cms-body h1:first-child,
.cms-body h2:first-child,
.cms-body h3:first-child,
.cms-body h4:first-child {
  margin-top: 0;
}

.cms-article-body .cms-toc,
.cms-body .cms-toc {
  margin: 0 0 1.5em;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
}

.cms-article-body .cms-toc__title,
.cms-body .cms-toc__title {
  margin: 0;
  padding: 0.7em 1.25em;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  background: #455f88;
  width: 100%;
  box-sizing: border-box;
}

.cms-article-body .cms-toc__note,
.cms-body .cms-toc__note {
  margin: 0;
  padding: 1em 1.25em;
  font-size: 0.875rem;
  color: #64748b;
}

.cms-article-body .cms-toc__list,
.cms-body .cms-toc__list {
  margin: 0;
  padding: 0 0.8rem;
  list-style: none;
}

.cms-article-body .cms-toc__item,
.cms-body .cms-toc__item {
  margin: 0;
  padding: 0.7em 0;
  font-size: 0.875rem;
  line-height: 1.5;
  border-bottom: none;
}

.cms-article-body .cms-toc__item--h2-break,
.cms-body .cms-toc__item--h2-break {
  border-top: 1px solid #cbd5e1;
  margin-top: 0.35em;
  padding-top: 0.85em;
}

.cms-article-body .cms-toc__level-1,
.cms-body .cms-toc__level-1 {
  font-weight: 700;
}

.cms-article-body .cms-toc__level-2,
.cms-body .cms-toc__level-2 {
  padding-left: 0;
}

.cms-article-body .cms-toc__level-3,
.cms-body .cms-toc__level-3 {
  padding-left: 1em;
}

.cms-article-body .cms-toc__level-4,
.cms-body .cms-toc__level-4 {
  padding-left: 2em;
}

.cms-article-body .cms-toc__link,
.cms-body .cms-toc__link {
  display: flex;
  align-items: flex-start;
  gap: 0.35em;
  color: #1d4ed8;
  text-decoration: none;
}

.cms-article-body .cms-toc__num,
.cms-body .cms-toc__num {
  flex-shrink: 0;
  min-width: 0;
  font-variant-numeric: tabular-nums;
  color: #475569;
  font-weight: 700;
}

.cms-article-body .cms-toc__num::after,
.cms-body .cms-toc__num::after {
  content: ".";
}

.cms-article-body .cms-toc__text,
.cms-body .cms-toc__text {
  flex: 1;
  min-width: 0;
}

.cms-article-body .cms-toc__link:hover,
.cms-body .cms-toc__link:hover {
  text-decoration: underline;
}

html:has(.cms-article-body .cms-toc),
html:has(.cms-body .cms-toc) {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

.cms-author-card--compact {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 1.5em;
}

.cms-author-card__compact-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 360px;
  padding: 0.5rem 0;
}

.cms-author-card__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #86a0cd;
  background: #fff;
}

.cms-author-card__compact-text {
  text-align: left;
  min-width: 0;
}

.cms-author-card__position {
  margin: 0 0 0.25em;
  font-size: 0.8125rem;
  line-height: 1.45;
  font-weight: 500;
  color: #755a2c;
}

.cms-author-card__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #002045;
}

.cms-author-card--full {
  margin: 0;
  padding: 1.5rem 1.75rem;
  border: 1px solid #e0e3e5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 32, 69, 0.06);
}

.cms-detail-supplement {
  box-sizing: border-box;
  width: 100%;
  max-width: 700px;
  margin: 2.75em auto 0;
}

.cms-detail-supplement .cms-related-articles {
  margin-top: 2rem;
}

.cms-author-card__author-label {
  margin: 0 0 0.75em;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  color: #002045;
}

.cms-author-card__full-grid {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 1.5rem;
  align-items: start;
}

.cms-author-card__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.cms-author-card--full .cms-author-card__photo {
  width: 120px;
  height: 120px;
  border-color: #86a0cd;
}

.cms-author-card__profile-text .cms-author-card__position {
  font-size: 0.875rem;
}

.cms-author-card__profile-text .cms-author-card__name {
  font-size: 1.125rem;
}

.cms-author-card__comment {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #43474e;
}

.cms-author-card__content {
  display: flex;
  flex-direction: column;
  gap: 1em;
  min-width: 0;
}

.cms-author-card__career-body {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #43474e;
}

.cms-author-card__comment + .cms-author-card__career-body {
  margin-top: 0.25em;
}

.cms-related-articles {
  width: 100%;
}

.cms-related-articles__panel {
  background: #fff;
  border: 1px solid #e0e3e5;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 32, 69, 0.06);
}

.cms-related-articles__head {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e0e3e5;
}

.cms-related-articles__eyebrow {
  margin: 0 0 0.35em;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: #755a2c;
}

.cms-related-articles__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cms-related-articles__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  color: #002045;
}

.cms-related-articles__count {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
}

.cms-related-articles__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cms-related-articles__item {
  margin: 0;
}

.cms-related-articles__item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid #e0e3e5;
  border-radius: 10px;
  background: #f7fafc;
  text-decoration: none;
  color: #002045;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.cms-related-articles__item > a:hover {
  background: #eef1f3;
  border-color: #86a0cd;
  box-shadow: 0 2px 8px rgba(0, 32, 69, 0.08);
}

.cms-related-articles__item > a > span:first-child {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
}

.cms-related-articles__item .material-symbols-outlined {
  font-size: 1.35rem;
  color: #755a2c;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .cms-author-card--compact .cms-author-card__photo {
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 640px) {
  .cms-author-card__full-grid {
    grid-template-columns: 1fr;
  }

  .cms-author-card__profile {
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
  }

  .cms-author-card--full .cms-author-card__photo {
    width: 80px;
    height: 80px;
  }
}

/* 過去記事リンク（[plea_article]）— 本文と区別するコンパクトカード */
.cms-article-body a.plea-article-banner,
.cms-body a.plea-article-banner,
.prose .cms-article-body a.plea-article-banner,
.prose a.plea-article-banner {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  max-width: 28rem !important;
  width: fit-content !important;
  box-sizing: border-box !important;
  margin: 1.15em 0 !important;
  padding: 8px 12px 8px 8px !important;
  border: 1px solid #d0d7e2 !important;
  border-radius: 10px !important;
  background: #f6f8fb !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important;
  text-decoration: none !important;
  color: #0f172a !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

.cms-article-body a.plea-article-banner:hover,
.cms-body a.plea-article-banner:hover,
.prose a.plea-article-banner:hover {
  border-color: #94a3b8 !important;
  background: #eef2f7 !important;
  text-decoration: none !important;
  color: #0f172a !important;
}

.cms-article-body .plea-article-banner__thumb,
.cms-body .plea-article-banner__thumb {
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
  width: 72px !important;
  height: 54px !important;
  overflow: hidden !important;
  border-radius: 6px !important;
  background: #e2e8f0 !important;
}

.cms-article-body .plea-article-banner__thumb img,
.cms-body .plea-article-banner__thumb img {
  display: block !important;
  width: 72px !important;
  height: 54px !important;
  object-fit: cover !important;
  margin: 0 !important;
  border: 0 !important;
}

.cms-article-body .plea-article-banner__body,
.cms-body .plea-article-banner__body {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
}

.cms-article-body .plea-article-banner__label,
.cms-body .plea-article-banner__label {
  display: block !important;
  margin: 0 !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: #64748b !important;
  line-height: 1.2 !important;
}

.cms-article-body .plea-article-banner__title,
.cms-body .plea-article-banner__title,
.cms-article-body p.plea-article-banner__title,
.cms-body p.plea-article-banner__title {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #0f172a !important;
}

.cms-article-body .plea-article-banner__excerpt,
.cms-body .plea-article-banner__excerpt,
.cms-article-body p.plea-article-banner__excerpt,
.cms-body p.plea-article-banner__excerpt {
  display: -webkit-box !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: #64748b !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

.cms-article-body .plea-article-banner--missing,
.cms-body .plea-article-banner--missing {
  display: block !important;
  max-width: 28rem !important;
  margin: 1em 0 !important;
  padding: 8px 12px !important;
  border: 1px dashed #cbd5e1 !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  color: #64748b !important;
  font-size: 0.85rem !important;
}
