
.sub-body { padding: var(--sp-6) 0 var(--sec-std); background: var(--c-bg); }
.sub-body--tint { padding-top: var(--sec-tight); padding-bottom: calc(var(--sec-std) + 56px); background: var(--c-bg-tint); }
.sub-body__inner { max-width: calc(1080px + var(--gutter) * 2); }
.sub-body__sec { margin-top: var(--sec-tight); }
.tmp-note { margin-top: var(--sp-3); font-size: var(--fs-caption); color: var(--c-text-muted); }

.tabs { display: flex; gap: var(--sp-5); border-bottom: 1px solid var(--c-line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__btn {
  position: relative; flex: 0 0 auto; padding: var(--sp-3) 2px; font-size: var(--fs-small); font-weight: 500; color: var(--c-text-muted);
  transition: color var(--t-fast);
}
.tabs__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--c-primary); transform: scaleX(0); transition: transform var(--t-mid) var(--ease-expo); }
.tabs__btn:hover { color: var(--c-text); }
.tabs__btn[aria-selected="true"] { color: var(--c-primary-hover); font-weight: 700; }
.tabs__btn[aria-selected="true"]::after { transform: scaleX(1); }
.tabs__btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: 4px; }
.tab-panel { padding-top: var(--sp-5); }
.tabs--seg { width: max-content; max-width: 100%; margin: 0 auto; gap: 4px; padding: 6px; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: var(--c-bg); box-shadow: var(--shadow-1); }
.tabs--seg .tabs__btn { display: inline-flex; align-items: center; gap: 8px; min-width: 180px; justify-content: center; padding: 12px 28px; border-radius: var(--r-pill); font-size: 0.9375rem; transition: background-color var(--t-mid) var(--ease-out), color var(--t-fast); }
.tabs--seg .tabs__btn .ph-light { font-size: 1.25rem; }
.tabs--seg .tabs__btn::after { display: none; }
.tabs--seg .tabs__btn:hover { background: var(--c-bg-tint); }
.tabs--seg .tabs__btn[aria-selected="true"] { background: var(--c-primary); color: var(--c-text-inverse); }
.tabs--seg + .tab-panel, .tabs--seg ~ .tab-panel { padding-top: var(--sp-6); }
.tab-panel[hidden] { display: none; }

.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip-row + * { margin-top: var(--sp-5); }
[data-cat].is-off { display: none; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: var(--sp-6); }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--c-line); font-family: var(--f-latin); font-weight: 600; font-size: var(--fs-small); transition: background-color var(--t-fast), border-color var(--t-fast); }
.pager a:hover { border-color: var(--c-primary); background: var(--c-bg-tint); }
.pager [aria-current="page"] { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-text-inverse); }

.topics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-4); }
.topics-grid .news-card { position: relative; width: auto; transform: none; transition: transform var(--t-mid) var(--ease-expo), box-shadow var(--t-mid); }
.topics-grid .news-card__title { min-height: 0; font-weight: 700; }
.sub-body .notice { max-width: none; margin-top: 0; }

.faq-lead {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); background: var(--c-bg-tint);
}
.alert-badge, .faq-lead__alert { position: absolute; left: -14px; top: -14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-accent); color: var(--c-text); font-size: 1.375rem; box-shadow: 0 0 0 4px var(--c-bg); }
.alert-badge .ph-light, .faq-lead__alert .ph-light { font-weight: 700; -webkit-text-stroke: .6px currentColor; }
.faq-lead__title { font-weight: 700; }
.faq-lead__text { margin-top: 4px; font-size: var(--fs-small); color: var(--c-text-muted); }
.faq-lead .btn { flex: 0 0 auto; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--sp-7); align-items: start; margin-top: var(--sp-6); }
.contact__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--sp-3); }
.reach { padding: var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r-md); }
.reach__label { display: flex; align-items: center; gap: 8px; font-size: var(--fs-caption); font-weight: 700; letter-spacing: .08em; color: var(--c-primary-hover); }
.reach__label .ph-light { font-size: 1.25rem; }
.reach__main { display: block; margin-top: 6px; font-family: var(--f-latin); font-weight: 700; font-size: 1.5rem; letter-spacing: .02em; }
.reach__main--mail { font-size: 0.9375rem; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.reach__note { margin-top: 2px; font-size: var(--fs-caption); color: var(--c-text-muted); }

.form-title { font-family: var(--f-accent); font-weight: 600; font-size: var(--fs-h3); }
.form { margin-top: var(--sp-4); border-top: 1px solid var(--c-text); }
.field { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line); }
.field[hidden] { display: none; }
.field__label { padding-top: 10px; font-size: var(--fs-small); font-weight: 700; line-height: 1.6; }
.field__label .req, .field__label .opt { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 4px; font-size: 0.6875rem; line-height: 1.8; vertical-align: 1px; }
.field__label [hidden] { display: none; }
.req { background: var(--c-state-error); color: var(--c-text-inverse); }
.opt { background: var(--c-surface-soft); color: var(--c-text-muted); border: 1px solid var(--c-line); }
.field__hint { display: block; margin-top: 2px; font-size: var(--fs-caption); font-weight: 400; color: var(--c-text-muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: var(--c-surface-soft);
  font: inherit; font-size: var(--fs-body); color: var(--c-text); transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--c-primary); background: var(--c-bg); box-shadow: var(--shadow-focus); }
.textarea { min-height: 200px; resize: vertical; line-height: var(--f-lh-body); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--c-primary) 50%), linear-gradient(135deg, var(--c-primary) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.input--short { max-width: 200px; }
.field__stack { display: grid; gap: var(--sp-2); }
.choice-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); padding-top: 4px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1px solid var(--c-line); border-radius: var(--r-sm); font-size: var(--fs-small); background: var(--c-bg); transition: border-color var(--t-fast), background-color var(--t-fast); }
.choice span::before { content: ""; width: 16px; height: 16px; border: 1px solid var(--c-neutral-500); border-radius: 50%; transition: border var(--t-fast); }
.choice input[type="checkbox"] + span::before { border-radius: 4px; }
.choice:hover span { border-color: var(--c-primary); }
.choice input:checked + span { border-color: var(--c-primary); background: var(--c-bg-tint); font-weight: 700; }
.choice input:checked + span::before { border: 5px solid var(--c-primary); }
.choice input[type="checkbox"]:checked + span::before { border: 0; background: var(--c-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat; }
.choice input:focus-visible + span { box-shadow: var(--shadow-focus); }
.notes-box { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); background: var(--c-bg-tint); font-size: var(--fs-small); line-height: 1.9; }
.notes-box li { position: relative; padding-left: 1.2em; }
.notes-box li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }
.form__submit { margin-top: var(--sp-6); text-align: center; }
.form__submit .btn { min-width: 300px; }
.form__privacy { margin-top: var(--sp-3); font-size: var(--fs-caption); color: var(--c-text-muted); }
.form__privacy a { color: var(--c-primary-hover); text-decoration: underline; }

.faq { scroll-margin-top: var(--header-h); }
.faq .tabs { margin-top: var(--sp-5); }
.faq-list { display: grid; gap: var(--sp-2); }
.qa { border-radius: var(--r-md); background: var(--c-bg); border: 1px solid var(--c-line); transition: box-shadow var(--t-mid); }
.qa:hover { box-shadow: var(--shadow-1); }
.qa[open] { border-color: var(--c-primary); box-shadow: var(--shadow-1); }
.qa summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--sp-3); align-items: center; padding: var(--sp-3) var(--sp-4); cursor: pointer; list-style: none; font-weight: 700; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--r-md); }
.qa__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-primary); color: var(--c-text-inverse); font-family: var(--f-latin); font-weight: 800; }
.qa__mark--a { background: var(--c-accent); color: var(--c-text); }
.qa__icon { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-primary); transition: background-color var(--t-fast); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; width: 12px; height: 1.5px; background: var(--c-primary-hover); transition: transform var(--t-mid) var(--ease-expo); }
.qa__icon::after { transform: rotate(90deg); }
.qa summary:hover .qa__icon { background: var(--c-primary-soft); }
.qa[open] .qa__icon { background: var(--c-primary); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: var(--c-text-inverse); }
.qa[open] .qa__icon::after { transform: rotate(0); }
.qa__body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-3); margin: 0 var(--sp-4); padding: var(--sp-3) 0 var(--sp-4); border-top: 1px dashed var(--c-line); font-size: var(--fs-small); line-height: 1.9; }
.qa__body p { padding-top: 6px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; }
.steps li { position: relative; padding: 52px 4px 0; text-align: center; font-size: var(--fs-small); color: var(--c-text-muted); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 50%; top: 0; translate: -50% 0; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--c-line); background: var(--c-bg); font-family: var(--f-latin); font-weight: 700; }
.steps li + li::after { content: ""; position: absolute; top: 19px; right: calc(50% + 20px); left: calc(-50% + 20px); height: 2px; background: var(--c-line); }
.steps li[aria-current="step"], .steps li.is-done { color: var(--c-text); font-weight: 700; }
.steps li[aria-current="step"]::before { width: 48px; height: 44px; top: -3px; padding-bottom: 4px; border: 0; border-radius: 0; box-shadow: none; color: var(--c-text-inverse); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-6 -6 112 102'%3E%3Cpath d='M50 88C20 65 0 48 0 26 0 10 12 0 27 0c11 0 19 6 23 14C54 6 62 0 73 0c15 0 27 10 27 26 0 22-20 39-50 62Z' fill='%2338a878' stroke='%23e8f1e8' stroke-width='9' stroke-linejoin='round' paint-order='stroke'/%3E%3C/svg%3E") center / contain no-repeat; }
.steps li.is-done::before { content: "✓"; background: var(--c-primary-soft); border-color: var(--c-primary); color: var(--c-primary-hover); }
.steps li.is-done + li::after, .steps li.is-done + li[aria-current="step"]::after { background: var(--c-primary); }
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--sp-6); align-items: start; margin-top: var(--sp-6); }
.cart-items { border-top: 1px solid var(--c-text); }
.cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: var(--sp-4); align-items: center; padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line); }
.cart-item__img { aspect-ratio: 1; border-radius: var(--r-sm); background: var(--c-surface-soft); overflow: hidden; }
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item__name { font-weight: 700; line-height: 1.6; }
.cart-item__meta { margin-top: 2px; font-size: var(--fs-caption); color: var(--c-text-muted); }
.cart-item__price { margin-top: 6px; font-family: var(--f-latin); font-weight: 700; }
.cart-item__price small { margin-left: 4px; font-family: var(--f-base); font-weight: 400; font-size: var(--fs-caption); color: var(--c-text-muted); }
.cart-item__side { display: grid; justify-items: end; gap: var(--sp-2); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: var(--r-pill); }
.qty button { width: 36px; height: 36px; font-size: 1.125rem; color: var(--c-primary-hover); }
.qty output { min-width: 2em; text-align: center; font-family: var(--f-latin); font-weight: 700; }
.cart-item__remove { font-size: var(--fs-caption); color: var(--c-text-muted); text-decoration: underline; text-underline-offset: 3px; }
.cart-item__remove:hover { color: var(--c-state-error); }
.cart-alert { margin-top: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); background: var(--c-bg-tint); font-size: var(--fs-small); }
.cart-alert .ph-light { margin-right: 6px; color: var(--c-primary-hover); vertical-align: -2px; }
.cart-sum { position: sticky; top: calc(var(--header-h) + 24px); padding: var(--sp-5); border-radius: var(--r-lg); background: var(--c-bg); border: 1px solid var(--c-line); box-shadow: var(--shadow-soft); }
.cart-sum__row { display: flex; justify-content: space-between; align-items: baseline; padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-line); font-size: var(--fs-small); }
.cart-sum__row:first-child { padding-top: 0; }
.cart-sum__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: var(--sp-3); font-weight: 700; }
.cart-sum__total b { font-family: var(--f-latin); font-size: 1.75rem; }
.cart-sum__total small { display: block; text-align: right; font-weight: 400; font-size: var(--fs-caption); color: var(--c-text-muted); }
.cart-sum__ship { margin-top: var(--sp-3); font-size: var(--fs-caption); line-height: 1.8; color: var(--c-text-muted); }
.cart-sum .btn { width: 100%; margin-top: var(--sp-4); padding-inline: 1.25em; white-space: nowrap; }
.cart-sum .text-link { display: flex; justify-content: flex-end; margin-top: var(--sp-3); }
.cart-ship { margin-top: var(--sp-7); }
.cart-ship__note { margin-top: var(--sp-2); font-size: var(--fs-small); color: var(--c-text-muted); }
.demo-switch { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-5); padding: var(--sp-2) var(--sp-3); border: 1px dashed var(--c-accent); border-radius: var(--r-sm); font-size: var(--fs-caption); }
.demo-switch__label { font-weight: 700; margin-right: var(--sp-2); }

.store { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--sp-6); align-items: center; }
.store__photo { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; }
.store__photo img { width: 100%; height: 100%; object-fit: cover; }
.store__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.store__name { margin-top: var(--sp-3); font-family: var(--f-accent); font-weight: 600; font-size: var(--fs-h3); line-height: var(--f-lh-head); }
.store__addr { margin-top: var(--sp-2); font-size: var(--fs-small); color: var(--c-text-muted); }
.store__msg { position: relative; margin-top: var(--sp-5); padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); background: var(--c-bg-tint); font-size: var(--fs-small); line-height: 1.9; }
.store__msg-label { display: block; margin-bottom: 4px; font-size: var(--fs-caption); font-weight: 700; color: var(--c-primary-hover); }
.store__msg::before { content: ""; position: absolute; left: 32px; top: -10px; border: 10px solid transparent; border-top: 0; border-bottom-color: var(--c-bg-tint); }
.store-info__title { font-family: var(--f-accent); font-weight: 600; font-size: 1.5rem; margin-bottom: var(--sp-4); }
.yn { display: inline-flex; align-items: center; gap: 6px; }
.yn .ph-light { color: var(--c-primary); font-size: 1.125rem; }
.back-link { margin-top: var(--sp-6); text-align: center; }

.event-list { border-top: 1px solid var(--c-text); }
.event { display: grid; grid-template-columns: 8em 6.5em minmax(0, 1fr) auto; gap: var(--sp-4); align-items: center; padding: var(--sp-4) var(--sp-2); border-bottom: 1px solid var(--c-line); }
.event time { font-family: var(--f-latin); font-weight: 600; color: var(--c-primary); }
.event .tag { justify-self: start; }
.event__title { font-weight: 700; }
.event__meta { margin-top: 2px; font-size: var(--fs-caption); color: var(--c-text-muted); }
.event__pdf { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--c-line); font-size: var(--fs-caption); font-weight: 700; color: var(--c-primary-hover); transition: background-color var(--t-fast), border-color var(--t-fast); }
.event__pdf:hover { border-color: var(--c-primary); background: var(--c-bg-tint); }

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-4); }
.video { text-align: left; }
.video__thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(135deg, var(--c-green-100), var(--c-green-300)); }
.video__thumb[data-tone="2"] { background: linear-gradient(135deg, #e6f0ea, #b9d9c8); }
.video__thumb[data-tone="3"] { background: linear-gradient(135deg, #fbf3d6, #ecd78b); }
.video__thumb[data-tone="4"] { background: linear-gradient(135deg, #eef3e4, #c9dca6); }
.video__thumb[data-tone="5"] { background: linear-gradient(135deg, #e8eef0, #b7cdd2); }
.video__play { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--c-primary-hover); font-size: 1.5rem; box-shadow: var(--shadow-1); transition: transform var(--t-mid) var(--ease-expo); }
.video:hover .video__play { transform: scale(1.1); }
.video__time { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 4px; background: rgba(20, 40, 30, .7); color: #fff; font-family: var(--f-latin); font-size: var(--fs-caption); }
.video__meta { display: flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-3); font-size: var(--fs-caption); }
.video__meta time { font-family: var(--f-latin); font-weight: 600; color: var(--c-text-muted); }
.video__title { margin-top: 6px; font-weight: 700; line-height: 1.6; }
.video:focus-visible { outline: none; }
.video:focus-visible .video__thumb { box-shadow: var(--shadow-focus); }
.modal--video { width: min(880px, calc(100vw - 32px)); }
.modal__player { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--r-sm); background: #10261d; color: rgba(255, 255, 255, .7); font-size: var(--fs-small); text-align: center; padding: var(--sp-4); }
.modal__desc { margin-top: var(--sp-3); color: var(--c-text-muted); }

.dl-list { border-top: 1px solid var(--c-text); }
.dl { display: grid; grid-template-columns: 7em auto minmax(0, 1fr) auto; gap: var(--sp-4); align-items: center; padding: var(--sp-4) var(--sp-2); border-bottom: 1px solid var(--c-line); }
.dl__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--c-bg-tint); color: var(--c-primary-hover); font-size: 1.5rem; }
.dl__title { font-weight: 700; }
.dl__new { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 4px; background: var(--c-accent); font-family: var(--f-latin); font-weight: 800; font-size: 0.6875rem; line-height: 1.8; vertical-align: 2px; }
.dl__meta { margin-top: 2px; font-family: var(--f-latin); font-size: var(--fs-caption); color: var(--c-text-muted); }

@media (max-width: 1100px) {
  .contact { grid-template-columns: minmax(0, 1fr) 260px; gap: var(--sp-5); }
  .cart { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--sp-5); }
}
@media (max-width: 960px) {
  .topics-grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact, .cart { grid-template-columns: 1fr; }
  .contact__aside { position: static; grid-template-columns: 1fr 1fr; }
  .cart-sum { position: static; }
  .store { grid-template-columns: 1fr; gap: var(--sp-5); }
}
@media (max-width: 767px) {
  .faq-lead { flex-direction: column; align-items: flex-start; padding: var(--sp-4); }
  .contact__aside { grid-template-columns: 1fr; }
  .field { grid-template-columns: 1fr; gap: var(--sp-2); }
  .field__label { padding-top: 0; }
  .form__submit .btn { min-width: 0; width: 100%; }
  .topics-grid, .video-grid { grid-template-columns: 1fr; }
  .steps li { font-size: 0.6875rem; white-space: nowrap; letter-spacing: 0; }
  .steps li::before { width: 34px; height: 34px; }
  .steps li + li::after { top: 16px; right: calc(50% + 17px); left: calc(-50% + 17px); }
  .cart-item { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-item__side { grid-column: 2; justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }
  .event { grid-template-columns: auto auto; gap: var(--sp-2) var(--sp-3); }
  .event__body { grid-column: 1 / -1; }
  .event__pdf { grid-column: 1 / -1; justify-self: start; }
  .dl { grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-2) var(--sp-3); }
  .dl > .tag { grid-column: 1 / -1; justify-self: start; }
  .dl .btn { grid-column: 1 / -1; }
}

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--sp-7); align-items: start; }
.article { min-width: 0; }
.article-side { position: sticky; top: calc(var(--header-h) + 24px); }
.article-side__box { padding: var(--sp-4); border-radius: var(--r-lg); background: var(--c-bg); border: 1px solid var(--c-line); box-shadow: var(--shadow-soft); }
.article-side__title { padding-bottom: var(--sp-2); border-bottom: 1px solid var(--c-line); background: linear-gradient(var(--c-primary), var(--c-primary)) left bottom / 40px 3px no-repeat; font-weight: 700; letter-spacing: .06em; }
.side-list li { border-bottom: 1px solid var(--c-line); }
.side-list a { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: var(--sp-3); align-items: center; padding: var(--sp-3) 0; transition: color var(--t-fast); }
.side-list--text a { grid-template-columns: 1fr; }
.side-list__img { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 6px; background: var(--c-surface-soft); }
.side-list__img img { width: 100%; height: 100%; object-fit: cover; }
.side-list time { display: block; font-family: var(--f-latin); font-weight: 600; font-size: var(--fs-caption); color: var(--c-primary); }
.side-list__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: var(--fs-small); font-weight: 500; line-height: 1.6; }
.side-list a:hover .side-list__title { color: var(--c-primary-hover); text-decoration: underline; text-underline-offset: 3px; }
.side-list a[aria-current="page"] .side-list__title { color: var(--c-primary-hover); font-weight: 700; }
.article-side__more { width: 100%; margin-top: var(--sp-4); }
.article__meta { display: flex; align-items: center; gap: var(--sp-3); }
.article__meta time { font-family: var(--f-latin); font-weight: 600; color: var(--c-primary); letter-spacing: .04em; }
.article__title { margin-top: var(--sp-3); font-family: var(--f-accent); font-weight: 600; font-size: var(--fs-h3); line-height: 1.5; letter-spacing: var(--f-ls-head); }
.article__eyecatch { margin-top: var(--sp-5); overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16 / 9; }
.article__eyecatch img { width: 100%; height: 100%; object-fit: cover; }
.article__body { margin-top: var(--sp-6); line-height: 2; }
.article__body > * + * { margin-top: var(--sp-4); }
.article__body h2 { margin-top: var(--sp-6); padding-bottom: var(--sp-2); border-bottom: 1px solid var(--c-line); background: linear-gradient(var(--c-primary), var(--c-primary)) left bottom / 40px 3px no-repeat; font-weight: 700; font-size: 1.25rem; line-height: 1.6; }
.article__body ul { display: grid; gap: 4px; }
.article__body li { position: relative; padding-left: 1.2em; }
.article__body li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }
.article__body a { color: var(--c-primary-hover); text-decoration: underline; text-underline-offset: 3px; }
.article__body img { width: auto; max-width: 100%; height: auto; margin-inline: auto; border-radius: var(--r-md); }
.article__body figure { margin-inline: 0; }
.article__body figcaption { margin-top: var(--sp-2); font-size: var(--fs-small); color: var(--c-text-muted); text-align: center; }
.article__nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--sp-4); margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); font-size: var(--fs-small); }
.article__nav a { display: inline-flex; align-items: center; gap: 8px; }
.article__nav a:hover { color: var(--c-primary-hover); }
.article__nav .is-next { justify-self: end; }
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
}
@media (max-width: 767px) {
  .tabs--seg { width: 100%; }
  .tabs--seg .tabs__btn { flex: 1; min-width: 0; padding: 12px 8px; }
  .article__nav { grid-template-columns: 1fr 1fr; }
  .article__nav .btn { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

.confirm-block + .confirm-block { margin-top: var(--sp-6); }
.confirm-block__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); padding-bottom: var(--sp-2); }
.confirm-block__title { font-family: var(--f-accent); font-weight: 600; font-size: 1.375rem; }
.confirm-block .cart-item { grid-template-columns: 72px minmax(0, 1fr) auto; }
.confirm-block .cart-item__price { margin-top: 0; }
.confirm-table > div { grid-template-columns: 160px minmax(0, 1fr); }
.pay-list { display: grid; gap: var(--sp-3); }
.pay { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-3); padding: var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r-md); cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast); }
.pay[hidden] { display: none; }
.pay input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--c-primary); }
.pay:has(input:checked) { border-color: var(--c-primary); background: var(--c-bg-tint); }
.pay__title { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.pay__title .ph-light { font-size: 1.375rem; color: var(--c-primary-hover); }
.pay__slot { display: block; margin-top: var(--sp-3); padding: var(--sp-4); border: 1px dashed var(--c-green-500); border-radius: var(--r-sm); background: var(--c-bg); font-size: var(--fs-small); color: var(--c-text-muted); text-align: center; }
.pay__note { display: block; margin-top: 4px; font-size: var(--fs-small); color: var(--c-text-muted); }
.confirm-notes { margin-top: var(--sp-6); }
.confirm-notes a { color: var(--c-primary-hover); text-decoration: underline; }
.confirm-agree { display: flex; align-items: flex-start; gap: 10px; margin-top: var(--sp-4); padding: 12px 14px; border-radius: var(--r-sm); background: var(--c-bg); font-size: var(--fs-caption); line-height: 1.7; cursor: pointer; }
.confirm-agree input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c-primary); }
.confirm-agree a { color: var(--c-primary-hover); text-decoration: underline; }
.done { max-width: 720px; margin: var(--sp-7) auto 0; text-align: center; }
.done__icon { position: relative; display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--c-primary); color: var(--c-text-inverse); font-size: 2.5rem; box-shadow: 0 0 0 12px var(--c-primary-soft); animation: doneIn .8s var(--ease-expo) both; }
.done__check { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-accent); color: var(--c-text); font-size: 1.125rem; box-shadow: 0 0 0 4px var(--c-bg); }
.done__check .ph-light { -webkit-text-stroke: .8px currentColor; }
@keyframes doneIn { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.done__title { margin-top: var(--sp-5); font-family: var(--f-accent); font-weight: 600; font-size: var(--fs-h3); }
.done__num { margin-top: var(--sp-3); font-size: var(--fs-small); }
.done__num b { font-family: var(--f-latin); font-size: 1.25rem; letter-spacing: .06em; color: var(--c-primary-hover); }
.done__text { margin-top: var(--sp-4); line-height: 2; }
.done__mail { margin-top: var(--sp-5); padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); background: var(--c-surface-soft); text-align: left; font-size: var(--fs-small); line-height: 1.9; }
.done__mail-title { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.done__mail a { color: var(--c-primary-hover); text-decoration: underline; }
.done__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-6); }
@media (max-width: 767px) {
  .confirm-block .cart-item { grid-template-columns: 56px minmax(0, 1fr); }
  .confirm-block .cart-item__price { grid-column: 2; }
  .confirm-table > div { grid-template-columns: 1fr; gap: 2px; }
  .done__btns .btn { width: 100%; }
}

.topics-grid .news-card__desc { -webkit-line-clamp: 24; min-height: 10.8em; }
.topics-grid .news-card[hidden], .notice__list li[hidden], .pager[hidden] { display: none; }
@media (max-width: 600px) { .topics-grid .news-card__desc { -webkit-line-clamp: 24; min-height: 16.2em; } }
.cart-item__limit { display: flex; gap: 6px; margin-top: 6px; font-size: var(--fs-caption); line-height: 1.6; color: var(--c-primary-hover); }
.cart-item__limit .ph-light { flex: none; margin-top: 3px; }
.cart-item__img img[src$="site-banner-books.jpg"] { object-fit: cover; }

.choice-col { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); padding-top: 4px; }
.choice--note span { align-items: flex-start; min-height: 0; padding: 14px 18px; line-height: 1.7; }
.choice--note span::before { flex: none; margin-top: 5px; }
.choice--note b { display: block; }
.field__note { margin-top: 8px; font-size: var(--fs-small); color: var(--c-text-sub, inherit); }
.opt { margin-left: 8px; font-size: 11px; color: var(--c-neutral-500); }
.choice-col .choice, .choice-col .choice span { max-width: 100%; }
.choice-col .choice span { white-space: normal; line-height: 1.6; padding-top: 10px; padding-bottom: 10px; }
.field__label { overflow-wrap: anywhere; }
.choice__body { display: block; min-width: 0; font-style: normal; }
