/* header.css — sticky でフローに乗せるヘッダー（高さは中身に合わせて自動） */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line, #e8eaee);
}

.site-header-inner {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

/* ロゴは「高さ」で揃える（横幅指定だとロゴごとに大きさが揃わないため） */
.brand-logo {
    display: block;
    height: 34px;
    width: auto;
    max-width: 62vw;
    object-fit: contain;
}
.brand-logo-center { height: 32px; }

.brand-text {
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: .01em;
    color: var(--text, #1b1f27);
    white-space: nowrap;
}

.brand-tag {
    margin-left: auto;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted, #79808c);
    white-space: nowrap;
}

@media screen and (max-width: 560px) {
    .site-header-inner { padding: 13px 14px; }
    .brand-logo { height: 30px; }
    .brand-logo-center { height: 28px; }
    .brand-text { font-size: 1.05rem; }
    .brand-tag { display: none; }
}
