@charset "utf-8";
/* =========================================================
   NEXT GROUP  responsive override
   読み込み順：既存 import.css（common/base/products…）の「後」に読み込む
   SP: 〜767px / TB: 768〜1023px / PC: 1024px〜
   ========================================================= */

:root {
	--ink: #1b1817;
	--ink-2: #4a433f;
	--mute: #7a716a;
	--line: #e3ddd5;
	--paper: #f6f3ee;
	--surface: #ffffff;
	--dark-2: #2a2422;
	--accent: #b3232b;
	--accent-d: #8e0811;
	--accent-soft: #f9ecec;
	--radius: 6px;
	--gutter: 16px;
	--max: 1200px;
	--pad: max(var(--gutter), calc((100vw - var(--max)) / 2));
	--font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* ---------- ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	font-family: var(--font);
	font-size: 14px;
	line-height: 1.7;
	letter-spacing: .02em;
	color: var(--ink);
	background: var(--paper);
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; transition: color .15s, opacity .15s; }
a:hover { color: var(--accent); }
a:hover img { opacity: .85; }
.floatclear, br.floatclear { display: none; }

/* 見出し（テンプレートで <h2 class="c-title">テキスト</h2> に置換推奨） */
.c-title,
div#listtitle h2,
div#detailarea_bottom .title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	padding: 0 0 10px;
	border: 0;
	border-bottom: 2px solid var(--ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .04em;
	color: var(--ink);
}
.c-title::before,
div#listtitle h2::before,
div#detailarea_bottom .title::before {
	content: "";
	width: 8px; height: 8px;
	background: var(--accent);
	flex-shrink: 0;
}
.c-title small { font-size: 12px; font-weight: 400; color: var(--mute); }
div#listtitle { width: auto; border: 0; margin: 0 0 16px; }
/* 詳細ページ：[品番] タイトル を1行の文章として流す */
div#listtitle:has(+ #detailarea_top) h2 { display: block; }
div#listtitle:has(+ #detailarea_top) h2::before { display: inline-block; vertical-align: middle; margin: -3px 8px 0 0; }
div#listtitle:has(+ #detailarea_top) h2 [itemprop="productID"] { margin: 0 1px; }
div#listtitle:has(+ #detailarea_top) h2 [itemprop="name"] { margin-left: 2px; }
div#listtitle h2 { font-size: 20px; }
@media (min-width: 768px) { div#listtitle h2 { font-size: 22px; } }

/* ---------- ヘッダー ---------- */
header {
	width: auto;
	margin: 0;
	padding: 12px var(--pad) 0;
	background: var(--surface);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"logo toggle"
		"search search"
		"nav nav"
		"pan pan";
	align-items: center;
	column-gap: 16px;
	position: relative;
	z-index: 100;
}
header #logoarea { grid-area: logo; float: none; width: auto; height: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; justify-self: start; }
header #logoarea > a { display: inline-block; width: auto; line-height: 0; }
header #logoarea h1 { font-size: 11px; font-weight: 400; line-height: 1.4; color: var(--mute); letter-spacing: 0; }
header #logoarea h1 a { color: var(--mute); }
@media (max-width: 767px) { .sp_none { display: none; } }
header #logoarea img { max-height: 44px; width: auto; }

.nav-toggle {
	grid-area: toggle;
	width: 48px; height: 48px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
	cursor: pointer;
	padding: 0;
	font: inherit;
}
.nav-toggle span:not(.nav-toggle__label) { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle__label { font-size: 9px; letter-spacing: .1em; line-height: 1; margin-top: 2px; }
header.is-open .nav-toggle span:nth-child(1), body.is-menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
header.is-open .nav-toggle span:nth-child(2), body.is-menu-open .nav-toggle span:nth-child(2) { transform: scaleX(0); opacity: 0; }
header.is-open .nav-toggle span:nth-child(3), body.is-menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- SPメニュー：左右から閉じるパネル ---------- */
.sp-menu { display: none; }
@media (max-width: 767px) {
	header:has(.sp-menu) nav { display: none !important; }
	.sp-menu { display: block; position: fixed; inset: 0; z-index: 150; pointer-events: none; }
	.sp-menu__left, .sp-menu__right {
		position: absolute; top: 0; bottom: 0;
		transition: transform .5s cubic-bezier(.77, 0, .18, 1);
	}
	.sp-menu__left {
		left: 0; width: 25%;
		background: var(--surface);
		border-right: 1px solid var(--line);
		transform: translateX(-100%);
		padding: 0;
		overflow: hidden;
	}
	.sp-menu__left a {
		position: absolute; top: 24px; left: 50%;
		transform-origin: 0 0;
		transform: rotate(90deg) translateY(-50%);
		line-height: 0;
		white-space: nowrap;
	}
	.sp-menu__left img { width: auto; max-width: none; height: auto; }
	.sp-menu__left small { display: none; }
	.sp-menu__right {
		right: 0; width: 75%;
		background: var(--ink);
		transform: translateX(100%);
		overflow-y: auto;
		padding: 76px 22px 32px;
	}
	.sp-menu__right ul { list-style: none; margin: 0; padding: 0; }
	.sp-menu__right li { border-bottom: 1px solid var(--dark-2); opacity: 0; transform: translateX(16px); transition: opacity .3s, transform .3s; }
	.sp-menu__right li a { display: flex; align-items: center; min-height: 50px; color: var(--paper); font-size: 15px; font-weight: 700; letter-spacing: .06em; }
	.sp-menu__right li a:hover { color: #fff; }
	.sp-menu__right .sp-menu__sub { margin-top: 20px; }
	.sp-menu__right .sp-menu__sub li { border-bottom: 0; }
	.sp-menu__right .sp-menu__sub li a { min-height: 40px; font-size: 13px; font-weight: 400; color: #cfc6bb; }

	body.is-menu-open { overflow: hidden; }
	body.is-menu-open .sp-menu { pointer-events: auto; }
	body.is-menu-open .sp-menu__left,
	body.is-menu-open .sp-menu__right { transform: translateX(0); }
	body.is-menu-open .sp-menu__right li { opacity: 1; transform: none; transition-delay: calc(.35s + var(--i, 0) * .04s); }
	.sp-menu__right li:nth-child(2) { --i: 1; } .sp-menu__right li:nth-child(3) { --i: 2; }
	.sp-menu__right li:nth-child(4) { --i: 3; } .sp-menu__right li:nth-child(5) { --i: 4; }
	.sp-menu__right li:nth-child(6) { --i: 5; }

	.nav-toggle { position: relative; z-index: 200; transition: color .3s, border-color .3s, background .3s; }
	body.is-menu-open .nav-toggle { color: #fff; border-color: rgba(255,255,255,.25); background: transparent; }
}

#headersearch { grid-area: search; float: none; margin: 10px 0 0; }
#headernavi { display: none; }
#search_form { margin: 0; display: flex; gap: 6px; align-items: center; }
#headersearch #text {
	float: none;
	flex: 0 1 60%;
	min-width: 0;
	height: 32px;
	margin: 0;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	font: inherit;
	font-size: 16px; /* iOSズーム防止 */
}
#headersearch #text:focus { outline: 2px solid var(--accent); outline-offset: -1px; background: #fff; }
#search_form input[type="image"] { flex-shrink: 0; border-radius: var(--radius); }

/* ナビ */
header nav {
	grid-area: nav;
	margin: 12px calc(var(--pad) * -1) 0;
	padding: 0 var(--pad);
	background: var(--ink);
	display: none;
}
header.is-open nav { display: block; }
/* ハンバーガーボタン未設置時のフォールバック：ナビを常時表示 */
header:not(:has(.nav-toggle)) nav { display: block; }
header nav ul {
	clear: none;
	overflow: visible;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
header nav li:nth-child(-n+6),
header nav li:nth-child(n+7) {
	float: none;
	width: auto;
	height: auto;
	border: 0;
	border-bottom: 1px solid var(--dark-2);
	border-radius: 0;
	background: none;
	font-size: 14px;
}
header nav li:nth-child(-n+6):hover,
header nav li:nth-child(n+7):hover { background: var(--dark-2); }
header nav li:nth-child(1), header nav li:nth-child(6),
header nav li:nth-child(7), header nav li:nth-child(12) { width: auto; border-radius: 0; border-right: 0; }
header nav li a {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	height: 100%;
	min-height: 48px;
	padding: 0 4px;
	text-align: left;
}
header nav li:nth-child(-n+6) a:link, header nav li:nth-child(-n+6) a:visited,
header nav li:nth-child(n+7) a:link, header nav li:nth-child(n+7) a:visited { color: #f4f0ea; }
header nav li:nth-child(-n+6) a:hover,
header nav li:nth-child(n+7) a:hover { color: #fff !important; }
header nav li:nth-child(-n+6) a { font-weight: 700; }
header nav li:nth-child(n+7) a { color: #cfc6bb; font-size: 13px; }
header nav li:nth-child(n+7) a:before {
	content: "";
	width: 13px; height: 13px;
	margin: 0;
	flex-shrink: 0;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='6.5' cy='6.5' r='5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M10.5 10.5 15 15' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='6.5' cy='6.5' r='5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M10.5 10.5 15 15' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: .7;
}
/* SP：サイトマップ・お問い合わせ（5,6）はドロワー下部で控えめに */
header nav li:nth-child(5) a, header nav li:nth-child(6) a { font-weight: 400; color: #a39a92; }

header #pan { grid-area: pan; margin: 0; padding: 10px 0; font-size: 12px; color: var(--mute); }
@media (max-width: 767px) {
	body { padding-top: var(--hd-h, 128px); }
	header {
		position: fixed; top: 0; left: 0; right: 0;
		box-shadow: 0 1px 0 var(--line), 0 4px 12px rgba(0,0,0,.06);
		transition: padding .25s;
	}
	header #logoarea img { transition: max-height .25s; }
	.nav-toggle { transition: width .25s, height .25s, color .3s, border-color .3s, background .3s; }
	#headersearch { display: none; }
	header #pan { margin: 12px calc(var(--pad) * -1) 0; padding: 10px var(--pad) 10px calc(var(--pad) + 8px); border-top: 2px solid var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	/* 追従時（JSで body.is-scrolled を付与）：ロゴとメニューだけの細いバーに */
	body.is-scrolled header { padding-top: 6px; padding-bottom: 6px; border-bottom: 2px solid var(--accent); }
	body.is-scrolled header #logoarea h1,
	body.is-scrolled header #pan { display: none; }
	body.is-scrolled header #logoarea img { max-height: 30px; }
	body.is-scrolled .nav-toggle { width: 40px; height: 40px; }
	body.is-scrolled .nav-toggle__label { display: none; }
}
header #pan a { color: var(--mute); }
header #pan { padding-left: 8px; }
header #pan > a { margin-right: 6px; }
header #pan > strong { margin-left: 6px; font-weight: 700; color: var(--ink); }

@media (min-width: 768px) {
	header {
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-areas:
			"logo search"
			"nav nav"
			"pan pan";
		padding-top: 14px;
	}
	.nav-toggle { display: none; }
	header #logoarea img { max-height: 60px; }
	#headersearch { margin: 0; justify-self: end; width: min(100%, 380px); display: flex; flex-direction: column; gap: 8px; }
	#headernavi { display: flex; justify-content: flex-end; align-items: center; gap: 10px; font-size: 12px; color: var(--line); }
	#headernavi a { color: var(--mute); }
	#headersearch #text { font-size: 13px; }
	#search_form { justify-content: flex-end; }

	header nav, header.is-open nav {
		display: block;
		margin-top: 14px;
		/* 1段目=メイン(黒) / 2段目=検索(ダーク2) を全幅で */
		background: linear-gradient(var(--ink) 0 46px, var(--accent) 46px 48px, var(--dark-2) 48px);
	}
	header nav ul { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 46px 42px; row-gap: 2px; }
	header nav li:nth-child(-n+6), header nav li:nth-child(n+7) { border-bottom: 0; }
	header nav li:nth-child(-n+6) { border-left: 1px solid var(--dark-2); }
	header nav li:nth-child(6) { border-right: 1px solid var(--dark-2); }
	header nav li:nth-child(n+7) { border-left: 1px solid #3a3330; }
	header nav li:nth-child(12) { border-right: 1px solid #3a3330; }
	header nav li:nth-child(n+7):hover { background: #3a3330; }
	header nav li:nth-child(-n+6):hover { background: var(--accent-d); }
	header nav li a { justify-content: center; min-height: 0; padding: 0 6px; text-align: center; }
	header nav li:nth-child(5) a, header nav li:nth-child(6) a { font-weight: 700; color: #f4f0ea; }
	header nav li:nth-child(n+7) a { font-size: 12px; }
}
@media (min-width: 1024px) {
	header nav li:nth-child(-n+6) a { font-size: 14px; letter-spacing: .08em; }
	header nav li:nth-child(n+7) a { font-size: 13px; }
}

/* ナビ配色 パターンB：1段目=赤 / 2段目=白（header に class="nav--b" を付与） */
@media (min-width: 768px) {
	header.nav--b nav, header.nav--b.is-open nav {
		background: linear-gradient(var(--accent) 0 46px, var(--accent-d) 46px 48px, var(--surface) 48px);
		border-bottom: 1px solid var(--line);
	}
	header.nav--b nav li:nth-child(-n+6) { border-left-color: rgba(255,255,255,.18); }
	header.nav--b nav li:nth-child(6) { border-right-color: rgba(255,255,255,.18); }
	header.nav--b nav li:nth-child(-n+6):hover { background: var(--accent-d); }
	header.nav--b nav li:nth-child(n+7) { border-left-color: var(--line); }
	header.nav--b nav li:nth-child(12) { border-right-color: var(--line); }
	header.nav--b nav li:nth-child(n+7):hover { background: var(--paper); }
	header.nav--b nav li:nth-child(n+7) a:link,
	header.nav--b nav li:nth-child(n+7) a:visited { color: var(--ink); }
	header.nav--b nav li:nth-child(n+7) a:hover { color: var(--accent) !important; }
	header.nav--b nav li:nth-child(n+7) a:before { opacity: .55; }
}

/* ---------- レイアウト（float → grid） ---------- */
#container {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 16px var(--pad) 0;
	overflow: visible;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "slide" "main" "left" "right";
	gap: 28px;
	align-items: start;
}
#leftcolumn, #rightcolumn, #three_maincolumn, #two_maincolumn, #one_maincolumn, #slideFrame {
	float: none;
	width: auto;
	padding: 0;
	min-width: 0;
}
#leftcolumn { grid-area: left; }
#rightcolumn { grid-area: right; }
#slideFrame { grid-area: slide; }
#three_maincolumn, #two_maincolumn, #one_maincolumn { grid-area: main; }
/* 2カラム時・1カラム時：メインカラムに背景 */
#two_maincolumn, #one_maincolumn {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 14px 24px;
}
@media (min-width: 768px) { #two_maincolumn, #one_maincolumn { padding: 24px 24px 32px; } }
#one_maincolumn #otoiawase_form #one_common table { background: var(--surface); }
#one_maincolumn #otoiawase_form #one_common table th { background: #edf9ff; }
#one_maincolumn #photolist .imgbox { background: var(--paper); }
#two_maincolumn .pagenumberarea, #two_maincolumn ul.pagecondarea { background: #edf9ff; border-color: transparent; }
#two_maincolumn .cateblock, #two_maincolumn .sales_day { background: var(--paper); border-color: transparent; }
#two_maincolumn .cateblock:hover, #two_maincolumn .sales_day:hover { background: var(--accent); border-color: var(--accent); }
#two_maincolumn .cateblock:hover a, #two_maincolumn .sales_day:hover a,
#two_maincolumn .cateblock:hover a::after, #two_maincolumn .sales_day:hover a::after { color: #fff; }

@media (min-width: 768px) {
	#container {
		grid-template-columns: minmax(0, 1fr) 260px;
		grid-template-areas: "slide slide" "main left" "right right";
		gap: 32px 28px;
	}
	#container:has(#two_maincolumn) { grid-template-areas: "main left"; }
	#container:has(#one_maincolumn) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main"; }
}
@media (min-width: 1024px) {
	#container {
		grid-template-columns: 230px minmax(0, 1fr) 190px;
		grid-template-areas: "left slide slide" "left main right";
		padding-top: 24px;
	}
	#container:has(#two_maincolumn) {
		grid-template-columns: 230px minmax(0, 1fr);
		grid-template-areas: "left main";
	}
}

/* ---------- 左カラム ---------- */
#leftcolumn { display: flex; flex-direction: column; gap: 20px; }
#news_box, #ranking_box, #contents_box {
	width: auto;
	margin: 0;
	padding: 16px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
#news_box h2, #ranking_box h2 { margin: 0 0 10px; }
#news_box img, #ranking_box h2 img { margin: 0; }
#news_box dl + dl dt { border-top: 1px solid var(--line); padding-top: 10px; }
#news_box dt { padding: 0 0 10px; font-size: 12px; color: var(--mute); line-height: 1.6; }
#news_box dt a { display: block; margin-top: 2px; font-size: 13px; color: var(--ink); }
#news_box dt a:hover { color: var(--accent); }
#news_box dt hr { display: none; }

/* ランキング：第N位＋ジャケットの見せ方は維持 */
#ranking_box { overflow: visible; }
#ranking_box > p { font-size: 12px; color: var(--mute); margin: -4px 0 6px; }
#ranking_box > p br { display: none; }
#rankingarea { width: auto; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 20px; }
#rankingarea li {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 10px 0;
	border-top: 1px solid var(--line);
}
#rankingarea li > a { grid-column: 1; grid-row: 1; display: block; }
#rankingarea li > div { grid-column: 2; grid-row: 1; float: none; width: auto; font-size: 12px; line-height: 1.55; }
#rankingarea li div br { display: none; }
#rankingarea li div a {
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
	color: var(--ink);
}
#rankingarea li div a:hover { color: var(--accent); }
#rankingarea li img { width: 100%; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
#rankingarea li > div > span { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--ink); }
#rankingarea li:nth-child(n+4) > div > span { color: var(--ink); }
#rankingarea li > div > span span { color: inherit; font: inherit; display: inline; margin: 0; }
@media (max-width: 1023px) {
	#rankingarea { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
}
@media (min-width: 768px) and (max-width: 1023px) {
	#rankingarea { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) {
	#rankingarea li { grid-template-columns: 56px minmax(0, 1fr); gap: 10px; }
}

#Widget_box { width: auto; margin: 0; border: 0; }
#Widget_box a img { width: 100%; border-radius: var(--radius); }
/* 公式Xカード */
#Widget_box .x-card {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 16px;
	background: #000;
	color: #fff;
	border-radius: var(--radius);
	transition: background .15s;
}
#Widget_box .x-card:hover { background: #1a1a1a; color: #fff; }
#Widget_box .x-card__icon {
	display: flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: #fff;
}
#Widget_box .x-card__icon svg { width: 18px; height: 18px; fill: #000; }
#Widget_box .x-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#Widget_box .x-card__label { font-size: 11px; letter-spacing: .12em; color: #a3a3a3; line-height: 1.4; }
#Widget_box .x-card__id { font-size: 14px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
#Widget_box .x-card__btn {
	grid-column: 1 / -1;
	display: flex; align-items: center; justify-content: center;
	height: 36px;
	border-radius: 999px;
	background: #fff;
	color: #000;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	transition: background .15s;
}
#Widget_box .x-card:hover .x-card__btn { background: #e6e6e6; }
#link_box { width: auto; overflow: hidden; }

/* ---------- スライダー ---------- */
#slideFrame { height: auto; overflow: hidden; position: relative; }
#slideFrame .slideGuide { height: auto; }
#slideFrame .slideCell img { border-radius: 4px; }
/* PC は既存 jquery.slider.js を使用。TB/SP は横スクロール（JSが当てるインライン幅を無効化） */
@media (max-width: 1023px) {
	#slideFrame #loading { display: none; }
	#slideFrame .slideGuide {
		display: flex !important;
		gap: 8px;
		width: auto !important;
		margin: 0 calc(var(--gutter) * -1) !important;
		padding: 0 var(--gutter) 6px !important;
		left: 0 !important;
		transform: none !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 var(--gutter);
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	#slideFrame .slideGuide::-webkit-scrollbar { display: none; }
	#slideFrame .slideCell { float: none; flex: 0 0 44%; margin: 0 !important; scroll-snap-align: start; }
	#slideFrame .slideCell img { width: 100%; }
}
@media (min-width: 600px) and (max-width: 1023px) {
	#slideFrame .slideCell { flex-basis: 28%; }
}

/* ---------- 新作PICKUP（中カラム） ---------- */
#three_maincolumn > section { display: flex; flex-direction: column; gap: 12px; }
div.pickdiv { width: auto; margin: 0; padding: 0; border: 0; }
div.pickdiv h2 { margin: 0; }
article.pickdiv {
	width: auto;
	margin: 0;
	padding: 14px;
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 12px;
	color: var(--ink-2);
	line-height: 1.7;
}
.pickdiv .float { float: none; margin: 0; }
.pickdiv .float img, .pickdiv img.pake { width: 100%; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
.pickdiv .fr { padding: 0; min-width: 0; }
.pickdiv h3 { margin: 0 0 6px; font-size: 14px; font-weight: 700; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.pickdiv .fr > a:hover h3 { color: var(--accent); }
.pickdiv strong { color: var(--ink); font-weight: 700; letter-spacing: .04em; }
.pickdiv p {
	margin: 8px 0;
	padding: 0;
	border: 0;
	font-size: 13px;
	color: var(--ink-2);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pickdiv .fr a:not(:first-child) { color: var(--accent); }
@media (min-width: 768px) {
	article.pickdiv { grid-template-columns: 110px minmax(0, 1fr); gap: 18px; padding: 16px; }
	.pickdiv h3 { font-size: 15px; }
}

/* ---------- 右カラム（ジャケット） ---------- */
#rightcolumn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
#rightcolumn #sample { grid-column: 1 / -1; width: auto; margin: 0; border: 0; border-radius: var(--radius); overflow: hidden; }
#rightcolumn #sample img { width: 100%; }
#rightcolumn a.over { display: block; }
#rightcolumn img.picture { width: 100%; border: 0; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 600px) and (max-width: 1023px) { #rightcolumn { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1024px) { #rightcolumn { grid-template-columns: minmax(0, 1fr); } }

/* ---------- フッター ---------- */
footer {
	width: auto;
	margin: 56px 0 0;
	padding: 28px var(--pad);
	border: 0;
	background: var(--ink);
	color: #a39a92;
	font-size: 12px;
	text-align: center;
}
footer a { color: #cfc6bb; }

/* ---------- 年齢認証モーダル ---------- */
.remodal-overlay { background: rgba(20, 16, 15, .94); }
.remodal-wrapper { padding: 16px; display: flex; align-items: center; justify-content: center; }
.remodal-wrapper::after { display: none; }
.remodal, #over18 {
	max-width: 440px;
	padding: 32px 24px 28px;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
	color: var(--ink);
	background: var(--surface);
}
#over18 .text01 { margin-bottom: 20px; font-size: 12px; color: var(--mute); }
#over18 .text01 img { display: block; margin: 8px auto 0; max-width: 100%; }
#over18 .text02 { margin-bottom: 20px; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
#over18 .text03 { margin-bottom: 18px; font-size: 16px; font-weight: 700; }
#over18 .text03 span { display: block; font-size: 11px; font-weight: 400; color: var(--mute); letter-spacing: .06em; }
#over18 ul { display: flex; flex-wrap: wrap; gap: 10px; }
#over18 ul li { display: block; flex: 1 1 160px; }
#over18 ul li + li { margin-left: 0; }
#over18 ul li img { width: 100%; }
/* テキストボタン（テンプレート置換後） */
.over18-btn {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-height: 56px; padding: 8px 12px;
	border-radius: var(--radius);
	font-size: 15px; font-weight: 700; line-height: 1.3;
}
.over18-btn small { font-size: 10px; font-weight: 400; letter-spacing: .1em; opacity: .8; }
.over18-btn--enter { background: var(--accent); color: #fff !important; }
.over18-btn--enter:hover { background: var(--accent-d); }
.over18-btn--exit { border: 1px solid var(--line); color: var(--ink-2); background: var(--surface); }
.over18-btn--exit:hover { border-color: var(--ink-2); color: var(--ink); }

/* =========================================================
   商品一覧 products/list.php
   ========================================================= */
.pagenumberarea, ul.pagecondarea {
	width: auto;
	margin: 0 0 16px;
	padding: 10px 14px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
ul.pagenumberarea {
	height: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	font-size: 13px;
}
ul.pagenumberarea li { float: none; width: auto; }
ul.pagenumberarea li.center:not(:has(a)) { display: none; }
ul.pagenumberarea li.left .pagenumber { display: inline; min-width: 0; height: auto; padding: 0 2px; border: 0; background: none; color: var(--accent); font-size: 16px; font-weight: 700; }
ul.pagenumberarea li.center { order: 3; flex: 1 1 100%; white-space: normal; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 0; font-size: 0; }
/* 「|」などの素のテキストは非表示、番号とリンクをボタン化 */
ul.pagenumberarea li.center > strong,
ul.pagenumberarea li.center > a {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 36px; height: 36px; padding: 0 10px; margin: 0 3px;
	border: 1px solid var(--line); border-radius: 4px;
	background: var(--surface);
	font-size: 13px; line-height: 1;
}
ul.pagenumberarea li.center > strong { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
ul.pagenumberarea li.center > a { color: var(--ink); font-weight: 400; }
ul.pagenumberarea li.center > a:hover { border-color: var(--accent); color: var(--accent); }
ul.pagenumberarea li.center a, .pagenumberarea .pagenumber {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 36px; height: 36px; padding: 0 8px;
	border: 1px solid var(--line); border-radius: 4px;
}
.pagenumberarea .pagenumber { background: var(--ink); border-color: var(--ink); color: #fff; }
ul.pagenumberarea li.right a, ul.pagenumberarea li.left a { color: var(--accent); font-weight: 700; }
@media (min-width: 768px) {
	ul.pagenumberarea li.center { order: 0; flex: 0 1 auto; justify-content: flex-end; }
}
ul.sortarea { width: auto; margin: 0 0 16px; }
ul.sortarea li { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
ul.sortarea select {
	min-height: 36px;
	padding: 0 30px 0 10px;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a716a'/%3E%3C/svg%3E") no-repeat right 10px center;
	-webkit-appearance: none; appearance: none;
	font: inherit; font-size: 13px; color: var(--ink);
	cursor: pointer;
}
@media (max-width: 767px) { ul.sortarea li { justify-content: stretch; } ul.sortarea select { flex: 1 1 0; font-size: 16px; } }

ul#listarea {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 14px;
	margin: 0 0 24px;
}
ul#listarea li,
ul#listarea li:nth-child(4n),
ul#listarea li:nth-child(n+5) {
	float: none;
	width: auto;
	height: auto;
	padding: 0;
	border: 0;
	text-align: left;
}
@media (min-width: 600px) { ul#listarea { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { ul#listarea { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; } }
div.listphoto { padding: 0 0 8px; }
div.listphoto img { width: 100%; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
div.listrightblock { float: none; clear: none; width: auto; }
div.listrightblock table.listproducts { width: 100%; margin: 0; border: 0; font-size: 12px; }
div.listrightblock table.listproducts td { padding: 1px 0; border: 0; vertical-align: top; }
div.listrightblock table.listproducts td.namecenter {
	width: auto; height: auto; margin: 0; padding-bottom: 6px;
	text-align: left; font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--ink);
}
div.listrightblock table.listproducts td.namecenter a {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
div.listrightblock table.listproducts td.title,
div.listrightblock table.listproducts td:not([class]) { width: 3.5em; text-align: left; color: var(--mute); white-space: nowrap; }
div.listrightblock table.listproducts td.center a { color: var(--accent); }
div.listrightblock table.listproducts td.center { width: auto; text-align: left; color: var(--ink-2); }
.soldout, .before_sale { display: inline-block; padding: 2px 8px; margin-top: 6px; border-radius: 3px; font-size: 11px; font-weight: 700; line-height: 1.6; }
.soldout { background: var(--ink); color: #fff; }
.before_sale { background: var(--accent); color: #fff; width: 100%; text-align: center; }

/* =========================================================
   商品詳細 products/detail.php
   ========================================================= */
div#detailarea_top { width: auto; margin: 0; }
div#detail1 { margin: 0 0 16px; line-height: 0; }
div#detail1 a { display: block; }
div#detail1 img { display: block; width: 100%; max-width: none; height: auto; border-radius: 4px; }
@media (min-width: 768px) { div#detail1 { margin-bottom: 24px; } }
div#detail_info_row { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
dl#detail2 {
	width: auto;
	flex: 1 1 auto;
	min-width: 0;
	grid-template-columns: 76px minmax(0, 1fr);
	column-gap: 12px;
	row-gap: 0;
	font-size: 13px;
}
dl#detail2 dt {
	margin: 8px 0;
	padding: 4px 0 3px;
	border-radius: 4px;
	background: var(--accent-soft);
	color: var(--accent-d);
	font-size: 11px;
}
dl#detail2 dd { padding: 8px 0; border-bottom: 1px solid var(--line); line-height: 1.7; }
dl#detail2 dd a { color: var(--accent); }
#detail_side { width: auto; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
div#detail3, #detail4 { width: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
div#detail3 { margin: 0; padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
div#detail3 > img { display: block; margin: 0; }
div#detail3 > div { flex: 1 1 100%; margin-top: 4px; font-size: 13px; line-height: 1.6; }
div#detail3 .green { color: var(--ink); font-weight: 700; }
div#detail3 .red { color: var(--accent); font-weight: 700; }
.fanza_purchase { border: 1px solid var(--line); background: var(--surface); }
.fanza_purchase_card { min-height: 60px; }
@media (min-width: 768px) {
	div#detail_info_row { flex-direction: row; align-items: flex-start; gap: 28px; }
	#detail_side { flex: 0 0 300px; width: 300px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	#container:has(#detailarea_top) div#detail_info_row { flex-direction: column; }
	#container:has(#detailarea_top) #detail_side { flex: none; width: auto; }
}

div#detailarea_bottom {
	width: auto;
	margin-top: 32px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 6px;
}
div#detailarea_bottom > :not(a) { grid-column: 1 / -1; }
div#detailarea_bottom .title { font-size: 16px; margin: 24px 0 8px; }
div#detailarea_bottom .title:first-child { margin-top: 0; }
div#detailarea_bottom > a.zoombox { display: block; line-height: 0; border-radius: 3px; overflow: hidden; }
div#detailarea_bottom > a.zoombox img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 0; }
div#detailarea_bottom > a.zoombox:hover img { opacity: .8; }
#margin20 { margin: 0; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
@media (min-width: 768px) { div#detailarea_bottom { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; } }
#pickup {
	width: auto; height: auto; margin: 0;
	display: flex; gap: 10px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 6px;
}
#pickup li { float: none; flex: 0 0 100px; margin: 0; scroll-snap-align: start; list-style: none; }
#pickup li.reading { flex: 1 1 auto; font-size: 12px; color: var(--mute); }
#pickup img { max-width: none; max-height: none; width: 100%; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }

/* =========================================================
   その他ページの固定幅解除
   ========================================================= */
/* ランキングページ user_data/ranking.php */
#two_maincolumn > h2 { margin: 0 0 16px; }
#two_maincolumn > h2.c-title { font-size: 20px; }
@media (min-width: 768px) { #two_maincolumn > h2.c-title { font-size: 22px; } }
#two_maincolumn > h2 img { width: 100%; height: auto; border-radius: var(--radius); }
#two_maincolumn #ranking { margin: 0; }
#ranking table.field, #ranking table.field tbody { display: block; width: auto; margin: 0; border: 0; }
#ranking table.field tr {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 16px 0;
	border-top: 1px solid var(--line);
	counter-increment: rank;
}
#ranking table.field tr:first-child { border-top: 0; padding-top: 0; }
#ranking table.field td { display: block; width: auto !important; padding: 0; border: 0; }
#ranking table.field td img { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
#ranking td.text { font-size: 12px; line-height: 1.7; color: var(--ink-2); }
#ranking td.text p { margin: 0 0 4px; }
#two_maincolumn #ranking tr:nth-child(1) td.text strong { background: #b8912f; }
#two_maincolumn #ranking tr:nth-child(2) td.text strong { background: #8a9199; }
#two_maincolumn #ranking tr:nth-child(3) td.text strong { background: #9a5f3a; }
#two_maincolumn #ranking td.text strong {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 3px;
	background: var(--ink);
	color: #fff;
	font-size: 13px;
	letter-spacing: .06em;
}
#ranking td.text > a { font-size: 14px; font-weight: 700; line-height: 1.55; color: var(--ink); }
#ranking td.text > a:hover { color: var(--accent); }
@media (min-width: 768px) {
	#ranking table.field tr { grid-template-columns: 110px minmax(0, 1fr); gap: 20px; }
	#ranking td.text > a { font-size: 15px; }
}

/* レーベル一覧・女優一覧・ジャンル一覧 */
#categorylistarea { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 6px; }
#categorylistarea > #listtitle { grid-column: 1 / -1; margin-bottom: 10px; }
#categorylistarea .cateblock { width: auto; margin: 0; line-height: 1.4; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font-size: 13px; }
#categorylistarea .cateblock:hover { border-color: var(--accent); }
#categorylistarea .cateblock a { width: auto; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 8px; text-align: center; }
@media (max-width: 767px) { #categorylistarea { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 発売日から探す */
.sales_title {
	width: auto;
	margin: 24px 0 10px;
	padding: 0;
	border: 0;
	background: none;
}
#listtitle + .sales_title { margin-top: 0; }
.sales_title h3 { border-left: 0; padding: 0 0 6px; font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--line); }
.sales_title + ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 6px; }
.sales_day {
	float: none;
	width: auto;
	height: auto;
	margin: 0;
	line-height: 1.4;
	text-align: left;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--surface);
	font-size: 13px;
}
.sales_day:hover { border-color: var(--accent); }
.sales_day a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 12px; }
.sales_day a::after { content: "›"; color: var(--mute); font-size: 16px; }
#two_maincolumn > br[clear] { display: none; }
@media (max-width: 767px) { .sales_title + ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* サイトマップ（#section は重複IDのため属性セレクタでも指定） */
#sitemaparea { width: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; align-items: start; }
#sitemaparea > h2 { grid-column: 1 / -1; margin: 0; }
#sitemaparea > h2.c-title, #sitemaparea > #listtitle h2 { font-size: 20px; margin: 0 0 4px; }
#sitemaparea > #listtitle { grid-column: 1 / -1; margin: 0; }
@media (min-width: 768px) { #sitemaparea > h2.c-title, #sitemaparea > #listtitle h2 { font-size: 22px; } }
#sitemaparea > h2 img { max-width: 100%; }
#sitemaparea > br { display: none; }
#sitemaparea [id="section"] { width: auto; float: none; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
#sitemaparea .item { padding: 8px 12px; background: var(--ink); color: #f4f0ea; font-weight: 700; letter-spacing: .08em; }
#sitemaparea [id="section"] ul { margin: 0; padding: 6px 12px 10px; max-height: calc(41px * 7 + 16px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
#sitemaparea li { list-style: none; margin: 0; border-bottom: 1px solid var(--line); font-size: 13px; }
#sitemaparea li:last-child { border-bottom: 0; }
#sitemaparea li a { display: flex; align-items: center; min-height: 40px; }
#two_maincolumn > br[clear] { display: none; }

/* 写真から探す（1カラム） */
#one_maincolumn > .green { display: block; margin: 0 0 12px; font-size: 12px; color: var(--mute); }
#photolist {
	width: auto;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 6px;
}
#photolist .imgbox { float: none; margin: 0; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: var(--surface); }
#photolist .imgbox a { display: block; }
#photolist .imgbox img { display: block; width: 100%; height: auto; aspect-ratio: 72 / 56; object-fit: cover; border: 0; }
#photolist .select { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (min-width: 768px) { #photolist { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; } }
#shoplist_area { width: auto; }

/* リンクページ：DMMバナー 2列×2行 */
#fanze_links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
#fanze_links > ins.widget-banner {
	display: block;
	min-width: 0;
	text-align: center;
	text-decoration: none;
	line-height: 0;
}
#fanze_links > ins.widget-banner * { max-width: 100% !important; }
#fanze_links > ins.widget-banner iframe,
#fanze_links > ins.widget-banner img { width: 100% !important; height: auto; aspect-ratio: 6 / 5; border: 0; }
@media (max-width: 599px) { #fanze_links { grid-template-columns: minmax(0, 1fr); } }
.event #kinshi { width: auto; }
#model .otoiawase_A { position: static; margin: 20px 0; text-align: center; }
#linktbl, #model table { width: 100%; }

/* お問い合わせ */
#otoiawase_form #one_common { width: auto; max-width: 860px; margin: 0 auto; }
#otoiawase_form h1 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 0 0 10px; font-size: 22px; line-height: 1.4; border-bottom: 2px solid var(--ink); }
#otoiawase_form h1:before { content: ""; position: static; display: block; width: 8px; height: 8px; margin: 0; background: var(--accent); background-image: none; flex-shrink: 0; }
@media (max-width: 767px) { #otoiawase_form h1 { font-size: 20px; } }
#otoiawase_form #one_common > p { font-size: 13px; color: var(--ink-2); line-height: 1.8; }
#otoiawase_form #one_common table {
	width: 100%;
	margin: 20px 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--surface);
}
#otoiawase_form #one_common table th {
	width: 200px;
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: var(--paper);
	font-weight: 700;
	font-size: 13px;
	vertical-align: top;
}
#otoiawase_form #one_common table td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--line); font-size: 13px; }
#otoiawase_form #one_common table tr:last-child th,
#otoiawase_form #one_common table tr:last-child td { border-bottom: 0; }
#otoiawase_form .attention { color: var(--accent); margin-left: 2px; }
#otoiawase_form td > .attention:empty { display: none; }
#otoiawase_form .mini { font-size: 11px; font-weight: 400; color: var(--mute); }
#otoiawase_form input[type="text"], #otoiawase_form textarea, #otoiawase_form select {
	max-width: 100%;
	min-height: 40px;
	padding: 6px 10px;
	border: 1px solid #dfdfdf;
	border-radius: 4px;
	background: #fffef6;
	font: inherit;
	font-size: 16px;
}
#otoiawase_form input[type="text"]:focus, #otoiawase_form textarea:focus, #otoiawase_form select:focus { outline: 0; border-color: #b9b9b9; background: #fff; }
#otoiawase_form .box60 { width: 5em; }
#otoiawase_form .box120 { width: 9em; }
#otoiawase_form .box380 { width: 100%; max-width: 420px; margin: 0 0 6px; }
#otoiawase_form textarea, #otoiawase_form .area380 { width: 100%; }
#otoiawase_form td p { margin: 0 0 6px; }
#one_common .tblareabtn { margin: 16px 0 0; text-align: center; }
/* 汎用ボタン（画像ボタン input[type=image] の置換用） */
.c-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 220px; min-height: 52px; padding: 0 28px;
	border: 0; border-radius: var(--radius);
	background: var(--accent); color: #fff;
	font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .06em;
	cursor: pointer;
}
.c-btn:hover { background: var(--accent-d); color: #fff; }
@media (max-width: 767px) {
	#otoiawase_form #one_common table, #otoiawase_form #one_common tbody,
	#otoiawase_form #one_common tr, #otoiawase_form #one_common th, #otoiawase_form #one_common td,
	#linktbl, #linktbl tbody, #linktbl tr, #linktbl td { display: block; width: 100% !important; }
	#otoiawase_form #one_common table th { border-bottom: 0; padding: 12px 14px 4px; background: none; }
	#otoiawase_form #one_common table td { padding: 4px 14px 14px; }
	#otoiawase_form #one_common table tr { border-bottom: 1px solid var(--line); }
	#otoiawase_form #one_common table tr:last-child { border-bottom: 0; }
	#otoiawase_form .box120 { width: calc(50% - 2.2em); }
	#linktbl .lefttd, #linktbl .righttd { padding: 12px; }
}

/* 既存 base.css の誤記「s」により無効化されていたエラーページ用スタイルを補完 */
#under02column_error { text-align: center; padding: 120px 0; }
.messagearea { margin-bottom: 50px; }


/* =========================================================
   配色パターン2：ネイビー × 赤（--accent は共通）
   使い方：<body class="theme-navy"> を付与
   ========================================================= */
body.theme-navy {
	--ink: #17212c;
	--ink-2: #3c4855;
	--mute: #687480;
	--line: #d9dfe5;
	--paper: #eef1f4;
	--surface: #ffffff;
	--dark-2: #243343;
	--accent-soft: #f7e9ea;
	--nav-line: #33475b;
	--on-dark: #eef2f6;
	--on-dark-2: #c3ccd6;
	--on-dark-mute: #93a0ad;
}
body.theme-navy header nav li:nth-child(-n+6) a:link, body.theme-navy header nav li:nth-child(-n+6) a:visited,
body.theme-navy header nav li:nth-child(n+7) a:link, body.theme-navy header nav li:nth-child(n+7) a:visited { color: var(--on-dark); }
body.theme-navy header nav li:nth-child(n+7) a { color: var(--on-dark-2); }
body.theme-navy header nav li:nth-child(5) a, body.theme-navy header nav li:nth-child(6) a { color: var(--on-dark-mute); }
@media (min-width: 768px) {
	body.theme-navy header nav li:nth-child(n+7) { border-left-color: var(--nav-line); }
	body.theme-navy header nav li:nth-child(12) { border-right-color: var(--nav-line); }
	body.theme-navy header nav li:nth-child(n+7):hover { background: var(--nav-line); }
	body.theme-navy header nav li:nth-child(5) a, body.theme-navy header nav li:nth-child(6) a { color: var(--on-dark); }
}
body.theme-navy footer { color: var(--on-dark-mute); }
body.theme-navy footer a { color: var(--on-dark-2); }
body.theme-navy #sitemaparea .item { color: var(--on-dark); }
body.theme-navy .remodal-overlay { background: rgba(14, 20, 28, .94); }
