@charset "utf-8";

/*--------------------------------------
  Modern CSS Reset
  Based on community best practices (2024)
---------------------------------------*/

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

/* Remove default margin */
* {
	margin: 0;
}

/* Set core body defaults */
/* html {
	scroll-behavior: smooth;
} */

body {
	min-height: 100vh;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	color: #333;
	background-color: #fff;
	font-family: "メイリオ", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", Osaka, Helvetica, Arial, sans-serif;
	font-size: 14px;
}

/* Typographic tweaks */
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dt,
dd {
	margin: 0;
	padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
	font-size:100%;
	font-weight:normal;
}

/* Remove list styles on ul, ol elements */
ul,
ol {
	list-style: none;
	padding: 0;
}

/* Make images easier to work with */
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

/* Inherit fonts for form controls */
input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

button,
fieldset,
legend {
	border: 0;
	padding: 0;
	background: transparent;
}

textarea {
	resize: vertical;
}

/* Reset table styles */
table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	font: inherit;
}

td,
th {
	padding: 0;
	text-align: left;
	font: inherit;
}

/* Anchor defaults */
a {
	color: inherit;
	text-decoration: none;
	text-decoration-skip-ink: auto;
}

a:hover,
a:focus {
	text-decoration: underline;
}

/* Ensure elements render consistently when placed inside Next.js/React roots */
#root,
#__next {
	isolation: isolate;
}

/* Remove animations for users who've turned them off */
@media (prefers-reduced-motion: reduce) {
	/* html {
		scroll-behavior: auto;
	} */

	/* *,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	} */
}
