:root {
    --sw-page-gutter: clamp(20px, 4.2vw, 112px);
}

dialog.sw-lightbox {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    border: 0;
}
dialog.sw-lightbox:not([open]) { display: none; }

.sw-masthead,
.sw-colophon {
    --brand-ink: #1a2525;
    --brand-pine: #253938;
    font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.sw-masthead *,
.sw-colophon * { box-sizing: border-box; }

.sw-skip-to-content,
.sw-nav-accessible {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.sw-skip-to-content:focus {
    position: fixed;
    inset: 12px auto auto 12px;
    z-index: 100000;
    width: auto;
    height: auto;
    padding: 12px 20px;
    clip-path: none;
    background: white;
    color: #143e39;
}

.sw-masthead {
    position: relative;
    z-index: 80;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #dce3df;
    color: var(--brand-ink);
}

.sw-masthead-inner,
.sw-colophon-inner {
    width: calc(100% - 2 * var(--sw-page-gutter));
    margin-inline: auto;
}

.sw-masthead-inner {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3.5vw, 64px);
    min-height: clamp(72px, 5.1vw, 96px);
}

.sw-wordmark {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-height: 48px;
}

.sw-wordmark img { width: clamp(144px, 12vw, 210px); height: auto; }

.sw-buyer-nav { margin-inline: auto; }
.sw-buyer-nav-list,
.sw-nav-dropdown,
.sw-colophon ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sw-buyer-nav-list {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 28px);
}

.sw-nav-group { position: relative; }
.sw-nav-group > summary,
.sw-nav-direct,
.sw-masthead-actions a,
.sw-masthead-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 2px;
    color: var(--brand-ink);
    font: 600 clamp(14px, .96vw, 20px)/1.2 Inter, "Helvetica Neue", Arial, "PingFang SC", sans-serif;
    white-space: nowrap;
}

.sw-nav-group > summary,
.sw-footer-services > summary {
    list-style: none;
    cursor: pointer;
}

.sw-nav-group > summary::-webkit-details-marker,
.sw-footer-services > summary::-webkit-details-marker { display: none; }

.sw-nav-group > summary::after,
.sw-footer-services > summary::after {
    display: inline-block;
    width: 6px;
    height: 6px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
    content: "";
}

.sw-nav-group[open] > summary::after,
.sw-footer-services[open] > summary::after { transform: translateY(1px) rotate(225deg); }

.sw-nav-group[open] > summary,
.sw-masthead a:hover,
.sw-nav-group > summary:hover { color: #14645b; }

.sw-nav-dropdown {
    position: absolute;
    inset: calc(100% + 1px) auto auto -16px;
    z-index: 2;
    min-width: 230px;
    width: max-content;
    max-width: min(310px, 90vw);
    max-height: calc(100vh - 92px);
    overflow: auto;
    padding: 8px;
    border: 1px solid #d5ded8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 35px rgb(19 51 41 / 12%);
}

.sw-nav-dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 2px;
    color: var(--brand-ink);
    font-size: clamp(14px, .88vw, 18px);
    line-height: 1.4;
}

.sw-nav-dropdown a:hover,
.sw-nav-dropdown a:focus-visible,
.sw-nav-dropdown a[aria-current="page"] { background: #edf3ef; }

.sw-nav-direct[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.sw-masthead-actions { display: flex; align-items: center; gap: clamp(12px, 1.2vw, 24px); }
.sw-masthead-language svg,
.sw-nav-mobile-tools svg { width: 16px; height: 16px; fill: currentColor; }
.sw-masthead-actions .sw-masthead-cart { min-width: 42px; gap: 4px; }
.sw-masthead-cart [data-sw-cart-count] { font-size: 12px; }
.sw-masthead-actions .sw-masthead-quote {
    gap: 12px;
    padding: 0 18px;
    border-radius: 4px;
    background: var(--brand-pine);
    color: #fff;
}

.sw-masthead-actions .sw-masthead-quote:hover { background: #20574f; color: #fff; }
.sw-masthead-quote span,
.sw-footer-quote span { font-size: 18px; line-height: 1; }
.sw-masthead-menu,
.sw-nav-mobile-tools { display: none; }

.sw-masthead :focus-visible,
.sw-colophon :focus-visible,
.sw-skip-to-content:focus-visible { outline: 2px solid #00746a; outline-offset: 3px; }
.sw-colophon :focus-visible { outline-color: #b0e4d6; }

.sw-colophon {
    padding-block: clamp(48px, 6vw, 86px) 20px;
    background: #1b2728;
    color: #f4f6ed;
}

.sw-footer-directory {
    display: grid;
    grid-template-columns: minmax(210px, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3.4vw, 58px);
    padding-bottom: clamp(30px, 4vw, 54px);
}

.sw-footer-wordmark { display: inline-block; max-width: 172px; }
.sw-footer-wordmark img { width: 100%; height: auto; filter: brightness(0) invert(1); }
.sw-company-contact p {
    max-width: 30ch;
    margin: 16px 0 20px;
    color: #c0cfc8;
    font-size: 14px;
    line-height: 1.55;
}

.sw-company-contact address { display: grid; gap: 6px; margin: 0; font-style: normal; }
.sw-company-contact address a { display: flex; align-items: center; gap: 8px; width: fit-content; }
.sw-company-contact address svg { flex: 0 0 17px; width: 17px; height: 17px; fill: currentColor; }
.sw-company-contact address a,
.sw-footer-column a,
.sw-footer-services > summary { color: #d2dcd4; font-size: 16px; line-height: 1.5; }

.sw-footer-quote {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-top: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 650;
}

.sw-footer-column h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.sw-footer-column li + li { margin-top: 3px; }
.sw-footer-column li > a { display:inline-flex; align-items:center; min-height:36px; }
.sw-colophon a:hover,
.sw-footer-services > summary:hover { color: #fff; text-decoration: underline; text-underline-offset: .22em; }
.sw-footer-services > summary { display: inline-flex; align-items: center; gap: 8px; }
.sw-footer-services ul { margin: 10px 0 0 1px; padding-left: 12px; border-left: 1px solid #526b61; }
.sw-footer-credits {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid #40564c;
    color: #c0cfc8;
    font-size: 14px;
}

.sw-footer-networks { display: flex; margin-left: auto; }
.sw-footer-networks a { display: grid; place-items: center; width: 44px; height: 44px; }
.sw-footer-networks svg { width: 17px; height: 17px; fill: currentColor; }

@media (max-width: 1050px) {
    .sw-masthead-inner {
        display: grid;
        grid-template-columns: 1fr auto auto;
        grid-template-rows: minmax(66px, auto) auto;
        gap: 0 18px;
        min-height: 66px;
    }

    .sw-wordmark { grid-column: 1; grid-row: 1; width: fit-content; }
    .sw-masthead-actions { grid-column: 2; grid-row: 1; }
    .sw-masthead-actions .sw-masthead-language,
    .sw-masthead-actions .sw-masthead-cart { display: none; }
    .sw-masthead[data-enhanced] .sw-masthead-menu {
        display: inline-flex;
        grid-column: 3;
        grid-row: 1;
        gap: 7px;
        min-width: 44px;
        border: 0;
        background: none;
        cursor: pointer;
    }

    .sw-hamburger {
        position: relative;
        width: 17px;
        height: 12px;
        border-block: 1.5px solid currentColor;
    }
    .sw-hamburger::after {
        position: absolute;
        inset: 50% 0 auto;
        border-top: 1.5px solid currentColor;
        content: "";
        transform: translateY(-50%);
    }

    .sw-buyer-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        margin: 0;
        padding-block: 5px 12px;
        border-top: 1px solid #e1e8e2;
    }
    .sw-masthead[data-enhanced] .sw-buyer-nav { display: none; }
    .sw-masthead[data-menu-open] .sw-buyer-nav { display: block; }
    .sw-buyer-nav-list { display: block; }
    .sw-nav-group > summary,
    .sw-nav-direct { display: flex; justify-content: space-between; width: 100%; min-height: 46px; padding-inline: 3px; font-size: 16px; }
    .sw-nav-group > summary::after { margin-right: 5px; }
    .sw-buyer-nav-list > li + li { border-top: 1px solid #e7ece7; }
    .sw-nav-dropdown {
        position: static;
        width: 100%;
        min-width: 0;
        max-width: none;
        max-height: none;
        padding: 0 0 8px 8px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .sw-nav-dropdown a { padding: 10px 8px; }
    .sw-nav-mobile-tools {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid #d9e1db;
    }
    .sw-nav-mobile-tools a { display: inline-flex; align-items: center; gap: 7px; min-height: 46px; padding: 2px; font-size: 14px; }
    .sw-nav-mobile-tools [data-sw-cart-count] { padding: 1px 6px; border-radius: 3px; background: #eaf1ec; font-weight: 700; }
    .sw-footer-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sw-company-contact { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .sw-masthead-inner { min-height: 62px; grid-template-rows: minmax(62px, auto) auto; gap: 0 10px; }
    .sw-wordmark img { width: clamp(95px, 28vw, 133px); }
    .sw-masthead-actions .sw-masthead-quote { padding-inline: 12px; gap: 6px; }
    .sw-masthead-menu { font-size: 13px; }
    .sw-footer-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
    .sw-footer-column:last-child { grid-column: 1 / -1; }
    .sw-footer-credits { flex-wrap: wrap; gap: 10px 18px; }
    .sw-footer-networks { flex-basis: 100%; margin: 0; }
    .sw-footer-networks a:first-child { margin-left: -10px; }
}

@media (max-width: 360px) {
    :root { --sw-page-gutter: 14px; }
    .sw-masthead-menu > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

@supports (overflow-x: clip) {
    html, body { overflow-x: clip; }
    .sw-masthead[data-enhanced] { position: sticky; top: 0; }
    .admin-bar .sw-masthead[data-enhanced] { top: var(--wp-admin--admin-bar--height, 32px); }
}

@media (max-width: 1050px) {
    .sw-masthead[data-enhanced] .sw-buyer-nav {
        max-height: calc(100vh - 74px - var(--wp-admin--admin-bar--height, 0px));
        max-height: calc(100dvh - 74px - var(--wp-admin--admin-bar--height, 0px));
        overflow: auto;
        overscroll-behavior: contain;
    }
}

@media (max-width: 600px) {
    .admin-bar .sw-masthead[data-enhanced] { top: 0; }
}

.sw-language-picker { position: relative; }
.sw-language-picker > summary {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    gap: 6px; cursor: pointer; list-style: none; font-size: .95rem; font-weight: 600;
}
.sw-language-picker > summary::-webkit-details-marker { display: none; }
.sw-language-picker > summary svg { height: 16px; width: 16px; fill: currentColor; }
.sw-language-picker > ul {
    list-style: none; position: absolute; z-index: 8; right: 0; top: 100%; margin: 0;
    padding: 6px; min-width: 154px; border: 1px solid #d2d9d5; border-radius: 4px; background: white;
    box-shadow: 0 8px 25px rgb(20 34 33 / 10%);
}
.sw-masthead-actions .sw-language-picker a { display: flex; justify-content: space-between; padding: 0 12px; font: inherit; }
.sw-language-picker a:hover, .sw-language-picker a:focus-visible { background: #edf2ef; }
.sw-masthead-quote [data-sw-cart-count] { font-size: .83em; }
.sw-masthead-quote [data-sw-cart-count]:empty,
.sw-masthead-quote [data-sw-cart-count][data-empty],
.sw-masthead-quote [data-sw-cart-count="0"] { display:none; }
.sw-company-contact address { margin-top: 1rem; }
@media(max-width:500px){
    .sw-masthead-actions { gap: 8px; }
    .sw-masthead-actions .sw-masthead-quote { gap: 4px; padding: 0 8px; min-height: 42px; }
    .sw-masthead-quote > svg { display:none; }
    .sw-language-picker > ul { right:auto; left:50%; transform:translateX(-50%); }
    .sw-language-picker > summary svg {display:none;}
    .sw-language-picker > summary { min-width:32px; }
}

.sw-market-article { padding-block:clamp(48px,7vw,112px); }
.sw-market-article h1 { max-width:23ch; margin:1.6rem 0; font-size:clamp(2.3rem,4.3vw,5.5rem); line-height:1.02; letter-spacing:-.035em; overflow-wrap:break-word; hyphens:auto; }
.sw-market-lead { max-width:66ch; margin:1.5rem 0 2rem; font-size:clamp(1.04rem,1.4vw,1.45rem); line-height:1.65; color:#354240; }
.sw-market-heading { margin:0 0 1.5rem; font-size:clamp(1.6rem,3vw,3.25rem); line-height:1.1; }
.sw-market-links { list-style:none; padding:0; margin:1.6rem 0; max-width:66rem; border-top:1px solid #ccd4ce; }
.sw-market-links li a { display:flex; justify-content:space-between; align-items:center; gap:1.25rem; padding:1rem 0; color:inherit; border-bottom:1px solid #ccd4ce; text-decoration:none; font-size:clamp(1rem,1.3vw,1.28rem); }
.sw-market-links li a:hover { text-decoration:underline; text-underline-offset:3px; }
.sw-market-links li span { flex:none; }
.sw-market-collections { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2.2vw,36px); }
.sw-market-collections a {color:inherit;text-decoration:none;}
.sw-market-collections img { width:100%;aspect-ratio:3/2;object-fit:cover; }
.sw-market-collections h2 { margin:10px 0; font-size:clamp(1.2rem,2.2vw,2.1rem); }
.sw-market-faq { max-width:55rem; }
.sw-market-faq details { padding:1rem 0; border-bottom:1px solid #ccd4ce; }
.sw-market-faq summary { cursor:pointer;font-weight:600;font-size:1.15rem; }
.sw-market-faq p { margin:.8rem 0 0;line-height:1.65; }
@media(max-width:680px){.sw-market-collections {grid-template-columns:1fr;}}

/* Use the Japanese language's native punctuation and character metrics. */
html:lang(ja) body {
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    line-break: strict;
}
html:lang(ja) #primary :is(h1, h2, h3) {
    letter-spacing: -.025em;
    line-height: 1.25;
}
html:lang(ja) #primary .h36-hero h1 {
    font-size: clamp(30px, 3.7vw, 72px);
    max-width: none;
}
html:lang(ja) #primary .h36-hero h1 em {
    font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-style: normal;
    letter-spacing: 0;
}
