/* ヘッダーセクション */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4.303125vw;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0;
}

.header-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

/* ロゴエリア */
.header-logo-area {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-sm) * 0.765);
}

.header-logo {
    height: 4.01625vw;
    width: auto;
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 3.06px;
}

.header-text-main {
    font-size: 0.746375vw;
    font-weight: 500;
    color: var(--dark-color);
    line-height: 1.2;
}

.header-text-sub {
    font-size: 0.6885vw;
    font-weight: 400;
    color: var(--secondary-color);
    line-height: 1.3;
    max-width: 800px;
    white-space: nowrap;
}

/* CTAボタンエリア */
.header-cta-area {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-sm) * 0.765);
    margin-right: calc(var(--spacing-md) * 0.765);
}

.header-btn {
    height: 2.295vw;
    width: 10.3275vw;
    border-radius: 1.1475vw;
    border: 2px solid #F47F2D;
    font-size: 0.6885vw;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 6.12px;
    position: relative;
    overflow: hidden;
}

.header-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.header-btn:hover::before {
    left: 100%;
}

.header-btn-download {
    background-color: #F47F2D;
    color: var(--white);
}

.header-btn-download:hover {
    transform: scale(1.2) translateZ(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.header-btn-contact {
    background-color: var(--white);
    color: #F47F2D;
}

.header-btn-contact:hover {
    transform: scale(1.2) translateZ(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.header-btn-icon {
    width: 0.860625vw;
    height: 0.860625vw;
}

/* ボディのパディング調整（固定ヘッダー対応） */
body {
    padding-top: 4.303125vw;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header {
        height: 16vw;
        padding: 0 2vw;
    }
    
    body {
        padding-top: 16vw;
    }
    
    .header-container {
        width: 100%;
        max-width: none;
        height: 100%;
    }
    
    .header-logo {
        height: 11.5vw;
    }
    
    .header-text {
        display: none;
    }
    
    .header-cta-area {
        flex-shrink: 0;
        min-width: auto;
        height: 100%;
        align-items: center;
    }
    
    .header-btn {
        width: 9.6vw;
        height: 9.6vw;
        border-radius: 4.8vw;
        font-size: 0;
        min-width: 9.6vw;
        min-height: 9.6vw;
    }
    
    .header-btn-text {
        display: none;
    }
    
    .header-btn-icon {
        width: 4.48vw;
        height: 4.48vw;
    }
}

@media (max-width: 576px) {
    .header-cta-area {
        gap: 6.12px;
    }
    
}