@charset "UTF-8";

/* ============================================================
   コラム（knowledge）専用スタイル
   既存のデザイントークンを踏襲：
   アクセント linear-gradient(90deg,#EA5504 0%,#FABE00 100%)
   角丸カード / 影 0 0 30px rgba(0,0,0,.06) / 見出し下ゲージ
   ※ 一覧は archive.css、記事は single.css + page.css と併用する
   ============================================================ */

/* ------------------------------------------------------------
   1. 一覧ページ（/knowledge/）
   ------------------------------------------------------------ */

/* リード（一覧上部の説明文） */
.kn_archive_lead {
    max-width: 900px;
    margin: 0 auto 10px;
    font-size: 1.5rem;
    line-height: 30px;
    font-weight: 500;
    color: #555;
}

/* 日付＋カテゴリの横並び */
.kn_meta_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.kn_meta_row p.post-date {
    margin-bottom: 0;
}

/* カテゴリタグ */
.kn_cat {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    color: #EA5504;
    background: rgba(234, 85, 4, 0.08);
    border: 1px solid rgba(234, 85, 4, 0.2);
    padding: 4px 12px;
    border-radius: 100px;
}

/* ------------------------------------------------------------
   2. 記事ページ共通（/knowledge/◯◯/）
   ------------------------------------------------------------ */

/* 記事メタ情報行（公開日 / 更新日 / カテゴリ） */
.kn_article_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin: -14px 0 34px;
}

.kn_article_meta time,
.kn_article_meta .kn_meta_item {
    font-size: 1.3rem;
    font-weight: 500;
    color: #888;
    font-family: "Inter", "Noto Sans JP", sans-serif;
}

.kn_article_meta .kn_meta_label {
    font-weight: 700;
    color: #aaa;
    margin-right: 6px;
}

/* 導入ブロック（結論ファーストの定義） */
.kn_lead {
    background: linear-gradient(0deg, #fff 0%, #f7f7f7 100%);
    border-left: 5px solid #EA5504;
    border-radius: 12px;
    padding: 30px 34px;
    margin-bottom: 34px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.06);
}

.kn_lead p {
    font-size: 1.55rem;
    line-height: 32px;
    font-weight: 600;
    color: #222;
}

/* この記事でわかること */
.kn_points {
    margin: 26px 0 0;
    padding-top: 22px;
    border-top: 1px dashed #e0e0e0;
}

.kn_points_ttl {
    font-size: 1.35rem;
    font-weight: 700;
    color: #EA5504;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.kn_points ul li {
    position: relative;
    font-size: 1.45rem;
    line-height: 28px;
    font-weight: 500;
    color: #444;
    padding-left: 22px;
    margin-bottom: 6px;
}

.kn_points ul li:last-child {
    margin-bottom: 0;
}

.kn_points ul li:before {
    content: "";
    position: absolute;
    left: 2px;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background: linear-gradient(135deg, #EA5504 0%, #FABE00 100%);
}

/* 目次 */
.kn_toc {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.kn_toc_ttl {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.kn_toc_ttl:before {
    content: "INDEX";
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #EA5504;
    margin-bottom: 4px;
}

.kn_toc ol {
    counter-reset: toc;
}

.kn_toc ol li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 12px;
}

.kn_toc ol li:last-child {
    margin-bottom: 0;
}

.kn_toc ol li:before {
    counter-increment: toc;
    content: counter(toc, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 1px;
    font-family: "Inter", sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #FABE00;
}

.kn_toc ol li a {
    font-size: 1.45rem;
    line-height: 26px;
    font-weight: 600;
    color: #333;
    transition: color 0.25s ease;
}

.kn_toc ol li a:hover {
    color: #EA5504;
}

/* ------------------------------------------------------------
   3. 記事本文
   ------------------------------------------------------------ */

.kn_body h2 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 38px;
    margin: 70px 0 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #eee;
    position: relative;
    scroll-margin-top: 30px;
}

.kn_body h2:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #EA5504 0%, #FABE00 100%);
}

.kn_body h3 {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 30px;
    margin: 40px 0 14px;
    padding-left: 16px;
    border-left: 4px solid #EA5504;
}

.kn_body p {
    font-size: 1.5rem;
    line-height: 32px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

.kn_body a {
    color: #EA5504;
    font-weight: 600;
    border-bottom: 1px solid #EA5504;
}

.kn_body strong {
    font-weight: 700;
    color: #222;
}

/* 各h2冒頭の結論文（逆ピラミッド構造） */
.kn_body .kn_answer {
    background: rgba(234, 85, 4, 0.05);
    border-radius: 10px;
    padding: 20px 24px;
    font-size: 1.5rem;
    line-height: 30px;
    font-weight: 700;
    color: #222;
    margin-bottom: 22px;
}

/* 箇条書き */
.kn_body ul.kn_list {
    margin: 0 0 24px;
}

.kn_body ul.kn_list li {
    position: relative;
    font-size: 1.5rem;
    line-height: 30px;
    font-weight: 500;
    color: #333;
    padding-left: 24px;
    margin-bottom: 10px;
}

.kn_body ul.kn_list li:before {
    content: "";
    position: absolute;
    left: 2px;
    top: 12px;
    width: 9px;
    height: 9px;
    border-radius: 100%;
    background: linear-gradient(135deg, #EA5504 0%, #FABE00 100%);
}

/* 比較表 */
.kn_table_wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 0 16px;
}

table.kn_table {
    width: 100%;
    min-width: 560px;
    background: #fff;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.06);
}

table.kn_table caption {
    caption-side: top;
    font-size: 1.35rem;
    font-weight: 700;
    color: #666;
    text-align: left;
    padding-bottom: 12px;
}

table.kn_table th,
table.kn_table td {
    border: 1px solid #eee;
    padding: 16px 18px;
    font-size: 1.4rem;
    line-height: 26px;
    vertical-align: top;
}

table.kn_table thead th {
    background: #333;
    color: #fff;
    font-weight: 700;
    text-align: left;
    border-color: #444;
}

table.kn_table thead th:first-child {
    background: #222;
}

table.kn_table tbody th {
    background: #fafafa;
    font-weight: 700;
    color: #222;
    width: 26%;
}

table.kn_table tbody td {
    font-weight: 500;
    color: #444;
}

/* 表・数値の注記 */
.kn_note {
    font-size: 1.3rem;
    line-height: 24px;
    font-weight: 500;
    color: #999;
    margin-bottom: 24px;
}

/* まとめ */
.kn_summary {
    background: linear-gradient(0deg, #fff 0%, #f7f7f7 100%);
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px 34px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.kn_summary li {
    position: relative;
    font-size: 1.5rem;
    line-height: 30px;
    font-weight: 600;
    color: #333;
    padding-left: 30px;
    margin-bottom: 14px;
}

.kn_summary li:last-child {
    margin-bottom: 0;
}

.kn_summary li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 14px;
    height: 8px;
    border-left: 3px solid #EA5504;
    border-bottom: 3px solid #EA5504;
    transform: rotate(-45deg);
}

/* ------------------------------------------------------------
   4. 関連サービス導線カード（記事内）
   ------------------------------------------------------------ */

.kn_service_card {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 30px 34px;
    margin: 50px 0 0;
    color: #000;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kn_service_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.kn_service_card .kn_service_label {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #EA5504;
    margin-bottom: 10px;
}

.kn_service_card h3 {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 12px;
}

.kn_service_card p {
    font-size: 1.4rem;
    line-height: 26px;
    font-weight: 500;
    color: #666;
    margin-bottom: 16px;
}

.kn_service_card .kn_service_more {
    display: inline-block;
    font-size: 1.35rem;
    font-weight: 700;
    color: #EA5504;
    transition: letter-spacing 0.25s ease;
}

.kn_service_card .kn_service_more:after {
    content: " →";
}

.kn_service_card:hover .kn_service_more {
    letter-spacing: 1px;
}

/* ------------------------------------------------------------
   5. サービス詳細ページ側の「関連コラム」枠
   ------------------------------------------------------------ */

.kn_related_box {
    background: linear-gradient(0deg, #fff 0%, #f7f7f7 100%);
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 28px 32px;
    margin: 24px 0 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.kn_related_box p {
    font-size: 1.45rem;
    line-height: 28px;
    font-weight: 500;
    color: #444;
    margin-bottom: 16px;
}

.kn_related_box .kn_related_link {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #EA5504;
    border-bottom: 1px solid #EA5504;
    transition: letter-spacing 0.25s ease;
}

.kn_related_box .kn_related_link:after {
    content: " →";
}

.kn_related_box .kn_related_link:hover {
    letter-spacing: 1px;
}

/* ------------------------------------------------------------
   6. スマホ対応
   ------------------------------------------------------------ */
@media screen and (max-width: 480px) {

    .kn_archive_lead {
        font-size: 1.3rem;
        line-height: 26px;
    }

    .kn_cat {
        font-size: 1.1rem;
        padding: 3px 10px;
    }

    .kn_article_meta {
        gap: 6px 14px;
        margin: -10px 0 26px;
    }

    .kn_article_meta time,
    .kn_article_meta .kn_meta_item {
        font-size: 1.15rem;
    }

    .kn_lead {
        padding: 22px 20px;
        margin-bottom: 26px;
    }

    .kn_lead p {
        font-size: 1.35rem;
        line-height: 26px;
    }

    .kn_points {
        margin-top: 20px;
        padding-top: 18px;
    }

    .kn_points_ttl {
        font-size: 1.25rem;
    }

    .kn_points ul li {
        font-size: 1.3rem;
        line-height: 24px;
        padding-left: 18px;
    }

    .kn_points ul li:before {
        top: 9px;
        width: 7px;
        height: 7px;
    }

    .kn_toc {
        padding: 22px 20px;
        border-radius: 12px;
    }

    .kn_toc_ttl {
        font-size: 1.4rem;
    }

    .kn_toc ol li {
        padding-left: 28px;
        margin-bottom: 10px;
    }

    .kn_toc ol li a {
        font-size: 1.3rem;
        line-height: 22px;
    }

    .kn_body h2 {
        font-size: 1.8rem;
        line-height: 28px;
        margin: 48px 0 18px;
    }

    .kn_body h3 {
        font-size: 1.5rem;
        line-height: 24px;
        margin: 30px 0 12px;
        padding-left: 12px;
    }

    .kn_body p {
        font-size: 1.3rem;
        line-height: 26px;
        margin-bottom: 16px;
    }

    .kn_body .kn_answer {
        font-size: 1.3rem;
        line-height: 25px;
        padding: 16px 18px;
    }

    .kn_body ul.kn_list li {
        font-size: 1.3rem;
        line-height: 25px;
        padding-left: 20px;
    }

    .kn_body ul.kn_list li:before {
        top: 9px;
        width: 8px;
        height: 8px;
    }

    table.kn_table th,
    table.kn_table td {
        padding: 12px 14px;
        font-size: 1.25rem;
        line-height: 22px;
    }

    table.kn_table caption {
        font-size: 1.2rem;
    }

    .kn_note {
        font-size: 1.15rem;
        line-height: 21px;
    }

    .kn_summary {
        padding: 22px 20px;
    }

    .kn_summary li {
        font-size: 1.3rem;
        line-height: 25px;
        padding-left: 26px;
        margin-bottom: 12px;
    }

    .kn_service_card {
        padding: 24px 22px;
        border-radius: 16px;
        margin-top: 36px;
    }

    .kn_service_card h3 {
        font-size: 1.6rem;
        line-height: 26px;
    }

    .kn_service_card p {
        font-size: 1.3rem;
        line-height: 24px;
    }

    .kn_related_box {
        padding: 22px 20px;
    }

    .kn_related_box p {
        font-size: 1.3rem;
        line-height: 26px;
    }

    .kn_related_box .kn_related_link {
        font-size: 1.3rem;
    }
}
