/* CMS rendered article area styles. Keep all rules scoped to .cms-content */

/* ─── NEWS カード: リンク全体クリック対応 ─── */
.info-card-link {
  display: contents;
  text-decoration: none;
  color: inherit;
}

/* ─── NEWS カード: サムネイル画像 ─── */
.info-card-thumb.has-thumb {
  background-size: cover;
  background-position: center;
}

/* ─── NEWS 空メッセージ ─── */
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  opacity: 0.6;
  font-size: 0.95rem;
}



.cms-content {
  color: var(--ink);
  line-height: 1.75;
}

.cms-content > *:first-child {
  margin-top: 0;
}

.cms-content > *:last-child {
  margin-bottom: 0;
}

.cms-content h1,
.cms-content h2,
.cms-content h3,
.cms-content h4 {
  margin: 1.5em 0 0.55em;
  line-height: 1.35;
  color: var(--ink);
}

.cms-content h1 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.cms-content h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.cms-content h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
}

.cms-content .ql-size-small {
  font-size: 0.82em;
}

.cms-content .ql-size-large {
  font-size: 1.28em;
}

.cms-content .ql-size-huge {
  font-size: 1.62em;
}

.cms-content .ql-align-center {
  text-align: center;
}

.cms-content .ql-align-right {
  text-align: right;
}

.cms-content .ql-align-justify {
  text-align: justify;
}

.cms-content .cms-section-heading {
  margin: 1.7em 0 0.8em;
  padding: 0.55em 0.8em;
  background: var(--sky-300);
  color: rgba(10, 42, 68, 0.92);
  font-size: 1.28em;
  font-weight: 700;
}

.cms-content p,
.cms-content ul,
.cms-content ol,
.cms-content blockquote,
.cms-content table {
  margin: 0.95em 0;
}

.cms-content a {
  color: var(--sky-700);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.cms-content img,
.cms-content video,
.cms-content iframe {
  max-width: 100%;
  border-radius: 16px;
}

.cms-content figure {
  margin: 1.2em 0;
}

.cms-content figcaption {
  margin-top: 0.55em;
  font-size: 0.9rem;
  color: rgba(10, 42, 68, 0.7);
}

.cms-content .ql-align-center img {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.cms-content .ql-align-right img {
  display: block;
  margin-left: auto;
}

.cms-content blockquote {
  padding: 0.9em 1em;
  border-left: 4px solid var(--sky-500);
  background: rgba(231, 245, 255, 0.58);
  border-radius: 0 16px 16px 0;
}

.cms-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
}

.cms-content th,
.cms-content td {
  border: 1px solid rgba(14, 106, 169, 0.2);
  padding: 0.6em 0.75em;
  text-align: left;
}

.cms-content th {
  background: rgba(137, 216, 255, 0.2);
}

.cms-content hr,
.cms-content .cms-divider {
  border: none;
  border-top: 1px solid rgba(14, 106, 169, 0.2);
  margin: 1.3em 0;
}
