@charset "UTF-8";
/* ============================================================
   ジンギスカン 神の羊 本店 - カスタム上書き（テンプレ本体は触らない）
   ============================================================ */

/* ダークモードでも配色を保つ（body地紋が沈まないよう明示） */
:root { color-scheme: only light; }

/* --- MVスライダー（TOP）：枠にそろえてトリミング --- */
#main-slider .slider img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center;
    display: block;
}
@media screen and (max-width: 767px) {
    #main-slider .slider img { height: 220px; }
}

/* --- 下層ページMV（.kv_second）：実体のない bg_kv2.jpg → 案件画像に差し替え --- */
.kv_second {
    background-image: url(../img/page-mv.jpg);
}

/* --- TOPメニュー PC背景を案件画像に差し替え（SPは figure.sp img で反映済） --- */
@media screen and (min-width: 768px) {
    .top-food .bg   { background-image: url(../img/top-menu-1.jpg); }
    .top-drink .bg  { background-image: url(../img/top-menu-2.jpg); }
    .top-course .bg { background-image: url(../img/top-menu-4.jpg); }
}

/* --- TOPギャラリーのループスライダー：各画像を中央基準でトリミング --- */
#loopslider ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* --- ヘッダーロゴ（PC）：帯内で天地中央・サイズ上限 --- */
@media screen and (min-width: 768px) {
    header .inner { align-items: center; }
    header h1 { width: auto; }
    header h1 img {
        width: auto;
        max-width: 230px;
        max-height: 74px;
        height: auto;
        display: block;
    }
}

/* --- ヘッダーロゴ（SP）：60px帯に収め中央寄せ（左=翻訳/右=ハンバーガーを避ける） --- */
@media screen and (max-width: 767px) {
    header h1 {
        width: auto;
        margin: 0 auto;
        padding: 0 54px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    header h1 img {
        width: auto;
        height: auto;
        max-height: 38px;
        max-width: 100%;
        display: block;
    }
}

/* --- グロナビ/追従ヘッダーのInstagramアイコン（最右） --- */
.nav-insta a { display: flex; align-items: center; line-height: 1; }
.nav-insta a i { font-size: 22px; }
@media screen and (min-width: 768px) {
    ul.gnav .nav-insta { display: flex; align-items: center; }
    .persist-header .nav-insta { display: flex; align-items: center; }
    .persist-header .nav-insta a i { font-size: 20px; }
}
/* SPドロワー内のInstagramアイコン */
@media screen and (max-width: 767px) {
    .drawer-menu .nav-insta a { justify-content: center; }
    .drawer-menu .nav-insta a i { font-size: 26px; }
}

/* --- フッターのコピーライト：ロゴから離す・白・少し大きく・サイト基本書体(明朝)に統一 --- */
footer small {
    margin-top: 28px;
    padding-bottom: 24px;
    color: #fff;
    opacity: 1;
    font-size: 14px;
    font-family: "游明朝", "YuMincho", "Noto Serif JP", serif !important;
    letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
    footer small { margin-top: 20px; padding-bottom: 20px; font-size: 13px; }
}


.persist-header .book,
.gnav .book{
font-size: .9vw;
border: 1px solid #fff;
padding: 0 .5rem;
}
.persist-header .book a,
.gnav .book a{
display: flex;
width: 100%;
height: 100%;
align-items: center;
}

/* .drawer-menu .book{

} */



/* Fixed navigation: explicit initial position also applies during page changes. */
@media screen and (min-width: 768px) {
    .persist-header {
        left: 0;
        top: 0;
        transform: translateY(-100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform .3s ease, visibility .3s;
    }
    .persist-header.is-visible {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }
    .persist-header a::after { bottom: -4px; }
}

/* Short mobile pages: extend the footer background to the viewport bottom. */
@media screen and (max-width: 767px) {
    body {
        min-height: 100vh;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
    }
    body > * { flex-shrink: 0; }
    body > footer {
        flex: 1 0 auto;
        padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    }
    .fixed-btn__wrapper {
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: #000;
    }
}
