  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  .site { font-family: "Hiragino Sans", "Noto Sans JP", sans-serif; font-size: 15px; color: #1a1a1a; background: #f7f6f3; line-height: 1.9; }
  a { color: inherit; }

  /* サイトヘッダー */
  .site-header { background: #1a1a1a; border-bottom: 1px solid #2a2a2a; }
  .site-header .inner { max-width: 1000px; margin: 0 auto; padding: 0 20px; height: 52px; display: flex; align-items: center; gap: 20px; }
  .site-logo { color: #c8a96e; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-decoration: none; line-height: 1.2; }
  .site-logo span { color: #fff; font-size: 9px; display: block; letter-spacing: .1em; font-weight: 400; }
  .site-nav { display: flex; gap: 16px; margin-left: auto; }
  .site-nav a { color: #888; font-size: 11px; text-decoration: none; white-space: nowrap; }
  .site-nav a.on { color: #c8a96e; }
  @container site (max-width: 700px) { .site-nav { display: none; } }

  /* シリーズ帯 */
  .series-band { color: #fff; }
  .series-band .inner { max-width: 760px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .series-band .sb-name { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
  .series-band .sb-desc { font-size: 11px; opacity: .75; }
  .series-band .sb-all { margin-left: auto; font-size: 11px; opacity: .85; text-decoration: none; }
  .band-view { background: #2a2620; }
  .band-qa { background: #2c3e5c; }
  .band-case { background: #6e5020; }
  .band-guide { background: #22443b; }
  .band-diagram { background: #4a4a4a; }

  .type { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .1em; padding: 2px 8px; border-radius: 4px; color: #fff; line-height: 1.6; white-space: nowrap; }
  .type-case { background: #b5842a; }
  .type-view { background: #1a1a1a; color: #c8a96e; border: 1px solid #c8a96e; }
  .type-qa { background: #3b5a8a; }
  .type-guide { background: #2f5d50; }
  .type-video { background: #7a3b3b; }
  .type-diagram { background: #6b6b6b; }

  .chip { display: inline-block; font-size: 11px; color: #aaa; background: #2a2a2a; padding: 2px 9px; border-radius: 20px; margin: 2px 4px 2px 0; white-space: nowrap; text-decoration: none; }

  /* 記事ヘッダー */
  .article-header { background: #1a1a1a; color: #fff; padding: 36px 20px 32px; }
  .article-header .inner { max-width: 760px; margin: 0 auto; }
  .breadcrumb { font-size: 11px; color: #666; margin-bottom: 14px; }
  .breadcrumb a { color: #888; text-decoration: none; }
  .meta-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
  .meta-row .theme { font-size: 11px; color: #c8a96e; font-weight: 700; letter-spacing: .06em; }
  .meta-row .read { font-size: 11px; color: #888; }
  .article-header h1 { font-size: clamp(19px, 4vw, 25px); font-weight: 700; line-height: 1.55; margin-bottom: 12px; }
  .article-header .lead { font-size: 14px; color: #aaa; line-height: 1.8; }
  .article-header .tags { margin-top: 16px; }
  /* 種類ごとの見せ方：タイプ＝四角い札／悩み＝#付きの丸い札／テーマ・キーワード＝文字 */
  .meta-row .type { margin-right: 2px; }
  .meta-row .theme .t-pre { color: #888; font-weight: 400; letter-spacing: 0; }
  .t-label { font-size: 10px; color: #888; margin-right: 6px; letter-spacing: .04em; }
  .article-header .tags .chip { color: #f3e3c0; background: rgba(200,169,110,.18); border: 1px solid rgba(200,169,110,.45); }
  .kw { margin-top: 8px; font-size: 11px; color: #999; }
  .kw a { color: #bbb; text-decoration: underline; text-underline-offset: 2px; margin-right: 10px; }

  .container { max-width: 760px; margin: 0 auto; padding: 32px 20px 72px; }
  .body-text h2 { font-size: clamp(16px, 3vw, 19px); font-weight: 700; margin: 40px 0 14px; padding-left: 12px; border-left: 4px solid #c8a96e; line-height: 1.5; }
  .body-text h3 { font-size: 15px; font-weight: 700; margin: 24px 0 8px; }
  .body-text p { margin-bottom: 18px; color: #2a2a2a; }
  .body-text strong { font-weight: 700; }

  .quote-box { background: #1a1a1a; border-radius: 10px; padding: 22px 24px; margin: 24px 0; }
  .quote-box .q-label { font-size: 10px; letter-spacing: .12em; color: #c8a96e; margin-bottom: 10px; }
  .quote-box .q-text { font-size: clamp(15px, 2.6vw, 18px); font-weight: 700; color: #fff; line-height: 1.7; }
  .quote-box .q-text em { color: #c8a96e; font-style: normal; }
  .quote-box .q-context { font-size: 12px; color: #777; margin-top: 10px; }

  .intro-box { background: #fff; border-radius: 10px; padding: 18px 20px; border-left: 4px solid #c8a96e; margin-bottom: 28px; }
  .intro-box .ib-label { font-size: 10px; letter-spacing: .12em; color: #c8a96e; font-weight: 700; margin-bottom: 10px; }
  .intro-box ul { list-style: none; }
  .intro-box li { font-size: 13px; color: #333; padding: 4px 0; display: flex; gap: 8px; line-height: 1.6; }
  .intro-box li::before { content: "▶"; font-size: 9px; color: #c8a96e; flex-shrink: 0; margin-top: 4px; }

  .info-box { background: #fdf9f2; border-radius: 10px; padding: 18px 20px; border: 1px solid #e8d9b8; margin: 20px 0; }
  .info-box .info-label { font-size: 10px; letter-spacing: .12em; color: #b5842a; font-weight: 700; margin-bottom: 10px; }
  .info-box ul { list-style: none; }
  .info-box li { font-size: 13px; color: #3a2a10; padding: 6px 0; border-bottom: 1px solid #f0e6cc; display: flex; gap: 10px; line-height: 1.6; }
  .info-box li:last-child { border-bottom: none; }
  .info-box li::before { content: "→"; color: #c8a96e; font-weight: 700; flex-shrink: 0; }

  .note-box { background: #f0f0eb; border-left: 3px solid #888; padding: 14px 18px; border-radius: 4px; font-size: 13px; color: #555; line-height: 1.8; margin: 24px 0; }

  .card { background: #fff; border-radius: 12px; padding: 22px 20px; margin: 20px 0; }
  .card-label { font-size: 10px; letter-spacing: .12em; color: #c8a96e; font-weight: 700; margin-bottom: 6px; }
  .card-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; line-height: 1.5; }

  .steps { counter-reset: st; list-style: none; margin: 16px 0 20px; }
  .steps li { counter-increment: st; position: relative; padding: 12px 14px 12px 50px; background: #fff; border-radius: 8px; margin-bottom: 8px; font-size: 14px; line-height: 1.7; }
  .steps li::before { content: counter(st); position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: #c8a96e; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
  .steps li small { display: block; font-size: 12px; color: #888; }

  .dialog { margin: 16px 0 20px; }
  .d-row { display: grid; grid-template-columns: 60px 1fr; gap: 10px; margin-bottom: 8px; align-items: start; }
  .d-who { font-size: 11px; font-weight: 700; color: #888; padding-top: 8px; text-align: right; }
  .d-row.k .d-who { color: #b5842a; }
  .d-say { font-size: 13px; background: #fff; border-radius: 10px; padding: 8px 12px; line-height: 1.7; }
  .d-row.k .d-say { background: #1a1a1a; color: #fff; }
  .d-row.hit .d-say { background: #fdf9f2; border: 1px solid #c8a96e; font-weight: 700; }

  .diagram-wrap { margin: 24px 0; background: #fff; border-radius: 12px; padding: 22px 16px; }
  .diagram-wrap .dw-label { font-size: 10px; letter-spacing: .12em; color: #c8a96e; font-weight: 700; margin-bottom: 4px; }
  .diagram-wrap .dw-title { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
  .diagram-wrap svg { width: 100%; height: auto; display: block; }

  .output-section { background: #fff; border-radius: 12px; padding: 26px 20px; margin-top: 32px; border-top: 4px solid #c8a96e; }
  .output-section .os-label { font-size: 10px; letter-spacing: .15em; color: #c8a96e; font-weight: 700; margin-bottom: 6px; }
  .output-section .os-title { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
  .ws-row { background: #f7f6f3; border-radius: 6px; padding: 12px 14px; margin-bottom: 8px; }
  .ws-row .ws-q { font-size: 12px; color: #666; }
  .ws-row .ws-blank { height: 30px; border-bottom: 1px solid #d8d5cf; }

  /* 関連・出典 */
  .source { background: #1a1a1a; border-radius: 12px; padding: 18px 20px; margin-top: 36px; display: flex; gap: 16px; align-items: center; }
  .source .s-play { width: 96px; height: 60px; background: #2a2a2a; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; flex-shrink: 0; }
  .source .s-label { font-size: 10px; letter-spacing: .12em; color: #c8a96e; font-weight: 700; }
  .source .s-title { font-size: 13px; color: #fff; font-weight: 700; line-height: 1.5; }
  .source .s-meta { font-size: 11px; color: #888; }
  .related { margin-top: 28px; }
  .related .rl-label { font-size: 11px; letter-spacing: .12em; color: #888; font-weight: 700; margin-bottom: 10px; }
  .rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  @container site (max-width: 560px) { .rel-grid { grid-template-columns: 1fr; } }
  .rel-grid a { background: #fff; border-radius: 8px; padding: 12px 14px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; border: 1px solid #ecebe7; }
  .rel-grid a:hover { border-color: #c8a96e; }
  .rel-grid .r-title { font-size: 13px; font-weight: 700; line-height: 1.5; }
  .rel-grid .r-series { font-size: 10px; color: #999; }

  .footer { background: #1a1a1a; color: #666; font-size: 10px; padding: 18px 20px; text-align: center; }
  .band-video { background: #4a2626; }
  .hd-search { margin-left: 14px; }
  .hd-search input { font-family: inherit; background: #2a2a2a; border: 1px solid #333; color: #ddd; border-radius: 4px; padding: 5px 10px; font-size: 11px; width: 170px; outline: none; }
  .hd-search input:focus { border-color: #c8a96e; }
  @container site (max-width: 700px) { .hd-search { margin-left: auto; } .hd-search input { width: 130px; } }
  a.source { text-decoration: none; }
  a.source:hover .s-title { color: #c8a96e; }
  /* ===== 形式ごとの共通パーツ ===== */
  /* VIEW */
  .statement { text-align: center; padding: 40px 12px 30px; }
  .statement .st-k { font-size: 10px; letter-spacing: .22em; color: #c8a96e; font-weight: 700; margin-bottom: 14px; }
  .statement .st-main { font-size: clamp(20px, 4.6vw, 27px); font-weight: 700; line-height: 1.65; }
  .statement .st-main em { font-style: normal; background: linear-gradient(transparent 62%, #eadbb9 62%); }
  .principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 24px; }
  .principles div { background: #fff; border-radius: 10px; padding: 18px 16px; border-top: 3px solid #1a1a1a; }
  .principles .p-k { font-size: 11px; color: #c8a96e; font-weight: 700; margin-bottom: 4px; }
  .principles .p-t { font-size: 15px; font-weight: 700; margin-bottom: 6px; line-height: 1.5; }
  .principles .p-d { font-size: 12px; color: #666; line-height: 1.75; }
  .scene { list-style: none; margin: 12px 0 20px; }
  .scene li { background: #fff; border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; font-size: 14px; display: flex; gap: 10px; }
  .scene li::before { content: "●"; color: #c8a96e; font-size: 10px; margin-top: 6px; }
  .ask { border: 2px solid #1a1a1a; border-radius: 12px; padding: 22px 20px; margin-top: 32px; background: #fff; }
  .ask .a-k { font-size: 10px; letter-spacing: .15em; color: #c8a96e; font-weight: 700; margin-bottom: 8px; }
  .ask .a-q { font-size: 17px; font-weight: 700; line-height: 1.6; }
  .ask .a-hint { font-size: 12px; color: #888; margin-top: 8px; }
  /* Q&A */
  .qa-q { display: grid; grid-template-columns: 44px 1fr; gap: 14px; background: #eef2f8; border-radius: 12px; padding: 18px; margin: 4px 0 12px; }
  .qa-a { display: grid; grid-template-columns: 44px 1fr; gap: 14px; background: #fff; border: 2px solid #3b5a8a; border-radius: 12px; padding: 18px; margin-bottom: 24px; }
  .qa-mark { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 18px; }
  .qa-q .qa-mark { background: #8aa0c4; }
  .qa-a .qa-mark { background: #3b5a8a; }
  .qa-q p, .qa-a p { margin: 0; font-size: 14px; line-height: 1.85; }
  .qa-who { font-size: 11px; color: #6a7a94; margin-top: 6px; }
  .qa-a .qa-lead { font-weight: 700; font-size: 16px; margin-bottom: 8px; line-height: 1.6; }
  .points { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 22px; }
  .points div { background: #fff; border-radius: 8px; padding: 14px; border-left: 3px solid #3b5a8a; }
  .points b { display: block; font-size: 14px; margin-bottom: 4px; }
  .points span { font-size: 12px; color: #666; line-height: 1.7; }
  /* CASE */
  .profile { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 24px; }
  .profile div { background: #fff; border-radius: 8px; padding: 12px 14px; }
  .profile .pf-k { font-size: 10px; color: #888; letter-spacing: .08em; }
  .profile .pf-v { font-size: 15px; font-weight: 700; line-height: 1.5; }
  .ask-flow { list-style: none; counter-reset: af; margin: 10px 0 18px; background: #fff; border-radius: 10px; padding: 4px 16px; }
  .ask-flow li { counter-increment: af; display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px dashed #e8e5e0; font-size: 13px; line-height: 1.7; }
  .ask-flow li:last-child { border-bottom: none; }
  .ask-flow li::before { content: counter(af); width: 24px; height: 24px; border-radius: 50%; background: #1a1a1a; color: #c8a96e; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
  .ask-flow b { display: block; }
  .ask-flow span { color: #777; }
  .result { display: flex; gap: 14px; align-items: center; background: #fdf9f2; border: 1px solid #e8d9b8; border-radius: 10px; padding: 14px 16px; margin: 16px 0; }
  .result .r-num { font-size: 26px; font-weight: 700; color: #b5842a; line-height: 1.1; white-space: nowrap; }
  .result .r-txt { font-size: 13px; line-height: 1.7; }
  .compare { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 13px; background: #fff; }
  .compare th, .compare td { border: 1px solid #e0ddd8; padding: 10px 12px; vertical-align: top; line-height: 1.7; text-align: left; }
  .compare thead th { background: #1a1a1a; color: #fff; font-size: 12px; }
  .compare tbody th { background: #f7f6f3; width: 22%; font-size: 12px; color: #555; }
  .homework { background: #1a1a1a; color: #fff; border-radius: 14px; padding: 22px; margin: 32px 0; }
  .homework .hw-k { font-size: 10px; letter-spacing: .15em; color: #c8a96e; font-weight: 700; margin-bottom: 6px; }
  .homework .hw-t { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
  .homework ul { list-style: none; }
  .homework li { padding: 8px 0; border-bottom: 1px solid #2a2a2a; font-size: 13px; display: flex; gap: 10px; line-height: 1.7; }
  .homework li:last-child { border-bottom: none; }
  .homework li::before { content: "□"; color: #c8a96e; }
  /* GUIDE */
  .toc { background: #fff; border-radius: 10px; padding: 16px 20px; margin-bottom: 28px; display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
  .toc .t-time { background: #2f5d50; color: #fff; border-radius: 8px; padding: 8px 12px; text-align: center; flex-shrink: 0; }
  .toc .t-time b { display: block; font-size: 22px; line-height: 1.1; }
  .toc .t-time span { font-size: 10px; }
  .toc ol { list-style: none; counter-reset: tc; flex: 1; min-width: 220px; }
  .toc li { counter-increment: tc; font-size: 13px; padding: 3px 0; }
  .toc li::before { content: counter(tc) ". "; color: #2f5d50; font-weight: 700; }
  .toc a { text-decoration: none; }
  .band-guide ~ .container .steps li::before, .g-steps li::before { background: #2f5d50; }
  .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 22px; }
  .three div { background: #fff; border-radius: 10px; padding: 20px 16px; text-align: center; border-top: 4px solid #2f5d50; }
  .three .th-no { font-size: 11px; color: #2f5d50; font-weight: 700; letter-spacing: .1em; margin-bottom: 6px; }
  .three .th-t { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
  .three .th-d { font-size: 12px; color: #666; line-height: 1.7; }
  .summary { background: #22443b; color: #fff; border-radius: 12px; padding: 20px 22px; margin: 30px 0; }
  .summary .su-k { font-size: 10px; letter-spacing: .15em; color: #9fd0bf; font-weight: 700; margin-bottom: 8px; }
  .summary ol { padding-left: 20px; }
  .summary li { font-size: 14px; padding: 4px 0; line-height: 1.7; }
  /* VIDEO */
  .player { background: #111; border-radius: 12px; aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #888; margin-bottom: 14px; }
  .player .pl-icon { width: 64px; height: 64px; border-radius: 50%; background: #c8a96e; color: #1a1a1a; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 10px; }
  .player .pl-txt { font-size: 12px; }
  .vmeta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #888; margin-bottom: 24px; }
  .chapters { background: #fff; border-radius: 12px; overflow: hidden; }
  .chapters a { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #f0efed; text-decoration: none; }
  .chapters a:last-child { border-bottom: none; }
  .chapters a:hover { background: #fdf9f2; }
  .chapters .tc { font-size: 12px; color: #b5842a; font-weight: 700; font-variant-numeric: tabular-nums; }
  .chapters .ct { font-size: 14px; font-weight: 700; line-height: 1.5; }
  .chapters .cr { font-size: 11px; color: #888; white-space: nowrap; }
  .count-band { display: flex; align-items: baseline; gap: 10px; margin: 36px 0 12px; }
  .count-band b { font-size: 28px; color: #b5842a; }
  @container site (max-width: 620px) {
    .principles, .three { grid-template-columns: 1fr; }
    .points { grid-template-columns: 1fr; }
    .profile { grid-template-columns: 1fr 1fr; }
    .chapters a { grid-template-columns: 1fr; gap: 4px; }
  }
  /* カードの中の要素にカード枠が付かないように */
  .site .principles > div > div, .site .three > div > div, .site .profile > div > div { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
