/**
 * ヘッダー専用スタイル
 * index.phpから分離
 */

/* 固定ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 3rem);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header.scrolled {
    background: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    gap: 15px;
}

.header-logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    background-color: transparent;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo-text {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
}

.header-logo:hover .logo-img {
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

.header-logo:hover .logo-text {
    color: #fff;
}

/* ヘッダーCTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.header-cta a {
    padding: 10px 20px;
    background: var(--color-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-cta a:hover {
    background: #A67C42;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(185, 141, 74, 0.3);
}

.header-nav {
    display: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 1rem;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .header-cta {
        right: 10px;
    }
    
    .header-cta a {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}