/* =====================================================================
   輸入代理店 — 「藍」 (Ai) Japanese edition, 2026-11-24
   和モダン: kinari paper surfaces, indigo (藍) for structure, vermilion
   (朱) — the colour of a hanko seal — for the purchase actions, hairline
   rules, square corners, one asanoha (麻の葉) pattern as the only ornament.
   Type: headings in the visitor's own Mincho (Hiragino Mincho / Yu Mincho /
   Noto Serif JP), text in the system Gothic — no Japanese web-font
   download — plus a 9 KB self-hosted Latin cut of Shippori Mincho for
   numerals and Latin captions.
   Base: html font-size 10px → 1rem = 10px. Desktop breakpoint: 1200px
   (matches the behaviour switches in js/app.min.js).
   Layer order: vendor.css (normalize, grid, Swiper, icon sizes) → theme.css.
   ===================================================================== */
@font-face { font-family: 'Shippori Mincho'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/shippori-mincho-latin-600.woff2') format('woff2'); unicode-range: U+0020-007E, U+00A0, U+00A5, U+00B7, U+00D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }
@font-face { font-family: 'Shippori Mincho'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/shippori-mincho-latin-700.woff2') format('woff2'); unicode-range: U+0020-007E, U+00A0, U+00A5, U+00B7, U+00D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }

:root {
    /* 紙 — paper surfaces */
    --kinari: #faf6ee;          /* 生成り: the page */
    --washi: #fffdf8;           /* 和紙: cards, panels */
    --kinu: #f3ecdc;            /* 絹: tinted bands, table heads */
    --kinu-koi: #ebe1cb;
    --sen: #e2d7bf;             /* 線: hairlines */
    --sen-koi: #cbbd9c;         /* input borders, stronger rules */
    /* 墨 — ink (never pure black) */
    --sumi: #22262e;
    --sumi-2: #454a55;
    --nezu: #746e62;            /* 鼠: muted text (4.7:1 on kinari) */
    --nezu-usui: #a79f8f;
    /* 藍 — indigo: structure, links, navigation */
    --ai: #1c3d6e;
    --ai-koi: #14305a;
    --kon: #0f2040;             /* 紺: footer, deep panels */
    --hanada: #3a6ea5;          /* 縹: lighter indigo for small accents */
    --ai-usui: #e6ecf4;
    --ai-mizu: #c5d2e4;
    /* 朱 — vermilion: the purchase actions, prices, required marks */
    --shu: #cf3a1f;
    --shu-koi: #b02c14;
    --shu-usui: #fbe9e3;
    /* 松葉 — pine green: in stock, success */
    --matsuba: #3d6b4f;
    --matsuba-usui: #e5efe4;
    /* 金茶 / 山吹 — gold: ornaments, stars, ranks */
    --kincha: #a98244;
    --kincha-usui: #f5ead4;
    --yamabuki: #e2a100;
    --gin: #9aa3ad;
    --akagane: #b87a4b;
    --focus: 0 0 0 3px rgba(28, 61, 110, .2);
    --r: 3px;
    --r-s: 2px;
    --kage: 0 1.2rem 2.8rem -1.6rem rgba(15, 32, 64, .28);          /* 影: the one soft shadow, for floating panels only */
    --font-go: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'BIZ UDPGothic', Meiryo, 'Yu Gothic', 'Noto Sans CJK JP', sans-serif;
    --font-min: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', YuMincho, 'Noto Serif JP', 'Noto Serif CJK JP', 'BIZ UDPMincho', serif;
    --header-h: 8.8rem;
    --nav-h: 5.2rem;
    /* 麻の葉 — hemp-leaf pattern (growth and good health), in indigo for paper and in white for the deep panels */
    --asanoha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='52' viewBox='0 0 30 52' fill='none' stroke='%231c3d6e' stroke-opacity='.12' stroke-width='.8'%3E%3Cpath d='M0 0H30M0 26H30M0 0L15 26L30 0M0 52L15 26L30 52M15 8.67L0 0M15 8.67L30 0M15 8.67V26M0 17.33V0M0 17.33L15 26M30 17.33V0M30 17.33L15 26M15 43.33L0 52M15 43.33L30 52M15 43.33V26M0 34.67V52M0 34.67L15 26M30 34.67V52M30 34.67L15 26'/%3E%3C/svg%3E");
    --asanoha-shiro: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='52' viewBox='0 0 30 52' fill='none' stroke='%23ffffff' stroke-opacity='.1' stroke-width='.8'%3E%3Cpath d='M0 0H30M0 26H30M0 0L15 26L30 0M0 52L15 26L30 52M15 8.67L0 0M15 8.67L30 0M15 8.67V26M0 17.33V0M0 17.33L15 26M30 17.33V0M30 17.33L15 26M15 43.33L0 52M15 43.33L30 52M15 43.33V26M0 34.67V52M0 34.67L15 26M30 34.67V52M30 34.67L15 26'/%3E%3C/svg%3E");
    --ya: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231c3d6e' stroke-width='1.6' stroke-linecap='square'/%3E%3C/svg%3E");
    --swiper-theme-color: #1c3d6e;
}

/* ---------------------------------------------------------------------
   Base — Japanese typesetting defaults
   --------------------------------------------------------------------- */
html { font-size: 10px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    margin: 0;
    min-width: 320px;
    background: var(--kinari);
    color: var(--sumi-2);
    font: 400 1.5rem/1.85 var(--font-go);
    letter-spacing: .04em;
    font-kerning: normal;
    line-break: strict;             /* kinsoku: no line starts with 。、）ー */
    overflow-wrap: break-word;
    word-break: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
@supports (text-autospace: normal) { body { text-autospace: normal; } }
@supports (text-spacing-trim: trim-start) { h1, h2, h3, h4 { text-spacing-trim: trim-start; } }
*, *::before, *::after { box-sizing: border-box; }
.app { position: relative; min-width: 32rem; display: flex; flex-direction: column; min-height: 100vh; overflow: clip; }
.main { flex: 1 0 auto; padding: 0 0 8rem; }
.container-fluid { width: 100%; max-width: 128rem; margin: 0 auto; padding: 0 2.4rem; }
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1.6rem;
    font-family: var(--font-min);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .08em;
    color: var(--sumi);
    font-feature-settings: 'palt';  /* proportional kana and punctuation in headings */
    text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 2.1rem + 1.3vw, 3.8rem); } h2 { font-size: clamp(2.2rem, 1.9rem + .9vw, 3rem); } h3 { font-size: 2.1rem; } h4 { font-size: 1.8rem; } h5, h6 { font-size: 1.6rem; }
/* short UI texts break between phrases (文節) and never leave a lone last character */
@supports (word-break: auto-phrase) {
    h1, h2, h3, h4, .h1, .h3, .sku__title, .ui-btn, .intro__item-title, .intro__item-text, .benefits__item-title, .benefits__step-title, .products__item-title, .blog__item-title,
    .cart__table-item-title, .header__menu-link, .header__catalog-link, .footer__nav-link, .ui-check__text, .ui-alert, .cookies__desc p, .doctor__title { word-break: auto-phrase; }
}
.intro__item-title, .intro__item-text, .benefits__item-title, .products__item-title, .blog__item-title, .ui-check__text, .cookies__desc p { text-wrap: balance; }
p { margin: 0 0 1.6rem; }
a { color: var(--ai); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--shu); }
img { max-width: 100%; height: auto; }
mark { background: none; color: inherit; padding: 0; }
strong, b { font-weight: 700; }
small { font-size: 85%; }
/* Japanese has no italic: never slant kana or kanji */
em, i, cite, dfn, address, var { font-style: normal; }
button { font-family: inherit; letter-spacing: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; letter-spacing: inherit; }
ul, ol { margin: 0 0 1.6rem; padding: 0 0 0 2rem; }
hr { border: 0; border-top: 1px solid var(--sen); margin: 2.4rem 0; }
figure, picture { margin: 0; }
::selection { background: var(--ai); color: #fff; }
:focus-visible { outline: 2px solid var(--hanada); outline-offset: 2px; }
/* a sprite icon that has no size rule of its own never falls back to the 300x150 default box */
:where(svg[class^="icon-"], svg[class*=" icon-"]) { width: 2.4rem; height: 2.4rem; }
/* visibility helpers used by the templates */
.is-xl-visible { display: none !important; }
.is-xl-hidden { display: block; }
@media (min-width: 1200px) {
    .is-xl-visible { display: block !important; }
    .is-xl-hidden { display: none !important; }
}
.text-grey { color: var(--nezu); }
.text-red { color: var(--shu); }
.nobold { font-weight: 400; }
.hidden { display: none !important; }
.col-md-push-6 { margin-right: 0; }
@media (min-width: 768px) { .col-md-push-6 { margin-right: 50%; } }

/* ---------------------------------------------------------------------
   Section titles (shared): Mincho, a vermilion bar, a small Latin caption,
   a hairline with an indigo start
   --------------------------------------------------------------------- */
.products-featured__title,
.products__title,
.customers__title,
.blog__title,
.cart__title,
.contacts__title,
.page__title,
.search-results__title {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .2rem 1.8rem;
    margin: 0 0 3.2rem;
    padding: 0 0 1.4rem 2rem;
    border-bottom: 1px solid var(--sen-koi);
    background: linear-gradient(var(--ai), var(--ai)) no-repeat left bottom / 9.6rem 2px;
    font: 600 clamp(2.4rem, 2rem + 1.1vw, 3.4rem)/1.45 var(--font-min);
    letter-spacing: .12em;
    color: var(--sumi);
}
.products-featured__title::before,
.products__title::before,
.customers__title::before,
.blog__title::before,
.cart__title::before,
.contacts__title::before,
.page__title::before,
.search-results__title::before { content: ''; position: absolute; left: 0; top: .28em; width: .6rem; height: 1em; background: var(--shu); }
.products-featured__title::after,
.customers__title::after,
.blog__title::after,
.cart__title::after,
.contacts__title::after,
.search-results__title::after { font: 600 1.2rem/1 var(--font-min); letter-spacing: .32em; color: var(--kincha); white-space: nowrap; }
.products-featured__title::after { content: 'BEST SELLERS'; }
.customers__title::after { content: 'VOICE'; }
.blog__title::after { content: 'COLUMN'; }
.cart__title::after { content: 'CART'; }
.cart:has(~ .checkout) .cart__title::after { content: 'ORDER'; }
.contacts__title::after { content: 'CONTACT'; }
.search-results__title::after { content: 'SEARCH'; }
.ui-title { margin: 0 0 1.6rem; font: 600 2.2rem/1.5 var(--font-min); letter-spacing: .08em; color: var(--sumi); }
.ui-legend { display: block; margin: 0 0 1.6rem; padding: 0 0 .8rem; border-bottom: 1px solid var(--sen); font: 600 1.9rem/1.5 var(--font-min); letter-spacing: .08em; color: var(--sumi); }
.ui-section { padding: 4.8rem 0 0; }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.ui-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    min-height: 4.8rem;
    padding: 0 2.4rem;
    border: 1px solid var(--ai);
    border-radius: var(--r);
    background: var(--ai);
    color: #fff;
    font: 700 1.5rem/1.3 var(--font-go);
    letter-spacing: .1em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.ui-btn:hover { background: var(--ai-koi); border-color: var(--ai-koi); color: #fff; text-decoration: none; }
.ui-btn svg { width: 2rem; height: 2rem; flex: none; }
/* "--green" is the primary modifier used by the templates: the vermilion seal button with its inner frame */
.ui-btn--green { background: var(--shu); border-color: var(--shu); color: #fff; box-shadow: inset 0 0 0 3px var(--shu), inset 0 0 0 4px rgba(255, 255, 255, .5); }
.ui-btn--green:hover { background: var(--shu-koi); border-color: var(--shu-koi); color: #fff; box-shadow: inset 0 0 0 3px var(--shu-koi), inset 0 0 0 4px rgba(255, 255, 255, .5); }
.ui-btn--dark { background: var(--sumi); border-color: var(--sumi); }
.ui-btn--dark:hover { background: #000; border-color: #000; }
.ui-btn--blue { background: var(--ai); border-color: var(--ai); }
.ui-btn--red { background: var(--shu); border-color: var(--shu); }
.ui-btn--red:hover { background: var(--shu-koi); border-color: var(--shu-koi); }
.ui-btn--orange { background: var(--kincha); border-color: var(--kincha); }
.ui-btn--white { background: #fff; border-color: var(--sen-koi); color: var(--sumi); }
.ui-btn--white:hover { background: var(--kinu); border-color: var(--sen-koi); color: var(--sumi); }
.ui-btn--light { background: var(--washi); border-color: var(--ai); color: var(--ai); }
.ui-btn--light:hover { background: var(--ai-usui); border-color: var(--ai); color: var(--ai-koi); }
.ui-btn--outline { background: transparent; border-color: var(--ai); color: var(--ai); }
.ui-btn--outline:hover { background: var(--ai); border-color: var(--ai); color: #fff; }
.ui-btn--40 { min-height: 4rem; padding: 0 1.6rem; font-size: 1.4rem; }
.ui-btn--48 { min-height: 4.8rem; }
.ui-btn--50 { min-height: 5rem; }
.ui-btn--55 { min-height: 5.6rem; padding: 0 3.2rem; font-size: 1.6rem; }
.ui-btn--fullwidth { width: 100%; }
.ui-btn.button-disabled, .ui-btn:disabled, .ui-btn[disabled] { background: var(--kinu-koi); border-color: var(--kinu-koi); color: var(--nezu); box-shadow: none; pointer-events: none; }
.ui-link { color: var(--ai); text-decoration: underline; text-decoration-color: var(--ai-mizu); text-underline-offset: 4px; font-weight: 700; transition: color .2s ease, text-decoration-color .2s ease; }
.ui-link:hover { color: var(--shu); text-decoration-color: currentColor; }
.ui-link--dark { color: var(--sumi); text-decoration-color: var(--sen-koi); }
.ui-link--dark:hover { color: var(--ai); }
.ui-link--blue { color: var(--ai); }
.ui-link--red { color: var(--shu); }
.ui-link--dashed { text-decoration: none; border-bottom: 1px dashed currentColor; }
.ui-link--underline { text-decoration: underline; }
.ui-link svg { width: 1.8rem; height: 1.8rem; vertical-align: -.3rem; margin: 0 .4rem; }

/* ---------------------------------------------------------------------
   Forms
   --------------------------------------------------------------------- */
.ui-label { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; margin: 0 0 .6rem; font: 700 1.3rem/1.6 var(--font-go); letter-spacing: .06em; color: var(--sumi); }
/* required mark: the templates print <sup>*</sup>; Japanese forms say 「必須」 on a red chip instead of an asterisk */
.ui-label sup, .ui-required { position: static; top: auto; font-size: 1.4rem; font-weight: 700; line-height: 1; color: var(--shu); }
:is(:lang(ja), :lang(jp)) .ui-label sup { font-size: 0; }
:is(:lang(ja), :lang(jp)) .ui-label sup::after { content: '必須'; display: inline-block; padding: .3rem .6rem .2rem; border-radius: var(--r-s); background: var(--shu); color: #fff; font: 700 1.1rem/1.2 var(--font-go); letter-spacing: .1em; }
.ui-input,
.ui-textarea,
.ui-placeholder__input,
.ui-placeholder__textarea,
.ui-select select {
    display: block;
    width: 100%;
    min-height: 4.8rem;
    padding: 1.1rem 1.4rem;
    border: 1px solid var(--sen-koi);
    border-radius: var(--r);
    background: #fff;
    color: var(--sumi);
    font: 400 1.6rem/1.5 var(--font-go);      /* 16px: iOS does not zoom the page on focus */
    letter-spacing: .04em;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.ui-input::placeholder, .ui-textarea::placeholder { color: var(--nezu-usui); opacity: 1; }
.ui-textarea, .ui-placeholder__textarea { min-height: 12rem; resize: vertical; }
.ui-input:hover, .ui-textarea:hover, .ui-placeholder__input:hover, .ui-placeholder__textarea:hover { border-color: var(--nezu-usui); }
.ui-input:focus, .ui-textarea:focus, .ui-placeholder__input:focus, .ui-placeholder__textarea:focus, .ui-select select:focus { outline: none; border-color: var(--ai); box-shadow: var(--focus); }
.ui-input:disabled, .ui-select select:disabled { background: var(--kinu); color: var(--nezu); }
.ui-select select { padding-right: 4rem; background-image: var(--ya); background-repeat: no-repeat; background-position: right 1.4rem center; cursor: pointer; }
.ui-field { margin: 0 0 1.6rem; }
/* validation (app.min.js): the wrapper gets .is-error / .is-valid and the message is appended as <span class="error ui-validate"> */
.is-error .ui-input, .is-error .ui-textarea, .is-error .ui-placeholder__input, .is-error .ui-placeholder__textarea, .is-error .selectric, .is-error select { border-color: var(--shu); background-color: #fffaf8; }
.ui-placeholder.is-valid .ui-input { border-color: #9dbba6; padding-right: 4rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath d='M1.5 6l4.500 4.500L14.500 1.500' fill='none' stroke='%233d6b4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1.4rem center; }
.ui-validate, span.error, label.error { display: block; margin: .4rem 0 0; font-size: 1.3rem; font-weight: 700; line-height: 1.5; color: var(--shu); }
.ui-select + .ui-validate { margin: -1.2rem 0 1.6rem; }
.errorSummary { margin: 0 0 2.4rem; padding: 1.4rem 1.8rem; border: 1px solid #ecc3b8; border-left: 4px solid var(--shu); border-radius: var(--r); background: var(--shu-usui); color: #7c2110; font-size: 1.4rem; }
.errorSummary p { margin: 0 0 .4rem; font-weight: 700; }
.errorSummary ul { margin: 0; padding-left: 1.8rem; }
.ui-alert { margin: 0 0 2.4rem; padding: 1.4rem 1.8rem; border: 1px solid #c4d8c4; border-left: 4px solid var(--matsuba); border-radius: var(--r); background: var(--matsuba-usui); color: #24452f; font-size: 1.5rem; }
.ui-alert--green { border-left-color: var(--matsuba); }
/* fields with a floating label (contact, review and affiliate forms) */
.ui-placeholder { position: relative; margin: 0 0 1.6rem; }
.ui-placeholder__input, .ui-placeholder__textarea { padding-top: 2.2rem; padding-bottom: .5rem; min-height: 5.6rem; }
.ui-placeholder__input::placeholder, .ui-placeholder__textarea::placeholder { color: transparent; }
.ui-placeholder__label { position: absolute; left: 1.5rem; top: 1.6rem; margin: 0; color: var(--nezu); font: 400 1.5rem/1.5 var(--font-go); pointer-events: none; transform-origin: left top; transition: transform .18s ease, color .18s ease; }
.ui-placeholder__input:focus ~ .ui-placeholder__label,
.ui-placeholder__input:not(:placeholder-shown) ~ .ui-placeholder__label,
.ui-placeholder__textarea:focus ~ .ui-placeholder__label,
.ui-placeholder__textarea:not(:placeholder-shown) ~ .ui-placeholder__label { transform: translateY(-1.1rem) scale(.76); color: var(--ai); font-weight: 700; }
.ui-placeholder__required { position: absolute; top: .9rem; right: 1rem; z-index: 2; pointer-events: none; }
.ui-placeholder__required::after { content: '*'; font: 700 1.6rem/1 var(--font-go); color: var(--shu); }
:is(:lang(ja), :lang(jp)) .ui-placeholder__required::after { content: '必須'; display: block; padding: .3rem .6rem .2rem; border-radius: var(--r-s); background: var(--shu); color: #fff; font: 700 1.1rem/1.2 var(--font-go); letter-spacing: .1em; }
.ui-placeholder__code { display: block; }
.ui-placeholder__code img { display: block; border: 1px dashed var(--sen-koi); border-radius: var(--r); background: #fff; cursor: pointer; }
.ui-placeholder__help { margin: .4rem 0 0; font-size: 1.3rem; color: var(--nezu); }
.ui-placeholder__select { position: relative; }
/* custom checkbox / radio */
.ui-check { position: relative; display: inline-flex; align-items: flex-start; gap: 1.2rem; margin: 0; cursor: pointer; font-size: 1.5rem; line-height: 1.6; color: var(--sumi-2); }
.ui-check__input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.ui-check__checkbox, .ui-check__radio { position: relative; flex: none; width: 2.2rem; height: 2.2rem; margin-top: .1rem; border: 1px solid var(--nezu-usui); background: #fff; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.ui-check__checkbox { border-radius: var(--r-s); }
.ui-check__radio { border-radius: 50%; }
.ui-check:hover .ui-check__checkbox, .ui-check:hover .ui-check__radio { border-color: var(--ai); }
.ui-check__input:checked ~ .ui-check__checkbox { background: var(--ai); border-color: var(--ai); }
.ui-check__input:checked ~ .ui-check__checkbox::after { content: ''; position: absolute; left: .7rem; top: .25rem; width: .6rem; height: 1.1rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ui-check__input:checked ~ .ui-check__radio { border-color: var(--ai); }
.ui-check__input:checked ~ .ui-check__radio::after { content: ''; position: absolute; left: 50%; top: 50%; width: 1.2rem; height: 1.2rem; margin: -.6rem 0 0 -.6rem; border-radius: 50%; background: var(--ai); }
.ui-check__input:focus-visible ~ .ui-check__checkbox, .ui-check__input:focus-visible ~ .ui-check__radio { box-shadow: var(--focus); }
.ui-check__text { flex: 1; }
.ui-check__text b { color: var(--sumi); font-weight: 700; }
.ui-check__method { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 5.6rem; padding: .6rem; border: 1px solid var(--sen-koi); border-radius: var(--r); background: #fff; filter: grayscale(1); opacity: .65; transition: border-color .2s ease, opacity .2s ease, filter .2s ease, box-shadow .2s ease; }
.ui-check__method svg, .ui-check__method img { max-width: 100%; height: auto; }
.ui-check:hover .ui-check__method { opacity: 1; }
.ui-check__input:checked ~ .ui-check__method { border-color: var(--ai); filter: none; opacity: 1; box-shadow: inset 0 0 0 1px var(--ai); }
/* rating stars */
.ui-rating { display: inline-flex; align-items: center; gap: .2rem; color: var(--sen); }
.ui-rating .icon-star { width: 1.6rem; height: 1.6rem; fill: currentColor; color: inherit; }
.ui-rating[data-rating="1"] .icon-star:nth-child(-n+1),
.ui-rating[data-rating="2"] .icon-star:nth-child(-n+2),
.ui-rating[data-rating="3"] .icon-star:nth-child(-n+3),
.ui-rating[data-rating="4"] .icon-star:nth-child(-n+4),
.ui-rating[data-rating="5"] .icon-star:nth-child(-n+5) { color: var(--yamabuki); }
.ui-rating mark { margin-left: .8rem; font: 700 1.3rem/1 var(--font-go); color: var(--nezu); }
/* rating input */
.ui-vote { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; padding: 1rem 0; border-bottom: 1px dotted var(--sen-koi); }
.ui-vote__label { font-size: 1.4rem; font-weight: 700; color: var(--sumi-2); }
.ui-vote__rating { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.ui-vote__input { display: none; }
.ui-vote__star { margin: 0; color: var(--sen); cursor: pointer; transition: color .15s ease; }
.ui-vote__star .icon-star { width: 2.4rem; height: 2.4rem; display: block; }
.ui-vote__input:checked ~ .ui-vote__star, .ui-vote__star:hover, .ui-vote__star:hover ~ .ui-vote__star { color: var(--yamabuki); }
/* quantity stepper */
.ui-number { display: inline-flex; align-items: stretch; height: 4rem; border: 1px solid var(--sen-koi); border-radius: var(--r); background: #fff; overflow: hidden; }
.ui-number__minus, .ui-number__plus { display: flex; align-items: center; justify-content: center; width: 3.8rem; height: 100%; padding: 0; border: 0; background: var(--kinu); color: var(--ai); transition: background-color .15s ease; }
.ui-number__minus:hover, .ui-number__plus:hover { background: var(--kinu-koi); }
.ui-number__minus svg, .ui-number__plus svg { display: block; width: 1.2rem; height: 1.2rem; }
.ui-number__minus svg path, .ui-number__plus svg path { fill: currentColor; }
.ui-number__input { width: 4.4rem; height: 100%; padding: 0; border: 0; border-left: 1px solid var(--sen); border-right: 1px solid var(--sen); border-radius: 0; background: #fff; text-align: center; font: 700 1.6rem/1 var(--font-go); color: var(--sumi); -webkit-appearance: none; appearance: none; }
.ui-number__input:focus { outline: none; background: var(--ai-usui); }
.ui-number--48 { height: 4.8rem; }
.ui-number--48 .ui-number__minus, .ui-number--48 .ui-number__plus { width: 4.2rem; }
.ui-number--48 .ui-number__input { width: 4.8rem; }
.ui-number--56 { height: 5.6rem; }
.quantity { display: none; }
/* tooltip (CVC hint) */
.ui-cvc { display: flex; align-items: center; gap: .8rem; }
.ui-cvc .ui-input { width: 10rem; margin: 0; }
.ui-tooltip { position: relative; display: inline-flex; color: var(--nezu); cursor: help; }
.ui-tooltip svg { width: 2rem; height: 2rem; }
.ui-tooltip__offcanvas { display: none; position: absolute; bottom: calc(100% + .8rem); left: 50%; transform: translateX(-50%); z-index: 30; width: 22rem; padding: .8rem; border: 1px solid var(--sen-koi); border-radius: var(--r); background: #fff; box-shadow: var(--kage); }
.ui-tooltip__offcanvas img { display: block; width: 100%; }
.ui-tooltip:hover .ui-tooltip__offcanvas { display: block; }
.ui-expiration .ui-select { margin: 0; }
.ui-expiration .selectric { padding: 0 1.2rem; }
.ui-expiration .selectric .arrow { padding-left: .6rem; }
.ui-expiration .row { margin: 0 -.5rem; }
.ui-expiration .row > [class*="col"] { padding: 0 .5rem; }
/* discount / coupon fields */
.ui-discount, .ui-coupone { display: flex; align-items: stretch; height: 4.8rem; border: 1px solid var(--sen-koi); border-radius: var(--r); background: #fff; overflow: hidden; }
.ui-discount__icon { display: flex; align-items: center; justify-content: center; width: 4.4rem; margin: 0; border-right: 1px solid var(--sen); color: var(--kincha); }
.ui-discount__input, .ui-coupone .ui-input { flex: 1; min-width: 0; height: 100%; min-height: 0; padding: 0 1.2rem; border: 0; border-radius: 0; }
.ui-discount__btn, .ui-coupone .ui-btn { height: 100%; min-height: 0; padding: 0 1.6rem; border: 0; border-radius: 0; background: var(--ai); color: #fff; font: 700 1.4rem var(--font-go); letter-spacing: .1em; }
.ui-discount__btn:hover, .ui-coupone .ui-btn:hover { background: var(--ai-koi); }

/* ---------------------------------------------------------------------
   Selectric (custom select markup generated by the plugin)
   --------------------------------------------------------------------- */
.ui-select { position: relative; margin: 0 0 1.6rem; }
.ui-select--autowidth { display: inline-block; min-width: 14rem; }
.ui-select--fullwidth { width: 100%; }
.selectric-wrapper { position: relative; cursor: pointer; }
.selectric-hide-select { position: relative; overflow: hidden; width: 0; height: 0; }
.selectric-hide-select select { position: absolute; left: -100%; }
.selectric-hide-select.selectric-is-native { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 10; }
.selectric-hide-select.selectric-is-native select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; border: none; z-index: 1; box-sizing: border-box; }
.selectric-input { position: absolute !important; top: 0 !important; left: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; margin: 0 !important; padding: 0 !important; width: 1px !important; height: 1px !important; outline: none !important; border: none !important; background: none !important; }
.selectric-temp-show { position: absolute !important; visibility: hidden !important; display: block !important; }
.selectric { position: relative; display: flex; align-items: center; min-height: 4.8rem; padding: 0 1.4rem; border: 1px solid var(--sen-koi); border-radius: var(--r); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.selectric-wrapper:hover .selectric { border-color: var(--nezu-usui); }
.selectric .label { display: block; flex: 1; min-width: 0; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 500 1.5rem/1.4 var(--font-go); letter-spacing: .04em; color: var(--sumi); }
/* arrow: the theme JS passes arrowButtonMarkup = <span class="arrow"><svg></span>, an in-flow flex item */
.selectric .arrow, .selectric .button { flex: none; display: flex; align-items: center; justify-content: center; width: 1.3rem; height: auto; margin: 0 0 0 auto; padding: 0 0 0 1rem; box-sizing: content-box; border: 0; background: none; color: var(--ai); font-size: 0; line-height: 0; }
.selectric .arrow svg, .selectric .button svg { display: block; width: 1.3rem; height: .6rem; transition: transform .2s ease; }
.selectric-open { z-index: 60; }
.selectric-open .selectric { border-color: var(--ai); box-shadow: var(--focus); }
.selectric-open .selectric .arrow svg, .selectric-open .selectric .button svg { transform: rotate(180deg); }
.selectric-items { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 70; min-width: 100%; margin-top: .4rem; border: 1px solid var(--sen-koi); border-radius: var(--r); background: #fff; box-shadow: var(--kage); overflow: hidden; }
.selectric-open .selectric-items { display: block; }
.selectric-items .selectric-scroll { max-height: 26rem; overflow: auto; }
.selectric-items ul, .selectric-items li { list-style: none; margin: 0; padding: 0; }
.selectric-items li { padding: 1rem 1.4rem; border-bottom: 1px solid var(--kinu); font-size: 1.4rem; line-height: 1.5; color: var(--sumi-2); cursor: pointer; transition: background-color .15s ease; }
.selectric-items li:last-child { border-bottom: 0; }
.selectric-items li.highlighted, .selectric-items li:hover { background: var(--ai-usui); color: var(--ai-koi); }
.selectric-items li.selected { font-weight: 700; color: var(--ai); }
.selectric-items li.disabled { opacity: .5; cursor: default; }
.selectric-disabled { opacity: .5; pointer-events: none; }
.selectric-price-del { margin-right: .6rem; text-decoration: line-through; color: var(--nezu-usui); }
.selectric-price-ins { font-weight: 700; color: var(--sumi); }
.selectric .label:has(.selectric-option), .selectric-items li:has(.selectric-option) { display: flex; align-items: center; gap: 1rem; }
.selectric .label .selectric-option, .selectric-items .selectric-option { order: 1; flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.selectric .label .selectric-price, .selectric-items .selectric-price,
.selectric .label .selectric-currency, .selectric-items .selectric-currency { order: 2; flex: none; margin-left: auto; white-space: nowrap; }
.selectric-currency-long { margin-left: .4rem; }
.selectric-items .selectric-price-ins { color: var(--shu); }
/* product cards: the label shows only the pack size, prices live in the dropdown */
.products__item-control .selectric .label .selectric-price { display: none; }
.products__item-control .selectric-items .selectric-price-del { display: none; }
.ui-select--40 .selectric { min-height: 4rem; padding: 0 1.2rem; }
.ui-select--40 .selectric .label { font-size: 1.4rem; }
.ui-select--40 select { min-height: 4rem; padding-top: .6rem; padding-bottom: .6rem; }
.ui-select--grey .selectric { background: var(--washi); }
.ui-select--price .selectric .label { font-weight: 700; }

/* ---------------------------------------------------------------------
   Badges, breadcrumbs, pagination, tables, content typography
   --------------------------------------------------------------------- */
.ui-badge, .products__item-badge { display: inline-flex; align-items: center; height: 2.4rem; padding: 0 .9rem; border-radius: var(--r-s); background: var(--ai); color: #fff; font: 700 1.2rem/1 var(--font-go); letter-spacing: .1em; white-space: nowrap; }
.products__item-badge--green { background: var(--matsuba); }
.products__item-badge--yellow { background: var(--yamabuki); color: var(--sumi); }
.products__item-badge--red { background: var(--shu); }
.products__item-badge--orange { background: var(--kincha); }
.sku__badges { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 5; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.breadcrumbs { padding: 1.8rem 0 0; }
.breadcrumbs__menu, .topbar__breadcrumbs-menu { display: flex; flex-wrap: wrap; gap: .2rem .8rem; list-style: none; margin: 0; padding: 0; font: 400 1.3rem/1.6 var(--font-go); }
.breadcrumbs__menu li + li::before, .topbar__breadcrumbs-menu li + li::before { content: ''; display: inline-block; width: .6rem; height: .6rem; margin: 0 1rem .15rem 0; border-top: 1px solid var(--nezu-usui); border-right: 1px solid var(--nezu-usui); transform: rotate(45deg); }
.breadcrumbs__link { color: var(--nezu); text-decoration: underline; text-decoration-color: var(--sen-koi); text-underline-offset: 3px; }
.breadcrumbs__link:hover { color: var(--ai); }
.breadcrumbs__link.is-active { color: var(--sumi); text-decoration: none; pointer-events: none; }
.pagination { padding: 3.2rem 0 0; }
.pagination__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.pagination__link a { display: flex; align-items: center; justify-content: center; min-width: 4.4rem; height: 4.4rem; padding: 0 1.2rem; border: 1px solid var(--sen-koi); border-radius: var(--r); background: var(--washi); color: var(--sumi); font: 600 1.6rem/1 var(--font-min); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.pagination__link a:hover { border-color: var(--ai); color: var(--ai); }
.pagination__link.is-active a { background: var(--ai); border-color: var(--ai); color: #fff; }
.pagination__link.hidden { display: none; }
.pagination__status { margin-top: 1.2rem; text-align: center; font-size: 1.3rem; color: var(--nezu); }
/* tables: full grid lines and a tinted head, the way Japanese spec sheets are drawn */
.ui-table, .ui-wysiwyg table, .txt table, .page__wysiwyg table, .tabs .txt table { width: 100%; margin: 0 0 2.4rem; border-collapse: collapse; border: 1px solid var(--sen-koi); background: var(--washi); text-align: left; font-size: 1.4rem; line-height: 1.6; }
.ui-table th, .ui-wysiwyg table th, .txt table th, .page__wysiwyg table th { padding: 1.1rem 1.4rem; border: 1px solid var(--sen-koi); background: var(--kinu); font: 700 1.4rem/1.6 var(--font-go); color: var(--sumi); }
.ui-table td, .ui-wysiwyg table td, .txt table td, .page__wysiwyg table td { padding: 1.1rem 1.4rem; border: 1px solid var(--sen-koi); vertical-align: top; }
.tabs .txt { overflow-x: auto; }
.tabs .txt table p { margin: 0; }
.ui-wysiwyg, .txt, .page__wysiwyg, .faq__wysiwyg, .products__desc, .article .container-fluid, .customers__item-wysiwyg, .reviews__item-wysiwyg, .ui-warning__terms-body { font-size: 1.5rem; line-height: 1.95; color: var(--sumi-2); }
.ui-wysiwyg h1, .txt h1, .page__wysiwyg h1, .faq__wysiwyg h1 { margin: 0 0 2.4rem; font-size: clamp(2.4rem, 2rem + 1.1vw, 3.4rem); }
/* h2: paper band with an indigo bar · h3: two-tone underline · h4: vermilion dot */
.ui-wysiwyg h2, .txt h2, .page__wysiwyg h2, .faq__wysiwyg h2, .products__desc h2, .article h2 { margin: 4rem 0 1.6rem; padding: 1rem 1.6rem; border-left: 4px solid var(--ai); background: var(--kinu); font-size: 2.1rem; }
.ui-wysiwyg h3, .txt h3, .page__wysiwyg h3, .faq__wysiwyg h3, .products__desc h3, .article h3 { margin: 3.2rem 0 1.2rem; padding: 0 0 .8rem; border-bottom: 1px solid var(--sen-koi); background: linear-gradient(var(--shu), var(--shu)) no-repeat left bottom / 6.4rem 2px; font-size: 1.9rem; }
.ui-wysiwyg h4, .txt h4, .page__wysiwyg h4, .products__desc h4, .article h4 { position: relative; margin: 2.4rem 0 .8rem; padding-left: 1.8rem; font-size: 1.7rem; }
.ui-wysiwyg h4::before, .txt h4::before, .page__wysiwyg h4::before, .products__desc h4::before, .article h4::before { content: ''; position: absolute; left: 0; top: .62em; width: .9rem; height: .9rem; background: var(--shu); transform: rotate(45deg); }
.ui-wysiwyg p, .txt p, .page__wysiwyg p, .faq__wysiwyg p, .products__desc p { margin: 0 0 1.6rem; }
.ui-wysiwyg strong, .txt strong, .page__wysiwyg strong, .products__desc strong { color: var(--sumi); background: linear-gradient(transparent 62%, #f8dfa0 62%); }
.ui-wysiwyg a, .txt a, .page__wysiwyg a, .products__desc a { text-decoration: underline; text-decoration-color: var(--ai-mizu); text-underline-offset: 4px; }
.ui-wysiwyg ul, .txt ul, .page__wysiwyg ul, .products__desc ul, .ui-ul { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.ui-wysiwyg ul li, .txt ul li, .page__wysiwyg ul li, .products__desc ul li, .ui-ul li { position: relative; margin: 0 0 .6rem; padding-left: 2rem; }
.ui-wysiwyg ul li::before, .txt ul li::before, .page__wysiwyg ul li::before, .products__desc ul li::before, .ui-ul li::before { content: ''; position: absolute; left: .3rem; top: .78em; width: .7rem; height: .7rem; background: var(--ai); transform: rotate(45deg); }
.ui-wysiwyg ol, .txt ol, .page__wysiwyg ol, .ui-ol { counter-reset: jun; list-style: none; margin: 0 0 1.6rem; padding: 0; }
.ui-wysiwyg ol > li, .txt ol > li, .page__wysiwyg ol > li, .ui-ol > li { counter-increment: jun; position: relative; margin: 0 0 .8rem; padding-left: 3.4rem; }
.ui-wysiwyg ol > li::before, .txt ol > li::before, .page__wysiwyg ol > li::before, .ui-ol > li::before { content: counter(jun); position: absolute; left: 0; top: .2em; width: 2.4rem; height: 2.4rem; border: 1px solid var(--ai); border-radius: var(--r-s); background: var(--washi); font: 700 1.4rem/2.2rem var(--font-min); letter-spacing: 0; text-align: center; color: var(--ai); }
.ui-wysiwyg img, .txt img, .page__wysiwyg img { border-radius: var(--r); }
.ui-wysiwyg blockquote, .txt blockquote, .page__wysiwyg blockquote, .ui-blockquote { margin: 2.4rem 0; padding: 1.6rem 2rem; border: 1px solid var(--sen); border-left: 3px double var(--kincha); border-radius: var(--r); background: var(--washi); color: var(--sumi); }
.ui-wysiwyg blockquote p:last-child, .txt blockquote p:last-child, .page__wysiwyg blockquote p:last-child { margin: 0; }
.ui-image { display: block; margin: 0 0 2.4rem; border-radius: var(--r); overflow: hidden; }
.ui-progress { height: .6rem; background: var(--kinu-koi); overflow: hidden; }
.ui-progress__bar { height: 100%; background: var(--yamabuki); }

/* =====================================================================
   HEADER
   Desktop (≥1200): two rows built with CSS grid; the nav wrappers are
   flattened with display:contents so the search sits in row 1 and the
   catalogue button + menu form the indigo band of row 2 (the 暖簾).
   Mobile (<1200): sticky 6rem bar; full-screen panels toggled by app.min.js
   state classes (is-nav-open, is-catalog-open, li.is-open, …).
   ===================================================================== */
.header { position: relative; z-index: 1000; background: var(--washi); }
.header .container-fluid { position: relative; z-index: 1; }
.header__logo { display: inline-flex; align-items: center; margin: 0; }
.header__logo img { display: block; height: 5.2rem; width: auto; }
/* --- cart button --- */
.header__cart-toggle { display: inline-flex; align-items: center; gap: 1.2rem; height: 5rem; padding: 0 1.8rem 0 1.4rem; border: 1px solid var(--ai); border-radius: var(--r); background: var(--washi); color: var(--ai); font: 700 1.4rem/1 var(--font-go); letter-spacing: .1em; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.header__cart-toggle:hover { background: var(--ai); color: #fff; text-decoration: none; }
.header__cart-toggle-icon { position: relative; display: flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem; flex: none; }
.header__cart-toggle-icon svg { display: block; width: 2.6rem; height: 2.4rem; color: inherit; }
.header__cart-toggle-icon mark { position: absolute; top: -.8rem; right: -1rem; min-width: 2rem; height: 2rem; padding: 0 .5rem; border-radius: 1rem; background: var(--shu); color: #fff; font: 700 1.2rem/2rem var(--font-go); letter-spacing: 0; text-align: center; }
.header__cart-toggle-text { display: block; white-space: nowrap; }
.header__cart-offcanvas { display: none; }
/* --- contacts --- */
.header__contacts { position: relative; }
.header__contacts-toggle { display: inline-flex; align-items: center; gap: .8rem; color: var(--sumi); font: 500 1.4rem/1 var(--font-go); letter-spacing: .06em; text-decoration: none; transition: color .2s ease; }
.header__contacts-toggle svg { display: block; width: 2.6rem; height: 2.6rem; color: var(--ai); flex: none; }
.header__contacts-toggle:hover { color: var(--ai); text-decoration: none; }
.header__contacts-offcanvas { position: absolute; top: calc(100% + 1.6rem); right: 0; z-index: 60; min-width: 32rem; padding: 1.6rem; border: 1px solid var(--sen-koi); border-top: 2px solid var(--ai); border-radius: var(--r); background: var(--washi); box-shadow: var(--kage); opacity: 0; visibility: hidden; transform: translateY(.8rem); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.header__contacts-offcanvas img { display: block; max-width: 100%; height: auto; }
.header__contacts-divider { position: absolute; left: 0; right: 0; bottom: 100%; height: 1.6rem; }
.is-contacts-open .header__contacts-offcanvas { opacity: 1; visibility: visible; transform: none; }
.header__contacts-title { display: block; margin: 0 0 1.2rem; font: 600 1.8rem var(--font-min); color: var(--sumi); }
.header__contacts-dl { margin: 0; font-size: 1.4rem; }
.header__contacts-dl dt { font-weight: 700; color: var(--sumi); }
.header__contacts-dl dd { margin: 0 0 1rem; }
.header__contacts-dl a { color: var(--ai); }
/* --- search --- */
.header__search form { display: flex; position: relative; }
.header__search-offcanvas { position: relative; flex: 1; min-width: 0; }
.header__search-input { display: block; width: 100%; height: 5rem; padding: 0 1.6rem; border: 1px solid var(--ai); border-right: 0; border-radius: var(--r) 0 0 var(--r); background: #fff; color: var(--sumi); font: 400 1.6rem/1.2 var(--font-go); letter-spacing: .04em; -webkit-appearance: none; appearance: none; transition: box-shadow .2s ease; }
.header__search-input::placeholder { color: var(--nezu-usui); opacity: 1; }
.header__search-input:focus { outline: none; box-shadow: var(--focus); }
.header__search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.header__search-btn { display: inline-flex; align-items: center; justify-content: center; height: 5rem; padding: 0 2.4rem; border: 1px solid var(--ai); border-radius: 0 var(--r) var(--r) 0; background: var(--ai); color: #fff; font: 700 1.4rem/1 var(--font-go); letter-spacing: .14em; white-space: nowrap; cursor: pointer; transition: background-color .2s ease; }
.header__search-btn:hover { background: var(--ai-koi); color: #fff; }
.header__search-btn svg { width: 2rem; height: 2rem; color: #fff; }
.header__search-dropdown { position: absolute; top: 100%; left: 0; right: 0; z-index: 80; max-height: 60vh; margin-top: .4rem; border: 1px solid var(--sen-koi); border-top: 2px solid var(--ai); border-radius: var(--r); background: var(--washi); box-shadow: var(--kage); overflow: auto; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
.is-search-results .header__search-dropdown { opacity: 1; visibility: visible; }
.header__search-list { list-style: none; margin: 0; padding: .4rem; }
.header__search-list > li + li { border-top: 1px dotted var(--sen-koi); }
.header__search-item { display: flex; align-items: center; gap: 1.2rem; padding: .8rem 1rem; color: var(--sumi); text-decoration: none; transition: background-color .15s ease; }
.header__search-item:hover { background: var(--ai-usui); color: var(--sumi); }
.header__search-item-image { flex: none; display: flex; align-items: center; justify-content: center; width: 4.8rem; height: 4.8rem; margin: 0; border: 1px solid var(--sen); background: #fff; }
.header__search-item-image img { max-width: 100%; max-height: 100%; mix-blend-mode: multiply; }
.header__search-item-desc { flex: 1; min-width: 0; }
.header__search-item-title { display: block; font: 700 1.5rem/1.4 var(--font-go); }
.header__search-item-text, .header__search-item-price { display: block; font-size: 1.3rem; color: var(--nezu); }
/* --- language / currency --- */
.header__additional { display: flex; align-items: center; gap: .2rem; }
.header__language, .header__currency { position: relative; }
.header__language-toggle, .header__currency-toggle { display: inline-flex; align-items: center; gap: .6rem; height: 4rem; padding: 0 1rem; border-radius: var(--r); color: var(--sumi); font: 500 1.3rem/1 var(--font-go); letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.header__language-toggle:hover, .header__currency-toggle:hover { background: var(--kinu); color: var(--ai); text-decoration: none; }
.header__language-toggle svg, .header__currency-toggle svg { width: 1rem; height: .6rem; color: var(--ai); transition: transform .2s ease; }
.is-language-open .header__language-toggle svg, .is-currency-open .header__currency-toggle svg { transform: rotate(180deg); }
.header__language-offcanvas, .header__currency-offcanvas { position: absolute; top: calc(100% + 1rem); right: 0; z-index: 60; min-width: 22rem; padding: .6rem; border: 1px solid var(--sen-koi); border-top: 2px solid var(--ai); border-radius: var(--r); background: var(--washi); box-shadow: var(--kage); opacity: 0; visibility: hidden; transform: translateY(.8rem); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.header__language-offcanvas { min-width: 30rem; }
.is-language-open .header__language-offcanvas, .is-currency-open .header__currency-offcanvas { opacity: 1; visibility: visible; transform: none; }
.header__language-offcanvas-head, .header__currency-offcanvas-head { display: none; }
.header__language-divider, .header__currency-divider { position: absolute; left: 0; right: 0; bottom: 100%; height: 1rem; }
.header__language-menu, .header__currency-menu { list-style: none; margin: 0; padding: 0; }
.header__language-menu { columns: 2; column-gap: .4rem; }
.header__language-menu > li { break-inside: avoid; }
.header__language-link, .header__currency-link { display: flex; align-items: center; gap: .8rem; padding: .8rem 1.2rem; border-radius: var(--r-s); color: var(--sumi-2); font-size: 1.4rem; font-weight: 500; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.header__language-link:hover, .header__currency-link:hover { background: var(--ai-usui); color: var(--ai-koi); }
.header__language-link.is-active, .header__currency-link.is-active { background: var(--ai); color: #fff; }
.header__currency-link-short { min-width: 2.4rem; color: var(--nezu-usui); }
.header__currency-link.is-active .header__currency-link-short { color: rgba(255, 255, 255, .7); }
.header__language-select, .header__currency-select { display: none; }
/* --- catalogue button + mega menu --- */
.header__catalog { position: relative; }
.header__catalog-toggle { display: inline-flex; align-items: center; gap: 1.2rem; height: 100%; min-height: var(--nav-h); min-width: 26rem; padding: 0 2.4rem; border: 0; border-radius: 0; background: var(--kon); color: #fff; font: 700 1.5rem/1 var(--font-go); letter-spacing: .14em; cursor: pointer; transition: background-color .2s ease; }
.header__catalog-toggle:hover, .is-catalog-open .header__catalog-toggle { background: #0a1730; color: #fff; }
.header__catalog-toggle svg { display: block; width: 2rem; height: 2rem; color: #fff; }
.header__catalog-toggle svg.icon-arrow-right { display: none; }
.header__catalog-offcanvas { position: absolute; top: 100%; left: 0; z-index: 60; width: min(124rem, calc(100vw - 4.8rem)); max-height: calc(100vh - 20rem); border: 1px solid var(--sen-koi); border-top: 0; border-radius: 0 0 var(--r) var(--r); background: var(--washi); box-shadow: var(--kage); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s; }
.is-catalog-open .header__catalog-offcanvas { opacity: 1; visibility: visible; pointer-events: auto; }
.header__catalog-offcanvas-head, .header__catalog-dropdown-head { display: none; }
.header__catalog-offcanvas-body { display: flex; height: 100%; max-height: calc(100vh - 20rem); }
.header__catalog-aside { flex: 0 0 30rem; width: 30rem; border-right: 1px solid var(--sen); background: var(--kinu); overflow: auto; }
.header__catalog-menu { list-style: none; margin: 0; padding: .8rem 0; }
.header__catalog-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 2rem 1.2rem 2.2rem; border-left: 3px solid transparent; color: var(--sumi); font: 500 1.5rem/1.5 var(--font-go); text-decoration: none; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.header__catalog-link svg.icon-arrow-catalog { width: 1.8rem; height: 1.8rem; color: var(--nezu-usui); flex: none; }
.header__catalog-link:hover, .header__catalog-link.is-desktop-active { border-left-color: var(--shu); background: var(--washi); color: var(--ai); text-decoration: none; }
.header__catalog-link.is-desktop-active svg.icon-arrow-catalog { color: var(--ai); }
.header__catalog-main { flex: 1; min-width: 0; padding: 2.8rem 3.2rem 3.2rem; overflow: auto; }
.header__catalog-dropdown { display: none; }
.header__catalog-dropdown.is-desktop-active { display: block; animation: aiFade .3s ease; }
.header__catalog-title { display: none; }
.header__catalog-submenu { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 2.4rem; }
.header__catalog-submenu > li { break-inside: avoid; margin: 0; border-bottom: 1px dotted var(--sen-koi); }
.header__catalog-sublink { display: block; padding: .8rem 0 .8rem 1.6rem; background: linear-gradient(var(--ai), var(--ai)) no-repeat left .2rem center / .5rem 1px; color: var(--sumi-2); font-size: 1.5rem; text-decoration: none; transition: color .15s ease; }
.header__catalog-sublink:hover { color: var(--shu); text-decoration: none; }
.header__catalog-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.header__catalog-cards-link { display: flex; align-items: center; gap: 1.2rem; min-height: 8rem; height: 100%; padding: 1rem 1.4rem; border: 1px solid var(--sen); border-radius: var(--r); background: #fff; color: var(--sumi); text-decoration: none; transition: border-color .2s ease; }
.header__catalog-cards-link:hover { border-color: var(--ai); color: var(--sumi); }
.header__catalog-cards-link-image { flex: none; display: flex; align-items: center; justify-content: center; width: 5.6rem; height: 5.6rem; margin: 0; }
.header__catalog-cards-link-image img { max-width: 100%; max-height: 100%; mix-blend-mode: multiply; }
.header__catalog-cards-link-title { display: block; font: 700 1.5rem/1.4 var(--font-go); }
.header__catalog-cards-link-text { display: block; font-size: 1.3rem; color: var(--nezu); }
.header__catalog-back { display: none; }
/* --- menu (nav band) --- */
.header__menu-list { display: flex; align-items: stretch; gap: 0; height: 100%; list-style: none; margin: 0; padding: 0; }
.header__menu-list > li { position: relative; display: flex; align-items: stretch; }
.header__menu-link { position: relative; display: flex; align-items: center; gap: .8rem; height: 100%; padding: 0 2.2rem; color: #fff; font: 500 1.4rem/1 var(--font-go); letter-spacing: .14em; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.header__menu-list > li + li > .header__menu-link::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 1.6rem; margin-top: -.8rem; background: rgba(255, 255, 255, .28); }
.header__menu-link::after { content: ''; position: absolute; left: 2.2rem; right: 2.2rem; bottom: .9rem; height: 1px; background: #f0d9a6; transform: scaleX(0); transition: transform .25s ease; }
.header__menu-link:hover, .header__menu-link.active, .header__menu-list > li.is-open > .header__menu-link { color: #fff; text-decoration: none; }
.header__menu-link:hover::after, .header__menu-link.active::after, .header__menu-list > li.is-open > .header__menu-link::after { transform: scaleX(1); }
.header__menu-link svg { display: none; }
.header__menu-link svg.icon-arrow-right { display: block; order: 3; width: 1.4rem; height: 1.4rem; margin-left: .2rem; color: rgba(255, 255, 255, .6); transform: rotate(90deg); }
.header__menu-offcanvas { position: absolute; top: 100%; left: 0; z-index: 60; min-width: 26rem; padding: .6rem; border: 1px solid var(--sen-koi); border-top: 0; border-radius: 0 0 var(--r) var(--r); background: var(--washi); box-shadow: var(--kage); opacity: 0; visibility: hidden; transform: translateY(.6rem); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.header__menu-list > li.is-open .header__menu-offcanvas { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1200px) {
    .header__menu-list > li:hover .header__menu-offcanvas { opacity: 1; visibility: visible; transform: none; }
}
.header__menu-offcanvas-head { display: none; }
.header__menu-submenu { list-style: none; margin: 0; padding: 0; }
.header__menu-submenu > li + li { border-top: 1px dotted var(--sen-koi); }
.header__menu-sublink { display: block; padding: 1rem 1.2rem; color: var(--sumi-2); font-size: 1.4rem; font-weight: 500; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.header__menu-sublink:hover, .header__menu-sublink.active { background: var(--ai-usui); color: var(--ai-koi); text-decoration: none; }
.header__menu-back, .header__language-back, .header__currency-back { display: none; }
/* --- desktop layout --- */
@media (min-width: 1200px) {
    .header::before { content: ''; position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 4px; background: var(--kon); }
    .header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; height: var(--nav-h); background: var(--ai); }
    .header .container-fluid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; grid-template-rows: var(--header-h) var(--nav-h); grid-template-areas: "logo search additional contacts cart" "catalog menu menu menu menu"; align-items: center; column-gap: 2.4rem; }
    .header__nav, .header__nav-offcanvas, .header__nav-offcanvas-body { display: contents; }
    .header__nav-toggle, .header__nav-offcanvas-head, .header__nav .header__contacts { display: none; }
    .header__logo { grid-area: logo; padding-top: 4px; }
    .header__search { grid-area: search; max-width: 56rem; width: 100%; margin: 4px 0 0 1.6rem; }
    .header__additional { grid-area: additional; margin-top: 4px; }
    .header .container-fluid > .header__contacts { grid-area: contacts; margin-top: 4px; }
    .header__cart { grid-area: cart; margin-top: 4px; }
    .header__catalog { grid-area: catalog; align-self: stretch; }
    .header__menu { grid-area: menu; align-self: stretch; display: flex; align-items: stretch; min-width: 0; overflow: visible; }
    .header__menu-list { flex-wrap: nowrap; overflow: visible; }
}
/* --- mobile / tablet layout --- */
@media (max-width: 1199.98px) {
    .header { position: sticky; top: 0; border-bottom: 1px solid var(--sen-koi); }
    .header::before { content: ''; display: block; height: 3px; background: var(--ai); }
    .header .container-fluid { display: flex; align-items: center; gap: 1.2rem; height: 6rem; }
    .header__logo { order: 2; margin: 0 auto; min-width: 0; }
    .header__logo img { height: 4rem; }
    .header__nav { order: 1; flex: none; }
    .header__cart { order: 3; flex: none; }
    .header .container-fluid > .header__contacts { display: none; }
    .header__cart-toggle { position: relative; width: 4.6rem; height: 4.6rem; padding: 0; justify-content: center; gap: 0; border-color: var(--sen-koi); background: #fff; }
    .header__cart-toggle:hover { background: #fff; color: var(--ai); }
    .header__cart-toggle-text { display: none; }
    .header__cart-toggle-icon svg { width: 2.2rem; height: 2rem; }
    .header__cart-toggle-icon mark { top: -1rem; right: -1.1rem; min-width: 1.8rem; height: 1.8rem; font-size: 1.1rem; line-height: 1.8rem; }
    /* メニュー: the toggle carries a visible word under the icon (Japanese mobile sites label the hamburger) */
    .header__nav-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; width: 4.6rem; height: 4.6rem; padding: 0; border: 1px solid var(--sen-koi); border-radius: var(--r); background: #fff; color: var(--ai); }
    .header__nav-toggle svg { width: 2.2rem; height: 2.2rem; }
    :is(:lang(ja), :lang(jp)) .header__nav-toggle svg { width: 2rem; height: 1.6rem; }
    :is(:lang(ja), :lang(jp)) .header__nav-toggle::after { content: 'メニュー'; font: 700 .9rem/1 var(--font-go); letter-spacing: 0; white-space: nowrap; }
    .header__nav-offcanvas { position: fixed; inset: 0; z-index: 1100; display: flex; flex-direction: column; background: var(--kinari); color: var(--sumi); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .is-nav-open .header__nav-offcanvas { opacity: 1; visibility: visible; pointer-events: auto; }
    .is-nav-open body, .is-nav-open { overflow: hidden; }
    .header__nav-offcanvas-head,
    .header__catalog-offcanvas-head,
    .header__catalog-dropdown-head,
    .header__menu-offcanvas-head { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 1.2rem; flex: none; height: 6rem; padding: 0 1.6rem; background: var(--kon); color: #fff; }
    .header__nav-logo { display: block; margin: 0 auto 0 0; }
    .header__nav-logo img { display: block; height: 3.6rem; width: auto; }
    .header__nav-close, .header__catalog-back, .header__menu-back { display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; padding: 0; border: 0; background: none; color: #fff; flex: none; }
    .header__nav-close { margin-left: auto; }
    .header__catalog-back svg, .header__menu-back svg, .header__nav-close svg { width: 2.4rem; height: 2.4rem; }
    .header__nav-offcanvas-body { display: flex; flex-direction: column; padding: 1.6rem 0 6rem; }
    .header__search { padding: 0 1.6rem 1.6rem; }
    .header__search-input { height: 4.8rem; }
    .header__search-btn { height: 4.8rem; padding: 0 1.6rem; }
    .header__catalog { padding: 0 1.6rem; }
    .header__catalog-toggle { display: flex; width: 100%; min-height: 5.6rem; padding: 0 1.6rem; border-radius: var(--r); background: var(--ai); text-align: left; justify-content: flex-start; }
    .header__catalog-toggle svg.icon-arrow-right { display: block; order: 3; margin-left: auto; width: 1.8rem; height: 1.8rem; }
    .header__catalog-offcanvas,
    .header__catalog-dropdown,
    .header__menu-offcanvas { position: fixed; inset: 0; z-index: 1200; display: flex; flex-direction: column; width: auto; max-height: none; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--washi); box-shadow: none; opacity: 0; visibility: hidden; pointer-events: none; transform: none; transition: opacity .25s ease, visibility .25s; overflow: hidden; }
    .is-catalog-open .header__catalog-offcanvas { opacity: 1; visibility: visible; pointer-events: auto; }
    .header__catalog-dropdown { z-index: 1300; }
    .header__catalog-dropdown.is-mobile-active { display: flex; opacity: 1; visibility: visible; pointer-events: auto; }
    .header__catalog-dropdown.is-desktop-active { display: flex; }
    .header__menu-list > li.is-open .header__menu-offcanvas { opacity: 1; visibility: visible; pointer-events: auto; }
    .header__catalog-offcanvas-body, .header__catalog-dropdown-body, .header__menu-offcanvas-body { flex: 1; display: block; max-height: none; overflow-x: hidden; overflow-y: auto; }
    .header__catalog-aside { flex: none; width: auto; border: 0; background: none; overflow: visible; }
    .header__catalog-main { padding: 0; overflow: visible; }
    .header__catalog-menu { padding: 0; }
    .header__catalog-link { min-height: 5.6rem; padding: 1.2rem 1.6rem; border-left: 0; border-bottom: 1px solid var(--sen); font-size: 1.6rem; }
    .header__catalog-link.is-desktop-active { background: none; color: var(--sumi); }
    .header__catalog-link.is-desktop-active svg.icon-arrow-catalog { color: var(--nezu-usui); }
    .header__catalog-title { display: block; flex: 1; font: 600 1.8rem/1.3 var(--font-min); letter-spacing: .12em; }
    .header__catalog-dropdown-body { padding: 0 0 4rem; }
    .header__catalog-submenu { columns: 1; }
    .header__catalog-submenu > li { border-bottom: 1px solid var(--sen); }
    .header__catalog-sublink { padding: 1.4rem 1.6rem 1.4rem 3.2rem; background-position: left 1.6rem center; font-size: 1.6rem; color: var(--sumi); }
    .header__catalog-cards { grid-template-columns: 1fr; gap: .8rem; padding: 1.2rem 1.6rem; }
    .header__menu { margin: 1.6rem 1.6rem 0; border: 1px solid var(--sen); border-radius: var(--r); background: var(--washi); }
    .header__menu-list { display: block; height: auto; }
    .header__menu-list > li { display: block; }
    .header__menu-list > li + li { border-top: 1px solid var(--sen); }
    .header__menu-link { display: flex; align-items: center; gap: 1.2rem; min-height: 5.4rem; padding: 0 1.4rem; color: var(--sumi); font-size: 1.6rem; letter-spacing: .06em; }
    .header__menu-list > li + li > .header__menu-link::before { display: none; }
    .header__menu-link::after { display: none; }
    .header__menu-link:hover, .header__menu-link.active, .header__menu-list > li.is-open > .header__menu-link { color: var(--ai); }
    .header__menu-link svg { display: block; width: 2.2rem; height: 2.2rem; color: var(--ai); flex: none; }
    .header__menu-link svg.icon-arrow-right { order: 3; margin-left: auto; width: 1.6rem; height: 1.6rem; transform: none; color: var(--nezu-usui); }
    .header__menu-title { flex: 1; font: 600 1.8rem/1.3 var(--font-min); letter-spacing: .12em; }
    .header__menu-submenu > li + li { border-top: 0; }
    .header__menu-submenu > li { border-bottom: 1px solid var(--sen); }
    .header__menu-sublink { padding: 1.5rem 1.6rem; color: var(--sumi); font-size: 1.6rem; }
    .header__nav .header__contacts { display: block; padding: 2.4rem 1.6rem 0; }
    .header__nav .header__contacts img { display: block; max-width: 100%; height: auto; }
    .header__additional { margin: 2.4rem 1.6rem 0; gap: .8rem; }
    .header__language, .header__currency { flex: 1; border: 1px solid var(--sen-koi); border-radius: var(--r); background: #fff var(--ya) no-repeat right 1.2rem center; }
    .header__language-toggle, .header__currency-toggle { display: flex; justify-content: flex-start; width: 100%; height: 4.8rem; padding: 0 3.2rem 0 1.4rem; font-size: 1.5rem; }
    .header__language-toggle svg, .header__currency-toggle svg { display: none; }
    .header__language-select, .header__currency-select { display: block; position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; opacity: 0; }
    .header__language-offcanvas, .header__currency-offcanvas { display: none; }
}
@keyframes aiFade { from { opacity: 0; transform: translateY(.4rem); } to { opacity: 1; transform: none; } }

/* =====================================================================
   COOKIES BAR, SCROLL TOP, FOOTER
   ===================================================================== */
.cookies { position: fixed; left: 1.6rem; right: 1.6rem; bottom: 1.6rem; z-index: 3000; max-width: 96rem; margin: 0 auto; padding: 1.4rem 2rem; border: 1px solid var(--sen-koi); border-top: 3px solid var(--ai); border-radius: var(--r); background: var(--washi); color: var(--sumi-2); box-shadow: var(--kage); }
.cookies .container-fluid { padding: 0; }
.cookies .row { align-items: center; justify-content: space-between; gap: 1.2rem 0; }
.cookies__desc p { margin: 0; font-size: 1.4rem; line-height: 1.7; color: var(--sumi-2); }
.cookies__action { display: flex; align-items: center; }
.cookies__action .ui-btn { min-height: 4rem; padding: 0 2.4rem; background: var(--ai); border-color: var(--ai); box-shadow: none; }
.cookies__action .ui-btn:hover { background: var(--ai-koi); border-color: var(--ai-koi); box-shadow: none; }
.cookies .close { display: block; width: 1.6rem; height: 1.6rem; cursor: pointer; filter: grayscale(1) brightness(.5); opacity: .7; }
.cookies .close:hover { opacity: 1; }
.is-cookies-accept .cookies { display: none; }
.scrolltop { position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 900; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; width: 5rem; height: 5rem; padding: 0; border: 1px solid var(--ai); border-radius: var(--r); background: var(--washi); color: var(--ai); opacity: 0; visibility: hidden; transform: translateY(1rem); transition: opacity .25s ease, transform .25s ease, background-color .2s ease, color .2s ease, visibility .25s; }
.scrolltop svg { width: 1.8rem; height: 1.8rem; }
.scrolltop::after { content: 'TOP'; font: 600 1rem/1 var(--font-min); letter-spacing: .16em; }
.scrolltop:hover { background: var(--ai); color: #fff; }
.is-scrolltop .scrolltop { opacity: 1; visibility: visible; transform: none; }
.footer { position: relative; margin-top: 8rem; padding: 6.4rem 0 4rem; background: var(--kon) var(--asanoha-shiro); color: rgba(255, 255, 255, .74); font-size: 1.4rem; line-height: 1.8; }
/* 市松: a checker strip closes the page before the deep footer */
.footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: .8rem; background: conic-gradient(var(--ai) 25%, var(--kinari) 0 50%, var(--ai) 0 75%, var(--kinari) 0) 0 0 / 1.6rem 1.6rem; }
.footer .container-fluid { position: relative; z-index: 1; }
.footer .row > [class^="col"] { margin-bottom: 2.4rem; }
.footer__logo { display: inline-block; margin: 0 0 2rem; max-width: 28rem; }
.footer__logo img { display: block; height: 5.2rem; width: auto; }
.footer__copyright { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; list-style: none; margin: 0; padding: 0; font-size: 1.3rem; color: rgba(255, 255, 255, .56); }
.footer__copyright-link { color: rgba(255, 255, 255, .56); text-decoration: underline; text-underline-offset: 3px; }
.footer__copyright-link:hover { color: #fff; }
.footer__nav .row > [class^="col"] { margin-bottom: 2.4rem; }
.footer__nav-menu { list-style: none; margin: 0; padding: 0; }
.footer__nav-menu > li { margin: 0 0 .2rem; }
.footer__nav-link { position: relative; display: inline-block; padding: .5rem 0 .5rem 1.6rem; color: #fff; font: 400 1.4rem/1.6 var(--font-go); letter-spacing: .08em; text-decoration: none; transition: color .2s ease; }
.footer__nav-link::before { content: ''; position: absolute; left: .1rem; top: 1.25em; width: .6rem; height: .6rem; border-top: 1px solid #f0d9a6; border-right: 1px solid #f0d9a6; transform: rotate(45deg); }
.footer__nav-link:hover { color: #f0d9a6; text-decoration: none; }

/* =====================================================================
   HOME — INTRO
   Title on the left; on the right a 丸窓 (round window) with the photo,
   a double gold ring, an indigo patterned disc and — in Japanese only —
   a vertical line of text. Four tiles below.
   ===================================================================== */
.intro { position: relative; padding: 5.6rem 0 4.8rem; background: var(--kinari); overflow: hidden; }
.intro::before { content: ''; position: absolute; inset: 0 0 0 38%; background: var(--asanoha); -webkit-mask: linear-gradient(90deg, transparent, #000 55%); mask: linear-gradient(90deg, transparent, #000 55%); pointer-events: none; }
.intro .container-fluid { position: relative; }
.intro__desc { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 64rem; min-height: 36rem; }
:is(:lang(ja), :lang(jp)) .intro__desc::before { content: '海外医薬品の個人輸入代行'; margin: 0 0 2rem; padding: .5rem 1.4rem; border: 1px solid var(--ai); background: var(--washi); font: 700 1.3rem/1.5 var(--font-go); letter-spacing: .16em; color: var(--ai); }
.intro__title { margin: 0 0 2.4rem; font: 600 clamp(3.4rem, 2.2rem + 3.2vw, 6.2rem)/1.35 var(--font-min); letter-spacing: .1em; color: var(--sumi); }
.intro__mark { display: block; color: var(--ai); }
/* the rule keeps its own height: the Japanese lead below hangs inside it, so the following blocks make room for the text */
.intro__line { width: 12rem; height: auto; margin: 0; border: 0; border-top: 3px double var(--kincha); overflow: visible; }
:is(:lang(ja), :lang(jp)) .intro__line::after { content: '確かな品質のお薬を、海外から直接ご自宅へお届けします。'; display: block; width: max-content; max-width: min(56rem, calc(100vw - 4.8rem)); margin: 2rem 0 0; font: 400 1.6rem/1.9 var(--font-go); letter-spacing: .08em; color: var(--sumi-2); white-space: normal; }
/* the round window */
.intro .container-fluid::after { content: ''; position: absolute; right: 11rem; top: 1rem; width: 34rem; height: 34rem; border-radius: 50%; background: #dfe9ee url('../images/jap/intro-madori.jpg') center / cover no-repeat; background-image: image-set(url('../images/jap/intro-madori.webp') type('image/webp'), url('../images/jap/intro-madori.jpg') type('image/jpeg')); box-shadow: 0 0 0 1px var(--kincha), 0 0 0 1.2rem var(--kinari), 0 0 0 calc(1.2rem + 1px) var(--kincha); pointer-events: none; }
.intro .container-fluid::before { content: ''; position: absolute; right: 40rem; top: 22rem; width: 14rem; height: 14rem; border-radius: 50%; background: var(--ai) var(--asanoha-shiro) center / 2.4rem auto; pointer-events: none; }
:is(:lang(ja), :lang(jp)) .intro::after { content: '健やかな毎日を、あなたのもとへ。'; position: absolute; top: 6.4rem; right: max(2.4rem, calc(50% - 61.6rem)); padding-top: 4.8rem; background: linear-gradient(var(--kincha), var(--kincha)) no-repeat center top / 1px 3.6rem; writing-mode: vertical-rl; font: 600 1.6rem/1.6 var(--font-min); letter-spacing: .42em; color: var(--sumi-2); pointer-events: none; }
.intro__swiper { position: relative; z-index: 1; margin: 5.6rem 0 0; }
.swiper-intro { padding: 0 0 3.2rem; overflow: hidden; }
.swiper-intro .swiper-slide { height: auto; }
/* >= 1200px the theme JS destroys the intro swiper: lay the four tiles out as one framed row */
@media (min-width: 1200px) {
    .swiper-intro { overflow: visible; padding: 0; }
    .swiper-intro .swiper-wrapper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; width: auto; border: 1px solid var(--sen); border-top: 2px solid var(--ai); background: var(--washi); transform: none !important; }
    .swiper-intro .swiper-slide { width: auto; margin: 0 !important; }
    .swiper-intro .swiper-slide + .swiper-slide { border-left: 1px solid var(--sen); }
    .swiper-intro .swiper-pagination { display: none; }
    .swiper-intro .intro__item { border: 0; background: none; }
}
.intro__item { position: relative; display: flex; align-items: center; gap: 1.6rem; height: 100%; padding: 2.2rem 2rem; border: 1px solid var(--sen); border-top: 2px solid var(--ai); background: var(--washi); }
.intro__item-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 5.6rem; height: 5.6rem; margin: 0; border: 1px solid var(--sen-koi); border-radius: 50%; background: #fff; }
.intro__item-icon img { max-width: 58%; max-height: 58%; }
.intro__item-desc { flex: 1; min-width: 0; }
.intro__item-title { display: block; margin: 0 0 .2rem; font: 600 1.8rem/1.5 var(--font-min); letter-spacing: .06em; color: var(--sumi); }
.intro__item-text { margin: 0; font-size: 1.3rem; line-height: 1.7; color: var(--nezu); }
/* swiper chrome (shared): diamond bullets, square arrows */
.swiper-pagination-bullet { width: .8rem; height: .8rem; margin: 0 .6rem !important; border-radius: 0; background: var(--sen-koi); opacity: 1; transform: rotate(45deg); transition: background-color .25s ease; }
.swiper-pagination-bullet-active { background: var(--ai); }
.swiper-intro .swiper-pagination, .swiper-blog .swiper-pagination, .swiper-logotypes .swiper-pagination { bottom: 0; }
.swiper-prev, .swiper-next { position: absolute; top: 50%; z-index: 10; display: flex; align-items: center; justify-content: center; width: 4.4rem; height: 4.4rem; margin-top: -2.2rem; padding: 0; border: 1px solid var(--ai); border-radius: var(--r); background: var(--washi); color: var(--ai); cursor: pointer; transition: background-color .2s ease, color .2s ease, opacity .2s ease; }
.swiper-prev { left: 0; }
.swiper-next { right: 0; }
.swiper-prev:hover, .swiper-next:hover { background: var(--ai); color: #fff; }
.swiper-prev svg, .swiper-next svg { width: 1rem; height: 1.6rem; }
.swiper-prev.swiper-button-disabled, .swiper-next.swiper-button-disabled { opacity: .3; pointer-events: none; }
.swiper-control { position: absolute; top: -8rem; right: 0; z-index: 10; display: flex; gap: .6rem; }
.swiper-control .swiper-prev, .swiper-control .swiper-next { position: static; margin: 0; }

/* =====================================================================
   PRODUCT CARDS + LISTINGS
   ===================================================================== */
.products-featured { padding: 6.4rem 0 0; }
.products { padding: 2.4rem 0 0; }
.products-featured + .products-featured { padding-top: 1.6rem; }
.products-featured__list, .products__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.6rem; }
.products__item { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.4rem; border: 1px solid var(--sen); border-radius: var(--r); background: var(--washi); transition: border-color .2s ease, box-shadow .2s ease; }
.products__item:hover { border-color: var(--ai); box-shadow: var(--kage); }
.products__item .sku__badges { top: 2rem; left: auto; right: 2rem; align-items: flex-end; }
.products__item-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; margin: 0 0 1.4rem; padding: 1.4rem; border: 1px solid var(--sen); background: #fff; overflow: hidden; }
.products__item-image a { display: contents; }
.products__item-image img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.products__item:hover .products__item-image img { transform: scale(1.04); }
.products__item-line { display: block; width: 2.8rem; height: 0; margin: 0 0 1rem; border-top: 3px double var(--kincha); }
.products__item-title { margin: 0 0 1rem; font: 600 1.8rem/1.45 var(--font-min); letter-spacing: .06em; }
.products__item-title a { color: var(--sumi); }
.products__item-title a:hover { color: var(--ai); }
.products__item-control { margin: 0 0 .6rem; }
.products__item-control .row { margin: 0 -.3rem; }
.products__item-control .row > [class*="col"] { flex: 0 0 100%; max-width: 100%; padding: 0 .3rem; }
.products__item-control .ui-select { margin: 0 0 .6rem; }
.products__item-control .selectric { min-height: 4rem; padding: 0 1rem; }
.products__item-control .selectric .arrow { width: 1.1rem; padding-left: .6rem; }
.products__item-control .selectric .label { font-size: 1.4rem; letter-spacing: 0; }
.products__item-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .8rem; margin: auto 0 1.2rem; }
.products__item-price del { font-size: 1.3rem; color: var(--nezu-usui); }
.products__item-price ins { text-decoration: none; font: 700 2.6rem/1.2 var(--font-min); letter-spacing: 0; color: var(--shu); }
.products__item-action { display: block; text-decoration: none; }
.products__item-action .ui-btn { width: 100%; min-height: 4.6rem; padding: 0 .8rem; font-size: 1.4rem; letter-spacing: .06em; }
.products__item-action .ui-btn > span { display: inline-flex; align-items: center; justify-content: center; }
/* the template swaps the label for a bare cart icon below 1200px; a Japanese shop keeps the words 「カートに入れる」 at every width */
.products__item-action .ui-btn > .is-xl-visible { display: inline-flex !important; }
.products__item-action .ui-btn > .is-xl-hidden { display: none !important; }
.products__desc { margin: 4.8rem auto 0; max-width: 92rem; }
/* 売れ筋ランキング: the titled list on the home page is the bestseller ranking — each card carries a 短冊 with its place */
.products-featured:has(.products-featured__title) .products-featured__list { counter-reset: jun-i; }
.products-featured:has(.products-featured__title) .products-featured__list > li { counter-increment: jun-i; }
.products-featured:has(.products-featured__title) .products__item::before { content: counter(jun-i); position: absolute; top: -1px; left: 1.4rem; z-index: 6; width: 3.2rem; height: 4.2rem; padding-top: .7rem; background: var(--ai); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); font: 700 1.8rem/1 var(--font-min); letter-spacing: 0; text-align: center; color: #fff; }
.products-featured:has(.products-featured__title) li:nth-child(1) .products__item::before { background: #b08a2e; }
.products-featured:has(.products-featured__title) li:nth-child(2) .products__item::before { background: #8a94a0; }
.products-featured:has(.products-featured__title) li:nth-child(3) .products__item::before { background: #a56a3f; }

/* =====================================================================
   HOME — BLOG, BENEFITS, WELCOME, METHODS, LOGOTYPES, CUSTOMERS
   ===================================================================== */
.blog-featured { padding: 6.4rem 0 0; }
/* the block has no heading in the markup: in Japanese the row with the "all articles" link is dressed as the section title */
.blog-featured__all { display: flex; align-items: baseline; justify-content: flex-end; gap: 1.6rem; margin: 0 0 3.2rem; padding: 0 0 1.4rem; border-bottom: 1px solid var(--sen-koi); background: linear-gradient(var(--ai), var(--ai)) no-repeat left bottom / 9.6rem 2px; font-size: 1.4rem; }
:is(:lang(ja), :lang(jp)) .blog-featured__all::before { content: '健康コラム'; margin-right: auto; padding-left: 2rem; background: linear-gradient(var(--shu), var(--shu)) no-repeat left .28em / .6rem 1em; font: 600 clamp(2.4rem, 2rem + 1.1vw, 3.4rem)/1.45 var(--font-min); letter-spacing: .12em; color: var(--sumi); }
.blog-featured__all .ui-link { white-space: nowrap; }
/* the template asks the sprite for #icon-arrow-all, which the sprite does not have: the arrow is drawn here instead */
.blog-featured__all .ui-link svg { display: none; }
.blog-featured__all .ui-link::after { content: ''; display: inline-block; width: .7rem; height: .7rem; margin: 0 .2rem .1rem .6rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.swiper-blog { padding: 0 0 3.2rem; overflow: hidden; }
.swiper-blog .swiper-slide { height: auto; }
.swiper-blog .swiper-prev { left: 1.2rem; margin-top: -4.4rem; }
.swiper-blog .swiper-next { right: 1.2rem; margin-top: -4.4rem; }
.blog__item { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--sen); border-radius: var(--r); background: var(--washi); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.blog__item:hover { border-color: var(--ai); box-shadow: var(--kage); }
.blog__item-image { display: block; margin: 0; aspect-ratio: 35 / 24; background: var(--kinu); overflow: hidden; }
.blog__item-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog__item:hover .blog__item-image img { transform: scale(1.03); }
.blog__item-desc { position: relative; padding: 1.8rem 2rem 2rem; }
.blog__item-desc::before { content: ''; position: absolute; left: 2rem; top: 0; width: 2.8rem; border-top: 2px solid var(--shu); }
.blog__item-title { margin: 0; font: 600 1.7rem/1.6 var(--font-min); letter-spacing: .06em; }
.blog__item-title a { color: var(--sumi); }
.blog__item-title a:hover { color: var(--ai); }
.blog { padding: 2.4rem 0 0; }
.blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; }
.blog .pagination .container-fluid { padding: 0; }
.article { padding: 2.4rem 0 0; }
.article .container-fluid { max-width: 96rem; }
.article h1 { font-size: clamp(2.6rem, 2.1rem + 1.3vw, 3.8rem); }
.article picture img { display: block; width: 100%; max-height: 46rem; margin: 0 0 3.2rem; border-radius: var(--r); object-fit: cover; }
.article hr { margin: 4rem 0 2.4rem; border-top: 3px double var(--sen-koi); }
#goBackToBlog { display: inline-flex; align-items: center; gap: .6rem; font: 700 1.4rem var(--font-go); letter-spacing: .08em; text-decoration: none; color: var(--ai); }
#goBackToBlog:hover { color: var(--shu); }
.benefits { padding: 8rem 0 0; }
/* deep indigo panel with a thin gold inner frame */
.benefits__section:first-child { position: relative; padding: 5.6rem 6.4rem 0; border-radius: var(--r); background: var(--kon) var(--asanoha-shiro); color: #fff; overflow: hidden; }
.benefits__section:first-child::before { content: ''; position: absolute; inset: 1rem; border: 1px solid rgba(240, 217, 166, .4); pointer-events: none; }
.benefits__section:first-child .row { position: relative; z-index: 1; align-items: flex-end; }
.benefits__logo { display: block; margin: 0 0 2.4rem; max-width: 26rem; }
/* the template prints the dark logo here: swap it for the white version */
.benefits__logo img { display: block; height: 4.8rem; width: auto; content: url('../images/logo-white.svg'); }
.benefits__line { width: 9.6rem; height: 0; margin: 0 0 2.4rem; border: 0; border-top: 3px double #f0d9a6; }
.benefits__title { margin: 0 0 3.2rem; font: 600 clamp(2.4rem, 1.8rem + 1.7vw, 3.8rem)/1.55 var(--font-min); letter-spacing: .1em; color: #fff; }
.benefits__mark { margin: 0 .12em; font-size: 1.5em; font-weight: 700; line-height: 1; letter-spacing: .02em; color: #f6d88a; }
.benefits__steps { list-style: none; margin: 0; padding: 0 0 5.6rem; display: flex; flex-wrap: wrap; gap: 1.2rem; }
.benefits__step { display: flex; align-items: center; gap: 1.2rem; min-width: 16rem; padding: 1.1rem 2rem 1.1rem 1.4rem; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .04); }
.benefits__step-number { font: 600 2.6rem/1 var(--font-min); letter-spacing: 0; color: #f0d9a6; }
.benefits__step-title { margin: 0; font: 700 1.5rem/1.4 var(--font-go); letter-spacing: .14em; color: #fff; }
.benefits__image { display: block; margin: 0; text-align: right; }
.benefits__image img { display: inline-block; vertical-align: bottom; max-height: 42rem; }
.benefits__section + .benefits__section { padding: 2.4rem 0 0; }
.benefits__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--sen); background: var(--washi); }
.benefits__list > li + li { border-left: 1px solid var(--sen); }
.benefits__item { display: flex; gap: 1.6rem; height: 100%; padding: 2.8rem 2.4rem; }
.benefits__item-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 6.4rem; height: 6.4rem; margin: 0; border: 1px solid var(--sen-koi); border-radius: 50%; background: #fff; }
.benefits__item-icon img { max-width: 56%; max-height: 56%; }
.benefits__item-title { display: block; margin: 0 0 .6rem; font: 600 1.9rem/1.5 var(--font-min); letter-spacing: .06em; color: var(--sumi); }
.benefits__item-text { margin: 0; font-size: 1.4rem; line-height: 1.85; color: var(--nezu); }
.welcome { padding: 8rem 0 0; }
.welcome .container-fluid { position: relative; padding-top: 4.8rem; padding-bottom: 4rem; }
.welcome .container-fluid::before { content: ''; position: absolute; inset: 0 2.4rem; z-index: 0; border: 1px solid var(--sen); border-top: 3px double var(--sen-koi); background: var(--washi); }
.welcome .container-fluid::after { content: ''; position: absolute; top: 3px; bottom: 1px; right: calc(2.4rem + 1px); z-index: 0; width: 36%; background: var(--asanoha); -webkit-mask: linear-gradient(270deg, #000, transparent); mask: linear-gradient(270deg, #000, transparent); pointer-events: none; }
.welcome .container-fluid > * { position: relative; z-index: 1; margin-left: 4.8rem; margin-right: 4.8rem; }
.welcome h1, .welcome h2 { max-width: 84rem; margin-bottom: 2rem; font-size: clamp(2.4rem, 2rem + 1.1vw, 3.2rem); }
.welcome p { max-width: 84rem; font-size: 1.5rem; line-height: 1.95; }
.welcome h3 { margin: 2.4rem 0 1rem; font-size: 1.9rem; }
.methods { padding: 4.8rem 0 0; }
.methods__group { padding: 1.8rem 0; border-bottom: 1px dotted var(--sen-koi); }
.methods__group .row { align-items: center; }
.methods__title { margin: .8rem 0; padding-left: 1.4rem; border-left: 3px solid var(--ai); font: 600 1.6rem/1.5 var(--font-min); letter-spacing: .12em; color: var(--sumi); }
.methods__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.methods__list > li { flex: 0 0 10.4rem; min-width: 0; }
.methods__image { display: flex; align-items: center; justify-content: center; height: 5.2rem; margin: 0; padding: .9rem 1.4rem; border: 1px solid var(--sen); border-radius: var(--r); background: #fff; }
.methods__image img { max-width: 100%; max-height: 100%; width: auto; }
/* the page colour is repeated here: the block is paint-contained (content-visibility), so the white logo plates need a backdrop of their own to multiply into */
.logotypes { padding: 4rem 0 0; background: var(--kinari); }
.swiper-logotypes { padding: 0 0 3.2rem; overflow: hidden; }
.logotypes__image { display: flex; align-items: center; justify-content: center; height: 8rem; margin: 0; }
.logotypes__image img { max-height: 5.6rem; width: auto; filter: grayscale(1); opacity: .6; mix-blend-mode: multiply; transition: filter .3s ease, opacity .3s ease; }
.logotypes__image:hover img { filter: none; opacity: 1; }
.customers { padding: 6.4rem 0 0; }
.swiper-customers { position: relative; margin-top: -8rem; padding-top: 8rem; overflow: hidden; }
.customers .swiper-control { top: 0; }
.swiper-customers .swiper-slide { height: auto; }
/* お客様の声: each card is set between Japanese corner brackets 「 」 */
.customers__item { position: relative; height: 100%; padding: 3.6rem 2.8rem 3.2rem; border: 1px solid var(--sen); border-radius: var(--r); background: var(--washi); }
.customers__item::before, .customers__item::after { content: ''; position: absolute; width: 2rem; height: 2rem; pointer-events: none; }
.customers__item::before { left: 1.2rem; top: 1.2rem; border-left: 2px solid var(--kincha); border-top: 2px solid var(--kincha); }
.customers__item::after { right: 1.2rem; bottom: 1.2rem; border-right: 2px solid var(--kincha); border-bottom: 2px solid var(--kincha); }
.customers__item-name span { font: 600 1.7rem/1.5 var(--font-min); letter-spacing: .06em; color: var(--sumi); }
:is(:lang(ja), :lang(jp)) .customers__item-name span::after { content: ' 様'; font: 400 1.3rem/1 var(--font-go); color: var(--nezu); }
.customers__item-rating { margin: .4rem 0 1.2rem; }
.customers__item-wysiwyg { font-size: 1.4rem; line-height: 1.9; color: var(--sumi-2); }
.customers__item-wysiwyg p:last-child { margin: 0; }
.search-results { padding: 2.4rem 0 0; }
.search-results > .container-fluid > p { max-width: 82rem; margin: -1.6rem 0 3.2rem; color: var(--nezu); }

/* =====================================================================
   PRODUCT PAGE (sku)
   ===================================================================== */
.sku { padding: 2.4rem 0 0; }
.sku .row { align-items: flex-start; }
.sku__title { display: block; margin: 0 0 1rem; font: 600 clamp(2.8rem, 2.2rem + 1.6vw, 4.4rem)/1.4 var(--font-min); letter-spacing: .08em; color: var(--sumi); }
.sku__rating { margin: 0 0 2rem; }
.sku__gallery { position: relative; margin: 0 0 2.4rem; padding: 2rem; border: 1px solid var(--sen); border-radius: var(--r); background: #fff; }
.swiper-gallery { display: flex; flex-direction: row-reverse; gap: 1.6rem; align-items: stretch; }
.swiper-slides { position: relative; flex: 1; min-width: 0; overflow: hidden; }
.swiper-slides .swiper-slide { background: #fff; }
.sku__image { display: flex; align-items: center; justify-content: center; height: 44rem; margin: 0; }
.sku__image img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; clip-path: inset(2px); }
.swiper-slides .swiper-prev { left: .4rem; }
.swiper-slides .swiper-next { right: .4rem; }
.swiper-thumbs { flex: none; width: 8.4rem; height: 44rem; overflow: hidden; }
.swiper-thumbs .swiper-slide { width: 8.4rem; height: 8.4rem; }
.sku__thumb { display: flex; align-items: center; justify-content: center; width: 8.4rem; height: 8.4rem; margin: 0; padding: .6rem; border: 1px solid var(--sen); border-radius: var(--r); background: #fff; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.sku__thumb img { max-width: 100%; max-height: 100%; mix-blend-mode: multiply; }
.swiper-thumbs .swiper-slide-thumb-active .sku__thumb, .sku__thumb:hover { border-color: var(--ai); box-shadow: inset 0 0 0 1px var(--ai); }
.swiper-lazy-preloader { border-color: var(--ai); border-top-color: transparent; }
.sku__desc { padding: 0 0 0 1.6rem; }
.sku__readmore { margin: 0 0 2.4rem; font-size: 1.5rem; line-height: 1.9; color: var(--sumi-2); }
.sku__readmore p:last-child { margin: 0; }
.sku__readmore-collapse { overflow: hidden; }
.sku__readmore-control { margin: 1rem 0 0; }
.sku__reamore-toggle { display: inline-flex; align-items: center; gap: .4rem; font: 700 1.4rem var(--font-go); letter-spacing: .06em; color: var(--ai); text-decoration: none; }
.sku__reamore-toggle svg { width: 1.6rem; height: 1.6rem; }
.sku__control { margin: 0 0 2rem; padding: 2rem; border: 1px solid var(--sen); border-top: 2px solid var(--ai); border-radius: var(--r); background: var(--washi); }
.sku__control .row { row-gap: 1.2rem; align-items: center; }
.sku__control .ui-select { margin: 0; }
.sku__control .col-xl-auto { min-width: 20rem; }
.sku__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem 1.2rem; margin: 0 0 2rem; }
:is(:lang(ja), :lang(jp)) .sku__price::before { content: '販売価格'; flex: 0 0 100%; font: 700 1.3rem/1.6 var(--font-go); letter-spacing: .14em; color: var(--nezu); }
.sku__price ins { text-decoration: none; font: 700 4.4rem/1.15 var(--font-min); letter-spacing: 0; color: var(--shu); }
.sku__price del { font-size: 1.7rem; color: var(--nezu-usui); }
.sku__action .ui-btn { min-width: 30rem; min-height: 6rem; padding: 0 4rem; font-size: 1.7rem; letter-spacing: .14em; }
/* dose tabs + pack rows (table view of the product page) */
.sku__tabs { margin: .8rem 0 0; }
.sku__tabs h2 { margin: 0 0 1.2rem; font-size: 2rem; }
.sku__tabs-control { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; border-bottom: 2px solid var(--ai); }
.sku__tabs-btn { min-height: 4.4rem; padding: 0 2rem; border: 1px solid var(--sen-koi); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; background: var(--kinu); color: var(--sumi-2); font: 700 1.6rem/1 var(--font-go); letter-spacing: .04em; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.sku__tabs-btn:hover { background: var(--washi); color: var(--ai); }
.sku__tabs-btn.is-active { border-color: var(--ai); background: var(--ai); color: #fff; }
.sku__tabs-wrapper { position: relative; }
.sku__tabs-content { display: none; border: 1px solid var(--sen-koi); border-top: 0; background: var(--washi); }
.sku__tabs-content.is-active { display: block; animation: aiFade .25s ease; }
.sku__tabs-content .products__list > li { margin: 0; }
.sku__tabs-content .products__list > li + li { border-top: 1px dotted var(--sen-koi); }
.sku__tabs-content .products__horizontal { border: 0; border-radius: 0; background: none; }
.sku__products .products { padding: 0; }
.sku__products .products__list { display: block; }
.sku__products .products__list > li { margin: 0 0 1rem; }
.products__horizontal { padding: 1.6rem 2rem; border: 1px solid var(--sen); border-radius: var(--r); background: var(--washi); transition: border-color .2s ease, background-color .2s ease; }
.products__horizontal:hover { border-color: var(--ai-mizu); background: #fff; }
.products__horizontal .row { align-items: center; row-gap: 1rem; }
.products__horizontal-title { margin: 0 0 .8rem; font: 600 1.8rem/1.45 var(--font-min); letter-spacing: .06em; }
.products__horizontal-info { list-style: none; margin: 0; padding: 0; font-size: 1.4rem; line-height: 1.7; color: var(--nezu); }
.full-amount-desc, .products__horizontal .full-amount-desc { font: 700 1.7rem/1.4 var(--font-go); color: var(--sumi); }
.products__horizontal-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .8rem; margin: 0; }
.products__horizontal-price ins { text-decoration: none; font: 700 2.6rem/1.2 var(--font-min); letter-spacing: 0; color: var(--shu); }
.products__horizontal-price del { font-size: 1.4rem; color: var(--nezu-usui); }
.products__horizontal-action { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; }
.products__horizontal-action .ui-btn { min-height: 4.6rem; padding: 0 2rem; font-size: 1.4rem; letter-spacing: .06em; }
/* tabs (description / reviews / write review) */
.tabs { padding: 6.4rem 0 0; }
.tabs__control { margin: 0 0 3.2rem; border-bottom: 1px solid var(--sen-koi); overflow-x: auto; scrollbar-width: none; }
.tabs__control::-webkit-scrollbar { display: none; }
.tabs__control-menu { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.tabs__control-btn { position: relative; display: inline-flex; align-items: center; gap: 1rem; min-height: 5.6rem; padding: 0 2.4rem; border: 0; background: none; color: var(--nezu); font: 600 1.7rem/1 var(--font-min); letter-spacing: .1em; white-space: nowrap; cursor: pointer; transition: color .2s ease; }
.tabs__control-btn svg { width: 2rem; height: 2rem; flex: none; }
.tabs__control-btn::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--shu); transform: scaleX(0); transition: transform .25s ease; }
.tabs__control-btn:hover { color: var(--sumi); }
.tabs__control-btn.is-active { color: var(--sumi); }
.tabs__control-btn.is-active svg { color: var(--shu); }
.tabs__control-btn.is-active::after { transform: scaleX(1); }
.tabs__content { display: none; }
.tabs__content.is-active { display: block; animation: aiFade .25s ease; }
.tabs .txt { max-width: 96rem; }
/* 商品情報: spec sheet (new block of the Japanese package) */
.data { position: relative; max-width: 96rem; margin: 0 0 4rem; }
.data__table { width: 100%; border-collapse: collapse; border: 1px solid var(--sen-koi); background: var(--washi); text-align: left; font-size: 1.5rem; line-height: 1.7; color: var(--sumi-2); }
.data__table th, .data__table td { padding: 1.2rem 1.8rem; border: 1px solid var(--sen-koi); vertical-align: middle; }
.data__table th { width: 28%; min-width: 15rem; background: var(--kinu); font-weight: 700; color: var(--sumi); }
.data__table td > svg { display: none; }       /* the multicolour pictograms do not belong on a spec sheet */
.data__table ul { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 2rem; list-style: none; margin: 0; padding: 0; }
.data__table ul > li { display: flex; align-items: center; gap: .6rem; }
.data__table ul > li img { display: block; width: 2.4rem; height: 2.4rem; object-fit: contain; }
/* 著者紹介: the author card under the description */
.doctor { display: flex; align-items: stretch; max-width: 96rem; margin: 5.6rem 0 0; border: 1px solid var(--sen); border-top: 3px double var(--sen-koi); background: var(--washi); }
.doctor__image { flex: 0 0 22rem; display: block; margin: 0; background: var(--kinu); }
.doctor__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.doctor__desc { flex: 1; min-width: 0; padding: 3.2rem 3.6rem; background: var(--asanoha) right top / 3rem auto; }
.doctor__title { display: block; margin: 0 0 1.6rem; font: 600 2.4rem/1.5 var(--font-min); letter-spacing: .1em; color: var(--sumi); }
.doctor__title small { display: flex; align-items: center; gap: 1rem; margin: 0 0 .8rem; font: 700 1.3rem/1.5 var(--font-go); letter-spacing: .16em; color: var(--ai); }
.doctor__title small::before { content: ''; width: 2.4rem; border-top: 1px solid var(--ai); }
.doctor__text { display: block; max-width: 60rem; margin: 0; font-size: 1.5rem; line-height: 1.95; color: var(--sumi-2); }
/* reviews */
.reviews .page { display: none; }
.reviews .page.active { display: block; }
.reviews__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; max-width: 96rem; }
.reviews__item { padding: 2.4rem; border: 1px solid var(--sen); border-radius: var(--r); background: var(--washi); }
.reviews__item .row { align-items: flex-start; }
.reviews__item-letters { display: flex; align-items: center; justify-content: center; width: 4.8rem; height: 4.8rem; border: 1px solid var(--ai); border-radius: 50%; background: var(--ai-usui); color: var(--ai); font: 600 1.7rem var(--font-min); }
.reviews__item-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; margin: 0 0 1rem; }
.reviews__item-name span { font: 600 1.7rem/1.5 var(--font-min); letter-spacing: .06em; color: var(--sumi); }
:is(:lang(ja), :lang(jp)) .reviews__item-name span::after { content: ' 様'; font: 400 1.3rem/1 var(--font-go); color: var(--nezu); }
.reviews__item-verified { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .8rem; border: 1px solid var(--matsuba); border-radius: var(--r-s); font-size: 1.2rem; font-weight: 700; color: var(--matsuba); }
.reviews__item-rating { margin: .2rem 0 1rem; }
.reviews__item-body p, .reviews__item-wysiwyg p { margin: 0; font-size: 1.5rem; line-height: 1.9; }
.reviews__item-foot { margin: 1.2rem 0 0; padding: 1rem 0 0; border-top: 1px dotted var(--sen-koi); }
.reviews__item-helpful { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; margin: 0; padding: 0; font-size: 1.3rem; color: var(--nezu); }
.reviews__item-helpful .ui-link { cursor: pointer; }
/* review form */
.request { max-width: 96rem; }
.request__group { margin: 0 0 2.4rem; }
.request__group--02 .row { row-gap: 0; }
.request__group--05 .ui-label { margin-top: 1.2rem; }
.request__action .ui-btn { min-height: 5.6rem; padding: 0 3.2rem; }

/* =====================================================================
   購入ステップ — purchase flow (cart → checkout → done), added to the views
   ===================================================================== */
.kounyu-flow { counter-reset: flow; display: flex; list-style: none; max-width: 76rem; margin: 0 auto 3.2rem; padding: 0; border: 1px solid var(--sen-koi); background: var(--washi); }
.kounyu-flow > li { counter-increment: flow; position: relative; flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 5.2rem; padding: .8rem 1.2rem .8rem 2.4rem; font: 700 1.4rem/1.4 var(--font-go); letter-spacing: .08em; color: var(--nezu-usui); }
.kounyu-flow > li:first-child { padding-left: 1.2rem; }
.kounyu-flow > li::before { content: counter(flow, cjk-ideographic); flex: none; width: 2.6rem; height: 2.6rem; border: 1px solid currentColor; font: 600 1.5rem/2.4rem var(--font-min); letter-spacing: 0; text-align: center; }
/* the arrow between two steps */
.kounyu-flow > li + li::after { content: ''; position: absolute; left: -1.05rem; top: 50%; width: 2rem; height: 2rem; margin-top: -1rem; border-top: 1px solid var(--sen-koi); border-right: 1px solid var(--sen-koi); background: var(--washi); transform: rotate(45deg) scale(.86, .86) skew(8deg, 8deg); }
.kounyu-flow > li.is-done { color: var(--ai); }
.kounyu-flow > li.is-current { background: var(--ai); color: #fff; }
.kounyu-flow > li.is-current::before { border-color: #fff; background: #fff; color: var(--ai); }
.kounyu-flow > li.is-current + li::after { border-color: var(--ai); background: var(--ai); }

/* =====================================================================
   CART
   ===================================================================== */
.cart { padding: 2.4rem 0 0; }
.cart__title { margin-bottom: 2.4rem; }
.cart__counter { margin: -1.2rem 0 2.4rem; font: 700 1.3rem/1.4 var(--font-go); letter-spacing: .1em; color: var(--nezu); }
.cart__spacer { display: block; height: 1.2rem; }
.cart__subtitle { margin: 0 0 1.6rem; font-size: 2rem; }
.cart__wrapper { margin: 0 0 1.6rem; }
.cart__table { width: 100%; border: 1px solid var(--sen-koi); border-collapse: separate; border-spacing: 0; border-radius: var(--r); background: var(--washi); overflow: hidden; }
.cart__table thead th { padding: 1.2rem 1.6rem; border-bottom: 1px solid var(--sen-koi); background: var(--kinu); text-align: left; font: 700 1.3rem/1.5 var(--font-go); letter-spacing: .1em; color: var(--sumi); }
.cart__table tbody td { padding: 1.6rem; border-bottom: 1px solid var(--sen); vertical-align: middle; font-size: 1.5rem; }
.cart__table tbody tr:last-child td { border-bottom: 0; }
.cart__table-item { display: flex; align-items: center; gap: 1.6rem; }
.cart__table-item-image { flex: none; display: flex; align-items: center; justify-content: center; width: 7.6rem; height: 7.6rem; margin: 0; border: 1px solid var(--sen); background: #fff; }
.cart__table-item-image img { max-width: 100%; max-height: 100%; mix-blend-mode: multiply; }
.cart__table-item-desc { flex: 1; min-width: 0; }
.cart__table-item-title { margin: 0 0 .4rem; font: 600 1.7rem/1.5 var(--font-min); letter-spacing: .06em; }
.cart__table-item-title a { color: var(--sumi); }
.cart__table-item-title a:hover { color: var(--ai); }
.cart__table-item-info { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; list-style: none; margin: 0; padding: 0; font-size: 1.3rem; color: var(--nezu); }
.cart__table-upgrade { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; margin: 1.2rem 0 0; padding: 1rem 1.4rem; border: 1px solid #ecd9a8; border-radius: var(--r); background: var(--kincha-usui); color: var(--sumi); font-size: 1.3rem; }
.cart__table-upgrade .text-red { color: var(--shu); font-weight: 700; }
.cart__table-upgrade-btn { font: 700 1.3rem var(--font-go); color: var(--ai); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cart__table-qty, .cart__table-price { font-weight: 700; color: var(--sumi); white-space: nowrap; }
.cart__table-qty .ui-number { vertical-align: middle; }
.cart__table-price.summ, .cart__table-price .value { font-family: var(--font-min); }
.cart__table-price.summ .value { font-size: 2rem; }
.cart__table-delete { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: var(--r); color: var(--nezu-usui); transition: background-color .2s ease, color .2s ease; }
.cart__table-delete:hover { background: var(--shu-usui); color: var(--shu); }
.cart__table-delete svg { width: 2.2rem; height: 2.2rem; }
.cart__table-shipping { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .8rem; font-size: 1.4rem; color: var(--nezu); }
.cart__table-shipping-title { font-weight: 700; color: var(--sumi); }
.cart__table-shipping-price { display: none; }
.cart__table tfoot td { padding: 2rem 1.6rem; border-top: 2px solid var(--ai); background: var(--kinu); }
.cart__table tfoot .row { align-items: center; row-gap: 1.6rem; }
.cart__table-discount { display: flex; align-items: stretch; height: 4.8rem; max-width: 38rem; border: 1px solid var(--sen-koi); border-radius: var(--r); background: #fff; overflow: hidden; transition: border-color .2s ease; }
.cart__table-discount.is-success { border-color: var(--matsuba); }
.cart__table-discount.is-error { border-color: var(--shu); }
.cart__table-discount-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 4.4rem; margin: 0; border-right: 1px solid var(--sen); color: var(--kincha); }
.cart__table-discount-icon svg { width: 2rem; height: 2rem; }
.cart__table-discount-input { flex: 1; min-width: 0; height: 100%; padding: 0 1.2rem; border: 0; background: none; font: 400 1.6rem var(--font-go); color: var(--sumi); outline: none; }
.cart__table-discount-btn { height: 100%; padding: 0 1.8rem; border: 0; background: var(--ai); color: #fff; font: 700 1.4rem var(--font-go); letter-spacing: .1em; white-space: nowrap; cursor: pointer; transition: background-color .2s ease; }
.cart__table-discount-btn:hover { background: var(--ai-koi); }
.cart__table-total, .cart__table-amount { display: inline-block; white-space: nowrap; font: 700 3.2rem/1.2 var(--font-min); letter-spacing: 0; color: var(--shu); }
.cart__table-total small, .cart__table-amount small { display: inline-block; margin-right: 1.2rem; font: 700 1.4rem/1.4 var(--font-go); letter-spacing: .1em; color: var(--sumi); }
.cart__table-action { display: flex; justify-content: flex-end; }
.cart__table-action .ui-btn { min-width: 28rem; min-height: 5.6rem; font-size: 1.6rem; }

/* =====================================================================
   CHECKOUT — three numbered sheets (一 二 三)
   ===================================================================== */
.checkout { counter-reset: sho; padding: 3.2rem 0 0; }
.checkout .row { row-gap: 0; }
.checkout__shipping, .checkout__billing, .checkout__payment { margin: 0 0 2.4rem; padding: 2.8rem; border: 1px solid var(--sen); border-top: 2px solid var(--ai); border-radius: var(--r); background: var(--washi); }
.checkout__shipping-title, .checkout__billing-title, .checkout__payment-title { counter-increment: sho; display: flex; align-items: center; gap: 1.4rem; margin: 0 0 2.4rem; padding: 0 0 1.6rem; border-bottom: 1px solid var(--sen); font: 600 2.2rem/1.4 var(--font-min); letter-spacing: .1em; color: var(--sumi); }
.checkout__shipping-title::before, .checkout__billing-title::before, .checkout__payment-title::before { content: counter(sho, cjk-ideographic); flex: none; width: 3.6rem; height: 3.6rem; background: var(--shu); box-shadow: inset 0 0 0 2px var(--shu), inset 0 0 0 3px rgba(255, 255, 255, .6); font: 600 1.9rem/3.6rem var(--font-min); letter-spacing: 0; text-align: center; color: #fff; }
.checkout__shipping-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.checkout__shipping-list li { position: relative; }
.checkout__shipping-list .ui-check { display: flex; width: 100%; padding: 1.4rem 1.6rem; border: 1px solid var(--sen-koi); border-radius: var(--r); background: #fff; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.checkout__shipping-list .ui-check:hover { border-color: var(--nezu-usui); }
.checkout__shipping-list .ui-check:has(.ui-check__input:checked) { border-color: var(--ai); background: var(--ai-usui); box-shadow: inset 0 0 0 1px var(--ai); }
.checkout__billing-form .row { row-gap: 0; }
.checkout__billing-form .ui-placeholder, .checkout__billing-form .ui-select { margin: 0 0 1.6rem; }
.checkout__billing-form .ui-check { margin: .4rem 0 .8rem; }
.checkout__billing.is-another-address { border-top-style: dashed; }
.checkout__billing.is-another-address.is-hidden { display: none; }
.checkout__comments { margin: 0 0 2.4rem; padding: 2.4rem 2.8rem 1.2rem; border: 1px solid var(--sen); border-radius: var(--r); background: var(--washi); }
.checkout__comments .ui-textarea { min-height: 10rem; }
.checkout .col-xl-auto { width: 46rem; max-width: 100%; }
.checkout__payment-methods { margin: 0 0 2rem; }
#payment_methods_list { row-gap: 1rem; }
#payment_methods_list .ui-check { display: flex; width: 100%; }
.checkout__payment-card .row { row-gap: 1.2rem; }
.checkout__payment-card .ui-label { margin-top: .2rem; }
.checkout__payment-card .ui-input { margin: 0; }
.checkout__payment-bank p { display: none; margin: 0; padding: 1.4rem 1.6rem; border: 1px solid #ecd9a8; border-radius: var(--r); background: var(--kincha-usui); font-size: 1.4rem; line-height: 1.8; color: var(--sumi); }
.checkout__payment-bank p.active { display: block; }
.checkout form > .row > .col-12 > .ui-label { margin: .8rem 0; }
.checkout__action { display: flex; justify-content: flex-end; padding: .8rem 0 0; }
.checkout__action .ui-btn { min-width: 32rem; min-height: 6.4rem; padding: 0 4.8rem; font-size: 1.8rem; letter-spacing: .16em; }
/* thank-you / order sheet */
#toPrint { max-width: 90rem; }
.h3 { display: block; margin: 2.4rem 0; font: 600 clamp(2.4rem, 2rem + 1.1vw, 3.4rem)/1.5 var(--font-min); letter-spacing: .1em; color: var(--sumi); }
#productTable { margin: 0 0 2.4rem; border: 1px solid var(--sen-koi); background: var(--washi); }
p.invoice { display: grid; grid-template-columns: 20rem minmax(0, 1fr); margin: 0; border-bottom: 1px solid var(--sen-koi); font-size: 1.5rem; line-height: 1.7; }
p.invoice:last-child { border-bottom: 0; }
p.invoice label { margin: 0; padding: 1.1rem 1.6rem; border-right: 1px solid var(--sen-koi); background: var(--kinu); font-weight: 700; color: var(--sumi); }
p.invoice span { min-width: 0; padding: 1.1rem 1.6rem; color: var(--sumi); }
/* the "x" between quantity and product stays neutral: a red × reads as バツ (wrong / cancelled) */
p.invoice b { margin: 0 .1rem; font-weight: 500; color: var(--nezu); }
/* お振込先: the one block the customer has to copy */
#productTable.bankdetails, .bankdetails { border-color: #d9c48b; }
.bankdetails p.invoice label { background: var(--kincha-usui); }
#bankdetail-header { margin: 0; padding: 1.2rem 1.6rem; border-bottom: 1px solid #d9c48b; background: var(--kincha-usui); font: 600 1.8rem/1.5 var(--font-min); letter-spacing: .1em; color: var(--sumi); }
#print { margin: 2.4rem 0; }
/* the print button is a secondary action (its markup carries an inline "border: 0", hence the inset ring) */
#print .ui-btn { min-height: 4.8rem; padding: 0 2.8rem; background: var(--washi); color: var(--ai); box-shadow: inset 0 0 0 1px var(--ai); cursor: pointer; }
#print .ui-btn:hover { background: var(--ai-usui); }
.orderpage-levels { display: flex; flex-wrap: wrap; gap: 1.2rem 3.2rem; list-style: none; margin: 0; padding: 0; }
.orderpage-levels li { font: 700 1.3rem/1.4 var(--font-go); letter-spacing: .08em; color: var(--nezu-usui); }
.orderpage-levels li.active { color: var(--ai); }

/* =====================================================================
   STATIC PAGES, CONTACTS, ABOUT, FAQ
   ===================================================================== */
.page, .faq, .about, .contacts { padding: 2.4rem 0 0; }
.page__title { margin-bottom: 2.4rem; }
.page__wysiwyg { max-width: 96rem; }
.page__affiliates { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4.8rem; align-items: start; }
.page__affiliates picture img { display: block; width: 100%; margin: 0 0 2.4rem; border-radius: var(--r); }
.page__form { padding: 2.8rem; border: 1px solid var(--sen); border-top: 2px solid var(--ai); border-radius: var(--r); background: var(--washi); }
.page__form .row { row-gap: 0; }
.page__form .ui-label { margin-top: .8rem; }
.contacts__form { max-width: 76rem; }
#contactSupport img { display: block; max-width: 100%; height: auto; }
/* about page: photo band with the title on a paper plate */
.topbar { position: relative; margin: 0 0 4rem; background: var(--kon); color: #fff; overflow: hidden; }
.topbar__image { display: block; height: 30rem; margin: 0; }
.topbar__image img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.topbar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 32, 64, .86) 0%, rgba(15, 32, 64, .5) 55%, rgba(15, 32, 64, .2) 100%), var(--asanoha-shiro); pointer-events: none; }
.topbar__breadcrumbs { position: absolute; top: 2rem; left: 0; right: 0; z-index: 2; }
.topbar__breadcrumbs .container-fluid { padding: 0 2.4rem; }
.topbar__breadcrumbs-link { color: rgba(255, 255, 255, .78); }
.topbar__breadcrumbs-link:hover { color: #fff; }
.topbar__breadcrumbs-link.is-active { color: #fff; }
.topbar__breadcrumbs-menu li + li::before { border-color: rgba(255, 255, 255, .6); }
.topbar__desc { position: absolute; left: 0; right: 0; bottom: 4.8rem; z-index: 2; }
.topbar__title { margin: 0; font: 600 clamp(3rem, 2.2rem + 2.4vw, 5.2rem)/1.4 var(--font-min); letter-spacing: .14em; color: #fff; }
.topbar__title::after { content: ''; display: block; width: 9.6rem; margin: 1.6rem 0 0; border-top: 3px double #f0d9a6; }
.about .page__wysiwyg { max-width: 96rem; }
/* FAQ: Q in an indigo square, A in a vermilion one */
.faq__accordion { max-width: 96rem; margin: 0 0 2.4rem; padding: 0; }
.faq__accordion dt { position: relative; margin: 1rem 0 0; padding: 1.6rem 5.2rem 1.6rem 6.4rem; border: 1px solid var(--sen-koi); border-radius: var(--r); background: var(--washi); font: 600 1.7rem/1.6 var(--font-min); letter-spacing: .06em; color: var(--sumi); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.faq__accordion dt::before { content: 'Q'; position: absolute; left: 1.6rem; top: 1.4rem; width: 3.2rem; height: 3.2rem; background: var(--ai); font: 600 1.8rem/3.2rem var(--font-min); letter-spacing: 0; text-align: center; color: #fff; }
.faq__accordion dt:hover { border-color: var(--ai); }
.faq__accordion dt svg { position: absolute; right: 1.6rem; top: 2.2rem; width: 2rem; height: 2rem; color: var(--ai); transition: transform .25s ease; }
.faq__accordion dt.is-active { border-color: var(--ai); border-radius: var(--r) var(--r) 0 0; background: var(--ai-usui); }
.faq__accordion dt.is-active svg { transform: rotate(180deg); }
.faq__accordion dd { position: relative; display: none; margin: 0; padding: 1.8rem 2rem 2rem 6.4rem; border: 1px solid var(--ai); border-top: 0; border-radius: 0 0 var(--r) var(--r); background: #fff; font-size: 1.5rem; line-height: 1.95; color: var(--sumi-2); }
.faq__accordion dd::before { content: 'A'; position: absolute; left: 1.6rem; top: 1.6rem; width: 3.2rem; height: 3.2rem; background: var(--shu); font: 600 1.8rem/3.2rem var(--font-min); letter-spacing: 0; text-align: center; color: #fff; }
.faq__accordion dd p:last-child { margin: 0; }
.nav-aside { margin: 0 0 2.4rem; }
.nav-aside__toggle { display: none; }
.nav-aside__menu { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.nav-aside__link { display: inline-flex; align-items: center; min-height: 4rem; padding: .6rem 1.6rem; border: 1px solid var(--sen-koi); border-radius: var(--r); background: var(--washi); color: var(--sumi); font: 500 1.4rem/1.4 var(--font-go); letter-spacing: .06em; text-decoration: none; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.nav-aside__link:hover { border-color: var(--ai); color: var(--ai); }
.nav-aside__link.is-active { background: var(--ai); border-color: var(--ai); color: #fff; }
/* age / terms warning widget (markup injected by the site) */
.ui-warning { position: relative; z-index: 100; display: inline-block; }
.ui-warning__caption { display: flex; align-items: center; gap: 1rem; margin: 0; padding: 1rem 1.4rem; border: 1px solid #ecd9a8; border-radius: var(--r); background: var(--kincha-usui); color: var(--sumi); font-size: 1.4rem; }
.ui-warning__icon { width: 2.4rem; height: 2.4rem; margin: 0; }
.ui-warning__text { flex: 1; margin: 0; }
.ui-warning__terms { position: fixed; inset: 0; z-index: 4000; background: var(--washi); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s; overflow: auto; }
.is-warning-open .ui-warning__terms { opacity: 1; visibility: visible; pointer-events: auto; }
.ui-warning__terms-head { display: flex; align-items: center; gap: 1.2rem; height: 6rem; padding: 0 2.4rem; background: var(--kon); color: #fff; font: 600 1.7rem var(--font-min); letter-spacing: .1em; }
.ui-warning__terms-body { padding: 2.4rem; }
.ui-warning__close { width: 4rem; height: 4rem; margin-left: auto; border: 0; background: none; color: inherit; }
.ui-warning__title { font: 600 1.8rem var(--font-min); }
div.error { padding: 4rem 0; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (min-width: 1200px) {
    /* cart footer: coupon on the left, total and the checkout button on the right */
    .cart__table tfoot .row { flex-wrap: nowrap; column-gap: 1.6rem; }
    /* お客様の声: app.min.js spaces the three slides 100px apart. Each card is drawn 7.6rem wider than its slide and the
       slider gives the same 7.6rem back on the right, so the gaps close to 2.4rem while the row still ends at the column edge. */
    .swiper-customers { margin-right: 7.6rem; overflow: visible; clip-path: inset(0 -7.6rem 0 0); }
    .swiper-customers .customers__item { margin-right: -7.6rem; }
    .customers .swiper-control { right: -7.6rem; }
}
@media (max-width: 1199.98px) {
    .main { padding-bottom: 6.4rem; }
    .products-featured__list, .products__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    :is(:lang(ja), :lang(jp)) .intro::after { display: none; }
    .intro .container-fluid::after { right: 3.2rem; top: 3rem; width: 28rem; height: 28rem; }
    .intro .container-fluid::before { right: 27rem; top: 20rem; width: 11rem; height: 11rem; }
    .intro__desc { min-height: 32rem; max-width: 54rem; }
    .intro__swiper { margin-top: 4.8rem; }
    .benefits__section:first-child { padding: 4rem 3.2rem 0; }
    .sku__desc { padding: 2.4rem 0 0; }
    .sku__image { height: 40rem; }
    .swiper-thumbs { height: 40rem; }
    .checkout .col-xl-auto { width: 100%; }
    .header__catalog-cards { grid-template-columns: 1fr; }
    .cart__table-action { justify-content: stretch; }
    .cart__table-action .ui-btn { width: 100%; }
    .cart__table-total { display: block; text-align: right; }
}
@media (max-width: 991.98px) {
    .products-featured__list, .products__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .benefits__list { grid-template-columns: 1fr; }
    .benefits__list > li + li { border-left: 0; border-top: 1px solid var(--sen); }
    .blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page__affiliates { grid-template-columns: 1fr; }
    .swiper-thumbs { display: none; }
    .swiper-gallery { display: block; }
    .sku__image { height: 34rem; }
    .intro .container-fluid::after { right: 2.4rem; top: 4rem; width: 22rem; height: 22rem; }
    .intro .container-fluid::before { right: 21rem; top: 18rem; width: 8rem; height: 8rem; }
    .intro__desc { max-width: 44rem; min-height: 28rem; }
    :is(:lang(ja), :lang(jp)) .intro__line::after { max-width: 40rem; }
    .doctor__image { flex-basis: 18rem; }
    .doctor__desc { padding: 2.4rem; }
}
@media (max-width: 767.98px) {
    body { font-size: 1.5rem; }
    .container-fluid { padding: 0 1.6rem; }
    .main { padding-bottom: 4.8rem; }
    /* section titles: the Latin caption moves under the title */
    .products-featured__title, .products__title, .customers__title, .blog__title, .cart__title, .contacts__title, .page__title, .search-results__title { margin-bottom: 2.4rem; padding-left: 1.6rem; }
    .products-featured__title::after, .customers__title::after, .blog__title::after, .cart__title::after, .contacts__title::after, .search-results__title::after { flex: 0 0 100%; font-size: 1.1rem; }
    /* intro: a small round window beside the title */
    .intro { padding: 2.8rem 0 2.4rem; }
    .intro::before { inset: 0 0 0 30%; }
    .intro__desc { min-height: 0; max-width: none; }
    :is(:lang(ja), :lang(jp)) .intro__desc::before { margin-bottom: 1.6rem; font-size: 1.2rem; letter-spacing: .12em; }
    .intro__title { max-width: calc(100% - 14.4rem); min-height: 12rem; margin-bottom: 2rem; }
    .intro .container-fluid::after { right: 2.4rem; top: 5.2rem; width: 12rem; height: 12rem; box-shadow: 0 0 0 1px var(--kincha), 0 0 0 .6rem var(--kinari), 0 0 0 calc(.6rem + 1px) var(--kincha); }
    .intro .container-fluid::before { right: 12.8rem; top: 14rem; width: 4.4rem; height: 4.4rem; background-size: 1.6rem auto; }
    :is(:lang(ja), :lang(jp)) .intro__line::after { max-width: calc(100vw - 3.2rem); margin-top: 1.6rem; font-size: 1.5rem; }
    .intro__swiper { margin-top: 2.8rem; }
    .intro__item { padding: 1.8rem 1.6rem; }
    .products-featured { padding-top: 4.8rem; }
    .products-featured__list, .products__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .products__item { padding: 1rem; }
    .products__item .sku__badges { top: 1.6rem; right: 1.6rem; }
    .products__item-image { margin-bottom: 1.2rem; padding: 1rem; }
    .products__item-title { font-size: 1.6rem; }
    .products__item-price ins { font-size: 2.2rem; }
    .products__item-action .ui-btn { min-height: 4.4rem; padding: 0 .4rem; font-size: 1.3rem; letter-spacing: .02em; }
    .products-featured:has(.products-featured__title) .products__item::before { left: 1rem; width: 2.8rem; height: 3.8rem; font-size: 1.6rem; }
    .blog-featured, .benefits, .welcome { padding-top: 4.8rem; }
    .customers { padding-top: 4.8rem; }
    .blog-featured__all { margin-bottom: 2.4rem; }
    :is(:lang(ja), :lang(jp)) .blog-featured__all::before { padding-left: 1.6rem; }
    .swiper-blog .swiper-prev, .swiper-blog .swiper-next { display: none; }
    .benefits__section:first-child { padding: 3.2rem 2.4rem 0; }
    .benefits__section:first-child::before { inset: .6rem; }
    .benefits__section:first-child .row > [class*="col"] { flex: 0 0 100%; max-width: 100%; }
    .benefits__logo img { height: 4rem; }
    .benefits__steps { gap: .8rem; padding-bottom: 2.8rem; }
    .benefits__step { min-width: 0; flex: 1 1 100%; }
    .benefits__image { text-align: center; }
    .benefits__image img { max-height: 28rem; }
    .benefits__item { padding: 2rem 1.6rem; }
    .welcome .container-fluid { padding-top: 3.2rem; padding-bottom: 2.4rem; }
    .welcome .container-fluid::before { inset: 0 1.6rem; }
    .welcome .container-fluid::after { right: calc(1.6rem + 1px); width: 50%; opacity: .7; }
    .welcome .container-fluid > * { margin-left: 2rem; margin-right: 2rem; }
    .methods__title { margin-bottom: 1.2rem; }
    .methods__list { gap: .8rem; }
    .methods__list > li { flex-basis: calc((100% - 1.6rem) / 3); }
    .methods__image { height: 4.8rem; padding: .8rem 1rem; }
    .swiper-control { display: none; }
    .swiper-customers { margin-top: 0; padding-top: 0; padding-bottom: 3.2rem; }
    .blog__grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .sku__gallery { padding: 1.2rem; }
    .sku__image { height: 28rem; }
    .sku__control { padding: 1.6rem; }
    .sku__price ins { font-size: 3.6rem; }
    .sku__action .ui-btn { width: 100%; min-width: 0; }
    .sku__control .row > [class*="col"] { flex: 0 0 100%; max-width: 100%; min-width: 0; }
    .sku__tabs-btn { padding: 0 1.4rem; font-size: 1.5rem; }
    .tabs { padding-top: 4rem; }
    .tabs__control-btn { min-height: 4.8rem; padding: 0 1.4rem; font-size: 1.5rem; letter-spacing: .04em; }
    .tabs__control-btn svg { display: none; }
    .products__horizontal { padding: 1.4rem 1.6rem; }
    .products__horizontal-action { justify-content: stretch; }
    .products__horizontal-action .ui-btn { width: 100%; }
    /* spec sheet: label above value */
    .data__table, .data__table tbody, .data__table tr, .data__table th, .data__table td { display: block; width: auto; }
    .data__table th, .data__table td { border: 0; }
    .data__table th { min-width: 0; padding: .7rem 1.4rem; border-top: 1px solid var(--sen-koi); font-size: 1.4rem; }
    .data__table tr:first-child th { border-top: 0; }
    .data__table td { padding: 1rem 1.4rem 1.2rem; }
    .doctor { display: block; margin-top: 4rem; }
    .doctor__image { width: 12rem; height: 12rem; margin: 2.4rem 0 0 2rem; border: 1px solid var(--sen-koi); border-radius: 50%; overflow: hidden; }
    .doctor__desc { padding: 1.6rem 2rem 2.4rem; background: none; }
    .doctor__title { font-size: 2.1rem; }
    .reviews__item { padding: 1.6rem; }
    /* purchase flow: three compact cells */
    .kounyu-flow { margin-bottom: 2.4rem; }
    .kounyu-flow > li { flex-direction: column; gap: .4rem; min-height: 0; padding: .8rem .4rem .8rem 1.2rem; font-size: 1.2rem; letter-spacing: .02em; text-align: center; }
    .kounyu-flow > li:first-child { padding-left: .4rem; }
    .kounyu-flow > li::before { width: 2.2rem; height: 2.2rem; font-size: 1.3rem; line-height: 2rem; }
    .kounyu-flow > li + li::after { left: -.85rem; width: 1.6rem; height: 1.6rem; margin-top: -.8rem; }
    /* Cart / checkout table on phones: every table box becomes a block, so the table can never be
       wider than the screen (a real <table> cannot shrink below its content, colspan cells included). */
    .cart__table, .cart__table tbody, .cart__table tfoot, .cart__table tr, .cart__table td { display: block; width: 100%; min-width: 0; }
    .cart__table thead { display: none; }
    .cart__table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "item item" "qty del" "price sum"; gap: 1.2rem 1.6rem; align-items: center; padding: 1.4rem; border-bottom: 1px solid var(--sen); }
    .cart__table tbody tr:last-child { border-bottom: 0; }
    .cart__table tbody td { padding: 0; border: 0; }
    .cart__table tbody tr.position td:nth-child(1) { grid-area: item; }
    .cart__table tbody tr.position td:nth-child(2) { grid-area: qty; }
    .cart__table tbody tr.position td:nth-child(3) { grid-area: price; }
    .cart__table tbody tr.position td:nth-child(4) { grid-area: sum; text-align: right; }
    .cart__table tbody tr.position td:nth-child(5) { grid-area: del; text-align: right; }
    /* checkout mode prints no stepper: the quantity cell is empty, so the card has two rows only */
    .cart__table tbody tr.position:not(:has(.ui-number)) { grid-template-areas: "item item" "price sum"; }
    .cart__table tbody tr.position:not(:has(.ui-number)) td:nth-child(2) { display: none; }
    /* the two amounts get their column names back */
    :is(:lang(ja), :lang(jp)) .cart__table tbody tr.position td:nth-child(3)::before { content: '単価'; }
    :is(:lang(ja), :lang(jp)) .cart__table tbody tr.position td:nth-child(4)::before { content: '小計'; }
    .cart__table tbody tr.position td:nth-child(3)::before, .cart__table tbody tr.position td:nth-child(4)::before { margin-right: .8rem; font: 500 1.2rem/1 var(--font-go); color: var(--nezu); }
    /* checkout: shipping row = description | price */
    .cart__table tbody tr:not(.position) { grid-template-areas: none; grid-template-columns: minmax(0, 1fr) auto; }
    .cart__table tbody td[colspan="2"] { text-align: right; }
    .cart__table-item { gap: 1.2rem; align-items: flex-start; }
    .cart__table-item-image { width: 6.4rem; height: 6.4rem; }
    .cart__table-item-title { font-size: 1.6rem; }
    .cart__table tfoot td { padding: 1.6rem 1.4rem; }
    .cart__table tfoot td[colspan="3"] { display: none; }
    .cart__table tfoot .row > [class*="col"] { flex: 0 0 100%; max-width: 100%; }
    .cart__table-total, .cart__table-amount { display: block; font-size: 2.8rem; text-align: right; }
    .cart__table-total small, .cart__table-amount small { float: left; margin: 1rem 0 0; }
    .cart__table-discount { max-width: none; }
    .cart__table-action .ui-btn { min-width: 0; }
    .checkout__shipping, .checkout__billing, .checkout__payment { padding: 2rem 1.6rem; }
    .checkout__comments { padding: 1.6rem 1.6rem .4rem; }
    .checkout__shipping-title, .checkout__billing-title, .checkout__payment-title { margin-bottom: 2rem; padding-bottom: 1.4rem; font-size: 1.9rem; letter-spacing: .06em; }
    .checkout__action .ui-btn { width: 100%; min-width: 0; padding: 0 1.6rem; }
    .topbar__image { height: 22rem; }
    .topbar__desc { bottom: 2.8rem; }
    .page__form { padding: 2rem 1.6rem; }
    .faq__accordion dt { padding: 1.4rem 4.4rem 1.4rem 5.6rem; font-size: 1.6rem; }
    .faq__accordion dt::before { left: 1.2rem; top: 1.2rem; }
    .faq__accordion dt svg { right: 1.2rem; top: 2rem; }
    .faq__accordion dd { padding: 1.6rem 1.6rem 1.8rem 5.6rem; }
    .faq__accordion dd::before { left: 1.2rem; }
    p.invoice { grid-template-columns: 13rem minmax(0, 1fr); font-size: 1.4rem; }
    p.invoice label, p.invoice span { padding: 1rem 1.2rem; }
    .cookies { left: 0; right: 0; bottom: 0; padding-right: 4.8rem; border-left: 0; border-right: 0; border-bottom: 0; border-radius: 0; }
    .cookies .close-column { position: absolute; top: 1.4rem; right: 1.4rem; flex: none; width: auto; max-width: none; padding: 0; }
    .scrolltop { bottom: 9.6rem; }
    .footer { margin-top: 6.4rem; padding: 4.8rem 0 3.2rem; }
}
@media (max-width: 479.98px) {
    .intro__title { font-size: 3.2rem; }
    .products__item-control .selectric .label { font-size: 1.3rem; }
    .benefits__title { font-size: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* below-the-fold blocks are laid out only when they come near the viewport */
@supports (content-visibility: auto) {
    .benefits, .welcome, .methods, .logotypes, .customers { content-visibility: auto; contain-intrinsic-size: auto 60rem; }
}
@media print {
    .header, .footer, .cookies, .scrolltop, .breadcrumbs, #print, .kounyu-flow { display: none !important; }
    body { background: #fff; }
}
