:root {
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --line: #e5e7eb;

    --text: #0f172a;
    --muted: #6b7280;

    --primary: #2563eb;
    --secondary: #1d4ed8;

    --card: #ffffff;

    --radius: 14px;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* RESET */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.7;

    background: url('/assets/blue_bg.webp') no-repeat center center fixed;
    background-size: cover;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    z-index: -1;
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* SECTION */
.section {
    padding: 90px 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--bg-alt);
}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: var(--line);
}

/* TYPO */
h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 16px;
}

h2 {
    font-size: clamp(26px, 3vw, 36px);
    margin-bottom: 20px;
}

h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

p {
    color: var(--muted);
}

/* HERO */
.hero {
    text-align: center;
    padding: 120px 0 80px;
}

/* HERO DEMO GIF */
.hero-demo img {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 40px;
}

/* ===== HERO VISUAL（安定版） ===== */
.hero-visual {
    margin-top: 50px;

    display: grid;
    grid-template-columns: 1fr 140px 1fr;
    align-items: stretch;
    gap: 24px;

    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-box {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* 左：ファイル群 */
.file-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file {
    height: 10px;
    background: #dbeafe;
    border-radius: 4px;
}

/* 中央 */
.hero-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
}

/* 矢印 */
.arrow {
    font-size: 28px;
    margin-top: 6px;
}

/* 右：結果 */
.result {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-item {
    height: 12px;
    background: var(--primary);
    border-radius: 4px;
}

/* ラベル */
.hero-left::after,
.hero-right::after {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted);
    text-align: right;
}

.hero-left::after {
    content: "200 files";
}

.hero-right::after {
    content: "10 important files";
}

/* CTA */
.cta {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 16px 28px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.btn-primary {
    background: var(--primary);
}

.btn-secondary {
    background: var(--secondary);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* GRID */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

/* CARD */
.card {
    background: var(--card);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* PRICING */
.pricing-card {
    text-align: center;
    border: 2px solid var(--primary);
}

.pricing-card ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
    text-align: left;
}

.pricing-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

.price {
    font-size: clamp(28px, 6vw, 40px);
    font-weight: 700;
    margin: 20px 0;
}

/* FAQ */
.faq-item {
    margin-bottom: 24px;
}

.faq-item h3 {
    font-weight: 600;
}

.faq-item p {
    color: var(--text);
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-visual {
        grid-template-columns: 1fr;
    }

    .hero-center {
        flex-direction: row;
        gap: 10px;
    }

    .cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 12px;
        border-top: 1px solid var(--line);
        z-index: 1000;
        flex-direction: row;
        justify-content: space-around;
    }

    .card,
    .pricing-card {
        padding: 20px;
    }

    h1 {
        font-size: clamp(28px, 6vw, 44px);
    }

    h2 {
        font-size: clamp(22px, 4vw, 32px);
    }

    .price {
        font-size: clamp(24px, 8vw, 36px);
    }
}

/* 強調 */
.highlight {
    color: var(--primary);
    font-weight: 600;
}

/* IMAGE OPTIMIZATION FOR SEO */
.before-after img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}