/* ===================================================
   台所日和 DAIDOKORO BIYORI
   Design: kitchen tool catalog + everyday table market
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500;700;900&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
    --paper: #fbf6ea;
    --paper-warm: #f2e7d2;
    --paper-soft: #fffaf1;
    --card: #fffdf7;
    --iron: #171717;
    --iron-soft: #3b3832;
    --deep-green: #244c3d;
    --green-soft: #dfe9dd;
    --wood: #8a5a32;
    --wood-soft: #ead8be;
    --clay: #9b3f26;
    --clay-soft: #efd7cb;
    --blue: #365f7d;
    --blue-soft: #dce7ef;
    --sand: #d9c7a7;
    --line: #ded0b9;
    --line-dark: #2b2822;
    --text-primary: #171717;
    --text-secondary: #625c52;
    --text-muted: #8b8174;
    --text-light: #fffaf1;
    --shadow-sm: 0 2px 8px rgba(23, 23, 23, 0.06);
    --shadow-md: 0 12px 28px rgba(23, 23, 23, 0.11);
    --shadow-lg: 0 22px 56px rgba(23, 23, 23, 0.15);
    --hard-line: 5px 5px 0 var(--iron);
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 8px;
    --r-pill: 999px;
    --tx: 0.26s ease;
    --font-display: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
    --font-body: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;

    /* Compatibility aliases for shared PHP templates. */
    --cream: var(--paper-soft);
    --ink: var(--iron);
    --ink-soft: var(--iron-soft);
    --strawberry: var(--clay);
    --strawberry-d: #77301e;
    --pink-soft: var(--clay-soft);
    --mint: var(--deep-green);
    --mint-soft: var(--green-soft);
    --hard-1: 3px 3px 0 var(--iron);
    --hard-2: 5px 5px 0 var(--iron);
    --font-handwrite: var(--font-display);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(36, 76, 61, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(36, 76, 61, 0.04) 1px, transparent 1px),
        var(--paper);
    background-size: 34px 34px;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--tx), background var(--tx), border-color var(--tx), transform var(--tx), box-shadow var(--tx);
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

.container {
    position: relative;
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}

.top-ticker {
    overflow: hidden;
    border-bottom: 1px solid var(--iron);
    background: var(--iron);
    color: var(--paper-soft);
}

.ticker-track {
    display: flex;
    width: max-content;
    gap: 34px;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    white-space: nowrap;
    animation: ticker 34s linear infinite;
}

.ticker-track span {
    position: relative;
}

.ticker-track span::after {
    content: "/";
    margin-left: 34px;
    color: var(--sand);
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line-dark);
    background: rgba(251, 246, 234, 0.94);
    backdrop-filter: blur(14px);
    /* 和風の市松模様風の微かな地模様 */
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(139, 129, 116, 0.03) 10px, rgba(139, 129, 116, 0.03) 11px),
        repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(139, 129, 116, 0.03) 10px, rgba(139, 129, 116, 0.03) 11px);
}

.header-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 14px 4%;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.logo-mark {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}
.logo-mark svg line,
.logo-mark svg ellipse {
    transition: stroke var(--tx);
}

.logo-text {
    display: grid;
    gap: 1px;
}

.logo-en {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .02em;
}

.logo-ja {
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.main-nav {
    min-width: 0;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 1.6vw, 26px);
}

.main-nav a {
    position: relative;
    color: var(--iron-soft);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    padding: 4px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--clay);
    transform: scaleX(0);
    transition: transform var(--tx);
}

.main-nav a:hover {
    color: var(--clay);
}

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

.nav-close,
.nav-mobile-cats {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-btn,
.nav-toggle,
.search-close,
.slider-arrow,
.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--iron);
    background: var(--paper-soft);
    color: var(--iron);
}

.action-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.action-btn:hover,
.slider-arrow:hover,
.back-to-top:hover {
    background: var(--deep-green);
    color: var(--paper-soft);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -4px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: var(--r-pill);
    background: var(--clay);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    gap: 5px;
    border-radius: 50%;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
}

.category-strip {
    border-top: 1px solid var(--line);
    background:
        repeating-linear-gradient(90deg, transparent, transparent 12px, rgba(139, 129, 116, 0.04) 12px, rgba(139, 129, 116, 0.04) 13px),
        var(--paper-soft);
}

.cat-strip-inner {
    display: flex;
    gap: 12px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 11px 4%;
    overflow-x: auto;
    scrollbar-width: none;
}

.cat-strip-inner::-webkit-scrollbar {
    display: none;
}

.cat-chip {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 9px;
    padding: 9px 15px;
    border: 1.5px solid var(--iron);
    border-radius: var(--r-pill);
    background: var(--chip-bg, var(--paper));
    box-shadow: 3px 3px 0 var(--iron);
    font-size: 12px;
    font-weight: 900;
    position: relative;
}

.cat-chip::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: var(--r-pill);
    border: 1px dashed rgba(155, 63, 38, 0.18);
    pointer-events: none;
}

.cat-chip:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--iron);
    background: var(--clay);
    color: var(--paper-soft);
    border-color: var(--clay);
}

.cat-chip:hover .cat-emoji {
    background: rgba(255, 255, 255, 0.2);
    color: var(--paper-soft);
}

.cat-emoji {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(23, 23, 23, 0.06);
    font-size: 14px;
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--iron);
    transition: background var(--tx), color var(--tx);
}

.search-overlay,
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--tx), visibility var(--tx);
}

.nav-overlay {
    background: rgba(23, 23, 23, .42);
}

.nav-overlay.show,
.search-overlay.active {
    visibility: visible;
    opacity: 1;
}

.search-overlay {
    display: grid;
    place-items: start center;
    padding-top: 120px;
    background: rgba(23, 23, 23, .52);
}

.search-overlay-inner {
    position: relative;
    width: min(760px, 92vw);
}

.search-form-overlay {
    display: flex;
    border: 2px solid var(--iron);
    background: var(--paper-soft);
    box-shadow: var(--hard-line);
}

.search-form-overlay input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 19px 22px;
    outline: none;
}

.search-form-overlay button {
    width: 68px;
    border: 0;
    border-left: 1px solid var(--iron);
    background: var(--deep-green);
    color: var(--paper-soft);
}

.search-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 26px;
}

.hero-section {
    position: relative;
    height: 720px;
    min-height: 620px;
    overflow: hidden;
    background: var(--iron);
}

.hero-slider,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transition: opacity .8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.slide-bg,
.slide-overlay {
    position: absolute;
    inset: 0;
}

.slide-bg {
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 7s ease;
}

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

.slide-overlay {
    background:
        linear-gradient(90deg, rgba(23, 23, 23, .78), rgba(23, 23, 23, .34) 48%, rgba(23, 23, 23, .08)),
        linear-gradient(180deg, rgba(23, 23, 23, .2), rgba(23, 23, 23, .4));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, 88vw);
    padding: 142px 0 0 7vw;
    color: var(--paper-soft);
}

.hero-eyebrow,
.en-title {
    display: inline-block;
    color: var(--clay);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-eyebrow {
    margin-bottom: 18px;
    color: var(--sand);
}

.hero-content h1 {
    margin: 0 0 24px;
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
}

.hero-content p {
    max-width: 600px;
    margin-bottom: 30px;
    color: rgba(255, 250, 241, .88);
    font-size: 17px;
}

.btn-hero,
.btn-secondary,
.btn-add-cart,
.btn-checkout,
.btn-update,
.btn-continue,
.btn-ghost,
.newsletter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--iron);
    border-radius: var(--r-sm);
    background: var(--paper-soft);
    color: var(--iron);
    padding: 13px 22px;
    font-weight: 900;
    box-shadow: 4px 4px 0 var(--iron);
}

.btn-hero {
    border-color: var(--paper-soft);
}

.btn-hero:hover,
.btn-secondary:hover,
.btn-add-cart:hover,
.btn-checkout:hover,
.btn-update:hover,
.btn-continue:hover,
.btn-ghost:hover,
.newsletter-form button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--iron);
    background: var(--deep-green);
    color: var(--paper-soft);
}

.slider-controls {
    position: absolute;
    z-index: 4;
    left: 7vw;
    right: 7vw;
    bottom: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 36px;
    height: 4px;
    border: 0;
    background: rgba(255, 250, 241, .42);
}

.slider-dot.active {
    background: var(--paper-soft);
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border-color: rgba(255, 250, 241, .7);
    border-radius: 50%;
    background: rgba(255, 250, 241, .12);
    color: var(--paper-soft);
    backdrop-filter: blur(10px);
}

section {
    position: relative;
}

.usage-guide,
.category-market,
.featured-section,
.material-guide,
.scene-sets,
.brand-story,
.new-arrivals,
.kitchen-notes,
.newsletter,
.category-page,
.product-detail,
.cart-page,
.checkout-page,
.search-results,
.content-page,
.static-page {
    padding: 86px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--iron);
    padding-bottom: 16px;
}

.section-header h2 {
    max-width: 720px;
    margin-top: 6px;
    font-family: var(--font-display);
    font-size: 42px;
    line-height: 1.18;
}

.section-header h2 strong {
    color: var(--clay);
}

.section-header p {
    max-width: 480px;
    color: var(--text-secondary);
    font-size: 14px;
}

.usage-guide {
    background: var(--paper-soft);
    border-bottom: 1px solid var(--line);
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.usage-card {
    min-height: 180px;
    border: 1px solid var(--iron);
    background: var(--card);
    padding: 18px;
    box-shadow: 4px 4px 0 var(--iron);
}

.usage-card:nth-child(2) { background: var(--green-soft); }
.usage-card:nth-child(3) { background: var(--wood-soft); }
.usage-card:nth-child(4) { background: var(--blue-soft); }
.usage-card:nth-child(5) { background: var(--clay-soft); }

.usage-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--iron);
}

.usage-num {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 900;
}

.usage-card h3 {
    margin-top: 28px;
    font-family: var(--font-display);
    font-size: 24px;
}

.usage-card p {
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 13px;
}

.category-market {
    background: var(--paper);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.category-card,
.product-card,
.scene-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--iron);
    border-radius: var(--r-md);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.category-card:hover,
.product-card:hover,
.scene-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-card img {
    height: 230px;
    object-fit: cover;
}

.age-tag,
.badge,
.age-tag-big {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--iron);
    border-radius: var(--r-pill);
    background: var(--paper-soft);
    color: var(--iron);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
}

.category-card .age-tag {
    position: absolute;
    top: 12px;
    left: 12px;
}

.category-card-body,
.card-body {
    padding: 16px;
}

.category-card h3,
.product-card h4 {
    font-family: var(--font-display);
    line-height: 1.35;
}

.category-card h3 {
    font-size: 22px;
}

.category-card p,
.card-desc {
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 13px;
}

.weekly-tools {
    padding: 100px 0;
    background: var(--deep-green);
    color: var(--paper-soft);
}

.weekly-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 44px;
    align-items: center;
}

.weekly-copy .en-title {
    color: var(--sand);
}

.weekly-copy h2 {
    margin: 8px 0 18px;
    font-family: var(--font-display);
    font-size: 50px;
    line-height: 1.16;
}

.weekly-copy p,
.weekly-copy li {
    color: rgba(255, 250, 241, .84);
}

.editor-points {
    display: grid;
    gap: 9px;
    margin: 22px 0 28px;
}

.editor-points li {
    position: relative;
    padding-left: 18px;
}

.editor-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .75em;
    width: 7px;
    height: 7px;
    background: var(--sand);
}

.weekly-image {
    position: relative;
    border: 2px solid var(--paper-soft);
    box-shadow: 12px 12px 0 rgba(0, 0, 0, .22);
}

.weekly-image img {
    height: 520px;
    object-fit: cover;
}

.weekly-stamp {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    border: 2px solid var(--iron);
    border-radius: 50%;
    background: var(--paper-soft);
    color: var(--iron);
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    transform: rotate(-6deg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.image-wrap {
    position: relative;
    overflow: hidden;
    background: var(--paper-warm);
}

.product-card .image-wrap img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .42s ease;
}

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

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--clay);
    color: #fff;
    border-color: var(--clay);
}

.badge.sale {
    background: var(--deep-green);
    border-color: var(--deep-green);
}

.quick-view {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 9px 12px;
    border: 1px solid var(--iron);
    background: rgba(255, 250, 241, .92);
    color: var(--iron);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    transform: translateY(120%);
    transition: transform var(--tx);
}

.product-card:hover .quick-view {
    transform: translateY(0);
}

.card-category {
    color: var(--clay);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.product-card h4 {
    margin-top: 6px;
    min-height: 3.2em;
    font-size: 17px;
}

.price-area {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.price,
.current-price,
.summary-total {
    font-family: var(--font-display);
    color: var(--clay);
    font-weight: 900;
}

.price {
    font-size: 21px;
}

.original-price,
.original {
    color: var(--text-muted);
    text-decoration: line-through;
}

.tax-label,
.tax-note {
    color: var(--text-muted);
    font-size: 12px;
}

.material-guide {
    background: var(--paper-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.material-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.material-card {
    min-height: 220px;
    border: 1px solid var(--iron);
    background: var(--card);
    padding: 18px;
}

.material-card:nth-child(1) { background: #efede6; }
.material-card:nth-child(2) { background: var(--paper-warm); }
.material-card:nth-child(3) { background: var(--wood-soft); }
.material-card:nth-child(4) { background: var(--blue-soft); }
.material-card:nth-child(5) { background: var(--green-soft); }

.material-card span,
.scene-card span {
    color: var(--clay);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
}

.material-card h3 {
    margin: 28px 0 12px;
    font-family: var(--font-display);
    font-size: 28px;
}

.material-card p {
    color: var(--text-secondary);
    font-size: 13px;
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.scene-card {
    display: grid;
    grid-template-columns: .92fr 1fr;
    min-height: 260px;
}

.scene-card img {
    height: 100%;
    object-fit: cover;
}

.scene-card div {
    padding: 20px;
    align-self: center;
}

.scene-card h3 {
    margin: 10px 0;
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.25;
}

.scene-card p {
    color: var(--text-secondary);
    font-size: 13px;
}

.brand-story {
    background: var(--iron);
    color: var(--paper-soft);
}

.brand-story-flex {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 46px;
    align-items: center;
}

.brand-story-text h2 {
    margin: 8px 0 20px;
    font-family: var(--font-display);
    font-size: 46px;
    line-height: 1.18;
}

.brand-story-text p {
    margin-bottom: 14px;
    color: rgba(255, 250, 241, .82);
}

.brand-story-image {
    border: 2px solid var(--paper-soft);
    box-shadow: 12px 12px 0 rgba(255, 250, 241, .12);
}

.brand-story-image img {
    height: 520px;
    object-fit: cover;
}

.kitchen-notes {
    background: var(--paper-soft);
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.notes-grid article {
    border-left: 4px solid var(--deep-green);
    background: var(--card);
    padding: 22px;
}

.notes-grid h3 {
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 24px;
}

.notes-grid p {
    color: var(--text-secondary);
    font-size: 14px;
}

.newsletter {
    padding-top: 40px;
}

.newsletter-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    border: 2px solid var(--iron);
    background: var(--wood-soft);
    padding: 34px;
    box-shadow: var(--hard-line);
}

.newsletter-card h3 {
    font-family: var(--font-display);
    font-size: 34px;
    line-height: 1.2;
}

.newsletter-card p {
    color: var(--text-secondary);
}

.newsletter-form {
    display: flex;
    min-width: 420px;
    border: 1px solid var(--iron);
    background: var(--paper-soft);
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 14px 16px;
    outline: none;
}

.newsletter-form button {
    border: 0;
    border-left: 1px solid var(--iron);
    border-radius: 0;
    box-shadow: none;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--text-muted);
    font-size: 13px;
}

.breadcrumb a {
    color: var(--deep-green);
    font-weight: 900;
}

.category-hero,
.cart-empty,
.checkout-form,
.checkout-summary,
.product-long-desc,
.content-section,
.page-card,
.static-page-card {
    border: 1px solid var(--iron);
    background: var(--card);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.category-hero {
    margin-bottom: 28px;
    background: var(--paper-soft);
}

.category-hero h1,
.cart-page h2,
.checkout-page h2,
.search-results h2,
.content-page h1 {
    font-family: var(--font-display);
    font-size: 42px;
    line-height: 1.22;
}

.category-hero p,
.content-page .lead {
    max-width: 760px;
    margin-top: 12px;
    color: var(--text-secondary);
}

.age-tag-big {
    margin-bottom: 14px;
    background: var(--green-soft);
}

.category-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.category-count,
.search-results .count {
    color: var(--text-secondary);
}

.sort-select,
.qty-input,
.form-group input,
.form-group textarea,
.form-group select {
    border: 1px solid var(--iron);
    border-radius: var(--r-sm);
    background: var(--paper-soft);
    padding: 10px 12px;
    color: var(--iron);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 38px;
}

.pg-numbers {
    display: flex;
    gap: 7px;
}

.pg-btn,
.pg-num,
.pg-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border: 1px solid var(--iron);
    background: var(--paper-soft);
    padding: 0 12px;
    font-weight: 900;
}

.pg-current {
    background: var(--deep-green);
    color: var(--paper-soft);
}

.pg-disabled {
    color: var(--text-muted);
    background: var(--paper-warm);
}

.pagination-info {
    margin-top: 12px;
    color: var(--text-muted);
    text-align: center;
    font-size: 13px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    gap: 42px;
    align-items: start;
}

.gallery-main {
    border: 1px solid var(--iron);
    background: var(--paper-warm);
}

.gallery-main img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.gallery-thumbs img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--line-dark);
    cursor: pointer;
    opacity: .68;
}

.gallery-thumbs img.active,
.gallery-thumbs img:hover {
    opacity: 1;
    outline: 3px solid var(--clay);
}

.product-info {
    position: sticky;
    top: 154px;
}

.sku {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.product-info h1 {
    margin: 8px 0 18px;
    font-family: var(--font-display);
    font-size: 42px;
    line-height: 1.2;
}

.price-block {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}

.current-price {
    font-size: 38px;
}

.short-desc {
    margin-bottom: 22px;
    color: var(--text-secondary);
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.qty-row label {
    font-weight: 900;
}

.btn-add-cart {
    width: 100%;
    margin-bottom: 24px;
    background: var(--deep-green);
    color: var(--paper-soft);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--iron);
    background: var(--card);
}

.spec-table th,
.spec-table td {
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

.spec-table th {
    width: 34%;
    background: var(--paper-warm);
    font-weight: 900;
}

.product-long-desc {
    margin-top: 58px;
}

.product-long-desc h3 {
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: 28px;
}

.desc-body {
    color: var(--text-secondary);
}

.cart-page h2,
.checkout-page h2,
.search-results h2 {
    margin-bottom: 26px;
}

.cart-empty {
    text-align: center;
}

.cart-empty p {
    margin-bottom: 18px;
    color: var(--text-secondary);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--iron);
    background: var(--card);
}

.cart-table th,
.cart-table td {
    border-bottom: 1px solid var(--line);
    padding: 16px;
    vertical-align: middle;
}

.cart-table th {
    background: var(--paper-warm);
    text-align: left;
}

.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-product-cell img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border: 1px solid var(--line-dark);
}

.cart-product-cell .name {
    font-weight: 900;
}

.cart-remove {
    color: var(--clay);
    font-size: 13px;
    font-weight: 900;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
}

.cart-summary {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.summary-label {
    color: var(--text-secondary);
    font-weight: 900;
}

.summary-total {
    font-size: 34px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
    align-items: start;
}

.checkout-form h3,
.checkout-summary h3 {
    margin-bottom: 18px;
    font-family: var(--font-display);
    font-size: 26px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 900;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
}

.summary-items {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.summary-item {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}

.summary-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 1px solid var(--line-dark);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding: 12px 0;
}

.summary-row.total {
    color: var(--clay);
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
}

.content-page .container,
.static-page .container {
    max-width: 980px;
}

.content-section,
.static-page-card {
    margin-top: 22px;
}

.content-section h2,
.content-section h3,
.static-page-card h2,
.static-page-card h3 {
    margin: 24px 0 10px;
    font-family: var(--font-display);
}

.content-section h2:first-child,
.content-section h3:first-child,
.static-page-card h2:first-child,
.static-page-card h3:first-child {
    margin-top: 0;
}

.content-section p,
.content-section li,
.static-page-card p,
.static-page-card li {
    color: var(--text-secondary);
}

.content-section ul,
.content-section ol,
.static-page-card ul,
.static-page-card ol {
    display: grid;
    gap: 8px;
    list-style: disc;
    padding-left: 22px;
}

.content-section table,
.static-page-card table,
.size-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    background: var(--card);
}

.content-section th,
.content-section td,
.static-page-card th,
.static-page-card td,
.size-table th,
.size-table td {
    border: 1px solid var(--line);
    padding: 11px 12px;
    text-align: left;
}

.content-section th,
.static-page-card th,
.size-table th {
    background: var(--paper-warm);
}

.footer-features {
    transform: translateY(-50%);
    margin-bottom: -42px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--iron);
    background: var(--paper-soft);
    box-shadow: var(--shadow-md);
}

.feature-item {
    display: flex;
    gap: 12px;
    padding: 18px;
    border-right: 1px solid var(--line);
}

.feature-item:last-child {
    border-right: 0;
}

.feature-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--iron);
    border-radius: 50%;
    background: var(--green-soft);
}

.feature-text h5 {
    font-family: var(--font-display);
    font-size: 17px;
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 12px;
}

.site-footer {
    margin-top: 60px;
    padding: 0 0 32px;
    background: var(--iron);
    color: var(--paper-soft);
}

.footer-grid-5 {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 32px;
    padding-top: 64px;
}

.footer-brand .logo-text {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 900;
}

.footer-brand p,
.footer-col a,
.footer-col li {
    color: rgba(255, 250, 241, .72);
    font-size: 13px;
}

.footer-col h4 {
    margin-bottom: 14px;
    color: var(--paper-soft);
    font-family: var(--font-display);
    font-size: 18px;
}

.footer-col ul {
    display: grid;
    gap: 8px;
}

.footer-col a:hover {
    color: var(--sand);
}

.footer-sns {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-sns a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 250, 241, .36);
    border-radius: 50%;
}

.footer-payments {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    border-top: 1px solid rgba(255, 250, 241, .18);
    border-bottom: 1px solid rgba(255, 250, 241, .18);
    margin-top: 34px;
    padding: 18px 0;
}

.payments-label {
    color: var(--sand);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
}

.payments-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pay-chip {
    border: 1px solid rgba(255, 250, 241, .26);
    border-radius: var(--r-pill);
    padding: 5px 10px;
    color: rgba(255, 250, 241, .76);
    font-size: 11px;
    font-weight: 900;
}

.pay-paypay {
    color: #fff;
    background: var(--clay);
    border-color: var(--clay);
}

.footer-bottom {
    padding-top: 20px;
    color: rgba(255, 250, 241, .54);
    font-size: 12px;
    text-align: center;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-md);
}

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

@media (max-width: 1100px) {
    .main-nav > ul {
        gap: 16px;
    }

    .hero-content h1 {
        font-size: 56px;
    }

    .usage-grid,
    .material-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-grid,
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1120px) {
    .header-main {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 12px 4%;
    }

    .logo {
        min-width: 0;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1600;
        width: min(360px, 86vw);
        padding: 70px 26px 32px;
        background: var(--paper-soft);
        border-left: 2px solid var(--iron);
        transform: translateX(100%);
        transition: transform var(--tx);
        overflow-y: auto;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav > ul {
        display: grid;
        align-items: start;
        justify-content: stretch;
        gap: 0;
    }

    .main-nav > ul a {
        display: block;
        border-bottom: 1px solid var(--line);
        padding: 13px 0;
        font-size: 15px;
    }

    .nav-close {
        position: absolute;
        top: 18px;
        right: 18px;
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border: 1px solid var(--iron);
        background: var(--paper);
        font-size: 26px;
    }

    .nav-mobile-cats {
        display: grid;
        gap: 9px;
        margin-top: 22px;
    }

    .nav-mobile-label {
        margin-top: 10px;
        color: var(--clay);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: .12em;
    }

    .nav-mobile-cats a {
        border-bottom: 1px solid var(--line);
        padding-bottom: 8px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero-section {
        height: 650px;
        min-height: 580px;
    }

    .hero-content {
        padding-top: 116px;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .section-header,
    .weekly-layout,
    .brand-story-flex,
    .checkout-grid,
    .product-detail-grid,
    .newsletter-card {
        grid-template-columns: 1fr;
        display: grid;
        align-items: start;
    }

    .section-header h2 {
        font-size: 34px;
    }

    .product-info {
        position: static;
    }

    .newsletter-form {
        min-width: 0;
        width: 100%;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-item {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 28px);
    }

    .logo-en {
        font-size: 16px;
    }

    .logo-ja {
        font-size: 10px;
    }

    .category-strip {
        display: none;
    }

    .hero-section {
        height: 600px;
    }

    .hero-content {
        width: calc(100% - 28px);
        padding-left: 14px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .slider-controls {
        left: 14px;
        right: 14px;
    }

    .usage-guide,
    .category-market,
    .featured-section,
    .material-guide,
    .scene-sets,
    .brand-story,
    .new-arrivals,
    .kitchen-notes,
    .newsletter,
    .category-page,
    .product-detail,
    .cart-page,
    .checkout-page,
    .search-results,
    .content-page {
        padding: 58px 0;
    }

    .usage-grid,
    .category-grid,
    .product-grid,
    .material-grid,
    .scene-grid,
    .notes-grid,
    .features-grid,
    .footer-grid-5,
    .form-row {
        grid-template-columns: 1fr;
    }

    .scene-card {
        grid-template-columns: 1fr;
    }

    .scene-card img,
    .weekly-image img,
    .brand-story-image img {
        height: 280px;
    }

    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tr {
        border-bottom: 1px solid var(--iron);
        padding: 12px;
    }

    .cart-table td {
        border-bottom: 0;
        padding: 8px 0;
    }

    .cart-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--text-muted);
        font-size: 12px;
        font-weight: 900;
    }

    .cart-actions,
    .footer-payments {
        align-items: stretch;
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        border-left: 0;
        border-top: 1px solid var(--iron);
    }
}
