*, *::before, *::after { box-sizing: border-box; }

html.en .ja, html.en .mum { display: none; }
html.ja .en, html.ja .mum { display: none; }
html.mum .en, html.mum .ja { display: none; }

body {
  font-family: system-ui, -apple-system, sans-serif;
  max-width: 620px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
}

/* ── Homepage header ── */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.brand {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.tagline {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

/* ── Inner page nav ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

nav > a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #999;
  text-decoration: none;
  border: none;
}

nav > a:hover { color: #1a1a1a; }

/* ── Language switcher ── */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
  margin-left: 1rem;
}

.lang-current {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  color: #999;
  padding: 0;
  letter-spacing: 0.04em;
}

.lang-current:hover { color: #1a1a1a; }

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: #fff;
  border: 1px solid #e0e0e0;
  min-width: 160px;
  z-index: 100;
  flex-direction: column;
}

.lang-switcher.open .lang-dropdown {
  display: flex;
}

.lang-dropdown a {
  display: block;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  color: #333;
  text-decoration: none;
  border-bottom: none;
  white-space: nowrap;
}

.lang-dropdown a:hover { background: #f5f5f5; color: #1a1a1a; }
.lang-dropdown a.active { font-weight: 600; color: #1a1a1a; }

/* ── Offering cards (homepage) ── */
.offerings {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.offering-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #e0e0e0;
  background: #f7f9fc;
  color: #1a1a1a;
  text-decoration: none;
  font-size: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.offering-card:hover { border-color: #1a1a1a; background: #edf1f8; }

.offering-body { flex: 1; }

.offering-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2563eb;
  margin: 0 0 0.3rem;
}

.offering-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}

.offering-desc {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.offering-arrow {
  font-size: 1.1rem;
  color: #2563eb;
  flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
  display: block;
}

.offering-card:hover .offering-arrow {
  color: #1a1a1a;
  transform: translateX(3px);
}

/* ── Shared section styles ── */
section { margin-bottom: 2.75rem; }

.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2563eb;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 0.75rem;
  color: #333;
  font-size: 0.975rem;
}

p:last-child { margin-bottom: 0; }

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul li {
  font-size: 0.975rem;
  color: #333;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f0f0f0;
}

ul li:last-child { border-bottom: none; }

.services-chips {
  margin-top: 0.65rem;
  padding-left: 1rem;
  list-style: disc;
}
.services-chips li {
  font-size: 0.95rem;
  color: #333;
  padding: 0.25rem 0;
  border: none;
  border-radius: 0;
  background: none;
  line-height: 1.6;
}

hr {
  border: none;
  border-top: 1px solid #ebebeb;
  margin: 0 0 2.75rem;
}

a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  font-size: 0.975rem;
}

a:hover { border-bottom-color: #1a1a1a; }

/* ── Inner page header ── */
.page-header { margin-bottom: 3rem; }

.page-header .label { margin-bottom: 0.6rem; }

h1 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.intro {
  font-size: 1rem;
  color: #444;
  margin: 0;
  line-height: 1.65;
}

/* ── Stages (numbered steps) ── */
.stages { display: flex; flex-direction: column; }

.stage {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.stage:last-child { border-bottom: none; }

.stage-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: #bbb;
  padding-top: 0.15rem;
}

.stage-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.3rem;
}

.stage-desc {
  font-size: 0.925rem;
  color: #555;
  margin: 0;
  line-height: 1.55;
}

/* ── Situations (left-border blocks) ── */
.situations { display: flex; flex-direction: column; }

.situation {
  padding: 1.1rem 0 1.1rem 1rem;
  border-left: 2px solid #e8e8e8;
  margin-bottom: 1rem;
}

.situation:last-child { margin-bottom: 0; }

.situation-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.35rem;
}

.situation-desc {
  font-size: 0.925rem;
  color: #555;
  margin: 0;
  line-height: 1.55;
}

/* ── Approach steps ── */
.approach { display: flex; flex-direction: column; }

.step {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.step:last-child { border-bottom: none; }

.step-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: #bbb;
  padding-top: 0.15rem;
}

.step-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.3rem;
}

.step-desc {
  font-size: 0.925rem;
  color: #555;
  margin: 0;
  line-height: 1.55;
}

/* ── Comparison table ── */
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  padding: 0 0.75rem 0.75rem;
  border-bottom: 1px solid #e0e0e0;
}

.compare th:first-child { padding-left: 0; }

.compare td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  vertical-align: top;
  line-height: 1.5;
}

.compare td:first-child { padding-left: 0; color: #888; }
.compare tr:last-child td { border-bottom: none; }

/* ── Deliverables list ── */
ul.deliverables {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.deliverables li {
  font-size: 0.925rem;
  color: #333;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.5;
}

ul.deliverables li:last-child { border-bottom: none; }

.li-title {
  font-weight: 600;
  color: #1a1a1a;
}

/* ── Benefits ── */
.benefits { display: flex; flex-direction: column; }

.benefit {
  padding: 0.9rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.benefit:last-child { border-bottom: none; }

.benefit-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.25rem;
}

.benefit-desc {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.55;
}

/* ── Audiences list ── */
ul.audiences {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.audiences li {
  font-size: 0.925rem;
  color: #333;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.5;
}

ul.audiences li:last-child { border-bottom: none; }

.note {
  font-size: 0.9rem;
  color: #888;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ── Blockquote ── */
blockquote {
  margin: 0;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border-left: 3px solid #e0e0e0;
  background: #fafafa;
}

blockquote p {
  font-size: 0.975rem;
  color: #444;
  font-style: italic;
  margin: 0;
  line-height: 1.65;
}

/* ── Crosslink ── */
.crosslink {
  font-size: 0.9rem;
  color: #888;
  margin: 0;
}

/* ── Contact section ── */
.contact-links {
  display: flex;
  gap: 1.5rem;
}

/* ── Insights list ── */
.insights-list {
  display: flex;
  flex-direction: column;
}

.insight-item {
  border-bottom: 1px solid #f0f0f0;
}

.insight-item:last-child { border-bottom: none; }

.insight-link {
  display: block;
  padding: 1.1rem 0;
  border-bottom: none;
  color: #1a1a1a;
  text-decoration: none;
}

.insight-link:hover { border-bottom: none; }

.insight-date {
  font-size: 0.75rem;
  color: #aaa;
  margin: 0 0 0.3rem;
  letter-spacing: 0.02em;
}

.insight-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.3rem;
}

.insight-desc {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* ── Insights article ── */
.insight-meta {
  font-size: 0.8rem;
  color: #aaa;
  margin: 0;
}

.insight-body p {
  font-size: 0.975rem;
  color: #333;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.insight-body p:last-child { margin-bottom: 0; }

/* ── Document modal viewer ───────────────────────────────────── */
.doc-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); z-index: 200;
  cursor: pointer;
}
.doc-modal-overlay.is-open { display: block; }
.doc-modal {
  display: none; position: fixed;
  top: 5vh; left: 50%; transform: translateX(-50%);
  width: min(92vw, 920px); height: 88vh;
  background: #fff; z-index: 201;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  border-radius: 4px; overflow: hidden;
}
.doc-modal.is-open { display: flex; }
.doc-modal-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.65rem 1rem; border-bottom: 1px solid #e8e8e8;
  background: #f8f9fb; flex-shrink: 0; gap: 1rem;
}
.doc-modal-title { font-size: 0.85rem; font-weight: 600; color: #1a1a1a; flex: 1; }
.doc-modal-actions { display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0; }
.doc-modal-dl { font-size: 0.78rem; font-weight: 600; color: #2563eb; border-bottom: none; white-space: nowrap; }
.doc-modal-dl:hover { border-bottom: 1px solid #2563eb; }
.doc-modal-close {
  background: none; border: none; font-size: 1.2rem; line-height: 1;
  color: #aaa; cursor: pointer; padding: 0.1rem 0.2rem;
}
.doc-modal-close:hover { color: #1a1a1a; }
.doc-modal-frame { flex: 1; border: none; width: 100%; }
@media (max-width: 640px) {
  .doc-modal { top: 0; left: 0; transform: none; width: 100%; height: 100%; border-radius: 0; }
}

/* ── Doc sequence (how they fit together) ────────────────────── */
.doc-sequence { display: flex; flex-direction: column; margin-top: 0.25rem; }
.doc-seq-item { display: flex; align-items: baseline; gap: 0.65rem; padding: 0.45rem 0; border-bottom: 1px solid #f5f5f5; }
.doc-seq-item:last-child { border-bottom: none; }
.doc-seq-num { font-size: 0.68rem; font-weight: 700; color: #2563eb; font-family: ui-monospace, monospace; white-space: nowrap; flex-shrink: 0; }
.doc-seq-text { font-size: 0.88rem; color: #444; line-height: 1.4; }

/* ── Doc list actions ────────────────────────────────────────── */
.doc-actions { display: flex; align-items: center; gap: 0.85rem; margin-top: 0.6rem; }
.doc-preview-btn {
  font: inherit; font-size: 0.8rem; font-weight: 600;
  color: #fff; background: #1a1a1a;
  border: 1px solid #1a1a1a; padding: 0.3rem 0.8rem;
  cursor: pointer; letter-spacing: 0.02em;
  transition: background 0.12s, border-color 0.12s;
}
.doc-preview-btn:hover { background: #2563eb; border-color: #2563eb; }
.doc-dl-link { font-size: 0.8rem; font-weight: 600; color: #2563eb; border-bottom: none; }
.doc-dl-link:hover { border-bottom: 1px solid #2563eb; }

/* ── Toolkit resource page ──────────────────────────────────── */
.lang-notice {
  background: #fff8f0;
  border-left: 3px solid #2563eb;
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.lang-notice p { margin: 0; font-size: 0.88rem; color: #444; line-height: 1.55; }
.lang-notice a { color: #2563eb; border-bottom: 1px solid transparent; }
.lang-notice a:hover { border-bottom-color: #2563eb; }

.toolkit-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 0; }
.toolkit-chip {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.65rem;
  border: 1px solid #e0e0e0;
  color: #555;
  background: #f8f9fb;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; margin: 1.25rem 0; }
@media (max-width: 500px) { .two-col { grid-template-columns: 1fr; } }
.two-col-head { font-size: 0.875rem; font-weight: 600; color: #1a1a1a; margin: 0 0 0.35rem; }

.doc-list { display: flex; flex-direction: column; }
.doc-entry {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.doc-entry:last-child { border-bottom: none; }
.doc-num { font-size: 0.72rem; font-weight: 700; color: #bbb; padding-top: 0.2rem; font-variant-numeric: tabular-nums; }
.doc-title { font-size: 0.95rem; font-weight: 600; color: #1a1a1a; margin: 0 0 0.4rem; }
.doc-desc { font-size: 0.9rem; color: #555; line-height: 1.55; margin: 0 0 0.65rem; }
.doc-meta { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.6rem; }

.badge { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; }
.badge-docx    { background: #dbeafe; color: #1d4ed8; }
.badge-pptx    { background: #fee2e2; color: #b91c1c; }
.badge-xlsx    { background: #dcfce7; color: #15803d; }
.badge-mm      { background: #f3f4f6; color: #6b7280; }
.badge-partner { background: #eff6ff; color: #3b82f6; }
.badge-client  { background: #f0fdf4; color: #16a34a; }

.doc-download { font-size: 0.85rem; font-weight: 600; color: #2563eb; text-decoration: none; border-bottom: none; }
.doc-download:hover { border-bottom: 1px solid #2563eb; }

.archetype-ref { margin: 0.5rem 0; }
.archetype-row { display: grid; grid-template-columns: 3.5rem 1fr; padding: 0.5rem 0; border-bottom: 1px solid #f5f5f5; font-size: 0.9rem; }
.archetype-row:last-child { border-bottom: none; }
.archetype-code { font-weight: 700; color: #2563eb; font-size: 0.78rem; font-family: ui-monospace, monospace; padding-top: 0.1rem; }
.archetype-name { color: #333; }
.archetype-eg { color: #aaa; font-size: 0.82rem; }

/* ── Toolkit bridge (on pov-in-a-box) ───────────────────────── */
.toolkit-formats { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 1.25rem; }
.tf {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid #e0e0e0;
  color: #777;
  background: #f8f9fb;
}

/* ── Booking bar (appears on every page) ── */
.booking-bar {
  max-width: 620px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
  text-align: center;
}

.booking-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid #1a1a1a;
  transition: background 0.15s, color 0.15s;
}

.booking-btn:hover {
  background: #1a1a1a;
  color: #fff;
  border-bottom: 1px solid #1a1a1a;
}

.legal-disclaimer {
  max-width: 620px;
  margin: 2rem auto 0;
  padding: 1.5rem 1.5rem 3rem;
  border-top: 1px solid #ebebeb;
}

.legal-disclaimer p {
  font-size: 0.78rem;
  color: #aaa;
  line-height: 1.55;
  margin: 0;
}
