/* 記事・カテゴリ・固定ページ・エージェント・LP 共通（TOP以外）。仮スタイル: 構造確認用 */

.ct-main {
    padding: 72px 0 80px;
    background: #fff;
    color: #222;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.8;
}

.ct-wrap {
    box-sizing: border-box;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.ct-wrap--narrow {
    max-width: 920px;
}

/* パンくず */
.ct-breadcrumb {
    padding: 20px 0 8px;
    font-size: 12px;
    color: #777;
}

.ct-breadcrumb a {
    color: inherit;
    text-decoration: underline;
}

/* 一覧ヘッダー */
.ct-archive-head {
    padding: 24px 0 16px;
}

.ct-archive-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
}

.ct-archive-desc {
    margin-top: 12px;
    color: #555;
}

/* 子カテゴリなどのチップ */
.ct-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 24px;
}

.ct-chip {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 14px;
    color: #222;
    text-decoration: none;
}

.ct-chip:hover {
    background: #FABE00;
    border-color: #FABE00;
}

/* 次の一歩の案内 */
.ct-callout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 24px 0 32px;
    padding: 20px 24px;
    background: #fff8e1;
    border-radius: 8px;
}

.ct-callout__text {
    font-weight: 700;
}

.ct-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: #FABE00;
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

.ct-btn:hover {
    opacity: 0.7;
}

/* カードグリッド */
.ct-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 24px 0 40px;
}

.ct-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ct-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #eee;
}

.ct-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ct-card__noimg {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f1f1, #e3e3e3);
}

.ct-card__body {
    padding-top: 10px;
}

.ct-card__cat {
    display: inline-block;
    padding: 0 10px;
    border-radius: 4px;
    background: #FABE00;
    font-size: 12px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

.ct-card__title {
    margin-top: 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.ct-card__date {
    font-size: 12px;
    color: #888;
}

.ct-card__link:hover .ct-card__title {
    text-decoration: underline;
}

/* ページ送り */
.ct-pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.ct-pager .page-numbers {
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #222;
    text-decoration: none;
}

.ct-pager .current {
    background: #222;
    border-color: #222;
    color: #fff;
}

.ct-empty {
    padding: 40px 0;
    color: #777;
}

/* 記事本文 */
.ct-article__head {
    padding: 16px 0 8px;
}

.ct-article__title {
    margin-top: 8px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.5;
}

.ct-article__dates {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    font-size: 13px;
    color: #888;
}

.ct-article__eye {
    margin: 16px 0;
}

.ct-article__eye img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.ct-article__cta {
    margin: 32px 0;
    text-align: center;
}

.ct-pr {
    margin-top: 12px;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.ct-pr a {
    color: inherit;
    text-decoration: underline;
}

.ct-rating strong {
    font-size: 24px;
    color: #e08a00;
}

.ct-content {
    margin-top: 24px;
    font-size: 16px;
}

.ct-content h2 {
    margin: 48px 0 16px;
    padding: 8px 0 8px 14px;
    border-left: 6px solid #FABE00;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}

.ct-content h3 {
    margin: 32px 0 12px;
    font-size: 18px;
    font-weight: 700;
}

.ct-content p {
    margin-bottom: 1.2em;
}

.ct-content ul,
.ct-content ol {
    margin: 0 0 1.2em 1.4em;
}

.ct-content ul {
    list-style: disc;
}

.ct-content ol {
    list-style: decimal;
}

.ct-content a {
    color: #0b63ce;
    text-decoration: underline;
}

.ct-content table {
    width: 100%;
    margin-bottom: 1.4em;
    border-collapse: collapse;
    font-size: 14px;
}

.ct-content th,
.ct-content td {
    padding: 10px 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.ct-content th {
    background: #f7f7f7;
}

.ct-content--lead {
    margin-bottom: 32px;
}

/* 関連・セクション */
.ct-related,
.ct-section {
    margin-top: 48px;
}

.ct-related__title,
.ct-section__title {
    font-size: 22px;
    font-weight: 700;
}

@media screen and (max-width: 767px) {
    .ct-main {
        padding-bottom: 56px;
    }

    .ct-archive-title,
    .ct-article__title {
        font-size: 24px;
    }

    .ct-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ct-callout {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 動画（YouTube埋め込み） */
.ct-video {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.ct-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 記事末尾の著者欄 */
.ct-author {
    margin-top: 40px;
    padding: 20px 22px;
    border-left: 5px solid var(--ct-key);
    border-radius: 4px;
    background: var(--ct-gray);
    font-size: 14px;
    line-height: 1.8;
}

.ct-author__label {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--ct-orange);
}

.ct-author__list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 16px;
    margin-top: 8px;
}

.ct-author__list dt {
    font-weight: 900;
}

.ct-author__list dd {
    font-weight: 700;
}

.ct-author__links {
    display: flex;
    gap: 18px;
    margin-top: 10px;
    font-size: 13px;
}

.ct-author__links a {
    text-decoration: underline;
}

.ct-author__credit {
    margin-top: 4px;
    font-weight: 700;
}

/* 運営者情報などの表: 見出し列は折り返さない */
.ct-content .wp-block-table th {
    white-space: nowrap;
}

/* ---------- TOPのトンマナに揃える（下層ページ共通） ---------- */
.ct-main {
    background: var(--ct-gray);
}

.ct-wrap--narrow > .ct-article {
    margin-bottom: 40px;
    padding: 36px 40px 44px;
    background: #fff;
    box-shadow: var(--ct-shadow-sm);
}

.ct-eyebrow {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    color: var(--ct-orange);
}

.ct-archive-head {
    padding: 28px 0 8px;
}

.ct-archive-title,
.ct-article__title {
    font-weight: 900;
    letter-spacing: 0.02em;
    text-wrap: balance;
}

.ct-archive-title {
    margin-top: 6px;
    font-size: 40px;
}

.ct-archive-desc {
    color: var(--ct-black);
    font-weight: 500;
}

.ct-chip {
    border: 0;
    background: #fff;
    box-shadow: var(--ct-shadow-sm);
    font-weight: 700;
}

.ct-chip:hover {
    background: var(--ct-key);
}

.ct-callout {
    border-left: 6px solid var(--ct-key);
    border-radius: 0;
    background: #fff;
    box-shadow: var(--ct-shadow-sm);
}

.ct-btn {
    border-radius: 0;
    background: var(--ct-black);
    color: #fff;
}

.ct-grid {
    gap: 28px;
}

.ct-card__link {
    height: 100%;
    background: #fff;
    box-shadow: var(--ct-shadow-sm);
    transition: transform 0.2s;
}

.ct-card__link:hover {
    transform: translateY(-3px);
}

.ct-card__thumb {
    border-radius: 0;
}

.ct-card__body {
    padding: 14px 18px 18px;
}

.ct-card__link:hover .ct-card__title {
    text-decoration: none;
}

.ct-card__date {
    display: block;
    margin-top: 6px;
}

.ct-section__title,
.ct-related__title {
    padding-left: 14px;
    border-left: 6px solid var(--ct-key);
    font-weight: 900;
    line-height: 1.3;
}

.ct-pager .current {
    background: var(--ct-black);
    border-color: var(--ct-black);
}

@media screen and (max-width: 767px) {
    .ct-wrap--narrow > .ct-article {
        margin-right: -20px;
        margin-left: -20px;
        padding: 24px 20px 32px;
        box-shadow: none;
    }

    .ct-archive-title {
        font-size: 28px;
    }
}

.ct-content .wp-block-table table,
.ct-content .wp-block-table th,
.ct-content .wp-block-table td {
    border-color: #ddd;
}

.ct-content .wp-block-table th {
    background: var(--ct-gray);
}

/* 著者欄: 記事カードと同じ白カード＋影 */
.ct-author {
    padding: 22px 26px 20px;
    border: 1px solid #eee;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.ct-author__label {
    display: inline-block;
    padding: 0 10px;
    background: var(--ct-key);
    color: var(--ct-black);
    letter-spacing: 0.04em;
}

.ct-author__links {
    padding-top: 12px;
    border-top: 1px solid #eee;
}

/* 日本語の文節で折り返す（対応ブラウザのみ。タイトルが「事／業内容」のように途中で切れにくくなる） */
.ct-article__title,
.ct-archive-title,
.ct-card__title {
    word-break: auto-phrase;
}

/* サムネのない企業情報カード: 業種名を大きく表示（TOPの企業カードと同じ見せ方） */
.ct-card__noimg--text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: var(--ct-key);
    color: var(--ct-black);
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

.ct-grid > .ct-card:nth-child(3n+2) .ct-card__noimg--text {
    background: var(--ct-black);
    color: var(--ct-key);
}

.ct-grid > .ct-card:nth-child(3n) .ct-card__noimg--text {
    background: var(--ct-gray);
}

/* 企業情報一覧（/companies/）の企業名検索: 左寄せ・一覧と同じ幅 */
.ct-company__search--archive {
    max-width: 640px;
    margin: 20px 0 0;
}

.ct-company__search--archive + .ct-chips {
    margin-top: 20px;
}

/* 企業情報一覧（/companies/）: 入力・業種選択に合わせた絞り込み */
.ct-chip.is-active {
    background: #FABE00;
    border-color: #FABE00;
    font-weight: 700;
}

.ct-company__status--archive {
    margin: 28px 0 16px;
    font-size: 14px;
    font-weight: 700;
}

.ct-company__status--archive:empty {
    display: none;
}

.ct-grid.is-loading {
    opacity: .45;
    transition: opacity .15s;
}

[data-ct-a-list][hidden],
[data-ct-a-empty][hidden],
[data-ct-a-pager][hidden],
[data-ct-a-more-wrap][hidden] {
    display: none;
}

.ct-pager[hidden] {
    display: none;
}

/* 一覧ページの「先頭へ戻る」ボタン */
.ct-pagetop {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 2900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--ct-key);
    color: var(--ct-black);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
}

.ct-pagetop.is-show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.ct-pagetop:hover {
    background: #e6ac00;
}

@media screen and (max-width: 1180px) {
    .ct-pagetop {
        right: 14px;
        bottom: 70px; /* 下部の固定バー（高さ54px）の上 */
        width: 44px;
        height: 44px;
    }
}

/* 動画一覧の絞り込み中 */
[data-ct-vlist].is-loading {
    opacity: .45;
    transition: opacity .15s;
}

.ct-chips--video {
    margin-top: 8px;
}


/* カテゴリ一覧の絞り込み中 */
[data-ct-catbox].is-loading {
    opacity: .45;
    transition: opacity .15s;
}

/* 選択中のカテゴリボタンに、解除できることを示す小さな「×」（「すべて」には付けない） */
[data-ct-catchips] .ct-chip.is-active:not(:first-child)::after,
[data-ct-vchips] .ct-chip.is-active:not(:first-child)::after,
[data-ct-a-chips] .ct-chip.is-active::after,
[data-ct-a-industry] .ct-chip-btn.is-active::after {
    content: '×';
    display: inline-block;
    margin-left: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ct-black);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    vertical-align: 1px;
}

/* ---------- 固定ページの注意書きボックス ---------- */
.ct-content .ct-callout {
    margin: 0 0 1.4em;
    padding: 16px 20px;
    border: 2px solid #000;
    border-radius: 4px;
    background: #FFFBEA;
}

.ct-content .ct-callout > :last-child {
    margin-bottom: 0;
}

/* ---------- お問い合わせ（Contact Form 7） ---------- */
.ct-contact__head {
    margin: 8px 0 28px;
}

.ct-contact__title {
    margin-top: 4px;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.4;
}

.ct-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
    align-items: start;
}

.ct-contact__info,
.ct-contact__form {
    box-sizing: border-box;
    padding: 28px 22px;
    background: #fff;
    box-shadow: var(--ct-shadow-sm);
}

.ct-contact__lead {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.9;
}

.ct-contact__sub {
    margin: 24px 0 12px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.5;
}

.ct-contact__list {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.ct-contact__list li {
    position: relative;
    padding: 6px 0 6px 28px;
    font-size: 15px;
    font-weight: 700;
}

.ct-contact__list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 13px;
    width: 12px;
    height: 7px;
    border-left: 3px solid #FABE00;
    border-bottom: 3px solid #FABE00;
    transform: rotate(-45deg);
}

.ct-contact__note {
    margin: 0 0 20px;
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
    font-size: 14px;
    line-height: 1.9;
}

.ct-contact__box {
    padding: 14px 16px;
    border: 2px solid #000;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.8;
}

.ct-contact__box p {
    margin: 0;
}

.ct-contact__box a {
    color: #000;
    font-weight: 800;
    text-decoration: underline;
}

/* フォーム本体 */
.ct-form__row {
    margin-bottom: 26px;
}

.ct-form__label {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}

.ct-form__label label {
    font-weight: 800;
}

.ct-req {
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: 3px;
    background: #fdecea;
    color: #c62828;
    font-size: 11px;
    font-weight: 700;
    vertical-align: 1px;
}

.ct-form__help {
    margin: 6px 0 0;
    color: #666;
    font-size: 13px;
    line-height: 1.7;
}

.ct-form .wpcf7-form-control-wrap {
    display: block;
}

.ct-form input[type=text],
.ct-form input[type=email],
.ct-form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 0 14px;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    background: #fff;
    color: #000;
    font: inherit;
    font-size: 16px;
    transition: box-shadow .15s;
}

.ct-form input[type=text],
.ct-form input[type=email] {
    height: 52px;
}

.ct-form textarea {
    min-height: 200px;
    padding: 12px 14px;
    line-height: 1.8;
    resize: vertical;
}

.ct-form input:hover,
.ct-form textarea:hover {
    border-color: #888;
}

.ct-form input:focus,
.ct-form textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(250, 190, 0, .55);
}

.ct-form ::placeholder {
    color: #999;
}

/* 選択肢はボタン形式（選んだものは黄色） */
.ct-form .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ct-form .wpcf7-list-item {
    margin: 0;
}

.ct-form .wpcf7-radio label {
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    background: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}

.ct-form .wpcf7-radio label:hover {
    border-color: #000;
}

.ct-form .wpcf7-radio label:has(input:checked) {
    border-color: #000;
    background: #FABE00;
}

.ct-form .wpcf7-radio input {
    position: absolute;
    width: 0;
    height: 0;
    margin: 0;
    opacity: 0;
}

.ct-form .wpcf7-radio label:has(input:focus-visible) {
    outline: 3px solid #FABE00;
    outline-offset: 2px;
}

/* 同意・送信 */
.ct-form__agree {
    margin: 32px 0 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.ct-form__agree .wpcf7-list-item {
    margin: 0;
}

.ct-form__agree label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.ct-form__agree input[type=checkbox] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #000;
}

.ct-form__agree a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ct-form__submit {
    text-align: center;
}

.ct-form .ct-form__btn {
    box-sizing: border-box;
    width: 100%;
    max-width: 360px;
    min-height: 60px;
    padding: 14px 20px;
    border: 2px solid #FABE00;
    border-radius: 4px;
    background: #FABE00;
    color: #000;
    font: inherit;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    transition: opacity .2s;
}

.ct-form .ct-form__btn:hover {
    opacity: .8;
}

.ct-form .ct-form__btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* 入力エラー・送信結果 */
.ct-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #c62828;
    font-size: 13px;
    font-weight: 700;
}

.ct-form .wpcf7-not-valid {
    border-color: #c62828;
}

.ct-contact__form .wpcf7 form .wpcf7-response-output {
    margin: 24px 0 0;
    padding: 14px 16px;
    border: 2px solid #000;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
}

.ct-contact__form .wpcf7 form.sent .wpcf7-response-output {
    border-color: #2e7d32;
    background: #eef7ee;
}

.ct-contact__form .wpcf7 form.invalid .wpcf7-response-output,
.ct-contact__form .wpcf7 form.failed .wpcf7-response-output,
.ct-contact__form .wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #c62828;
    background: #fdecea;
}

.ct-form .wpcf7-spinner {
    display: block;
    margin: 12px auto 0;
}

@media screen and (min-width: 900px) {
    .ct-contact {
        grid-template-columns: 380px minmax(0, 1fr);
        gap: 32px;
    }

    .ct-contact__info,
    .ct-contact__form {
        padding: 40px 36px;
    }

    .ct-contact__form {
        padding-bottom: 48px;
    }

    .ct-form__row {
        display: grid;
        grid-template-columns: 190px minmax(0, 1fr);
        column-gap: 24px;
        align-items: start;
    }

    .ct-form__label {
        margin: 0;
        padding-top: 14px;
    }

    .ct-contact__title {
        font-size: 40px;
    }
}

/* ---------- 記事内の「関連記事」ボタン（.kt-linkbtns）: 悩み別の入口（.ct-need-link）と同じカードの見た目 ---------- */
.ct-content .kt-linkbtns {
    margin: 2.2em 0;
}

.ct-content .kt-linkbtns__title {
    margin: 0 0 14px !important;
    padding-left: 12px;
    border-left: 6px solid var(--ct-key);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.3;
}

.ct-content ul.kt-linkbtns__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ct-content ul.kt-linkbtns__list > li {
    margin: 0;
    padding: 0;
}

.ct-content ul.kt-linkbtns__list a {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 100%;
    min-height: 58px;
    padding: 14px 44px 14px 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--ct-shadow-sm);
    color: var(--ct-black) !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    text-decoration: none !important;
}

.ct-content ul.kt-linkbtns__list a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 8px;
    height: 8px;
    border: solid #000;
    border-width: 0 3px 3px 0;
    transform: translateY(-50%) rotate(-45deg);
}

.ct-content ul.kt-linkbtns__list a:hover {
    background: var(--ct-key);
}

@media screen and (min-width: 768px) {
    .ct-content ul.kt-linkbtns__list {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 奇数のときは、最後の1つを横幅いっぱいに */
    .ct-content ul.kt-linkbtns__list > li:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* 近日公開のカード（リンクにしない） */
.ct-card--soon .ct-card__link { display: block; cursor: default; }
.ct-card--soon .ct-card__thumb { opacity: .55; filter: grayscale(.4); }
.ct-card__soon { display: inline-block; margin-top: 8px; padding: 2px 12px; border-radius: 999px; background: var(--ct-black, #121212); color: var(--ct-key, #FABE00); font-size: 12px; font-weight: 800; line-height: 1.6; }

/* ---------- 下層ページのヒーロー（背景はTOPのKVと同じ黄色のグラデーション。白文字・上下左右中央） ----------
 * 参考: suke-dachi.jp/contact/ の contact-common-hero（高さ PC 240px / SP 110px、小さなラベルは枠なしの白文字、タイトルはその約2倍の大きさ） */
.ct-main--hero { padding-top: 0; }

.ct-page-hero {
    background-image: linear-gradient(34deg, #eca709 40%, #facd5e 98%);
    color: #fff;
}

.ct-page-hero__inner {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    max-width: 1080px;
    height: 110px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.ct-page-hero__small {
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.5;
}

.ct-page-hero__title {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: .03em;
    text-wrap: balance;
}

@media screen and (min-width: 1181px) {
    .ct-page-hero__inner { height: 240px; gap: 6px; }
    .ct-page-hero__small { font-size: 17px; }
    .ct-page-hero__title { font-size: 38px; }
}

/* 長いタイトル（記事・企業・エージェントの個別ページ）: 高さは内容に合わせて、文字は少し小さく */
.ct-page-hero--long .ct-page-hero__inner { height: auto; min-height: 110px; padding: 22px 20px 24px; max-width: 920px; }
.ct-page-hero--long .ct-page-hero__title { font-size: 20px; line-height: 1.45; }
@media screen and (min-width: 1181px) {
    .ct-page-hero--long .ct-page-hero__inner { min-height: 170px; padding: 30px 20px 34px; }
    .ct-page-hero--long .ct-page-hero__title { font-size: 30px; }
}

/* ---------- 無料の診断・ツール一覧（/tools/） ---------- */
.ct-toollist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.ct-toolcard {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    height: 100%;
    box-sizing: border-box;
    padding: 20px 18px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .12);
    color: #111;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.ct-toolcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}

.ct-toolcard__mark {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ct-key, #FABE00);
    color: #111;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.ct-toolcard__mark.is-long {
    font-size: 20px;
}

/* TOPの入口と同じアイコン（角丸の薄黄色の箱。inc/top-icons.php のSVG）。カードに乗せたら黄色になる */
.ct-toolcard__mark--ico {
    width: 60px;
    height: 60px;
    border: 2px solid #FABE00;
    border-radius: 16px;
    background: #FFF4CC;
    transition: background .2s;
}

.ct-toolcard__mark--ico svg {
    display: block;
    width: 34px;
    height: 34px;
    color: #121212;
}

.ct-toolcard:hover .ct-toolcard__mark--ico {
    background: #FABE00;
}

.ct-toolcard:hover .ct-toolcard__mark--ico svg [fill="#FABE00"] {
    fill: #fff;
}

@media screen and (max-width: 639px) {
    .ct-toolcard__mark--ico {
        width: 54px;
        height: 54px;
        border-radius: 14px;
    }

    .ct-toolcard__mark--ico svg {
        width: 30px;
        height: 30px;
    }
}

.ct-toolcard__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.ct-toolcard__meta {
    align-self: flex-start;
    padding: 2px 10px;
    border-radius: 999px;
    background: #111;
    color: var(--ct-key, #FABE00);
    font-size: 11px;
    font-weight: 800;
}

.ct-toolcard__title {
    font-size: 19px;
    font-weight: 900;
    line-height: 1.4;
}

.ct-toolcard__text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.8;
    color: #333;
}

.ct-toolcard__go {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 800;
}

@media screen and (min-width: 640px) {
    .ct-toollist {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (min-width: 1024px) {
    .ct-toollist {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* ---------- 課題ボード（共有用ページ。js/board.js でタブ化） ---------- */
.ct-board { max-width: 880px; margin: 0 auto; }
.ct-board__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ct-board__tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 2px solid #121212; border-radius: 999px; background: #fff; color: #121212; font-weight: 800; font-size: 15px; cursor: pointer; }
.ct-board__tab em { font-style: normal; min-width: 22px; padding: 0 6px; border-radius: 999px; background: #121212; color: #fff; font-size: 12px; line-height: 22px; text-align: center; }
.ct-board__tab.is-on { background: var(--ct-key); }
.ct-board__sec[hidden] { display: none; }
.ct-board__h { margin: 0 0 14px; font-size: 20px; font-weight: 900; }
.ct-board__item { margin: 0 0 12px; padding: 16px 18px; border: 1px solid #ddd; border-left: 6px solid var(--ct-key); border-radius: 8px; background: #fff; }
.ct-board__item h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.ct-board__item p { margin: 0 0 6px; font-size: 14px; line-height: 1.8; }
.ct-board__meta { color: #666; font-size: 12px !important; }
.ct-board__empty { color: #666; font-size: 14px; }
@media (max-width: 640px) {
	.ct-board__tab { padding: 8px 14px; font-size: 14px; }
}
.ct-board__note { padding: 10px 14px; border-radius: 8px; background: #fff7d6; font-size: 13px; }
.ct-board__bar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ct-board__set { padding: 6px 12px; border: 1px solid #121212; border-radius: 999px; background: #fff; color: #121212; font-size: 12px; font-weight: 700; cursor: pointer; }
.ct-board__set.is-on { background: #121212; color: #fff; }
.ct-board__item[data-state="done"] { border-left-color: #2e9e5b; }
.ct-board__item[data-state="miss"] { border-left-color: #d64545; }
.ct-board__item[data-state="checking"] { border-left-color: #3a7bd5; }

/* 著者欄の監修者の補足、運営者ページの注記 */
.ct-author__list dd a { text-decoration: underline; }
.ct-author__sub { display: block; font-size: 12px; font-weight: 400; color: #666; }
.ct-content .ct-note { font-size: 12px; line-height: 1.9; color: #666; }

/* 記事内の「関連記事」を、サムネ付きのコンパクトなカードに（inc/related-cards.php が .kt-linkbtns__list--cards を付ける） */
.ct-content ul.kt-linkbtns__list--cards a {
    gap: 12px;
    min-height: 0;
    padding: 10px 40px 10px 10px;
    font-size: 13.5px;
    line-height: 1.55;
}
.ct-content ul.kt-linkbtns__list--cards a::after {
    right: 16px;
    width: 7px;
    height: 7px;
    border-width: 0 2px 2px 0;
}
.ct-content .kt-linkbtns__list--cards .kt-relcard__thumb {
    flex: 0 0 112px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    background: var(--ct-gray);
}
.ct-content .kt-linkbtns__list--cards .kt-relcard__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}
.ct-content .kt-linkbtns__list--cards .kt-relcard__ttl {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
@media screen and (max-width: 639px) {
    .ct-content .kt-linkbtns__list--cards .kt-relcard__thumb { flex-basis: 96px; }
    .ct-content ul.kt-linkbtns__list--cards a { font-size: 13px; }
}

/* ページ送り: スマホで横にはみ出さないよう、折り返す（自動読み込みのあとに出す「次のページへ」の下でも使う） */
.ct-pager { flex-wrap: wrap; row-gap: 8px; }
@media screen and (max-width: 639px) {
    .ct-pager { gap: 6px; }
    .ct-pager .page-numbers { padding: 6px 11px; }
}
.ct-infinite-next { margin-bottom: 24px; }

/* 診断（長所診断・適職診断）の「診断をはじめる」ボタンの下の注意書き: ボタンに近すぎたので間をあける（本文のCSSで margin-top が0になっていた） */
.ct-content .kt-sd__btn + .kt-sd__note,
.ct-content .kt-tk__btn + .kt-tk__note {
    margin-top: 24px;
}

/* 鉄人先生の「相談と答え一覧」（/soudan/ の .ts-qa。本文のHTMLに入っている <style> を、この上書きで見やすくする）
   ・カテゴリの見出しは、黄色のバー付きの帯にして、質問より目立たせる
   ・質問は、太い黒枠をやめて、細い枠＋右に開閉の矢印。開いたら黄色の枠
   ・先頭に、カテゴリへ飛ぶボタン（js/sensei-qa.js） */
.ct-content .ts-qa h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2.6em 0 14px;
    padding: 12px 16px;
    border-left: 6px solid #FABE00;
    border-radius: 0 10px 10px 0;
    background: #f4f4f1;
    font-size: 19px;
    line-height: 1.4;
    scroll-margin-top: 90px;
}

.ct-content .ts-qa h3 .ts-qa__count {
    flex: none;
    padding: 2px 10px;
    border-radius: 999px;
    background: #121212;
    color: #FABE00;
    font-size: 12px;
    font-weight: 800;
}

.ct-content .ts-qa details {
    margin: 0 0 10px;
    border: 1px solid #dcdcd6;
    border-radius: 10px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.ct-content .ts-qa details:hover {
    border-color: #121212;
}

.ct-content .ts-qa details[open] {
    border-color: #FABE00;
    box-shadow: 0 0 0 1px #FABE00;
}

.ct-content .ts-qa summary {
    position: relative;
    padding: 14px 44px 14px 14px;
    font-size: 15.5px;
    font-weight: 700;
}

.ct-content .ts-qa summary::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
    background: #D65200;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    vertical-align: 1px;
}

.ct-content .ts-qa summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    border: solid #121212;
    border-width: 0 2px 2px 0;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s;
}

.ct-content .ts-qa details[open] summary {
    border-bottom: 1px solid #eee;
    background: #fffaf0;
    border-radius: 10px 10px 0 0;
}

.ct-content .ts-qa details[open] summary::after {
    transform: translateY(-30%) rotate(-135deg);
}

.ct-content .ts-qa p.ts-qa__a {
    padding: 14px 16px 10px;
}

.ct-content .ts-qa p.ts-qa__l {
    margin: 0 16px 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f4f4f1;
    font-size: 14px;
}

.ts-qa__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 8px;
}

.ts-qa__nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid #121212;
    border-radius: 999px;
    background: #fff;
    color: #121212;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.ts-qa__nav a:hover {
    background: #FABE00;
}

.ts-qa__nav a small {
    padding: 1px 7px;
    border-radius: 999px;
    background: #121212;
    color: #FABE00;
    font-size: 11px;
    font-weight: 800;
}

@media screen and (max-width: 639px) {
    .ct-content .ts-qa h3 {
        padding: 10px 12px;
        font-size: 17px;
    }

    .ct-content .ts-qa summary {
        padding-right: 40px;
        font-size: 15px;
    }

    .ct-content .ts-qa p.ts-qa__l {
        margin: 0 12px 12px;
    }
}

/* 鉄人先生の「相談と答え一覧」の「くわしく読む」: リンク先の記事のサムネ付きカード（inc/sensei-qa.php）。PCは2列、スマホは1列 */
.ct-content .ts-qa .ts-qa__rel {
    margin: 0;
    padding: 4px 16px 16px;
}

.ct-content .ts-qa .ts-qa__rel-lbl {
    margin: 0 0 8px;
    color: #666;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ct-content .ts-qa .ts-qa__rel ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ct-content .ts-qa .ts-qa__rel li {
    margin: 0;
    padding: 0;
}

.ct-content .ts-qa .ts-qa__rel li::before {
    content: none;
}

.ct-content .ts-qa .ts-qa__rel a {
    display: flex;
    gap: 10px;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    padding: 8px 10px 8px 8px;
    border: 1px solid #dcdcd6;
    border-radius: 8px;
    background: #f9f9f6;
    color: #121212;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}

.ct-content .ts-qa .ts-qa__rel a:hover {
    border-color: #121212;
    background: #fff;
}

.ct-content .ts-qa .ts-qa__rel-thumb {
    flex: 0 0 88px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 5px;
    background: #e8e8e4;
}

.ct-content .ts-qa .ts-qa__rel-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.ct-content .ts-qa .ts-qa__rel-thumb--ico {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #FABE00;
    background: #FFF4CC;
}

.ct-content .ts-qa .ts-qa__rel-thumb--ico svg {
    width: 30px;
    height: 30px;
    color: #121212;
}

.ct-content .ts-qa .ts-qa__rel-ttl {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media screen and (max-width: 639px) {
    .ct-content .ts-qa .ts-qa__rel {
        padding: 4px 12px 14px;
    }

    .ct-content .ts-qa .ts-qa__rel ul {
        grid-template-columns: 1fr;
    }

    .ct-content .ts-qa .ts-qa__rel-thumb {
        flex-basis: 96px;
    }
}

/* 鉄人先生の「あなた専用の就活ナビを作ろう」（プラグイン ct-tetsujin-sensei）:
   ・チップ（約1分／登録・料金なし／答えはこの端末にだけ保存）は、本文のリストの「2つ目以降は上に余白」が効いて、2つ目からだけ下にずれていた → 余白を0にそろえる
   ・「答えてみる」ボタンの上の余白が0になっていた → 20pxあける */
.ct-content .ts__pts,
.ts .ts__pts {
    margin: 0 0 20px !important;
    padding: 0;
    gap: 8px;
}

.ct-content .ts__pts li,
.ts .ts__pts li {
    margin: 0 !important;
    line-height: 1.5;
}

/* 鉄人先生の相談チャット: LINEのように、質問 → 入力中「…」 → 答え の順に出す（js/sensei-chat.js が .ts-fx-* を付ける） */
.ts .ts__row.ts-fx-hold {
    display: none;
}

.ts .ts__row.ts-fx-in-me {
    animation: ts-fx-me .32s cubic-bezier(.22, .8, .3, 1) both;
    transform-origin: right bottom;
}

.ts .ts__row.ts-fx-in-ai {
    animation: ts-fx-ai .38s cubic-bezier(.22, .8, .3, 1) both;
    transform-origin: left bottom;
}

@keyframes ts-fx-me {
    from { opacity: 0; transform: translate(18px, 6px) scale(.96); }
    to   { opacity: 1; transform: none; }
}

@keyframes ts-fx-ai {
    from { opacity: 0; transform: translateY(12px) scale(.97); }
    to   { opacity: 1; transform: none; }
}

/* 入力中の「…」（かつ丼の吹き出しの中で、3つの点が順にはねる） */
.ts .ts-fx-typing .ts__bub {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding-top: 14px;
    padding-bottom: 14px;
}

.ts .ts-fx-dot {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6f6f68;
    animation: ts-fx-dot 1s ease-in-out infinite;
}

.ts .ts-fx-dot:nth-child(2) { animation-delay: .16s; }
.ts .ts-fx-dot:nth-child(3) { animation-delay: .32s; }

@keyframes ts-fx-dot {
    0%, 60%, 100% { opacity: .4; transform: translateY(0); }
    30%           { opacity: 1;   transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
    .ts .ts__row.ts-fx-in-me,
    .ts .ts__row.ts-fx-in-ai { animation: none; }
}

/* /about/ の横並び・グリッドのリスト（SNSボタン・LINEルーム・数字のカード・リンク集など）:
   サイト全体の「.ct-content li + li { margin-top: .35em }」（kt-parts.css）が効いて、2つ目以降だけ下にずれ、1つ目が上がって見えていた → 余白を0にそろえる */
.ct-content .kt-about :is(.nums, .pillars, .rooms, .grid3, .stats, .sns, .links) > li {
    margin-top: 0;
}

/* TikTok動画（縦長）: 記事の動画は、細く中央に置く */
.ct-video.ct-video--tt {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    max-height: 640px;
}
.ct-article__eye--video:has(.ct-video--tt) { background: none; }


/* 運営者・監修者（/about/authors/）: 「かつ丼」の紹介（固定ページ12の本文の中の .ct-ya） */
.ct-content .ct-ya { margin: 8px 0 8px; }
.ct-content .ct-ya__lead { margin: 0 0 20px; padding: 26px 28px; border-radius: 18px; background: linear-gradient(135deg, #EAF3FC 0%, #F6F9FD 100%); border: 1px solid #D6E6F6; }
.ct-content .ct-ya__lead p { margin: 0 0 12px; }
.ct-content .ct-ya__lead p:last-child { margin-bottom: 0; }
.ct-content .ct-ya__kicker { display: inline-block; padding: 2px 12px; border-radius: 999px; background: #1B7FBE; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.ct-content .ct-ya__catch { font-size: 22px; font-weight: 900; line-height: 1.55; color: #121212; }
.ct-content .ct-ya__catch b { font-size: 1.45em; color: #1B7FBE; font-weight: 900; padding: 0 2px; }
.ct-content .ct-ya__stats { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ct-content .ct-ya__stats li { margin: 0; padding: 16px 10px 14px; border-radius: 14px; background: #fff; border: 1px solid #D6E6F6; box-shadow: 0 2px 8px rgba(27, 127, 190, .08); text-align: center; }
.ct-content .ct-ya__stats b { display: block; font-size: 26px; line-height: 1.2; font-weight: 900; color: #1B7FBE; letter-spacing: -.01em; }
.ct-content .ct-ya__stats b small { font-size: 12px; font-weight: 800; margin-left: 2px; color: #333; }
.ct-content .ct-ya__stats span { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; color: #555; }
.ct-content .ct-ya__h { margin: 34px 0 12px; }
.ct-content .ct-ya__table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; }
.ct-content .ct-ya__table thead th { padding: 9px 14px; background: #1B7FBE; color: #fff; font-size: 13px; text-align: left; }
.ct-content .ct-ya__table tbody th, .ct-content .ct-ya__table td { padding: 11px 14px; border-bottom: 1px solid #E3EBF2; text-align: left; vertical-align: middle; }
.ct-content .ct-ya__table tbody th { width: 52%; font-weight: 700; background: #F6F9FD; white-space: normal; }
.ct-content .ct-ya__table td { font-weight: 800; color: #121212; }
.ct-content .ct-ya__table tbody tr:nth-child(even) td { background: #FBFDFE; }
.ct-content .ct-ya__table--total tbody tr:last-child th, .ct-content .ct-ya__table--total tbody tr:last-child td { background: #EAF3FC; color: #1B7FBE; font-weight: 900; border-bottom: 0; }
.ct-content .ct-ya__note { font-size: 12px; line-height: 1.9; color: #666; }
.ct-content .ct-ya__why { margin-top: 34px; padding: 4px 26px 22px; border-left: 5px solid #1B7FBE; border-radius: 0 14px 14px 0; background: #F6F9FD; }
.ct-content .ct-ya__why .ct-ya__h { margin-top: 22px; }
.ct-content .ct-ya__sign { margin-top: 14px; font-weight: 800; text-align: right; }
@media (max-width: 767px) {
    .ct-content .ct-ya__lead { padding: 20px 18px; }
    .ct-content .ct-ya__catch { font-size: 18px; }
    .ct-content .ct-ya__stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ct-content .ct-ya__stats b { font-size: 22px; }
    .ct-content .ct-ya__table { font-size: 14px; }
    .ct-content .ct-ya__table tbody th { width: 48%; }
    .ct-content .ct-ya__why { padding: 2px 16px 18px; }
}

/* 企業情報の下: 関連ランキングへのリンク（single-companies.php） */
.ct-related__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; font-weight: 700; }
.ct-related__links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.ct-related__links--prep span { font-weight: 400; }
.ct-related__links--prep { margin-top: 10px; }
/* ランキング（1位〜100位）の社名のとなり: 企業研究へのリンク（inc/internal-links.php） */
.ct-content .ctrk__rs { display: inline-block; margin-left: 8px; padding: 1px 9px; border: 1px solid #1B7FBE; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.6; color: #1B7FBE; text-decoration: none; vertical-align: middle; white-space: nowrap; }

/* ホワイト企業一覧の「業界別のホワイト企業ランキング」（25件）。全部並べると長いので、はじめは検索で見られている順の上位だけ（PC 9件・スマホ 8件）。「すべての業界を見る」で残りを出す（リンクはHTMLにすべてある）。
   スマホは、横スワイプ（プラグイン ct-llmo）だと長いので、2列の一覧にする */
.ct-related__more { display: none; }
.ct-related--hub:not(.is-open) .ct-grid > .ct-card:nth-child(n+10) { display: none; }
.ct-related--hub:not(.is-open) .ct-related__more { display: block; width: 100%; max-width: 360px; margin: 22px auto 0; padding: 14px; border: 2px solid #121212; border-radius: 8px; background: #fff; color: #121212; font-size: 15px; font-weight: 700; cursor: pointer; }
@media (max-width: 767px) {
    .ct-related.ct-related--hub .ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 6px; padding: 0; overflow: visible; }
    .ct-related.ct-related--hub .ct-grid > .ct-card { flex: none; max-width: none; width: auto; min-width: 0; }
    .ct-related.ct-related--hub .ct-related__swipe { display: none; }
    .ct-related--hub .ct-card__cat, .ct-related--hub .ct-card__meta, .ct-related--hub .ct-card__date, .ct-related--hub .ct-card__stats { display: none; }
    .ct-related--hub .ct-card__title { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.5; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
    .ct-related--hub .ct-card__body { padding: 10px 10px 12px; }
    .ct-related--hub:not(.is-open) .ct-grid > .ct-card:nth-child(n+9) { display: none; }
    .ct-related--hub:not(.is-open) .ct-related__more { max-width: none; }
}
