/* 2026-10-08: scoped additions for three-business guidance and the concise website showcase. */

.business-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(690px, 100%);
  margin-top: 24px;
  border-block: 1px solid var(--line);
}

.business-shortcuts a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 14px;
  color: var(--ink-dim);
  transition: color .25s ease, background .25s ease;
}

.business-shortcuts a + a { border-left: 1px solid var(--line); }
.business-shortcuts a:hover { color: var(--ink); background: rgba(255,255,255,.035); }
.business-shortcuts small { color: var(--brass); font: 700 9px/1 var(--font-mono); }
.business-shortcuts span { font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.business-shortcuts i { color: var(--mut); font-style: normal; }

/* Three businesses: an editorial ledger, not a row of generic cards. */
.business-overview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(125,159,196,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125,159,196,.055) 1px, transparent 1px),
    #0e1117;
  background-size: 56px 56px;
  border-block: 1px solid var(--line);
}
.business-overview::before {
  content: "03";
  position: absolute;
  right: -1.5vw;
  top: -8vw;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(223,166,60,.09);
  font: 800 clamp(240px, 34vw, 560px)/1 var(--font-display);
}
.business-overview-inner { max-width: 1460px; margin: 0 auto; padding: clamp(92px, 10vw, 150px) var(--pad-x); }
.business-overview-head { display: grid; grid-template-columns: minmax(500px,.88fr) minmax(480px,1.12fr); gap: 32px clamp(42px, 4vw, 64px); align-items: end; }
.business-overview-head > p { grid-column: 1 / -1; color: var(--mut); font: 700 10px/1 var(--font-mono); letter-spacing: .2em; }
.business-overview-head > p span { margin-right: 15px; color: var(--brass); }
.business-overview-head h2 { font-size: clamp(44px, 5vw, 72px); line-height: 1.08; letter-spacing: .02em; white-space: nowrap; }
.business-overview-head h2 span { display: inline; }
.business-overview-lead { max-width: 720px; color: #c7cbd1; font-size: clamp(15px, 1.28vw, 18px); line-height: 1.9; text-wrap: pretty; }
.jp-keep { white-space: nowrap; }
.business-ledger { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: clamp(60px, 7vw, 100px); border-block: 1px solid var(--line-2); }
.business-ledger article { display: flex; flex-direction: column; min-height: 390px; padding: 34px clamp(24px, 3vw, 46px) 30px; }
.business-ledger article + article { border-left: 1px solid var(--line-2); }
.business-ledger-no { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.business-ledger-no b { color: var(--brass); font: 700 13px/1 var(--font-mono); }
.business-ledger-no span { color: var(--mut); font: 700 8px/1 var(--font-mono); letter-spacing: .13em; }
.business-ledger h3 { margin-top: 66px; font-size: clamp(27px, 2.4vw, 38px); line-height: 1.25; }
.business-ledger p { margin-top: 22px; color: #c0c5cd; font-size: 15px; line-height: 1.9; text-wrap: pretty; }
.business-ledger a { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: auto; padding-top: 22px; color: var(--ink); border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.business-ledger a i { color: var(--brass); font-style: normal; transition: transform .25s ease; }
.business-ledger a:hover i { transform: translateX(5px); }

.website-service.ws2 { padding-bottom: 0; }
.ws2 .ws-section-head { min-height: auto; padding-bottom: clamp(62px, 8vw, 104px); }
.ws2 .ws-section-head h2 { max-width: 1120px; font-size: clamp(48px, 5.5vw, 82px); line-height: 1.12; }
.ws2 .ws-section-head h2 span { display: inline; white-space: nowrap; }
.ws2 .ws-scenes,
.ws2 .website-order { display: none; }

.website-short {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad-x) clamp(76px, 10vw, 150px);
}

.website-short-item {
  --short-p: 0;
  display: grid;
  grid-template-columns: minmax(390px, .88fr) minmax(0, 1.42fr);
  align-items: center;
  gap: clamp(28px, 5vw, 86px);
  max-width: 1460px;
  min-height: min(86svh, 820px);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 90px) 0;
  border-top: 1px solid var(--line);
}

.website-short-item.is-salon { grid-template-columns: minmax(0, 1.42fr) minmax(390px, .88fr); }
.website-short-item.is-salon .website-short-copy { order: 2; }
.website-short-item.is-salon .website-short-browser { order: 1; }

.website-short-copy { position: relative; z-index: 2; }
.website-short-copy > span {
  color: var(--brass);
  font: 700 9px/1.4 var(--font-mono);
  letter-spacing: .18em;
}
.website-short-copy h3 {
  margin-top: 18px;
  font-size: clamp(36px, 3.3vw, 50px);
  line-height: 1.15;
  letter-spacing: .02em;
}
.website-short-copy h3 span { display: block; white-space: nowrap; }
.website-short-copy p {
  max-width: 430px;
  margin-top: 24px;
  color: var(--ink-dim);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 2;
}

.website-short-browser {
  position: relative;
  overflow: hidden;
  height: clamp(470px, 55vw, 720px);
  color: #1c211d;
  background: #eee9df;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  box-shadow: 0 46px 100px rgba(0,0,0,.46);
  transform: translateY(calc((1 - var(--short-p)) * 34px)) scale(calc(.965 + var(--short-p) * .035));
  transform-origin: center;
}

.website-short-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 13px;
  color: #828894;
  background: #171c24;
  font: 700 7px/1 var(--font-mono);
  letter-spacing: .12em;
}
.website-short-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.24); }
.website-short-bar b { margin-left: 5px; }
.website-short-tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  padding: 7px 9px;
  color: #fff;
  background: rgba(10,13,18,.82);
  font: 700 7px/1 var(--font-mono);
  letter-spacing: .12em;
}

.website-short-builder,
.website-short-salon { height: calc(100% - 28px); overflow: hidden; }
.website-short-builder > header,
.website-short-salon > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 9%;
  padding: 0 4%;
  background: #f8f5ee;
}
.website-short-builder > header strong { font: 700 clamp(13px, 1.4vw, 21px)/1 "Yu Mincho", serif; letter-spacing: .14em; }
.website-short-builder nav,
.website-short-salon nav { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 24px); font: 700 clamp(6px, .7vw, 10px)/1 sans-serif; }
.website-short-builder nav em { padding: 9px 12px; color: #fff; background: #26392e; font-style: normal; }
.website-short-builder > section,
.website-short-salon > section { position: relative; height: 66%; overflow: hidden; }
.website-short-builder > section img,
.website-short-salon > section img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.07 - var(--short-p) * .07)); }
.website-short-builder > section img { filter: brightness(.72); }
.website-short-builder > section div,
.website-short-salon > section div { position: absolute; left: 6%; top: 50%; color: #fff; transform: translateY(-50%); }
.website-short-builder > section small,
.website-short-salon > section small { font: 700 clamp(6px, .65vw, 10px)/1 sans-serif; letter-spacing: .22em; }
.website-short-builder > section h4,
.website-short-salon > section h4 { margin-top: 12px; font: 700 clamp(25px, 3.2vw, 54px)/1.18 "Yu Mincho", serif; letter-spacing: .06em; }
.website-short-builder > footer,
.website-short-salon > footer { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; height: 25%; background: #fff; }
.website-short-builder figure,
.website-short-salon figure { position: relative; overflow: hidden; }
.website-short-builder figure img,
.website-short-salon figure img { width: 100%; height: 100%; object-fit: cover; }
.website-short-builder figcaption,
.website-short-salon figcaption { position: absolute; left: 14px; bottom: 12px; padding: 6px 8px; color: #fff; background: rgba(20,24,20,.75); font: 700 8px/1 sans-serif; letter-spacing: .08em; }

.website-short-salon { color: #352d2b; background: #efe5df; }
.website-short-salon > header { background: #f8f0eb; }
.website-short-salon > header strong { font: italic 700 clamp(18px, 2.2vw, 34px)/1 Georgia, serif; }
.website-short-salon nav em { padding: 9px 12px; color: #fff; background: #845b55; font-style: normal; }
.website-short-salon > section img { filter: brightness(.66) saturate(.82); }
.website-short-salon > footer { background: #decfc8; }

.website-short-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1460px;
  margin: clamp(24px, 5vw, 70px) auto 0;
  padding: clamp(28px, 4vw, 52px);
  color: var(--ink);
  background: linear-gradient(120deg, rgba(223,166,60,.17), rgba(223,166,60,.035));
  border: 1px solid rgba(223,166,60,.36);
}
.website-short-cta p { color: var(--ink-dim); font-size: 14px; }
.website-short-cta .btn { flex: 0 0 auto; }

/* System-development entrance. Existing scroll scenes follow unchanged. */
.system-entry {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(125,159,196,.11), transparent 34%),
    linear-gradient(rgba(125,159,196,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125,159,196,.05) 1px, transparent 1px),
    #0c0f15;
  background-size: auto, 48px 48px, 48px 48px, auto;
  border-top: 1px solid var(--line);
}
.system-entry::after { content: "SYSTEM"; position: absolute; right: -1vw; bottom: -3vw; color: rgba(255,255,255,.018); font: 800 clamp(110px,18vw,280px)/.75 var(--font-display); letter-spacing: -.05em; }
.system-entry-inner { position: relative; z-index: 1; max-width: 1460px; margin: 0 auto; padding: clamp(100px, 11vw, 170px) var(--pad-x); }
.system-entry-head { display: grid; grid-template-columns: minmax(560px,1.15fr) minmax(400px,.85fr); gap: 34px clamp(40px, 4.5vw, 72px); align-items: end; }
.system-entry-head > p { grid-column: 1 / -1; color: var(--mut); font: 700 10px/1 var(--font-mono); letter-spacing: .2em; }
.system-entry-head > p span { display: inline-grid; place-items: center; width: 30px; height: 20px; margin-right: 14px; color: var(--brass); border: 1px solid var(--line-2); letter-spacing: .05em; }
.system-entry-head h2 { max-width: 880px; font-size: clamp(42px, 4.4vw, 64px); line-height: 1.14; letter-spacing: .015em; }
.system-entry-head h2 .system-line,
.system-entry-head h2 .system-line > span { white-space: nowrap; }
.system-entry-lead { max-width: 590px; color: #c7cbd2; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.95; text-wrap: pretty; }
.system-service-list { margin-top: clamp(60px, 7vw, 100px); border-top: 1px solid var(--line-2); }
.system-service-label { display: flex; align-items: center; justify-content: space-between; min-height: 70px; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.system-service-label span { font-size: 18px; font-weight: 800; }
.system-service-label small { color: var(--mut); font: 700 9px/1 var(--font-mono); letter-spacing: .16em; }
.system-service-list article { display: grid; grid-template-columns: 76px minmax(0,1fr); min-height: 150px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.system-service-list article > b { color: var(--brass); font: 700 11px/1.2 var(--font-mono); }
.system-service-list article > div { display: grid; grid-template-columns: minmax(250px,.75fr) minmax(360px,1.25fr); gap: 32px 8vw; align-items: center; }
.system-service-list h3 { font-size: clamp(23px, 2.3vw, 34px); line-height: 1.3; }
.system-service-list p { max-width: 670px; color: #bcc2cb; font-size: 15px; line-height: 1.9; }
.system-entry-next { display: flex; align-items: center; justify-content: space-between; width: min(360px,100%); margin: 42px 0 0 auto; padding: 18px 0; color: var(--ink); border-bottom: 1px solid var(--brass); font-size: 13px; font-weight: 800; }
.system-entry-next i { color: var(--brass); font-style: normal; }

/* Readability improvements within the existing system-development scenes. */
.scene-copy { max-width: min(620px, 43vw); }
.scene-copy .sc-summary { margin-top: 18px; color: var(--ink); font-size: clamp(15px, 1.25vw, 18px); font-weight: 800; line-height: 1.65; }
.scene-copy .sc-text { max-width: 590px; margin-top: 12px; color: #b9c0ca; font-size: clamp(13px, 1vw, 15px); line-height: 1.9; }
.service-row .sr-desc { color: #adb5c0; font-size: 13px; line-height: 1.75; }
.sec-lead { color: #bac0c9; line-height: 1.9; }

/* Japanese line composition: prefer phrase boundaries without flattening the design. */
.business-overview-lead,
.business-ledger p,
.website-short-copy h3,
.website-short-copy p,
.system-entry-lead,
.system-service-list h3,
.system-service-list p,
.scene-copy h2,
.scene-copy .sc-summary,
.scene-copy .sc-text,
.service-row .sr-title,
.service-row .sr-desc,
.sec-title,
.sec-lead,
.company-list dd,
.recruit-card p,
.contact-title,
.contact-lead,
.contact-note {
  overflow-wrap: normal;
  word-break: auto-phrase;
  text-wrap: pretty;
}
.sr-title > span { display: inline-block; white-space: nowrap; }
.sr-title > span + span::before { content: "\200B"; }
.company-business { display: flex; flex-wrap: wrap; gap: 5px 0; }
.company-business span { white-space: nowrap; }
.company-business span:not(:last-child)::after { content: " / "; white-space: pre; color: var(--mut); }

@media (max-width: 1100px) {
  .gnav { gap: 17px; }
  .gnav a { font-size: 9px; letter-spacing: .08em; }
  .business-overview-head,
  .system-entry-head { grid-template-columns: 1fr; }
  .business-ledger article { min-height: 420px; padding-inline: 26px; }
  .system-service-list article > div { grid-template-columns: minmax(250px,.8fr) minmax(320px,1.2fr); gap: 28px; }
}

@media (max-width: 900px) {
  .gnav,
  .head-cta { display: none; }
  .menu-btn { display: block; }
  .business-ledger { grid-template-columns: 1fr; }
  .business-ledger article { min-height: 0; padding: 34px 0 38px; }
  .business-ledger article + article { border-left: 0; border-top: 1px solid var(--line-2); }
  .website-short-item,
  .website-short-item.is-salon { grid-template-columns: 1fr; gap: 36px; min-height: 0; }
  .website-short-item.is-salon .website-short-copy,
  .website-short-item.is-salon .website-short-browser { order: initial; }
  .website-short-copy { max-width: 640px; }
  .system-service-list article > div { grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); }
}

@media (max-width: 760px) {
  .hero-inner { padding-top: 22px; }
  .hero-eyebrow { margin-bottom: 18px; }
  .hero-lead { margin-top: 18px; font-size: 12px; line-height: 1.65; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .btn { min-height: 44px; padding-inline: 16px; }
  .business-shortcuts { grid-template-columns: 1fr; margin-top: 17px; }
  .business-shortcuts a { min-height: 37px; padding: 0 8px; }
  .business-shortcuts a + a { border-left: 0; border-top: 1px solid var(--line); }
  .business-shortcuts span { font-size: 12px; }
  .hero-meta { margin-top: 18px; }

  .business-overview { background-size: 38px 38px; }
  .business-overview-inner { padding: 86px 20px; }
  .business-overview-head { gap: 24px; }
  .business-overview-head h2 { font-size: clamp(35px, 9.7vw, 41px); white-space: normal; }
  .business-overview-head h2 span { display: block; white-space: nowrap; }
  .business-overview-lead { font-size: 15px; line-height: 1.85; }
  .business-ledger { grid-template-columns: 1fr; margin-top: 52px; }
  .business-ledger article { min-height: 0; padding: 26px 0 28px; }
  .business-ledger article + article { border-left: 0; border-top: 1px solid var(--line-2); }
  .business-ledger h3 { margin-top: 34px; font-size: 29px; }
  .business-ledger p { margin-top: 15px; font-size: 14px; line-height: 1.85; }
  .business-ledger a { margin-top: 28px; font-size: 13px; }

  .ws2 .ws-section-head { min-height: auto; padding: 96px 20px 54px; }
  .ws2 .ws-section-head h2 { max-width: none; font-size: clamp(36px, 10.2vw, 44px); line-height: 1.18; }
  .ws2 .ws-section-head h2 span { display: block; white-space: nowrap; }
  .website-short { padding: 0 20px 76px; }
  .website-short-item,
  .website-short-item.is-salon { grid-template-columns: 1fr; gap: 26px; min-height: 0; padding: 56px 0 66px; }
  .website-short-item.is-salon .website-short-copy,
  .website-short-item.is-salon .website-short-browser { order: initial; }
  .website-short-copy h3 { font-size: clamp(31px, 9vw, 42px); }
  .website-short-copy h3 span { white-space: nowrap; }
  .website-short-copy p { margin-top: 18px; font-size: 13px; line-height: 1.8; }
  .website-short-browser { height: 430px; border-radius: 7px; transform: translateY(calc((1 - var(--short-p)) * 20px)) scale(calc(.98 + var(--short-p) * .02)); }
  .website-short-builder nav span,
  .website-short-salon nav span { display: none; }
  .website-short-builder > section h4,
  .website-short-salon > section h4 { font-size: 32px; }
  .website-short-cta { align-items: stretch; flex-direction: column; padding: 24px; }
  .website-short-cta .btn { width: 100%; }

  .system-entry { background-size: auto, 38px 38px, 38px 38px, auto; }
  .system-entry-inner { padding: 88px 20px; }
  .system-entry-head { gap: 24px; }
  .system-entry-head h2 { font-size: clamp(31px, 8.3vw, 36px); line-height: 1.22; }
  .system-entry-head h2 > br { display: none; }
  .system-entry-head h2 .system-line { display: block; }
  .system-entry-head h2 .system-line:first-child > span { display: block; }
  .system-entry-lead { font-size: 15px; line-height: 1.85; }
  .system-service-list { margin-top: 52px; }
  .system-service-label { min-height: 62px; }
  .system-service-list article { grid-template-columns: 38px minmax(0,1fr); min-height: 0; padding: 24px 0; }
  .system-service-list article > div { display: block; }
  .system-service-list h3 { font-size: 22px; line-height: 1.4; }
  .system-service-list p { margin-top: 10px; font-size: 13.5px; line-height: 1.8; }
  .system-entry-next { margin-top: 32px; }

  .scene-copy { max-width: none; }
  .scene-copy h2 { font-size: clamp(29px, 8.4vw, 36px); line-height: 1.25; }
  .scene-copy .sc-summary { margin-top: 15px; font-size: 15px; line-height: 1.65; }
  .scene-copy .sc-text { margin-top: 10px; color: #c0c6cf; font-size: 13px; line-height: 1.82; }
  .studio-lead,
  .studio-social-copy { color: #c0c6cf; font-size: 14px; line-height: 1.8; }
  .launch-desc { color: #c0c6cf; font-size: 13px; line-height: 1.75; }
  .company-business { display: grid; gap: 8px; }
  .company-business span:not(:last-child)::after { content: none; }
}

@media (prefers-reduced-motion: reduce) {
  .business-shortcuts a,
  .business-ledger a,
  .website-short-browser,
  .website-short-builder > section img,
  .website-short-salon > section img { transition: none !important; transform: none !important; }
}
