@font-face {
  font-family: Klee;
  src: url('./partner-font.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f6f0e3;
  --paper-texture: url('./washi.webp');
  --ink: #303e34;
  --green: #344e41;
  --green-hover: #243f32;
  --muted: #62675a;
  --red: #944f3b;
  --line: #cecabb;
  --sage: #e9ebdf;
  --on-green: #fbf8ed;
  --green-line: #829183;
  --serif: Klee, 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --sans: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: var(--ink);
  font: 15px/1.9 var(--sans);
  -webkit-font-smoothing: antialiased;
  background: var(--paper);
}
/* Match the main site's continuous washi; the center stays quiet for reading. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #f6f0e314, #f6f0e361 32%, #f6f0e361 68%, #f6f0e314),
    var(--paper-texture) center / cover no-repeat;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 6px;
}
img { max-width: 100%; height: auto; }
svg {
  display: block;
  max-width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg use { pointer-events: none; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: calc(100% - 96px); max-width: 1120px; margin-inline: auto; }
.section { padding-block: 88px; }
.site-header { display: flex; align-items: center; padding-block: 28px 20px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand-signature { width: 184px; height: auto; stroke: none; }

/* A text-only cover: centered headline and one action, no empty art column. */
.hero {
  display: block;
  text-align: center;
  padding-block: 52px 64px;
}
.hero-copy { min-width: 0; max-width: 760px; margin-inline: auto; }
.eyebrow { color: var(--red); font: 400 14px/1.9 var(--serif); letter-spacing: .07em; }
h1 {
  font: 600 clamp(40px, 4.2vw, 60px)/1.55 var(--serif);
  letter-spacing: .08em;
  margin-block: 18px 34px;
}
h1 span { display: inline-block; font-size: .91em; letter-spacing: .035em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  max-width: 100%;
  min-height: 60px;
  padding: 15px 28px;
  border: 1px solid var(--green);
  border-radius: 2px 3px 2px 4px;
  color: var(--on-green);
  background: var(--green);
  text-decoration: none;
  font: 600 17px/1.7 var(--serif);
  transition: background-color 160ms ease, border-color 160ms ease;
}
.button .icon { flex: 0 0 34px; width: 34px; height: 18px; stroke-width: 2; }
.button:active { background: var(--green-hover); }
@media (hover: hover) {
  .button:hover { background: var(--green-hover); border-color: var(--green-hover); }
}

/* The ordinal is a margin note; it never competes with the section title. */
.section-heading {
  position: relative;
  padding-left: 44px;
  margin-bottom: 44px;
}
.section-no { position: absolute; top: 12px; left: 0; color: var(--red); font: 400 20px/1 var(--serif); }
h2 { font: 600 34px/1.6 var(--serif); letter-spacing: .065em; }
.section-heading > p:not(.section-no) { margin-top: 9px; color: var(--muted); font-size: 14px; }
#roles { padding-top: 42px; }
.role-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1.15fr) 90px minmax(0, 1fr);
  align-items: start;
}
.role {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 14px 10px 0;
  text-align: center;
}
.role-ill { position: relative; width: 124px; height: 110px; margin: 0 auto 24px; }
.role.is-you::before {
  content: '';
  position: absolute;
  width: 166px;
  height: 132px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 51% 47% 49% 45%;
  background: var(--sage);
  z-index: -1;
}
.role-sub { color: var(--muted); font-size: 12px; }
.role h3 { margin-block: 4px 16px; font: 600 28px/1.5 var(--serif); letter-spacing: .08em; }
.role ul { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 2; }
.customer-note { font-size: 13px; line-height: 2; }
.diagram-arrow { padding-top: 65px; text-align: center; font: 400 12px/1.6 var(--serif); }
.diagram-arrow > span { white-space: nowrap; }
.diagram-arrow svg { width: 78px; height: 20px; margin: 10px auto 0; }

/* Three exact fee facts, then the separate running costs. */
.fees {
  color: var(--on-green);
  background-color: var(--green);
  background-image: var(--paper-texture);
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  box-shadow: inset 0 1px #e8dbc840, inset 0 -1px #20332940;
}
.fees .section { padding-block: 72px 58px; }
.fees .section-no { color: #e5c8a0; }
.fees .section-heading { margin-bottom: 38px; }
.price-grid {
  display: grid;
  grid-template-columns: .85fr 1fr 1.35fr;
  margin-bottom: 40px;
}
.price-grid > div { padding-inline: 38px; border-left: 1px solid var(--green-line); }
.price-grid > div:first-child { border: 0; padding-left: 0; }
.price-grid > div:last-child { padding-right: 0; }
.price-grid dt { font-size: 14px; }
.price-grid dd { margin-top: 16px; line-height: 1.2; }
.price-grid strong { font: 400 clamp(58px, 5.7vw, 78px)/1.1 var(--serif); letter-spacing: -.045em; }
.price-grid dd > span { margin-left: 10px; font: 400 22px/1.3 var(--serif); }
.price-grid small { display: block; margin-top: 14px; font-size: 13px; color: #e9edde; line-height: 1.6; }
.own-costs { padding-top: 30px; border-top: 1px solid var(--green-line); }
.own-costs h3 { font: 400 19px/1.7 var(--serif); letter-spacing: .035em; }
.own-costs ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}
.own-costs li { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.own-costs svg { flex: 0 0 45px; width: 45px; height: 44px; stroke: #fff7df; }
.own-costs use[href="#shield"] { stroke: #657662; }
.reduction { border-top: 1px solid var(--green-line); }
.fee-note { color: #e2e8d9; font-size: 12px; line-height: 1.95; max-width: 920px; }
.fees a:focus-visible, .fees summary:focus-visible { outline-color: #edc995; }

/* Supports are open columns, not cards. Stack earlier on touch widths. */
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 42px; }
.support-grid article { display: grid; grid-template-rows: 78px auto 1fr; align-content: start; min-width: 0; }
.support-grid svg { width: 76px; height: 70px; margin-left: -8px; }
.support-grid h3 { margin-top: 12px; font: 600 22px/1.7 var(--serif); letter-spacing: .035em; }
.support-grid p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.95; }
.optional {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 40px;
  padding-block: 22px;
  border-block: 1px solid var(--line);
  font-size: 13px;
}
.optional > span { color: var(--red); font-size: 12px; }
.before-start { max-width: 720px; margin: 56px auto 0; }
.before-start h3 { margin-bottom: 22px; text-align: center; font: 600 22px/1.7 var(--serif); letter-spacing: .04em; }
.before-start details { border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
}
summary::-webkit-details-marker { display: none; }
summary > span { flex: 0 0 24px; text-align: center; font: 400 25px/1 var(--serif); }
details[open] > summary > span { transform: rotate(45deg); }
details > p { padding: 0 0 20px; font-size: 14px; line-height: 2; }
@media (hover: hover) {
  summary:hover { color: var(--red); }
  .fees summary:hover { color: #fff; }
}

/* One centered contact block. DOM order is form, then LINE. */
.consult {
  display: grid;
  justify-items: center;
  row-gap: 32px;
  padding-block: 72px 54px;
  border-top: 1px solid var(--line);
  text-align: center;
  scroll-margin-top: 24px;
}
.consult:focus { outline: none; }
.consult-copy { max-width: 100%; }
.consult h2 { margin-top: 14px; font-size: 36px; letter-spacing: .045em; }
.consult-actions { display: grid; width: min(100%, 360px); gap: 12px; }
.consult-actions .button { width: 100%; min-width: 0; min-height: 66px; font-size: 18px; }
.form-link { justify-content: space-between; padding-inline: 30px; }
.line { background: transparent; color: var(--ink); border-color: #9bada0; gap: 15px; }
.line img { width: 30px; height: 30px; flex: 0 0 30px; }
.line:active { background: var(--sage); }
@media (hover: hover) {
  .line:hover { color: var(--ink); background: var(--sage); border-color: var(--green); }
}
.pending { max-width: 690px; margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.95; }
.site-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 28px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer small { margin-left: auto; font-size: 11px; }
.skip, .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { width: auto; height: auto; clip-path: none; background: white; padding: 12px; z-index: 5; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { padding-block: 36px 52px; }
  h1 { font-size: 44px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: .025em; }
  .role-diagram { grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1.15fr) 58px minmax(0, 1fr); }
  .diagram-arrow { font-size: 10px; }
  .diagram-arrow svg { width: 50px; }
  .role { padding-inline: 3px; }
  .role ul { font-size: 13px; }
  .role-ill { width: 110px; }
  .customer-note { font-size: 12px; }
  .price-grid > div { padding-inline: 26px; }
  .price-grid strong { font-size: 60px; }
  .support-grid { column-gap: 28px; }
  .support-grid h3 { font-size: 20px; letter-spacing: 0; }
  .support-grid p { font-size: 13px; }
  .own-costs li { flex-direction: column; gap: 7px; text-align: center; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { padding-block: 22px 14px; }
  .brand-signature { width: 160px; }
  .section { padding-block: 56px; }
  .hero { padding-block: 30px 36px; }
  h1 { font-size: clamp(37px, 7.7vw, 50px); line-height: 1.48; margin-block: 16px 25px; letter-spacing: .065em; }
  h1 span { font-size: .94em; letter-spacing: .02em; }
  .hero .eyebrow { font-size: 12px; letter-spacing: .02em; }
  .hero-copy > .button { min-height: 54px; font-size: 16px; padding: 12px 23px; }
  .section-heading { padding-left: 32px; margin-bottom: 30px; }
  .section-no { top: 9px; font-size: 17px; }
  h2 { font-size: 29px; letter-spacing: .045em; }
  .section-heading > p:not(.section-no) { margin-top: 8px; font-size: 13px; }
  #roles { padding-top: 32px; }
  .role-diagram { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 470px; margin-inline: auto; }
  .role {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: 22px;
    padding: 18px 0;
    text-align: left;
    align-items: start;
  }
  .role-ill { grid-column: 1; grid-row: 1 / 4; width: 108px; height: 100px; margin: 0; align-self: center; }
  .role.is-you::before { width: 122px; height: 115px; top: 50%; left: -5px; transform: translateY(-50%); }
  .role-sub { grid-column: 2; font-size: 12px; }
  .role h3 { grid-column: 2; font-size: 26px; margin: 2px 0 9px; }
  .role ul, .customer-note { grid-column: 2; font-size: 13px; line-height: 1.95; }
  .diagram-arrow {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 38px;
    padding: 0 0 0 39px;
    font: 400 12px/1.6 var(--serif);
  }
  .diagram-arrow svg { order: -1; transform: rotate(90deg); width: 34px; height: 20px; margin: 0; }
  .fees .section { padding-block: 54px 40px; }
  .fees .section-heading { margin-bottom: 30px; }
  .price-grid { grid-template-columns: 1fr 1fr; margin-bottom: 30px; }
  .price-grid > div { padding-inline: 24px 0; }
  .price-grid dt { font-size: 13px; }
  .price-grid dd { margin-top: 10px; }
  .price-grid strong { font-size: 64px; }
  .price-grid dd > span { font-size: 21px; }
  .price-grid small { font-size: 12px; margin-top: 8px; }
  .price-grid > div:last-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    border: 0;
    border-top: 1px solid var(--green-line);
    margin-top: 28px;
    padding: 24px 0 0;
  }
  .price-grid > div:last-child dd { margin: 0; }
  .price-grid > div:last-child strong { font-size: clamp(48px, 8.9vw, 62px); }
  .own-costs { padding-top: 24px; }
  .own-costs h3 { font-size: 18px; }
  .own-costs ul { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; margin-block: 24px; }
  .own-costs li { font-size: 12px; }
  .fee-note { font-size: 12px; }
  .support-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .support-grid article { grid-template-columns: 78px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 22px; }
  .support-grid svg { grid-row: 1 / 3; align-self: center; width: 78px; height: 78px; margin: 0; }
  .support-grid h3 { margin: 0; font-size: 22px; letter-spacing: .02em; }
  .support-grid p { margin-top: 5px; font-size: 14px; }
  .optional { display: block; margin-top: 32px; padding-block: 20px; font-size: 13px; }
  .optional > span { display: block; font-size: 12px; margin-bottom: 8px; }
  .before-start { margin-top: 44px; }
  .before-start h3 { font-size: 21px; margin-bottom: 18px; }
  summary { font-size: 14px; min-height: 64px; gap: 16px; }
  details > p { font-size: 13px; }
  .consult { padding-block: 50px 38px; row-gap: 26px; scroll-margin-top: 20px; }
  .consult .eyebrow { font-size: 12px; }
  .consult h2 { font-size: clamp(26px, 4.8vw, 32px); letter-spacing: .025em; margin-top: 12px; }
  .consult-actions { width: min(100%, 360px); }
  .consult-actions .button { font-size: 17px; min-height: 62px; padding-inline: 24px; }
  .pending { font-size: 12px; line-height: 1.9; margin-top: 6px; }
  .site-footer { column-gap: 22px; padding-block: 14px; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 40px); }
  h1 { font-size: 35px; }
  .hero .eyebrow { font-size: 11px; }
  .role { grid-template-columns: 88px minmax(0, 1fr); column-gap: 17px; }
  .role-ill { width: 84px; height: 90px; }
  .role.is-you::before { width: 94px; height: 100px; }
  .diagram-arrow { padding-left: 27px; gap: 19px; }
  .support-grid article { grid-template-columns: 64px minmax(0, 1fr); column-gap: 17px; }
  .support-grid svg { width: 64px; height: 68px; }
  .support-grid h3 { font-size: 20px; }
  .support-grid p { font-size: 13px; }
  .before-start h3 { font-size: 19px; }
  .consult-actions .button { font-size: 16px; padding-inline: 20px; }
  .site-footer small { flex-basis: 100%; margin-left: 0; padding-block: 7px; }
}

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

/* Current-page breadcrumb shares the existing footer line. */
.breadcrumb-current { color: var(--muted); font-size: 12px; }
.site-footer { flex-wrap: wrap; }
.nagino-event-partner .button { box-shadow: none; }
