/* ===== CSS変数 ===== */
:root {
    --color-primary: #E24B4A;
    --color-primary-light: #FFF5F5;
    --color-primary-border: rgba(226, 75, 74, 0.12);
    --color-text: #231F20;
    --color-text-secondary: #666;
    --color-text-tertiary: #999;
    --color-bg: #fff;
    --color-bg-secondary: #f5f5f5;
    --color-border: rgba(0, 0, 0, 0.1);
    --color-skin: #FDDFC9;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
}

/* ===== リセット・ベース ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.wp-theme-ekishousyuuri-2026 {
    overflow-x: hidden;
    font-family: system-ui, -apple-system, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; padding: 0; margin: 0; }
address { font-style: normal; }

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 768px) {
    .container { padding: 0 32px; }
}

/* ===== お知らせ帯 ===== */
.notice-bar {
    background: #FFF8E1;
    border-bottom: 0.5px solid rgba(0,0,0,0.06);
    padding: 8px 16px;
}
@media (min-width: 768px) {
    .notice-bar { padding: 8px 32px; }
}
.notice-bar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}
.notice-bar-label {
    display: inline-block;
    padding: 2px 8px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    flex-shrink: 0;
}
.notice-bar-text {
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .notice-bar-text {
        white-space: normal;
        overflow: visible;
    }
}

/* ===== ヘッダー ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg);
    border-bottom: 0.5px solid var(--color-border);
    padding: 10px 16px;
}
@media (min-width: 768px) {
    .site-header { padding: 12px 32px; }
}
.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

/* ロゴ */
.site-header .site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}
.site-logo-icon { width: 32px; height: 32px; }

/* PCナビゲーション */
.site-header .header-nav { display: none; }
@media (min-width: 768px) {
    .site-header .header-nav {
        display: block;
        flex: 1;
        margin: 0 24px;
    }
    .site-header .header-nav-list {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-wrap: nowrap;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .site-header .header-nav-list li {
        list-style: none;
    }
    .site-header .header-nav-list a {
        font-size: 13px;
        font-weight: 500;
        white-space: nowrap;
        transition: color 0.2s;
        text-decoration: none;
    }
    .site-header .header-nav-list a:hover { color: var(--color-primary); }
}

/* PC CTA */
.site-header .header-cta { display: none; }
@media (min-width: 768px) {
    .site-header .header-cta {
        display: flex;
        align-items: center;
        gap: 16px;
        flex-shrink: 0;
    }
    .header-phone { text-align: right; }
    .header-phone-number {
        font-size: 14px;
        font-weight: 700;
        white-space: nowrap;
        text-decoration: none;
    }
    .header-phone-hours {
        display: block;
        font-size: 11px;
        color: var(--color-text-tertiary);
    }
    .header-btn-estimate {
        display: inline-block;
        padding: 8px 16px;
        background: var(--color-primary);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        border-radius: var(--radius-md);
        white-space: nowrap;
        transition: opacity 0.2s;
        text-decoration: none;
    }
    .header-btn-estimate:hover { opacity: 0.85; }
}

/* モバイルアクション */
.site-header .header-mobile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
@media (min-width: 768px) {
    .site-header .header-mobile-actions { display: none; }
}
.header-mobile-phone {
    font-size: 20px;
    padding: 4px;
    text-decoration: none;
}

/* ハンバーガー */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
}
.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
    display: none;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 16px 0;
}
.mobile-menu.is-open { display: block; }
@media (min-width: 768px) {
    .mobile-menu { display: none !important; }
}
.mobile-menu-list {
    padding: 0 16px;
    margin: 0;
    list-style: none;
}
.mobile-menu-list li {
    border-bottom: 1px solid var(--color-border);
    list-style: none;
}
.mobile-menu-list a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}
.mobile-menu-cta {
    color: var(--color-primary) !important;
    font-weight: 700 !important;
}

/* ===== フッター ===== */
.site-footer {
    background: var(--color-text);
    color: #ccc;
    padding: 48px 16px 24px;
}
@media (min-width: 768px) {
    .site-footer { padding: 48px 32px 24px; }
}
.site-footer .footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
@media (min-width: 768px) {
    .site-footer .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-company-name { display: flex; flex-direction: column; }
.footer-brand { color: #fff; font-weight: 700; font-size: 16px; }
.footer-corp { font-size: 11px; color: #888; letter-spacing: 0.02em; }
.footer-address { font-size: 13px; line-height: 1.8; }
.footer-address a { color: #ccc; text-decoration: none; }
.footer-address a:hover { color: #fff; }

.site-footer .footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.footer-link-heading {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}
.footer-link-group ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-link-group a {
    font-size: 13px;
    transition: color 0.2s;
    text-decoration: none;
}
.footer-link-group a:hover { color: #fff; }

.footer-copyright {
    max-width: 1080px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 12px;
    color: var(--color-text-tertiary);
}

/* フッタースペーサー（モバイル追従バー分） */
.footer-spacer { display: none; }
@media (max-width: 767px) {
    .footer-spacer { display: block; height: 56px; }
}

/* ===== モバイル追従バー ===== */
.sticky-bottom-bar { display: none; }
@media (max-width: 767px) {
    .sticky-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        gap: 8px;
        padding: 8px 16px;
        background: var(--color-bg);
        border-top: 0.5px solid var(--color-border);
    }
    .sticky-bottom-bar .btn-phone {
        flex: 1;
        padding: 10px;
        background: var(--color-primary);
        color: #fff;
        border-radius: var(--radius-md);
        text-align: center;
        font-weight: 500;
        font-size: 14px;
        text-decoration: none;
    }
    .sticky-bottom-bar .btn-estimate {
        flex: 1;
        padding: 10px;
        background: #fff;
        color: var(--color-primary);
        border: 1px solid var(--color-primary);
        border-radius: var(--radius-md);
        text-align: center;
        font-weight: 500;
        font-size: 14px;
        text-decoration: none;
    }
}

/* ===== CTAブロック小 ===== */
.cta-block-mini {
    background: var(--color-primary-light);
    border: 1px solid var(--color-primary-border);
    border-radius: var(--radius-xl);
    padding: 20px;
    margin: 24px 0;
    max-width: 100%;
    overflow: hidden;
}
@media (max-width: 390px) {
    .cta-block-mini { padding: 16px 12px; }
}
.cta-mini-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.cta-mini-icon { flex-shrink: 0; }
.cta-mini-heading { font-size: 15px; font-weight: 700; }
.cta-mini-sub { font-size: 13px; color: var(--color-text-secondary); }
.cta-mini-buttons {
    display: flex;
    gap: 8px;
}
.cta-btn-phone,
.cta-btn-estimate {
    flex: 1;
    display: block;
    padding: 10px;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.cta-btn-phone {
    background: var(--color-primary);
    color: #fff !important;
}
.cta-btn-estimate {
    background: #fff;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

/* ===== CTAブロック大 ===== */
.cta-block {
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    margin: 32px 0;
    max-width: 100%;
    overflow: hidden;
}
@media (max-width: 390px) {
    .cta-block { padding: 24px 16px; }
}
.cta-block-icon {
    margin: 0 auto 16px;
    filter: brightness(0) invert(1);
}
.cta-block-heading { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.cta-block-sub { font-size: 14px; opacity: 0.9; margin-bottom: 20px; }
.cta-block-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 320px;
    margin: 0 auto;
}
.cta-block-btn-phone,
.cta-block-btn-estimate {
    display: block;
    padding: 12px;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: break-word;
}
@media (max-width: 390px) {
    .cta-block-btn-phone,
    .cta-block-btn-estimate { font-size: 13px; padding: 10px 8px; }
}
.cta-block-btn-phone {
    background: #fff;
    color: var(--color-primary);
}
.cta-block-btn-estimate {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.6);
}
.cta-block-btn-estimate:hover { border-color: #fff; }

/* ===== 記事コンテンツ共通 ===== */
.site-main { padding: 24px 0; }

/* ===== single.php レイアウト ===== */
.single-layout {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    padding-bottom: 48px;
    flex-wrap: nowrap;
}
.single-main { flex: 1; min-width: 0; overflow: visible; }
.single-sidebar { display: none; }
@media (min-width: 1024px) {
    .single-sidebar {
        display: block;
        width: 260px;
        flex-shrink: 0;
    }
}

/* パンくずリスト */
.breadcrumb { margin-bottom: 20px; max-width: 100%; overflow: hidden; }
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 12px;
    color: var(--color-text-tertiary);
    list-style: none;
    padding: 0;
    margin: 0;
}
.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 4px;
}
.breadcrumb-list a { text-decoration: none; }
.breadcrumb-list a:hover { color: var(--color-primary); }
.breadcrumb-current {
    color: var(--color-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

/* 記事ヘッダー */
.entry-header { margin-bottom: 20px; }
.entry-category-badge {
    display: inline-block;
    padding: 2px 10px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-right: 8px;
    vertical-align: middle;
}
.entry-date {
    font-size: 12px;
    color: var(--color-text-tertiary);
    vertical-align: middle;
}
.entry-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 10px;
    word-break: break-word;
    overflow-wrap: break-word;
}
@media (min-width: 768px) {
    .entry-title { font-size: 26px; }
}

/* アイキャッチ画像 */
.entry-thumbnail {
    margin-bottom: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.entry-thumbnail img {
    display: block;
    max-width: 70%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}

/* 記事本文 */
.entry-content {
    line-height: 1.9;
    font-size: 15px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}
.entry-content h2 {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
    margin: 36px 0 16px;
}
.entry-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 28px 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--color-primary);
}
.entry-content p { margin-bottom: 16px; }
.entry-content img {
    border-radius: var(--radius-lg);
    margin: 16px 0;
}
.entry-content ul, .entry-content ol {
    margin: 12px 0 16px 0;
    padding-left: 24px;
    list-style: disc;
}
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 6px; }
.entry-content a {
    color: var(--color-primary);
    text-decoration: underline;
}
.entry-content blockquote {
    border-left: 3px solid var(--color-border);
    padding: 12px 16px;
    margin: 16px 0;
    color: var(--color-text-secondary);
    background: var(--color-bg-secondary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.entry-content th, .entry-content td {
    border: 1px solid var(--color-border);
    padding: 8px 12px;
    text-align: left;
}
.entry-content th {
    background: var(--color-bg-secondary);
    font-weight: 600;
}

/* カテゴリー・タグ */
.entry-taxonomy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-secondary);
    padding: 12px 16px;
    border-radius: 8px;
    margin: 24px 0;
    font-size: 12px;
}
.entry-taxonomy-label {
    color: var(--color-text-secondary);
    font-weight: 600;
    white-space: nowrap;
}
.entry-taxonomy-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.entry-taxonomy-pill {
    display: inline-block;
    padding: 4px 12px;
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.1);
    border-radius: 20px;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 12px;
    transition: background 0.2s;
}
.entry-taxonomy-pill:hover {
    background: var(--color-primary-light);
}
.entry-taxonomy-sep {
    color: var(--color-border);
    margin: 0 4px;
}

/* セクションタイトル */
.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
}

/* 関連する修理事例 */
.related-posts { margin: 40px 0; }
.related-posts-grid {
    display: grid;
    gap: 16px;
}
@media (min-width: 768px) {
    .related-posts-grid { grid-template-columns: repeat(3, 1fr); }
}
.post-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.post-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.post-card-thumb { display: block; }
.post-card-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.post-card-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 160px;
    background: var(--color-bg-secondary);
    color: var(--color-text-tertiary);
    font-size: 13px;
}
.post-card-body { padding: 12px 16px; }
.post-card-cat {
    display: inline-block;
    font-size: 11px;
    color: var(--color-primary);
    font-weight: 600;
    margin-right: 6px;
}
.post-card-date {
    font-size: 11px;
    color: var(--color-text-tertiary);
}
.post-card-title {
    font-size: 14px;
    font-weight: 600;
    margin-top: 6px;
    line-height: 1.5;
}
.post-card-title a { text-decoration: none; }
.post-card-title a:hover { color: var(--color-primary); }

/* 修理の流れ */
.repair-flow-section { margin: 40px 0; }
.repair-flow__steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
@media (min-width: 768px) {
    .repair-flow__steps {
        flex-direction: row;
        gap: 12px;
    }
}
.repair-flow__step {
    flex: 1;
    text-align: center;
    padding: 20px 16px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
}
.repair-flow__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    margin-bottom: 8px;
}
.repair-flow__step h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.repair-flow__step p { font-size: 12px; color: var(--color-text-secondary); }

/* メーカー別料金 */
.maker-price { margin: 32px 0; max-width: 100%; overflow-x: auto; }
.maker-price__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
}
.maker-price__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 12px;
}
.maker-price__table th,
.maker-price__table td {
    border: 1px solid var(--color-border);
    padding: 10px 12px;
    text-align: left;
}
.maker-price__table thead th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
}
.maker-price__table tbody tr:nth-child(even) { background: var(--color-bg-secondary); }
.maker-price__note {
    font-size: 12px;
    color: var(--color-text-tertiary);
}

/* ===== サイドバー ===== */
.sidebar-cta {
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 24px 16px;
    text-align: center;
    margin-bottom: 24px;
    position: sticky;
    top: 80px;
}
.sidebar-cta-icon { display: inline-block; margin: 0 auto 12px; padding-left: 10px; }
.sidebar-cta-heading { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.sidebar-cta-phone {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    text-decoration: none;
}
.sidebar-cta-hours {
    display: block;
    font-size: 11px;
    opacity: 0.8;
    margin-bottom: 12px;
}
.sidebar-cta-btn {
    display: block;
    padding: 10px;
    background: #fff;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-md);
    text-align: center;
    text-decoration: none;
}
.sidebar-cta-btn:hover { opacity: 0.9; }

.sidebar-section {
    margin-bottom: 24px;
    padding: 16px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
}
.sidebar-section-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
}

/* 人気の修理事例 */
.sidebar-post-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-post-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.sidebar-post-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.sidebar-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
}
.sidebar-post-title:hover { color: var(--color-primary); }

/* メーカータグクラウド */
.sidebar-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sidebar-tag {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.2s;
    text-decoration: none;
    color: #333;
}
.sidebar-tag:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ===== フロントページ ===== */

/* ヒーロー */
.hero {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, #fff 100%);
    padding: 40px 0;
}
@media (min-width: 768px) {
    .hero { padding: 64px 0; }
}

/* モバイル: キャラ上・吹き出し下 */
.hero .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* PC: キャラ左・吹き出し右 */
@media (min-width: 768px) {
    .hero .hero-inner {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
}

/* キャラクター */
.hero-character {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.hero-character-img {
    width: 160px;
    height: 160px;
}
@media (min-width: 768px) {
    .hero-character-img {
        width: 220px;
        height: 220px;
    }
}
@media (min-width: 1024px) {
    .hero-character-img {
        width: 260px;
        height: 260px;
    }
}

/* 吹き出し */
.hero-balloon {
    position: relative;
    flex: 1;
    min-width: 0;
}

/* 吹き出し三角（尻尾）— PC: 左向き */
@media (min-width: 768px) {
    .hero-balloon::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -18px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 14px 20px 14px 0;
        border-color: transparent #fff transparent transparent;
        filter: drop-shadow(-2px 0 0 rgba(0, 0, 0, 0.06));
        z-index: 2;
    }
}

/* 吹き出し三角 — モバイル: 上向き */
@media (max-width: 767px) {
    .hero-balloon::before {
        content: '';
        position: absolute;
        top: -14px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 14px 16px 14px;
        border-color: transparent transparent #fff transparent;
        filter: drop-shadow(0 -2px 0 rgba(0, 0, 0, 0.06));
        z-index: 2;
    }
}

.hero-balloon-body {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    position: relative;
}
@media (min-width: 768px) {
    .hero-balloon-body {
        padding: 36px 40px;
        border-radius: 24px;
    }
}

.hero-label {
    display: inline-block;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.hero-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .hero-title { font-size: 30px; }
}
@media (min-width: 768px) {
    .hero-title { white-space: nowrap; }
}
@media (min-width: 1024px) {
    .hero-title { font-size: 34px; }
}
.hero-accent { color: var(--color-primary); }
.hero-features {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 2;
    list-style: none;
    padding: 0;
}
.hero-features li { list-style: none; }
.hero-features strong { color: var(--color-primary); }
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (min-width: 768px) {
    .hero-actions { flex-direction: row; }
}

/* ボタン共通 */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: opacity 0.2s;
    cursor: pointer;
    text-decoration: none;
}
.btn:hover { opacity: 0.85; }
.btn-primary {
    background: var(--color-primary);
    color: #fff;
}
.btn-outline {
    background: #fff;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}
.btn-white {
    background: #fff;
    color: var(--color-primary);
}
.btn-white-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.6);
}
.btn-white-outline:hover { border-color: #fff; }

/* セクション共通 */
.section-heading {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 28px;
}
.section-more {
    text-align: center;
    margin-top: 24px;
}
.section-more a {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

/* 症状カード */
.section-symptoms { padding: 48px 0; }
.symptom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 768px) {
    .symptom-grid { grid-template-columns: repeat(3, 1fr); }
}
.symptom-card {
    text-align: center;
    padding: 20px 12px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: box-shadow 0.2s;
}
.symptom-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.symptom-icon { display: flex; align-items: center; justify-content: center; height: 70px; margin-bottom: 8px; }
.symptom-icon img { width: 120px; height: auto; object-fit: contain; }
.symptom-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.symptom-card p { font-size: 12px; color: var(--color-text-secondary); }

/* 選ばれる理由 */
.section-reasons {
    background: var(--color-bg-secondary);
    padding: 48px 0;
}
.reasons-grid {
    display: grid;
    gap: 16px;
}
@media (min-width: 768px) {
    .reasons-grid { grid-template-columns: repeat(3, 1fr); }
}
.reason-card {
    background: #fff;
    padding: 24px 20px;
    border-radius: var(--radius-xl);
    text-align: center;
}
.reason-num {
    display: inline-block;
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.reason-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.reason-card p { font-size: 13px; color: var(--color-text-secondary); line-height: 1.7; }

/* 料金の目安 */
.section-pricing { padding: 48px 0; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.pricing-card {
    text-align: center;
    padding: 24px 16px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
}
.pricing-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.pricing-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
}
.pricing-price span { font-size: 14px; font-weight: 400; }
.pricing-note {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 16px;
    margin-bottom: 4px;
}
.pricing-link {
    text-align: center;
    margin-top: 20px;
}
.pricing-link a {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

/* 見積もりフォーム */
.section-estimate {
    background: var(--color-bg-secondary);
    padding: 48px 0;
}
.estimate-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
@media (min-width: 768px) {
    .estimate-inner {
        flex-direction: row;
        align-items: flex-start;
    }
    .estimate-text {
        flex: 1;
        position: sticky;
        top: 100px;
    }
    .estimate-form { flex: 1; }
}
.estimate-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.estimate-title-row .estimate-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}
.estimate-title-row .section-heading {
    margin-bottom: 0;
    text-align: left;
}
.estimate-text p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.8; }

/* フォームスタイル */
.estimate-form-body {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius-xl);
}
.estimate-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 20px;
}
.estimate-fieldset legend {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}
.form-field { margin-bottom: 14px; }
.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}
.required {
    font-size: 11px;
    color: var(--color-primary);
    font-weight: 600;
}
.optional {
    font-size: 11px;
    color: var(--color-text-tertiary);
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary-border);
}
.form-hint {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--color-primary);
}
.form-agree { margin-bottom: 16px; }
.form-agree label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 400;
}
.form-agree a { color: var(--color-primary); text-decoration: underline; }
.estimate-submit-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--color-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s;
}
.estimate-submit-btn:hover { opacity: 0.85; }

/* 修理の流れセクション */
.section-flow { padding: 48px 0; }

/* 最新事例 */
.section-blog {
    background: var(--color-bg-secondary);
    padding: 48px 0;
}
.blog-grid {
    display: grid;
    gap: 16px;
}
@media (min-width: 768px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 最終CTA */
.section-final-cta {
    background: linear-gradient(135deg, #E24B4A 0%, #c0392b 100%);
    color: #fff;
    padding: 48px 0;
    text-align: center;
}
.final-cta-icon {
    filter: brightness(0) invert(1);
    margin: 0 auto 16px;
}
.final-cta-heading {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
}
.final-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .final-cta-buttons { flex-direction: row; max-width: 600px; }
    .final-cta-buttons .btn { flex: 1; white-space: nowrap; padding: 14px 20px; }
}

/* ===== アーカイブページ ===== */
.archive-header { margin-bottom: 24px; }
.archive-title {
    font-size: 22px;
    font-weight: 800;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
}

/* 記事リスト */
.archive-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 記事カード */
.archive-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.archive-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
@media (min-width: 768px) {
    .archive-card { flex-direction: row; }
}

/* サムネイル */
.archive-card-thumb {
    display: block;
    flex-shrink: 0;
}
.archive-card-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
@media (min-width: 768px) {
    .archive-card-thumb {
        width: 220px;
    }
    .archive-card-thumb img {
        width: 220px;
        height: 100%;
        min-height: 140px;
    }
}
.archive-card-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-secondary);
    color: var(--color-text-tertiary);
    font-size: 13px;
    min-height: 140px;
}
@media (min-width: 768px) {
    .archive-card-thumb--placeholder {
        width: 220px;
    }
}

/* カード本文 */
.archive-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}
.archive-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.archive-card-date {
    font-size: 12px;
    color: var(--color-text-tertiary);
}
.archive-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}
.archive-card-title a {
    text-decoration: none;
}
.archive-card-title a:hover { color: var(--color-primary); }

/* ページネーション */
.pagination {
    text-align: center;
    margin-top: 32px;
}
.pagination .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}
.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}
.pagination .page-numbers:hover {
    background: var(--color-bg-secondary);
}
.pagination .page-numbers.current {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ===== 固定ページ ===== */
.page-layout { padding: 32px 0 48px; }
.page-main { max-width: 780px; }
.page-main .entry-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
}

/* 404 */
.error-404-page { text-align: center; padding: 48px 0; }
.error-404-page .entry-title { border-bottom: none; text-align: center; }
.error-404-page p { margin-bottom: 16px; }
.error-404-page .btn { margin: 16px 0; }

/* 検索フォーム */
.search-form {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 24px auto;
}
.search-form .search-field {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
}
.search-form .search-submit {
    padding: 10px 20px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

/* ═══════════════════════════════════════════ */
/* 下半分: レガシーテキスト（SEO保持エリア）     */
/* ═══════════════════════════════════════════ */

.legacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}
@media (min-width: 768px) {
    .legacy-content { padding: 48px 32px; }
}

.legacy-section {
    margin-bottom: 32px;
    padding-bottom: 16px;
}

.legacy-content h2 {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
    margin: 48px 0 24px;
    color: var(--color-text);
}
.legacy-section:first-child h2 { margin-top: 0; }

.legacy-content h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 32px 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--color-primary);
    color: var(--color-text);
}

.legacy-content p {
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 12px;
    color: #333;
}

/* ⑨ パソコン修理のコンテンツ — 2×2カード */
.legacy-card-grid {
    display: grid;
    gap: 12px;
}
.legacy-card-grid--2col {
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 599px) {
    .legacy-card-grid--2col { grid-template-columns: 1fr; }
}
.legacy-card {
    display: block;
    padding: 20px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.legacy-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.legacy-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    padding: 0;
    border: none;
    color: var(--color-primary);
}
.legacy-card p {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ⑩ その他のサービス — 3×4グリッド */
.legacy-card-grid--service {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
@media (min-width: 768px) {
    .legacy-card-grid--service {
        grid-template-columns: repeat(3, 1fr);
    }
}
.legacy-service-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.legacy-service-link::before {
    content: '›';
    margin-right: 8px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 16px;
}
.legacy-service-link:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

/* ⑪ 当社の特徴 — カードスタイル */
.legacy-section--features h3 {
    margin-top: 0;
}
.legacy-section--features h3 ~ h3 {
    margin-top: 24px;
}
/* H3+後続pをカードで囲む（CSS隣接セレクタでカード風に） */
.legacy-section--features h3,
.legacy-section--features h3 ~ p {
    /* カード内部に見えるよう左パディング */
}
/* JSなしでH3ごとにカード化するため、CSSグルーピングで対応 */
.legacy-section--features {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.legacy-section--features h2 {
    margin-bottom: 20px;
}
.legacy-section--features h3 {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.08);
    border-radius: 12px 12px 0 0;
    padding: 24px 24px 12px;
    margin: 16px 0 0;
    border-left: 3px solid var(--color-primary);
}
.legacy-section--features h3 + p {
    border-left: 0.5px solid rgba(0,0,0,0.08);
    border-right: 0.5px solid rgba(0,0,0,0.08);
    background: #fff;
    padding: 0 24px;
    margin: 0;
    padding-top: 8px;
}
.legacy-section--features p {
    border-left: 0.5px solid rgba(0,0,0,0.08);
    border-right: 0.5px solid rgba(0,0,0,0.08);
    background: #fff;
    padding: 0 24px;
    margin: 0;
    padding-top: 4px;
}
.legacy-section--features p:last-child,
.legacy-section--features p + h3 {
    /* 直前のpにbottom borderを追加 */
}
/* カード下部を閉じる: h3の直前のp */
.legacy-section--features p:has(+ h3),
.legacy-section--features p:last-of-type {
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
    border-radius: 0 0 12px 12px;
    padding-bottom: 24px;
    margin-bottom: 0;
}

/* ⑫ お約束 — グレー背景 + 区切り線 */
.legacy-section--promise {
    background: #f8f8f8;
    border-radius: var(--radius-xl);
    padding: 32px 24px;
}
@media (min-width: 768px) {
    .legacy-section--promise { padding: 40px 32px; }
}
.legacy-section--promise h2 {
    margin-top: 0;
}
.legacy-section--promise h3 {
    border-left: none;
    padding-left: 0;
    margin-top: 0;
    padding-top: 24px;
    border-top: 0.5px solid rgba(0,0,0,0.08);
}
.legacy-section--promise h3::before {
    content: '✓ ';
    color: var(--color-primary);
    font-weight: 700;
}
.legacy-section--promise h2 + h3 {
    border-top: none;
    padding-top: 0;
}
.legacy-section--promise p:last-child {
    margin-bottom: 0;
}

/* ⑬ ご利用案内 — 2×3グリッド */
.legacy-guide-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 768px) {
    .legacy-guide-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
.legacy-guide-item {
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    border-bottom: none;
}
.legacy-guide-item:last-child { border-bottom: none; }
.legacy-guide-item h3 {
    margin-top: 0;
    border-left: none;
    padding-left: 0;
    color: var(--color-primary);
    font-size: 15px;
    margin-bottom: 8px;
}
.legacy-guide-item p {
    font-size: 14px;
    margin-bottom: 6px;
}
.legacy-guide-item p:last-child {
    margin-bottom: 0;
}

/* ⑭ 会社概要 */
.legacy-company-info {
    background: var(--color-bg-secondary);
    padding: 24px;
    border-radius: var(--radius-xl);
}
.legacy-company-info p {
    margin-bottom: 12px;
}
.legacy-company-info p:last-child { margin-bottom: 0; }
.legacy-company-info a {
    color: var(--color-primary);
    text-decoration: none;
}

/* ═══════════════════════════════════════════ */
/* Contact Form 7 カスタムスタイル              */
/* ═══════════════════════════════════════════ */

/* CF7ラッパー */
.cf7-estimate-form .estimate-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 20px;
}
.cf7-estimate-form .estimate-fieldset legend {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}
.cf7-estimate-form .form-field {
    margin-bottom: 14px;
}
.cf7-estimate-form .form-field > label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}
.cf7-estimate-form .required {
    font-size: 11px;
    color: var(--color-primary);
    font-weight: 600;
}
.cf7-estimate-form .optional {
    font-size: 11px;
    color: var(--color-text-tertiary);
}

/* CF7が生成するinput/select */
.cf7-estimate-form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    -webkit-appearance: none;
}
.cf7-estimate-form .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary-border);
}

/* ヒントリンク */
.cf7-estimate-form .form-hint {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--color-primary);
}

/* 送信エリア（同意 + ボタン） */
.cf7-estimate-form .form-submit-area {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

/* 同意チェックボックス */
.cf7-estimate-form .form-agree-block {
    margin-bottom: 16px;
}
.cf7-estimate-form .form-agree-block .wpcf7-list-item {
    margin: 0;
}
.cf7-estimate-form .form-agree-block .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
}
.cf7-estimate-form .form-agree-block .wpcf7-list-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}
.cf7-estimate-form .form-agree-block a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}
.cf7-estimate-form .form-agree-block .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    padding: 6px 10px;
    background: var(--color-primary-light);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 500;
}

/* 送信ボタン */
.cf7-estimate-form .estimate-submit-btn,
.cf7-estimate-form .wpcf7-submit {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--color-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.3s, opacity 0.3s;
}
.cf7-estimate-form .wpcf7-submit:hover {
    opacity: 0.85;
}
/* 未入力状態: グレー＋半透明 */
.cf7-estimate-form .wpcf7-submit.is-disabled {
    background: #ccc;
    opacity: 0.5;
    cursor: default;
}
.cf7-estimate-form .wpcf7-submit.is-disabled:hover {
    opacity: 0.5;
}
/* 入力完了状態: 赤＋通常表示 */
.cf7-estimate-form .wpcf7-submit.is-ready {
    background: var(--color-primary);
    opacity: 1;
}

/* バリデーションエラー */
.cf7-estimate-form .wpcf7-not-valid-tip {
    color: var(--color-primary);
    font-size: 12px;
    margin-top: 4px;
}
.cf7-estimate-form .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    white-space: pre-line;
}
.cf7-estimate-form .wpcf7-mail-sent-ok,
.cf7-estimate-form .wpcf7 form.sent .wpcf7-response-output {
    border-color: #4caf50;
    background: #e8f5e9;
    color: #2e7d32;
}
.cf7-estimate-form .wpcf7-validation-errors,
.cf7-estimate-form .wpcf7 form.invalid .wpcf7-response-output {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
    color: var(--color-primary);
}

/* スピナー非表示 */
.cf7-estimate-form .wpcf7-spinner {
    display: none;
}

/* ==========================
   固定ページ 2カラムレイアウト（サイドバー付き）
   ========================== */
.page-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.page-main {
    flex: 1;
    min-width: 0;
    max-width: none;
}
@media (max-width: 767px) {
    .page-layout {
        flex-direction: column;
    }
}

/* 固定ページ本文の見出しスタイル */
.page .entry-content h2 {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 16px;
    background: var(--color-bg-secondary);
    border-left: 4px solid var(--color-primary);
    border-bottom: none;
    margin: 32px 0 12px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.page .entry-content h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 24px 0 8px;
    padding-left: 12px;
    border-left: 3px solid var(--color-primary);
}

.page .entry-content p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 16px;
}

.page .entry-content ul,
.page .entry-content ol {
    padding-left: 24px;
    margin: 8px 0 16px;
    list-style: revert;
}

.page .entry-content li {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 4px;
}

/* FAQ アコーディオン風 */
.faq-content h3,
.faq-content h2 {
    font-size: 15px;
    font-weight: 600;
    padding: 12px 16px;
    background: var(--color-bg-secondary);
    border-left: 4px solid var(--color-primary);
    margin: 24px 0 8px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.faq-content h3 + p,
.faq-content h2 + p {
    padding: 8px 16px 16px;
    line-height: 1.8;
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* 料金テーブル */
.trouble-content table,
.entry-content .price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.trouble-content table th,
.trouble-content table td {
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    text-align: left;
}
.trouble-content table th {
    background: var(--color-bg-secondary);
    font-weight: 600;
    font-size: 13px;
}
.trouble-content table td {
    font-size: 14px;
}
@media (max-width: 767px) {
    .trouble-content .table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}


/* ================================================================
   CPTページ デザイン調整 (maker / repair_method / area)
   ver 1.1.0 — 2026-04-01
   ================================================================ */

/* --- 6. 全体的な本文テキスト調整（全CPT共通） --- */
.single-maker .entry-content,
.single-repair_method .entry-content,
.single-area .entry-content {
    font-size: 15px;
    line-height: 1.85;
    color: #333;
}

.single-maker .entry-content a,
.single-repair_method .entry-content a,
.single-area .entry-content a {
    color: var(--color-primary);
}

.single-maker .entry-content strong,
.single-repair_method .entry-content strong,
.single-area .entry-content strong,
.single-maker .entry-content b,
.single-repair_method .entry-content b,
.single-area .entry-content b {
    font-weight: 600;
    color: #222;
}

/* --- 1. 症状アイコンタブ（maker + area 共通）--- */
.entry-content .tab_pc {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.entry-content .tab_pc li {
    background: #f8f8f8;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin: 0;
}
.entry-content .tab_pc li.present {
    background: var(--color-primary-light);
    border-color: var(--color-primary-border);
}
.entry-content .tab_pc li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.4;
}
.entry-content .tab_pc li a:hover {
    text-decoration: none;
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-lg);
}
.entry-content .tab_pc li a span {
    display: block;
    order: -1;
}
.entry-content .tab_pc li a span br {
    display: none;
}
.entry-content .tab_pc li img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 0;
}

@media (max-width: 767px) {
    .entry-content .tab_pc {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .entry-content .tab_pc li a {
        font-size: 12px;
        padding: 10px 6px;
    }
    .entry-content .tab_pc li img {
        width: 40px;
        height: 40px;
    }
}

/* --- 2. 型番リスト（maker固有 .acd-menu 内）--- */
.entry-content .acd-menu {
    list-style: none;
    margin: 16px 0;
    max-height: 400px;
    overflow-y: auto;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fafafa;
}
.entry-content .acd-menu > li {
    margin: 0;
    background: transparent;
}
.entry-content .acd-menu dl {
    margin: 0;
}
.entry-content .acd-menu dt {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-primary);
    margin: 24px 0 12px;
}
.entry-content .acd-menu dt span {
    font-weight: 400;
    font-size: 12px;
    color: var(--color-text-secondary);
}
.entry-content .acd-menu dd > ul {
    column-count: 4;
    column-gap: 16px;
    margin: 8px 0 16px;
    padding-left: 20px;
    list-style: disc;
}
.entry-content .acd-menu dd > ul > li {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    break-inside: avoid;
    padding: 2px 0;
    margin-bottom: 2px;
}
/* シリーズ見出し行（【NEC LL300シリーズ】等） */
.entry-content .acd-menu dd > ul > li.series-heading {
    list-style: none;
    margin-left: -20px;
    font-weight: 600;
    color: #222;
    padding-top: 8px;
}

@media (max-width: 767px) {
    .entry-content .acd-menu dd > ul {
        column-count: 2;
    }
}

/* --- 3. 墨付き括弧見出し dl.title_word --- */
.entry-content dl.title_word {
    margin: 24px 0 16px;
}
.entry-content dl.title_word dt {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-primary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.entry-content dl.title_word dd {
    line-height: 1.85;
    margin-bottom: 12px;
}
.entry-content dl.title_word dd.gazou_chuuou {
    text-align: center;
    margin: 16px 0;
}
.entry-content dl.title_word dd.gazou_chuuou img {
    max-width: 70%;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* repair_method の工程番号は少し大きく */
.single-repair_method .entry-content dl.title_word.info_list dt {
    font-size: 14px;
    background: var(--color-primary-light);
    padding: 6px 14px;
}

/* .before_after 内の dt（【液晶割れ】【パソコン修理後】【コメント】） */
.entry-content .before_after dt {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-primary);
    margin-bottom: 6px;
}

/* dl.inner_list dt */
.entry-content dl.inner_list dt {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-primary);
    margin: 20px 0 8px;
}
.entry-content dl.inner_list dd > ul {
    column-count: 3;
    column-gap: 16px;
    margin: 8px 0;
    padding-left: 20px;
    list-style: disc;
}
.entry-content dl.inner_list dd > ul > li {
    font-size: 13px;
    line-height: 1.6;
    break-inside: avoid;
    padding: 2px 0;
    margin-bottom: 2px;
}
@media (max-width: 767px) {
    .entry-content dl.inner_list dd > ul {
        column-count: 2;
    }
}

/* --- 4. 修理事例写真 (before_after) --- */
.entry-content .before_after {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0 24px;
}
.entry-content .before_after dl {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
}
.entry-content .before_after dd {
    margin: 0;
}
.entry-content .before_after dd img {
    width: auto;
    max-width: min(80%, 300px);
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    margin: 4px 0;
}

/* 紹介文の区切り（inner_case / inner_case2） */
.entry-content .inner_case,
.entry-content .inner_case2 {
    margin: 16px 0;
    padding: 16px;
    background: #fafafa;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.entry-content .inner_case p,
.entry-content .inner_case2 p {
    margin-bottom: 8px;
}
.entry-content .inner_case p:last-child,
.entry-content .inner_case2 p:last-child {
    margin-bottom: 0;
}

/* .setumei_box（冒頭の説明ボックス） */
.entry-content .setumei_box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 20px 0;
    padding: 20px;
    background: #fafafa;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.entry-content .setumei_box .left_mark {
    flex-shrink: 0;
}
.entry-content .setumei_box .left_mark img {
    border-radius: var(--radius-md);
}
.entry-content .setumei_box .right_text ul {
    list-style: disc;
    margin-left: 20px;
}
@media (max-width: 767px) {
    .entry-content .setumei_box {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    .entry-content .setumei_box .left_mark img {
        max-width: 160px;
    }
}

/* .wakusen（囲み枠） */
.entry-content .wakusen {
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    margin: 16px 0;
}

/* お客様事例の区切り */
.single-maker .entry-content > .field p > b:first-child,
.single-area .entry-content .wakusen > p > b:first-child {
    display: block;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 15px;
}

/* --- 5. スペック表（repair_method） --- */
.entry-content table.maker_price_01 {
    width: 100%;
    min-width: 600px;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
    display: table;
}
.entry-content table.maker_price_01 th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    padding: 12px 14px;
    text-align: center;
    width: 25%;
    white-space: nowrap;
}
.entry-content table.maker_price_01 td {
    padding: 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 25%;
}
.entry-content table.maker_price_01 td:first-child {
    background: #f8f8f8;
    font-weight: 500;
    white-space: nowrap;
    width: 25%;
}

/* --- ボタンスタイル --- */
.entry-content .style_button {
    text-align: center;
    margin: 24px 0;
}
.entry-content .style_button_demo {
    display: inline-block;
    background: var(--color-primary);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.2s;
}
.entry-content .style_button_demo:hover {
    opacity: 0.85;
}

@media (max-width: 767px) {
    .entry-content .before_after {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 12px;
    }
    .entry-content .before_after dl {
        flex: none;
        width: 100%;
    }
    .entry-content .before_after dd img {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .single-maker .entry-content img,
    .single-repair_method .entry-content img,
    .single-area .entry-content img {
        max-width: 80%;
        width: auto;
        height: auto;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .entry-content dl.title_word dd.gazou_chuuou img {
        max-width: 100%;
    }
}

/* --- CPT本文中の製品写真 PC表示（before_after外）--- */
.single-maker .entry-content > p > img,
.single-maker .entry-content > img,
.single-maker .entry-content .wakusen > dd > img,
.single-repair_method .entry-content > p > img,
.single-repair_method .entry-content > img,
.single-area .entry-content > p > img,
.single-area .entry-content > img {
    max-width: 70%;
    width: auto;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* --- お問い合わせ事例スクロールボックス --- */
.entry-content .jirei {
    max-height: 400px;
    overflow-y: auto;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fafafa;
}
.entry-content .jirei dl {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.entry-content .jirei dl:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.entry-content .jirei dt {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}
.entry-content .jirei dd {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}
.entry-content .otoiawase_jirei {
    font-size: 15px;
    font-weight: 600;
    margin: 32px 0 12px;
}

/* --- 一覧ページ内の機種グリッド（bullet非表示）--- */
.entry-content .inner_case > ul,
.entry-content .tab_pc {
    list-style: none !important;
    padding-left: 0;
}

/* --- メーカー一覧テーブル均等化 --- */
.page .entry-content table.maker_price_01 td {
    width: 33.3%;
    background: #fff;
    font-weight: 400;
    white-space: normal;
    text-align: center;
}

/* --- モバイル: メーカー一覧中央揃え + 送料テーブル画面内収め --- */
@media (max-width: 767px) {
    .page .entry-content table.maker_price_01 td {
        text-align: center;
    }
    .entry-content table.maker_price_01 {
        display: table;
        table-layout: fixed;
        width: 100%;
        min-width: 0;
    }
    .entry-content table.maker_price_01 td,
    .entry-content table.maker_price_01 th {
        font-size: 12px;
        padding: 4px 6px;
        white-space: normal;
        width: 25%;
    }
    .entry-content table.maker_price_01 th {
        white-space: nowrap;
    }
    .entry-content table.maker_price_01 td:first-child {
        white-space: normal;
    }
}

/* --- テーブルスクロールラッパー --- */
.table-scroll-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
}
.table-scroll-wrap table {
    margin: 0;
}

/* ================================================================
   固定ページ（trouble等）デザイン改善
   ver 1.2.10 — 2026-04-05
   ================================================================ */

/* --- 旧CTAバナーを非表示 --- */
.entry-content .toiawase_btn {
    display: none;
}

/* --- 料金テーブル maker_price_02 --- */
.entry-content table.maker_price_02 {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin: 24px 0;
    font-size: 14px;
}
.entry-content table.maker_price_02 td {
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    text-align: left;
}
.entry-content table.maker_price_02 .bg_orenge {
    background: #E24B4A;
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 12px 14px;
}
.entry-content table.maker_price_02 td.right {
    background: #f8f8f8;
    font-weight: 500;
    white-space: nowrap;
}
.entry-content table.maker_price_02 td.colon {
    width: 1em;
    text-align: center;
    padding: 10px 4px;
}

/* --- 見出し装飾：症状別 h3 --- */
.entry-content h3.ware,
.entry-content h3.usui,
.entry-content h3.akai,
.entry-content h3.hyouji,
.entry-content h3.sen,
.entry-content h3.shiroi {
    font-size: 17px;
    font-weight: 600;
    padding: 12px 0 8px 16px;
    border-left: 4px solid #E24B4A;
    border-bottom: none;
    margin: 40px 0 16px;
    background: none;
    color: var(--color-text);
}

/* --- 冒頭の大見出し --- */
.entry-content h2.shuriryoukin_midashi {
    font-size: 20px;
    font-weight: 600;
    padding: 12px 0 8px 16px;
    border-left: 4px solid #E24B4A;
    border-bottom: none;
    margin: 32px 0 16px;
    background: none;
    color: var(--color-text);
}

/* --- 部品持ち込み見出し --- */
.entry-content h3.waku_orangena {
    background: none;
    font-size: 17px;
    font-weight: 600;
    padding: 12px 0 8px 16px;
    border-left: 4px solid #E24B4A;
    border-bottom: none;
    margin: 40px 0 16px;
    color: var(--color-text);
}
.entry-content h3.waku_orangena .inner_box {
    background: none;
    padding: 0;
    border: none;
}

/* --- ご利用案内・会社概要見出し --- */
.entry-content h3.midashi {
    font-size: 17px;
    font-weight: 600;
    padding: 12px 0 8px 16px;
    border-left: 4px solid #E24B4A;
    border-bottom: none;
    margin: 40px 0 16px;
    background: none;
    color: var(--color-text);
}

/* --- .mark（冒頭の注釈テキスト） --- */
.entry-content .mark {
    background: #fef8f8;
    border: 1px solid rgba(226, 75, 74, 0.2);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0 24px;
    font-size: 14px;
    line-height: 1.7;
}

/* --- .t_red（赤テキスト） --- */
.entry-content .t_red {
    color: #E24B4A;
    font-weight: 600;
}

/* --- 症状写真 .gazou_chuuou --- */
.entry-content .gazou_chuuou {
    text-align: center;
    margin: 16px 0;
}
.entry-content .gazou_chuuou img {
    max-width: 70%;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* --- バナー中央 .bana_chuuou --- */
.entry-content .bana_chuuou {
    text-align: center;
    margin: 20px 0;
}
.entry-content .bana_chuuou img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
}

/* --- 見積もりリスト dl.mitumori --- */
.entry-content dl.mitumori {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.entry-content dl.mitumori dt {
    font-weight: 600;
    margin-bottom: 4px;
}
.entry-content dl.mitumori dd {
    margin-bottom: 8px;
    margin-left: 0;
}

/* --- 修理事例（.koshou） --- */
.entry-content .koshou {
    margin: 16px 0;
}
.entry-content .koshou img {
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* --- リンクカラー統一 --- */
.entry-content a {
    color: #E24B4A;
    text-decoration: none;
}
.entry-content a:hover {
    text-decoration: underline;
}

/* --- ご利用案内テーブル --- */
.entry-content .goriyouannai_pc table,
.entry-content .goriyouannai_sp table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.entry-content .goriyouannai_pc th,
.entry-content .goriyouannai_sp th {
    background: #E24B4A;
    color: #fff;
    font-weight: 500;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
}
.entry-content .goriyouannai_pc td,
.entry-content .goriyouannai_sp td {
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
}

/* --- 会社概要 --- */
.entry-content .kaisha_gaiyou {
    margin: 16px 0;
}
.entry-content .kaisha_gaiyou table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.entry-content .kaisha_gaiyou th {
    background: #f8f8f8;
    font-weight: 500;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    white-space: nowrap;
    width: 30%;
}
.entry-content .kaisha_gaiyou td {
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
}

/* --- .naiyou 内タブコンテンツ --- */
.entry-content .naiyou .area {
    margin: 24px 0;
}

/* --- 旧カラー上書き --- */
.entry-content font[color="blue"] {
    color: #E24B4A !important;
}
.entry-content font[color="#ff0000"],
.entry-content font[color="red"] {
    color: #E24B4A !important;
}

/* --- モバイル対応 --- */
@media (max-width: 767px) {
    .entry-content table.maker_price_02 {
        font-size: 12px;
    }
    .entry-content table.maker_price_02 td {
        padding: 8px 8px;
    }
    .entry-content .gazou_chuuou img,
    .entry-content .bana_chuuou img {
        max-width: 90%;
    }
    .entry-content h2.shuriryoukin_midashi {
        font-size: 17px;
    }
    .entry-content h3.ware,
    .entry-content h3.usui,
    .entry-content h3.akai,
    .entry-content h3.hyouji,
    .entry-content h3.sen,
    .entry-content h3.shiroi,
    .entry-content h3.waku_orangena,
    .entry-content h3.midashi {
        font-size: 15px;
    }
    .entry-content .goriyouannai_pc {
        display: none;
    }
    .entry-content .goriyouannai_sp {
        display: block;
    }
}
@media (min-width: 768px) {
    .entry-content .goriyouannai_sp {
        display: none;
    }
}

/* 症状タブ「の修理料金」テキストを非表示（画像・症状名は残す） */
.entry-content .tab_pc li a > span {
    font-size: 0;
    line-height: 0;
}

/* === maker_price_02 テーブル改善 === */
.entry-content table.maker_price_02 .colon { display: none; }
.entry-content table.maker_price_02 .line_n,
.entry-content table.maker_price_02 .line { display: none; }
.entry-content table.maker_price_02 .bg_orenge { background: #E24B4A; }
.entry-content table.maker_price_02 td.right { background: #f8f8f8; font-weight: 600; }
.entry-content table.maker_price_02 tr:last-child td { font-size: 13px; color: #666; }
.entry-content table.maker_price_02 tr:nth-last-child(2) td { font-weight: 700; }

/* ================================================================
   修理の流れページ（/flow/）デザイン改善
   ================================================================ */

/* --- 大見出し --- */
.entry-content h2.flow_midashi {
    font-size: 20px;
    font-weight: 600;
    padding: 12px 0 8px 16px;
    border-left: 4px solid #E24B4A;
    border-bottom: none;
    margin: 32px 0 16px;
    background: none;
    color: var(--color-text);
}

/* --- 本文の読みやすさ --- */
.entry-content .product {
    font-size: 15px;
    line-height: 1.85;
    color: #333;
}

/* --- STEPカード（dl.wakusen） --- */
.entry-content dl.wakusen {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    margin: 0 0 8px;
    background: #fff;
}

/* --- STEP見出し --- */
.entry-content .text_wakusen {
    color: #E24B4A;
    font-size: 17px;
    font-weight: 600;
}
.entry-content .text_wakusen_bk {
    font-size: 17px;
    font-weight: 600;
    color: #222;
}

/* --- 矢印画像を小さく中央寄せ --- */
.entry-content .product > .center,
.entry-content .fork_l > .center,
.entry-content .fork_r > .center {
    text-align: center;
    margin: 4px 0;
    line-height: 0;
}
.entry-content .product > .center > img,
.entry-content .fork_l > .center > img,
.entry-content .fork_r > .center > img {
    max-width: 40px;
    height: auto;
    opacity: 0.4;
}

/* --- STEP内イラスト --- */
.entry-content dl.wakusen dd.center img,
.entry-content dl.wakusen dd.flush img {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 12px auto 0;
}

/* --- 2列分岐（宅配/持込） --- */
.entry-content .fork_l,
.entry-content .fork_r {
    margin-top: 8px;
}
@media (min-width: 768px) {
    .entry-content .product.clearfix {
        display: flex;
        flex-wrap: wrap;
    }
    .entry-content .product > dl.wakusen,
    .entry-content .product > .center {
        width: 100%;
    }
    .entry-content .fork_l {
        width: 48%;
        margin-right: 4%;
    }
    .entry-content .fork_r {
        width: 48%;
    }
}

/* --- 旧CTAバナー非表示（flowページにもある） --- */
.entry-content .division {
    display: none;
}

/* --- モバイル --- */
@media (max-width: 767px) {
    .entry-content h2.flow_midashi {
        font-size: 17px;
    }
    .entry-content .text_wakusen,
    .entry-content .text_wakusen_bk {
        font-size: 15px;
    }
    .entry-content dl.wakusen {
        padding: 16px;
    }
}
