/* ===============================================
common
===============================================*/
:root {
    --bg-color: #F5F7FA;
    --text-main: #2c3e50;
    --text-sub: #636e72;
    --primary: #1A2B4C;
    /* ネイビー */
    --accent: #2d3436;
    /* ダークグレー */
    --gold-accent: #A38E5C;
    /* ゴールド */
    --white: #FFFFFF;

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    --glass-blur: blur(10px);

    --font-main: 'Noto Sans JP', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --radius-12px: 12px;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: #f8f9fa;
    /* Global Override for Detail Pageを適用 */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}


ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

button:active,
.btn:active,
.btn-icon:active,
.action-btn:active,
.category-card:active {
    transform: scale(0.95) !important;
}

p {
    margin-bottom: 0;
}

.object-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@media (max-width: 991px) {
    .w-under-lg-100 {
        width: 100%;
    }
}

/* ===============================================
全ページ共通
===============================================*/
.bg-wing-design {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background-color: #F5F7FA;
    overflow: hidden;
    pointer-events: none;
}

.single-wing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 120% 40%, rgba(26, 43, 76, 0.08) 0%, rgba(26, 43, 76, 0.02) 50%, transparent 70%),
        linear-gradient(135deg, transparent 40%, rgba(163, 142, 92, 0.05) 40%, rgba(163, 142, 92, 0.01) 60%, transparent 60%);
}

.single-wing::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 110%;
    height: 90%;
    border-radius: 100%;
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(-10deg);
}

/* Background Art (Wing) */
.bg-part01 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background-color: #F5F7FA;
    overflow: hidden;
    pointer-events: none;
}

.bg-part02 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 120% 40%, rgba(26, 43, 76, 0.08) 0%, rgba(26, 43, 76, 0.02) 50%, transparent 70%),
        linear-gradient(135deg, transparent 40%, rgba(163, 142, 92, 0.15) 40%, rgba(163, 142, 92, 0.01) 60%, transparent 60%);
}

.bg-part02::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 110%;
    height: 90%;
    border-radius: 100%;
    border-top: 2px solid rgba(119, 119, 119, 0.3);
    transform: rotate(-10deg);
}

@media (max-width: 991px) {
    .bg-part02::after {
        right: -15%;
        width: 150%;
    }
}


.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    color: var(--primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.scroll-btn:hover {
    background: var(--primary);
    color: #fff;
}

.scroll-btn:active {
    transform: translateY(-50%) !important;
}

.scroll-btn.prev {
    left: -20px;
}

.scroll-btn.next {
    right: -20px;
}

@media (max-width: 991px) {
    .scroll-btn {
        display: none;
    }
}

/* UI Elements */
.back-top {
    position: fixed;
    bottom: 2rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 900;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-top:hover {
    color: #fff;
}


.back-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991px) {
    .back-top {
        bottom: 75px;
    }
}



/* ===============================================
custom
===============================================*/


/* label */
.custom-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #374151;
    margin-bottom: 0.5rem;
}

.custom-input {
    border-radius: 0 !important;
    border: 1px solid #d1d5db;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    color: #111827;
    background-color: transparent;
    letter-spacing: 0.1em;
    transition: all 0.2s ease-in-out;
}

.custom-input:focus {
    outline: none;
    border-color: #1a2b4c;
    box-shadow: 0 0 0 1px #1a2b4c !important;
}

/* セレクトボックス（select）用のカスタムスタイル */
.custom-select {
    /* ブラウザ標準のデザインや矢印を消去 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* custom-input と同じベーススタイル */
    border-radius: 0 !important;
    border: 1px solid #d1d5db;

    /* 右側の余白を少し多めに取って矢印と文字が被らないようにする */
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    ;
    font-size: 0.875rem;
    color: #111827;
    background-color: transparent;
    letter-spacing: 0.1em;
    transition: all 0.2s ease-in-out;
    cursor: pointer;

    /* シャープな直角の下矢印（SVG）を右端に配置 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* IE/Edge用のデフォルト矢印を消すハック */
.custom-select::-ms-expand {
    display: none;
}

/* フォーカス時のスタイル（custom-inputと同じネイビーの枠線） */
.custom-select:focus {
    outline: none;
    border-color: #1a2b4c;
    box-shadow: 0 0 0 1px #1a2b4c !important;
}


.mobile-filter-btn {
    display: none;
    /* ※メディアクエリ等での表示制御用としてそのまま残します */
    width: 100%;
    padding: 14px;
    /* 上下の余白を少し広げてタップしやすく */
    background: #fff;
    border: 1px solid #1a2b4c;
    /* 枠線をネイビーに変更 */
    border-radius: 0;
    /* 角丸を完全に排除（直角に） */
    margin-bottom: 1rem;
    font-weight: 700;
    /* よりしっかりとした太字に */
    color: #1a2b4c;
    /* 文字色もネイビーに */
    text-align: center;
    letter-spacing: 0.2em;
    /* 字間を広げて洗練された高級感を演出 */
    cursor: pointer;
    transition: all 0.3s ease;
    /* ホバー時の滑らかなアニメーション */
}

/* ホバー（タップ）時の反転アクション */
.mobile-filter-btn:hover {
    background-color: #1a2b4c;
    color: #ffffff;
}

/* pagination */
.pagination-area .pagination {
    gap: 0.5rem;
    margin-bottom: 0;
}

.pagination-area .page-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 0;
    border-radius: 0 !important;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    color: #4b5563;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.pagination-area .page-link:hover {
    border-color: #1a2b4c;
    color: #1a2b4c;
    background-color: #ffffff;
    z-index: 1;
}

.pagination-area .page-link:focus {
    box-shadow: none;
    outline: none;
}

.pagination-area .page-item.active .page-link {
    background-color: #1a2b4c;
    border-color: #1a2b4c;
    color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.pagination-area .page-item.disabled .page-link {
    background-color: #f9fafb;
    border-color: #e5e7eb;
    color: #d1d5db;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===============================================
header
===============================================*/
.headerWrapper .logoSize {
    width: 100px;
    height: 70px;
}

@media (max-width: 991px) {
    .headerWrapper .logoSize {
        width: 80px;
        height: 60px;
    }
}

.headerWrapper .nav-link {
    margin: 0 1rem;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.headerWrapper .nav-link:hover {
    color: var(--text-main);
}

.headerWrapper .nav-link::after {
    content: "";
    position: absolute;
    left: var(--bs-nav-link-padding-x, 0.5rem);
    width: calc(100% - (var(--bs-nav-link-padding-x, 0.5rem) * 2));
    bottom: 4px;
    height: 1px;
    background-color: #cca876;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.headerWrapper .nav-link:hover::after {
    transform: scaleX(1);
}

/* Header */
.headerWrapper {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1051;
    background-color: white;
}

.headerTop {
    background-color: var(--primary);
    color: #ffffff;
    padding: 1rem 0;
    letter-spacing: 0.1em;
    text-align: center;
    width: 100%;
}

@media (max-width: 991px) {
    .headerTop {
        font-size: 0.8rem;
    }
}


.header-tagline {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.tagline-ja {
    font-size: 12px;
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.4em;
    margin-bottom: 4px;
}


.tagline-en {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}


.header-icons .btn {
    color: var(--primary);
    font-size: 1.2rem;
    margin-left: 0.5rem;
    position: relative;
}

.badge-count {
    position: absolute;
    top: -10px;
    left: -5px;
    background-color: #e74c3c;
    color: white;
    font-size: 0.6rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

/* Language Switcher */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(26, 43, 76, 0.2);

    padding: 5px 12px;
    font-size: 0.85rem;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: var(--primary);
    color: #fff;
}

.lang-menu {
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    display: none;
    z-index: 1001;
    overflow: hidden;
    flex-direction: column;
}

.lang-menu.show {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.lang-item {
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: background 0.2s;
    display: flex;
    justify-content: space-between;
}

.lang-item:hover {
    background: #f5f5f5;
    color: var(--primary);
}

.lang-item.active {
    color: var(--primary);
    font-weight: 700;
}

/* ▼ 疑似要素(::before)を使った縦線の描画 ▼ */
.header-tagline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    /* 縦線の長さ */
    background-color: #d1d5db;
    /* 薄いグレー色 */
}

.tagline-ja {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.4em;
    margin-bottom: 4px;
}

.tagline-en {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    line-height: 1;
}

/* =========================================
           3. ハンバーガーアイコンをCSSで描画
        ========================================= */
.hamburger-icon {
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    position: relative;
    margin-bottom: 6px;
    margin-top: 6px;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
}

.hamburger-icon::before {
    top: -7px;
}

.hamburger-icon::after {
    top: 7px;
}

/* ホバー時のメニューボタンスタイル */
.hamburger-btn:hover {
    background-color: #f8f9fa;
}

/* =========================================
           4. ドロワー（Offcanvas）のカスタマイズ
========================================= */

.offcanvas-end {
    width: 70%;
    z-index: 9999;
}

.custom-offcanvas {
    border-left: none;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    /* 浮き出るような影 */
}

/* メニュー項目のホバーアクション */
.menu-link {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.menu-link:hover {
    background-color: #f8f9fa;
    color: var(--color-navy) !important;
    border-left-color: var(--color-navy);
    padding-left: 1.5rem !important;
    /* ホバーで少し右にずれる演出 */
}

/* ボタンデザイン */
.btn-outline-navy {
    color: var(--color-navy);
    border: 1px solid var(--color-navy);
    background-color: #fff;
    border-radius: 0;
    transition: all 0.3s;
}

.btn-outline-navy:hover {
    background-color: var(--color-navy);
    color: #fff;
}



/* ===============================================
Pages (Legal, Privacy, Contact)
===============================================*/
.page-content-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    padding: 3rem;
    box-shadow: var(--glass-shadow);
    margin-bottom: 2rem;
}

.page-content-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid var(--gold-accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.page-content-card h3:first-child {
    margin-top: 0;
}

.def-list-table {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1rem;
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
}

.def-list-table dt {
    font-weight: 700;
    color: var(--text-sub);
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.def-list-table dd {
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .page-content-card {
        padding: 1.5rem;
    }

    .def-list-table {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .def-list-table dt {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* ===============================================
footer
===============================================*/
/* =========================================
   フッター専用 シャープ・ネイビーデザイン
========================================= */

/* フッター全体の大枠 */
.footer-section {
    background-color: #26384e;
    /* スレート系ネイビー */
    border-top: 4px solid #cca876;
    /* ゴールドのアクセントライン */
    position: relative;
    overflow: hidden;
    z-index: 0;
}

/* 斜めの白背景（クリップパスで斜めに切り取る） */
.footer-bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: -1;
    pointer-events: none;
    /* スマホ用の斜めカット（ロゴ部分を覆う） */
    clip-path: polygon(0 0, 100% 0, 100% 20%, 0 30%);
}

/* PC・タブレット用の斜めカット（左側を覆う） */
@media (min-width: 768px) {
    .footer-bg-shape {
        clip-path: polygon(0 0, 40% 0, 25% 100%, 0 100%);
    }
}

/* コンテンツエリアの余白 */
.footer-content {
    position: relative;
    z-index: 10;
    padding-top: 4rem;
    padding-bottom: 1.5rem;
}

/* ロゴ */
.footer-logo {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: #1a2b4c;
    /* 白背景に乗るためネイビー */
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
    font-style: italic;
}

.footer-logo:hover {
    color: #1a2b4c;
}

/* サブタイトル */
.footer-subtitle {
    font-size: 11px;
    color: #6c757d;
    letter-spacing: 0.1em;
    line-height: 2;
    max-width: 220px;
    /* はみ出し防止 */
    margin-bottom: 0;
}

/* ナビゲーションのタイトル (SHOPPING / SUPPORT) */
.footer-nav h5 {
    color: #cca876;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* ナビゲーションのリスト */
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* リンクテキスト */
.footer-nav a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

/* ホバー時のテキスト色 */
.footer-nav a:hover {
    color: #ffffff;
}

/* ホバー時に左から伸びるゴールドの下線 */
.footer-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background-color: #cca876;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.footer-nav a:hover::after {
    transform: scaleX(1);
}

/* フッター最下部（コピーライトエリア） */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom p {
    font-size: 11px;
    color: #9ca3af;
    letter-spacing: 0.15em;
    margin: 0;
}


/* ===============================================
404
===============================================*/

/* 404全体コンテナ（背景とグリッド） */
.not-found-container {

    background-position: center center;
    padding: 120px 15px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    font-family: sans-serif;
}

/* --- 404のタイポグラフィ（多重枠線の表現） --- */
.not-found-visual {
    padding-right: 20px;
}

.not-found-number {
    position: relative;
    font-size: clamp(8rem, 16vw, 15rem);
    font-weight: 900;
    line-height: 1;
    font-family: 'Arial Black', Impact, sans-serif;
    letter-spacing: -0.05em;
    z-index: 1;
}

/* 1番手前：薄いグレーの枠線のみ */
.not-found-number span {
    color: #1d273a;
    -webkit-text-stroke: 2px #1d273a;
}

/* 飛行機アイコン */
.not-found-airplane {
    top: -20px;
    right: 20px;
    color: #6a7c92;
    transform: rotate(45deg);
    z-index: 4;
}

/* --- 右側テキストエリア --- */
.not-found-line {
    width: 40px;
    height: 1px;
    background-color: #cca876;
}

.not-found-subtitle {
    color: #cca876;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.not-found-title {
    color: var(--primary);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.not-found-text {
    color: #9ba7b6;
    font-size: 0.9rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

/* --- ボタンデザイン --- */
.not-found-btn-primary,
.not-found-btn-outline {
    padding: 16px 32px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 0;
    /* 角丸を排除 */
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 左：ゴールドボタン */
.not-found-btn-primary {
    background-color: #d0a86d;
    color: #1d273a;
    border: 1px solid #d0a86d;
}

.not-found-btn-primary:hover {
    background-color: transparent;
    color: #d0a86d;
}

/* 右：透明アウトラインボタン */
.not-found-btn-outline {
    background-color: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
}

.not-found-btn-outline:hover {
    background-color: #ffffff;
    color: var(--primary);
}

/* ===============================================
card
===============================================*/
/* Product Card - Merged */
.product-card {
    min-width: calc(25% - 15px);
    scroll-snap-align: start;
    background: var(--glass-bg);
    border: 1px solid #e9ecef;
    /* overflow: hidden; */
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
    height: 100%;
    border-radius: 0 !important;
}


@media (max-width: 991px) {
    .product-card {
        min-width: calc(50% - 10px);
    }
}

/* Merged Image Containers */
.img-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 */
    background-color: #e9ecef;
    overflow: hidden;
}

/* Merged Product Image */
.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.card-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}


/* --- 基本スタイル（全ステータス共通） --- */
.cardStatusBadge {
    font-size: 0.75rem;
    padding: 3px 10px;
    white-space: nowrap;
    align-self: flex-start;
    /* 追加の調整（トンマナ合わせ） */
    font-weight: 700;
    letter-spacing: 0.1em;
    border: 1px solid transparent;
    /* 枠線用にあらかじめ定義しておく */
}

/* --- 1. 販売中（ネイビー） --- */
.cardStatusBadge.status-publish {
    background-color: #1a2b4c;
    /* var(--text-main) がネイビーならそちらでもOKです */
    color: #fff;
    border-color: #1a2b4c;
}

/* --- 2. 予約（ゴールド） --- */
.cardStatusBadge.status-reservation,
.cardStatusBadge.status-reservation_end{
    background-color: #cca876;
    color: #fff;
    border-color: #cca876;
}

/* --- 3. お取り寄せ（白背景 ＋ ネイビー枠・文字） --- */
.cardStatusBadge.status-backorder {
    background-color: #ffffff;
    color: #1a2b4c;
    border-color: #1a2b4c;
}

/* --- 4. 在庫切れ・完売（薄いグレー） --- */
.cardStatusBadge.status-soldout {
    background-color: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
}


/* Merged Product Title */
.product-title {
    /* overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-all; */
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: bold;
}

.actions {
    display: flex;
    justify-content: end;
    position: relative;
}

@media (max-width: 768px) {}



/* ===============================================
index
===============================================*/

/* ====================
  2. Hero Section
==================== */
.hero-row {
    height: 520px;
}

.hero-visual-card {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
    transform: scale(1);
}

.hero-slide.active .hero-bg {
    transform: scale(1.1);
}

.hero-content {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    z-index: 4;
    color: #fff;
    max-width: 500px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-tag {
    background: var(--gold-accent);
    padding: 4px 12px;
    font-size: 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-indicators {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    z-index: 5;
    display: flex;
    gap: 8px;
}

.hero-indicator {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: 0.3s;
}

.hero-indicator.active {
    background: #fff;
}

.btn-hero {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.8rem 2rem;
    transition: 0.3s;
}

.btn-hero:hover {
    background: #fff;
    color: var(--primary);
}

/* Topics */
.topicsContainer {
    height: 520px;
}

@media (max-width: 991px) {
    .topicsContainer {
        height: auto;
    }
}

.topics-wrapper {
    height: 100%;
    background: var(--glass-bg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.topicsTitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.topicsList {
    flex-grow: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 30px;
}

.topics-list::-webkit-scrollbar {
    display: none;
}

/* 左側の見出しテキスト */
.topics-heading {
    font-size: 1.2rem;
    /* スマホ〜PCで可変 */
    font-weight: 700;
    color: #1a2b4c;
    /* ブランドカラーのネイビー */
    letter-spacing: 0.15em;
    /* 文字間隔を広げて高級感を出す */
    text-transform: uppercase;
}

/* 右側のVIEW ALLリンク全体 */
.topics-view-all {
    font-size: 0.75rem;
    /* 控えめなサイズ */
    font-weight: 700;
    color: #6c757d;
    /* 初期状態はグレー */
    letter-spacing: 0.15em;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s ease;
}

/* ホバー時にネイビーへ色を変える */
.topics-view-all:hover {
    color: #1a2b4c;
}

/* VIEW ALLの文字部分（ホバー時に下線が出る演出） */
.topics-view-all .view-all-text {
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.3s ease;
}

.topics-view-all:hover .view-all-text {
    border-color: #1a2b4c;
}

/* 矢印アイコンのアニメーション */
.topics-view-all i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* ホバー時に矢印がスッと右へ動く */
.topics-view-all:hover i {
    transform: translateX(4px);
}

.topicItem {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.topicItem:last-child {
    margin-bottom: 0;
}

.topicImg {
    width: 120px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.topicTag {
    font-size: 0.65rem;
    padding: 2px 6px;
    background: #eee;
    color: #555;
    font-weight: 700;
    display: inline-block;
    margin-right: 5px;
}

.topicTag.news {
    background: var(--primary);
    color: #fff;
}

.topicTag.info {
    background: var(--gold-accent);
    color: #fff;
}

.topicDate {
    font-size: 0.7rem;
    color: #888;
    display: inline-block;
}

.topicText {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-main);
    font-weight: 500;
}

.topics-scroll-hint {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 0.7rem;
    color: #888;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 8px;
    border-radius: 10px;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: bounce-hint 2s infinite;
}

@keyframes bounce-hint {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

@media (max-width: 991px) {
    .hero-row {
        height: auto;
    }

    .hero-visual-card {
        height: 400px;
        min-height: auto;
    }

    .topics-wrapper {
        height: 300px;
        margin-top: 1rem;
    }
}


.brand-item {
    min-width: 160px;
    height: 90px;
    transition: 0.3s;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.brand-item:hover {
    transform: translateY(-3px);
}

.brand-logo {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.brand-item:hover .brand-logo {
    opacity: 1;
    filter: grayscale(0%);
}

/* ====================
    6. Feature Banner
==================== */
.feature-section {
    padding: 4rem 0;
}

.feature-card {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
}

.feature-card:hover .feature-bg {
    transform: scale(1.05);
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 43, 76, 0.9) 0%, rgba(26, 43, 76, 0.4) 60%, transparent 100%);
}

.feature-content {
    position: relative;
    z-index: 2;
    padding: 4rem;
    color: #fff;
    max-width: 600px;
}

.feature-label {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--gold-accent);
    margin-bottom: 1rem;
    display: block;
    font-weight: 700;
}

.feature-heading {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .feature-card {
        height: auto;
    }

    .feature-content {
        padding: 2rem;
    }

    .feature-heading {
        font-size: 1.8rem;
    }
}



/* ====================
    7. Categories (Bento Grid)
==================== */
.category-section {
    padding-bottom: 4rem;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    grid-auto-rows: 240px;

}


.cat-item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 24px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.4s ease;
}

.cat-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);

}

.cat-item.large {
    grid-column: span 2;
}


.cat-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    z-index: 0;
}

.cat-item:hover {
    color: white;
}

.cat-item:hover .cat-bg {
    transform: scale(1.1);
}


.cat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
    transition: opacity 0.5s ease;
    z-index: 1;
}

.cat-item:hover .cat-overlay {
    opacity: 0;

}


.cat-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 43, 76, 0.8);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.cat-item:hover::before {
    transform: translateY(0);
}


.cat-label,
.cat-sub {
    position: relative;
    z-index: 3;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.cat-label {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.cat-sub {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.cat-item:hover .cat-label,
.cat-item:hover .cat-sub {
    transform: translateY(-12px);
}


.cat-item::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 24px;
    width: 0;
    height: 2px;
    background-color: #fff;
    z-index: 3;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
    opacity: 0;
}

.cat-item:hover::after {
    width: 48px;
    bottom: 24px;
    opacity: 1;
}


@media (max-width: 991px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-item.large {
        grid-column: span 2;
    }
}



/* ===============================================
productList
===============================================*/

/* ... existing code ... */
@media (max-width: 991px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ▼▼ 変更ここから ▼▼ */
    /* .sidebar を display: none; にするのをやめて、画面外に隠す（ドロワー化） */
    .col-lg-3 .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        /* 初期状態は画面の左枠外に隠す */
        width: 100%;
        /* スマホ画面の85%の幅 */
        max-width: 400px;
        height: 100dvh;
        background-color: #ffffff;
        /* 白背景 */
        z-index: 1051;
        /* ヘッダーやナビゲーションより手前に表示 */
        overflow-y: auto;
        /* スクロール可能に */
        padding: 24px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        /* なめらかなスライドアニメーション */
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.15);
        /* 浮き出ているような影 */
    }

    /* isFilterOpen が true になって親に .active が付いたら、画面内にスライドイン */
    .col-lg-3.active .sidebar {
        left: 0;
    }

    /* スマホ時のドロワーのヘッダー部分（絞り込みのタイトルと閉じるボタン） */
    .sidebarFilterHeader {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
        padding-bottom: 12px;
        border-bottom: 2px solid #1a2b4c;
        /* シャープなネイビーの線を引く */
        color: #1a2b4c;
        font-size: 1.1rem;
        letter-spacing: 0.1em;
    }

    /* ▲▲ 変更ここまで ▲▲ */

    .mobile-filter-btn {
        display: block;
    }
}

.sidebar {
    padding: 1rem;
}

.sidebarFilterHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
}

.custom-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #dee2e6;
    background-color: transparent;
}

.custom-accordion .accordion-item:last-child {
    border-bottom: none;
}

.accordion-button::after {
    width: 0.85rem;
    height: 0.85rem;
    background-size: 0.85rem;
}

/* アコーディオンボタン */
.custom-accordion .accordion-button {
    background-color: transparent;
    box-shadow: none;
    padding: 1rem 0;
    font-size: 14px;
    font-weight: 600;
    color: #1c2841;
    /* 開いている時の色 */
    transition: color 0.2s ease;
}


/* Bootstrap特有のフォーカス時の青枠を消す */
.custom-accordion .accordion-button:focus {
    box-shadow: none;
}

/* アコーディオンの中身の余白調整 */
.custom-accordion .accordion-body {
    padding: 0 0 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.accordion-button:active {
    transform: scale(1) !important;
}


.accordion-collapse {
    max-height: 12rem;
    overflow-y: auto;
}


/* ===============================================
productDetail
===============================================*/
.productGalleryMain {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: white;
}

/* Merged Gallery Thumbs */
.galleryThumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

/* Merged Thumb Item */
.thumb-item {
    width: 80px;
    height: 45px;

    border: 1px solid #e9ecef;
    overflow: hidden;
}

.thumb-item:hover,
.thumb-item.active {
    opacity: 1;
    border-color: #cca876;
}

/* Merged Thumb Img */
.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.statusBadge {
    background-color: var(--text-main);
    font-size: 0.75rem;
    color: #fff;
    padding: 5px 25px;
    white-space: nowrap;
}

/* --- 1. 販売中（ネイビー） --- */
.statusBadge.status-publish {
    background-color: #1a2b4c;
    /* var(--text-main) がネイビーならそちらでもOKです */
    color: #fff;
    border-color: #1a2b4c;
}

/* --- 2. 予約（ゴールド） --- */
.statusBadge.status-reservation {
    background-color: #cca876;
    color: #fff;
    border-color: #cca876;
}

/* --- 3. お取り寄せ（白背景 ＋ ネイビー枠・文字） --- */
.statusBadge.status-backorder {
    background-color: #ffffff;
    color: #1a2b4c;
    border-color: #1a2b4c;
}

/* --- 4. 在庫切れ・完売（薄いグレー） --- */
.statusBadge.status-soldout {
    background-color: #f1f5f9;
    color: #1a2b4c;
    border-color: #1a2b4c;
}



.form-select {
    border-radius: 0rem;
}

/* Merged Add to Cart LG */
.btn-add-cart-lg {
    flex-grow: 1;
    background: var(--text-main);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add-cart-lg:hover {
    background: #465b70;
}

/* Merged Tag Badge */
.tag-badge {
    font-size: 0.75rem;
    color: var(--text-main);
    padding: 5px 25px;
    border: 1px solid var(--text-main);
    white-space: nowrap;
}

.tag-badge i {
    margin-right: 4px;
    color: var(--primary);
}


/* ===============================================
newsList
===============================================*/
.news-item-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}


@media (max-width: 768px) {
    .news-item-card {
        flex-direction: column;
    }
}

.news-hero-img {
    height: 100%;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.news-hero-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   記事ナビゲーション（前へ・次へ・一覧）
========================================= */

/* ナビゲーションのコンテナ */

/* ボタン共通スタイル（角丸を排除してシャープに） */
.article-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.75rem;
    /* 小さめで洗練されたサイズ */
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none !important;
    border-radius: 0;
    /* 角丸なし */
    transition: all 0.3s ease;
    background-color: #ffffff;
    width: 100%;
}

/* PCサイズ以上の時は幅を調整 */
@media (min-width: 768px) {
    .article-nav-btn {
        width: auto;
        min-width: 160px;
    }

    .article-nav-btn.list-btn {
        min-width: 200px;
    }
}

/* 「前・次」ボタンのスタイル */
.article-nav-btn.prev-btn,
.article-nav-btn.next-btn {
    border: 1px solid #d1d5db;
    color: #4b5563;
}

.article-nav-btn.prev-btn:hover,
.article-nav-btn.next-btn:hover {
    border-color: #1a2b4c;
    /* ホバーでネイビーに */
    color: #1a2b4c;
}

/* 矢印アイコン(FontAwesome)のアニメーション */
.article-nav-btn.prev-btn i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.article-nav-btn.prev-btn:hover i {
    transform: translateX(-4px);
    /* ホバーで左へ動く */
}

.article-nav-btn.next-btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.article-nav-btn.next-btn:hover i {
    transform: translateX(4px);
    /* ホバーで右へ動く */
}

/* 「一覧に戻る」ボタンのスタイル（ネイビーで目立たせる） */
.article-nav-btn.list-btn {
    border: 1px solid #1a2b4c;
    color: #1a2b4c;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.article-nav-btn.list-btn i {
    margin-right: 0.5rem;
    transition: opacity 0.3s ease;
}

.article-nav-btn.list-btn:hover {
    background-color: #1a2b4c;
    color: #ffffff;
}

.article-nav-btn.list-btn:hover i {
    opacity: 1 !important;
    /* ホバー時にアイコンを少し明るく */
}


/* ===============================================
storeInfo
===============================================*/
.nav-tabs {
    border-bottom: none;
}


.nav-link {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    padding: 0.5rem 2rem;
}

.nav-tabs .nav-link {
    background: white;
    border: 1px solid var(--text-main);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
    background: var(--text-main);
    color: #fff;
}

/* ===============================================
guide
===============================================*/


/* ===============================================
login
===============================================*/
.login-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    padding: 30px;
    box-shadow: var(--glass-shadow);
}

.btn-checkout {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.875rem 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: 0.3s;
    margin-top: 1rem;
    display: block;
    text-align: center;
    text-decoration: none;
}

.btn-checkout:hover {
    color: white;
}

.newRegistrationBtn {
    display: inline-block;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 0;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    margin-top: 5px;
}

.newRegistrationBtn:hover {
    background: var(--primary);
    color: #fff;
}

/* ===============================================
memberInfoChange
===============================================*/

/* --- 基本情報テーブルのカード --- */
.info-card {
    border: 1px solid #dee2e6;
    border-radius: 0;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.info-card-header {
    background-color: var(--color-bg-light);
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0.5rem;
}

/* シャープなアウトラインボタン */
.btn-outline-navy {
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 0;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-navy:hover {
    background-color: var(--primary);
    color: #fff;
}

/* シャープな塗りつぶしボタン */
.btn-navy {
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background-color: #fff;
    color: var(--primary);
}

/* テーブルスタイル調整 */
.custom-table th {
    width: 25%;
    min-width: 120px;
    background-color: transparent;
    color: #6c757d;
    /* text-muted */
    font-weight: 700;
    vertical-align: top;
}

.custom-table td {
    color: #212529;
    /* text-dark */
}

.custom-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
}

.custom-table tbody tr:last-child {
    border-bottom: none;
}

/* --- モーダル内のフォーム --- */
/* モーダル自体の角丸と枠線を消す */
.modal-content {
    border-radius: 0;
    border: none;
}

/* 入力フォーム（input, select）のフォーカス時スタイル */
.form-control.rounded-0:focus,
.form-select.rounded-0:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--color-navy);
}

/* 必須バッジ */
.badge-required {
    background-color: #dc3545;
    color: #fff;
    border-radius: 0;
    font-size: 0.65rem;
    padding: 0.25em 0.5em;
}


/* Bootstrapの青色をネイビーに上書きして打ち消す */
.form-check-input:checked {
    background-color: #1a2b4c !important;
    border-color: #1a2b4c !important;
}

/* 枠線の青いモヤッとした影もネイビーに打ち消す */
.form-check-input:focus {
    border-color: #1a2b4c !important;
    box-shadow: 0 0 0 0.25rem rgba(26, 43, 76, 0.25) !important;
}