@charset "utf-8";

/* リセット＋要素デフォルト（renewページ専用）。詳細: _claude/css-architecture.md */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth; /* ページ内リンク・先頭へ戻るをなめらかに（JSは使わない） */
}

/* ページ内リンクで飛んだとき、固定ヘッダーに隠れないように止まる位置をずらす */
[id] {
  scroll-margin-top: var(--scroll-offset);
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--color-ink-soft);
  background: var(--color-white);
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

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

ul[class], ol[class] {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--line-height-heading);
}

/* p の text-wrap: pretty と見出しの balance は外した（2026-09-16 ユーザー指摘「スマホで早い段階で折り返される」。
   Chrome が行末を整えるために手前の行を早めに折り返し、日本語では幅いっぱい使わない行が目立つため） */
