@charset "UTF-8";
/* ==========================================
   COCOTSUNA ヘッダー共通スタイル
   ファイル: web/css/components/site-header.css
   対象: 全フロントエンドページ共通
   元: _tpl_siteHeader.html.twig インラインCSS から外部化
   ========================================== */

/* --- ヘッダーコンテナ（MASEグリッド上書き） --- */
._a._container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
    z-index: 10001 !important;
}

/* --- 汎用コンテナ --- */
.cocotsuna-container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    min-width: 0 !important;
}

/* --- ヘッダー本体 --- */
.cocotsuna-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--c-bg-header);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-border-header);
    z-index: 10002 !important;
    height: 70px;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    width: 180px;
    height: 50px;
    background: url('/image/mase/sitetop/cocotsuna-service_3.png') no-repeat center left;
    background-size: contain;
    text-indent: -9999px;
    overflow: hidden;
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: var(--fw-medium);
    color: var(--c-text);
    margin-left: 1.5rem;
}
.nav-links a:hover {
    color: var(--c-main);
    text-decoration: none;
}

/* menu-trigger は Details/Summary に統合済み */

/* --- ユーティリティ --- */
.hidden-sp {
    display: none;
}

/* --- body padding for fixed header --- */
body {
    padding-top: 70px;
}

/* --- Responsive (PC: >= 1140px) --- */
@media (min-width: 1140px) {
    .hidden-pc { display: none; }
    .hidden-sp {
        display: block !important;
    }

    /* nav-links は flex で横並びを強制し、行折れを防止 */
    nav.hidden-sp {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        white-space: nowrap;
    }
}

/* --- ヘッダー内ログインボタン --- */
.nav-links .header-btn,
.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 50px;
    border: 2px solid var(--c-main);
    color: var(--c-main);
    background: #fff;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.nav-links .header-btn:hover,
.header-btn:hover {
    background: var(--c-main);
    color: #fff;
    text-decoration: none;
}

/* --- カートバッジ --- */
.cart-link {
    display: inline-flex;
    align-items: center;
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e53935;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    margin-left: 4px;
}
