/* Column Component Styles */

    .column_root * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    /* --- Layout & Common --- */
    .column_root {
      width: 100%;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-bottom: 80px;
      font-family: 'Noto Sans JP', sans-serif;
      color: #3a4049;
      background-color: #f8f7fd;
    }

    /* Utility: Content Width Limiter (860px) */
    /* Used for text content, TOC, and interactive banners to center them */
    .column_content-width {
      width: 100%;
      max-width: 860px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Utility: Flex Column Center */
    .column_flex-col {
      display: flex;
      flex-direction: column;
    }
    
    .column_items-center {
      align-items: center;
    }

    /* --- Header Area --- */
    .column_header-logo {
      margin-top: 40px;
      text-align: center;
      position: relative;
      width: 100%;
      height: 100px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .column_header-bg-text {
      font-size: 64px;
      line-height: 1;
      color: #3a4049;
      opacity: 0.1;
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      white-space: nowrap;
      z-index: 0;
      pointer-events: none;
    }

    .column_header-subtitle {
      font-size: 17px;
      font-weight: 700;
      position: relative;
      z-index: 1;
      margin-top: 30px;
    }

    .column_breadcrumb {
      margin-top: 20px;
      font-size: 14px;
      color: #3a4049;
      text-align: center;
      width: 90%;
      max-width: 960px;
      line-height: 1.6;
    }
    .column_breadcrumb span.link { text-decoration: underline; cursor: pointer; }
    @media (min-width: 768px) { .column_breadcrumb { font-size: 15px; } }


    /* --- Main Container --- */
    .column_main-container {
      width: 100%;
      max-width: 960px;
      margin-top: 40px;
      padding: 0 10px;
      display: flex;
      flex-direction: column;
      gap: 40px;
    }

    /* Article Title Area */
    .column_title-area {
      display: flex;
      flex-direction: column;
      gap: 24px;
      width: 100%;
    }
    
    .column_date {
      font-family: 'Outfit', sans-serif;
      color: #8c949f;
      margin-bottom: 12px;
    }
    .column_date .small { font-size: 17px; }
    .column_date .large { font-size: 26px; }

    .column_title-text {
      font-weight: 700;
      font-size: 24px;
      line-height: 1.4;
    }
    @media (min-width: 768px) { .column_title-text { font-size: 32px; } }

    .column_tag {
      background-color: #ee99ec;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 6px 16px;
      border-radius: 20px;
      align-self: flex-start;
      color: white;
      font-weight: 700;
      font-size: 14px;
    }


    /* --- Article Card (White Box) --- */
    .column_article-card {
      background-color: white;
      border-radius: 30px;
      width: 100%;
      box-shadow: 0 4px 20px rgba(0,0,0,0.05);
      overflow: hidden;
      /* Inner padding strategy */
      padding: 10px 10px 80px 10px;
    }
    @media (min-width: 768px) { .column_article-card { border-radius: 60px; } }

    /* The content inside the white card */
    .column_article-inner {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 60px; /* Vertical spacing between major sections */
      align-items: center;
    }

    /* 1. Hero Image */
    .column_hero-image {
      width: 100%;
      aspect-ratio: 16/9;
      border-radius: 20px;
      overflow: hidden;
      position: relative;
    }
    @media (min-width: 768px) { .column_hero-image { border-radius: 50px; } }
    .column_hero-image img { width: 100%; height: 100%; object-fit: cover; }

    /* 2. Interactive Banner (Manga/Chat) */
    .column_banner-wrapper {
      padding: 6px;
      border-radius: 30px;
      background-image: linear-gradient(107.698deg, rgba(105, 170, 212, 0.8) 0.68627%, rgba(130, 148, 223, 0.8) 51.776%, rgba(200, 145, 166, 0.8) 100%), linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%);
    }

    .column_banner-inner {
      background-color: white;
      border-radius: 24px;
      padding: 30px 20px;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 25px;
      text-align: center;
    }

    .column_intro-title {
      font-family: 'Kaisei Opti', sans-serif;
      font-weight: 700;
      font-size: 20px;
      margin-bottom: 16px;
    }
    .column_intro-text { font-size: 14px; line-height: 1.6; }
    .column_intro-text .link { color: #456eff; text-decoration: underline; font-weight: 700; }
    @media (min-width: 768px) {
      .column_intro-title { font-size: 26px; }
      .column_intro-text { font-size: 16px; }
    }

    .column_banner-buttons {
      display: flex;
      flex-direction: column;
      gap: 16px;
      width: 100%;
      align-items: center;
    }
    @media (min-width: 768px) {
      .column_banner-buttons { flex-direction: row; justify-content: center; gap: 20px; }
    }

    /* REPLACED: Image Buttons CSS */
    .column_btn-link {
      display: block;
      width: 100%;
      max-width: 300px;
      transition: transform 0.3s ease; /* Smooth hover effect */
    }
    .column_btn-link:hover {
      transform: scale(1.05); /* Enlarge on hover */
    }
    .column_btn-image {
      width: 100%;
      height: auto;
      display: block;
      /* Optional: Add drop shadow if images don't have one */
      /* filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); */
    }
    
    .column_or-label {
      font-family: 'Outfit', sans-serif;
      font-weight: 700;
      font-size: 20px;
      color: #8c949f;
    }


    /* 3. Table of Contents (TOC) */
    .column_toc {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .column_divider { width: 100%; height: 1px; background-color: #e0e0e0; }
    
    .column_toc-content { padding: 0 30px; }

  @media (min-width: 768px) { .column_toc-content { padding: 0px 0px; } }

    .column_toc-title {
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      color: #8c949f;
      margin-bottom: 16px;
    }
    .column_toc-list { list-style-type: none; padding-left: 0; }
    .column_toc-list li {
      margin-bottom: 16px;
      padding-left: 1.5em;
      position: relative;
      color: #456eff;
      text-decoration: underline;
      cursor: pointer;
      line-height: 1.8;
      font-size: 15px;
    }
    .column_toc-list li::before {
      content: "・";
      position: absolute;
      left: 0;
      color: #456eff;
      font-weight: bold;
      text-decoration: none;
    }


    /* 4. Article Text Body */
    .column_article-body {
      font-size: 16px;
      line-height: 1.8;
      color: #3a4049;
    }
    .column_article-body p { margin-bottom: 24px; }
    .column_article-body p:last-child { margin-bottom: 0; }


    /* --- Author Section --- */
    .column_author-box {
      width: 100%;
      position: relative;
      background-color: white;
      border-radius: 20px;
      padding: 23px 20px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }
    @media (min-width: 768px) { .column_author-box { padding: 23px 49px; } }

    .column_author-border {
      display: block;
      position: absolute;
      inset: 0;
      border: 5px solid #e1e7ee;
      pointer-events: none;
      border-radius: 20px;
    }

    .column_author-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
    @media (min-width: 768px) { .column_author-inner { flex-direction: row; align-items: flex-start; } }

    .column_author-img-wrapper {
      width: 110px;
      height: 110px;
      border-radius: 50%;
      overflow: hidden;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      flex-shrink: 0;
    }
    .column_author-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

    .column_author-info {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .column_author-role { font-size: 14px; color: #8c949f; }
    
    .column_author-header {
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }
    .column_author-name { font-size: 22px; font-weight: 700; white-space: nowrap; }
    
    .column_author-sns { width: 80px; height: 32px; flex-shrink: 0; }
    .column_author-bio { font-size: 14px; line-height: 1.6; margin-top: 8px; }


    /* --- Related Articles --- */
    .column_related-section { width: 100%; }
    .column_related-title {
      font-size: 22px;
      font-weight: 500;
      margin-bottom: 24px;
    }

    .column_card-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 30px;
      width: 100%;
    }
    @media (min-width: 600px) { .column_card-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 900px) { .column_card-grid { grid-template-columns: repeat(3, 1fr); } }

    .column_post-card {
      background-color: white;
      border-radius: 30px;
      overflow: hidden;
      box-shadow: 4px 6px 13px 0px rgba(215, 215, 215, 0.25);
      display: flex;
      flex-direction: column;
      height: 100%;
      transition: transform 0.2s;
      cursor: pointer;
    }
    .column_post-card:hover { transform: translateY(-5px); }

    .column_card-thumb {
      width: 100%;
      height: 180px;
      position: relative;
    }
    .column_card-thumb img { width: 100%; height: 100%; object-fit: cover; }

    .column_card-body {
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      flex-grow: 1;
      justify-content: space-between;
    }
    .column_card-title {
      font-size: 18px;
      font-weight: 700;
      color: #5c80ff;
      line-height: 1.5;
    }
    
    .column_card-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
    .column_card-tag {
      background-color: #ee99ec;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 12px;
      color: white;
      font-weight: 700;
    }
    .column_card-date { font-family: 'Outfit', sans-serif; color: #8c949f; }
    .column_card-date .small { font-size: 14px; }
    .column_card-date .large { font-size: 18px; }

    /* ページネーション全体 */
.column_pagination {
    margin-top: 40px;
    text-align: center;
}

/* ページ番号リスト (ulタグ) */
.column_pagination ul.page-numbers {
    display: inline-flex; /* リストアイテムを横並びに */
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px; /* アイテム間のスペース */
}

/* 各ページ番号/リンクのアイテム (liタグ) */
.column_pagination ul.page-numbers li {
    display: block;
}

/* リンクとページ番号の共通スタイル (aタグ, spanタグ) */
.column_pagination .page-numbers a,
.column_pagination .page-numbers span {
    display: block;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    padding: 0 8px;
    text-align: center;
    border: 1px solid #ccc; /* 枠線 */
    color: #333;
    text-decoration: none;
    background-color: #fff;
    transition: all 0.2s ease;
    border-radius: 4px;
}

/* カーソルを合わせた時のスタイル */
.column_pagination .page-numbers a:hover {
    background-color: #f0f0f0;
    border-color: #aaa;
}

/* 現在のページ番号 (span.current) */
.column_pagination .page-numbers .current {
    background-color: #007bff; /* メインカラー */
    color: #fff;
    border-color: #007bff;
    font-weight: bold;
    cursor: default; /* クリック不可にする */
}

/* 前へ/次へ のテキストの調整 */
.column_pagination .page-numbers .prev,
.column_pagination .page-numbers .next {
    font-size: 0.9em;
    padding: 0 15px;
}

/* ページネーションが単一で表示される場合（非推奨だが念のため） */
.column_pagination .page-numbers .dots {
    border: none;
    background: none;
    cursor: default;
}

/* ボタンセクション全体 */
.column_category-buttons {
    margin: 20px 0 40px; /* パンくずと記事一覧の間隔調整 */
    padding: 0 10px; /* 必要に応じて左右の余白を設定 */
}

/* ボタンの行（2段にするため） */
.column_button-row {
    display: flex;
    flex-wrap: wrap; /* ボタンが多すぎた場合に折り返す */
    gap: 10px; /* ボタン間のスペース */
    margin-bottom: 10px; /* 1段目と2段目の間のスペース */
    justify-content: flex-start; /* 左寄せ */
}

/* 個別のボタンのスタイル */
.column_button {
    /* 長方形の角丸ボタンのデザイン */
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ccc; /* 枠線 */
    border-radius: 20px; /* 角丸 */
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap; /* ボタン内のテキストの折り返しを防止 */
    transition: background-color 0.2s;
}

/* ホバー時のスタイル */
.column_button:hover {
    background-color: #dfe1f2;
    border-color: #8887a9;
}

/* お知らせリンクエリアの調整 */
.column_info-link-area {
    margin-top: 20px; /* ボタンの下からの間隔 */
    margin-bottom: 20px; /* 記事一覧の上までの間隔 */
    padding-left: 10px; /* 左端の余白をボタンと合わせる */
    font-size: 16px;
}

/* テキスト行のスタイル */
.column_info-text {
    display: flex;
    align-items: center;
    margin: 0;
}

/* 先頭の黒丸のスタイル */
.bullet {
    color: #8597f0; /* 黒い丸 */
    font-size: 1em;
    margin-right: 5px;
    line-height: 1em;
}

/* リンク自体のスタイル */
.column_info-link {
    color: #5e72d5; /* リンク色 */
    text-decoration: none; /* 下線を非表示にする場合は none */
}

.column_info-link:hover {
    text-decoration: underline;
}