/* ===== コラム共通スタイル ===== */

/* ページヘッダー */
.column-page-header {
    background: linear-gradient(135deg, #ae4480 0%, #d975a9 100%);
    color: #fff;
    padding: 2rem 0 2.5rem;
}
.column-page-header .breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    opacity: 0.85;
}
.column-page-header .breadcrumb a { color: #fff; text-decoration: underline; }
.column-page-header .breadcrumb-sep { margin: 0 0.5rem; }
.column-page-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.column-page-header p { font-size: 1rem; opacity: 0.9; }

/* セクション */
.column-section { padding: 2.5rem 0 4rem; }

/* 2カラムレイアウト */
.column-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

/* ===== 検索バー ===== */
.search-bar {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.search-bar input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}
.search-bar input:focus { border-color: #ae4480; }
.search-bar button {
    padding: 0.85rem 1.4rem;
    background: #ae4480;
    color: #fff;
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
}
.search-bar button:hover { background: #d975a9; }

.searchicon {
	display: inline-block;
	width: 0.95rem;
	height: auto;
}

/* ===== カテゴリフィルター ===== */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.cat-btn {
    padding: 0.45rem 1rem;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.25s;
    white-space: nowrap;
}
.cat-btn:hover { border-color: #ae4480; color: #ae4480; }
.cat-btn.active {
    background: #ae4480;
    border-color: #ae4480;
    color: #fff;
    font-weight: 600;
}

/* ===== 記事件数 ===== */
.article-count {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.2rem;
}

/* ===== 記事グリッド ===== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* 記事カード */
.article-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.25s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {transform: translateY(-4px);}

.article-card-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #e0e0e0;
}

.article-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-card-thumb img { transform: scale(1.04); }
.article-card-cat {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: #ae4480;
    color: #fff;
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
}

.article-card-body {
    padding: 1.1rem 1.2rem 1.3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.read-time { color: #ae4480; }
.article-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.8rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.tag {
    font-size: 0.75rem;
    color: #ae4480;
    background: #fdf0f7;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* 記事なし */
.no-articles {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
    font-size: 1rem;
}

.reset-btn {
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    background: #ae4480;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* ===== ページネーション ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.page-btn {
    padding: 0.5rem 1rem;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.25s;
}

.page-btn:hover { border-color: #ae4480; color: #ae4480; }
.page-btn.active { background: #ae4480; border-color: #ae4480; color: #fff; font-weight: 700; }

/* ===== サイドバー ===== */
.sidebar-widget {
    background: #fff;
    border-radius: 14px;
    padding: 1.4rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
}

.sidebar-widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ae4480;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #ae4480;
}

/* 新着記事 */
.sidebar-recent { list-style: none; }
.sidebar-recent li { border-bottom: 1px dashed #e0e0e0; }
.sidebar-recent li:last-child { border-bottom: none; }
.sidebar-recent a {
    display: block;
    padding: 0.7rem 0;
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-recent a:hover .sidebar-recent-title { color: #ae4480; }
.sidebar-recent-cat {
    display: inline-block;
    font-size: 0.85rem;
    background: #fdf0f7;
    color: #ae4480;
    padding: 0.5rem 0.6rem;
    margin-bottom: 0.35rem;
}

.sidebar-recent-title {
    display: block;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.sidebar-recent time { font-size: 0.85rem; color: #666; }

/* カテゴリ */
.sidebar-categories { list-style: none; }
.sidebar-categories li { border-bottom: 1px dashed #e0e0e0; }
.sidebar-categories li:last-child { border-bottom: none; }
.sidebar-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.2s;
}

.sidebar-categories a:hover { color: #ae4480; }

.cat-count { color: #666; font-size: 1rem; }

/* CTAバナー */
.sidebar-cta {
    background: linear-gradient(135deg, #ae4480, #d975a9);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    color: #fff;
}

.sidebar-cta h4 { font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.5; }
.sidebar-cta p { font-size: 0.82rem; opacity: 0.9; margin-bottom: 1rem; }
.sidebar-cta-btn {
    display: block;
    padding: 0.7rem 1rem;
    background: #fff;
    color: #ae4480;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    transition: all 0.25s;
}

.sidebar-cta-btn:hover { background: #fdf0f7; }
.sidebar-cta-btn-sub {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
    margin-bottom: 0;
}

.sidebar-cta-btn-sub:hover { background: rgba(255,255,255,0.15); }

/* ===== 記事詳細ページ ===== */
.article-detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

/* 記事ヘッダー */
.article-header { margin-bottom: 2rem; }

.article-header-cat {
    display: inline-block;
    color: #fff;
    font-size: 1rem;
    padding: 0.3rem 0;
    font-weight: 600;
	letter-spacing: 1px;
}

.article-header h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.article-header-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #666;
    flex-wrap: wrap;
}

.article-header-meta time {color: #ffffff;}

/* サムネイル */
.article-thumbnail {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 2rem;
    aspect-ratio: 16/7;
    background: #e0e0e0;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 目次 */
.article-toc {
    background: #fdf7fb;
    border: 2px solid #f0e6f0;
    border-radius: 12px;
    padding: 1.3rem 1.5rem;
    margin-bottom: 2rem;
}

.article-toc-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ae4480;
    margin-bottom: 0.8rem;
}

.article-toc ol {
    padding-left: 1.2rem;
    margin: 0;
}

.article-toc li {
    font-size: 0.88rem;
    color: #333;
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.article-toc a {color: #ae4480; text-decoration: none;}

.article-toc a:hover {text-decoration: underline;}

.article-toc .toc-h3 {padding-left: 1rem; font-size: 0.82rem;}

/* 記事本文 */
.article-body {
    background: #fff;
    border-radius: 14px;
    padding: 2rem 2.5rem;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
    margin-bottom: 2rem;
    line-height: 1.9;
}

.article-body a {
	font-weight: 600;
	text-decoration: underline;
	color: #5ea344;
}

.article-body a:hover {
	text-decoration: none;
	color: #b0cf00;
}

.article-body h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ae4480;
    border-left: 5px solid #ae4480;
    padding-left: 0.8rem;
    margin: 2rem 0 1rem;
}

.article-body h2:first-child {margin-top: 0;}

.article-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.4rem;
    margin: 1.5rem 0 0.8rem;
}

.article-body .highlight_text {
    font-weight: 700;
}

.article-body .highlight_size {
	font-size: 1.35rem;
}

.article-body .highlight_color {
	color: #ae4480;
}

.article-body p {margin-bottom: 1rem; color: #333;}

.article-body ul, .article-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.article-body li { margin-bottom: 0.4rem; color: #333; }

.article-body strong { color: #ae4480; font-weight: 700; }

/* タグ */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.article-tags .tag { font-size: 0.85rem; padding: 0.3rem 0.8rem; }

/* SNSシェア */
.article-share {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
    margin-bottom: 2rem;
    text-align: center;
}

.article-share h4 { font-size: 0.95rem; color: #666; margin-bottom: 1rem; }
.share-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.share-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: opacity 0.2s;
}

.share-btn:hover { opacity: 0.85; }
.share-btn-x { background: #000; color: #fff; }
.share-btn-line { background: #06c755; color: #fff; }
.share-btn-copy { background: #f0f0f0; color: #333; }

/* 関連記事 */
.related-articles { margin-bottom: 2rem; }
.related-articles h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.related-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: transform 0.2s;
}
.related-card:hover { transform: translateY(-3px); }
.related-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #e0e0e0;
}
.related-card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.related-card-body { padding: 0.8rem; }

.related-card-cat { font-size: 0.85rem; color: #ae4480; font-weight: 600; margin-bottom: 0.3rem; }

.related-card-title {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 記事ナビゲーション */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}
.article-nav-btn {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s;
    text-decoration: none;
    display: block;
}
.article-nav-btn:hover { border-color: #ae4480; }
.article-nav-btn.next { text-align: right; }
.article-nav-label { font-size: 0.75rem; color: #666; margin-bottom: 0.3rem; }
.article-nav-title { font-size: 0.85rem; color: #333; font-weight: 600; line-height: 1.5; }

/* ===== レスポンシブ ===== */
@media (max-width: 1024px) {
    .column-layout,
    .article-detail-layout {
        grid-template-columns: 1fr;
    }
    .column-main { order: 1; }
    .column-sidebar { order: 2; }
    .article-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .article-body { padding: 1.5rem; }
    .article-header h2 { font-size: 1.4rem; }
}
@media (max-width: 600px) {
    .column-page-header h2 { font-size: 1.5rem; }
    .article-nav { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .share-buttons { flex-direction: column; align-items: center; }
    .article-body { padding: 1.2rem; }
}
