@charset "UTF-8";
/* ==========================================================================
   JOMONÖW — Reset CSS
   ファイル: reset.css
   役割: ブラウザのデフォルトスタイルをフラットに
   ベース: modern-css-reset (Andy Bell) を簡素化
   ========================================================================== */

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

html,
body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd,
ul, ol {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* v45.9: iPhone横向きのセーフエリア(カメラ/ノッチ)対策。Braveブルブル横揺れの根治。
     真因=viewport-fit=cover 宣言下で env(safe-area-inset) 無対応→Braveが右だけ非対称に
     セーフエリアを扱い、フルスクリーンと左右に取り合って発振(Chromeは左右均等で安定/Safariは
     フルで安定)。左右を env で均等パディング化し Chrome 同様の安定状態にする。
     左右余白に出る地色は小豆(--color-wine)= Chrome での見え方と統一。可読性も向上。 */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  box-sizing: border-box;
  background-color: var(--color-bg-light);   /* v46.1: 左右マージンの地色=薄グレー(中ページ用デフォルト)。Homeのみhome.cssで小豆に上書き */
  /* v65.5: バナーのフェードイン初期状態 transform:scale(1.06) が window(overflow:visible)から
     左右42pxずつはみ出し、1440/1024幅で横スクロール(scrollWidth 1458)が発生していた。
     演出には手を触れず、ここで横方向だけをクリップする。
     hidden ではなく clip を使うのは、html をスクロールコンテナ化させず sticky を壊さないため。 */
  overflow-x: clip;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: var(--font-jp-primary);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

ul[role="list"],
ol[role="list"],
ul,
ol {
  list-style: none;
}

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

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

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

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

/* SEO 用：SVG 内代替テキストの視覚的非表示 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* reduced motion 配慮 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
