/**
 * コラム（トップの最新6件・一覧・記事ページ）
 * サイト共通の配色（ネイビー #020283 / レッド #E6192E / 黒 #111118 / 背景 #f5f5f8）と、
 * 太い黒枠＋ずらし影のカードに合わせています。
 */

/* ===========================================
   共通：カード
=========================================== */
.rcc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.rcc-card {
    background: #ffffff;
    border: 3px solid #111118;
    border-radius: 12px;
    box-shadow: 4px 4px 0 #111118;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rcc-card:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #111118;
}

.rcc-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.rcc-card__thumb {
    aspect-ratio: 1200 / 630;
    background: #eef0f8;
    border-bottom: 3px solid #111118;
    overflow: hidden;
}

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

.rcc-card__noimage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.rcc-card__noimage img {
    width: 55%;
    height: auto;
    object-fit: contain;
}

.rcc-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 22px;
}

.rcc-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #666677;
    font-size: 0.8rem;
    font-weight: 700;
}

.rcc-card__cat {
    padding: 2px 10px;
    background: #020283;
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.72rem;
}

.rcc-card__title {
    margin: 0;
    color: #111118;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.55;
}

.rcc-card__excerpt {
    margin: 0;
    color: #666677;
    font-size: 0.85rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===========================================
   共通：ボタン・パンくず・カテゴリー・ページ送り
=========================================== */
.rcc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: #020283;
    color: #ffffff !important;
    border: 3px solid #111118;
    border-radius: 999px;
    box-shadow: 4px 4px 0 #111118;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.3;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rcc-btn::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #FFD700;
    border-right: 2px solid #FFD700;
    transform: rotate(45deg);
}

.rcc-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #111118;
}

.rcc-more,
.rcc-back {
    margin-top: 40px;
    text-align: center;
}

.rcc-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    color: #666677;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.6;
}

.rcc-breadcrumb li + li::before {
    content: '›';
    margin-right: 6px;
    color: #9999aa;
}

.rcc-breadcrumb a {
    color: #020283;
    text-decoration: none;
}

.rcc-breadcrumb a:hover {
    text-decoration: underline;
}

.rcc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.rcc-chips a {
    display: inline-block;
    padding: 6px 16px;
    background: #ffffff;
    color: #020283;
    border: 2px solid #111118;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 900;
    text-decoration: none;
}

.rcc-chips a[aria-current="page"],
.rcc-chips a:hover {
    background: #020283;
    color: #ffffff;
}

.rcc-pagination {
    margin-top: 40px;
}

.rcc-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.rcc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    background: #ffffff;
    color: #111118;
    border: 3px solid #111118;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
}

.rcc-pagination .page-numbers.current,
.rcc-pagination a.page-numbers:hover {
    background: #020283;
    color: #ffffff;
}

.rcc-empty {
    padding: 40px 16px;
    color: #666677;
    text-align: center;
}

/* 斜めストライプの見出し（トップのブログ欄と同じ意匠） */
.rcc-striped {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    padding: 12px 24px;
    background: repeating-linear-gradient(45deg, #020283, #020283 10px, #ffffff 10px, #ffffff 20px);
    border: 3px solid #111118;
    border-radius: 8px;
    transform: rotate(-1deg);
    box-sizing: border-box;
}

.rcc-striped h2 {
    display: inline-block;
    margin: 0;
    padding: 4px 16px;
    background: #ffffff;
    color: #E6192E;
    border: 3px solid #111118;
    border-radius: 4px;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.rcc-br-sp {
    display: none;
}

/* ===========================================
   トップページ：コラム欄
=========================================== */
.rcc-front {
    padding: 48px 0 56px;
    background: #ffffff;
    color: #111118;
    scroll-margin-top: 90px;
}

.rcc-front__inner,
.rcc-archive__inner {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.rcc-front__lead {
    margin: 0 0 28px;
    color: #333344;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.8;
}

/* ===========================================
   コラム一覧
=========================================== */
.rcc-page {
    padding-top: 100px;
    color: #111118;
}

.rcc-archive {
    padding: 24px 0 64px;
}

.rcc-archive__header {
    margin-bottom: 28px;
}

.rcc-archive__label {
    display: inline-block;
    margin: 0 0 10px;
    padding: 4px 12px;
    background: #E6192E;
    color: #ffffff;
    border: 2px solid #111118;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.2em;
}

.rcc-archive__title {
    margin: 0 0 12px;
    color: #111118;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    line-height: 1.4;
}

.rcc-archive__title .accent {
    color: #020283;
    font-style: italic;
}

.rcc-archive__page {
    font-size: 0.6em;
    font-weight: 700;
}

.rcc-archive__lead {
    max-width: 48rem;
    margin: 0;
    color: #333344;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.8;
}

/* ===========================================
   コラム記事
=========================================== */
.rcc-single {
    padding: 24px 0 64px;
}

.rcc-single__inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.rcc-article {
    padding: 40px 44px 44px;
    background: #ffffff;
    border: 3px solid #111118;
    border-radius: 14px;
    box-shadow: 6px 6px 0 #111118;
    color: #222233;
}

.rcc-article__header {
    margin-bottom: 24px;
}

.rcc-article__cat {
    display: inline-block;
    margin-bottom: 12px;
    padding: 3px 14px;
    background: #020283;
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
}

.rcc-article__title {
    margin: 0 0 12px;
    color: #111118;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.5;
}

.rcc-article__dates {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
    color: #666677;
    font-size: 0.85rem;
    font-weight: 700;
}

.rcc-article__thumb {
    margin: 0 0 32px;
    border: 3px solid #111118;
    border-radius: 10px;
    overflow: hidden;
}

.rcc-article__thumb img {
    display: block;
    width: 100%;
    height: auto;
}

/* 本文 */
.rcc-article__content {
    font-size: 1rem;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.rcc-article__content p {
    margin: 0 0 1.4em;
}

.rcc-article__content h2,
.rcc-article__content h3,
.rcc-article__content h4 {
    scroll-margin-top: 100px;
    line-height: 1.5;
    font-weight: 900;
}

.rcc-article__content h2 {
    position: relative;
    margin: 2.6em 0 1.1em;
    padding: 0.7em 1em;
    background: #020283;
    color: #ffffff;
    font-size: 1.35rem;
    border: 3px solid #111118;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #E6192E;
}

.rcc-article__content h3 {
    margin: 2.2em 0 0.9em;
    padding: 0.2em 0 0.35em 0.75em;
    color: #020283;
    font-size: 1.18rem;
    border-left: 6px solid #E6192E;
    border-bottom: 2px solid #e3e3ee;
}

.rcc-article__content h4 {
    margin: 1.8em 0 0.7em;
    color: #020283;
    font-size: 1.05rem;
}

.rcc-article__content ul,
.rcc-article__content ol {
    margin: 0 0 1.4em;
    padding-left: 1.5em;
}

.rcc-article__content ul {
    list-style: disc;
}

.rcc-article__content ol {
    list-style: decimal;
}

.rcc-article__content li {
    margin: 0.35em 0;
}

.rcc-article__content ul li::marker {
    color: #E6192E;
}

.rcc-article__content ol li::marker {
    color: #020283;
    font-weight: 900;
}

.rcc-article__content strong {
    background: linear-gradient(transparent 62%, #FFE98A 62%);
}

.rcc-article__content a {
    color: #0b4fb3;
    text-decoration: underline;
}

.rcc-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.rcc-article__content .wp-block-image {
    margin: 2em 0;
}

.rcc-article__content .wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #dddde8;
}

/* 幅を指定した画像（縦長の浮世絵など）は中央寄せ */
.rcc-article__content .wp-block-image.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.rcc-article__content .wp-block-image.is-resized img {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.rcc-article__content figcaption {
    margin-top: 0.5em;
    color: #666677;
    font-size: 0.8rem;
    text-align: center;
}

.rcc-article__content blockquote {
    margin: 0 0 1.4em;
    padding: 1em 1.25em;
    background: #f5f5f8;
    border-left: 4px solid #020283;
    border-radius: 4px;
}

.rcc-article__content .wp-block-table {
    margin: 1.5em 0 1.8em;
    overflow-x: auto;
}

.rcc-article__content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.rcc-article__content th,
.rcc-article__content td {
    padding: 0.7em 0.9em;
    border: 1px solid #d5d5e3;
    vertical-align: top;
    text-align: left;
}

.rcc-article__content th {
    background: #eef0f8;
    color: #020283;
    font-weight: 900;
}

.rcc-article__content .wp-block-table thead {
    border-bottom: 2px solid #020283;
}

/* 目次 */
.rcc-toc {
    margin: 2em 0;
    padding: 18px 24px 20px;
    background: #f5f5f8;
    border: 3px solid #111118;
    border-radius: 10px;
}

.rcc-toc__title {
    margin: 0 0 0.6em !important;
    color: #020283;
    font-size: 1.05rem;
    font-weight: 900;
}

.rcc-article__content .rcc-toc__list,
.rcc-article__content .rcc-toc__sub {
    list-style: none;
}

.rcc-article__content .rcc-toc__list {
    margin: 0;
    padding: 0;
    counter-reset: toc;
}

.rcc-toc__list > li {
    margin: 0.4em 0;
    counter-increment: toc;
}

.rcc-toc__list > li > a::before {
    content: counter(toc) '. ';
    color: #E6192E;
    font-weight: 900;
}

.rcc-article__content .rcc-toc__sub {
    margin: 0.2em 0 0.4em;
    padding-left: 1.4em;
}

.rcc-toc__sub li {
    margin: 0.25em 0;
    font-size: 0.92em;
}

.rcc-toc__sub li::before {
    content: '・';
    color: #9999aa;
}

.rcc-article__content .rcc-toc a {
    color: #111118;
    font-weight: 700;
    text-decoration: none;
}

.rcc-article__content .rcc-toc a:hover {
    color: #020283;
    text-decoration: underline;
}

/* ボックス・チェックリスト・ポイント・出典 */
.rcc-article__content .c-box {
    margin: 2em 0;
    padding: 1.25em 1.5em;
    background: #f5f5f8;
    border: 2px solid #111118;
    border-radius: 12px;
}

.rcc-article__content .c-box > *:last-child {
    margin-bottom: 0;
}

.rcc-article__content .c-box__title {
    display: inline-block;
    margin: 0 0 0.8em;
    padding: 0.2em 1em;
    background: #020283;
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 900;
    line-height: 1.6;
}

.rcc-article__content .c-box--point {
    background: #FFFBE6;
    border-color: #111118;
}

.rcc-article__content .c-box--point .c-box__title {
    background: #E6192E;
}

.rcc-article__content .c-box--related {
    background: #FFFBE6;
}

.rcc-article__content .c-box--related .c-box__title {
    background: #E6192E;
}

.rcc-article__content .c-box--related p:not(.c-box__title) {
    margin: 0;
}

.rcc-article__content .c-box--related a {
    color: #020283;
    font-weight: 900;
}

.rcc-article__content ul.c-checklist {
    margin: 1.5em 0;
    padding: 1em 1.25em;
    list-style: none;
    background: #f5f5f8;
    border: 2px dashed #9999bb;
    border-radius: 12px;
}

.rcc-article__content .c-checklist li {
    position: relative;
    margin: 0.55em 0;
    padding-left: 2em;
}

.rcc-article__content .c-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 1.25em;
    height: 1.25em;
    background: #E6192E;
    border-radius: 4px;
}

.rcc-article__content .c-checklist li::after {
    content: '';
    position: absolute;
    left: 0.42em;
    top: 0.45em;
    width: 0.38em;
    height: 0.7em;
    border-right: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    transform: rotate(45deg);
}

.rcc-article__content .c-cta-inline {
    margin: 2.5em 0;
    padding: 1.6em 1.5em;
    background: #effbf3;
    border: 3px solid #111118;
    border-radius: 14px;
    box-shadow: 4px 4px 0 #06C755;
    text-align: center;
}

.rcc-article__content .c-cta-inline__title {
    margin: 0 0 0.4em;
    color: #020283;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.5;
}

.rcc-article__content .c-cta-inline__text {
    margin: 0 0 1em;
    color: #333344;
    font-size: 0.92rem;
}

.rcc-article__content .c-cta-inline__btn-wrap {
    margin: 0;
}

.rcc-article__content a.c-cta-inline__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 15rem;
    padding: 0.9em 2em;
    background: #06C755;
    color: #ffffff;
    border: 3px solid #111118;
    border-radius: 999px;
    box-shadow: 3px 3px 0 #111118;
    font-size: 1.1rem;
    font-weight: 900;
    text-decoration: none;
}

.rcc-article__content a.c-cta-inline__btn:hover {
    background: #05b94f;
}

.rcc-article__content .c-sources {
    margin-top: 3em;
    padding-top: 1.25em;
    border-top: 1px solid #d5d5e3;
    color: #666677;
    font-size: 0.82rem;
    line-height: 1.8;
}

.rcc-article__content .c-sources__title {
    margin: 0 0 0.4em;
    color: #020283;
    font-weight: 900;
}

.rcc-article__content .c-sources ul {
    margin: 0;
}

.rcc-article__content .c-sources a {
    color: #666677;
    word-break: break-all;
}

/* 書き手紹介 */
.rcc-author {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 20px 24px;
    background: #f5f5f8;
    border: 2px solid #111118;
    border-radius: 12px;
}

.rcc-author__logo {
    flex-shrink: 0;
    width: 120px;
    height: auto;
}

.rcc-author__body p {
    margin: 0;
}

.rcc-author__label {
    color: #E6192E;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.rcc-author__name {
    margin: 2px 0 6px !important;
    color: #020283;
    font-size: 1rem;
    font-weight: 900;
}

.rcc-author__text {
    color: #444455;
    font-size: 0.85rem;
    line-height: 1.8;
}

/* LINE査定の案内 */
.rcc-cta {
    margin: 48px 0 0;
    padding: 36px 32px 32px;
    background: #ffffff;
    border: 3px solid #111118;
    border-radius: 14px;
    box-shadow: 6px 6px 0 #06C755;
    color: #111118;
    text-align: center;
}

.rcc-cta__label {
    display: inline-block;
    margin: 0 0 12px;
    padding: 4px 14px;
    background: #FFD700;
    border: 2px solid #111118;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 900;
}

.rcc-cta__title {
    margin: 0 0 12px;
    color: #020283;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.5;
}

.rcc-cta__line {
    color: #06C755;
}

.rcc-cta__text {
    max-width: 36rem;
    margin: 0 auto 24px;
    color: #333344;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.8;
}

.rcc-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.rcc-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 15rem;
    padding: 16px 28px;
    border: 3px solid #111118;
    border-radius: 999px;
    box-shadow: 4px 4px 0 #111118;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rcc-cta__btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #111118;
}

.rcc-cta__btn--line {
    background: #06C755;
    color: #ffffff;
}

.rcc-cta__btn--tel {
    background: #ffffff;
    color: #020283;
}

.rcc-cta__info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 24px;
    margin: 24px 0 0;
    color: #444455;
    font-size: 0.85rem;
}

.rcc-cta__info div {
    display: flex;
    gap: 8px;
}

.rcc-cta__info dt {
    color: #020283;
    font-weight: 900;
}

.rcc-cta__info dd {
    margin: 0;
}

/* 関連記事 */
.rcc-related {
    margin-top: 56px;
}

.rcc-related__title {
    margin: 0 0 24px;
    color: #111118;
    font-size: 1.4rem;
    font-weight: 900;
    text-align: center;
}

/* ===========================================
   レスポンシブ
=========================================== */
@media (max-width: 900px) {
    .rcc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .rcc-page {
        padding-top: 88px;
    }

    .rcc-br-sp {
        display: inline;
    }

    .rcc-front {
        padding: 40px 0 48px;
    }

    .rcc-front__inner,
    .rcc-archive__inner,
    .rcc-single__inner {
        padding: 0 16px;
    }

    .rcc-article {
        padding: 24px 18px 28px;
        box-shadow: 4px 4px 0 #111118;
    }

    .rcc-article__title {
        font-size: 1.4rem;
    }

    .rcc-article__content h2 {
        font-size: 1.15rem;
    }

    .rcc-article__content h3 {
        font-size: 1.05rem;
    }

    .rcc-toc {
        padding: 16px 18px;
    }

    .rcc-author {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }

    .rcc-cta {
        padding: 28px 18px 24px;
    }

    .rcc-cta__title {
        font-size: 1.3rem;
    }

    .rcc-cta__btn,
    .rcc-article__content a.c-cta-inline__btn {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .rcc-cta__info {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 599px) {
    .rcc-grid {
        grid-template-columns: 1fr;
    }
}
