.feature-section.kv {
    padding-top: 0;
}

body.page-privacy-en,
body.page-order {
    min-width: 100%;
}
.page-order main {
    padding: 12.5% 0 11.5%;
}
.page-order #contact.order {
    width: 78.125%;
    max-width: 1500px;
    margin: 0 auto;
}
.page-order #contact #content {
    width: 100%;
}
.page-order #contact #content .in {
    width: 86.6%;
}

@media print, screen and (max-width: 768px) {
    body {
        min-width: 100%;
    }
    main {
        width: 90vw;
        margin: 0 auto;
    }

    #privacy.en {
        width: 100%;
    }
    #privacy.en a.btn {
        width: 100%;
    }
}



/* ==============================
  ヘッダー
============================== */
header {
    font-family: "Noto Serif JP", "游明朝体", YuMincho, "游明朝", "Yu Mincho", serif;
    position: fixed;
    z-index: 300;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    padding: 1.7% 2.5% 1.7% 3.1%;
    background-color: transparent;
    transition: background-color 0.4s, top 0.6s ease-in-out;
    mix-blend-mode: exclusion;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* ロゴ */
.header-content .logo {
    width: 9.1%;
    max-width: 175.42px;
    flex-shrink: 0;
}

/* SP用ナビ */
.header-content .sp-nav {
    display: none;
}

/* PC ナビゲーション */
.header-content nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.header-content nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.6em;
    font-size: min(1.14vw, 2.2rem);
}

.header-content nav ul li {
    position: relative;
    /* padding: 0 1.6em 0 0; */
    text-align: center;
}

.header-content nav ul li > a,
.header-content nav ul li > span {
    display: block;
    font-size: min(1.14vw, 2.2rem);
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.2em;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}
.header-content nav ul li > span {
    color: #333;
}

.header-content nav ul li > a:hover {
    opacity: 0.7;
}

/* ENGLISH リンク */
.header-content nav .lang-en > a {
    letter-spacing: 0.1em;
}

/* ハンバーガーボタン */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 2.3em;
    height: 1.63em;
    max-width: 52px;
    max-height: 36px;
    margin-left: 1.6em;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: min(1.14vw, 2.2rem);
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: transform 0.35s ease, opacity 0.25s ease;
    transform-origin: center;
}

.hamburger-btn.is-active span:nth-child(1) {
    transform: translateY(0.74em) rotate(45deg);
}
.hamburger-btn.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.is-active span:nth-child(3) {
    transform: translateY(-0.74em) rotate(-45deg);
}

@media print, screen and (max-width: 768px) {
    header {
        /*top: 6.16svh;*/ /*50/811*/
        /*left: 5.6vw; *//*21/375*/
        padding: 0;
        /*width: 87.304vw;*/ /* 327.39/375*/
        width: 100vw;
        background-color: transparent;
        padding: 6.16svh 5.6vw 2svh;
        height: 13.5svh;
    }
    .header-content {
        /*padding: 13.3vw 5.6vw 5vw;*/ /* top:50 / sides:21 on 375px */
        align-items: center;
    }
    .header-content .logo {
        width: 28.5vw; /* 107/375 */
        max-width: none;
        margin-right: 0;
    }
    /* 旧 SP 用ハンバーガー（.sp-nav > .openbtn）は JS 接続なしの遺物 → 非表示 */
    .header-content .sp-nav {
        display: none;
    }

    /* ハンバーガーメニュー */
    .openbtn {
        position: relative;
        width: 13.3vw;
        height: 13.3vw;
        cursor: pointer;
        flex-shrink: 0;
    }
    .openbtn span {
        display: inline-block;
        transition: all 0.4s;
        position: absolute;
        left: 4.5vw;
        height: 1px;
        background-color: #fff;
    }
    .openbtn span:nth-of-type(1) {
        top: 5.3vw;
        width: 4.2vw;
    }
    .openbtn span:nth-of-type(2) {
        top: 7.2vw;
        width: 4.2vw;
    }

    .header-content nav {
        position: absolute;
        top: 13.3vw;
        left: 0;
        width: 100vw;
        transition: all 0.3s;
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        padding-bottom: calc(13.3vw + 5vw);
        overflow-y: scroll;
        min-height: 100vh;
        min-height: 100svh;
        height: 100%;
        box-sizing: border-box;
        background-color: #4AC862;
        justify-content: flex-start;
    }
    .header-content nav.active {
        opacity: 1;
        z-index: 3;
        visibility: visible;
    }
    body.active {
        height: 100%;
        overflow: hidden;
    }
    .header-content nav ul {
        display: block;
        text-align: center;
        width: 78.9vw;
        max-width: 78.9vw;
        margin: 0 auto 13.3vw;
    }
    .header-content nav ul li {
        width: 100%;
        max-width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        padding: 8.5vw 0;
    }
    .header-content nav ul li > a {
        font-size: 2rem;
        letter-spacing: 0.2em;
        color: #fff;
        text-shadow: none;
        justify-content: center;
    }

    .header-content nav .lang-en {
        display: none;
    }
}

/* ==============================
  フッター
============================== */
footer {
    font-family: "Noto Serif JP", "游明朝体", YuMincho, "游明朝", "Yu Mincho", serif;
    position: relative;
    background-color: #eee;
    padding: 5.8% 0 8.75%;
    z-index: 1;
}
.page-en footer {
    background-color: inherit;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    width: 72.9%;
    width: max-content;
    max-width: 1400px;
    margin: 0 auto;
}

/* ロゴ＋住所ブロック */
.footer-logo-block {
    flex-shrink: 0;
    width: 21em;
    font-size: min(2.2rem, 1.14vw);
    margin-right: 8.7%;
}

.footer-logo {
    width: 58.4%;
    max-width: 287px;
}

.footer-logo img {
    width: 100%;
}

.footer-address {
    letter-spacing: 0.05em;
    line-height: 1.45;
    color: #000;
    margin-top: 2.1em;
}

/* ナビゲーション */
.footer-nav-wrap {
    width: 49em;
    font-size: min(2rem, 1.04vw);
}
.footer-nav {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2em;
}

.footer-nav-col {
}

.footer-nav-col--right {
    padding-left: 2em;
    border-left: 1px solid #999;
}

.footer-nav-col-item {
    font-size: min(2rem, 1.04vw);
    line-height: 1;
}
.footer-nav-col-item + .footer-nav-col-item {
    margin-top: 2.3em;
}

.footer-nav-col-item a {
    font-size: min(2rem, 1.04vw);
    letter-spacing: 0.1em;
    color: #000;
    text-decoration: none;
}


.footer-nav-col-item + .footer-nav-col-item--sub {
    margin-top: 1.875em;
}
.footer-nav-col-item--sub + .footer-nav-col-item--sub {
    margin-top: 1.08em;
}

.footer-nav-col-item--sub a {
    font-size: min(1.8rem, 0.95vw);
    letter-spacing: 0.1em;
    color: #000;
    text-decoration: none;
}

/* SP用フッター要素（PCでは非表示） */
.footer-sp-address {
    display: none;
}

.footer-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    font-size: min(1.4rem, 0.73vw);
    margin-top: 3.2em;
    color: #000;
}

.footer-sns {
    display: flex;
    gap: 1.2em;
    align-items: center;
}

.footer-sns-link {
    display: block;
    transition: opacity 0.3s;
}

.footer-sns-link:hover {
}

.footer-sns-link img {
    width: 100%;
}

/* コピーライト */
.footer-bottom p.copyright {
    color: #000;
    letter-spacing: 0.07em;
}

/* SP フッター（Figma 準拠 / 375px 基準） */
@media print, screen and (max-width: 768px) {
    footer {
        padding: 0;
        background-color: rgba(238, 238, 238, 0.87);
    }

    .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 10.6vw 7.7vw 6vw; /* top:40 / left,right:29 on 375px */
        max-width: none;
        width: 100%;
        box-sizing: border-box;
    }

    /* ロゴ：上部中央 */
    .footer-logo-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0 0 12.8vw; /* logo bottom (90) → row1 top (138) ≈ 48px */
        order: 1;
    }

    .footer-logo {
        width: 35.5vw; /* 133/375 */
        max-width: 134px;
    }

    .footer-logo img {
        width: 100%;
    }

    /* ロゴ下の住所（PC用）は SP では非表示 */
    .footer-address {
        display: none;
    }

    /* nav-wrap と bottom は箱を消して順序制御 */
    .footer-nav-wrap,
    .footer-bottom {
        display: contents;
    }

    /* 2列ナビ：罫線付き */
    .footer-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 7vw;  /* 36/375 */
        row-gap: 0;
        order: 2;
        margin: 0 0 4vw;
    }

    .footer-nav-col,
    .footer-nav-col--right {
        display: contents;
        border: none;
        padding: 0;
    }

    /* sub アイテム（– そだてる等）は SP では非表示 */
    .footer-nav-col-item--sub {
        display: none;
    }

    .footer-nav-col-item {
        margin: 0 0 8.5vw;        /* 32px / 375 */
        padding: 0 0 0.35em;       /* 5px / 14rem */
        border-bottom: 1px solid #000;
        font-size: 3.7vw;
        line-height: 1.43;
        letter-spacing: 0.1em;
    }
    .footer-nav-col-item + .footer-nav-col-item {
        margin-top: 0;
    }


    .footer-nav-col:last-of-type .footer-nav-col-item:nth-last-of-type(-n + 2 ) {
        margin-bottom: 0;
    }

    .footer-nav-col-item a {
        font-size: 3.7vw;
        line-height: 1.43;
        letter-spacing: 0.1em;
        color: #000;
        text-decoration: none;
    }

    /* SNS：中央寄せ */
    .footer-sns {
        order: 3;
        display: flex;
        justify-content: center;
        gap: 7.5vw; /* 28px / 375 */
        margin: 7.4vw 0 7.16vw; /* nav下27 → SNS → address */
    }

    .footer-sns-link {
        display: block;
        width: 7.2vw;
        flex: 0 0 7.2vw;
    }

    .footer-sns-link img {
        width: 100%;
    }

    /* TEL/住所：中央寄せ */
    .footer-sp-address {
        order: 4;
        display: block;
        font-size: 3.7vw;
        letter-spacing: 0.15em;
        line-height: 1.43;
        color: #000;
        text-align: center;
        width: 100%;
        margin: 0 0 0.64em; /* address下24 → copyright */
    }

    /* コピーライト：中央寄せ */
    .footer-copyright {
        order: 5;
        font-size: 3.2vw;
        letter-spacing: 0.1em;
        color: #000;
        line-height: 1.4;
        text-align: center;
        margin: 0;
    }
}

/* スクロール禁止 */
body.nav-is-open {
    overflow: hidden;
}

/* オーバーレイ表示中：ヘッダーのnavを非表示、背景を透明に */
body.nav-is-open header {
    background-color: transparent;
    mix-blend-mode: normal;
}
body.nav-is-open .header-content nav {
    display: none;
}

/* ==============================
  フルスクリーン ナビオーバーレイ
============================== */
.nav-overlay {
    font-family: "Noto Serif JP", "游明朝体", YuMincho, "游明朝", "Yu Mincho", serif;
    position: fixed;
    inset: 0;
    z-index: 200;
    background-color: rgba(8, 47, 65, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
}

.nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.nav-overlay-inner {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 5.5% 4.4% 3.1%;
    box-sizing: border-box;
    z-index: 1;
}

/* ナビグリッド */
.nav-overlay-wrap {
    margin: auto;
    /* width: 53.6%; */
}
.nav-overlay-nav {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2em;
}

.nav-col {
}

.nav-col--right {
    padding-left: 2em;
    border-left: 1px solid #FFF;
}

.nav-col-item {
    font-size: min(1.25vw, 2.4rem);
    line-height: 1;
}
.nav-col-item + .nav-col-item {
    margin-top: 2.28em;
}
.nav-col-item--sub + .nav-col-item--sub {
    margin-top: 1.3em;
}

.nav-col-item--sub {
    margin-bottom: 3%;
}

/* メインリンク */
.nav-link {
    display: block;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.65;
}

/* 英語サブタイトル */
.nav-link-en {
    display: block;
    font-size: min(1.6rem, 0.83vw);
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    margin-top: 1.3em;
}

/* サブリンク */
.nav-link-sub {
    display: block;
    font-size: min(2.1rem, 1.09vw);
    letter-spacing: 0.1em;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.nav-link-sub:hover {
    opacity: 0.65;
}

.nav-overlay-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    font-size: min(1.4rem, 0.73vw);
    margin-top: 4.2em;
}
/* SNS */
.nav-overlay-sns {
    display: flex;
    gap: 2.2em;
}

.nav-sns-link {
    display: block;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.nav-sns-link:hover {
    opacity: 0.6;
}

.nav-sns-link img {
    width: 100%;
}

/* コピーライト */
.nav-overlay-copyright {
    letter-spacing: 0.1em;
    color: #fff;
    text-align: right;
}

/* SP オーバーレイ調整（Figma 準拠 / 375px 基準） */
@media print, screen and (max-width: 768px) {
    .hamburger-btn {
        margin-left: 0;
        font-size: inherit;
    }

    /* 左右の装飾 SVG（縦帯） */
    .nav-overlay::before,
    .nav-overlay::after {
        content: '';
        position: absolute;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        pointer-events: none;
        z-index: 0;
    }

    .nav-overlay-inner {
        padding: 0;
        min-height: 100vh;
    }

    .nav-overlay-wrap {
        width: 100%;
        margin: 0;
        padding: 19.2svh 6.6vw 6vw; /* top:159px / left,right:41px on 375px */
        box-sizing: border-box;
    }

    /* メインナビ：2列グリッド + 区切り線 + ショップ行 */
    .nav-overlay-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 4vw;
        padding: 0;
        align-content: start;
        position: relative;
        gap: unset;
    }

    /* nav-col の箱を消して、子要素をグリッドの直接の子にする */
    .nav-col,
    .nav-col--right {
        display: contents;
    }

    .nav-col-item,
    .nav-col-item + .nav-col-item,
    .nav-col-item--sub {
        margin: 0;
        padding: 0;
    }

    /* グリッド配置（HTML 4列構造を SP 2列に再配置） */
    /* col1: お知らせ / 商品のご紹介 / 店舗案内 → 左列 */
    .nav-col:nth-of-type(1) .nav-col-item:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
    .nav-col:nth-of-type(1) .nav-col-item:nth-child(2) { grid-area: 2 / 1 / 4 / 2; margin-top: 7.1vw; }
    .nav-col:nth-of-type(1) .nav-col-item:nth-child(3) { grid-area: 4 / 1 / 5 / 2; margin-top: 6.48vw; }
    /* col2: カメヤのものづくり + 3 sub → 右列 row1-4 */
    .nav-col:nth-of-type(2) .nav-col-item:nth-child(1) { grid-area: 1 / 2 / 2 / 3; }
    .nav-col:nth-of-type(2) .nav-col-item:nth-child(2) { grid-area: 2 / 2 / 3 / 3; margin-top: 5.97vw; }
    .nav-col:nth-of-type(2) .nav-col-item:nth-child(3) { grid-area: 3 / 2 / 4 / 3; margin-top: 4.82vw; }
    .nav-col:nth-of-type(2) .nav-col-item:nth-child(4) { grid-area: 4 / 2 / 5 / 3; margin-top: 4.85vw; }
    /* col3: 会社概要 / 採用情報 / お問い合わせ → row5-6 に分配 */
    .nav-col:nth-of-type(3) .nav-col-item:nth-child(1) { grid-area: 5 / 1 / 6 / 2; margin-top: 6.99vw; }
    .nav-col:nth-of-type(3) .nav-col-item:nth-child(2) { grid-area: 5 / 2 / 6 / 3; margin-top: 6.85vw; }
    .nav-col:nth-of-type(3) .nav-col-item:nth-child(3) { grid-area: 6 / 1 / 7 / 2; margin-top: 5.95vw; }
    /* col4: オンラインショップ / */
    .nav-col:nth-of-type(4) .nav-col-item:nth-child(1) { grid-area: 8 / 1 / 9 / 2; }
    /* カメヤ食堂 */
    .nav-col:nth-of-type(4) .nav-col-item:nth-child(2) { grid-area: 9 / 1 / 10 / 2; margin-top: 5.95vw; }
    /* 業務用卸サイト → row 8 */
    .nav-col:nth-of-type(4) .nav-col-item:nth-child(3) { grid-area: 8 / 2 / 9 / 3; }
    /* ENGLISH → row 6 右 */
    .nav-col:nth-of-type(4) .nav-col-item:nth-child(4) { grid-area: 6 / 2 / 7 / 3; margin-top: 5.2vw; }

    /* 区切り線（row 7、両カラム横断） */
    .nav-overlay-nav::before {
        content: '';
        grid-column: 1 / -1;
        grid-row: 7;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.7);
        margin:8.7vw 0 7.15vw;
        align-self: center;
    }

    /* リンク文字スタイル */
    .nav-link {
        font-size: 4.2vw;
        font-weight: 500;
        letter-spacing: 0.1em;
        line-height: 1.19;
    }

    .nav-link-en {
        font-size: 2.4vw;
        letter-spacing: 0.15em;
        line-height: 1.78;
        margin-top: 0.9em;
        color: rgba(255, 255, 255, 0.5);
    }

    .nav-link-sub {
        font-size: 1.408rem;
        letter-spacing: 0.1em;
        line-height: 1.35;
    }

    /* フッター（SNS + コピーライトを中央寄せ縦並び） */
    .nav-overlay-footer {
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-top: 18.8vw;
        padding: 0;
    }

    .nav-overlay-sns {
        gap: 7.3vw;
        padding: 0;
        margin: 0 0 7.3vw;
    }

    .nav-sns-link {
        width: 7.32vw;
    }

    .nav-overlay-copyright {
        text-align: center;
        font-size: 2.7vw;
        line-height: 1.6;
        letter-spacing: 0.1em;
    }
}
