@charset "utf-8";

/* ==================================================
   設定（CSS変数）
   ================================================== */
:root {
    --col-main-color: #FC7852;       /* メインカラー（オレンジ） */
    --col-accent-color: #00a641;     /* アクセントカラー（緑・CTA用） */
    --col-bg-light: #f9f9f9;         /* 薄い背景色 */
    --col-text-body: #333333;        /* 本文の文字色 */
    --col-border-color: #e0e0e0;     /* 薄い枠線の色 */
    --col-font-base: 16px;           /* 基本文字サイズ */
    --col-line-height: 1.8;          /* 行間 */
    --col-radius: 8px;               /* 角丸のサイズ */
}

/* ==================================================
   ベースレイアウト・タイトルエリア
   ================================================== */
.detail_title {
    padding: 40px 0 20px;
    background-color: #fff;
    text-align: center;
}

.page_inner2 {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 記事タイトル (H1) */
.detail_title h1 {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.4;
    color: var(--col-text-body);
    margin-bottom: 20px;
}

/* ==================================================
   コラム記事エリアのスコープ設定
   ================================================== */
.column-article-body {
    font-size: var(--col-font-base);
    color: var(--col-text-body);
    line-height: var(--col-line-height);
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* メイン画像エリア */
.column-main-image {
    margin-bottom: 30px;
    text-align: center;
}

.column-main-image img {
    width: 100%;
    height: auto;
    border-radius: var(--col-radius);
    display: block;
}

/* リセット規則 */
.column-article-body h2,
.column-article-body h3,
.column-article-body h4,
.column-article-body p,
.column-article-body ul,
.column-article-body ol {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.column-article-body p {
    margin-bottom: 1.5em;
}

/* 記事内画像 */
.column-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--col-radius);
    margin-bottom: 20px;
}

/* リンク */
.column-article-body a {
    color: var(--col-main-color);
    text-decoration: underline;
    transition: opacity 0.3s;
}
.column-article-body a:hover {
    text-decoration: none;
    opacity: 0.7;
}

/* ==================================================
   見出しデザイン
   ================================================== */
/* 大見出し (H2) */
.column-article-body h2 {
    font-size: 26px;
    font-weight: bold;
    border-bottom: 2px solid var(--col-main-color);
    padding-bottom: 10px;
    margin-top: 50px;
    margin-bottom: 25px;
}

/* 中見出し (H3) */
.column-article-body h3 {
    font-size: 22px;
    font-weight: bold;
    border-left: 6px solid var(--col-main-color);
    padding-left: 15px;
    margin-top: 40px;
    margin-bottom: 20px;
    background: transparent;
}

/* 小見出し (H4) */
.column-article-body h4 {
    font-size: 18px;
    font-weight: bold;
    background-color: var(--col-bg-light);
    padding: 12px 15px;
    border-radius: var(--col-radius);
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid #ccc;
}

/* ==================================================
   目次 (Table of Contents)
   ================================================== */
.column-toc {
    background-color: var(--col-bg-light);
    border: 1px solid var(--col-border-color);
    border-radius: var(--col-radius);
    padding: 25px;
    margin: 30px 0;
}

.column-toc .toc-title {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: var(--col-text-body);
}

.column-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.column-toc > ul > li {
    margin-bottom: 10px;
    font-weight: bold;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 8px;
}

.column-toc > ul > li:last-child {
    border-bottom: none;
}

.column-toc ul ul {
    margin-top: 8px;
    padding-left: 20px;
}

.column-toc ul ul li {
    font-weight: normal;
    font-size: 14px;
    margin-bottom: 6px;
    border-bottom: none;
}

.column-toc a {
    text-decoration: none;
    color: #333;
    display: block;
}
.column-toc a:hover {
    color: var(--col-main-color);
}

/* ==================================================
   装飾パーツ（リスト・ボックス）
   ================================================== */
.column-article-body ul.normal-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 25px;
}

.column-article-body ol.step-list {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 25px;
}

/* ポイント・強調ボックス */
.column-box-point {
    border: 2px solid var(--col-main-color);
    border-radius: var(--col-radius);
    padding: 20px;
    margin: 25px 0;
    position: relative;
    background: #fff;
}

.column-box-point .box-title {
    position: absolute;
    top: -14px;
    left: 20px;
    background: var(--col-main-color);
    color: #fff;
    padding: 0 15px;
    font-weight: bold;
    font-size: 14px;
    border-radius: 20px;
    line-height: 28px;
}

/* 注意・警告ボックス */
.column-box-alert {
    background-color: #fff9e5;
    border: 2px solid #ffcc00;
    border-radius: var(--col-radius);
    padding: 20px;
    margin-bottom: 25px;
    color: #333;
    display: flex;
    align-items: flex-start;
}

.column-box-alert::before {
    content: "!";
    display: inline-block;
    background: #ffcc00;
    color: #fff;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

/* チェックリスト */
.column-check-list {
    background: #f4fcf7;
    border: 2px solid var(--col-accent-color);
    border-radius: var(--col-radius);
    padding: 20px;
    margin-bottom: 25px;
}

.column-check-list .check-title {
    font-weight: bold;
    font-size: 18px;
    color: var(--col-accent-color);
    margin-bottom: 12px;
    display: block;
    text-align: center;
}

.column-check-list ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.column-check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
    line-height: 1.6;
    border-bottom: 1px dashed #cceadd;
    padding-bottom: 8px;
}

.column-check-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.column-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 7px;
    border-left: 3px solid var(--col-accent-color);
    border-bottom: 3px solid var(--col-accent-color);
    transform: rotate(-45deg);
}

/* ==================================================
   テーブル (表)
   ================================================== */
.column-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.column-article-body th,
.column-article-body td {
    border: 1px solid var(--col-border-color);
    padding: 12px;
    text-align: left;
}

.column-article-body th {
    background-color: var(--col-bg-light);
    font-weight: bold;
    width: 30%;
}

/* 記事本文内の画像エリア */
.column-body-img {
    margin: 30px 0;
    text-align: center;
}

.column-body-img .img-caption {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    display: block;
}

/* パンくずリスト */
.column-breadcrumb {
    margin: 15px 0 30px 0;
    font-size: 14px;
    color: #666;
}

.column-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.column-breadcrumb li a {
    text-decoration: none;
    color: #666;
}

.column-breadcrumb li a:hover {
    color: var(--col-main-color);
    text-decoration: underline;
}

.column-breadcrumb li:not(:last-child)::after {
    content: ">";
    margin: 0 8px;
    color: #ccc;
}

.column-breadcrumb li:last-child {
    font-weight: bold;
    color: #333;
}

/* 目次に戻るボタン */
.back-to-toc {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 25px;
}

.back-to-toc a {
    display: inline-block;
    font-size: 12px;
    color: #888;
    text-decoration: none;
    background-color: #f5f5f5;
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.3s;
}

.back-to-toc a:hover {
    background-color: var(--col-main-color);
    color: #fff;
}

.back-to-toc a::before {
    content: "▲";
    font-size: 10px;
    margin-right: 4px;
}

/* ==================================================
   CTAエリア（おすすめ講座・資料請求）※上下余白最適化済み
   ================================================== */
/* 共通ボタン */
.column-btn,
.page_btn_base {
    display: inline-block;
    background-color: var(--col-accent-color);
    color: #fff !important;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none !important;
    padding: 12px 35px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    border: none;
    cursor: pointer;
}

.column-btn:hover,
.page_btn_base:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    opacity: 1;
}

/* おすすめ講座枠 */
.column-cta-recommend {
    background-color: #fff;
    border: 2px solid var(--col-main-color);
    border-radius: 10px;
    padding: 24px 20px; /* 縦の空きをキュッと調整 */
    text-align: center;
    margin: 20px 0 25px; /* ボックス外側の上下余白を短縮 */
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.column-cta-recommend .cta-title-sub {
    font-size: 15px;
    color: #666;
    margin-bottom: 6px;
    display: block;
    font-weight: bold;
}

.column-cta-recommend .cta-title-sub::after {
    content: "▼";
    display: block;
    color: var(--col-main-color);
    font-size: 11px;
    margin-top: 4px;
    opacity: 0.7;
}

.column-cta-recommend .cta-title-main {
    font-size: 22px;
    font-weight: bold;
    color: var(--col-text-body);
    margin-bottom: 20px;
    line-height: 1.4;
}

.column-cta-recommend .cta-title-main strong {
    color: var(--col-main-color);
    background: linear-gradient(transparent 70%, #ffdfd9 70%);
    padding: 0 4px;
}

.column-cta-recommend .column-btn {
    min-width: 260px;
}

/* 資料請求エリア */
.column-cta-area,
.kyouzaibox {
    text-align: center;
    background-color: #eafcf2; /* 薄い緑背景 */
    padding: 24px 20px; /* 縦パディング調整 */
    border-radius: var(--col-radius);
    margin: 20px 0 25px; /* 上下マージン調整 */
}

.column-cta-area p,
.kyouzaibox p {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 17px;
    color: var(--col-text-body);
}

.kyouzaibox .btnbox {
    margin-top: 0;
}

/* ==================================================
   ヘッダー・フッターデザイン
   ================================================== */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-logo img {
    width: 254px;
    height: auto;
    max-width: 100%;
    display: block;
}

.header-site-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    border-left: 1px solid #ccc;
    padding-left: 15px;
    line-height: 1.4;
    display: inline-block;
}

.header-right {
    display: flex;
    gap: 10px;
}

.header-link-btn {
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    color: #555;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: all 0.3s;
    background: #fff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.header-link-btn:hover {
    background-color: #f5f5f5;
    color: var(--col-main-color);
}

.header-link-btn.highlight {
    background-color: var(--col-main-color);
    color: #fff;
    border-color: var(--col-main-color);
}

.header-link-btn.highlight:hover {
    opacity: 0.8;
}

/* フッター */
.site-footer {
    background-color: #f9f9f9;
    padding: 40px 0 20px;
    margin-top: 50px;
    color: #333;
    border-top: 5px solid var(--col-main-color);
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-banner,
.footer-pmark-area {
    box-sizing: border-box;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 25px auto;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-banner {
    background: #06c755;
    color: #fff;
    gap: 20px;
    box-shadow: 0 4px 10px rgba(6, 199, 85, 0.2);
}

.banner-content {
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.banner-btn {
    background: #fff;
    color: #06c755;
    text-decoration: none;
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap;
    transition: opacity 0.3s;
}
.banner-btn:hover { opacity: 0.9; }

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-nav-list li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: bold;
}
.footer-nav-list li a:hover {
    text-decoration: underline;
    color: var(--col-main-color);
}

.footer-logo-area {
    margin-bottom: 20px;
}
.footer-logo-area img {
    width: 200px;
    height: auto;
}

.footer-pmark-area {
    background: #fff;
    border: 1px solid #eee;
    gap: 15px;
    margin-bottom: 20px;
}

.pmark-link img {
    width: 60px;
    height: auto;
}

.pmark-text {
    font-size: 11px;
    color: #666;
    text-align: left;
    margin: 0;
    line-height: 1.4;
}

.copyright {
    font-size: 10px;
    color: #999;
    margin-top: 10px;
    font-family: Arial, sans-serif;
}

/* ==================================================
   一覧ページ（総合TOP・カテゴリーTOP）スタイル
   ================================================== */
.column-hero {
    background-color: var(--col-bg-light);
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 30px;
}

.column-hero h1 {
    font-size: 30px;
    font-weight: bold;
    color: var(--col-text-body);
    margin-bottom: 12px;
    line-height: 1.4;
}

.column-hero p {
    font-size: 15px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* グリッドレイアウト（3列並び） */
.column-list-grid,
.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
}

/* カード要素（新着記事・資格・仕事情報 共通） */
.column-card,
.info-card {
    width: calc((100% - 50px) / 3);
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--col-radius);
    text-decoration: none !important;
    color: var(--col-text-body) !important;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.column-card:hover,
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    border-color: var(--col-main-color);
    opacity: 1 !important;
}

/* カード内画像エリア */
.card-img-area {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f0f0f0;
    border-bottom: 1px solid #eee;
}
.card-img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.column-card:hover .card-img-area img {
    transform: scale(1.05);
}

/* カード内テキストエリア */
.card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.card-category {
    font-size: 11px;
    color: var(--col-main-color);
    font-weight: bold;
    border: 1px solid var(--col-main-color);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
    align-self: flex-start;
}
.card-title {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 8px;
    color: #333;
}
.card-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-date {
    margin-top: auto;
    font-size: 11px;
    color: #999;
    text-align: right;
}

/* 情報カード（資格・仕事情報等） */
.info-card {
    padding: 20px;
    text-align: left;
}
.info-card h3 {
    font-size: 17px;
    font-weight: bold;
    color: var(--col-main-color);
    margin: 0 0 12px 0 !important;
    padding: 0 0 8px 0 !important;
    border-left: none !important;
    border-bottom: 2px solid #f0f0f0;
    background: transparent !important;
    line-height: 1.4;
}
.info-card p {
    font-size: 13.5px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}
.info-card .card-link-text {
    font-size: 12.5px;
    font-weight: bold;
    color: var(--col-main-color);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}
.info-card .card-link-text::after {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
}

/* カテゴリー検索ボタン */
.category-btn-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

.category-btn {
    background: #fff;
    color: #333 !important;
    border: 1px solid #ccc;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 150px;
    text-align: center;
    font-weight: bold;
}

.category-btn:hover {
    background-color: var(--col-main-color);
    color: #fff !important;
    border-color: var(--col-main-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 120, 82, 0.25);
}

/* 受講生の声カード */
.voice-card {
    width: calc((100% - 50px) / 3);
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--col-radius);
    padding: 0;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: #333 !important;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.voice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    border-color: var(--col-main-color);
}

.voice-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.voice-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.voice-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.voice-job {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
    display: block;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.voice-title,
.voice-card h3 {
    font-size: 15px;
    font-weight: bold;
    color: var(--col-main-color);
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    line-height: 1.4;
    text-align: left;
}

.voice-comment {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.voice-link-text {
    font-size: 12px;
    font-weight: bold;
    color: var(--col-main-color);
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
}
.voice-link-text::after {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    margin-left: 4px;
}

/* 関連コラムエリア */
.column-related-area {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 5px solid var(--col-main-color);
}

.related-items ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.related-items li {
    border-bottom: 1px dashed #ddd;
}
.related-items a {
    display: block;
    padding: 12px 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    font-weight: bold;
}
.related-items a:hover {
    background-color: #f9f9f9;
    color: var(--col-main-color);
    padding-left: 15px;
}

/* カテゴリーセクション枠 */
.category-section {
    margin-bottom: 50px;
}

.category-sec-title {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.category-sec-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--col-main-color);
}

/* 資格リスト */
.cert-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.cert-item {
    width: calc(33.333% - 12px);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: var(--col-radius);
    padding: 18px;
    text-align: center;
    box-sizing: border-box;
}

.cert-item h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--col-main-color);
}

.cert-item p {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    text-align: left;
}

/* ==================================================
   レスポンシブ（画面幅による自動調整）
   ================================================== */
@media screen and (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .header-left { flex-wrap: wrap; }
    .header-logo img { width: 180px; }
    .header-site-title {
        border-left: none;
        padding-left: 0;
        font-size: 12px;
        width: 100%;
        margin-top: -10px;
    }
    .header-right {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }
    .header-link-btn {
        flex: 1;
        justify-content: center;
        padding: 8px;
        font-size: 11px;
    }

    .footer-banner,
    .footer-pmark-area {
        flex-direction: column;
        text-align: center;
        width: 100%;
        padding: 18px 15px;
    }
    .banner-content,
    .pmark-text {
        text-align: center;
    }

    /* 2列カード表示 */
    .column-card,
    .info-card,
    .voice-card {
        width: calc((100% - 25px) / 2);
    }
}

@media screen and (max-width: 768px) {
    /* スマホ表示時の最上部余白リセット（ecbeing標準余白の打消し） */
    .column-article-body:first-of-type,
    .column-main-img,
    .column-main-image {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .column-article-body {
        padding: 0 15px 40px;
    }
    
    .detail_title h1 {
        font-size: 22px;
        text-align: left;
        padding: 0 15px;
    }

    .column-article-body h2 {
        font-size: 20px;
        margin-top: 35px;
    }
    
    .column-article-body h3 {
        font-size: 18px;
        margin-top: 30px;
    }

    .column-article-body table,
    .column-article-body th,
    .column-article-body td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .column-article-body td {
        border-bottom: 1px solid var(--col-border-color);
    }
    
    .column-toc {
        padding: 18px;
    }
    
    .column-cta-recommend,
    .column-cta-area,
    .kyouzaibox {
        padding: 20px 15px;
    }
    .column-cta-recommend .cta-title-main {
        font-size: 18px;
    }
    .column-cta-recommend .column-btn {
        width: 100%;
        min-width: auto;
    }

    .column-hero {
        padding: 30px 15px;
    }
    .column-hero h1 {
        font-size: 22px;
    }

    .cert-item {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    /* 1列カード表示 */
    .column-card,
    .info-card,
    .voice-card {
        width: 100%;
    }
}



.pane-main {
    max-width: 1200px !important;
}

.container {
    max-width: 1200px !important;
    margin: 0 auto;
}


/* ==================================================
   インデックスページの追加・調整スタイル
   ================================================== */

/* セクション全体の余白設定 */
.column-index-section {
    margin-bottom: 50px;
}

/* セクションH2タイトル */
.column-section-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--col-text-body, #333);
    border-bottom: 3px solid var(--col-main-color, #FC7852);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* 記事カードをグリッド表示（4列または3列表示の最適化） */
.js-pagecategory-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* 1つひとつの記事カード設定 */
.block-pagecategory-page-list--page {
    width: calc((100% - 60px) / 4); /* PC表示：4列並び */
    box-sizing: border-box;
    margin: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--col-radius, 8px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.block-pagecategory-page-list--page-image img {
    width: 100%;
    height: auto;
    display: block;
}

.block-pagecategory-page-list--date {
    font-size: 12px;
    color: #888;
    padding: 8px 12px 0;
}

.block-pagecategory-page-list--page-caption {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    padding: 8px 12px 12px;
}

.block-pagecategory-page-list--page-caption a {
    color: #333;
    text-decoration: none;
}

.block-pagecategory-page-list--page-caption a:hover {
    color: var(--col-main-color, #FC7852);
}

/* --- レスポンシブ調整 --- */
@media screen and (max-width: 900px) {
    .block-pagecategory-page-list--page {
        width: calc((100% - 20px) / 2); /* タブレット：2列並び */
    }
}

@media screen and (max-width: 600px) {
    .block-pagecategory-page-list--page {
        width: 100%; /* スマホ：1列並び */
    }
    .column-section-title {
        font-size: 20px;
    }
}




/* ==================================================
   インデックスページ デザイン調整用追加CSS
   ================================================== */

/* 1. H2タイトルのアンダーラインを全デバイスでオレンジ色に統一 */
.column-section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    border-bottom: 3px solid #FC7852 !important; /* オレンジ色に固定 */
    padding-bottom: 8px;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* 2. PC版：記事カードを4列で並べる設定 */
.js-pagecategory-list-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important; /* カード同士の間隔 */
    margin-bottom: 40px;
}

.block-pagecategory-page-list--page {
    width: calc((100% - (16px * 3)) / 4) !important; /* PCは4列 */
    box-sizing: border-box;
    margin: 0 !important;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 3. スマホ・タブレット版（画面幅768px以下）：横2列並びへ調整 */
@media screen and (max-width: 768px) {
    .column-section-title {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .js-pagecategory-list-wrapper {
        gap: 12px !important; /* スマホ向けの間隔 */
    }

    .block-pagecategory-page-list--page {
        width: calc((100% - 12px) / 2) !important; /* スマホで横2列並び */
    }

    /* 文字サイズの微調整 */
    .block-pagecategory-page-list--date {
        font-size: 10px;
        padding: 6px 8px 0;
    }

    .block-pagecategory-page-list--page-caption {
        font-size: 12px;
        line-height: 1.3;
        padding: 6px 8px 10px;
    }
}



/* ==================================================
   スマホ版 パンくず〜タイトル間の余白調整CSS
   ================================================== */

@media screen and (max-width: 768px) {
    /* パンくずリスト枠自体の余白を詰める */
    .pane-topic-path,
    .column-breadcrumb {
        margin-top: 0 !important;
        margin-bottom: 10px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    /* パンくず内のリスト要素の余白調整 */
    .block-topic-path,
    .block-topic-path--list {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* タイトルエリアの上部余白を詰める */
    .block-pagecategory-caption,
    .detail_title {
        margin-top: 10px !important;
        padding-top: 0 !important;
    }

    /* タイトル文字（H1）自体の余白調整 */
    .block-pagecategory-caption--text,
    .detail_title h1 {
        margin-top: 0 !important;
        margin-bottom: 15px !important;
    }
}


/* ==================================================
   スマホ版 巨大スペース（空白エリア）強制解消CSS
   ================================================== */

@media screen and (max-width: 768px) {
    /* 1. パンくずリスト〜タイトル間の巨大な高さをリセット */
    .pane-contents,
    .pane-main,
    .block-pagecategory-caption,
    .block-pagecategory-page-list {
        min-height: 0 !important;
        height: auto !important;
        padding-top: 30px !important;
        margin-top: 0 !important;
    }

    /* 2. パンくずリスト自体の余白を最小化 */
    .pane-topic-path {
        margin-bottom: 5px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    /* 3. タイトル（H1）周りの余白を固定 */
    .block-pagecategory-caption {
        margin-bottom: 10px !important;
    }

    .block-pagecategory-caption--text {
        font-size: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 4. 件数表示（12件あります）の上部余白を詰める */
    .block-pagecategory--pager-top {
        margin-top: 5px !important;
        margin-bottom: 15px !important;
        padding: 0 !important;
        height: auto !important;
    }
}

/* ==========================================
   関連講座一覧ブロック読み込み用（中央寄せ・タイトル変更・下線消去）
   ========================================== */

/* 1. ブロック全体を中央寄せにする */
.block-course-list {
  margin: 0 auto !important;
  max-width: 1000px; /* ページの横幅に合わせて調整可能です */
}

/* 2. 「COURSE LIST」の英語タイトルを非表示にする */
.block-course-list .block-course-list--title,
.block-course-list .course-list--title-en,
.block-course-list [class*="title-en"] {
  display: none !important;
}

/* 3. 元の日本語タイトル（Web・動画・講座一覧）の文字を消す */
.block-course-list .block-course-list--category-title,
.block-course-list .course-list--title-jp,
.block-course-list [class*="title-jp"],
.block-course-list h2,
.block-course-list h3 {
  font-size: 0 !important;
}

/* 4. 新しいタイトル「おすすめ講座一覧」を表示する */
.block-course-list .block-course-list--category-title::before,
.block-course-list .course-list--title-jp::before,
.block-course-list [class*="title-jp"]::before,
.block-course-list h2::before,
.block-course-list h3::before {
  content: "おすすめ講座一覧" !important;
  font-size: 24px !important;
  font-weight: bold !important;
  color: #333333 !important;
  display: block !important;
  text-align: center !important;
  margin-bottom: 20px !important;
}

/* 5. 講座カード内の赤色下線を消去する */
.block-course-list a,
.block-course-list a:hover,
.block-course-list a * {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}


