@charset "UTF-8";

/**************************************************
 検索フォーム（メイン部、フロート部分共通）
**************************************************/

#searchform *,
#searchform_float *{
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
}


/**************************************************
 検索フォーム（メイン部分用）
**************************************************/

#searchform{
	width: 100%;
}

/* テレビ適合確認ページ以外を指定 */
#searchform form:not(.tekigou) {
	position: absolute;
	top: 30px;
	padding: 17px 0 5px;
	width: 1034px;
	border: 2px #e95412 solid;
	display: block;
	text-align: center;
	z-index: -9999999;
}
#searchform form p{
    margin: 12px auto 5px;
    font-size: 13px;
    color: #666;
}
#searchform div{
/*	vertical-align: middle;vertical-align: middle;vertical-align: middle;vertical-align: middle;vertical-align: middle;vertical-align: middle;*/
	text-align: left;
	display: inline-block;
}
#searchform select{
	width: 140px;
	display: block;
}

#searchform .buttonon{
	cursor: pointer;
}

/* 「TVに適合する金具を選ぶ」タイトル画像 */
/*#searchform #search_title{
	margin: 0 auto;
	width: 100%;
	max-width: 100%;
	height: 49px;
	background: url(search_pc_title.jpg) no-repeat;
	background-size: contain;
}*/

#searchform #search_title span{
	display: none;
}

/* 「TVメーカー」「TVサイズ」「→」...などの画像 */
/*
#searchform #search_pc_1{ background: url(search_pc_1.jpg) no-repeat; }
#searchform #search_pc_2{ background: url(search_pc_2.jpg) no-repeat; }
#searchform #search_pc_3{ background: url(search_pc_3.jpg) no-repeat; }
#searchform #search_pc_4{ background: url(search_pc_4.jpg) no-repeat; }
#searchform #search_pc_5{ background: url(search_pc_5.jpg) no-repeat; }
*/
#searchform #search_pc_1,
#searchform #search_pc_2,
#searchform #search_pc_3,
#searchform #search_pc_4,
#searchform #search_pc_5{
/*
    margin: 12px auto;
    width: 100%;
    max-width: 100%;
    max-height: 15px;
    height: 15vw;
    background-size: contain;
    color: #666;
*/

    margin: 6px auto;
    width: 100%;
    color: #666;
}
#searchform .arrow{
	margin: 36px auto 0px;
	width: 10px;
	max-width: 100%;
	max-height: 10px;
	height: 1vw;
	background: url(search_pc_arrow.gif) no-repeat;
	background-size: contain;
}

#searchform form.tekigou .arrow{
    margin: 0 auto 10px;
}

/*
#searchform #search_pc_1 span,
#searchform #search_pc_2 span,
#searchform #search_pc_3 span,
#searchform #search_pc_4 span,
#searchform #search_pc_5 span,
*/
#searchform .arrow span{
	display: none;
}


/* 検索フォームの「検索」ボタン */
#search_bt div{
    margin: 24px auto -5px;
    width: 80px !important;
    height: 40px;
    color: #fff;
    background-color: #eb6100;
    border-bottom: 5px solid #b84c00;
    border-radius: 5px;
    text-align: center;
    line-height: 40px;
}
#search_bt div.on{
  margin-top: 3px;
  color: #e95412;
  background: #ffcc00;
  border-bottom: 5px solid #cc9900;
  cursor: pointer;
}

#search_bt div.btn{
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
}

#search_bt div span{
    color: #fff;
    font-size: 18px;
    letter-spacing: 2px;
}

/* PC未満用（iPadサイズ） */
/* 無効にするため 1019 を 0 に変更中 */
@media screen and (max-width:0px){
	/* 検索フォーム */
	#searchform #search_title{
		max-width: 100% !important;
		width: 100% !important;
	}
	#searchform div{
		max-width: 90px;
		overflow: hidden;
	}
	#searchform #search_bt{
		margin-top: 15px;
		max-width: 120px;
	}
	#searchform #search_bt img{
		width: 120px;
	}
	#searchform select{
		width: 90px !important;
	}
}

/* iPad未満用（iPhoneサイズ） */
/* 無効にするため 767 を 0 に変更中 */
@media screen and (max-width:0px){
	/* 検索フォーム */
	#searchform div{
		margin: 0 auto;
		padding: 1px 0;
		max-width: 240px;
		display: block;
	}
	#search_pc_1,
	#search_pc_2,
	#search_pc_3,
	#search_pc_4,
	#search_pc_5{
		margin: 3px 0 !important; /* !important */
		width: 240px;
	}
	#searchform select{
		margin: 0 auto;
		width: 240px !important; /* !important */
		border: 1px #ccc solid;
		font-size: 130%;
	}
	#searchform .arrow{
		display: none;
	}
	#searchform #search_bt{
		margin: 0 auto;
		max-width: 100%;
		text-align: center;
	}
	#searchform #search_bt img{
		width: 150px;
	}
}

	/********** width 700pix 用 */
	.w700 #search_title{
		max-width: 100% !important;
		width: 100% !important;
	}
	.w700 #tvk_form div{
		max-width: 130px;
		overflow: hidden;
	}
	.w700 #search_bt{
		max-width: 120px;
	}
	.w700 #search_bt img{
		width: 120px;
	}
	.w700 select{
		width: 130px !important;
	}


	/********** width 640pix 用 */
	/* 検索フォーム */
	.w640 #search_title{
		max-width: 100% !important;
		width: 100% !important;
	}
	.w640 div{
		max-width: 80px;
		overflow: hidden;
	}
	.w640 #search_bt{
		margin-top: 15px;
		max-width: 120px;
	}
	.w640 #search_bt img{
		width: 120px;
	}
	.w640 select{
		width: 80px !important;
	}
	/* 検索結果商品一覧 */
	.w640{
		line-height: 130% !important;
		font-size: 80% !important;
	}
	.w640 td.img img{
		max-width: 80px !important;
		max-height: 80px !important;
	}
	.w640 td.title div{
		font-size: 110% !important;
		font-weight: bold !important;
	}
	.w640 td.price div{
		font-size: 110% !important;
	}
	.w640 td.price br{
		display: block !important;
	}






/**************************************************
 検索フォーム（フロート部分用）
**************************************************/

/*
html,body,form{
	margin: 0;
	padding: 0;
}
*/
#searchform_float{
	width: 190px;
	height: 435px;
	line-height: 140%;
	font-size: 12px;
}
/* 「金具の簡単検索」タイトル画像 */
#searchform_float #search_title{
	margin: 0 auto;
	width: 190px;
	max-width: 100%;
	max-height: 74px;
	height: 38.947vw;
	background: url(search_floating_title.jpg) no-repeat;
	background-size: contain;
}
#searchform_float #search_title span{
	display: none;
}


#searchform_float .contents{
	padding: 5px;
	background: #fff;
	border: 1px #0b9525 solid;
}
#searchform_float dl,
#searchform_float dt,
#searchform_float dd{
	margin: 0;
	padding: 0;
	width: 100%;
}
#searchform_float dt{
	padding: 7px 0;
}
#searchform_float select{
	width: 175px;
	height: 20px;
	border: 1px #999 solid;
	border-radius: 3px; 
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}
#searchform_float #search_bt{
	margin: 5px auto 0 auto;
	text-align: center;
}
#searchform_float #search_bt div{
	margin: 0 auto;
	width: 130px;
	max-width: 100%;
	max-height: 37px;
	height: 26.666vw;
	background: url(flo-search1.gif) no-repeat;
	background-size: contain;
}
#searchform_float #search_bt div.on{
	background: url(flo-search2.gif) no-repeat;
	background-size: contain;
	cursor: pointer;
}
#searchform_float .buttonon{
	cursor: pointer;
}











/**************************************************
 検索結果
**************************************************/

/* 全体 */
#itemlist{
	margin: 0 auto; /* 中央寄せ */
	min-width: 320px; /* 最小幅 */
	max-width: 1000px; /* 最大幅 */
	font-size: 100%;
}
#itemlist table{
	margin-top: 20px;
	border-collapse: collapse;
	border-spacing: 0;
}

/* td 全て */
#itemlist td{
	padding: 8px 5px;
	border-top: 2px #ccc solid;
	border-bottom: 2px #ccc solid;
	vertical-align: top;
}

/* 列：左 */
#itemlist td.col1{
}
/* 列：中央 */
#itemlist td.col2{
	width: 99%; /* 成り行き最大幅 */
	border-left: 1px #ddd solid; /* 仕切り線：左側 */
	border-right: 1px #ddd solid; /* 仕切り線：右側 */
}
/* 列：右 */
#itemlist td.col3{
	white-space: nowrap; /* 改行禁止 */
}

/* 列：左 */
	/* 商品画像 */
	#itemlist td.col1 img{
		max-width: 90px;
	}

/* 列：中央 */
	/* 商品名（リンク色） */
	#itemlist td.col2 .title a{
		color: ;
		font-size: ;
		font-weight: ;
	}
	/* 型番 */
	#itemlist td.col2 .mno{
		color: ;
		font-size: ;
		font-weight: bold;
	}
	/*金具補足 */
	#itemlist td.col2 .copy{
		color: ;
		font-size: ;
		font-weight: ;
	}
	/* 取付補足 */
	#itemlist td.col2 .ctt{
		margin-top: 10px;
		color: #ff0000;
		font-size: 90%;
		font-weight: ;
	}

/* 内容：右 */
	/* 通常価格 */
	#itemlist td.col3 .ptitle{
		color: ;
		font-size: ;
		font-weight: ;
		text-align: center;
	}
	/* 税抜き */
	#itemlist td.col3 .tax{
		color: ;
		font-size: ;
		font-weight: ;
		text-align: center;
	}
	/* 00,000円 */
	#itemlist td.col3 .price{
		color: ;
		font-size: ;
		font-weight: bold;
		text-align: right;
	}



/* --- レイアウト崩れ修正（search_pc.cssの末尾に追記） --- */

/* ----------------------- PC版の修正 ----------------------- */
/* プルダウン横の赤いドット/アローの残骸を非表示 */
.arrow {
    display: none !important;
}
/* プルダウンの右側にあるドロップダウンアローの小さな枠を非表示 */
#searchform select {
    /* 以前の修正で残っていたselect要素のパディングや枠をリセット */
    background-image: none !important;
    padding-right: 8px !important; /* 標準的なパディングに戻す */
    box-sizing: border-box;
}

/* 検索ボタンの下に表示される灰色の残骸ボタンを非表示 (image_f5e35f.pngの対策) */
/* このセレクタは、古いHTML構造で残っている特定のdiv要素を非表示にします */
#searchform > div:nth-child(6) {
    display: none !important;
}


/* ----------------------- モバイル版の修正 ----------------------- */
@media screen and (max-width: 767px) {
    
    /* 検索フォーム全体を縦積みに強制し、幅をいっぱいにする */
    #tvk_form {
        display: flex !important; /* display:flexを有効化 */
        flex-direction: column !important; /* 縦積み */
        align-items: stretch !important; 
        gap: 5px !important;
        padding: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 各プルダウンのコンテナをブロックレベルに強制し、幅とマージンをリセット（ガタつきと余白の原因） */
    #searchform div { 
        display: block !important;
        float: none !important;
        min-width: unset !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 5px 0 0 !important; /* 上下のマージンを制御 */
        padding: 0 !important;
        text-align: left !important;
        height: auto !important;
    }

    /* プルダウン本体を幅100%に強制 */
    #searchform select {
        width: 100% !important;
        min-width: unset !important;
        box-sizing: border-box !important;
        /* 枠線とドロップダウンアローのリセットを再適用 */
        border: 1px solid #ccc !important;
        background-image: none !important; 
    }
    
    /* ラベル（「TVメーカー」などのテキスト）とプルダウンの間の空白を詰める */
    #searchform #search_pc_1, #searchform #search_pc_2, #searchform #search_pc_3, 
    #searchform #search_pc_4, #searchform #search_pc_5 {
        margin: 3px 0 !important; 
        padding: 0 !important;
        width: auto !important;
        background: none !important;
        height: auto !important;
    }

    /* 検索ボタンを幅100%に強制し、マージンをリセット */
    #search_bt {
        width: 100% !important;
        height: auto !important;
        margin: 10px 0 0 !important;
        display: block !important;
        float: none !important;
        /* ボタン内の文字の配置調整 */
        text-align: center !important; 
        line-height: normal !important;
    }
}
/* --- 修正ここまで --- */







