/**
 * abekobe-blocks.css
 * あべこべ工房 独自カスタムブロック (計40種類) 共通スタイル
 * フロントエンド & ブロックエディタ共通
 */

/* ==========================================
   共通エディター設定・画像調整・インラインツールバー
   ========================================== */
.abekobe-editor-upload-btn {
    border: 1px dashed rgba(0,0,0,0.2) !important;
    background: #fafafc !important;
    padding: 20px !important;
    text-align: center;
    width: 100%;
    cursor: pointer;
    border-radius: 12px;
}
.abekobe-editor-img-preview-wrap {
    position: relative;
    display: inline-block;
    max-width: 120px;
}
.abekobe-editor-img-preview {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.06);
    display: block;
}
.balloon-avatar-col .abekobe-editor-img-preview {
    width: 48px;
    height: 48px;
}
.balloon-avatar-preview-fallback {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.profile-avatar-preview-fallback {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* エディター用インラインツールバー */
.abekobe-editor-inline-toolbar {
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.04);
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 12px;
    width: fit-content;
}
.abekobe-inline-btn {
    border: none;
    background: transparent;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    color: #515154;
    transition: all 0.2s ease;
}
.abekobe-inline-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}
.abekobe-inline-btn.is-active {
    background: #ffffff;
    color: #1d1d1f;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* ==========================================
   1, 2, 3. アラート枠 (Alerts)
   ========================================== */
.abekobe-block-alert-important,
.abekobe-block-alert-tip,
.abekobe-block-alert-success {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid transparent;
}
/* スタイルバリエーション */
.abekobe-block-alert-important.style-red {
    background-color: #fff1f0;
    border-color: #ffa39e;
    color: #cf1322;
}
.abekobe-block-alert-important.style-dark {
    background-color: #f5f5f7;
    border-color: #d2d2d7;
    color: #1d1d1f;
}
.abekobe-block-alert-important.style-gray {
    background-color: #fafafc;
    border-color: #e5e5e7;
    color: #86868b;
}

.abekobe-block-alert-tip.style-gold {
    background-color: #fffbe6;
    border-color: #ffe58f;
    color: #dca100;
}
.abekobe-block-alert-tip.style-blue {
    background-color: #f0f5ff;
    border-color: #adc6ff;
    color: #2f54eb;
}

.abekobe-block-alert-success.style-green {
    background-color: #f6ffed;
    border-color: #b7eb8f;
    color: #389e0d;
}
.abekobe-block-alert-success.style-gray {
    background-color: #fafafc;
    border-color: #e5e5e7;
    color: #515154;
}

/* ==========================================
   4, 5. 吹き出し (Balloons)
   ========================================== */
.abekobe-block-balloon-container {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
    width: 100%;
}
.abekobe-block-balloon-container.balloon-left {
    justify-content: flex-start;
}
.abekobe-block-balloon-container.balloon-right {
    justify-content: flex-end;
}
.balloon-avatar-col {
    flex-shrink: 0;
}
.balloon-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.06);
    background: #f4f4f7;
}
.avatar-square .balloon-avatar-img,
.avatar-square .balloon-avatar-preview-fallback {
    border-radius: 12px;
}
.balloon-content-box {
    position: relative;
    max-width: 70%;
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6;
}
.balloon-left .balloon-content-box {
    background-color: #f2f2f7;
    color: #1d1d1f;
    border-top-left-radius: 4px;
}
.balloon-right .balloon-content-box {
    border-top-right-radius: 4px;
}
.balloon-right.bg-light .balloon-content-box {
    background-color: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid rgba(0,0,0,0.06);
}
.balloon-right.bg-warm .balloon-content-box {
    background-color: #fff9e6;
    color: #dca100;
    border: 1px solid #ffe58f;
}

/* ==========================================
   6. Apple風ステップタイムライン (Timeline)
   ========================================== */
.abekobe-block-timeline-list {
    position: relative;
    border-left: 2px solid rgba(0,0,0,0.06);
    padding-left: 24px;
    margin: 32px 0;
}
.abekobe-block-timeline-list .timeline-item,
.abekobe-block-timeline-list .timeline-editor-item {
    position: relative;
    margin-bottom: 32px;
}
.abekobe-block-timeline-list .timeline-item:last-child,
.abekobe-block-timeline-list .timeline-editor-item:last-child {
    margin-bottom: 0;
}
.abekobe-block-timeline-list .timeline-item::before,
.abekobe-block-timeline-list .timeline-editor-item::before {
    content: "";
    position: absolute;
    left: -33px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid #dca100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.abekobe-block-timeline-list.color-dark .timeline-item::before,
.abekobe-block-timeline-list.color-dark .timeline-editor-item::before {
    border-color: #1d1d1f;
}
.abekobe-block-timeline-list h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px 0 !important;
    color: #1d1d1f;
}
.abekobe-block-timeline-list p {
    font-size: 13px;
    color: #86868b;
    margin: 0 !important;
}

/* ==========================================
   7. ミニマル料金カード (Pricing)
   ========================================== */
.abekobe-block-pricing-row {
    display: grid;
    grid-template-cols: 1fr;
    gap: 20px;
    margin-bottom: 32px;
}
@media (min-width: 768px) {
    .abekobe-block-pricing-row {
        grid-template-columns: 1fr 1fr;
    }
}
.abekobe-block-pricing-card {
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}
.theme-beige .abekobe-block-pricing-card {
    background-color: #fafaf8;
}
.theme-gray .abekobe-block-pricing-card {
    background-color: #fafafc;
}
.abekobe-block-pricing-card.featured {
    border-color: #dca100;
    box-shadow: 0 8px 32px rgba(220,161,0,0.08);
}
.theme-gray .abekobe-block-pricing-card.featured {
    border-color: #1d1d1f;
    box-shadow: 0 8px 32px rgba(29,29,31,0.08);
}
.abekobe-block-pricing-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #86868b;
    text-transform: uppercase;
    margin: 0 0 8px 0 !important;
    letter-spacing: 0.05em;
}
.abekobe-block-pricing-card .price-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}
.abekobe-block-pricing-card .price-line strong {
    font-size: 32px;
    font-weight: 800;
    color: #1d1d1f;
}
.abekobe-block-pricing-card .price-unit {
    font-size: 13px;
    color: #86868b;
}
.abekobe-block-pricing-card p {
    font-size: 13px;
    line-height: 1.5;
    color: #515154;
    margin: 0 !important;
}
.abekobe-block-pricing-card .card-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: #dca100;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    letter-spacing: 0.08em;
}
.theme-gray .card-badge {
    background-color: #1d1d1f;
}

/* ==========================================
   8. Q&A (FAQ)
   ========================================== */
.abekobe-block-faq-list {
    margin-bottom: 24px;
    background: #fbfbfd;
    padding: 8px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.04);
}
.abekobe-block-faq-list.layout-cards {
    background: transparent;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.layout-cards .faq-item,
.layout-cards .faq-editor-item {
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 16px 20px;
}
.abekobe-block-faq-list .faq-item,
.abekobe-block-faq-list .faq-editor-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 16px 0;
}
.abekobe-block-faq-list .faq-item:last-child,
.abekobe-block-faq-list .faq-editor-item:last-child {
    border-bottom: none;
}
.faq-q {
    font-size: 15px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 6px 0 !important;
}
.faq-a {
    font-size: 13.5px;
    color: #515154;
    line-height: 1.6;
    margin: 0 !important;
}

/* ==========================================
   9. メリット・デメリット (Pros & Cons)
   ========================================== */
.abekobe-block-pros-cons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
@media (min-width: 768px) {
    .abekobe-block-pros-cons {
        grid-template-columns: 1fr 1fr;
    }
}
.pros-block, .cons-block {
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 20px;
    border-radius: 12px;
}
.style-filled .pros-block {
    background-color: #f6ffed;
    border-color: #d9f7be;
}
.style-filled .cons-block {
    background-color: #fff1f0;
    border-color: #ffccc7;
}
.abekobe-block-pros-cons h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px 0 !important;
}
.pros-block h4 { color: #389e0d; }
.cons-block h4 { color: #cf1322; }
.pros-block ul, .cons-block ul {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.6;
    color: #515154;
}

/* ==========================================
   10. お客様の声カード (Review)
   ========================================== */
.abekobe-block-review-card {
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}
.review-stars {
    color: #dca100;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}
.review-title {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 10px 0 !important;
}
.review-body {
    font-size: 13.5px;
    line-height: 1.6;
    color: #515154;
    margin: 0 0 12px 0 !important;
}
.review-author {
    font-size: 11px;
    color: #86868b;
    margin: 0 !important;
    text-align: right;
}

/* ==========================================
   11. プロフィール紹介 (Profile Card)
   ========================================== */
.abekobe-block-profile-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}
@media (max-width: 575px) {
    .abekobe-block-profile-card {
        flex-direction: column;
        text-align: center;
    }
}
.profile-card-left {
    flex-shrink: 0;
}
.profile-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.06);
}
.profile-card-right {
    flex-grow: 1;
}
.profile-name {
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 4px 0 !important;
}
.profile-title {
    font-size: 12px;
    color: #dca100;
    font-weight: 600;
    margin: 0 0 8px 0 !important;
}
.profile-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #515154;
}

/* ==========================================
   12. 特徴カード (Feature Card)
   ========================================== */
.abekobe-block-feature-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    text-align: center;
}
.abekobe-block-feature-card.align-left {
    text-align: left;
}
.feature-icon {
    font-size: 28px;
    display: inline-block;
    margin-bottom: 12px;
}
.abekobe-block-feature-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 8px 0 !important;
}
.abekobe-block-feature-card p {
    font-size: 13px;
    line-height: 1.5;
    color: #515154;
    margin: 0 !important;
}

/* ==========================================
   13. プレミアム引用 (Quote)
   ========================================== */
.abekobe-block-pullquote {
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 24px 0;
    margin: 32px 0;
    text-align: center;
}
.quote-color-gold {
    border-color: #ffe58f;
    background-color: #fffdf9;
}
.quote-color-dark {
    border-color: #1d1d1f;
    background-color: #fafafc;
}
.abekobe-block-pullquote blockquote {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.abekobe-block-pullquote blockquote p {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: #1d1d1f;
    margin-bottom: 12px !important;
}
.abekobe-block-pullquote cite {
    font-size: 12px;
    color: #86868b;
    font-style: normal;
}

/* ==========================================
   14. 星印付きチェックリスト (Star List)
   ========================================== */
.abekobe-block-star-list-wrapper {
    margin-bottom: 24px;
}
.abekobe-star-list {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.abekobe-star-list li {
    position: relative;
    padding-left: 20px !important;
    margin-bottom: 8px !important;
    font-size: 13.5px;
    line-height: 1.5;
    color: #515154;
}
.type-star .abekobe-star-list li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: #dca100;
    font-size: 11px;
}
.type-check .abekobe-star-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #389e0d;
    font-size: 12px;
    font-weight: bold;
}

/* ==========================================
   15. 連絡用CTAボックス (CTA Box)
   ========================================== */
.abekobe-block-cta-container {
    background-color: #f5f5f7;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 32px;
}
.abekobe-block-cta-container.align-left {
    text-align: left;
}
.abekobe-block-cta-container.align-left .cta-btn-wrapper {
    justify-content: flex-start;
}
.cta-heading {
    font-size: 15px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px !important;
}
.cta-btn-wrapper {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.cta-btn-line a, .cta-btn-line span,
.cta-btn-mail a, .cta-btn-mail span {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}
.cta-btn-line a, .cta-btn-line span {
    background-color: #06c755; /* LINE Green */
    color: #ffffff;
}
.cta-btn-line a:hover { background-color: #05b04b; }
.cta-btn-mail a, .cta-btn-mail span {
    background-color: #dca100;
    color: #ffffff;
}
.cta-btn-mail a:hover { background-color: #c89200; }

/* ==========================================
   16. 手順ステップカード (Step Card)
   ========================================== */
.abekobe-block-step-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    margin-bottom: 20px;
}
.abekobe-block-step-card .step-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}
.color-gold .step-badge {
    background: #fff9e6;
    color: #dca100;
}
.color-dark .step-badge {
    background: #1d1d1f;
    color: #ffffff;
}
.abekobe-block-step-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 8px 0 !important;
}
.abekobe-block-step-card p {
    font-size: 13px;
    line-height: 1.5;
    color: #515154;
    margin: 0 !important;
}

/* ==========================================
   17. メモ帳風・カード枠 (Note Card)
   ========================================== */
.abekobe-block-note-card {
    background: #fafafc;
    border-left: 4px solid #dca100;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    position: relative;
}
.pin-show::after {
    content: "📌";
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 16px;
}
.note-title {
    font-size: 13px;
    font-weight: 700;
    color: #dca100;
    margin-bottom: 6px !important;
}
.abekobe-block-note-card p:not(.note-title) {
    font-size: 13px;
    color: #515154;
    line-height: 1.5;
    margin: 0 !important;
}

/* ==========================================
   18. Before / After 比較 (Before/After)
   ========================================== */
.abekobe-block-before-after {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
@media (min-width: 768px) {
    .abekobe-block-before-after {
        grid-template-columns: 1fr 1fr;
    }
}
.before-column, .after-column {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
}
.color-classic .before-column { background-color: #fff5f5; }
.color-classic .after-column { background-color: #f7fcf7; }
.color-minimal .before-column { background-color: #f5f5f7; }
.color-minimal .after-column { background-color: #ffffff; }

.column-header {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px !important;
}
.color-classic .before-column .column-header { color: #cf1322; }
.color-classic .after-column .column-header { color: #389e0d; }
.color-minimal .before-column .column-header { color: #86868b; }
.color-minimal .after-column .column-header { color: #1d1d1f; }

.before-column ul, .after-column ul {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.6;
    color: #515154;
}

/* ==========================================
   19. デジタルお悩み診断 (Trouble Checklist)
   ========================================== */
.abekobe-block-trouble-card {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}
.bg-light { background-color: #ffffff; }
.bg-gray { background-color: #fafafc; }

.abekobe-block-trouble-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 12px !important;
}
.trouble-list {
    padding-left: 20px !important;
    margin: 0 !important;
}
.trouble-list li {
    font-size: 13px;
    line-height: 1.5;
    color: #515154;
    margin-bottom: 6px !important;
    list-style-type: square;
}

/* ==========================================
   20. ロゴ付きウェルカムバナー (Welcome Banner)
   ========================================== */
.abekobe-block-welcome-banner {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    margin-bottom: 32px;
}
.style-beige {
    background: #fafaf8;
}
.style-white {
    background: #ffffff;
    border-width: 2px;
}
.abekobe-block-welcome-banner h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 12px 0 !important;
}
.abekobe-block-welcome-banner p {
    font-size: 13.5px;
    color: #515154;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto !important;
}

/* ==========================================
   ■ レスポンシブデザイン対応 (スマートフォン / タブレット用)
   ========================================== */
@media (max-width: 767px) {
    /* 料金カードを縦積みに */
    .abekobe-block-pricing-row {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .abekobe-block-pricing-card {
        padding: 20px !important;
    }
    .abekobe-block-pricing-card .price-line strong {
        font-size: 26px !important;
    }

    /* メリット・デメリットを縦積みに */
    .abekobe-block-pros-cons {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .pros-block, .cons-block {
        padding: 16px !important;
    }

    /* Before/After を縦積みに */
    .abekobe-block-before-after {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .before-column, .after-column {
        padding: 16px !important;
    }

    /* スプリットレイアウトを縦積みに */
    .abekobe-split-layout {
        flex-direction: column !important;
    }
    .abekobe-split-layout.layout-reverse {
        flex-direction: column !important;
    }
    .split-image-col {
        min-height: 160px !important;
        max-height: 200px !important;
    }
    .split-text-col {
        padding: 20px 16px !important;
    }
    .split-title {
        font-size: 15px !important;
    }

    /* ミニマルグリッドギャラリーを縦積みに */
    .abekobe-grid-gallery {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .gallery-image-element {
        height: 140px !important;
    }

    /* 吹き出しの最大幅を拡張 (スマホでは狭いため) */
    .balloon-content-box {
        max-width: 85% !important;
        font-size: 13px !important;
        padding: 10px 14px !important;
    }

    /* タイムラインの余白調整 */
    .abekobe-block-timeline-list {
        padding-left: 18px !important;
        margin: 20px 0 !important;
    }
    .abekobe-block-timeline-list .timeline-item::before,
    .abekobe-block-timeline-list .timeline-editor-item::before {
        left: -27px !important;
        width: 14px !important;
        height: 14px !important;
    }

    /* 説明リスト (DL) をスマホで縦積みに */
    .dl-row {
        padding: 10px 4px !important;
    }
    .dl-title {
        width: 100% !important;
        margin-bottom: 2px !important;
        font-size: 13.5px !important;
    }
    .dl-desc {
        font-size: 12.5px !important;
    }

    /* タブ切り替えナビ */
    .tab-label-btn {
        padding: 10px 6px !important;
        font-size: 12px !important;
    }
    .tab-panels {
        padding: 16px 12px !important;
    }

    /* 著者情報 */
    .author-box-inner {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
    }

    /* CTAボックス */
    .abekobe-block-cta-container {
        padding: 24px 16px !important;
    }
    .cta-btn-wrapper {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .cta-btn-line a, .cta-btn-line span,
    .cta-btn-mail a, .cta-btn-mail span {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    /* アラート枠 */
    .abekobe-block-alert-important,
    .abekobe-block-alert-tip,
    .abekobe-block-alert-success {
        padding: 12px 16px !important;
        font-size: 13px !important;
    }

    /* プレミアム引用 */
    .abekobe-block-pullquote blockquote p {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    /* リボン付きおすすめ枠 */
    .abekobe-recommend-ribbon-box {
        padding: 20px 16px !important;
    }
    .ribbon-tag {
        font-size: 8px !important;
        padding: 2px 20px !important;
        top: 10px !important;
        right: -18px !important;
    }
}


/* ==========================================
   21. キャプション付きボックス
   ========================================== */
.abekobe-caption-box {
    position: relative;
    border: 1px solid;
    border-radius: 12px;
    padding: 24px 20px 18px;
    margin: 28px 0 24px;
    background-color: #ffffff;
}
.caption-box-label {
    position: absolute;
    top: -12px;
    left: 16px;
    padding: 2px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    border-radius: 4px;
    letter-spacing: 0.05em;
}
.caption-box-content {
    font-size: 13.5px;
    line-height: 1.6;
    color: #515154;
}

/* カラー定義 */
.border-color-gold { border-color: #ffe58f; }
.bg-color-gold { background-color: #dca100; }
.border-color-dark { border-color: #1d1d1f; }
.bg-color-dark { background-color: #1d1d1f; }
.border-color-blue { border-color: #adc6ff; }
.bg-color-blue { background-color: #2f54eb; }
.border-color-red { border-color: #ffa39e; }
.bg-color-red { background-color: #cf1322; }

/* ==========================================
   22. ブログカード (関連記事)
   ========================================== */
.abekobe-blog-card-editor {
    display: flex;
    gap: 16px;
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}
.blog-card-image-col {
    width: 120px;
    flex-shrink: 0;
}
.blog-card-thumb-fallback {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}
.blog-card-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px 0 !important;
}
.blog-card-excerpt {
    font-size: 12px;
    color: #86868b;
    margin: 0 0 8px 0 !important;
}
.blog-card-url-wrap {
    font-size: 10px;
    color: #86868b;
}

/* フロント表示 */
.abekobe-blog-card {
    display: block;
    text-decoration: none !important;
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 24px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.01);
}
.abekobe-blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.1);
}
.blog-card-inner {
    display: flex;
    gap: 18px;
}
.blog-card-thumb-wrap {
    width: 140px;
    flex-shrink: 0;
}
.blog-card-thumb {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
}
.blog-card-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.blog-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1.4;
}
.blog-card-excerpt {
    font-size: 12.5px;
    color: #6e6e73;
    line-height: 1.5;
}
.blog-card-more-label {
    font-size: 10px;
    font-weight: 700;
    color: #dca100;
    letter-spacing: 0.05em;
    align-self: flex-end;
}

/* ==========================================
   23. リッチボタン (Micro Copy Button)
   ========================================== */
.abekobe-rich-button-wrap {
    text-align: center;
    margin-bottom: 32px;
}
.rich-btn-micro {
    font-size: 12px;
    font-weight: 600;
    color: #86868b;
    margin-bottom: 8px !important;
}
.rich-btn-mock {
    display: inline-block;
    padding: 12px 36px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 700;
    background-color: #dca100;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(220,161,0,0.2);
}
.style-dark .rich-btn-mock {
    background-color: #1d1d1f;
    box-shadow: 0 4px 12px rgba(29,29,31,0.2);
}
.style-blue .rich-btn-mock {
    background-color: #2f54eb;
    box-shadow: 0 4px 12px rgba(47,84,235,0.2);
}
.rich-btn-url-editor {
    font-size: 10px;
    color: #86868b;
    margin-top: 6px;
}

/* フロント表示 */
.abekobe-rich-button-container {
    text-align: center;
    margin: 28px 0;
}
.rich-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    border-radius: 99px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    cursor: pointer;
}
.rich-btn-link:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.style-accent .rich-btn-link { background-color: #dca100; color: #ffffff; }
.style-dark .rich-btn-link { background-color: #1d1d1f; color: #ffffff; }
.style-blue .rich-btn-link { background-color: #2f54eb; color: #ffffff; }

/* ==========================================
   24. アコーディオン
   ========================================== */
.abekobe-accordion-editor {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    margin-bottom: 24px;
    background-color: #fafafc;
}
.accordion-header-mock {
    padding: 14px 20px;
    font-weight: 700;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.abekobe-accordion-editor .accordion-content {
    padding: 16px 20px;
    font-size: 13px;
    color: #515154;
}

/* フロント表示 */
.abekobe-accordion {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    margin-bottom: 24px;
    background-color: #ffffff;
    overflow: hidden;
}
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #1d1d1f;
    cursor: pointer;
    background-color: #fafafc;
    user-select: none;
    list-style: none; /* デフォルト矢印消去 */
}
.accordion-header::-webkit-details-marker {
    display: none;
}
.accordion-icon::before {
    content: "+";
    font-size: 18px;
    font-weight: bold;
    color: #86868b;
}
details[open] .accordion-icon::before {
    content: "−";
}
.abekobe-accordion .accordion-content {
    padding: 16px 20px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #515154;
    border-top: 1px solid rgba(0,0,0,0.04);
    background-color: #ffffff;
}

/* ==========================================
   25. タブボックス (Tab Box)
   ========================================== */
.abekobe-tab-box-editor {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    background: #ffffff;
    margin-bottom: 24px;
    padding: 16px;
}
.tab-headers-row {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
    margin-bottom: 14px;
}
.tab-header-item {
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #86868b;
    border-radius: 6px;
    background-color: #f5f5f7;
}
.tab-header-item.active {
    background-color: #dca100;
    color: #ffffff;
}
.tab-contents-editor-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tab-editor-content-block {
    background-color: #fafafc;
    padding: 10px;
    border-radius: 6px;
}

/* フロント表示 */
.abekobe-tab-container {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
    background-color: #ffffff;
}
/* タブ切替用ラジオボタン(非表示) */
.abekobe-tab-container input[type="radio"] {
    display: none;
}
.tab-labels-nav {
    display: flex;
    background-color: #fafafc;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.tab-label-btn {
    flex: 1;
    padding: 14px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    color: #86868b;
    cursor: pointer;
    transition: all 0.2s ease;
}
.tab-label-btn:hover {
    background-color: rgba(0,0,0,0.02);
}
.tab-panels {
    padding: 24px 20px;
}
.tab-panel {
    display: none;
    font-size: 13.5px;
    line-height: 1.6;
    color: #515154;
}

/* ラジオボタン選択によるタブ切替制御 */
.tab-radio-1:checked ~ .tab-labels-nav .label-1,
.tab-radio-2:checked ~ .tab-labels-nav .label-2 {
    color: #1d1d1f;
    background-color: #ffffff;
    border-bottom: 2px solid #dca100;
}
.tab-radio-1:checked ~ .tab-panels .panel-1,
.tab-radio-2:checked ~ .tab-panels .panel-2 {
    display: block;
}

/* ==========================================
   26. 説明リスト (DL)
   ========================================== */
.abekobe-block-dl-editor {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 24px;
}
.dl-editor-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
}
.dl-editor-row:last-child { border-bottom: none; }
.dl-editor-dt { font-weight: 700; color: #1d1d1f; }
.dl-editor-dd { color: #515154; }

/* フロント表示 */
.abekobe-description-list {
    margin: 20px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.dl-row {
    display: flex;
    flex-direction: column;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
@media (min-width: 576px) {
    .dl-row {
        flex-direction: row;
    }
}
.dl-title {
    width: 140px;
    font-weight: 700;
    color: #1d1d1f;
    flex-shrink: 0;
    margin-bottom: 4px;
}
@media (min-width: 576px) {
    .dl-title { margin-bottom: 0; }
}
.dl-desc {
    margin: 0;
    color: #515154;
    font-size: 13.5px;
}

/* ==========================================
   27. バナーリンク (Banner Link)
   ========================================== */
.abekobe-banner-link-editor {
    height: 180px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding: 20px;
    background-size: cover;
    background-position: center;
    margin-bottom: 24px;
}
.banner-image-uploader-wrap {
    margin-bottom: 8px;
}
.banner-title { font-size: 18px; font-weight: 700; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.banner-sub { font-size: 12px; opacity: 0.9; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.banner-url-wrap { font-size: 9px; opacity: 0.7; margin-top: 4px; }

/* フロント表示 */
.abekobe-banner-link {
    display: block;
    height: 180px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    position: relative;
    text-decoration: none !important;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.abekobe-banner-link:hover {
    transform: scale(1.01);
}
.banner-link-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding: 24px;
    text-align: center;
}
.banner-link-title {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.banner-link-sub {
    font-size: 12.5px;
    color: rgba(255,255,255,0.9);
    margin: 0 0 14px 0 !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.banner-link-btn-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 18px;
    border: 1px solid #ffffff;
    border-radius: 99px;
    background-color: rgba(255,255,255,0.1);
    transition: all 0.2s ease;
}
.abekobe-banner-link:hover .banner-link-btn-tag {
    background-color: #ffffff;
    color: #1d1d1f;
}

/* ==========================================
   28. アイコンボックス
   ========================================== */
.abekobe-icon-box {
    border: 1px solid;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 24px;
    background-color: #ffffff;
}
.icon-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.icon-box-icon-span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}
.icon-box-title {
    font-size: 15px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 !important;
}
.icon-box-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #515154;
    margin: 0 !important;
}

/* ==========================================
   29. 著者情報紹介 (Author Profile)
   ========================================== */
.abekobe-author-profile-editor {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 16px;
    background-color: #fafafc;
    margin-bottom: 24px;
}
.author-label-editor {
    font-size: 10px;
    font-weight: 700;
    color: #86868b;
    display: block;
    margin-bottom: 8px;
}
.author-body-editor {
    display: flex;
    gap: 12px;
}
.author-avatar-editor {
    width: 60px;
    flex-shrink: 0;
}
.author-avatar-fallback {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}
.author-name-editor {
    font-size: 14px;
    font-weight: 700;
}

/* フロント表示 */
.abekobe-author-profile-box {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 24px 20px;
    background-color: #ffffff;
    position: relative;
    margin: 32px 0 24px;
}
.author-box-label {
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: #1d1d1f;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}
.author-box-inner {
    display: flex;
    gap: 16px;
    align-items: center;
}
@media (max-width: 575px) {
    .author-box-inner {
        flex-direction: column;
        text-align: center;
    }
}
.author-box-avatar-wrap {
    flex-shrink: 0;
}
.author-box-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.06);
}
.author-box-name {
    font-size: 15px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 6px 0 !important;
}
.author-box-desc {
    font-size: 12.5px;
    color: #6e6e73;
    line-height: 1.5;
    margin: 0 !important;
}

/* ==========================================
   30. スプリット左右枠
   ========================================== */
.abekobe-split-layout-editor {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 16px;
    background-color: #ffffff;
    margin-bottom: 24px;
}
.split-editor-img-col {
    margin-bottom: 12px;
}
.split-editor-fallback {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

/* フロント表示 */
.abekobe-split-layout {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 28px;
}
@media (min-width: 768px) {
    .abekobe-split-layout {
        flex-direction: row;
    }
    .abekobe-split-layout.layout-reverse {
        flex-direction: row-reverse;
    }
}
.split-col {
    flex: 1;
}
.split-image-col {
    min-height: 200px;
}
.split-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.split-text-col {
    padding: 32px 28px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.split-title {
    font-size: 17px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 10px 0 !important;
}
.split-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #515154;
    margin: 0 !important;
}

/* ==========================================
   31. 星評価
   ========================================== */
.abekobe-star-rating-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #fafafc;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 6px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.star-rating-label {
    font-size: 12px;
    font-weight: 700;
    color: #515154;
}
.star-rating-stars {
    color: #dca100;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ==========================================
   32. ボーダー付きボックス
   ========================================== */
.abekobe-border-box {
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
    background-color: #ffffff;
}
.abekobe-border-box.style-solid { border: 2px solid #1d1d1f; }
.abekobe-border-box.style-dashed { border: 2px dashed #86868b; }
.abekobe-border-box.style-double { border: 4px double #dca100; }
.border-box-inner {
    font-size: 13.5px;
    line-height: 1.6;
    color: #515154;
}

/* ==========================================
   33. 背景塗りボックス
   ========================================== */
.abekobe-colored-bg-box {
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
}
.abekobe-colored-bg-box.color-beige { background-color: #f7f3eb; color: #433d36; }
.abekobe-colored-bg-box.color-gray { background-color: #f5f5f7; color: #1d1d1f; }
.abekobe-colored-bg-box.color-blue { background-color: #f0f5ff; color: #2f54eb; }
.colored-box-inner {
    font-size: 13.5px;
    line-height: 1.6;
}

/* ==========================================
   34. シンプルミニバッジ (Simple Badge)
   ========================================== */
.abekobe-simple-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
    border-radius: 4px;
    letter-spacing: 0.05em;
    vertical-align: middle;
    margin-right: 6px;
}

/* ==========================================
   35. カスタムチェックマークリスト
   ========================================== */
.abekobe-block-custom-checklist-wrapper {
    margin-bottom: 24px;
}
.abekobe-custom-checklist {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.abekobe-custom-checklist li {
    position: relative;
    padding-left: 22px !important;
    margin-bottom: 8px !important;
    font-size: 13.5px;
    line-height: 1.5;
    color: #515154;
}
.abekobe-custom-checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #389e0d; /* Apple Green */
    font-size: 13px;
    font-weight: bold;
}

/* ==========================================
   36. ミニマルグリッドギャラリー
   ========================================== */
.abekobe-editor-grid-gallery {
    display: flex;
    gap: 12px;
    background-color: #fafafc;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 24px;
}
.gallery-editor-col {
    flex: 1;
}
.gallery-img-fallback {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

/* フロント */
.abekobe-grid-gallery {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}
.gallery-col {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
}
.gallery-image-element {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-col:hover .gallery-image-element {
    transform: scale(1.03);
}

/* ==========================================
   37. フローティングシャドウカード
   ========================================== */
.abekobe-floating-shadow-card {
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03), 0 2px 4px rgba(0,0,0,0.01);
}
.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 10px 0 !important;
}
.card-content-inner {
    font-size: 13.5px;
    line-height: 1.6;
    color: #515154;
}

/* ==========================================
   38. 蛍光マーカーテキスト
   ========================================== */
.abekobe-highlight-marker {
    background: transparent;
    font-weight: 600;
}
.abekobe-highlight-marker.marker-color-amber {
    background-image: linear-gradient(transparent 60%, rgba(220,161,0,0.2) 60%);
}
.abekobe-highlight-marker.marker-color-blue {
    background-image: linear-gradient(transparent 60%, rgba(47,84,235,0.15) 60%);
}

/* ==========================================
   39. リボン付きおすすめ枠
   ========================================== */
.abekobe-recommend-ribbon-box {
    position: relative;
    border: 1px solid;
    border-radius: 12px;
    padding: 24px 20px;
    margin-bottom: 28px;
    background-color: #ffffff;
    overflow: hidden; /* 斜めリボンのはみ出しカット */
}
.ribbon-tag {
    position: absolute;
    top: 14px;
    right: -24px;
    transform: rotate(45deg);
    padding: 2px 28px;
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.ribbon-box-content {
    font-size: 13.5px;
    line-height: 1.6;
    color: #515154;
}

/* ==========================================
   40. 縦型ミニ手順 (Simple Vertical Step)
   ========================================== */
.abekobe-vertical-steps-container {
    margin: 24px 0;
    position: relative;
}
.vertical-step-item {
    display: flex;
    gap: 16px;
    position: relative;
    padding-bottom: 24px;
}
.vertical-step-item:last-child {
    padding-bottom: 0;
}
/* 縦の繋ぎ線 */
.vertical-step-item::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 20px;
    bottom: 0;
    width: 2px;
    background-color: rgba(0,0,0,0.05);
}
.vertical-step-item:last-child::after {
    display: none;
}
.step-node-indicator {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    padding-top: 4px;
}
.step-node-dot {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid #dca100;
}
.step-node-body {
    flex-grow: 1;
}
.step-v-title {
    font-size: 14px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 4px 0 !important;
}
.step-v-desc {
    font-size: 12.5px;
    color: #6e6e73;
    line-height: 1.5;
    margin: 0 !important;
}

/* ==========================================
   追加スタイル：角丸・サイズ・パディング・レスポンシブ
   ========================================== */

/* アラート角丸バリエーション (Important, Tip, Success Alert) */
.abekobe-block-alert-important.radius-md,
.abekobe-block-alert-tip.radius-md,
.abekobe-block-alert-success.radius-md {
    border-radius: 12px;
}
.abekobe-block-alert-important.radius-lg,
.abekobe-block-alert-tip.radius-lg,
.abekobe-block-alert-success.radius-lg {
    border-radius: 24px;
}
.abekobe-block-alert-important.radius-none,
.abekobe-block-alert-tip.radius-none,
.abekobe-block-alert-success.radius-none {
    border-radius: 0 !important;
}

/* 吹き出しアバターサイズバリエーション (Balloon Left / Right) */
.abekobe-block-balloon-container.size-sm .balloon-avatar-img,
.abekobe-block-balloon-container.size-sm .balloon-avatar-preview-fallback,
.abekobe-block-balloon-container.size-sm .abekobe-editor-img-preview {
    width: 36px !important;
    height: 36px !important;
}
.abekobe-block-balloon-container.size-sm .balloon-content-box {
    padding: 8px 14px;
    font-size: 13px;
}
.abekobe-block-balloon-container.size-md .balloon-avatar-img,
.abekobe-block-balloon-container.size-md .balloon-avatar-preview-fallback,
.abekobe-block-balloon-container.size-md .abekobe-editor-img-preview {
    width: 48px !important;
    height: 48px !important;
}
.abekobe-block-balloon-container.size-lg .balloon-avatar-img,
.abekobe-block-balloon-container.size-lg .balloon-avatar-preview-fallback,
.abekobe-block-balloon-container.size-lg .abekobe-editor-img-preview {
    width: 64px !important;
    height: 64px !important;
}

/* キャプションボックス パディングバリエーション */
.abekobe-caption-box.padding-normal {
    padding: 24px 20px 18px;
}
.abekobe-caption-box.padding-compact {
    padding: 14px 16px 12px;
}

/* 完全レスポンシブデザイン強化 (スマホ幅 767px以下) */
@media (max-width: 767px) {
    /* グリッドギャラリーの縦積み化 */
    .abekobe-grid-gallery {
        flex-direction: column;
        gap: 12px;
    }
    .gallery-col {
        width: 100%;
    }
    .gallery-image-element {
        height: 180px;
    }

    /* タブボタンの折り返し対応 */
    .tab-labels-nav {
        flex-wrap: wrap;
    }
    .tab-label-btn {
        flex: 1 1 auto;
        min-width: 80px;
        padding: 10px 8px;
        font-size: 12px;
    }
    .tab-panels {
        padding: 16px 12px;
    }

    /* タイムラインの調整 */
    .abekobe-block-timeline-list {
        padding-left: 20px;
        margin: 24px 0;
    }
    .abekobe-block-timeline-list .timeline-item::before,
    .abekobe-block-timeline-list .timeline-editor-item::before {
        left: -29px; /* パディング縮小に合わせてドット位置を微調整 */
        width: 14px;
        height: 14px;
        top: 6px;
    }
    .abekobe-block-timeline-list h4 {
        font-size: 14px;
    }
    .abekobe-block-timeline-list p {
        font-size: 12px;
    }

    /* 吹き出しのスマホ調整（文字サイズ、最大幅調整） */
    .balloon-content-box {
        max-width: 85%;
        padding: 10px 14px;
        font-size: 13px;
    }
    .balloon-avatar-img,
    .balloon-avatar-preview-fallback {
        width: 40px;
        height: 40px;
    }
    .abekobe-block-balloon-container.size-sm .balloon-avatar-img,
    .abekobe-block-balloon-container.size-sm .balloon-avatar-preview-fallback {
        width: 32px !important;
        height: 32px !important;
    }
    .abekobe-block-balloon-container.size-lg .balloon-avatar-img,
    .abekobe-block-balloon-container.size-lg .balloon-avatar-preview-fallback {
        width: 52px !important;
        height: 52px !important;
    }

    /* その他ボックス類の余白調整 */
    .abekobe-block-pricing-card {
        padding: 20px;
    }
    .abekobe-block-pricing-card .price-line strong {
        font-size: 26px;
    }
    .abekobe-block-review-card {
        padding: 18px;
    }
    .review-title {
        font-size: 14px;
    }
    .review-body {
        font-size: 12.5px;
    }
    .abekobe-block-profile-card {
        padding: 16px;
        gap: 12px;
    }
    .profile-name {
        font-size: 16px;
    }
    .abekobe-block-cta-container {
        padding: 24px 16px;
    }
    .cta-heading {
        font-size: 14px;
    }
}
