@charset "UTF-8";
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-style:normal;
	font-weight: normal;
	font-size: 100%;
	vertical-align: baseline;
}
h1, h2, h3, h4, h5, h6, p {
	max-height: 100%;
	line-height: 1.4;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
html {
	overflow-y: scroll;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
input, textarea {
	margin: 0;
	padding: 0;
}
select {
	background-color: #fff;
}
ol, ul, li {
	list-style:none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th {
	text-align: left;
}
a:focus {
	outline:none;
}

/*----------------------------------------------------
	日本語組版の基本設定（2026-11-27 追加）
	参考：日本語サイトで指定しておきたいCSS 2026年版
	https://qiita.com/tofu_frontend/items/6a1bb7d80a58736eef0e
	※ :where() で詳細度0。layout.css 側の指定で上書き可能。
	※ 未対応ブラウザでは無視されるだけで表示は崩れません。
----------------------------------------------------*/
:where(:root) {
	text-autospace: normal;        /* 和文と英数字の間に自動で小さなアキ */
	text-spacing-trim: trim-start; /* 連続する約物・行頭の括弧のアキを詰める */
	line-break: strict;            /* 小書きかな・長音を行頭に置かない */
	overflow-wrap: anywhere;       /* 長いURL・英単語のはみ出し防止 */
}
:where(th, td) {
	overflow-wrap: break-word;     /* 表の列幅が極端に狭まるのを防ぐ */
}
:where(pre) {
	text-autospace: no-autospace;
	text-spacing-trim: space-all;
}
:where(time) {
	text-autospace: no-autospace;
}
:where(
	input:not([type="button" i], [type="submit" i], [type="reset" i]),
	textarea,
	[contenteditable]
) {
	text-autospace: no-autospace;
}
:where(h1, h2, h3, h4, h5, h6) {
	text-wrap: balance;            /* 見出しの行の長さを揃える */
}
:where(h1, h2) {
	word-break: auto-phrase;       /* 見出しを文節で改行（lang="ja" 必須） */
}

/* 商品名は上記の折り返し指定を解除し、ブラウザ標準の折り返しに戻す（2026-11-27 追加）
   一覧 .fs-c-productName / 詳細 .fs-c-productNameHeading / サイドのランキング等 */
[class*="productName"],
.fc_item_list_productname {
	word-break: normal;
	overflow-wrap: normal;
	line-break: auto;
	text-wrap: wrap;
}
