@charset "UTF-8";
/* ============================================================
   lp.css — 求人LP（page-lp-job.php, 2026-10-25）. Loaded after recruit.css (tokens, .btn) and job.css (jd-).
   v2 (2026-10-25 代表決定): design C「大きな文字と色面」(model: Linie; build and mood only).
   Look of the rebuild (2026-10-25, 仕様 20261025_サ責LP_作り直し仕様_v2.md; words unchanged):
   - Colour field per office (--lp-field): いずみ #2F6FB5, せせらぎ teal-deep #0A7268, others the office deep colour.
     White text on them 5.2:1 / 5.8:1. Cards on the field are white with ink text.
   - いずみ hero with the person image (.lp-hero--cut): the field is #3977C4, the plain background of the image, so the
     picture has no visible edge. White on it is 4.56:1, so only big text is white there; small text sits on a white
     card or on the darker blue (.lp-sub).
   - The big English word is the only text not in the site typeface (fonts.css sets every element with !important; the
     selector below is more specific). Outfit is no longer loaded, so it is the system's heavy sans.
   - The yellow ribbon (--lp-ribbon) is an SVG drawn once (CSS only), still when reduced motion is asked for.
   - Motion (動きの仕様 v1, 2026-10-26; lp.js): only transform and opacity, cubic-bezier(.22,1,.36,1), 0.5-0.8 s each.
     Every starting state sits under a class set by JS (html.su-lp-motion, .is-armed) and inside
     prefers-reduced-motion: no-preference, so without JS or with reduced motion the page is shown finished.
   Classes start with lp-.
   ============================================================ */

.lp { --lp-field: var(--c-deep); --lp-hero: var(--lp-field); --lp-ribbon: #F2E86D; overflow-x: clip; }
.lp.jd--blue { --lp-field: #2F6FB5; } /* いずみの青: --blue (#9CC8FF) is too pale for white text */
.lp.jd--pink { --lp-field: #A64566; } /* ラウレアハレのピンク (2026-10-27): white 5.7:1, on --pink-pale 4.9:1; --pink-deep (#C8124F) is too loud next to the person image's #B84E71 */
.lp .nw { display: inline-block; }
.lp-sub, .lp-h2, .lp-reasons__list h3, .lp-cta__text, .lp-honest dd { word-break: auto-phrase; } /* break Japanese at phrase boundaries (Chrome; others ignore it) */
.lp-in { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.lp-ended { width: min(var(--wrap), 100% - 40px); margin: 14px auto; padding: 1rem 1.25rem; border: 2px solid currentColor; border-radius: 12px; font-weight: 700; line-height: 1.8; }

/* ---------- hero: colour field, small headline, full-width English word, the picture, the ribbon ---------- */
.lp-hero { position: relative; overflow: hidden; background: var(--lp-hero); color: #fff; padding-bottom: clamp(48px, 7vw, 96px); }
.lp-hero__head { position: relative; z-index: 3; text-align: center; padding-top: clamp(28px, 4vw, 52px); display: grid; gap: 14px; justify-items: center; }
.lp-eyebrow { margin: 0; background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 18px; font-size: 15px; font-weight: 700; }
.lp-title { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.3; font-weight: 700; letter-spacing: .02em; }
.lp-sub { margin: 0; max-width: 36em; font-size: 17px; font-weight: 700; line-height: 1.8; }

.lp-hero__stage {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end;
  column-gap: clamp(20px, 3vw, 48px); padding: 0 max(20px, (100% - var(--wrap)) / 2);
}
html body .lp-hero__en {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
}
/* --lp-en-n: characters of the word (page-lp-job.php); about .62em each in a heavy sans */
.lp-hero__en {
  grid-column: 1 / -1; grid-row: 1; justify-self: center; width: max-content; margin: 0; position: relative; z-index: 1;
  pointer-events: none; user-select: none; white-space: nowrap; color: #fff; font-weight: 800; letter-spacing: -.04em;
  line-height: .8; font-size: min(92vw / (var(--lp-en-n, 9) * .62), 400px); padding-top: clamp(8px, 2vw, 24px);
}
.lp-hero__photo { grid-column: 1; grid-row: 2; position: relative; z-index: 2; margin: -3vw 0 0; } /* overlaps the foot of the word only */
.lp-hero__photo--frame { aspect-ratio: 4 / 3; border-radius: var(--r-l); overflow: hidden; border: 6px solid #fff; }
.lp-hero__photo--frame picture, .lp-hero__photo--frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-hero__photo--frame img { object-fit: cover; }
.lp-hero__photo--low img { object-position: 50% 85%; } /* the subject sits low in the photo (sky above) */
.lp-hero__side { grid-column: 2; grid-row: 2; position: relative; z-index: 4; display: grid; gap: 14px; align-content: end; padding-bottom: 8px; }

/* the ribbon: behind the picture, and its lower part again in front (clip) */
.lp-ribbon { position: absolute; left: 0; width: 100%; top: 34%; height: 52%; overflow: visible; pointer-events: none; }
.lp-ribbon path { fill: none; stroke: var(--lp-ribbon); stroke-width: 26; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lp-ribbon--back { z-index: 1; }
.lp-ribbon--front { z-index: 3; clip-path: inset(62% 0 0 0); }
@media (prefers-reduced-motion: no-preference) {
  .lp-ribbon path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lp-draw 1.8s var(--ease) .3s forwards; }
}
@keyframes lp-draw { to { stroke-dashoffset: 0; } }
/* the letters of the English word rise in one by one (60 ms apart; 8 letters end within 0.92 s); the picture, headline,
   pay card and buttons do not move */
.lp-hero__ch { display: inline-block; }
html body .lp-hero__en .lp-hero__ch { font-family: inherit !important; } /* fonts.css sets every element: keep the word's typeface */
@media (prefers-reduced-motion: no-preference) {
  html.su-lp-motion .lp-hero__ch { animation: lp-rise .5s cubic-bezier(.22, 1, .36, 1) calc(var(--i, 0) * 60ms) both; }
}
@keyframes lp-rise { from { opacity: 0; transform: translateY(24px); } }

/* いずみ: the wide person image on its own plain blue. The word sits on the empty sky (top quarter of the image) above
   the heads; the ribbon passes at the feet; chips and the pay card follow under the picture. */
.lp.jd--blue .lp-hero--cut { --lp-hero: #3977C4; }
.lp.jd--teal .lp-hero--cut { --lp-hero: #1B7F74; } /* せせらぎ: the plain background of its person image (white 4.8:1) */
.lp-hero--cut .lp-sub { background: #2B66AD; border-radius: 14px; padding: 8px 18px; } /* small white text: 5.8:1 */
.lp.jd--teal .lp-hero--cut .lp-sub { background: #146B61; } /* small white text: 6.4:1 */
.lp.jd--pink .lp-hero--cut { --lp-hero: #B84E71; } /* ラウレアハレ: the plain background of its person images (white 4.81:1) */
.lp.jd--pink .lp-hero--cut .lp-sub { background: #9E3F60; } /* small white text: 6.3:1 */
.lp-hero--cut .lp-hero__stage { --lp-w: min(100vw, 1180px); display: block; padding: 0; width: var(--lp-w); margin: 8px auto 0; }
.lp-hero--cut .lp-hero__photo { margin: 0; }
.lp-hero--cut .lp-hero__photo img { display: block; width: 100%; height: auto; }
/* the image's blue varies by a few steps (#3675C2–#3A79C5): its edges fade into the field so no frame line shows */
.lp-hero--cut .lp-hero__photo {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 96%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 96%, transparent);
  mask-composite: intersect;
}
.lp-hero--cut .lp-hero__en {
  position: absolute; z-index: 3; left: 50%; top: 1.2%; transform: translateX(-50%); padding: 0;
  font-size: calc(var(--lp-w) * .86 / (var(--lp-en-n, 9) * .62)); /* the width of the picture, inside its sky */
}
.lp-hero--cut .lp-ribbon { top: calc(var(--lp-w) * .5628 * .8); height: calc(var(--lp-w) * .5628 * .14); } /* at the feet (image 1672x941) */
.lp-hero--cut .lp-ribbon--back { display: none; } /* the picture is opaque: only the part in front shows */
.lp-hero--cut .lp-ribbon--front { clip-path: none; }
.lp-hero--cut .lp-hero__side {
  width: min(var(--wrap), 100% - 40px); margin: -24px auto 0; padding: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; gap: clamp(16px, 3vw, 40px);
}
/* PC (2026-10-25 代表「パソコンの第一画面に、給与の札と応募ボタンも入るようにして」): the headline, the pay card and both
   buttons fit in the first screen. The picture is capped to the screen height (--lp-iw/--lp-ih; 320px = header + headline
   block), the card lies over its lower right from 53% of its height down (the faces end at about 40%, model: Linie),
   and the chips follow under the card. */
@media (min-width: 1024px) {
  .lp-hero--cut .lp-hero__head { padding-top: 20px; gap: 8px; }
  .lp-hero--cut .lp-eyebrow { padding: 4px 16px; }
  .lp-hero--cut .lp-title { font-size: min(5vw, 56px); line-height: 1.25; }
  .lp-hero--cut .lp-sub { max-width: none; padding: 4px 18px; }
  .lp-hero--cut .lp-hero__stage {
    --lp-iw: min(var(--lp-w), (100vh - 320px) * 1.7768); --lp-ih: calc(var(--lp-iw) * .5628);
    display: grid; grid-template-columns: minmax(0, 1fr);
  }
  .lp-hero--cut .lp-hero__photo { grid-area: 1 / 1; justify-self: center; align-self: start; width: var(--lp-iw); }
  .lp-hero--cut .lp-hero__en { font-size: calc(var(--lp-iw) * .86 / (var(--lp-en-n, 9) * .62)); }
  .lp-hero--cut .lp-ribbon { top: calc(var(--lp-ih) * .8); height: calc(var(--lp-ih) * .14); }
  .lp-hero--cut .lp-hero__side {
    grid-area: 1 / 1; justify-self: end; align-self: start; width: min(400px, 38%);
    margin: calc(var(--lp-ih) * .53) max(20px, 64px - (100vw - var(--lp-w)) / 2) 0 0; /* clear of the side button */
    grid-template-columns: minmax(0, 1fr); gap: 12px;
  }
  .lp-hero--cut .lp-hero__card { order: -1; padding: 16px 20px 6px; gap: 8px; }
  .lp-hero--cut .lp-hero__card .jd-pay__num { font-size: 48px; }
  .lp-hero--cut .lp-acts .btn { flex: 1 1 10em; padding-inline: 14px; }
}

/* PC, the framed photo (no person image yet, 2026-10-27 横展開): the same first screen as above — the headline, the pay
   card and both buttons fit in 1280x800. The head is as tight as the person-image hero, the English word is capped to the
   screen height, and the card comes first at the top of the side column (chips under it). Only .lp-hero without --cut. */
@media (min-width: 1024px) {
  .lp-hero:not(.lp-hero--cut) .lp-hero__head { padding-top: 20px; gap: 8px; }
  .lp-hero:not(.lp-hero--cut) .lp-eyebrow { padding: 4px 16px; }
  .lp-hero:not(.lp-hero--cut) .lp-title { font-size: min(5vw, 56px); line-height: 1.25; }
  .lp-hero:not(.lp-hero--cut) .lp-hero__en { font-size: min(92vw / (var(--lp-en-n, 9) * .62), 400px, 22vh); }
  .lp-hero:not(.lp-hero--cut) .lp-hero__side { align-self: start; align-content: start; padding: 0; }
  .lp-hero:not(.lp-hero--cut) .lp-hero__card { order: -1; padding: 16px 20px 6px; gap: 8px; }
  .lp-hero:not(.lp-hero--cut) .lp-hero__card .jd-pay__num { font-size: 48px; }
  .lp-hero:not(.lp-hero--cut) .lp-acts .btn { flex: 1 1 10em; padding-inline: 14px; }
}

/* The person image beside the pay card (.lp-hero--side, 2026-10-27 横展開: ラウレアハレ 介護・厨房, せせらぎ 介護・看護).
   Their images are 4:3, or 16:9 with the people to one side and their heads near the top, so the word cannot sit in their
   sky as on いずみ: they take the place of the framed photo (the same grid and the same PC first screen as above), the
   word above them. The field is the image's own background (--lp-hero, set per page; white 4.85:1 or more) and the edges
   fade into it, so no frame shows. The image is opaque: the ribbon passes behind it only. */
.lp-hero--side .lp-hero__photo {
  margin-top: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 96%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 96%, transparent);
  mask-composite: intersect;
}
.lp-hero--side .lp-hero__photo img { display: block; width: 100%; height: auto; }
.lp-hero--side .lp-ribbon--front { display: none; }
@media (max-width: 899px) {
  .lp-hero--side .lp-hero__side { margin-top: 8px; } /* not over the feet */
}
@media (max-width: 767px) {
  /* a wide image is cropped to 4:3 round its people (--lp-hero-x, per page) so they are not too small; 4:3 ones stay whole */
  .lp-hero--side .lp-hero__photo { aspect-ratio: 4 / 3; overflow: hidden; }
  .lp-hero--side .lp-hero__photo img { height: 100%; object-fit: cover; object-position: var(--lp-hero-x, 50%) 50%; }
}

/* chips, pay card, buttons and the phone line */
.lp-chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-content: end; }
.lp-chips li { background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 15px; }
.lp-chips li::before { content: "✓"; margin-right: .4em; color: var(--lp-field); font-weight: 900; }
.lp-hero__card { position: relative; background: #fff; color: var(--ink); border-radius: var(--r-m); padding: 20px 22px 14px; display: grid; gap: 12px; }
.lp-hero__card .jd-pay { padding: 0; background: none; border-radius: 0; }
.lp-acts { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-hero__card .lp-acts .btn { flex: 1 1 13em; }
.lp-tel { margin: 0; font-size: 15px; }
.lp-tel a { color: var(--ink); font-weight: 900; display: inline-block; min-height: 44px; line-height: 44px; text-underline-offset: .2em; }

/* side button (PC): fixed on the right edge, to the visit form; phones use the bottom bar instead */
.lp-side {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 800;
  writing-mode: vertical-rl; min-width: 44px; min-height: 44px; padding: 20px 9px;
  background: var(--lp-ribbon); color: var(--ink); border: 2px solid var(--ink); border-right: 0; border-radius: 16px 0 0 16px;
  font-size: 16px; font-weight: 700; letter-spacing: .12em; text-decoration: none;
}
.lp-side:hover { background: #fff; }

/* ---------- chapters: small English label + big Japanese heading; white and the colour field in turn ---------- */
.lp-ch { padding: clamp(64px, 9vw, 120px) 0; }
.lp-ch--field { background: var(--lp-field); color: #fff; }
.lp-ch--white { background: var(--paper); color: var(--ink); }
.lp-en { margin: 0 0 8px; font-weight: 700; font-size: 15px; letter-spacing: .2em; color: var(--ink-2); }
.lp-ch--field .lp-en { color: #fff; }
.lp-en::before { content: ""; display: inline-block; width: 28px; height: 6px; margin-right: 10px; vertical-align: middle; border-radius: 3px; background: var(--lp-ribbon); }
.lp-ch--white .lp-en::before { background: var(--lp-field); }
.lp-h2 { margin: 0 0 clamp(28px, 4vw, 52px); font-size: clamp(30px, 4.6vw, 56px); line-height: 1.3; font-weight: 700; letter-spacing: .01em; }
.lp-ch__note, .lp .lp-ch .jd-note { margin: 18px 0 0; font-size: 16px; line-height: 1.8; max-width: 52em; }
.lp-ch--field .lp-ch__note, .lp-ch--field .jd-note, .lp-ch--field .jd-note a { color: #fff; }
.lp-ch .jd-note a { color: inherit; font-weight: 700; text-underline-offset: .2em; display: inline-block; min-height: 44px; line-height: 44px; }
/* cards on the field: white with ink text */
.lp-ch--field .jd-work li, .lp-ch--field .jd-allow li, .lp-ch--field .jd-table, .lp-ch--field .jd-flow li,
.lp-ch--field details, .lp-ch--field .lp-honest div, .lp-ch--field .jd-form { background: #fff; color: var(--ink); }
.lp-ch--field .jd-allow small { color: var(--ink-2); }
.lp-ch--field .jd-allow li, .lp-ch--field .jd-table, .lp-ch--field .jd-flow li, .lp-ch--field details { border-color: #fff; }
.lp-ch--white .jd-work li { background: var(--c-pale); }
.lp .jd-visit, .lp .jd-entry { scroll-margin-top: var(--head-h); }

/* numbers */
.lp-stats { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 40px); }
.lp-stats div { display: grid; align-content: start; gap: 8px; border-top: 3px solid currentColor; padding-top: 18px; container-type: inline-size; }
.lp-stats dd { order: -1; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; }
.lp-stats b { white-space: nowrap; font-weight: 700; font-size: clamp(64px, 8vw, 116px); line-height: 1; letter-spacing: -.02em; color: var(--lp-field); }
.lp-ch--field .lp-stats b { color: #fff; }
.lp-stats dd span { font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; }
.lp-stats dt { font-size: 16px; font-weight: 700; line-height: 1.6; }

@media (min-width: 900px) {
  .lp-stats:has(> div:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); } /* three numbers (2026-10-27 調理員): no empty fourth column */
}

/* the chapter after the numbers (動きの仕様 v1 §2): two big lines, broken only between phrases. lp.js marks it .is-armed and
   lights the phrases one by one (faint .3 → 1) as they pass a line at 65% of the screen. Ink on white 17.7:1, white on the
   field 5.2:1 or more. */
.lp-say__text { margin: 0; max-width: 1000px; /* one line per phrase on PC (2026-10-27 代表: 改行は意味の切れ目に固定); narrow screens wrap only between phrases */ font-size: clamp(34px, 6vw, 68px); line-height: 1.35; font-weight: 700; letter-spacing: .01em; }
.lp-say__line { display: block; }
.lp-say__w { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .lp-say.is-armed .lp-say__w { opacity: .3; transition: opacity .6s cubic-bezier(.22, 1, .36, 1); }
  .lp-say.is-armed .lp-say__w.is-on { opacity: 1; }
}

/* count-up (lp.js): while counting, each run of digits is held at its final width (a wider value spills to the left),
   so the unit does not move */
.lp-stats dd .lp-num { font-size: inherit; font-weight: inherit; } /* a part of the number, not a unit (.lp-stats dd span) */
.lp-stats.is-armed .lp-num { display: inline-flex; justify-content: flex-end; font-variant-numeric: tabular-nums; }

/* the ribbon down the page (lp.js): above the chapter colours, under their content; decoration only */
.lp-thread { position: absolute; z-index: 0; pointer-events: none; overflow: hidden; }
.lp-thread path { fill: none; stroke: var(--lp-ribbon); stroke-width: 26; stroke-linecap: round; }
.lp-ch > .lp-in { position: relative; z-index: 1; }

/* three ways of not being alone */
.lp-reasons__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.lp-reasons__list li { border-top: 4px solid currentColor; padding-top: 20px; display: grid; gap: 12px; align-content: start; }
.lp-reasons__n { font-weight: 700; font-size: clamp(52px, 6vw, 84px); line-height: 1; color: var(--lp-field); }
.lp-ch--field .lp-reasons__n { color: var(--lp-ribbon); } /* decoration (aria-hidden), 4.1:1 or more on the field */
.lp-reasons__list h3 { margin: 0; font-size: clamp(21px, 2.2vw, 28px); font-weight: 700; line-height: 1.45; }
.lp-reasons__list p { margin: 0; font-size: 17px; line-height: 1.9; }
.lp-reasons__photo { margin: clamp(28px, 4vw, 48px) 0 0; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 9; }
.lp-reasons__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* things to know first */
.lp-honest { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lp-honest div { border-radius: var(--r-m); padding: 24px 26px; display: grid; gap: 8px; align-content: start; }
.lp-ch--white .lp-honest div { background: var(--c-pale); border-left: 8px solid var(--lp-field); }
.lp-honest dt { font-size: 16px; font-weight: 900; color: var(--lp-field); }
.lp-honest dd { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.85; }

/* closing call */
.lp-cta { text-align: center; }
.lp-cta .lp-in { container-type: inline-size; }
.lp-cta__title { margin: 0; font-size: clamp(36px, 6vw, 76px); font-size: min(clamp(36px, 6vw, 76px), 100cqi / 9.5); /* the 9-character line fits at 320px */ line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.lp-cta__text { margin: 18px auto 0; max-width: 34em; font-size: 18px; font-weight: 700; line-height: 1.8; }
.lp-cta .lp-acts { margin-top: 28px; justify-content: center; }
.lp-cta .lp-acts .btn { min-width: 16em; }
.lp-ch--field.lp-cta .btn-line { color: #fff; border-color: #fff; }
.lp-ch--field.lp-cta .btn-line:hover { background: #fff; color: var(--ink); }

/* a day */
.lp-day__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; border-left: 4px solid currentColor; }
.lp-day__list li { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 12px 0 12px 20px; }
.lp-day__list b { font-weight: 700; font-size: 18px; }
.lp-confirm { display: inline-block; vertical-align: middle; margin-left: 8px; border: 2px dashed #B00020; color: #B00020; background: #fff; border-radius: 8px; padding: 0 10px; font-size: 15px; font-weight: 900; }
.lp-day.is-confirm .lp-day__list { border-left-style: dashed; }

/* pay */
.lp-paynote { margin: 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; line-height: 1.4; }

/* other postings of the same work ('also', 2026-10-27): small links under the pay chapter, in the chapter's text colour */
.lp-also { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.lp-also li { font-size: 16px; font-weight: 700; line-height: 1.7; }
.lp-also a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .2em; }

/* questions */
.lp-faq__list { display: grid; gap: 10px; }
.lp-faq details { background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-s); }
.lp-faq summary { cursor: pointer; min-height: 44px; padding: 14px 18px; font-weight: 900; font-size: 17px; list-style-position: inside; }
.lp-faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.lp-faq details p { margin: 0; padding: 0 18px 16px; line-height: 1.8; }

@media (max-width: 899px) {
  .lp-hero__stage { grid-template-columns: 1fr; }
  .lp-hero__photo { grid-column: 1; margin-top: 1vw; } /* one column: the word stays readable above the picture */
  .lp-hero__photo--frame { aspect-ratio: 3 / 2; }
  .lp-hero__side { grid-column: 1; grid-row: 3; margin-top: -32px; padding-inline: 12px; }
  .lp-ribbon { top: 30%; height: 34%; }
  .lp-hero--cut .lp-hero__side { grid-template-columns: 1fr; margin-top: -16px; }
  .lp-stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .lp-reasons__list { grid-template-columns: 1fr; }
  .lp-honest { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .lp-in, .lp-ended { width: calc(100% - 32px); }
  .lp-acts .btn, .lp-cta .lp-acts .btn { width: 100%; min-width: 0; }
  .lp-hero__stage { padding: 0 16px; }
  .lp-hero__side { padding-inline: 4px; }
  .lp-hero__card { padding: 18px 18px 10px; }
  /* いずみ: the people would be tiny at the full width, so the picture is cropped to its middle (square, no overflow) */
  .lp-hero--cut .lp-hero__stage { padding: 0; }
  .lp-hero--cut .lp-hero__photo { aspect-ratio: 1 / 1; overflow: hidden; }
  .lp-hero--cut .lp-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
  .lp-hero--cut .lp-hero__en { font-size: calc(100vw * .86 / (var(--lp-en-n, 9) * .62)); top: 2%; }
  .lp-hero--cut .lp-ribbon { top: 80vw; height: 14vw; } /* the square crop: feet at about 85-92% of its height */
  .lp-hero--cut .lp-hero__side { width: calc(100% - 32px); padding: 0; }
  .lp-side { display: none; } /* the bottom bar (mobile-bar.php) takes over */
  .lp-stats b { font-size: 56px; }
  .lp-honest div { padding: 20px; }
  .lp-day__list li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 399px) {
  .lp-title { font-size: 30px; }
  .lp-eyebrow { font-size: 14px; }
  .lp-stats b { font-size: 48px; }
  .lp-hero__photo--frame { border-width: 4px; border-radius: var(--r-m); }
}
@media (prefers-reduced-motion: reduce) {
  .lp .btn:hover { transform: none; }
}

/* Fit to the container (2026-10-25): a long number in the numbers band (--lp-em, su_lp_num_em(); its unit may wrap).
   Declarations with var() inside min() cannot fall back to an earlier declaration when cqi is unknown (they become
   invalid at computed-value time → inherited 16px), hence @supports. */
@supports (width: 1cqi) {
  .lp-stats b { font-size: min(clamp(64px, 8vw, 116px), 100cqi / var(--lp-em, 1.2)); }
  @media (max-width: 767px) {
    .lp-stats b { font-size: min(56px, 100cqi / var(--lp-em, 1.2)); }
  }
  @media (max-width: 399px) {
    .lp-stats b { font-size: min(48px, 100cqi / var(--lp-em, 1.2)); }
  }
}
