/* Draft V0.1: scoped to the story; the formal shared shell is unchanged. */
.development-story-page {
  background: #fff;
  color: #202020;
  font-family: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
}

.development-story {
  box-sizing: border-box;
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 24px 48px;
  font-size: 16px;
  line-height: 24px;
  overflow-wrap: anywhere;
}

.story-header {
  padding: 72px 0 64px;
  text-align: center;
}

.story-header h1 {
  margin: 0;
  color: #000;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.story-header h1 span { display: inline-block; }
.story-section { border-bottom: 1px solid #ddd; padding: 28px 0 48px; }
.story-section:last-child { border-bottom: 0; }
.story-section .split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.story-section .copy, .story-section .media { min-width: 0; }
.story-section.image-left .media { grid-column: 1; grid-row: 1; }
.story-section.image-left .copy { grid-column: 2; grid-row: 1; }
#story-problem .split { grid-template-columns: 2fr 1fr; }
#story-experience .split, #story-five-points .split { grid-template-columns: 1fr 2fr; }
.story-section h2 { margin: 0 0 24px; font-size: 30px; line-height: 1.5; font-weight: 700; }
.story-section h3 { margin: 0 0 8px; font-size: 16px; line-height: 24px; font-weight: 700; }
.story-section p { margin: 0; font-size: 16px; line-height: 24px; font-weight: 400; }
.story-section strong { font-size: inherit; line-height: inherit; font-weight: 700; }
.copy-flow { padding-bottom: 18px; }
.copy-block + .copy-block { margin-top: 30px; }
.copy-block p + p { margin-top: 4px; }
#story-problem .copy-block:nth-child(4),
#story-experience .copy-block:nth-child(3),
#story-automation .copy-block:nth-child(3) { margin-top: 32px; }
#story-problem .copy-block:nth-child(5) { margin-top: 20px; }
.story-section .work-item { margin: 18px 0; }
.story-section .section-owner-image { display: block; width: 100%; height: auto; }

@media (max-width: 1100px) {
  .story-header h1 { font-size: 54px; }
}

@media (max-width: 820px) {
  .story-header { padding: 48px 0 40px; }
  .story-header h1 { font-size: 42px; }
  .story-section { padding: 24px 0 32px; }
  .story-section .split { display: flex; flex-direction: column; gap: 26px; align-items: stretch; }
  .story-section .copy { order: 1; }
  .story-section .media { order: 2; }
  .story-section h2 { font-size: 25px; }
  .copy-block + .copy-block { margin-top: 24px; }
  #story-problem .copy-block:nth-child(4),
  #story-experience .copy-block:nth-child(3),
  #story-automation .copy-block:nth-child(3) { margin-top: 28px; }
  #story-problem .copy-block:nth-child(5) { margin-top: 16px; }
}

@media (max-width: 390px) {
  .development-story { padding-right: 20px; padding-left: 20px; }
  .story-header h1 { font-size: clamp(30px, 10.7vw, 42px); }
}
