/* ========================================
   Proofig AI 統合スタイルシート
   全ページ共通 + ページ固有スタイル
   ======================================== */

/* ========================================
   1. 共通デザインシステム (proofig-common)
   ======================================== */

/* --- Base Reset & Typography --- */
.proofig-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.7;
    font-size: 16px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}
/* --- MT auto-wrapper cleanup: hide &nbsp; and <br> from editor --- */
.proofig-page > p {
    margin: 0; padding: 0; font-size: 0; line-height: 0;
}
.proofig-page > p > section,
.proofig-page > p > div {
    font-size: 16px; line-height: 1.7;
}
.proofig-page > p > br {
    display: none;
}
.proofig-page *, .proofig-page *::before, .proofig-page *::after {
    margin: 0; padding: 0; box-sizing: border-box;
}
.proofig-page img { max-width: 100%; height: auto; display: block; }
.proofig-page a { text-decoration: none; }
.proofig-page .pf-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Proofig Sub Navigation (Overleaf style) --- */
/* --- Proofig uses .navbar (from styles.css) for fixed positioning.
       .pf-navbar overrides navbar's default styling --- */
.pf-navbar {
    background: rgba(255,255,255,0.98) !important;
    padding: 0 !important;
    border-bottom: 1px solid #e0e0e0;
}
.pf-navbar.sticky {
    background: rgba(255,255,255,0.98) !important;
    padding: 0 !important;
}
.proofig-page .pf-nav {
    background: transparent;
    padding: 0 32px;
    display: flex; align-items: center; gap: 0;
    font-size: 15px;
    min-height: 72px;
    max-width: 1300px; margin: 0 auto;
}
.proofig-page .pf-nav-brand {
    display: flex; flex-direction: column; justify-content: center;
    padding: 12px 0; margin-right: 28px; flex-shrink: 0;
}
.proofig-page .pf-nav-logo {
    display: flex; align-items: center;
    margin-right: 40px; flex-shrink: 0;
}
.proofig-page .pf-nav-logo img {
    height: 43px; width: auto;
}
.proofig-page .pf-nav-institution-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: #9602C7; color: #fff;
    padding: 10px 20px; border-radius: 6px;
    font-size: 14px; font-weight: 600;
    white-space: nowrap; flex-shrink: 0;
    transition: background 0.3s;
}
.proofig-page .pf-nav-institution-btn:hover {
    background: #7a2ca0;
}
.proofig-page .pf-nav-links {
    display: flex; align-items: center; gap: 0;
    margin-left: auto;
}
.proofig-page .pf-nav-links a {
    color: #444; text-decoration: none;
    padding: 8px 20px;
    font-size: 15px; font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s;
}
.proofig-page .pf-nav-links a:hover { color: #9602C7; }
.proofig-page .pf-nav-links a.active { color: #9602C7; font-weight: 700; }
.proofig-page .pf-nav-links .pf-nav-contact {
    background: #9602C7; color: #fff !important; font-weight: 600;
    margin-left: 16px; padding: 10px 28px;
    border-radius: 24px;
    font-size: 14px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}
.proofig-page .pf-nav-links .pf-nav-contact:hover {
    background: #7a2ca0; transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(150, 2, 199, 0.25);
}
/* --- Hamburger Menu Toggle --- */
.proofig-page .pf-nav-hamburger {
    display: none; background: none; border: none; cursor: pointer;
    padding: 8px; margin-left: auto; z-index: 101;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px; width: 36px; height: 36px;
}
.proofig-page .pf-nav-hamburger span {
    display: block; width: 22px; height: 2px; background: #333;
    transition: all 0.3s ease; border-radius: 2px;
}
.proofig-page .pf-nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.proofig-page .pf-nav-hamburger.active span:nth-child(2) { opacity: 0; }
.proofig-page .pf-nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.proofig-page .pf-btn {
    display: inline-block; padding: 14px 36px; border-radius: 6px;
    font-size: 15px; font-weight: 600; text-decoration: none;
    transition: all 0.3s ease; cursor: pointer; border: none;
    letter-spacing: 0.5px;
}
.proofig-page .pf-btn-primary {
    background: #9602C7; color: #fff;
}
.proofig-page .pf-btn-primary:hover {
    background: #7a2ca0; transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(150, 2, 199, 0.3);
}
.proofig-page .pf-btn-outline {
    background: transparent; color: #9602C7;
    border: 2px solid #9602C7;
}
.proofig-page .pf-btn-outline:hover {
    background: #9602C7; color: #fff;
}
.proofig-page .pf-btn-dark {
    background: #4A154B; color: #fff;
}
.proofig-page .pf-btn-dark:hover {
    background: #32102e; transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 21, 75, 0.3);
}

/* --- Section Common --- */
.proofig-page .pf-section-label {
    font-size: 13px; font-weight: 600; color: #9602C7;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
    text-align: center;
}
.proofig-page .pf-section-title {
    font-size: 36px; font-weight: 700; text-align: center;
    margin-bottom: 40px; color: #4A154B; line-height: 1.3;
}
.proofig-page .pf-section-desc {
    font-size: 17px; text-align: center; color: #666;
    max-width: 800px; margin: 0 auto 48px; line-height: 1.8;
}

/* --- Fixed header anchor offset --- */
.proofig-page [id] {
    scroll-margin-top: 80px;
}

/* --- Fixed header spacing (navbar is position:fixed, ~72px tall) --- */
.proofig-page .pf-hero,
.proofig-page .pf-hero-ps,
.proofig-page > section:first-child,
.proofig-page > .pf-faq-section:first-child {
    padding-top: 110px !important;
}

/* --- Hero (共通) --- */
.proofig-page .pf-hero {
    background: #f9f4fc;
    padding: 80px 0 60px;
    text-align: center;
}
.proofig-page .pf-hero h1 {
    font-size: 42px; font-weight: 700; margin-bottom: 24px;
    color: #4A154B; line-height: 1.3;
}
.proofig-page .pf-hero p {
    font-size: 18px; color: #666; max-width: 780px;
    margin: 0 auto 36px; line-height: 1.8;
}

/* --- CTA (共通) --- */
.proofig-page .pf-cta {
    background: #4A154B; padding: 80px 0; text-align: center;
}
.proofig-page .pf-cta h2 { color: #fff; font-size: 32px; margin-bottom: 16px; }
.proofig-page .pf-cta p { color: rgba(255,255,255,0.8); font-size: 17px; margin-bottom: 28px; }
.proofig-page .pf-cta .pf-btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.proofig-page .pf-cta .pf-cta-links {
    margin-top: 20px; font-size: 14px;
}
.proofig-page .pf-cta .pf-cta-links a {
    color: rgba(255,255,255,0.7); margin: 0 12px;
}
.proofig-page .pf-cta .pf-cta-links a:hover { color: #fff; }

/* --- Contact Form Embed Section --- */
.proofig-page .pf-contact-section {
    padding: 80px 0; background: #f9f4fc;
}
.proofig-page .pf-contact-section h2 {
    font-size: 32px; font-weight: 700; color: #4A154B;
    text-align: center; margin-bottom: 16px;
}
.proofig-page .pf-contact-section > .pf-container > p.pf-contact-desc {
    text-align: center; color: #666; font-size: 16px; margin-bottom: 40px; line-height: 1.8;
}
.proofig-page .pf-contact-form-wrapper {
    max-width: 900px; margin: 0 auto;
    background: transparent; padding: 0;
    display: flex; justify-content: center;
}
.proofig-page .pf-contact-form-wrapper iframe {
    width: 100%; min-height: 500px; border: none;
}

/* --- Contact Button Section (共通) --- */
.proofig-page .pf-contact-btn-section {
    padding: 60px 0; background: #f9f4fc; text-align: center;
}
.proofig-page .pf-contact-btn-section .pf-btn {
    font-size: 17px; padding: 16px 48px;
}

/* --- FAQ Accordion (共通) --- */
.proofig-page .pf-faq-list { max-width: 900px; margin: 0 auto; }
.proofig-page .pf-faq-item {
    border-bottom: 1px solid #E8DFED;
    background: #fff; border-radius: 8px;
    margin-bottom: 8px; padding: 0 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.proofig-page .pf-faq-q {
    font-size: 16px; font-weight: 600; color: #333;
    padding: 20px 0; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.proofig-page .pf-faq-q::after {
    content: '+'; font-size: 24px; color: #9602C7;
    flex-shrink: 0; transition: transform 0.3s;
}
.proofig-page .pf-faq-q.active::after { content: '\2212'; }
.proofig-page .pf-faq-a {
    font-size: 15px; color: #666; line-height: 1.8;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
    padding-bottom: 0;
}
.proofig-page .pf-faq-a.open {
    opacity: 1;
    padding-bottom: 20px;
}

/* --- 共通 Responsive --- */
@media (max-width: 900px) {
    .proofig-page .pf-nav { padding: 0 16px; min-height: 60px; }
    .proofig-page .pf-nav-institution-btn { display: none; }
    .proofig-page .pf-nav-hamburger { display: flex; }
    .proofig-page .pf-nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; flex-direction: column; align-items: stretch;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 100;
        border-bottom: 1px solid #e0e0e0;
    }
    .proofig-page .pf-nav-links.open { display: flex; }
    .proofig-page .pf-nav-links a {
        padding: 14px 24px; font-size: 15px;
        border-bottom: 1px solid #f0e6f4; text-align: left;
    }
    .proofig-page .pf-nav-links .pf-nav-contact {
        margin: 12px 24px; text-align: center; border-radius: 24px;
    }
}
@media (max-width: 600px) {
    .proofig-page .pf-hero h1 { font-size: 28px; }
    .proofig-page .pf-section-title { font-size: 26px; }
    .proofig-page .pf-contact-form-wrapper { padding: 24px 16px; }
}


/* ========================================
   2. トップページ固有 (proofig-407)
   ======================================== */

/* --- Hero (トップページ固有: 左右レイアウト) --- */
.proofig-page .pf-hero-inner {
    display: flex; align-items: center; gap: 48px;
}
.proofig-page .pf-hero-text { flex: 1; text-align: left; }
.proofig-page .pf-hero-text h1 {
    font-size: 40px; font-weight: 700; margin-bottom: 24px;
    color: #4A154B; line-height: 1.3;
}
.proofig-page .pf-hero-text h1 span { color: #9602C7; }
.proofig-page .pf-hero-text p {
    font-size: 16px; color: #666; margin-bottom: 32px; line-height: 1.8;
    max-width: none; text-align: left;
}
.proofig-page .pf-hero-btns {
    display: flex; gap: 16px; flex-wrap: wrap;
}
.proofig-page .pf-hero-image { flex: 0 1 380px; text-align: center; }
.proofig-page .pf-hero-image img {
    max-width: 100%; border-radius: 16px; box-shadow: 0 8px 32px rgba(150, 2, 199, 0.12);
}

/* --- Trusted By (Logo Carousel) --- */
.proofig-page .pf-trusted {
    padding: 60px 0; background: #fff; text-align: center; overflow: hidden;
}
.proofig-page .pf-trusted h2 {
    font-size: 28px; font-weight: 700; color: #4A154B; margin-bottom: 32px;
}
.proofig-page .pf-trusted-track {
    display: flex; align-items: center; gap: 48px;
    animation: pf-logo-scroll 30s linear infinite;
    width: max-content;
}
.proofig-page .pf-trusted-track img {
    height: 40px; width: auto; opacity: 0.7;
    filter: grayscale(30%);
    transition: opacity 0.3s, filter 0.3s;
    flex-shrink: 0;
}
.proofig-page .pf-trusted-track img:hover {
    opacity: 1; filter: grayscale(0%);
}
@keyframes pf-logo-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.proofig-page .pf-trusted-logos-static {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px;
    max-width: 1000px; margin: 0 auto;
}

/* --- PubShield Banner --- */
.proofig-page .pf-pubshield-banner {
    padding: 60px 0; background: #4A154B; color: #fff;
}
.proofig-page .pf-pubshield-inner {
    display: flex; align-items: center; gap: 48px;
}
.proofig-page .pf-pubshield-text { flex: 1; text-align: left; }
.proofig-page .pf-pubshield-banner h2 {
    font-size: 28px; font-weight: 700; margin-bottom: 16px;
}
.proofig-page .pf-pubshield-banner p {
    font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 28px;
    line-height: 1.8;
}
.proofig-page .pf-pubshield-image {
    flex: 0 0 360px; max-width: 360px;
}
.proofig-page .pf-pubshield-image img {
    width: 100%; border-radius: 12px;
}
.proofig-page .pf-pubshield-banner .pf-btn-primary {
    background: #fff; color: #9602C7;
}
.proofig-page .pf-pubshield-banner .pf-btn-primary:hover { background: #f5edf8; }

/* --- Solution --- */
.proofig-page .pf-solution { padding: 80px 0; background: #fff; }
.proofig-page .pf-solution-header { text-align: center; margin-bottom: 48px; }
.proofig-page .pf-solution-header h2 {
    font-size: 32px; font-weight: 700; color: #4A154B; margin-bottom: 16px;
}
.proofig-page .pf-solution-header p {
    font-size: 16px; color: #666; max-width: 800px; margin: 0 auto; line-height: 1.8;
}
.proofig-page .pf-features-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.proofig-page .pf-feature-card {
    display: flex; gap: 24px; align-items: flex-start;
    padding: 24px; background: #fff; border-radius: 12px;
}
.proofig-page .pf-feature-card .pf-feature-img {
    width: 200px; flex-shrink: 0; border-radius: 8px; overflow: hidden;
}
.proofig-page .pf-feature-card .pf-feature-content h3 {
    font-size: 20px; font-weight: 700; color: #4A154B; margin-bottom: 8px;
}
.proofig-page .pf-feature-card .pf-feature-content p {
    font-size: 14px; color: #666; line-height: 1.7;
}

/* --- Why Integrity Matters --- */
.proofig-page .pf-why-matters { padding: 80px 0; background: #f5edf8; }
.proofig-page .pf-why-matters h2 {
    font-size: 32px; font-weight: 700; color: #4A154B; text-align: center; margin-bottom: 16px;
}
.proofig-page .pf-why-matters > .pf-container > p {
    text-align: center; color: #666; font-size: 16px; margin-bottom: 48px; line-height: 1.8;
}
.proofig-page .pf-stats-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    max-width: 900px; margin: 0 auto;
}
.proofig-page .pf-stat-card {
    background: #fff; border-radius: 16px; padding: 40px 24px; text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.proofig-page .pf-stat-card .pf-stat-num {
    font-size: 42px; font-weight: 700; color: #9602C7; margin-bottom: 8px;
}
.proofig-page .pf-stat-card .pf-stat-label {
    font-size: 14px; color: #666; line-height: 1.6;
}

/* --- References --- */
.proofig-page .pf-ref-list {
    list-style: none; margin: 32px auto 0; padding: 0;
    max-width: 720px; font-size: 13px; color: #666; line-height: 1.8;
}
.proofig-page .pf-ref-list a {
    color: #9602C7; font-weight: 500;
}
.proofig-page .pf-ref-list a:hover { text-decoration: underline; }

/* --- Why Choose --- */
.proofig-page .pf-why-choose { padding: 80px 0; background: #fff; }
.proofig-page .pf-why-choose h2 {
    font-size: 32px; font-weight: 700; color: #4A154B; text-align: center; margin-bottom: 16px;
}
.proofig-page .pf-why-choose > .pf-container > p.pf-why-desc {
    text-align: center; color: #666; font-size: 16px; margin-bottom: 48px;
}
.proofig-page .pf-benefits-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.proofig-page .pf-benefit-card {
    background: #f9f7fb; border-radius: 16px; padding: 36px 28px;
    text-align: left; transition: transform 0.3s;
}
.proofig-page .pf-benefit-card:hover { transform: translateY(-4px); }
.proofig-page .pf-benefit-card .pf-benefit-icon {
    width: 56px; height: 56px; margin-bottom: 16px;
}
.proofig-page .pf-benefit-card .pf-benefit-icon svg {
    width: 56px; height: 56px;
}
.proofig-page .pf-benefit-card h4 {
    font-size: 17px; font-weight: 700; color: #4A154B; margin-bottom: 8px;
}
.proofig-page .pf-benefit-card p {
    font-size: 14px; color: #666; line-height: 1.7; text-align: left;
}

/* --- Performance --- */
.proofig-page .pf-performance { padding: 80px 0; background: #f9f9f9; }
.proofig-page .pf-performance h2 {
    font-size: 32px; font-weight: 700; color: #4A154B; text-align: center; margin-bottom: 16px;
}
.proofig-page .pf-performance > .pf-container > p.pf-perf-desc {
    text-align: center; color: #666; font-size: 16px; margin-bottom: 48px;
}
.proofig-page .pf-perf-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    max-width: 1000px; margin: 0 auto;
}
.proofig-page .pf-perf-card {
    background: #fff; border-radius: 16px; padding: 36px 20px; text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.proofig-page .pf-perf-card .pf-perf-num {
    font-size: 32px; font-weight: 700; color: #9602C7; margin-bottom: 8px;
}
.proofig-page .pf-perf-card .pf-perf-label { font-size: 14px; color: #666; }

/* --- Benchmark --- */
.proofig-page .pf-benchmark { padding: 60px 0; background: #f5edf8; }
.proofig-page .pf-benchmark-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.proofig-page .pf-benchmark-block { margin-bottom: 40px; }
.proofig-page .pf-benchmark-block h3 {
    font-size: 28px; font-weight: 700; color: #4A154B; margin-bottom: 24px;
}
.proofig-page .pf-benchmark-items {
    display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.proofig-page .pf-benchmark-item {
    font-size: 20px; color: #333;
    background: #fff; border-radius: 12px; padding: 20px 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.proofig-page .pf-benchmark-item strong {
    font-weight: 700; font-size: 28px; color: #9602C7;
    display: block; margin-top: 4px;
}
.proofig-page .pf-benchmark-sub {
    display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; margin-top: 24px;
}
.proofig-page .pf-benchmark-col {
    text-align: center; background: #fff; border-radius: 12px; padding: 24px 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.proofig-page .pf-benchmark-col h4 {
    font-size: 20px; font-weight: 700; color: #4A154B; margin-bottom: 16px;
    text-decoration: none; border-bottom: 2px solid #9602C7; padding-bottom: 8px; display: inline-block;
}
.proofig-page .pf-benchmark-col p { font-size: 16px; color: #333; margin-bottom: 6px; }
.proofig-page .pf-benchmark-col p strong { font-size: 20px; color: #9602C7; }
.proofig-page .pf-benchmark-col .pf-dataset { font-size: 13px; color: #9602C7; margin-top: 8px; }

/* --- Media --- */
.proofig-page .pf-media { padding: 80px 0; background: #f9f9f9; }
.proofig-page .pf-media h2 {
    font-size: 32px; font-weight: 700; color: #4A154B; text-align: center; margin-bottom: 16px;
}
.proofig-page .pf-media > .pf-container > p.pf-media-desc {
    text-align: center; color: #666; font-size: 16px; margin-bottom: 48px;
}
.proofig-page .pf-media-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    max-width: 1000px; margin: 0 auto;
}
.proofig-page .pf-media-card {
    background: #fff; border-radius: 16px; padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.proofig-page .pf-media-card h4 {
    font-size: 20px; font-weight: 700; color: #4A154B; margin-bottom: 12px;
    padding-bottom: 12px; border-bottom: 2px solid #e8dff0;
}
.proofig-page .pf-media-card h5 {
    font-size: 16px; font-weight: 700; color: #333; margin-bottom: 8px; line-height: 1.4;
}
.proofig-page .pf-media-card p { font-size: 14px; color: #666; line-height: 1.7; }

/* --- Steps --- */
.proofig-page .pf-steps { padding: 80px 0; background: #fff; }
.proofig-page .pf-steps h2 {
    font-size: 32px; font-weight: 700; color: #4A154B; text-align: center; margin-bottom: 16px;
}
.proofig-page .pf-steps > .pf-container > p.pf-steps-desc {
    text-align: center; color: #666; font-size: 16px; margin-bottom: 48px;
}
.proofig-page .pf-steps-list {
    max-width: 800px; margin: 0 auto;
}
.proofig-page .pf-step-row {
    display: flex; align-items: center; gap: 24px;
    padding: 24px 0; border-bottom: 1px solid #f0ecf3;
    position: relative;
}
.proofig-page .pf-step-row:last-child { border-bottom: none; }
.proofig-page .pf-step-num-badge {
    width: 56px; height: 56px; background: #9602C7; color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700; flex-shrink: 0;
}
.proofig-page .pf-step-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.proofig-page .pf-step-icon svg { width: 40px; height: 40px; }
.proofig-page .pf-step-text { flex: 1; }
.proofig-page .pf-step-text h4 {
    font-size: 18px; font-weight: 700; color: #4A154B; margin-bottom: 4px;
}
.proofig-page .pf-step-text p { font-size: 15px; color: #666; line-height: 1.6; }

/* --- 407 Responsive --- */
@media (max-width: 900px) {
    .proofig-page .pf-hero-inner { flex-direction: column; text-align: center; }
    .proofig-page .pf-hero-text p { text-align: center; }
    .proofig-page .pf-hero-btns { justify-content: center; }
    .proofig-page .pf-features-grid { grid-template-columns: 1fr; }
    .proofig-page .pf-stats-grid { grid-template-columns: 1fr; }
    .proofig-page .pf-pubshield-inner { flex-direction: column; text-align: center; }
    .proofig-page .pf-pubshield-text { text-align: center; }
    .proofig-page .pf-pubshield-image { flex: none; max-width: 300px; }
    .proofig-page .pf-benefits-grid { grid-template-columns: 1fr; }
    .proofig-page .pf-perf-grid { grid-template-columns: repeat(2, 1fr); }
    .proofig-page .pf-media-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .proofig-page .pf-hero-text h1 { font-size: 28px; }
    .proofig-page .pf-perf-grid { grid-template-columns: 1fr; }
    .proofig-page .pf-step-row { flex-wrap: wrap; }
    .proofig-page .pf-benchmark-items { flex-direction: column; align-items: center; }
    .proofig-page .pf-benchmark-sub { flex-direction: column; align-items: center; }
}


/* ========================================
   3. PubShield ページ固有
   ======================================== */

/* --- Hero (PubShield: 左右レイアウト) --- */
.proofig-page .pf-hero-ps { text-align: left; }
.proofig-page .pf-hero-ps .pf-hero-inner {
    display: flex; align-items: center; gap: 48px;
}
.proofig-page .pf-hero-ps .pf-hero-text { flex: 1; min-width: 0; }
.proofig-page .pf-hero-ps .pf-hero-text h1 {
    font-size: 36px; font-weight: 700; margin-bottom: 24px;
    color: #4A154B; line-height: 1.3;
}
.proofig-page .pf-hero-ps .pf-hero-text p {
    font-size: 16px; color: #666; margin-bottom: 32px; line-height: 1.8;
    max-width: none; text-align: left;
}
.proofig-page .pf-hero-ps .pf-hero-media {
    flex: 0 1 520px; text-align: center;
}
.proofig-page .pf-hero-ps .pf-hero-media video,
.proofig-page .pf-hero-ps .pf-hero-media img {
    max-width: 100%; border-radius: 16px;
    box-shadow: 0 8px 32px rgba(74, 21, 75, 0.15);
}

/* --- Problems --- */
.proofig-page .pf-problems { padding: 80px 0; background: #fff; }
.proofig-page .pf-problems .pf-intro-text {
    font-size: 15px; color: #666; max-width: 860px;
    margin: 0 auto 48px; line-height: 1.8; text-align: left;
}
.proofig-page .pf-problems-grid {
    display: flex !important; flex-wrap: nowrap !important; gap: 24px;
    max-width: none; width: 100%;
}
.proofig-page .pf-problem-card {
    flex: 1 1 0% !important; min-width: 0;
    background: #fff; border: 1px solid #f9f4fc;
    border-radius: 12px; padding: 28px 20px; text-align: center;
    box-shadow: 9px 9px 9px rgba(0, 0, 0, 0.13); transition: transform 0.3s;
}
.proofig-page .pf-problem-card:hover { transform: translateY(-4px); }
.proofig-page .pf-problem-card p { text-align: left; }
.proofig-page .pf-problem-icon {
    width: 56px; height: 56px; margin: 0 auto 16px;
    background: #fce4ec; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
}
.proofig-page .pf-problem-card h4 {
    font-size: 16px; font-weight: 700; color: #333; margin-bottom: 8px;
}
.proofig-page .pf-problem-card p {
    font-size: 14px; color: #666; line-height: 1.6;
}

/* --- Checks --- */
.proofig-page .pf-checks { padding: 80px 0; background: #f9f4fc; }
.proofig-page .pf-check-item {
    background: #fff; border: 1px solid #f9f4fc;
    border-radius: 12px; padding: 36px; margin-bottom: 24px;
    box-shadow: 9px 9px 9px rgba(0, 0, 0, 0.13);
    display: flex; gap: 32px; align-items: center;
}
.proofig-page .pf-check-item.pf-check-reverse {
    flex-direction: row-reverse;
}
.proofig-page .pf-check-item-body { flex: 1; }
.proofig-page .pf-check-item-header {
    display: flex; align-items: center; gap: 16px; margin-bottom: 8px;
}
.proofig-page .pf-check-item-header .pf-check-icon {
    width: 48px; height: 48px; background: #9602C7;
    color: #fff; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700; flex-shrink: 0;
}
.proofig-page .pf-check-item h3 {
    font-size: 20px; font-weight: 700; color: #4A154B;
}
.proofig-page .pf-check-item .pf-powered {
    font-size: 13px; color: #9602C7; font-weight: 600;
    margin-bottom: 12px; display: block;
}
.proofig-page .pf-check-item p {
    font-size: 15px; color: #666; line-height: 1.8;
}
.proofig-page .pf-check-item-media {
    flex: 0 0 320px; max-width: 320px;
}
.proofig-page .pf-check-item-media video,
.proofig-page .pf-check-item-media img {
    width: 100%; border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* --- Benefits (PubShield) --- */
.proofig-page .pf-benefits { padding: 60px 0 40px; background: #fff; }
.proofig-page .pf-benefits .pf-intro-text {
    font-size: 15px; color: #666; max-width: 860px;
    margin: 0 auto 16px; line-height: 1.8; text-align: left;
}
.proofig-page .pf-benefits .pf-intro-text:last-child { margin-bottom: 0; }

/* --- How It Works --- */
.proofig-page .pf-how { padding: 40px 0 80px; background: #fff; }
.proofig-page .pf-steps-grid {
    display: flex !important; flex-wrap: nowrap !important; gap: 16px;
    max-width: none; width: 100%;
}
.proofig-page .pf-step-card { text-align: center; flex: 1 1 0% !important; min-width: 0; }
.proofig-page .pf-step-card p { text-align: left; display: inline-block; }
.proofig-page .pf-step-num-circle {
    width: 56px; height: 56px; background: #9602C7;
    color: #fff; border-radius: 50%; font-size: 22px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.proofig-page .pf-step-card h4 {
    font-size: 16px; font-weight: 700; color: #333; margin-bottom: 8px;
}
.proofig-page .pf-step-card p { font-size: 14px; color: #666; line-height: 1.6; }

/* --- PubShield Responsive --- */
@media (max-width: 900px) {
    .proofig-page .pf-hero-ps .pf-hero-inner { flex-direction: column; text-align: center; }
    .proofig-page .pf-hero-ps .pf-hero-text p { text-align: center; }
    .proofig-page .pf-problems-grid { grid-template-columns: repeat(2, 1fr); }
    .proofig-page .pf-check-item { flex-direction: column !important; }
    .proofig-page .pf-check-item-media { flex: none; max-width: 100%; }
    .proofig-page .pf-benefits-grid { grid-template-columns: 1fr; }
    .proofig-page .pf-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .proofig-page .pf-problems-grid { grid-template-columns: 1fr; }
    .proofig-page .pf-steps-grid { grid-template-columns: 1fr; }
}


/* ========================================
   4. Pricing ページ固有
   ======================================== */

/* --- Pricing: Section Title Color Override --- */
.proofig-page .pf-pricing .pf-section-title,
.proofig-page .pf-comparison .pf-section-title,
.proofig-page .pf-faq .pf-section-title,
.proofig-page .pf-why-use .pf-section-title {
    color: #9602C7;
}

/* --- Trust --- */
.proofig-page .pf-trust { padding: 60px 0; background: #fff; }
.proofig-page .pf-trust h2 {
    font-size: 28px; font-weight: 700; text-align: center;
    color: #9602C7; margin-bottom: 12px;
}
.proofig-page .pf-trust .pf-trust-sub {
    font-size: 16px; color: #666; text-align: center; margin-bottom: 36px;
}
.proofig-page .pf-trust-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    max-width: 900px; margin: 0 auto;
}
.proofig-page .pf-trust-item { text-align: center; padding: 20px; }
.proofig-page .pf-trust-item h4 {
    font-size: 16px; font-weight: 700; color: #9602C7; margin-bottom: 8px;
}
.proofig-page .pf-trust-item p { font-size: 14px; color: #666; line-height: 1.6; }

/* --- Pricing/FAQ Hero Override (padding調整のみ、text-alignは共通のcenterを継承) --- */

/* --- Comparison YouTube中央揃え --- */
.proofig-page .pf-comparison-table-wrap iframe { display: block; margin: 0 auto; }

/* --- Pricing Cards --- */
.proofig-page .pf-pricing { padding: 40px 0 80px; background: #f9f4fc; }
.proofig-page .pf-pricing-grid {
    display: grid; grid-template-columns: 2fr 3fr; gap: 32px;
    max-width: 900px; margin: 0 auto;
}
.proofig-page .pf-plan-card {
    background: #fff; border: 1px solid #f9f4fc;
    border-radius: 12px; padding: 36px 28px; text-align: center;
    display: flex; flex-direction: column;
}
.proofig-page .pf-plan-card h3 {
    font-size: 22px; font-weight: 700; color: #4A154B; margin-bottom: 12px;
}
.proofig-page .pf-plan-card .pf-plan-desc {
    font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 20px; min-height: 60px;
}
.proofig-page .pf-plan-card .pf-plan-license {
    font-size: 13px; color: #888; margin-bottom: 16px; font-weight: 600;
}
.proofig-page .pf-plan-card .pf-plan-price-note {
    font-size: 15px; color: #333; margin-bottom: 24px; line-height: 1.6; flex-grow: 1;
}
.proofig-page .pf-price-table {
    width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px;
}
.proofig-page .pf-price-table th {
    background: #f9f4fc; color: #333;
    padding: 10px 8px; font-weight: 600; font-size: 13px;
    border-bottom: 2px solid #E8DFED;
}
.proofig-page .pf-price-table td {
    padding: 10px 8px; border-bottom: 1px solid #f9f4fc; color: #666;
}
.proofig-page .pf-price-table .pf-discount { color: #9602C7; font-weight: 600; }
.proofig-page .pf-plan-list {
    list-style: disc; text-align: left; padding-left: 20px;
    margin: 0 0 24px; flex-grow: 1;
}
.proofig-page .pf-plan-list li {
    font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 8px;
}
.proofig-page .pf-plan-link {
    margin-top: auto; display: block; text-align: center;
    color: #9602C7; font-weight: 600; font-size: 15px; text-decoration: underline;
    padding-top: 16px;
}
.proofig-page .pf-plan-link:hover { color: #7a2ca0; }
.proofig-page .pf-plan-card .pf-btn { margin-top: auto; width: 100%; }
.proofig-page .pf-ambassador { margin-top: 36px; text-align: center; }
.proofig-page .pf-ambassador a {
    color: #9602C7; font-weight: 600; font-size: 16px; text-decoration: underline;
}
.proofig-page .pf-ambassador a:hover { color: #7a2ca0; }

/* --- Definitions --- */
.proofig-page .pf-definitions { padding: 48px 0; background: #fff; }
.proofig-page .pf-def-box {
    max-width: 800px; margin: 0 auto; padding: 24px;
    background: #f9f4fc; border-radius: 12px; margin-bottom: 16px;
}
.proofig-page .pf-def-box h4 {
    font-size: 15px; font-weight: 700; color: #9602C7; margin-bottom: 8px;
}
.proofig-page .pf-def-box p { font-size: 14px; color: #666; line-height: 1.7; }

/* --- Comparison Table --- */
.proofig-page .pf-comparison { padding: 80px 0; background: #f9f4fc; }
.proofig-page .pf-comparison-table-wrap {
    max-width: 1000px; margin: 0 auto;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.proofig-page .pf-comparison-table {
    width: 100%; border-collapse: collapse; background: #fff;
    border-radius: 12px; overflow: hidden;
    box-shadow: 9px 9px 9px rgba(0, 0, 0, 0.13);
}
.proofig-page .pf-comparison-table th,
.proofig-page .pf-comparison-table td {
    padding: 14px 16px; text-align: left; font-size: 14px;
    border-bottom: 1px solid #f9f4fc;
}
.proofig-page .pf-comparison-table thead th {
    background: #9602C7; color: #fff;
    font-weight: 700; font-size: 15px; text-align: center;
    position: sticky; top: 0;
}
.proofig-page .pf-comparison-table thead th:first-child { text-align: left; }
.proofig-page .pf-comparison-table .pf-section-row td {
    background: #E8DFED; font-weight: 700;
    color: #4A154B; font-size: 14px;
    border-bottom: 2px solid #A465AC;
}
.proofig-page .pf-comparison-table td:not(:first-child) { text-align: center; }
.proofig-page .pf-comparison-table td:first-child { color: #333; font-weight: 500; }
.proofig-page .pf-check { color: #9602C7; font-weight: 700; font-size: 18px; }
.proofig-page .pf-dash { color: #abb8c3; }

/* --- Pricing Responsive --- */
@media (max-width: 900px) {
    .proofig-page .pf-pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .proofig-page .pf-trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .proofig-page .pf-comparison-table th,
    .proofig-page .pf-comparison-table td { padding: 10px 8px; font-size: 13px; }
}


/* ========================================
   5. FAQ ページ固有
   ======================================== */

/* --- FAQ Categories --- */
.proofig-page .pf-faq-section { padding: 60px 0; }
.proofig-page .pf-faq-section:nth-child(odd) { background: #fff; }
.proofig-page .pf-faq-section:nth-child(even) { background: #f9f4fc; }

.proofig-page .pf-faq-category-title {
    font-size: 24px; font-weight: 700; color: #9602C7;
    margin-bottom: 28px; padding-bottom: 12px;
    border-bottom: 3px solid #E8DFED;
}

/* --- FAQ Responsive --- */
@media (max-width: 600px) {
    .proofig-page .pf-faq-category-title { font-size: 20px; }
    .proofig-page .pf-faq-item { padding: 0 12px; }
}
