@charset "shift_jis";
body {
	font-family: "メイリオ", "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	font-size: 75%;
	line-height: 2;
	color: #333333;
	margin: 0px;
	padding: 0px;
	text-align: center;
}
h1,h2,h3,p,ul,li,dl,dt,dd{
	margin: 0px;
	padding: 0px;
}
ul{
	list-style-type: none;
}

img {
	border: none;
}
input,textarea,select {
	font-size: 1em;
}
table {
	border-collapse:collapse;
	font-size: 100%;
}


/*リンクカラー*/
a {
	color: #000000;
}

/*カーソルオーバー時のリンクカラー*/
a:hover {
	color: #ff476d;
	text-decoration: none;	/*下線を消す設定。残したままがいいならこの１行を削除。*/
}



/*コンテナー
---------------------------------------------------------------------------*/
#container {
	text-align: left;
	width: 1091px;
	margin-right: auto;
	margin-left: auto;
	border-top: 5px solid #ff476d;
	background-color: #FFFFFF;
}

table {
	font-size: 11px;	/*文字サイズ*/
	font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
}
table, table td, table th{
	border: 1px solid #b5b5b5;	/*枠線の幅、線種、色*/
}
table td, table th{
	padding: 0;
	line-height: 1.6;
}
table th{
	text-align: center;
	font-weight: normal;
	background: #dcdcdc;
	}
table td {
	padding-left: 3px;
}

/*ヘッダー（ロゴなどが入っている最上段のボックス）
---------------------------------------------------------------------------*/
#header {
	position: relative;
	width: 100%;
	background-image: url(images/header_bg.jpg);	/*ヘッダーの背景画像*/
	background-repeat: no-repeat;
	background-position: top;
	height: 100px;
}

#header #logo {
	padding-top: 20px;
}

#header h1 {
	font-size: 10px;	/*h1タグの文字の大きさ*/
	font-weight: normal;
	position: absolute;
	top: 0px;	/*ヘッダーのボックスに対して上から0pxに位置に配置*/
	left: 10px;	/*ヘッダーのボックスに対して右から0pxに位置に配置*/
}



/*メインメニュー（ヘッダー下の横並びのメニュー）
---------------------------------------------------------------------------*/
ul#menu li {
	float: left;
	line-height: 50px;
	height: 50px;
	margin-right: 1px;
	font-size: 12px;
}

ul#menu a {
	color: #000000;		/*メニューの文字色*/
	text-decoration: none;
	display: block;
	width: 155px;
	text-align: center;
	background-image: url(images/menu_bg.gif);	/*メニューの背景画像*/
	background-repeat: no-repeat;
	background-position: top;	/*メニューの背景画像の上半分を表示させる設定*/
	overflow: hidden;	/*オーバーした文字を非表示にする設定*/
}

ul#menu a:hover {
	background-image: url(images/menu_bg.gif);	/*メニューの背景画像*/
	background-repeat: no-repeat;
	background-position: left bottom;	/*メニューの背景画像の下半分を表示させる設定*/
	color: #FFFFFF;	/*カーソルオーバー時の文字色*/
}

ul#menu li.last {
	margin-right: 0;
}



/*３カラムを囲むボックス
---------------------------------------------------------------------------*/
#contents {
	clear: left;
	width: 100%;
}



/*左・中央を囲むボックス
---------------------------------------------------------------------------*/
#wrap {
	width: 897px;
	float: left;
	padding-bottom: 50px;
	margin-top: 20px;
}



/*両サイドの共通設定
---------------------------------------------------------------------------*/
#sub,#side {
	background-color: #f7f7f7;	/*両サイドのボックス背景色*/
	width: 178px;
	border: 1px solid #bfbfbf;	/*両サイドのボックスフチのボーダー*/
	padding: 1px;		/*余白を1px*/
	line-height: 1.6;	/*行間。通常より少し狭めている。*/
	color: #666666;		/*文字色*/
}

/*左右ボックスのp(段落タグ)の余白設定*/
#sub p,#side p {
	padding: 0.5em 5px 1em;
}

/*左右ボックスのh3見出し設定*/
#sub h3,#side h3 {
	font-size: 100%;
	background-color: #ff476d;	/*背景色*/
	text-align: center;	/*文字のセンタリング*/
	font-weight: normal;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #FFFFFF;	/*文字色*/
}



/*左ブロック
---------------------------------------------------------------------------*/
#sub {
	float: left;
}



/*右ブロック
---------------------------------------------------------------------------*/
#side {
	float: right;
	margin-top: 20px;
}



/*左右のサブメニュー
---------------------------------------------------------------------------*/
.submenu {
	margin-bottom: 1px;
}

.submenu a {
	background-image: url(images/submenu_bg.gif);	/*背景画像*/
	background-repeat: no-repeat;
	background-position: top;	/*メニューの背景画像の上半分を表示させる設定*/
	display: block;
	padding-right: 5px;
	padding-left: 10px;
	color: #000000;		/*文字色*/
	text-decoration: none;
	line-height: 40px;
	height: 40px;
	width: 163px;
}

.submenu a:hover {
	background-image: url(images/submenu_bg.gif);	/*背景画像*/
	background-repeat: no-repeat;
	background-position: bottom;	/*メニューの背景画像の下半分を表示させる設定*/
	color: #FFFFFF;		/*カーソルオーバー時の文字色*/
}



/*中央ブロック
---------------------------------------------------------------------------*/
#main {
	float: right;
	width: 703px;
}

#main h2 {
	font-size: 100%;
	background-image: url(images/h2bg.gif);	/*h2背景画像*/
	background-repeat: no-repeat;
	background-position: bottom;
	padding-left: 10px;
	clear: both;
}

#main p {
	padding: 0.5em 10px 1em;	/*中央ブロックの段落タグの余白*/
}



/*中央ブロック内の「What's New」部分
---------------------------------------------------------------------------*/
#main dl.new {
	height: 100px;		/*What's Newボックスの高さ*/
	overflow: auto;		/*この設定でiframe風に見える*/
	margin-right: auto;
	margin-left: auto;
	padding: 10px;
	border: 1px solid #cccccc;	/*What's Newのフチのライン*/
	margin-bottom: 1em;
}

#main dl.new dt {
	font-weight: bold;	/*日付を太字にする設定。*/
	float: left;		/*日付を左よせする*/
}

#main dl.new dd {
	border-bottom: 1px solid #cccccc;	/*日付ごとに入る下線*/
	padding-left: 8em;	/*日付が入る分のスペースを空ける*/
}

/*左・中央を囲むボックス
---------------------------------------------------------------------------*/
#wrap2 {
	width: 1077px;
	float: left;
	padding-bottom: 50px;
	margin-top: 20px;
}

/*中央ブロック 右なし
---------------------------------------------------------------------------*/
#main2 {
	float: right;
	width: 881px;
}


/*フッター（最下部のコピーライトなど）
---------------------------------------------------------------------------*/
#footer {
	clear: both;
	width: 100%;
	text-align: center;
	border-top: 1px solid #bfbfbf;
	padding-top: 1em;
	padding-bottom: 1em;
}
#footermenu {
	margin-left: 20%;
}
#footer ul li {
	float: left;
	line-height: 50px;
	height: 50px;
	margin-right: 15px;
	font-size: 12px;
}

/*トップページ
---------------------------------------------------------------------------*/
#main .newitem p {
	height: 150px;	/*１個あたりのボックスの高さ*/
	width: 128px;	/*１個あたりのボックスの幅*/
	border: 1px solid #CCCCCC;	/*ボーダー設定*/
	float: left;	/*左よせしていく設定*/
	text-align: center;	/*センタリング設定*/
	background-image: url(images/newitem_bg.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
	padding: 0px;
	margin-right: 5px;
	margin-bottom: 10px;
	margin-left: 5px;
	display: inline;
}

#main .newitem {
	margin-top: 10px;
}

#main .newitem a img {
	padding: 5px;		/*画像のまわりの余白*/
	border: 1px solid #CCCCCC;	/*画像に入っているフチどり*/
}

#main .newitem a:hover img {
	border: 1px solid #999999;	/*カーソルオーバー時に画像のフチ色を変える設定*/
}


#main .newitembig p {
	height: 200px;	/*１個あたりのボックスの高さ*/
	width: 178px;	/*１個あたりのボックスの幅*/
	border: 1px solid #CCCCCC;	/*ボーダー設定*/
	float: left;	/*左よせしていく設定*/
	text-align: center;	/*センタリング設定*/
	background-image: url(images/newitem_bg.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
	padding: 0px;
	margin-right: 5px;
	margin-bottom: 10px;
	margin-left: 5px;
	display: inline;
}

#main .newitembig {
	margin-top: 10px;
}

#main .newitembig a img {
	padding: 5px;		/*画像のまわりの余白*/
	border: 1px solid #CCCCCC;	/*画像に入っているフチどり*/
}

#main .newitembig a:hover img {
	border: 1px solid #999999;	/*カーソルオーバー時に画像のフチ色を変える設定*/
}

/*aboutページに準備した商品テーブル
---------------------------------------------------------------------------*/
#main .itemlist {
	border: 1px solid #CCCCCC;	/*１個あたりのボックスのボーダー設定*/
	padding: 5px;
	overflow: hidden;
	margin-bottom: 0.5em;
	width: 673px;	/*段落タグ（p）の横幅とサイズを合わせる設定です。この下二つのmarginも。*/
	margin-right: auto;
	margin-left: auto;
}

#main .itemlist h3 {
	color: #000000;
	border-bottom: 1px solid #cccccc;
	border-left: 4px solid #CCCCCC;
	padding: 0px 0px 0px 5px;
	margin-bottom: 0.5em;
	font-size: 100%;
}

#main .itemlist p {
	padding: 0px;
}

#main .itemlist p, #main .itemlist h3 {
	//margin-left: 120px;	/*画像の幅に合わせてここは変更する*/
}

#main .itemlist a img {
	padding: 5px;	/*写真と外線との余白*/
	border: 1px solid #CCCCCC;
}

#main .itemlist a:hover img {
	border: 1px solid #999999;
}

#main .itemlist div.img {
	float: left;
}

#main .itemlist table th, #main .itemlist table td {
	color: #000000;
	padding: 5px 5px 5px 5px;
	font-size: medium;
}

/*物件一覧ページ
---------------------------------------------------------------------------*/
/*ボックス１個あたりの設定*/
#main .box {
	line-height: 1.4;	/*行間。通常より少し狭くしている。*/
	clear: both;
	padding: 10px;	/*ボックス内の余白。ここの数字を変更する場合はwidthの値も変更する。*/
	overflow: hidden;
	width: 664px;
	margin-bottom: 1em;
	margin-right: auto;
	margin-left: auto;
	border: 3px solid #b5b5b5;	/*枠線の幅、線種、色。ここの数字を変更する場合はwidthの値も変更する。*/
}
/*h4見出し設定*/
#main .box h4 {
	font-size: 100%;
	padding-bottom: 0em;
}
/*段落タグ設定*/
#main .box p {
	padding: 0px;
}
/*写真配置の設定*/
#main .box p.img {
	float: left;	/*左側に回り込み*/
	width: 100px;
	margin-right: 10px;
}
/*サムネイル画像のフチ*/
#main .box p.img a img {
	border: 1px solid #cccccc;
}
/*マウスオン時のサムネイル画像のフチ*/
#main .box p.img a:hover img {
	border: 1px solid #990000;
}

/*一覧ページの各物件ボックス内のテーブル
---------------------------------------------------------------------------*/
.box table {
	font-size: 11px;	/*文字サイズ*/
	font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
}
.box table, .box table td, .box table th{
	border: 1px solid #b5b5b5;	/*枠線の幅、線種、色*/
}
.box table td, .box table th{
	padding: 0;
	line-height: 1.6;
}
.box table th{
	width: 90px;
	text-align: center;
	font-weight: normal;
	background: #dcdcdc;
}
.box table td {
	width: 180px;
	padding-left: 3px;
}

/*その他
---------------------------------------------------------------------------*/
.color1 {
	color: #ff476d;
}
.look {
	background-color: #f5f5f5;
}


#mobilelist {
	border-style:solid ;
	border-width:1px;
}
#mobilelist th, #mobilelist td{
	width:200px;
	border: dotted 1px #cacaca;
	cellpadding:0;
	cellspacing:0;
	margin:0;
}

table tr.rowA
{
	background-color: #f5f5f5;
	color: inherit;
	border-right:1px solid #FF0;
}

table tr.rowB
{
	background-color: #fdfdfd;
	color: inherit;
}

.pricelist {
	width: 99.5%;
	border: 2px solid #ff476d;
	padding: 0px;
	margin: 5px 0 0 0;
}

.pricelist table {
	width:100%;
}

.pricelist th, td {
	padding: 5px;
}

.pricelist th {
	width: auto;
	text-align: left;
	color: #FFFFFF;
	background:#ff476d;
}

.pricelist .name {
	float:left;
	width:300px;
	font-size:15px;
}

.pricelist .price {
	float:left;
	width:90px;
	font-size:15px;
}

.pricelist .note {
	float:left;
	width:150px;
	font-size:12px;
}

.pricelist td .price {
	color:red;
}

.q {
	background-image: url(images/q.png);
	background-repeat: no-repeat;
	background-position: left bottom;
	margin:0px 5px 5px 0px;
	padding:5px 5px 5px 40px;
}

.a {
	background-image: url(images/a.png);
	background-repeat: no-repeat;
	background-position: left top;
	margin:0px 5px 5px 0px;
	padding:5px 5px 5px 40px;
}

/*テーブル１
---------------------------------------------------------------------------*/
.ta1 {
	width: 100%;	
	margin-right: auto;
	margin-left: auto;
}
.ta1, .ta1 td, .ta1 th{
	border: 1px solid #999;
	line-height: 2;
}
/*テーブル内の右側*/
.ta1 td{
	width: 447px;
	padding: 10px;
	vertical-align: top;
}
/*テーブル内の左側の見出し部分*/
.ta1 th{
	width: 200px;
	padding: 10px;
	text-align: center;
	background-color: #E5E5E5;
}
/*テーブル１行目に入った見出し部分*/
.ta1 th.tamidashi{
	width: auto;
	text-align: left;
	color: #FFFFFF;
	background: #666;
}
/*こだわりアイコンのフロート指定*/
.ta1 td .specialbox {
	float: left;
	width: 75px;
	height: 40px;

}
.ta1 td img{
	vertical-align: middle;
}

#ermsg {
	color:red;
}

.left {
	float:left;
	background-color:#D6F0FE;
	border:0;
	clear: both;
}

.right {
	float:left;
	background-color:#ECF9FF;
	border:solid 0px #45A3F8;
	width:70%;
	margin:0 0 0 20px;
	padding:5px;
}

.subitem span{
	float:left;
	background-color:yellow;
	margin:5px 20px 5px 0px;
	padding:5px 20px 5px 20px;
	width:660px;
	clear: both;
}

/*---------- 商品 ----------*/
.itembox {
  float: left;
  padding: 1px 0 3px 0;
}
.itembox .stockname {
  padding: 0;
  width:150px;
}
.itembox .price {
  padding: 0;
  color: red;
 margin: 0;
}
.itembox img {
  width: 168px;
  height:168px; 
  margin: 2px;
  border: 1px solid #b5b5b5;
}

/* Unified full-width layout. */
* { box-sizing: border-box; }
body { margin: 0; background: #f4f5f7; color: #27313d; font-family: Arial, 'Meiryo', sans-serif; font-size: 14px; line-height: 1.7; text-align: left; }
a { color: #27313d; }
a:hover { color: #d52d55; }
#container { width: 100%; min-height: 100vh; border-top: 4px solid #e33e65; background: transparent; }
#header { height: auto; min-height: 100px; padding: 12px 28px; background: #fff; }
#header h1 { position: static; padding: 0; color: #697381; font-size: 11px; line-height: 1.5; }
#header #logo { width: 250px; max-width: 100%; height: auto; padding: 12px 0 0; }
ul#menu { display: flex; flex-wrap: wrap; padding: 0 20px; background: #fff; border-top: 1px solid #edf0f3; border-bottom: 1px solid #dde2e8; }
ul#menu li, ul#menu li.last { float: none; flex: 1 1 140px; height: auto; margin: 0; line-height: 1.5; font-size: 14px; }
ul#menu a { width: auto; height: 100%; padding: 15px 10px; background: none; overflow: visible; font-weight: bold; }
ul#menu a:hover { background: #fff0f4; color: #c3254c; }
.utility-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; padding: 9px 28px; background: #fff; border-bottom: 1px solid #e1e5eb; font-size: 13px; }
.utility-menu a { text-decoration: none; }
#contents { display: block; width: 100%; padding: 24px 28px 0; }
#wrap, #wrap2 { display: flex; align-items: flex-start; gap: 24px; float: none; width: 100%; margin: 0; padding: 0 0 32px; }
#main, #main2 { order: 2; flex: 1 1 0; float: none; width: auto; min-width: 0; }
#sub { order: 1; flex: 0 0 190px; float: none; width: 190px; padding: 0; border: 1px solid #e0e4ea; border-radius: 8px; background: #fff; overflow: hidden; color: #536070; }
#side { display: none; }
#sub h2 { background: #fff; }
#sub h2 img { display: block; width: 178px; max-width: 100%; height: auto; margin: auto; }
#sub h3 { padding: 9px 12px; background: #f0f2f5; color: #455264; text-align: left; font-weight: bold; }
#sub p { padding: 10px 12px; font-size: 12px; }
.submenu { margin: 0; }
.submenu a { width: auto; height: auto; min-height: 40px; padding: 10px 14px; line-height: 1.5; background: none; border-bottom: 1px solid #edf0f3; }
.submenu a:hover { background: #fff0f4; color: #c3254c; }
#main h2, #main2 h2 { clear: both; padding: 12px 16px; margin: 24px 0 14px; border-left: 4px solid #e33e65; border-radius: 4px; background: #fff; font-size: 18px; line-height: 1.5; }
#main h2:first-child, #main2 h2:first-child { margin-top: 0; }
#main p, #main2 p { padding: 8px 0 16px; }
#main img, #main2 img { max-width: 100%; height: auto; }
#main > img, #main2 > img { display: block; width: 100%; height: auto; max-height: 220px; object-fit: contain; margin: 0 auto 20px; border-radius: 8px; background: #fff; }
#mainimg { margin-bottom: 24px; border-radius: 8px; overflow: hidden; background: #fff; }
#mainimg aside { position: relative; max-width: none; margin: 0; overflow: hidden; }
#mainimg #slide0 { display: block; position: relative; width: 100%; height: auto; max-height: 260px; object-fit: contain; }
#mainimg #slide1, #mainimg #slide2, #mainimg #slide3, #mainimg #slide4 { width: 100%; height: 100%; object-fit: contain; }
#main .itemlist, #main .box { width: 100%; padding: 16px; margin: 0 0 20px; border: 1px solid #e0e4ea; border-radius: 8px; background: #fff; overflow-x: auto; }
#main .itemlist h3 { padding: 0 0 10px; margin-bottom: 12px; border: 0; border-bottom: 1px solid #e8ebef; font-size: 18px; }
#main .itemlist table { width: 100%; min-width: 680px; table-layout: fixed; }
#main .itemlist table th, #main .itemlist table td { width: auto; padding: 12px 14px; border: 1px solid #e4e8ed; color: #27313d; font-size: 14px; line-height: 1.6; text-align: left; overflow-wrap: anywhere; }
#main .itemlist table th { background: #f0f2f5; font-weight: bold; }
#main .itemlist table th:first-child { width: 30%; }
#main .itemlist table th:last-child { width: 22%; }
#main .itemlist table th:nth-child(2), #main .itemlist table th:nth-child(3), #main .itemlist table th:nth-child(4),
#main .itemlist table td:nth-child(2), #main .itemlist table td:nth-child(3), #main .itemlist table td:nth-child(4) { text-align: right; white-space: nowrap; }
#main .itemlist table td:nth-child(2), #main .itemlist table td:nth-child(3), #main .itemlist table td:nth-child(4) { font-weight: bold; font-variant-numeric: tabular-nums; }
table tr.rowA { background: #fff; }
table tr.rowB { background: #fafbfc; }
#main .itemlist table tr:hover td { background: #fff6f8; }
#main .newitem, #main .newitembig { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 175px)); gap: 14px; margin: 0 0 24px; }
#main .newitem p, #main .newitembig p { display: block; float: none; width: auto; height: auto; min-width: 0; margin: 0; padding: 12px 8px; border: 1px solid #e0e4ea; border-radius: 8px; background: #fff; font-size: 13px; text-align: center; }
#main .newitem a img, #main .newitembig a img { display: block; width: 100%; height: 120px; margin: 8px auto; padding: 4px; border: 0; object-fit: contain; }
#main .newitem a:hover img, #main .newitembig a:hover img { border: 0; }
#main .newitembig { grid-template-columns: repeat(auto-fill, minmax(160px, 200px)); }
#main .newitembig a img { height: 150px; }
#main iframe, #main2 iframe { width: 100%; max-width: 100%; border-radius: 8px; }
#main > table, #main2 > table, .ta1 { width: 100%; table-layout: fixed; background: #fff; overflow-wrap: anywhere; }
.ta1 th, .ta1 td { width: auto; padding: 12px; border-color: #e0e4ea; }
.ta1 th { width: 26%; background: #f0f2f5; }
input, textarea, select { max-width: 100%; box-sizing: border-box; font: inherit; }
input[type=text], textarea { padding: 8px 10px; border: 1px solid #cbd2dc; border-radius: 4px; }
textarea { width: 100%; }
input[type=button], input[type=submit], input[type=reset] { margin: 8px 4px; padding: 9px 18px; border: 1px solid #d5dae1; border-radius: 4px; cursor: pointer; background: #fff; }
input[type=button], input[type=submit] { border-color: #d52d55; background: #d52d55; color: #fff; }
.subitem span { width: 100%; margin-right: 0; }
#main dl.new { height: auto; min-height: 90px; padding: 16px; border: 1px solid #e0e4ea; border-radius: 8px; background: #fff; }
#footer { clear: both; width: 100%; padding: 24px 0; border-top: 1px solid #dce1e8; color: #647080; text-align: center; font-size: 12px; overflow-wrap: anywhere; }
#footermenu { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 0 0 16px; }
#footer ul li { float: none; height: auto; margin: 0; line-height: 1.8; }
@media (max-width: 900px) {
    #contents { padding: 16px 16px 0; }
    #wrap, #wrap2 { gap: 16px; }
    #sub { flex-basis: 170px; width: 170px; }
    #main .itemlist { padding: 12px; }
}
@media (max-width: 600px) {
    #header { padding: 10px 14px; min-height: 90px; }
    #header #logo { width: 220px; }
    ul#menu { padding: 0; }
    ul#menu li { flex-basis: 33.333%; font-size: 12px; }
    ul#menu a { padding: 12px 5px; }
    .utility-menu { justify-content: flex-start; padding: 10px 14px; gap: 8px 16px; font-size: 12px; }
    #contents { padding: 12px 12px 0; }
    #wrap, #wrap2 { flex-direction: column; padding-bottom: 20px; }
    #main, #main2 { order: 1; width: 100%; flex: none; }
    #sub { order: 2; width: 100%; flex: none; }
    #main > img, #main2 > img, #mainimg #slide0 { max-height: 160px; }
    #main h2, #main2 h2 { font-size: 16px; padding: 10px 12px; }
    #main .newitem, #main .newitembig { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    #main .newitem a img { height: 110px; }
    #main .newitembig a img { height: 140px; }
    .ta1 th, .ta1 td { padding: 8px; }
    .right { width: calc(100% - 120px); margin-left: 10px; }
}
/* Red and white price-first design. */
:root { --red: #c92532; --red-dark: #aa1d29; --ink: #20232a; --muted: #70747d; --line: #e8e8eb; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body { background: #fff; color: var(--ink); font-size: 14px; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid #d45963; outline-offset: 3px; }
button, input { font: inherit; }
button { cursor: pointer; }
#container { border-top: 4px solid var(--red); }
#header { display: none; }
.site-header { max-width: 1320px; margin: auto; padding: 24px 32px; display: flex; align-items: center; gap: 36px; }
.site-brand { display: flex; flex-direction: column; flex: 0 0 auto; text-decoration: none; line-height: 1.1; }
.site-brand > span { font-size: 30px; font-weight: 900; letter-spacing: -1.5px; color: var(--ink); }
.brand-accent { color: var(--red); }
.site-brand small { margin-top: 6px; color: var(--muted); font-size: 11px; letter-spacing: 3px; }
.header-search { display: flex; flex: 1; max-width: 600px; margin-left: auto; border: 1px solid #d9d9df; border-radius: 6px; overflow: hidden; }
.header-search input { min-width: 0; width: 100%; border: 0; padding: 12px 14px; background: #fafafa; }
.header-search button { flex-shrink: 0; padding: 10px 18px; border: 0; border-left: 1px solid var(--line); background: #fff; color: var(--red); font-weight: bold; }
.estimate-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 20px; border: 1px solid var(--red); border-radius: 5px; background: var(--red); color: #fff; font-weight: bold; text-decoration: none; white-space: nowrap; }
.estimate-button:hover { color: #fff; background: var(--red-dark); }
ul#menu { max-width: 1320px; padding: 0 32px; margin: auto; border-top: 0; }
ul#menu li { flex: 1 1 110px; font-size: 13px; }
ul#menu a { padding: 15px 7px; border-bottom: 3px solid transparent; }
ul#menu a:hover, ul#menu a[aria-current=page] { color: var(--red); background: #fff7f7; border-bottom-color: var(--red); }
.utility-menu { max-width: 1320px; margin: auto; padding: 9px 32px; color: var(--muted); background: #fff; font-size: 12px; }
.home-main, .search-main { max-width: 1256px; margin: auto; padding: 0 32px; }
.price-hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 60px; padding: 60px 0 50px; border-bottom: 1px solid var(--line); }
.eyebrow { display: block; color: var(--red); font-size: 11px; font-weight: bold; letter-spacing: 2px; }
.price-hero h1 { font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.04em; line-height: 1.45; margin: 14px 0 18px; }
.price-hero h1 span { color: var(--red); }
.hero-copy > p { color: var(--muted); line-height: 1.9; }
.hero-search { display: flex; gap: 8px; padding: 7px; margin: 26px 0 16px; border: 2px solid var(--red); border-radius: 7px; background: #fff; }
.hero-search input { min-width: 0; flex: 1; width: 100%; border: 0; padding: 10px; background: #fff; }
.hero-search button { padding: 13px 20px; border: 0; border-radius: 4px; background: var(--red); color: #fff; font-weight: bold; white-space: nowrap; }
.hero-search button:hover { background: var(--red-dark); }
.quick-search { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; }
.quick-search > span { color: var(--muted); margin-right: 4px; }
.quick-search a { padding: 4px 12px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.hero-guide { align-self: center; padding: 28px; border-left: 3px solid var(--red); background: #fff6f6; border-radius: 0 8px 8px 0; }
.guide-number { color: var(--red); font-size: 10px; font-weight: bold; letter-spacing: 2px; }
.hero-guide h2 { font-size: 25px; line-height: 1.5; margin: 12px 0; }
.hero-guide ol { padding-left: 20px; font-size: 12px; color: #5c5e66; }
.hero-guide li { padding: 5px 0; }
.hero-guide a { display: inline-block; margin-top: 14px; color: var(--red); font-size: 12px; font-weight: bold; }
.category-section { padding: 42px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.section-heading h1, .section-heading h2 { font-size: 25px; margin: 8px 0 0; line-height: 1.5; }
.section-heading p, .section-heading > a { color: var(--muted); font-size: 12px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.category-card { position: relative; padding: 23px; border: 1px solid var(--line); border-radius: 7px; text-decoration: none; transition: border-color .15s, background .15s; }
.category-card:hover { color: var(--ink); border-color: var(--red); background: #fffafa; }
.category-number { color: #b4b4bc; font-size: 11px; letter-spacing: 1px; }
.category-card h3 { font-size: 19px; margin: 10px 0 4px; }
.category-card p { color: var(--muted); font-size: 11px; min-height: 32px; }
.category-action { display: block; margin-top: 20px; color: var(--red); font-size: 12px; font-weight: bold; }
.support-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 30px; border: 1px solid #f1d8db; background: #fff8f8; border-radius: 7px; }
.support-strip h2 { font-size: 18px; margin: 0 0 6px; }
.support-strip p { color: var(--muted); font-size: 12px; }
.home-info { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 32px 0 48px; }
.home-info a { padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.home-info span { font-size: 10px; letter-spacing: 2px; color: var(--red); }
.home-info h2 { font-size: 18px; margin: 8px 0; }
.home-info p { font-size: 12px; color: var(--muted); }
#contents { max-width: 1320px; margin: auto; padding: 28px 32px 0; }
#main h2, #main2 h2 { background: #fafafa; border-left-color: var(--red); }
#sub h3 { background: #fafafa; }
.price-page #sub, .price-page #main > img, .price-page #mainimg { display: none; }
.price-toolbar { padding: 0 0 24px; }
.price-toolbar h1 { font-size: 28px; margin: 0 0 8px; }
#main .price-toolbar p { padding: 0; margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.price-toolbar label { display: block; font-size: 12px; font-weight: bold; margin-bottom: 6px; }
.price-toolbar input { display: block; width: 100%; max-width: 560px; padding: 12px 16px; border: 1px solid #cccdd3; border-radius: 5px; background: #fff; }
#main .price-toolbar .filter-status { margin: 10px 0 18px; }
.section-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.section-tabs a { padding: 7px 16px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; font-size: 13px; }
.section-tabs a:hover { border-color: var(--red); color: var(--red); }
#main .itemlist { border-radius: 6px; padding: 0; scroll-margin-top: 20px; }
#main .itemlist h3 { padding: 16px 18px; margin: 0; color: var(--red); font-size: 17px; border-bottom: 1px solid var(--line); }
#main .itemlist table { border: 0; }
#main .itemlist table th, #main .itemlist table td { padding: 13px 18px; border-width: 0 0 1px; border-color: var(--line); font-size: 13px; }
#main .itemlist table th { color: #62656e; background: #fafafa; font-size: 12px; }
#main .itemlist table td:nth-child(2), #main .itemlist table td:nth-child(3), #main .itemlist table td:nth-child(4) { color: var(--red); font-size: 17px; }
.search-main { padding-top: 34px; padding-bottom: 48px; min-height: 50vh; }
.search-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
.price-table { width: 100%; min-width: 680px; table-layout: fixed; border: 0; font: inherit; }
.price-table th, .price-table td { padding: 14px 18px; border: 0; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
.price-table th { background: #fafafa; color: #62656e; font-weight: bold; font-size: 12px; }
.price-table th:first-child { width: 30%; }
.price-table th:last-child { width: 22%; }
.price-table th:nth-child(2), .price-table th:nth-child(3), .price-table th:nth-child(4), .price-table .amount { text-align: right; white-space: nowrap; }
.price-table .amount { color: var(--red); font-size: 17px; font-weight: bold; font-variant-numeric: tabular-nums; }
.price-table .amount small { font-size: 11px; margin-left: 3px; }
.price-table tr:hover td { background: #fff8f8; }
.result-count { margin: 24px 0 14px; color: var(--muted); }
.result-count strong { color: var(--ink); }
.price-disclaimer { margin-top: 16px; color: var(--muted); font-size: 12px; }
.empty-state { padding: 48px 24px; margin-top: 24px; text-align: center; border: 1px solid var(--line); border-radius: 6px; }
.empty-state h2 { font-size: 20px; }
.empty-state p { margin: 12px 0; color: var(--muted); }
.empty-state a { color: var(--red); }
#footer { padding: 30px 24px; background: #fafafa; border-top: 1px solid var(--line); }
#footer a { color: #5e616b; text-decoration: none; }
#footer a:hover { color: var(--red); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 960px) {
.site-header { gap: 20px; padding: 20px 24px; flex-wrap: wrap; }
.header-search { order: 3; flex-basis: 100%; max-width: none; }
.site-header > .estimate-button { margin-left: auto; }
.price-hero { gap: 30px; grid-template-columns: minmax(0, 1fr) 240px; }
.category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
.site-header { padding: 18px 16px; gap: 16px; }
.site-brand > span { font-size: 25px; }
.site-header > .estimate-button { font-size: 12px; padding: 10px 12px; }
ul#menu { padding: 0 10px; }
ul#menu li { flex-basis: 25%; font-size: 11px; }
ul#menu a { padding: 12px 3px; }
.utility-menu { padding: 9px 16px; }
.home-main, .search-main { padding-left: 18px; padding-right: 18px; }
.price-hero { grid-template-columns: 1fr; padding: 34px 0 28px; gap: 24px; }
.price-hero h1 { font-size: 32px; }
.hero-guide { padding: 18px 20px; }
.hero-guide h2 { font-size: 20px; }
.hero-guide h2 br { display: none; }
.hero-guide ol { margin: 10px 0; }
.hero-search { flex-direction: column; margin-top: 20px; }
.hero-search input { font-size: 16px; }
.hero-search button { width: 100%; }
.header-search input { font-size: 16px; padding: 10px; }
.header-search button { padding: 10px; font-size: 12px; }
.section-heading { display: block; }
.section-heading h1, .section-heading h2 { font-size: 22px; }
.section-heading p { margin-top: 8px; }
.category-section { padding: 30px 0; }
.category-grid { gap: 10px; }
.category-card { padding: 16px; }
.category-card h3 { font-size: 16px; }
.category-action { margin-top: 12px; }
.support-strip { display: block; padding: 22px; }
.support-strip .estimate-button { margin-top: 18px; }
.home-info { grid-template-columns: 1fr; gap: 0; padding: 18px 0 30px; }
#contents { padding: 22px 16px 0; }
.price-toolbar h1 { font-size: 24px; }
.price-toolbar input { font-size: 16px; }
#main .itemlist table th, #main .itemlist table td { padding: 12px; }
.search-main { padding-top: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Cosmetics catalogue and consultation. */
.cosmetic-intro { color: var(--muted); }
.cosmetic-brands { margin: 18px 0 28px; }
.cosmetic-brands a[aria-current=page] { border-color: var(--red); color: var(--red); background: #fff6f6; }
.cosmetic-table { width: 100%; min-width: 580px; border: 0; font: inherit; }
.cosmetic-table th, .cosmetic-table td { padding: 16px 20px; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.cosmetic-table th { font-size: 12px; font-weight: bold; background: #fafafa; color: var(--muted); }
.cosmetic-table td:first-child { width: 50%; }
.cosmetic-table td span { color: var(--muted); font-size: 12px; }
.cosmetic-table th:last-child, .cosmetic-table .amount { text-align: right; white-space: nowrap; }
.cosmetic-table .amount { color: var(--red); font-size: 19px; font-weight: bold; font-variant-numeric: tabular-nums; }
.cosmetic-table .amount small { margin-left: 4px; font-size: 12px; }
.cosmetic-table tr:hover td { background: #fff8f8; }
.cosmetic-help { margin: 42px 0 32px; }
.cosmetic-help > h2 { font-size: 21px; margin-bottom: 20px; }
.cosmetic-help-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.cosmetic-help-grid > div { padding: 24px; border: 1px solid var(--line); border-radius: 6px; }
.cosmetic-help-grid span { color: var(--red); font-size: 10px; letter-spacing: 1px; }
.cosmetic-help-grid h3 { margin: 12px 0; font-size: 17px; }
.cosmetic-help-grid p { color: var(--muted); font-size: 13px; }
.cosmetic-page .empty-state .estimate-button { color: #fff; margin-top: 12px; }
@media (max-width:600px) { .cosmetic-help-grid { grid-template-columns: 1fr; gap: 12px; } .cosmetic-help > h2 { font-size: 18px; } }
/* Product imagery with consistent sizing. */
.category-visual { display: flex; align-items: center; justify-content: center; height: 140px; margin: 12px 0 18px; background: #fff; }
.category-visual img { display: block; width: 100%; height: 140px; object-fit: contain; }
.category-visual svg { width: 140px; height: 110px; }
.cosmetic-brand-gallery { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; margin: 24px 0 14px; }
.cosmetic-brand-gallery > a { display: block; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.cosmetic-brand-gallery > a:hover, .cosmetic-brand-gallery > a[aria-current=page] { border-color: var(--red); }
.cosmetic-brand-gallery img { display: block; width: 100%; height: 130px; object-fit: contain; margin-bottom: 14px; }
.cosmetic-brand-gallery > a > span { display: flex; justify-content: space-between; gap: 8px; font-weight: bold; font-size: 13px; }
.cosmetic-brand-gallery > a > span > span { color: var(--red); }
@media(max-width:900px) { .cosmetic-brand-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:600px) { .category-visual, .category-visual img { height: 110px; } .category-visual svg { height: 90px; width: 115px; } .cosmetic-brand-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; } .cosmetic-brand-gallery img { height: 100px; } }
/* Buying process guide. */
.flow-main { max-width: 1156px; padding: 40px 32px 56px; margin: auto; }
.flow-intro h1 { margin: 12px 0; font-size: clamp(30px,4vw,42px); line-height: 1.4; }
.flow-intro > p { color: var(--muted); line-height: 1.9; }
.flow-jump { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px 0 30px; }
.flow-jump a { padding: 8px 18px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; text-decoration: none; }
.flow-jump a:hover { border-color: var(--red); }
.flow-methods { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.flow-methods > a { padding: 28px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.flow-methods > a:hover { border-color: var(--red); background: #fffafa; color: var(--ink); }
.flow-methods h2 { margin: 12px 0; font-size: 23px; }
.flow-methods p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.flow-card-link { display: block; margin-top: 20px; color: var(--red); font-size: 13px; font-weight: bold; }
.flow-section { margin-top: 52px; scroll-margin-top: 24px; }
.flow-steps { padding: 0; margin: 0; list-style: none; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.flow-steps > li { display: grid; grid-template-columns: 130px minmax(0,1fr); gap: 28px; padding: 26px; border-bottom: 1px solid var(--line); align-items: center; }
.flow-steps > li:last-child { border-bottom: 0; }
.flow-step-visual { text-align: center; }
.flow-step-visual > span { display: block; color: var(--red); font-size: 11px; font-weight: bold; letter-spacing: 1.5px; margin-bottom: 10px; }
.flow-step-visual img { display: block; width: 100px; height: 80px; object-fit: contain; margin: auto; }
.flow-steps h3 { font-size: 18px; margin: 0 0 9px; }
.flow-steps p { color: #626670; font-size: 13px; line-height: 1.9; }
.flow-steps a, .flow-document-grid article > a:not(.estimate-button) { display: inline-block; margin-top: 10px; color: var(--red); font-size: 13px; }
.flow-notice { border-left: 3px solid var(--red); background: #fff6f6; padding: 18px 22px; margin-bottom: 20px; }
.flow-notice strong { font-size: 14px; }
.flow-notice p { margin-top: 6px; color: #626670; font-size: 13px; }
.flow-document-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.flow-document-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 7px; }
.flow-document-grid h3 { font-size: 19px; margin: 0 0 14px; }
.flow-document-grid p { color: var(--muted); font-size: 13px; margin-bottom: 12px; line-height: 1.9; }
.flow-document-grid .flow-download { background: #fff8f8; border-color: #f1d8db; }
.flow-download h3 { margin-top: 12px; }
.flow-download small { display: block; margin-top: 10px; color: var(--muted); font-size: 11px; }
.flow-preparation { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.flow-preparation article { border-top: 2px solid var(--line); padding-top: 20px; }
.flow-preparation span { color: var(--red); font-size: 12px; }
.flow-preparation h3 { font-size: 16px; margin: 8px 0 12px; }
.flow-preparation p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.flow-faq { border-top: 1px solid var(--line); }
.flow-faq details { border-bottom: 1px solid var(--line); }
.flow-faq summary { position: relative; cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: bold; font-size: 14px; }
.flow-faq summary::-webkit-details-marker { display: none; }
.flow-faq summary::after { content: '+'; position: absolute; right: 8px; color: var(--red); font-size: 22px; top: 14px; }
.flow-faq details[open] summary::after { content: '-'; }
.flow-faq details p { padding: 0 26px 22px 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.flow-main > .support-strip { margin-top: 48px; }
@media(max-width:600px) {
.flow-main { padding: 28px 18px 36px; }
.flow-methods, .flow-document-grid, .flow-preparation { grid-template-columns: 1fr; gap: 14px; }
.flow-methods > a, .flow-document-grid article { padding: 22px; }
.flow-methods h2 { font-size: 21px; }
.flow-section { margin-top: 36px; }
.flow-steps > li { grid-template-columns: 72px minmax(0,1fr); gap: 14px; padding: 20px 14px; align-items: start; }
.flow-step-visual img { width: 68px; height: 65px; }
.flow-step-visual > span { font-size: 10px; letter-spacing: .5px; }
.flow-steps h3 { font-size: 16px; }
.flow-jump { gap: 8px; }
.flow-jump a { font-size: 12px; padding: 7px 12px; }
}
/* Private customer consultations and staff inbox. */
.iq-main { max-width: 1100px; margin: auto; padding: 36px 28px 52px; }
.iq-main h1 { font-size: clamp(25px,3vw,34px); overflow-wrap: anywhere; }
.iq-lead { color: var(--muted); line-height: 1.9; margin-bottom: 24px; overflow-wrap: anywhere; }
.iq-how { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 26px 0 30px; }
.iq-how > span { padding: 16px; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; }
.iq-how b { color: var(--red); margin-right: 8px; }
.iq-form-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 36px; align-items: start; }
.iq-form { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.iq-form > label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: bold; }
.iq-form > label > .iq-required { margin-left: 6px; color: var(--red); font-size: 10px; }
.iq-form > input:not([type=hidden]), .iq-form > textarea, .iq-form > select { display: block; width: 100%; padding: 12px; margin-bottom: 22px; border: 1px solid #cbd0d9; border-radius: 4px; background: #fff; font: inherit; }
.iq-form > textarea { resize: vertical; min-height: 120px; }
.iq-form > .iq-consent { display: flex; align-items: flex-start; gap: 9px; margin: 20px 0; font-weight: normal; line-height: 1.8; }
.iq-consent input { flex-shrink: 0; margin-top: 6px; }
.iq-consent span { color: #626670; font-size: 12px; }
.iq-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.iq-field-note { color: var(--muted); font-size: 12px; margin: 10px 0 18px; }
.iq-form-aside { padding: 24px; background: #fff7f7; border-radius: 6px; }
.iq-form-aside h2 { font-size: 16px; margin-bottom: 12px; }
.iq-form-aside h3 { font-size: 14px; margin: 22px 0 9px; }
.iq-form-aside p, .iq-form-aside a { font-size: 12px; line-height: 1.9; }
.iq-form-aside p { color: #626670; }
.iq-form-aside a { color: var(--red); display: block; margin-top: 18px; }
.iq-error { padding: 16px 20px; margin-bottom: 22px; border: 1px solid #d36c75; background: #fff4f4; color: #a61b28; border-radius: 5px; }
.iq-notice { padding: 16px 20px; margin: 18px 0; border: 1px solid var(--line); border-radius: 5px; background: #fafafa; font-size: 13px; }
.iq-notice-new { border-color: var(--red); background: #fff4f4; }
.iq-notice a { color: var(--red); }
.iq-recent { margin-top: 36px; }
.iq-recent h2 { font-size: 18px; }
.iq-recent p { color: var(--muted); font-size: 12px; margin: 10px 0; }
.iq-recent > a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.iq-back { display: inline-block; color: var(--muted); font-size: 12px; margin-bottom: 20px; }
.iq-status { display: inline-block; padding: 6px 12px; border-radius: 20px; background: #fff0f2; color: var(--red); font-size: 12px; white-space: nowrap; }
.iq-save-link { padding: 22px; margin-bottom: 28px; border: 1px solid #efd1d5; border-radius: 6px; background: #fff8f8; }
.iq-save-link h2 { font-size: 16px; }
.iq-save-link p { margin: 8px 0 14px; color: var(--muted); font-size: 12px; }
.iq-save-link > div { display: flex; gap: 8px; }
.iq-save-link input { min-width: 0; flex: 1; padding: 10px; border: 1px solid #d9d9df; border-radius: 4px; background: #fff; font-size: 12px; }
.iq-save-link button { border: 1px solid var(--red); background: #fff; color: var(--red); border-radius: 4px; padding: 8px 14px; font-size: 12px; }
#copy-status { display: block; font-size: 12px; color: var(--red); margin-top: 8px; }
.iq-conversation { border: 1px solid var(--line); border-radius: 7px; padding: 22px; background: #fafafa; scroll-margin-top: 20px; }
.iq-conversation-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.iq-conversation-heading h2 { font-size: 16px; }
#poll-status { font-size: 11px; color: var(--muted); }
#iq-messages { display: flex; flex-direction: column; gap: 16px; }
.iq-message { max-width: 88%; padding: 16px 18px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.iq-message-customer { margin-left: auto; background: #fff1f2; border-color: #f1dade; }
.iq-message-staff { margin-right: auto; }
.iq-message-system { align-self: center; background: transparent; border: 0; font-size: 12px; text-align: center; }
.iq-message header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.iq-message strong { font-size: 12px; }
.iq-message time { font-size: 10px; color: var(--muted); }
.iq-message p { font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.iq-reply-form { margin: 20px 0; }
.iq-form button:disabled { opacity: .65; cursor: wait; }
.iq-admin-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.iq-admin-header > a:first-child { font-size: 23px; font-weight: bold; text-decoration: none; }
.iq-admin-header span { font-size: 14px; color: var(--red); }
.iq-admin-header > a:last-child { font-size: 12px; }
.iq-admin-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 22px; font-size: 12px; }
.iq-admin-tools > form { margin-left: auto; }
.iq-admin-tools button, .iq-close-form button { padding: 8px 14px; border: 1px solid #d2d6dd; border-radius: 4px; background: #fff; font: inherit; }
.iq-login { max-width: 540px; margin: 20px auto 50px; }
.iq-login > p { margin: 14px 0 24px; color: var(--muted); font-size: 13px; }
.iq-inbox-tabs { margin-bottom: 24px; }
.iq-inbox-tabs a[aria-current=page] { border-color: var(--red); color: var(--red); }
.iq-inbox-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.iq-inbox-row > div:first-child { min-width: 0; }
.iq-inbox-row h2 { font-size: 18px; margin: 8px 0; overflow-wrap: anywhere; }
.iq-inbox-row p { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.iq-inbox-row > div:last-child { flex-shrink: 0; text-align: right; }
.iq-inbox-row time { display: block; color: var(--muted); font-size: 11px; margin-top: 8px; }
.iq-unread { display: inline-block; background: var(--red); color: #fff; border-radius: 3px; padding: 2px 5px; font-size: 10px; }
.iq-pagination { display: flex; justify-content: center; gap: 24px; margin: 28px 0; font-size: 13px; }
.iq-close-form { text-align: right; margin: 24px 0; font-size: 12px; }
@media(max-width:700px) {
.iq-main { padding: 26px 16px 36px; }
.iq-form-layout { grid-template-columns: 1fr; gap: 22px; }
.iq-form { padding: 20px 16px; }
.iq-form > input:not([type=hidden]), .iq-form > textarea, .iq-form > select { font-size: 16px; }
.iq-how { grid-template-columns: 1fr; gap: 8px; }
.iq-how > span { padding: 12px; }
.iq-message { max-width: 96%; padding: 14px; }
.iq-conversation { padding: 14px; }
.iq-save-link { padding: 18px; }
.iq-save-link > div { flex-direction: column; }
.iq-save-link input { width: 100%; }
.iq-inbox-row { align-items: flex-start; flex-direction: column; gap: 12px; }
.iq-inbox-row > div:last-child { text-align: left; }
.iq-admin-header { padding: 18px 16px; }
}
/* Staff-only marketplace quote draft assistant. */
.iq-market-tool { margin: 22px 0; border: 1px solid var(--line); border-radius: 6px; }
.iq-market-tool > summary { padding: 18px; cursor: pointer; font-weight: bold; font-size: 14px; }
.iq-market-intro { padding: 0 20px 20px; color: var(--muted); font-size: 12px; }
.iq-market-intro a { display: inline-block; margin: 12px 0 8px; color: var(--red); font-weight: bold; }
.iq-market-intro small { display: block; }
.iq-market-form { border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.iq-market-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.iq-market-fields label { display: block; font-size: 12px; font-weight: bold; margin-bottom: 8px; }
.iq-market-fields input, .iq-market-fields select { width: 100%; padding: 10px; border: 1px solid #cbd0d9; border-radius: 4px; background: #fff; }
#quote-result { color: var(--red); font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
@media(max-width:700px) { .iq-market-fields { grid-template-columns: 1fr; } .iq-market-fields input, .iq-market-fields select { font-size: 16px; } }
/* Customer condition selections and approved automatic estimates. */
.aq-condition-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 14px; margin: 12px 0 22px; }
.aq-condition-grid label { display: block; font-size: 13px; font-weight: bold; margin-bottom: 8px; }
.aq-condition-grid select { width: 100%; padding: 12px; border: 1px solid #cbd0d9; border-radius: 4px; background: #fff; font: inherit; }
.aq-estimate-button { padding: 11px 18px; border: 1px solid var(--red); border-radius: 4px; color: var(--red); background: #fff; font: inherit; font-weight: bold; }
.aq-result { padding: 22px; margin: 20px 0 28px; border: 1px solid #efd1d5; border-radius: 6px; background: #fff8f8; }
.aq-result h2 { font-size: 22px; color: var(--red); margin: 12px 0; overflow-wrap: anywhere; }
.aq-result p { font-size: 12px; color: var(--muted); line-height: 1.9; }
.aq-list-heading { margin: 30px 0 20px; font-size: 21px; }
.aq-reference-list article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.aq-reference-list h3 { margin: 8px 0; font-size: 18px; overflow-wrap: anywhere; }
.aq-reference-list p { color: var(--muted); font-size: 12px; margin: 8px 0; }
.aq-reference-list article > div:last-child { text-align: right; }
.aq-reference-list strong { display: block; font-size: 24px; color: var(--red); }
.aq-reference-list small { display: block; font-size: 11px; color: var(--muted); }
.aq-reference-list button { padding: 6px 10px; margin-top: 14px; border: 1px solid #d2d6dd; border-radius: 4px; background: #fff; font: inherit; font-size: 11px; }
@media(max-width:700px) { .aq-condition-grid { grid-template-columns: 1fr; } .aq-condition-grid select { font-size: 16px; } .aq-reference-list article { grid-template-columns: 1fr; gap: 12px; } .aq-reference-list article > div:last-child { text-align: left; } }