:root {
  color-scheme: light;
  --ink: #151815;
  --muted: #626861;
  --subtle: #8a9088;
  --paper: #f7f3eb;
  --paper-2: #efe8dc;
  --white: #fffdf8;
  --line: rgba(21, 24, 21, 0.13);
  --line-soft: rgba(21, 24, 21, 0.08);
  --olive: #59694d;
  --olive-dark: #303b2d;
  --champagne: #c6a76a;
  --clay: #b26f54;
  --danger: #b85f52;
  --warning: #c6a76a;
  --success: #5f7f57;
  --graphite: #262a27;
  --shadow: 0 24px 80px rgba(33, 31, 26, 0.12);
  --radius: 8px;
  font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#top,
#diagnosis,
#problems,
#services,
#tools,
#brief,
#brief-generator,
#contact,
#flow-title {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: 0;
}

ul,
ol {
  margin: 0;
}

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(20px, 4vw, 54px);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(255, 253, 248, 0.94);
  border-color: var(--line);
  box-shadow: 0 8px 32px rgba(33, 31, 26, 0.06);
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-word {
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
}

.brand-sub {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  color: var(--graphite);
  font-size: 14px;
  font-weight: 850;
}

.site-nav a {
  opacity: 0.82;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-tool,
.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  opacity: 1;
}

.nav-tool {
  border: 1px solid rgba(198, 167, 106, 0.62);
  border-radius: 999px;
  background: rgba(198, 167, 106, 0.16);
  color: var(--ink);
}

.nav-contact {
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 99px;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(42deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-42deg);
}

.eyebrow,
.section-kicker,
.app-label {
  color: var(--olive);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 16px 42px rgba(21, 24, 21, 0.22);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.74);
  color: var(--ink);
}

.time-highlight {
  display: inline-block;
  color: inherit;
  font-size: 1em;
  font-weight: 950;
  line-height: 0.95;
}

.button .time-highlight,
.tool-tab .time-highlight {
  margin-right: 1px;
}

.app-head .time-highlight {
  font-size: 1.24em;
}

.diagnosis-title-line {
  display: block;
}

.result-label .time-highlight {
  font-size: 1em;
}

.text-link {
  width: fit-content;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 118px clamp(20px, 4vw, 56px) 64px;
  overflow: hidden;
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 18, 16, 0.82) 0%, rgba(16, 18, 16, 0.66) 36%, rgba(16, 18, 16, 0.24) 68%, rgba(16, 18, 16, 0.46) 100%),
    linear-gradient(0deg, rgba(16, 18, 16, 0.76) 0%, rgba(16, 18, 16, 0.06) 48%, rgba(255, 253, 248, 0.2) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.hero-copy {
  padding-top: 26px;
}

.hero-copy .eyebrow {
  margin-bottom: 20px;
}

.hero h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 950;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.28);
}

.hero-copy p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 24px;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 650;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.26);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-tool-callout {
  display: grid;
  width: min(100%, 560px);
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.13);
  color: var(--white);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, background 180ms ease;
}

.hero-tool-callout:hover {
  transform: translateY(-2px);
  background: rgba(255, 253, 248, 0.18);
}

.hero-tool-callout span {
  color: var(--champagne);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.hero-tool-callout strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 950;
  line-height: 1.35;
}

.hero-tool-callout small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  opacity: 1;
  pointer-events: none;
}

.hero-visual img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.02);
}

.hero .eyebrow {
  color: rgba(255, 253, 248, 0.78);
}

.hero .button-primary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.hero .button-secondary {
  border-color: rgba(255, 253, 248, 0.32);
  background: rgba(255, 253, 248, 0.12);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.diagnosis-app {
  position: relative;
  z-index: 3;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(21, 24, 21, 0.12);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.app-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.app-head h2 {
  margin-top: 4px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 950;
}

.app-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.app-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(247, 243, 235, 0.72);
}

.app-field legend {
  padding: 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.app-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.app-field label:has(input:checked) {
  background: var(--white);
  box-shadow: 0 8px 24px rgba(33, 31, 26, 0.07);
}

.app-field input {
  accent-color: var(--olive);
}

.app-result {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--graphite);
  color: var(--white);
  --score-color: var(--warning);
}

.app-result[data-level="low"],
.tool-result[data-level="low"] {
  --score-color: var(--danger);
}

.app-result[data-level="mid"],
.tool-result[data-level="mid"] {
  --score-color: var(--warning);
}

.app-result[data-level="high"],
.tool-result[data-level="high"] {
  --score-color: var(--success);
}

.score-ring {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--graphite) 57%, transparent 58%),
    conic-gradient(var(--score-color, var(--champagne)) calc(var(--score, 68) * 1%), rgba(255, 253, 248, 0.14) 0);
}

.score-ring span {
  font-size: 24px;
  font-weight: 950;
}

.result-label {
  display: block;
  color: rgba(255, 253, 248, 0.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-result strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
}

.app-result p {
  margin-top: 8px;
  color: rgba(255, 253, 248, 0.74);
  font-size: 14px;
  line-height: 1.65;
}

.app-result small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 253, 248, 0.86);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.result-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.12);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease;
}

.result-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 253, 248, 0.18);
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.proof-grid span {
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 10px;
  border-left: 1px solid rgba(255, 253, 248, 0.13);
  color: rgba(255, 253, 248, 0.82);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.proof-grid span:first-child {
  border-left: 0;
}

.brief-feature {
  padding: clamp(72px, 9vw, 118px) 0;
  background:
    linear-gradient(180deg, var(--white), var(--paper));
  border-bottom: 1px solid var(--line);
}

.brief-feature-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.98fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.brief-feature-copy h2 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 950;
}

.brief-feature-copy p:not(.section-kicker) {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 650;
}

.brief-feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.brief-feature-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(95, 127, 87, 0.2);
  border-radius: 999px;
  background: rgba(95, 127, 87, 0.08);
  color: var(--olive-dark);
  font-size: 13px;
  font-weight: 950;
}

.brief-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.brief-feature-preview {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 16px;
  background: var(--graphite);
  color: var(--white);
  box-shadow: var(--shadow);
}

.brief-feature-preview span {
  color: var(--champagne);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brief-feature-preview strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.brief-feature-preview dl {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.brief-feature-preview div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
}

.brief-feature-preview dt {
  color: var(--champagne);
  font-size: 12px;
  font-weight: 950;
}

.brief-feature-preview dd {
  margin: 0;
  color: rgba(255, 253, 248, 0.86);
  font-weight: 760;
  line-height: 1.55;
}

.problem-section,
.services {
  padding: clamp(76px, 10vw, 132px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-heading .section-kicker,
.studio-copy .section-kicker,
.tool-intro .section-kicker,
.contact-inner .section-kicker {
  display: block;
  margin-bottom: 16px;
}

.section-heading h2,
.studio-copy h2,
.tool-intro h2,
.contact-inner h2 {
  color: var(--ink);
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 950;
}

.section-heading p,
.studio-copy p,
.tool-intro p,
.contact-inner p {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 650;
}

.problem-lead {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: end;
  margin-bottom: 34px;
}

.problem-lead .section-heading {
  margin-bottom: 0;
}

.section-image {
  margin: 0;
}

.section-image img,
.service-visual-strip img,
.tool-image img,
.contact-image img {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.problem-grid article,
.service-item,
.tool-cards a,
.tool-cards div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 48px rgba(33, 31, 26, 0.06);
}

.problem-grid article {
  min-height: 260px;
  padding: 22px;
}

.problem-grid span,
.service-index,
.flow-list span,
.tool-cards span {
  display: inline-flex;
  color: var(--champagne);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.problem-grid h3,
.service-item h3,
.flow-list h3 {
  margin-top: 22px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 920;
}

.problem-grid p,
.service-item p,
.flow-list p,
.tool-cards p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 620;
}

.studio-section {
  padding: clamp(76px, 10vw, 132px) 0;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.studio-grid,
.tool-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.studio-image img {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.studio-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.studio-list div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.studio-list strong {
  color: var(--ink);
  font-weight: 950;
}

.studio-list span {
  color: var(--muted);
  font-weight: 650;
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(280px, 1fr);
  gap: 44px;
  max-width: none;
  align-items: end;
}

.service-visual-strip {
  display: none;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 14px;
  margin-bottom: 18px;
}

.service-visual-strip img {
  min-height: 220px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: end;
  min-height: 430px;
  padding: 26px;
  border: 0;
  background: var(--graphite);
  color: var(--white);
  box-shadow: 0 24px 76px rgba(33, 31, 26, 0.16);
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(19, 22, 19, 0.1) 0%, rgba(19, 22, 19, 0.58) 48%, rgba(19, 22, 19, 0.92) 100%),
    linear-gradient(90deg, rgba(19, 22, 19, 0.7), rgba(19, 22, 19, 0.18));
}

.service-card-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.02);
}

.service-item:nth-child(2) .service-card-image {
  object-position: 54% center;
}

.service-item:nth-child(3) .service-card-image {
  object-position: 48% center;
}

.service-item:nth-child(4) .service-card-image {
  object-position: 58% center;
}

.service-item h3 {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.service-item p {
  color: rgba(255, 253, 248, 0.86);
}

.service-item ul {
  color: var(--white);
}

.service-item ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin-top: 18px;
  list-style: none;
}

.service-item li {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 253, 248, 0.92);
  font-size: 14px;
  font-weight: 850;
}

.service-item li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--champagne);
}

.ai-section {
  padding: clamp(76px, 10vw, 132px) 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.ai-image {
  margin: 0;
}

.ai-image img {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.ai-copy h2 {
  color: var(--ink);
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 950;
}

.ai-copy p {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 650;
}

.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.deliverable-grid article {
  min-height: 170px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.deliverable-grid span {
  color: var(--champagne);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.deliverable-grid strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.deliverable-grid p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.65;
}

.tool-section {
  padding: clamp(76px, 10vw, 132px) 0;
  background: var(--graphite);
  color: var(--white);
}

.tool-intro {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  margin-bottom: 26px;
}

.tool-intro h2 {
  color: var(--white);
}

.tool-intro p {
  color: rgba(255, 253, 248, 0.68);
}

.tool-image {
  margin: 0;
}

.tool-suite {
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.06);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.flagship-tool {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(260px, 0.38fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  margin-bottom: 24px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(198, 167, 106, 0.42);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(244, 239, 230, 0.92));
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
}

.flagship-tool span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flagship-tool h3 {
  color: var(--ink);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 950;
  line-height: 1.18;
}

.flagship-tool p {
  max-width: 760px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 650;
}

.flagship-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.flagship-points li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(198, 167, 106, 0.16);
  color: var(--olive-dark);
  font-size: 13px;
  font-weight: 950;
}

.flagship-action {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.flagship-tool .button {
  min-width: 240px;
  background: var(--ink);
  color: var(--white);
}

.flagship-action small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.65;
  text-align: center;
}

.tool-suite-head {
  padding: 24px clamp(18px, 3vw, 30px);
  border-bottom: 1px solid rgba(255, 253, 248, 0.14);
}

.tool-suite-head span {
  color: var(--champagne);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-suite-head h3 {
  margin-top: 8px;
  color: var(--white);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 950;
}

.tool-suite-head p {
  max-width: 760px;
  margin-top: 8px;
  color: rgba(255, 253, 248, 0.68);
  font-weight: 650;
}

.tool-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.14);
}

.tool-tab {
  min-height: 56px;
  border: 0;
  border-right: 1px solid rgba(255, 253, 248, 0.14);
  background: transparent;
  color: rgba(255, 253, 248, 0.72);
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.tool-tab:last-child {
  border-right: 0;
}

.tool-tab.is-active {
  background: var(--white);
  color: var(--ink);
}

.tool-panel {
  display: none;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(20px, 3.6vw, 36px);
}

.tool-panel.is-active {
  display: grid;
}

.tool-panel h3 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 950;
}

.tool-panel p {
  margin-top: 12px;
  color: rgba(255, 253, 248, 0.68);
  font-weight: 650;
}

.tool-mini-label {
  display: block;
  margin-bottom: 12px;
  color: var(--champagne);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-panel .text-link {
  margin-top: 24px;
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.24);
}

.score-guide,
.mini-tool,
.tool-checks,
.sns-checks {
  display: grid;
  gap: 10px;
}

.score-guide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.score-guide div,
.mini-tool label,
.tool-result {
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.08);
}

.score-guide div {
  min-height: 128px;
  padding: 18px;
}

.score-guide strong {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.3;
}

.score-guide p {
  margin-top: 8px;
  font-size: 14px;
}

.guide-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.guide-dot.is-low {
  background: var(--danger);
}

.guide-dot.is-mid {
  background: var(--warning);
}

.guide-dot.is-high {
  background: var(--success);
}

.mini-tool {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-tool label {
  display: grid;
  gap: 8px;
  padding: 14px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 13px;
  font-weight: 900;
}

.mini-tool input[type="number"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.1);
  color: var(--white);
  padding: 0 12px;
  font-weight: 850;
}

.tool-result {
  --score-color: var(--warning);
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  align-items: center;
  grid-column: 1 / -1;
  padding: 18px;
}

.score-ring.compact {
  width: 70px;
  height: 70px;
}

.score-ring.compact span {
  font-size: 22px;
}

.tool-result strong {
  display: block;
  color: var(--white);
  font-size: 22px;
  line-height: 1.3;
  margin-top: 4px;
}

.tool-result p {
  font-size: 14px;
}

.tool-checks,
.sns-checks {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-checks label,
.sns-checks label {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.tool-field {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.08);
}

.tool-field legend {
  padding: 0 6px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 13px;
  font-weight: 950;
}

.tool-field label {
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 12px;
  background: rgba(255, 253, 248, 0.08);
}

.tool-result small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.mini-diagnosis-result .result-cta {
  margin-top: 12px;
}

.mini-tool input[type="checkbox"] {
  accent-color: var(--success);
}

.flow-band {
  padding: clamp(76px, 9vw, 116px) 0;
  background:
    linear-gradient(180deg, var(--white), #f4efe6);
  border-block: 1px solid var(--line);
}

.flow-band .section-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.flow-band .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.flow-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.flow-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21, 24, 21, 0.02), rgba(21, 24, 21, 0.16)),
    radial-gradient(circle at 85% 15%, rgba(198, 167, 106, 0.22), transparent 34%);
}

.flow-visual img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.flow-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
  border: 0;
}

.flow-list li {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  min-height: 134px;
  width: min(100%, 560px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 18px 54px rgba(33, 31, 26, 0.08);
  backdrop-filter: blur(14px);
}

.flow-list li:nth-child(2) {
  margin-left: 34px;
}

.flow-list li:nth-child(3) {
  margin-left: 68px;
}

.flow-list li:nth-child(4) {
  margin-left: 102px;
}

.flow-list span {
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--champagne);
  font-size: 13px;
  box-shadow: 0 12px 34px rgba(33, 31, 26, 0.16);
}

.flow-list h3,
.flow-list p {
  grid-column: 2;
}

.flow-list h3 {
  margin-top: 0;
}

.contact-section {
  padding: clamp(78px, 10vw, 136px) 0;
  background:
    linear-gradient(180deg, var(--paper), #eae0d0);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.92fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.contact-inner {
  max-width: 720px;
}

.contact-inner p {
  max-width: 650px;
}

.contact-inner .button {
  margin-top: 32px;
}

.contact-image {
  margin: 0;
}

.contact-image img {
  aspect-ratio: 16 / 10;
}

.company-page {
  background: var(--paper);
}

.company-hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 72px;
  background: var(--ink);
  color: var(--white);
}

.company-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 18, 16, 0.88) 0%, rgba(16, 18, 16, 0.7) 44%, rgba(16, 18, 16, 0.3) 100%),
    linear-gradient(0deg, rgba(16, 18, 16, 0.72) 0%, rgba(16, 18, 16, 0.04) 58%, rgba(255, 253, 248, 0.12) 100%);
  pointer-events: none;
}

.company-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.company-hero-bg img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.04);
}

.company-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(320px, 0.98fr) minmax(300px, 0.58fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.company-hero-copy h1 {
  max-width: 800px;
  color: var(--white);
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 950;
  line-height: 1.04;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

.company-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.75;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.24);
}

.company-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.company-hero .eyebrow {
  margin-bottom: 18px;
  color: rgba(255, 253, 248, 0.78);
}

.company-hero .button-primary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.company-hero .button-secondary {
  border-color: rgba(255, 253, 248, 0.32);
  background: rgba(255, 253, 248, 0.12);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.company-summary-panel {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.14);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.company-summary-panel > span {
  color: var(--champagne);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-summary-panel > strong {
  color: var(--white);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 950;
  line-height: 1;
}

.company-summary-panel dl {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 253, 248, 0.18);
}

.company-summary-panel div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
}

.company-summary-panel dt,
.company-summary-panel dd {
  margin: 0;
}

.company-summary-panel dt {
  color: rgba(255, 253, 248, 0.62);
  font-size: 12px;
  font-weight: 900;
}

.company-summary-panel dd {
  color: rgba(255, 253, 248, 0.9);
  font-size: 14px;
  font-weight: 850;
}

.company-statement {
  padding: clamp(62px, 8vw, 104px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.company-statement-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.company-statement h2,
.company-overview-copy h2,
.company-cta h2 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 950;
}

.company-statement-grid > p,
.company-overview-copy p,
.company-cta p {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 650;
  line-height: 1.9;
}

.company-services {
  padding: clamp(72px, 9vw, 118px) 0;
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
}

.company-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.62);
  box-shadow: 0 18px 70px rgba(33, 31, 26, 0.08);
}

.company-service-grid article {
  min-height: 270px;
  padding: 24px;
  border-left: 1px solid var(--line);
}

.company-service-grid article:first-child {
  border-left: 0;
}

.company-service-grid span {
  color: var(--champagne);
  font-size: 13px;
  font-weight: 950;
}

.company-service-grid h3 {
  margin-top: 28px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
}

.company-service-grid p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.75;
}

.company-overview {
  padding: clamp(72px, 9vw, 118px) 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(217, 74, 134, 0.09), transparent 26%),
    var(--white);
}

.company-overview-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.54fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.company-overview-copy {
  position: sticky;
  top: 110px;
}

.company-overview-copy p {
  margin-top: 18px;
}

.company-profile-table {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(247, 243, 235, 0.72);
  box-shadow: var(--shadow);
}

.company-profile-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 64px;
  border-top: 1px solid var(--line);
}

.company-profile-table div:first-child {
  border-top: 0;
}

.company-profile-table dt,
.company-profile-table dd {
  margin: 0;
  padding: 18px 20px;
}

.company-profile-table dt {
  display: grid;
  align-items: center;
  background: rgba(21, 24, 21, 0.04);
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
}

.company-profile-table dd {
  color: var(--ink);
  font-weight: 750;
  line-height: 1.8;
}

.company-profile-table a {
  color: var(--olive);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.company-cta {
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--graphite);
  color: var(--white);
}

.company-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.company-cta .section-kicker {
  color: var(--champagne);
}

.company-cta h2 {
  color: var(--white);
}

.company-cta p {
  max-width: 720px;
  margin-top: 16px;
  color: rgba(255, 253, 248, 0.74);
}

.company-cta .button-primary {
  flex: 0 0 auto;
  background: var(--white);
  color: var(--ink);
}

.site-footer {
  padding: 30px 0;
  background: var(--ink);
  color: rgba(255, 253, 248, 0.7);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  font-weight: 750;
}

.contact-page {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 130px 0 76px;
  background:
    radial-gradient(circle at 10% 16%, rgba(198, 167, 106, 0.16), transparent 28%),
    linear-gradient(180deg, var(--paper), #e9dfce);
}

.contact-page-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(340px, 1.18fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.contact-page-copy {
  position: sticky;
  top: 110px;
}

.contact-page-copy h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 950;
  line-height: 1.18;
}

.contact-page-copy p:not(.section-kicker) {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 650;
}

.contact-page-copy .text-link {
  margin-top: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
  font-weight: 650;
}

.contact-form input {
  min-height: 48px;
}

.contact-form textarea {
  min-height: 260px;
  resize: vertical;
  line-height: 1.75;
}

.contact-form small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.diagnosis-prefill-note {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--success);
  border-radius: var(--radius);
  background: rgba(95, 127, 87, 0.1);
  color: var(--olive-dark);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.75;
}

.responsibility-grid span {
  color: var(--champagne);
  font-weight: 950;
}

.responsibility-grid span {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.responsibility-grid h3 {
  margin-top: 20px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.28;
}

.responsibility-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.brief-hero {
  min-height: 92svh;
  display: grid;
  align-items: center;
  padding: 126px 0 72px;
  background:
    linear-gradient(90deg, rgba(21, 24, 21, 0.9) 0%, rgba(21, 24, 21, 0.72) 48%, rgba(21, 24, 21, 0.36) 100%),
    url("../images/consulting-workshop.webp") center / cover;
  color: var(--white);
}

.brief-hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.98fr) minmax(320px, 0.78fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
}

.brief-hero-copy h1 {
  max-width: 840px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 950;
  line-height: 1.12;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.28);
}

.brief-hero-copy p:not(.section-kicker) {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 253, 248, 0.8);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 650;
}

.brief-hero-copy .section-kicker {
  margin-bottom: 18px;
  color: rgba(255, 253, 248, 0.72);
}

.brief-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.brief-trust-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.1);
  color: rgba(255, 253, 248, 0.88);
  font-size: 12px;
  font-weight: 900;
}

.brief-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.brief-hero .button-primary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.brief-hero .button-secondary {
  border-color: rgba(255, 253, 248, 0.3);
  background: rgba(255, 253, 248, 0.1);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.brief-hero-panel {
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.brief-hero-panel span {
  color: var(--champagne);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brief-hero-panel ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin-top: 18px;
  list-style: none;
}

.brief-hero-panel li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 253, 248, 0.88);
  font-weight: 850;
  line-height: 1.55;
}

.brief-hero-panel li::before {
  content: "";
  position: absolute;
  top: 0.73em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--champagne);
}

.responsibility-band {
  padding: clamp(72px, 9vw, 116px) 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.responsibility-grid article {
  min-height: 250px;
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 48px rgba(33, 31, 26, 0.06);
}

.brief-workspace {
  padding: clamp(74px, 9vw, 120px) 0;
  background:
    linear-gradient(180deg, var(--paper), #ece3d4);
}

.brief-workspace-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.98fr) minmax(360px, 0.82fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.brief-form {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.brief-form-head {
  padding: 0 0 8px;
}

.brief-form-head .section-kicker,
.brief-output-head .section-kicker {
  margin-bottom: 12px;
}

.brief-form-head h2,
.brief-output-head h2 {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 950;
}

.brief-form-head p {
  max-width: 720px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 650;
}

.brief-step {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 16px 54px rgba(33, 31, 26, 0.06);
}

.brief-step legend {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.brief-step legend span {
  color: var(--champagne);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.brief-field-grid,
.brief-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.brief-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.brief-form input[type="text"],
.brief-form textarea,
.brief-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
  font-weight: 650;
}

.brief-form input[type="text"],
.brief-form select {
  min-height: 48px;
}

.brief-form textarea {
  min-height: 104px;
  resize: vertical;
  line-height: 1.75;
}

.brief-checkbox-grid label,
.brief-radio-stack label {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(247, 243, 235, 0.68);
  cursor: pointer;
}

.brief-checkbox-grid input,
.brief-radio-stack input {
  accent-color: var(--olive);
}

.brief-checkbox-grid label:has(input:checked),
.brief-radio-stack label:has(input:checked) {
  background: var(--white);
  box-shadow: 0 10px 28px rgba(33, 31, 26, 0.07);
}

.brief-radio-stack {
  display: grid;
  gap: 10px;
}

.brief-form-actions,
.brief-output-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.brief-form-actions {
  padding-top: 4px;
}

.brief-output {
  position: sticky;
  top: 96px;
  min-width: 0;
}

.brief-output-card {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brief-output-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.brief-score {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--graphite);
  color: var(--white);
  --score-ring-color: var(--warning);
  box-shadow: 0 14px 38px rgba(33, 31, 26, 0.16);
}

.brief-score[data-level="low"] {
  --score-ring-color: var(--danger);
}

.brief-score[data-level="mid"] {
  --score-ring-color: var(--warning);
}

.brief-score[data-level="high"] {
  --score-ring-color: var(--success);
}

.brief-score span {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--graphite) 58%, transparent 59%),
    conic-gradient(var(--score-ring-color) calc(var(--score, 0) * 1%), rgba(255, 253, 248, 0.14) 0);
  font-size: 23px;
  font-weight: 950;
}

.brief-score small {
  margin-top: -24px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 10px;
  font-weight: 900;
}

.brief-route {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.brief-route span {
  display: block;
  color: var(--olive);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brief-route strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.brief-route p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.75;
}

.brief-output-text {
  width: 100%;
  max-height: 56svh;
  overflow: auto;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--graphite);
  color: rgba(255, 253, 248, 0.9);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.72;
  white-space: pre-wrap;
}

.brief-output-actions .button,
.brief-output-actions .text-link {
  min-height: 46px;
}

.brief-pdf-help {
  margin: -4px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(198, 167, 106, 0.32);
  border-radius: var(--radius);
  background: rgba(247, 243, 235, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.7;
}

.brief-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.7;
}

.brief-print-sheet {
  display: none;
}

.brief-print-toolbar {
  display: none;
}

body.is-brief-print-mode {
  background: #ffffff !important;
}

body.is-brief-print-mode > .site-header,
body.is-brief-print-mode > main,
body.is-brief-print-mode > .site-footer,
body.is-brief-print-mode #kuryu-production-brief > .site-header,
body.is-brief-print-mode #kuryu-production-brief > main,
body.is-brief-print-mode #kuryu-production-brief > .site-footer {
  display: none !important;
}

body.is-brief-print-mode .brief-print-sheet {
  display: block;
  width: min(1120px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(14px, 3vw, 28px);
  background: #ffffff;
  color: #111111;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

body.is-brief-print-mode .brief-print-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #f7f7f7;
  color: #111111;
}

body.is-brief-print-mode .brief-print-toolbar strong {
  font-size: 14px;
}

body.is-brief-print-mode .brief-print-toolbar span {
  color: #555555;
  font-size: 12px;
  font-weight: 700;
}

body.is-brief-print-mode .brief-print-toolbar button {
  min-height: 36px;
  border: 1px solid #111111;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

body.is-brief-print-mode .brief-print-toolbar .brief-print-primary {
  background: #111111;
  color: #ffffff;
}

.brief-print-sheet .po-sheet,
.brief-print-sheet .po-sheet * {
  box-sizing: border-box;
  color: #111111;
  box-shadow: none;
  text-shadow: none;
}

.brief-print-sheet .po-sheet {
  display: grid;
  gap: 9px;
  width: 100%;
  margin: 0;
}

.brief-print-sheet .po-header,
.brief-print-sheet .po-parties,
.brief-print-sheet .po-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.brief-print-sheet .po-header {
  align-items: start;
  padding-bottom: 7px;
  border-bottom: 2px solid #111111;
}

.brief-print-sheet .po-label {
  margin: 0 0 2px;
  color: #555555;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brief-print-sheet .po-header h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0.12em;
}

.brief-print-sheet .po-meta {
  display: grid;
  gap: 4px;
  justify-self: end;
  min-width: 190px;
  margin: 0;
}

.brief-print-sheet .po-meta div,
.brief-print-sheet .po-subject dl div,
.brief-print-sheet .po-notes dl div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 7px;
}

.brief-print-sheet .po-meta dt,
.brief-print-sheet .po-subject dt,
.brief-print-sheet .po-notes dt {
  margin: 0;
  color: #555555;
  font-weight: 700;
}

.brief-print-sheet .po-meta dd,
.brief-print-sheet .po-subject dd,
.brief-print-sheet .po-notes dd {
  margin: 0;
  font-weight: 700;
}

.brief-print-sheet .po-recipient,
.brief-print-sheet .po-issuer,
.brief-print-sheet .po-subject,
.brief-print-sheet .po-notes,
.brief-print-sheet .po-checks > div {
  border: 1px solid #111111;
  padding: 7px 9px;
}

.brief-print-sheet .po-recipient span,
.brief-print-sheet .po-issuer span {
  display: block;
  margin-bottom: 8px;
  color: #555555;
  font-size: 12px;
  font-weight: 700;
}

.brief-print-sheet .po-recipient strong,
.brief-print-sheet .po-issuer strong {
  display: block;
  min-height: 22px;
  font-size: 18px;
  line-height: 1.35;
}

.brief-print-sheet .po-issuer {
  position: relative;
  min-height: 86px;
  padding-right: 76px;
}

.brief-print-sheet .po-issuer p {
  margin: 2px 0 0;
  font-size: 12px;
}

.brief-print-sheet .po-stamp {
  position: absolute;
  top: 13px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(188, 24, 24, 0.82);
  border-radius: 50%;
  color: rgba(188, 24, 24, 0.86);
  transform: rotate(-8deg);
}

.brief-print-sheet .po-stamp::before {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(188, 24, 24, 0.64);
  border-radius: 50%;
  content: "";
}

.brief-print-sheet .po-stamp span {
  position: relative;
  z-index: 1;
  color: rgba(188, 24, 24, 0.88);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  writing-mode: vertical-rl;
}

.brief-print-sheet .po-subject dl,
.brief-print-sheet .po-notes dl {
  display: grid;
  gap: 3px;
  margin: 0;
}

.brief-print-sheet .po-table {
  width: 100%;
  border-collapse: collapse;
}

.brief-print-sheet .po-table th,
.brief-print-sheet .po-table td {
  border: 1px solid #111111;
  padding: 5px 6px;
  vertical-align: top;
  font-size: 12px;
}

.brief-print-sheet .po-table th {
  background: #efefef;
  font-weight: 800;
  text-align: center;
}

.brief-print-sheet .po-table td:nth-child(1),
.brief-print-sheet .po-table td:nth-child(3),
.brief-print-sheet .po-table td:nth-child(4) {
  text-align: center;
  white-space: nowrap;
}

.brief-print-sheet .po-table td:nth-child(5),
.brief-print-sheet .po-table td:nth-child(6),
.brief-print-sheet .po-table tfoot td {
  text-align: right;
  white-space: nowrap;
}

.brief-print-sheet .po-table td strong,
.brief-print-sheet .po-table td span {
  display: block;
}

.brief-print-sheet .po-table td span {
  margin-top: 2px;
  color: #555555;
  font-size: 11px;
  line-height: 1.35;
}

.brief-print-sheet .po-table tfoot th,
.brief-print-sheet .po-table tfoot td {
  font-size: 14px;
  font-weight: 900;
}

.brief-print-sheet .po-notes h2,
.brief-print-sheet .po-checks h2 {
  margin: 0 0 5px;
  font-size: 14px;
}

.brief-print-sheet .po-checks ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding-left: 18px;
}

.brief-print-sheet .po-checks li {
  font-size: 11px;
  line-height: 1.35;
}

.brief-print-sheet .po-footer-note {
  margin-top: 2px;
  padding-top: 6px;
  border-top: 1px solid #999999;
  color: #555555;
  font-size: 11px;
}

@media (max-width: 700px) {
  body.is-brief-print-mode {
    overflow-x: hidden;
  }

  body.is-brief-print-mode .brief-print-sheet {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 12px;
    overflow-x: hidden;
    font-size: 12px;
  }

  body.is-brief-print-mode .brief-print-toolbar {
    position: sticky;
    top: 8px;
    z-index: 10;
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    padding: 12px;
  }

  body.is-brief-print-mode .brief-print-toolbar strong,
  body.is-brief-print-mode .brief-print-toolbar span,
  body.is-brief-print-mode .brief-print-toolbar button {
    width: 100%;
  }

  .brief-print-sheet .po-sheet {
    gap: 10px;
  }

  .brief-print-sheet .po-header,
  .brief-print-sheet .po-parties,
  .brief-print-sheet .po-checks {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .brief-print-sheet .po-header {
    padding-top: 6px;
  }

  .brief-print-sheet .po-header h1 {
    font-size: 30px;
  }

  .brief-print-sheet .po-meta {
    justify-self: stretch;
    min-width: 0;
  }

  .brief-print-sheet .po-meta div,
  .brief-print-sheet .po-subject dl div,
  .brief-print-sheet .po-notes dl div {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .brief-print-sheet .po-recipient,
  .brief-print-sheet .po-issuer,
  .brief-print-sheet .po-subject,
  .brief-print-sheet .po-notes,
  .brief-print-sheet .po-checks > div {
    min-width: 0;
    padding: 10px;
  }

  .brief-print-sheet .po-recipient strong,
  .brief-print-sheet .po-issuer strong {
    min-height: 0;
    font-size: 18px;
    overflow-wrap: anywhere;
  }

  .brief-print-sheet .po-issuer {
    min-height: 98px;
    padding-right: 70px;
  }

  .brief-print-sheet .po-stamp {
    top: 12px;
    right: 10px;
    width: 48px;
    height: 48px;
  }

  .brief-print-sheet .po-table,
  .brief-print-sheet .po-table thead,
  .brief-print-sheet .po-table tbody,
  .brief-print-sheet .po-table tfoot,
  .brief-print-sheet .po-table tr,
  .brief-print-sheet .po-table th,
  .brief-print-sheet .po-table td {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .brief-print-sheet .po-table {
    border: 1px solid #111111;
  }

  .brief-print-sheet .po-table thead {
    display: none;
  }

  .brief-print-sheet .po-table tbody tr {
    border-bottom: 1px solid #111111;
  }

  .brief-print-sheet .po-table td,
  .brief-print-sheet .po-table th {
    border-width: 0 0 1px;
    font-size: 12px;
    white-space: normal !important;
    text-align: left !important;
  }

  .brief-print-sheet .po-table tbody td {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
  }

  .brief-print-sheet .po-table tbody td::before {
    color: #555555;
    font-weight: 800;
  }

  .brief-print-sheet .po-table tbody td:nth-child(1)::before {
    content: "品番";
  }

  .brief-print-sheet .po-table tbody td:nth-child(2)::before {
    content: "品名・内容";
  }

  .brief-print-sheet .po-table tbody td:nth-child(3)::before {
    content: "数量";
  }

  .brief-print-sheet .po-table tbody td:nth-child(4)::before {
    content: "単位";
  }

  .brief-print-sheet .po-table tbody td:nth-child(5)::before {
    content: "単価";
  }

  .brief-print-sheet .po-table tbody td:nth-child(6)::before {
    content: "金額";
  }

  .brief-print-sheet .po-table td span {
    overflow-wrap: anywhere;
  }

  .brief-print-sheet .po-table tfoot tr {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
  }

  .brief-print-sheet .po-table tfoot th,
  .brief-print-sheet .po-table tfoot td {
    border: 0;
    text-align: left !important;
  }

  .brief-print-sheet .po-table tfoot td {
    border-left: 1px solid #111111;
    font-size: 14px;
    overflow-wrap: anywhere;
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  html,
  body {
    background: #ffffff !important;
    color: #111111 !important;
  }

  body > .site-header,
  body > main,
  body > .site-footer,
  #kuryu-production-brief > .site-header,
  #kuryu-production-brief > main,
  #kuryu-production-brief > .site-footer {
    display: none !important;
  }

  .brief-print-toolbar {
    display: none !important;
  }

  .brief-print-sheet {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    color: #111111 !important;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif !important;
    font-size: 9.2pt !important;
    line-height: 1.42 !important;
  }

  .po-sheet,
  .po-sheet * {
    box-sizing: border-box;
    color: #111111 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .po-sheet {
    display: grid;
    gap: 9px;
    width: 100%;
    margin: 0;
  }

  .po-header,
  .po-parties,
  .po-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .po-header {
    align-items: start;
    padding-bottom: 7px;
    border-bottom: 2px solid #111111;
  }

  .po-label {
    margin: 0 0 2px;
    color: #555555 !important;
    font-size: 8pt !important;
    font-weight: 700;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
  }

  .po-header h1 {
    margin: 0;
    font-size: 21pt;
    line-height: 1.1;
    letter-spacing: 0.12em !important;
  }

  .po-meta {
    display: grid;
    gap: 4px;
    justify-self: end;
    min-width: 190px;
    margin: 0;
  }

  .po-meta div,
  .po-subject dl div,
  .po-notes dl div {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 7px;
  }

  .po-meta dt,
  .po-subject dt,
  .po-notes dt {
    margin: 0;
    color: #555555 !important;
    font-weight: 700;
  }

  .po-meta dd,
  .po-subject dd,
  .po-notes dd {
    margin: 0;
    font-weight: 700;
  }

  .po-parties {
    align-items: stretch;
  }

  .po-recipient,
  .po-issuer,
  .po-subject,
  .po-notes,
  .po-checks > div {
    border: 1px solid #111111;
    padding: 7px 9px;
    break-inside: avoid;
  }

  .po-recipient span,
  .po-issuer span {
    display: block;
    margin-bottom: 8px;
    color: #555555 !important;
    font-size: 8pt !important;
    font-weight: 700;
  }

  .po-recipient strong,
  .po-issuer strong {
    display: block;
    min-height: 22px;
    font-size: 12.5pt;
    line-height: 1.35;
  }

  .po-issuer p {
    margin: 2px 0 0;
    font-size: 8.6pt !important;
  }

  .po-issuer {
    position: relative;
    min-height: 70px;
    padding-right: 76px;
  }

  .po-stamp {
    position: absolute;
    top: 13px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(188, 24, 24, 0.82);
    border-radius: 50%;
    color: rgba(188, 24, 24, 0.86) !important;
    transform: rotate(-8deg);
  }

  .po-stamp::before {
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(188, 24, 24, 0.64);
    border-radius: 50%;
    content: "";
  }

  .po-stamp span {
    position: relative;
    z-index: 1;
    color: rgba(188, 24, 24, 0.88) !important;
    font-size: 8.3pt !important;
    font-weight: 900;
    letter-spacing: 0.04em !important;
    line-height: 1;
    writing-mode: vertical-rl;
  }

  .po-subject dl,
  .po-notes dl {
    display: grid;
    gap: 3px;
    margin: 0;
  }

  .po-table {
    width: 100%;
    border-collapse: collapse;
    break-inside: avoid;
  }

  .po-table th,
  .po-table td {
    border: 1px solid #111111;
    padding: 5px 6px;
    vertical-align: top;
    font-size: 8.7pt !important;
  }

  .po-table th {
    background: #efefef !important;
    font-weight: 800;
    text-align: center;
  }

  .po-table td:nth-child(1),
  .po-table td:nth-child(3),
  .po-table td:nth-child(4) {
    text-align: center;
    white-space: nowrap;
  }

  .po-table td:nth-child(5),
  .po-table td:nth-child(6),
  .po-table tfoot td {
    text-align: right;
    white-space: nowrap;
  }

  .po-table td strong,
  .po-table td span {
    display: block;
  }

  .po-table td span {
    margin-top: 2px;
    color: #555555 !important;
    font-size: 7.9pt !important;
    line-height: 1.35;
  }

  .po-table tfoot th,
  .po-table tfoot td {
    font-size: 10pt !important;
    font-weight: 900;
  }

  .po-notes h2,
  .po-checks h2 {
    margin: 0 0 5px;
    font-size: 10pt;
  }

  .po-checks ul {
    display: grid;
    gap: 2px;
    margin: 0;
    padding-left: 18px;
  }

  .po-checks li {
    font-size: 8.1pt !important;
    line-height: 1.35;
  }

  .po-checks li {
    padding-left: 2px;
  }

  .po-footer-note {
    margin-top: 2px;
    padding-top: 6px;
    border-top: 1px solid #999999;
    color: #555555 !important;
    font-size: 7.8pt !important;
  }
}

@media (max-width: 1060px) {
  .site-nav {
    position: fixed;
    inset: 76px 16px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.nav-active .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px;
    border-radius: var(--radius);
  }

  .nav-tool,
  .nav-contact {
    justify-content: flex-start;
    min-height: auto;
    border: 0;
    background: transparent;
    color: var(--ink);
  }

  .nav-toggle {
    display: block;
  }

  .hero-inner,
  .studio-grid,
  .problem-lead,
  .brief-feature-grid,
  .ai-layout,
  .tool-intro,
  .tool-panel,
  .contact-layout,
  .contact-page-layout,
  .company-hero-inner,
  .company-statement-grid,
  .company-overview-grid,
  .flow-band .section-shell,
  .section-heading-split,
  .brief-hero-grid,
  .brief-workspace-grid,
  .flagship-tool {
    grid-template-columns: 1fr;
  }

  .brief-output {
    position: static;
  }

  .hero-visual {
    width: 100%;
  }

  .problem-grid,
  .service-list,
  .deliverable-grid,
  .responsibility-grid,
  .company-service-grid,
  .score-guide,
  .tool-checks,
  .sns-checks,
  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .flow-list li:nth-child(n) {
    margin-left: 0;
  }

  .service-visual-strip {
    grid-template-columns: 1fr 1fr;
  }

  .service-visual-strip img:first-child {
    grid-column: 1 / -1;
  }

  .flow-list li:nth-child(odd) {
    border-left: 0;
  }

  .flow-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  #top,
  #diagnosis,
  #problems,
  #services,
  #tools,
  #brief,
  #brief-generator,
  #contact,
  #flow-title {
    scroll-margin-top: 78px;
  }

  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand-word {
    font-size: 18px;
  }

  .brand-sub {
    font-size: 10px;
  }

  .site-nav {
    inset: 68px 12px auto;
  }

  .section-shell {
    width: min(100% - 32px, 1160px);
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .studio-copy h2,
  .tool-intro h2,
  .contact-inner h2 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.22;
  }

  .section-heading p,
  .studio-copy p,
  .tool-intro p,
  .contact-inner p {
    margin-top: 16px;
  }

  .hero {
    min-height: 100svh;
    padding: 96px 16px 50px;
  }

  .hero::after {
    inset: 0 0 auto;
    height: 100svh;
    background:
      linear-gradient(180deg, rgba(16, 18, 16, 0.68) 0%, rgba(16, 18, 16, 0.54) 42%, rgba(16, 18, 16, 0.84) 100%),
      linear-gradient(90deg, rgba(16, 18, 16, 0.68) 0%, rgba(16, 18, 16, 0.28) 100%);
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 46px);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual img {
    object-position: 72% center;
  }

  .hero-visual {
    inset: 0 0 auto;
    height: 100svh;
  }

  .diagnosis-app {
    padding: 16px;
    border-radius: 14px;
  }

  .app-grid,
  .app-result,
  .proof-grid,
  .problem-grid,
  .service-list,
  .company-service-grid,
  .service-visual-strip,
  .deliverable-grid,
  .tool-tabs,
  .tool-panel,
  .mini-tool,
  .score-guide,
  .tool-checks,
  .sns-checks,
  .flow-list,
  .brief-field-grid,
  .brief-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .app-result {
    align-items: start;
  }

  .proof-grid span {
    min-height: 48px;
    border-left: 0;
    border-top: 1px solid rgba(255, 253, 248, 0.13);
  }

  .proof-grid span:first-child {
    border-top: 0;
  }

  .problem-section,
  .services,
  .brief-feature,
  .studio-section,
  .ai-section,
  .tool-section,
  .flow-band,
  .contact-section,
  .brief-workspace,
  .company-statement,
  .company-services,
  .company-overview,
  .company-cta {
    padding-block: 64px;
  }

  .company-hero {
    min-height: auto;
    padding: 98px 0 58px;
  }

  .company-hero::after {
    background:
      linear-gradient(180deg, rgba(16, 18, 16, 0.66) 0%, rgba(16, 18, 16, 0.58) 42%, rgba(16, 18, 16, 0.86) 100%),
      linear-gradient(90deg, rgba(16, 18, 16, 0.62) 0%, rgba(16, 18, 16, 0.26) 100%);
  }

  .company-hero-bg img {
    object-position: 64% center;
  }

  .company-hero-copy h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .company-hero-actions {
    display: grid;
  }

  .company-summary-panel div,
  .company-profile-table div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .company-summary-panel div {
    padding: 12px 0;
  }

  .company-profile-table dt,
  .company-profile-table dd {
    padding: 14px 16px;
  }

  .company-profile-table dt {
    padding-bottom: 4px;
    background: transparent;
  }

  .company-overview-copy {
    position: static;
  }

  .company-service-grid article {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .company-service-grid article:first-child {
    border-top: 0;
  }

  .company-cta-inner {
    display: grid;
  }

  .brief-hero {
    min-height: auto;
    padding: 100px 0 58px;
  }

  .brief-hero-copy h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .brief-hero-actions,
  .brief-feature-actions,
  .brief-form-actions,
  .brief-output-actions {
    display: grid;
  }

  .brief-feature-preview div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .brief-output-head {
    display: grid;
  }

  .brief-output-text {
    max-height: none;
  }

  .flagship-tool .button {
    width: 100%;
  }

  .flagship-action {
    justify-items: start;
  }

  .flagship-action small {
    text-align: left;
  }

  .tool-panel {
    padding: 18px;
  }

  .tool-suite {
    border-radius: 18px;
  }

  .tool-tabs {
    grid-template-columns: 0.78fr 1.42fr 0.88fr;
  }

  .tool-tab {
    min-height: 52px;
    padding: 0 6px;
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
  }

  .tool-panel h3 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .tool-result {
    grid-template-columns: 1fr;
  }

  .studio-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .service-item,
  .problem-grid article {
    min-height: auto;
  }

  .flow-visual {
    border-radius: 10px;
  }

  .flow-list li,
  .flow-list li:nth-child(odd) {
    grid-template-columns: 1fr;
    border-left: 1px solid var(--line);
  }

  .flow-list span,
  .flow-list h3,
  .flow-list p {
    grid-column: auto;
    grid-row: auto;
  }

  .flow-list li:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .contact-page {
    padding: 100px 0 64px;
  }

  .contact-page-copy {
    position: static;
  }

  .footer-inner {
    flex-direction: column;
  }
}
