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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', Roboto, sans-serif;
    line-height: 1.7;
    color: #1e293b;
    background-color: #f8faf8;
}

/* アクセシビリティ改善 */
:focus {
    outline: 3px solid #16a34a;
    outline-offset: 2px;
}

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

/* 高コントラストモード対応 */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #15803d;
        --secondary-color: #166534;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #0f172a;
        color: #e2e8f0;
    }
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー・ナビゲーション */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(22, 163, 74, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #16a34a;
}

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

.logo h1 {
    font-size: 1.5rem;
    color: #16a34a;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.logo p {
    font-size: 0.85rem;
    color: #059669;
    font-weight: 500;
}

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

.nav-link {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #16a34a;
    background-color: #dcfce7;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background-color: #16a34a;
    border-radius: 2px;
}

/* モバイルメニュー */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #16a34a;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle:hover span {
    background-color: #15803d;
}

/* メインコンテンツ */
.main {
    min-height: calc(100vh - 80px);
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #16a34a 0%, #059669 50%, #047857 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.95;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #ffffff;
    color: #16a34a;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.3);
    background-color: #f0fdf4;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* セクション */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #16a34a;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #059669);
    border-radius: 2px;
}

/* 特徴グリッド - 強化されたスタイル */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8faf8 100%);
    border: 2px solid #e5f5e5;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #059669);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #16a34a, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(22, 163, 74, 0.15);
    border-color: #16a34a;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #16a34a, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 700;
    position: relative;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #16a34a, #059669);
    transition: width 0.4s ease;
}

.feature-card:hover h3::after {
    width: 60px;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* ガイドカード - 強化されたスタイル */
.guide-cards,
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.guide-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 2.5rem 2rem;
    border: 2px solid #e2e8f0;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8faf8 100%);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.08);
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #059669);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.guide-card:hover {
    border-color: #16a34a;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(22, 163, 74, 0.15);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.guide-card:hover::before {
    transform: scaleX(1);
}

.guide-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #16a34a, #059669);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
    transition: all 0.3s ease;
}

.guide-card:hover .guide-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.guide-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    margin-top: 1rem;
    font-weight: 700;
    position: relative;
}

.guide-card h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #16a34a, #059669);
    transition: width 0.4s ease;
}

.guide-card:hover h3::after {
    width: 60px;
}

.guide-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* CTAセクション */
.cta-section {
    background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* フッター */
.footer {
    background-color: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f1f5f9;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* ページ固有スタイル - 強化バージョン */
.page-header {
    background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::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="page-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23page-pattern)"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

.content-section {
    padding: 3rem 0;
}

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

.content-card {
    padding: 2.5rem 2rem;
    border: 2px solid #e2e8f0;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8faf8 100%);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.08);
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #059669);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(22, 163, 74, 0.15);
    border-color: #16a34a;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.content-card:hover::before {
    transform: scaleX(1);
}

.content-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
}

.content-card h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #16a34a, #059669);
    transition: width 0.4s ease;
}

.content-card:hover h3::after {
    width: 40px;
}

.content-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.content-card ul {
    color: #64748b;
    padding-left: 1.5rem;
}

.content-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

.content-card ul li::before {
    content: '▶';
    position: absolute;
    left: -1rem;
    color: #16a34a;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ステップガイド - 強化バージョン */
.step-guide {
    margin: 2rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 1.5rem;
    border-left: 4px solid #16a34a;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.08);
    transition: all 0.4s ease;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #059669);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.step-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(22, 163, 74, 0.12);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.step-item:hover::before {
    transform: scaleX(1);
}

.step-number {
    background: linear-gradient(135deg, #16a34a, #059669);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.step-content h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
}

.step-content h3::after {
    content: '';
    position: absolute;
    bottom: -0.3rem;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #16a34a, #059669);
    transition: width 0.4s ease;
}

.step-item:hover .step-content h3::after {
    width: 50px;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* プロンプト例 */
.prompt-example {
    background-color: #f1f5f9;
    border-left: 4px solid #16a34a;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.prompt-example h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.prompt-text {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    color: #374151;
    margin: 0.5rem 0;
    border: 1px solid #e5e7eb;
}

.prompt-explanation {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* 新しいindex.html用のスタイル */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-status {
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
}

.feature-status.available {
    background-color: #dcfce7;
    color: #166534;
    border: 2px solid #16a34a;
}

.feature-status.coming-soon {
    background-color: #fef3c7;
    color: #92400e;
    border: 2px solid #f59e0b;
}

.feature-status.planning {
    background-color: #e0e7ff;
    color: #3730a3;
    border: 2px solid #6366f1;
}

.feature-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #16a34a;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.2);
}

.feature-link:hover {
    background-color: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.3);
}

.feature-link.disabled {
    background-color: #94a3b8;
    color: #64748b;
    cursor: not-allowed;
    transform: none;
}

.feature-link.disabled:hover {
    background-color: #94a3b8;
    transform: none;
}

.feature-card.highlight {
    border: 2px solid #16a34a;
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.15);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.feature-card.highlight::before {
    background: linear-gradient(90deg, #16a34a, #059669, #047857);
}

/* ステップセクション */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    border: 2px solid #e5f5e5;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #059669);
}

.step .step-number {
    background: linear-gradient(135deg, #16a34a, #059669);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem auto;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
}

.step h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.step p {
    color: #64748b;
    line-height: 1.6;
}

/* CTAセクション */
.cta {
    background: linear-gradient(135deg, #16a34a 0%, #059669 50%, #047857 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.2;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: #e2e8f0;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background-color: white;
    color: #16a34a;
    position: relative;
    z-index: 1;
}

.cta .btn-primary:hover {
    background-color: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.cta .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    position: relative;
    z-index: 1;
}

.cta .btn-secondary:hover {
    background-color: white;
    color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* セクションサブタイトル */
.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* AIカテゴリ */
.ai-categories {
    margin-top: 2rem;
}

.category-title {
    color: #16a34a;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #16a34a;
    position: relative;
}

.category-title::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #059669, #16a34a);
}

.category-title:first-child {
    margin-top: 1rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(22, 163, 74, 0.15);
        border-top: 2px solid #16a34a;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 0.75rem 0;
        border-bottom: 1px solid #e5f5e5;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        margin: 0.25rem 0;
        display: block;
        text-align: center;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: #dcfce7;
        color: #16a34a;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.4;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .category-title {
        font-size: 1.3rem;
        margin: 2rem 0 1rem 0;
    }

    .feature-grid {
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step {
        padding: 1.5rem;
    }

    .cta {
        padding: 3rem 0;
        margin: 3rem 0;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .cta p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .guide-cards {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .guide-card {
        padding: 1.5rem;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 0 1rem 0;
    }
}

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

    .nav-container {
        padding: 0.75rem 15px;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .logo p {
        font-size: 0.8rem;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .section {
        padding: 2.5rem 0;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .category-title {
        font-size: 1.2rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

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

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .step {
        padding: 1.25rem;
    }

    .step .step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .cta {
        padding: 2.5rem 0;
    }

    .cta h2 {
        font-size: 1.6rem;
    }

    .cta p {
        font-size: 0.95rem;
    }

    .page-title {
        font-size: 1.8rem;
    }
}

/* タッチデバイス最適化 */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover,
    .btn:hover,
    .nav-link:hover {
        transform: none;
    }

    .feature-card:active,
    .btn:active,
    .nav-link:active {
        transform: scale(0.98);
    }

    .btn {
        min-height: 44px;
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* 特別な装飾が必要なセクション用の追加スタイル */
.prompt-tips,
.industry-examples,
.limitations,
.community-features,
.integrations,
.future-outlook,
.pros-cons-grid,
.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tip-section,
.industry-card,
.limitation-item,
.community-card,
.integration-card,
.outlook-item,
.pros,
.cons,
.alternative-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8faf8 100%);
    border: 2px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.08);
}

.tip-section::before,
.industry-card::before,
.limitation-item::before,
.community-card::before,
.integration-card::before,
.outlook-item::before,
.pros::before,
.cons::before,
.alternative-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #059669);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tip-section:hover,
.industry-card:hover,
.limitation-item:hover,
.community-card:hover,
.integration-card:hover,
.outlook-item:hover,
.pros:hover,
.cons:hover,
.alternative-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(22, 163, 74, 0.15);
    border-color: #16a34a;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.tip-section:hover::before,
.industry-card:hover::before,
.limitation-item:hover::before,
.community-card:hover::before,
.integration-card:hover::before,
.outlook-item:hover::before,
.pros:hover::before,
.cons:hover::before,
.alternative-card:hover::before {
    transform: scaleX(1);
}

.tip-section h3,
.industry-card h3,
.limitation-item h3,
.community-card h3,
.integration-card h3,
.outlook-item h3,
.pros h3,
.cons h3,
.alternative-card h3 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.tip-section h3::after,
.industry-card h3::after,
.limitation-item h3::after,
.community-card h3::after,
.integration-card h3::after,
.outlook-item h3::after,
.pros h3::after,
.cons h3::after,
.alternative-card h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #16a34a, #059669);
    transition: width 0.4s ease;
}

.tip-section:hover h3::after,
.industry-card:hover h3::after,
.limitation-item:hover h3::after,
.community-card:hover h3::after,
.integration-card:hover h3::after,
.outlook-item:hover h3::after,
.pros:hover h3::after,
.cons:hover h3::after,
.alternative-card:hover h3::after {
    width: 60px;
}

.tip-section p,
.industry-card p,
.limitation-item p,
.community-card p,
.integration-card p,
.outlook-item p,
.pros p,
.cons p,
.alternative-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.tip-section ul,
.industry-card ul,
.community-card ul,
.integration-card ul,
.pros ul,
.cons ul {
    color: #64748b;
    padding-left: 1.5rem;
}

.tip-section ul li,
.industry-card ul li,
.community-card ul li,
.integration-card ul li,
.pros ul li,
.cons ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

.tip-section ul li::before,
.industry-card ul li::before,
.community-card ul li::before,
.integration-card ul li::before,
.pros ul li::before,
.cons ul li::before {
    content: '▶';
    position: absolute;
    left: -1rem;
    color: #16a34a;
    font-size: 0.8rem;
    font-weight: 700;
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero::before,
    .cta::before {
        background-size: 50px 50px;
    }
}

/* 比較ページ専用スタイル */
.comparison-categories {
    margin-top: 3rem;
}

.comparison-category {
    margin-bottom: 4rem;
}

.comparison-category .category-title {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #16a34a;
    position: relative;
}

.comparison-category .category-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #059669;
}

.comparison-table {
    overflow-x: auto;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th {
    background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
    color: white;
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    border-bottom: 2px solid #065f46;
    position: sticky;
    top: 0;
    z-index: 10;
}

.comparison-table th:first-child {
    border-top-left-radius: 0.75rem;
}

.comparison-table th:last-child {
    border-top-right-radius: 0.75rem;
}

.comparison-table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
    transition: background-color 0.2s ease;
}

.comparison-table tr:hover td {
    background-color: #f8fafc;
}

.comparison-table tr:nth-child(even) td {
    background-color: #fafbfc;
}

.comparison-table tr:nth-child(even):hover td {
    background-color: #f1f5f9;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: #1e293b;
    border-left: 3px solid #16a34a;
}

.comparison-table strong {
    color: #059669;
    font-weight: 700;
}

/* ツールバッジ */
.tool-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.tool-badge.primary {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #16a34a;
}

.tool-badge.secondary {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #16a34a;
}

.tool-badge.tertiary {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

.tool-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 用途別おすすめカード */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.use-case-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #059669);
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.use-case-card h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.recommended-tools {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.use-case-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* フローチャート */
.selection-flow {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.flow-question h4 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    text-align: center;
}

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

.flow-option {
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.flow-option:hover {
    background-color: #f1f5f9;
    border-color: #16a34a;
    transform: translateY(-2px);
}

.flow-option.active {
    background-color: #dcfce7;
    border-color: #16a34a;
    color: #166534;
}

.flow-result {
    display: none;
    background-color: #f8fafc;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-left: 4px solid #16a34a;
}

.flow-result h5 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.flow-recommendations {
    display: grid;
    gap: 1rem;
}

.flow-rec-item {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.flow-rec-item strong {
    color: #1e293b;
    font-weight: 600;
}

.flow-rec-item p {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* コスト比較 */
.cost-comparison {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.cost-tier {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    position: relative;
}

.cost-tier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #059669);
    border-radius: 0.75rem 0.75rem 0 0;
}

.cost-tier h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.tier-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.cost-tools {
    display: grid;
    gap: 1rem;
}

.cost-tool {
    background-color: #f8fafc;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.cost-tool:hover {
    background-color: #f1f5f9;
    border-color: #16a34a;
}

.tool-name {
    font-weight: 600;
    color: #1e293b;
    display: block;
    margin-bottom: 0.25rem;
}

.cost-detail {
    color: #059669;
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.cost-note {
    color: #64748b;
    font-size: 0.8rem;
    display: block;
}

/* コスト最適化のコツ */
.cost-tips {
    margin-top: 3rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.cost-tips h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    text-align: center;
}

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

.tip-item {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #16a34a;
    transition: all 0.2s ease;
}

.tip-item:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

.tip-item h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tip-item p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 初心者ガイド */
.beginner-steps {
    margin-top: 2rem;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    position: relative;
}

.guide-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #059669);
    border-radius: 0.75rem 0.75rem 0 0;
}

.guide-step .step-number {
    background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(22, 163, 74, 0.3);
}

.step-content h4 {
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.step-examples {
    background-color: #f8fafc;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 3px solid #16a34a;
    font-size: 0.9rem;
}

.step-examples strong {
    color: #1e293b;
    font-weight: 600;
}

/* 初心者向けおすすめ */
.beginner-recommendations {
    margin-top: 3rem;
}

.beginner-recommendations h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    text-align: center;
}

.recommendation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.rec-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #059669);
}

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

.rec-card h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.rec-tools {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.rec-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 価格プラン専用スタイル */
.pricing {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8faf8 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pricing .container {
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.pricing-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8faf8 100%);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid #e5f5e5;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.08);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #059669);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(22, 163, 74, 0.15);
    border-color: #16a34a;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card.featured {
    border-color: #16a34a;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    position: relative;
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(22, 163, 74, 0.2);
}

.pricing-card.featured::before {
    transform: scaleX(1);
    height: 6px;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card h3 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.pricing-card.featured h3 {
    color: #16a34a;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #16a34a;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
}

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

.pricing-card ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(22, 163, 74, 0.1);
}

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

.pricing-card ul li::before {
    content: '✓';
    color: #16a34a;
    font-weight: 700;
    margin-right: 0.75rem;
    font-size: 1rem;
    background: linear-gradient(135deg, #16a34a, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card .badge {
    position: absolute;
    top: -8px;
    right: 1rem;
    background: linear-gradient(135deg, #16a34a, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 0 0.75rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(22, 163, 74, 0.3);
}

.pricing-card .badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent #047857 transparent transparent;
}

/* 最新アップデート専用スタイル */
.latest-updates {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.latest-updates::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="updates-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23updates-pattern)"/></svg>');
    opacity: 0.3;
}

.latest-updates .container {
    position: relative;
    z-index: 1;
}

.latest-updates .section-title {
    color: white;
    margin-bottom: 1rem;
}

.latest-updates .section-title::after {
    background: linear-gradient(90deg, #16a34a, #059669);
}

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

.update-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(22, 163, 74, 0.1);
}

.update-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #059669, #047857);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.update-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(22, 163, 74, 0.2);
    border-color: rgba(22, 163, 74, 0.4);
}

.update-card:hover::before {
    transform: scaleX(1);
}

.update-card h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.update-card h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #16a34a, #059669);
    border-radius: 2px;
}

.update-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.update-card .update-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #16a34a, #059669);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(22, 163, 74, 0.3);
}

/* レスポンシブデザイン対応 */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .pricing-card .price {
        font-size: 2rem;
    }
    
    .updates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .update-card {
        padding: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .guide-cards,
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .guide-card {
        padding: 2rem 1.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-card {
        padding: 2rem 1.5rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .step-item .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.375rem;
    }
    
    .flow-options {
        grid-template-columns: 1fr;
    }
    
    .cost-comparison {
        gap: 1rem;
    }
    
    .cost-tier {
        padding: 1.5rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .recommendation-cards {
        grid-template-columns: 1fr;
    }
    
    .use-case-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-step {
        flex-direction: column;
        text-align: center;
    }
    
    .guide-step .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
} 