@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; }
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; gap: 2px; }
header #logoarea h1 { font-size: 10px; font-weight: 400; line-height: 1.4; color: var(--mute); letter-spacing: 0; }
header #logoarea h1 a { color: var(--mute); }
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) { transform: translateY(6px) rotate(45deg); }
header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

#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: 1 1 auto;
	min-width: 0;
	height: 40px;
	margin: 0;
	padding: 0 12px;
	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"] { height: 40px; width: auto; 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); }
header #pan a { color: var(--mute); }

@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: block; text-align: right; font-size: 12px; color: var(--line); }
	#headernavi a { color: var(--mute); }
	#headersearch #text { font-size: 14px; }

	header nav, header.is-open nav {
		display: block;
		margin-top: 14px;
		/* 1段目=メイン(黒) / 2段目=検索(ダーク2) を全幅で */
		background: linear-gradient(var(--ink) 0 46px, var(--dark-2) 46px);
	}
	header nav ul { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 46px 42px; }
	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(--surface) 46px);
		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: var(--max);
	margin: 0 auto;
	padding: 16px var(--gutter) 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: var(--paper); }
#one_maincolumn #photolist .imgbox { background: var(--paper); }
#two_maincolumn .pagenumberarea, #two_maincolumn ul.pagecondarea { background: var(--paper); 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(--surface); border-color: var(--accent); }

@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: 210px minmax(0, 1fr) 200px;
		grid-template-areas: "left slide slide" "left main right";
		padding-top: 24px;
	}
	#container:has(#two_maincolumn) {
		grid-template-columns: 210px 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(--accent); }
#rankingarea li:nth-child(n+4) > div > span { color: var(--mute); }
@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); }
#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 { order: 3; flex: 1 1 100%; white-space: normal; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
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: 1 1 auto; }
}
ul.sortarea { width: auto; margin: 0 0 12px; }

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 { width: 4.5em; text-align: left; color: var(--mute); white-space: nowrap; }
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: 4px; border-radius: 3px; font-size: 11px; font-weight: 700; }
.soldout { background: var(--ink); color: #fff; }
.before_sale { background: var(--accent); color: #fff; }

/* =========================================================
   商品詳細 products/detail.php
   ========================================================= */
div#detailarea_top { width: auto; margin: 0; }
div#detail1 { margin: 0 0 20px; }
div#detail1 img { max-width: 100%; height: auto; border-radius: 4px; }
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; }
div#detail3, #detail4 { width: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.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; }
div#detailarea_bottom .title { font-size: 16px; }
#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; }
#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 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 td.text strong {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 3px;
	background: var(--mute);
	color: #fff;
	font-size: 13px;
	letter-spacing: .06em;
}
#ranking tr:nth-child(-n+3) td.text strong { background: var(--accent); }
#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 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; }
#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; }
.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 { margin: 0 0 16px; padding: 0 0 10px; font-size: 22px; border-bottom: 2px solid var(--ink); }
#otoiawase_form h1:before { display: none; }
#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 var(--line);
	border-radius: 4px;
	background: var(--paper);
	font: inherit;
	font-size: 16px;
}
#otoiawase_form input[type="text"]:focus, #otoiawase_form textarea:focus, #otoiawase_form select:focus { outline: 2px solid var(--accent); outline-offset: -1px; 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; }
