/* 株式会社New Asia Partners — public site. Colours come from the NAP logo and the former Elementor kit. */
:root {
  --red: #ed1e24;          /* NAP main colour (logo) */
  --red-text: #d3151b;     /* same hue, for small text and white-on-red controls (AA contrast) */
  --red-dark: #a80f14;
  --red-pale: #fdf1f1;
  --teal: #0e7e89;         /* NAP dark green */
  --teal-dark: #0a5f68;
  --mint: #0fb0a2;         /* logo */
  --orange: #ed991f;       /* NAP yellow */
  --orange-text: #9a5f06;
  --purple: #8a5a9c;       /* logo */
  --gray: #f6f6f6;         /* NAP gray */
  --ink: #23262e;
  --text: #33363d;
  --muted: #646a75;
  --line: #e2e3e6;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(35, 38, 46, .08);
  --font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
  --header-h: 84px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.9 var(--font); letter-spacing: .03em; color: var(--text); background: var(--white); overflow-x: hidden; }
/* Japanese line breaking: keep phrases together in headings and short texts. */
h1, h2, h3, h4, .card__title, .step__title, .btn, .slide__title, .highlight__catch { word-break: auto-phrase; text-wrap: balance; }
p, li, dd, td { text-wrap: pretty; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--red-text); }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { overflow-wrap: anywhere; line-height: 1.45; color: var(--ink); margin: 0 0 .6em; font-feature-settings: 'palt'; letter-spacing: .04em; font-weight: 700; }
p { margin: 0 0 1em; }
.icon { flex: none; vertical-align: -.2em; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }
.preview-bar { position: sticky; top: 0; z-index: 60; background: var(--orange); color: #000; text-align: center; font-weight: 700; padding: 4px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 24px; border: 2px solid var(--red-text); border-radius: 999px; background: var(--white); color: var(--red-text); font: 700 14px/1.5 var(--font); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--red-text); color: #fff; }
.btn--primary { background: var(--red-text); color: #fff; }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--outline { background: transparent; }
.btn--white { background: #fff; border-color: #fff; color: var(--red-text); }
.btn--white:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 13px 32px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 2px 14px rgba(35, 38, 46, .07); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); max-width: 1320px; margin: 0 auto; padding: 8px 24px; }
.site-logo { display: block; flex: none; text-decoration: none; color: var(--red-text); font-weight: 700; }
.site-logo__img img { width: auto; height: 56px; }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-nav__list { display: flex; list-style: none; margin: 0; padding: 0; }
.site-nav__list > li { position: relative; }
.site-nav__list > li > a, .site-nav__group { position: relative; display: flex; align-items: center; gap: 2px; padding: 12px 14px; border: 0; background: none; color: var(--ink); font: 700 14px/1.5 var(--font); letter-spacing: .04em; text-decoration: none; white-space: nowrap; cursor: pointer; }
.site-nav__list > li > a::after, .site-nav__group::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.site-nav__list > li > a:hover::after, .site-nav__list > li > a[aria-current="page"]::after, .has-sub:hover .site-nav__group::after, .has-sub.is-active .site-nav__group::after { transform: scaleX(1); }
.site-nav__sub { position: absolute; top: 100%; left: 0; min-width: 240px; margin: 0; padding: 8px; list-style: none; border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 34px rgba(35, 38, 46, .16); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.has-sub:hover .site-nav__sub, .has-sub:focus-within .site-nav__sub, .has-sub.is-open .site-nav__sub { visibility: visible; opacity: 1; transform: none; }
.site-nav__sub a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.site-nav__sub a:hover, .site-nav__sub a[aria-current="page"] { background: var(--red-pale); color: var(--red-text); }
.site-nav__contact { display: flex; align-items: center; gap: 18px; flex: none; }
.site-nav__tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; color: var(--ink); text-decoration: none; }
.site-nav__tel-num { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 18px; letter-spacing: .02em; }
.site-nav__tel-num .icon { color: var(--red-text); }
.site-nav__hours { color: var(--muted); font-size: 11px; letter-spacing: 0; }
.nav-toggle { display: none; margin-left: auto; border: 0; background: var(--red-text); color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
/* Five logo colours, as a thin line under the header. */
.brand-stripe { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr 1fr; height: 4px; }
.brand-stripe i:nth-child(1) { background: var(--red); }
.brand-stripe i:nth-child(2) { background: var(--orange); }
.brand-stripe i:nth-child(3) { background: var(--mint); }
.brand-stripe i:nth-child(4) { background: var(--teal); }
.brand-stripe i:nth-child(5) { background: var(--purple); }

@media (max-width: 1180px) {
  :root { --header-h: 68px; }
  .site-logo__img img { height: 46px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { position: fixed; top: calc(var(--header-h) + 4px); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 12px 20px 32px; background: var(--white); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-nav__list { flex-direction: column; }
  .site-nav__list > li > a, .site-nav__group { width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav__list > li > a::after, .site-nav__group::after { display: none; }
  .site-nav__group[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .site-nav__sub { position: static; display: none; padding: 4px 0 8px 12px; border-radius: 0; box-shadow: none; visibility: visible; opacity: 1; transform: none; }
  .has-sub.is-open .site-nav__sub { display: block; }
  .site-nav__sub a { padding: 11px 8px; font-size: 15px; }
  .site-nav__contact { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 24px; }
  .site-nav__tel { align-items: center; }
  .site-nav__contact .btn { padding: 13px; font-size: 15px; }
}

/* ---------- section layout ---------- */
.block { padding: 72px 0; }
.block + .block.bg-white:not(.block--news) { padding-top: 16px; }
.bg-gray + .block.bg-white, .bg-pale + .block.bg-white, .bg-ink + .block.bg-white, .highlight + .block.bg-white, .contact-band + .block.bg-white, .page-header + .block.bg-white { padding-top: 72px !important; }
.bg-gray { background: var(--gray); }
.bg-pale { background: var(--red-pale); }
.bg-ink { background: var(--ink); color: #eceef2; }
.bg-ink h2, .bg-ink h3, .bg-ink .sec-head__title { color: #fff; }
.bg-ink a:not(.btn) { color: #fff; }
.sec-head { margin-bottom: 36px; text-align: center; }
.sec-head:has(+ .sec-lead) { margin-bottom: 14px; }
.sec-head__eyebrow { margin: 0 0 2px; color: var(--teal); font-weight: 700; font-size: 14px; letter-spacing: .1em; }
.sec-head__display { margin: 0; color: var(--red-text); font-weight: 700; font-size: clamp(30px, 4.5vw, 44px); line-height: 1.15; letter-spacing: .02em; }
.sec-head__title { margin: 0; font-size: clamp(24px, 3vw, 32px); }
.sec-head__title::after { content: ''; display: block; width: 56px; height: 4px; margin: 14px auto 0; border-radius: 2px; background: linear-gradient(90deg, var(--red) 50%, var(--orange) 50%); }
.sec-lead { max-width: 760px; margin: 0 auto 36px; text-align: center; color: var(--muted); }
.sec-lead p:last-child { margin-bottom: 0; }
.bg-ink .sec-lead { color: #c9ccd3; }
.block__more { margin: 36px 0 0; }

/* ---------- page header ---------- */
.page-header { background: var(--red-text); background-image: radial-gradient(circle at 88% 10%, rgba(255, 255, 255, .16), transparent 42%), linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; }
.page-header__text { padding: 56px 0 60px; }
.page-header__inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.page-header__title { margin: 8px 0 0; color: #fff; font-size: clamp(26px, 4vw, 40px); }
.page-header__lead { max-width: 720px; margin-top: 14px; font-size: 16px; }
.page-header__lead p:last-child { margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; opacity: .92; }
.breadcrumb a { color: #fff; }
.page-header--image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.page-header--image .page-header__text { display: flex; align-items: center; justify-content: flex-end; }
.page-header--image .page-header__inner { width: 100%; max-width: 580px; margin: 0; padding: 0 40px 0 20px; }
.page-header__media { min-height: 340px; position: relative; }
.page-header__media picture, .page-header__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-post .page-header__title { font-size: clamp(22px, 3.2vw, 32px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; font-size: 13px; }
.tag { padding: 1px 10px; border-radius: 10px; background: #fff; color: var(--red-text); font-size: 12px; text-decoration: none; }
.tag:hover { color: var(--red-dark); }
.page-header .container { padding-top: 48px; padding-bottom: 52px; }

/* ---------- hero slider ---------- */
.slider { position: relative; overflow: hidden; background: var(--ink); }
.slider__track { position: relative; list-style: none; margin: 0; padding: 0; height: clamp(420px, 44vw, 600px); }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity .9s ease; overflow: hidden; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide__bg, .slide__bg picture, .slide__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35, 38, 46, .84) 0%, rgba(35, 38, 46, .6) 38%, rgba(35, 38, 46, 0) 68%); }
.slide.is-active .slide__bg img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide__body { position: relative; }
.slide__copy { max-width: 520px; color: #fff; }
.slide__title { margin: 0 0 12px; font-weight: 700; font-size: clamp(28px, 4vw, 46px); line-height: 1.35; letter-spacing: .04em; }
.slide__text { margin-bottom: 24px; font-size: 15px; }
.slider__nav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.slider__nav .icon { width: 30px; height: 30px; }
.slider__nav:hover { background: rgba(255, 255, 255, .38); }
.slider__nav--prev { left: 12px; }
.slider__nav--next { right: 12px; }
.slider__dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.slider__dots button { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .5); cursor: pointer; }
.slider__dots button[aria-current="true"] { background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .slide.is-active .slide__bg img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- contact band ---------- */
.contact-band { background: var(--red-text); color: #fff; }
.contact-band__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; list-style: none; margin: 0 auto; padding-top: 22px; padding-bottom: 22px; }
.contact-band__list li { display: flex; align-items: center; gap: 14px; }
.contact-band__list .icon { width: 32px; height: 32px; }
.contact-band__label { display: block; font-size: 12px; line-height: 1.5; }
.contact-band__value { display: block; color: #fff; font-weight: 700; font-size: 17px; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.contact-band__value:hover { color: #fff; text-decoration: underline; }

/* ---------- highlight band ---------- */
.highlight { padding: 44px 0; background: var(--ink); color: #fff; }
.highlight__catch { margin: 0; text-align: center; font-size: clamp(22px, 3.2vw, 34px); font-weight: 700; letter-spacing: .06em; line-height: 1.5; }
.highlight__catch strong { color: #ffb44d; font-size: 1.35em; }
.highlight__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; align-items: center; margin-top: 28px; }
.highlight__price { padding: 22px 24px; border-radius: var(--radius); background: #fff; color: var(--ink); text-align: center; }
.highlight__price-label { margin: 0; font-weight: 700; }
.highlight__price-value { margin: 0; color: var(--red-text); font-size: clamp(38px, 5vw, 54px); font-weight: 700; line-height: 1.3; }
.highlight__price-note { margin: 0; color: var(--muted); font-size: 13px; }
.highlight__side-title { margin-bottom: 8px; font-size: 18px; font-weight: 700; }
.highlight__side ul { margin: 0; padding-left: 1.3em; }
.highlight__side li::marker { color: #ffb44d; }

/* ---------- cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.cards--grid2 { grid-template-columns: repeat(2, 1fr); }
.cards--grid3 { grid-template-columns: repeat(3, 1fr); }
.cards--grid4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.cards--filled .card { background: var(--gray); border-color: transparent; }
.bg-gray .card { border-color: transparent; box-shadow: var(--shadow); }
.card__title { margin: 0; font-size: 18px; }
.card__text { font-size: 15px; line-height: 1.85; }
.card__text p:last-child, .card__text ul:last-child { margin-bottom: 0; }
.card__text ul { padding-left: 1.3em; margin: 0 0 1em; }
.card__media { margin: -24px -24px 0; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__icon { color: var(--red-text); }
.card__icon .icon { width: 40px; height: 40px; }
.card__more { display: inline-flex; gap: 6px; align-items: center; margin-top: auto; font-weight: 700; font-size: 14px; text-decoration: none; }
.card__more::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card:has(.card__more) { transition: transform .2s, box-shadow .2s; }
.card:has(.card__more):hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cards--rows .card--image { flex-direction: row; align-items: center; gap: 24px; padding: 0 24px 0 0; overflow: hidden; }
.cards--rows .card--image .card__media { flex: 0 0 min(32%, 300px); margin: 0; border-radius: 0; }
.cards--small-media .card--image { flex-direction: row; align-items: center; gap: 18px; padding: 18px 20px; }
.cards--small-media .card--image .card__media { flex: 0 0 72px; margin: 0; border-radius: 0; }
.cards--small-media .card--image .card__media img { aspect-ratio: 1; object-fit: contain; }
/* Colour tiles: teal / red / orange, one per service */
.cards--tiles .card { min-height: 240px; padding: 32px 28px; border: 0; color: #fff; justify-content: flex-end; overflow: hidden; }
.cards--tiles .card:nth-child(3n+1) { background: linear-gradient(145deg, var(--teal), var(--teal-dark)); }
.cards--tiles .card:nth-child(3n+2) { background: linear-gradient(145deg, var(--red), var(--red-dark)); }
.cards--tiles .card:nth-child(3n) { background: linear-gradient(145deg, #c97a0c, var(--orange-text)); }
.cards--tiles .card__icon { position: absolute; top: 24px; left: 28px; color: #fff; }
.cards--tiles .card__icon .icon { width: 48px; height: 48px; }
.cards--tiles .card__title { color: #fff; font-size: 21px; }
.cards--tiles .card__more { color: #fff; margin-top: 10px; }
.cards--tiles .card__body { display: flex; flex-direction: column; margin-top: 64px; }
.cards--tiles .card__text { color: #fff; }

/* ---------- banner ---------- */
.block--banner { padding-top: 0 !important; }
.banner--image { display: block; overflow: hidden; border-radius: var(--radius); transition: box-shadow .2s; }
a.banner--image:hover { box-shadow: var(--shadow); }
.banner--image img { width: 100%; }
.banner--text { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 26px 24px; border-radius: var(--radius); background: var(--teal); color: #fff; font-size: clamp(17px, 2.2vw, 22px); font-weight: 700; text-decoration: none; text-align: center; transition: background .2s; }
.banner--text:hover { background: var(--teal-dark); color: #fff; }

/* ---------- greeting ---------- */
.greeting { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: start; }
.greeting__person { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; }
.greeting__person img { width: 100%; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.greeting__person figcaption { margin-top: 14px; font-weight: 700; text-align: center; color: var(--ink); }
.greeting .sec-head { text-align: left; margin-bottom: 20px; }
.greeting .sec-head__title::after { margin-left: 0; }

/* ---------- plans ---------- */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); align-items: start; list-style: none; margin: 0; padding: 0; }
.plans--n3 { grid-template-columns: repeat(3, 1fr); }
.plans--n4 { grid-template-columns: repeat(4, 1fr); }
.plan { position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center; }
.plan__title { margin: 0; padding: 14px 16px; color: #fff; font-size: 17px; }
.plans--red .plan__title { background: var(--red-text); }
.plans--teal .plan__title { background: var(--teal); }
.plan__ribbon { position: absolute; top: 12px; right: 10px; padding: 0 9px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; line-height: 1.8; }
.plan__price { display: flex; flex-direction: column; padding: 20px 12px 12px; }
.plan__original { color: var(--muted); font-size: 14px; }
.plan__value { color: var(--ink); font-size: clamp(30px, 3vw, 38px); font-weight: 700; line-height: 1.25; letter-spacing: .01em; }
.plan__period { color: var(--muted); font-size: 12px; }
.plan__features { padding: 0 20px 18px; font-size: 14px; line-height: 1.7; }
.plan__features ul { margin: 0; padding: 0; list-style: none; }
.plan__features li { padding: 7px 0; border-top: 1px solid var(--line); }
.plan__features p:last-child { margin-bottom: 0; }
.plan__btn { margin: auto 20px 20px; }
.plans-notes { margin-top: 24px; font-size: 14px; color: var(--muted); }
.plans-notes__text ul { margin: 0; padding-left: 1.3em; }
.plans-notes--images { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.plans-notes__images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.plans-notes__images img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

/* ---------- text + image ---------- */
.text-image { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.text-image--right .text-image__media { order: 2; }
.text-image__media img { width: 100%; border-radius: var(--radius); }

/* ---------- chart ---------- */
.chart { position: relative; margin: 0; padding: 20px 20px 14px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.chart__title { margin: 0 0 4px; color: var(--ink); font-weight: 700; font-size: 15px; }
.chart__key { display: flex; gap: 16px; margin: 0 0 6px; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.chart__key li { display: flex; align-items: center; gap: 6px; }
.chart__swatch { width: 10px; height: 10px; border-radius: 2px; background: var(--red); }
.chart__swatch--forecast { background: #f58084; }
.chart__svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart__svg--narrow { display: none; }
.chart__grid { stroke: var(--line); stroke-width: 1; }
.chart__baseline { stroke: #b9bcc3; stroke-width: 1; }
.chart__tick, .chart__axis { fill: var(--muted); font-size: 12px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.chart__axis { fill: var(--text); }
.chart__axis--empty { fill: #9a9ea8; }
.chart__axis--note { fill: var(--muted); font-size: 11px; }
.chart__value { fill: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.chart__bar { fill: var(--red); transform-box: fill-box; transform-origin: bottom; transition: opacity .15s; }
.chart__bar--forecast { fill: #f58084; }
.chart__hit { fill: transparent; cursor: default; }
.chart__hit:focus { outline: none; }
.chart__hit:focus-visible { stroke: var(--teal); stroke-width: 2; }
.chart__col:hover .chart__bar, .chart__hit:focus-visible ~ .chart__bar { opacity: .75; }
/* Entrance animation: site.js adds --pending only when motion is welcome, so no-JS and reduced motion show the final chart. */
.chart--pending .chart__bar { transform: scaleY(0); }
.chart--pending .chart__value { opacity: 0; }
.chart--in .chart__bar { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.chart--in .chart__value { transition: opacity .4s .5s; }
.chart__tip { position: absolute; z-index: 3; pointer-events: none; min-width: 112px; padding: 7px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; line-height: 1.6; white-space: nowrap; box-shadow: 0 6px 18px rgba(35, 38, 46, .25); }
.chart__tip strong { display: block; font-size: 15px; }
.chart__data { margin-top: 8px; font-size: 13px; }
.chart__data summary { color: var(--muted); cursor: pointer; }
.chart__data table { width: 100%; margin-top: 8px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.chart__data th, .chart__data td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.chart__data thead th { color: var(--muted); font-size: 12px; }
.chart__data td:nth-child(2) { text-align: right; font-weight: 700; color: var(--ink); }
.chart__data thead th:nth-child(2) { text-align: right; }
@media (max-width: 960px) {
  .chart__svg--wide { display: none; }
  .chart__svg--narrow { display: block; }
}

/* ---------- prose ---------- */
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(22px, 2.6vw, 26px); margin-top: 1.4em; }
.prose h3 { font-size: 19px; margin-top: 1.4em; padding-left: 12px; border-left: 4px solid var(--red); }
.prose h4 { font-size: 17px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose img { border-radius: 8px; margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose th { background: var(--gray); }
.prose blockquote { margin: 1em 0; padding: 4px 16px; border-left: 4px solid var(--line); color: var(--muted); }
.block--richtext .prose > h2:first-child, .block--richtext .prose > h3:first-child { margin-top: 0; }
.block--richtext .container { max-width: 900px; }

/* ---------- rows table ---------- */
.block--rows .container { max-width: 900px; }
.rows-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.rows-table th, .rows-table td { padding: 16px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
.rows-table th { width: 30%; color: var(--ink); text-align: left; font-weight: 700; }
.rows-table td p { margin: 0; }
.rows-table td p + p { margin-top: .4em; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.step { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 20px; padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.bg-gray .step { border-color: transparent; box-shadow: var(--shadow); }
.step--image { grid-template-columns: 64px minmax(0, 1fr) 280px; align-items: center; padding: 16px 16px 16px 24px; }
.step__num { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red-text); color: #fff; font-size: 22px; font-weight: 700; line-height: 1; }
.step:nth-child(5n+2) .step__num { background: var(--orange-text); }
.step:nth-child(5n+3) .step__num { background: var(--teal); }
.step:nth-child(5n+4) .step__num { background: var(--teal-dark); }
.step:nth-child(5n) .step__num { background: var(--purple); }
.step__title { margin: 0 0 4px; font-size: 18px; }
.step__text { font-size: 15px; }
.step__text p:last-child, .step__text ul:last-child { margin-bottom: 0; }
.step__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }

/* ---------- staff ---------- */
.staff-list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 420px)); justify-content: center; gap: 22px; }
.staff { text-align: center; }
.staff__photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.staff__name { margin: 14px 0 0; font-size: 17px; }
.staff__text p { margin-bottom: .5em; }
.staff__text:empty { display: none; }

/* ---------- gallery ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery--thirds { grid-template-columns: repeat(3, 1fr); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.02); }

/* ---------- stats (checked merits) ---------- */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.stat { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.stat__icon { display: flex; color: var(--teal); }
.stat__icon .icon { width: 26px; height: 26px; }
.stat__label { font-weight: 700; color: var(--ink); line-height: 1.6; }
.stat__value { color: var(--muted); font-size: 14px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq__q { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--red-text); }
.faq__item[open] .faq__q::after { content: '−'; }
.faq__a { padding: 0 18px 14px; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- news ---------- */
.post-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card__link { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.post-card__link:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.post-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray); }
.post-card__media picture { position: absolute; inset: 0; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 28px; color: var(--line); }
.post-card__tag { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 1px 12px; border-radius: 999px; background: var(--red-text); color: #fff; font-size: 12px; }
.post-card__body { flex: 1; display: flex; flex-direction: column; padding: 18px; }
.post-card__title { margin: 0 0 8px; font-size: 17px; }
.post-card__excerpt { flex: 1; margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.75; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.post-card__date { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.news-layout { display: grid; grid-template-columns: 1fr 220px; gap: 40px; }
.news-layout:not(:has(.news-side)) { grid-template-columns: 1fr; }
.news-side h2 { font-size: 16px; }
.news-side ul { list-style: none; padding: 0; margin: 0; }
.news-side a { display: block; padding: 6px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.news-side a[aria-current="page"] { font-weight: 700; }
.pagination { display: flex; gap: 16px; justify-content: center; align-items: center; margin: 32px 0 0; }
.post__cover { margin-top: 36px; }
.post__cover img { width: 100%; border-radius: var(--radius); }
.post__body { padding-top: 36px; padding-bottom: 36px; }
.post__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-bottom: 72px; }
.message { margin-top: 12px; }
.page-message .page-header .btn { background: #fff; border-color: #fff; color: var(--red-text); }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list__item { display: grid; grid-template-columns: 7.5em 1fr; align-items: center; gap: 8px 20px; padding: 18px 8px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.news-list__item:hover { background: var(--gray); color: var(--ink); }
.news-list__date { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.news-list__title { font-weight: 500; }

/* ---------- offices ---------- */
.offices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.offices--single { grid-template-columns: minmax(0, 1fr); }
.office { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.office__info { flex: 1; padding: 24px; }
.office__name { margin: 0 0 12px; font-size: 19px; }
.office__list { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.7; }
.office__list li { display: flex; gap: 10px; padding: 4px 0; }
.office__list .icon { margin-top: .25em; color: var(--red-text); }
.office__list a { overflow-wrap: anywhere; }
.office .map iframe { display: block; width: 100%; height: 280px; border: 0; }
.offices--single .office { flex-direction: row; }
.offices--single .office__info { flex: 0 0 40%; }
.offices--single .map { flex: 1; }
.offices--single .map iframe { height: 100%; min-height: 320px; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.contact-grid__title { font-size: clamp(21px, 2.4vw, 25px); }
.contact-form { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field__label { font-weight: 700; font-size: 14px; }
.field input, .field textarea, .field select { width: 100%; padding: 10px 12px; border: 1px solid #8a8f99; border-radius: 8px; font: inherit; font-size: 16px; background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: var(--red-text); background: var(--red-pale); }
.field-error { color: var(--red-text); font-size: 13px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 4px 0; padding: 10px 14px; border-radius: 8px; background: #e4f4f3; color: var(--teal-dark); }
.form-status--error { background: var(--red-pale); color: var(--red-dark); }
.contact-grid__notes { padding: 24px; border-radius: var(--radius); background: var(--gray); font-size: 14px; }
.contact-grid__notes h3 { margin-top: 0; font-size: 17px; }
.form-steps { display: flex; list-style: none; margin: 0 0 24px; padding: 0; counter-reset: step; }
.form-steps li { flex: 1; padding: 10px 4px; text-align: center; font-size: 14px; font-weight: 700; color: var(--muted); background: var(--gray); counter-increment: step; }
.form-steps li + li { margin-left: 4px; }
.form-steps li::before { content: counter(step) '. '; }
.form-steps li[aria-current="step"] { background: var(--red-text); color: #fff; }
.badge-req { display: inline-block; margin-left: 8px; padding: 0 6px; border-radius: 3px; background: var(--red-text); color: #fff; font-size: 11px; font-style: normal; line-height: 1.7; letter-spacing: .05em; vertical-align: 1px; }
.badge-req--optional { background: var(--muted); }
.field--agree { margin: 8px 0 4px; padding: 14px 16px; border-radius: 8px; background: var(--gray); }
.agree { display: flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; }
.agree input { width: 20px; height: 20px; accent-color: var(--red-text); flex: none; }
.contact-confirm, .contact-done { outline: none; }
.contact-confirm__lead { font-weight: 500; }
.confirm-list { display: grid; grid-template-columns: 11em 1fr; margin: 0 0 24px; border-top: 2px solid var(--ink); }
.confirm-list dt, .confirm-list dd { margin: 0; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.confirm-list dt { background: var(--gray); color: var(--ink); font-weight: 700; font-size: 14px; }
.confirm-list dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.contact-confirm__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.contact-done { padding: 32px 24px; border-radius: var(--radius); background: var(--gray); text-align: center; }
.contact-done__title { margin-bottom: 8px; font-size: 22px; font-weight: 700; color: var(--ink); }
.contact-done__tel { margin: 16px 0 0; font-size: 14px; }
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.access__name { font-size: clamp(22px, 2.6vw, 26px); }
.access__photo { margin: 0; }
.access__photo img { width: 100%; border-radius: var(--radius); }
.access__photo figcaption { padding: 10px 2px 0; font-size: 14px; }
.map iframe { display: block; width: 100%; height: 400px; border: 0; }
.block--access .map { margin-top: 32px; }

/* ---------- footer ---------- */
.footer-cta { background: linear-gradient(120deg, var(--teal) 0%, var(--teal-dark) 100%); color: #fff; }
.footer-cta__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px 56px; padding-top: 52px; padding-bottom: 52px; }
.footer-cta__display { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .24em; }
.footer-cta__title { margin: 2px 0 8px; color: #fff; font-size: clamp(24px, 3vw, 32px); }
.footer-cta__text { margin: 0; }
.footer-cta__actions { display: flex; flex-direction: column; gap: 12px; min-width: 300px; }
.footer-cta__tel { display: flex; flex-direction: column; align-items: center; color: #fff; text-decoration: none; }
.footer-cta__tel:hover { color: #fff; }
.footer-cta__tel-num { display: inline-flex; align-items: center; gap: 8px; font-size: 28px; font-weight: 700; line-height: 1.3; letter-spacing: .03em; }
.footer-cta__tel-num .icon { width: 26px; height: 26px; }
.footer-cta__hours { font-size: 12px; }
.footer-cta .btn { width: 100%; color: var(--teal-dark); }
.footer-cta .btn:hover { color: #fff; }
.footer-main { background: var(--gray); }
.footer-main__grid { display: grid; grid-template-columns: 300px 1fr auto; gap: 48px; padding-top: 56px; padding-bottom: 44px; }
.footer-logo { width: 150px; }
.footer-slogan { margin: 16px 0 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.footer-info__name { margin: 0 0 10px; font-weight: 700; font-size: 16px; color: var(--ink); }
.footer-info__list { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.7; }
.footer-info__list li { display: flex; gap: 10px; padding: 3px 0; }
.footer-info__list .icon { margin-top: .25em; color: var(--red-text); }
.footer-info__list a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.footer-info__list a:hover { color: var(--red-text); text-decoration: underline; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-template-rows: repeat(5, auto); gap: 6px 36px; font-size: 14px; }
.footer-nav a { color: var(--text); text-decoration: none; }
.footer-nav a:hover { color: var(--red-text); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-bottom a { color: var(--muted); }

/* ---------- mobile contact bar ---------- */
.mobile-cta { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .cards--grid3, .cards--grid4, .plans--n4, .plans--n3 { grid-template-columns: repeat(2, 1fr); }
  .post-cards { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .greeting { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
  .step--image { grid-template-columns: 64px minmax(0, 1fr) 200px; }
  .footer-main__grid { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-column: 1 / -1; }
  .footer-nav ul { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(2, 1fr); }
  .page-header--image { grid-template-columns: minmax(0, 1fr); }
  .page-header--image .page-header__text { display: block; padding: 40px 0 44px; }
  .page-header--image .page-header__inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
  .page-header__media { order: -1; min-height: 240px; }
}
@media (max-width: 760px) {
  body { font-size: 15px; padding-bottom: 60px; }
  .block { padding: 52px 0; }
  .bg-gray + .block.bg-white, .bg-pale + .block.bg-white, .bg-ink + .block.bg-white, .highlight + .block.bg-white, .contact-band + .block.bg-white, .page-header + .block.bg-white { padding-top: 52px !important; }
  .sec-head { margin-bottom: 26px; }
  .cards--grid2, .cards--grid3, .cards--grid4, .post-cards, .text-image, .contact-grid, .access, .offices, .plans--n3, .highlight__grid, .plans-notes--images, .contact-band__list, .greeting { grid-template-columns: minmax(0, 1fr); }
  .plans--n4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .plans--n4 .plan__features { padding: 0 12px 12px; font-size: 13px; }
  .gallery--thirds { grid-template-columns: repeat(2, 1fr); }
  .text-image { gap: 24px; }
  .text-image--right .text-image__media { order: 0; }
  .greeting__person { position: static; max-width: 340px; margin: 0 auto; }
  .contact-band__list { gap: 12px; }
  .cards--rows .card--image { flex-direction: column; align-items: stretch; padding: 0 0 18px; }
  .cards--rows .card--image .card__media { flex: none; }
  .cards--rows .card--image .card__body { padding: 0 18px; }
  .cards--tiles .card { min-height: 0; padding: 22px; }
  .cards--tiles .card__icon { left: 22px; top: 22px; }
  .rows-table th, .rows-table td { display: block; width: auto; border-bottom: 0; }
  .rows-table th { padding-bottom: 0; color: var(--muted); font-size: 13px; }
  .rows-table td { padding-top: 2px; }
  .rows-table tr { display: block; border-bottom: 1px solid var(--line); }
  .step, .step--image { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .step__num { width: 44px; height: 44px; font-size: 18px; }
  .step__media { grid-column: 1 / -1; }
  .slider__track { height: 470px; }
  .slide { align-items: flex-end; }
  .slide__bg::after { background: linear-gradient(0deg, rgba(35, 38, 46, .88) 0%, rgba(35, 38, 46, .6) 45%, rgba(35, 38, 46, 0) 75%); }
  .slide__copy { padding-bottom: 38px; }
  .slider__nav { display: none; }
  .confirm-list { grid-template-columns: 1fr; }
  .confirm-list dt { border-bottom: 0; padding-bottom: 4px; }
  .footer-cta__inner { grid-template-columns: minmax(0, 1fr); text-align: center; padding-top: 40px; padding-bottom: 40px; }
  .footer-cta__actions { min-width: 0; }
  .footer-main__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 40px; }
  .offices--single .office { flex-direction: column; }
  .offices--single .office__info { flex: none; }
  .offices--single .map iframe { height: 280px; min-height: 0; }
  .mobile-cta { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; height: 60px; box-shadow: 0 -2px 12px rgba(0, 0, 0, .12); }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: #fff; text-decoration: none; }
  .mobile-cta .icon { width: 22px; height: 22px; }
  .mobile-cta__tel { background: var(--teal); }
  .mobile-cta__mail { background: var(--red-text); }
}

/* ---------- image lightbox ---------- */
.is-zoomable { cursor: zoom-in; }
img.is-zoomable:focus-visible, a.is-zoomable:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.has-lightbox, .has-lightbox body { overflow: hidden; }
.lightbox { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgba(20, 21, 26, .96); backdrop-filter: blur(4px); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: lb-in .2s ease-out; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 100%; margin: 0; padding: 56px 72px 64px; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); transition: opacity .2s; user-select: none; }
.lightbox.is-loading .lightbox__img { opacity: .4; }
.lightbox__caption { max-width: 60em; text-align: center; font-size: 14px; opacity: .9; }
.lightbox__count { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); margin: 0; font-size: 13px; letter-spacing: .1em; opacity: .8; }
.lightbox__btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font: 300 34px/1 var(--font); cursor: pointer; transition: background .2s; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: 12px; right: 12px; font-size: 30px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) {
  .lightbox__figure { padding: 56px 8px 72px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) { .lightbox[open] { animation: none; } }

/* ==========================================================================
   NAP買取 theme: the former site's look (white header with an orange rule, tab menu,
   red→dark cards, red store cards, gray footer with a wave), on top of the shared base.
   ========================================================================== */
:root { --gray: #f1f1f1; --header-h: 92px; }
.site-header { box-shadow: none; border-bottom: 3px solid var(--orange); }
.site-header__inner { max-width: 1160px; padding: 8px 20px; gap: 24px; }
.site-logo__img img { height: 62px; }
.site-nav { flex-direction: column-reverse; align-items: flex-end; justify-content: center; gap: 4px; }
.site-nav__list { background: var(--gray); }
.site-nav__list > li > a, .site-nav__group { padding: 8px 26px; font-size: 13px; font-weight: 500; border-left: 1px solid #fff; }
.site-nav__list > li:first-child > a { border-left: 0; }
.site-nav__list > li > a::after, .site-nav__group::after { left: 0; right: 0; bottom: 0; height: 2px; border-radius: 0; }
.site-nav__list > li > a[aria-current="page"], .has-sub.is-active .site-nav__group { color: var(--red-text); }
.site-nav__top { display: flex; flex-wrap: wrap; justify-content: flex-end; list-style: none; margin: 0; padding: 0; font-size: 12px; }
.site-nav__top li + li { margin-left: 10px; padding-left: 10px; border-left: 1px solid #c5c7cc; line-height: 1.2; }
.site-nav__top a { color: var(--text); text-decoration: none; }
.site-nav__top a:hover, .site-nav__top a[aria-current="page"] { color: var(--red-text); }

/* hero: big centered catch, photo left, reasons right */
.kaitori-hero { padding: 36px 0 56px; }
.kaitori-hero__title { margin: 0 0 36px; text-align: center; color: var(--ink); font-size: clamp(25px, 3.6vw, 40px); font-weight: 700; line-height: 1.45; letter-spacing: .03em; }
.kaitori-hero__title strong, .kaitori-hero__sub strong { color: var(--red); background: linear-gradient(transparent 88%, var(--red) 88%, var(--red) 96%, transparent 96%); padding: 0 .1em; }
.kaitori-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; align-items: center; }
.kaitori-hero__media img { width: 100%; max-width: 480px; margin: 0 auto; border-radius: 58% 42% 46% 54% / 46% 56% 44% 54%; }
.kaitori-hero__sub { margin: 0 0 18px; text-align: center; font-size: clamp(18px, 2vw, 22px); font-weight: 500; }
.points { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.point { display: flex; align-items: center; gap: 18px; padding: 14px 18px; border-bottom: 3px solid var(--red); background: linear-gradient(90deg, var(--red-text) 0%, var(--red-dark) 45%, var(--ink) 100%); color: #fff; }
.point__icon { flex: none; display: flex; }
.point__icon .icon { width: 44px; height: 44px; }
.point__title { margin: 0 0 2px; color: #fff; font-size: 18px; }
.point__text { font-size: 13px; line-height: 1.7; }
.point__text p { margin: 0; }

/* category image links */
.image-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.image-links li:first-child { grid-row: span 2; }
.image-links li:first-child .image-link, .image-links li:first-child picture { height: 100%; }
.image-links li:first-child img { height: 100%; object-fit: cover; }
.image-link { display: block; overflow: hidden; border-left: 4px solid var(--red); border-right: 4px solid var(--orange); box-shadow: var(--shadow); transition: transform .2s; }
.image-link:hover { transform: translateY(-3px); }
.image-link img { width: 100%; }

/* numbered selling tips */
.stats { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: tip; }
.stat { counter-increment: tip; gap: 14px; padding: 12px 18px; border-radius: 999px 999px 999px 8px; box-shadow: 0 3px 8px rgba(35, 38, 46, .22); }
.stat::before { content: counter(tip); flex: none; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 6px; background: var(--orange-text); color: #fff; font-weight: 700; }
.stat:nth-child(4n+2)::before { background: #2f8a3a; }
.stat:nth-child(4n+3)::before { background: var(--teal); }
.stat:nth-child(4n)::before { background: var(--red-text); }
.stat__label { font-weight: 500; }

/* stores: red cards */
.offices { gap: 18px; }
.office { border: 0; border-left: 4px solid var(--orange); border-radius: 0; background: var(--red-text); color: #fff; }
.office__name { color: #fff; text-align: center; }
.office__name::after { content: ''; display: block; width: 72px; height: 2px; margin: 8px auto 0; background: #fff; }
.office__list .icon { color: #fff; }
.office__list a { color: #fff; }
.office .map { background: #fff; }

.post-card__tag { background: var(--teal); }
.sec-head__title::after { background: var(--red); }

/* page header */
.page-header { background: var(--gray); background-image: none; color: var(--ink); text-align: center; }
.page-header__text { padding: 30px 0 34px; }
.page-header .container { padding-top: 30px; padding-bottom: 34px; }
.page-header__title { color: var(--ink); font-size: clamp(24px, 3.2vw, 34px); }
.page-header__lead { margin-inline: auto; }
.breadcrumb { justify-content: center; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.tag { background: var(--teal); color: #fff; }
.tag:hover { color: #fff; background: var(--teal-dark); }
.page-message .page-header .btn { background: var(--red-text); border-color: var(--red-text); color: #fff; }

/* ---------- price list ---------- */
.block--price { padding-top: 40px !important; }
.price-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; }
.price-main .sec-head { margin-bottom: 24px; }
.price-search label { display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 2px solid var(--line); border-radius: 8px; background: #fff; }
.price-search label:focus-within { border-color: var(--red-text); }
.price-search .icon { width: 22px; height: 22px; color: var(--muted); }
.price-search input { flex: 1; min-width: 0; padding: 12px 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; }
.price-search__status { min-height: 1.6em; margin: 6px 2px 10px; color: var(--muted); font-size: 13px; }
.product-group { margin-bottom: 24px; }
.product-group__title { margin: 0 0 8px; padding: 6px 12px; background: var(--ink); color: #fff; font-size: 15px; }
.product { border: 1px solid var(--line); border-top: 0; background: #fff; }
.product-group__title + .product, .product:first-child { border-top: 1px solid var(--line); }
.product__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; }
summary.product__head { position: relative; padding-left: 36px; cursor: pointer; list-style: none; }
summary.product__head::-webkit-details-marker { display: none; }
summary.product__head::before { content: ''; position: absolute; left: 16px; top: 50%; width: 8px; height: 8px; margin-top: -5px; border: solid var(--red-text); border-width: 0 2px 2px 0; transform: rotate(-45deg); transition: transform .15s; }
details[open] > summary.product__head::before { margin-top: -7px; transform: rotate(45deg); }
summary.product__head:hover { background: var(--red-pale); }
.product__name { font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.product__range { flex: none; color: var(--red-text); font-weight: 700; font-size: 14px; white-space: nowrap; }
.product__range small { margin-right: 4px; color: var(--muted); font-size: 11px; font-weight: 400; }
.product__body { padding: 0 16px 14px; }
.product__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.product__table th, .product__table td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.product__table th { background: var(--gray); color: var(--ink); font-size: 12px; font-weight: 700; }
.product__table th:nth-child(n+3), .product__table .product__price { text-align: right; }
.product__price { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-ask { color: var(--red-text); font-size: 13px; font-weight: 500; white-space: nowrap; }
.product__note { margin: 8px 0 0; padding: 0 0 2px; color: var(--muted); font-size: 13px; }
.product--plain .product__note { padding: 0 16px 12px; margin: -4px 0 0; }
.price-updated { margin: 0 0 24px; color: var(--muted); font-size: 12px; }
.price-empty { padding: 32px 24px; background: var(--gray); text-align: center; }
.price-empty p:last-child { margin: 0; }
.price-notes { margin-top: 32px; padding: 22px 24px; background: var(--gray); font-size: 14px; }
.price-notes h3 { margin: 0 0 10px; font-size: 17px; }
.price-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
.price-side__tel { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--red-text); color: #fff; text-decoration: none; }
.price-side__tel:hover { color: #fff; background: var(--red-dark); }
.price-side__tel .icon { width: 30px; height: 30px; }
.price-side__tel span { font-size: 12px; line-height: 1.4; }
.price-side__tel strong { display: block; font-size: 20px; letter-spacing: .02em; }
.price-side__nav { border: 1px solid var(--line); }
.price-side__nav p { margin: 0; padding: 8px 14px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.price-side__nav ul { list-style: none; margin: 0; padding: 0; }
.price-side__nav a { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; text-decoration: none; }
.price-side__nav a:hover, .price-side__nav a[aria-current="page"] { background: var(--red-pale); color: var(--red-text); font-weight: 700; }
.price-side__line { padding: 14px; border: 1px solid var(--line); font-size: 13px; line-height: 1.7; }
.price-side__line p { margin: 0; }
.price-side__line-title { margin-bottom: 8px !important; color: #06803a; font-size: 15px; font-weight: 700; }
.price-side__line img { width: 100%; max-width: 200px; margin: 0 auto 8px; }
.price-side__fb { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; background: #1b5fbe; color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.price-side__fb:hover { color: #fff; background: #144a96; }
.price-side__fb .icon { width: 20px; height: 20px; }

/* footer */
.footer-main { background: var(--gray); text-align: center; }
.footer-main__inner { padding-top: 48px; padding-bottom: 8px; }
.footer-main__name { margin: 0 0 12px; color: var(--ink); font-size: 18px; font-weight: 700; }
.footer-main__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.footer-main__list li { display: flex; align-items: center; gap: 6px; }
.footer-main__list .icon { color: var(--red-text); }
.footer-main__list a { color: var(--text); text-decoration: none; }
.footer-main__list a:hover { color: var(--red-text); text-decoration: underline; }
.footer-main__license { margin: 14px 0 0; color: var(--ink); font-size: 14px; font-weight: 700; }
.footer-wave { display: block; width: 100%; height: clamp(40px, 6vw, 80px); margin-bottom: -1px; fill: #fff; }
.footer-nav-band { padding: 8px 0 24px; }
.footer-nav ul { display: flex; flex-wrap: wrap; justify-content: center; grid-auto-flow: unset; grid-template-rows: none; gap: 4px 28px; }
.footer-bottom { flex-direction: column; align-items: center; border-top: 2px solid var(--red); background: var(--gray); }

@media (max-width: 1180px) {
  :root { --header-h: 70px; }
  .site-logo__img img { height: 50px; }
  .site-nav { top: calc(var(--header-h) + 3px); flex-direction: column; align-items: stretch; }
  .site-nav__list { background: none; }
  .site-nav__list > li > a, .site-nav__group { border-left: 0; font-size: 16px; font-weight: 700; padding: 14px 4px; }
  .site-nav__top { flex-direction: column; margin-top: 12px; font-size: 15px; }
  .site-nav__top li + li { margin: 0; padding: 0; border: 0; }
  .site-nav__top a { display: block; padding: 11px 4px; }
}
@media (max-width: 960px) {
  .price-layout { grid-template-columns: minmax(0, 1fr); }
  .price-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-side__tel, .price-side__line, .price-side__fb { grid-column: 1 / -1; }
  .price-side__nav { grid-column: 1 / -1; }
  .kaitori-hero__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .image-links { grid-template-columns: minmax(0, 1fr); }
  .image-links li:first-child { grid-row: auto; }
  .point { gap: 12px; padding: 12px; }
  .point__icon .icon { width: 34px; height: 34px; }
  .product__table { font-size: 13px; }
  .product__table th, .product__table td { padding: 8px 4px; }
  .price-ask { font-size: 12px; }
  .product__body { padding: 0 10px 10px; }
}
