@charset "UTF-8";
/**
 * Modern CSS Reset
 * Based on Josh Comeau's CSS Reset + Andy Bell's Modern Reset
 * 2025年版
 */

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

/* マージンリセット */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

/* html・bodyの基本設定 */
html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	min-height: 100vh;
	min-height: 100dvh;
	line-height: 1.5;
	text-rendering: optimizeSpeed;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* リスト */
ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* リンク */
a {
	color: inherit;
	text-decoration: none;
}

a:not([class]) {
	text-decoration-skip-ink: auto;
}

/* 画像・メディア */
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

/* フォーム要素 */
input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

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

/* テキスト折り返し */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
	font-weight: normal;
}

/* テーブル */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* アドレス */
address {
	font-style: normal;
}

/* フォーカス */
:focus-visible {
	outline: 2px solid var(--focus-color, Highlight);
	outline-offset: 2px;
}

/* 非表示 */
[hidden] {
	display: none !important;
}

/* Webフォント読み込み中 */
.wf-loading {
	visibility: hidden;
}

.wf-active {
	visibility: visible;
}

/* アクセシビリティ：モーション軽減設定 */
@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;
	}
}
