/* ========================================
   全体設定
======================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
}
html.is-locked, body.is-locked { overflow: hidden !important; }

/* ========================================
   ヘッダー設定 (余白の厳密なコントロール)
======================================== */
.custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.custom-navbar.is-scrolled {
    background-color: rgba(252, 251, 245, 0.95); /* スクロール後の色 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: flex-end; /* 右寄せ */
    
    /* ★ ここで余白をすべて同じ値（これまでの約半分）で統一します */
    padding-top: 12px;    /* 上側の余白 */
    padding-right: 12px;  /* 右側の余白 */
    padding-bottom: 12px; /* 下側の余白（ヘッダーの高さを確保するため） */
}

/* PC版テキストリンク群 */
.text-links {
    margin-right: 20px; /* アイコン群との間隔 */
}
.custom-text-link {
    color: #333;
    font-weight: bold;
    text-decoration: none;
    margin-left: 20px;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}
.custom-text-link:hover {
    color: #8b4513;
}

/* Instagramアイコン */
.custom-icon-link {
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* ========================================
   ハンバーガーメニューの白丸・白抜き（透過）設定
======================================== */
.icon-circle-wrapper {
    width: 40px !important;  
    height: 40px !important; 
    background-color: rgba(255, 255, 255, 0.7) !important; 
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* ★ Instagramアイコンとのスペースを、上・右余白と同じ値にする */
    margin-left: 12px !important; 
    
    isolation: isolate; 
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.icon-circle-wrapper:hover {
    background-color: rgba(255, 255, 255, 0.9) !important; 
}

/* くり抜く「型」となる要素（ハンバーガーの線） */
.icon-circle-wrapper span {
    background-color: black !important;
    mix-blend-mode: destination-out; 
}

/* ハンバーガー特有の線の配置設定 */
.navbar-burger.custom-burger {
    position: relative;
    display: flex !important; /* Bulmaのデフォルト上書き */
}

.navbar-burger.custom-burger span {
    border-radius: 8px; /* 線の角の丸み維持 */
    height: 2px;
    width: 18px; 
    left: calc(50% - 9px); 
    position: absolute;
}


/* ========================================
   フルスクリーンメニュー
======================================== */
.fullscreen-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-color: rgba(252, 251, 245, 0.98);
    z-index: 1500; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease;
}
.fullscreen-menu.is-active { opacity: 1; visibility: visible; }
.close-menu-btn {
    position: absolute; top: 25px; right: 5%; cursor: pointer; color: #333; z-index: 2001; padding: 10px;
}
.close-menu-btn:hover { opacity: 0.7; }
.menu-content { text-align: center; }
.menu-content ul { list-style: none; padding: 0; margin-bottom: 3rem; }
.menu-content li { margin-bottom: 2rem; }
.menu-link {
    font-size: 1.5rem; font-weight: bold; color: #333; text-decoration: none; letter-spacing: 0.1em; transition: color 0.3s ease;
}
.menu-link:hover { color: #8b4513; }

/* ========================================
   キービジュアル (絶対配置レイアウト)
======================================== */
.custom-kv {
    position: relative; /* ここを基準にテキストを浮かせます */
    background-image: url('https://tokachi-grandnuts.com/img/index/kv01.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
}

/* 左右のテキスト画像の共通設定 */
.kv-text-left, 
.kv-text-right {
    position: absolute;
    top: 50%; /* 上下中央 */
    transform: translateY(-50%); /* 自身の高さの半分だけ上に戻して完璧に中央揃え */
    height: auto;
}

/* ----------------------------------------
   PC表示 (769px以上) - 1200px / 3:2 に変更
---------------------------------------- */
@media screen and (min-width: 769px) {
    .custom-kv {
        height: auto; /* 100vhを解除 */
        max-width: 1200px; /* 最大幅を1200pxに制限 */
        margin: 120px auto 60px; /* ヘッダーの被りを防ぎつつ、左右中央に配置 */
        aspect-ratio: 3 / 2; /* ★ ご要望の比率3:2に固定 */
        border-radius: 8px; /* お好みで角丸にしても上品です（不要なら削除） */
    }
    
    .kv-text-left {
        left: 8%; /* 左端からの距離 */
        max-height: 60%; /* KVの高さ（3:2の箱）に対する割合でサイズを制御 */
        width: auto;
        max-width: 35%; /* 横に広がりすぎるのを防ぐ */
    }
    .kv-text-right {
        right: 8%; /* 右端からの距離 */
        max-height: 50%; /* 右のテキストは少し小さめに */
        width: auto;
        max-width: 25%;
    }
}

/* スマホ表示 (768px以下) */
@media screen and (max-width: 768px) {
    .custom-kv {
        height: auto;
        aspect-ratio: 1 / 1; /* ★ スマホは確実に正方形 */
    }
    
    /* 参考画像のサイズ感を再現 */
    .kv-text-left {
        left: 5%; /* 左端からの距離 */
        max-height: 55%; /* 正方形の高さに対する割合でサイズを制御 */
        width: auto;
        max-width: 40%; /* 万が一横に広がりすぎるのを防ぐ */
    }
    .kv-text-right {
        right: 5%; /* 右端からの距離 */
        max-height: 55%; /* 右のテキストは少し小さめに */
        width: auto;
        max-width: 40%;
    }
}


/*##################*/
.section-concept{
  font-family: kiwi-maru, sans-serif;
  font-weight: 500;
  font-style: normal;
}