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

:root {
    --pure-black: #000000;
    --pure-white: #ffffff;
    --gray-900: #f8f9fa;
    --gray-800: #e9ecef;
    --gray-700: #dee2e6;
    --gray-600: #ced4da;
    --gray-500: #adb5bd;
    --gray-400: #6c757d;
    --gray-300: #495057;
    --accent-color: #007bff;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #212529;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* デジタル庁風ヘッダー */
.digital-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    height: 80px;
    overflow: visible;
}

.digital-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
}

.digital-header-logo {
    flex-shrink: 0;
}

.digital-header-logo a {
    display: block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.digital-header-logo a:hover {
    opacity: 0.8;
}

.header-logo-image {
    height: 42px;
    width: auto;
    max-width: none;
    object-fit: contain;
    display: block;
}

.digital-header-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin: 0 20px;
}

.digital-header-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}

.digital-header-nav-item {
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 1px solid transparent;
    margin: 8px 0;
}

.digital-header-nav-item:hover {
    background-color: #f5f5f5;
    color: #0066cc;
}

.digital-header-nav-item.active {
    border: 1px solid #333333;
    color: #333333;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.digital-header-utilities {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.digital-header-utility-item {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid transparent;
    color: #333333;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    margin: 2px 0;
}

.digital-header-utility-item:hover {
    background-color: #f5f5f5;
    color: #000000;
    border-color: transparent;
}

.digital-header-utility-item.active {
    border: 1px solid #000000;
    color: #000000;
    background-color: #f5f5f5;
}

.digital-header-contact-button,
.digital-header-contact-button:link,
.digital-header-contact-button:visited,
.digital-header-contact-button:hover,
.digital-header-contact-button:active,
.digital-header-contact-button:focus {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #ffffff !important;
    border: 1px solid transparent !important;
    color: #333333 !important;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    margin: 2px 0;
    font-weight: 500;
}

.digital-header-contact-button:hover {
    background-color: #f5f5f5 !important;
    border-color: transparent !important;
    color: #000000 !important;
}

/* 追加の強制スタイル */
a.digital-header-contact-button,
a.digital-header-contact-button:link,
a.digital-header-contact-button:visited,
a.digital-header-contact-button:hover,
a.digital-header-contact-button:active,
a.digital-header-contact-button:focus {
    color: #333333 !important;
    text-decoration: none !important;
}

a.digital-header-contact-button:hover {
    color: #000000 !important;
}

.digital-header-menu-toggle {
    display: none;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #333333;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.digital-header-menu-toggle:hover {
    background-color: #f5f5f5;
    color: #0066cc;
}

/* モバイルハンバーガーメニューボタン */
.digital-header-mobile-toggle {
    display: none;
    align-items: center;
    background: none;
    border: none;
    color: #333333;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.digital-header-mobile-toggle:hover {
    background-color: #f5f5f5;
    color: #0066cc;
}

/* モバイルメニュー */
.digital-header-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.digital-header-mobile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.digital-header-mobile-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.digital-header-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 600;
}

.digital-header-mobile-header button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #666666;
}

.digital-header-mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 16px 0;
}

.digital-header-mobile-nav li {
    margin: 0;
}

.digital-header-mobile-nav a {
    display: block;
    padding: 12px 24px;
    color: #333333;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.digital-header-mobile-nav a:hover {
    background-color: #f5f5f5;
    color: #0066cc;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .digital-header-nav-list {
        gap: 16px;
    }
    
    .digital-header-nav-item {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .digital-header-utility-item {
        font-size: 13px;
        padding: 6px 12px;
    }
}

@media (max-width: 900px) {
    .digital-header-nav {
        display: none;
    }
    
    .digital-header-utilities {
        gap: 2px;
    }
    
    .digital-header-utility-item {
        font-size: 15px;
        padding: 2px 4px;
    }
    
    .digital-header-contact-button {
        font-size: 15px;
        padding: 2px 6px;
    }
    
    .digital-header-menu-toggle {
        display: flex;
        font-size: 15px;
        padding: 2px 4px;
    }
    
    /* モバイルハンバーガーメニューボタンも表示 */
    .digital-header-mobile-toggle {
        display: flex;
    }
    
    .digital-header-container {
        padding: 0 8px;
    }
}

@media (min-width: 693px) and (max-width: 900px) {
    /* 900px〜693pxの間ではハンバーガーメニューを表示 */
    .digital-header-utilities {
        display: none;
    }
    
    .digital-header-menu-toggle {
        display: none;
    }
    
    /* ハンバーガーメニューボタンを表示 */
    .digital-header-mobile-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .digital-header-utilities {
        gap: 1px;
    }
    
    .digital-header-utility-item {
        font-size: 14px;
        padding: 1px 3px;
    }
    
    .digital-header-contact-button {
        font-size: 14px;
        padding: 1px 4px;
    }
    
    .digital-header-menu-toggle {
        font-size: 14px;
        padding: 1px 3px;
    }
}

@media (max-width: 692px) {
    /* 692px以下ではロゴとハンバーガーメニューのみ表示 */
    .digital-header-utilities {
        display: none;
    }
    
    .digital-header-menu-toggle {
        display: none;
    }
    
    /* モバイルハンバーガーメニューボタンを表示 */
    .digital-header-mobile-toggle {
        display: flex;
    }
    
    .digital-header-container {
        padding: 0 16px;
        justify-content: space-between;
    }
    
    /* ロゴを左側に配置 */
    .digital-header-logo {
        position: static;
        transform: none;
    }
}

@media (max-width: 480px) {
    .header-logo-image {
        height: 36px;
    }
    
    /* スマホ画面ではロゴ以外をすべて非表示 */
    .digital-header-utilities {
        display: none;
    }
    
    .digital-header-menu-toggle {
        display: none;
    }
    
    /* モバイルハンバーガーメニューボタンを表示 */
    .digital-header-mobile-toggle {
        display: flex;
    }
    
    .digital-header-container {
        padding: 0 16px;
        justify-content: flex-start;
        position: relative;
    }
    
    /* ロゴを左側に配置してハンバーガーメニューと重ならないようにする */
    .digital-header-logo {
        position: static;
        transform: none;
        margin-right: auto;
    }
    
    /* ハンバーガーメニューボタンを右端に固定 */
    .digital-header-mobile-toggle {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Screen reader only */
.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;
}

/* ナビゲーション */
.nav {
    position: relative;
    display: block;
    z-index: 1001;
    margin-left: auto;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-item i {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: var(--pure-black);
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.nav-item:hover i {
    opacity: 1;
    color: var(--accent-color);
}

.nav-item.active {
    color: var(--pure-black);
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.nav-item.active i {
    color: var(--accent-color);
    opacity: 1;
}

.nav-item::after {
    display: none;
}

.nav-item:hover::after,
.nav-item.active::after {
    display: none;
}

/* 補助金検索の特別スタイル */
.nav-item.subsidy-search {
    background: #ffffff;
    color: #333333;
    border: 1px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.nav-item.subsidy-search:hover {
    background: #f5f5f5;
    color: #000000;
    border: 1px solid transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-item.subsidy-search.active {
    background: #f5f5f5;
    color: #000000;
    border-color: #000000;
}


/* モバイルメニュー - 改善版 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
    z-index: 1003;
    padding: 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle span {
    width: 18px;
    height: 1.2px;
    background: var(--pure-black);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
    background: var(--accent-color);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
    background: var(--accent-color);
}

/* タブレット表示の調整 */
@media (max-width: 1024px) {
    .header .container {
        padding: 0.2rem 2rem;
    }
    
    .nav ul {
        gap: 1.5rem;
    }
    
    .nav-item {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
    
}

/* モバイルナビゲーション - より狭い画面でのみ適用 */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        transition: right 0.4s ease;
        z-index: 1002;
        padding-top: 80px;
        overflow-y: auto;
        visibility: hidden;
    }

    .nav.open {
        right: 0;
        visibility: visible;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1.5rem;
        height: 100%;
        align-items: stretch;
        margin: 0;
    }

    .nav-item {
        padding: 1rem 1.2rem;
        margin-bottom: 0.5rem;
        border-radius: 8px;
        font-size: 1rem;
        justify-content: flex-start;
        transition: all 0.3s ease;
        display: flex;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
    }

    .nav-item i {
        font-size: 1.1rem;
        width: 24px;
        text-align: center;
    }

    .nav-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
        color: rgba(255, 255, 255, 1);
    }

    /* モバイルでの補助金検索の特別スタイル */
    .nav-item.subsidy-search {
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        color: #ffffff;
        border: 1px solid rgba(0, 123, 255, 0.6);
        box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .nav-item.subsidy-search:hover {
        background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
        color: #ffffff;
        transform: translateX(8px);
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.5);
    }


    .header .container {
        padding: 0.6rem 1.5rem;
    }

    /* モバイルメニューのオーバーレイ効果 */
    .nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: -1;
    }

    .nav.open::before {
        opacity: 1;
        visibility: visible;
    }
}

/* ヒーローセクション */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.85)), 
                url('/images/日本補助金支援機構_水平線.png') center/101%;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
}

/* 事業内容ページ専用のヒーローセクション */
.hero.business-hero {
    background: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    border-bottom: none;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: center;
    padding: 2rem;
}

.hero-image {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.saita-kun-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.saita-kun-image:hover {
    transform: scale(1.02);
}

.hero-content h2 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--pure-black);
    text-shadow: 
        2px 2px 4px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.02em;
    animation: fadeInUp 1s ease-out;
    white-space: nowrap;
}

.hero-content .highlight {
    color: #6d9eeb;
    position: relative;
    display: inline-block;
}

.hero-content .highlight::after {
    display: none;
}

/* 補助金サイタくん専用スタイル */
.hero-content h2 .highlight {
    font-size: 1.3em;
    font-weight: 900;
    background: linear-gradient(135deg, #6d9eeb 0%, #5a8bd8 50%, #4a7bc8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    position: relative;
    display: inline-block;
    padding: 0.1em 0.3em;
    border-radius: 8px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: brightness(1) saturate(1);
    }
    to {
        filter: brightness(1.2) saturate(1.3);
    }
}

/* 価格強調スタイル */
.hero-content h2 .price-highlight {
    font-size: 1.5em;
    font-weight: 800;
    color: #6d9eeb;
    display: inline-block;
    position: relative;
    padding: 0.1em 0.2em;
    text-shadow: 1px 1px 2px rgba(109, 158, 235, 0.2);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--pure-black);
    margin-bottom: 2rem;
    text-shadow: 
        1px 1px 3px rgba(255, 255, 255, 0.8),
        0 0 8px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.01em;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content p,
.hero-description {
    font-size: 1.5rem;
    color: var(--pure-black);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 
        1px 1px 3px rgba(255, 255, 255, 0.8),
        0 0 8px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.01em;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #6d9eeb;
    color: var(--pure-white);
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, #6d9eeb 0%, #5a8bd8 100%);
    border-color: transparent;
}

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

@keyframes fadeInLine {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* セクション共通 */
.problem,
.service,
.contact {
    padding: 50px 0;
    background: var(--pure-white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--pure-black);
    text-shadow: 
        2px 2px 4px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* 課題セクション */
.problem {
    background: var(--pure-white);
}

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

.problem-item {
    background: var(--pure-white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--gray-700);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.problem-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.problem-item:hover::before {
    transform: translateX(100%);
}

.problem-item:hover {
    transform: translateY(-5px);
    border-color: var(--gray-400);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.problem-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gray-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--pure-white);
}

.problem-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--pure-black);
}

.problem-item p {
    color: var(--gray-400);
    line-height: 1.8;
}

/* サービスセクション */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    background: var(--pure-white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--gray-700);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-item:hover::before {
    transform: translateX(100%);
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: var(--gray-400);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--gray-500) 0%, var(--gray-700) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--pure-white);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--pure-black);
}

.service-item p {
    color: var(--gray-400);
    line-height: 1.8;
}

/* コンタクトセクション */
.contact {
    background: var(--pure-white);
    text-align: center;
}

.contact-description {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}


/* 申請プロセスセクション */
.process {
    padding: 20px 0;
    background: var(--pure-white);
}

.process-image {
    text-align: center;
    margin-top: 3rem;
}

.process-image img {
    width: 170%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s ease;
}

.process-image img:hover {
    filter: grayscale(0%) brightness(1);
}


/* 書類作成プロセスセクション */
.document-process {
    padding: 20px 0;
    background: var(--pure-white);
}

.document-process-content {
    text-align: center;
}

.document-process-description {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.document-process-description strong {
    color: var(--pure-black);
    font-weight: 600;
}

.document-process-image {
    text-align: center;
    margin-top: 3rem;
}



.responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s ease;
}

.responsive-image:hover {
    filter: grayscale(0%) brightness(1);
}

/* サービス一覧への遷移セクション */
.service-navigation {
    padding: 60px 0;
    background: var(--pure-white);
    text-align: center;
}

.service-navigation-description {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.service-navigation-cta {
    max-width: 400px;
    margin: 0 auto;
}

/* CTAボタンのスタイル */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #333333;
    color: #333333;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background: #f5f5f5;
    color: #000000;
    border: 1px solid #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.cta-button:active {
    background: #f5f5f5;
    color: #000000;
    border-color: #000000;
}

/* サイタくん色のボタン */
.saita-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #6d9eeb;
    border: 2px solid #6d9eeb;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(109, 158, 235, 0.3);
    margin-top: 2rem;
}

.saita-button:hover {
    background: #5a8bd8;
    border-color: #5a8bd8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 158, 235, 0.4);
    text-decoration: none;
}

.saita-button:active {
    background: #4a7bc8;
    border-color: #4a7bc8;
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(109, 158, 235, 0.3);
}

/* サイタボタンの文字色を確実に白にする - 最強設定 */
.saita-button,
.saita-button:link,
.saita-button:visited,
.saita-button:hover,
.saita-button:active,
.saita-button:focus,
a.saita-button,
a.saita-button:link,
a.saita-button:visited,
a.saita-button:hover,
a.saita-button:active,
a.saita-button:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* さらに強力な白文字強制 */
.saita-button * {
    color: #ffffff !important;
}

a.saita-button * {
    color: #ffffff !important;
}

.hero-cta {
    display: flex;
    justify-content: flex-start;
    margin-top: 2rem;
}

/* BusinessPageのヒーローセクション専用スタイル */
.business-hero .hero-content {
    text-align: center;
}

.business-hero .hero-cta {
    justify-content: center;
}


/* フッター - 白基調版（高さ調整） */
.footer {
    background: var(--pure-white);
    border-top: 1px solid var(--gray-700);
    padding: 2rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo .logo {
    width: 240px;
    height: 63px;
    max-width: none;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: block;
}

.footer-logo .logo:hover {
    opacity: 1;
}

.footer-links ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--pure-black);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-700);
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* レスポンシブ - フッター（シンプル版） */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }
    
    .footer-bottom {
        padding-top: 1rem;
    }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
        padding: 190px 0 70px;
        background-position: center bottom;
        background-size: cover;
    }
    
    .hero-flex {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-image {
        order: -1;
    }
    
    .saita-kun-image {
        max-width: 250px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        white-space: nowrap;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p,
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-content {
        padding: 0.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 0;
    }
    
    
    .section-title {
        font-size: 2rem;
    }
    
    .problem-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 45vh;
        padding: 100px 0 5px;
        background-position: center 80%;
        background-size: 120% auto;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
        white-space: nowrap;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content p,
    .hero-description {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content {
        padding: 0.1rem;
    }
    
    .hero-cta {
        gap: 0.3rem;
        margin-bottom: 0;
    }
    
    .cta-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .hero-content h2 {
        font-size: 1.2rem;
        white-space: nowrap;
    }
}

/* 最終的なサイタボタン白文字強制 - 全ての可能性を網羅 */
.saita-button {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.saita-button:link {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.saita-button:visited {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.saita-button:hover {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.saita-button:active {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.saita-button:focus {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

a.saita-button {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

a.saita-button:link {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

a.saita-button:visited {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

a.saita-button:hover {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

a.saita-button:active {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

a.saita-button:focus {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

/* 子要素も強制的に白 */
.saita-button *,
a.saita-button * {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

/* テキストノードも強制的に白 */
.saita-button::before,
.saita-button::after,
a.saita-button::before,
a.saita-button::after {
    color: white !important;
    -webkit-text-fill-color: white !important;
}
