/* CEOブログ: 官網の子ページ（news / news-detail）と同じ部品・配色で組む */
.cb-page { overflow-x: clip; }
.cb { position: relative; z-index: 10; }
.cb-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cb :focus-visible { outline: 2px solid var(--smhc-blue); outline-offset: 3px; }
.cb img { max-width: 100%; height: auto; display: block; }
.cb [hidden] { display: none !important; }

.cb-container { max-width: 1200px; margin: -60px auto 0; padding: 0 4% 100px; }
.cb-container--narrow { max-width: 960px; margin-top: -80px; }

/* news-detail と同じガラスカード */
.cb-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(0, 41, 136, 0.08);
}

/* ── 共通の小さな部品 ── */
.cb-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cb-date { font-family: var(--font-en); font-size: 0.95rem; color: #555; letter-spacing: 0.08em; }
.cb-cat { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: var(--smhc-blue-light); color: #0a7fc0; white-space: nowrap; text-decoration: none; }
.cb-cat--management { background: #eef1fb; color: #2a4aa8; }
.cb-cat--ai-dx { background: #e8f6fe; color: #0a7fc0; }
.cb-cat--healthcare { background: #e9f8f2; color: #12805c; }
.cb-cat--organization { background: #fff3e8; color: #b45309; }
a.cb-cat:hover { filter: brightness(0.96); }
.cb-read { font-size: 0.85rem; color: #666; }

.cb-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 32px; border-radius: 50px; border: 0;
    background: linear-gradient(135deg, #18A6F0, #0077cc); color: #fff;
    font-size: 0.95rem; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
    box-shadow: 0 8px 24px rgba(24, 166, 240, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cb-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(24, 166, 240, 0.45); color: #fff; }
.cb-btn:active { transform: translateY(0); }
.cb-btn:disabled, .cb-btn[aria-busy="true"] { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.cb-btn--ghost { background: #fff; color: var(--smhc-navy); border: 1px solid rgba(0, 26, 61, 0.18); box-shadow: none; }
.cb-btn--ghost:hover { color: var(--smhc-blue); border-color: var(--smhc-blue); box-shadow: none; }
.cb-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.cb-section-head { margin-bottom: 32px; }
.cb-section-title { font-size: 1.8rem; font-weight: 700; color: var(--smhc-navy); line-height: 1.4; margin: 0; }
.cb-section-sub { margin-top: 10px; color: #555; font-size: 0.95rem; }

/* ── 一覧：最新記事 ── */
.cb-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 40px; margin-bottom: 96px; }
.cb-feature__media { display: block; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--smhc-blue-light); }
.cb-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.cb-feature__media:hover img { transform: scale(1.03); }
.cb-feature__body { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.cb-feature__label { font-family: var(--font-en); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; color: var(--smhc-blue); }
.cb-feature__title { margin: 0; font-size: 1.75rem; font-weight: 700; line-height: 1.5; color: var(--smhc-navy); word-break: auto-phrase; overflow-wrap: break-word; }
.cb-feature__title a { color: inherit; text-decoration: none; }
.cb-feature__title a:hover { color: var(--smhc-blue); }
.cb-feature__desc { margin: 0; color: #444; line-height: 1.9; }

/* ── 一覧：タブ・検索 ── */
.cb-list-section { margin-bottom: 96px; scroll-margin-top: calc(var(--header-height) + 24px); }
.cb-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.cb-tab {
    --tab: var(--smhc-navy);
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 22px;
    border-radius: 50px; border: 1px solid rgba(0, 26, 61, 0.14); background: #fff;
    font-size: 0.95rem; font-weight: 700; color: var(--smhc-navy); text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.cb-tab::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--tab); }
.cb-tab--all::before { display: none; }
.cb-tab--management { --tab: #2a4aa8; }
.cb-tab--ai-dx { --tab: #0a8fd6; }
.cb-tab--healthcare { --tab: #12805c; }
.cb-tab--organization { --tab: #c2610c; }
.cb-tab:hover { border-color: var(--tab); box-shadow: 0 4px 12px rgba(0, 26, 61, 0.08); }
.cb-tab[aria-current="page"] { background: var(--tab); border-color: var(--tab); color: #fff; box-shadow: 0 6px 16px rgba(0, 26, 61, 0.18); }
.cb-tab__num { font-family: var(--font-en); font-size: 0.8rem; font-weight: 500; opacity: 0.7; }
.cb-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--smhc-navy); }
.cb-search { position: relative; flex: 0 1 360px; }
.cb-search__icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #888; pointer-events: none; }
.cb-input { width: 100%; min-height: 48px; padding: 0 20px 0 46px; border: 1px solid rgba(0, 26, 61, 0.15); border-radius: 50px; background: #fff; color: #222; font-size: 1rem; font-family: inherit; }
.cb-input:hover { border-color: rgba(0, 26, 61, 0.3); }
.cb-input:focus-visible { outline: 2px solid var(--smhc-blue); outline-offset: 0; border-color: var(--smhc-blue); }
html:not(.cb-js) .cb-search { display: none; }
.cb-sorts { display: flex; gap: 20px; }
.cb-sort { font-size: 0.9rem; color: #777; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.cb-sort:hover { color: var(--smhc-navy); }
.cb-sort[aria-current="page"] { color: var(--smhc-navy); font-weight: 700; border-bottom-color: var(--smhc-blue); }

/* 記事カード（一覧・関連・プロフィール共通） */
.cb-list { list-style: none; margin: 0; padding: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.cb-row { min-width: 0; }
.cb-row__link {
    display: flex; flex-direction: column; height: 100%; overflow: hidden; color: inherit; text-decoration: none;
    background: rgba(255, 255, 255, 0.8); border: 1px solid var(--smhc-border); border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cb-row__link:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 41, 136, 0.1); border-color: rgba(24, 166, 240, 0.4); }
.cb-row__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--smhc-blue-light); }
.cb-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.cb-row__link:hover .cb-row__media img { transform: scale(1.04); }
.cb-row__nocover { display: grid; place-items: center; height: 100%; font-weight: 700; color: var(--smhc-blue); }
.cb-row__body { display: grid; gap: 12px; padding: 20px 22px 24px; }
.cb-row__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cb-row__title { font-size: 1.02rem; font-weight: 700; line-height: 1.7; color: var(--smhc-navy); word-break: auto-phrase; overflow-wrap: break-word; transition: color 0.3s ease; }
.cb-row__link:hover .cb-row__title { color: var(--smhc-blue); }
.cb-js .cb-row.is-filtered, .cb-js .cb-row.is-paged { display: none; }
.cb-empty { text-align: center; padding: 60px 0; color: #777; }
.cb-more-wrap { text-align: center; margin-top: 56px; }
.cb-more-btn {
    display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 56px; border: 0; border-radius: 50px;
    background: linear-gradient(135deg, #18A6F0, #0077cc); color: #fff; font-size: 1rem; font-weight: 600; font-family: inherit;
    cursor: pointer; text-decoration: none; box-shadow: 0 8px 24px rgba(24, 166, 240, 0.4); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cb-more-btn::after { content: '+'; font-size: 1.2rem; font-weight: 300; }
.cb-more-btn--link::after { content: '→'; }
.cb-more-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(24, 166, 240, 0.55); color: #fff; }

/* ── 一覧：書き手 ── */
.cb-author { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: center; padding: 48px 56px; }
.cb-author__photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 30px rgba(0, 26, 61, 0.12); }
.cb-author__body { display: grid; gap: 12px; justify-items: start; }
.cb-author__role { margin: 0; font-size: 0.85rem; font-weight: 700; color: var(--smhc-blue); }
.cb-author__name { margin: 0; font-size: 1.6rem; font-weight: 700; color: var(--smhc-navy); }
.cb-author__bio { margin: 0 0 8px; color: #444; line-height: 1.9; max-width: 36em; }

/* ── 記事 ── */
.cb-article { padding: 56px 72px; }
.cb-byline { display: inline-flex; align-items: center; gap: 12px; margin: 20px 0 32px; color: inherit; text-decoration: none; }
.cb-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.cb-byline span { display: grid; line-height: 1.4; }
.cb-byline b { color: var(--smhc-navy); font-size: 0.95rem; }
.cb-byline small { color: #666; font-size: 0.8rem; }
.cb-byline:hover b { color: var(--smhc-blue); }
.cb-cover { margin: 0 0 40px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--smhc-blue-light); }
.cb-cover img { width: 100%; height: 100%; object-fit: cover; }

.cb-toc { background: #f8fbff; border: 1px solid #e1eefc; border-radius: 12px; padding: 24px 28px; margin-bottom: 40px; }
.cb-toc__title { margin: 0 0 12px; font-weight: 700; color: var(--smhc-navy); }
.cb-toc__list { margin: 0; padding-left: 1.4em; color: #888; }
.cb-toc__list li { margin: 6px 0; line-height: 1.6; }
.cb-toc__list a { color: #444; text-decoration: none; font-size: 0.95rem; }
.cb-toc__list a:hover { color: var(--smhc-blue); text-decoration: underline; }

.cb-prose { font-size: 1.05rem; line-height: 2; color: #333; }
.cb-prose > * { margin: 0; }
.cb-prose > * + * { margin-top: 1.4em; }
.cb-prose p + p { margin-top: 0.9em; }
.cb-prose h2 { margin-top: 2.6em; padding-left: 16px; border-left: 4px solid var(--smhc-blue); font-size: 1.5rem; font-weight: 700; line-height: 1.6; color: var(--smhc-navy); scroll-margin-top: calc(var(--header-height) + 24px); word-break: auto-phrase; }
.cb-prose h3 { margin-top: 2em; font-size: 1.2rem; font-weight: 700; line-height: 1.7; color: var(--smhc-navy); word-break: auto-phrase; }
.cb-prose strong { font-weight: 700; color: var(--smhc-navy); background: linear-gradient(transparent 62%, rgba(24, 166, 240, 0.16) 62%); }
.cb-prose a { color: var(--smhc-blue); text-decoration: underline; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.cb-prose a:hover { color: #0077cc; }
.cb-prose blockquote { padding: 16px 24px; border-radius: 12px; background: #f8fbff; color: #444; }
.cb-prose ul, .cb-prose ol { padding-left: 1.5em; }
.cb-prose li + li { margin-top: 0.4em; }
.cb-prose hr { width: 48px; height: 3px; margin: 2.6em 0; border: 0; border-radius: 2px; background: var(--smhc-blue); opacity: 0.4; }
.cb-source { margin: 48px 0 0; padding: 20px 24px; border-radius: 12px; background: var(--smhc-blue-light); font-size: 0.9rem; line-height: 1.9; color: #444; }
.cb-source a { margin-left: 0.5em; color: var(--smhc-blue); font-weight: 700; }
.cb-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; color: var(--smhc-navy); font-weight: 700; text-decoration: none; }
.cb-back:hover { color: var(--smhc-blue); }

.cb-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.cb-pager__link { display: grid; gap: 6px; padding: 24px 28px; border-radius: 20px; background: rgba(255, 255, 255, 0.6); border: 1px solid var(--smhc-border); color: inherit; text-decoration: none; transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.cb-pager__link--next { grid-column: 2; text-align: right; }
.cb-pager__link small { font-size: 0.8rem; color: var(--smhc-blue); font-weight: 700; }
.cb-pager__link span { color: var(--smhc-navy); font-weight: 500; line-height: 1.6; word-break: auto-phrase; }
.cb-pager__link:hover { border-color: var(--smhc-blue); box-shadow: 0 10px 30px rgba(0, 41, 136, 0.08); }

.cb-more { background: rgba(24, 166, 240, 0.03); padding: 80px 0 100px; }
.cb-more__inner { max-width: 1200px; margin: 0 auto; padding: 0 4%; }
.cb-more .cb-section-title { margin-bottom: 0; }

/* ── プロフィール ── */
.cb-profile { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: center; padding: 48px 56px; margin-bottom: 80px; }
.cb-profile__photo { width: 280px; height: 284px; border-radius: 24px; object-fit: cover; box-shadow: 0 16px 40px rgba(0, 26, 61, 0.14); }
.cb-profile__body { display: grid; gap: 12px; justify-items: start; }
.cb-profile__name { margin: 0 0 4px; font-size: 2.2rem; font-weight: 700; color: var(--smhc-navy); }
.cb-block { margin-bottom: 80px; }
.cb-timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid #d6e9fb; }
.cb-timeline li { position: relative; padding: 0 0 28px 8px; color: #333; line-height: 1.9; font-size: 1.02rem; }
.cb-timeline li:last-child { padding-bottom: 0; }
.cb-timeline li::before { content: ''; position: absolute; left: -38px; top: 0.6em; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--smhc-blue); }
.cb-topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cb-topics a { display: grid; gap: 10px; height: 100%; padding: 28px 24px; border-radius: 20px; background: rgba(255, 255, 255, 0.72); border: 1px solid var(--smhc-border); color: inherit; text-decoration: none; transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; }
.cb-topics b { font-size: 1.15rem; color: var(--smhc-navy); }
.cb-topics span { font-size: 0.9rem; color: #555; line-height: 1.8; }
.cb-topics a:hover { border-color: var(--smhc-blue); box-shadow: 0 10px 30px rgba(0, 41, 136, 0.08); transform: translateY(-3px); }

.cb-notfound { text-align: left; }

/* ── 画面幅ごと ── */
@media (max-width: 1024px) {
    .cb-feature { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px; margin-bottom: 72px; }
    .cb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
    .cb-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cb-article { padding: 48px 40px; }
}
@media (max-width: 768px) {
    .cb-container, .cb-container--narrow { margin-top: -40px; padding-bottom: 72px; }
    .cb-card { border-radius: 20px; }
    .cb-feature { padding: 20px; }
    .cb-feature__title { font-size: 1.35rem; }
    .cb-section-title { font-size: 1.45rem; }
    .cb-tab { font-size: 0.88rem; }
    .cb-search { flex-basis: 100%; }
    .cb-tab { padding: 0 16px; }
    .cb-author, .cb-profile { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 24px; justify-items: start; }
    .cb-author__photo { width: 120px; height: 120px; }
    .cb-profile__photo { width: 200px; height: 203px; }
    .cb-profile__name { font-size: 1.8rem; }
    .cb-article { padding: 32px 22px; }
    .cb-prose { font-size: 1rem; line-height: 1.95; }
    .cb-prose h2 { font-size: 1.3rem; }
    .cb-pager { grid-template-columns: minmax(0, 1fr); }
    .cb-pager__link--next { grid-column: 1; text-align: left; }
    .cb-topics { grid-template-columns: minmax(0, 1fr); }
    .cb-list { grid-template-columns: minmax(0, 1fr); }
    .cb-more { padding: 56px 0 72px; }
}
@media (prefers-reduced-motion: reduce) {
    .cb *, .cb *::before, .cb *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
