/* ver202502 */
/* box-sizing: border-box;を設定 */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* フォントサイズの拡大防止、その他調整 */
html {
	-moz-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
	scroll-behavior: smooth;
	font-optical-sizing: auto;
}

/* 要素のpadding,marginを削除 */
* {
	margin: 0;
	padding: 0;
}

/* リストのスタイルとパディングを削除 */
ul,ol {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* 見出しなどのline-heightを設定 */
h1,
h2,
h3,
h4,
button,
input,
label {
	line-height: 1.6;
}

/* 見出しのテキスト折り返しをbalanceに設定し、weightを調整、コンテンツ内でも要素が治るように調整 */
h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
	font-weight: 700;
	overflow-wrap: break-word;
}

/* paragraphのデフォルトをjustifyに設定 */
p {
	text-align: justify;
}

/* リンクのスタイルを削除 */
a {
	text-decoration: none;
	color: currentColor;
	opacity: 1;
	transition: ease-in-out .4s all;
}
a:active {
	color: currentColor;
}

/* リンクのhoverの基本設定 */
a:hover {
	cursor: pointer;
	opacity: .5;
	transition: ease-in-out .4s all;
}

/* 画像の扱いを簡単にする */
img,
picture {
	max-width: 100%;
	display: block;
}
main:has(img) {
	width: 100%;
	object-fit: cover;
}
