@charset "UTF-8";
/* ::::::::::::::::::::::::::::::::::::::::::::::::::
 ::  コラム専用スタイル
 ::  /column/css/column.css
 ::  一覧（カードグリッド）＋詳細（記事タイポグラフィ）
 ::  既存トンマナに準拠（l-/c-/u- プレフィックス、アクセント #ec1c24）
 :::::::::::::::::::::::::::::::::::::::::::::::::: */

:root {
    --col-accent: #ec1c24;
    --col-ink: #222222;
    --col-sub: #666666;
    --col-line: #e3e3e3;
    --col-bg-soft: #f7f6f4;
    --col-max: 800px;
}

/* ::::::::::::::::::::::::::::::::::::::
 :: ページコンテナ
 :: common_2015/common.css は #container/#contents 配下に
 ::   #content { width:674px !important }（旧2カラム）
 ::   #container * { box-sizing:content-box !important }
 :: を強制するため、コラムは専用ラッパ .l-column-page で囲み、
 :: border-box とセンタリングを自前で確定させてレイアウト崩れを防ぐ。
 :::::::::::::::::::::::::::::::::::::: */
.l-column-page {
    width: 100%;
    background: #fff;
    color: var(--col-ink);
}

.l-column-page,
.l-column-page *,
.l-column-page *::before,
.l-column-page *::after {
    box-sizing: border-box;
}

.l-column-page__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 8px 24px 72px;
}

/* パンくず（mega.css の .l-breadcrumb-list を上書き調整） */
.l-column-page .l-breadcrumb-list {
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    align-items: center;
}

.l-column-page .l-breadcrumb-list a {
    color: #666;
    text-decoration: none;
}

.l-column-page .l-breadcrumb-list a:hover {
    color: var(--col-accent);
    text-decoration: underline;
}

.l-column-page .l-breadcrumb-list .current-item {
    color: #aaa;
}

/* 本文ラッパ */
.l-column {
    line-height: 1.9;
    font-feature-settings: "palt";
}

/* ページ見出しリード */
.l-column-lead {
    max-width: var(--col-max);
    margin: 18px auto 44px;
    font-size: 15px;
    line-height: 2;
    color: var(--col-sub);
    text-align: center;
}

/* ::::::::::::::::::::::::::::::::::::::
 :: 一覧：カテゴリー絞り込み
 :::::::::::::::::::::::::::::::::::::: */
.c-column-filter {
    margin: 0 auto 36px;
}

.c-column-filter ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: center;
}

.c-column-filter__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border: 1px solid #c8c8c8;
    background: #fff;
    color: #444;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.c-column-filter__btn:hover {
    border-color: #9d9d9d;
    color: #222;
    transform: translateY(-1px);
}

.c-column-filter__btn:focus-visible {
    outline: 2px solid var(--col-accent);
    outline-offset: 2px;
}

.c-column-filter__btn.is-active {
    background: #111;
    border-color: #111;
    color: #fff;
}

/* ::::::::::::::::::::::::::::::::::::::
 :: 一覧：カードグリッド
 :::::::::::::::::::::::::::::::::::::: */
.c-column-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.c-column-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--col-line);
    transition: transform .25s ease, box-shadow .25s ease;
}

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

.c-column-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
}

.c-column-card__thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--col-bg-soft);
}

.c-column-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.c-column-card:hover .c-column-card__thumb img {
    transform: scale(1.05);
}

/* サムネ未設定時のプレースホルダ */
.c-column-card__thumb.is-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1efec 0%, #e4e0db 100%);
}

.c-column-card__thumb.is-placeholder span {
    font-size: 13px;
    letter-spacing: .2em;
    color: #b3aca2;
    font-weight: 700;
}

.c-column-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 18px 22px;
}

.c-column-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--col-sub);
}

.c-column-cat {
    display: inline-block;
    padding: 3px 10px;
    background: var(--col-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.5;
}

.c-column-card__title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--col-ink);
}

.c-column-card__excerpt {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--col-sub);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.c-column-card__tags {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.c-column-card__tags li {
    font-size: 11px;
    color: #8a8a8a;
}

.c-column-card__tags li::before {
    content: "#";
}

/* ::::::::::::::::::::::::::::::::::::::
 :: 詳細：記事レイアウト
 :::::::::::::::::::::::::::::::::::::: */
.c-article {
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
}

/* common_2015/common.css の汎用 header 規則
   （header{min-width:1100px} / header{height:121px;border-bottom:7px solid #000}）が
   <header class="c-article__header"> に効いてしまい、幅不一致・要点ボックスとの重なりを
   起こすため、ここで明示的に打ち消す。 */
.c-article__header {
    width: auto;
    min-width: 0;
    height: auto;
    position: static;
    z-index: auto;
    background: none;
    border-bottom: none;
    margin-bottom: 28px;
    box-shadow: none;
}

.c-article__catrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--col-sub);
}

.c-article__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 18px;
    color: var(--col-ink);
}

.c-article__byline {
    font-size: 13px;
    line-height: 1.9;
    color: var(--col-sub);
    border-top: 1px solid var(--col-line);
    border-bottom: 1px solid var(--col-line);
    padding: 14px 0;
}

.c-article__byline strong {
    color: var(--col-ink);
}

/* 要点ボックス */
.c-article__summary {
    margin: 28px 0;
    padding: 22px 26px;
    background: var(--col-bg-soft);
    border-left: 4px solid var(--col-accent);
}

.c-article__summary-head {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--col-accent);
    margin-bottom: 8px;
}

.c-article__summary p {
    margin: 0;
    font-size: 14px;
    line-height: 1.95;
}

/* 目次 */
.c-toc {
    margin: 32px 0;
    padding: 22px 26px;
    border: 1px solid var(--col-line);
    background: #fff;
}

.c-toc__head {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--col-ink);
}

.c-toc ol {
    margin: 0;
    padding-left: 1.4em;
    counter-reset: toc;
    list-style: none;
}

.c-toc > ol > li {
    margin: 6px 0;
    counter-increment: toc;
    font-size: 14px;
}

.c-toc > ol > li::before {
    content: counter(toc) ". ";
    color: var(--col-accent);
    font-weight: 700;
}

.c-toc a {
    color: var(--col-ink);
    text-decoration: none;
}

.c-toc a:hover {
    color: var(--col-accent);
    text-decoration: underline;
}

/* 本文 */
.c-article__body {
    font-size: 16px;
    line-height: 2;
}

.c-article__body h2 {
    font-size: 23px;
    font-weight: 700;
    line-height: 1.5;
    margin: 56px 0 20px;
    padding: 14px 0 14px 18px;
    border-left: 6px solid var(--col-accent);
    background: var(--col-bg-soft);
    color: var(--col-ink);
    scroll-margin-top: 90px;
}

.c-article__body h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.6;
    margin: 38px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--col-line);
    color: var(--col-ink);
}

.c-article__body p {
    margin: 0 0 22px;
}

.c-article__body ul,
.c-article__body ol {
    margin: 0 0 24px;
    padding-left: 1.6em;
}

.c-article__body li {
    margin: 8px 0;
    line-height: 1.85;
}

.c-article__body a {
    color: var(--col-accent);
    text-decoration: underline;
    word-break: break-all;
}

.c-article__body a[target="_blank"]::after {
    content: "↗";
    font-size: .8em;
    margin-left: 2px;
    text-decoration: none;
}

/* FAQ */
.c-faq {
    margin: 48px 0;
}

.c-faq__item {
    border: 1px solid var(--col-line);
    border-radius: 4px;
    margin-bottom: 14px;
    overflow: hidden;
}

.c-faq__q {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 22px;
    margin: 0;
    background: var(--col-bg-soft);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--col-ink);
}

.c-faq__q::before {
    content: "Q";
    flex-shrink: 0;
    color: var(--col-accent);
    font-size: 18px;
    font-weight: 700;
}

.c-faq__a {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 22px;
    margin: 0;
    font-size: 15px;
    line-height: 1.95;
}

.c-faq__a::before {
    content: "A";
    flex-shrink: 0;
    color: var(--col-sub);
    font-size: 18px;
    font-weight: 700;
}

/* 出典リスト */
.c-article__sources {
    margin: 48px 0;
    padding: 24px 26px;
    background: var(--col-bg-soft);
    font-size: 13px;
    line-height: 1.9;
}

.c-article__sources h2 {
    font-size: 18px;
    margin: 0 0 14px;
    padding: 0;
    border: none;
    background: none;
}

.c-article__sources ul {
    margin: 0 0 12px;
    padding-left: 1.4em;
}

.c-article__sources .note {
    color: var(--col-sub);
    font-size: 12px;
    margin: 0;
}

/* 監修者プロフィール */
.c-author {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 40px 0;
    padding: 26px;
    border: 1px solid var(--col-line);
    background: #fff;
}

.c-author__icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    /* 中の画像を円形にクリップする（img側にも border-radius を指定して
       Safari の overflow:hidden + border-radius のはみ出しを回避） */
    overflow: hidden;
    background: linear-gradient(135deg, #f1efec 0%, #ddd8d1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #b3aca2;
}

.c-author__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.c-author__name {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px;
}

.c-author__role {
    font-size: 12px;
    color: var(--col-sub);
    margin: 0 0 10px;
}

.c-author__bio {
    font-size: 14px;
    line-height: 1.85;
    margin: 0;
}

/* CTA */
.c-article__cta {
    margin: 48px 0;
    padding: 34px 26px;
    text-align: center;
    background: var(--col-ink);
    color: #fff;
}

.c-article__cta p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.85;
}

.c-cta-btn {
    display: inline-block;
    min-width: 280px;
    padding: 16px 36px;
    background: var(--col-accent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .04em;
    transition: opacity .2s ease, transform .2s ease;
}

.c-cta-btn:hover {
    opacity: .9;
    transform: translateY(-2px);
}

/* 関連記事 */
.c-article__related {
    margin: 48px 0;
}

.c-article__related h2 {
    font-size: 20px;
    margin: 0 0 16px;
}

.c-article__related .is-empty {
    font-size: 14px;
    color: var(--col-sub);
}

/* 一覧へ戻る */
.c-article__back {
    text-align: center;
    margin: 48px 0 0;
}

.c-article__back a {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid #c8c8c8;
    color: var(--col-ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease;
}

.c-article__back a:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

/* ::::::::::::::::::::::::::::::::::::::
 :: レスポンシブ
 :::::::::::::::::::::::::::::::::::::: */
@media screen and (max-width: 900px) {
    .c-column-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 20px;
    }
}

@media screen and (max-width: 767px) {
    .c-column-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .c-column-filter__btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .c-article__title {
        font-size: 23px;
    }

    .c-article__body {
        font-size: 15px;
    }

    .c-article__body h2 {
        font-size: 20px;
        margin: 44px 0 16px;
    }

    .c-article__body h3 {
        font-size: 17px;
    }

    .c-author {
        flex-direction: column;
        gap: 14px;
    }

    .c-cta-btn {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
}
