/* ==========================================================================
   www.ageet.com — Design System
   Base: ageet renewal design spec v1.0 (2026-07-10)
   Brand: #EA5B00 (primary) / #F29D00 (secondary), clean & spacious
   ========================================================================== */

:root {
  --color-primary: #EA5B00;
  --color-primary-dark: #C24B00;
  --color-secondary: #F29D00;
  --gradient-brand: linear-gradient(135deg, #EA5B00, #F29D00);
  --color-text: #1A1A1A;
  --color-text-muted: #5C5C5C;
  --color-bg: #FFFFFF;
  --color-bg-tint: #FFF7F0;
  --color-border: #E8E2DC;
  --color-footer: #231815;
  --font-sans: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --max-width: 1140px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 4px 24px rgba(234, 91, 0, .08);
  --shadow-card-hover: 0 12px 32px rgba(234, 91, 0, .14);
  --header-h: 72px;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
::selection { background: rgba(242, 157, 0, .30); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* Header ------------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 2px 20px rgba(35, 24, 21, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.header__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.header__logo img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { font-size: 15px; font-weight: 500; position: relative; padding: 4px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--gradient-brand); transition: width .25s;
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--color-primary-dark); }

.nav__toggle {
  display: none; position: relative; z-index: 210;
  width: 44px; height: 44px; border: none; background: none; cursor: pointer;
}
.nav__toggle span, .nav__toggle::before, .nav__toggle::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2px;
  background: var(--color-text); border-radius: 2px; transition: transform .3s, opacity .3s, top .3s;
}
.nav__toggle::before { top: 15px; }
.nav__toggle span { top: 21px; }
.nav__toggle::after { top: 27px; }
.nav__toggle[aria-expanded="true"]::before { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span { opacity: 0; }
.nav__toggle[aria-expanded="true"]::after { top: 21px; transform: rotate(-45deg); }

/* Dark header variant — トップページのダークヒーローに重ねる用 */
.header--dark { background: rgba(9, 13, 20, .55); border-bottom-color: rgba(255, 255, 255, .08); color: #F5F3EE; }
.header--dark.is-scrolled { background: rgba(9, 13, 20, .88); box-shadow: 0 2px 20px rgba(0, 0, 0, .4); }
.header--dark .nav__link.is-active { color: #FFB877; }
.header--dark .nav__toggle span,
.header--dark .nav__toggle::before,
.header--dark .nav__toggle::after { background: #F5F3EE; }
/* 白背景のドロワー展開時は白ロゴを黒に反転し、トグルも通常配色へ */
body.nav-open .header--dark { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
body.nav-open .header--dark .header__logo img { filter: brightness(0); }
body.nav-open .header--dark .nav__toggle span,
body.nav-open .header--dark .nav__toggle::before,
body.nav-open .header--dark .nav__toggle::after { background: var(--color-text); }

/* Mobile drawer — must live OUTSIDE <header> (backdrop-filter creates a
   containing block that would trap position:fixed descendants).
   z-index sits BELOW the header so the logo and the toggle (close) button
   stay visible and clickable while the drawer is open. */
.drawer {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: linear-gradient(180deg, #fff 0%, var(--color-bg-tint) 100%);
  padding: calc(var(--header-h) + 24px) 28px 40px;
  flex-direction: column; gap: 4px; overflow-y: auto;
}
.drawer.is-open { display: flex; }
.drawer > a {
  font-size: 18px; font-weight: 600; padding: 16px 4px;
  border-bottom: 1px solid var(--color-border);
  display: flex; justify-content: space-between; align-items: center;
}
.drawer > a::after { content: "→"; color: var(--color-primary); font-weight: 700; }
.drawer__cta { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.drawer__note { margin-top: auto; padding-top: 32px; font-size: 12px; color: var(--color-text-muted); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15px; line-height: 1.5;
  border: none; cursor: pointer; transition: all .25s;
}
.btn--primary { background: var(--gradient-brand); color: #fff; box-shadow: 0 4px 14px rgba(234, 91, 0, .35); }
.btn--primary:hover { background: var(--color-primary-dark); box-shadow: 0 6px 20px rgba(234, 91, 0, .45); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--color-primary-dark); border: 2px solid var(--color-primary); padding: 11px 26px; }
.btn--ghost:hover { background: var(--color-bg-tint); }
.btn--sm { padding: 9px 20px; font-size: 14px; }
.btn--on-brand { background: #fff; color: var(--color-primary-dark); }
.btn--on-brand:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }

/* External link marker */
.ext::after { content: " ↗"; font-size: .85em; color: var(--color-secondary); }

/* Badges ------------------------------------------------------------------ */
.badge {
  display: inline-block; font-size: 12px; font-weight: 700; line-height: 1.6;
  color: var(--color-primary-dark); background: rgba(242, 157, 0, .15);
  border-radius: 999px; padding: 3px 12px; white-space: nowrap;
}
.badge--outline { background: #fff; border: 1px solid var(--color-border); color: var(--color-text-muted); }

/* Hero (top page) — cinematic dark, video-ready ---------------------------- */
.hero {
  position: relative; overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px;
  background: #07090D; color: #F5F3EE;
}

/* 背景メディア層 — <video> を有効化するまでは .hero__sim がCSSアニメーションで
   動画相当の動きを担う。動画有効化後も sim はフォールバックとして残す。 */
.hero__media { position: absolute; inset: 0; pointer-events: none; }
.hero__sim { position: absolute; inset: 0; overflow: hidden; }
.hero__sim::before {
  content: ""; position: absolute; inset: -6%;
  background:
    radial-gradient(1100px 700px at 78% 30%, rgba(30, 90, 140, .55), transparent 62%),
    radial-gradient(900px 640px at 18% 78%, rgba(180, 70, 10, .38), transparent 60%),
    radial-gradient(1300px 900px at 50% 110%, rgba(10, 25, 50, .9), transparent 70%),
    linear-gradient(180deg, #0A0F16 0%, #060809 100%);
  animation: hero-pan 22s ease-in-out infinite alternate;
}
@keyframes hero-pan { to { transform: scale(1.09) translate(-1.5%, 1.5%); } }
.hero__streak {
  position: absolute; height: 1.5px; border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(120, 200, 255, .85), transparent);
  animation: streak-fly 7s linear infinite;
}
.hero__streak:nth-child(1) { top: 26%; left: -30%; width: 44%; }
.hero__streak:nth-child(2) { top: 58%; left: -30%; width: 34%; animation-delay: 2.3s; background: linear-gradient(90deg, transparent, rgba(255, 160, 80, .75), transparent); }
.hero__streak:nth-child(3) { top: 74%; left: -30%; width: 50%; animation-delay: 4.1s; }
.hero__streak:nth-child(4) { top: 40%; left: -30%; width: 28%; animation-delay: 5.4s; background: linear-gradient(90deg, transparent, rgba(255, 120, 40, .6), transparent); }
@keyframes streak-fly {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 1; }
  60% { opacity: .9; }
  100% { transform: translateX(320%); opacity: 0; }
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 文字可読性のためのスクリム。動画・sim どちらの上にも必ず重ねる */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 9, 13, .78) 0%, rgba(7, 9, 13, .38) 55%, rgba(7, 9, 13, .12) 100%),
    radial-gradient(120% 90% at 50% 42%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}

/* Copy */
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__label {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(245, 243, 238, .25); border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 8px 18px; margin-bottom: 32px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; color: rgba(245, 243, 238, .88);
}
.hero__label::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-primary); box-shadow: 0 0 12px var(--color-primary);
}
.hero h1 { font-size: clamp(40px, 6.2vw, 88px); font-weight: 800; line-height: 1.06; letter-spacing: -.015em; }
.hero h1 .hero__sub {
  display: block; font-size: clamp(17px, 2.2vw, 30px); font-weight: 400;
  letter-spacing: .06em; color: rgba(245, 243, 238, .75); margin-bottom: 18px;
}
.hero h1 .accent { color: #FF8A2A; text-shadow: 0 0 42px rgba(255, 122, 26, .45); }
.hero__lead { margin: 30px 0 44px; font-size: clamp(15px, 2vw, 17px); line-height: 2; color: rgba(245, 243, 238, .78); max-width: 560px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__actions .btn--primary::after { content: "→"; transition: transform .25s; }
.hero__actions .btn--primary:hover::after { transform: translateX(4px); }
.hero .btn--ghost {
  background: transparent; color: #F5F3EE; border: 1px solid rgba(245, 243, 238, .38);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .08); }

/* Scroll cue */
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: "Inter", sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .34em;
  color: rgba(245, 243, 238, .55);
}
.hero__scroll::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(rgba(245, 243, 238, .65), transparent);
  animation: scroll-cue 2.2s ease-in-out infinite;
}
@keyframes scroll-cue { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* Entrance choreography */
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero__inner > * { animation: hero-rise .65s cubic-bezier(.25, .6, .25, 1) both; }
.hero__inner > *:nth-child(2) { animation-delay: .09s; }
.hero__inner > *:nth-child(3) { animation-delay: .18s; }
.hero__inner > *:nth-child(4) { animation-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
  .hero *, .hero *::before, .hero *::after { animation: none !important; }
  .hero__video { display: none; }
}

/* Stats band --------------------------------------------------------------- */
.stats {
  position: relative; overflow: hidden;
  background: var(--gradient-brand); color: #fff; padding: 44px 0;
}
.stats::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(560px 240px at 92% -30%, #000, transparent 70%);
  mask-image: radial-gradient(560px 240px at 92% -30%, #000, transparent 70%);
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stats__grid > div + div { border-left: 1px solid rgba(255, 255, 255, .25); }
.stats__num { font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.2; letter-spacing: .01em; }
.stats__num small { font-size: .55em; font-weight: 700; margin-left: 2px; }
.stats__label { font-size: 14px; opacity: .92; margin-top: 4px; }

/* Sections ----------------------------------------------------------------- */
.section { padding: 88px 0; }
.section--tint { background: var(--color-bg-tint); }
.section__eyebrow {
  color: var(--color-primary); font-weight: 700; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase;
}
.section__title { font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; margin: 8px 0 16px; line-height: 1.4; }
.section__lead { color: var(--color-text-muted); max-width: 720px; margin-bottom: 48px; }
.section__foot { margin-top: 40px; text-align: center; }

/* Page header (sub pages) --------------------------------------------------- */
.page-header {
  position: relative; overflow: hidden;
  padding: 64px 0 56px;
  background:
    radial-gradient(900px 380px at 90% -20%, rgba(242, 157, 0, .14), transparent 60%),
    radial-gradient(700px 360px at -5% 120%, rgba(234, 91, 0, .08), transparent 60%),
    var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.page-header__eyebrow { color: var(--color-primary); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.page-header h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.3; margin: 6px 0 14px; }
.page-header__lead { color: var(--color-text-muted); max-width: 760px; }
.page-header__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* Breadcrumb ---------------------------------------------------------------- */
.breadcrumb { padding: 18px 0 0; font-size: 13px; color: var(--color-text-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--color-border); }
.breadcrumb a:hover { color: var(--color-primary-dark); }
.breadcrumb [aria-current] { color: var(--color-text); font-weight: 600; }

/* Anchor nav (in-page) ------------------------------------------------------- */
.anchor-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.anchor-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--color-border); border-radius: 999px;
  padding: 8px 20px; font-size: 14px; font-weight: 600; transition: all .25s;
}
.anchor-nav a::before { content: "↓"; color: var(--color-primary); font-weight: 700; }
.anchor-nav a:hover { border-color: var(--color-primary); color: var(--color-primary-dark); background: var(--color-bg-tint); }

/* Cards --------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 36px 28px; box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(234, 91, 0, .35); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--gradient-brand);
  display: grid; place-items: center; margin-bottom: 22px; color: #fff; flex-shrink: 0;
}
.card__icon svg { width: 28px; height: 28px; }
.card__label { font-size: 13px; font-weight: 700; color: var(--color-primary); letter-spacing: .08em; margin-bottom: 6px; }
.card__media {
  margin: -36px -28px 24px; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  background: var(--color-bg-tint); border-bottom: 1px solid var(--color-border);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__media--contain { background: #fff; }
.card__media--contain img { object-fit: contain; padding: 14px; }
.card:hover .card__media--contain img { transform: none; }
.card--featured {
  background: linear-gradient(160deg, #FFF3E8, #fff 55%);
  border-color: rgba(234, 91, 0, .35);
  position: relative;
}
.card--featured::before {
  content: "主力製品"; position: absolute; top: 16px; right: 16px;
  background: var(--gradient-brand); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 999px; padding: 4px 12px; letter-spacing: .06em;
}
.card h3 { font-size: clamp(19px, 2vw, 22px); font-weight: 600; line-height: 1.5; margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--color-text-muted); flex: 1 0 auto; }
.card__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.card__link {
  margin-top: 20px; font-weight: 700; font-size: 14px; color: var(--color-primary-dark);
  display: inline-flex; align-items: center; gap: 6px; transition: gap .25s;
}
.card__link::after { content: "→"; }
.card__link:hover { gap: 10px; }
.card__link.ext::after { content: "↗"; color: var(--color-secondary); }

/* Quote / testimonial cards --------------------------------------------------- */
.quote {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-card); position: relative;
  display: flex; flex-direction: column;
}
.quote::before {
  content: "“"; position: absolute; top: 6px; left: 20px;
  font-size: 64px; font-weight: 800; line-height: 1; color: rgba(234, 91, 0, .18);
}
.quote blockquote { font-size: 15px; padding-top: 26px; flex: 1 0 auto; }
.quote--photo::before { content: none; }
.quote--photo blockquote { padding-top: 0; }
.quote__photo {
  margin: -32px -28px 22px; aspect-ratio: 16 / 8; overflow: hidden;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  border-bottom: 1px solid var(--color-border); background: var(--color-bg-tint);
}
.quote__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Media row (text + photo, alternating) ----------------------------------------- */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-row__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card-hover); }
.media-row__img img { width: 100%; height: auto; }
.media-row__img--deco { position: relative; overflow: visible; box-shadow: none; }
.media-row__img--deco img { border-radius: var(--radius); box-shadow: var(--shadow-card-hover); }
.media-row__img--deco::before {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 45%; height: 45%;
  background-image: radial-gradient(rgba(234, 91, 0, .30) 2px, transparent 2px);
  background-size: 16px 16px; z-index: -1; border-radius: var(--radius);
}
.media-row__img--deco::after {
  content: ""; position: absolute; left: -14px; top: -14px; width: 72px; height: 72px;
  border: 2px dashed rgba(234, 91, 0, .30); border-radius: 50%; z-index: -1;
}
.media-row h3 { font-size: 20px; margin-bottom: 14px; }
.media-row p { color: var(--color-text-muted); font-size: 15px; }
.media-row p + p { margin-top: 12px; }

/* Message (CEO greeting) ---------------------------------------------------------- */
.message-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.message-grid figure { margin: 0; }
.message-grid figure img { border-radius: var(--radius); box-shadow: var(--shadow-card-hover); }
.message-grid figcaption { margin-top: 12px; font-size: 13px; color: var(--color-text-muted); text-align: center; }
.message-sign { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 28px; }
.message-sign span { font-weight: 700; font-size: 14px; text-align: right; line-height: 1.6; }
.message-sign img { height: 26px; width: auto; }

/* Partner name chips ---------------------------------------------------------------- */
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-grid span {
  background: #fff; border: 1px solid var(--color-border); border-radius: 999px;
  padding: 7px 18px; font-size: 13px; font-weight: 500; color: var(--color-text-muted);
  transition: border-color .2s, color .2s;
}
.chip-grid span:hover { border-color: var(--color-secondary); color: var(--color-text); }

/* Standalone figure ----------------------------------------------------------------- */
.photo-figure { margin: 40px 0 0; }
.photo-figure img { border-radius: var(--radius); box-shadow: var(--shadow-card); width: 100%; height: auto; }
.photo-figure figcaption { margin-top: 12px; font-size: 13px; color: var(--color-text-muted); text-align: center; }
.quote figcaption { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--color-border); font-size: 13px; color: var(--color-text-muted); }
.quote figcaption strong { display: block; font-size: 14px; color: var(--color-text); }

/* News list ------------------------------------------------------------------- */
.news { display: flex; flex-direction: column; }
.news__item {
  position: relative;
  display: grid; grid-template-columns: 120px 110px 1fr 24px; gap: 20px; align-items: baseline;
  padding: 22px 8px; border-bottom: 1px solid var(--color-border); transition: background .2s;
}
.news__item:first-child { border-top: 1px solid var(--color-border); }
.news__item:hover { background: rgba(255, 247, 240, .8); }
.section--tint .news__item:hover { background: #fff; }
.news__item::after {
  content: "→"; justify-self: end; align-self: center;
  color: var(--color-primary); font-weight: 700;
  opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s;
}
.news__item:hover::after { opacity: 1; transform: none; }
.news__date { font-size: 14px; color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.news__title { font-size: 15px; font-weight: 500; }

/* Trusted-by strip (client names marquee) ---------------------------------------- */
.trust { padding: 34px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: #fff; }
.trust__label { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--color-text-muted); text-transform: uppercase; margin-bottom: 18px; }
.trust__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trust__track { display: flex; gap: 56px; width: max-content; animation: trust-scroll 48s linear infinite; }
.trust__track span { font-size: 15px; font-weight: 600; color: #8a817b; white-space: nowrap; }
@keyframes trust-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .trust__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 16px 32px; }
  .trust__track span:nth-child(n+13) { display: none; }
}

/* Tables ------------------------------------------------------------------------ */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.table th, .table td { padding: 18px 20px; border: 1px solid var(--color-border); text-align: left; vertical-align: top; line-height: 1.7; }
.table th { background: var(--color-bg-tint); font-weight: 600; width: 220px; }
.table--rows th { width: auto; white-space: nowrap; }
.table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Timeline (company history) ------------------------------------------------------ */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--color-secondary), var(--color-primary));
  border-radius: 2px;
}
.timeline__item { position: relative; padding: 0 0 32px 24px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -28px; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--gradient-brand); border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(234, 91, 0, .25);
}
.timeline__year { font-weight: 800; font-size: 18px; color: var(--color-primary-dark); letter-spacing: .02em; }
.timeline__body { color: var(--color-text-muted); font-size: 15px; }
.timeline__body strong { color: var(--color-text); }

/* Accordion (details/summary) ------------------------------------------------------ */
.accordion { border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.accordion + .accordion { margin-top: 16px; }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 20px 24px; font-weight: 600; font-size: 16px; transition: background .2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "＋"; margin-left: auto; color: var(--color-primary); font-weight: 700; font-size: 18px;
  transition: transform .25s; flex-shrink: 0;
}
.accordion[open] summary::after { transform: rotate(45deg); }
.accordion summary:hover { background: var(--color-bg-tint); }
.accordion__num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--gradient-brand); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.accordion__body { padding: 4px 24px 24px 72px; color: var(--color-text-muted); font-size: 15px; }
.accordion__body a { color: var(--color-primary-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Forms ------------------------------------------------------------------------------ */
.form__note { font-size: 13px; color: var(--color-text-muted); }

/* JotForm embed (agephone.biz-shared inquiry form) -------------------------------------- */
.jotform-embed { width: 100%; min-height: 480px; overflow: hidden; border-radius: var(--radius-sm); background: #fff; }
.jotform-embed iframe { display: block; width: 100% !important; max-width: 100%; border: 0; }

/* Stat panel (big number aside) ---------------------------------------------------------- */
.stat-panel {
  background: linear-gradient(160deg, var(--color-bg-tint), #fff 70%);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 40px 36px; text-align: center;
}
.stat-panel__num {
  font-size: clamp(56px, 7vw, 88px); font-weight: 800; line-height: 1.1; letter-spacing: .01em;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-panel__label { font-size: 14px; font-weight: 600; color: var(--color-text-muted); margin-top: 8px; }
.stat-panel__list { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 10px; text-align: left; }
.stat-panel__list li { font-size: 13px; color: var(--color-text-muted); padding-left: 22px; position: relative; }
.stat-panel__list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }

/* Contact form layout (form + aside) ------------------------------------------------------ */
.form-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.form-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
.form-aside__box {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 24px;
}
.form-aside__box h3 { font-size: 14px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.form-aside__box h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-brand); }
.form-aside__box p, .form-aside__box li { font-size: 13px; color: var(--color-text-muted); }
.form-aside__box ul { display: flex; flex-direction: column; gap: 6px; }
.form-aside__box a { color: var(--color-primary-dark); font-weight: 600; }

/* Notes / info boxes -------------------------------------------------------------------- */
.note {
  background: var(--color-bg-tint); border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px; font-size: 14px; color: var(--color-text-muted);
}
.note strong { color: var(--color-text); }
.note ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Column (article-ish block) -------------------------------------------------------------- */
.column-box {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 40px;
}
.column-box h3 { font-size: 20px; margin-bottom: 14px; }
.column-box p { color: var(--color-text-muted); font-size: 15px; }
.column-box p + p { margin-top: 12px; }

/* CTA band ---------------------------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; background: var(--gradient-brand); color: #fff; text-align: center; padding: 80px 24px; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(500px 300px at 15% 110%, #000, transparent 70%);
  mask-image: radial-gradient(500px 300px at 15% 110%, #000, transparent 70%);
}
.cta__inner { position: relative; }
.cta h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 700; margin-bottom: 14px; }
.cta p { opacity: .94; margin-bottom: 32px; }

/* Footer -------------------------------------------------------------------------------------- */
.footer { background: var(--color-footer); color: #D8CFC9; padding: 64px 0 32px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
.footer__brand img { height: 48px; width: auto; }
.footer__tagline { margin-top: 14px; font-size: 13px; line-height: 1.7; }
.footer__pmark { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.footer__pmark img { width: 56px; height: 56px; }
.footer__pmark span { font-size: 11px; line-height: 1.6; }
.footer h2 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--color-secondary); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12px;
}

/* Reveal animation ------------------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Legal documents (privacy policy, regulations, etc.) ---------------------------------------------- */
.doc-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.doc-tabs a {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--color-border);
  font-size: 14px; font-weight: 600; background: #fff; transition: all .25s;
}
.doc-tabs a:hover { border-color: var(--color-primary); color: var(--color-primary-dark); background: var(--color-bg-tint); }
.doc-tabs a[aria-current] { background: var(--gradient-brand); color: #fff; border-color: transparent; }

.legal-doc { max-width: 760px; }
.legal-doc h2 { font-size: 20px; font-weight: 700; margin: 40px 0 14px; padding-top: 28px; border-top: 1px solid var(--color-border); }
.legal-doc h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-doc h3 { font-size: 16px; font-weight: 700; margin: 24px 0 10px; }
.legal-doc p { color: var(--color-text-muted); font-size: 15px; margin-bottom: 14px; }
.legal-doc ul, .legal-doc ol { margin: 0 0 14px; padding-left: 22px; }
.legal-doc li { color: var(--color-text-muted); font-size: 15px; margin-bottom: 6px; list-style: disc; }
.legal-doc strong { color: var(--color-text); }
.legal-doc__meta { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--color-border); font-size: 14px; color: var(--color-text-muted); line-height: 1.9; }

/* Interview / Q&A article (case study detail) ------------------------------------------------------ */
.interview { display: flex; flex-direction: column; gap: 44px; max-width: 860px; }
.interview__topic {
  font-size: clamp(20px, 2.4vw, 23px); font-weight: 700; line-height: 1.5;
  margin-bottom: -16px; padding-left: 16px; border-left: 4px solid var(--color-primary);
}
.interview__q { font-size: 18px; font-weight: 700; margin-bottom: 16px; line-height: 1.6; }
.interview__q::before {
  content: "Q"; display: inline-grid; place-items: center;
  width: 30px; height: 30px; margin-right: 12px; border-radius: 8px;
  background: var(--gradient-brand); color: #fff;
  font-size: 15px; font-weight: 800; vertical-align: -7px;
}
.interview__a {
  background: var(--color-bg-tint); border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 20px 24px;
}
.interview__a strong { display: block; margin-bottom: 8px; font-size: 14px; color: var(--color-primary-dark); }
.interview__a p { color: var(--color-text); font-size: 15px; }
.interview__a p + p { margin-top: 12px; }

/* Q&A row with speaker portrait on the side */
.interview__row { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; }
.interview__figure { margin: 0; }
.interview__figure img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.interview__figure figcaption { margin-top: 10px; font-size: 12.5px; color: var(--color-text-muted); text-align: center; line-height: 1.6; }

/* Case study overview (fact sheet next to the summary) ---------------------------------------------- */
.case-overview { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.case-overview__body p { color: var(--color-text-muted); font-size: 15.5px; }
.case-overview__body p + p { margin-top: 14px; }
.case-profile {
  background: linear-gradient(160deg, var(--color-bg-tint), #fff 70%);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 30px 28px;
}
.case-profile h3 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.case-profile h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-brand); flex-shrink: 0; }
.case-profile dl { margin-top: 14px; font-size: 13.5px; }
.case-profile div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--color-border); }
.case-profile div:last-child { border-bottom: none; padding-bottom: 0; }
.case-profile dt { font-weight: 700; }
.case-profile dd { color: var(--color-text-muted); line-height: 1.7; }

/* Product download page (products/agephone) -------------------------------------------------------- */
.page-header h1 .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-chip {
  display: inline-flex; align-items: center;
  background: #fff; border: 1px solid var(--color-border); border-radius: 999px;
  padding: 10px 22px; box-shadow: var(--shadow-card);
}
.logo-chip img { height: 28px; width: auto; }
.dl-list {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: 9px;
}
.dl-list li { font-size: 13.5px; color: var(--color-text-muted); }
.dl-list a { color: var(--color-primary-dark); font-weight: 600; }
.dl-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dl-list small { font-weight: 500; }
.btn--block { width: 100%; }

/* Blog list (blog/) -------------------------------------------------------------------------------- */
.post-list { display: flex; flex-direction: column; max-width: 860px; }
.post-list__item {
  display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: baseline;
  padding: 26px 8px; border-bottom: 1px solid var(--color-border); transition: background .2s;
}
.post-list__item:first-child { border-top: 1px solid var(--color-border); }
.post-list__item:hover { background: var(--color-bg-tint); }
.post-list__date { font-size: 13px; color: var(--color-text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.post-list__title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.post-list__title a:hover { color: var(--color-primary-dark); }
.post-list__excerpt { font-size: 14px; color: var(--color-text-muted); }
.post-list__tag {
  display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px;
  background: var(--color-bg-tint); border: 1px solid var(--color-border);
  font-size: 11.5px; font-weight: 600; color: var(--color-text-muted); vertical-align: 2px; white-space: nowrap;
}

/* Blog article body (blog/<slug>/) ------------------------------------------------------------------ */
.prose { max-width: 760px; }
.prose h2 { font-size: 21px; font-weight: 700; margin: 44px 0 16px; padding-top: 30px; border-top: 1px solid var(--color-border); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 { font-size: 17px; font-weight: 700; margin: 28px 0 12px; }
.prose p { color: var(--color-text-muted); font-size: 15.5px; line-height: 2; margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { color: var(--color-text-muted); font-size: 15.5px; line-height: 1.9; margin-bottom: 6px; list-style: disc; }
.prose ol li { list-style: decimal; }
.prose strong { color: var(--color-text); }
.prose a { color: var(--color-primary-dark); font-weight: 600; }
.prose a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 8px 0 16px; }
.prose .news-article__image { width: 100%; max-height: 360px; object-fit: cover; }
.prose blockquote {
  border-left: 4px solid var(--color-primary); background: var(--color-bg-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 20px; margin: 0 0 16px;
}
.prose blockquote p { margin-bottom: 0; }
.prose pre {
  background: #2B2622; color: #F5EFE9; border-radius: var(--radius-sm);
  padding: 18px 20px; font-size: 13.5px; line-height: 1.7; overflow-x: auto; margin: 8px 0 20px;
}
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.prose p code, .prose li code {
  background: var(--color-bg-tint); border: 1px solid var(--color-border);
  border-radius: 4px; padding: 1px 6px; font-size: 13.5px; color: var(--color-text);
}
.prose figure { margin: 8px 0 20px; }
.prose figcaption { font-size: 13px; color: var(--color-text-muted); margin-top: 8px; }
.post-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--color-text-muted); }
.post-foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--color-border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14.5px; }
.post-foot a { color: var(--color-primary-dark); font-weight: 600; }
.post-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   αZX II 連携 紹介事例 (azx2.html) — refined showcase LP
   シグネチャー: ヒーローのCSS製スマホ着信画面（クラウド電話帳の名称表示を実演）
   ========================================================================== */

/* Hero ----------------------------------------------------------------------- */
.azx-hero {
  position: relative; overflow: hidden;
  padding: 0 0 84px;
  background:
    radial-gradient(1100px 560px at 88% -12%, rgba(242, 157, 0, .18), transparent 62%),
    radial-gradient(780px 500px at -10% 112%, rgba(234, 91, 0, .10), transparent 60%),
    linear-gradient(180deg, #FFFDFA 0%, #FFF5EC 100%);
  border-bottom: 1px solid var(--color-border);
}
.azx-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(234, 91, 0, .12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(880px 640px at 82% 24%, #000, transparent 72%);
  mask-image: radial-gradient(880px 640px at 82% 24%, #000, transparent 72%);
}
.azx-hero__grid {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; align-items: center;
  padding-top: 40px;
}
.azx-hero__copy > * { animation: hero-rise .65s cubic-bezier(.25, .6, .25, 1) both; }
.azx-hero__copy > *:nth-child(2) { animation-delay: .08s; }
.azx-hero__copy > *:nth-child(3) { animation-delay: .16s; }
.azx-hero__copy > *:nth-child(4) { animation-delay: .24s; }
.azx-hero__copy > *:nth-child(5) { animation-delay: .32s; }
.azx-hero__badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.azx-hero__badges .badge--case {
  background: var(--gradient-brand); color: #fff; letter-spacing: .08em;
}
.azx-hero__badges .badge--carrier { background: #fff; border: 1px solid var(--color-border); color: var(--color-text-muted); }
.azx-hero h1 {
  margin-top: 22px;
  font-size: clamp(31px, 4.2vw, 50px); font-weight: 800; line-height: 1.32; letter-spacing: .005em;
}
.azx-mark {
  background: linear-gradient(transparent 62%, rgba(242, 157, 0, .38) 62%, rgba(242, 157, 0, .38) 94%, transparent 94%);
  padding: 0 2px;
}
.azx-hero__lead { margin-top: 20px; color: var(--color-text-muted); max-width: 540px; }
.azx-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.azx-hero__actions .btn--primary::after { content: "→"; transition: transform .25s; }
.azx-hero__actions .btn--primary:hover::after { transform: translateX(4px); }
.azx-hero__proof { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-top: 30px; }
.azx-hero__proof li {
  font-size: 13.5px; font-weight: 600; color: var(--color-text-muted);
  display: inline-flex; align-items: center; gap: 7px;
}
.azx-hero__proof li::before {
  content: "✓"; display: inline-grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: rgba(234, 91, 0, .12); color: var(--color-primary); font-size: 11px; font-weight: 800;
}

/* Hero stage: phone mockup + floating chips + unit card */
.azx-stage { position: relative; display: flex; justify-content: center; animation: hero-rise .8s .22s cubic-bezier(.25, .6, .25, 1) both; }
.azx-stage::before {
  content: ""; position: absolute; width: 420px; height: 420px; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(242, 157, 0, .22), rgba(234, 91, 0, .06) 62%, transparent 72%);
  border-radius: 50%;
}
.azx-stage::after {
  content: ""; position: absolute; right: 6%; top: 4%; width: 92px; height: 92px;
  border: 2px dashed rgba(234, 91, 0, .35); border-radius: 50%;
}
.azx-phone {
  position: relative; width: 272px; border-radius: 42px; padding: 10px;
  background: linear-gradient(160deg, #3A404D, #14181F 40%);
  box-shadow:
    0 32px 64px rgba(35, 24, 21, .30),
    0 6px 18px rgba(35, 24, 21, .18),
    inset 0 1px 1px rgba(255, 255, 255, .22);
  animation: azx-float 6.5s ease-in-out infinite;
}
.azx-phone__screen {
  position: relative; overflow: hidden; border-radius: 33px;
  background:
    radial-gradient(220px 190px at 82% -6%, rgba(234, 91, 0, .35), transparent 66%),
    radial-gradient(240px 220px at -10% 108%, rgba(30, 90, 140, .38), transparent 64%),
    linear-gradient(168deg, #1D2432, #0C1017 78%);
  color: #F5F3EE; text-align: center;
  padding: 40px 22px 30px; min-height: 470px;
  display: flex; flex-direction: column; align-items: center;
}
.azx-phone__notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 20px; border-radius: 999px; background: #14181F;
}
.azx-phone__app {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
  color: rgba(245, 243, 238, .62); text-transform: uppercase;
}
.azx-phone__app::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-secondary); box-shadow: 0 0 10px var(--color-secondary); }
.azx-phone__status { margin-top: 26px; font-size: 12.5px; color: rgba(245, 243, 238, .66); letter-spacing: .28em; }
.azx-phone__avatar {
  position: relative; width: 78px; height: 78px; margin-top: 18px; border-radius: 50%;
  background: var(--gradient-brand); display: grid; place-items: center; color: #fff;
}
.azx-phone__avatar svg { width: 38px; height: 38px; }
.azx-phone__avatar::before, .azx-phone__avatar::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(242, 157, 0, .55);
  animation: azx-ring 2.6s cubic-bezier(.2, .6, .35, 1) infinite;
}
.azx-phone__avatar::after { animation-delay: 1.3s; }
.azx-phone__name { margin-top: 20px; font-weight: 700; line-height: 1.5; }
.azx-phone__name small { display: block; font-size: 12px; font-weight: 600; color: #FFB877; letter-spacing: .06em; margin-bottom: 3px; }
.azx-phone__name strong { font-size: 19px; letter-spacing: .02em; }
.azx-phone__num { margin-top: 5px; font-size: 13.5px; color: rgba(245, 243, 238, .62); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.azx-phone__tag {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; color: #FFCE9C;
  background: rgba(242, 157, 0, .14); border: 1px solid rgba(242, 157, 0, .38);
  border-radius: 999px; padding: 4px 12px;
}
.azx-phone__tag::before { content: "☁"; font-size: 12px; }
.azx-phone__actions { margin-top: auto; padding-top: 26px; display: flex; gap: 64px; }
.azx-phone__btn {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  font-size: 0;
}
.azx-phone__btn svg { width: 26px; height: 26px; }
.azx-phone__btn--decline { background: linear-gradient(160deg, #F35C4A, #D6301F); box-shadow: 0 8px 20px rgba(214, 48, 31, .45); }
.azx-phone__btn--decline svg { transform: rotate(135deg); }
.azx-phone__btn--answer { background: linear-gradient(160deg, #4CC96B, #1FA047); box-shadow: 0 8px 20px rgba(31, 160, 71, .45); animation: azx-nudge 2.6s ease-in-out infinite; }

.azx-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--color-border); border-radius: 999px;
  padding: 9px 16px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 10px 26px rgba(35, 24, 21, .14);
  animation: azx-float 7s ease-in-out infinite;
}
.azx-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-brand); flex-shrink: 0; }
.azx-chip--1 { top: 9%; right: -4%; animation-delay: .8s; }
.azx-chip--2 { top: 42%; left: -13%; animation-delay: 1.7s; }
.azx-chip--3 { bottom: 17%; right: -9%; animation-delay: 2.6s; }
.azx-unitcard {
  position: absolute; z-index: 2; left: -15%; bottom: -3%; width: 158px;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(35, 24, 21, .16); padding: 12px 12px 10px;
  animation: azx-float 8s 1.2s ease-in-out infinite;
}
.azx-unitcard img { width: 100%; height: auto; }
.azx-unitcard figcaption { margin-top: 7px; font-size: 10.5px; font-weight: 700; color: var(--color-text-muted); text-align: center; line-height: 1.5; }

@keyframes azx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes azx-ring { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.75); opacity: 0; } }
@keyframes azx-nudge { 0%, 100% { transform: translateY(0); } 12% { transform: translateY(-4px); } 24% { transform: translateY(0); } }

/* Challenges: consultant + speech bubbles ------------------------------------- */
.azx-problem { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 48px; }
.azx-problem__figure { position: relative; margin: 0; padding: 0 12px; }
.azx-problem__figure::before {
  content: ""; position: absolute; inset: auto 0 -6px; height: 78%;
  background: linear-gradient(160deg, #FFF3E8, #FFE7D2);
  border-radius: 46% 54% 50% 50% / 56% 48% 52% 44%;
  z-index: -1;
}
.azx-problem__figure img { width: 100%; max-width: 250px; margin: 0 auto; }
.azx-bubbles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.azx-bubble {
  position: relative; background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 22px 24px;
  font-size: 14.5px; font-weight: 500; color: var(--color-text); line-height: 1.9;
  box-shadow: var(--shadow-card);
}
.azx-bubble::before {
  content: ""; position: absolute; left: -8px; top: 30px; width: 16px; height: 16px;
  background: #fff; border-left: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
  transform: rotate(45deg);
}
.azx-bubble:nth-child(even)::before { left: auto; right: -8px; border: none; border-right: 1px solid var(--color-border); border-top: 1px solid var(--color-border); }
.azx-bubble em { font-style: normal; color: var(--color-primary-dark); font-weight: 700; }

/* Solution flow: unit panel + numbered steps ----------------------------------- */
.azx-flow { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 48px; }
.azx-unitpanel {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 36px 32px 26px; text-align: center;
}
.azx-unitpanel img { margin: 0 auto; max-width: 320px; }
.azx-unitpanel figcaption { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--color-text-muted); line-height: 1.7; }
.azx-unitpanel figcaption strong { display: block; font-size: 14.5px; color: var(--color-text); }
.azx-steps { display: flex; flex-direction: column; counter-reset: azx-step; }
.azx-steps li {
  position: relative; counter-increment: azx-step;
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  padding: 0 0 26px;
}
.azx-steps li:last-child { padding-bottom: 0; }
.azx-steps li::before {
  content: counter(azx-step, decimal-leading-zero);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  background: var(--gradient-brand); color: #fff;
  font-size: 15px; font-weight: 800; letter-spacing: .02em;
  box-shadow: 0 6px 14px rgba(234, 91, 0, .30);
}
.azx-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 21.5px; top: 48px; bottom: 6px; width: 1.5px;
  background: linear-gradient(rgba(234, 91, 0, .40), rgba(234, 91, 0, .08));
}
.azx-steps h3 { font-size: 16.5px; font-weight: 700; line-height: 1.6; }
.azx-steps p { font-size: 14px; color: var(--color-text-muted); margin-top: 3px; }

/* Cloud phonebook feature pills */
.azx-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; max-width: 860px; }
.azx-checks li {
  display: flex; align-items: center; gap: 13px;
  background: #fff; border: 1px solid var(--color-border); border-radius: 999px;
  padding: 14px 24px; font-size: 14.5px; font-weight: 600;
  box-shadow: var(--shadow-card); transition: transform .25s, border-color .25s;
}
.azx-checks li:hover { transform: translateY(-2px); border-color: rgba(234, 91, 0, .40); }
.azx-checks li::before {
  content: "✓"; display: grid; place-items: center; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gradient-brand); color: #fff; font-size: 13px; font-weight: 800;
}

/* Use-case scene cards ---------------------------------------------------------- */
.azx-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.azx-scene {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-card); overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.azx-scene:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(234, 91, 0, .35); }
.azx-scene__media {
  background:
    radial-gradient(340px 200px at 82% -20%, rgba(242, 157, 0, .16), transparent 68%),
    linear-gradient(180deg, #FFF9F3, #FFF3E8);
  border-bottom: 1px solid var(--color-border);
  padding: 26px 30px; height: 226px; display: flex; align-items: center; justify-content: center;
}
.azx-scene__media img { height: 100%; width: auto; max-width: 100%; object-fit: contain; transition: transform .4s ease; }
.azx-scene:hover .azx-scene__media img { transform: scale(1.045); }
.azx-scene__body { padding: 26px 30px 30px; }
.azx-scene__label { font-size: 12px; font-weight: 800; color: var(--color-primary); letter-spacing: .16em; }
.azx-scene h3 { font-size: 19px; font-weight: 700; margin: 6px 0 10px; }
.azx-scene p { font-size: 14.5px; color: var(--color-text-muted); }

/* Benefits ----------------------------------------------------------------------- */
.azx-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.azx-benefit {
  position: relative; background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 30px 28px 28px;
  overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.azx-benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.azx-benefit::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--gradient-brand); }
.azx-benefit__num {
  font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: .01em;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .85;
}
.azx-benefit h3 { font-size: 17.5px; font-weight: 700; margin: 14px 0 8px; }
.azx-benefit p { font-size: 14px; color: var(--color-text-muted); }

/* Customer voice ------------------------------------------------------------------- */
.azx-voice { position: relative; max-width: 780px; margin: 56px auto 0; text-align: center; }
.azx-voice::before {
  content: "“"; display: block; margin-bottom: -22px;
  font-size: 110px; font-weight: 800; line-height: 1;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .5;
}
.azx-voice blockquote { font-size: clamp(16px, 2vw, 18.5px); font-weight: 500; line-height: 2.15; }
.azx-voice figcaption {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 14px;
  font-size: 13.5px; color: var(--color-text-muted);
}
.azx-voice figcaption::before, .azx-voice figcaption::after {
  content: ""; width: 44px; height: 1px; background: var(--color-border);
}
.azx-voice figcaption strong { color: var(--color-text); font-size: 15px; margin-right: 8px; }

@media (prefers-reduced-motion: reduce) {
  .azx-hero__copy > *, .azx-stage, .azx-phone, .azx-chip, .azx-unitcard,
  .azx-phone__avatar::before, .azx-phone__avatar::after, .azx-phone__btn--answer { animation: none !important; }
}
@media (max-width: 1024px) {
  .azx-hero__grid { grid-template-columns: 1fr; gap: 72px; }
  .azx-stage { max-width: 480px; margin: 0 auto; }
  .azx-chip--1 { right: 0; }
  .azx-chip--2 { left: -2%; }
  .azx-chip--3 { right: -2%; }
  .azx-unitcard { left: -2%; }
  .azx-flow { grid-template-columns: 1fr; gap: 40px; }
  .azx-unitpanel { max-width: 460px; margin: 0 auto; }
  .azx-benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .azx-hero { padding-bottom: 68px; }
  .azx-hero__actions .btn { width: 100%; }
  .azx-problem { grid-template-columns: 1fr; gap: 40px; }
  .azx-problem__figure { max-width: 230px; margin: 0 auto; }
  .azx-bubbles { grid-template-columns: 1fr; }
  .azx-bubble:nth-child(even)::before { right: auto; left: -8px; border: none; border-left: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
  .azx-checks { grid-template-columns: 1fr; }
  .azx-scenes { grid-template-columns: 1fr; }
  .azx-scene__media { height: 190px; }
  .azx-benefits { grid-template-columns: 1fr; }
  .azx-chip { font-size: 11.5px; padding: 7px 13px; }
  .azx-chip--2 { left: -4%; }
  .azx-unitcard { width: 128px; left: -1%; bottom: -5%; }
}
@media (max-width: 600px) {
  /* 幅が足りずチップ/カードが着信UIと重なるため、電話機の外周へ退避 */
  .azx-stage { padding: 30px 0 34px; }
  .azx-stage::after { display: none; }
  .azx-unitcard, .azx-chip--2 { display: none; }
  .azx-chip--1 { top: -6px; right: 2px; }
  .azx-chip--3 { bottom: -8px; right: 2px; }
}

/* Utilities -------------------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.text-center { text-align: center; }

/* Responsive -------------------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .case-overview { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .nav__toggle { display: block; }
  .header__logo img { height: 38px; }
  .hero { padding: calc(var(--header-h) + 36px) 0 80px; }
  .hero__label { letter-spacing: .04em; }
  .media-row { grid-template-columns: 1fr; gap: 28px; }
  .media-row__img { order: -1; }
  .message-grid { grid-template-columns: 1fr; }
  .message-grid figure { max-width: 280px; margin: 0 auto; }
  .form-layout { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .stats__grid { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 64px 0; }
  .page-header { padding: 44px 0 40px; }
  .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; }
  .news__item { grid-template-columns: 1fr; gap: 6px; }
  .news__item::after { display: none; }
  .stats__grid > div + div { border-left: none; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 20px; }
  .table th { width: 130px; padding: 14px 14px; }
  .table td { padding: 14px 14px; }
  .accordion__body { padding-left: 24px; }
  .post-list__item { grid-template-columns: 1fr; gap: 4px; }
  .column-box { padding: 28px 22px; }
  .interview { gap: 36px; }
  .interview__row { grid-template-columns: 1fr; gap: 20px; }
  .interview__figure { max-width: 420px; }
  .case-profile div { grid-template-columns: 88px 1fr; gap: 10px; }
  .hero__actions .btn, .drawer__cta .btn { width: 100%; white-space: normal; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   ＋PUSH Service page (push.html) — page-scoped components (.pp-*)
   サービス詳細ページのリッチ版リファレンス実装。共通トークンの上に構築する
   ========================================================================== */

/* Hero */
.pp-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #FFF3E8 0%, #FFFDFB 82%);
  border-bottom: 1px solid var(--color-border);
}
.pp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(234, 91, 0, .18) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(760px 520px at 84% 12%, #000, transparent 70%);
  mask-image: radial-gradient(760px 520px at 84% 12%, #000, transparent 70%);
}
.pp-hero::after {
  content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -220px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(242, 157, 0, .20), transparent 62%);
}
.pp-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 48px; align-items: center; padding: 36px 0 88px;
}
.pp-hero__label {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid rgba(234, 91, 0, .25); border-radius: 999px;
  padding: 7px 18px; margin-bottom: 26px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(234, 91, 0, .10);
}
.pp-hero__label::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-primary);
  animation: pp-pulse 2.2s ease-in-out infinite;
}
@keyframes pp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(234, 91, 0, .45); }
  55% { box-shadow: 0 0 0 8px rgba(234, 91, 0, 0); }
}
.pp-hero h1 {
  font-size: clamp(38px, 5.4vw, 66px); font-weight: 800;
  line-height: 1.1; letter-spacing: -.015em;
}
.pp-hero h1 .grad {
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pp-hero__kana {
  display: block; margin-top: 12px;
  font-size: clamp(13px, 1.5vw, 15px); font-weight: 600; letter-spacing: .3em;
  color: var(--color-text-muted);
}
.pp-hero__lead { margin: 22px 0 28px; color: var(--color-text-muted); max-width: 520px; line-height: 2; }
.pp-hero__facts { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.pp-fact {
  background: #fff; border: 1px solid var(--color-border); border-radius: 12px;
  padding: 11px 18px 10px; box-shadow: var(--shadow-card);
}
.pp-fact strong { display: block; font-size: 16.5px; font-weight: 800; line-height: 1.4; color: var(--color-primary-dark); }
.pp-fact span { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; color: var(--color-text-muted); }
.pp-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.pp-hero__actions .btn--primary::after { content: "→"; transition: transform .25s; }
.pp-hero__actions .btn--primary:hover::after { transform: translateX(4px); }

/* Hero phone stage */
.pp-stage { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.pp-stage::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(420px, 88%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 157, 0, .28), rgba(234, 91, 0, .10) 55%, transparent 72%);
}
.pp-stage::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: min(480px, 98%); aspect-ratio: 1; border-radius: 50%;
  border: 1.5px dashed rgba(234, 91, 0, .35);
  animation: pp-rotate 46s linear infinite;
}
@keyframes pp-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.pp-stage__phone {
  position: relative; z-index: 1; width: min(280px, 62%);
  filter: drop-shadow(0 32px 46px rgba(120, 53, 0, .30));
  animation: pp-float 7s ease-in-out infinite;
}
@keyframes pp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.pp-toast {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 11px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(234, 91, 0, .18); border-radius: 14px;
  padding: 10px 18px 10px 12px; box-shadow: 0 14px 34px rgba(120, 53, 0, .18);
}
.pp-toast__icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: var(--gradient-brand); color: #fff; display: grid; place-items: center;
}
.pp-toast__icon svg { width: 18px; height: 18px; }
.pp-toast strong { display: block; font-size: 12.5px; line-height: 1.5; }
.pp-toast span { display: block; font-size: 11px; line-height: 1.5; color: var(--color-text-muted); }
.pp-toast--1 { top: 11%; left: -2%; animation: pp-toast-in .7s .5s cubic-bezier(.2, .7, .3, 1.2) both; }
.pp-toast--2 { bottom: 15%; right: -2%; animation: pp-toast-in .7s 1s cubic-bezier(.2, .7, .3, 1.2) both; }
@keyframes pp-toast-in {
  from { opacity: 0; transform: translateY(16px) scale(.92); }
  to { opacity: 1; transform: none; }
}

/* Full-width notification collage band */
.pp-band { overflow: hidden; background: #fff; border-bottom: 1px solid var(--color-border); }
.pp-band img {
  width: 100%; height: clamp(160px, 24vw, 320px); object-fit: cover; object-position: 38% center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

/* Numbered value steps */
.pp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; counter-reset: pp; }
.pp-step {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--color-border); border-radius: 16px;
  padding: 34px 28px 30px; box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
}
.pp-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.pp-step::before {
  counter-increment: pp; content: "0" counter(pp);
  position: absolute; top: 8px; right: 18px;
  font-family: "Inter", sans-serif; font-size: 68px; font-weight: 800; line-height: 1;
  letter-spacing: -.04em; color: rgba(234, 91, 0, .10);
}
.pp-step__icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(160deg, #FFF1E4, #FFDDBC); color: var(--color-primary-dark);
  display: grid; place-items: center;
}
.pp-step__icon svg { width: 26px; height: 26px; }
.pp-step h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.5; }
.pp-step p { font-size: 14.5px; color: var(--color-text-muted); }

/* System diagram panel (window chrome) */
.pp-diagram {
  background: #fff; border: 1px solid var(--color-border); border-radius: 20px;
  box-shadow: 0 24px 64px rgba(120, 53, 0, .12); overflow: hidden;
}
.pp-diagram__bar {
  display: flex; align-items: center; gap: 7px; padding: 13px 18px;
  background: linear-gradient(180deg, #FFFBF7, #FFF3E9);
  border-bottom: 1px solid var(--color-border);
}
.pp-diagram__bar i { width: 10px; height: 10px; border-radius: 50%; background: #EAD9C9; }
.pp-diagram__bar i:first-child { background: var(--color-primary); }
.pp-diagram__bar i:nth-child(2) { background: var(--color-secondary); }
.pp-diagram__bar span {
  margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .16em;
  color: var(--color-text-muted); text-transform: uppercase;
}
.pp-diagram figure { margin: 0; padding: clamp(20px, 4vw, 44px); }
.pp-diagram figure img { margin: 0 auto; max-width: 860px; width: 100%; }

/* Flow legend under the diagram */
.pp-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 36px 24px; margin-top: 48px; }
.pp-flow__item { position: relative; border-top: 2px solid rgba(234, 91, 0, .22); padding-top: 20px; }
.pp-flow__num {
  position: absolute; top: -16px; left: 0;
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--gradient-brand); color: #fff;
  display: grid; place-items: center; font-family: "Inter", sans-serif;
  font-size: 14px; font-weight: 800; box-shadow: 0 6px 14px rgba(234, 91, 0, .35);
}
.pp-flow__item h3 { font-size: 15.5px; margin: 10px 0 6px; }
.pp-flow__item p { font-size: 13.5px; color: var(--color-text-muted); }

/* Before / After comparison */
.pp-compare { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pp-compare__panel {
  border-radius: 18px; padding: 34px 30px 30px;
  border: 1px solid var(--color-border); background: #fff;
  display: flex; flex-direction: column;
}
.pp-compare__panel--before { background: #F7F3EF; }
.pp-compare__panel--after {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--gradient-brand) border-box;
  box-shadow: 0 20px 48px rgba(234, 91, 0, .16);
}
.pp-compare__tag {
  align-self: flex-start; font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 800; letter-spacing: .22em;
  padding: 5px 15px; border-radius: 999px; margin-bottom: 18px;
  background: #E3DBD3; color: #6B625B;
}
.pp-compare__panel--after .pp-compare__tag { background: var(--gradient-brand); color: #fff; }
.pp-compare__panel h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.5; }
.pp-compare__panel > p { font-size: 14.5px; color: var(--color-text-muted); flex: 1 0 auto; }
.pp-compare__img { margin-top: 26px; display: grid; place-items: center; min-height: 190px; }
.pp-compare__img img { max-height: 220px; width: auto; max-width: 100%; }
.pp-compare__arrow {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-card-hover);
  display: grid; place-items: center;
  color: var(--color-primary); font-weight: 800; font-size: 20px;
}

/* NG constraint cards */
.pp-ng { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pp-ng__card {
  display: flex; align-items: center; gap: 24px;
  background: #fff; border: 1px solid var(--color-border); border-left: 4px solid #D64545;
  border-radius: 14px; padding: 24px 28px; box-shadow: var(--shadow-card);
}
.pp-ng__card img { width: 108px; flex-shrink: 0; }
.pp-ng__badge {
  display: inline-block; background: #FDECEC; color: #C03434;
  font-family: "Inter", sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .14em;
  padding: 2px 12px; border-radius: 999px; margin-bottom: 8px;
}
.pp-ng__card h3 { font-size: 16.5px; margin-bottom: 6px; line-height: 1.5; }
.pp-ng__card p { font-size: 13.5px; color: var(--color-text-muted); }

/* Plan cards */
.pp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.pp-plan {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--color-border); border-radius: 18px;
  padding: 40px 30px 32px; box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
}
.pp-plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: rgba(234, 91, 0, .35); }
.pp-plan::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--gradient-brand); }
.pp-plan:nth-child(1)::before { opacity: .38; }
.pp-plan:nth-child(2)::before { opacity: .68; }
.pp-plan__name {
  font-family: "Inter", sans-serif; font-size: 14px; font-weight: 800;
  letter-spacing: .26em; color: var(--color-primary-dark);
}
.pp-plan__scale { font-size: 23px; font-weight: 800; margin: 6px 0 2px; }
.pp-plan__note { font-size: 13px; color: var(--color-text-muted); }
.pp-plan__bar { display: flex; gap: 5px; margin: 20px 0 22px; }
.pp-plan__bar i { flex: 1; height: 7px; border-radius: 4px; background: #F1E8DF; }
.pp-plan__bar i.is-on { background: var(--gradient-brand); }
.pp-plan ul { display: flex; flex-direction: column; gap: 9px; padding-top: 20px; border-top: 1px dashed var(--color-border); flex: 1 0 auto; }
.pp-plan li { font-size: 13.5px; color: var(--color-text-muted); padding-left: 24px; position: relative; }
.pp-plan li::before { content: "✓"; position: absolute; left: 0; color: var(--color-primary); font-weight: 800; }
.pp-plan__price { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--color-border); font-size: 12.5px; color: var(--color-text-muted); }
.pp-plan__price strong { display: block; font-size: 19px; color: var(--color-text); }

/* CTA with illustration */
.pp-cta {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #B84800, #EA5B00 46%, #F29D00);
  padding: 72px 0;
}
.pp-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(560px 320px at 10% 115%, #000, transparent 70%);
  mask-image: radial-gradient(560px 320px at 10% 115%, #000, transparent 70%);
}
.pp-cta__inner {
  position: relative; display: grid; grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 44px; align-items: center;
}
.pp-cta__figure {
  width: 190px; height: 190px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #FFF7EE, #FFE2C4);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .30), 0 20px 44px rgba(0, 0, 0, .18);
  display: flex; align-items: flex-end; justify-content: center;
}
.pp-cta__figure img { width: 86%; transform: translateY(6%); }
.pp-cta h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 12px; }
.pp-cta p { opacity: .94; font-size: 15px; max-width: 560px; }

/* Responsive & motion preferences */
@media (max-width: 900px) {
  .pp-hero__inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 64px; }
  .pp-stage { max-width: 420px; margin: 0 auto; }
  .pp-toast--1 { left: 0; }
  .pp-toast--2 { right: 0; }
  .pp-compare { grid-template-columns: 1fr; }
  .pp-compare__arrow { position: static; transform: rotate(90deg); margin: -8px auto; order: 1; }
  .pp-compare__panel--before { order: 0; }
  .pp-compare__panel--after { order: 2; }
  .pp-ng { grid-template-columns: 1fr; }
  .pp-cta__inner { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .pp-cta__figure { margin: 0 auto; }
  .pp-cta__inner .btn { justify-self: center; }
}
@media (max-width: 480px) {
  .pp-toast { padding: 8px 13px 8px 9px; }
  .pp-toast strong { font-size: 11px; }
  .pp-toast span { font-size: 10px; }
  .pp-ng__card { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-hero *, .pp-hero *::before, .pp-hero *::after,
  .pp-stage, .pp-stage::before, .pp-stage::after,
  .pp-stage *, .pp-toast { animation: none !important; }
}

/* ==========================================================================
   導入事例 (cases.html) — page-scoped components (.cs-*)
   編集誌風ショーケース: 大きな採用年の数字と交互レイアウトで
   「20年選ばれ続けてきた歴史」を語る
   ========================================================================== */

/* Hero ----------------------------------------------------------------------- */
.cs-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 520px at 88% -10%, rgba(242, 157, 0, .17), transparent 62%),
    radial-gradient(720px 480px at -8% 112%, rgba(234, 91, 0, .08), transparent 60%),
    linear-gradient(180deg, #FFFDFA 0%, #FFF5EC 100%);
  border-bottom: 1px solid var(--color-border);
}
.cs-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(234, 91, 0, .12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(820px 560px at 84% 18%, #000, transparent 72%);
  mask-image: radial-gradient(820px 560px at 84% 18%, #000, transparent 72%);
}
.cs-hero__inner { position: relative; padding-bottom: 64px; }
.cs-hero__inner > * { animation: hero-rise .65s cubic-bezier(.25, .6, .25, 1) both; }
.cs-hero__inner > *:nth-child(2) { animation-delay: .07s; }
.cs-hero__inner > *:nth-child(3) { animation-delay: .14s; }
.cs-hero__inner > *:nth-child(4) { animation-delay: .21s; }
.cs-hero__inner > *:nth-child(5) { animation-delay: .28s; }
.cs-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px;
  font-family: "Inter", sans-serif; font-size: 13px; font-weight: 800;
  letter-spacing: .22em; color: var(--color-primary-dark); text-transform: uppercase;
}
.cs-hero__eyebrow::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: var(--gradient-brand); }
.cs-hero h1 { margin-top: 16px; font-size: clamp(33px, 4.6vw, 56px); font-weight: 800; line-height: 1.3; letter-spacing: .005em; }
.cs-mark {
  background: linear-gradient(transparent 62%, rgba(242, 157, 0, .38) 62%, rgba(242, 157, 0, .38) 94%, transparent 94%);
  padding: 0 2px;
}
.cs-hero__sub {
  display: block; margin-top: 16px;
  font-size: clamp(14.5px, 1.8vw, 18px); font-weight: 700; letter-spacing: .05em;
  color: var(--color-text-muted);
}
.cs-hero__lead { margin-top: 22px; color: var(--color-text-muted); max-width: 760px; }

/* 実績サマリー(カウントアップは main.js の data-count-to を利用) */
.cs-hero__stats {
  margin-top: 44px; max-width: 920px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px;
  background: #fff; border: 1px solid var(--color-border); border-radius: 20px;
  padding: 30px 40px 28px; box-shadow: 0 18px 44px rgba(120, 53, 0, .10);
}
.cs-stat + .cs-stat { border-left: 1px solid var(--color-border); padding-left: 36px; }
.cs-stat__num {
  font-family: "Inter", sans-serif; font-size: clamp(34px, 4.2vw, 52px); font-weight: 800;
  line-height: 1.15; letter-spacing: -.01em; font-variant-numeric: tabular-nums;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cs-stat__num small { font-size: .44em; font-weight: 800; margin-left: 3px; }
.cs-stat__label { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--color-text-muted); }

/* Case rows -------------------------------------------------------------------- */
.cs-cases { display: flex; flex-direction: column; }
.cs-case {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 72px); align-items: center; padding: 60px 0;
}
.cs-cases .cs-case:first-child { padding-top: 8px; }
.cs-cases .cs-case:last-child { padding-bottom: 8px; }
.cs-case + .cs-case { border-top: 1px solid var(--color-border); }
.cs-case--flip .cs-case__media { order: 2; }
.cs-case__media {
  position: relative; align-self: stretch;
  display: flex; align-items: center; justify-content: center;
  min-height: 330px; padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--color-border); border-radius: 20px;
  background:
    radial-gradient(320px 220px at 84% -12%, rgba(242, 157, 0, .16), transparent 66%),
    linear-gradient(165deg, #FFFDFB, #FFF3E8);
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cs-case:hover .cs-case__media { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.cs-case__media img { max-height: 280px; width: auto; max-width: 100%; object-fit: contain; }
.cs-case__num {
  position: absolute; top: 12px; right: 22px; pointer-events: none; user-select: none;
  font-family: "Inter", sans-serif; font-size: clamp(60px, 7vw, 92px); font-weight: 800;
  line-height: 1; letter-spacing: -.04em; color: rgba(234, 91, 0, .10);
}
.cs-case__year { display: flex; align-items: baseline; gap: 12px; }
.cs-case__year strong {
  font-family: "Inter", sans-serif; font-size: clamp(38px, 4vw, 50px); font-weight: 800;
  line-height: 1; letter-spacing: -.02em;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cs-case__year span { font-size: 13.5px; font-weight: 700; letter-spacing: .04em; color: var(--color-text-muted); }
.cs-case__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.cs-case h3 { margin-top: 14px; font-size: clamp(21px, 2.4vw, 25px); font-weight: 700; line-height: 1.55; }
.cs-case h3 small { display: block; font-size: 13.5px; font-weight: 600; color: var(--color-text-muted); margin-top: 4px; }
.cs-case__body > p { margin-top: 14px; font-size: 15px; color: var(--color-text-muted); }

/* Topic cards -------------------------------------------------------------------- */
.cs-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cs-topic {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--color-border); border-radius: 18px;
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cs-topic:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(234, 91, 0, .35); }
.cs-topic__media { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--color-border); background: var(--color-bg-tint); }
.cs-topic__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.cs-topic:hover .cs-topic__media img { transform: scale(1.05); }
.cs-topic__body { display: flex; flex-direction: column; flex: 1; padding: 26px 30px 28px; }
.cs-topic__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.cs-topic h3 { font-size: 19.5px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.cs-topic p { font-size: 14.5px; color: var(--color-text-muted); flex: 1 0 auto; }

/* Voice cards -------------------------------------------------------------------- */
.cs-voices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cs-voice {
  display: flex; flex-direction: column; overflow: hidden; margin: 0;
  background: #fff; border: 1px solid var(--color-border); border-radius: 18px;
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
}
.cs-voice:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.cs-voice__photo { aspect-ratio: 16 / 8.5; overflow: hidden; border-bottom: 1px solid var(--color-border); background: var(--color-bg-tint); }
.cs-voice__photo img { width: 100%; height: 100%; object-fit: cover; }
.cs-voice__body { display: flex; flex-direction: column; flex: 1; padding: 24px 30px 26px; }
.cs-voice blockquote { flex: 1 0 auto; font-size: 15px; line-height: 1.95; }
.cs-voice blockquote::before {
  content: "“"; display: block; height: 36px;
  font-family: "Inter", sans-serif; font-size: 58px; font-weight: 800; line-height: 1;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .55;
}
.cs-voice figcaption {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--color-text-muted);
}
.cs-voice figcaption strong { display: block; font-size: 14.5px; color: var(--color-text); }
.cs-voice__more { font-size: 13.5px; font-weight: 700; color: var(--color-primary-dark); white-space: nowrap; }
.cs-voice__more::after { content: " →"; }
.cs-voice__more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Consulting: 実績分野ピル ---------------------------------------------------------- */
.cs-fields { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cs-fields li {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--color-border); border-radius: 999px;
  padding: 8px 18px; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-card);
}
.cs-fields li::before {
  content: "✓"; display: grid; place-items: center; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gradient-brand); color: #fff; font-size: 11px; font-weight: 800;
}

/* Responsive & motion preferences */
@media (max-width: 900px) {
  .cs-hero__stats { grid-template-columns: 1fr; gap: 18px; padding: 24px 26px; }
  .cs-stat + .cs-stat { border-left: none; border-top: 1px solid var(--color-border); padding: 18px 0 0; }
  .cs-case { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .cs-case__media, .cs-case--flip .cs-case__media { order: -1; }
  .cs-case__media { min-height: 0; padding: 28px 22px; }
  .cs-case__media img { max-height: 230px; }
  .cs-case__num { font-size: 56px; top: 10px; right: 16px; }
  .cs-topics, .cs-voices { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-hero__inner > * { animation: none !important; }
}
