/* base.css … CSS 変数（トークン）・リセット・タイポグラフィの土台 */

/* ===== トークン ===== */
:root {
	/* 色 */
	--c-text: #35393d;      /* 基本の文字 */
	--c-blue: #009cbe;      /* アクセント・現在地 */
	--c-hover: #929497;     /* hover で変わる色 */
	--c-line: #d9d9d9;      /* 区切り線 */
	--c-white: #fff;
	--c-navy: #00628c;      /* フッターの帯 */
	--c-dark: #30353a;      /* ボタン・SP メニュー */
	--c-page-bg: #f0f4f5;   /* 下層ページの地（SP は白） */

	/* 書体（和文・欧文はそれぞれ1つに統一） */
	--ff-jp: "Zen Kaku Gothic New", sans-serif;
	--ff-en: "Outfit", "Zen Kaku Gothic New", sans-serif;

	/* 動き */
	--ease: cubic-bezier(.25, .8, .35, 1);
	--dur-hover: .3s;       /* hover のふわっと */

	/* ヘッダー */
	--header-h: 80px;
	--spbar-h: 60px;
}

/* ===== リセット ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; } /* 念のため: iOS が自動でリンクにした文字も見た目を変えない */
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ===== 土台 ===== */
body {
	min-width: 1200px;  /* PC: 1200 未満のデスクトップは対応外。縮めずに横スクロールさせる（ヘッダー・main・フッター共通） */
	font-family: var(--ff-jp);
	font-weight: 500;
	color: var(--c-text);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

@media (max-width: 568px) {
	body { min-width: 0; } /* SP は 390 デザインを可変表示 */
}

/* ===== ユーティリティ ===== */
.u-sp { display: none; }  /* SP だけで出す（改行など） */
@media (max-width: 568px) {
	.u-sp { display: inline; }
	.u-pc { display: none; }
}
