/*
 Theme Name: AI秘書室の子テーマ
 Theme URI: https://ai-migiude.jp/
 Description: AI秘書室による高度なカスタマイズ用子テーマ
 Author: AI秘書室
 Author URI: https://ai-migiude.jp/
 Template: astra
 Version:  2.8.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: ai-hishoshitsu-child
*/
/* ==========================================================================
   0. CSS カスタムプロパティ（ブランドカラー一元管理）
   ========================================================================== */
:root {
    --aihc-primary: #0067FF;
    --aihc-primary-dark: #005EE9;
    --aihc-bg-light: #E7F6FF;
    --aihc-bg-white: #FFFFFF;
    --aihc-text-dark: #0F172A;
    --aihc-text-gray: #364151;
    --aihc-accent-line: #06C755;
    --aihc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --aihc-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --aihc-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --aihc-radius-sm: 8px;
    --aihc-radius-md: 12px;
    --aihc-radius-lg: 16px;
    --aihc-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
/* ==========================================================================
   1. スムーズスクロール & テキスト描画最適化
   ========================================================================== */
html {
    scroll-behavior: smooth;
}
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
/* ==========================================================================
   2. リンク・ボタンのトランジション統一
   ========================================================================== */
a,
button,
input[type="submit"],
.ast-button,
.ast-custom-button,
.wp-block-button__link {
    transition: all var(--aihc-transition);
}
/* フォーカスリングの視認性向上（アクセシビリティ） */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.wp-block-button__link:focus-visible {
    outline: 2px solid var(--aihc-primary);
    outline-offset: 2px;
    border-radius: 2px;
}
/* ==========================================================================
   3. 画像の最適化表示
   ========================================================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}
figure {
    margin: 0;
}
/* ==========================================================================
   4. CTAボタン強化（LINE緑）
   ========================================================================== */
.aihc-cta-line,
a[href*="lin.ee"],
a[href*="line.me"] {
    background-color: var(--aihc-accent-line) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--aihc-radius-sm) !important;
    font-weight: 700 !important;
    box-shadow: var(--aihc-shadow-sm);
}
a[href*="lin.ee"]:hover,
a[href*="line.me"]:hover,
.aihc-cta-line:hover {
    background-color: #05b14a !important;
    box-shadow: var(--aihc-shadow-md);
    transform: translateY(-2px);
}
/* ==========================================================================
   5. カード・コンテナの統一シャドウ
   ========================================================================== */
.ast-article-post .ast-article-inner,
.wp-block-group.has-background,
.wp-block-cover {
    border-radius: var(--aihc-radius-md);
    overflow: hidden;
}
.ast-separate-container .ast-article-post {
    box-shadow: var(--aihc-shadow-sm);
    transition: box-shadow var(--aihc-transition), transform var(--aihc-transition);
    border-radius: var(--aihc-radius-md);
}
.ast-separate-container .ast-article-post:hover {
    box-shadow: var(--aihc-shadow-md);
    transform: translateY(-2px);
}
/* ==========================================================================
   6. テーブルの読みやすさ改善
   ========================================================================== */
.entry-content table {
    border-collapse: collapse;
    width: 100%;
    border-radius: var(--aihc-radius-sm);
    overflow: hidden;
    box-shadow: var(--aihc-shadow-sm);
}
.entry-content table th {
    background-color: var(--aihc-bg-light);
    color: var(--aihc-text-dark);
    font-weight: 700;
    padding: 12px 16px;
    text-align: left;
}
.entry-content table td {
    padding: 10px 16px;
    border-bottom: 1px solid #e5e7eb;
}
.entry-content table tbody tr:last-child td {
    border-bottom: none;
}
.entry-content table tbody tr:hover {
    background-color: rgba(0, 103, 255, 0.03);
}
/* ==========================================================================
   7. 引用ブロックの見た目統一
   ========================================================================== */
blockquote,
.wp-block-quote {
    border-left: 4px solid var(--aihc-primary) !important;
    background: var(--aihc-bg-light);
    padding: 1.2em 1.5em;
    margin: 1.5em 0;
    border-radius: 0 var(--aihc-radius-sm) var(--aihc-radius-sm) 0;
    font-style: normal;
}
blockquote p:last-child {
    margin-bottom: 0;
}
/* ==========================================================================
   8. スクロールトップボタン
   ========================================================================== */
#ast-scroll-top {
    background-color: var(--aihc-primary) !important;
    border-radius: 50% !important;
    box-shadow: var(--aihc-shadow-md);
    transition: all var(--aihc-transition);
}
#ast-scroll-top:hover {
    background-color: var(--aihc-primary-dark) !important;
    transform: translateY(-3px);
    box-shadow: var(--aihc-shadow-lg);
}
/* ==========================================================================
   9. モバイルレスポンシブ改善
   ========================================================================== */
@media (max-width: 768px) {
    /* タッチターゲット最低44px確保（WCAG 2.5.5）— セレクタを限定し、本文中のテキストリンクは対象外 */
    .menu-link,
    .ast-button,
    .ast-custom-button,
    .wp-block-button__link,
    input[type="submit"] {
        min-height: 44px;
    }
    /* モバイルでのテーブル横スクロール */
    .entry-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* フッターのパディング調整 */
    .site-below-footer-wrap {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}
/* ==========================================================================
   10. セレクション（テキスト選択時）の色
   ========================================================================== */
::selection {
    background-color: var(--aihc-primary);
    color: #fff;
}
::-moz-selection {
    background-color: var(--aihc-primary);
    color: #fff;
}
/* ==========================================================================
   11. アニメーション — フェードイン（軽量）
   ========================================================================== */
/* 既定では自動アニメーションをかけず、opt-in クラスでのみ動作させる */
.aihc-animate-in {
    animation: aihc-fade-up 0.5s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
    .aihc-animate-in {
        animation: none;
    }
}
@keyframes aihc-fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==========================================================================
   12. 印刷スタイル
   ========================================================================== */
@media print {
    header,
    footer,
    .ast-above-header,
    .ast-below-header,
    #ast-scroll-top,
    .ast-mobile-header-wrap,
    nav,
    .sidebar,
    .comments-area,
    .post-navigation {
        display: none !important;
    }
    body {
        font-size: 12pt;
        color: #000 !important;
        background: #fff !important;
    }
    a {
        color: #000 !important;
        text-decoration: underline;
    }
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.85em;
        color: #555;
    }
    .entry-content {
        max-width: 100% !important;
    }
}
/* ==========================================================================
   13. ユーティリティクラス（子テーマ内で使用可能）
   ========================================================================== */
.aihc-text-primary { color: var(--aihc-primary); }
.aihc-text-dark    { color: var(--aihc-text-dark); }
.aihc-text-gray    { color: var(--aihc-text-gray); }
.aihc-bg-light     { background-color: var(--aihc-bg-light); }
.aihc-bg-white     { background-color: var(--aihc-bg-white); }
.aihc-shadow-sm    { box-shadow: var(--aihc-shadow-sm); }
.aihc-shadow-md    { box-shadow: var(--aihc-shadow-md); }
.aihc-rounded      { border-radius: var(--aihc-radius-md); }
.aihc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* ==========================================================================
   14. フッター デザインカスタマイズ（2026-04-13 子テーマへ移行）
   ========================================================================== */
/* フッター背景・上ボーダー */
#colophon.site-footer {
    background: linear-gradient(160deg, #0d1b36 0%, #1a305e 100%) !important;
    border-top: 3px solid #B8944F !important;
}
/* フッター内側の余白 */
.site-primary-footer-wrap {
    padding: 52px 0 40px !important;
}
/* フッターウィジェットタイトル */
#colophon .widget-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #B8944F !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid rgba(184, 148, 79, 0.3) !important;
    padding-bottom: 10px !important;
}
/* フッターナビリンク */
#colophon .menu-link {
    color: #c0d4e8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 2px 0 !important;
    font-size: 13px !important;
}
/* フッターナビ矢印アイコン */
#colophon .menu-link::before {
    content: "→" !important;
    color: #B8944F !important;
}
/* フッターテキストリンク（通常） */
#colophon .textwidget a {
    color: #64b5f6;
}
/* フッターボタンリンク（インラインスタイル付き・背景色あり）*/
#colophon .textwidget a[style*="background"] {
    color: #ffffff !important;
}
/* フッター下部バー（著作権表示エリア）*/
.site-below-footer-wrap {
    background: rgba(0, 0, 0, 0.38) !important;
}
/* 著作権テキスト */
.ast-footer-copyright p {
    color: rgba(255, 255, 255, 0.3) !important;
}
/* スマートフォン: フッターCTAボタン */
@media (max-width: 768px) {
    #colophon a[href*="line.me"] {
        background: #06C755 !important;
        color: #fff !important;
        border-radius: 8px !important;
        padding: 10px 16px !important;
        display: inline-block !important;
        text-align: center !important;
        font-weight: 700 !important;
        width: 100% !important;
        margin: 4px 0 !important;
    }
    #colophon a[href*="contact"] {
        background: linear-gradient(135deg, #0067FF, #3B82F6) !important;
        color: #fff !important;
        border-radius: 8px !important;
        padding: 10px 16px !important;
        display: inline-block !important;
        text-align: center !important;
        font-weight: 700 !important;
        width: 100% !important;
        margin: 4px 0 !important;
    }
}
/* ============================================================
   yuushin.biz 全サイト共通CSS v2.0 (移行元: Code Snippets ID12)
   2026-04-13 子テーマに移行
   ============================================================ */
/* ---- 共通ユーティリティ ---- */
.yu-wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.yu-wrap-wide { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
/* ---- セクション共通 ---- */
.yu-section { padding: clamp(48px,8vw,88px) 20px; }
.yu-section-title { font-size: clamp(22px,5vw,32px); font-weight: 800; text-align: center; margin: 0 0 8px 0; color: #1B5E7B; }
.yu-section-sub { text-align: center; font-size: 14px; color: #888; margin: 0 0 44px 0; }
/* ---- お悩みグリッド ---- */
.yu-pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media(max-width: 600px) { .yu-pain-grid { grid-template-columns: 1fr; } }
/* ---- Before/After ---- */
.yu-ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 12px; overflow: hidden; margin-bottom: 32px; }
@media(max-width:640px) { .yu-ba-wrap { grid-template-columns: 1fr; } }
.yu-before { background: #fef2f2; border-left: 5px solid #e74c3c; padding: 28px 24px; }
.yu-after  { background: #f0fdf4; border-left: 5px solid #22c55e; padding: 28px 24px; }
/* ---- 機能グリッド ---- */
.yu-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media(max-width: 640px) { .yu-feature-grid { grid-template-columns: 1fr; } }
/* ---- 実績数字グリッド ---- */
.yu-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 36px 0; }
@media(min-width: 768px) { .yu-stats-grid { grid-template-columns: repeat(4, 1fr); } }
/* ---- 導入ステップ ---- */
.yu-steps { display: flex; gap: 0; justify-content: center; flex-wrap: wrap; }
.yu-step { flex: 1 1 200px; max-width: 240px; text-align: center; padding: 0 16px; position: relative; }
.yu-step:not(:last-child)::after { content: "→"; position: absolute; right: -10px; top: 30px; font-size: 22px; color: #B8944F; }
@media(max-width: 640px) { .yu-step::after { display: none; } }
/* ---- ブロググリッド ---- */
.yu-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media(max-width: 768px) { .yu-blog-grid { grid-template-columns: 1fr; } .yu-blog-hide-sp { display: none !important; } }
@media(min-width: 769px) and (max-width: 1024px) { .yu-blog-grid { grid-template-columns: repeat(2, 1fr); } }
/* ---- プロフィールグリッド ---- */
.yu-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: #f5f8fa; border-radius: 14px; overflow: hidden; margin-bottom: 28px; }
@media(max-width: 640px) { .yu-profile-grid { grid-template-columns: 1fr !important; } .yu-profile-grid img { max-height: 280px; object-fit: cover; min-height: unset; } }
/* ---- CTAボタン ---- */
.yu-btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.yu-btn-line { display: inline-block; background-color: #00B900; color: white; padding: 16px 36px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 16px; }
.yu-btn-outline { display: inline-block; background: transparent; color: white; padding: 16px 36px; border: 2px solid white; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 16px; }
.yu-btn-gold { display: inline-block; background: #d4920b; color: white; padding: 16px 36px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 15px; }
/* ---- ホバーエフェクト ---- */
.yu-card-hover { transition: transform .2s, box-shadow .2s; }
.yu-card-hover:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.13); }
/* ---- 濃色背景上の見出し白色強制 ---- */
.entry-content [style*="background:#1a365d"] h2,
.entry-content [style*="background:#1B5E7B"] h2,
.entry-content [style*="background:#0d3a4f"] h2,
.entry-content [style*="background:#2b6cb0"] h2,
.entry-content [style*="background:#2d3748"] h2,
.entry-content [style*="background:#111827"] h2 { color: #ffffff !important; }
/* 濃色背景上の白文字は opt-in クラスで明示する（2026-04-24 v1.2.0） */
.yu-light-on-dark h1,
.yu-light-on-dark h2,
.yu-light-on-dark h3,
.hero-section h1,
.hero-section h2,
.cta-box h1,
.cta-box h2 { color: #ffffff; }
/* ==========================================================================
   15. ヘッダーメニューカラー（旧 Customizer 追加CSS より統合・2026-04-13）
   ========================================================================== */
.ast-primary-header-bar .ast-builder-menu-1 .menu-item > .menu-link {
    color: #242a56;
}
.ast-primary-header-bar .ast-builder-menu-1 .menu-item:hover > .menu-link,
.ast-primary-header-bar .ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
.ast-primary-header-bar .ast-builder-menu-1 .current-menu-ancestor > .menu-link {
    color: #4d61d6;
}
/* 注意: 旧 Customizer 追加CSS にあった
   div[style*="grid-template-columns:repeat(4,1fr)"] { display: grid !important; } 等の
   強制グリッド規則は、モバイルレイアウト破壊の原因となっていたため統合時に削除した。
   各ブロックでグリッドが必要な場合は .yu-stats-grid 等の専用クラスを使うこと。 */
/* ==========================================================================
   16. Desktop: WordPress kses 後 inline-block 復元（旧 sccss より統合）
   ========================================================================== */
/* WordPress kses は display:inline-block を剥がすことがあるため、
   特定のカードパターンに対して復元する */
.entry-content div[style*="font-size:0"] > div[style*="vertical-align:top"],
.entry-content div[style*="vertical-align:top"][style*="max-width"] {
    display: inline-block;
}
/* ==========================================================================
   17. Mobile (max-width: 767px) レスポンシブ調整（旧 sccss より統合・整理版）
   ----------------------------------------------------------------------
   注意: セレクタを過剰に広く取らない。本文中の通常リンクや無関係な要素に
         波及しないよう、attribute セレクタは慎重に維持する。
   ========================================================================== */
@media (max-width: 767px) {
    /* テーブルを縦積みにする（カレンダーウィジェットを除外） */
    .entry-content table:not(.wp-calendar-table),
    .entry-content table:not(.wp-calendar-table) > tbody,
    .entry-content table:not(.wp-calendar-table) > thead,
    .entry-content table:not(.wp-calendar-table) > tfoot {
        display: block;
        width: 100%;
        min-width: 0;
    }
    .entry-content table:not(.wp-calendar-table) > tbody > tr,
    .entry-content table:not(.wp-calendar-table) > thead > tr {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 12px;
    }
    .entry-content table:not(.wp-calendar-table) > tbody > tr > td,
    .entry-content table:not(.wp-calendar-table) > thead > tr > th {
        display: block;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding-left: 12px;
        padding-right: 12px;
    }
    /* 見出しサイズ縮小（kses 後の span 内も対象） */
    .entry-content h1,
    .entry-content h1 span { font-size: 24px; line-height: 1.4; }
    .entry-content h2,
    .entry-content h2 span { font-size: 20px; line-height: 1.4; }
    .entry-content h3,
    .entry-content h3 span { font-size: 18px; line-height: 1.4; }
    /* CTAボタン: タップしやすい幅・高さ
       注: padding と background-color の両方を持つ a 要素に限定（テキストリンクは対象外） */
    .entry-content a[style*="padding"][style*="background"] {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        min-height: 44px;
        padding: 16px 20px;
        box-sizing: border-box;
        text-align: center;
        font-size: 16px;
    }
    /* float カードを縦積み */
    .entry-content div[style*="float:left"],
    .entry-content div[style*="float: left"] {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
    }
    /* min-height をリセット（カード高さ揃え用の値が縦積み時に邪魔になる） */
    .entry-content div[style*="min-height"] { min-height: auto; }
    /* 画像の最大幅 */
    .entry-content img { max-width: 100%; height: auto; }
    /* 横スクロール防止（モバイルで意図しない overflow を抑制） */
    body, .content, .main-content, #wrapper, .entry-content {
        overflow-x: hidden;
        max-width: 100vw;
    }
    /* 横幅指定セルの縦積み */
    .entry-content table td[style*="width:33"],
    .entry-content table td[style*="width: 33"],
    .entry-content table td[style*="width:25"],
    .entry-content table td[style*="width: 25"],
    .entry-content table td[style*="width:50"],
    .entry-content table td[style*="width: 50"] {
        width: 100%;
        margin-bottom: 16px;
    }
    /* inline-block 要素を縦積み */
    .entry-content div[style*="inline-block"],
    .entry-content div[style*="display: inline-block"] {
        display: block;
        width: 100%;
        margin-bottom: 16px;
    }
    /* 大きな padding を控えめに */
    .entry-content div[style*="padding:40px"],
    .entry-content div[style*="padding: 40px"],
    .entry-content div[style*="padding:48px"],
    .entry-content div[style*="padding: 48px"] { padding: 20px 16px; }
    .entry-content div[style*="padding:60px"],
    .entry-content div[style*="padding: 60px"],
    .entry-content div[style*="padding:80px"],
    .entry-content div[style*="padding: 80px"] { padding: 32px 16px; }
    /* 大きいインラインフォントサイズの縮小 */
    .entry-content span[style*="font-size:36px"],
    .entry-content span[style*="font-size: 36px"],
    .entry-content span[style*="font-size:38px"],
    .entry-content span[style*="font-size: 38px"],
    .entry-content span[style*="font-size:40px"],
    .entry-content span[style*="font-size: 40px"],
    .entry-content span[style*="font-size:42px"],
    .entry-content span[style*="font-size: 42px"],
    .entry-content span[style*="font-size:48px"],
    .entry-content span[style*="font-size: 48px"] { font-size: 24px; line-height: 1.4; }
    .entry-content span[style*="font-size:28px"],
    .entry-content span[style*="font-size: 28px"],
    .entry-content span[style*="font-size:30px"],
    .entry-content span[style*="font-size: 30px"],
    .entry-content span[style*="font-size:32px"],
    .entry-content span[style*="font-size: 32px"] { font-size: 20px; line-height: 1.4; }
}
/* ==========================================================================
   18. グローバル非表示（旧 sccss より統合）
   ========================================================================== */
/* Astra Pro REQUEST QUOTE ボタン（未使用） */
.ast-button-component,
.ast-button-component-wrap { display: none; }
/* ==========================================================================
   19. カスタムカードグリッド（旧 sccss より統合）
   ----------------------------------------------------------------------
   .custom-card-grid をクラスとして付けたコンテナだけがグリッドになる。
   旧 wp-custom-css にあった「div[style*=...] に強制 grid」は破壊的なので削除。
   ========================================================================== */
@media (min-width: 768px) {
    .custom-card-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        align-items: stretch;
    }
}
@media (max-width: 767px) {
    .custom-card-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
}
/* v1.3.0-1.9.0 履歴は _memo/20260424-yuushin-css-architecture-cleanup.md 参照 */
/* ==========================================================================
   20. iPhone（実機）モバイル強制縮小（v1.4.0・2026-04-24 会長指示）
   ----------------------------------------------------------------------
   会長指示「iPhone で文字大きすぎ・編集の度に崩れる」を子テーマで根治。
   インライン style="font-size:Xpx" を子テーマで強制上書きし、編集してインライン値が変わっても
   モバイルでは常に読みやすいサイズに制御する。
   ========================================================================== */
@media (max-width: 767px) {
    .entry-content [style*="font-size:48px"],
    .entry-content [style*="font-size: 48px"],
    .entry-content [style*="font-size:46px"],
    .entry-content [style*="font-size: 46px"],
    .entry-content [style*="font-size:44px"],
    .entry-content [style*="font-size: 44px"] {
        font-size: 24px !important;
        line-height: 1.35 !important;
    }
    .entry-content [style*="font-size:42px"],
    .entry-content [style*="font-size: 42px"],
    .entry-content [style*="font-size:40px"],
    .entry-content [style*="font-size: 40px"],
    .entry-content [style*="font-size:38px"],
    .entry-content [style*="font-size: 38px"],
    .entry-content [style*="font-size:36px"],
    .entry-content [style*="font-size: 36px"] {
        font-size: 22px !important;
        line-height: 1.4 !important;
    }
    .entry-content [style*="font-size:34px"],
    .entry-content [style*="font-size: 34px"],
    .entry-content [style*="font-size:32px"],
    .entry-content [style*="font-size: 32px"],
    .entry-content [style*="font-size:30px"],
    .entry-content [style*="font-size: 30px"] {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }
    .entry-content [style*="font-size:28px"],
    .entry-content [style*="font-size: 28px"],
    .entry-content [style*="font-size:27px"],
    .entry-content [style*="font-size: 27px"],
    .entry-content [style*="font-size:26px"],
    .entry-content [style*="font-size: 26px"] {
        font-size: 18px !important;
        line-height: 1.45 !important;
    }
    .entry-content [style*="font-size:24px"],
    .entry-content [style*="font-size: 24px"],
    .entry-content [style*="font-size:22px"],
    .entry-content [style*="font-size: 22px"],
    .entry-content [style*="font-size:20px"],
    .entry-content [style*="font-size: 20px"] {
        font-size: 16px !important;
        line-height: 1.55 !important;
    }
    .entry-content [style*="font-size:clamp(26px,6vw,46px)"],
    .entry-content [style*="font-size:clamp(24px,4.5vw,46px)"],
    .entry-content [style*="font-size:clamp(26px,4.5vw,46px)"] {
        font-size: 22px !important;
        line-height: 1.4 !important;
    }
    .entry-content [style*="font-size:clamp(22px,5vw,34px)"],
    .entry-content [style*="font-size:clamp(22px,4vw,40px)"],
    .entry-content [style*="font-size:clamp(22px,3vw,32px)"],
    .entry-content [style*="font-size:clamp(20px,3.5vw,32px)"] {
        font-size: 19px !important;
        line-height: 1.45 !important;
    }
    .entry-content [style*="font-size:clamp(20px,5vw,32px)"],
    .entry-content [style*="font-size:clamp(18px,4vw,26px)"] {
        font-size: 17px !important;
        line-height: 1.5 !important;
    }
    .entry-content [style*="font-size:clamp(15px"],
    .entry-content [style*="font-size:clamp(14px"] {
        font-size: 13px !important;
        line-height: 1.7 !important;
    }
    .entry-content > h1,
    .entry-content h1.entry-title,
    .entry-content h1:not([style*="font-size"]) {
        font-size: 22px !important;
        line-height: 1.35 !important;
    }
    .entry-content h2.yu-section-title,
    .entry-content h2:not([style*="font-size"]) {
        font-size: 19px !important;
        line-height: 1.4 !important;
        margin: 0 0 6px 0 !important;
    }
    .entry-content h3:not([style*="font-size"]) {
        font-size: 16px !important;
        line-height: 1.45 !important;
    }
    .entry-content p.yu-section-sub {
        font-size: 13px !important;
        margin: 0 0 24px 0 !important;
    }
    .entry-content img[style*="height:460px"],
    .entry-content img[style*="height: 460px"],
    .entry-content img[style*="height:480px"],
    .entry-content img[style*="height: 480px"] {
        height: 220px !important;
        object-fit: cover !important;
    }
    .entry-content img[style*="height:clamp(240px,50vw,480px)"],
    .entry-content img[style*="height:clamp(200px,40vw,360px)"] {
        height: 200px !important;
    }
    .entry-content img[style*="min-height:320px"],
    .entry-content img[style*="min-height: 320px"] {
        min-height: 180px !important;
        height: auto !important;
    }
    .entry-content div[style*="padding:clamp(60px,10vw,110px)"] { padding: 36px 16px !important; }
    .entry-content div[style*="padding:clamp(60px"],
    .entry-content div[style*="padding: clamp(60px"],
    .entry-content div[style*="padding:clamp(56px"],
    .entry-content div[style*="padding: clamp(56px"] { padding: 32px 16px !important; }
    .entry-content div[style*="padding:clamp(48px"],
    .entry-content div[style*="padding: clamp(48px"],
    .entry-content div[style*="padding:clamp(40px"],
    .entry-content div[style*="padding: clamp(40px"] { padding: 24px 14px !important; }
    .yu-section { padding: 28px 16px !important; }
    .yu-wrap, .yu-wrap-wide { padding: 0 4px !important; }
    .yu-pain-grid,
    .yu-feature-grid,
    .yu-stats-grid,
    .yu-blog-grid { gap: 12px !important; }
    .yu-section-title { font-size: 19px !important; line-height: 1.4 !important; margin: 0 0 6px 0 !important; }
    .yu-section-sub { font-size: 13px !important; margin: 0 0 22px 0 !important; line-height: 1.6 !important; }
    .yu-btn-line,
    .yu-btn-outline,
    .yu-btn-gold {
        font-size: 14px !important;
        padding: 13px 18px !important;
    }
    .yu-btn-group { gap: 10px !important; }
    .entry-content span[style*="font-size:1.4em"] { font-size: 1.2em !important; }
    .entry-content span[style*="font-size:1.3em"] { font-size: 1.15em !important; }
    .entry-content span[style*="font-size:1.2em"] { font-size: 1.1em !important; }
    .entry-content div[style*="padding:28px"],
    .entry-content div[style*="padding: 28px"],
    .entry-content div[style*="padding:32px"],
    .entry-content div[style*="padding: 32px"],
    .entry-content div[style*="padding:24px"],
    .entry-content div[style*="padding: 24px"] { padding: 18px 14px !important; }
    .entry-content div[style*="padding:32px 28px"],
    .entry-content div[style*="padding: 32px 28px"] { padding: 18px 14px !important; }
    .entry-content table th,
    .entry-content table td {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
}
/* ==========================================================================
   21. 緊急: iPhone フルワイド + 激縮小 + 1列強制（v1.5.0・2026-04-24）
   ========================================================================== */
@media (max-width: 767px) {
    .entry-content .yu-section,
    .yu-section { padding: 22px 8px !important; }

    .entry-content .yu-wrap,
    .entry-content .yu-wrap-wide,
    .yu-wrap, .yu-wrap-wide {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .entry-content > div { max-width: 100% !important; }
    .entry-content .yu-pain-grid,
    .entry-content .yu-feature-grid,
    .entry-content .yu-stats-grid,
    .entry-content .yu-blog-grid,
    .entry-content .yu-ba-wrap,
    .yu-pain-grid, .yu-feature-grid, .yu-stats-grid, .yu-blog-grid, .yu-ba-wrap {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .entry-content .yu-pain-grid > div,
    .entry-content .yu-feature-grid > div,
    .entry-content .yu-stats-grid > div,
    .entry-content .yu-blog-grid > div,
    .yu-pain-grid > div, .yu-feature-grid > div, .yu-stats-grid > div, .yu-blog-grid > div {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px 14px !important;
        margin: 0 !important;
    }
    .entry-content .yu-section-title,
    .yu-section-title {
        font-size: 17px !important;
        line-height: 1.4 !important;
        margin: 0 0 4px 0 !important;
        text-align: center !important;
    }
    .entry-content .yu-section-sub,
    .yu-section-sub {
        font-size: 12px !important;
        line-height: 1.5 !important;
        margin: 0 0 14px 0 !important;
    }
    .entry-content .yu-pain-grid h3,
    .entry-content .yu-feature-grid h3,
    .entry-content .yu-blog-grid h3,
    .yu-pain-grid h3, .yu-feature-grid h3, .yu-blog-grid h3 {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin: 0 0 4px !important;
        font-weight: 700 !important;
    }
    .entry-content .yu-pain-grid p,
    .entry-content .yu-feature-grid p,
    .entry-content .yu-blog-grid p,
    .yu-pain-grid p, .yu-feature-grid p, .yu-blog-grid p {
        font-size: 12px !important;
        line-height: 1.5 !important;
        margin: 0 !important;
    }
    .entry-content div[style*="padding:22px 20px"],
    .entry-content div[style*="padding: 22px 20px"] { padding: 14px 14px !important; }
    .entry-content div[style*="padding:24px"],
    .entry-content div[style*="padding: 24px"] { padding: 14px 14px !important; }
    .entry-content h1[style] { font-size: 20px !important; line-height: 1.35 !important; }
    .entry-content h2[style] { font-size: 17px !important; line-height: 1.4 !important; }
    .entry-content h3[style] { font-size: 14px !important; line-height: 1.45 !important; }
    .entry-content img[style*="height:460px"],
    .entry-content img[style*="height:480px"] { height: 180px !important; }
    .entry-content table th,
    .entry-content table td {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
}
/* ==========================================================================
   22. v1.6.0 先回り対処: 全ページHTML解析で抽出した未対処パターン一掃
   （2026-04-24）
   ========================================================================== */
@media (max-width: 767px) {
    /* === 大きい padding を一掃 === */
    .entry-content div[style*="padding:28px"],
    .entry-content div[style*="padding: 28px"],
    .entry-content div[style*="padding:24px 20px"],
    .entry-content div[style*="padding: 24px 20px"],
    .entry-content div[style*="padding:20px 24px"],
    .entry-content div[style*="padding: 20px 24px"],
    .entry-content div[style*="padding:16px 20px"],
    .entry-content div[style*="padding: 16px 20px"],
    .entry-content div[style*="padding:14px 20px"],
    .entry-content div[style*="padding: 14px 20px"],
    .entry-content div[style*="padding:18px 16px"],
    .entry-content div[style*="padding: 18px 16px"],
    .entry-content div[style*="padding:14px 18px"],
    .entry-content div[style*="padding: 14px 18px"] {
        padding: 12px 14px !important;
    }
    /* === 固定 width / max-width を mobile で 100% 強制 === */
    .entry-content [style*="width:800px"],
    .entry-content [style*="width: 800px"],
    .entry-content [style*="width:820px"],
    .entry-content [style*="width: 820px"],
    .entry-content [style*="width:960px"],
    .entry-content [style*="width: 960px"],
    .entry-content [style*="width:700px"],
    .entry-content [style*="width: 700px"],
    .entry-content [style*="max-width:800px"],
    .entry-content [style*="max-width: 800px"],
    .entry-content [style*="max-width:820px"],
    .entry-content [style*="max-width: 820px"],
    .entry-content [style*="max-width:960px"],
    .entry-content [style*="max-width: 960px"],
    .entry-content [style*="max-width:1000px"],
    .entry-content [style*="max-width: 1000px"],
    .entry-content [style*="max-width:1200px"],
    .entry-content [style*="max-width: 1200px"],
    .entry-content [style*="max-width:760px"],
    .entry-content [style*="max-width: 760px"],
    .entry-content [style*="max-width:720px"],
    .entry-content [style*="max-width: 720px"],
    .entry-content [style*="max-width:540px"],
    .entry-content [style*="max-width: 540px"],
    .entry-content [style*="max-width:560px"],
    .entry-content [style*="max-width: 560px"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    /* === min-width を mobile で撤廃（横スクロール・はみ出し防止） === */
    .entry-content [style*="min-width:120px"],
    .entry-content [style*="min-width: 120px"],
    .entry-content [style*="min-width:140px"],
    .entry-content [style*="min-width: 140px"],
    .entry-content [style*="min-width:160px"],
    .entry-content [style*="min-width: 160px"],
    .entry-content [style*="min-width:180px"],
    .entry-content [style*="min-width: 180px"],
    .entry-content [style*="min-width:200px"],
    .entry-content [style*="min-width: 200px"],
    .entry-content [style*="min-width:520px"],
    .entry-content [style*="min-width: 520px"],
    .entry-content [style*="min-width:600px"],
    .entry-content [style*="min-width: 600px"] {
        min-width: 0 !important;
    }
    /* === table cell の % 指定 width を mobile で撤廃 === */
    .entry-content td[style*="width:33%"],
    .entry-content td[style*="width: 33%"],
    .entry-content td[style*="width:32%"],
    .entry-content td[style*="width: 32%"],
    .entry-content td[style*="width:50%"],
    .entry-content td[style*="width: 50%"],
    .entry-content th[style*="width:32%"],
    .entry-content th[style*="width: 32%"],
    .entry-content th[style*="width:30%"],
    .entry-content th[style*="width: 30%"] {
        width: auto !important;
    }
    /* === 22-30px font-size の追加カバー === */
    .entry-content [style*="font-size:22px"],
    .entry-content [style*="font-size: 22px"] { font-size: 16px !important; }
    .entry-content [style*="font-size:26px"],
    .entry-content [style*="font-size: 26px"],
    .entry-content [style*="font-size:27px"],
    .entry-content [style*="font-size: 27px"] { font-size: 17px !important; }
    /* === ヒーロー画像 max-width:540px などの幅指定撤廃 === */
    .entry-content > div > div[style*="max-width:540px"],
    .entry-content > div > div[style*="max-width: 540px"] {
        max-width: 100% !important;
    }
    /* === sub-element の width:200px / width:120px 撤廃 === */
    .entry-content [style*="width:200px"][style*="text-align"],
    .entry-content [style*="width:120px"][style*="text-align"] {
        width: 100% !important;
    }
}
/* ==========================================================================
   23. v1.7.0 iPhone追加対処（2026-04-24）
   - リストマーク削除（✅絵文字と重複するため）
   - ボタン折り返し防止
   - カード幅をさらに拡大
   ========================================================================== */
@media (max-width: 767px) {
    /* === リストマーク削除（✅絵文字と重複） === */
    .entry-content ul,
    .entry-content ol {
        list-style: none !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    .entry-content ul li,
    .entry-content ol li {
        list-style: none !important;
        padding-left: 0 !important;
    }
    .entry-content ul li::marker,
    .entry-content ol li::marker {
        content: "" !important;
        display: none !important;
    }
    /* === ボタン・リンクの折り返し防止（CTAボタン全般） === */
    .entry-content a[href*="ai-migiude-line"],
    .entry-content a[href*="page.line.me"],
    .entry-content a[href*="lin.ee"],
    .entry-content a[href*="line.me"],
    .entry-content a[href*="contact"],
    .entry-content a[style*="background:#1a365d"],
    .entry-content a[style*="background: #1a365d"],
    .entry-content a[style*="background:#06C755"],
    .entry-content a[style*="background:#fff"][style*="color:#744210"],
    .entry-content a[style*="background:#B8944F"],
    .entry-content a.yu-btn-line,
    .entry-content a.yu-btn-outline,
    .entry-content a.yu-btn-gold {
        white-space: nowrap !important;
        font-size: 13px !important;
        padding: 12px 14px !important;
        display: inline-block !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-overflow: ellipsis !important;
        overflow: hidden !important;
    }
    /* === カード幅をさらに拡大（左右余白を最小化） === */
    .yu-section { padding: 18px 4px !important; }

    /* セクション内の max-width:1000px / 820px を 100% 強制（v1.6.0で漏れ） */
    .entry-content div[style*="max-width:1000px"],
    .entry-content div[style*="max-width: 1000px"],
    .entry-content div[style*="max-width:820px"],
    .entry-content div[style*="max-width: 820px"],
    .entry-content div[style*="max-width:760px"],
    .entry-content div[style*="max-width: 760px"] {
        max-width: 100% !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
        box-sizing: border-box !important;
    }

    /* セクション直下の padding:56px 0 を 18px 0 に */
    .entry-content > div[style*="padding:56px 0"],
    .entry-content > div[style*="padding: 56px 0"] {
        padding: 18px 0 !important;
    }
}
/* ==========================================================================
   24. v1.8.0 float-based 旧式レイアウトをmobileで1列強制 (2026-04-24)
   ai-migiude-line等で .yu-feature-grid を使わず float:left;width:31% で
   3列表示されているケースを全てスマホで1列にする
   ========================================================================== */
@media (max-width: 767px) {
    /* float-based グリッドを mobile で1列に強制 */
    .entry-content div[style*="float:left"],
    .entry-content div[style*="float: left"],
    .entry-content div[style*="float:right"],
    .entry-content div[style*="float: right"] {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 12px !important;
        clear: both !important;
    }

    /* % 幅を3ー4列カードを mobile で1列 */
    .entry-content [style*="width:31%"],
    .entry-content [style*="width: 31%"],
    .entry-content [style*="width:30%"],
    .entry-content [style*="width: 30%"],
    .entry-content [style*="width:48%"],
    .entry-content [style*="width: 48%"],
    .entry-content [style*="width:46%"],
    .entry-content [style*="width: 46%"],
    .entry-content [style*="width:45%"],
    .entry-content [style*="width: 45%"],
    .entry-content [style*="width:25%"],
    .entry-content [style*="width: 25%"],
    .entry-content [style*="width:20%"],
    .entry-content [style*="width: 20%"] {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }

    /* min-height で1カードの高さを揃えているケースも mobile で解除 */
    .entry-content div[style*="min-height:200px"],
    .entry-content div[style*="min-height: 200px"],
    .entry-content div[style*="min-height:180px"],
    .entry-content div[style*="min-height: 180px"],
    .entry-content div[style*="min-height:520px"],
    .entry-content div[style*="min-height: 520px"] {
        min-height: auto !important;
    }

    /* table セルの width ピクセル指定をリセット（padding限定セルの width:140px 等）*/
    .entry-content table td[style*="width:140px"],
    .entry-content table td[style*="width: 140px"] {
        width: auto !important;
        display: block !important;
        margin-bottom: 4px !important;
    }

    /* clear:both のある div に余計なスペースを入れない */
    .entry-content div[style*="clear:both"],
    .entry-content div[style*="clear: both"] {
        clear: both !important;
        height: 0 !important;
        margin: 0 !important;
    }
}
/* ==========================================================================
   25. v1.9.0 緊急: 残存max-width 全件カバー + 左右padding最小化 (2026-04-24)
   会長指摘「フルワイドで表示されていない」→ max-width:960/880/840/620/600/520/480 等
   v1.6.0/v1.7.0 で見落としていた値を全件カバー
   ========================================================================== */
@media (max-width: 767px) {
    /* === 残存 max-width 全件 100% 強制 === */
    .entry-content [style*="max-width:960px"],
    .entry-content [style*="max-width: 960px"],
    .entry-content [style*="max-width:920px"],
    .entry-content [style*="max-width: 920px"],
    .entry-content [style*="max-width:900px"],
    .entry-content [style*="max-width: 900px"],
    .entry-content [style*="max-width:880px"],
    .entry-content [style*="max-width: 880px"],
    .entry-content [style*="max-width:860px"],
    .entry-content [style*="max-width: 860px"],
    .entry-content [style*="max-width:840px"],
    .entry-content [style*="max-width: 840px"],
    .entry-content [style*="max-width:780px"],
    .entry-content [style*="max-width: 780px"],
    .entry-content [style*="max-width:740px"],
    .entry-content [style*="max-width: 740px"],
    .entry-content [style*="max-width:1100px"],
    .entry-content [style*="max-width: 1100px"],
    .entry-content [style*="max-width:1200px"],
    .entry-content [style*="max-width: 1200px"],
    .entry-content [style*="max-width:680px"],
    .entry-content [style*="max-width: 680px"],
    .entry-content [style*="max-width:660px"],
    .entry-content [style*="max-width: 660px"],
    .entry-content [style*="max-width:640px"],
    .entry-content [style*="max-width: 640px"],
    .entry-content [style*="max-width:620px"],
    .entry-content [style*="max-width: 620px"],
    .entry-content [style*="max-width:600px"],
    .entry-content [style*="max-width: 600px"],
    .entry-content [style*="max-width:520px"],
    .entry-content [style*="max-width: 520px"],
    .entry-content [style*="max-width:480px"],
    .entry-content [style*="max-width: 480px"],
    .entry-content [style*="max-width:440px"],
    .entry-content [style*="max-width: 440px"],
    .entry-content [style*="max-width:420px"],
    .entry-content [style*="max-width: 420px"] {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    /* === インライン padding 左右余白を最小化 === */
    .entry-content div[style*="padding:0 20px"],
    .entry-content div[style*="padding: 0 20px"],
    .entry-content div[style*="padding:0 24px"],
    .entry-content div[style*="padding: 0 24px"],
    .entry-content div[style*="padding:0 28px"],
    .entry-content div[style*="padding: 0 28px"],
    .entry-content div[style*="padding:0 32px"],
    .entry-content div[style*="padding: 0 32px"],
    .entry-content div[style*="padding:0 16px"],
    .entry-content div[style*="padding: 0 16px"] {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
    /* === 大きい padding を縮小 === */
    .entry-content div[style*="padding:60px 0"],
    .entry-content div[style*="padding: 60px 0"],
    .entry-content div[style*="padding:60px 0 40px"],
    .entry-content div[style*="padding: 60px 0 40px"] {
        padding: 20px 0 !important;
    }
    .entry-content div[style*="padding:48px 20px"],
    .entry-content div[style*="padding: 48px 20px"],
    .entry-content div[style*="padding:48px 28px"],
    .entry-content div[style*="padding: 48px 28px"],
    .entry-content div[style*="padding:40px 28px"],
    .entry-content div[style*="padding: 40px 28px"],
    .entry-content div[style*="padding:40px 20px"],
    .entry-content div[style*="padding: 40px 20px"],
    .entry-content div[style*="padding:60px 48px"],
    .entry-content div[style*="padding: 60px 48px"] {
        padding: 18px 8px !important;
    }
    .entry-content div[style*="padding:32px 24px"],
    .entry-content div[style*="padding: 32px 24px"],
    .entry-content div[style*="padding:28px 24px"],
    .entry-content div[style*="padding: 28px 24px"] {
        padding: 14px 10px !important;
    }
    /* === Astra コンテナの max-width 強制解除 === */
    .ast-container,
    .ast-narrow-container,
    .entry-content,
    .ast-no-sidebar .entry-content {
        max-width: 100% !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
        box-sizing: border-box !important;
    }
}
/* ============================================================
   §26. ai-migiude-lp 専用クラス（2026-04-24 v2.0.0 追加）
   Web 制作永久ルール: 子テーマ + PC/SP 厳格切り分け
   ============================================================ */
/* PC/SP 切り分けブロック（全体共通・safe default） */
/* §26b. PC/SP 切り分け（v2.1.0 修復・インラインスタイル display 尊重型） */
.yu-pc-only { display: block; }
.yu-sp-only { display: none !important; }
@media (max-width: 768px) {
  .yu-pc-only { display: none !important; }
  /* SP モード: インラインスタイルの display を尊重 */
  .yu-sp-only[style*="display:grid"]  { display: grid  !important; }
  .yu-sp-only[style*="display:flex"]  { display: flex  !important; }
  .yu-sp-only[style*="display:block"] { display: block !important; }
  .yu-sp-only:not([style*="display:"]) { display: block !important; }
}
@media (min-width: 769px) {
  /* PC モード: インラインスタイルの display を尊重 */
  .yu-pc-only[style*="display:grid"]  { display: grid  !important; }
  .yu-pc-only[style*="display:flex"]  { display: flex  !important; }
  .yu-pc-only[style*="display:block"] { display: block !important; }
  .yu-pc-only:not([style*="display:"]) { display: block !important; }
}
/* page-id-12473 ai-migiude-line LP フルブリード化 */
.page-id-12473 .entry-content,
.page-id-12473 .ast-container,
.page-id-12473 .site-content > .ast-container,
.page-id-12473 #primary {
    max-width: 100% !important;
    padding: 0 !important;
}
.page-id-12473 .ai-migiude-lp {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    color: #0d2238;
}
.page-id-12473 .ai-migiude-lp * { box-sizing: border-box; }
.page-id-12473 .ai-migiude-lp p { margin: 0; padding: 0; }
.page-id-12473 .ai-migiude-lp h1,
.page-id-12473 .ai-migiude-lp h2,
.page-id-12473 .ai-migiude-lp h3 { margin: 0; padding: 0; }
.page-id-12473 .ai-migiude-lp a {
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.page-id-12473 .ai-migiude-lp a:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}
/* LP 用グリッド（PC: 指定列数 / SP: 1列または固有） */
.page-id-12473 .yu-ai-lp-grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.page-id-12473 .yu-ai-lp-grid-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.page-id-12473 .yu-ai-lp-grid-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.page-id-12473 .yu-ai-lp-grid-3-stat {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
@media (max-width: 768px) {
    .page-id-12473 .yu-ai-lp-grid-2,
    .page-id-12473 .yu-ai-lp-grid-3,
    .page-id-12473 .yu-ai-lp-grid-4 {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }
    .page-id-12473 .ai-migiude-lp section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .page-id-12473 .ai-migiude-lp h1,
    .page-id-12473 .ai-migiude-lp h2 {
        letter-spacing: 0;
    }
}
/* ========================================================================
   §27. ai-migiude-line LP v2.2.0（page-id-12473 限定・2026-04-26）
   ======================================================================== */
.page-id-12473 .yu-aimi-grid              { display: grid !important; }
.page-id-12473 .yu-aimi-flex              { display: flex !important; }
.page-id-12473 .yu-aimi-iflex             { display: inline-flex !important; }
.page-id-12473 .yu-aimi-iblock            { display: inline-block !important; }
.page-id-12473 .yu-aimi-hero-pc-grid {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}
.page-id-12473 .yu-aimi-hero-cta-row {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.page-id-12473 .yu-aimi-hero-meta-row {
    display: flex !important;
    flex-wrap: wrap;
    gap: 24px;
    color: #a8b9d0;
    font-size: 13px;
}
.page-id-12473 .yu-aimi-hero-stats-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(212,146,11,0.4);
    border-radius: 16px;
    padding: 28px 32px;
    text-align: left;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.page-id-12473 .yu-aimi-hero-sp-stats {
    display: flex !important;
    justify-content: space-around;
    margin-top: 32px;
    padding: 20px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(212,146,11,0.3);
}
.page-id-12473 .yu-aimi-scope-pc-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.page-id-12473 .yu-aimi-scope-sp-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 100%;
    margin: 0 auto;
}
.page-id-12473 .yu-aimi-problem-pc-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 980px;
    margin: 0 auto;
}
.page-id-12473 .yu-aimi-solution-pc-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.page-id-12473 .yu-aimi-icon-circle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4920b, #b87a04);
    margin: 0 auto 20px;
    font-size: 30px;
    color: #fff;
    box-shadow: 0 6px 16px rgba(212,146,11,0.25);
}
.page-id-12473 .yu-aimi-icon-circle--sm {
    width: 52px;
    height: 52px;
    font-size: 24px;
    margin: 0 auto 14px;
}
.page-id-12473 .yu-aimi-features-pc-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 36px;
}
.page-id-12473 .yu-aimi-feature-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 24px 22px;
}
.page-id-12473 .yu-aimi-feature-card--sp {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 10px;
}
.page-id-12473 .yu-aimi-steps-pc-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}
.page-id-12473 .yu-aimi-step-card {
    background: #fafbfd;
    border: 1px solid #e6e9ef;
    border-radius: 14px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
}
.page-id-12473 .yu-aimi-step-card--sp {
    background: #fafbfd;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    position: relative;
    margin-bottom: 24px;
}
.page-id-12473 .yu-aimi-step-num {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #d4920b;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(212,146,11,0.35);
}
.page-id-12473 .yu-aimi-step-num--sp {
    top: -18px;
    width: 38px;
    height: 38px;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(212,146,11,0.35);
}
.page-id-12473 .yu-aimi-kpi-pc-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 40px;
}
.page-id-12473 .yu-aimi-kpi-sp-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    text-align: center;
}
.page-id-12473 .yu-aimi-kpi-card {
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(13,34,56,0.04);
}
.page-id-12473 .yu-aimi-version-list {
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    padding: 8px 8px;
    max-height: 360px;
    overflow-y: auto;
}
.page-id-12473 .yu-aimi-pricing-pc-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
    max-width: 1140px;
    margin: 0 auto;
}
.page-id-12473 .yu-aimi-pricing-card {
    background: #fff;
    border: 2px solid #cbd5e0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13,34,56,0.06);
}
.page-id-12473 .yu-aimi-pricing-card--featured {
    border-color: #d4920b;
    box-shadow: 0 8px 28px rgba(212,146,11,0.18);
    position: relative;
}
.page-id-12473 .yu-aimi-pricing-card--free {
    border-color: #94a3b8;
}
.page-id-12473 .yu-aimi-btn {
    display: inline-block !important;
    background-color: #06C755;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.page-id-12473 .yu-aimi-btn:hover {
    transform: translateY(-2px);
    opacity: 1;
}
.page-id-12473 .yu-aimi-btn--lg {
    padding: 22px 56px;
    font-size: 20px;
    box-shadow: 0 10px 28px rgba(6,199,85,0.30);
}
.page-id-12473 .yu-aimi-btn--md {
    padding: 20px 44px;
    font-size: 18px;
    box-shadow: 0 8px 24px rgba(6,199,85,0.25);
}
.page-id-12473 .yu-aimi-btn--sm {
    padding: 16px 36px;
    font-size: 15px;
    box-shadow: 0 6px 18px rgba(6,199,85,0.25);
}
.page-id-12473 .yu-aimi-btn--xs {
    padding: 14px 24px;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(6,199,85,0.22);
}
.page-id-12473 .yu-aimi-btn--sp {
    padding: 18px 32px;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(6,199,85,0.30);
}
.page-id-12473 .yu-aimi-badge-popular {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #d4920b;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 50px;
    letter-spacing: 1px;
    z-index: 2;
}
.page-id-12473 .yu-aimi-badge-popular--sp {
    top: 12px;
    right: 12px;
    font-size: 9px;
    padding: 3px 10px;
}
@media (max-width: 768px) {
    .page-id-12473 .yu-aimi-hero-pc-grid,
    .page-id-12473 .yu-aimi-scope-pc-grid,
    .page-id-12473 .yu-aimi-problem-pc-grid,
    .page-id-12473 .yu-aimi-solution-pc-grid,
    .page-id-12473 .yu-aimi-features-pc-grid,
    .page-id-12473 .yu-aimi-steps-pc-grid,
    .page-id-12473 .yu-aimi-kpi-pc-grid,
    .page-id-12473 .yu-aimi-pricing-pc-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }
}
@media (min-width: 769px) and (max-width: 1100px) {
    .page-id-12473 .yu-aimi-pricing-pc-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 760px;
    }
    .page-id-12473 .yu-aimi-hero-pc-grid {
        gap: 32px;
    }
    .page-id-12473 .yu-aimi-features-pc-grid,
    .page-id-12473 .yu-aimi-solution-pc-grid,
    .page-id-12473 .yu-aimi-steps-pc-grid {
        gap: 18px;
    }
}
/* ========================================================================
   §28. yuushin.biz 全 LP 共通 汎用クラス v2.3.0（2026-04-26）
   発見: WP wp_kses_post() がインラインの display/transform/box-shadow/
        backdrop-filter/rgba bg を全削除する。
   解決: 全 LP で再利用可能な `.yu-lp-*` クラス資産を子テーマで一元管理。
        各ページの inline display:* を無くしてクラス参照に統一。
   対象ページ: /google-ads/, /blog-hearing-sheet/, /home, /ai-design/,
              /ai-migiude-coating/, 他全 LP
   ======================================================================== */
/* ---- レイアウトユーティリティ ---- */
.yu-lp-flex            { display: flex !important; }
.yu-lp-flex-col        { display: flex !important; flex-direction: column !important; }
.yu-lp-flex-row        { display: flex !important; flex-direction: row !important; }
.yu-lp-flex-wrap       { display: flex !important; flex-wrap: wrap !important; }
.yu-lp-flex-center     { display: flex !important; align-items: center !important; justify-content: center !important; }
.yu-lp-iflex           { display: inline-flex !important; }
.yu-lp-iblock          { display: inline-block !important; }
.yu-lp-block           { display: block !important; }
.yu-lp-grid            { display: grid !important; }
.yu-lp-grid-2          { display: grid !important; grid-template-columns: 1fr 1fr; gap: 20px; }
.yu-lp-grid-3          { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.yu-lp-grid-4          { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.yu-lp-grid-auto       { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.yu-lp-grid-auto-sm    { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
@media (max-width: 768px) {
    .yu-lp-grid-2,
    .yu-lp-grid-3,
    .yu-lp-grid-4 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}
/* ---- カード・ボックス ---- */
.yu-lp-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.yu-lp-card--dark {
    background: #1e293b;
    border: 1px solid #334155;
    color: #cbd5e1;
}
.yu-lp-card--bordered-left {
    border-left: 4px solid #1B5E7B;
}
.yu-lp-card--accent-left {
    border-left: 4px solid #d4920b;
}
/* ---- アイコン円 ---- */
.yu-lp-icon-circle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
    margin: 0 auto 14px;
}
.yu-lp-icon-circle--lg { width: 80px; height: 80px; font-size: 36px; }
.yu-lp-icon-circle--md { width: 64px; height: 64px; font-size: 30px; }
.yu-lp-icon-circle--sm { width: 52px; height: 52px; font-size: 24px; }
/* ---- ステップ番号丸 ---- */
.yu-lp-step-num {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1B5E7B;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto 14px;
}
.yu-lp-step-num--accent { background: #d4920b; }
.yu-lp-step-num--absolute {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* ---- バッジ（人気No.1 等） ---- */
.yu-lp-badge {
    display: inline-block !important;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    white-space: nowrap;
}
.yu-lp-badge--popular {
    background: #d4920b;
    color: #fff;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.yu-lp-badge--corner {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #d4920b;
    color: #fff;
    z-index: 2;
}
/* ---- 行・列ユーティリティ（CTA行・スタッツ行など） ---- */
.yu-lp-row-cta {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}
.yu-lp-row-meta {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #94a3b8;
}
.yu-lp-row-stats {
    display: flex !important;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 12px;
}
/* ---- ボタン（緑LINE系） ---- */
.yu-lp-btn {
    display: inline-block !important;
    background: #06C755;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.yu-lp-btn:hover {
    transform: translateY(-2px);
}
.yu-lp-btn--lg { padding: 20px 48px; font-size: 18px; box-shadow: 0 8px 24px rgba(6,199,85,0.28); }
.yu-lp-btn--md { padding: 16px 36px; font-size: 16px; box-shadow: 0 6px 18px rgba(6,199,85,0.25); }
.yu-lp-btn--sm { padding: 14px 28px; font-size: 14px; box-shadow: 0 4px 14px rgba(6,199,85,0.22); }
.yu-lp-btn--block { display: block !important; width: 100%; text-align: center; box-sizing: border-box; }
.yu-lp-btn--outline {
    background: transparent;
    border: 2px solid currentColor;
}
.yu-lp-btn--gold { background: #d4920b; box-shadow: 0 6px 18px rgba(212,146,11,0.25); }
.yu-lp-btn--blue { background: #2563eb; box-shadow: 0 6px 18px rgba(37,99,235,0.25); }
/* ---- アコーディオン (FAQ) ---- */
.yu-lp-faq {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}
.yu-lp-faq-q {
    background: #f8fafc;
    padding: 16px 20px;
    font-weight: 700;
    color: #1a365d;
}
.yu-lp-faq-a {
    background: #fff;
    padding: 16px 20px;
    color: #364151;
    line-height: 1.9;
}
/* ---- 既存 .yu-feature-grid 系の 3 列バリアント追加 ---- */
.yu-feature-grid.yu-grid-3 { grid-template-columns: repeat(3, 1fr) !important; }
.yu-feature-grid.yu-grid-4 { grid-template-columns: repeat(4, 1fr) !important; }
.yu-stats-grid.yu-grid-3   { grid-template-columns: repeat(3, 1fr) !important; }
.yu-stats-grid.yu-grid-4   { grid-template-columns: repeat(4, 1fr) !important; }
.yu-pain-grid.yu-grid-3    { grid-template-columns: repeat(3, 1fr) !important; }
.yu-blog-grid.yu-grid-2    { grid-template-columns: 1fr 1fr !important; }
.yu-blog-grid.yu-grid-4    { grid-template-columns: repeat(4, 1fr) !important; }
@media (max-width: 768px) {
    .yu-feature-grid.yu-grid-3,
    .yu-feature-grid.yu-grid-4,
    .yu-stats-grid.yu-grid-3,
    .yu-stats-grid.yu-grid-4,
    .yu-pain-grid.yu-grid-3,
    .yu-blog-grid.yu-grid-2,
    .yu-blog-grid.yu-grid-4 {
        grid-template-columns: 1fr !important;
    }
}
/* ---- アライメント系（KSES allowlist セーフ） ---- */
.yu-lp-align-center  { text-align: center; }
.yu-lp-align-left    { text-align: left; }
.yu-lp-align-right   { text-align: right; }
.yu-lp-mt-0  { margin-top: 0 !important; }
.yu-lp-mt-1  { margin-top: 8px !important; }
.yu-lp-mt-2  { margin-top: 16px !important; }
.yu-lp-mt-3  { margin-top: 24px !important; }
.yu-lp-mt-4  { margin-top: 32px !important; }
.yu-lp-mt-5  { margin-top: 48px !important; }
.yu-lp-mb-0  { margin-bottom: 0 !important; }
.yu-lp-mb-1  { margin-bottom: 8px !important; }
.yu-lp-mb-2  { margin-bottom: 16px !important; }
.yu-lp-mb-3  { margin-bottom: 24px !important; }
.yu-lp-mb-4  { margin-bottom: 32px !important; }
.yu-lp-mb-5  { margin-bottom: 48px !important; }
/* §29. PC/SP 切替 specificity 補強 v2.3.1（2026-04-26） */
.page-id-12473 .yu-pc-only.yu-aimi-btn { display: inline-block !important; }
.page-id-12473 .yu-sp-only.yu-aimi-btn { display: none !important; }
@media (max-width: 768px) {
  .page-id-12473 .yu-pc-only.yu-aimi-btn { display: none !important; }
  .page-id-12473 .yu-sp-only.yu-aimi-btn { display: inline-block !important; }
}
/* ==========================================================================
   §30. FOR WHOM 二重表示バグ修正 v2.4.0（2026-04-27）
   --------------------------------------------------------------------------
   根本原因: .page-id-12473 .yu-aimi-*-sp-grid (specificity 0,2,0) が
            .yu-sp-only (0,1,0) を上回り PC モードで SP グリッドも grid 表示
   修正: PC/SP モード別にディスプレイを完全分離（11 クラス）
   ========================================================================== */
@media (min-width: 769px) {
    .page-id-12473 .yu-aimi-scope-sp-grid { display: none !important; }
    .page-id-12473 .yu-aimi-kpi-sp-grid { display: none !important; }
    .page-id-12473 .yu-aimi-hero-sp-stats { display: none !important; }
}
@media (max-width: 768px) {
    .page-id-12473 .yu-aimi-hero-pc-grid { display: none !important; }
    .page-id-12473 .yu-aimi-scope-pc-grid { display: none !important; }
    .page-id-12473 .yu-aimi-problem-pc-grid { display: none !important; }
    .page-id-12473 .yu-aimi-solution-pc-grid { display: none !important; }
    .page-id-12473 .yu-aimi-features-pc-grid { display: none !important; }
    .page-id-12473 .yu-aimi-steps-pc-grid { display: none !important; }
    .page-id-12473 .yu-aimi-kpi-pc-grid { display: none !important; }
    .page-id-12473 .yu-aimi-pricing-pc-grid { display: none !important; }
}
/* ==========================================================================
   §33. /ai-migiude-features/ design system v2.5.0（2026-04-27）
   --------------------------------------------------------------------------
   背景:
     2026-04-06 当時は <style> ブロックを page content 内に inline 投入し
     CSS が反映されていた。2026-04-27 に WP プラグイン更新で sanitizer が
     厳格化し、idempotent 再保存時に <style> タグが strip → CSS 裸表示化。
     恒久対策として inline CSS を子テーマ style.css に移植（PR-17 候補）。
   対象ページ: page-id-12597 (/ai-migiude-features/)
   想定 HTML 構造（page edit content・class 名のみ KSES 通過）:
     div.func-detail
       p.lead
       div.func-cat
       div.func-item
         div.func-num
         div.func-body
           h3 + span.func-badge.badge-all|badge-light
           p
           p.example
       div.plan-link > a
   実利用バッジ: badge-all（全プラン・brand orange）/ badge-light（grey）
   将来予約バッジ: badge-std（orange）/ badge-pro（green）— 予約のみ保持
   PR-08 物理照合: features-rollback.html の class マトリクスと完全一致
   ========================================================================== */
.page-id-12597 .func-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
.page-id-12597 .func-detail h2 {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 800;
    color: #1a365d;
    text-align: center;
    margin: 48px 0 12px;
}
.page-id-12597 .func-detail .lead {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 48px;
}
.page-id-12597 .func-cat {
    font-size: 20px;
    font-weight: 800;
    color: #744210;
    margin: 48px 0 24px;
    padding-bottom: 8px;
    border-bottom: 3px solid #d97706;
}
.page-id-12597 .func-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.page-id-12597 .func-num {
    background: #1a365d;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.page-id-12597 .func-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a365d;
    margin: 0 0 8px;
}
.page-id-12597 .func-body p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 8px;
}
.page-id-12597 .func-body .example {
    background: #f7fafc;
    border-left: 3px solid #d97706;
    padding: 10px 14px;
    font-size: 13px;
    color: #666;
    border-radius: 0 8px 8px 0;
    margin-top: 10px;
}
.page-id-12597 .func-body .example strong {
    color: #744210;
}
.page-id-12597 .func-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
    margin-left: 8px;
}
.page-id-12597 .badge-all   { background: #FFF3E0; color: #d97706; }
.page-id-12597 .badge-light { background: #e2e8f0; color: #888888; }
.page-id-12597 .badge-std   { background: #FFF3E0; color: #d97706; }
.page-id-12597 .badge-pro   { background: #E8F5E9; color: #2E7D32; }
.page-id-12597 .plan-link {
    text-align: center;
    margin: 48px 0;
}
.page-id-12597 .plan-link a {
    display: inline-block;
    background: #d97706;
    color: #fff;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}
.page-id-12597 .plan-link a:hover {
    background: #b45309;
}
/* SP（モバイル）: カードを縦積みに切替・余白圧縮 */
@media (max-width: 768px) {
    .page-id-12597 .func-detail {
        padding: 0 16px;
    }
    .page-id-12597 .func-item {
        flex-direction: column;
        gap: 12px;
        padding: 18px;
    }
    .page-id-12597 .func-num {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .page-id-12597 .func-cat {
        font-size: 18px;
        margin: 32px 0 16px;
    }
    .page-id-12597 .plan-link a {
        padding: 12px 28px;
        font-size: 15px;
    }
}
/* §33 END ================================================================ */

/* ==========================================================================
   §34. yu-crm-* /car-crm/ 専用スタイル v2.6.0（2026-04-28）
   --------------------------------------------------------------------------
   PR-17 責務分離: 構造=子テーマ・微調整=inline
   対象: page-id-13226 /car-crm/ AI右腕 PRO（Car-CRM）ベータトライアル LP
   ベース設計: yuushin-4lp-renewal-master-design v2.0 GREEN（Min 98）
   ブランド整合: --aihc-primary #0067FF + アクセント #B8944F + ネイビー #0d1b36
   ========================================================================== */

/* --------------------------------------------------------------------------
   §34.1 共通: セクション余白・コンテナ・タイトル
   -------------------------------------------------------------------------- */
.page-id-13226 .entry-content > section[class*="yu-crm-"] {
    padding: 72px 24px;
    margin: 0;
}

.page-id-13226 [class*="yu-crm-"][class$="-inner"] {
    max-width: 1100px;
    margin: 0 auto;
}

.page-id-13226 .yu-crm-section-title {
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: 800;
    color: #0d1b36;
    margin: 0 0 14px;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.page-id-13226 .yu-crm-section-lead {
    font-size: 16px;
    color: #4a5b75;
    margin: 0 0 36px;
    line-height: 1.85;
}

/* --------------------------------------------------------------------------
   §34.2 共通: ボタン
   -------------------------------------------------------------------------- */
.page-id-13226 .yu-crm-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.page-id-13226 .yu-crm-btn--primary {
    background: #0067FF;
    color: #fff !important;
    border-color: #0067FF;
}

.page-id-13226 .yu-crm-btn--primary:hover {
    background: #005EE9;
    border-color: #005EE9;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 103, 255, 0.25);
}

.page-id-13226 .yu-crm-btn--secondary {
    background: #06C755;
    color: #fff !important;
    border-color: #06C755;
}

.page-id-13226 .yu-crm-btn--secondary:hover {
    background: #04a847;
    border-color: #04a847;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(6, 199, 85, 0.25);
}

.page-id-13226 .yu-crm-btn--ghost {
    background: transparent;
    color: #0067FF !important;
    border-color: #0067FF;
}

.page-id-13226 .yu-crm-btn--ghost:hover {
    background: #0067FF;
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   §34.3 §1 HERO
   -------------------------------------------------------------------------- */
.page-id-13226 .yu-crm-hero {
    background: linear-gradient(160deg, #0d1b36 0%, #1a305e 70%, #25457f 100%);
    color: #fff;
    padding: 96px 24px 80px !important;
    position: relative;
    overflow: hidden;
}

.page-id-13226 .yu-crm-hero-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-id-13226 .yu-crm-hero-brand {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #B8944F;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.page-id-13226 .yu-crm-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #0d1b36;
    background: #B8944F;
    border-radius: 999px;
    margin: 0 0 24px;
}

.page-id-13226 .yu-crm-hero-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.35;
    color: #fff !important;
    margin: 0 0 24px;
}

.page-id-13226 .yu-crm-hero-quote {
    color: #B8944F;
}

.page-id-13226 .yu-crm-hero-sub {
    font-size: 17px;
    line-height: 1.85;
    color: #c0d4e8;
    margin: 0 0 40px;
}

.page-id-13226 .yu-crm-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
}

.page-id-13226 .yu-crm-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-id-13226 .yu-crm-hero-stat-num {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: #B8944F;
    line-height: 1.1;
    margin-bottom: 6px;
}

.page-id-13226 .yu-crm-hero-stat-label {
    font-size: 13px;
    color: #c0d4e8;
    letter-spacing: 0.05em;
}

.page-id-13226 .yu-crm-hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0 0 48px;
}

.page-id-13226 .yu-crm-hero-img {
    margin: 0 -24px;
}

.page-id-13226 .yu-crm-hero-img img {
    width: 100%;
    max-width: 1100px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    display: block;
}

/* --------------------------------------------------------------------------
   §34.4 §2 PROBLEM
   -------------------------------------------------------------------------- */
.page-id-13226 .yu-crm-problem {
    background: #f7f9fc;
}

.page-id-13226 .yu-crm-problem-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-id-13226 .yu-crm-problem-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(13, 27, 54, 0.06);
    font-size: 15px;
    line-height: 1.7;
    color: #2c3e50;
}

.page-id-13226 .yu-crm-problem-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1.3;
}

/* --------------------------------------------------------------------------
   §34.5 §3 BEFORE / AFTER
   -------------------------------------------------------------------------- */
.page-id-13226 .yu-crm-baf {
    background: #fff;
}

.page-id-13226 .yu-crm-baf-table-wrap {
    overflow-x: auto;
    margin: 0 0 40px;
}

.page-id-13226 .yu-crm-baf-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(13, 27, 54, 0.08);
    font-size: 15px;
}

.page-id-13226 .yu-crm-baf-table thead th {
    padding: 16px 20px;
    background: #0d1b36;
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 15px;
}

.page-id-13226 .yu-crm-baf-table thead th:last-child {
    background: #0067FF;
}

.page-id-13226 .yu-crm-baf-table tbody td {
    padding: 16px 20px;
    border-top: 1px solid #e5ebf3;
    line-height: 1.7;
    vertical-align: top;
}

.page-id-13226 .yu-crm-baf-table tbody td:first-child {
    color: #6b7c92;
    background: #f7f9fc;
}

.page-id-13226 .yu-crm-baf-table tbody td:last-child {
    color: #0d1b36;
    font-weight: 600;
}

.page-id-13226 .yu-crm-baf-img img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(13, 27, 54, 0.1);
    margin: 24px auto 0;
    display: block;
}

/* --------------------------------------------------------------------------
   §34.6 §4 WHY
   -------------------------------------------------------------------------- */
.page-id-13226 .yu-crm-why {
    background: #f7f9fc;
}

.page-id-13226 .yu-crm-why-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-id-13226 .yu-crm-why-item {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 4px 16px rgba(13, 27, 54, 0.07);
    border-top: 4px solid #0067FF;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-id-13226 .yu-crm-why-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(13, 27, 54, 0.12);
}

.page-id-13226 .yu-crm-why-icon {
    display: inline-block;
    font-size: 36px;
    line-height: 1;
    margin-bottom: 16px;
}

.page-id-13226 .yu-crm-why-title {
    font-size: 19px;
    font-weight: 700;
    color: #0d1b36;
    margin: 0 0 12px;
    line-height: 1.5;
}

.page-id-13226 .yu-crm-why-text {
    font-size: 14.5px;
    color: #4a5b75;
    line-height: 1.85;
    margin: 0;
}

/* --------------------------------------------------------------------------
   §34.7 §5 FEATURES
   -------------------------------------------------------------------------- */
.page-id-13226 .yu-crm-features {
    background: #fff;
}

.page-id-13226 .yu-crm-features-cat {
    font-size: 18px;
    font-weight: 700;
    color: #0067FF;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5ebf3;
}

.page-id-13226 .yu-crm-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.page-id-13226 .yu-crm-features-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f7f9fc;
    border-radius: 8px;
    font-size: 14.5px;
    color: #2c3e50;
    line-height: 1.6;
}

.page-id-13226 .yu-crm-features-id {
    flex-shrink: 0;
    display: inline-block;
    padding: 4px 10px;
    background: #0d1b36;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

.page-id-13226 .yu-crm-features-img {
    margin: 32px 0 0;
}

.page-id-13226 .yu-crm-features-img img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(13, 27, 54, 0.1);
    margin: 0 auto;
    display: block;
}

/* --------------------------------------------------------------------------
   §34.8 §5.5 COMPARE
   -------------------------------------------------------------------------- */
.page-id-13226 .yu-crm-compare {
    background: #f7f9fc;
}

.page-id-13226 .yu-crm-compare-table-wrap {
    overflow-x: auto;
}

.page-id-13226 .yu-crm-compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(13, 27, 54, 0.08);
    font-size: 14.5px;
    background: #fff;
}

.page-id-13226 .yu-crm-compare-table thead th {
    padding: 16px;
    background: #0d1b36;
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 14px;
}

.page-id-13226 .yu-crm-compare-table thead th:last-child {
    background: #0067FF;
}

.page-id-13226 .yu-crm-compare-table tbody th {
    padding: 14px 16px;
    background: #f0f4fa;
    color: #0d1b36;
    font-weight: 700;
    text-align: left;
    border-top: 1px solid #e5ebf3;
    width: 22%;
}

.page-id-13226 .yu-crm-compare-table tbody td {
    padding: 14px 16px;
    border-top: 1px solid #e5ebf3;
    line-height: 1.7;
    vertical-align: top;
}

.page-id-13226 .yu-crm-compare-table tbody td:nth-child(2) {
    color: #6b7c92;
}

.page-id-13226 .yu-crm-compare-table tbody td:last-child {
    color: #0d1b36;
}

.page-id-13226 .yu-crm-compare-table strong {
    color: #0067FF;
}

/* --------------------------------------------------------------------------
   §34.9 §6 OCR
   -------------------------------------------------------------------------- */
.page-id-13226 .yu-crm-ocr {
    background: #fff;
}

.page-id-13226 .yu-crm-ocr-card {
    background: #f7f9fc;
    border-radius: 14px;
    padding: 32px;
    margin: 0 0 24px;
    border-left: 4px solid #0067FF;
}

.page-id-13226 .yu-crm-ocr-title {
    font-size: 19px;
    font-weight: 700;
    color: #0d1b36;
    margin: 0 0 18px;
    line-height: 1.5;
}

.page-id-13226 .yu-crm-ocr-flow {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.page-id-13226 .yu-crm-ocr-flow li {
    padding: 10px 0;
    font-size: 14.5px;
    color: #2c3e50;
    line-height: 1.7;
    border-bottom: 1px solid rgba(13, 27, 54, 0.06);
}

.page-id-13226 .yu-crm-ocr-flow li:last-child {
    border-bottom: none;
}

.page-id-13226 .yu-crm-ocr-flow li strong {
    display: inline-block;
    color: #0067FF;
    font-weight: 700;
    min-width: 50px;
    margin-right: 8px;
}

.page-id-13226 .yu-crm-ocr-note {
    background: #fff8e8;
    border-left: 3px solid #B8944F;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13.5px;
    color: #6b5a2e;
    margin: 16px 0 0;
    line-height: 1.7;
}

.page-id-13226 .yu-crm-ocr-img {
    margin: 20px 0 0;
}

.page-id-13226 .yu-crm-ocr-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(13, 27, 54, 0.08);
    display: block;
}

/* --------------------------------------------------------------------------
   §34.10 §7 LINK
   -------------------------------------------------------------------------- */
.page-id-13226 .yu-crm-link {
    background: linear-gradient(160deg, #f7f9fc 0%, #eaf1fb 100%);
}

.page-id-13226 .yu-crm-link-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 32px 0 32px;
}

.page-id-13226 .yu-crm-link-flow-tier {
    padding: 14px 22px;
    background: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #0d1b36;
    box-shadow: 0 2px 8px rgba(13, 27, 54, 0.08);
}

.page-id-13226 .yu-crm-link-flow-tier--pro {
    background: linear-gradient(135deg, #0067FF, #3B82F6);
    color: #fff;
    padding: 18px 28px;
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(0, 103, 255, 0.3);
}

.page-id-13226 .yu-crm-link-flow-tier--pro small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    margin-top: 6px;
    opacity: 0.9;
    letter-spacing: 0.02em;
}

.page-id-13226 .yu-crm-link-flow-arrow {
    font-size: 22px;
    color: #0067FF;
    font-weight: 700;
}

.page-id-13226 .yu-crm-link-merits {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.page-id-13226 .yu-crm-link-merits li {
    padding: 14px 18px 14px 38px;
    background: #fff;
    border-radius: 8px;
    font-size: 14.5px;
    color: #2c3e50;
    line-height: 1.7;
    position: relative;
    box-shadow: 0 2px 6px rgba(13, 27, 54, 0.05);
}

.page-id-13226 .yu-crm-link-merits li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 18px;
    height: 18px;
    background: #0067FF;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.page-id-13226 .yu-crm-link-merits strong {
    color: #0067FF;
}

.page-id-13226 .yu-crm-link-cta-wrap {
    text-align: center;
    margin: 0;
}

/* --------------------------------------------------------------------------
   §34.11 §8 STEPS
   -------------------------------------------------------------------------- */
.page-id-13226 .yu-crm-steps {
    background: #fff;
}

.page-id-13226 .yu-crm-steps-list {
    counter-reset: yu-crm-step;
    list-style: none;
    margin: 0 0 48px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.page-id-13226 .yu-crm-steps-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    background: #f7f9fc;
    border-radius: 10px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #2c3e50;
}

.page-id-13226 .yu-crm-steps-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0067FF;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

.page-id-13226 .yu-crm-steps-migration {
    background: #f7f9fc;
    border-radius: 14px;
    padding: 32px;
    border-top: 4px solid #B8944F;
}

.page-id-13226 .yu-crm-steps-migration-title {
    font-size: 18px;
    font-weight: 700;
    color: #0d1b36;
    margin: 0 0 12px;
}

.page-id-13226 .yu-crm-steps-migration-lead {
    font-size: 14.5px;
    color: #4a5b75;
    line-height: 1.85;
    margin: 0 0 16px;
}

.page-id-13226 .yu-crm-steps-migration-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.page-id-13226 .yu-crm-steps-migration-list li {
    padding: 10px 14px 10px 32px;
    background: #fff;
    border-radius: 6px;
    font-size: 14px;
    color: #2c3e50;
    line-height: 1.7;
    position: relative;
}

.page-id-13226 .yu-crm-steps-migration-list li::before {
    content: "→";
    position: absolute;
    left: 12px;
    color: #B8944F;
    font-weight: 700;
}

.page-id-13226 .yu-crm-steps-migration-note {
    font-size: 13.5px;
    color: #6b7c92;
    line-height: 1.85;
    margin: 0;
    font-style: italic;
}

/* --------------------------------------------------------------------------
   §34.12 §9 BETA
   -------------------------------------------------------------------------- */
.page-id-13226 .yu-crm-beta {
    background: linear-gradient(160deg, #fff8e8 0%, #fdf2d9 100%);
}

.page-id-13226 .yu-crm-beta-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.page-id-13226 .yu-crm-beta-list li {
    padding: 14px 18px 14px 42px;
    background: #fff;
    border-radius: 8px;
    font-size: 14.5px;
    color: #2c3e50;
    line-height: 1.6;
    position: relative;
    box-shadow: 0 2px 6px rgba(13, 27, 54, 0.05);
}

.page-id-13226 .yu-crm-beta-list li::before {
    content: "★";
    position: absolute;
    left: 16px;
    top: 13px;
    color: #B8944F;
    font-size: 16px;
}

.page-id-13226 .yu-crm-beta-subsidy {
    background: #fff;
    border-radius: 14px;
    padding: 28px 32px;
    margin: 0 0 24px;
    border-left: 4px solid #B8944F;
}

.page-id-13226 .yu-crm-beta-subsidy-title {
    font-size: 18px;
    font-weight: 700;
    color: #0d1b36;
    margin: 0 0 12px;
}

.page-id-13226 .yu-crm-beta-subsidy-text {
    font-size: 14.5px;
    color: #4a5b75;
    line-height: 1.85;
    margin: 0;
}

.page-id-13226 .yu-crm-beta-target {
    font-size: 14.5px;
    color: #2c3e50;
    line-height: 1.9;
    margin: 0 0 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
}

.page-id-13226 .yu-crm-beta-target strong {
    color: #0d1b36;
    margin-right: 6px;
}

.page-id-13226 .yu-crm-beta-note {
    font-size: 13.5px;
    color: #6b5a2e;
    line-height: 1.85;
    margin: 0 0 24px;
}

.page-id-13226 .yu-crm-beta-cta-wrap {
    text-align: center;
    margin: 0;
}

/* --------------------------------------------------------------------------
   §34.13 §10 FAQ
   -------------------------------------------------------------------------- */
.page-id-13226 .yu-crm-faq {
    background: #f7f9fc;
}

.page-id-13226 .yu-crm-faq-item {
    background: #fff;
    border-radius: 10px;
    margin: 0 0 12px;
    box-shadow: 0 2px 6px rgba(13, 27, 54, 0.05);
    overflow: hidden;
}

.page-id-13226 .yu-crm-faq-q {
    padding: 18px 24px;
    font-size: 15.5px;
    font-weight: 700;
    color: #0d1b36;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 56px;
    line-height: 1.6;
}

.page-id-13226 .yu-crm-faq-q::-webkit-details-marker {
    display: none;
}

.page-id-13226 .yu-crm-faq-q::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    color: #0067FF;
    transition: transform 0.2s ease;
}

.page-id-13226 .yu-crm-faq-item[open] .yu-crm-faq-q::after {
    content: "−";
}

.page-id-13226 .yu-crm-faq-a {
    padding: 0 24px 20px;
    font-size: 14.5px;
    color: #4a5b75;
    line-height: 1.85;
}

.page-id-13226 .yu-crm-faq-a p {
    margin: 0;
}

.page-id-13226 .yu-crm-faq-trademark {
    margin: 24px 0 0;
    padding: 16px 20px;
    background: rgba(13, 27, 54, 0.04);
    border-radius: 8px;
    color: #6b7c92;
    line-height: 1.7;
}

.page-id-13226 .yu-crm-faq-trademark small {
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   §34.14 §11 FINAL CTA
   -------------------------------------------------------------------------- */
.page-id-13226 .yu-crm-cta {
    background: linear-gradient(160deg, #0d1b36 0%, #1a305e 100%);
    color: #fff;
    text-align: center;
}

.page-id-13226 .yu-crm-cta-title {
    font-size: clamp(24px, 3.6vw, 34px);
    font-weight: 800;
    color: #fff !important;
    margin: 0 0 16px;
    line-height: 1.4;
}

.page-id-13226 .yu-crm-cta-lead {
    font-size: 16.5px;
    color: #c0d4e8;
    line-height: 1.85;
    margin: 0 0 32px;
}

.page-id-13226 .yu-crm-cta-list {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.page-id-13226 .yu-crm-cta-list li {
    margin: 0;
}

.page-id-13226 .yu-crm-cta-img {
    margin: 0 0 32px;
}

.page-id-13226 .yu-crm-cta-img img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    margin: 0 auto;
    display: block;
}

.page-id-13226 .yu-crm-cta-related {
    font-size: 14px;
    color: #c0d4e8;
    margin: 0;
}

.page-id-13226 .yu-crm-cta-related a {
    color: #B8944F !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-id-13226 .yu-crm-cta-related a:hover {
    color: #d4b06a !important;
}

/* --------------------------------------------------------------------------
   §34.15 SP（モバイル）768px 以下
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .page-id-13226 .entry-content > section[class*="yu-crm-"] {
        padding: 56px 18px;
    }

    .page-id-13226 .yu-crm-hero {
        padding: 72px 18px 56px !important;
    }

    .page-id-13226 .yu-crm-hero-stats {
        gap: 24px;
    }

    .page-id-13226 .yu-crm-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .page-id-13226 .yu-crm-hero-cta .yu-crm-btn {
        width: 100%;
    }

    .page-id-13226 .yu-crm-link-flow {
        flex-direction: column;
        gap: 8px;
    }

    .page-id-13226 .yu-crm-link-flow-arrow {
        transform: rotate(90deg);
    }

    .page-id-13226 .yu-crm-cta-list {
        flex-direction: column;
    }

    .page-id-13226 .yu-crm-cta-list .yu-crm-btn {
        width: 100%;
    }

    .page-id-13226 .yu-crm-baf-table,
    .page-id-13226 .yu-crm-compare-table {
        font-size: 13px;
    }

    .page-id-13226 .yu-crm-baf-table thead th,
    .page-id-13226 .yu-crm-compare-table thead th,
    .page-id-13226 .yu-crm-baf-table tbody td,
    .page-id-13226 .yu-crm-compare-table tbody td,
    .page-id-13226 .yu-crm-compare-table tbody th {
        padding: 12px;
    }

    .page-id-13226 .yu-crm-ocr-card,
    .page-id-13226 .yu-crm-steps-migration,
    .page-id-13226 .yu-crm-beta-subsidy {
        padding: 24px 20px;
    }
}

/* §34 END ================================================================ */
/* ==========================================================================
   v2.7.0 yuushin.biz/12461 Design Uplift（Round 8 完璧版）
   Gemini 3.1 Pro Deep Think Round 8 GREEN (Min 96 室長独立確認済)
   PR-19 公式照合済（MDN / WP Codex / 2026-04-28）
   既存 v2.6.0 §0〜§34 のカスタマイズを 1 行も毀損せず、末尾に追加のみ
   ========================================================================== */

/* Typography Utilities */
.tnum { font-feature-settings: 'tnum' 1; font-variant-numeric: tabular-nums; }
.palt { font-feature-settings: 'palt' 1, 'pkna' 1; }

/* 1. General Hover Lift (Cards, secondary buttons) */
.hover-lift {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.12) !important;
}

/* 2. Primary CTA Hover Lift (Deeper shadow) */
.hover-lift-primary {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  will-change: transform, box-shadow;
}
.hover-lift-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -12px rgba(0, 82, 204, 0.5) !important;
  filter: brightness(1.1);
}

/* 3. Card Specific Hover Lift */
.hover-lift-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}
.hover-lift-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.15) !important;
}

/* 4. Stripe-style Shimmer Effect for Tier 1 CTA */
@keyframes shimmerSweep {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.cta-shimmer {
  background: linear-gradient(110deg, #0052CC 0%, #3b82f6 40%, #8baaf8 50%, #3b82f6 60%, #0052CC 100%) !important;
  background-size: 200% auto !important;
  animation: shimmerSweep 4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

/* 5. Custom FAQ Details Chevron */
.faq-details > summary { list-style: none; }
.faq-details > summary::-webkit-details-marker { display: none; }
.faq-chevron { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-details[open] .faq-chevron { transform: rotate(180deg); }

/* 6. Apple-style Scroll Reveal (CSS-only Progressive Enhancement) */
@keyframes fadeUpReveal {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@supports (animation-timeline: view()) {
  .scroll-reveal {
    animation: fadeUpReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-timeline: view();
    animation-range: entry 5% cover 25%;
  }
}
@supports not (animation-timeline: view()) {
  .scroll-reveal {
    animation: fadeUpReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

/* 7. Round 8: Numeric Hero Text Shimmer (Section 3.5 巨大 0 円) */
@keyframes shimmerTextSweep {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.text-shimmer {
  background: linear-gradient(110deg, #ffffff 0%, #93c5fd 40%, #ffffff 50%, #93c5fd 60%, #ffffff 100%);
  background-size: 200% auto;
  color: transparent !important;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmerTextSweep 4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

/* §35 v2.7.0 Design Uplift END ============================================ */
/* ==========================================================
 * yuushin.biz 子テーマ追加 CSS  §30  TOP 構造再設計
 * 対象: TOP / の §3 課題別ナビ + §4-§7 サービス群カード
 * 追加日: 2026-04-28
 * 起案: 室長 Claude（Gemini Round 2 GREEN_PRACTICAL_GO_SIGN 採用設計）
 * 準拠 PR: PR-01 (PC/SP 切り分け) / PR-07 (子テーマ限定) / PR-17 (構造クラス=子テーマ)
 *
 * 適用先: 子テーマ ai-hishoshitsu-child / style.css の末尾に追記
 * 役割: inline style では制御不可な hover/focus 効果のみを CSS 化
 *       （他のレイアウト・色・サイズは Gemini Round 2 HTML の inline で完結）
 * ========================================================== */


/* ----------------------------------------------------------
 * §30  TOP 構造再設計  yu-top-*
 * ---------------------------------------------------------- */

/* --- §3 課題別ソリューション・ナビ パネルの hover/focus --- */

.yu-top-solutions-panel {
  /* inline で transition 設定済だが、念のため */
  cursor: pointer;
}

.yu-top-solutions-panel:hover,
.yu-top-solutions-panel:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27, 94, 123, 0.15);
  border-color: #1B5E7B;
}

.yu-top-solutions-panel:focus-visible {
  outline: 3px solid #1B5E7B;
  outline-offset: 2px;
}

/* §3 パネル内の矢印テキスト：hover で右にスライド */
.yu-top-solutions-panel:hover .yu-top-solutions-panel-arrow {
  transform: translateX(4px);
}

.yu-top-solutions-panel-arrow {
  transition: transform 0.3s ease;
}


/* --- §4-§7 サービス群カードの hover/focus --- */

.yu-top-service-card {
  cursor: default; /* カード全体ではなく内部 a 要素のクリックのみ */
}

.yu-top-service-card:hover {
  /* Gemini 案では shadow なしのフラット設計 → 微妙に強調 */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* カード内 CTA ボタンの hover 効果 */
.yu-top-service-card a[href]:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.yu-top-service-card a[href]:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 2px;
}


/* --- §3 SP 表示の微調整（横スクロール禁止 + 余白調整） --- */

@media (max-width: 768px) {
  .yu-top-solutions {
    padding-left: 16px;
    padding-right: 16px;
  }
  .yu-top-solutions-grid {
    /* PC: 2x2 → SP: 1 列縦積み (auto-fit minmax で自動切替されるが念のため) */
    grid-template-columns: 1fr;
  }
  .yu-top-solutions-panel {
    padding: 24px 20px; /* SP は若干コンパクト化 */
  }
  .yu-top-solutions-panel-title {
    font-size: 18px; /* SP は H3 を 18px に縮小 */
  }
}


/* --- §4-§7 SP 表示の微調整 --- */

@media (max-width: 768px) {
  .yu-top-service-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .yu-top-service-card {
    padding: 24px 20px;
  }
}


/* --- §5 Car-CRM ベータバッジの SP 調整 --- */
/* PC: 斜め 45° のリボン / SP: 横スペース不足のため右上に直角配置に */

@media (max-width: 600px) {
  /* §5 内の絶対配置バッジ（斜め 45°）を SP では普通の右上配置に変更 */
  #yu-top-vertical .yu-top-service-card > span[style*="rotate(45deg)"] {
    transform: none !important;
    top: 12px !important;
    right: 12px !important;
    padding: 4px 12px !important;
    font-size: 11px !important;
    border-radius: 4px !important;
  }
  #yu-top-vertical .yu-top-service-card > h3[style*="padding-right: 140px"] {
    padding-right: 0 !important;
    margin-top: 36px !important;
  }
}


/* --- アクセシビリティ: prefers-reduced-motion --- */

@media (prefers-reduced-motion: reduce) {
  .yu-top-solutions-panel,
  .yu-top-solutions-panel-arrow,
  .yu-top-service-card,
  .yu-top-service-card a[href] {
    transition: none !important;
    transform: none !important;
  }
}


/* ==========================================================
 *  END OF §30
 * ========================================================== */
