/* ==========================================================================
   Growth Partner — site styles
   Source of truth: README.md (Design Tokens) / LP-B最新.dc.html / プライバシーポリシー.dc.html
   Breakpoints: 860px / 480px
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --c-navy: #1F4A78;
  --c-navy-hover: #173A5F;
  --c-pale: #E3EAF3;
  --c-white: #FFFFFF;
  --c-text: #4A5561;
  --c-muted: #5C6672;
  --c-on-navy: #C9D6E6;
  --c-line: #DDE3EA;
  --c-line-pale: #C9D2DD;
  --c-badge: #EFEDE6;
  --c-flow-line: #B9C9DC;
  --c-funnel-1: #EDF3F9;
  --c-funnel-2: #E4EDF6;
  --c-funnel-3: #DAE6F2;
  --c-funnel-4: #D0DFEE;
  --c-funnel-5: #C6D8EA;

  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;

  --pad-x: max(40px, calc((100% - 1200px) / 2));
  --content-max: 800px;

  --radius: 8px;
  --radius-pill: 999px;
  --shadow-menu: 0 10px 30px rgba(20, 40, 70, .22);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; overflow-wrap: normal; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  line-break: strict;
  overflow-wrap: break-word;
}

h1, h2, h3, b, th, .keep { word-break: keep-all; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
table { border-collapse: collapse; }

a { color: var(--c-navy); text-decoration: none; }
a:hover { opacity: .7; }

button { font: inherit; }

/* PC-only line breaks. Use <br class="br-sp"> for SP-only breaks. */
.br-sp { display: none; }
.nowrap { white-space: nowrap; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--c-white);
  color: var(--c-navy);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius);
}
.skip-link:focus { top: 16px; opacity: 1; }

:focus-visible { outline: 2px solid var(--c-navy); outline-offset: 3px; }
.site-header :focus-visible,
.sp-cta :focus-visible { outline-color: var(--c-white); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.section { padding: 96px var(--pad-x); }
.section--white { background: var(--c-white); }
.section--pale { background: var(--c-pale); }

.container { width: 100%; max-width: var(--content-max); margin-left: auto; margin-right: auto; }

.section__label {
  color: var(--c-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-align: center;
  margin-bottom: 24px;
}
.section__label--tight { margin-bottom: 20px; }

.section__title {
  color: var(--c-navy);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  text-align: center;
  text-wrap: pretty;
}
.section__title--wide { line-height: 1.4; letter-spacing: .06em; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--c-navy);
  color: var(--c-white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  padding: 17px 44px;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color .2s ease;
}
.btn:hover { opacity: 1; background: var(--c-navy-hover); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--c-navy);
  padding: 26px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand { display: flex; flex-direction: column; gap: 5px; }
.brand:hover { opacity: 1; }
.brand__name { color: var(--c-white); font-size: 23px; font-weight: 700; letter-spacing: .12em; line-height: 1.2; }
.brand__tagline { color: var(--c-on-navy); font-size: 10px; letter-spacing: .18em; line-height: 1.2; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--c-on-navy); font-size: 14px; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.nav a:hover { color: var(--c-white); opacity: 1; }

/* Hamburger (details/summary, no JS) */
.menu { display: none; position: relative; }
.menu__btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin: -7px;
  padding: 7px;
  cursor: pointer;
  list-style: none;
}
.menu__btn::-webkit-details-marker { display: none; }
.menu__btn::marker { content: ""; }
.menu__btn span {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu[open] > .menu__btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu[open] > .menu__btn span:nth-child(2) { opacity: 0; }
.menu[open] > .menu__btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 16px);
  z-index: 60;
  width: 190px;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-menu);
  padding: 6px 0;
  display: flex;
  flex-direction: column;
}
.menu__panel a {
  padding: 14px 22px;
  color: var(--c-navy);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  background: linear-gradient(90deg, #DDE8F4 0%, #EEF3F9 55%, #F3F7FB 100%);
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 28%;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.45) 48%, rgba(255,255,255,0) 76%);
}
.hero__inner {
  position: relative;
  width: 100%;
  align-self: center;
  padding: 88px var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__label {
  color: var(--c-navy);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.5;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-navy);
  margin-bottom: 28px;
}
.hero__en {
  color: var(--c-navy);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  margin-bottom: 24px;
}
.hero__title {
  max-width: 640px;
  color: var(--c-navy);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .03em;
  margin-bottom: 26px;
}
.hero__lead {
  max-width: 560px;
  color: var(--c-navy);
  font-size: 19px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: .02em;
  margin-bottom: 20px;
}
.hero__text {
  max-width: 600px;
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  margin-bottom: 40px;
}
.hero__cta { margin-bottom: 18px; }
.hero__note { color: var(--c-muted); font-size: 12px; letter-spacing: .04em; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Challenges
   -------------------------------------------------------------------------- */
.challenges__lead {
  max-width: var(--content-max);
  margin: 28px auto 64px;
  color: var(--c-navy);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .02em;
  text-align: center;
}

.icon-list {
  display: grid;
  grid-template-columns: auto auto;
  gap: 24px 64px;
  justify-content: center;
}
.icon-list li { display: flex; align-items: flex-start; gap: 16px; }
.icon-list__icon {
  flex: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-navy);
  object-fit: contain;
}
.icon-list__icon--text { font-size: 24px; font-weight: 700; line-height: 1; }
.icon-list__text { color: var(--c-navy); font-size: 17px; font-weight: 700; line-height: 1.7; }

.challenges__close {
  max-width: var(--content-max);
  margin: 72px auto 0;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .02em;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Approach
   -------------------------------------------------------------------------- */
.approach__body {
  max-width: var(--content-max);
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .02em;
}
.approach__body .is-strong { color: var(--c-navy); font-weight: 700; text-align: center; }

.funnel {
  display: flex;
  width: 100%;
  max-width: var(--content-max);
  margin: 72px auto 0;
  align-items: stretch;
  gap: 3px;
}
.funnel__step {
  flex: 1;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
}
.funnel__step:first-child {
  padding: 24px 20px 24px 14px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}
.funnel__step:last-child {
  padding: 24px 14px 24px 20px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 14px 50%);
}
.funnel__step:nth-child(1) { background: var(--c-funnel-1); }
.funnel__step:nth-child(2) { background: var(--c-funnel-2); }
.funnel__step:nth-child(3) { background: var(--c-funnel-3); }
.funnel__step:nth-child(4) { background: var(--c-funnel-4); }
.funnel__step:nth-child(5) { background: var(--c-funnel-5); }
.funnel__num { color: var(--c-navy); font-size: 25px; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.funnel__bar { width: 24px; height: 2px; background: var(--c-navy); }
.funnel__name { color: var(--c-navy); font-size: 16px; font-weight: 700; line-height: 1.4; }
.funnel__desc { color: var(--c-muted); font-size: 12px; line-height: 1.6; }
/* 4-5段目は背景が濃く #5C6672 では 4.5:1 を下回るため本文色に */
.funnel__step:nth-child(n + 4) .funnel__desc { color: var(--c-text); }

.phase-table {
  width: 100%;
  max-width: var(--content-max);
  margin: 64px auto 0;
  table-layout: fixed;
}
.phase-table th {
  text-align: left;
  padding: 0 24px 12px 0;
  color: var(--c-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  border-bottom: 2px solid var(--c-navy);
}
.phase-table th:first-child { width: 112px; }
.phase-table th:last-child { padding-right: 0; }
.phase-table td {
  padding: 18px 24px 18px 0;
  font-size: 15px;
  line-height: 1.7;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}
.phase-table td:first-child { color: var(--c-navy); font-weight: 700; }
.phase-table td:last-child { color: var(--c-navy); padding-right: 0; }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services .section__title { margin-bottom: 56px; }

.service {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.service + .service { margin-top: 56px; }
.service:last-child { margin-bottom: 48px; }

.service__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.service__title { color: var(--c-navy); font-size: 28px; font-weight: 700; line-height: 1.4; letter-spacing: .04em; }
.service__sub { color: var(--c-navy); font-size: 16px; font-weight: 700; line-height: 1.7; }

.dot-list {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  gap: 12px 64px;
}
.dot-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.7; }
.dot-list li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--c-navy);
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Case studies
   -------------------------------------------------------------------------- */
.cases { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }

.case {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.case__title {
  color: var(--c-navy);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
  text-align: center;
  margin-bottom: 10px;
}
.case__meta { color: var(--c-muted); font-size: 12px; line-height: 1.6; margin-bottom: 20px; }
.case__facts {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
  margin-bottom: 24px;
}
.case__facts > div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  color: var(--c-muted);
  font-size: 12px;
  line-height: 1.7;
}
.case__facts dt { font-weight: 700; }
.case__facts dd { margin: 0; }

.metric-table { width: 100%; margin-top: auto; }
.metric-table th {
  padding: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-navy);
  text-align: right;
  border-bottom: 2px solid var(--c-navy);
}
.metric-table th:first-child { text-align: left; }
.metric-table th.is-before { color: var(--c-muted); font-weight: 400; }
.metric-table td {
  padding: 11px 0;
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid var(--c-line);
}
.metric-table td:first-child { color: var(--c-navy); line-height: 1.5; text-align: left; white-space: normal; }
.metric-table td.is-after { color: var(--c-navy); font-size: 17px; font-weight: 700; }

/* --------------------------------------------------------------------------
   Industries
   -------------------------------------------------------------------------- */
.industries .section__title { margin-bottom: 84px; }
.industries__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry { display: flex; flex-direction: column; gap: 12px; }
.industry img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.industry__title { color: var(--c-navy); font-size: 18px; font-weight: 700; line-height: 1.3; }
.industry__desc { color: var(--c-muted); font-size: 13px; line-height: 1.7; margin-top: -8px; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about .section__title { margin-bottom: 64px; }
.about__grid { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.about__profile { display: flex; flex-direction: column; gap: 14px; }
.about__portrait {
  width: 100%;
  max-width: 229px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
}
.about__role { color: var(--c-muted); font-size: 12px; letter-spacing: .04em; line-height: 1.6; text-align: center; margin-bottom: 6px; }
.about__name { color: var(--c-navy); font-size: 22px; font-weight: 700; letter-spacing: .04em; text-align: center; }
.about__body { display: flex; flex-direction: column; gap: 32px; }
.about__text { display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.9; letter-spacing: .02em; }
.about__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.about__list { display: flex; flex-direction: column; gap: 12px; }
.about__list-title { color: var(--c-navy); font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.about__list li { padding: 10px 0; border-top: 1px solid var(--c-line-pale); font-size: 13px; line-height: 1.7; }

/* --------------------------------------------------------------------------
   Fit (向いている事業者)
   -------------------------------------------------------------------------- */
.fit .section__title { margin-bottom: 64px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-navy);
  font-size: 16px;
  line-height: 1.7;
}
.check-list li:last-child { border-bottom: 0; }
.check-list svg { flex: none; width: 26px; height: 26px; color: var(--c-navy); }

/* --------------------------------------------------------------------------
   Flow (無料診断の流れ)
   -------------------------------------------------------------------------- */
.flow .section__title { margin-bottom: 20px; }
.flow__diagram { position: relative; }
.flow__line {
  position: absolute;
  left: 16.6%;
  right: 16.6%;
  top: 10px;
  height: 2px;
  background: var(--c-flow-line);
}
.flow__steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.flow__step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.flow__dot {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-pill);
  background: var(--c-navy);
  border: 5px solid var(--c-pale);
  margin-bottom: 18px;
}
.flow__step-label { color: var(--c-navy); font-size: 12px; font-weight: 700; letter-spacing: .2em; margin-bottom: 10px; }
.flow__step-title { color: var(--c-navy); font-size: 20px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.flow__pill {
  color: var(--c-navy);
  background: var(--c-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.flow__step p { max-width: 260px; font-size: 13px; line-height: 1.9; letter-spacing: .02em; }

.flow__lead {
  width: fit-content;
  max-width: var(--content-max);
  margin: 64px auto 40px;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .02em;
  text-align: left;
}

.flow__checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.flow__checks li { padding: 0 16px; }
.flow__checks li:nth-child(n + 4) { padding-top: 28px; }
.flow__checks li > div { display: flex; align-items: center; justify-content: center; gap: 10px; }
.flow__checks svg { flex: none; width: 20px; height: 20px; color: var(--c-navy); }
.flow__checks span { color: var(--c-navy); font-size: 14px; font-weight: 700; line-height: 1.6; }

.flow__note {
  width: fit-content;
  margin: 28px auto 0;
  color: var(--c-muted);
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: .02em;
  text-align: left;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq .section__title { margin-bottom: 64px; }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q {
  padding: 20px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  color: var(--c-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__mark {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  position: relative;
  transition: transform .2s ease;
}
.faq__mark::before,
.faq__mark::after {
  content: "";
  position: absolute;
  background: var(--c-navy);
}
.faq__mark::before { top: 9px; left: 2px; width: 16px; height: 2px; }
.faq__mark::after { top: 2px; left: 9px; width: 2px; height: 16px; }
.faq__item[open] > .faq__q .faq__mark { transform: rotate(45deg); }
.faq__a { padding: 0 0 22px; font-size: 15px; line-height: 1.9; letter-spacing: .02em; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact .section__title { font-size: 32px; margin-bottom: 24px; }
.contact__lead {
  max-width: var(--content-max);
  margin: 0 auto 64px;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .02em;
  text-align: center;
}

.form {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form__honey { display: none; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.badge {
  color: var(--c-navy);
  background: var(--c-badge);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.field__optional { color: var(--c-muted); font-size: 12px; font-weight: 400; }
.field__input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--c-navy);
  background: var(--c-white);
  border: 1px solid var(--c-line-pale);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.field__input:focus { outline: 2px solid var(--c-navy); outline-offset: 0; }
textarea.field__input { line-height: 1.8; resize: vertical; }

.consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.7;
}
.consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--c-navy); }

.form__submit { display: flex; justify-content: center; }
.btn--submit { font-size: 17px; letter-spacing: .08em; padding: 16px 40px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--c-navy);
  padding: 56px var(--pad-x);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.site-footer .brand { gap: 4px; }
.site-footer .brand__name { font-size: 20px; }
.site-footer__meta { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.site-footer__meta a { color: var(--c-on-navy); font-size: 13px; letter-spacing: .02em; }
.site-footer__meta a:hover { color: var(--c-white); opacity: 1; }
.site-footer__copy { color: var(--c-on-navy); font-size: 12px; letter-spacing: .02em; }

/* --------------------------------------------------------------------------
   Fixed CTA bar (SP only)
   -------------------------------------------------------------------------- */
.sp-cta { display: none; }

/* --------------------------------------------------------------------------
   Privacy policy page
   -------------------------------------------------------------------------- */
.policy { display: flex; flex-direction: column; }
.policy a { text-decoration: underline; text-underline-offset: 3px; }
.policy .section__label { text-align: left; margin-bottom: 20px; }
.policy__title {
  color: var(--c-navy);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  margin-bottom: 36px;
}
.policy p, .policy ol { font-size: 15px; line-height: 2; letter-spacing: .02em; }
.policy__intro { margin-bottom: 56px; }
.policy__section { display: flex; flex-direction: column; gap: 16px; }
.policy__section + .policy__section { margin-top: 48px; }
.policy__section h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--c-navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--c-navy);
}
.policy__section h2 .num { flex: none; font-size: 14px; letter-spacing: .1em; }
.policy ol.numbered { list-style: decimal; padding-left: 1.6em; }
.policy ol.numbered > li { margin-bottom: 10px; }
.policy ol.numbered > li:last-child { margin-bottom: 0; }
.policy ol.paren { margin-top: 10px; }
.policy ol.paren > li { display: grid; grid-template-columns: 2.2em 1fr; gap: 6px; margin-bottom: 10px; }
.policy ol.paren > li:last-child { margin-bottom: 0; }
.policy__contact {
  display: flex;
  flex-direction: column;
  background: var(--c-pale);
  border-radius: var(--radius);
  padding: 8px 28px;
}
.policy__contact > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line-pale);
  font-size: 15px;
  line-height: 1.8;
}
.policy__contact > div:last-child { border-bottom: 0; }
.policy__contact dt { color: var(--c-navy); font-weight: 700; white-space: nowrap; }
.policy__contact dd { margin: 0; }
.policy__contact small { display: block; color: var(--c-muted); font-size: 13px; }
.policy__back { margin-top: 64px; }
.policy__back .btn { font-size: 15px; padding: 16px 36px; text-decoration: none; }

/* ==========================================================================
   Responsive — 860px
   ========================================================================== */
@media (max-width: 860px) {
  h1, h2, h3, b, th, .keep { word-break: normal; }
  body { line-break: auto; padding-bottom: 76px; }

  br:not(.br-sp) { display: none; }
  .br-sp { display: inline; }

  .section { padding: 60px 22px; }
  .section__title { font-size: 26px; }
  .contact .section__title { font-size: 26px; }
  .service__title, .case__title, .industry__title, .flow__step-title { font-size: 21px; }

  /* Header */
  .site-header { padding: 18px 22px; gap: 16px; }
  .nav { display: none; }
  .menu { display: block; }

  /* Hero */
  .hero { min-height: 0; }
  .hero__img { object-position: 72% 18%; }
  .hero__veil { background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.82) 55%, rgba(255,255,255,.62) 100%); }
  .hero__inner { padding: 56px 22px 64px; }
  .hero__title { font-size: 34px; }
  .hero__lead { font-size: 16px; line-height: 1.9; }
  .hero__text { font-size: 15px; line-height: 1.9; }

  /* Lists */
  .icon-list, .dot-list { grid-template-columns: 1fr; justify-content: start; gap: 12px; }

  /* Funnel */
  .funnel { flex-direction: column; gap: 8px; }
  .funnel__step,
  .funnel__step:first-child,
  .funnel__step:last-child {
    clip-path: none;
    padding: 14px 18px;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-align: left;
  }
  .funnel__num { min-width: 34px; }
  .funnel__bar { display: none; }

  /* Phase table → card style */
  .phase-table { table-layout: auto; }
  .phase-table thead { display: none; }
  .phase-table tbody tr { display: block; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
  .phase-table tbody tr:last-child { border-bottom: 0; }
  .phase-table td { display: block; padding: 0; border: 0; }
  .phase-table td[data-label] { margin-top: 12px; }
  .phase-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    color: var(--c-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    margin-bottom: 5px;
  }

  /* Services */
  .service { gap: 22px; padding-top: 26px; }
  .service__head { align-items: flex-start; text-align: left; }
  .service__title { text-align: left; }

  /* Cases */
  .cases { grid-template-columns: 1fr; }

  /* Industries */
  .industries__grid { grid-template-columns: 1fr 1fr; }

  /* About */
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 200px; margin-left: auto; margin-right: auto; }
  .about__profile picture { display: flex; justify-content: center; width: 100%; }
  .about__lists { grid-template-columns: 1fr; }

  /* Flow */
  .flow__line { left: 10px; right: auto; top: 6px; bottom: 6px; height: auto; width: 2px; }
  .flow__steps { grid-template-columns: 1fr; gap: 30px; }
  .flow__step { position: relative; align-items: flex-start; text-align: left; padding-left: 46px; }
  .flow__dot { position: absolute; left: 0; top: 0; }
  .flow__step p { max-width: none; }
  .flow__lead { width: auto; max-width: none; }
  .flow__checks { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .flow__checks li, .flow__checks li:nth-child(n + 4) { padding: 0; }
  .flow__checks li > div { justify-content: flex-start; align-items: flex-start; }
  .flow__checks svg { margin-top: 2px; }
  .flow__note { width: auto; }

  /* Form */
  .form { padding: 28px 20px; }

  /* Footer */
  .site-footer { padding: 40px 22px; flex-direction: column; gap: 24px; }
  .site-footer__meta { align-items: flex-start; }

  /* Fixed CTA bar */
  .sp-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: var(--c-navy);
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
  .sp-cta__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .sp-cta__title { color: var(--c-white); font-size: 13px; font-weight: 700; line-height: 1.4; }
  .sp-cta__sub { color: var(--c-on-navy); font-size: 10px; letter-spacing: .04em; line-height: 1.4; }
  .sp-cta__btn {
    flex: none;
    background: var(--c-white);
    color: var(--c-navy);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    line-height: 1;
  }

  /* Privacy policy */
  .section--policy { padding-top: 56px; padding-bottom: 56px; }
  .policy__title { font-size: 26px; }
  .policy__section h2 { font-size: 18px; }
}

/* ==========================================================================
   Responsive — 480px
   ========================================================================== */
@media (max-width: 480px) {
  .hero__title { font-size: 29px; }
  .section__title, .contact .section__title { font-size: 23px; }
  .industries__grid { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
