/* ==================================================
   IGNUM Custom Header
================================================== */


/* ==================================================
   Lightningの元ヘッダーを非表示
================================================== */

.site-header {
    display: none !important;
}


/* ==================================================
   ヘッダー本体
================================================== */

.ignum-custom-header {
    width: 100%;
    height: 72px;

    display: flex;
    align-items: center;

    box-sizing: border-box;

    padding: 0 40px;

    /* 白い半透明ヘッダー */
    background: rgba(255, 255, 255, 0.92) !important;

    /* 背景をぼかす */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;

    /* 常に上部に固定 */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;

    z-index: 99999 !important;

    /* 下側の境界線 */
    border-bottom: 1px solid rgba(7, 27, 49, 0.15);

    /* 黒い影などをリセット */
    box-shadow: none !important;

    /* 不要な余白をリセット */
    margin: 0 !important;
}


/* ==================================================
   ページ上部がヘッダーに隠れないようにする
================================================== */

body {
    padding-top: 72px;
}


/* ==================================================
   ロゴ
================================================== */

.ignum-custom-header .ignum-header-logo {
    flex: 0 0 90px;

    width: 90px;
    height: 72px;

    display: flex;
    align-items: center;
}

.ignum-custom-header .ignum-header-logo a {
    display: flex;
    align-items: center;
}

.ignum-custom-header .ignum-header-logo img {
    display: block;

    width: 70px;
    max-width: 70px;

    height: 70px;
    max-height: 70px;

    object-fit: contain;

    margin: 0;
    padding: 0;
}


/* ==================================================
   ナビゲーション
   画面のど真ん中
================================================== */

.ignum-custom-header .ignum-header-nav {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: max-content;

    display: flex;
    justify-content: center;
    align-items: center;
}

.ignum-custom-header .ignum-menu {
    display: flex;
    align-items: center;

    gap: 32px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.ignum-custom-header .ignum-menu li {
    margin: 0;
    padding: 0;
}

.ignum-custom-header .ignum-menu a {
    display: block;

    color: #071b31;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.2;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.ignum-custom-header .ignum-menu a:hover {
    color: #ab9636;
}


/* ==================================================
   ONLINE STORE
================================================== */

.ignum-custom-header .ignum-store-button {
    flex: 0 0 auto;

    margin-left: auto;

    width: 190px;
    height: 48px;

    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: center;

    gap: 8px;

    box-sizing: border-box;

    background: #071a30;
    color: #ffffff;

    border: 2px solid #071a30;
    border-radius: 10px;

    text-decoration: none;

    line-height: 1;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.ignum-custom-header .ignum-store-button span {
    display: inline-block;

    margin: 0;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    line-height: 1;
}

.ignum-custom-header .ignum-store-button strong {
    display: inline-block;

    margin: 0;

    color: #ffffff;

    font-size: 18px;
    font-weight: 700;

    letter-spacing: 1px;

    line-height: 1;
}

.ignum-custom-header .ignum-store-button:hover {
    background: #ab9636;

    border-color: #ab9636;

    color: #071a30;

    transform: translateY(-2px);
}

.ignum-custom-header .ignum-store-button:hover span,
.ignum-custom-header .ignum-store-button:hover strong {
    color: #071a30;
}


/* ==================================================
   ハンバーガーボタン
================================================== */

.ignum-custom-header .ignum-menu-button {
    display: none;

    width: 45px;
    height: 45px;

    margin-left: auto;

    padding: 0;

    border: none;

    background: transparent;

    cursor: pointer;
}

.ignum-custom-header .ignum-menu-button span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 6px auto;

    background: #071a30;

    transition: 0.2s ease;
}


/* ==================================================
   タブレット
================================================== */

@media screen and (max-width: 1100px) {

    .ignum-custom-header {
        padding: 0 25px;
    }

    .ignum-custom-header .ignum-menu {
        gap: 20px;
    }

    .ignum-custom-header .ignum-menu a {
        font-size: 12px;
    }

    .ignum-custom-header .ignum-store-button {
        width: 160px;
        height: 46px;
    }

    .ignum-custom-header .ignum-store-button span {
        font-size: 10px;
    }

    .ignum-custom-header .ignum-store-button strong {
        font-size: 16px;
    }
}


/* ==================================================
   スマホ
================================================== */

@media screen and (max-width: 767px) {

    .ignum-custom-header {
        width: 100%;
        height: 70px;

        padding: 0 18px;
    }


    /* ページ上部の余白 */

    body {
        padding-top: 70px;
    }


    /* ロゴ */

    .ignum-custom-header .ignum-header-logo {
        flex: 0 0 75px;

        width: 75px;
        height: 70px;
    }

    .ignum-custom-header .ignum-header-logo img {
        width: 60px;
        max-width: 60px;

        height: 60px;
        max-height: 60px;
    }


    /* ナビゲーション */

    .ignum-custom-header .ignum-header-nav {
        display: none;

        position: absolute;

        top: 70px;
        left: 0;

        width: 100%;

        transform: none;

        background: rgba(255, 255, 255, 0.96);

        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);

        border-bottom: 1px solid #e5e7eb;
    }

    .ignum-custom-header .ignum-header-nav.is-open {
        display: block;
    }


    /* メニュー */

    .ignum-custom-header .ignum-menu {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 0;
    }

    .ignum-custom-header .ignum-menu li {
        width: 100%;
    }

    .ignum-custom-header .ignum-menu a {
        width: 100%;

        box-sizing: border-box;

        padding: 17px 25px;

        font-size: 14px;

        border-bottom: 1px solid #eeeeee;
    }


    /* ONLINE STORE */

    .ignum-custom-header .ignum-store-button {
        display: none;
    }


    /* ハンバーガー */

    .ignum-custom-header .ignum-menu-button {
        display: block;
    }


    /* ハンバーガー → × */

    .ignum-custom-header .ignum-menu-button.is-open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .ignum-custom-header .ignum-menu-button.is-open span:nth-child(2) {
        opacity: 0;
    }

    .ignum-custom-header .ignum-menu-button.is-open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

}
