/* 色は現行 style.css の :root をそのまま踏襲する */
    body { margin: 0; background: #ffffff; color: #1b2733;
      font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
      -webkit-font-smoothing: antialiased; }
    a { color: #0e6e64; text-decoration: none; }
    a:hover { color: #0a554e; text-decoration: underline; }
    .mono { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
      font-feature-settings: "tnum"; }
    /* 日本語の可読性: 本文は行間 2.0 前後、見出しは字間をわずかに詰める */
    .lead { font-size: 16px; line-height: 2.05; color: #5a6b7d; }
    .body { font-size: 14px; line-height: 2.0; color: #5a6b7d; }
    .h-sec { margin: 0; font-size: 26px; line-height: 1.6; font-weight: 700; letter-spacing: .01em; }
    .eyebrow { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
      font-size: 11px; letter-spacing: .16em; color: #0e6e64; }
    .rule { border: 0; border-top: 1px solid #e0e6ee; margin: 0; }
    .em { color: #1b2733; font-weight: 500; }

/* よくある質問。開閉は details に任せ、記号だけ設計側の書体に合わせる */
details.faq { border-top: 1px solid #e0e6ee; padding: 0; }
details.faq:last-of-type { border-bottom: 1px solid #e0e6ee; }
details.faq > summary {
  list-style: none; cursor: pointer; padding: 18px 34px 18px 0; position: relative;
  font-size: 14px; font-weight: 500; color: #1b2733; line-height: 1.7;
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after {
  content: "＋"; position: absolute; right: 4px; top: 18px;
  color: #7a8a99; font-size: 13px;
}
details.faq[open] > summary::after { content: "－"; }
details.faq > p, details.faq > div {
  margin: 0 0 20px; font-size: 13px; line-height: 2.0; color: #46586b;
}

/* 冒頭の紹介と変換例を横に並べる */
.site-shell { max-width: 1080px; margin: 0 auto; padding: 0 44px; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px; align-items: start; padding: 88px 0 76px;
}
.hero-copy, .hero-drawing { min-width: 0; }
.hero-title {
  margin: 0 0 28px; font-size: clamp(24px, 3.4vw, 44px); line-height: 1.42;
  font-weight: 700; letter-spacing: -.005em; text-wrap: balance;
}
.hero-actions { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.hero-drawing { margin: 0; }
.drawing-frame {
  border: 1px solid #e0e6ee; border-radius: 4px; overflow: hidden; background: #f5f8fa;
}
.drawing-caption { margin-top: 16px; }
.drawing-caption-title { margin: 0; font-size: 14px; line-height: 1.8; font-weight: 500; }
.drawing-source { margin: 4px 0 8px; font-size: 12px; line-height: 1.8; color: #5a6b7d; }
.drawing-details { border-top: 1px solid #e0e6ee; }
.drawing-details > summary {
  cursor: pointer; list-style: none; position: relative; padding: 12px 28px 12px 0;
  color: #0e6e64; font-size: 14px; line-height: 1.7;
}
.drawing-details > summary::-webkit-details-marker { display: none; }
.drawing-details > summary::after { content: "＋"; position: absolute; top: 12px; right: 2px; }
.drawing-details[open] > summary::after { content: "－"; }
.drawing-details > summary:hover { color: #0a554e; }
.drawing-details > summary:focus-visible, .download-price-link a:focus-visible {
  outline: 2px solid #0e6e64; outline-offset: 4px;
}
.drawing-meta {
  margin: 20px 0 0; display: grid; grid-template-columns: 4em minmax(0, 1fr);
  gap: 10px 16px; font-size: 14px; line-height: 1.8; color: #5a6b7d;
}
.drawing-meta dd { margin: 0; overflow-wrap: anywhere; }
.app-preview {
  display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 48px; align-items: center; padding: 80px 0;
}
.download-price-link { margin: 0 0 32px; font-size: 14px; line-height: 1.8; }
.download-price-link a { display: inline-block; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; }
#price { scroll-margin-top: 24px; }

@media (max-width: 920px) {
  .site-shell { padding: 0 28px; }
  .site-shell > header { flex-wrap: wrap; }
  .site-shell > header nav { flex-wrap: wrap; row-gap: 12px !important; }
  .hero { gap: 28px; padding: 56px 0; }
  .app-preview { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 56px 0; }
  .app-preview > div:first-child { max-width: 560px; }
}
@media (max-width: 560px) {
  .site-shell { padding: 0 24px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-drawing { width: 100%; }
  .hero-title { font-size: clamp(28px, 7.4vw, 36px); }
  #download > div { grid-template-columns: minmax(0, 1fr) !important; }
  .drawing-meta { grid-template-columns: 3.5em minmax(0, 1fr); gap: 10px 12px; }
}
