/*
 * Crispa Theme Market – base (tokens, layout, header/footer, shared components).
 * Original stylesheet. White base; orange only for CTA, progress, selection and completion.
 */
:root {
	--c-main: #f36b21;          /* lines, rings, icons, progress */
	--c-btn: #c84a00;           /* CTA background / text on white (4.9:1) */
	--c-btn-hover: #a93e00;
	--c-tint: #fff3ea;
	--c-tint-2: #ffe6d4;
	--c-bg: #faf9f7;
	--c-white: #fff;
	--c-text: #222;
	--c-muted: #666;
	--c-line: #e8e3df;
	--c-ok: #1f7a4d;
	--c-radius-card: 16px;
	--c-radius-btn: 10px;
	--c-radius-input: 8px;
	--c-shadow-sm: 0 1px 2px rgb(34 34 34 / 5%);
	--c-shadow: 0 1px 2px rgb(34 34 34 / 4%), 0 12px 32px rgb(34 34 34 / 7%);
	--c-shadow-lg: 0 24px 60px rgb(34 34 34 / 12%);
	--c-focus: 0 0 0 3px #fff, 0 0 0 5px var(--c-btn);
	--c-header-h: 72px;
	--c-ease: cubic-bezier(.2, .8, .2, 1);
	--c-font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "BIZ UDPGothic", meiryo, system-ui, sans-serif;
	--c-container: 1200px;
}

/* Hand design tokens to the member-page plugin so its screens match this theme. */
body {
	--csbp-main: var(--c-main);
	--csbp-btn: var(--c-btn);
	--csbp-btn-hover: var(--c-btn-hover);
	--csbp-tint: var(--c-tint);
	--csbp-bg: var(--c-bg);
	--csbp-text: var(--c-text);
	--csbp-muted: var(--c-muted);
	--csbp-line: var(--c-line);
	--csbp-radius: var(--c-radius-card);
	--csbp-radius-btn: var(--c-radius-btn);
	--csbp-shadow: var(--c-shadow);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--c-header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--c-white); color: var(--c-text); font-family: var(--c-font); font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; line-break: strict; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--c-btn); text-underline-offset: .2em; }
a:hover { color: var(--c-btn-hover); }
:focus-visible { outline: none; box-shadow: var(--c-focus); border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
button { font: inherit; }
[hidden] { display: none !important; }
.u-phrase { display: inline-block; }
.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; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; }
.c-skip { position: absolute; left: 8px; top: -100px; z-index: 1000; background: var(--c-btn); color: #fff; padding: 8px 16px; border-radius: 8px; }
.c-skip:focus { top: 8px; color: #fff; }

/* ------------------------------------------------------------------ Layout */
.l-container { width: min(100% - 32px, var(--c-container)); margin-inline: auto; }
@media (min-width: 768px) { .l-container { width: min(100% - 48px, var(--c-container)); } }
.l-container.is-narrow { max-width: 820px; }
.l-section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.l-section.is-tight { padding-block: clamp(32px, 5vw, 56px); }
.l-section.is-tint { background: var(--c-bg); }
.l-section.is-warm { background: var(--c-tint); }
.l-main { display: block; min-height: 50vh; }
.l-main.is-wc { padding-block: 32px 64px; }
.c-center { text-align: center; margin-top: 40px; }

/* ------------------------------------------------------------------ Header */
.l-header { position: sticky; top: 0; z-index: 60; background: rgb(255 255 255 / 92%); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.admin-bar .l-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .l-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .l-header { top: 0; } }
.l-header.is-scrolled { border-color: var(--c-line); box-shadow: 0 4px 20px rgb(0 0 0 / 5%); }
.l-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--c-header-h); transition: min-height .25s var(--c-ease); }
.l-header.is-scrolled .l-header__inner { min-height: 60px; }
.c-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--c-text); text-decoration: none; font-weight: 800; font-size: 1.125rem; letter-spacing: .02em; margin: 0; }
.c-logo__mark { position: relative; width: 28px; height: 28px; border-radius: 9px; background: var(--c-main); overflow: hidden; }
.c-logo__mark::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 18px; height: 18px; border-radius: 6px; background: var(--c-btn); }
.custom-logo { max-height: 44px; width: auto; }
.l-header__toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; color: var(--c-text); cursor: pointer; }
.l-header__toggle-close { display: none; }
.l-header__toggle[aria-expanded="true"] .l-header__toggle-open { display: none; }
.l-header__toggle[aria-expanded="true"] .l-header__toggle-close { display: inline; }
.l-nav { display: none; }
/* Anchored to the header, not the viewport: the header's backdrop-filter would otherwise
   become the containing block for a fixed panel and squash it. */
.l-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: 0 16px 32px rgb(0 0 0 / 10%); padding: 8px 16px 32px; max-height: calc(100vh - var(--c-header-h)); max-height: calc(100dvh - var(--c-header-h)); overflow-y: auto; overscroll-behavior: contain; animation: c-fade-down .25s var(--c-ease); }
.l-nav__list { list-style: none; margin: 0; padding: 0; }
.l-nav__list > li > a, .l-nav__drop-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 6px; padding: 14px 4px; color: var(--c-text); text-decoration: none; font-weight: 700; border: 0; border-bottom: 1px solid var(--c-line); background: none; cursor: pointer; text-align: left; }
.l-nav__list a:hover, .l-nav__list .current-menu-item > a { color: var(--c-btn); }
.l-nav__drop-btn .c-icon { transition: transform .2s; }
.l-nav__drop-btn[aria-expanded="true"] .c-icon { transform: rotate(180deg); }
.l-nav__panel { padding: 8px 0 16px; }
.l-nav__panel[hidden] { display: none; }
.l-nav__panel-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.l-nav__panel-grid a { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--c-text); text-decoration: none; font-size: .9375rem; }
.l-nav__panel-grid a:hover { background: var(--c-tint); color: var(--c-btn-hover); }
.l-nav__panel-grid .c-icon { color: var(--c-main); }
.l-nav__panel-foot { margin: 8px 0 0; }
.l-nav__actions { display: grid; gap: 8px; margin-top: 20px; }
@media (min-width: 1024px) {
	.l-header__toggle { display: none; }
	.l-nav, .l-nav.is-open { display: flex; position: static; align-items: center; gap: 20px; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; animation: none; }
	.l-nav__list { display: flex; gap: 2px; align-items: center; }
	.l-nav__list > li { position: relative; }
	.l-nav__list > li > a, .l-nav__drop-btn { border: 0; padding: 8px 12px; font-size: .9375rem; border-radius: 10px; width: auto; }
	.l-nav__list > li > a:hover, .l-nav__drop-btn:hover { background: var(--c-tint); }
	.l-nav__panel { position: absolute; top: calc(100% + 10px); left: -12px; width: 460px; background: #fff; border: 1px solid var(--c-line); border-radius: 16px; box-shadow: var(--c-shadow-lg); padding: 16px; animation: c-fade-down .2s var(--c-ease); }
	.l-nav__actions { display: flex; margin: 0; }
}
@keyframes c-fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ----------------------------------------------------------------- Buttons */
.c-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--c-radius-btn); border: 1px solid transparent; font: inherit; font-weight: 700; line-height: 1.3; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--c-ease); }
.c-btn.is-primary { background: var(--c-btn); color: #fff; box-shadow: 0 6px 16px rgb(200 74 0 / 22%); }
.c-btn.is-primary:hover { background: var(--c-btn-hover); color: #fff; }
.c-btn.is-secondary { background: #fff; color: var(--c-btn); border-color: var(--c-btn); }
.c-btn.is-secondary:hover { background: var(--c-tint); color: var(--c-btn-hover); }
.c-btn.is-ghost { background: #fff; color: var(--c-text); border-color: var(--c-line); }
.c-btn.is-ghost:hover { border-color: var(--c-btn); color: var(--c-btn); }
.c-btn.is-small { min-height: 44px; padding: 8px 16px; font-size: .9375rem; }
.c-btn.is-large { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.c-btn.is-block { display: flex; width: 100%; }
.c-btn .c-icon { transition: transform .2s var(--c-ease); }
@media (prefers-reduced-motion: no-preference) {
	.c-btn:hover { transform: translateY(-1px); }
	.c-btn:hover .c-icon:last-child { transform: translateX(3px); }
}
.c-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--c-btn); }
.c-link.is-small { font-size: .875rem; }
.c-icon { flex: none; vertical-align: middle; }

/* -------------------------------------------------------------- Headings */
.c-section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); }
.c-section-head.is-left { text-align: left; margin-left: 0; }
.c-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--c-btn); font-weight: 700; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; }
.c-eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--c-main); border-radius: 2px; }
.c-section-title { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem); margin: 0; letter-spacing: .01em; }
.c-section-title.is-left { text-align: left; font-size: 1.375rem; margin: 40px 0 16px; }
.c-lead { color: var(--c-muted); margin: 14px auto 0; max-width: 40em; font-size: 1.0625rem; }
.c-note { color: var(--c-muted); font-size: .875rem; margin-top: 16px; }
.c-page-head { position: relative; overflow: hidden; background: var(--c-bg); padding: 24px 0 48px; border-bottom: 1px solid var(--c-line); }
.c-page-head::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, var(--c-tint), transparent 70%); pointer-events: none; }
.c-page-head > * { position: relative; }
.c-page-title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.625rem); margin: 8px 0 0; }
.c-page-head .c-lead { margin-left: 0; }
.c-breadcrumb ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .8125rem; color: var(--c-muted); }
.c-breadcrumb li + li::before { content: "›"; margin-right: 4px; color: #b5aca5; }
.c-breadcrumb a { color: var(--c-muted); }

/* ------------------------------------------------ Cards, chips, badges */
.c-card { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--c-radius-card); padding: clamp(22px, 3vw, 32px); box-shadow: var(--c-shadow-sm); transition: transform .25s var(--c-ease), box-shadow .25s; }
.c-card.is-hover:hover { transform: translateY(-4px); box-shadow: var(--c-shadow); }
.c-card.is-center { text-align: center; }
.c-card__title { display: flex; gap: 10px; align-items: center; font-size: 1.125rem; margin-bottom: 12px; }
.c-card__title .c-icon { color: var(--c-main); }
.c-icon-box { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--c-tint); color: var(--c-btn); margin-bottom: 16px; transition: transform .3s var(--c-ease); }
.c-card.is-hover:hover .c-icon-box { transform: rotate(-6deg) scale(1.05); }
.c-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; background: var(--c-tint); color: var(--c-btn-hover); font-size: .75rem; font-weight: 700; text-decoration: none; }
a.c-chip:hover { background: var(--c-tint-2); }
.c-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #fff; color: var(--c-text); box-shadow: var(--c-shadow-sm); }
.c-badge.is-new { background: var(--c-btn); color: #fff; }
.c-badge.is-pick { background: #222; color: #fff; }
.c-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.c-checks li { display: flex; gap: 8px; align-items: flex-start; }
.c-checks .c-icon { color: var(--c-main); margin-top: .3em; }
.c-checks.is-large { font-size: 1.0625rem; gap: 12px; margin: 24px 0; }
.c-price { font-size: 1.75rem; font-weight: 800; margin: 4px 0 12px; font-variant-numeric: tabular-nums; }
.c-price span { font-size: 1rem; }
.c-price small { font-size: .8125rem; font-weight: 400; color: var(--c-muted); }
.c-price.is-large { font-size: 2.5rem; }

/* ------------------------------------------------------ Mockup (original) */
.c-mock { --accent: var(--c-main); position: relative; border-radius: 12px; background: #fff; border: 1px solid var(--c-line); overflow: hidden; box-shadow: var(--c-shadow); font-size: 11px; aspect-ratio: 4 / 3; display: flex; flex-direction: column; }
.c-mock.is-large { border-radius: 16px; font-size: 14px; box-shadow: var(--c-shadow-lg); }
.c-mock.is-tablet { aspect-ratio: 3 / 4; max-width: 420px; margin-inline: auto; }
.c-mock.is-phone { aspect-ratio: 9 / 18; max-width: 260px; margin-inline: auto; border-radius: 28px; border-width: 8px; border-color: #222; }
.c-mock__bar { flex: none; display: flex; gap: 5px; align-items: center; padding: 8px 10px; background: #f4f1ee; }
.c-mock.is-phone .c-mock__bar { justify-content: center; }
.c-mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d9d2cb; }
.c-mock__url { margin-left: 8px; flex: 1; height: 14px; border-radius: 4px; background: #fff; }
.c-mock__viewport { position: relative; flex: 1; overflow: hidden; }
.c-mock__page { position: absolute; inset: 0 0 auto; transition: transform 4s ease-in-out; }
.c-mock__head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; }
.c-mock__logo { font-weight: 800; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.c-mock__menu { display: flex; gap: 5px; }
.c-mock__menu i { width: 22px; height: 5px; border-radius: 3px; background: #e9e3de; }
.c-mock__hero { margin: 0 12px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #000)); display: grid; align-content: center; gap: 10px; padding: 18px 16px; min-height: 9em; color: #fff; }
.c-mock__title { font-weight: 800; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-mock__btn { width: 70px; height: 14px; border-radius: 4px; background: #fff; }
.c-mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 12px 0; }
.c-mock__cards i { height: 4.2em; border-radius: 6px; background: color-mix(in srgb, var(--accent) 14%, #fff); }
.c-mock__lines { display: grid; gap: 5px; padding: 12px; }
.c-mock__lines i { height: 5px; border-radius: 3px; background: #eee9e4; }
.c-mock__lines i:nth-child(2n) { width: 70%; }
.c-mock__band { margin: 4px 12px; height: 6em; border-radius: 8px; background: color-mix(in srgb, var(--accent) 8%, #faf9f7); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
.c-mock__band i { border-radius: 6px; background: #fff; }
.c-mock__foot { margin-top: 8px; height: 4em; background: color-mix(in srgb, var(--accent) 80%, #000); }
.c-mock.is-phone .c-mock__cards { grid-template-columns: 1fr; }

/* ------------------------------------------------------------ Theme card */
.c-theme-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.c-theme-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--c-radius-card); overflow: hidden; transition: transform .3s var(--c-ease), box-shadow .3s; }
.c-theme-card:hover, .c-theme-card:focus-within { box-shadow: var(--c-shadow-lg); }
@media (prefers-reduced-motion: no-preference) { .c-theme-card:hover { transform: translateY(-6px); } }
.c-theme-card__media { position: relative; display: block; padding: 18px 18px 0; background: linear-gradient(180deg, var(--c-bg), #fff); }
.c-theme-card__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 10px 10px 0 0; transition: object-position 3s ease-in-out; }
.c-theme-card__media { container-type: inline-size; }
.c-theme-card__media .c-mock { font-size: clamp(8px, 3.6cqi, 12px); box-shadow: none; border-radius: 10px 10px 0 0; border-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
	.c-theme-card:hover .c-mock__page { transform: translateY(calc(-100% + var(--vh, 180px))); }
	.c-theme-card:hover .c-theme-card__media img { object-position: bottom; }
}
.c-theme-card__badges { position: absolute; top: 28px; left: 28px; display: flex; gap: 6px; z-index: 2; }
.c-theme-card__overlay { position: absolute; inset: 18px 18px 0; display: flex; gap: 8px; align-items: center; justify-content: center; background: rgb(34 34 34 / 45%); border-radius: 10px 10px 0 0; opacity: 0; transition: opacity .25s; z-index: 1; }
.c-theme-card:hover .c-theme-card__overlay, .c-theme-card__overlay:focus-within { opacity: 1; }
@media (hover: none) { .c-theme-card__overlay { display: none; } }
.c-theme-card__body { flex: 1; padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.c-theme-card__cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.c-theme-card__title { font-size: 1.1875rem; margin: 0; }
.c-theme-card__title a { color: var(--c-text); text-decoration: none; }
.c-theme-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.c-theme-card__title a:hover { color: var(--c-btn); }
.c-theme-card__desc { margin: 0; color: #4a4a4a; font-size: .9375rem; }
.c-theme-card__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.c-theme-card__tags li { font-size: .75rem; border: 1px solid var(--c-line); border-radius: 6px; padding: 1px 8px; color: var(--c-muted); }
.c-theme-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--c-line); }
.c-theme-card__price { margin: 0; font-weight: 800; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.c-theme-card__price small { font-size: .75rem; font-weight: 400; color: var(--c-muted); }
.c-theme-card__price.is-ask { font-size: .9375rem; font-weight: 700; color: var(--c-muted); }
.c-theme-card__demo { position: relative; z-index: 1; }
.c-theme-card__overlay .c-btn, .c-theme-card__demo { position: relative; z-index: 2; }

/* ----------------------------------------------------------------- Plans */
.c-plans { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 1024px) { .c-plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.c-plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: 20px; padding: 32px 26px; transition: transform .3s var(--c-ease), box-shadow .3s; height: 100%; }
.c-plan:hover { box-shadow: var(--c-shadow); }
.c-plan.is-recommended { border: 2px solid var(--c-main); box-shadow: var(--c-shadow-lg); }
@media (max-width: 1023px) { .c-plan.is-recommended { order: -1; } }
@media (min-width: 1024px) { .c-plan.is-recommended { padding-block: 44px; } }
.c-plan__badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); margin: 0; background: var(--c-btn); color: #fff; font-size: .8125rem; font-weight: 700; padding: 5px 16px; border-radius: 999px; white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.c-plan__name { font-size: 1.25rem; margin: 0; }
.c-plan__summary { color: var(--c-muted); font-size: .9375rem; min-height: 3.2em; margin: 6px 0 14px; }
.c-plan__price { font-size: 2.5rem; font-weight: 800; margin: 0 0 14px; font-variant-numeric: tabular-nums; line-height: 1.15; letter-spacing: -.01em; }
.c-plan__price span { font-size: 1rem; }
.c-plan__price small { font-size: .8125rem; font-weight: 400; color: var(--c-muted); }
.c-plan__inherit { margin: 0 0 10px; font-size: .8125rem; font-weight: 700; color: var(--c-btn-hover); background: var(--c-tint); border-radius: 6px; padding: 4px 10px; align-self: flex-start; }
.c-plan .c-checks { font-size: .9375rem; margin-bottom: 16px; }
.c-plan .c-btn { margin-top: auto; }

/* ----------------------------------------------------- Accordion (details) */
.c-acc { border: 1px solid var(--c-line); border-radius: 14px; background: #fff; }
.c-acc + .c-acc { margin-top: 10px; }
.c-acc > summary { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px 52px 16px 18px; min-height: 56px; font-weight: 700; cursor: pointer; list-style: none; }
.c-acc > summary::-webkit-details-marker { display: none; }
.c-acc > summary::after { content: ""; position: absolute; right: 20px; top: 22px; width: 10px; height: 10px; border-right: 2px solid var(--c-btn); border-bottom: 2px solid var(--c-btn); transform: rotate(45deg); transition: transform .25s var(--c-ease); }
.c-acc[open] > summary::after { transform: rotate(-135deg); top: 26px; }
.c-acc__body { padding: 0 18px 18px; overflow: hidden; }
.c-acc.is-plain { border: 0; background: none; }
.c-acc.is-plain > summary { padding: 8px 32px 8px 0; min-height: 40px; font-weight: 600; color: var(--c-muted); font-size: .875rem; }
.c-acc.is-plain > summary::after { right: 6px; top: 16px; width: 7px; height: 7px; }
.c-acc.is-plain[open] > summary::after { top: 19px; }
.c-acc.is-plain .c-acc__body { padding: 0 0 12px; font-size: .875rem; color: var(--c-muted); }
.c-acc__body ul { margin: 0; padding-left: 1.2em; }
.c-faq .c-acc > summary > span, .c-faq__a > span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .875rem; font-weight: 800; }
.c-faq .c-acc > summary > span { background: var(--c-btn); color: #fff; }
.c-faq__a { display: flex; gap: 12px; }
.c-faq__a > span { background: var(--c-tint); color: var(--c-btn); }
.c-faq__a p { margin: 0; }

/* ----------------------------------------------------------------- Tabs */
.c-tabs__list { position: relative; display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--c-line); margin-bottom: 24px; scrollbar-width: none; }
.c-tabs__list::-webkit-scrollbar { display: none; }
.c-tabs__tab { flex: none; min-height: 48px; padding: 10px 16px; border: 0; background: none; color: var(--c-muted); font-weight: 700; cursor: pointer; text-decoration: none; }
.c-tabs__tab[aria-selected="true"] { color: var(--c-text); }
.c-tabs__tab:hover { color: var(--c-btn); }
.c-tabs__ink { position: absolute; left: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--c-main); transition: transform .3s var(--c-ease), width .3s var(--c-ease); }
.c-tabs__panel[hidden] { display: none; }

/* ----------------------------------------------------------- Compare */
.c-table-wrap { position: relative; overflow-x: auto; border-radius: 16px; border: 1px solid var(--c-line); background: #fff; }
.c-compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9375rem; }
.c-compare th, .c-compare td { padding: 14px 12px; border-bottom: 1px solid var(--c-line); text-align: center; }
.c-compare thead th { background: var(--c-bg); position: sticky; top: 0; }
.c-compare tbody th { text-align: left; font-weight: 600; }
.c-compare .is-recommended { background: var(--c-tint); }
.c-compare thead .is-recommended { background: var(--c-btn); color: #fff; }
.c-compare__price { font-weight: 400; font-size: .8125rem; }
.c-compare td .c-icon { color: var(--c-btn); }
.c-compare-toggle { margin-top: 32px; }
.c-compare-toggle > summary { justify-content: center; }

/* --------------------------------------------------------------- Flow */
.c-flow-wrap { position: relative; max-width: 820px; margin-inline: auto; }
.c-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.c-flow__line { position: absolute; left: 23px; top: 24px; bottom: 56px; width: 2px; background: var(--c-line); }
.c-flow__line i { display: block; width: 100%; height: var(--p, 100%); background: var(--c-main); }
.c-flow__step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding-bottom: 32px; }
.c-flow__num { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c-btn); border: 2px solid var(--c-main); font-weight: 800; font-size: 1.125rem; transition: background-color .3s, color .3s, border-color .3s; }
.c-flow__step.is-reached .c-flow__num, .no-js .c-flow__num { background: var(--c-btn); border-color: var(--c-btn); color: #fff; }
.c-flow__title { font-size: 1.125rem; margin: 8px 0 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.c-flow__who { font-size: .75rem; padding: 1px 10px; border-radius: 999px; font-weight: 700; }
.c-flow__who.is-customer { background: var(--c-tint); color: var(--c-btn-hover); }
.c-flow__who.is-company { background: #efedea; color: #444; }
.c-flow__step p { margin: 0; color: #4a4a4a; }
.c-flow-note { text-align: center; }
@media (min-width: 1024px) {
	.c-flow-wrap.is-horizontal { max-width: none; }
	.c-flow-wrap.is-horizontal .c-flow { grid-template-columns: repeat(6, 1fr); gap: 20px; }
	.c-flow-wrap.is-horizontal .c-flow__line { left: 24px; right: calc(100% / 6); top: 23px; bottom: auto; width: auto; height: 2px; }
	.c-flow-wrap.is-horizontal .c-flow__line i { width: var(--p, 100%); height: 100%; }
	.c-flow-wrap.is-horizontal .c-flow__step { grid-template-columns: 1fr; padding: 0; }
	.c-flow-wrap.is-horizontal .c-flow__title { margin-top: 14px; font-size: 1.0625rem; flex-direction: column; align-items: flex-start; gap: 4px; }
	.c-flow-wrap.is-horizontal .c-flow__step p { font-size: .875rem; }
}

/* ----------------------------------------------------------------- CTA */
.c-cta { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--c-btn-hover), var(--c-btn)); color: #fff; padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.c-cta::before, .c-cta::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgb(255 255 255 / 14%); pointer-events: none; }
.c-cta::before { width: 420px; height: 420px; left: -140px; top: -200px; }
.c-cta::after { width: 300px; height: 300px; right: -80px; bottom: -160px; }
.c-cta__inner { position: relative; }
.c-cta__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); }
.c-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 28px 0 0; }
.c-cta .c-btn.is-primary { background: #fff; color: var(--c-btn-hover); box-shadow: none; }
.c-cta .c-btn.is-primary:hover { background: var(--c-tint); }
.c-cta .c-btn.is-secondary { background: transparent; color: #fff; border-color: #fff; }
.c-cta .c-btn.is-secondary:hover { background: rgb(255 255 255 / 12%); color: #fff; }
.c-cta :focus-visible { box-shadow: 0 0 0 3px var(--c-btn), 0 0 0 5px #fff; }

/* -------------------------------------------------------------- Forms */
.c-label { display: block; font-weight: 700; font-size: .875rem; margin-bottom: 4px; }
.c-input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #cfc8c2; border-radius: var(--c-radius-input); background: #fff; font: inherit; color: var(--c-text); }
.c-input:focus { border-color: var(--c-btn); outline: none; box-shadow: 0 0 0 3px rgb(243 107 33 / 25%); }
.c-search { display: flex; gap: 8px; margin: 16px 0 24px; }
.c-search .c-btn { min-width: 56px; padding-inline: 16px; }
.c-empty { background: var(--c-bg); border-radius: 16px; padding: 40px 24px; text-align: center; }

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

/* -------------------------------------------- Content (block editor) */
.c-content > * + * { margin-top: 1.25em; }
.c-content h2 { font-size: 1.5rem; margin-top: 2.2em; padding-bottom: .3em; border-bottom: 2px solid var(--c-tint); }
.c-content h3 { font-size: 1.25rem; margin-top: 1.8em; }
.c-content ul, .c-content ol { padding-left: 1.4em; }
.c-content table { width: 100%; border-collapse: collapse; }
.c-content th, .c-content td { border: 1px solid var(--c-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.c-content th { background: var(--c-bg); width: 30%; }
.c-content .wp-block-table { overflow-x: auto; }
.c-content blockquote { border-left: 4px solid var(--c-main); margin-left: 0; padding: 8px 16px; background: var(--c-bg); }
.c-content .crispa-draft-note { background: #fffaf0; border: 1px solid #f0d59c; border-radius: 10px; padding: 12px 16px; color: #5c3d00; }
.alignwide { width: min(100vw - 32px, 1200px); margin-inline: calc(50% - min(50vw - 16px, 600px)); }
.alignfull { width: 100vw; margin-inline: calc(50% - 50vw); }
.c-post-list { display: grid; border-top: 1px solid var(--c-line); }
.c-post-card { padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.c-post-card__meta { margin: 0; font-size: .8125rem; color: var(--c-muted); display: flex; gap: 8px; }
.c-post-card__title { font-size: 1.125rem; margin: 4px 0; }
.c-post-card__title a { color: var(--c-text); text-decoration: none; }
.c-post-card__title a:hover { color: var(--c-btn); text-decoration: underline; }
.c-post-card__excerpt { margin: 0; color: #555; font-size: .9375rem; }
.c-link-list { padding-left: 1.2em; }
.c-eyecatch { margin: 0 0 32px; }
.c-eyecatch img { border-radius: 16px; }
.post-navigation .nav-links { justify-content: space-between; margin-top: 48px; }

/* ----------------------------------------------------- WooCommerce flow */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .wc-block-components-button:not(.is-link) { background: var(--c-btn) !important; color: #fff !important; border-radius: var(--c-radius-btn) !important; font-weight: 700 !important; min-height: 48px; padding: 12px 24px !important; }
.woocommerce .button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--c-btn-hover) !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 48px; border: 1px solid #cfc8c2; border-radius: var(--c-radius-input); padding: 10px 12px; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-radius: 12px; border-top-color: var(--c-main); background: var(--c-bg); }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--c-tint); font-weight: 700; }
@media (min-width: 900px) {
	.woocommerce-account.logged-in .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
	.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
}
.woocommerce-account:not(.logged-in) .woocommerce { max-width: 520px; margin-inline: auto; }

/* WooCommerce 標準の商品ページ（テーマ商品以外） */
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); font-weight: 800; color: var(--c-text); font-variant-numeric: tabular-nums; margin-bottom: 20px; }
.woocommerce div.product p.price del, .woocommerce div.product p.price ins { font-size: .75em; }
.woocommerce div.product p.price del { color: var(--c-muted); font-weight: 400; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-bottom: 24px; }
.woocommerce div.product form.cart .quantity { margin: 0; display: flex; }
.woocommerce .quantity input.qty, .woocommerce-cart .quantity input.qty { width: 90px; min-height: 48px; padding: 10px 8px; border: 1px solid #cfc8c2; border-radius: var(--c-radius-input); background: #fff; font: inherit; font-weight: 700; text-align: center; color: var(--c-text); }
.woocommerce .quantity input.qty:focus { border-color: var(--c-btn); outline: none; box-shadow: 0 0 0 3px rgb(243 107 33 / 25%); }
.woocommerce div.product form.cart .button { margin: 0; }
.c-live-view { display: grid; gap: 8px; justify-items: start; margin: 0 0 20px; }
.c-live-view .c-note { margin: 0; }
.woocommerce div.product .product_meta { font-size: .875rem; color: var(--c-muted); padding-top: 12px; border-top: 1px solid var(--c-line); }
.woocommerce div.product .product_meta a { font-weight: 700; }

/* ----------------------------------------------------------------- Footer */
.l-footer { background: #231f1c; color: #e9e3de; padding: 72px 0 28px; font-size: .9375rem; }
.l-footer a { color: #fff; }
.l-footer__inner { display: grid; gap: 36px; }
@media (min-width: 768px) { .l-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .l-footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; } }
.c-logo.is-footer { color: #fff; }
.l-footer__desc { color: #cfc6bf; margin: 14px 0; max-width: 28em; }
.l-footer__contact { margin: 0; display: grid; gap: 4px; }
.l-footer__contact div { display: flex; gap: 12px; }
.l-footer__contact dt { color: #a99f97; min-width: 3em; }
.l-footer__contact dd { margin: 0; }
.l-footer__heading { font-weight: 700; color: #fff; margin-bottom: 10px; }
.l-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.l-footer__nav a { display: inline-block; padding: 6px 0; color: #e0d8d2; text-decoration: none; }
.l-footer__nav a:hover { color: #fff; text-decoration: underline; }
.l-footer__copy { text-align: center; color: #a99f97; margin: 48px 0 0; border-top: 1px solid #3d3531; padding-top: 22px; }
.l-footer :focus-visible { box-shadow: 0 0 0 3px #231f1c, 0 0 0 5px #fff; }

/* ------------------------------------------- Reveal / motion utilities */
@media (prefers-reduced-motion: no-preference) {
	/* Hidden only while the reveal system is active (set in <head>, confirmed by main.js, auto-released after 3 s). */
	/* Uses an animation (not a transition) so it never overrides hover transitions on cards. */
	.reveal-on [data-reveal]:not(.is-in), .reveal-on [data-reveal-group] > :not(.is-in) { opacity: 0; }
	.reveal-on [data-reveal].is-in, .reveal-on [data-reveal-group] > .is-in { animation: c-reveal .7s var(--c-ease) var(--delay, 0s) backwards; }
	.c-float { animation: c-float 6s ease-in-out infinite; }
	.c-float.is-late { animation-delay: -3s; }
}
@keyframes c-reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes c-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.csbp-portal-page .l-main, body.csbp-portal-page { background: var(--c-bg); }
@media print { .l-header, .l-footer, .c-cta, .p-product__sticky { display: none; } }
