/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
    --accent-color: #06b6d4;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* タイポグラフィ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.875rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* ボタン */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* ナビゲーション */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo a {
    text-decoration: none;
}

.nav-logo h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 800;
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
}

.nav-logo a:hover h2 {
    transform: scale(1.05);
    opacity: 0.9;
}

/* 削除: NextPalブランドカラーに置き換え */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: var(--gradient-primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* ヒーローセクション */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2.5rem;
    align-items: start;
}

.hero-text {
    width: 100%;
    overflow: hidden; /* 幅を超えた場合の制御 */
}

.hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--text-primary);
    word-break: keep-all;
    min-height: 14.56rem; /* 4行分の高さを確保 (2.8rem * 1.3 * 4) */
}

/* モバイル版でのタイトル高さ調整 */
@media (max-width: 767px) {
    .hero-text h1 {
        font-size: 2.2rem;
        min-height: 11.44rem; /* モバイルでは4行分の高さを確保 (2.2rem * 1.3 * 4) */
    }
}

.hero-highlight {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.hero-subtext {
    color: var(--secondary-color);
    font-weight: 700;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

/* レスポンシブテキスト表示制御 */
@media (max-width: 767px) {
    .desktop-text {
        display: none;
    }
}

@media (min-width: 768px) {
    .mobile-text {
        display: none;
    }
}

/* hero-features-containerでフィーチャーとCTAを横並び配置 */
.hero-features-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 100%;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    flex-shrink: 0; /* 縮小を防ぐ */
}

/* PC版でのグリッドレイアウト */
@media (min-width: 768px) {
    .hero-features-container {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 3rem;
        align-items: start;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-features {
        gap: 3rem;
        width: 100% !important;
        min-width: 0; /* グリッドアイテムの最小幅を0に設定 */
    }
    
    .hero-features-container .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 3rem !important;
        min-width: 220px;
        margin-top: 0;
        flex-wrap: nowrap;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary,
    .hero-cta .btn-outline {
        width: 100%;
        text-align: center;
        white-space: nowrap;
    }
}

.hero-features .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0; /* アイテムの縮小を防ぐ */
}

.hero-features .feature-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    width: 24px;
    text-align: center;
}

/* モバイル版のCTAスタイル */
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ヒーロービジュアル */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0;
}

.hero-illustration {
    position: relative;
    width: 400px;
    height: 400px;
}

.ai-circle, .human-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: var(--shadow-xl);
}

.ai-circle {
    background: var(--gradient-primary);
    top: 50px;
    left: 50px;
    position: absolute;
}

.human-circle {
    background: var(--gradient-accent);
    bottom: 30px;
    right: 30px;
    position: absolute;
}

.pulse-ring {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 160px;
    height: 160px;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse { /* パルスアニメーション */
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.connection-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.line {
    position: absolute;
    width: 2px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 2px;
    opacity: 0.6;
    animation: glow 2s infinite alternate;
}

.line-1 { transform: rotate(0deg); }
.line-2 { transform: rotate(60deg); }
.line-3 { transform: rotate(120deg); }

@keyframes glow { /* 発光アニメーション */
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

/* 問題セクション */
.problem-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 240px;
    display: flex;
    flex-direction: column;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}


.problem-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem; /* フォントサイズを小さくして改行を防ぐ */
    line-height: 1.4;
}

.problem-card ul {
    list-style: none;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.problem-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.problem-card li:last-child {
    border-bottom: none;
}

.problem-card li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.solution-banner {
    background: white;
    color: var(--text-primary);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.solution-banner h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution-banner p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.solution-arrows {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.solution-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    flex-wrap: nowrap; /* 横一列を維持 */
    white-space: nowrap; /* テキストの改行を防ぐ */
    font-size: 0.9rem; /* フォントサイズを少し小さく */
}

.solution-item span {
    font-weight: 600;
    text-align: center;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .solution-arrows {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .solution-item {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1.2rem;
        font-size: 0.9rem;
        white-space: normal; /* モバイルでは改行を許可 */
    }
    
    .solution-item i {
        transform: rotate(90deg); /* 矢印を下向きに */
        font-size: 1rem;
    }
}

.solution-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* 統合された解決策コンポーネント */
.solution-comparison-integrated {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.solution-comparison-integrated h4 {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.comparison-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.comparison-before,
.comparison-after {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
}

.comparison-before {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
}

.comparison-after {
    background: #f0f9ff;
    border-left: 4px solid var(--primary-color);
}

.comparison-before i {
    color: #dc2626;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.comparison-after i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.comparison-before h5,
.comparison-after h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.comparison-before p,
.comparison-after p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.comparison-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

/* 解決策の具体的効果 */
.solution-benefits {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.solution-benefits h4 {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.benefits-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-item-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.benefit-icon i {
    color: white;
    font-size: 1.5rem;
}

.benefit-content h5 {
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.benefit-stat {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.benefit-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .comparison-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
        margin: 0.5rem auto;
    }
    
    .benefits-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .benefit-item-compact {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* 機能セクション */
.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    gap: 3rem;
}

.feature-block {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    font-size: 2.5rem;
}

.ai-icon {
    color: var(--secondary-color);
}

.human-icon {
    color: rgba(255, 255, 255, 0.9);
}

.feature-content {
    padding: 2rem;
}

.features-section .feature-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.features-section .feature-item:last-child {
    margin-bottom: 0;
}

.features-section .feature-item h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.features-section .feature-item ul {
    list-style: none;
    padding: 0;
}

.features-section .feature-item li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.features-section .feature-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.capability-stats {
    display: flex;
    gap: 3rem;
    margin-top: 1rem;
    margin-left: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.expert-role {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.expert-role i {
    color: var(--primary-color);
}

.quality-process-list {
    margin-left: 45px;
}

/* 比較セクション */
.comparison-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.comparison-wrapper {
    margin-top: 2rem;
}

.comparison-main-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary-color);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.comparison-column-header {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
}

.comparison-column-header.current {
    background: #fef2f2;
    border: 2px solid #fecaca;
}

.comparison-column-header.current h3 {
    color: #dc2626;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.comparison-column-header.current p {
    color: #991b1b;
    margin: 0;
    font-size: 0.9rem;
}

.comparison-column-header.future {
    background: #f0f9ff;
    border: 2px solid #bfdbfe;
}

.comparison-column-header.future h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.comparison-column-header.future p {
    color: #1e40af;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.comparison-arrow-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    justify-self: center;
}

.comparison-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.comparison-label {
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-label h4 {
    margin: 0;
    font-size: 1rem;
}

.comparison-current {
    background: #fef2f2;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #dc2626;
}

.comparison-current p {
    color: #991b1b;
    margin: 0;
    font-weight: 500;
}

.comparison-future {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.comparison-future p {
    color: #1e40af;
    margin: 0;
    font-weight: 600;
}

/* メリットセクション */
.benefits-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    position: relative;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.benefit-header {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #bfdbfe;
    position: relative;
}

.benefit-header h3 {
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.stat-highlight {
    background: var(--gradient-primary);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-highlight .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: white;
}

.stat-highlight .stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
}

.benefit-card ul {
    list-style: none;
    padding: 1.5rem;
    margin: 0;
    background: white;
}

.benefit-card li {
    padding: 0.8rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 1.2rem;
    line-height: 1.6;
    font-weight: 400;
    font-size: 0.95rem;
    border-bottom: 1px solid #f9fafb;
}

.benefit-card li:last-child {
    border-bottom: none;
}

.benefit-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* セキュリティセクション */
.security-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.security-unified-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.security-unified-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

.security-unified-header {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}



.security-unified-header h3 {
    color: white;
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.security-unified-header p {
    color: white;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
}

.security-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 3rem 2rem;
}

.security-feature-item {
    padding: 2rem;
    border-right: 1px solid rgba(37, 99, 235, 0.1);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.security-feature-item:nth-child(even) {
    background: rgba(37, 99, 235, 0.02);
}

.security-feature-item:hover {
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

.security-feature-item:nth-child(3n) {
    border-right: none;
}

.security-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.security-feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.security-feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.security-feature-details h5 {
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.security-feature-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-feature-details li {
    padding: 0.6rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.security-feature-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .security-features-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
    
    .security-feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(37, 99, 235, 0.1);
        padding: 1.5rem;
    }
    
    .security-feature-item:last-child {
        border-bottom: none;
    }
    
    .security-unified-header {
        padding: 2rem 1rem;
    }
}

/* 導入事例セクション */
.case-studies-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.case-study-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.case-study-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-study-industry {
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.case-study-challenge,
.case-study-results {
    margin-bottom: 1.5rem;
}

.case-study-challenge h4,
.case-study-results h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.results-stats {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.result-stat {
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    flex: 1;
    min-width: 120px;
}

.result-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

blockquote {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.testimonials {
    margin-top: 3rem;
}

.testimonials h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-content h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.author-role {
    font-weight: 600;
    color: var(--text-primary);
}

/* FAQセクション */
.faq-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e2e8f0;
}

.faq-question h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTAセクション */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, rgba(37, 99, 235, 0.05) 100%);
    color: var(--text-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-spacer {
    height: 3rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-text {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
}

.cta-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.cta-option {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12), 0 2px 8px rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-option-icon {
    margin-bottom: 1rem;
}

.cta-option-icon i {
    font-size: 3rem;
    color: var(--secondary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-option:hover .cta-option-icon i {
    transform: scale(1.1);
    color: #d97706;
}

.cta-option h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-option p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.cta-option ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0 auto 1.5rem auto;
    max-width: 280px;
}

.cta-option li {
    padding: 0.3rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1rem;
}

.cta-option li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.cta-option .btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    width: 280px;
}

.cta-option .btn-secondary {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    border: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.3);
    width: 280px;
}

.cta-option .btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}

.cta-option:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.2), 0 8px 16px rgba(37, 99, 235, 0.1);
}

.cta-option .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.cta-option .btn-secondary:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
}

.cta-option .btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.limited-offer {
    background: rgba(245, 158, 11, 0.2);
    border: 2px solid var(--secondary-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.offer-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.limited-offer h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.offer-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.offer-benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.offer-benefit i {
    color: var(--secondary-color);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.contact-item div {
    text-align: left;
}

.contact-item strong {
    display: block;
    color: white;
    margin-bottom: 0.2rem;
}

.contact-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* フッター */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo h3 {
    margin: 0;
    color: white;
}

/* 削除: NextPalブランドカラーに置き換え */

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

.footer-address p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-align: right;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* SPブレイク用クラス - デスクトップでは非表示 */
.sp-break {
    display: none;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .sp-break {
        display: inline;
    }
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        padding: 0 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        align-items: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-text {
        max-width: 100%;
        overflow: hidden;
        padding: 0;
        box-sizing: border-box;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        max-width: 100%;
        overflow: hidden;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-illustration {
        display: none;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-arrows {
        grid-template-columns: 1fr;
    }
    
    .solution-item {
        flex-direction: column;
        text-align: center;
    }
    
    .capability-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-content {
        padding: 1rem;
    }

    .feature-item {
        background: var(--bg-white);
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-left: 4px solid var(--primary-color);
        box-shadow: var(--shadow-sm);
    }
    
    .experts-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-main-card {
        padding: 1.5rem;
    }
    
    .comparison-header {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .comparison-arrow-center {
        transform: rotate(90deg);
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin: 1rem auto;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .comparison-label {
        background: var(--bg-light);
        padding: 0.8rem;
        border-radius: 8px;
        border-bottom: 2px solid var(--primary-color);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .security-features-grid {
        grid-template-columns: 1fr;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .results-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-options {
        grid-template-columns: 1fr;
    }
    
    .offer-benefits {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-address p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text {
        max-width: 100%;
        overflow: hidden;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .hero-text h1 {
        font-size: 1.7rem;
        max-width: 100%;
        overflow: hidden;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        padding: 0;
        margin: 0 0 1.5rem 0;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary, .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}

/* 読み込みアニメーション */
@keyframes fadeInUp { /* 上方フェードインアニメーション */
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* スクロール表示 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* NextPal ブランドカラー */
.nex {
    color: #2563eb !important; /* 青 */
    font-weight: 700;
}

.pal {
    color: #f59e0b !important; /* オレンジ */
    font-weight: 700;
}

/* Solution-banner内のNextPalロゴ用（CSS優先度の問題を解決） */
.solution-banner h3 .nex {
    color: #2563eb !important; /* 青 */
}

.solution-banner h3 .pal {
    color: #f59e0b !important; /* オレンジ */
}

/* Section-title内のNextPalロゴ用（CSS優先度の問題を解決） */
.section-title .nex {
    color: #2563eb !important; /* 青 */
}

.section-title .pal {
    color: #f59e0b !important; /* オレンジ */
}

/* ナビゲーションロゴ用 */
.nav-logo .nex {
    color: #2563eb !important; /* 青 */
    text-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.nav-logo .pal {
    color: #f59e0b !important; /* オレンジ */
    text-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

/* フッターロゴ用 */
.footer-logo .nex {
    color: #2563eb !important; /* 青 */
}

.footer-logo .pal {
    color: #f59e0b !important; /* オレンジ */
}

/* Solution-banner内のNextPalロゴ用 */
.solution-banner h3 .nex {
    color: #2563eb !important; /* 青 */
}

.solution-banner h3 .pal {
    color: #f59e0b !important; /* オレンジ */
}

/* モバイル時のロゴサイズ調整 */
@media (max-width: 768px) {
    .nav-logo h2 {
        font-size: 2.2rem;
    }
    
    .nav-container {
        padding: 1.2rem 1.5rem;
    }
}
