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

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

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

    --card: #ffffff;

    --radius: 14px;
    --shadow: 0 10px 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/jp/sales/jp_sales_bg.webp') no-repeat center center fixed;
    background-size: cover;
}

/* 背景の白フィルター（可読性UP） */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(rgba(255, 255, 255, 0.5),
            rgba(255, 255, 255, 0.3));
}

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

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

.section:nth-child(even) {
    background: rgba(248, 250, 252, 0.85);
    /* ← 半透明で背景を活かす */
    backdrop-filter: blur(2px);
}

.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, 54px);
    line-height: 1.2;
    margin-bottom: 20px;
}

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

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

p {
    color: var(--muted);
    font-size: 16px;
}

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

.hero .sub {
    font-size: 18px;
}

/* HERO VISUAL */
.hero-visual {
    margin-top: 50px;

    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    gap: 24px;

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

.hero-box {
    background: rgba(255, 255, 255, 0.95);
    /* ← 背景透け対策 */
    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: 26px;
    margin-top: 6px;
}

.result {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.hero-left::after,
.hero-right::after {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
    text-align: right;
}

.hero-left::after {
    content: "人力・連携がとれていない業務";
}

.hero-right::after {
    content: "システムによって効率化された状態";
}

/* CTA */
.cta {
    margin-top: 40px;
}

/* BUTTON */
.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
}

/* LIST */
ul {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

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

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

/* CARD */
.card {
    background: rgba(255, 255, 255, 0.95);
    /* ← 背景透け対策 */
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: 0.25s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.card-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.card-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

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

/* CTA SECTION */
.section:last-of-type {
    text-align: center;
}

/* HIGHLIGHT */
.highlight {
    color: var(--primary);
    font-weight: 700;
}

/* MOBILE */
@media (max-width: 768px) {

    .hero {
        padding: 90px 0 70px;
    }

    .hero-visual {
        grid-template-columns: 1fr;
    }

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

    h1 {
        font-size: 32px;
    }

    .section {
        padding: 70px 0;
    }

    .cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 12px;
        border-top: 1px solid var(--line);
        z-index: 1000;
        text-align: center;
    }

    .btn-primary {
        width: 90%;
    }
}