/* =============================================================
   SNOW WORKSHOP / COMMON STYLESHEET
   Built from design-system.html (Atomic Design tokens & components)
   ============================================================= */

:root {
  /* Surface (Blizzard) */
  --surface-base:    #F4F7FA;
  --surface-card:    #FFFFFF;
  --surface-mist:    #E9EFF5;
  --surface-stone:   #D6DEE7;
  --surface-ink:     #1B2838;

  /* Ink (Warm Blue) */
  --ink-primary:     #1B2838;
  --ink-prose:       #2A3540;  /* 本文向け中間色 (note の #333 並の濃さ・ブランドの青み保持) */
  --ink-soft:        #4A5A6E;
  --ink-muted:       #8995A4;

  /* Neutral */
  --alu-light:       #BFC8D2;
  --alu-mid:         #94A0AD;
  --alu-shade:       #5A6473;

  /* Hairline */
  --line-strong:     #1B2838;
  --line-medium:     #B6BFC8;
  --line-hair:       #E0E6EC;

  /* Wood Brown (Accent) */
  --ember:           #B8431E;
  --ember-deep:      #8E331A;
  --ember-tint:      #FBEFE9;

  /* Type */
  --serif-jp:  'Noto Serif JP', 'Yu Mincho', serif;
  --sans-jp:   'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --latin:     'Inter', sans-serif;

  /* Spacing */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Typography Scale (10 sizes, ratio ~1.2-1.25, 2026-05-06 systematized) */
  --fs-3xs: 11px;  /* tag, kicker, smallest latin caps */
  --fs-2xs: 12px;  /* meta, breadcrumb, footer note */
  --fs-xs:  13px;  /* helper, dense card meta */
  --fs-sm:  14px;  /* button, input, navi */
  --fs-md:  16px;  /* body default (was 15px) */
  --fs-prose: 17px; /* prose body (note風の読み心地) */
  --fs-lg:  18px;  /* lead, card title, intermediate heading */
  --fs-xl:  22px;  /* h3 / pillar / section accent */
  --fs-2xl: 28px;  /* h2 mobile / sub-display */
  --fs-3xl: 36px;  /* h2 desktop / hero stat / display */
  --fs-4xl: 48px;  /* h1 / display */

  /* Letter Spacing (4 levels, 2026-05-06 systematized — was 0.04〜0.22em scattered) */
  --ls-tight:  -0.01em;  /* large display headings */
  --ls-normal: 0;        /* body, JP text */
  --ls-wide:   0.06em;   /* button, card meta, latin small */
  --ls-extra:  0.14em;   /* kicker, label, small caps */

  /* Line Height (semantic) */
  --lh-tight:   1.25;    /* display headings */
  --lh-snug:    1.4;     /* h2, h3 */
  --lh-normal:  1.6;     /* short labels, helpers */
  --lh-relaxed: 1.8;     /* JP body */
  --lh-loose:   1.95;    /* lead, hero sub */

  /* Layout */
  --container: 1240px;          /* 全幅セクション */
  --container-narrow: 760px;    /* 本文・lead 等の読み幅 */
  --gutter: 40px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans-jp);
  background: var(--surface-base);
  color: var(--ink-primary);
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: var(--container-narrow); }

/* =============================================================
   ATOMS
   ============================================================= */

/* Button */
.btn {
  font-family: var(--sans-jp);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  padding: 14px 26px;
  border: 1px solid var(--line-strong);
  background: var(--ink-primary);
  color: var(--surface-card);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn:hover { background: var(--ember); border-color: var(--ember); }
.btn--primary { background: var(--ember); border-color: var(--ember); color: #fff; }
.btn--primary:hover { background: var(--ember-deep); border-color: var(--ember-deep); }
.btn--ghost { background: transparent; color: var(--ink-primary); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink-primary); color: var(--surface-card); }
.btn--inverse { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn--inverse:hover { background: #fff; color: var(--ink-primary); border-color: #fff; }
.btn--small { padding: 9px 16px; font-size: var(--fs-2xs); }
.btn .arrow { font-family: var(--latin); font-weight: 400; }

/* Tag */
.tag {
  font-family: var(--sans-jp);
  font-size: var(--fs-3xs);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  display: inline-block;
  background: var(--surface-card);
}
.tag--tech { background: var(--ink-primary); color: var(--surface-card); border-color: var(--ink-primary); }
.tag--case { background: var(--ember); color: #fff; border-color: var(--ember); }
.tag--info { background: var(--surface-card); color: var(--ink-primary); }
.tag--alloy { background: var(--ember-tint); color: var(--ember-deep); border-color: var(--ember); }
.tag--soft { background: var(--surface-mist); color: var(--ink-soft); border-color: var(--line-hair); }

/* Inline code — 本文中のコード表記 (yourshop.com / info@... 等) */
.code-inline {
  font-family: var(--latin);
  background: var(--surface-mist);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.95em;
}

/* Input atoms */
.input, .textarea, .select {
  font-family: var(--sans-jp);
  font-size: var(--fs-sm);
  background: var(--surface-card);
  border: 1px solid var(--line-medium);
  padding: 12px 14px;
  width: 100%;
  min-width: 0;
  color: var(--ink-primary);
  transition: border-color 0.2s ease;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--ember);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-primary) 50%), linear-gradient(135deg, var(--ink-primary) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.checkbox-wrap, .radio-wrap { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: var(--fs-xs); }
.checkbox, .radio {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-medium);
  background: var(--surface-card);
  cursor: pointer;
  position: relative;
  flex: none;
}
.radio { border-radius: 50%; }
.checkbox:checked { background: var(--ember); border-color: var(--ember); }
.checkbox:checked::after { content: ""; position: absolute; top: 2px; left: 6px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.radio:checked { border-color: var(--ember); }
.radio:checked::after { content: ""; position: absolute; top: 4px; left: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }

/* Link */
.link {
  font-family: var(--sans-jp);
  font-size: var(--fs-sm);
  color: var(--ink-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-primary);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.link:hover { color: var(--ember); border-color: var(--ember); }
.link--latin { font-family: var(--latin); font-size: var(--fs-2xs); letter-spacing: var(--ls-extra); text-transform: uppercase; color: var(--ember); border-bottom-color: var(--ember); }

/* Dividers */
.div-hair { width: 100%; height: 1px; background: var(--line-hair); }
.div-medium { width: 100%; height: 1px; background: var(--line-medium); }
.div-strong { width: 100%; height: 1px; background: var(--line-strong); }
.div-ember { width: 28px; height: 4px; background: var(--ember); }

/* Icon */
.ico { width: 22px; height: 22px; stroke: var(--ink-primary); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico--ember { stroke: var(--ember); }
.ico--white { stroke: #fff; }

/* Form label */
.lbl-form {
  font-family: var(--sans-jp);
  font-size: var(--fs-2xs);
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: var(--ls-wide);
  display: block;
  margin-bottom: 6px;
}
.lbl-form .req { color: var(--ember); margin-left: 4px; font-size: var(--fs-3xs); }
.lbl-helper { font-size: var(--fs-3xs); color: var(--ink-muted); margin-top: 6px; line-height: 1.6; }

/* =============================================================
   MOLECULES
   ============================================================= */

/* Logo */
.mol-logo { display: inline-flex; align-items: center; text-decoration: none; }
.mol-logo__image { display: block; height: 48px; width: auto; }
.mol-logo--sm .mol-logo__image { height: 36px; }
.mol-logo--lg .mol-logo__image { height: 72px; }

/* Section head */
.mol-secthead {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--s-6);
  align-items: end;
  max-width: 1080px;
  margin-bottom: var(--s-6);
}
.mol-secthead__num {
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  color: var(--ember);
  font-weight: 600;
  text-transform: uppercase;
}
.mol-secthead__num::before { content: "— "; }
.mol-secthead__title {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-3xl);
  line-height: 1.3;
}
.mol-secthead__title small {
  display: block;
  font-family: var(--latin);
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--ink-muted);
  margin-top: 8px;
  letter-spacing: var(--ls-wide);
}

/* Nav item */
.mol-navitem {
  font-family: var(--sans-jp);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ink-primary);
  text-decoration: none;
  letter-spacing: var(--ls-wide);
  padding-bottom: 6px;
  position: relative;
}
.mol-navitem:hover { color: var(--ember); }
.mol-navitem.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ember); }

/* News row */
.mol-newsrow {
  display: grid;
  grid-template-columns: 130px 100px 1fr 60px;
  gap: var(--s-5);
  padding: 22px 8px;
  border-bottom: 1px solid var(--line-hair);
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.mol-newsrow:hover { background: var(--surface-mist); }
.mol-newsrow__date { font-family: var(--latin); font-size: var(--fs-xs); color: var(--ink-soft); }
.mol-newsrow__title { font-family: var(--sans-jp); font-size: var(--fs-sm); font-weight: 500; color: var(--ink-primary); }
.mol-newsrow__arrow { font-family: var(--latin); text-align: right; color: var(--ink-muted); font-size: var(--fs-xs); }

/* Stat */
.mol-stat { display: flex; flex-direction: column; gap: 4px; padding: var(--s-4) var(--s-5); }
.mol-stat__label { font-family: var(--latin); font-size: var(--fs-3xs); letter-spacing: var(--ls-extra); color: var(--ink-muted); text-transform: uppercase; }
.mol-stat__value { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-3xl); line-height: 1; letter-spacing: var(--ls-tight); }
.mol-stat__value sup { font-size: var(--fs-xs); font-weight: 400; color: var(--ink-muted); margin-left: 4px; vertical-align: bottom; }
.mol-stat__hint { font-size: var(--fs-3xs); color: var(--ink-soft); margin-top: 4px; }

/* Pillar */
.mol-pillar { padding: var(--s-6) var(--s-5); }
.mol-pillar__no { font-family: var(--latin); font-size: var(--fs-3xs); letter-spacing: var(--ls-extra); color: var(--ember); font-weight: 500; margin-bottom: var(--s-4); }
.mol-pillar__name { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-xl); line-height: 1.4; margin-bottom: var(--s-3); }
.mol-pillar__desc { font-size: var(--fs-xs); line-height: 1.9; color: var(--ink-soft); }

/* Spec list */
.mol-speclist {
  border-top: 1px solid var(--line-hair);
  padding-top: 12px;
  margin-top: var(--s-3);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 6px 12px;
  font-size: var(--fs-2xs);
}
.mol-speclist dt { color: var(--ink-muted); }
.mol-speclist dd { color: var(--ink-primary); font-weight: 500; }

/* Form field */
.mol-formfield { margin-bottom: var(--s-5); min-width: 0; }
.mol-formfield.full { grid-column: 1 / -1; }

/* Breadcrumb */
.mol-breadcrumb { display: flex; gap: 6px; font-family: var(--latin); font-size: var(--fs-2xs); color: var(--ink-muted); align-items: center; flex-wrap: wrap; }
.mol-breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.mol-breadcrumb a:hover { color: var(--ember); }
.mol-breadcrumb__sep { color: var(--line-medium); }
.mol-breadcrumb__current { color: var(--ink-primary); }

/* Kicker */
.mol-kicker {
  font-family: var(--latin);
  font-size: var(--fs-2xs);
  letter-spacing: var(--ls-extra);
  color: var(--ember);
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}
.mol-kicker::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--ember); margin-right: 14px; }
.mol-kicker--white { color: #fff; }
.mol-kicker--white::before { background: #fff; opacity: 0.7; }

/* Eyebrow (category/page label, placed ABOVE title) */
.mol-eyebrow {
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  color: var(--ember);
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--s-3);
}

/* =============================================================
   ORGANISMS
   ============================================================= */

/* Site header */
.org-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  background: var(--surface-card);
  border-bottom: 1px solid var(--line-hair);
  position: sticky;
  top: 0;
  z-index: 50;
}
.org-header__nav { display: flex; gap: 28px; align-items: center; list-style: none; flex-wrap: wrap; }
.org-header__nav li { display: flex; align-items: center; }
.org-header__menu-toggle { display: none; }

/* Hero */
.org-hero {
  min-height: 460px;
  background: var(--surface-ink);
  position: relative;
  overflow: hidden;
}
.org-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.org-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.org-hero__photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(19,19,19,0.72) 0%, rgba(19,19,19,0.4) 60%, rgba(19,19,19,0.15) 100%);
}
.org-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 52%, rgba(184,67,30,0.22) 0%, transparent 45%);
  mix-blend-mode: screen;
}
.org-hero__inner {
  position: relative;
  z-index: 2;
  padding: 60px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.org-hero__title { font-family: var(--serif-jp); font-weight: 700; font-size: clamp(34px, 4vw, 52px); line-height: 1.25; margin: 18px 0 18px; max-width: var(--container-narrow); }
.org-hero__sub { font-size: var(--fs-sm); line-height: 1.9; max-width: 540px; color: rgba(255,255,255,0.85); }
.org-hero__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-5); }
.org-hero__plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: var(--s-7);
  border-top: 1px solid rgba(255,255,255,0.2);
}
.org-hero__plan {
  padding: 18px 22px;
  border-right: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
}
.org-hero__plan:last-child { border-right: none; }
.org-hero__plan:hover { background: rgba(255,255,255,0.06); }
.org-hero__plan-no { font-family: var(--latin); font-size: var(--fs-3xs); letter-spacing: var(--ls-extra); color: var(--ember); font-weight: 600; text-transform: uppercase; }
.org-hero__plan-en { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-lg); margin: 6px 0 4px; }
.org-hero__plan-jp { font-size: var(--fs-2xs); color: rgba(255,255,255,0.75); line-height: 1.6; }
@media (max-width: 600px) {
  /* 地域KW入りの長い見出しが「の、」だけで折り返すのを防ぐ */
  .org-hero__title { font-size: clamp(25px, 6.8vw, 34px); }
}

/* Stats row */
.org-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface-card);
}
.org-stats > .mol-stat { border-right: 1px solid var(--line-hair); }
.org-stats > .mol-stat:last-child { border-right: none; }

/* Pillars 3-up */
.org-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-medium); border-bottom: 1px solid var(--line-medium); background: var(--surface-card); }
.org-pillars > .mol-pillar { border-right: 1px solid var(--line-hair); }
.org-pillars > .mol-pillar:last-child { border-right: none; }

/* Product grid */
.org-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.org-products--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.org-card { background: var(--surface-card); border: 1px solid var(--line-hair); overflow: hidden; transition: border-color 0.25s ease, transform 0.25s ease; display: flex; flex-direction: column; }
.org-card:hover { border-color: var(--ink-primary); transform: translateY(-2px); }
.org-card__img {
  aspect-ratio: 4/3;
  background: radial-gradient(circle at 30% 30%, var(--alu-light), var(--alu-mid));
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: rgba(255,255,255,0.85);
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
}
.org-card__img--accent { background: radial-gradient(circle at 30% 30%, #d8b58a 0%, #a26a3d 50%, #6b4628 100%); }
.org-card__img--alu { background: linear-gradient(135deg, #d6dde6 0%, #94a0ad 50%, #5a6473 100%); }
.org-card__img--shadow { background: linear-gradient(180deg, #1b2838 0%, #2d3d52 60%, #0e1722 100%); }
.org-card__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.org-card__cat { font-family: var(--latin); font-size: var(--fs-3xs); letter-spacing: var(--ls-extra); color: var(--ember); font-weight: 500; margin-bottom: 8px; text-transform: uppercase; }
.org-card__title { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-lg); line-height: 1.5; margin-bottom: 10px; }
.org-card__lead { font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.85; margin-bottom: 16px; }
.org-card__meta { font-family: var(--latin); font-size: var(--fs-3xs); color: var(--ink-muted); letter-spacing: var(--ls-wide); margin-bottom: 12px; }

/* Approach dark section */
.org-dx {
  background-color: var(--surface-ink);
  background-image: linear-gradient(rgba(27,40,56,0.86), rgba(27,40,56,0.92)), url('images/why-zero-yen.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: var(--s-9) 0;
}
.org-dx__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--s-7);
  align-items: center;
}
.org-dx__title { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-3xl); line-height: 1.3; margin: 14px 0 8px; }
.org-dx__title small { display: block; font-family: var(--latin); font-size: var(--fs-2xs); font-weight: 400; color: var(--alu-light); margin-top: 8px; letter-spacing: var(--ls-wide); }
.org-dx__lead { font-size: var(--fs-sm); line-height: 2; color: var(--alu-light); margin-bottom: var(--s-5); }
.org-dx__lead strong { color: #fff; }
.org-dx-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); }
.org-dx-stack__item { background: var(--surface-ink); padding: 22px 18px; }
.org-dx-stack__item .label { font-family: var(--latin); font-size: var(--fs-3xs); letter-spacing: var(--ls-extra); color: var(--ember); margin-bottom: 8px; text-transform: uppercase; font-weight: 600; }
.org-dx-stack__item .name { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-md); color: #fff; margin-bottom: 6px; }
.org-dx-stack__item .desc { font-size: var(--fs-3xs); color: var(--alu-light); line-height: 1.7; }

/* CTA */
.org-cta {
  padding: var(--s-9) var(--s-7);
  background: var(--surface-mist);
  text-align: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.org-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/eyecatch-cta.webp');
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.org-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(244, 247, 250, 0.96) 0%,
    rgba(244, 247, 250, 0.86) 45%,
    rgba(244, 247, 250, 0.55) 100%
  );
  z-index: -1;
}
.org-cta__title { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-3xl); line-height: 1.35; margin: 14px 0 var(--s-4); }
.org-cta__lead { font-size: var(--fs-sm); line-height: 1.95; color: var(--ink-soft); margin: 0 auto var(--s-6); }
.org-cta__buttons { display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap; }
.org-cta .mol-kicker { justify-content: center; }

/* Footer */
.org-footer { background: var(--surface-ink); color: #fff; padding: var(--s-8) var(--s-6) var(--s-5); margin-top: var(--s-9); }
.org-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: var(--s-7); padding-bottom: var(--s-6); border-bottom: 1px solid rgba(255,255,255,0.1); max-width: var(--container); margin: 0 auto; }
.org-footer h5 { font-family: var(--latin); font-size: var(--fs-3xs); font-weight: 600; letter-spacing: var(--ls-extra); color: var(--ember); text-transform: uppercase; margin-bottom: var(--s-4); }
.org-footer__brand { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-lg); margin-bottom: 8px; }
.org-footer__addr { font-size: var(--fs-2xs); color: var(--alu-light); line-height: 1.85; }
.org-footer__list { list-style: none; }
.org-footer__list li { margin-bottom: 8px; }
.org-footer__list a { color: var(--alu-light); text-decoration: none; font-size: var(--fs-xs); }
.org-footer__list a:hover { color: #fff; }
.org-footer__bottom { margin-top: var(--s-5); display: flex; justify-content: space-between; font-family: var(--latin); font-size: var(--fs-3xs); color: var(--alu-mid); letter-spacing: var(--ls-wide); max-width: var(--container); margin-left: auto; margin-right: auto; padding-top: var(--s-3); flex-wrap: wrap; gap: 12px; }
.org-footer__copy { font-size: var(--fs-2xs); color: var(--alu-light); margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid rgba(255,255,255,0.08); max-width: var(--container); margin-left: auto; margin-right: auto; text-align: center; line-height: 1.8; }

/* Page head — order: breadcrumb → eyebrow (small) → title → lead */
.org-pagehead { padding: var(--s-8) var(--s-6) var(--s-7); background: var(--surface-mist); border-bottom: 1px solid var(--line-hair); }
.org-pagehead__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* With eyecatch background — image peeks from the right while text stays
   readable on the left thanks to a left-heavy white wash. Inline style on
   the section provides --pagehead-bg: url('...'). */
.org-pagehead--with-bg { position: relative; overflow: hidden; isolation: isolate; }
.org-pagehead--with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pagehead-bg);
  background-size: cover;
  background-position: center right;
  z-index: -2;
}
.org-pagehead--with-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(244, 247, 250, 0.97) 0%,
    rgba(244, 247, 250, 0.93) 38%,
    rgba(244, 247, 250, 0.65) 68%,
    rgba(244, 247, 250, 0.30) 100%
  );
  z-index: -1;
}
.org-pagehead--with-bg .org-pagehead__inner { position: relative; }
@media (max-width: 760px) {
  .org-pagehead--with-bg::after {
    background: linear-gradient(
      to bottom,
      rgba(244, 247, 250, 0.94) 0%,
      rgba(244, 247, 250, 0.88) 60%,
      rgba(244, 247, 250, 0.55) 100%
    );
  }
}
.org-pagehead__title {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-4xl);
  line-height: 1.25;
  margin: var(--s-5) 0 var(--s-4);
  letter-spacing: var(--ls-normal);
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}
.org-pagehead__title small {
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  font-weight: 600;
  color: var(--ember);
  letter-spacing: var(--ls-extra);
  margin-bottom: var(--s-3);
  text-transform: uppercase;
}
.org-pagehead__lead {
  font-size: var(--fs-prose);
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--ink-prose);
  max-width: var(--container-narrow);
}
.org-pagehead__lead strong { color: var(--ink-primary); font-weight: 700; }

/* Editorial variant — centered, narrow column. Use for brand-heavy pages
   (about, future blog/article pages) where right-side whitespace should
   read as intentional breathing rather than orphaned content. */
.org-pagehead--editorial { padding: var(--s-9) var(--s-6) var(--s-8); }
.org-pagehead--editorial .org-pagehead__inner { max-width: var(--container); text-align: center; }
.org-pagehead--editorial .mol-breadcrumb { justify-content: center; }
.org-pagehead--editorial .org-pagehead__title {
  align-items: center;
  font-size: clamp(32px, 4vw, 48px);
  margin: var(--s-5) 0 var(--s-5);
}
.org-pagehead--editorial .org-pagehead__lead {
  max-width: 560px;
  margin: 0 auto;
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--line-medium);
}

/* Article hero — full-width key visual placed right after the pagehead on
   individual blog/news article pages. Image is contained (not cropped) so the
   artwork stays intact regardless of source aspect ratio. */
.mol-article-hero {
  background: var(--surface-mist);
  border-bottom: 1px solid var(--line-hair);
  padding: var(--s-6) var(--s-6);
}
.mol-article-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.mol-article-hero__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  object-fit: contain;
  background: var(--surface-card);
  border: 1px solid var(--line-hair);
}
@media (max-width: 760px) {
  .mol-article-hero { padding: var(--s-5) var(--s-4); }
  .mol-article-hero__media { aspect-ratio: 4 / 3; }
}

/* Contact form */
.org-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); background: var(--surface-card); border: 1px solid var(--line-hair); padding: var(--s-7); }
.org-form .full { grid-column: 1 / -1; }
.org-form__submit { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line-hair); }
.org-form .radio-group { display: flex; flex-wrap: wrap; gap: var(--s-4); padding: 4px 0; }
/* Cloudflare Turnstile widget renders a fixed 300px iframe — keep narrow viewports from
   getting a horizontal scrollbar by isolating the overflow inside the widget cell. */
.cf-turnstile { max-width: 100%; overflow-x: auto; }

/* =============================================================
   PAGE-LEVEL UTILITIES (built on the design tokens)
   ============================================================= */

/* Section block (chapter wrapper) */
.section-block { padding: var(--s-9) 0; border-bottom: 1px solid var(--line-hair); }
.section-block:last-child { border-bottom: none; }
.section-block--mist { background: var(--surface-mist); padding: var(--s-9) 0; }
.section-block--card { background: var(--surface-card); }

/* Lead-context switch (contact.html の二導線出し分け) -------------------------
   contact.html は HP制作（フロント）と DX・発注者支援（バック）の共通着地点。
   <head> のインラインscriptが ?from= を読み <html data-contact-context="hp|dx">
   を paint前に付与する（dx / dx-shindan → "dx"、他は "hp"）。
   下の2クラスで 見出し・リード・USE CASES・予算欄などを出し分ける。
   ポイント: display は「隠す」だけに限定し、表示側は各要素本来の display
   （span=inline / p・section=block）を保つ＝要素種別に依存しない。
   JS無効なら属性が付かず既定の HP 文面が出る（フェイルセーフ）。
   ※DX・発注者支援の金額は出さない（個別試算のまま）。 */
:root:not([data-contact-context="dx"]) .ctx-dx { display: none; }
[data-contact-context="dx"] .ctx-hp { display: none; }

/* Prose block (long-form text body) — note風の読み心地 (2026-05-06 tuned) */
.prose { max-width: var(--container-narrow); }
.prose p {
  font-size: var(--fs-prose);          /* 17px (本文comfort) */
  line-height: 1.85;                   /* note風の密度 (旧2.0は広すぎ) */
  letter-spacing: 0.04em;              /* 日本語の呼吸 */
  color: var(--ink-prose);             /* 文字を立たせる中間濃色 (旧--ink-softは薄すぎ) */
  margin-bottom: 28px;                 /* note風段落間（旧24px → ゆとり追加） */
}
.prose p strong { color: var(--ink-primary); font-weight: 700; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-lg);
  line-height: 1.55;
  margin: var(--s-7) 0 var(--s-3);
  color: var(--ink-primary);
}
.prose h3:first-child { margin-top: 0; }
.prose h4 {
  font-family: var(--sans-jp);
  font-weight: 700;
  font-size: var(--fs-md);
  margin: var(--s-5) 0 var(--s-3);
  color: var(--ink-primary);
}
.prose ul, .prose ol { margin: 0 0 28px 22px; }
.prose ul li, .prose ol li {
  font-size: var(--fs-prose);          /* 17px (本文と同サイズ・note風) */
  line-height: 1.85;                   /* 本文と統一 */
  letter-spacing: 0.04em;
  color: var(--ink-prose);             /* 本文と同じ中間濃色 */
  margin-bottom: 8px;
}
.prose a { color: var(--ember); border-bottom: 1px solid var(--ember); text-decoration: none; }
.prose a:hover { color: var(--ember-deep); border-color: var(--ember-deep); }
/* prose 内のボタンは本文リンクの色・下線を継承せず、ボタン本来の見た目を保つ
   （.prose a の ember 文字色＋下線で btn--primary が ember-on-ember に潰れる不具合の修正） */
.prose a.btn { border-bottom: none; }
.prose a.btn--primary, .prose a.btn--primary:hover,
.prose a.btn--inverse, .prose a.btn--inverse:hover { color: #fff; }
.prose a.btn--ghost { color: var(--ink-primary); }
.prose blockquote {
  border-left: 2px solid var(--ember);
  padding: var(--s-3) var(--s-5);
  margin: var(--s-5) 0;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  background: var(--surface-mist);
  font-style: normal;
}
.prose blockquote p { margin-bottom: 8px; font-size: var(--fs-sm); }
.prose blockquote p:last-child { margin-bottom: 0; }

/* =============================================================
   MARKER / HIGHLIGHT — 蛍光ペン風強調 (2026-05-06 added)
   - 1段落1色まで・1記事5%以下が運用ルール
   - <mark> = 黄(キーワード) / .marker--pink = 警告 / .marker--green = 補足
   - linear-gradient で「下から60%だけ塗る」note風の塗り
   ============================================================= */
.prose mark,
.prose .marker {
  background: linear-gradient(transparent 60%, #FFF3A3 60%);
  padding: 0 2px;
  color: inherit;
  font-weight: inherit;
}
.prose mark.marker--pink,
.prose .marker--pink {
  background: linear-gradient(transparent 60%, #FFD8E0 60%);
}
.prose mark.marker--green,
.prose .marker--green {
  background: linear-gradient(transparent 60%, #C8E6C9 60%);
}
/* 段落リード等、proseの外でも使えるようglobal fallback */
mark { background: linear-gradient(transparent 60%, #FFF3A3 60%); padding: 0 2px; color: inherit; }
mark.marker--pink { background: linear-gradient(transparent 60%, #FFD8E0 60%); }
mark.marker--green { background: linear-gradient(transparent 60%, #C8E6C9 60%); }

/* dark band（.org-dx）上の override: 蛍光ペン塗り(下40%)に明色文字が乗ると沈むため、
   濃いインク文字＋ベタ塗りハイライトに切り替えて可読性を確保する（dx/pricing の DX 訴求帯） */
.org-dx mark,
.org-dx .marker {
  background: #FFF3A3;
  color: var(--ink-primary);
  padding: 0.12em 0.4em;
  border-radius: 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.org-dx mark.marker--pink,
.org-dx .marker--pink { background: #FFD8E0; }
.org-dx mark.marker--green,
.org-dx .marker--green { background: #C8E6C9; }

/* Tables inside .prose (including .comparison) */
.prose .table-wrap {
  margin: var(--s-5) 0;
  overflow-x: auto;
  border: 1px solid var(--line-hair);
  border-radius: 6px;
  background: var(--surface-card);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-xs);
  line-height: 1.7;
}
.prose table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--ink-primary);
  padding: var(--s-3) var(--s-4);
  font-size: var(--fs-xs);
  border-bottom: 1px solid var(--line-hair);
}
.prose table th,
.prose table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-hair);
  vertical-align: top;
  color: var(--ink-soft);
}
.prose table thead th {
  background: var(--surface-mist);
  color: var(--ink-primary);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-normal);
  border-bottom: 2px solid var(--ink-primary);
  white-space: nowrap;
}
.prose table tbody th {
  background: var(--surface-mist);
  color: var(--ink-primary);
  font-weight: 600;
  white-space: nowrap;
  font-size: var(--fs-xs);
}
.prose table tbody tr:last-child th,
.prose table tbody tr:last-child td {
  border-bottom: none;
}
.prose table tbody tr:nth-child(even) td:not(:first-child) {
  background: rgba(0, 0, 0, 0.012);
}
.prose table strong { color: var(--ember-deep); font-weight: 700; }

/* Comparison table — 3-tier comparison (① 完全無料 / ② 月額有料 / ③ 買い切り) etc. */
.prose .comparison {
  min-width: 560px; /* enable horizontal scroll on narrow viewports rather than cramming */
}
.prose .comparison thead th {
  text-align: center;
  white-space: normal;
}
.prose .comparison tbody th {
  width: 30%;
  min-width: 140px;
}
.prose .comparison tbody td {
  width: 23.33%;
}

/* Note paragraph below tables/sections */
.prose .prose-note {
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  background: var(--surface-mist);
  padding: var(--s-3) var(--s-4);
  border-left: 2px solid var(--line-hair);
  margin: 0 0 var(--s-5);
  line-height: 1.75;
}

/* Problem list (✓ checks) */
.problem-list { list-style: none; margin: var(--s-5) auto; padding: 0; max-width: var(--container-narrow);}
.problem-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px dashed var(--line-hair);
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--ink-primary);
}
.problem-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  width: 20px;
  height: 20px;
  background: var(--ember);
  color: #fff;
  font-size: var(--fs-2xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Data table */
.content-table { width: 100%; border-collapse: collapse; margin: var(--s-5) 0; font-size: var(--fs-sm); background: var(--surface-card); }
.content-table th, .content-table td { padding: 14px 18px; text-align: left; vertical-align: middle; border: none; border-bottom: 1px solid var(--line-hair); line-height: 1.7; }
.content-table thead th { background: var(--ember-tint); font-weight: 700; font-family: var(--sans-jp); font-size: var(--fs-2xs); color: var(--ink-soft); letter-spacing: var(--ls-wide); text-transform: uppercase; border-bottom: 2px solid var(--ink-primary); }
.content-table tbody th { background: transparent; font-family: var(--serif-jp); font-weight: 700; color: var(--ink-primary); width: 200px; }
.content-table tbody tr:last-child > * { border-bottom: none; }
.content-table td strong { color: var(--ember-deep); }
.content-table--narrow th, .content-table--narrow td { padding: 10px 14px; }

/* Steps table */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); margin: var(--s-6) 0; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps__item { background: var(--surface-card); border: 1px solid var(--line-hair); padding: var(--s-5) var(--s-5); position: relative; }
.steps__no { font-family: var(--latin); font-size: var(--fs-3xs); letter-spacing: var(--ls-extra); color: var(--ember); font-weight: 600; margin-bottom: var(--s-3); display: block; text-transform: uppercase; }
.steps__title { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-md); line-height: 1.45; margin-bottom: var(--s-3); }
.steps__desc { font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.85; }

/* Spec/feature card (deliverables) */
.spec-card {
  background: var(--surface-card);
  border: 1px solid var(--line-hair);
  padding: var(--s-6);
  margin-bottom: var(--s-5);
}
.spec-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line-hair);
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
  gap: var(--s-3);
}
.spec-card__title { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-xl); line-height: 1.4; }
.spec-card__price {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-xl);
  color: var(--ember);
}
.spec-card__price small { font-size: var(--fs-2xs); font-weight: 400; color: var(--ink-muted); margin-left: 6px; }
.spec-card__lead { font-size: var(--fs-sm); line-height: 1.95; color: var(--ink-soft); margin-bottom: var(--s-5); }
.spec-card__lead strong { color: var(--ink-primary); font-weight: 700; }
.spec-card h4 {
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  color: var(--ember);
  font-weight: 600;
  text-transform: uppercase;
  margin: var(--s-5) 0 var(--s-3);
}
.spec-card h4:first-of-type { margin-top: 0; }
.spec-card ul { list-style: none; padding: 0; margin: 0; }
.spec-card li {
  padding: 10px 0 10px 24px;
  position: relative;
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--ink-primary);
  border-bottom: 1px solid var(--line-hair);
}
.spec-card li:last-child { border-bottom: none; }
.spec-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 1px;
  background: var(--ember);
}
.spec-card__meta {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-hair);
  font-size: var(--fs-2xs);
  color: var(--ink-muted);
  font-family: var(--latin);
  letter-spacing: var(--ls-wide);
  line-height: 1.85;
}
.spec-card__meta strong { color: var(--ink-primary); font-weight: 700; font-family: var(--sans-jp); }

/* Spec card — slim variant: at-a-glance, no h4 sections */
.spec-card--slim { padding: var(--s-5) var(--s-6); }
.spec-card--slim .spec-card__head { padding-bottom: var(--s-3); margin-bottom: var(--s-4); }
.spec-card--slim .spec-card__lead { margin-bottom: var(--s-4); }
.spec-card--slim .spec-card__points { list-style: none; padding: 0; margin: 0; }
.spec-card--slim .spec-card__points li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: var(--fs-xs);
  line-height: 1.85;
  color: var(--ink-soft);
  border: none;
}
.spec-card--slim .spec-card__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 1px;
  background: var(--ember);
}

/* Spec card — collapsible deliverable detail */
.spec-card__detail {
  margin-top: var(--s-4);
  border-top: 1px solid var(--line-hair);
  padding-top: var(--s-4);
}
.spec-card__detail > summary {
  cursor: pointer;
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  color: var(--ember);
  font-weight: 600;
  text-transform: uppercase;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}
.spec-card__detail > summary::-webkit-details-marker { display: none; }
.spec-card__detail > summary::after {
  content: "+ 詳しく見る";
  font-family: var(--sans-jp);
  font-size: var(--fs-2xs);
  letter-spacing: var(--ls-wide);
  color: var(--ink-muted);
  text-transform: none;
  font-weight: 500;
}
.spec-card__detail[open] > summary::after { content: "− 閉じる"; }
.spec-card__detail-body { margin-top: var(--s-4); }

/* Plan row — image + slim spec card, side by side */
.org-plan-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin: var(--s-7) 0;
}
.org-plan-row--reverse .org-plan-row__media { order: 2; }
.org-plan-row__media {
  aspect-ratio: 4 / 3;
  background: var(--surface-mist);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line-hair);
}
.org-plan-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.org-plan-row__body .spec-card { margin-bottom: 0; }
@media (max-width: 760px) {
  .org-plan-row { grid-template-columns: 1fr; gap: var(--s-5); }
  .org-plan-row--reverse .org-plan-row__media { order: 0; }
}

/* "Included on all plans" — refined inclusion panel */
.mol-included {
  background: var(--surface-card);
  border: 1px solid var(--line-hair);
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 1.3fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  position: relative;
}
.mol-included::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background: var(--ember);
}
.mol-included__head { display: flex; flex-direction: column; gap: var(--s-3); }
.mol-included__head .mol-kicker { color: var(--ember); }
.mol-included__title {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  color: var(--ink-primary);
  letter-spacing: var(--ls-wide);
}
.mol-included__lead {
  font-size: var(--fs-xs);
  line-height: 1.95;
  color: var(--ink-soft);
  margin-top: var(--s-2);
}
.mol-included__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mol-included__item {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: 16px 0;
  border-bottom: 1px solid var(--line-hair);
}
.mol-included__item:first-child { padding-top: 0; }
.mol-included__item:last-child { border-bottom: none; padding-bottom: 0; }
.mol-included__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ember-tint);
  color: var(--ember-deep);
  flex-shrink: 0;
}
.mol-included__name {
  font-family: var(--sans-jp);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: var(--ls-normal);
}
.mol-included__name small {
  display: block;
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: var(--ls-extra);
  margin-top: 2px;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .mol-included {
    grid-template-columns: 1fr;
    padding: var(--s-6) var(--s-5);
    gap: var(--s-5);
  }
  .mol-included__title { font-size: var(--fs-xl); }
}

/* Note / warning box */
.note-card {
  background: var(--ember-tint);
  border-left: 3px solid var(--ember);
  padding: var(--s-5) var(--s-6);
  margin: var(--s-5) 0;
  font-size: var(--fs-xs);
  line-height: 1.95;
  color: var(--ink-primary);
}
.note-card h4 { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-md); margin-bottom: var(--s-3); color: var(--ember-deep); }
.note-card ul { margin: var(--s-3) 0 var(--s-3) 22px; }
.note-card li { font-size: var(--fs-xs); line-height: 1.85; color: var(--ink-soft); }
.note-card strong { color: var(--ember-deep); }

/* =============================================================
   FLAGSHIP HERO — 主力プラン用ヒーローブロック
   (pricing.html の AIO/SEO HP プラン等で使用) */
.aio-hero {
  background: linear-gradient(135deg, var(--surface-ink) 0%, #2A3540 100%);
  color: #fff;
  padding: var(--s-8) var(--s-7);
  text-align: center;
  position: relative;
  margin-top: var(--s-5);
}
.aio-hero::before {
  content: 'FLAGSHIP';
  position: absolute;
  top: 18px;
  right: 22px;
  background: var(--ember);
  color: #fff;
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  padding: 5px 14px;
  font-weight: 700;
}
.aio-hero__title {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-2xl);
  margin: var(--s-3) 0 var(--s-3);
  color: #fff;
}
.aio-hero__price {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--ember);
  line-height: 1.1;
  margin: var(--s-3) 0 var(--s-3);
}
.aio-hero__price small {
  font-family: var(--latin);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.7);
  margin-left: 12px;
  letter-spacing: var(--ls-wide);
  font-weight: 400;
}
.aio-hero__lead {
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto var(--s-6);
  line-height: 1.85;
  font-size: var(--fs-sm);
}
.aio-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.aio-feature {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: var(--s-4) var(--s-5);
}
.aio-feature__no {
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  color: var(--ember);
  font-weight: 700;
}
.aio-feature__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin: 6px 0 4px;
  color: #fff;
}
.aio-feature__desc {
  font-size: var(--fs-2xs);
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}
@media (max-width: 600px) {
  .aio-features { grid-template-columns: 1fr; }
  .aio-hero { padding: var(--s-7) var(--s-5); }
}

/* =============================================================
   ZERO STATS — 2項目の数字対比カード
   (technology.html ZERO MONTHLY 等) */
.zero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin: var(--s-6) 0; }
.zero-stat {
  padding: var(--s-6) var(--s-5);
  border: 1px solid var(--line-hair);
  background: var(--surface-card);
  text-align: center;
}
.zero-stat--accent {
  border: 2px solid var(--ember);
  background: linear-gradient(180deg, var(--ember-tint) 0%, var(--surface-card) 100%);
}
.zero-stat__label {
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: var(--s-3);
  font-weight: 600;
}
.zero-stat--accent .zero-stat__label { color: var(--ember); }
.zero-stat__value {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  color: var(--ink-primary);
}
.zero-stat__value-small { font-size: 0.5em; font-weight: 400; }
.zero-stat--accent .zero-stat__value { color: var(--ember); }
.zero-stat__caption {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  margin-top: var(--s-3);
  line-height: 1.6;
}
@media (max-width: 600px) {
  .zero-stats { grid-template-columns: 1fr; }
}

/* =============================================================
   PAIN CARD — 困りごと/ペインポイント提示ブロック
   (pricing.html「こんなお悩みありませんか？」等) */
.pain-card {
  background: var(--surface-card);
  border-radius: 8px;
  padding: var(--s-6) var(--s-7);
  margin: var(--s-5) auto;
  position: relative;
}
.pain-card__label {
  display: inline-block;
  background: var(--ink-primary);
  color: #fff;
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  padding: 4px 10px;
  margin-bottom: var(--s-4);
  font-weight: 700;
}
.pain-card__title {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-2xl);
  color: var(--ink-primary);
  margin-bottom: var(--s-4);
}
.pain-card ul { list-style: none; margin: 0; padding: 0; }
.pain-card li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  color: var(--ink-prose);
  line-height: 1.85;
  border-bottom: 1px dashed var(--line-hair);
  font-size: var(--fs-2sm);
}
.pain-card li:last-child { border-bottom: none; }
.pain-card li::before {
  content: '?';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--ember);
  color: #fff;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Use-case cards */
.use-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin: var(--s-6) 0; }
.use-case {
  background: var(--surface-card);
  border: 1px solid var(--line-hair);
  padding: var(--s-6);
}
.use-case__no { font-family: var(--latin); font-size: var(--fs-3xs); letter-spacing: var(--ls-extra); color: var(--ember); font-weight: 600; text-transform: uppercase; margin-bottom: var(--s-3); display: block; }
.use-case__title { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-lg); line-height: 1.45; margin-bottom: var(--s-3); }
.use-case__quote { font-size: var(--fs-xs); line-height: 1.95; color: var(--ink-soft); border-left: 2px solid var(--line-hair); padding-left: var(--s-4); }

/* Door (CTA dual) */
.door-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); margin-top: var(--s-6); }
.door {
  background: var(--surface-card);
  border: 1px solid var(--line-hair);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.door:hover { border-color: var(--ink-primary); transform: translateY(-2px); }
.door__no { font-family: var(--latin); font-size: var(--fs-3xs); letter-spacing: var(--ls-extra); color: var(--ember); font-weight: 600; text-transform: uppercase; margin-bottom: var(--s-3); }
.door__title { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-lg); line-height: 1.45; margin-bottom: var(--s-3); }
.door__lead { font-size: var(--fs-xs); line-height: 1.9; color: var(--ink-soft); margin-bottom: var(--s-4); flex: 1; }
.door__cta { font-family: var(--latin); font-size: var(--fs-2xs); letter-spacing: var(--ls-extra); color: var(--ember); font-weight: 500; text-transform: uppercase; }
.door__cta::after { content: " →"; }

/* Compare two-column */
.compare2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-hair); border: 1px solid var(--line-hair); margin: var(--s-5) 0; }
.compare2__col { background: var(--surface-card); padding: var(--s-6); }
.compare2__col h4 { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-lg); margin-bottom: var(--s-3); }
.compare2__col p { font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.9; }
.compare2__col--accent { background: var(--ember-tint); }
.compare2__col--accent h4 { color: var(--ember-deep); }

/* FAQ list (faq.html) */
.faq-list { display: grid; gap: 1px; background: var(--line-hair); border: 1px solid var(--line-hair); margin: var(--s-5) 0; }
.faq-item { background: var(--surface-card); padding: var(--s-5) var(--s-6); }
.faq-item h3 { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-md); line-height: 1.7; margin: 0 0 var(--s-3); color: var(--ink-primary); }
.faq-item p { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.95; margin: 0; }

/* Portfolio detail page CTA card */
.portfolio-card__cta { display: inline-block; margin-top: var(--s-4); font-family: var(--latin); font-size: var(--fs-2xs); letter-spacing: var(--ls-extra); color: var(--ink-primary); text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--ink-primary); padding-bottom: 2px; transition: opacity 0.2s; }
.portfolio-card__cta:hover { opacity: 0.6; }

/* ============================================================
   Portfolio detail — case study components
   M-13 fact sheet / M-14 palette / M-15 type specimen /
   M-16 browser frame / O-13 work nav（design-system.html 参照）
   ============================================================ */

/* Page head actions — pagehead lead 直下のCTAボタン行 */
.org-pagehead__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-5); }

/* M-16 Browser frame — スクリーンショットをブラウザ窓として額装する */
.mol-browserframe {
  margin: 0;
  border: 1px solid var(--line-hair);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-card);
  box-shadow: 0 6px 20px rgba(27, 40, 56, 0.08);
}
.mol-browserframe__bar {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: 10px 16px;
  background: var(--surface-mist);
  border-bottom: 1px solid var(--line-hair);
}
.mol-browserframe__dots { display: inline-flex; gap: 6px; flex: 0 0 auto; }
.mol-browserframe__dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.mol-browserframe__dots i:nth-child(1) { background: var(--alu-light); }
.mol-browserframe__dots i:nth-child(2) { background: var(--alu-mid); }
.mol-browserframe__dots i:nth-child(3) { background: var(--alu-shade); }
.mol-browserframe__url {
  font-family: var(--latin);
  font-size: var(--fs-2xs);
  color: var(--ink-muted);
  letter-spacing: var(--ls-wide);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.mol-browserframe img { width: 100%; height: auto; display: block; }

/* M-13 Fact sheet — 案件スペック表（ラベルは英語小キャップ） */
.mol-factsheet {
  max-width: var(--container-narrow);
  margin-top: var(--s-6);
  border-top: 1px solid var(--line-strong);
}
.mol-factsheet__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--s-4);
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-hair);
}
.mol-factsheet dt {
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  font-weight: 600;
  letter-spacing: var(--ls-extra);
  text-transform: uppercase;
  color: var(--ember);
  padding-top: 4px;
}
.mol-factsheet dd {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--ink-primary);
  overflow-wrap: anywhere;
}
.mol-factsheet dd a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  font-family: var(--latin);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.mol-factsheet dd a:hover { color: var(--ember); border-color: var(--ember); }
@media (max-width: 600px) {
  .mol-factsheet__row { grid-template-columns: 1fr; gap: 4px; padding: 12px 2px; }
  .mol-factsheet dt { padding-top: 0; }
}

/* M-14 Palette — 案件配色スウォッチ。チップ色はインラインstyleで指定する */
.mol-palette {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--s-4);
  max-width: var(--container-narrow);
  margin-top: var(--s-6);
}
.mol-palette__color {
  display: block;
  height: 64px;
  border: 1px solid var(--line-hair);
}
.mol-palette__name {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ink-primary);
  margin-top: var(--s-2);
}
.mol-palette__hex {
  display: block;
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  color: var(--ink-muted);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-top: 2px;
}

/* M-15 Type specimen — 案件書体見本。font-familyはインラインstyleで指定する */
.mol-specimen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-4);
  max-width: var(--container-narrow);
  margin-top: var(--s-6);
}
.mol-specimen__item {
  background: var(--surface-card);
  border: 1px solid var(--line-hair);
  padding: var(--s-5);
}
.mol-specimen__sample {
  font-size: var(--fs-2xl);
  line-height: 1.45;
  color: var(--ink-primary);
  overflow-wrap: anywhere;
}
.mol-specimen__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line-hair);
  font-family: var(--latin);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  color: var(--ink-primary);
}
.mol-specimen__label span {
  font-family: var(--sans-jp);
  font-size: var(--fs-3xs);
  font-weight: 400;
  letter-spacing: var(--ls-normal);
  color: var(--ink-muted);
}

/* O-13 Work nav — 前後案件ナビ（一覧順・端は循環） */
.org-worknav { background: var(--surface-card); border-bottom: 1px solid var(--line-hair); }
.org-worknav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.org-worknav__item {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-6) var(--s-5);
  text-decoration: none;
  transition: background 0.2s ease;
}
.org-worknav__item:first-child { border-right: 1px solid var(--line-hair); }
.org-worknav__item--next { text-align: right; align-items: flex-end; }
.org-worknav__item:hover { background: var(--surface-mist); }
.org-worknav__dir {
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  font-weight: 600;
  letter-spacing: var(--ls-extra);
  text-transform: uppercase;
  color: var(--ember);
}
.org-worknav__title {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--ink-primary);
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}
.org-worknav__item:hover .org-worknav__title { color: var(--ember); }
.org-worknav__meta { font-size: var(--fs-2xs); color: var(--ink-soft); }
@media (max-width: 600px) {
  .org-worknav__inner { grid-template-columns: 1fr; padding: 0 20px; }
  .org-worknav__item:first-child { border-right: none; border-bottom: 1px solid var(--line-hair); }
  .org-worknav__item--next { text-align: left; align-items: flex-start; }
}

/* Plan filter chips */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-3); align-items: center; }
.filter-bar__label { font-family: var(--latin); font-size: var(--fs-3xs); letter-spacing: var(--ls-extra); color: var(--ink-muted); text-transform: uppercase; margin-right: var(--s-3); }
.chip {
  font-family: var(--sans-jp);
  font-size: var(--fs-2xs);
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid var(--line-medium);
  background: var(--surface-card);
  color: var(--ink-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--ember); color: var(--ember); }
.chip.is-active { background: var(--ink-primary); border-color: var(--ink-primary); color: #fff; }

/* Portfolio card */
.portfolio-card {
  background: var(--surface-card);
  border: 1px solid var(--line-hair);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.portfolio-card__media {
  aspect-ratio: 4/3;
  background-color: var(--alu-light);
  background-size: cover;
  background-position: center;
  margin: calc(var(--s-6) * -1) calc(var(--s-6) * -1) var(--s-5);
  border-bottom: 1px solid var(--line-hair);
}
.portfolio-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: var(--s-3); }
.portfolio-card__title { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-lg); line-height: 1.45; margin-bottom: var(--s-2); }
.portfolio-card__meta { font-family: var(--latin); font-size: var(--fs-3xs); color: var(--ink-muted); letter-spacing: var(--ls-wide); margin-bottom: var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line-hair); }
.portfolio-card__row { margin-bottom: var(--s-4); }
.portfolio-card__row:last-child { margin-bottom: 0; }
.portfolio-card__rowlabel { font-family: var(--latin); font-size: var(--fs-3xs); letter-spacing: var(--ls-extra); color: var(--ember); font-weight: 600; text-transform: uppercase; margin-bottom: 6px; display: block; }
.portfolio-card__rowtext { font-size: var(--fs-xs); line-height: 1.9; color: var(--ink-soft); overflow-wrap: anywhere; }
.portfolio-card__rowtext a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  font-family: var(--latin);
  transition: color .2s ease, border-color .2s ease;
}
.portfolio-card__rowtext a:hover { color: var(--ember); border-color: var(--ember); }

/* ============================================================
   Demo gallery (portfolio.html) — compact card grid + toolbar
   20本超の実績を「画像＋タイトル＋業態」の薄カードで一覧し、
   検索・業態フィルタ・「もっと見る」のページネーションで捌く。
   ============================================================ */
.demo-toolbar {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line-hair);
}
.demo-toolbar__row {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  align-items: center;
}
.demo-toolbar__row .filter-bar { margin-bottom: 0; flex-wrap: wrap; }
.demo-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 220px;
  min-width: 200px;
  background: var(--surface-card);
  border: 1px solid var(--line-medium);
  padding: 8px 14px;
  transition: border-color 0.2s;
}
.demo-search:focus-within { border-color: var(--ink-primary); }
.demo-search svg { width: 16px; height: 16px; color: var(--ink-muted); flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 2; }
.demo-search input {
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  width: 100%;
  color: var(--ink-primary);
}
.demo-search input::placeholder { color: var(--ink-muted); }
.demo-count {
  font-family: var(--latin);
  font-size: var(--fs-2xs);
  color: var(--ink-muted);
  letter-spacing: var(--ls-wide);
  font-feature-settings: "tnum";
  margin-left: auto;
  white-space: nowrap;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 600px) {
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .demo-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
}

.demo-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--line-hair);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  min-width: 0;
}
.demo-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-medium);
  box-shadow: 0 6px 20px rgba(27, 40, 56, 0.08);
}
.demo-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--alu-light);
  border-bottom: 1px solid var(--line-hair);
}
.demo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.demo-card:hover .demo-card__media img { transform: scale(1.04); }
.demo-card__body {
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  flex: 1;
}
.demo-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.demo-card__title {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-md);
  line-height: 1.5;
  margin: 0;
  color: var(--ink-primary);
  overflow-wrap: anywhere;
}
.demo-card__lead {
  font-size: var(--fs-2xs);
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}
.demo-card__more {
  margin-top: auto;
  padding-top: var(--s-3);
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  color: var(--ember);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.demo-loadmore {
  display: flex;
  justify-content: center;
  margin-top: var(--s-7);
}
.demo-loadmore button {
  font-family: inherit;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  background: var(--surface-card);
  color: var(--ink-primary);
  border: 1px solid var(--line-strong);
  padding: 12px 32px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.demo-loadmore button:hover {
  background: var(--ink-primary);
  color: var(--surface-card);
}

.demo-empty {
  display: none;
  text-align: center;
  padding: var(--s-7) 0;
  color: var(--ink-muted);
  font-size: var(--fs-xs);
}
.demo-empty.is-shown { display: block; }

.is-hidden { display: none !important; }

/* Principles (about page) */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); margin: var(--s-5) 0; }
.principle {
  background: var(--surface-card);
  border: 1px solid var(--line-hair);
  padding: var(--s-6);
}
.principle__no { font-family: var(--latin); font-size: var(--fs-3xs); letter-spacing: var(--ls-extra); color: var(--ember); font-weight: 600; text-transform: uppercase; margin-bottom: var(--s-3); }
.principle__title { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-lg); line-height: 1.45; margin-bottom: var(--s-3); }
.principle__desc { font-size: var(--fs-xs); line-height: 1.9; color: var(--ink-soft); }

/* Colophon table */
.colophon { background: var(--surface-card); border: 1px solid var(--line-hair); margin: var(--s-5) 0; }
.colophon dl { display: grid; grid-template-columns: 200px 1fr; }
.colophon dt {
  background: var(--surface-mist);
  padding: 14px 18px;
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  color: var(--ink-soft);
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-hair);
  font-weight: 600;
}
.colophon dd {
  padding: 14px 18px;
  font-size: var(--fs-sm);
  color: var(--ink-primary);
  border-bottom: 1px solid var(--line-hair);
  border-left: 1px solid var(--line-hair);
}
.colophon dl > div:last-child dt,
.colophon dl > div:last-child dd { border-bottom: none; }

/* =============================================================
   SECTION LAYOUTS (subset: L02 Asymmetric Split, L05 Sticky Title)
   ============================================================= */

/* L02 — Asymmetric Split (text 1.4 : media 1) */
.l02-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-8);
  align-items: center;
  margin-top: var(--s-6);
}
.l02-split--reverse { grid-template-columns: 1fr 1.4fr; }
.l02-split--reverse .l02-split__media { order: -1; }
.l02-split__copy h3 {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-xl);
  line-height: 1.5;
  margin-bottom: var(--s-4);
}
.l02-split__media {
  aspect-ratio: 4/5;
  border: 1px solid var(--line-hair);
  background: linear-gradient(135deg, var(--alu-light) 0%, var(--alu-mid) 60%, var(--alu-shade) 100%);
  position: relative;
  overflow: hidden;
}
.l02-split__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 8px, transparent 8px 16px);
}
.l02-split__media--mist   { background: linear-gradient(180deg, #d6dde6 0%, #94a0ad 100%); }
.l02-split__media--shop   { background: linear-gradient(180deg, #1b2838 0%, #2d3d52 60%, #0e1722 100%); }
.l02-split__media--molten { background: radial-gradient(circle at 50% 60%, #d8b58a 0%, #a26a3d 30%, #6b4628 70%, #2c1c10 100%); }
.l02-split__cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  z-index: 1;
}

/* L07 — Index Table (横罫線リスト) */
.l07-table { border-top: 1px solid var(--line-strong); }
.l07-row {
  display: grid;
  grid-template-columns: 110px 130px 1fr 24px;
  gap: var(--s-4);
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line-hair);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}
.l07-row:hover { background: var(--surface-mist); }
.l07-row__date {
  font-family: var(--latin);
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}
.l07-row__cat {
  font-family: var(--sans-jp);
  font-size: var(--fs-3xs);
  color: var(--ink-primary);
  letter-spacing: var(--ls-wide);
}
.l07-row__cat::before { content: "/ "; color: var(--ink-muted); margin-right: 4px; }
.l07-row__title {
  font-family: var(--sans-jp);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.7;
}
.l07-row__arrow {
  font-family: var(--latin);
  color: var(--ink-muted);
  font-size: var(--fs-xs);
  text-align: right;
}

/* L05 — Sticky Title × Scroll Body */
.l05-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--s-8);
  align-items: start;
}
.l05-grid__title { position: sticky; top: 96px; }
.l05-grid__title .num {
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  color: var(--ember);
  font-weight: 600;
  display: block;
  margin-bottom: var(--s-3);
}
.l05-grid__title h2 {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-2xl);
  line-height: 1.4;
}
.l05-grid__title h2 small {
  display: block;
  font-family: var(--latin);
  font-size: var(--fs-2xs);
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: var(--ls-wide);
  margin-top: 8px;
}
.l05-block + .l05-block {
  margin-top: var(--s-7);
  padding-top: var(--s-7);
  border-top: 1px solid var(--line-hair);
}
.l05-block h3 {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-lg);
  margin-bottom: 10px;
}
.l05-block p {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.95;
}

/* Pillars custom (for technology page) */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); margin: var(--s-5) 0; }
.feature {
  background: var(--surface-card);
  border: 1px solid var(--line-hair);
  padding: var(--s-6);
}
.feature__title { font-family: var(--serif-jp); font-weight: 700; font-size: var(--fs-lg); margin-bottom: var(--s-3); line-height: 1.45; }
.feature__desc { font-size: var(--fs-xs); line-height: 1.9; color: var(--ink-soft); }

/* =============================================================
   PRICING (organism) — tier comparison
   2-up entry tier + 1 separated enterprise tier
   ============================================================= */
.org-pricing { margin: var(--s-5) 0; }
.org-pricing__entry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
.org-pricing__divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--s-4);
  align-items: center;
  margin: var(--s-7) 0 var(--s-5);
}
.org-pricing__divider::before,
.org-pricing__divider::after { content: ""; height: 1px; background: var(--line-medium); }
.org-pricing__divider span {
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  color: var(--ink-muted);
  text-transform: uppercase;
  font-weight: 600;
}
.org-pricing__enterprise { display: grid; grid-template-columns: 1fr; }
.org-pricing__card {
  background: var(--surface-card);
  border: 1px solid var(--line-hair);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  position: relative;
}
.org-pricing__card--featured {
  border: 1px solid var(--ink-primary);
  border-top: 3px solid var(--ember);
}
.org-pricing__card--enterprise {
  background: var(--surface-ink);
  color: #fff;
  border-color: var(--surface-ink);
}
.org-pricing__badge {
  position: absolute;
  top: -10px;
  left: var(--s-5);
  background: var(--ember);
  color: #fff;
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  font-weight: 600;
  letter-spacing: var(--ls-extra);
  text-transform: uppercase;
  padding: 4px 10px;
}
.org-pricing__cat {
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  color: var(--ember);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.org-pricing__card--enterprise .org-pricing__cat { color: var(--ember-tint); }
.org-pricing__name {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-xl);
  line-height: 1.4;
  margin-bottom: var(--s-2);
}
.org-pricing__purpose {
  font-size: var(--fs-xs);
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: var(--s-5);
}
.org-pricing__card--enterprise .org-pricing__purpose { color: var(--alu-light); }
.org-pricing__price {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-3xl);
  line-height: 1;
  color: var(--ink-primary);
  margin-bottom: var(--s-2);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-hair);
}
.org-pricing__card--enterprise .org-pricing__price { color: #fff; border-top-color: rgba(255,255,255,0.15); }
.org-pricing__price small {
  font-family: var(--sans-jp);
  font-size: var(--fs-2xs);
  font-weight: 400;
  color: var(--ink-muted);
  margin-left: 8px;
  letter-spacing: var(--ls-wide);
}
.org-pricing__card--enterprise .org-pricing__price small { color: var(--alu-light); }
.org-pricing__features {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 var(--s-5);
  font-size: var(--fs-xs);
  flex: 1;
}
.org-pricing__features li {
  position: relative;
  padding: 6px 0 6px 18px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.org-pricing__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 1px;
  background: var(--ember);
}
.org-pricing__card--enterprise .org-pricing__features li { color: var(--alu-light); }
.org-pricing__cta {
  font-family: var(--sans-jp);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  padding: 10px 16px;
  border: 1px solid var(--ink-primary);
  background: transparent;
  color: var(--ink-primary);
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, color 0.2s ease;
  margin-top: auto;
}
.org-pricing__cta:hover { background: var(--ink-primary); color: #fff; }
.org-pricing__card--featured .org-pricing__cta { background: var(--ember); border-color: var(--ember); color: #fff; }
.org-pricing__card--featured .org-pricing__cta:hover { background: var(--ember-deep); border-color: var(--ember-deep); }
.org-pricing__card--enterprise .org-pricing__cta { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.org-pricing__card--enterprise .org-pricing__cta:hover { background: #fff; color: var(--surface-ink); }

/* Pricing footnote callout (note above/below the cards) */
.pricing-note {
  margin-top: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--ember);
  background: var(--surface-card);
  font-size: var(--fs-xs);
  line-height: 1.85;
  color: var(--ink-soft);
}
.pricing-note strong { color: var(--ink-primary); font-weight: 700; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .org-header { padding: 14px 20px; flex-wrap: wrap; }
  .org-header__nav { gap: 14px; font-size: var(--fs-2xs); width: 100%; justify-content: flex-start; padding-top: var(--s-3); border-top: 1px solid var(--line-hair); margin-top: var(--s-3); }
  .org-header__nav li { margin-bottom: 4px; }
  .org-hero__inner { padding: 32px 20px; }
  .org-hero__plans { grid-template-columns: 1fr; }
  .org-hero__plan { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .org-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org-stats > .mol-stat:nth-child(2) { border-right: none; }
  .org-stats > .mol-stat:nth-child(1), .org-stats > .mol-stat:nth-child(2) { border-bottom: 1px solid var(--line-hair); }
  .org-pillars { grid-template-columns: 1fr; }
  .org-pillars > .mol-pillar { border-right: none; border-bottom: 1px solid var(--line-hair); }
  .org-products, .org-products--two { grid-template-columns: 1fr; }
  .org-dx { padding: var(--s-7) 0; }
  .org-dx__inner { grid-template-columns: 1fr; }
  .org-footer__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .org-form { grid-template-columns: 1fr; padding: var(--s-5); }
  .mol-newsrow { grid-template-columns: 1fr; gap: 6px; padding: 14px 4px; }
  .mol-secthead { grid-template-columns: 1fr; gap: var(--s-3); }
  .mol-secthead__title { font-size: var(--fs-2xl); }
  .org-pagehead { padding: var(--s-7) var(--s-4); }
  .org-pagehead__title { font-size: var(--fs-3xl); }
  .steps { grid-template-columns: 1fr; }
  .use-cases { grid-template-columns: 1fr; }
  .door-pair { grid-template-columns: 1fr; }
  .compare2 { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .colophon dl { grid-template-columns: 1fr; }
  .colophon dt { border-left: none; }
  .colophon dd { border-left: none; padding-top: 4px; }
  .content-table { display: block; overflow-x: auto; }
  .spec-card__head { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
  .spec-card__price { font-size: var(--fs-xl); }
  .org-cta { padding: var(--s-7) var(--s-5); }
  .org-cta__title { font-size: var(--fs-xl); }
  .org-pricing__entry { grid-template-columns: 1fr; }
  .org-pricing__divider { grid-template-columns: 1fr; gap: var(--s-2); text-align: center; }
  .org-pricing__divider::before, .org-pricing__divider::after { display: none; }
  .l02-split, .l02-split--reverse { grid-template-columns: 1fr; gap: var(--s-6); }
  .l02-split--reverse .l02-split__media { order: 0; }
  .l05-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .l05-grid__title { position: static; }
  .l07-row { grid-template-columns: 90px 1fr 24px; }
  .l07-row__cat { display: none; }
}
@media (max-width: 600px) {
  .l07-row { grid-template-columns: 76px 1fr; }
  .l07-row__arrow { display: none; }
}

/* =============================================================
   INTERACTION: mobile menu / form status
   ============================================================= */

/* Mobile menu hamburger button */
.org-header__menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-medium);
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
  padding: 0;
}
.org-header__menu-toggle span,
.org-header__menu-toggle span::before,
.org-header__menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink-primary);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.org-header__menu-toggle span { top: 50%; margin-top: -1px; }
.org-header__menu-toggle span::before {
  content: "";
  top: -7px;
  left: 0;
  transform: none;
}
.org-header__menu-toggle span::after {
  content: "";
  top: 7px;
  left: 0;
  transform: none;
}
.org-header__menu-toggle.is-open span { background: transparent; }
.org-header__menu-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.org-header__menu-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* Form status (contact submit feedback) */
.form-status {
  display: none;
  grid-column: 1 / -1;
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--line-medium);
  background: var(--surface-mist);
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: var(--s-5);
}
.form-status.is-visible { display: block; }
.form-status--success {
  border-left-color: #4f7a3a;
  background: #f0f5ee;
  color: #2f5524;
}
.form-status--error {
  border-left-color: var(--ember);
  background: var(--ember-tint);
  color: var(--ember-deep);
}
.form-status strong { font-weight: 700; }

/* Filter chip filtered-out card hidden state */
[data-filterable].is-filtered-out { display: none !important; }

/* Mobile menu open/close on small screens */
@media (max-width: 960px) {
  .org-header__menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .org-header__nav {
    display: none;
    width: 100%;
    margin-top: var(--s-3);
    padding-top: var(--s-3);
    border-top: 1px solid var(--line-hair);
  }
  .org-header__nav.is-open { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .org-header__nav li { width: 100%; }
}

/* =============================================================
   AREA GRID (area/index.html)
   ============================================================= */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-6);
}
.area-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--line-hair);
  padding: var(--s-5) var(--s-6) var(--s-6);
  text-decoration: none;
  color: var(--ink-primary);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  min-height: 220px;
}
.area-card:hover {
  border-color: var(--ink-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.area-card__num {
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  color: var(--ink-muted);
  margin-bottom: var(--s-2);
}
.area-card__title {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-xl);
  margin: 0 0 var(--s-3);
  color: var(--ink-primary);
}
.area-card__lead {
  font-size: var(--fs-xs);
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0 0 var(--s-4);
  flex: 1;
}
.area-card__industries {
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-wide);
  color: var(--ink-muted);
  background: var(--surface-mist);
  padding: 8px 12px;
  margin-bottom: var(--s-4);
  border-left: 2px solid var(--ember);
  line-height: 1.7;
}
.area-card__cta {
  font-family: var(--sans-jp);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ember-deep);
  display: flex;
  align-items: center;
  gap: 6px;
}
.area-card:hover .area-card__cta { color: var(--ink-primary); }

/* area-card pill industries (2026-05-06 added) */
.area-card__kicker {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: var(--ls-extra);
  color: var(--ember);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.area-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--s-4);
}
.area-card__pills .tag { font-size: 10.5px; padding: 3px 8px; }

/* =============================================================
   CITY PILLS — 市町をグループ化したピル一覧 (area/index.html OTHER AREAS) */
.city-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s-4) 0; }
.city-pills__group { margin-bottom: var(--s-4); width: 100%; }
.city-pills__group:last-child { margin-bottom: 0; }
.city-pills__group-label {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: var(--ls-extra);
  color: var(--ember);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.city-pills__group .tag {
  font-size: 12px;
  padding: 5px 12px;
  margin-right: 4px;
  margin-bottom: 4px;
  display: inline-block;
}

/* =============================================================
   BLOG LAYOUT (news.html)
   ============================================================= */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: var(--s-7);
  align-items: start;
}
.blog-main { min-width: 0; }
.blog-sidebar { min-width: 0; }

/* Lead summary */
.blog-lead {
  background: var(--surface-card);
  border: 1px solid var(--line-hair);
  padding: var(--s-5) var(--s-6);
  font-size: var(--fs-sm);
  line-height: 1.95;
  color: var(--ink-soft);
  margin-bottom: var(--s-6);
}

/* Tabs (新着 / 人気) */
.blog-tabs {
  display: flex;
  border-bottom: 2px solid var(--line-hair);
  margin-bottom: var(--s-6);
}
.blog-tab {
  flex: 1;
  padding: 14px 24px;
  background: var(--surface-mist);
  border: 1px solid var(--line-hair);
  border-bottom: none;
  font-family: var(--sans-jp);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  text-align: center;
  position: relative;
  margin-right: -1px;
  transition: background 0.15s ease, color 0.15s ease;
}
.blog-tab:hover { color: var(--ink-primary); }
.blog-tab.is-active {
  background: var(--ember-deep);
  color: #fff;
  border-color: var(--ember-deep);
  z-index: 1;
}
.blog-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--ember-deep);
}

/* Active filter badges row */
.blog-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--s-5);
  font-size: var(--fs-2xs);
  color: var(--ink-soft);
  align-items: center;
  min-height: 28px;
}
.blog-active-filters[hidden] { display: none; }
.blog-active-filters__label {
  font-family: var(--latin);
  letter-spacing: var(--ls-extra);
  text-transform: uppercase;
  color: var(--ink-muted);
  font-size: var(--fs-3xs);
  margin-right: 4px;
}
.blog-active-filters__chip {
  background: var(--ember-tint);
  border: 1px solid var(--ember);
  color: var(--ember-deep);
  padding: 4px 10px;
  font-size: var(--fs-2xs);
  cursor: pointer;
}
.blog-active-filters__chip::after { content: " ✕"; font-size: var(--fs-3xs); }
.blog-active-filters__chip:hover { background: var(--ember); color: #fff; }
.blog-active-filters__clear {
  background: transparent;
  border: 1px solid var(--line-medium);
  color: var(--ink-soft);
  padding: 4px 10px;
  font-size: var(--fs-3xs);
  cursor: pointer;
  margin-left: auto;
}
.blog-active-filters__clear:hover { color: var(--ember); border-color: var(--ember); }

/* Article cards list */
.blog-articles {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  min-height: 70vh; /* prevent page-collapse jump when filter narrows results */
}

.blog-card {
  background: var(--surface-card);
  border: 1px solid var(--line-hair);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.blog-card:hover { border-color: var(--ink-primary); transform: translateY(-2px); }

.blog-card__inner {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: var(--s-5);
  padding: var(--s-5) var(--s-6);
  text-decoration: none;
  color: inherit;
}

.blog-card__date {
  font-family: var(--latin);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-top: 6px;
  border-right: 1px solid var(--line-hair);
}
.blog-card__year { color: var(--ink-muted); font-size: var(--fs-2xs); letter-spacing: var(--ls-wide); }
.blog-card__day {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink-primary);
  letter-spacing: var(--ls-normal);
}

.blog-card__body { display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; }
.blog-card__title {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--ink-primary);
}
.blog-card__desc {
  font-size: var(--fs-xs);
  line-height: 1.85;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__thumb {
  aspect-ratio: 16 / 9;
  background-color: var(--surface-mist);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  margin-top: var(--s-2);
  border: 1px solid var(--line-hair);
}
.blog-card__thumb-cat {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--ember-deep);
  color: #fff;
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-extra);
  padding: 4px 12px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}

/* Typography-based fallback thumbnails (per-category) */
.blog-card__thumb--tpl {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 32px;
  overflow: hidden;
}
.blog-card__thumb-tpl { position: relative; z-index: 1; }
.blog-card__thumb-tpl-jp {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.1;
  color: var(--ink-primary);
  letter-spacing: var(--ls-extra);
}
.blog-card__thumb-tpl-en {
  font-family: var(--latin);
  font-size: var(--fs-2xs);
  letter-spacing: var(--ls-extra);
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-top: 10px;
}

/* NEWS — pale blue-gray + 3 horizontal lines */
.blog-card__thumb--tpl-news { background-color: var(--surface-mist); }
.blog-card__thumb--tpl-news::before {
  content: ''; position: absolute;
  top: 24px; left: 26px;
  width: 64px; height: 1px;
  background: var(--alu-mid);
  box-shadow: 0 6px 0 var(--alu-light), 0 12px 0 var(--alu-light);
}

/* RELEASE — white + ember diagonal corner */
.blog-card__thumb--tpl-release {
  background-color: var(--surface-card);
  border: 1px solid var(--line-hair);
}
.blog-card__thumb--tpl-release::before {
  content: ''; position: absolute;
  bottom: -60px; right: -60px;
  width: 240px; height: 240px;
  background: linear-gradient(135deg, transparent 58%, var(--ember-tint) 58%, var(--ember-tint) 64%, transparent 64%);
}
.blog-card__thumb--tpl-release .blog-card__thumb-tpl-en { color: var(--ember); }

/* CASE — ink-dark + slim ember rule */
.blog-card__thumb--tpl-case { background-color: var(--surface-ink); }
.blog-card__thumb--tpl-case .blog-card__thumb-tpl-jp { color: #fff; }
.blog-card__thumb--tpl-case .blog-card__thumb-tpl-en { color: var(--alu-light); }
.blog-card__thumb--tpl-case::before {
  content: ''; position: absolute;
  top: 22px; left: 26px;
  width: 1px; height: 40px;
  background: var(--ember);
}

/* NOTICE — warm pale (washi) + small ember ring */
.blog-card__thumb--tpl-notice { background-color: var(--ember-tint); }
.blog-card__thumb--tpl-notice::before {
  content: ''; position: absolute;
  top: 24px; left: 26px;
  width: 18px; height: 18px;
  border: 1.5px solid var(--ember);
  border-radius: 50%;
}

/* TECH — aluminum gray + subtle grid */
.blog-card__thumb--tpl-tech {
  background-color: var(--surface-stone);
  background-image:
    linear-gradient(var(--alu-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--alu-light) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: -1px -1px;
}
.blog-card__thumb--tpl-tech::after {
  content: ''; position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface-stone) 10%, rgba(214,222,231,0.55) 60%, rgba(214,222,231,0));
  pointer-events: none;
}

.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--s-2);
}
.blog-card__tag {
  font-family: var(--sans-jp);
  font-size: var(--fs-3xs);
  color: var(--ink-soft);
  background: var(--surface-mist);
  padding: 3px 9px;
  letter-spacing: var(--ls-normal);
}

.blog-empty {
  padding: var(--s-8) var(--s-6);
  text-align: center;
  color: var(--ink-muted);
  background: var(--surface-card);
  border: 1px dashed var(--line-medium);
  font-size: var(--fs-xs);
}

/* Sidebar widgets */
.blog-sidebar { display: flex; flex-direction: column; gap: var(--s-6); position: sticky; top: 96px; }

.blog-search {
  display: flex;
  border: 1px solid var(--line-medium);
  background: var(--surface-card);
}
.blog-search input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-family: var(--sans-jp);
  font-size: var(--fs-sm);
  outline: none;
  min-width: 0;
  background: transparent;
}
.blog-search input:focus { background: var(--surface-card); }
.blog-search__btn {
  background: var(--ember-deep);
  color: #fff;
  border: none;
  padding: 0 18px;
  cursor: pointer;
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-search__btn:hover { background: var(--ink-primary); }

.blog-widget__title {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-md);
  border-bottom: 2px solid var(--ember-deep);
  padding-bottom: 8px;
  margin-bottom: var(--s-4);
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-widget__title::before {
  content: "▼";
  font-size: var(--fs-3xs);
  color: var(--ember-deep);
}

.blog-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-tags__item {
  font-family: var(--sans-jp);
  font-size: var(--fs-2xs);
  padding: 5px 12px;
  border: 1px solid var(--line-medium);
  background: var(--surface-card);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}
.blog-tags__item:hover { border-color: var(--ember); color: var(--ember); }
.blog-tags__item.is-active {
  background: var(--ember-deep);
  border-color: var(--ember-deep);
  color: #fff;
}
.blog-tags__count {
  display: inline-block;
  margin-left: 4px;
  font-size: var(--fs-3xs);
  color: var(--ink-muted);
}
.blog-tags__item.is-active .blog-tags__count { color: rgba(255,255,255,0.7); }

.blog-categories { list-style: none; padding: 0; margin: 0; }
.blog-categories li { border-bottom: 1px solid var(--line-hair); }
.blog-categories button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 12px 4px;
  font-family: var(--sans-jp);
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.15s ease;
}
.blog-categories button::before {
  content: "▶";
  font-size: var(--fs-3xs);
  color: var(--ember);
  margin-right: 8px;
}
.blog-categories button:hover { color: var(--ink-primary); }
.blog-categories button.is-active { color: var(--ember-deep); font-weight: 600; }
.blog-categories__count {
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  color: var(--ink-muted);
}

@media (max-width: 960px) {
  .blog-layout { grid-template-columns: minmax(0, 1fr); }
  .blog-sidebar { position: static; }
  .blog-card__inner { grid-template-columns: 80px 1fr; padding: var(--s-4) var(--s-5); }
  .blog-card__title { font-size: var(--fs-md); }
}
@media (max-width: 600px) {
  .blog-card__inner { grid-template-columns: 1fr; gap: var(--s-3); }
  .blog-card__date { flex-direction: row; border-right: none; border-bottom: 1px solid var(--line-hair); padding: 0 0 8px; }
  .blog-tab { padding: 12px 16px; font-size: var(--fs-2xs); }
}

/* =============================================================
   TRUST BLOCKS — 制作者プロフィール・経歴年表・公開実績の声
   (about.html MAKER / index.html MAKER / portfolio.html CASES,
    2026-06-13 added)
   - M-17 .mol-timeline   経歴年表。上辺は装飾②二重罫（F-04）
   - O-14 .org-profile    制作者ブロック（full / --compact の2変種）
   - O-15 .org-voice      公開実績・お客様の声。装飾③L字四隅（F-04）
   - 運用規約: 実名引用は掲載許可を得たもののみ。許可のない案件は
     サマリ+ニュース記事リンクで載せる。架空の声は作らない。
   ============================================================= */

/* M-17 TIMELINE — 経歴年表（上辺は二重罫: 1px線2本を4px間隔で） */
.mol-timeline {
  position: relative;
  border-top: 1px solid var(--line-strong);
  margin-top: var(--s-6);
}
.mol-timeline::before {
  content: "";
  position: absolute;
  top: 4px; left: 0; right: 0;
  height: 1px;
  background: var(--line-strong);
}
.mol-timeline__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line-hair);
}
.mol-timeline__item:first-child { padding-top: calc(var(--s-5) + 4px); }
.mol-timeline__item:last-child { border-bottom: none; }
.mol-timeline__year {
  font-family: var(--latin);
  font-size: var(--fs-2xs);
  font-weight: 500;
  letter-spacing: var(--ls-extra);
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 4px;
}
.mol-timeline__title {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-md);
  line-height: 1.6;
  margin-bottom: var(--s-2);
}
.mol-timeline__desc {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  line-height: 1.85;
}

/* O-14 PROFILE — 制作者ブロック */
.org-profile {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: var(--s-7);
  align-items: start;
  margin-top: var(--s-6);
}
.org-profile__media {
  aspect-ratio: 1 / 1;
  background: var(--surface-mist);
  border: 1px solid var(--line-hair);
  overflow: hidden;
}
.org-profile__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.org-profile__name {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: var(--fs-xl);
  letter-spacing: var(--ls-tight);
  line-height: 1.4;
}
.org-profile__name small {
  display: block;
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  font-weight: 500;
  letter-spacing: var(--ls-extra);
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 6px;
}
.org-profile__role {
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  font-weight: 600;
  letter-spacing: var(--ls-extra);
  text-transform: uppercase;
  color: var(--ember);
  margin: var(--s-3) 0 var(--s-4);
}
.org-profile__bio p {
  font-size: var(--fs-sm);
  line-height: 2;
  color: var(--ink-prose);
  margin-bottom: var(--s-3);
}
.org-profile__bio p:last-child { margin-bottom: 0; }
.org-profile__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-hair);
}
.org-profile__links .link { font-size: var(--fs-xs); }
.org-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.org-profile--compact {
  grid-template-columns: 200px minmax(0, 1fr);
  gap: var(--s-6);
}

/* O-15 VOICE — 公開実績・お客様の声（L字四隅は対角2箇所・1px） */
.org-voice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.mol-voicecard {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--line-hair);
  padding: var(--s-6);
}
.mol-voicecard::before,
.mol-voicecard::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  pointer-events: none;
}
.mol-voicecard::before {
  top: 6px; left: 6px;
  border-top: 1px solid var(--ink-primary);
  border-left: 1px solid var(--ink-primary);
}
.mol-voicecard::after {
  bottom: 6px; right: 6px;
  border-bottom: 1px solid var(--ink-primary);
  border-right: 1px solid var(--ink-primary);
}
.mol-voicecard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--s-4);
}
.mol-voicecard__quote {
  font-family: var(--serif-jp);
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 2;
  color: var(--ink-primary);
  margin-bottom: var(--s-4);
}
.mol-voicecard__summary {
  font-size: var(--fs-sm);
  line-height: 2;
  color: var(--ink-prose);
  margin-bottom: var(--s-4);
}
.mol-voicecard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line-hair);
  font-family: var(--latin);
  font-size: var(--fs-3xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mol-voicecard__link { display: inline-block; margin-top: var(--s-4); }

@media (max-width: 960px) {
  .org-profile { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .org-profile__media { max-width: 240px; }
  .org-profile--compact { grid-template-columns: minmax(0, 1fr); }
  .org-profile--compact .org-profile__media { max-width: 180px; }
  .org-voice { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .mol-timeline__item { grid-template-columns: 1fr; gap: var(--s-2); }
  .mol-timeline__year { padding-top: 0; }
}

/* Scroll reveal（F-06 MOTION: 20px / 0.6s）— main.js が対象要素に data-reveal を
   付与してから body に .js-reveal を立てる。JS無効環境ではどちらも付かないため、
   コンテンツが隠れたままになる事故は構造的に起きない。 */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-reveal [data-reveal].is-revealed { opacity: 1; transform: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}
