/* ==========================================================================
   日本くすり Wa — main.css
   Palette: 藍 ai (indigo) · 朱 shu (vermilion) · 若竹 take (green) · 生成 kinari (washi)
   Japanese system fonts only — no web-font download.
   ========================================================================== */

:root {
	--ai: #1f3a60;
	--ai-dark: #142843;
	--ai-light: #e8edf4;
	--shu: #c8372d;
	--shu-dark: #a52a22;
	--take: #2e7d5b;
	--take-light: #e7f3ec;
	--kinari: #f7f4ec;
	--kin: #b8892b;
	--sumi: #222;
	--muted: #5f6368;
	--line: #e2ddd1;
	--bg: #fff;
	--radius: 8px;
	--shadow: 0 1px 2px rgba(20, 40, 67, .06), 0 4px 16px rgba(20, 40, 67, .06);
	--container: 1200px;
	--font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic Medium", "YuGothic", "Meiryo", system-ui, sans-serif;
	--font-mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
	--header-h: 64px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.8;
	letter-spacing: .02em;
	color: var(--sumi);
	background: var(--bg);
	word-break: normal;
	overflow-wrap: anywhere;
	line-break: strict;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--ai); text-underline-offset: .2em; }
a:hover { color: var(--shu); }
h1, h2, h3, h4 { line-height: 1.45; font-feature-settings: "palt"; letter-spacing: .04em; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid #f0b429; outline-offset: 2px; border-radius: 2px; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.nk-skip {
	position: absolute; left: 8px; top: -60px; z-index: 1000;
	background: var(--ai); color: #fff; padding: 10px 16px; border-radius: var(--radius); transition: top .15s;
}
.nk-skip:focus { top: 8px; color: #fff; }

.nk-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.nk-container--narrow { max-width: 860px; }
.nk-icon { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.nk-btn, .button, button.button, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	min-height: 44px; padding: .6em 1.4em; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.3;
	transition: background-color .15s, color .15s, border-color .15s;
}
.nk-btn--primary { background: var(--shu); color: #fff; }
.nk-btn--primary:hover { background: var(--shu-dark); color: #fff; }
.nk-btn--ghost { background: #fff; color: var(--ai); border-color: var(--ai); }
.nk-btn--ghost:hover { background: var(--ai); color: #fff; }

/* ---------- Top bar ---------- */
.nk-topbar { background: var(--ai); color: #fff; font-size: 13px; }
.nk-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.nk-topbar p { margin: 0; }
.nk-topbar__hours { display: none; align-items: center; gap: 6px; opacity: .9; }

/* ---------- Header ---------- */
.nk-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .nk-header { top: 46px; }
.nk-header.is-scrolled { box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.nk-header__inner {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px;
	min-height: var(--header-h);
}
.nk-logo { min-width: 0; }
.nk-logo a { text-decoration: none; color: var(--sumi); display: inline-flex; align-items: center; gap: 10px; }
.nk-logo img, .nk-logo .custom-logo { display: block; height: 46px; max-height: none; width: auto; max-width: min(200px, calc(100vw - 220px)); object-fit: contain; object-position: left center; }
.nk-logo .custom-logo-link { display: block; line-height: 0; }
.nk-logo__mark {
	display: inline-grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0;
	background: var(--shu); color: #fff; border-radius: 50%;
	font-family: var(--font-mincho); font-weight: 700; font-size: 22px; letter-spacing: 0;
}
.nk-logo__name { display: flex; flex-direction: column; white-space: nowrap; font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: .08em; }
.nk-logo__name small { font-size: 10px; font-weight: 400; color: var(--muted); letter-spacing: .02em; display: none; }

.nk-header__search { grid-column: 1 / -1; order: 5; padding-bottom: 10px; display: none; }
.nk-header__search.is-open { display: block; }
.nk-header__actions { display: flex; align-items: center; gap: 2px; justify-self: end; }

.nk-iconbtn {
	position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	min-width: 44px; min-height: 44px; padding: 4px 6px; background: none; border: 0; border-radius: var(--radius);
	color: var(--sumi); text-decoration: none; cursor: pointer; font-size: 10px; line-height: 1;
}
.nk-iconbtn:hover { background: var(--kinari); color: var(--ai); }
.nk-iconbtn__label { white-space: nowrap; }
.nk-cart-count {
	position: absolute; top: 2px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 9px; background: var(--shu); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}

/* Search form */
.nk-search { display: flex; width: 100%; border: 2px solid var(--ai); border-radius: 999px; overflow: hidden; background: #fff; }
.nk-search input[type="search"] { flex: 1; min-width: 0; border: 0; padding: 10px 16px; font-size: 16px; background: transparent; }
.nk-search input[type="search"]:focus { outline: none; }
.nk-search:focus-within { box-shadow: 0 0 0 3px rgba(240, 180, 41, .6); }
.nk-search button { border: 0; background: var(--ai); color: #fff; width: 52px; cursor: pointer; display: grid; place-items: center; }
.nk-search button:hover { background: var(--ai-dark); }

/* Global nav */
.nk-nav { display: none; background: #fff; border-top: 1px solid var(--line); }
.nk-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.nk-nav__list > li { position: relative; }
.nk-nav__list a { display: block; padding: 10px 16px; font-size: 14px; font-weight: 700; color: var(--sumi); text-decoration: none; }
.nk-nav__list > li > a:hover, .nk-nav__list .current-menu-item > a { color: var(--ai); box-shadow: inset 0 -3px 0 var(--shu); }
.nk-nav__list .sub-menu {
	list-style: none; margin: 0; padding: 6px 0; position: absolute; left: 0; top: 100%; min-width: 220px; z-index: 60;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nk-nav__list li:hover > .sub-menu, .nk-nav__list li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.nk-nav__list .sub-menu a { font-weight: 400; padding: 8px 16px; }
.nk-nav__list .sub-menu a:hover { background: var(--kinari); }

/* ---------- Drawer (mobile menu) ---------- */
.nk-drawer { position: fixed; inset: 0; z-index: 200; }
.nk-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.nk-drawer__panel {
	position: absolute; top: 0; left: 0; bottom: 0; width: min(86vw, 360px); background: #fff; overflow-y: auto;
	padding: 0 16px 32px; animation: nk-slide .2s ease-out;
}
@keyframes nk-slide { from { transform: translateX(-100%); } to { transform: none; } }
.nk-drawer__head { display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-weight: 700; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.nk-drawer__title { margin: 20px 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.nk-drawer__links { list-style: none; margin: 0; padding: 0; }
.nk-drawer__links a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--sumi); text-decoration: none; }
body.nk-lock { overflow: hidden; }

/* Category menu (drawer + shop sidebar) */
.nk-catmenu { list-style: none; margin: 0; padding: 0; }
.nk-catmenu li { border-bottom: 1px solid var(--line); }
.nk-catmenu a {
	display: flex; justify-content: space-between; align-items: center; gap: 8px;
	padding: 11px 4px; color: var(--sumi); text-decoration: none; font-size: 15px;
}
.nk-catmenu > li > a { font-weight: 700; }
.nk-catmenu > li > a::after { content: "›"; color: var(--muted); font-size: 18px; line-height: 1; }
.nk-catmenu > li > a:has(.nk-count)::after { content: none; }
.nk-catmenu a:hover { color: var(--shu); background: var(--kinari); }
.nk-catmenu .current-menu-item > a, .nk-catmenu .current-cat > a { color: var(--shu); }
.nk-catmenu .sub-menu { list-style: none; margin: 0 0 8px; padding: 0 0 0 12px; }
.nk-catmenu .sub-menu li { border: 0; }
.nk-catmenu .sub-menu a { padding: 6px 4px; font-size: 14px; color: var(--muted); justify-content: flex-start; gap: 0; }
.nk-catmenu .sub-menu a::before { content: "・"; }
.nk-count { font-size: 12px; font-weight: 400; color: var(--muted); background: var(--kinari); border-radius: 999px; padding: 0 8px; }

/* ---------- Layout ---------- */
.nk-main { padding: 16px 0 48px; min-height: 50vh; }
.nk-home { padding-top: 0; }
.nk-layout { display: grid; gap: 32px; }
.nk-layout__main { min-width: 0; }
.nk-layout__side { min-width: 0; }

.nk-breadcrumb { font-size: 12px; color: var(--muted); margin: 0 0 12px; overflow-x: auto; white-space: nowrap; }
.nk-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; }
.nk-breadcrumb li + li::before { content: "›"; margin: 0 8px; color: #aaa; }
.nk-breadcrumb a { color: var(--muted); }
.nk-breadcrumb .separator { margin: 0 6px; color: #aaa; }

.nk-page-head { margin-bottom: 20px; }
.nk-page-title {
	font-size: 24px; padding: 0 0 10px; margin: 0 0 12px; border-bottom: 2px solid var(--ai); position: relative;
}
.nk-page-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 2px; background: var(--shu); }
.nk-page-desc { color: #444; font-size: 15px; }
.nk-result-count { color: var(--muted); font-size: 14px; }

/* Section headings — bilingual label, washi rule */
.nk-section { padding: 40px 0; }
.nk-section--tint { background: var(--kinari); }
.nk-section__title { text-align: center; font-size: 22px; margin-bottom: 24px; }
.nk-section__title span[lang="en"] {
	display: block; font-size: 12px; letter-spacing: .3em; color: var(--shu); font-weight: 700; margin-bottom: 2px;
}
.nk-section__title::after { content: ""; display: block; width: 40px; height: 3px; background: var(--ai); margin: 10px auto 0; border-radius: 2px; }
.nk-section__title--sm { text-align: left; font-size: 19px; }
.nk-section__title--sm::after { margin-left: 0; }
.nk-more { text-align: center; margin: 24px 0 0; }

/* ---------- Hero ---------- */
.nk-hero {
	background-color: var(--ai);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='2'%3E%3Cpath d='M0 40a40 40 0 0 1 80 0M10 40a30 30 0 0 1 60 0M20 40a20 20 0 0 1 40 0M30 40a10 10 0 0 1 20 0M-40 20a40 40 0 0 1 80 0M-30 20a30 30 0 0 1 60 0M-20 20a20 20 0 0 1 40 0M40 20a40 40 0 0 1 80 0M50 20a30 30 0 0 1 60 0M60 20a20 20 0 0 1 40 0'/%3E%3C/g%3E%3C/svg%3E");
	color: #fff;
}
.nk-hero__inner { display: grid; gap: 20px; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.nk-hero__title { font-size: 24px; font-weight: 700; margin: 0 0 10px; line-height: 1.45; }
.nk-hero__lead { font-size: 15px; opacity: .92; margin-bottom: 18px; }
.nk-hero__media img { width: 100%; aspect-ratio: 12 / 5; object-fit: cover; border-radius: var(--radius); }

/* ---------- Trust badges ---------- */
.nk-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.nk-trust li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.nk-trust .nk-icon { color: var(--take); }
.nk-trust strong { display: block; font-size: 14px; line-height: 1.4; }
.nk-trust small { display: block; font-size: 11px; color: var(--muted); line-height: 1.4; }
.nk-trust--compact { margin: 16px 0; }
.nk-trust--compact li { padding: 8px 10px; background: var(--take-light); border-color: transparent; }
.nk-trust--compact strong { font-size: 13px; }
.nk-home__trust { margin-top: -20px; position: relative; }
.nk-home__trust .nk-trust li { box-shadow: var(--shadow); }

/* ---------- Home: category grid ---------- */
.nk-catgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.nk-catgrid a {
	display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
	height: 100%; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--sumi); text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.nk-catgrid a:hover { border-color: var(--ai); box-shadow: var(--shadow); color: var(--ai); }
.nk-catgrid__img, .nk-catgrid__icon { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.nk-catgrid__icon { display: grid; place-items: center; background: var(--ai-light); color: var(--ai); }
.nk-catgrid__name { font-weight: 700; font-size: 14px; line-height: 1.4; }
.nk-catgrid__count { font-size: 11px; color: var(--muted); }

/* ---------- Home: steps ---------- */
.nk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: none; }
.nk-steps li { background: #fff; border-radius: var(--radius); padding: 18px 18px 14px 64px; position: relative; border: 1px solid var(--line); }
.nk-steps__num {
	position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%;
	background: var(--ai); color: #fff; display: grid; place-items: center; font-weight: 700;
}
.nk-steps strong { display: block; margin-bottom: 2px; }
.nk-steps p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Cards (posts) ---------- */
.nk-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.nk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s; }
.nk-card:hover { box-shadow: var(--shadow); }
.nk-card__link { display: block; color: var(--sumi); text-decoration: none; height: 100%; }
.nk-card__media { aspect-ratio: 3 / 2; background: var(--kinari); display: grid; place-items: center; overflow: hidden; }
.nk-card__media img { width: 100%; height: 100%; object-fit: cover; }
.nk-card__placeholder { color: var(--line); }
.nk-card__body { padding: 12px 14px 16px; }
.nk-card__cat { display: inline-block; font-size: 11px; font-weight: 700; color: var(--ai); background: var(--ai-light); border-radius: 4px; padding: 1px 8px; margin-bottom: 6px; text-decoration: none; }
.nk-card__title { font-size: 15px; line-height: 1.6; margin: 0 0 6px; }
.nk-card__date { font-size: 12px; color: var(--muted); }

/* ---------- Entry content ---------- */
.nk-entry { font-size: 16px; }
.nk-entry > * + * { margin-top: 0; }
.nk-entry h2 {
	font-size: 21px; margin: 2em 0 .8em; padding: 12px 16px; background: var(--kinari);
	border-left: 5px solid var(--ai); border-radius: 0 var(--radius) var(--radius) 0;
}
.nk-entry h3 { font-size: 18px; margin: 1.8em 0 .7em; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.nk-entry h3::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--shu); border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.nk-entry h4 { font-size: 16px; margin: 1.5em 0 .5em; color: var(--ai); }
.nk-entry ul, .nk-entry ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.nk-entry li { margin-bottom: .3em; }
.nk-entry img { border-radius: 4px; }
.nk-entry blockquote { margin: 1.5em 0; padding: 12px 18px; border-left: 4px solid var(--line); background: #fafafa; color: #444; }
.nk-entry table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15px; display: block; overflow-x: auto; }
.nk-entry th, .nk-entry td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.nk-entry th { background: var(--kinari); white-space: nowrap; }
.nk-entry .wp-block-table table { display: table; }
.nk-entry .wp-block-table { overflow-x: auto; }
.nk-entry a { word-break: break-all; }
.nk-entry iframe { max-width: 100%; }
.nk-entry details { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 8px; padding: 0 16px; }
.nk-entry details summary { cursor: pointer; padding: 12px 0; font-weight: 700; }

/* FAQ shortcode */
.nk-faq { margin: 2em 0; }
.nk-faq__item { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 8px; background: #fff; padding: 0 !important; }
.nk-faq__item summary {
	list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 12px; padding: 14px 44px 14px 14px !important; position: relative; font-weight: 700;
}
.nk-faq__item summary::-webkit-details-marker { display: none; }
.nk-faq__item summary::after { content: "+"; position: absolute; right: 16px; top: 12px; font-size: 22px; color: var(--ai); line-height: 1; }
.nk-faq__item[open] summary::after { content: "−"; }
.nk-faq__q, .nk-faq__a-mark { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 700; font-size: 14px; }
.nk-faq__q { background: var(--ai); color: #fff; }
.nk-faq__a { display: flex; gap: 12px; padding: 0 14px 14px; }
.nk-faq__a-mark { background: var(--shu); color: #fff; }
.nk-faq__a p:last-child { margin: 0; }

/* Article */
.nk-post-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); }
.nk-article__thumb { margin: 0 0 20px; }
.nk-article__thumb img { width: 100%; border-radius: var(--radius); }
.nk-tags a { display: inline-block; font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin: 0 6px 6px 0; text-decoration: none; color: var(--muted); }
.nk-postnav { display: grid; gap: 12px; margin: 32px 0; }
.nk-postnav a { display: block; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--sumi); font-size: 14px; }
.nk-postnav small { display: block; color: var(--muted); font-size: 12px; }
.nk-postnav__next { text-align: right; }
.nk-related { margin-top: 40px; }

/* Supervisor (監修) + legal note */
.nk-supervisor { display: flex; gap: 14px; align-items: center; padding: 14px 16px; margin: 16px 0; border: 1px solid var(--line); border-left: 4px solid var(--take); border-radius: var(--radius); background: #fff; }
.nk-supervisor img { border-radius: 50%; width: 64px; height: 64px; object-fit: cover; }
.nk-supervisor p { margin: 0; line-height: 1.5; }
.nk-supervisor__label { font-size: 11px; font-weight: 700; color: var(--take); letter-spacing: .2em; }
.nk-supervisor__name { font-weight: 700; }
.nk-supervisor__title { font-size: 13px; color: var(--muted); }
.nk-legal-note { font-size: 12px; line-height: 1.7; color: var(--muted); background: #fafafa; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin: 16px 0; }

/* Widgets */
.nk-widget { margin-bottom: 28px; }
.nk-widget__title { font-size: 15px; padding: 10px 14px; margin: 0 0 4px; background: var(--ai); color: #fff; border-radius: var(--radius) var(--radius) 0 0; }
.nk-widget ul { list-style: none; margin: 0; padding: 0; }
.nk-widget > ul > li { border-bottom: 1px solid var(--line); }
.nk-widget > ul > li > a { display: block; padding: 10px 4px; color: var(--sumi); text-decoration: none; }

/* Pagination (posts) */
.nk-pagination, .navigation.pagination { margin: 32px 0; }
.nk-pagination .nav-links, .pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--sumi); }
.page-numbers.current { background: var(--ai); border-color: var(--ai); color: #fff; }
a.page-numbers:hover { border-color: var(--ai); color: var(--ai); }

/* 404 / none */
.nk-404 { text-align: center; padding-top: 24px; }
.nk-404__code { font-size: 80px; font-weight: 700; color: var(--line); line-height: 1; margin: 0; font-family: var(--font-mincho); }
.nk-404 .nk-search { max-width: 520px; margin: 24px auto; }
.nk-404 .nk-catmenu { text-align: left; max-width: 520px; margin: 0 auto 24px; }
.nk-404__sub { font-size: 17px; margin-top: 32px; }
.nk-none { padding: 24px; background: var(--kinari); border-radius: var(--radius); }

/* Comments */
.nk-comments { margin-top: 40px; }
.nk-comments__list { list-style: none; padding: 0; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 10px; border: 1px solid #bbb; border-radius: var(--radius); }

/* ---------- Footer ---------- */
.nk-footer { background: var(--ai-dark); color: #cfd7e2; font-size: 14px; }
.nk-footer a { color: #fff; text-decoration: none; }
.nk-footer a:hover { text-decoration: underline; color: #fff; }
.nk-footer__assure { background: var(--kinari); padding: 24px 0; color: var(--sumi); }

/* Support band */
.nk-footer__support { background: var(--ai); color: #fff; padding: 22px 0; }
.nk-footer__support-inner { display: grid; gap: 14px; align-items: center; }
.nk-footer__support-title { font-size: 17px; font-weight: 700; margin: 0 0 4px; letter-spacing: .06em; }
.nk-footer__support-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: 13px; opacity: .92; }
.nk-footer__support-meta span { display: inline-flex; align-items: center; gap: 6px; }
.nk-footer__support-btns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nk-footer__support-btns .nk-btn { min-height: 42px; font-size: 14px; padding: .5em 1.2em; }
.nk-footer .nk-btn--primary:hover, .nk-footer .nk-btn--light:hover { text-decoration: none; }
.nk-btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .55); }
.nk-btn--light:hover { background: #fff; color: var(--ai) !important; }

/* Main grid */
.nk-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 36px; padding-bottom: 24px; }
.nk-footer__brand { grid-column: 1 / -1; }
.nk-footer__logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: .1em; margin-bottom: 10px; }
.nk-footer__logo .nk-logo__mark { width: 36px; height: 36px; font-size: 19px; }
.nk-footer__about { font-size: 13px; line-height: 1.8; margin: 0 0 8px; }
.nk-footer__org { font-size: 12px; opacity: .8; margin: 0 0 12px; }
.nk-footer__title { font-size: 14px; color: #fff; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .15); position: relative; }
.nk-footer__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 28px; height: 1px; background: var(--shu); }
.nk-footer__links { list-style: none; margin: 0; padding: 0; }
.nk-footer__links li { margin: 0; }
.nk-footer__links a { display: block; padding: 7px 0; color: #cfd7e2; font-size: 13px; line-height: 1.5; }
.nk-footer__links a:hover { color: #fff; }
.nk-footer__all a { color: #fff; font-weight: 700; }

/* 営業日カレンダー */
.nk-cal { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 12px; margin-top: 8px; }
.nk-cal__title { font-size: 13px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.nk-cal__months { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nk-cal__table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 11px; text-align: center; }
.nk-cal__table caption { font-size: 12px; font-weight: 700; color: #fff; padding-bottom: 4px; }
.nk-cal__table th { font-weight: 400; color: #9fb0c5; padding: 2px 0; }
.nk-cal__table th.is-sun { color: #f09a93; }
.nk-cal__table th.is-sat { color: #93b6f0; }
.nk-cal__table td { padding: 3px 0; line-height: 1.5; color: #e6ebf1; border-radius: 3px; }
.nk-cal__table td.is-closed { background: var(--shu); color: #fff; font-weight: 700; }
.nk-cal__legend { font-size: 11px; line-height: 1.6; margin: 8px 0 0; color: #b6c2d1; display: flex; gap: 6px; align-items: flex-start; }
.nk-cal__swatch { flex-shrink: 0; width: 12px; height: 12px; margin-top: 3px; border-radius: 2px; background: var(--shu); }

/* Widgets (optional) */
.nk-footer__widgets { padding-bottom: 20px; }
.nk-footer__widgets h2, .nk-footer__widgets .nk-widget__title { font-size: 14px; background: none; padding: 0; margin: 12px 0 6px; color: #fff; }
.nk-footer__widgets ul { list-style: none; margin: 0; padding: 0; }

/* Payment + SSL */
.nk-footer__pay { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 16px; position: relative; }
.nk-footer__pay::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.nk-footer__pay-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nk-footer__pay-label { font-size: 12px; font-weight: 700; color: #fff; }
.nk-footer__pay ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nk-footer__pay li { background: #fff; color: var(--ai-dark); font-size: 12px; font-weight: 700; border-radius: 4px; padding: 3px 10px; line-height: 1.6; }
.nk-footer__ssl { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; margin: 0; color: #b6c2d1; }
.nk-footer__ssl .nk-icon { color: #7fd1a8; }

.nk-footer__legal { font-size: 12px; line-height: 1.7; color: #aeb8c6; border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0; margin: 0; }
.nk-footer__bottom-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.nk-footer__bottom .nk-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; }
.nk-footer__bottom .nk-footer__links a { font-size: 12px; padding: 4px 0; }
.nk-footer__bottom { background: #0b1829; text-align: center; padding: 14px 0 calc(14px + 64px + env(safe-area-inset-bottom)); font-size: 12px; color: #9fb0c5; }
body.nk-has-buybar .nk-footer__bottom { padding-bottom: calc(14px + 136px); }

/* Utilities */
.nk-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0 !important; }

/* Auto 目次 */
.nk-toc { margin: 1.5em 0 2em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--kinari); }
.nk-toc summary { cursor: pointer; padding: 12px 16px; font-weight: 700; color: var(--ai); list-style: none; }
.nk-toc summary::-webkit-details-marker { display: none; }
.nk-toc summary::before { content: "≡"; margin-right: 8px; }
.nk-toc ol { margin: 0; padding: 0 16px 14px 2.4em; counter-reset: none; }
.nk-toc li { margin: 0; padding: 4px 0; font-size: 15px; border-top: 1px dashed var(--line); }
.nk-toc li:first-child { border-top: 0; }
.nk-toc a { color: var(--sumi); text-decoration: none; }
.nk-toc a:hover { color: var(--shu); text-decoration: underline; }
.nk-entry h2[id], .nk-sp-section, #price-table, .nk-anchor { scroll-margin-top: 90px; }
@media (min-width: 960px) { .nk-entry h2[id], .nk-sp-section, #price-table, .nk-anchor { scroll-margin-top: 150px; } }

/* Mobile tab bar (fixed bottom nav — standard on Japanese mobile shops) */
.nk-tabbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(5, 1fr);
	background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
	box-shadow: 0 -2px 10px rgba(0, 0, 0, .05);
}
.nk-tabbar a, .nk-tabbar button {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px;
	background: none; border: 0; color: var(--muted); font-size: 10px; text-decoration: none; cursor: pointer; padding: 4px 0;
}
.nk-tabbar [aria-current="page"], .nk-tabbar a:hover, .nk-tabbar button:hover { color: var(--ai); }

.nk-totop {
	position: fixed; right: 14px; bottom: 76px; z-index: 80; width: 44px; height: 44px; border-radius: 50%;
	border: 0; background: var(--ai); color: #fff; box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center;
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 600px) {
	.nk-trust { grid-template-columns: repeat(4, 1fr); }
	.nk-catgrid { grid-template-columns: repeat(3, 1fr); }
	.nk-cards { grid-template-columns: repeat(2, 1fr); }
	.nk-steps { grid-template-columns: repeat(2, 1fr); }
	.nk-postnav { grid-template-columns: 1fr 1fr; }
	.nk-logo__name small { display: block; }
}

@media (min-width: 783px) {
	.admin-bar .nk-header { top: 32px; }
}

@media (min-width: 960px) {
	:root { --header-h: 84px; }
	.nk-topbar__hours { display: flex; }
	.nk-header__inner { grid-template-columns: auto minmax(280px, 560px) auto; gap: 24px; }
	.nk-menu-toggle { display: none; }
	.nk-search-toggle { display: none !important; }
	.nk-header__search { display: block; grid-column: auto; order: 0; padding: 0; }
	.nk-header__actions { gap: 8px; }
	.nk-iconbtn { font-size: 11px; }
	.nk-logo__mark { width: 48px; height: 48px; font-size: 26px; }
	.nk-logo img, .nk-logo .custom-logo { height: 68px; max-width: 300px; }
	.nk-logo__name { font-size: 24px; }
	.nk-topbar__inner p:first-child { white-space: nowrap; }
	.nk-nav { display: block; }

	.nk-main { padding-top: 20px; }
	.nk-layout--blog { grid-template-columns: minmax(0, 1fr) 300px; }
	.nk-layout--shop { grid-template-columns: 240px minmax(0, 1fr); }
	.nk-layout--shop .nk-layout__side { order: -1; }

	.nk-page-title { font-size: 28px; }
	.nk-section { padding: 56px 0; }
	.nk-section__title { font-size: 26px; }

	.nk-hero__inner { grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 48px; padding-bottom: 56px; }
	.nk-hero:not(.has-image) .nk-hero__inner { grid-template-columns: 1fr; text-align: center; }
	.nk-hero__title { font-size: 34px; }
	.nk-hero__lead { font-size: 17px; }
	.nk-home__trust { margin-top: -28px; }

	.nk-catgrid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
	.nk-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.nk-cards--2 { grid-template-columns: repeat(2, 1fr); }
	.nk-steps { grid-template-columns: repeat(4, 1fr); }
	.nk-steps li { padding: 64px 18px 18px; text-align: center; }
	.nk-steps__num { left: 50%; transform: translateX(-50%); }

	.nk-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
	.nk-footer__brand { grid-column: auto; }
	.nk-footer__support-inner { grid-template-columns: 1fr auto; }
	.nk-footer__bottom { padding-bottom: 14px; }
	body.nk-has-buybar .nk-footer__bottom { padding-bottom: 14px; }
	.nk-footer__bottom-inner { flex-direction: row; justify-content: space-between; }
	.nk-tabbar { display: none; }
	.nk-totop { bottom: 24px; right: 24px; }
	.nk-entry h2 { font-size: 23px; }
}

@media (max-width: 959px) {
	body { padding-bottom: 0; }
	.nk-layout__side.nk-shopside { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.nk-topbar, .nk-header, .nk-footer, .nk-tabbar, .nk-totop, .nk-layout__side { display: none !important; }
}
.nk-entry .nk-toc details, .nk-toc details { border: 0; margin: 0; padding: 0; }
.nk-entry .nk-toc summary { padding: 12px 16px; }
