:root {
    --bg: #0b0b0b;
    --panel: #141414;
    --card: #1a1a1a;
    --line: #2a2a2a;
    --gold: #f2c230;
    --gold-d: #bb8e00;
    --text: #e7e7e7;
    --muted: #a5a5a5;
    --accent: #00c26a;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --radius: 16px;
}
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Sawarabi Mincho", serif;
}
a {
    color: var(--text);
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}

/* ヘッダー（和風書体に統一。ボタンは読みやすさ優先で別フォント） */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #0e0e0e;
    border-bottom: 1px solid var(--line);
}
.brand-main,
.brand-sub,
.nav a,
.cart-link {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Sawarabi Mincho", serif;
}
.brand-main {
    font-size: 22px;
    color: var(--gold);
    font-weight: 700;
    margin-right: 8px;
}
.brand-sub {
    color: #ddd;
}
.nav a {
    margin-left: 20px;
    opacity: 0.9;
}
.nav a.active,
.nav a:hover {
    color: var(--gold);
}

.hero {
    padding: 64px 12px;
    background: radial-gradient(
        1000px 280px at 50% -50px,
        #1b1b1b 10%,
        transparent 60%
    );
}
.hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}
.hero-sub {
    letter-spacing: 0.28em;
    margin-bottom: 12px;
    opacity: 0.85;
}
.hero-title {
    font-size: 74px;
    line-height: 1.15;
    margin: 6px 0 12px;
    color: var(--gold);
    text-shadow: 0 8px 18px rgba(255, 220, 90, 0.35), 0 0 2px #000;
}
.hero-lead {
    opacity: 0.9;
}

.section {
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 12px;
}
.section-title {
    font-size: 24px;
    margin: 6px 0 14px;
    color: var(--gold);
}
.section-subtitle {
    margin: 14px 0 10px;
    color: #ddd;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
@media (max-width: 520px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.thumb {
    height: 180px;
    background: repeating-linear-gradient(
        45deg,
        #2a261c 0 12px,
        #3c3626 12px 24px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfae55;
}
.thumb.lg {
    height: 260px;
}
.noimg {
    font-weight: 700;
    opacity: 0.9;
}
.card-body {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-title {
    margin: 0 0 6px;
}

.card-feature {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.6em * 2);
}

.price {
    font-weight: 700;
    margin: 2px 0 8px;
}
.price.lg {
    font-size: 22px;
    margin-bottom: 14px;
}
.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

/* ボタン（操作系はゴシック） */
.btn {
    background: var(--gold);
    color: #1a1200;
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    box-shadow: 0 4px 0 var(--gold-d);
    cursor: pointer;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP",
        "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif !important;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.btn:hover {
    filter: brightness(1.05);
}
.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 var(--gold-d);
}
.btn.ghost {
    background: #111;
    color: #f0f0f0;
    border: 1px solid var(--line);
    box-shadow: none;
}
.btn.success {
    background: var(--accent);
    box-shadow: 0 4px 0 #0a8951;
    color: #00140c;
}
.btn.lg {
    padding: 12px 22px;
    border-radius: 14px;
}

.band {
    padding: 26px 12px;
}
.band-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px;
}
.band-thumb {
    height: 320px;
    background: repeating-linear-gradient(
        45deg,
        #2a261c 0 12px,
        #3c3626 12px 24px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfae55;
    border-radius: 12px;
}
.band-title {
    margin: 0 0 6px;
    color: var(--gold);
}
.note {
    color: var(--muted);
    font-size: 12px;
}
.note-link {
    color: #3aa7ff;
    text-decoration: underline;
}
.note-link:hover {
    color: #66c1ff;
}

.company-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px;
}

.pd-wrap {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    align-items: flex-start;
}
.pd-title {
    margin: 0 0 6px;
}
.pd-desc {
    margin: 8px 0;
    color: #ddd;
}
.pd-note {
    margin: 6px 0;
    color: #cfcfcf;
}

.breadcrumb {
    opacity: 0.75;
    margin-bottom: 16px;
}
.page-title {
    font-size: 28px;
    margin: 6px 0 14px;
    color: var(--gold);
    text-align: left;
}

.gift-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
}
.gift-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    align-items: center;
    margin: 8px 0;
}
.gift-label {
    color: #d0d0d0;
}
.gift-field select,
.gift-field input {
    width: 100%;
    background: #0e0e0e;
    color: #f2f2f2;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
}
.gift-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 12px;
}
.ml {
    margin-left: 14px;
}

.cart-table {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 10px;
}
.cart-row {
    display: grid;
    grid-template-columns: 1fr 100px 80px 80px 90px;
    gap: 8px;
    align-items: center;
    padding: 8px;
    border-bottom: 1px dashed var(--line);
}
.cart-row.head {
    color: #ddd;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
}
.cart-row:last-child {
    border-bottom: none;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}
.cart-total .actions {
    display: flex;
    gap: 10px;
}

.checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.order-panel,
.pay-panel,
.ship-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px;
}
.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.co-list .co-row {
    display: grid;
    grid-template-columns: 1fr 80px 60px 90px;
    gap: 8px;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed var(--line);
}
.co-list .co-row.head {
    font-weight: 700;
    border-bottom: 1px solid var(--line);
}
.co-list .co-row:last-child {
    border-bottom: none;
}
.card-fields input,
.ship-panel input,
.ship-panel select,
.ship-panel textarea {
    width: 100%;
    background: #0e0e0e;
    color: #f0f0f0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    margin: 6px 0;
}
.card-fields .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.center {
    text-align: center;
    margin: 16px 0;
}

.footer {
    padding: 24px 12px;
    text-align: center;
    color: #bdbdbd;
    border-top: 1px solid var(--line);
    margin-top: 20px;
}

/* ギフト画像（index 用） */
.hero-gift {
    text-align: center;
    padding: 12px 12px 0;
}
.gift-hero-img {
    width: min(100%, 920px);
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 0 auto 12px;
}

/* スマホ最適化の追記（既存どおり） */
@media (max-width: 640px) {
    .section {
        padding: 20px 12px;
    }
    .site-header {
        padding: 10px 12px;
    }
    .brand-main {
        font-size: 18px;
    }
    .brand-sub {
        font-size: 12px;
    }
    .nav a {
        margin-left: 12px;
        font-size: 12px;
    }
    .hero {
        padding: 28px 12px;
    }
    .hero-title {
        font-size: clamp(28px, 9vw, 38px);
        line-height: 1.15;
    }
    .hero-sub {
        font-size: 12px;
        letter-spacing: 0.18em;
    }
    .hero-lead {
        font-size: 12px;
    }
    .section-title {
        font-size: 18px;
    }
    .section-subtitle {
        font-size: 13px;
    }
    .grid-3 {
        gap: 10px;
    }
    .thumb {
        height: 140px;
    }
    .thumb.lg {
        height: 200px;
    }
    .card-body {
        padding: 8px 10px;
    }
    .card-feature {
        font-size: 12px;
        line-height: 1.5;
        min-height: calc(1.5em * 2);
    }
    .price {
        font-size: 12px;
    }
    .btn {
        font-size: 12px;
        padding: 6px 10px;
        border-radius: 8px;
    }
    .band-inner {
        grid-template-columns: 1fr;
    }
    .band-thumb {
        height: 240px;
    }
    .pd-wrap {
        grid-template-columns: 1fr;
    }
    .gift-card {
        padding: 12px;
    }
    .gift-row {
        grid-template-columns: 100px 1fr;
        gap: 8px;
    }
    .cart-row {
        grid-template-columns: 1fr 80px 70px 70px 80px;
    }
    .checkout {
        grid-template-columns: 1fr;
    }
    .card-fields .row {
        grid-template-columns: 1fr;
    }
    .page-title {
        font-size: 22px;
    }
}
@media (max-width: 390px) {
    .nav a {
        margin-left: 8px;
    }
    .hero-title {
        font-size: clamp(26px, 9.5vw, 34px);
    }
    .thumb {
        height: 120px;
    }
}

/* --- 季節限定：準備中オーバーレイ＆ボタン無効化 --- */
.product-preparing {
    position: relative;
}
.product-preparing .thumb,
.product-preparing .image,
.product-preparing .product-image,
.product-preparing .card-img,
.product-preparing img {
    position: relative;
    display: block;
}
.product-preparing .thumb::after,
.product-preparing .image::after,
.product-preparing .product-image::after,
.product-preparing .card-img::after,
.product-preparing::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}
.product-preparing .thumb::before,
.product-preparing .image::before,
.product-preparing .product-image::before,
.product-preparing .card-img::before,
.product-preparing::before {
    content: "準備中";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.25em;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    backdrop-filter: blur(1px);
}
.product-preparing .btn-add,
.product-preparing .add-to-cart,
.product-preparing .to-cart,
.product-preparing [data-add-to-cart] {
    pointer-events: none !important;
    opacity: 0.55 !important;
    filter: grayscale(1);
}
.notice-seasonal {
    color: #e7e7e7;
    background: #121212;
    border: 1px dashed #2a2a2a;
    border-radius: 12px;
    padding: 10px 12px;
    margin: 10px 0 18px;
    font-size: 14px;
}
