/*
Theme Name: Siteseeing Child
Theme URI: 
Author:  Siteseeing
Author URI: 
Description: 
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 5.7
Version:  1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: siteseeing-child
Tags: 
*/

/* ============================================================
   Siteseeing — reset + design tokens
   目的: ブラウザ差異の吸収と、以降のレイアウト作業で使う変数の定義
   破壊的でない範囲に限定（テーマ側の余白・組版は触らない）
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 置換要素 */
img, svg, video, canvas, iframe { max-width: 100%; }
img, video { height: auto; }
svg { fill: currentColor; }

/* フォーム部品はフォントを継承させる */
input, button, textarea, select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
button { background: none; border: 0; padding: 0; cursor: pointer; }

/* 和文の折り返し（長いURL・英単語で横に溢れさせない） */
h1, h2, h3, h4, h5, h6, p, li, figcaption, dd { overflow-wrap: anywhere; }

a { text-underline-offset: .2em; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

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

/* --- tokens（まだ配色は変えない。使う側から参照する） --- */
:root {
  --ss-bg: #0c0e11;
  --ss-surface: #14171c;
  --ss-line: #272c34;
  --ss-ink: #e9ecef;
  --ss-muted: #8b929e;
  --ss-accent: #79e2b4;
  --ss-radius: 10px;
  --ss-measure: 68ch;
}
