/* ===========================================================
   Liaison — About page (Liaisonについて)
   Reuses top-page design system; adds page-specific sections.
   =========================================================== */

/* ---------- Eyebrow (small dash label) ---------- */
.ap-eyebrow {
  font-family: var(--jpsans);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.ap-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.ap-eyebrow.on-dark { color: rgba(244,241,235,0.7); }

/* ---------- Centered section head ---------- */
.center-head {
  text-align: center;
  margin-bottom: 64px;
}
.center-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.center-head .ch-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--jpsans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.center-head .ch-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

/* ---------- Page hero (band) ---------- */
.page-hero {
  background: var(--bg);
  padding: 150px var(--gutter) 0;
  position: relative;
}
.page-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  flex-wrap: wrap;
}
.page-hero-en {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.page-hero-sub {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-hero-sub::before {
  content: "";
  width: 20px; height: 1px;
  background: var(--accent);
}
.breadcrumb {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.breadcrumb a { color: var(--ink-3); transition: color .3s; }
.breadcrumb a:hover { color: var(--accent-ink); }
.breadcrumb .sep { color: var(--line); }
.breadcrumb .current { color: var(--ink); }

/* ---------- Philosophy (staggered, editorial) ---------- */
.philosophy {
  padding: 130px var(--gutter) 130px;
  position: relative;
  overflow: hidden;
}
.philosophy-bg-mark {
  position: absolute;
  top: 40px;
  right: -40px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(220px, 28vw, 420px);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: rgba(168,24,72,0.05);
  pointer-events: none;
  white-space: nowrap;
}
.philosophy-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.philosophy-vis {
  position: relative;
  width: 100%;
}
.philosophy-vis img {
  width: 100%;
  height: auto;
  display: block;
}
.philosophy-text {
  padding-top: 64px;
}
.philosophy-text h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}
.philosophy-text p {
  font-family: var(--jpsans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* ---------- Solutions (Venn circles + detail list) ---------- */
.solutions { padding: 110px var(--gutter); background: var(--bg-2); }
.solutions-layout {
  max-width: var(--container);
  margin: 0 auto;
}

/* Detail list — 2-column rows, alternating */
.sol-list {
  display: flex;
  flex-direction: column;
  gap: 96px;
}
.sol-item {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.sol-item:nth-child(even) .sol-ph { order: 2; }
.sol-item:nth-child(even) .sol-body { order: 1; }
.sol-ph {
  aspect-ratio: 3/2;
  width: 100%;
  border-radius: 4px;
}
.sol-body {
  position: relative;
}
.sol-num {
  position: absolute;
  top: -0.2em;
  right: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(104px, 11vw, 168px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: rgba(168,24,72,0.07);
  pointer-events: none;
  z-index: 0;
}
.sol-body h3,
.sol-body p {
  position: relative;
  z-index: 1;
}
.sol-issue {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--jpsans);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  padding: 8px 16px 8px 9px;
  border: 1px dashed var(--ink-3);
  border-radius: 4px;
  margin-bottom: 20px;
}
.sol-issue-tag {
  flex-shrink: 0;
  background: var(--accent);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 3px;
}
.sol-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
.sol-body p {
  font-family: var(--jpsans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* ---------- Policies (9 principles) ---------- */
.policies { padding: 120px var(--gutter) 0; position: relative; overflow: hidden; }
.policies-bg-mark {
  position: absolute;
  top: 60px;
  right: -40px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(220px, 28vw, 420px);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: rgba(168,24,72,0.05);
  pointer-events: none;
  white-space: nowrap;
}
.policies-inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 1; }
.policies-head { margin-bottom: 56px; }
.policies-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.policy-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.policy-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 20px 32px 20px 20px;
  background: linear-gradient(to right, var(--bg-2) 55%, rgba(236,231,220,0) 100%);
  border-radius: 6px;
  transition: transform .3s;
}
.policy-row:hover { transform: translateX(6px); }
.policy-row .p-num {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  background: var(--accent);
  color: var(--paper);
  border-radius: 4px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.02em;
}
.policy-row .p-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--ink);
}

/* ---------- Goals (good-effort timeline) ---------- */
.goals { padding: 120px var(--gutter); background: var(--bg); }
.goals-inner { max-width: var(--container); margin: 0 auto; border-top: 1px solid var(--line); padding-top: 96px; }
.goals-head { margin-bottom: 72px; }
.goals-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.goal-flow { margin-bottom: 80px; }
.goal-flow-img {
  display: block;
  width: 100%;
  height: auto;
}
.goals-explain {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.goals-explain h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}
.goals-explain h3 em { font-style: normal; color: var(--accent-ink); }
.goals-explain p {
  font-family: var(--jpsans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
}
.goal-pillars {
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.goal-pillars > div {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  padding: 28px 26px;
  border-radius: 6px;
}
.goal-pillars .gp-num {
  position: absolute;
  top: -0.12em;
  right: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 90px;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: rgba(168,24,72,0.09);
  pointer-events: none;
  z-index: 0;
}
.goal-pillars dt,
.goal-pillars dd { position: relative; z-index: 1; }
.goal-pillars dt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
  margin-bottom: 12px;
}
.goal-pillars dd {
  margin: 0;
  font-family: var(--jpsans);
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* ---------- Top Message banner ---------- */
.msg-banner { padding: 0 var(--gutter) 0; }
.msg-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.msg-banner-body {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, rgba(244,241,235,0.04) 0 1px, transparent 1px 16px);
}
.msg-banner-body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--paper);
  margin-bottom: 16px;
}
.msg-banner-body .mb-sub {
  font-family: var(--jpsans);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: rgba(244,241,235,0.65);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
.msg-banner-body .mb-sub::before {
  content: ""; width: 20px; height: 1px; background: var(--accent);
}
.msg-banner-body .btn-pill { align-self: flex-start; background: var(--paper); color: var(--ink); }
.msg-banner-body .btn-pill:hover { background: var(--accent); color: var(--paper); }
.msg-banner-vis {
  position: relative;
  min-height: 360px;
}
.msg-banner-vis .ph { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- CTA band ---------- */
.cta-band {
  margin-top: 120px;
  background: var(--ink);
  color: var(--paper);
  padding: 64px var(--gutter);
}
.cta-band-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: 0.04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .philosophy-grid { grid-template-columns: 1fr; gap: 40px; }
  .philosophy-text { padding-top: 0; }
  .sol-list { gap: 56px; }
  .sol-item { grid-template-columns: 1fr; gap: 28px; }
  .sol-item:nth-child(even) .sol-ph { order: 0; }
  .sol-item:nth-child(even) .sol-body { order: 0; }
  .msg-banner-inner { grid-template-columns: 1fr; }
  .msg-banner-body { padding: 48px 32px; }
  .msg-banner-vis { min-height: 260px; order: -1; }
}
@media (max-width: 560px) {
  .policy-row { grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 24px; }
}

/* ---------- Phone (<= 680px) ---------- */
@media (max-width: 680px) {
  /* Philosophy */
  .philosophy { padding: 72px var(--gutter); }
  .ph-nobr { display: none; }
  .philosophy-grid { gap: 32px; }
  .philosophy-bg-mark { font-size: clamp(140px, 46vw, 240px); top: 20px; right: -24px; }
  .philosophy-text h2 { font-size: clamp(21px, 5.4vw, 28px); line-height: 1.55; margin-bottom: 20px; }
  .philosophy-text p { font-size: 15px; }

  /* Solutions */
  .solutions { padding: 72px var(--gutter); }
  .sol-list { gap: 56px; }
  .sol-item { gap: 22px; }
  .sol-num { font-size: clamp(64px, 20vw, 96px); top: -0.35em; }
  .sol-issue { font-size: 13px; align-items: flex-start; }
  .sol-body h3 { font-size: clamp(22px, 6vw, 30px); margin-bottom: 16px; }
  .sol-body p { font-size: 15px; }

  /* Policies */
  .policies { padding: 72px var(--gutter) 0; }
  .policies-bg-mark { font-size: clamp(140px, 46vw, 240px); top: 30px; right: -24px; }
  .policies-head { margin-bottom: 36px; }
  .policies-head h2 { font-size: clamp(22px, 5.6vw, 32px); line-height: 1.5; }
  .policy-row { grid-template-columns: 52px 1fr; gap: 16px; padding: 18px 20px; }
  .policy-row .p-num { width: 52px; height: 52px; font-size: 22px; }
  .policy-row .p-text { font-size: 16px; line-height: 1.65; }

  /* Goals — funnel image kept legible via horizontal scroll */
  .goals { padding: 72px var(--gutter); }
  .goals-inner { padding-top: 56px; }
  .goals-head { margin-bottom: 40px; }
  .goals-head h2 { font-size: clamp(22px, 5.6vw, 32px); line-height: 1.5; }
  .goal-flow {
    margin: 0 calc(var(--gutter) * -1) 48px;
    padding: 0 var(--gutter);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .goal-flow-img { min-width: 620px; }
  .goal-pillars { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .goal-pillars > div { padding: 22px 22px; }
  .goals-explain h3 { font-size: clamp(19px, 5vw, 26px); margin-bottom: 20px; }
  .goals-explain p { font-size: 15px; }

  /* Top Message banner */
  .msg-banner-body { padding: 40px 26px; }
  .msg-banner-body h2 { font-size: clamp(26px, 7vw, 38px); }
  .msg-banner-body .mb-sub { margin-bottom: 28px; }
  .msg-banner-vis { min-height: 220px; }
}
