/* --- Base Styles --- */
:root {
    --primary-color: #0052cc;
    --primary-hover: #0041a3;
    --bg-color: #f4f7f9;
    --card-bg: #ffffff;
    --text-color: #333;
    --muted-color: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: var(--bg-color);
    font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
}

#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* --- サイト全体：アニメーション --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ambientFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -8px, 0);
    }
}

@keyframes ambientGlow {
    0%, 100% {
        opacity: 0.35;
        transform: scale(1) translateX(0);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.06) translateX(10px);
    }
}

@keyframes shineSweep {
    0% {
        transform: translateX(-130%);
        opacity: 0;
    }
    20% {
        opacity: 0.18;
    }
    60% {
        opacity: 0.08;
    }
    100% {
        transform: translateX(130%);
        opacity: 0;
    }
}

@keyframes heatPulse {
    0%, 100% {
        transform: scaleY(1);
        filter: brightness(0.95);
    }
    50% {
        transform: scaleY(1.14);
        filter: brightness(1.12);
    }
}

@keyframes heatScan {
    0% {
        transform: translateX(-120%);
        opacity: 0;
    }
    15% {
        opacity: 0.18;
    }
    65% {
        opacity: 0.1;
    }
    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

.anim-fade-in {
    opacity: 0;
    animation: fadeIn 0.7s ease forwards;
}

.anim-fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-fade-in-down {
    opacity: 0;
    transform: translateY(-16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.anim-fade-in-up.is-visible,
.anim-fade-in-down.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-delay-1 { animation-delay: 0.15s; }
.anim-delay-2 { animation-delay: 0.3s; }
.anim-delay-3 { animation-delay: 0.45s; }
.anim-delay-4 { animation-delay: 0.6s; }
.anim-delay-5 { animation-delay: 0.75s; }
.anim-delay-6 { animation-delay: 0.9s; }

.anim-stagger-1 { transition-delay: 0.05s; }
.anim-stagger-2 { transition-delay: 0.15s; }
.anim-stagger-3 { transition-delay: 0.25s; }
.anim-stagger-4 { transition-delay: 0.35s; }
.anim-stagger-5 { transition-delay: 0.45s; }
.anim-stagger-6 { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
    .anim-fade-in,
    .anim-fade-in-up,
    .anim-fade-in-down {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }
    .anim-fade-in-up.is-visible,
    .anim-fade-in-down.is-visible {
        transform: none;
    }
    .content-shell::before,
    .service-showcase-card::before,
    .price-heat-card::before,
    .price-heat-surface::after,
    .section-illustration,
    .price-heat-surface span,
    .section-kicker {
        animation: none !important;
        transition: none !important;
    }
}

/* --- Home Page Styles --- */
.top-page {
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 1 0 auto;
    min-height: 100vh;
    padding-bottom: 60px;
    display: grid;
    gap: 24px;
    align-content: start;
}

.top-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
    padding: 40px 20px;
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
}

.logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    padding: 12px;
}

.top-hero-catch {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin: 16px 0 0;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* トップページ：お問い合わせ導線（ロゴと世界観を統一） */
.top-cta {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 32px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.top-cta:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.top-cta:active {
    transform: translateY(0);
}

.top-cta-section {
    display: flex;
    justify-content: center;
    padding: 48px 20px 60px;
}

/* トップページ：会社概要（簡素・スタイリッシュ） */
.company-overview {
    max-width: 520px;
    margin: 0 auto;
    padding: 48px 40px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-radius: 12px;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
}

.company-overview-title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--muted-color);
    margin-bottom: 32px;
    text-align: left;
}

.company-overview-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.company-overview-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.company-overview-row:last-child {
    border-bottom: none;
}

.company-overview-list dt {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted-color);
    margin: 0;
}

.company-overview-list dd {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

.company-overview-action {
    margin-top: 28px;
    display: flex;
    justify-content: flex-start;
}

.company-overview-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(0, 82, 204, 0.08);
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.company-overview-link:hover {
    background: rgba(0, 82, 204, 0.14);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .top-cta {
        margin-top: 20px;
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    .top-hero {
        min-height: 60vh;
    }
    .company-overview {
        margin: 0 20px;
        padding: 36px 24px;
    }
    .company-overview-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 14px 0;
    }
    .company-overview-list dt {
        font-size: 0.75rem;
    }
    .company-overview-list dd {
        font-size: 0.9rem;
    }
}

/* トップページ：運営サービス（白背景なし・洗練） */
.services-section {
    max-width: 450px;
    margin: 0 auto;
    padding: 56px 24px 64px;
}

.services-section-title {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    text-align: center;
}

.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 0;
    padding: 0;
}

.services-list li {
    margin: 0;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 20px;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-bottom: 1px solid transparent;
}

.service-card:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.service-card-img {
    width: 100%;
    max-width: 120px;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    margin-bottom: 20px;
}

.service-card-name {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.service-card-catch {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .services-section {
        padding: 44px 0 52px;
        overflow: hidden;
    }
    .services-section-title {
        padding: 0 20px;
    }
    .services-list {
        display: flex;
        flex-wrap: nowrap;
        gap: 7px;
        margin: 0;
        padding: 0 20px 12px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .services-list::-webkit-scrollbar {
        height: 6px;
    }
    .services-list::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }
    .services-list::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }
    .services-list li {
        flex: 0 0 auto;
        width: 200px;
        scroll-snap-align: start;
    }
    .service-card {
        min-height: 200px;
        padding: 24px 16px;
    }
    .service-card-img {
        max-width: 100px;
    }
}

@media (max-width: 600px) {
    .services-list li {
        width: 200px;
    }
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* --- プロンプト: SEO 向け一覧・詳細ページ --- */
.prompt-seo-index {
    margin-bottom: 8px;
}

.prompt-seo-lead {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0 0 20px;
}

.prompt-seo-category {
    margin-bottom: 22px;
}

.prompt-seo-category-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #102244;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.prompt-seo-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.prompt-seo-list li {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(248, 250, 252, 0.65);
}

.prompt-seo-link {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.prompt-seo-link:hover {
    text-decoration: underline;
}

.prompt-seo-excerpt {
    margin: 6px 0 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #64748b;
}

.prompt-detail-page .prompt-detail-breadcrumb {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 8px;
}

.prompt-detail-page .prompt-detail-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.prompt-detail-page .prompt-detail-breadcrumb a:hover {
    text-decoration: underline;
}

.prompt-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.prompt-variable-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.prompt-variable-list li {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #fff;
}

.prompt-variable-meta {
    display: block;
    margin-top: 6px;
    font-size: 0.86rem;
    color: #64748b;
}

.prompt-variable-meta code {
    font-size: 0.84rem;
    background: rgba(15, 23, 42, 0.06);
    padding: 2px 6px;
    border-radius: 6px;
}

.prompt-template-static {
    margin: 0;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.04);
    font-size: 0.88rem;
    line-height: 1.65;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
    max-height: min(70vh, 720px);
    overflow-y: auto;
}

/* --- Prompt Generator（サイト全体に合わせた Notion ライク） --- */
.prompt-page .section-kicker {
    animation: none;
}

.prompt-page .prompt-tool-shell {
    max-width: 980px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.prompt-page .prompt-generator-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.prompt-page .prompt-category-tabs {
    display: flex;
    gap: 8px;
    margin: 0 0 4px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 82, 204, 0.28) rgba(15, 23, 42, 0.06);
}

.prompt-page .prompt-category-tabs::-webkit-scrollbar {
    height: 6px;
}

.prompt-page .prompt-category-tabs::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.06);
    border-radius: 999px;
}

.prompt-page .prompt-category-tabs::-webkit-scrollbar-thumb {
    background: rgba(0, 82, 204, 0.22);
    border-radius: 999px;
}

.prompt-page .prompt-category-tabs .category-tab {
    flex: 0 0 auto;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.85);
    color: #44526a;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.prompt-page .prompt-category-tabs .category-tab:hover {
    border-color: rgba(0, 82, 204, 0.35);
    background: rgba(0, 82, 204, 0.04);
}

.prompt-page .prompt-category-tabs .category-tab.active {
    background: #102244;
    color: #fff;
    border-color: #102244;
    box-shadow: none;
}

.prompt-page .prompt-search-block,
.prompt-page .prompt-progress-block,
.prompt-page .prompt-panel-section {
    margin: 0;
}

.prompt-page .prompt-panel {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    padding: 22px 22px 20px;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.prompt-page .prompt-panel--compact {
    padding: 16px 20px;
}

.prompt-page .prompt-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}

.prompt-page .prompt-search-input {
    flex: 1 1 220px;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.prompt-page .prompt-search-input:focus {
    outline: none;
    border-color: rgba(0, 82, 204, 0.45);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

.prompt-page .prompt-form-select {
    flex: 1 1 260px;
    min-height: 48px;
    min-width: 0;
    padding: 12px 40px 12px 16px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    font-size: 0.95rem;
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2344526a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.prompt-page .prompt-form-select:focus {
    outline: none;
    border-color: rgba(0, 82, 204, 0.45);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

.prompt-page .prompt-info {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 0.88rem;
    line-height: 1.65;
    color: #64748b;
}

.prompt-page .progress-bar-container {
    margin-top: 0;
}

.prompt-page .progress-label {
    margin-bottom: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.02em;
}

.prompt-page .progress-bar {
    height: 6px;
    background: rgba(15, 23, 42, 0.06);
    border-radius: 999px;
}

.prompt-page .progress-fill {
    background: var(--primary-color);
    border-radius: 999px;
}

.prompt-page .prompt-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.prompt-page .prompt-panel-title {
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    margin-bottom: 0;
    margin-top: 4px;
    text-wrap: unset;
}

.prompt-page .clear-button {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 600;
    color: #64748b;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.prompt-page .clear-button:hover {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(100, 116, 139, 0.45);
    color: #334155;
}

.prompt-page .char-count {
    flex-shrink: 0;
    align-self: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.04);
}

.prompt-page .prompt-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.prompt-page .input-group {
    display: flex;
    flex-direction: column;
}

.prompt-page .input-group label {
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 8px;
    color: #334155;
    letter-spacing: 0.02em;
}

.prompt-page .input-group label::before {
    content: none;
}

.prompt-page .input-group input,
.prompt-page .input-group textarea {
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    font-size: 0.95rem;
    width: 100%;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.prompt-page .input-group input:focus,
.prompt-page .input-group textarea:focus {
    outline: none;
    border-color: rgba(0, 82, 204, 0.45);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.prompt-page .input-group textarea {
    resize: vertical;
    min-height: 96px;
    line-height: 1.65;
}

.prompt-page .result-wrapper {
    position: relative;
}

.prompt-page .generated-prompt-content {
    width: 100%;
    min-height: 280px;
    max-height: 560px;
    padding: 18px 20px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    background: #f8fafc;
    font-family: ui-monospace, "SFMono-Regular", "Menlo", Monaco, Consolas, monospace;
    font-size: 0.88rem;
    line-height: 1.75;
    color: #1e293b;
    white-space: pre-wrap;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 82, 204, 0.35) rgba(15, 23, 42, 0.06);
}

.prompt-page .generated-prompt-content::-webkit-scrollbar {
    width: 8px;
}

.prompt-page .generated-prompt-content::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.04);
    border-radius: 4px;
}

.prompt-page .generated-prompt-content::-webkit-scrollbar-thumb {
    background: rgba(0, 82, 204, 0.25);
    border-radius: 4px;
}

.prompt-page #generated-prompt strong {
    color: #102244;
    font-weight: 700;
    background: rgba(0, 82, 204, 0.08);
    padding: 1px 5px;
    border-radius: 4px;
}

.prompt-page .prompt-title-heading {
    color: #102244;
    font-weight: 600;
    display: block;
    margin-top: 1.25em;
    margin-bottom: 0.65em;
    font-size: 1em;
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
}

.prompt-page .action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.prompt-page .copy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: none;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.prompt-page .copy-button:hover {
    background: var(--primary-hover);
}

.prompt-page .copy-button:active {
    transform: scale(0.98);
}

.prompt-page .copy-button.copied {
    background: #15803d;
}

.prompt-page .download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.prompt-page .download-button:hover {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(100, 116, 139, 0.5);
}

@media (prefers-reduced-motion: reduce) {
    .prompt-page .copy-button,
    .prompt-page .download-button {
        transition: none;
    }

    .prompt-page .copy-button:active {
        transform: none;
    }
}

/* --- Contact Form Page (Modern) --- */
.contact-form-container {
    max-width: 560px;
    margin: 0 auto;
    padding: 48px 24px 64px;
    flex-grow: 1;
}

.form-nav {
    margin-bottom: 32px;
}

.form-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-back-link:hover {
    color: #fff;
    gap: 12px;
}

.form-back-icon {
    font-size: 1rem;
    line-height: 1;
}

.contact-form-header {
    margin-bottom: 40px;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    color: inherit;
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.contact-form-lead {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-form-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 20px -4px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease;
}

.contact-form-wrapper:focus-within {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 24px -4px rgba(0, 82, 204, 0.12);
}

.contact-form-body {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.01em;
}

.form-required {
    color: #e11d48;
    font-weight: 700;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-color);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:hover {
    border-color: #cbd5e1;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

.form-input:invalid:not(:placeholder-shown):not(:focus) {
    border-color: #f43f5e;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    padding: 16px;
    line-height: 1.6;
}

.form-actions {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    padding: 16px 32px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.25);
}

.submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.35);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.25);
}

/* --- Thanks Page --- */
.thanks-container {
    max-width: 560px;
    margin: 40px auto;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.thanks-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: var(--shadow);
    text-align: center;
}

.thanks-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    line-height: 64px;
    border-radius: 50%;
}

.thanks-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.thanks-message {
    color: var(--muted-color);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.thanks-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.thanks-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.thanks-button:first-child {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 82, 204, 0.3);
}

.thanks-button:first-child:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.4);
}

.thanks-button-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.thanks-button-secondary:hover {
    background: rgba(0, 82, 204, 0.08);
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 32px 16px 48px;
    }
    .contact-form-title {
        font-size: 1.5rem;
    }
    .contact-form-wrapper {
        padding: 28px 20px;
        border-radius: 16px;
    }
    .contact-form-body {
        gap: 24px;
    }
    .submit-button {
        max-width: none;
    }
    .thanks-card {
        padding: 32px 24px;
    }
    .thanks-title {
        font-size: 1.5rem;
    }
    .thanks-actions {
        flex-direction: column;
    }
    .thanks-button {
        width: 100%;
    }
}

/* --- Footer Styles --- */
.footer {
    background-color: var(--card-bg);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    width: 100%;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 15px;
}

.footer-link {
    color: var(--muted-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary-color);
}

.site-header {
    position: relative;
    z-index: 2;
}

.site-header-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 24px 12px;
    display: grid;
    gap: 16px;
    position: relative;
}

.site-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
}

.site-brand-logo {
    width: 168px;
    height: auto;
}

.site-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.site-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto 5px;
    background: currentColor;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-menu-toggle span:last-child {
    margin-bottom: 0;
}

.site-menu-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-menu-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
}

.site-menu-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
    width: 100%;
}

.site-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav-link:hover,
.site-nav-link.is-current {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.site-nav-link:hover {
    transform: translateY(-1px);
}

.site-footer {
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

.site-footer-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 24px 36px;
    display: grid;
    gap: 18px;
    justify-items: center;
    text-align: center;
}

.site-footer-brand {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.site-footer-logo {
    width: 180px;
    height: auto;
}

.site-footer-meta {
    color: var(--muted-color);
    font-size: 0.92rem;
}

.page-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 14px;
}

.top-hero-rich {
    max-width: 1180px;
    width: calc(100% - 48px);
    min-height: calc(100vh - 120px);
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 32px;
    align-items: center;
    margin: 0 auto;
    padding: 24px 0 12px;
}

.top-hero-copy {
    max-width: 700px;
    text-align: left;
}

.top-hero-description {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.02rem;
    line-height: 1.9;
    max-width: 62ch;
}

.top-hero-definition-link {
    margin: 12px 0 0;
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 62ch;
}

.top-hero-definition-link a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.top-hero-definition-link a:hover {
    color: #fff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-primary-link,
.hero-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-primary-link {
    background: #fff;
    color: #10336d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-secondary-link {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.hero-primary-link:hover,
.hero-secondary-link:hover {
    transform: translateY(-2px);
}

.hero-highlight-card {
    padding: 28px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    color: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-highlight-label {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 16px;
}

.hero-highlight-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.hero-highlight-list li {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-highlight-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.content-page {
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 1 0 auto;
    padding: 24px 20px 72px;
    display: grid;
    gap: 24px;
    align-content: start;
}

.page-hero {
    max-width: 980px;
    margin: 0 auto 12px;
    padding: 44px 36px 12px;
    text-align: left;
}

.page-title {
    color: #fff;
    font-size: clamp(2rem, 4.8vw, 3.2rem);
    line-height: 1.14;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.page-lead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.06rem;
    line-height: 1.9;
}

.content-shell {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    padding: 36px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 40px rgba(8, 27, 68, 0.1);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.content-shell::before {
    content: '';
    position: absolute;
    inset: -20% auto auto -10%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.16) 0%, rgba(96, 165, 250, 0) 72%);
    z-index: -1;
    animation: ambientGlow 8s ease-in-out infinite;
}

/* --- Company Page Rhythm (white sections連続を避ける) --- */
.company-shell--hero {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.90));
    border-color: rgba(59, 130, 246, 0.18);
}

.company-shell--hero::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 72%);
    animation: ambientGlow 10s ease-in-out infinite;
}

.company-shell--alt {
    background: linear-gradient(180deg, rgba(249, 250, 251, 0.97), rgba(239, 246, 255, 0.65));
    border-color: rgba(148, 163, 184, 0.28);
}

.company-shell--alt::before {
    background: radial-gradient(circle, rgba(148, 163, 184, 0.22) 0%, rgba(148, 163, 184, 0) 72%);
    animation: ambientGlow 12s ease-in-out infinite;
}

.company-shell--alt2 {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.86));
    border-color: rgba(148, 163, 184, 0.22);
}

.company-shell--alt2::before {
    background: radial-gradient(circle, rgba(96, 165, 250, 0.14) 0%, rgba(96, 165, 250, 0) 72%);
    animation: ambientGlow 10s ease-in-out infinite;
}

/* --- Company Page: MVV-like Notion Clean Style --- */
.company-page-hero {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
}

.company-page-hero::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -220px;
    width: 560px;
    height: 360px;
    background: #e11d48;
    transform: rotate(25deg);
    opacity: 0.95;
    pointer-events: none;
}

.company-page-hero .page-eyebrow {
    color: rgba(16, 34, 68, 0.72);
    position: relative;
    z-index: 1;
}

.company-page-hero .page-title {
    color: #102244;
    position: relative;
    z-index: 1;
}

.company-page-hero .page-lead {
    color: rgba(16, 34, 68, 0.78);
    position: relative;
    z-index: 1;
}

.company-page .content-shell {
    background: #ffffff;
    backdrop-filter: none;
    box-shadow: none;
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.company-page .content-shell::before {
    content: none;
}

.company-page .content-card,
.company-page .service-showcase-card,
.company-page .timeline-item {
    background: #ffffff;
    box-shadow: none;
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.company-page .section-kicker {
    color: #e11d48;
    animation: none !important;
    text-shadow: none;
    letter-spacing: 0.14em;
}

.company-page .pill-grid {
    gap: 14px;
}

.company-page .pill-grid .content-card h3 {
    margin-bottom: 10px;
    padding-left: 0;
    color: #102244;
    position: relative;
    font-size: 1.05rem;
}

.company-page .pill-grid .content-card h3::before {
    counter-increment: mvv;
    content: counter(mvv);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    min-width: 34px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(225, 29, 72, 0.08);
    color: #e11d48;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 0.86rem;
}

.company-page .pill-grid {
    counter-reset: mvv;
}

.company-page .content-shell .section-header-block {
    margin-bottom: 18px;
}

.visual-intro-shell {
    overflow: hidden;
}

.visual-intro-grid,
.founder-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
}

.visual-intro-grid > *,
.founder-grid > *,
.content-grid-two > *,
.support-example-grid > * {
    min-width: 0;
}

.founder-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}

.visual-intro-copy > :last-child {
    margin-bottom: 0;
}

.section-visual {
    margin: 0;
}

.company-intro-visual {
    margin-bottom: 24px;
}

.section-illustration {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
    border: 1px solid rgba(0, 82, 204, 0.08);
    box-shadow: 0 16px 34px rgba(16, 34, 68, 0.1);
    background: linear-gradient(180deg, rgba(245, 249, 255, 0.95), #ffffff);
    animation: ambientFloat 7s ease-in-out infinite;
    transform-origin: center;
}

.founder-copy-grid {
    grid-template-columns: 1fr;
}

/* 会社概要: Purpose / Vision / Value（3カード均等グリッド） */
.company-pvv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
    align-items: stretch;
}

.company-pvv-grid .content-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    min-width: 0;
    padding: 22px 20px;
}

.company-pvv-grid .content-card .section-kicker {
    margin-bottom: 10px;
}

.company-pvv-grid .content-card .section-title {
    font-size: clamp(1.02rem, 1.05vw, 1.12rem);
    line-height: 1.38;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    min-height: 2.76em;
}

.company-pvv-grid .content-card > p {
    margin: 0;
    flex: 1;
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.78;
}

@media (max-width: 1024px) {
    .company-pvv-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-pvv-grid .content-card .section-title {
        min-height: auto;
    }
}

.founder-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.founder-profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 正方形のクリップ枠（figure）。img の width/height 属性と競合させない */
.founder-avatar {
    flex-shrink: 0;
    width: min(220px, 100%);
    max-width: 220px;
    margin: 0 auto 18px;
    aspect-ratio: 1;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(0, 82, 204, 0.1);
    box-shadow: 0 14px 30px rgba(16, 34, 68, 0.12);
    background: linear-gradient(180deg, rgba(245, 249, 255, 0.95), #ffffff);
}

.founder-avatar :is(img) {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.founder-avatar-image {
    /* class は Astro の img に付与。寸法は親 figure に合わせる */
    max-width: none;
    aspect-ratio: unset;
}

.founder-role {
    margin-bottom: 14px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.7;
}

.founder-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
    width: auto;
    min-width: 220px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.founder-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
}

.founder-social-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.founder-bio {
    width: 100%;
    text-align: left;
    color: #334155;
    line-height: 1.95;
}


.content-grid-two,
.contact-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.content-card,
.service-showcase-card,
.timeline-item {
    padding: 26px 24px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(244, 247, 249, 0.95), #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.vibe-coding-definition-card dfn {
    font-style: normal;
    font-weight: 700;
    color: #0f172a;
}

.service-showcase-card {
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(16, 34, 68, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
    overflow: hidden;
}

.service-showcase-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 -40%;
    width: 42%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0));
    transform: skewX(-18deg);
    animation: shineSweep 6.5s ease-in-out infinite;
    pointer-events: none;
}

.support-example-grid {
    display: flex;
    gap: 18px;
    align-items: start;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0 0 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 82, 204, 0.28) rgba(15, 23, 42, 0.06);
}

.support-example-grid::-webkit-scrollbar {
    height: 8px;
}

.support-example-grid::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.06);
    border-radius: 999px;
}

.support-example-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 82, 204, 0.28);
    border-radius: 999px;
}

.support-example-grid .service-showcase-card {
    scroll-snap-align: start;
    min-height: 0;
    flex: 0 0 min(388px, calc(100vw - 120px));
    display: grid;
    grid-template-rows: auto minmax(calc(1.4em * 2), auto) 10.5rem 21.5rem auto;
    align-content: start;
}

.usecase-scroll-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.usecase-filter-section {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
}

.usecase-search-container {
    max-width: 600px;
    margin: 0 auto 30px;
}

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.usecase-card {
    gap: 14px;
}

.usecase-pain,
.usecase-detail-block {
    display: grid;
    gap: 8px;
}

.usecase-label {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pain-label {
    color: #b45309;
}

.solution-label {
    color: var(--primary-color);
}

.gain-label {
    color: #15803d;
}

.usecase-pain p,
.usecase-detail-block p {
    margin: 0;
    color: #334155;
    line-height: 1.8;
}

.usecase-accordion {
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 14px;
}

.usecase-summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: #102244;
}

.usecase-summary::-webkit-details-marker {
    display: none;
}

.usecase-summary::after {
    content: '+';
    float: right;
    color: var(--primary-color);
}

.usecase-accordion[open] .usecase-summary::after {
    content: '-';
}

.usecase-details-content {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.usecase-empty {
    text-align: center;
    padding: 40px;
    color: var(--muted-color);
}

.service-showcase-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 82, 204, 0.14);
    box-shadow: 0 16px 34px rgba(16, 34, 68, 0.1);
}

.content-card > :last-child,
.service-showcase-card > :last-child,
.timeline-item > :last-child,
.cta-panel > div > :last-child,
.news-feature-panel > div > :last-child {
    margin-bottom: 0;
}

.content-card h3,
.service-showcase-card h3 {
    margin-bottom: 8px;
    color: #102244;
}

.section-header-block {
    margin-bottom: 22px;
}

.section-header-block > p:not(.section-kicker) {
    color: #4b5563;
    line-height: 1.85;
}

.section-kicker {
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 10px;
    animation: ambientGlow 6s ease-in-out infinite;
}

.section-title {
    font-size: clamp(1.25rem, 2.2vw, 1.72rem);
    color: #102244;
    line-height: 1.38;
    margin-bottom: 10px;
    text-wrap: balance;
}

.service-showcase-card .section-title,
.cta-panel .section-title,
.prompt-note-panel .section-title {
    font-size: clamp(1.18rem, 2vw, 1.5rem);
}

.detail-table {
    display: grid;
}

.detail-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row dt {
    color: var(--muted-color);
    font-weight: 600;
}

.detail-row dd {
    margin: 0;
    color: #243047;
}

.detail-row a {
    color: var(--primary-color);
    text-decoration: none;
}

.pill-grid,
.service-showcase-grid,
.timeline-grid {
    display: grid;
    gap: 18px;
}

.pill-grid,
.service-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.support-example-summary {
    min-height: 0;
    display: grid;
    gap: 8px;
    margin-top: 6px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(0, 82, 204, 0.05), rgba(0, 82, 204, 0.02));
    border: 1px solid rgba(0, 82, 204, 0.08);
    color: #334155;
    font-size: 0.96rem;
    line-height: 1.72;
    align-content: start;
    height: 100%;
}

.support-example-list {
    min-height: 0;
    display: grid;
    grid-template-rows: repeat(2, 9.5rem);
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 28px;
    align-content: start;
    height: 100%;
}

.support-example-title {
    font-size: clamp(1rem, 1.25vw, 1.12rem) !important;
    line-height: 1.4;
    min-height: calc(1.4em * 2);
    margin-bottom: 0;
    letter-spacing: 0.01em;
}

.support-example-summary-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(0, 82, 204, 0.08);
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.support-example-list li {
    display: grid;
    gap: 6px;
    padding: 14px 16px 14px 18px;
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.18);
    align-content: start;
    height: 100%;
}

.support-example-list li strong {
    color: #102244;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.support-example-list li span {
    display: block;
    color: #334155;
    font-size: 0.96rem;
    line-height: 1.72;
}

.feature-list li {
    position: relative;
    padding-left: 18px;
    color: #374151;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.support-example-list li {
    padding-left: 16px;
    color: #334155;
}

.support-example-list li::before {
    content: none;
}

.price-heat-card {
    margin-top: 28px;
    padding: 18px 18px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(9, 27, 69, 0.98), rgba(0, 82, 204, 0.9));
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 30px rgba(16, 34, 68, 0.14);
    position: relative;
    overflow: hidden;
}

.price-heat-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 -18%;
    width: 32%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(125, 211, 252, 0.24), rgba(255, 255, 255, 0));
    transform: skewX(-18deg);
    animation: heatScan 4.8s ease-in-out infinite;
    pointer-events: none;
}

.price-heat-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.price-heat-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.price-heat-value {
    display: grid;
    justify-items: end;
    gap: 4px;
    min-width: 0;
}

.price-heat-value strong {
    font-size: clamp(0.92rem, 1vw, 1.04rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
}

.price-heat-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.price-heat-graph {
    min-height: 96px;
    margin-bottom: 12px;
}

.price-heat-surface {
    position: relative;
    display: grid;
    grid-template-columns: repeat(21, minmax(0, 1fr));
    gap: 4px;
    align-items: end;
    min-height: 56px;
    padding: 8px 0 10px;
}

.price-heat-surface::after {
    content: '';
    position: absolute;
    inset: auto 0 10px;
    height: 28px;
    background: radial-gradient(circle at center, rgba(96, 165, 250, 0.18), rgba(96, 165, 250, 0));
    animation: ambientGlow 5.6s ease-in-out infinite;
    pointer-events: none;
}

.price-heat-surface::before {
    content: '';
    position: absolute;
    inset: auto 0 9px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.22));
}

.price-heat-surface span {
    position: relative;
    z-index: 1;
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: heatPulse 2.8s ease-in-out infinite;
    transform-origin: bottom center;
}

.price-heat-surface span:nth-child(3n) { animation-delay: 0.12s; }
.price-heat-surface span:nth-child(4n) { animation-delay: 0.24s; }
.price-heat-surface span:nth-child(5n) { animation-delay: 0.36s; }
.price-heat-surface span:nth-child(6n) { animation-delay: 0.48s; }

.price-heat-surface-15 span:nth-child(1),
.price-heat-surface-15 span:nth-child(2),
.price-heat-surface-15 span:nth-child(3) {
    height: 20px;
}

.price-heat-surface-15 span:nth-child(4),
.price-heat-surface-15 span:nth-child(5) {
    height: 28px;
    background: rgba(125, 211, 252, 0.34);
}

.price-heat-surface-15 span:nth-child(6),
.price-heat-surface-15 span:nth-child(7),
.price-heat-surface-15 span:nth-child(8) {
    height: 40px;
    background: rgba(96, 165, 250, 0.62);
    box-shadow: 0 0 16px rgba(96, 165, 250, 0.24);
}

.price-heat-surface-15 span:nth-child(4),
.price-heat-surface-15 span:nth-child(5),
.price-heat-surface-15 span:nth-child(9),
.price-heat-surface-15 span:nth-child(10) {
    background: rgba(125, 211, 252, 0.34);
}

.price-heat-surface-15 span:nth-child(9),
.price-heat-surface-15 span:nth-child(10) {
    height: 28px;
}

.price-heat-surface-55 span:nth-child(6),
.price-heat-surface-55 span:nth-child(7),
.price-heat-surface-55 span:nth-child(15),
.price-heat-surface-55 span:nth-child(16) {
    height: 24px;
    background: rgba(125, 211, 252, 0.24);
}

.price-heat-surface-55 span:nth-child(8),
.price-heat-surface-55 span:nth-child(9),
.price-heat-surface-55 span:nth-child(13),
.price-heat-surface-55 span:nth-child(14) {
    height: 34px;
    background: rgba(96, 165, 250, 0.48);
}

.price-heat-surface-55 span:nth-child(10),
.price-heat-surface-55 span:nth-child(11),
.price-heat-surface-55 span:nth-child(12) {
    height: 48px;
    background: linear-gradient(180deg, #7dd3fc, #2563eb);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.28);
}

.price-heat-surface-40 span:nth-child(4),
.price-heat-surface-40 span:nth-child(5),
.price-heat-surface-40 span:nth-child(11),
.price-heat-surface-40 span:nth-child(12) {
    height: 24px;
    background: rgba(125, 211, 252, 0.22);
}

.price-heat-surface-40 span:nth-child(6),
.price-heat-surface-40 span:nth-child(7),
.price-heat-surface-40 span:nth-child(8),
.price-heat-surface-40 span:nth-child(9),
.price-heat-surface-40 span:nth-child(10) {
    height: 42px;
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.9), rgba(37, 99, 235, 0.94));
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.24);
}

.price-heat-surface-8 span:nth-child(1),
.price-heat-surface-8 span:nth-child(2) {
    height: 22px;
    background: rgba(125, 211, 252, 0.32);
}

.price-heat-surface-8 span:nth-child(3),
.price-heat-surface-8 span:nth-child(4) {
    height: 34px;
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.92), rgba(59, 130, 246, 0.9));
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.2);
}

.price-heat-surface-10 span:nth-child(1),
.price-heat-surface-10 span:nth-child(2) {
    height: 22px;
    background: rgba(125, 211, 252, 0.28);
}

.price-heat-surface-10 span:nth-child(3),
.price-heat-surface-10 span:nth-child(4),
.price-heat-surface-10 span:nth-child(5) {
    height: 36px;
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.92), rgba(59, 130, 246, 0.9));
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.22);
}

.price-heat-surface-25 span:nth-child(3),
.price-heat-surface-25 span:nth-child(4),
.price-heat-surface-25 span:nth-child(10),
.price-heat-surface-25 span:nth-child(11) {
    height: 24px;
    background: rgba(125, 211, 252, 0.26);
}

.price-heat-surface-25 span:nth-child(5),
.price-heat-surface-25 span:nth-child(6),
.price-heat-surface-25 span:nth-child(7),
.price-heat-surface-25 span:nth-child(8),
.price-heat-surface-25 span:nth-child(9) {
    height: 42px;
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.9), rgba(37, 99, 235, 0.92));
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.24);
}

.price-heat-surface-30 span:nth-child(4),
.price-heat-surface-30 span:nth-child(5),
.price-heat-surface-30 span:nth-child(11),
.price-heat-surface-30 span:nth-child(12) {
    height: 24px;
    background: rgba(125, 211, 252, 0.24);
}

.price-heat-surface-30 span:nth-child(6),
.price-heat-surface-30 span:nth-child(7),
.price-heat-surface-30 span:nth-child(8),
.price-heat-surface-30 span:nth-child(9),
.price-heat-surface-30 span:nth-child(10) {
    height: 40px;
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.88), rgba(37, 99, 235, 0.92));
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.22);
}

.price-heat-surface-45 span:nth-child(6),
.price-heat-surface-45 span:nth-child(7),
.price-heat-surface-45 span:nth-child(13),
.price-heat-surface-45 span:nth-child(14) {
    height: 24px;
    background: rgba(125, 211, 252, 0.22);
}

.price-heat-surface-45 span:nth-child(8),
.price-heat-surface-45 span:nth-child(9),
.price-heat-surface-45 span:nth-child(10),
.price-heat-surface-45 span:nth-child(11),
.price-heat-surface-45 span:nth-child(12) {
    height: 44px;
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.88), rgba(37, 99, 235, 0.94));
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.24);
}

.price-heat-surface-60 span:nth-child(10),
.price-heat-surface-60 span:nth-child(11),
.price-heat-surface-60 span:nth-child(17),
.price-heat-surface-60 span:nth-child(18) {
    height: 24px;
    background: rgba(125, 211, 252, 0.2);
}

.price-heat-surface-60 span:nth-child(12),
.price-heat-surface-60 span:nth-child(13),
.price-heat-surface-60 span:nth-child(14),
.price-heat-surface-60 span:nth-child(15),
.price-heat-surface-60 span:nth-child(16) {
    height: 42px;
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.9), rgba(29, 78, 216, 0.95));
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.26);
}

.price-heat-surface-65 span:nth-child(11),
.price-heat-surface-65 span:nth-child(12),
.price-heat-surface-65 span:nth-child(18),
.price-heat-surface-65 span:nth-child(19) {
    height: 24px;
    background: rgba(125, 211, 252, 0.18);
}

.price-heat-surface-65 span:nth-child(13),
.price-heat-surface-65 span:nth-child(14),
.price-heat-surface-65 span:nth-child(15),
.price-heat-surface-65 span:nth-child(16),
.price-heat-surface-65 span:nth-child(17) {
    height: 42px;
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.92), rgba(29, 78, 216, 0.96));
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.28);
}

.price-heat-surface-75 span:nth-child(13),
.price-heat-surface-75 span:nth-child(14),
.price-heat-surface-75 span:nth-child(20),
.price-heat-surface-75 span:nth-child(21) {
    height: 22px;
    background: rgba(125, 211, 252, 0.16);
}

.price-heat-surface-75 span:nth-child(15),
.price-heat-surface-75 span:nth-child(16),
.price-heat-surface-75 span:nth-child(17),
.price-heat-surface-75 span:nth-child(18),
.price-heat-surface-75 span:nth-child(19) {
    height: 44px;
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.92), rgba(29, 78, 216, 0.98));
    box-shadow: 0 0 18px rgba(29, 78, 216, 0.28);
}

.price-heat-surface-90 span:nth-child(16),
.price-heat-surface-90 span:nth-child(17) {
    height: 22px;
    background: rgba(125, 211, 252, 0.12);
}

.price-heat-surface-90 span:nth-child(18),
.price-heat-surface-90 span:nth-child(19),
.price-heat-surface-90 span:nth-child(20),
.price-heat-surface-90 span:nth-child(21) {
    height: 46px;
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.94), rgba(15, 23, 42, 0.98));
    box-shadow: 0 0 20px rgba(29, 78, 216, 0.3);
}

.price-heat-axis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.price-heat-axis span {
    white-space: nowrap;
}

.price-heat-axis span:nth-child(2),
.price-heat-axis span:nth-child(3),
.price-heat-axis span:nth-child(4) {
    text-align: center;
}

.price-heat-axis span:last-child {
    text-align: right;
}

.price-heat-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.7;
    min-height: calc(1.7em * 3);
}

.section-support-note {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.08), rgba(59, 130, 246, 0.03));
    border: 1px solid rgba(0, 82, 204, 0.1);
    color: #385071;
    font-size: 0.95rem;
}

.support-example-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding: 20px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(16, 34, 68, 0.04), rgba(0, 82, 204, 0.08));
    border: 1px solid rgba(0, 82, 204, 0.1);
}

.support-example-cta p {
    margin: 0;
    color: #32415f;
    line-height: 1.75;
}

.support-example-link {
    white-space: nowrap;
}

.timeline-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.timeline-item span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.timeline-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.08rem;
    color: #102244;
}

.cta-panel,
.news-feature-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.08), rgba(26, 43, 90, 0.08));
}

.prompt-note-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.06), rgba(0, 82, 204, 0.02));
    border: 1px solid rgba(0, 82, 204, 0.12);
}

.prompt-note-link {
    color: var(--primary-color);
    border-color: rgba(0, 82, 204, 0.18);
    background: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
}

.prompt-note-link:hover {
    background: rgba(255, 255, 255, 0.92);
}

.news-item {
    transition: transform 0.2s ease;
}

.news-item:hover {
    transform: translateY(-1px);
}

.contact-shell .contact-form-container {
    max-width: none;
    padding: 0;
}

.contact-shell .contact-form-header {
    margin-top: 0;
}

.contact-shell .contact-form-title {
    color: #102244;
    text-shadow: none;
}

.contact-shell .contact-form-lead {
    color: #4b5563;
    text-shadow: none;
}

.contact-shell .contact-form-wrapper {
    box-shadow: none;
}

.contact-shell {
    display: grid;
    gap: 28px;
}

.contact-intro-grid {
    align-items: start;
}

.news-shell {
    max-width: 980px;
}

.news-body {
    max-width: 760px;
}

.owned-services-shell .section-header-block p:last-child {
    color: #4b5563;
    line-height: 1.8;
}

.owned-services-list {
    margin-top: 24px;
}

.owned-service-card {
    min-height: 100%;
    padding: 28px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(244, 247, 249, 0.95), #ffffff);
    box-shadow: 0 14px 32px rgba(16, 34, 68, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #102244;
}

.owned-services-list,
.owned-services-list li {
    width: 100%;
}

.owned-service-card .service-card-name {
    color: #102244;
    text-shadow: none;
}

.owned-service-card .service-card-catch {
    color: #4b5563;
    text-shadow: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- News Page --- */
.news-page {
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 1 0 auto;
    min-height: 100vh;
    padding: 24px 20px 72px;
    display: grid;
    gap: 24px;
    align-content: start;
}

.news-shell {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.news-detail {
    max-width: 820px;
}

.news-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.news-list {
    display: grid;
    gap: 18px;
}

.news-item {
    padding: 24px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.news-item:first-child {
    border-top: none;
    padding-top: 0;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: var(--muted-color);
}

.news-item-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.news-item-title a,
.news-back a {
    color: #102244;
    text-decoration: none;
}

.news-item-title a:hover,
.news-back a:hover {
    color: var(--primary-color);
}

.news-item-description,
.news-body p,
.news-rich-content p {
    color: #374151;
    line-height: 1.8;
}

.news-empty {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.8;
}

.news-rich-content {
    display: grid;
    gap: 16px;
    color: #374151;
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.news-rich-content h2,
.news-rich-content h3 {
    color: #102244;
    line-height: 1.4;
    margin-top: 12px;
}

.news-rich-content ul,
.news-rich-content ol {
    padding-left: 1.4rem;
    color: #374151;
    line-height: 1.8;
}

.news-rich-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.news-rich-content img,
.news-rich-content video,
.news-rich-content iframe,
.news-rich-content embed,
.news-rich-content object {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 14px;
}

.news-rich-content iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
}

.news-rich-content figure {
    margin: 0;
    display: grid;
    gap: 10px;
}

.news-rich-content figcaption {
    font-size: 0.9rem;
    color: var(--muted-color);
}

.news-rich-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    white-space: nowrap;
}

.news-rich-content th,
.news-rich-content td {
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
    vertical-align: top;
    background: rgba(255, 255, 255, 0.85);
}

.news-rich-content pre {
    max-width: 100%;
    overflow-x: auto;
    padding: 18px;
    border-radius: 14px;
    background: #0f172a;
    color: #e5eefc;
    font-size: 0.92rem;
    line-height: 1.7;
}

.news-rich-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.news-rich-content :not(pre) > code {
    padding: 0.15em 0.45em;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.08);
    color: #102244;
}

.news-rich-content blockquote {
    margin: 0;
    padding: 16px 20px;
    border-left: 4px solid var(--primary-color);
    background: rgba(0, 82, 204, 0.06);
    color: #334155;
}

.news-back {
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.news-back-top {
    margin-bottom: 16px;
}

.news-back-top a {
    color: rgba(255, 255, 255, 0.96);
}

.news-back-top a:hover {
    color: #fff;
}

.news-back-bottom {
    margin-top: 28px;
    margin-bottom: 0;
}

.news-detail-title {
    font-size: clamp(2rem, 4.6vw, 3rem);
}

.news-body {
    display: grid;
    gap: 16px;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    .site-header-shell {
        padding: 18px 16px 0;
        gap: 14px;
    }
    .site-header-row {
        width: 100%;
    }
    .site-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        width: auto;
        display: none;
        z-index: 20;
    }
    .site-nav.is-open {
        display: block;
    }
    .site-nav-list {
        width: 100%;
        gap: 10px;
        justify-content: flex-start;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(14px);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
    }
    .site-nav-link {
        justify-content: flex-start;
        padding: 0 14px;
    }
    .top-hero-rich {
        width: calc(100% - 32px);
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 20px;
    }
    .top-hero-copy {
        max-width: none;
        text-align: center;
    }
    .top-hero-copy {
        align-items: center;
    }
    .top-hero-copy .page-eyebrow,
    .top-hero-copy .top-hero-catch,
    .top-hero-copy .top-hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .top-hero-copy .logo {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-primary-link,
    .hero-secondary-link {
        width: 100%;
    }
    .hero-highlight-card {
        padding: 22px 20px;
    }
    .visual-intro-grid,
    .founder-grid {
        grid-template-columns: 1fr;
    }
    .pill-grid,
    .timeline-grid,
    .content-grid-two,
    .company-pvv-grid,
    .contact-intro-grid {
        grid-template-columns: 1fr;
    }

    .company-pvv-grid .content-card .section-title {
        min-height: auto;
    }
    .support-example-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        overflow-y: visible;
        padding: 0 0 8px;
        margin: 0;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }
    .support-example-grid::-webkit-scrollbar {
        height: 8px;
    }
    .support-example-grid::-webkit-scrollbar-track {
        background: rgba(15, 23, 42, 0.06);
        border-radius: 999px;
    }
    .support-example-grid::-webkit-scrollbar-thumb {
        background: rgba(0, 82, 204, 0.28);
        border-radius: 999px;
    }
    .support-example-grid .service-showcase-card {
        scroll-snap-align: start;
        min-height: 0;
        flex: 0 0 calc(100% - 48px);
        display: flex;
    }
    .usecase-grid {
        grid-template-columns: 1fr;
    }
    .support-example-summary,
    .support-example-list,
    .price-heat-note {
        min-height: 0;
    }
    .support-example-title {
        min-height: auto;
    }
    .support-example-list {
        grid-template-rows: none;
        height: auto;
    }
    .support-example-summary,
    .support-example-list li {
        height: auto;
    }
    .service-showcase-card:hover {
        transform: none;
    }
    .content-page {
        padding: 12px 16px 48px;
    }
    .page-hero {
        padding: 36px 4px 4px;
        margin-bottom: 8px;
    }
    .content-shell {
        padding: 24px 20px;
        overflow-x: clip;
    }
    .section-title {
        margin-bottom: 8px;
    }
    .detail-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .cta-panel,
    .news-feature-panel,
    .prompt-note-panel,
    .support-example-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
    }
    .price-heat-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .price-heat-value {
        justify-items: start;
    }
    .price-heat-value strong {
        text-align: left;
    }
    .price-heat-surface {
        gap: 3px;
        min-height: 48px;
    }
    .price-heat-axis {
        font-size: 0.68rem;
    }
    .owned-services-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0;
        overflow: visible;
    }
    .owned-services-list li {
        width: 100%;
    }
    .owned-service-card {
        min-height: 0;
    }
    .site-footer-shell {
        padding: 24px 16px 32px;
    }
    .prompt-page .prompt-search-row {
        flex-direction: column;
    }

    .prompt-page .prompt-form-select {
        flex: 1 1 auto;
    }

    .prompt-page .prompt-form {
        grid-template-columns: 1fr;
    }

    .prompt-page .prompt-panel-header {
        flex-direction: column;
        align-items: stretch;
    }

    .prompt-page .char-count {
        align-self: flex-start;
    }

    .prompt-page .input-group input,
    .prompt-page .input-group textarea {
        font-size: 0.94rem;
    }

    .prompt-page .generated-prompt-content {
        min-height: 220px;
        max-height: 380px;
        font-size: 0.86rem;
        padding: 16px;
    }

    .prompt-page .action-buttons {
        flex-direction: column;
    }

    .prompt-page .copy-button,
    .prompt-page .download-button {
        width: 100%;
        justify-content: center;
    }
    .footer-content {
        padding: 0 15px;
    }
    .footer-link {
        font-size: 0.85rem;
    }
    .news-page {
        padding: 12px 16px 48px;
    }
    .news-shell {
        padding: 28px 20px;
    }
    .news-item-title {
        font-size: 1.1rem;
    }
    .news-body {
        max-width: none;
    }
    .news-rich-content iframe {
        min-height: 220px;
    }
    .news-rich-content th,
    .news-rich-content td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .site-brand-logo {
        width: 148px;
    }
    .site-nav-link {
        min-height: 36px;
        padding: 0 12px;
        font-size: 0.85rem;
    }
    .prompt-page .prompt-panel {
        padding: 18px 16px;
    }

    .prompt-page .prompt-panel-title {
        font-size: 1.05rem;
    }
    .page-title {
        font-size: 1.8rem;
    }
    .page-lead,
    .top-hero-description {
        font-size: 0.96rem;
        line-height: 1.8;
    }
    .logo {
        max-width: 180px;
        padding: 10px;
    }
    .page-link-card,
    .content-card,
    .service-showcase-card,
    .timeline-item {
        padding: 20px 18px;
    }
    .content-shell,
    .news-shell {
        padding: 22px 18px;
        border-radius: 16px;
    }
    .news-rich-content pre {
        padding: 14px;
        font-size: 0.86rem;
    }
}

/* --- Use Case Page Updates --- */
.usecase-filter-section {
    margin-bottom: 24px;
    padding-top: 24px;
    padding-bottom: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.94));
    border: 1px solid rgba(0, 82, 204, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.usecase-filter-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.usecase-filter-stats {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.usecase-filter-stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #526073;
    font-size: 0.82rem;
    white-space: nowrap;
}

.usecase-filter-stats strong {
    color: #102244;
    font-size: 0.92rem;
}

.usecase-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.usecase-toolbar-meta {
    display: grid;
    gap: 4px;
}

.usecase-toolbar-label {
    margin: 0;
    color: #7a8797;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.usecase-toolbar-count {
    margin: 0;
    color: #102244;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.5;
}

.usecase-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(0, 82, 204, 0.08);
}

.usecase-view-button {
    appearance: none;
    border: none;
    background: transparent;
    color: #44526a;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.usecase-view-button:hover {
    transform: translateY(-1px);
}

.usecase-view-button.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff;
    box-shadow: 0 10px 18px rgba(0, 82, 204, 0.18);
}

.usecase-pagination {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(248, 251, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.usecase-page-btn {
    appearance: none;
    border: 1px solid rgba(0, 82, 204, 0.22);
    background: #fff;
    color: var(--primary-color);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.usecase-page-btn:hover:not(:disabled) {
    background: rgba(0, 82, 204, 0.08);
}

.usecase-page-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.usecase-page-indicator {
    font-size: 0.92rem;
    font-weight: 700;
    color: #102244;
    min-width: 4.5rem;
    text-align: center;
}

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.usecase-grid[data-view='list'] {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
}

.usecase-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    padding: 22px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(8px);
}

.usecase-grid[data-view='list'] .usecase-card {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    gap: 8px 12px;
    padding: 10px 12px;
    min-height: 0;
    height: auto;
    border-radius: 10px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.22);
    backdrop-filter: none;
    overflow: visible;
}

.usecase-grid[data-view='list'] .usecase-card::before {
    display: none;
}

.usecase-grid[data-view='list'] .usecase-card:hover {
    transform: none;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
    border-color: rgba(0, 82, 204, 0.2);
}

.usecase-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.usecase-card-id {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(0, 82, 204, 0.06);
    border: 1px solid rgba(0, 82, 204, 0.1);
    color: #4f7ed5;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.usecase-grid[data-view='list'] .usecase-card-meta {
    display: none !important;
}

.usecase-grid[data-view='list'] .usecase-card .section-title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.4;
    font-weight: 700;
    color: #102244;
    text-wrap: unset;
    text-align: left;
}

.usecase-grid[data-view='list'] .usecase-summary {
    padding: 6px 0;
    white-space: nowrap;
    font-size: 0.88rem;
}

.usecase-grid[data-view='list'] .usecase-accordion {
    flex: 0 0 auto;
    width: auto;
    min-width: 3.5rem;
    margin-top: 0 !important;
    margin-left: auto;
    margin-bottom: 0;
    padding-top: 0;
    border-top: none;
}

.usecase-grid[data-view='list'] .usecase-accordion[open] {
    flex: 1 1 100%;
    margin-left: 0;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

.usecase-grid[data-view='list'] .usecase-accordion[open] .usecase-summary {
    padding-bottom: 8px;
}

.usecase-grid[data-view='list'] .usecase-details-content {
    padding-top: 8px;
}

.usecase-grid[data-view='list'] .usecase-detail-block {
    gap: 6px;
}

.usecase-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.pain-label {
    background: #fef2f2;
    color: #e11d48;
}

.solution-label {
    background: #eff6ff;
    color: #2563eb;
}

.gain-label {
    background: #f0fdf4;
    color: #16a34a;
}

.usecase-pain {
    margin: 14px 0 10px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.14);
    flex-grow: 0;
    min-height: 136px;
}

.usecase-pain p {
    font-size: 0.94rem;
    color: #44526a;
    line-height: 1.72;
    margin: 0;
}

.usecase-accordion {
    width: 100%;
    margin-top: auto;
    border-top: 1px dashed rgba(148, 163, 184, 0.24);
    padding-top: 12px;
}

.usecase-grid[data-view='card'] .usecase-accordion {
    margin-top: 14px;
    flex-grow: 0;
}

.usecase-grid[data-view='card'] .usecase-summary {
    display: none;
}

.usecase-grid[data-view='card'] .usecase-details-content {
    padding-top: 0;
}

.usecase-summary {
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 10px 0 2px;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s, transform 0.2s ease;
}

.usecase-summary::-webkit-details-marker {
    display: none;
}

.usecase-summary::before {
    content: '+';
    font-size: 1.2rem;
    font-weight: normal;
    display: inline-block;
    transition: transform 0.3s;
}

.usecase-summary::after {
    content: none;
}

.usecase-accordion[open] .usecase-summary::before {
    transform: rotate(45deg);
}

.usecase-details-content {
    padding-top: 12px;
    display: grid;
    gap: 12px;
    animation: fadeInDown 0.3s ease-out;
}

.usecase-detail-block {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.usecase-detail-block p {
    font-size: 0.94rem;
    color: #374151;
    line-height: 1.72;
    margin: 0;
}

.usecase-filter-section .category-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 82, 204, 0.28) rgba(15, 23, 42, 0.06);
}

.usecase-filter-section .category-tabs::-webkit-scrollbar {
    height: 8px;
}

.usecase-filter-section .category-tabs::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.06);
    border-radius: 999px;
}

.usecase-filter-section .category-tabs::-webkit-scrollbar-thumb {
    background: rgba(0, 82, 204, 0.28);
    border-radius: 999px;
}

.usecase-filter-section .category-tab {
    flex: 0 0 auto;
    padding: 10px 16px;
    border-radius: 999px;
    border-width: 1px;
    font-size: 0.88rem;
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(148, 163, 184, 0.2);
    color: #44526a;
    white-space: nowrap;
}

.usecase-filter-section .category-tab:hover {
    transform: translateY(-1px);
}

.usecase-search-container {
    max-width: none;
    margin: 0;
}

.usecase-filter-section .search-container {
    margin-bottom: 0;
}

.usecase-filter-section .search-input {
    min-height: 52px;
    padding-left: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.usecase-card .section-kicker {
    margin-bottom: 0;
    color: #6f95d8;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
}

.usecase-card .section-title {
    margin-bottom: 0;
    font-size: clamp(1.08rem, 1.36vw, 1.28rem);
    line-height: 1.5;
    text-wrap: unset;
    word-break: normal;
    overflow-wrap: break-word;
}

/* 同一行のカードでタイトル行数が違っても、区切り線・本文の開始位置を揃える */
.usecase-grid[data-view='card'] .usecase-card .section-title {
    min-height: calc(1.5em * 2);
}

.usecase-accordion[open] .usecase-summary {
    color: #10336d;
}

.usecase-summary:hover {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .usecase-filter-head,
    .usecase-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .usecase-filter-stats {
        justify-content: flex-start;
    }

    .usecase-filter-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .usecase-toolbar {
        justify-content: flex-start;
        margin-bottom: 14px;
    }

    .usecase-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .usecase-grid[data-view='list'] .usecase-card {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 10px 12px;
    }

    .usecase-grid[data-view='list'] .usecase-card .section-title {
        flex: 1 1 calc(100% - 88px);
        min-width: 0;
    }

    .usecase-grid[data-view='list'] .usecase-accordion {
        margin-left: auto;
        margin-top: 0 !important;
        align-self: center;
    }

    .usecase-grid[data-view='list'] .usecase-summary {
        white-space: nowrap;
    }

    .usecase-grid[data-view='list'] .usecase-accordion[open] {
        margin-top: 8px;
        padding-top: 10px;
    }

    .usecase-card {
        padding: 22px 18px;
    }

    .usecase-pain {
        min-height: 0;
    }

    .usecase-filter-section .category-tabs {
        margin-bottom: 14px;
        gap: 8px;
    }

    .usecase-filter-section .category-tab {
        padding: 9px 14px;
        font-size: 0.86rem;
    }
}
