/* =========================================================================
   岡山LP — Shell System Corporation
   AIパートナーとしてのトーン: teal (primary) + violet (AI accent)
   ========================================================================= */

:root {
    --color-primary: #00A4B3;        /* brand cyan */
    --color-primary-dark: #007E8A;   /* darker cyan */
    --color-primary-soft: #c2faff;   /* light cyan */
    --color-accent: #7c3aed;         /* violet-600 (AI feel) */
    --color-accent-dark: #6d28d9;    /* violet-700 */
    --color-accent-soft: #ede9fe;    /* violet-100 */
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;         /* slate-50 */
    --color-bg-deep: #0f172a;        /* slate-900 */
    --color-text: #1f2937;           /* gray-800 */
    --color-text-soft: #4b5563;      /* gray-600 */
    --color-text-muted: #6b7280;     /* gray-500 */
    --color-border: #e5e7eb;         /* gray-200 */
    --color-border-soft: #f1f5f9;    /* slate-100 */

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, 0.18);

    --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;

    --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.hide-sm { display: inline; }

/* skip link for a11y */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: fixed;
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 12px 16px;
    background: var(--color-primary);
    color: #fff;
    z-index: 1000;
    border-radius: var(--radius-sm);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--color-border-soft);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
    gap: 20px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--color-text);
}
.logo:hover { text-decoration: none; opacity: 0.85; }
.logo-img {
    height: 42px;
    width: auto;
    display: block;
}
.logo-tagline {
    font-size: 14px;
    color: var(--color-text-soft);
    font-weight: 700;
    padding-left: 16px;
    border-left: 1px solid var(--color-border);
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.site-nav ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    gap: 30px;
}
.site-nav a {
    color: var(--color-text);
    font-size: 15px;
    font-weight: 600;
}
.site-nav a:hover { color: var(--color-primary-dark); text-decoration: none; }
.nav-external {
    color: var(--color-text-soft) !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nav-external::after {
    content: "↗";
    font-size: 0.9em;
    opacity: 0.7;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav-external:hover {
    color: var(--color-primary-dark) !important;
}
.nav-external:hover::after {
    transform: translate(2px, -2px);
    opacity: 1;
}
.nav-cta {
    background: var(--color-primary);
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
}
.nav-cta:hover { background: var(--color-primary-dark); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; overflow: hidden; isolation: isolate; }

/* Hero 背景画像を入れる用のレイヤー。
   差し替え方: 下記 .hero-bg-image の `background-image` をコメント解除し、
   実画像のパス（例: assets/images/hero-bg.webp）を指定する。 */
.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-image: url('../images/hero-bg.webp'); */
}

/* グラデーションオーバーレイ（背景画像の上に重ねて文字の可読性を担保する）。
   画像が無い間も、これ単体で背景として成立するよう調整。 */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 60% at 100% 0%, rgba(124, 58, 237, 0.20) 0%, transparent 60%),
        radial-gradient(60% 60% at 0% 100%, rgba(0, 164, 179, 0.22) 0%, transparent 60%),
        radial-gradient(40% 40% at 50% 50%, rgba(167, 139, 250, 0.10) 0%, transparent 70%),
        linear-gradient(180deg, #f0fdfa 0%, #faf5ff 50%, #ffffff 100%);
}

/* 画像を入れた際のオーバーレイ強度プリセット。
   .hero に .hero-with-image クラスを付与すると、白〜soft tint の半透明レイヤーで読みやすさを確保 */
.hero.hero-with-image .hero-bg {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.62) 50%, rgba(255, 255, 255, 0.78) 100%),
        radial-gradient(60% 60% at 100% 0%, rgba(124, 58, 237, 0.18) 0%, transparent 60%),
        radial-gradient(60% 60% at 0% 100%, rgba(0, 164, 179, 0.18) 0%, transparent 60%);
}
.hero-inner {
    padding: 88px 24px 96px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
@media (min-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 56px;
    }
}
.hero-text { text-align: left; }
.hero-eyebrow {
    display: inline-block;
    margin: 0 0 24px;
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.10), rgba(0, 164, 179, 0.10));
    border: 1px solid rgba(124, 58, 237, 0.20);
    color: var(--color-accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
}
.hero-title {
    margin: 0 0 24px;
    font-size: clamp(28px, 4.4vw, 46px);
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.hero-title .accent {
    background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lead {
    margin: 0 0 32px;
    max-width: 600px;
    font-size: clamp(14.5px, 1.4vw, 16px);
    color: var(--color-text-soft);
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}
.hero-visual {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    perspective: 1200px;
    perspective-origin: 50% 50%;
}
.hero-visual svg {
    width: 100%;
    height: auto;
    display: block;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* === Hero Animations === */
@keyframes heroEntryUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroEntryScale {
    from { opacity: 0; transform: scale(0.92) rotateX(8deg); }
    to { opacity: 1; transform: scale(1) rotateX(0deg); }
}
@keyframes heroBgDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(2%, -1%) scale(1.04); }
    66% { transform: translate(-1.5%, 1.5%) scale(0.98); }
}
@keyframes heroShimmer {
    0% { background-position: 200% center; }
    100% { background-position: 0% center; }
}
/* Hero text staggered entrance */
.hero-eyebrow { animation: heroEntryUp 0.8s ease-out 0.05s both; }
.hero-title   { animation: heroEntryUp 0.9s ease-out 0.2s both; }
.hero-lead    { animation: heroEntryUp 0.9s ease-out 0.4s both; }
.hero-cta     { animation: heroEntryUp 0.9s ease-out 0.6s both; }
.hero-visual  { animation: heroEntryScale 1.3s cubic-bezier(0.34, 1.4, 0.5, 1) 0.3s both; }

/* Title gradient accent shimmer */
.hero-title .accent {
    background: linear-gradient(
        120deg,
        var(--color-primary) 0%,
        var(--color-accent) 30%,
        var(--color-primary) 60%,
        var(--color-accent) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: heroShimmer 1.8s ease-out 0.5s 1 both;
}

/* Hero background drift */
.hero-bg { animation: heroBgDrift 24s ease-in-out infinite; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-eyebrow, .hero-title, .hero-lead, .hero-cta, .hero-visual,
    .hero-title .accent, .hero-bg {
        animation: none !important;
    }
}

/* =========================================================================
   Image Placeholders（後で <img> に差し替える前提）
   ========================================================================= */
.section-visual {
    margin: 56px auto;
    max-width: 880px;
    padding: 0;
}
.image-placeholder {
    background:
        repeating-linear-gradient(
            45deg,
            rgba(124, 58, 237, 0.04),
            rgba(124, 58, 237, 0.04) 10px,
            rgba(0, 164, 179, 0.04) 10px,
            rgba(0, 164, 179, 0.04) 20px
        ),
        linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1.5px dashed rgba(124, 58, 237, 0.4);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.image-placeholder-wide { aspect-ratio: 16 / 9; }
.image-placeholder-square { aspect-ratio: 1 / 1; }
.image-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
}
.image-placeholder-inner svg {
    width: 44px;
    height: 44px;
    opacity: 0.42;
    color: var(--color-accent);
}
.image-placeholder-inner span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-accent-dark);
}
.image-placeholder-inner small {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 460px;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(0, 164, 179, 0.6);
}
.btn-primary:hover {
    box-shadow: 0 14px 30px -10px rgba(0, 164, 179, 0.7);
    color: #fff;
}
.btn-ghost {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--color-bg-alt); }
.btn-outline {
    background: #fff;
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary-soft); }
.btn-large { padding: 18px 36px; font-size: 16px; }

/* =========================================================================
   Section base
   ========================================================================= */
.section { padding: 96px 0; }
.section-eyebrow {
    margin: 0 0 14px;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-align: center;
}
.section-title {
    margin: 0 0 18px;
    text-align: center;
    font-size: clamp(22px, 2.9vw, 34px);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -0.005em;
    text-wrap: balance;
}
.section-title .accent {
    background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}
#strength-title {
    font-size: clamp(20px, 2.4vw, 28px);
}
.section-subtitle {
    display: block;
    margin-top: 10px;
    font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 600;
    color: var(--color-text-soft);
    letter-spacing: 0.01em;
}
.section-lead {
    margin: 0 auto 56px;
    max-width: 760px;
    text-align: center;
    color: var(--color-text-soft);
    font-size: 15px;
}

/* =========================================================================
   Use Cases section（課題ベース・業種グルーピング）
   ========================================================================= */
.section-usecases > .container {
    max-width: 1240px;
}
.usecase-groups {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.usecase-group {
    display: block;
}
.usecase-group-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--color-primary);
}
.usecase-group-head h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: 0.02em;
    flex: 1;
}
.usecase-group-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-primary-soft) 0%, var(--color-accent-soft) 100%);
    color: var(--color-primary-dark);
    flex-shrink: 0;
}
.usecase-group-icon svg { width: 22px; height: 22px; }
.usecase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.usecase-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 760px) {
    .usecase-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
        column-gap: 0;
        row-gap: 0;
        align-items: center;
        padding: 32px;
    }

    /* 矢印の本体線（課題 → 改善後を結ぶ）*/
    .usecase-card::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 22%;
        right: 22%;
        height: 0;
        border-top: 3px solid var(--color-primary);
        z-index: 0;
        pointer-events: none;
    }

    /* 矢印の頭（右端）*/
    .usecase-card::after {
        content: "";
        position: absolute;
        top: 50%;
        right: calc(22% - 6px);
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 16px solid var(--color-primary);
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        z-index: 0;
        pointer-events: none;
    }

    .usecase-card .usecase-problem,
    .usecase-card .usecase-outcome {
        align-self: center;
        position: relative;
        z-index: 1;
    }

    /* アプローチを矢印上の白い吹き出しとして配置 */
    .usecase-card .usecase-approach {
        align-self: center;
        position: relative;
        z-index: 1;
        justify-self: center;
        max-width: 260px;
        background: #fff;
        border: 1.5px solid var(--color-primary);
        border-radius: 10px;
        padding: 12px 16px;
        font-size: 12.5px;
        line-height: 1.7;
        box-shadow: 0 8px 20px rgba(0, 164, 179, 0.18);
    }
    .usecase-card .usecase-approach::before {
        color: var(--color-primary-dark);
        margin-bottom: 4px;
        font-size: 10px;
    }
}
.usecase-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}
/* Card content: 課題（強調・引用） → アプローチ（弱め・中間） → 改善後の状態（強調・teal） */
.usecase-problem {
    margin: 0;
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--color-text);
}
.usecase-problem::before {
    content: "現場のお悩み";
    display: block;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}
.usecase-problem-label {
    display: block;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--color-text-soft);
    margin-bottom: 6px;
}
.usecase-approach {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: var(--color-text-soft);
    position: relative;
}
.usecase-approach::before {
    content: "アプローチ";
    display: block;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}
.usecase-outcome {
    margin: 0;
    background: var(--color-primary-soft);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--color-text);
}
.usecase-outcome::before {
    content: "改善後の状態";
    display: block;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--color-primary-dark);
    margin-bottom: 6px;
    opacity: 0.85;
}

.usecase-card-note {
    margin-top: 48px;
    background: linear-gradient(135deg, #faf5ff 0%, #f0fdfa 100%);
    border: 1.5px dashed var(--color-accent);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    text-align: center;
}
.usecase-card-note h3 {
    margin: 0 0 12px;
    color: var(--color-accent-dark);
    font-size: 17px;
    font-weight: 800;
}
.usecase-card-note p {
    margin: 0;
    color: var(--color-text-soft);
    font-size: 14px;
    line-height: 1.85;
}

/* =========================================================================
   Cases / 実績 section
   ========================================================================= */
.section-cases {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}
/* Case tabs (rich card style) */
.case-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 48px;
}
@media (min-width: 720px) {
    .case-tabs {
        grid-template-columns: repeat(3, 1fr);
    }
}
.case-tab {
    background: #fff;
    border: 1.5px solid var(--color-border);
    border-radius: 16px;
    padding: 22px 22px 20px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: var(--color-text-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 4px 14px;
    position: relative;
    overflow: hidden;
}
.case-tab:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
    color: var(--color-text);
}
.case-tab.is-active {
    background: linear-gradient(135deg, var(--color-primary-soft) 0%, #fff 70%);
    border-color: var(--color-primary);
    box-shadow: 0 12px 28px -10px rgba(0, 164, 179, 0.3);
    color: var(--color-text);
}
.case-tab.is-active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
}
.case-tab-num {
    grid-column: 1 / span 2;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}
.case-tab.is-active .case-tab-num {
    color: var(--color-primary-dark);
}
.case-tab-icon {
    grid-column: 1;
    grid-row: 2 / span 2;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-bg-alt);
    color: var(--color-text-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}
.case-tab-icon svg { width: 22px; height: 22px; }
.case-tab.is-active .case-tab-icon {
    background: var(--color-primary);
    color: #fff;
}
.case-tab-industry {
    grid-column: 2;
    grid-row: 2;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: inherit;
    opacity: 0.85;
    align-self: end;
}
.case-tab-summary {
    grid-column: 2;
    grid-row: 3;
    font-size: 14.5px;
    font-weight: 800;
    color: inherit;
    line-height: 1.45;
}


/* Case panels */
.case-panels {
    margin-top: 32px;
}
.case-panel {
    display: none;
}
.case-panel.is-active {
    display: block;
    animation: caseFadeIn 0.3s ease;
}
@keyframes caseFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.case-panel-title {
    margin: 0 0 28px;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 800;
    line-height: 1.55;
    color: var(--color-text);
}
.case-panel-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 880px) {
    .case-panel-body {
        grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
        gap: 44px;
        align-items: center;
    }
    .case-illustration {
        position: sticky;
        top: 100px;
    }
}
.case-illustration {
    margin: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #fafafa 100%);
    border-radius: 14px;
    padding: 24px;
    border: 1px solid var(--color-border);
}
.case-illustration svg {
    width: 100%;
    height: auto;
    display: block;
}
.case-detail {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* 各case-sectionに役割別のスタイル付け */
.case-section {
    padding: 18px 22px;
    border-radius: 12px;
    border: 1px solid;
    position: relative;
}
.case-section h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 800;
    border: none;
    padding: 0;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.case-section h4::before {
    content: "";
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-block;
    flex-shrink: 0;
    background-size: 16px 16px;
    background-position: center;
    background-repeat: no-repeat;
}

/* 1) 背景・課題 — グレー基調・警告系 */
.case-section:nth-of-type(1) {
    background: #f8fafc;
    border-color: var(--color-border);
}
.case-section:nth-of-type(1) h4 {
    color: var(--color-text);
}
.case-section:nth-of-type(1) h4::before {
    background-color: #fef3c7;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3Cpath d='M10.29 3.86l-8.45 14.65A2 2 0 0 0 3.6 21h16.8a2 2 0 0 0 1.76-2.49l-8.45-14.65a2 2 0 0 0-3.42 0z'/%3E%3C/svg%3E");
}
.case-section:nth-of-type(1) ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.case-section:nth-of-type(1) ul li {
    padding-left: 22px;
    position: relative;
    font-size: 14px;
    line-height: 1.85;
    color: var(--color-text);
}
.case-section:nth-of-type(1) ul li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 11px;
    width: 7px;
    height: 7px;
    background: var(--color-text-muted);
    border-radius: 50%;
}

/* 2) 取り組み — 番号付きステップ */
.case-section:nth-of-type(2) {
    background: rgba(0, 164, 179, 0.04);
    border-color: rgba(0, 164, 179, 0.25);
}
.case-section:nth-of-type(2) h4 {
    color: var(--color-primary-dark);
}
.case-section:nth-of-type(2) h4::before {
    background-color: rgba(0, 164, 179, 0.15);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007E8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v4M12 18v4M4.93 4.93l2.83 2.83M16.24 16.24l2.83 2.83M2 12h4M18 12h4M4.93 19.07l2.83-2.83M16.24 7.76l2.83-2.83'/%3E%3C/svg%3E");
}
.case-section:nth-of-type(2) ol {
    counter-reset: case-step;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.case-section:nth-of-type(2) ol li {
    counter-increment: case-step;
    padding-left: 38px;
    position: relative;
    font-size: 14px;
    line-height: 1.85;
    color: var(--color-text);
    min-height: 28px;
}
.case-section:nth-of-type(2) ol li::before {
    content: counter(case-step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 26px;
    height: 26px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    font-feature-settings: normal;
}

/* 3) 成果 — チェック付き、teal主調で結果を強調 */
.case-section:nth-of-type(3) {
    background: var(--color-primary-soft);
    border-color: rgba(0, 164, 179, 0.45);
}
.case-section:nth-of-type(3) h4 {
    color: var(--color-primary-dark);
}
.case-section:nth-of-type(3) h4::before {
    background-color: var(--color-primary);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.case-section:nth-of-type(3) ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.case-section:nth-of-type(3) ul li {
    padding-left: 30px;
    position: relative;
    font-size: 14px;
    line-height: 1.85;
    color: var(--color-text);
    font-weight: 600;
}
.case-section:nth-of-type(3) ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background-color: var(--color-primary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
}
.case-more {
    text-align: center;
    margin-top: 48px;
}
.case-more-link {
    display: inline-block;
    color: var(--color-primary-dark);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1.5px solid var(--color-primary);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.case-more-link:hover {
    color: var(--color-accent-dark);
    border-color: var(--color-accent);
}

/* =========================================================================
   Strength section（リッチカード・3カラム）
   ========================================================================= */
.strength-list {
    list-style: none;
    margin: 56px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 880px) {
    .strength-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}
.strength-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 32px 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.strength-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.strength-item::after {
    content: "";
    position: absolute;
    inset: -50px -50px auto auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--color-primary-soft) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.strength-item:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: 0 24px 40px -16px rgba(0, 164, 179, 0.28);
}
.strength-item:hover::before {
    transform: scaleX(1);
}
.strength-item:hover::after {
    opacity: 0.5;
}
.strength-num {
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.03em;
    padding: 0;
    margin: 0;
    display: block;
    font-feature-settings: "tnum";
    position: relative;
    z-index: 1;
}
.strength-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--color-primary-dark);
    background: var(--color-primary-soft);
    padding: 4px 10px;
    border-radius: 4px;
    align-self: flex-start;
    position: relative;
    z-index: 1;
}
.strength-item h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 900;
    color: var(--color-text);
    line-height: 1.55;
    letter-spacing: -0.005em;
    position: relative;
    z-index: 1;
}
.strength-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.95;
    color: var(--color-text-soft);
    position: relative;
    z-index: 1;
}
.strength-item p strong {
    color: var(--color-primary-dark);
    font-weight: 800;
}
/* Service overview block (above 3 strength cards) */
.service-overview {
    margin: 40px 0 32px;
    padding: 22px;
    background: linear-gradient(135deg, rgba(0, 164, 179, 0.06) 0%, rgba(124, 58, 237, 0.06) 100%);
    border: 1px solid rgba(0, 164, 179, 0.18);
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (min-width: 760px) {
    .service-overview {
        grid-template-columns: repeat(4, 1fr);
        padding: 26px 28px;
        gap: 18px;
    }
}
.service-overview-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 4px;
}
.service-overview-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
.service-overview-icon svg { width: 22px; height: 22px; }
.service-overview-item h4 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.5;
}
.service-overview-item p {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.65;
    color: var(--color-text-soft);
}

/* =========================================================================
   Approach section
   ========================================================================= */
.section-approach { background: var(--color-bg-alt); }

.approach-flow {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
}

/* --- Entry: Step 01 / 02 vertically stacked --- */
.approach-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.approach-step {
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: 14px;
    padding: 26px 32px;
    width: 100%;
    max-width: 620px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.approach-step-pivot {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, #fff 0%, var(--color-primary-soft) 100%);
}
.step-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: var(--color-text);
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}
.approach-step-pivot .step-tag {
    background: var(--color-primary);
}
.approach-step h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.5;
}
.step-desc {
    margin: 0;
    color: var(--color-text-soft);
    font-size: 14px;
    line-height: 1.85;
}

/* --- Vertical arrows --- */
.flow-arrow {
    text-align: center;
    color: var(--color-primary);
    font-size: 16px;
    line-height: 1;
    margin: 14px 0;
    user-select: none;
}
.flow-arrow-merge {
    color: var(--color-accent);
    font-size: 22px;
    margin: 28px 0 16px;
}

/* --- Cost note (after Step 02) --- */
.approach-cost-note {
    margin: 28px auto 0;
    max-width: 640px;
    padding: 18px 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-accent);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}
.approach-cost-note-label {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: var(--color-accent);
    padding: 5px 12px;
    border-radius: 4px;
    letter-spacing: 0.06em;
}
.approach-cost-note p {
    margin: 0;
    flex: 1;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--color-text);
}
.approach-cost-note p strong {
    color: var(--color-accent-dark);
    font-weight: 800;
}
@media (max-width: 600px) {
    .approach-cost-note {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* --- Branch label --- */
.approach-branch-label {
    text-align: center;
    margin: 24px 0 20px;
    position: relative;
}
.approach-branch-label::before,
.approach-branch-label::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 80px;
    height: 1px;
    background: var(--color-border);
}
.approach-branch-label::before { left: calc(50% - 230px); }
.approach-branch-label::after { left: calc(50% + 150px); }
.approach-branch-label-text {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-soft);
    background: var(--color-bg-alt);
    padding: 4px 14px;
    letter-spacing: 0.04em;
}

/* --- 3 patterns side by side --- */
.approach-patterns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.approach-pattern {
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: 14px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: var(--shadow-sm);
}
.approach-pattern:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.pattern-a:hover { border-color: #06b6d4; }
.pattern-b:hover { border-color: var(--color-primary); }
.pattern-c:hover { border-color: var(--color-accent); }

.pattern-tag {
    align-self: flex-start;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.08em;
}
.pattern-a .pattern-tag { background: #0891b2; }
.pattern-b .pattern-tag { background: var(--color-primary); }
.pattern-c .pattern-tag { background: var(--color-accent); }

.approach-pattern h4 {
    margin: 4px 0 6px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.55;
    color: var(--color-text);
}
.pattern-when, .pattern-example {
    margin: 0;
    font-size: 13px;
    line-height: 1.85;
    color: var(--color-text-soft);
}
.pattern-meta-label {
    display: block;
    width: fit-content;
    font-size: 10.5px;
    font-weight: 800;
    color: var(--color-text);
    background: var(--color-bg-alt);
    padding: 3px 10px;
    border-radius: 4px;
    margin: 0 0 6px;
    letter-spacing: 0.06em;
}
.pattern-steps {
    list-style: decimal inside;
    padding: 14px 16px;
    margin: 8px 0 0;
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--color-text);
    background: #fafafa;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pattern-steps li {
    padding-left: 4px;
}
.pattern-steps li strong {
    color: var(--color-primary-dark);
    font-weight: 800;
}
.pattern-time {
    margin: auto 0 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary-dark);
    background: var(--color-primary-soft);
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    letter-spacing: 0.02em;
}

/* --- Outcome: 育てる --- */
.approach-outcome {
    background: linear-gradient(135deg, var(--color-primary-soft) 0%, var(--color-accent-soft) 100%);
    border: 2px solid var(--color-accent);
    border-radius: 14px;
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
}
.outcome-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: var(--color-accent-dark);
    padding: 4px 14px;
    border-radius: 999px;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.approach-outcome h3 {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.5;
}
.outcome-lead {
    margin: 0 0 24px;
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--color-text-soft);
}
.outcome-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 640px) {
    .outcome-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}
.outcome-list li {
    background: #fff;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.outcome-list li:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.outcome-list strong {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--color-accent-dark);
}
.outcome-list span {
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--color-text-soft);
}

/* =========================================================================
   FAQ
   ========================================================================= */
.section-faq { background: var(--color-bg-alt); }
.faq-container { max-width: 820px; }
.faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 22px 28px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    list-style: none;
    position: relative;
    padding-right: 36px;
    color: var(--color-text);
    line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-accent-soft);
    color: var(--color-accent-dark);
    font-size: 18px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}
.faq-item[open] summary::after {
    content: "−";
    background: var(--color-accent);
    color: #fff;
}
.faq-item p {
    margin: 16px 0 0;
    color: var(--color-text-soft);
    font-size: 14px;
    line-height: 1.9;
}

/* =========================================================================
   CTA
   ========================================================================= */
.section-cta {
    background:
        radial-gradient(60% 60% at 80% 20%, rgba(167, 139, 250, 0.4) 0%, transparent 60%),
        radial-gradient(60% 60% at 20% 80%, rgba(20, 184, 166, 0.3) 0%, transparent 60%),
        linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-accent-dark) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-container { text-align: center; max-width: 820px; position: relative; z-index: 1; }
.cta-title {
    margin: 0 0 20px;
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 900;
    line-height: 1.5;
    color: #fff;
}
.cta-lead {
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    line-height: 1.9;
}
.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.section-cta .btn-primary {
    background: #fff;
    color: var(--color-primary-dark);
    box-shadow: 0 14px 32px -12px rgba(0, 0, 0, 0.3);
}
.section-cta .btn-primary:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary-dark);
}
.section-cta .btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}
.section-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.cta-note {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
    background: var(--color-bg-deep);
    color: rgba(255, 255, 255, 0.78);
    padding: 64px 0 32px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}
.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 16px;
    display: block;
}
.footer-address, .footer-tagline {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.66);
}
.footer-addresses {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-addresses li {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.66);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}
.footer-address-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.footer-address-text {
    flex: 1;
    min-width: 0;
}
.footer-tagline { color: rgba(255, 255, 255, 0.85); margin-top: 16px; }
.footer-nav ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-copy {
    grid-column: 1 / -1;
    margin: 32px 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .section { padding: 64px 0; }
    .hero-inner { padding: 56px 20px 72px; }

    /* Header: タグライン・全リンクを非表示にしつつ、CTAだけは残す */
    .header-inner { height: 64px; gap: 12px; }
    .logo-tagline { display: none; }
    .logo-img { height: 32px; }
    .site-nav ul { gap: 0; }
    .site-nav ul li:not(:last-child) { display: none; }
    .nav-cta {
        padding: 10px 16px;
        font-size: 13px;
    }

    .hide-sm { display: none; }

    .hero-inner { gap: 32px; }
    .hero-text { text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-points { margin-inline: auto; }
    .hero-visual { max-width: 380px; }

    .approach-step { padding: 22px 24px; }
    .approach-outcome { padding: 24px 22px; }
    .approach-branch-label::before,
    .approach-branch-label::after { display: none; }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-cta, .cta-actions { flex-direction: column; }
    .hero-cta .btn, .cta-actions .btn { width: 100%; }

    /* Strength セクション微調整 */
    .strength-list { gap: 16px; }

    /* Use Cases グループ見出し縮小 */
    .usecase-group-head h3 { font-size: 18px; }
    .usecase-group-icon { width: 36px; height: 36px; }
    .usecase-group-icon svg { width: 20px; height: 20px; }

    /* Cases tab の文字サイズ */
    .case-tab { padding: 18px 18px 16px; min-width: 0; }
    .case-tab-summary { font-size: 13.5px; }
    .case-panel-title { font-size: 17px; margin-bottom: 20px; }
    .case-illustration { padding: 18px; }

    /* Section title 縮小 */
    .section-title { font-size: clamp(20px, 5vw, 26px); }
    .section-lead { font-size: 14px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 56px 0; }

    .hero-title { font-size: 24px; line-height: 1.5; }
    .hero-lead { font-size: 14px; }
    .hero-eyebrow { font-size: 11px; padding: 6px 14px; }

    .strength-item { padding: 26px 22px 22px; }
    .strength-num { font-size: 44px; }
    .strength-item h3 { font-size: 17px; }
    .strength-tag { font-size: 9.5px; }

    /* Service overview を 1列のアイコン横並びレイアウトに */
    .service-overview { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
    .service-overview-item {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 14px;
        row-gap: 2px;
        align-items: center;
        text-align: left;
        padding: 4px;
    }
    .service-overview-icon {
        grid-row: span 2;
        margin-bottom: 0;
        width: 38px;
        height: 38px;
    }
    .service-overview-icon svg { width: 18px; height: 18px; }
    .service-overview-item h4 { font-size: 13px; line-height: 1.45; align-self: end; }
    .service-overview-item p { font-size: 11.5px; align-self: start; }

    .faq-item { padding: 20px 22px; }
    .approach-pattern { padding: 20px 18px; }

    /* Cases tab を縦並び・コンパクトに */
    .case-tab { padding: 14px 16px; }
    .case-tab-num { font-size: 9.5px; }
    .case-tab-icon { width: 38px; height: 38px; }

    /* Approach pattern 縮小 */
    .pattern-tag { font-size: 10px; padding: 3px 10px; }
    .approach-pattern h4 { font-size: 15px; }

    /* Footer addresses 縮小 */
    .footer-addresses li { font-size: 12px; }
}

/* =========================================================================
   Download / Thank-you pages
   ========================================================================= */
.download-main,
.thanks-main {
    background:
        radial-gradient(60% 50% at 85% 0%, rgba(124, 58, 237, 0.06) 0%, transparent 60%),
        radial-gradient(60% 50% at 0% 100%, rgba(0, 164, 179, 0.06) 0%, transparent 60%),
        var(--color-bg-alt);
    min-height: calc(100vh - 88px);
}

.download-section,
.thanks-section {
    padding: 80px 0 96px;
}

.download-container { max-width: 1080px; }

.download-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: start;
}

/* --- Left: intro --- */
.download-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 14px;
    background: var(--color-accent-soft);
    color: var(--color-accent-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    border-radius: 999px;
}
.download-title {
    margin: 0 0 18px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -0.005em;
    color: var(--color-text);
}
.download-title .accent {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.download-lead {
    margin: 0 0 28px;
    color: var(--color-text-soft);
    font-size: 15.5px;
    line-height: 1.95;
}
.download-lead strong { color: var(--color-text); font-weight: 700; }

.download-points {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.download-points li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.download-point-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.download-points h3 {
    margin: 0 0 4px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.5;
}
.download-points p {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: var(--color-text-soft);
}

.download-meta {
    margin: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.download-meta-item {
    display: inline-block;
    padding: 5px 12px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--color-text-soft);
    letter-spacing: 0.04em;
}

/* --- Right: form card --- */
.download-form-card {
    position: sticky;
    top: 108px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-soft);
    padding: 36px 36px 32px;
}
.download-form-title {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 800;
    color: var(--color-text);
}
.download-form-sub {
    margin: 0 0 24px;
    font-size: 13px;
    line-height: 1.75;
    color: var(--color-text-soft);
}

.download-form { display: flex; flex-direction: column; gap: 18px; }

.form-row { display: flex; flex-direction: column; gap: 6px; }

.form-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
}
.form-required {
    display: inline-block;
    padding: 2px 8px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.form-input {
    width: 100%;
    padding: 13px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--color-text);
    background: #fff;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input::placeholder { color: var(--color-text-muted); }
.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 164, 179, 0.15);
}
.form-input.is-invalid {
    border-color: #dc2626;
    background: #fff5f5;
}
.form-input.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.form-error {
    margin: 0;
    min-height: 0;
    font-size: 12.5px;
    color: #dc2626;
    line-height: 1.5;
}
.form-error:empty { display: none; }

.form-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-privacy {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.75;
    color: var(--color-text-muted);
}
.form-privacy a { color: var(--color-primary-dark); text-decoration: underline; }

.form-global-error {
    margin: 0;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.6;
    min-height: 0;
}
.form-global-error:empty { display: none; padding: 0; border: none; background: transparent; }

.form-submit { width: 100%; position: relative; }
.form-submit:disabled { cursor: wait; opacity: 0.85; }
.form-submit-loading { display: none; }
.form-submit.is-loading .form-submit-label { display: none; }
.form-submit.is-loading .form-submit-loading { display: inline; }

.form-note {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.75;
    color: var(--color-text-muted);
    text-align: center;
}

/* --- Thank-you card --- */
.thanks-container { max-width: 720px; }

.thanks-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-soft);
    padding: 56px 56px 48px;
    text-align: center;
}

.thanks-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-soft) 0%, var(--color-accent-soft) 100%);
    color: var(--color-primary-dark);
}

.thanks-eyebrow {
    margin: 0 0 12px;
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
}

.thanks-title {
    margin: 0 0 18px;
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 900;
    line-height: 1.5;
    color: var(--color-text);
}

.thanks-lead {
    margin: 0 auto 32px;
    max-width: 540px;
    color: var(--color-text-soft);
    font-size: 15px;
    line-height: 1.95;
}
.thanks-lead strong { color: var(--color-text); font-weight: 700; }

.thanks-actions {
    display: flex;
    justify-content: center;
    margin: 0 0 16px;
}
.thanks-actions .btn { min-width: 280px; }

.thanks-note {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.75;
    color: var(--color-text-muted);
}
.thanks-note a { color: var(--color-primary-dark); text-decoration: underline; }

.thanks-divider {
    margin: 36px 0 28px;
    border: 0;
    border-top: 1px solid var(--color-border);
}

.thanks-next-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--color-text);
}
.thanks-next-lead {
    margin: 0 auto 20px;
    max-width: 480px;
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--color-text-soft);
}
.thanks-next-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 880px) {
    .download-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .download-form-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .download-section,
    .thanks-section { padding: 56px 0 72px; }

    .download-form-card { padding: 28px 24px 26px; }

    .thanks-card { padding: 40px 24px 32px; }
    .thanks-actions .btn { min-width: 0; width: 100%; }
    .thanks-next-actions { flex-direction: column; }
    .thanks-next-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
    .download-section,
    .thanks-section { padding: 40px 0 64px; }

    .download-points li { padding: 14px 14px; grid-template-columns: 38px 1fr; gap: 12px; }
    .download-point-num { width: 32px; height: 32px; font-size: 12px; }

    .download-form-card { padding: 24px 20px; border-radius: var(--radius-md); }
    .form-input { font-size: 16px; /* iOS zoom 防止 */ }

    .thanks-card { padding: 32px 20px 28px; }
    .thanks-icon { width: 72px; height: 72px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .approach-step, .approach-pattern, .outcome-list li, .faq-item summary::after { transition: none !important; }
}
