/*
Theme Name: CAMDOC Theme
Author: High Grade Design
Description: CAMDOCオンラインクリニック用オリジナルテーマ
Version: 2.0.0
*/

/* =========================================
   共通変数・基本設定
   ========================================= */
:root {
    --primary-color: #5ab79a;
    --primary-dark: #259b76;
    --text-main: #1f2937;
    --text-light: #6b7280;
    --bg-base: #f8fafc; /* 少し青みがかったグレーで清潔感を */
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 40px -10px rgba(0,0,0,0.08); /* 柔らかく深い影 */
    --card-hover-shadow: 0 20px 50px -12px rgba(37, 99, 235, 0.15); /* ホバー時の影 */
}

/* --- ベーススタイル --- */
body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-base);
    line-height: 1.8;
    padding-top: 5rem;
    -webkit-font-smoothing: antialiased;
}

body.camdoc-menu-open {
    overflow: hidden;
}

/* =========================================
   ヘッダーエリア
   ========================================= */
.camdoc-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.camdoc-header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.camdoc-header__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.camdoc-header__nav {
     flex-grow: 1;
}

.camdoc-header__nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.camdoc-header__nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
    padding: 0.5rem 0;
}

.camdoc-header__nav-link:hover {
    color: var(--primary-color);
}

.camdoc-header__cta-list {
    display: flex;
    gap: 1rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

.camdoc-header__cta-button {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.camdoc-header__cta-button--primary {
    background-color: #df0e0e;
    color: #ffffff;
    border: 1px solid #df0e0e;
    box-shadow: 0 4px 6px -1px rgb(235 37 37 / 20%);
}

.camdoc-header__cta-button--primary:hover {
    background-color: #fc1d1d;
    border-color: #fc1d1d;
    transform: translateY(-1px);
}

.camdoc-header__cta-button--secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.camdoc-header__cta-button--secondary:hover {
    background-color: #f3f4f6;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-logo { height: 20px; } /* 基本（スマホ）サイズ */
  @media (min-width: 768px) {
    .custom-logo { height: 40px; } /* PCサイズ */
  }

/* ハンバーガーメニュー */
.camdoc-header__menu-toggle {
    display: none;
    flex-shrink: 0;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    justify-content: center;
    align-items: center;
    margin-left: 0.5rem;
}

.camdoc-header__menu-icon {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    position: relative;
    transition: background-color 0.2s;
}

.camdoc-header__menu-icon::before,
.camdoc-header__menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: transform 0.2s, top 0.2s;
}

.camdoc-header__menu-icon::before { top: -8px; }
.camdoc-header__menu-icon::after { top: 8px; }

.camdoc-header__menu-toggle.is-active .camdoc-header__menu-icon {
    background-color: transparent;
}

.camdoc-header__menu-toggle.is-active .camdoc-header__menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.camdoc-header__menu-toggle.is-active .camdoc-header__menu-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* モバイルメニュー */
.camdoc-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99;
    padding-top: 5rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.camdoc-mobile-menu.is-open {
    transform: translateX(0);
}

.camdoc-mobile-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-color);
}

.camdoc-mobile-menu__item {
    border-bottom: 1px solid var(--border-color);
}

.camdoc-mobile-menu__link {
    display: block;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

.camdoc-mobile-menu__cta-list {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.camdoc-mobile-menu__cta-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
}

.camdoc-mobile-menu__cta-button--primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.camdoc-mobile-menu__cta-button--secondary {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* =========================================
   メインコンテンツエリア
   ========================================= */

/* --- ヒーローセクション --- */
        .TOP_FV {
            position: relative;
            width: 100%;
            min-height: 90vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 5%;
        }

        /* インナーコンテナ */
        .TOP_FV__inner {
            display: flex;
            flex-direction: row-reverse; /* 画像を右、文字を左に */
            align-items: center;
            justify-content: space-between;
            max-width: 1200px;
            width: 100%;
            gap: 80px;
        }

        /* --- 右側：ビジュアルエリア --- */
        .TOP_FV__visual {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            min-height: 500px;
        }

        /* 背景の有機的なシェイプ */
        .TOP_FV__blob {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 550px;
            height: 550px;
            background: linear-gradient(150deg, rgb(255 193 207 / 33%), rgb(139 206 217 / 33%));
            border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
            z-index: 0;
            opacity: 0.8;
            filter: blur(10px);
        }

        /* 画像のラッパー */
        .TOP_FV__image-wrapper {
            position: relative;
            z-index: 1;
            width: 360px;
            height: 480px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(139, 206, 217, 0.3);
            background-color: #f0f0f0;
        }

        /* メイン画像 */
        .TOP_FV__image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* --- 左側：コンテンツエリア --- */
        .TOP_FV__content {
            flex: 1;
            max-width: 600px;
        }

        /* ページタグ */
        .TOP_FV__tag {
            display: inline-block;
            font-family: 'Jost', sans-serif;
            font-size: 14px;
            letter-spacing: 0.2em;
            color: #0094ac;
            border: 1px solid #8bced9;
            padding: 8px 16px;
            border-radius: 50px;
            margin-bottom: 24px;
            background: rgba(139, 206, 217, 0.05);
        }

        /* メインタイトル */
        .TOP_FV__title {
            font-size: 3.2rem;
            line-height: 1.4;
            font-weight: 700;
            margin-bottom: 24px;
            letter-spacing: -0.02em;
        }

        /* タイトル内の強調部分 */
        .TOP_FV__highlight {
            background: linear-gradient(90deg, #e88fa1, #8bced9);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
        }

        /* 説明文 */
        .TOP_FV__description {
            font-size: 1.05rem;
            line-height: 1.8;
            color: #666;
            margin-bottom: 40px;
        }

        /* 特徴リスト */
        .TOP_FV__feature-list {
            display: flex;
            gap: 20px;
            margin-bottom: 40px;
        }
        
        /* 特徴アイテム */
        .TOP_FV__feature-item {
            display: flex;
            align-items: center;
            font-weight: 600;
            color: #555;
            font-size: 0.95rem;
        }

        /* チェックアイコン */
        .TOP_FV__check-icon {
            width: 20px;
            height: 20px;
            background-color: #8bced9;
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 8px;
            font-size: 12px;
        }

        /* CTAボタングループ */
        .TOP_FV__cta-group {
            display: flex;
            gap: 16px;
            align-items: center;
        }

        /* ボタン共通スタイル（BEM Modifierでバリエーション管理） */
        .TOP_FV__button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s;
            cursor: pointer;
        }

        /* プライマリボタン */
        .TOP_FV__button--primary {
            background: #333;
            color: #fff;
            padding: 18px 40px;
            border-radius: 4px;
            font-weight: 500;
            font-size: 1rem;
            letter-spacing: 0.05em;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .TOP_FV__button--primary:hover {
            opacity: 0.9;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }

        /* セカンダリボタン */
        .TOP_FV__button--secondary {
            color: #666;
            text-decoration: underline;
            font-size: 0.95rem;
            padding: 10px;
        }
        
        .TOP_FV__button--secondary:hover {
            color: #8bced9;
        }

        /* --- スマホ用レスポンシブ (max-width: 768px) --- */
        @media (max-width: 768px) {
            .TOP_FV {
                padding: 80px 20px;
                min-height: auto;
            }

            .TOP_FV__inner {
                flex-direction: column-reverse; 
                gap: 40px;
            }

            .TOP_FV__visual {
                display: none;
            }

            .TOP_FV__image-wrapper {
                width: 100%;
                max-width: 100%;
                height: 280px;
                box-shadow: none;
                border-radius: 12px;
            }

            .TOP_FV__image {
                object-position: center 20%;
            }

            .TOP_FV__title {
                font-size: 2rem;
                margin-bottom: 16px;
            }

            .TOP_FV__feature-list {
                flex-direction: column;
                gap: 10px;
            }

            .TOP_FV__cta-group {
                flex-direction: column;
                width: 100%;
            }
            
            .TOP_FV__button--primary {
                width: 100%;
            }
        }



/* --- コンテンツ幅設定 --- */
.camdoc-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
}

.camdoc-section-title {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* タイトルの下の装飾線 */
.camdoc-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(270deg, #ffc1cfc7, #8bced9fa);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* --- 診療項目 (Service Section) --- */
.camdoc-service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 8rem;
}

.service-card {
    background: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.service-card:hover {
    box-shadow: var(--card-hover-shadow);
}

/* 画像エリア */
.service-card__image-wrap {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.service-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

/* オーバーレイグラデーション（文字視認性向上） */
.service-card__image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.05), transparent);
}

/* アイコンバッジ (フロートさせる) */
.service-card__badge {
    position: absolute;
    bottom: -1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    z-index: 10;
}

/* コンテンツエリア */
.service-card__content {
    padding: 2rem 1.75rem 1.75rem;
    flex-grow: 1;
}

.service-card__title-row {
    margin-bottom: 1.5rem;
    padding-right: 0;
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.service-card__subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* リストスタイル (ボタン風に) */
.service-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    /* FlexからGridに変更 */
    display: grid;
    grid-template-columns: 1fr; /* スマホ・タブレットは1列 */
    gap: 0.75rem;
}

/* PCサイズ（1024px以上）で2カラムにする設定を追加 */
@media (min-width: 1024px) {
    .service-card__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.service-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: #f8fafc;
    border-radius: 0.75rem;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    height: 100%; /* カラムごとの高さを揃える */
}

.service-card__link:hover {
    background-color: #eff6ff;
    color: var(--primary-color);
    border-color: #dbeafe;
    padding-left: 1.25rem; /* 左にずれる動き */
}

.service-card__arrow {
    font-size: 1.2rem;
    line-height: 1;
    color: #cbd5e1;
    transition: transform 0.2s ease, color 0.2s;
}

.service-card__link:hover .service-card__arrow {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* カラーバリエーション (微細なアクセント) */
.service-card--mental .service-card__badge { color: #7e22ce; }
.service-card--mental .service-card__subtitle { color: #9333ea; }
.service-card--mental .service-card__link:hover { background-color: #faf5ff; border-color: #e9d5ff; color: #7e22ce; }
.service-card--mental .service-card__link:hover .service-card__arrow { color: #7e22ce; }

.service-card--female .service-card__badge { color: #be185d; }
.service-card--female .service-card__subtitle { color: #db2777; }
.service-card--female .service-card__link:hover { background-color: #fdf2f8; border-color: #fbcfe8; color: #be185d; }
.service-card--female .service-card__link:hover .service-card__arrow { color: #be185d; }


/* --- 特徴セクション --- */
.camdoc-features {
    margin-bottom: 8rem;
}

.camdoc-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.camdoc-feature-item {
    padding: 2.5rem;
    border-radius: 1.5rem;
    background-color: #ffffff;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.camdoc-feature-item:hover {
    transform: translateY(-5px);
}

.camdoc-feature-item__number {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(360deg, #ffc1cfc7, #8bced9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    opacity: 0.8;
}

.camdoc-feature-item__subtitle {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.camdoc-feature-item__description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- 診療の流れセクション --- */
.camdoc-flow {
    position: relative;
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.camdoc-flow::before {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 43px;
    width: 2px;
    background-color: #e2e8f0;
    z-index: 0;
}

.camdoc-flow-step {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 3.5rem;
}

.camdoc-flow-step__icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    z-index: 10;
    flex-shrink: 0;
    margin-right: 2rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

.camdoc-flow-step__content {
    background-color: transparent;
    padding-top: 0.5rem;
    flex-grow: 1;
}

.camdoc-flow-step__title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.camdoc-flow-step__description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* --- コラムセクション (Swiper) --- */
.camdoc-column-wrapper {
    position: relative;
    padding-bottom: 4rem;
}

.camdoc-column-item {
    display: block;
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.camdoc-column-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.05);
}

.camdoc-column-item__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.camdoc-column-item__content {
    padding: 1.5rem;
}

.camdoc-column-item__category {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: #eff6ff;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.camdoc-column-item__category--red { background-color: #fef2f2; color: #ef4444; }
.camdoc-column-item__category--green { background-color: #ecfdf5; color: #059669; }
.camdoc-column-item__category--purple { background-color: #f3e8ff; color: #7e22ce; }

.camdoc-column-item__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    color: #1f2937;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.camdoc-column-item__date {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Swiper ナビゲーション */
.camdoc-column-prev, .camdoc-column-next {
    position: absolute;
    bottom: 0;
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    top: auto !important;
    margin-top: 0 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.camdoc-column-prev svg, .camdoc-column-next svg {
    width: 20px; 
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.camdoc-column-prev:hover, .camdoc-column-next:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #f8fafc;
    transform: scale(1.05);
}

.camdoc-column-next { right: 0 !important; }
.camdoc-column-prev { right: 3.5rem !important; left: auto !important; }

.swiper-button-prev:after, .swiper-button-next:after { display: none !important; }

.camdoc-column-prev.swiper-button-disabled, 
.camdoc-column-next.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.camdoc-column-pagination {
    position: absolute;
    bottom: 12px !important;
    left: 0 !important;
    width: auto !important;
}

.swiper-pagination-bullet {
    background: #94a3b8 !important;
    opacity: 0.3 !important;
    margin: 0 6px !important;
    transition: opacity 0.2s;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1 !important;
}

/* =========================================
           医師紹介CTA
========================================= */
        .DOCTOR_CTA {
            width: 100%;
            padding: 120px 5%;
            background-color: #f9fbfb; /* 背景色を少しつけて区切りを明確に */
            display: flex;
            justify-content: center;
            position: relative;
            overflow: hidden;
            z-index: 1; /* 重なり順を保証 */
        }

        /* 背景にFVの雰囲気を継承する薄いグラデーション円 */
        .DOCTOR_CTA__bg-blob {
            position: absolute;
            top: 50%;
            left: -10%;
            transform: translateY(-50%);
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(255, 193, 207, 0.3), rgba(139, 206, 217, 0.1), transparent 70%);
            z-index: 0;
            filter: blur(60px);
            opacity: 0.6;
        }

        .DOCTOR_CTA__inner {
            display: flex;
            align-items: center;
            max-width: 1000px; 
            width: 100%;
            gap: 80px;
            background: #fff;
            padding: 80px;
            border-radius: 32px; /* モダンな大きめの角丸 */
            box-shadow: 0 20px 60px rgba(139, 206, 217, 0.1); /* 浮遊感のある影 */
            position: relative;
            z-index: 1;
        }

        /* 画像エリア */
        .DOCTOR_CTA__image-area {
            flex: 0 0 320px; /* 固定幅 */
            position: relative;
        }

        .DOCTOR_CTA__image-wrapper {
            width: 100%;
            height: 420px;
            /* アーチ型（上部のみ大きく丸める）で知的な印象に */
            border-radius: 160px 160px 20px 20px;
            overflow: hidden;
            background-color: #f0f0f0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }

        .DOCTOR_CTA__image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }
        
        /* ホバー時に写真がゆっくりズーム */
        .DOCTOR_CTA__inner:hover .DOCTOR_CTA__image {
            transform: scale(1.05);
        }

        /* コンテンツエリア */
        .DOCTOR_CTA__content {
            flex: 1;
        }

        .DOCTOR_CTA__subtitle {
            font-family: 'Jost', sans-serif;
            color: #e88fa1; /* ピンクのアクセント */
            font-size: 14px;
            letter-spacing: 0.2em;
            font-weight: 600;
            display: block;
            margin-bottom: 20px;
        }

        .DOCTOR_CTA__title {
            font-size: 2.4rem; /* 大きすぎず読みやすいサイズ */
            font-weight: 700;
            line-height: 1.4;
            margin-bottom: 24px;
            color: #333;
            letter-spacing: -0.02em;
        }

        .DOCTOR_CTA__description {
            font-size: 1rem;
            line-height: 2; /* ゆったりとした行間で読みやすく */
            color: #666;
            margin-bottom: 40px;
        }

        /* リンクボタンのデザイン */
        .DOCTOR_CTA__link {
            display: inline-flex;
            align-items: center;
            font-weight: 600;
            color: #333;
            text-decoration: none;
            position: relative;
            padding-bottom: 4px;
            transition: color 0.3s;
            font-family: 'Jost', sans-serif;
        }

        /* 下線アニメーション */
        .DOCTOR_CTA__link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, #e88fa1, #8bced9);
            transform: scaleX(0.3);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .DOCTOR_CTA__link:hover {
            color: #8bced9;
        }

        .DOCTOR_CTA__link:hover::after {
            transform: scaleX(1); /* ホバーで伸びる */
        }

        .DOCTOR_CTA__arrow {
            margin-left: 12px;
            transition: transform 0.3s;
            font-size: 1.2em;
        }

        .DOCTOR_CTA__link:hover .DOCTOR_CTA__arrow {
            transform: translateX(6px);
            color: #e88fa1;
        }

        /* --- スマホ用レスポンシブ (max-width: 768px) --- */
        @media (max-width: 768px) {
            /* --- DOCTOR_CTA レスポンシブ --- */
            .DOCTOR_CTA {
                padding: 60px 20px;
            }

            .DOCTOR_CTA__inner {
                flex-direction: column;
                padding: 40px 24px;
                gap: 32px;
                border-radius: 20px;
            }

            .DOCTOR_CTA__image-area {
                flex: auto;
                width: 100%;
                max-width: 280px;
            }

            .DOCTOR_CTA__image-wrapper {
                height: 300px;
                border-radius: 100px 100px 16px 16px; /* スマホでもアーチ型を維持 */
            }

            .DOCTOR_CTA__title {
                font-size: 1.6rem;
            }
            
            /* スマホでは下線を最初から引いておく */
            .DOCTOR_CTA__link::after {
                transform: scaleX(1);
            }
            
            .DOCTOR_CTA__bg-blob {
                opacity: 0.4;
                width: 300px;
                height: 300px;
                left: -20%;
            }
        }






/* --- フッター --- */
.camdoc-footer {
    background-color: #f8fafc;
    color: var(--text-main);
    padding: 5rem 1rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.camdoc-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.camdoc-footer__col-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.camdoc-footer__nav-list {
    list-style: none;
    padding: 0;
    font-size: 0.95rem;
}

.camdoc-footer__nav-item {
    margin-bottom: 0.85rem;
}

.camdoc-footer__nav-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.camdoc-footer__nav-link:hover {
    color: var(--primary-color);
}

.camdoc-footer__copyright {
    text-align: center;
    border-top: 1px solid #e2e8f0;
    margin-top: 5rem;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* =========================================
   レスポンシブ (ブレークポイント)
   ========================================= */

@media (min-width: 901px) {
    .camdoc-header__nav {
        margin-left: auto;
        margin-right: 2.5rem;
    }
}

@media (max-width: 900px) {
    .camdoc-header__nav { display: none; }
    .camdoc-header__menu-toggle { display: flex; }
    .camdoc-header__container { justify-content: space-between; }
    .camdoc-header__logo { margin-right: auto; }

    .camdoc-hero__title { font-size: 2.25rem; }
    .camdoc-feature-list { gap: 1.5rem; }
    .camdoc-feature-item { padding: 2rem; }
    
    .service-card__badge {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
        right: 1.25rem;
        bottom: -1.25rem;
    }
}

@media (max-width: 640px) {
    .camdoc-header__logo {
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }

    .camdoc-header__cta-list { 
        display: flex; 
        gap: 0.5rem;
        margin-left: auto;
        margin-right: 0.5rem;
    }
    
    .camdoc-header__cta-button { 
        padding: 0.4rem 0.9rem; 
        font-size: 0.85rem; 
    }
    
    .camdoc-header__cta-button--secondary { 
        display: none; 
    }

    .camdoc-header__menu-toggle { 
        margin-left: 0; 
        width: 36px;
        height: 36px;
    }
    
    .camdoc-hero { padding: 6rem 1rem 4rem; }
    .camdoc-hero__title { font-size: 1.85rem; }
    
    .service-card__title-row { padding-right: 2.5rem; }
}










        /* =========================================
   ここから下：下層ページ（料金・医師紹介）用スタイル
   ========================================= */

/* --- 料金ページ (price.html) --- */
.price-hero {
    background-color: #eff6ff;
    text-align: center;
    padding: 4rem 1.5rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid #dbeafe;
}
.price-hero__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}
.price-hero__subtitle {
    font-size: 1.1rem;
    font-weight: 500;
}
.price-hero__highlight {
    color: #ef4444;
    font-weight: 700;
}

/* お悩みグリッド */
.worry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 5rem;
}
@media (min-width: 768px) {
    .worry-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
@media (min-width: 1024px) {
    .worry-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
.worry-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.worry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}
/* アイコン画像の調整 */
.worry-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.75rem;
    overflow: hidden; /* 画像がはみ出ないように */
    transition: transform 0.2s;
}
.worry-card__icon img {
    width: 60%; /* 背景の丸に対して60%くらいのサイズ */
    height: 60%;
    object-fit: contain;
}

.worry-card:hover .worry-card__icon { transform: scale(1.1); }
.worry-card--mens .worry-card__icon { background-color: #eff6ff; color: #3b82f6; }
.worry-card--womens .worry-card__icon { background-color: #fdf2f8; color: #ec4899; }
.worry-card--mental .worry-card__icon { background-color: #f3e8ff; color: #8b5cf6; }
.worry-card--common .worry-card__icon { background-color: #ecfdf5; color: #10b981; }
.worry-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.worry-card__desc { font-size: 0.75rem; color: var(--text-light); margin-bottom: 0.75rem; flex-grow: 1; }
.worry-card__more { font-size: 0.8rem; font-weight: 700; color: var(--primary-color); }





/* 料金システムカード */
.TOP_PRICE__grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 60px;
        }

        /* カード共通スタイル */
        .TOP_PRICE__card {
            background: #fff;
            border-radius: 24px;
            padding: 40px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.03);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            transition: transform 0.3s;
            position: relative;
            overflow: hidden;
        }

        /* ホバー時の浮き上がり */
        .TOP_PRICE__card:hover {
            transform: translateY(-5px);
        }

        /* サブカード（左右のカード） */
        .TOP_PRICE__card--sub {
            border: 1px solid rgba(0,0,0,0.05);
        }

        /* メインカード（中央のお薬代） */
        .TOP_PRICE__card--main {
            grid-column: span 1;
            /* ほんのりピンクがかったグラデーション背景 */
            background: linear-gradient(150deg, #fff 40%, rgba(255, 193, 207, 0.1) 100%);
            border: 2px solid rgba(255, 193, 207, 0.3);
            transform: scale(1.05); /* 少し大きくして強調 */
            z-index: 2;
        }
        
        /* メインカードもホバーでさらに浮かす */
        .TOP_PRICE__card--main:hover {
            transform: scale(1.05) translateY(-5px);
        }

        /* カード内のテキスト */
        .TOP_PRICE__label {
            font-size: 1.1rem;
            font-weight: 700;
            color: #555;
            margin-bottom: 16px;
        }

        .TOP_PRICE__amount {
            font-family: 'Jost', sans-serif;
            font-size: 3.5rem;
            font-weight: 700;
            line-height: 1;
            color: #333;
            letter-spacing: -0.02em;
        }

        .TOP_PRICE__unit {
            font-size: 1rem;
            font-weight: 500;
            margin-left: 4px;
        }

        /* 0円の強調色（水色） */
        .TOP_PRICE__amount--zero {
            color: #8bced9;
        }

        /* メインカード中央のアイコンエリア */
        .TOP_PRICE__main-visual {
            margin-top: 24px;
            width: 80px;
            height: 80px;
            background: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 15px rgba(255, 193, 207, 0.4);
            font-size: 2rem;
        }

        /* メインカードの強調テキスト */
        .TOP_PRICE__main-text {
            font-size: 1.2rem;
            font-weight: 700;
            background: linear-gradient(90deg, #e88fa1, #8bced9);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* 下部の注釈 */
        .TOP_PRICE__note {
            font-size: 0.85rem;
            color: #999;
            margin-top: 40px;
            text-align: center;
            line-height: 1.6;
			margin-bottom: 45px;
        }

        /* --- スマホ用レスポンシブ (max-width: 768px) --- */
        @media (max-width: 768px) {
            .TOP_PRICE {
                padding: 60px 20px;
            }

            .TOP_PRICE__grid {
                grid-template-columns: 1fr; /* 1列にする */
                gap: 20px;
            }

            .TOP_PRICE__card {
                padding: 30px;
            }

            /* スマホではメインカードの拡大を解除 */
            .TOP_PRICE__card--main {
                transform: scale(1);
                border-width: 1px;
                order: -1; /* 一番上に持ってくることも可能 */
            }
            
            .TOP_PRICE__card--main:hover {
                transform: translateY(-5px);
            }
        }




/* 料金表 */
.drug-section-title {
    font-size: 1.25rem; font-weight: 700; text-align: left; margin-bottom: 0.5rem;
    color: #333333; border-left: 5px solid var(--primary-color);
    padding: 0.25rem 0 0.25rem 0.75rem; letter-spacing: 0.05em; line-height: 1.4;
}
.drug-section-note {
    font-size: 0.85rem; color: #666; text-align: left; line-height: 1.6;
    margin: 0 0 1.5rem; padding: 0;
}
/* --- 料金表: アコーディオン(最初5件) --- */
.comparison-table tr.is-hidden-row { display: none; }
.comparison-table.is-expanded tr.is-hidden-row:not(.risk-row) { display: table-row; }
.drug-show-more-wrap { text-align: center; margin: -2.5rem 0 3.5rem; }
.drug-show-more {
    background: #ffffff; border: 1px solid var(--border-color); color: #334155;
    padding: 11px 30px; border-radius: 999px; cursor: pointer;
    font-weight: 600; font-size: 0.9rem; letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: background 0.2s, box-shadow 0.2s;
}
.drug-show-more:hover { background: #f8fafc; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
/* --- 料金表: リスク・副作用 --- */
.risk-toggle {
    margin-top: 10px; display: inline-flex; align-items: center;
    background: #ffffff; border: 1px solid var(--primary-color); color: var(--primary-color);
    font-size: 0.78rem; font-weight: 600; line-height: 1.3;
    padding: 5px 14px; border-radius: 999px; cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.risk-toggle:hover, .risk-toggle.is-active { background: var(--primary-color); color: #ffffff; }
.risk-row { display: none; }
.risk-row.is-open { display: table-row; }
.risk-row > .risk-cell { background: #fff7f7; text-align: left; padding: 1rem 1.5rem; }
.risk-content { font-size: 0.85rem; color: #444; line-height: 1.7; }
.risk-content::before {
    content: "\26A0 \20 \4E3B\306A\30EA\30B9\30AF\30FB\526F\4F5C\7528";
    display: block; font-weight: 700; color: #c0392b; margin-bottom: 6px; font-size: 0.8rem;
}
.price-table-container { 
    overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 0.75rem; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); border: 1px solid var(--border-color); 
    background: #ffffff; margin-bottom: 4rem; 
}
.comparison-table { width: 100%; min-width: 700px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { 
    padding: 1.5rem 1rem; border-bottom: 1px solid #cbd5e1; border-right: 1px solid #e2e8f0; 
    text-align: center; vertical-align: middle; 
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table th:last-child, .comparison-table td:last-child { border-right: none; }
.th-drug { background-color: #f8fafc; width: 25%; }
.th-regular { 
    background-color: #334155; color: #ffffff !important; width: 55%; position: relative; border-right: 1px solid #475569;
}
.th-regular::before { 
    content: 'いつでも解約OK！解約手数料なし'; position: absolute; top: -28px; left: 50%; transform: translateX(-50%); 
    background-color: #ef4444; color: #ffffff; font-size: 0.75rem; padding: 0.3rem 0.8rem; 
    border-radius: 4px; white-space: nowrap; font-weight: 700;
}
.th-regular::after { 
    content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%); 
    border-width: 6px; border-style: solid; border-color: #ef4444 transparent transparent transparent; 
}
.th-single { background-color: #e2e8f0; width: 20%; }
.sub-header th { font-size: 0.9rem; color: var(--primary-color); padding: 1rem; border-bottom: 2px solid #cbd5e1; background-color: #ffffff; }
.sub-header .th-regular-sub { font-weight: 700; color: var(--primary-color); }
.sub-header .th-single-sub { background-color: #f8fafc; color: var(--text-main); }
.comparison-table tbody tr:nth-child(odd) { background-color: #ffffff; }
.comparison-table tbody tr:nth-child(even) { background-color: #f9fafb; }
.td-drug { text-align: left !important; padding-left: 1.5rem !important; }
.drug-name { font-weight: 700; font-size: 1.1rem; display: block; margin-bottom: 0.25rem; }
.drug-desc { font-size: 0.8rem; background-color: #eff6ff; padding: 2px 6px; border-radius: 4px; color: var(--primary-color); font-weight: 600;}
.price-highlight { color: #dc2626; font-size: 1.5rem; font-weight: 800; display: block; line-height: 1.1; margin-bottom: 0.25rem; }
.price-sub { font-size: 0.8rem; color: var(--text-light); display: block; }
.price-total { font-size: 0.75rem; color: var(--text-light); background-color: #fff; border: 1px solid #e2e8f0; padding: 2px 8px; border-radius: 9999px; display: inline-block; margin-top: 6px; }
.price-main { font-size: 1.2rem; font-weight: 800; display: block; margin-bottom: 0.25rem; }

/* 支払い方法・FAQ */
.payment-methods { background: #ffffff; padding: 2.5rem; border-radius: 1rem; border: 1px solid var(--border-color); margin-bottom: 5rem; }
.payment-list { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 1.5rem; }
.payment-item { display: flex; align-items: center; font-weight: 600; }
.payment-item::before { content: '✓'; display: inline-flex; justify-content: center; align-items: center; width: 24px; height: 24px; background-color: #dbeafe; color: var(--primary-color); border-radius: 50%; margin-right: 0.75rem; font-size: 0.8rem; font-weight: 800; }
.faq-item { background: #ffffff; border: 1px solid var(--border-color); border-radius: 0.75rem; padding: 1.5rem; margin-bottom: 1rem; }
.faq-q { font-weight: 700; color: var(--primary-color); margin-bottom: 0.5rem; display: flex; align-items: flex-start; }
.faq-q::before { content: 'Q.'; margin-right: 0.5rem; }
.faq-a { font-size: 0.95rem; padding-left: 1.5rem; }

/* モーダル */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 1000; justify-content: center; align-items: center; padding: 1rem; opacity: 0; transition: opacity 0.3s; }
.modal.is-open { display: flex; opacity: 1; }
.modal-content { background: #fff; border-radius: 1rem; max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto; transform: translateY(20px); transition: transform 0.3s; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.modal.is-open .modal-content { transform: translateY(0); }
.modal-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; background: #f9fafb; position: sticky; top: 0; z-index: 10; }
.modal-title { font-size: 1.2rem; font-weight: 700; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #999; width: 32px; height: 32px; display: flex; justify-content: center; align-items: center; border-radius: 50%; }
.modal-body { padding: 1.5rem; }
.recommendation-list { display: grid; gap: 1rem; }
.recommendation-item { background: #fff; border: 1px solid var(--border-color); border-radius: 0.75rem; padding: 1rem; }
.rec-badge { display: inline-block; background: var(--primary-color); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 9999px; margin-bottom: 0.5rem; }
.rec-badge--rank1 { background: #f59e0b; }
.rec-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.25rem; }
.rec-price { font-weight: 700; color: #ef4444; font-size: 1.2rem; margin: 0.25rem 0; }
.rec-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }
.modal-footer { padding: 1.5rem; border-top: 1px solid var(--border-color); text-align: center; background: #f9fafb; }
.modal-btn { display: inline-block; background: var(--primary-color); color: #fff; padding: 0.8rem 3rem; border-radius: 9999px; font-weight: 700; text-decoration: none; transition: 0.2s; }
.modal-btn:hover { background: var(--primary-dark); }

/* --- 医師紹介ページ (doctors.html) --- */
.doctor-list { display: flex; flex-direction: column; gap: 4rem; }
.doctor-card {
    background: #ffffff; border-radius: 1rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color); overflow: hidden; display: flex; flex-direction: column;
}
@media (min-width: 768px) { .doctor-card { flex-direction: row; align-items: stretch; } }
.doctor-image-area { width: 100%; height: 300px; overflow: hidden; flex-shrink: 0; }
@media (min-width: 768px) { .doctor-image-area { width: 35%; height: auto; min-height: 350px; } }
.doctor-image { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.doctor-info { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.doctor-position { font-size: 0.9rem; color: var(--primary-color); font-weight: 700; margin-bottom: 0.25rem; letter-spacing: 0.05em; }
.doctor-name { font-size: 1.75rem; font-weight: 800; margin-bottom: 1.5rem; display: flex; align-items: baseline; gap: 0.5rem; }
.doctor-name-en { font-size: 1rem; color: var(--text-light); font-weight: 400; font-family: 'Inter', sans-serif; }
.doctor-specialty { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.specialty-tag { background-color: #f1f5f9; color: var(--text-main); font-size: 0.8rem; padding: 0.25rem 0.75rem; border-radius: 9999px; font-weight: 600; }
.doctor-message-box { background-color: #f8fafc; border-left: 4px solid var(--primary-color); padding: 1.5rem; margin-bottom: 1.5rem; border-radius: 0 0.5rem 0.5rem 0; }
.doctor-message-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--primary-dark); }
.doctor-message-text { font-size: 0.95rem; line-height: 1.7; }
.doctor-career { font-size: 0.85rem; color: var(--text-light); }
.career-title { font-weight: 700; margin-bottom: 0.5rem; color: var(--text-main); }
.career-list { list-style: none; padding: 0; margin: 0; }
.career-item { margin-bottom: 0.25rem; padding-left: 1rem; position: relative; }
.career-item::before { content: '•'; position: absolute; left: 0; color: var(--primary-color); }












/* =========================================
   コラム一覧 (column.html) 用スタイル
   ========================================= */
.news-tabs {
    display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.news-tab {
    padding: 0.5rem 1.5rem; border-radius: 9999px; font-size: 0.9rem; font-weight: 600;
    color: var(--text-light); background-color: #ffffff; border: 1px solid var(--border-color);
    cursor: pointer; transition: all 0.2s;
}
.news-tab:hover, .news-tab.is-active {
    background-color: var(--primary-color); color: #ffffff; border-color: var(--primary-color);
}
.news-list {
    background: #ffffff; border-radius: 1rem; border: 1px solid var(--border-color); overflow: hidden;
}
.news-item {
    display: flex; align-items: center; padding: 1.5rem; border-bottom: 1px solid #f1f5f9;
    text-decoration: none; color: inherit; transition: background-color 0.2s;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background-color: #f8fafc; }
.news-meta { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; width: 200px; }
.news-date { font-size: 0.85rem; color: var(--text-light); font-family: 'Inter', sans-serif; }
.news-category {
    font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 4px;
    background-color: #f1f5f9; color: var(--text-light); min-width: 80px; text-align: center;
}
.news-category--info { background-color: #dbf7eb; color: var(--primary-color); }
.news-category--column { background-color: #fdf2f8; color: #db2777; }
.news-title { font-size: 1rem; font-weight: 500; color: var(--text-main); flex-grow: 1; line-height: 1.5; }
.news-arrow { font-size: 1.2rem; color: #d1d5db; margin-left: 1rem; }
@media (max-width: 768px) {
    .news-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .news-meta { width: 100%; justify-content: flex-start; }
    .news-arrow { display: none; }
}

/* ページネーション (WP標準に合わせ調整) */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 4rem; }
.pagination .page-numbers {
    display: flex; justify-content: center; align-items: center; width: 40px; height: 40px;
    border-radius: 50%; background-color: #ffffff; border: 1px solid var(--border-color);
    color: var(--text-main); text-decoration: none; font-size: 0.9rem; transition: all 0.2s;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover {
    background-color: var(--primary-color); color: #ffffff; border-color: var(--primary-color);
}











/* =========================================
   記事詳細 (article.html) 用スタイル
   ========================================= */
/* パンくずリスト */
.breadcrumb {
    font-size: 0.8rem; color: var(--text-light); margin-bottom: 1.5rem;
    overflow-x: auto; white-space: nowrap; padding-bottom: 5px;
}
.breadcrumb a { color: var(--primary-color); text-decoration: none; }
.breadcrumb span { margin: 0 0.5rem; color: #cbd5e1; }

/* 記事メインカラム */
.article-main {
    background-color: #ffffff; border-radius: 1rem; border: 1px solid var(--border-color);
    padding: 3rem; width: 100%; min-width: 0; overflow-wrap: break-word;
}
.article-header { margin-bottom: 3rem; border-bottom: 1px solid var(--border-color); padding-bottom: 2rem; }
.article-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.article-category {
    background-color: #eff6ff; color: var(--primary-color); font-size: 0.75rem; font-weight: 700;
    padding: 0.25rem 0.75rem; border-radius: 9999px; white-space: nowrap;
}
.article-date { font-size: 0.85rem; color: var(--text-light); font-family: 'Inter', sans-serif; white-space: nowrap; }
.article-title { font-size: 2rem; font-weight: 800; line-height: 1.4; color: var(--text-main); margin-bottom: 2rem; }
.article-thumbnail { width: 100%; height: auto; border-radius: 0.75rem; object-fit: cover; aspect-ratio: 16/9; margin-bottom: 2rem; }

/* 記事本文スタイル */
.article-body { font-size: 1rem; color: var(--text-main); line-height: 1.9; }
.article-body h2 {
    font-size: 1.6rem; font-weight: 700; margin: 4rem 0 1.5rem; padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color); line-height: 1.4;
}
.article-body h3 {
    font-size: 1.3rem; font-weight: 700; margin: 3rem 0 1rem; padding-left: 1rem;
    border-left: 5px solid var(--primary-color); line-height: 1.4;
}
.article-body p { margin-bottom: 1.5rem; text-align: justify; }
.article-body img { max-width: 100%; height: auto; border-radius: 0.75rem; margin: 2rem 0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.article-body ul {
    list-style: none; padding: 1.5rem; margin-bottom: 2rem; background-color: #f8fafc; border-radius: 0.75rem;
}
.article-body li { margin-bottom: 0.5rem; position: relative; padding-left: 1.2rem; }
.article-body li::before { content: '✔'; position: absolute; left: 0; color: var(--primary-color); font-weight: bold; font-size: 0.9em; }

/* 記事下CTA */
.article-cta {
    background-color: #eff6ff; border: 2px solid #bfdbfe; border-radius: 1rem;
    padding: 3rem 1.5rem; text-align: center; margin-top: 4rem;
}
.article-cta__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--primary-dark); }
.article-cta__button {
    display: inline-block; background-color: #ef4444; color: #ffffff; padding: 1rem 3rem;
    border-radius: 9999px; font-weight: 700; text-decoration: none;
    box-shadow: 0 4px 6px rgba(239, 68, 68, 0.3); transition: transform 0.2s;
}
.article-cta__button:hover { transform: translateY(-2px); background-color: #dc2626; }

@media (max-width: 900px) {
    .article-main { padding: 2rem; }
}
@media (max-width: 640px) {
    .article-main { padding: 1.25rem; }
    .article-title { font-size: 1.4rem; }
    .article-body { font-size: 0.95rem; }
    .article-body h2 { font-size: 1.25rem; }
}







.page-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
}

p.page-subtitle {
    font-weight: 500;
	margin-bottom: 15px;
}