/*
Theme Name: Sakura Child
Template: sakura
Description: 「ピル婦人科コラム」カスタム投稿タイプを含む子テーマ
Author: Your Name
Version: 1.0.0
*/

/* 子テーマのカスタムスタイルをここに追加できます */

/* ========================================
   ピル婦人科コラム専用スタイル（PC）
======================================== */

@media screen and (min-width: 768px) {
    /* カスタム投稿エリアのみで適用 */
    body.single-pill_column,
    body.post-type-archive-pill_column,
    body.tax-pill_column_category {

        /* 右側の固定ボタンを非表示（CSSでもバックアップ） */
        .c-whitebox-cont__anker {
            display: none !important;
        }

        /* コンテンツ幅を適度に広げる */
        .inner-block {
            width: 100% !important;
            max-width: 1200px !important;
            padding-left: 40px !important;
            padding-right: 40px !important;
            margin: 0 auto !important;
            box-sizing: border-box !important;
        }

        /* 外側のブロックも調整 */
        .outer-block {
            min-width: auto !important;
        }

        /* タイトルを左寄せ */
        .c-blog-d h1,
        .c-blog-d__box h1 {
            text-align: left;
        }

        /* 日付も左寄せ */
        .c-blog-d__data {
            text-align: left;
        }

        /* カテゴリーも左寄せ */
        .c-blog-d__category {
            text-align: left;
            margin-bottom: 15px;
        }

        .category-tag {
            display: inline-block;
            padding: 4px 12px;
            background: #f0f0f0;
            border-radius: 3px;
            font-size: 13px;
            margin-right: 8px;
        }

        /* アーカイブページのタイトルも左寄せ */
        .p_blog__ttl .c-ttl05 {
            text-align: left;
        }

        .p_blog__ttl .c-ttl05 .en,
        .p_blog__ttl .c-ttl05 .ja {
            display: block;
            text-align: left;
        }
    }
}

/* ========================================
   ピル婦人科コラム 個別記事ページスタイル
======================================== */

/* コンテンツエリア全体 */
.pill-column-single {
    background-color: #f8f8f8;
    padding: 60px 0;
}

.pill-column-content {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 40px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* パンくずリスト */
.pill-column-breadcrumb {
    margin-bottom: 30px;
}

.pill-column-breadcrumb ol {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #666;
}

.pill-column-breadcrumb li {
    display: flex;
    align-items: center;
}

.pill-column-breadcrumb li:not(:last-child)::after {
    content: ">";
    margin: 0 10px;
    color: #999;
}

.pill-column-breadcrumb a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pill-column-breadcrumb a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.pill-column-breadcrumb li:last-child span {
    color: #333;
    font-weight: 500;
}

/* 記事ヘッダー */
.pill-column-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 30px;
}

.pill-column-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.pill-column-date {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.pill-column-categories {
    display: flex;
    gap: 8px;
}

.pill-column-category {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.pill-column-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.pill-column-title {
    font-size: 32px;
    line-height: 1.5;
    margin: 20px 0;
    color: #333;
    font-weight: 700;
}

.pill-column-thumbnail {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pill-column-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* 記事本文 */
.pill-column-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.pill-column-excerpt {
    background: #f0f7ff;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* 記事フッター */
.pill-column-footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
}

.pill-column-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tags-label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.pill-column-tag {
    display: inline-block;
    padding: 5px 15px;
    background: #f0f0f0;
    color: #666;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pill-column-tag:hover {
    background: #667eea;
    color: #ffffff;
}

/* ナビゲーション */
.pill-column-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.pill-column-navigation a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #ffffff;
    border: 2px solid #667eea;
    border-radius: 6px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pill-column-navigation a:hover {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nav-arrow {
    font-size: 16px;
}

.nav-list {
    flex: 1;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff !important;
    border: none !important;
}

.nav-list:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    .pill-column-single {
        padding: 40px 0 30px;
    }

    .pill-column-content {
        padding: 25px 20px;
        border-radius: 0;
    }

    /* パンくずリストをスマホで調整 */
    .pill-column-breadcrumb {
        margin-bottom: 25px;
    }

    .pill-column-breadcrumb ol {
        font-size: 12px;
        flex-wrap: wrap;
    }

    .pill-column-breadcrumb li:not(:last-child)::after {
        margin: 0 6px;
    }

    .pill-column-title {
        font-size: 22px;
        line-height: 1.6;
    }

    .pill-column-body {
        font-size: 15px;
    }

    .pill-column-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .pill-column-navigation a {
        width: 100%;
        justify-content: center;
    }

    /* スマホでのヘッダー調整 */
    .pill-column-header {
        margin-bottom: 30px;
    }
}

/* SWELLスタイルとの統合 */
.pill-column-body .wp-block-image,
.pill-column-body .wp-block-gallery,
.pill-column-body .wp-block-embed {
    margin: 30px 0;
}

.pill-column-body h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.pill-column-body h3 {
    font-size: 24px;
    margin: 35px 0 18px;
    padding-left: 15px;
    border-left: 4px solid #667eea;
}

.pill-column-body h4 {
    font-size: 20px;
    margin: 30px 0 15px;
}

.pill-column-body p {
    margin: 20px 0;
}

.pill-column-body ul,
.pill-column-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.pill-column-body li {
    margin: 10px 0;
}

.pill-column-body a {
    color: #667eea;
    text-decoration: underline;
}

.pill-column-body a:hover {
    color: #764ba2;
}

/* ========================================
   ピル婦人科コラム アーカイブページスタイル
   信頼できる産婦人科の雰囲気
======================================== */

/* ヘッダーセクション */
.pill-archive-hero {
    background: #FFFFFF;
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #F0EDF1;
}

.pill-archive-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F8E8F5 0%, #E8D5F2 50%, #F8E8F5 100%);
}

.pill-archive-hero::after {
    display: none;
}

.pill-archive-hero__inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pill-archive-hero__icon {
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.pill-archive-hero__title {
    margin: 20px 0;
}

.pill-archive-hero__title .ja {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #6B4668;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.pill-archive-hero__title .en {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #9B7B98;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pill-archive-hero__description {
    font-size: 16px;
    color: #6B4668;
    line-height: 1.8;
    margin-top: 20px;
}

/* コンテンツセクション */
.pill-archive-content {
    background-color: #FFFFFF;
    padding: 60px 20px;
}

.pill-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* メインコンテンツ */
.pill-archive-main {
    min-width: 0;
}

.pill-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* カードスタイル */
.pill-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(107, 70, 104, 0.06);
    border: 1px solid #F0EDF1;
    transition: all 0.3s ease;
}

.pill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(107, 70, 104, 0.12);
    border-color: #E8D5F2;
}

.pill-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.pill-card__image {
    position: relative;
    width: 100%;
    padding-top: 60%;
    background: #F8F4F7;
    overflow: hidden;
}

.pill-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pill-card:hover .pill-card__image img {
    transform: scale(1.05);
}

.pill-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pill-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(107, 70, 104, 0.05) 100%);
}

.pill-card__content {
    padding: 24px;
}

.pill-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.pill-card__date {
    font-size: 13px;
    color: #9B7B98;
    font-weight: 500;
}

.pill-card__categories {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pill-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #E8D5F2;
    color: #6B4668;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.pill-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pill-card__excerpt {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pill-card__readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #B87BA8;
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.pill-card:hover .pill-card__readmore {
    gap: 12px;
}

/* ページネーション */
.pill-archive-pagination {
    margin-top: 60px;
}

.pill-archive-pagination .pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pill-archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: #FFFFFF;
    border: 2px solid #E8D5F2;
    border-radius: 8px;
    color: #6B4668;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pill-archive-pagination .page-numbers:hover,
.pill-archive-pagination .page-numbers.current {
    background: #E8D5F2;
    color: #6B4668;
    border-color: #E8D5F2;
}

.pill-archive-pagination .page-numbers svg {
    vertical-align: middle;
}

/* 空の状態 */
.pill-archive-empty {
    text-align: center;
    padding: 80px 20px;
}

.pill-archive-empty svg {
    margin-bottom: 24px;
}

.pill-archive-empty h3 {
    font-size: 24px;
    color: #6B4668;
    margin-bottom: 12px;
}

.pill-archive-empty p {
    font-size: 16px;
    color: #9B7B98;
}

/* サイドバー */
.pill-archive-sidebar {
    min-width: 0;
}

.pill-sidebar-widget {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(107, 70, 104, 0.06);
    border: 1px solid #F0EDF1;
}

.pill-sidebar-widget__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #6B4668;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #F8E8F5;
}

.pill-sidebar-widget__title svg {
    color: #B87BA8;
}

/* カテゴリーリスト */
.pill-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pill-category-item {
    margin-bottom: 8px;
}

.pill-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #FAFAFA;
    border-radius: 8px;
    text-decoration: none;
    color: #333333;
    transition: all 0.3s ease;
}

.pill-category-link:hover {
    background: #F8F4F7;
    transform: translateX(4px);
}

.pill-category-name {
    font-size: 15px;
    font-weight: 500;
}

.pill-category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    background: #E8D5F2;
    color: #6B4668;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
}

/* お知らせボックス */
.pill-sidebar-notice {
    background: linear-gradient(135deg, #F8E8F5 0%, #E8D5F2 100%);
    border: 2px solid #E8B4D9;
}

.pill-notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border-radius: 50%;
    color: #B87BA8;
    margin-bottom: 16px;
}

.pill-notice-title {
    font-size: 16px;
    font-weight: 700;
    color: #6B4668;
    margin-bottom: 12px;
}

.pill-notice-text {
    font-size: 14px;
    color: #6B4668;
    line-height: 1.7;
}

/* レスポンシブ */
@media screen and (max-width: 1024px) {
    .pill-archive-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pill-archive-sidebar {
        order: 2;
    }
}

@media screen and (max-width: 768px) {
    .pill-archive-hero {
        padding: 60px 20px 40px;
    }

    .pill-archive-hero__title .ja {
        font-size: 28px;
    }

    .pill-archive-hero__title .en {
        font-size: 14px;
    }

    .pill-archive-content {
        padding: 40px 15px;
    }

    .pill-archive-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pill-card {
        border-radius: 12px;
    }

    .pill-card__content {
        padding: 20px;
    }
}

/* ========================================
   皮膚医療（美容皮膚）コラム専用スタイル（PC）
======================================== */

@media screen and (min-width: 768px) {
    /* カスタム投稿エリアのみで適用 */
    body.single-skin_column,
    body.post-type-archive-skin_column,
    body.tax-skin_column_category {
        .inner-block {
            max-width: none;
        }
    }
}

/* 個別記事ページ */
.skin-column-single {
    padding: 60px 0 40px;
}

.skin-column-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
}

/* パンくずリスト */
.skin-column-breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.skin-column-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skin-column-breadcrumb li {
    display: flex;
    align-items: center;
}

.skin-column-breadcrumb li:not(:last-child)::after {
    content: '›';
    margin: 0 8px;
    color: #999;
}

.skin-column-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.skin-column-breadcrumb a:hover {
    color: #667eea;
}

/* 記事ヘッダー */
.skin-column-header {
    margin-bottom: 40px;
}

.skin-column-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.skin-column-date {
    color: #999;
    font-size: 14px;
}

.skin-column-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.skin-column-category {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    color: #666;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.skin-column-category:hover {
    background: #667eea;
    color: #ffffff;
}

.skin-column-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    color: #333;
    margin-bottom: 30px;
}

.skin-column-thumbnail {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.skin-column-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* 記事本文 */
.skin-column-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.skin-column-excerpt {
    background: #f0f7ff;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* 記事フッター */
.skin-column-footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
}

.skin-column-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tags-label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.skin-column-tag {
    display: inline-block;
    padding: 5px 15px;
    background: #f0f0f0;
    color: #666;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.skin-column-tag:hover {
    background: #667eea;
    color: #ffffff;
}

/* ナビゲーション */
.skin-column-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.skin-column-navigation a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #ffffff;
    border: 2px solid #667eea;
    border-radius: 6px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.skin-column-navigation a:hover {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nav-arrow {
    font-size: 16px;
}

.nav-list {
    flex: 1;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff !important;
    border: none !important;
}

.nav-list:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    .skin-column-single {
        padding: 40px 0 30px;
    }

    .skin-column-content {
        padding: 25px 20px;
        border-radius: 0;
    }

    .skin-column-breadcrumb {
        margin-bottom: 25px;
    }

    .skin-column-breadcrumb ol {
        font-size: 12px;
        flex-wrap: wrap;
    }

    .skin-column-breadcrumb li:not(:last-child)::after {
        margin: 0 6px;
    }

    .skin-column-title {
        font-size: 22px;
        line-height: 1.6;
    }

    .skin-column-body {
        font-size: 15px;
    }

    .skin-column-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .skin-column-navigation a {
        width: 100%;
        justify-content: center;
    }

    .skin-column-header {
        margin-bottom: 30px;
    }
}

/* SWELLスタイルとの統合 */
.skin-column-body .wp-block-image,
.skin-column-body .wp-block-gallery,
.skin-column-body .wp-block-embed {
    margin: 30px 0;
}

.skin-column-body h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.skin-column-body h3 {
    font-size: 24px;
    margin: 35px 0 18px;
    padding-left: 15px;
    border-left: 4px solid #667eea;
}

.skin-column-body h4 {
    font-size: 20px;
    margin: 30px 0 15px;
}

.skin-column-body p {
    margin: 20px 0;
}

.skin-column-body ul,
.skin-column-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.skin-column-body li {
    margin: 10px 0;
}

.skin-column-body a {
    color: #667eea;
    text-decoration: underline;
}

.skin-column-body a:hover {
    color: #764ba2;
}

/* 画像のレスポンシブ対応とセンター揃え */
.skin-column-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.skin-column-body figure {
    margin: 30px 0;
    text-align: center;
}

.skin-column-body figure img {
    max-width: 100%;
    height: auto;
}

.skin-column-body .wp-block-image {
    text-align: center;
}

.skin-column-body .wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* 左寄せ・右寄せ指定がある場合は上書き */
.skin-column-body .alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.skin-column-body .alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.skin-column-body .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* コンテンツ全体の横幅制限を解除（必要に応じて） */
.skin-column-body {
    overflow-x: hidden;
    word-wrap: break-word;
}

/* SANGOショートコードのFont Awesome 6アイコン対応 */
.skin-column-body .box30 .box-title:before,
.skin-column-body .box31 .box-title:before,
.skin-column-body .box32 .box-title:before,
.skin-column-body .box33 .box-title:before,
.pill-column-body .box30 .box-title:before,
.pill-column-body .box31 .box-title:before,
.pill-column-body .box32 .box-title:before,
.pill-column-body .box33 .box-title:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    -webkit-font-smoothing: antialiased !important;
    display: inline-block !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
}

/* 監修者情報セクション */
.skin-column-supervisor,
.pill-column-supervisor {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 2px solid #E8D5F2;
    background: #FAFAFA;
}

.skin-supervisor-content,
.pill-supervisor-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ショートコード用ラッパー */
.supervisor-shortcode-wrapper {
    margin: 40px 0;
    clear: both;
}

.supervisor-shortcode-wrapper .supervision-box {
    max-width: 900px;
    margin: 0 auto;
}

/* 監修者ボックス */
.supervision-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(184, 123, 168, 0.12);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 折りたたみ表示 */
.supervisor-card-collapsed {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 30px;
}

.supervision-box[data-expanded="true"] .supervisor-card-collapsed {
    display: none;
}

.supervisor-card-collapsed:hover {
    background: #FAFAFA;
}

/* 医師メイン情報 */
.doctor-main-info {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.doctor-photo {
    position: relative;
    flex-shrink: 0;
    width: 140px;
    height: 140px;
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #E8D5F2;
}

.doctor-photo-small {
    width: 100px;
    height: 100px;
}

.doctor-photo-small img {
    border: 3px solid #E8D5F2;
}

.supervisor-badge {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: #B87BA8;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.supervisor-badge-small {
    font-size: 10px;
    padding: 3px 12px;
    bottom: -3px;
}

.doctor-basic-info {
    flex: 1;
}

.doctor-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doctor-title {
    font-size: 14px;
    color: #666;
    margin: 0 0 16px 0;
}

.credentials-summary h4 {
    font-size: 14px;
    font-weight: 700;
    color: #B87BA8;
    margin: 0 0 8px 0;
}

.credentials-list {
    font-size: 13px;
    line-height: 1.8;
    color: #555;
}

.credentials-list a {
    color: #B87BA8;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.credentials-list a:hover {
    color: #9B6B98;
    border-bottom-color: #9B6B98;
}

.supervisor-arrow {
    font-size: 20px;
    color: #B87BA8;
    transition: transform 0.3s ease;
}

.supervisor-arrow-up {
    transform: rotate(0deg);
}

.supervisor-intro-text {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E8D5F2;
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

/* 展開表示 */
.supervisor-card-expanded {
    display: none;
}

.supervision-box[data-expanded="true"] .supervisor-card-expanded {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.supervisor-expanded-header {
    padding: 24px 30px;
    background: linear-gradient(135deg, #F8F4F7 0%, #fff 100%);
    border-bottom: 2px solid #E8D5F2;
    cursor: pointer;
    transition: background 0.3s ease;
}

.supervisor-expanded-header:hover {
    background: linear-gradient(135deg, #F0E8EF 0%, #FAFAFA 100%);
}

.supervisor-intro-expanded {
    padding: 24px 30px;
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    border-bottom: 1px solid #E8D5F2;
}

/* 詳細情報 */
.detailed-info {
    padding: 30px;
}

.info-section {
    margin-bottom: 30px;
}

.info-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px 0;
    padding: 10px 16px;
    background: linear-gradient(90deg, #E8D5F2 0%, rgba(232, 213, 242, 0.3) 100%);
    border-left: 4px solid #B87BA8;
    border-radius: 4px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    position: relative;
    padding: 8px 0 8px 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    border-bottom: 1px solid #f5f5f5;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 8px;
    color: #B87BA8;
    font-size: 10px;
}

.info-list li a {
    color: #B87BA8;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.info-list li a:hover {
    color: #9B6B98;
    border-bottom-color: #9B6B98;
}

/* YouTube セクション */
.youtube-section {
    margin-top: 30px;
}

.youtube-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 アスペクト比 */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* レスポンシブ対応（監修者情報） */
@media (max-width: 768px) {
    .doctor-main-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .doctor-photo,
    .doctor-photo-small {
        width: 120px;
        height: 120px;
    }

    .doctor-name {
        font-size: 20px;
        justify-content: center;
    }

    .doctor-title {
        font-size: 13px;
    }

    .supervisor-intro-text,
    .supervisor-intro-expanded {
        font-size: 13px;
    }

    .detailed-info {
        padding: 20px;
    }

    .info-list li {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .supervisor-card-collapsed {
        padding: 20px 15px;
    }

    .doctor-photo,
    .doctor-photo-small {
        width: 100px;
        height: 100px;
    }

    .doctor-name {
        font-size: 18px;
    }

    .doctor-title {
        font-size: 12px;
    }

    .supervisor-expanded-header {
        padding: 16px 15px;
    }

    .supervisor-intro-expanded {
        padding: 16px 15px;
    }

    .detailed-info {
        padding: 15px;
    }

    .section-title {
        font-size: 15px;
        padding: 8px 12px;
    }

    .info-list li {
        font-size: 12px;
    }
}

/* ========================================
   皮膚医療（美容皮膚）コラム アーカイブページスタイル
======================================== */

/* ヘッダーセクション */
.skin-archive-hero {
    background: #FFFFFF;
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #F0EDF1;
}

.skin-archive-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F8E8F5 0%, #E8D5F2 50%, #F8E8F5 100%);
}

.skin-archive-hero::after {
    display: none;
}

.skin-archive-hero__inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.skin-archive-hero__icon {
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.skin-archive-hero__title {
    margin: 20px 0;
}

.skin-archive-hero__title .ja {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #6B4668;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.skin-archive-hero__title .en {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #9B7B98;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.skin-archive-hero__description {
    font-size: 16px;
    color: #6B4668;
    line-height: 1.8;
    margin-top: 20px;
}

/* コンテンツセクション */
.skin-archive-content {
    background-color: #FFFFFF;
    padding: 60px 20px;
}

.skin-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* メインコンテンツ */
.skin-archive-main {
    min-width: 0;
}

.skin-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* カードスタイル */
.skin-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(107, 70, 104, 0.06);
    border: 1px solid #F0EDF1;
    transition: all 0.3s ease;
}

.skin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(107, 70, 104, 0.12);
    border-color: #E8D5F2;
}

.skin-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.skin-card__image {
    position: relative;
    width: 100%;
    padding-top: 60%;
    background: #F8F4F7;
    overflow: hidden;
}

.skin-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.skin-card:hover .skin-card__image img {
    transform: scale(1.05);
}

.skin-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.skin-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(107, 70, 104, 0.05) 100%);
}

.skin-card__content {
    padding: 24px;
}

.skin-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.skin-card__date {
    font-size: 13px;
    color: #9B7B98;
    font-weight: 500;
}

.skin-card__categories {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.skin-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #E8D5F2;
    color: #6B4668;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.skin-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.skin-card__excerpt {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.skin-card__readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #B87BA8;
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.skin-card:hover .skin-card__readmore {
    gap: 12px;
}

/* ページネーション */
.skin-archive-pagination {
    margin-top: 60px;
}

.skin-archive-pagination .pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.skin-archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: #FFFFFF;
    border: 2px solid #E8D5F2;
    border-radius: 8px;
    color: #6B4668;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.skin-archive-pagination .page-numbers:hover,
.skin-archive-pagination .page-numbers.current {
    background: #E8D5F2;
    color: #6B4668;
    border-color: #E8D5F2;
}

.skin-archive-pagination .page-numbers svg {
    vertical-align: middle;
}

/* 空の状態 */
.skin-archive-empty {
    text-align: center;
    padding: 80px 20px;
}

.skin-archive-empty svg {
    margin-bottom: 24px;
}

.skin-archive-empty h3 {
    font-size: 24px;
    color: #6B4668;
    margin-bottom: 12px;
}

.skin-archive-empty p {
    font-size: 16px;
    color: #9B7B98;
}

/* サイドバー */
.skin-archive-sidebar {
    min-width: 0;
}

.skin-sidebar-widget {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(107, 70, 104, 0.06);
    border: 1px solid #F0EDF1;
}

.skin-sidebar-widget__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #6B4668;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #F8E8F5;
}

.skin-sidebar-widget__title svg {
    color: #B87BA8;
}

/* カテゴリーリスト */
.skin-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skin-category-item {
    margin-bottom: 8px;
}

.skin-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #FAFAFA;
    border-radius: 8px;
    text-decoration: none;
    color: #333333;
    transition: all 0.3s ease;
}

.skin-category-link:hover {
    background: #F8F4F7;
    transform: translateX(4px);
}

.skin-category-name {
    font-size: 15px;
    font-weight: 500;
}

.skin-category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    background: #E8D5F2;
    color: #6B4668;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
}

/* レスポンシブ */
@media screen and (max-width: 1024px) {
    .skin-archive-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .skin-archive-sidebar {
        order: 2;
    }
}

@media screen and (max-width: 768px) {
    .skin-archive-hero {
        padding: 60px 20px 40px;
    }

    .skin-archive-hero__title .ja {
        font-size: 28px;
    }

    .skin-archive-hero__title .en {
        font-size: 14px;
    }

    .skin-archive-content {
        padding: 40px 15px;
    }

    .skin-archive-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .skin-card {
        border-radius: 12px;
    }

    .skin-card__content {
        padding: 20px;
    }
}

/* ========================================
 * 協力監修者カードスタイル
 * ======================================== */

/* 協力監修者バッジ - 色を変更して区別 */
.co-supervisor-badge {
    background: #5B8FB9 !important; /* 青系の色で区別 */
}

/* 協力監修者カードのボーダー色 */
.co-supervision-box {
    border-color: #5B8FB9;
}

.co-supervision-box .doctor-photo img {
    border-color: #B8D4E8;
}

.co-supervision-box .doctor-photo-small img {
    border-color: #B8D4E8;
}

/* 協力監修者の詳細情報セクションタイトル */
.co-supervision-box .section-title {
    background: linear-gradient(135deg, #5B8FB9 0%, #7BA3C9 100%);
}
