/* Post Eraser - Stylesheet */

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1d9bf0;
    --primary-dark: #1a8cd8;
    --primary-deep: #1570b8;
    --accent: #f59e0b;
    --accent-dark: #b45309;
    --accent-soft: #fef3c7;
    --indigo: #6366f1;
    --purple: #a855f7;
    --danger: #dc2626;
    --success: #15803d;
    --warning: #c2410c;
    --bg: #ffffff;
    --bg-alt: #f1f5f9;        /* 可視レベルの薄灰 */
    --bg-soft: #f8fafc;
    --bg-blue: #e9f2fd;       /* 薄青セクション用 */
    --bg-dark: #0f172a;       /* dark セクション用 */
    --text: #0f172a;          /* ほぼ黒 */
    --text-muted: #1f2937;    /* 濃いグレー（可読性確保） */
    --text-soft: #374151;     /* 二次情報の最も薄いトーン */
    --border: #0f172a;        /* 黒基調の枠線 */
    --border-soft: #1f2937;   /* 二次的な枠線・区切り */
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.10), 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow: 0 4px 12px rgba(15, 23, 42, 0.12), 0 2px 4px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-brand: 0 8px 24px rgba(29, 155, 240, 0.28), 0 2px 6px rgba(29, 155, 240, 0.18);
    --shadow-popular: 0 10px 40px rgba(99, 102, 241, 0.32), 0 2px 8px rgba(99, 102, 241, 0.16);
    --shadow-accent: 0 6px 18px rgba(245, 158, 11, 0.35);
    /* 主要CTA（btn-primary）のみ許可するブランドグラデ */
    --gradient-brand: linear-gradient(135deg, #1d9bf0 0%, #6366f1 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.75;
    font-size: 18.5px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Header === */
.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
}
.logo:hover { text-decoration: none; }
.logo-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 180px;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}
.nav-user {
    color: var(--text-muted);
    font-size: 15.5px;
}
.nav-link {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 6px 2px;
    transition: color 0.15s ease;
}
.nav-link:hover {
    color: var(--text);
    text-decoration: none;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 0;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.18s ease;
}
.nav-link:hover::after {
    transform: scaleX(1);
}
.nav-divider {
    width: 1px;
    height: 22px;
    background: var(--border);
}
.nav-cta {
    margin-left: 4px;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.nav-toggle:hover { background: var(--bg-alt); }
.nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* === Buttons === */
.btn {
    display: inline-block;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
    padding: 10px 24px;
    letter-spacing: 0.01em;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(29, 155, 240, 0.28), 0 4px 8px rgba(29, 155, 240, 0.12);
}
.btn-primary:active {
    transform: translateY(0);
}
.btn-secondary { background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); }
.btn-outline { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-sm { padding: 6px 14px; font-size: 14.5px; }
.btn-lg { padding: 14px 32px; font-size: 18px; }
.btn-xl { padding: 18px 44px; font-size: 19px; border-radius: 10px; }

/* === Hero === */
.hero {
    position: relative;
    text-align: center;
    padding: 96px 20px 80px;
    background: var(--bg-blue);
    border-bottom: 2px solid var(--text);
    overflow: hidden;
}
.hero-bg { display: none; }
.hero-inner {
    position: relative;
    z-index: 1;
}
.hero-eyebrow {
    display: inline-block;
    background: #ffffff;
    color: var(--primary-deep);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--text);
    margin-bottom: 20px;
}
.hero-title {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    color: var(--text);
}
.hero-sub {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Price Callout (主役級) */
.hero-price-callout {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 22px;
    padding: 26px 42px 28px;
    margin: 8px 0 28px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
}
.hero-price-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-price-main {
    display: inline-flex;
    align-items: baseline;
}
.hero-price-figure {
    font-size: 103px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--primary-deep);
}
.hero-price-figure .yen {
    font-size: 54px;
    margin-right: 3px;
    vertical-align: 8px;
}
.hero-price-meta {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-bottom: 10px;
}
.hero-price-from {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-muted);
    line-height: 1;
}
.hero-price-count {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.005em;
}
.hero-price-pill {
    display: inline-block;
    font-size: 13.5px;
    font-weight: 800;
    color: #fff;
    background: var(--accent);
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.32);
}
.hero-price-tagline {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
    text-align: center;
    max-width: 520px;
}
.hero-price-tagline .hero-price-min {
    color: var(--text);
    font-weight: 700;
}
.hero-price-tagline strong {
    color: var(--accent-dark);
    font-weight: 900;
    font-size: 20px;
    vertical-align: -1px;
    margin: 0 2px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.feature-tag {
    background: #fff;
    color: var(--text);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 15.5px;
    font-weight: 700;
    border: 1.5px solid var(--text);
}
.hero-note {
    margin-top: 18px;
    font-size: 15.5px;
    color: var(--text-muted);
}

/* === Back to Top button === */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.22);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 90;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
}
.back-to-top[hidden] { display: inline-flex; }
.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover {
    box-shadow: 0 12px 28px rgba(29, 155, 240, 0.45), 0 4px 10px rgba(15, 20, 25, 0.12);
    transform: translateY(-2px);
}
.back-to-top:focus-visible {
    outline: 3px solid rgba(29, 155, 240, 0.45);
    outline-offset: 3px;
}
@media (max-width: 640px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        right: 14px;
        bottom: 14px;
    }
}

/* === Sample dashboard banner === */
.sample-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    margin: 24px 0 16px;
    border: 1px solid rgba(245, 158, 11, 0.4);
    background: #fffbeb;
    border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
}
.sample-banner-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    border: 2px solid var(--accent-dark);
}
.sample-banner-body {
    flex: 1;
    font-size: 16px;
    line-height: 1.75;
    color: #7c2d12;
}
.sample-banner-body strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #7c2d12;
    margin-bottom: 2px;
}
.sample-banner-cta {
    flex-shrink: 0;
}

/* ブックマーク促進ブロック */
.sample-bookmark {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    margin: 0 0 28px;
    background: #ffffff;
    border: 1.5px dashed var(--text);
    border-radius: var(--radius-sm);
}
.sample-bookmark-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--primary-deep);
}
.sample-bookmark-body {
    flex: 1;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-muted);
}
.sample-bookmark-body strong {
    display: block;
    font-size: 17.5px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2px;
}

.sample-inline-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: #fef3c7;
    color: #7c2d12;
    vertical-align: 2px;
    border: 1px solid var(--accent-dark);
}
.sample-note-row {
    margin: -6px 0 12px !important;
    font-size: 15.5px !important;
    color: var(--accent-dark) !important;
    font-weight: 600;
}
.sample-frozen {
    position: relative;
    opacity: 0.78;
    pointer-events: auto;
}
.sample-frozen input[type="email"],
.sample-frozen input[type="file"],
.sample-frozen button {
    cursor: not-allowed;
}
.sample-footer-cta {
    margin: 48px auto 32px;
    padding: 32px 28px;
    text-align: center;
    background: var(--bg-blue);
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.06);
}
.sample-footer-cta p {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.75;
}
@media (max-width: 640px) {
    .sample-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }
    .sample-banner-cta { width: 100%; text-align: center; }
    .sample-bookmark {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .sample-footer-cta { padding: 24px 18px; }
}

/* === Flow section sample CTA === */
.flow-sample-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 820px;
    margin: 48px auto 0;
    padding: 20px 26px;
    background: #ffffff;
    border: 2px dashed var(--text);
    border-radius: var(--radius);
}
.flow-sample-cta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}
.flow-sample-cta-text strong {
    color: var(--text);
    font-weight: 800;
    font-size: 18px;
}
.flow-sample-cta .btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
@media (max-width: 640px) {
    .flow-sample-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 14px;
        padding: 18px;
    }
    .flow-sample-cta-text { align-items: center; }
}

/* === Flow Section (Hero 直後の使い方図解) === */
.section-flow {
    padding-top: 80px;
    padding-bottom: 80px;
    background: #ffffff;
    border-top: 1px solid var(--border-soft);
}
.flow {
    list-style: none;
    padding: 0;
    margin: 48px auto 0;
    max-width: 1120px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 36px 28px;
}
.flow-step {
    flex: 1 1 180px;
    min-width: 160px;
    max-width: 220px;
    display: flex;
}
.flow-step-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 18px 18px;
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.flow-step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(29, 155, 240, 0.25);
}
.flow-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--primary-deep);
    font-size: 14px;
    font-weight: 800;
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    border: 1.5px solid var(--primary);
    box-shadow: none;
}
.flow-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--bg-blue);
    color: var(--primary-deep);
    margin-top: 6px;
    flex-shrink: 0;
    border: 1px solid rgba(29, 155, 240, 0.22);
}
.flow-step-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.4;
    letter-spacing: -0.005em;
    margin: 0;
}
.flow-step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}
.flow-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex: 0 0 auto;
    padding: 0 2px;
}

/* Final step emphasis */
.flow-step-final .flow-step-card {
    background: #fffbeb;
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.16);
}
.flow-step-final .flow-step-num {
    background: #fffbeb;
    color: var(--accent-dark);
    border-color: var(--accent);
    box-shadow: none;
}
.flow-step-final .flow-step-icon {
    background: #fef3c7;
    color: var(--accent-dark);
    border-color: rgba(245, 158, 11, 0.35);
}
.flow-step-badge {
    display: inline-block;
    font-size: 17px;
    font-weight: 800;
    color: var(--accent-dark);
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    padding: 15px 34px;
    border-radius: 999px;
    letter-spacing: 0.08em;
    margin-top: 12px;
}

/* === LP Sections === */
.section-lp {
    padding: 88px 20px;
    position: relative;
}
.section-alt {
    background: var(--bg-alt);
    border-top: 2px solid var(--text);
}
.section-pricing {
    background: #ffffff;
    border-top: 2px solid var(--text);
}
#faq.section-lp {
    background: var(--bg-alt);
    border-top: 2px solid var(--text);
}

/* === Contact section === */
.section-contact {
    background: var(--bg-blue);
    border-top: 2px solid var(--text);
    position: relative;
    /* ページロード時に #contact アンカーへジャンプしたとき、sticky ヘッダ(60px)に隠れないよう余白を取る */
    scroll-margin-top: 80px;
}
.section-contact .container {
    text-align: center;
}
.contact-eyebrow {
    background: #ffffff !important;
    color: var(--primary-deep) !important;
    border-color: var(--text) !important;
}
.contact-card {
    max-width: 640px;
    margin: 40px auto 0;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 32px 28px;
    box-shadow: var(--shadow);
    text-align: left;
    position: relative;
}

/* === Contact form === */
.contact-form-wrap {
    max-width: 680px;
    margin: 40px auto 0;
    text-align: left;
}
.contact-form {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-row label {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-row label .req {
    display: inline-block;
    background: var(--danger);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.05em;
}
.form-row label .opt {
    display: inline-block;
    background: rgba(15, 23, 42, 0.08);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.05em;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea,
.form-row select {
    font-family: inherit;
    font-size: 18px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row select {
    /* select 要素はブラウザ既定の矢印 + 一貫したパディング */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%230f172a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    padding-right: 38px;
    cursor: pointer;
}
.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.2);
}
.form-row textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.7;
}
.form-hint {
    font-size: 14.5px;
    color: var(--text-muted);
}
/* ハニーポット：画面・タブ移動・スクリーンリーダーから完全に隠す */
.form-hp {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.form-submit {
    text-align: center;
    margin-top: 8px;
}
.form-submit .btn {
    min-width: 200px;
}
.form-footer-note {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 4px 0 0;
    padding-top: 14px;
    border-top: 1px dashed rgba(15, 23, 42, 0.22);
}
.form-footer-note a {
    color: var(--primary-deep);
    font-weight: 700;
    text-decoration: underline;
}
.form-notice {
    margin-bottom: 24px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    line-height: 1.7;
    border: 1px solid rgba(15, 23, 42, 0.14);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    text-align: left;
    /* 自動フェードアウト用のトランジション（.is-hiding 付与時に発火） */
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.form-notice.is-hiding {
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
}
.form-notice strong {
    display: block;
    font-size: 17.5px;
    font-weight: 800;
    margin-bottom: 4px;
}
.form-notice-success {
    background: #dcfce7;
    color: #14532d;
    border-color: #4ade80;
    box-shadow: 0 4px 14px rgba(20, 83, 45, 0.18);
    animation: contact-success-pop 0.35s ease-out;
}
@keyframes contact-success-pop {
    0%   { opacity: 0; transform: translateY(-6px); }
    100% { opacity: 1; transform: translateY(0); }
}
.form-notice-error {
    background: #fee2e2;
    color: #7f1d1d;
}
.form-error-list {
    margin: 8px 0 0;
    padding-left: 20px;
}
.form-error-list li {
    font-size: 15.5px;
    line-height: 1.7;
    color: #7f1d1d;
}
@media (max-width: 640px) {
    .contact-form { padding: 24px 18px; }
    .form-row label { font-size: 15.5px; }
    .form-row input[type="text"],
    .form-row input[type="email"],
    .form-row textarea { font-size: 17.5px; padding: 10px 12px; }
}

/* === Contact confirm / complete pages === */
.contact-state {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 20px 72px;
}
.contact-state h1 {
    font-size: 31.5px;
    font-weight: 900;
    letter-spacing: -0.015em;
    color: var(--text);
    margin: 0 0 18px;
}
.contact-state-lead {
    font-size: 17.5px;
    color: var(--text-muted);
    line-height: 1.85;
    margin: 0 0 24px;
}
.contact-state-lead strong {
    color: var(--text);
    font-weight: 800;
}
.contact-state-box {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
}
.contact-state-box p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.85;
    margin: 0 0 10px;
}
.contact-state-box p:last-child { margin-bottom: 0; }

.contact-confirm-list {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-lg);
    padding: 26px 30px;
    margin: 0 0 24px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 14px 20px;
    align-items: start;
}
.contact-confirm-list dt {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    padding-top: 2px;
    letter-spacing: 0.02em;
}
.contact-confirm-list dd {
    margin: 0;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.85;
    word-break: break-word;
    white-space: pre-wrap;
}
.contact-confirm-list dd.is-email {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    font-size: 15.5px;
    word-break: break-all;
}
.contact-confirm-note {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0 0 18px;
    min-height: 1.4em;
}
.contact-confirm-note.is-error {
    color: #b91c1c;
    font-weight: 700;
}
.contact-state-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.contact-state-actions .btn { min-width: 140px; }
@media (max-width: 640px) {
    .contact-state { padding: 40px 16px 56px; }
    .contact-state h1 { font-size: 24.5px; }
    .contact-confirm-list {
        grid-template-columns: 1fr;
        gap: 4px 0;
        padding: 22px 18px;
    }
    .contact-confirm-list dt {
        padding-top: 10px;
    }
    .contact-confirm-list dt:first-child { padding-top: 0; }
    .contact-state-box { padding: 22px 18px; }
    .contact-state-actions { flex-direction: column-reverse; }
    .contact-state-actions .btn { width: 100%; }
}

/* === Final CTA banner === */
.section-cta-final {
    position: relative;
    padding: 88px 20px;
    background: var(--bg-dark);
    color: #ffffff;
    border-top: 2px solid var(--text);
    overflow: hidden;
}
.section-cta-final-bg { display: none; }
.section-cta-final .container {
    position: relative;
    z-index: 1;
}
.section-cta-final .cta-section h2 {
    color: #ffffff;
    font-size: 40.5px;
    font-weight: 900;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
}
.section-cta-final .cta-lead {
    color: #e5e7eb;
    font-size: 19px;
    margin-bottom: 28px;
}
.section-cta-final .cta-final-btn.btn-primary {
    background: #ffffff;
    color: var(--primary-deep);
    font-weight: 900;
    border: 2px solid #ffffff;
    box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 0.35);
}
.section-cta-final .cta-final-btn.btn-primary:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}
.section-cta-final .cta-note {
    color: #cbd5e1;
    margin-top: 18px;
}
.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 14px;
    letter-spacing: -0.015em;
    color: var(--text);
}
.section-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 48px;
    font-size: 18px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.feature-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius);
    padding: 32px 22px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: rgba(29, 155, 240, 0.25);
}
.feature-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-blue);
    margin-bottom: 16px;
    border: 1px solid rgba(29, 155, 240, 0.22);
}
.feature-icon {
    font-size: 33.5px;
    line-height: 1;
}
.feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text);
    text-align: center;
}
.feature-card p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.75;
    text-align: left;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 40px;
}
.step {
    text-align: center;
    position: relative;
}
.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 24.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(29, 155, 240, 0.28);
}
.step h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text);
}
.step p {
    font-size: 17px;
    color: var(--text-muted);
}

/* === Pricing === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 26px;
    margin-top: 44px;
    padding-top: 22px;  /* popular-badge がはみ出しても切れないよう余裕 */
    align-items: stretch;  /* 10 カード全ての高さを揃える（grid デフォルトだが明示） */
}
.pricing-card {
    background: #ffffff;
    border: 1.5px solid rgba(29, 155, 240, 0.4);
    border-radius: 18px;
    padding: 34px 22px 26px;
    text-align: center;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    /* overflow: visible が効くよう、隠さない */
    /* カード内を縦 flex にし、CTA を末尾に押し下げて 10 カードの CTA Y 座標を揃える */
    display: flex;
    flex-direction: column;
    height: 100%;
}
.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: rgba(29, 155, 240, 0.25);
}

.pricing-method {
    display: inline-block;
    font-size: 13.5px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    border: 1px solid rgba(15, 23, 42, 0.14);
}
.method-trial {
    background: var(--accent-soft);
    color: var(--accent-dark);
}
.method-normal {
    background: #dbeafe;
    color: var(--primary-deep);
}
.method-archive {
    background: #e9d5ff;
    color: #5b21b6;
}

.pricing-count {
    font-size: 22.5px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.005em;
}
.pricing-price {
    font-size: 47px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 10px;
}
.pricing-price .yen {
    font-size: 24.5px;
    margin-right: 3px;
    color: var(--text-muted);
    font-weight: 800;
    vertical-align: 4px;
}
.pricing-tax {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: -6px;
    margin-bottom: 10px;
    letter-spacing: 0.06em;
}
.pricing-unit {
    font-size: 16px;
    color: var(--text-muted);
}
.pricing-unit strong {
    color: var(--primary-deep);
    font-weight: 800;
    font-size: 18px;
}
.pricing-note {
    margin-top: 14px;
    font-size: 15px;
    color: var(--text-muted);
    padding-top: 12px;
    border-top: 1.5px dashed var(--text);
}

/* Popular card */
.pricing-popular {
    background: #ffffff;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-popular);
    transform: translateY(-6px);
    z-index: 2;
}
.pricing-popular:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.pricing-popular .pricing-price {
    color: var(--primary-deep);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 900;
    padding: 6px 20px;
    border-radius: 999px;
    letter-spacing: 0.1em;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
    white-space: nowrap;
    z-index: 3;
}

/* Trial card accent */
.pricing-trial {
    background: #fffbeb;
    border-color: #fde68a;
}

.section-eyebrow {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: #ede9fe;
    color: #6d28d9;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    border: 1px solid #ddd6fe;
}
.section-lp .section-eyebrow + .section-title {
    margin-top: 0;
}

/* === Archive Method === */
.section-archive {
    background: var(--bg-alt);
}
.section-archive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--text);
    pointer-events: none;
}
.section-archive .container {
    text-align: center;
}
.section-archive .section-title,
.section-archive .section-desc,
.section-archive .section-eyebrow {
    text-align: center;
}
.section-archive .section-desc {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
/* archive-rationale：コンテナは中央配置・段落は左寄せで読みやすく。
   見出し（.archive-rationale-title = h3）は中央揃え維持。 */
.archive-rationale {
    max-width: 820px;
    margin: 32px auto 0;
    padding: 24px 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: left;
}
.archive-rationale .archive-rationale-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 16px;
}
.archive-rationale p {
    text-align: left;
    line-height: 1.85;
    margin-bottom: 14px;
}
.archive-rationale p:last-child {
    margin-bottom: 0;
}
.archive-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 48px;
    text-align: left;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.archive-step {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.archive-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: rgba(109, 40, 217, 0.18);
}
.archive-step-final {
    background: #eef2ff;
    border-color: rgba(99, 102, 241, 0.3);
}
.archive-step-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}
.archive-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #6366f1;
    color: #fff;
    font-size: 22.5px;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3);
}
.archive-step-final .archive-step-num {
    background: var(--primary);
    box-shadow: 0 6px 18px rgba(29, 155, 240, 0.3);
}
.archive-step-head h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.005em;
    line-height: 1.4;
    margin: 0;
}
.archive-step-body {
    padding-left: 62px;
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.85;
}
.archive-step-body p {
    margin: 0 0 8px;
}
.archive-step-body p:last-child { margin-bottom: 0; }
.archive-step-body strong {
    color: var(--text);
    font-weight: 700;
}
.archive-step-body code {
    background: var(--bg-alt);
    padding: 1px 6px;
    border-radius: 4px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    font-size: 14.5px;
    color: var(--primary-deep);
    border: 1px solid var(--border-soft);
}
.archive-step-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px !important;
    padding: 10px 14px;
    background: #fef3c7;
    border-left: 3px solid var(--accent);
    border-radius: 6px;
    font-size: 14.5px;
    color: #7c2d12;
}
.archive-step-tip .tip-label {
    display: inline-block;
    font-weight: 800;
    color: var(--accent-dark);
    font-size: 13px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    padding-top: 1px;
}
.archive-filepath {
    background: #0f172a;
    color: #e2e8f0;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.75;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    overflow-x: auto;
    margin: 10px 0;
}
.archive-filepath code {
    background: transparent;
    color: inherit;
    padding: 0;
    border: none;
    font-size: inherit;
}
.archive-note {
    margin-top: 32px;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Method explanation below pricing grid */
.pricing-methods-note {
    margin-top: 40px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
}
.method-note-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.6;
}
.method-badge {
    flex-shrink: 0;
    font-size: 12.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    margin-top: 2px;
    letter-spacing: 0.03em;
}

/* Pricing card CTA button */
.pricing-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    /* 全カードで CTA を下端に揃えるため auto。pricing-card が flex-column で height:100% のため、
       カード上部コンテンツ高さの差を auto が吸収し、全カードの CTA 上端 Y 座標が一致する。 */
    margin-top: auto;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-deep);
    background: #fff;
    border: 1.5px solid var(--primary);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
    letter-spacing: 0.01em;
}
.pricing-cta:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-brand);
}
.pricing-cta:hover .pricing-cta-arrow {
    transform: translateX(2px);
}
.pricing-cta-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.15s ease;
}
.pricing-popular .pricing-cta {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-brand);
}
.pricing-popular .pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(29, 155, 240, 0.34), 0 4px 10px rgba(99, 102, 241, 0.22);
    border-color: transparent;
}
.pricing-trial .pricing-cta {
    border-color: var(--accent);
    color: var(--accent-dark);
}
.pricing-trial .pricing-cta:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
}
.pricing-flow-note {
    margin: 32px auto 0;
    max-width: 1120px;
    text-align: center;
    font-size: 18px;
    color: var(--text);
    line-height: 1.7;
    padding: 14px 24px;
    background: #ffffff;
    border: 1.5px solid var(--text);
    border-radius: var(--radius-sm);
    font-weight: 500;
}
.pricing-flow-note strong {
    color: var(--primary-deep);
    font-weight: 800;
}
@media (max-width: 720px) {
    .pricing-flow-note {
        font-size: 16px;
        line-height: 1.8;
        padding: 14px 20px;
        text-align: left;
    }
}

/* 料金セクション末尾の欄外注釈（100件プランの 1 アカウント 1 回限り・2 回目自動ブロックの明示） */
.footnote-trial-restriction {
    margin: 18px auto 0;
    max-width: 1120px;
    font-size: 13.5px;
    color: #666;
    line-height: 1.6;
    text-align: center;
}
@media (max-width: 720px) {
    .footnote-trial-restriction {
        text-align: left;
    }
}

/* CTA */
.cta-section {
    text-align: center;
    padding: 20px 0;
}
.cta-section h2 {
    font-size: 31.5px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.cta-lead {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.cta-note {
    margin-top: 16px;
    font-size: 14.5px;
    color: var(--text-soft);
}

/* === Dashboard === */
.greeting {
    color: var(--text-muted);
    margin-bottom: 24px;
}
.section {
    margin-bottom: 40px;
}
.section h2 {
    font-size: 22.5px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.text-muted {
    color: var(--text-muted);
}

/* Alert */
.alert {
    background: #e8f5fd;
    border: 1px solid #bde0f7;
    color: #0c5a97;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 15.5px;
}

/* Job Cards */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.job-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    background: var(--bg);
}
.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
}
.badge-waiting { background: #f0f0f0; color: #666; }
.badge-processing { background: #e8f5fd; color: var(--primary); }
.badge-paused { background: #fff8e1; color: #f57c00; }
.badge-completed { background: #e8f8ee; color: var(--success); }
.badge-error { background: #fde8ec; color: var(--danger); }
.job-date {
    font-size: 14.5px;
    color: var(--text-muted);
}

/* Progress Bar
 * 2026-05-27 リデザイン：
 *   - 0% 時：基調色（--primary）の枠線 + 白い中身（黒い棒に見えていた状態を解消）
 *   - 進捗時：基調色で内側を塗り、進行方向（右端）が丸い pill 形状になる
 *   - LP の dashboard.php とココナラの c/index.php の両方に適用される（同 CSS 共用）
 */
.progress-bar {
    height: 12px;
    background: #fff;
    border: 1.5px solid var(--primary);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
    box-sizing: border-box;
}
.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 999px;
    transition: width 0.3s ease;
}
.progress-text {
    font-size: 15.5px;
}
.progress-sub {
    font-size: 14.5px;
    color: var(--text-muted);
}
.job-error {
    margin-top: 8px;
    padding: 8px 12px;
    background: #fff8e1;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    color: #f57c00;
}

/* Plan Form */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.plan-card {
    cursor: pointer;
}
.plan-card input[type="radio"] {
    display: none;
}
.plan-card-inner {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 12px;
    text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.plan-card input:checked + .plan-card-inner {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}
.plan-card:hover .plan-card-inner {
    border-color: var(--primary);
}
.plan-method {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}
.plan-count {
    font-size: 15.5px;
    font-weight: 600;
    margin-bottom: 4px;
}
.plan-price {
    font-size: 22.5px;
    font-weight: 800;
    color: var(--primary);
}
.plan-unit {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Upload & Email forms */
.email-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.email-form input[type="email"] {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15.5px;
    width: 280px;
    max-width: 100%;
}

/* upload-form は新フィールド（tweets.js + 並び順 + 日付範囲 + 送信ボタン）を
   縦に並べる。各フィールド間に十分なマージンを取り、可読性を確保する。 */
.upload-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    max-width: 720px;
}
.upload-form > button[type="submit"] {
    align-self: flex-start;
}
.upload-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.upload-field-label {
    font-weight: 600;
    font-size: 15.5px;
    color: var(--text);
}
.upload-field > input[type="file"],
.upload-form > input[type="file"] {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    font-size: 15.5px;
}
.required-mark {
    color: #d33;
    margin-left: 2px;
}

/* 削除順序 fieldset（dashboard.php / sample-dashboard.php 共用） */
.sort-order-field {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin: 0;
    background: var(--bg);
}
.sort-order-field legend.upload-field-label {
    padding: 0 6px;
    font-size: 15.5px;
}
.sort-order-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    line-height: 1.6;
    cursor: pointer;
}
.sort-order-option + .sort-order-option {
    border-top: 1px solid var(--border);
}
.sort-order-option input[type="radio"] {
    flex-shrink: 0;
    margin-top: 5px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.sort-order-option > span {
    flex: 1;
    font-size: 15.5px;
    color: var(--text);
}
.sort-order-option strong {
    display: inline;
}
.date-range-inputs {
    margin-top: 12px;
    padding: 14px 16px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.date-range-inputs label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14.5px;
    color: var(--text);
    font-weight: 600;
}
.date-range-inputs input[type="date"] {
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15.5px;
    background: var(--bg);
    max-width: 220px;
}
.date-range-inputs p.text-muted {
    margin: 0;
}

.archive-guide {
    margin-bottom: 16px;
    padding: 12px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
}
.archive-guide summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 15.5px;
}
.archive-guide ol {
    margin-top: 8px;
    padding-left: 20px;
    font-size: 15.5px;
    color: var(--text-muted);
}

/* === Pages (Terms, Privacy, Tokusho) === */
.page-content {
    padding: 40px 20px;
    max-width: 720px;
}
.page-content h1 {
    font-size: 31.5px;
    margin-bottom: 8px;
}
.page-content .updated {
    color: var(--text-muted);
    font-size: 14.5px;
    margin-bottom: 24px;
}
.page-content h2 {
    font-size: 20px;
    margin-top: 28px;
    margin-bottom: 8px;
}
.page-content p, .page-content li {
    font-size: 15.5px;
    line-height: 1.8;
    color: #333;
}
.page-content ol, .page-content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}
.simple-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15.5px;
}
.simple-table th, .simple-table td {
    border: 1px solid var(--border);
    padding: 10px 14px;
    text-align: left;
}
.simple-table th {
    background: var(--bg-alt);
    font-weight: 600;
    white-space: nowrap;
}
.tokusho-table th {
    width: 180px;
}

/* === Footer === */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 20px 32px;
    margin-top: 40px;
    background: var(--bg-soft);
}
.footer-inner {
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.footer-links a {
    font-size: 14.5px;
    color: var(--text-muted);
}
.footer-copy {
    font-size: 13.5px;
    color: var(--text-soft);
}

/* === Breadcrumb === */
.breadcrumb-nav {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 10px 0;
    font-size: 14.5px;
}
.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}
.breadcrumb-item {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
}
.breadcrumb-item a {
    color: var(--text-muted);
}
.breadcrumb-item a:hover {
    color: var(--primary);
    text-decoration: underline;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    margin: 0 8px;
    color: var(--text-soft);
    font-weight: 500;
}
.breadcrumb-item [aria-current="page"] {
    color: var(--text);
    font-weight: 600;
}

/* === FAQ === */
.faq {
    max-width: 820px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}
.faq-item[open] {
    box-shadow: var(--shadow);
    border-color: rgba(29, 155, 240, 0.25);
}
.faq-item.faq-highlight {
    border-color: rgba(245, 158, 11, 0.45);
    background: #fffbeb;
}
.faq-item.faq-highlight[open] {
    box-shadow: var(--shadow-accent);
}
/* details/summary marker を全ブラウザで確実に消す */
.faq-item > summary.faq-q,
.faq-q {
    list-style: none;
    list-style-type: none;
    display: flex;
}
.faq-q::-webkit-details-marker,
summary.faq-q::-webkit-details-marker,
.faq-item > summary::-webkit-details-marker {
    display: none !important;
}
.faq-q::marker,
summary.faq-q::marker {
    content: '' !important;
    font-size: 0 !important;
    color: transparent !important;
}

.faq-q {
    align-items: flex-start;
    gap: 12px;
    padding: 18px 60px 18px 22px;
    cursor: pointer;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease;
}
.faq-q:hover {
    background: var(--bg-soft);
}
.faq-q::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--primary);
    font-size: 22.5px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.25s ease, background 0.2s ease;
}
.faq-item[open] .faq-q::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
    background: var(--primary);
    color: #fff;
}
.faq-q-mark {
    color: var(--primary);
    font-weight: 900;
    font-size: 15.5px;
    letter-spacing: 0.03em;
    padding-top: 2px;
    flex-shrink: 0;
}
.faq-item.faq-highlight .faq-q-mark {
    color: var(--accent-dark);
}
.faq-q-text { flex: 1; }
.faq-a {
    padding: 0 22px 20px;
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.85;
    border-top: 1px solid var(--border-soft);
    padding-top: 16px;
}
.faq-a p + p { margin-top: 10px; }
.faq-a strong {
    color: var(--text);
    font-weight: 700;
}
.faq-a code {
    background: var(--bg-alt);
    padding: 1px 6px;
    border-radius: 4px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    font-size: 14px;
    color: var(--text);
}

/* === Signature (目玉機能) — ダーク基調を維持、装飾グラデは廃止 === */
.section-signature {
    position: relative;
    padding: 120px 20px 104px;
    background: var(--bg-dark);
    color: #ffffff;
    overflow: hidden;
    border-top: 2px solid var(--text);
    border-bottom: 2px solid var(--text);
}
.signature-bg { display: none; }
.signature-blob,
.signature-blob-a,
.signature-blob-b,
.signature-grid { display: none; }
.section-signature .container {
    position: relative;
    z-index: 1;
}
.signature-inner {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}
.signature-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.18);
    color: #fbbf24;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 28px;
    border: 1.5px solid #fbbf24;
}
.signature-eyebrow-spark {
    color: #fbbf24;
    font-size: 17px;
}
.signature-title {
    font-size: 65px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
    color: #ffffff;
}
.signature-title .hl {
    color: #fbbf24;
    display: inline-block;
}
.signature-catch {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 16px;
}
.signature-lead {
    font-size: 18.5px;
    color: #e5e7eb;
    line-height: 1.85;
    margin: 0 auto 44px;
    max-width: 720px;
}
.signature-lead strong {
    color: #fbbf24;
    font-weight: 800;
}
.br-sp { display: none; }

/* Signature details toggle + compare pairs */
.signature-details {
    margin: 40px 0 0;
    max-width: none;
    text-align: left;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.signature-details-sum {
    cursor: pointer;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #ffffff;
    font-weight: 800;
    font-size: 17.5px;
    list-style: none;
    user-select: none;
    transition: background 0.2s ease;
}
.signature-details-sum:hover { background: rgba(255, 255, 255, 0.04); }
.signature-details-sum::-webkit-details-marker { display: none; }
.signature-details-sum::marker { content: ''; }
.signature-details-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    transition: transform 0.25s ease;
}
.signature-details[open] .signature-details-chevron {
    transform: rotate(180deg);
}
.signature-details-body {
    padding: 8px 22px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.compare-pairs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
}
.compare-pair {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.24);
    border-radius: 12px;
    padding: 18px 20px;
}
.compare-pair h4 {
    font-size: 15.5px;
    font-weight: 800;
    color: #fbbf24;
    letter-spacing: 0.04em;
    margin: 0 0 12px;
}
.compare-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 15.5px;
    color: #ffffff;
    line-height: 1.7;
}
.compare-row + .compare-row {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.compare-row strong {
    display: inline-block;
    font-weight: 800;
    margin-right: 8px;
    font-size: 14px;
    padding: 2px 10px;
    border-radius: 999px;
    letter-spacing: 0.03em;
    vertical-align: 1px;
}
.compare-row-them strong {
    background: #b91c1c;
    color: #ffffff;
    border: 1.5px solid #ef4444;
}
.compare-row-us strong {
    background: #15803d;
    color: #ffffff;
    border: 1.5px solid #22c55e;
}
.compare-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 14.5px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}
.compare-mark-x {
    background: #b91c1c;
    color: #ffffff;
    border: 1.5px solid #ef4444;
}
.compare-mark-c {
    background: #15803d;
    color: #ffffff;
    border: 1.5px solid #22c55e;
}
.signature-compare-note {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.8;
    margin-top: 18px;
}

/* Compare table */
.signature-compare {
    text-align: left;
    margin: 0 auto 64px;
    max-width: 1000px;
}
.signature-compare-head {
    text-align: center;
    margin-bottom: 36px;
}
.signature-compare-head h3 {
    font-size: 29px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.signature-compare-head p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
}
.signature-compare-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
}
.compare-col {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 28px 26px 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.compare-col-us {
    background: rgba(29, 155, 240, 0.18);
    border-color: rgba(29, 155, 240, 0.5);
    box-shadow: 0 12px 40px rgba(29, 155, 240, 0.25), 0 0 0 1px rgba(29, 155, 240, 0.1);
    position: relative;
}
.compare-col-us::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    padding: 1px;
    background: rgba(29, 155, 240, 0.6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.compare-col-head {
    margin-bottom: 18px;
    text-align: center;
}
.compare-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.compare-tag-them {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.compare-tag-us {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(29, 155, 240, 0.4);
}
.compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.compare-list li:first-child { border-top: none; padding-top: 4px; }
.compare-list strong {
    display: block;
    font-size: 15.5px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.compare-list span {
    display: block;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
}
.compare-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 15.5px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}
.compare-icon-x {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.compare-icon-check {
    background: #15803d;
    color: #fff;
    border: 1.5px solid #22c55e;
}
.compare-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    padding: 0 4px;
    position: relative;
}
.compare-vs span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.signature-compare-note {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    margin-top: 22px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

/* 3 points - upgraded */
.signature-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 8px;
    text-align: left;
}
.signature-point {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 26px 24px 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.signature-point:hover {
    transform: translateY(-3px);
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(255, 255, 255, 0.08);
}
.signature-point-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.22);
    color: #fbbf24;
    margin-bottom: 16px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}
.signature-point h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    line-height: 1.5;
    letter-spacing: -0.005em;
}
.signature-point p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

/* === Privacy highlight block === */
.privacy-highlight {
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: #fffbeb;
    border-radius: var(--radius);
    padding: 22px 24px;
    margin: 18px 0 28px;
    box-shadow: var(--shadow-xs);
}
.privacy-highlight h3 {
    font-size: 18px;
    font-weight: 800;
    color: #b45309;
    margin-bottom: 8px;
    letter-spacing: -0.005em;
}
.privacy-highlight p {
    font-size: 15.5px;
    color: #7c2d12;
    line-height: 1.85;
    margin: 0;
}
.privacy-highlight p + p { margin-top: 8px; }

/* === Responsive === */
@media (max-width: 1040px) {
    .flow {
        flex-wrap: wrap;
        gap: 12px;
    }
    .flow-step { flex: 1 1 calc(33% - 12px); min-width: 160px; max-width: none; }
    .flow-arrow { display: none; }
}

@media (max-width: 960px) {
    .hero-title { font-size: 45px; }
    .hero-price-figure { font-size: 80.5px; }
    .hero-price-figure .yen { font-size: 45px; }
    .signature-title { font-size: 49.5px; }
    .compare-pairs { grid-template-columns: 1fr; }
}

/* Nav breakpoint — hamburger below 860px */
@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }
    .header-nav {
        position: fixed;
        top: 60px;
        right: 0;
        left: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: saturate(180%) blur(16px);
        -webkit-backdrop-filter: saturate(180%) blur(16px);
        border-top: 1px solid var(--border);
        padding: 18px 24px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.2s ease;
        box-shadow: 0 12px 28px rgba(15, 20, 25, 0.08);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    .header-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .header-nav .nav-link {
        font-size: 18px;
        padding: 14px 4px;
        border-bottom: 1px solid var(--border-soft);
    }
    .header-nav .nav-link::after { display: none; }
    .header-nav .nav-link:last-of-type { border-bottom: none; }
    .nav-divider { display: none; }
    .nav-user {
        padding: 10px 4px;
        font-size: 14.5px;
    }
    .nav-cta {
        margin-top: 12px;
        text-align: center;
        padding: 12px 20px;
        font-size: 17px;
    }
    body.nav-open {
        overflow: hidden;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 64px 16px 56px;
    }
    .hero-title { font-size: 36px; }
    .hero-price-callout { padding: 20px 24px 22px; margin-bottom: 24px; }
    .hero-price-row { gap: 10px; justify-content: center; }
    .hero-price-figure { font-size: 71.5px; }
    .hero-price-figure .yen { font-size: 40.5px; vertical-align: 6px; }
    .hero-price-meta { padding-bottom: 6px; align-items: center; }
    .hero-price-from { font-size: 17px; }
    .hero-price-count { font-size: 15.5px; }
    .hero-price-pill { font-size: 12px; padding: 3px 10px; }
    .hero-price-tagline { font-size: 14.5px; }
    .hero-price-tagline strong { font-size: 18px; }
    .btn-xl { padding: 15px 32px; font-size: 18px; }

    .flow { flex-direction: column; align-items: stretch; max-width: 420px; }
    .flow-step { flex: 1 1 auto; max-width: none; min-width: 0; }
    .flow-arrow {
        display: inline-flex;
        align-self: center;
        padding: 4px 0;
        transform: rotate(90deg);
    }
    .flow-step-card { padding: 22px 18px 18px; }

    .section-lp { padding: 56px 16px; }
    .section-title { font-size: 27px; }
    .section-desc { margin-bottom: 32px; }

    .features-grid, .steps {
        gap: 16px;
    }
    .feature-card { padding: 26px 18px; }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pricing-card {
        padding: 28px 20px 22px;
    }
    .pricing-price { font-size: 38px; }
    .pricing-price .yen { font-size: 21.5px; }
    .pricing-popular {
        transform: none;
    }
    .pricing-popular:hover { transform: translateY(-3px); }

    .pricing-methods-note {
        padding: 16px 18px;
    }

    .plan-grid { grid-template-columns: repeat(2, 1fr); }
    .header-inner { height: 54px; }
    .header-nav { top: 54px; }
    .email-form input[type="email"] { width: 100%; }
    .cta-section h2 { font-size: 24.5px; }

    .contact-card { padding: 24px 20px 22px; border-radius: 14px; }
    .contact-card-mail { flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; }
    .contact-card-icon { width: 44px; height: 44px; }
    .contact-card-email { font-size: 20px; }
    .contact-notes li { font-size: 14.5px; }
    .contact-card-cta { font-size: 15.5px; padding: 12px 18px; }

    .section-cta-final { padding: 56px 16px; }
    .section-cta-final .cta-section h2 { font-size: 27px; }
    .section-cta-final .cta-lead { font-size: 16px; }

    .section-signature { padding: 72px 18px 64px; }
    .signature-title { font-size: 36px; line-height: 1.25; }
    .signature-catch { font-size: 18px; margin-bottom: 40px; }
    .signature-eyebrow { font-size: 12.5px; padding: 6px 14px; }
    .br-sp { display: inline; }

    .signature-lead { font-size: 15.5px; margin-bottom: 32px; }
    .signature-details { margin-top: 32px; }
    .signature-details-sum { padding: 14px 18px; font-size: 15px; }
    .signature-details-body { padding: 6px 16px 18px; }
    .compare-pair { padding: 14px 14px; }
    .compare-row { font-size: 14px; }
    .compare-row strong { font-size: 12.5px; padding: 2px 7px; }
    .signature-points { grid-template-columns: 1fr; }
    .signature-point { padding: 22px 20px 20px; }

    .archive-steps { gap: 14px; }
    .archive-step { padding: 22px 20px; border-radius: 14px; }
    .archive-step-head { gap: 14px; }
    .archive-step-num { width: 38px; height: 38px; font-size: 19px; }
    .archive-step-head h3 { font-size: 18px; }
    .archive-step-body { padding-left: 0; font-size: 15px; }

    .logo-img { height: 32px; max-width: 150px; }
    .faq-q { font-size: 15.5px; padding: 16px 48px 16px 18px; }
    .faq-a { font-size: 15px; padding: 14px 18px 16px; }
    .faq-q::after { right: 14px; width: 26px; height: 26px; font-size: 20px; }
}

/* CTA disabled state (launch prep). Removable in one block on restore. */
.disabled-cta { cursor: not-allowed; opacity: 0.6; background-color: #999 !important; pointer-events: none; }
.cta-disabled-notice { background: #fff4d6; color: #7a5c00; padding: 16px 24px; border-radius: 8px; text-align: center; font-weight: bold; margin-bottom: 32px; border: 1px solid #f0d97a; }

/* === Features two-column layout (特徴 / こんな方におすすめ) === */
#features.section-lp { background: #f6f8fb; }
.features-twocol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
    align-items: stretch;
}
.features-col {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
    border: 1px solid #dbeafe;
    border-radius: 20px;
    padding: 32px 28px 36px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}
.features-col--audience {
    background: linear-gradient(180deg, #fff7ed 0%, #fffbeb 100%);
    border-color: #fde68a;
}
.features-col-subtitle {
    font-size: 21.5px;
    font-weight: 800;
    color: var(--text);
    text-align: center;
    margin: 0 0 22px;
    padding-bottom: 12px;
    letter-spacing: -0.005em;
    position: relative;
}
.features-col-subtitle::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin: 10px auto 0;
}
.features-col--audience .features-col-subtitle::after {
    background: #f59e0b;
}
.features-grid--compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 0;
    flex: 1;
}
.feature-icon-wrap--warm {
    background: #fef3c7;
    border-color: rgba(245, 158, 11, 0.35);
}
@media (max-width: 960px) {
    .features-twocol { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
    .features-grid--compact { grid-template-columns: 1fr; }
}

/* === Step-card flow (3-step cards with arrows) === */
.steps-flow {
    list-style: none;
    padding: 0;
    margin: 40px auto 0;
    max-width: 1040px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
}
.step-card {
    flex: 1 1 260px;
    min-width: 220px;
    max-width: 320px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius);
    padding: 32px 22px 26px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.step-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: rgba(29, 155, 240, 0.25);
}
.step-card-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 22.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(29, 155, 240, 0.28);
}
.step-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    text-align: center;
}
.step-card p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.75;
    text-align: left;
    margin: 0;
    align-self: stretch;
}
.step-card-arrow {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex: 0 0 auto;
    padding: 0 4px;
}
@media (max-width: 820px) {
    .steps-flow { flex-direction: column; align-items: stretch; max-width: 480px; }
    .step-card { flex: 1 1 auto; max-width: none; min-width: 0; }
    .step-card-arrow { transform: rotate(90deg); align-self: center; padding: 6px 0; }
}

/* === Body-prose text-align: left overrides (keep titles/sub-heads centered) === */
.archive-note,
.archive-note p { text-align: left; }
.flow-step-card p { text-align: left; }
.faq-a { text-align: left; }
.hero-sub { text-align: left; }
.hero-note { text-align: left; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-cta-final .cta-lead,
.section-cta-final .cta-note { text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; }
.pricing-flow-note { text-align: left; }

/* === お知らせ + 利用者数セクション（既存「ご利用の流れ 3ステップ簡略版」を置換） === */
.section-news-stats {
    padding: 80px 20px;
    background: var(--bg-soft);
    /* 固定ヘッダー（site-header height: 60px）+ 余白を考慮し、
       ナビ「お知らせ」クリック時にセクション上端が画面に余裕を持って表示される */
    scroll-margin-top: 80px;
}
.section-news-stats .container { margin-bottom: 32px; }
.section-news-stats .section-title { margin-bottom: 8px; }
.news-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
    max-width: 720px;
    margin: 0 auto;
}
@media (max-width: 820px) {
    .news-stats-grid { gap: 20px; }
    .section-news-stats { padding: 56px 16px; }
}

.ns-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 26px 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.ns-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 16px;
}
.ns-card-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.01em;
}
.ns-card-eyebrow {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--primary-deep);
    text-transform: uppercase;
}

.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li + li { border-top: 1px solid #eef2f7; }
.news-list li a {
    display: block;
    padding: 14px 0;
    color: var(--text);
    text-decoration: none;
    transition: color .15s ease;
}
.news-list li a:hover { color: var(--primary); text-decoration: none; }
.news-list .news-date {
    display: inline-block;
    font-size: 13.5px;
    color: var(--text-soft);
    font-variant-numeric: tabular-nums;
    margin-bottom: 4px;
}
.news-list .news-title {
    display: block;
    font-size: 17.5px;
    font-weight: 600;
    line-height: 1.55;
}
.news-list .news-excerpt {
    display: block;
    margin-top: 4px;
    font-size: 14.5px;
    color: var(--text-soft);
    line-height: 1.6;
}
.news-empty {
    padding: 28px 0;
    color: var(--text-soft);
    font-size: 15.5px;
    text-align: center;
}
.news-more {
    margin-top: 16px;
    text-align: right;
}
.news-more a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}
.news-more a:hover { text-decoration: underline; }
