@charset "UTF-8";
label{font-weight: Normal;}

body.alpineproducts #contents, 
body.products_list #contents .section {
	background: #f1f0ef !important;
}
a:focus {
  outline: none;
}

a:focus-visible {
  outline: 1px solid #ccc;
  outline-offset: 0px;
}

@media (max-width: 480px) {
	body.alpineproducts #contents .section.first{
		padding-top:20px;
		}
}

@media (max-width: 640px) {
	body.products_list .xs-row{
		margin-left: -15px;
		margin-right: -15px;
	}
}

body.alpineproducts #contents .wrapper p,
body.alpineproducts #contents .wrapper div,
body.alpineproducts #contents .wrapper a
{
	color: #151d29;
}

body.alpineproducts #contents .wrapper h2{
	text-align: left !important;
	line-height: 1;
    font-family: 'TradeGothicLTPro-Bold', "NotoSans-B";
	margin-bottom: 18px;
	padding-bottom: 5px;
	border-bottom: 1px dashed #999;
}
body.alpineproducts #contents .wrapper h2 span.gray{
	color: #888;
}
body.alpineproducts #contents .wrapper h2 span.product_num{
	margin-left: 2px;
	font-size: 1.25rem;
	vertical-align: 0.15em;
}

.product_lead{
    font-family: "NotoSans-B";
	margin-top: 10px;
	font-size: 1.3rem;
	margin-bottom: 30px;
}
.product_data{
	font-size: 1.2rem;
	text-align: left;
}
.product_data > h4{
	line-height: 1.5;
 	font-size: 1.3rem;
 	font-family: 'TradeGothicLTPro-Bold', "NotoSans-B";
	margin-top: 20px;
	margin-bottom: 0px;
	color: #777;
}

.product_data .features li{
	text-indent:-1.2em;
	padding-left: 1.2em;
}

/*リストページ用*/

body.products_list .cat_name{
	line-height: 12px;
	background-color: #666;
	color: #fff;
	font-weight: bold;
	font-size: 11px;
	padding: 0px 5px 1px;
	margin-right: 4px;
}
body.products_list .cat_name.gray{
	background-color: #999;
}
body.products_list .photo.thumbnail{
	margin-bottom: 10px;
	border: 1px solid #ddd;
}
body.products_list .unit{
	margin-bottom: 2em;
}
body.products_list .unit h2{
	text-align: left !important;
    font-family: 'TradeGothicLTPro-Bold', "NotoSans-B";
	font-size: 1.5rem;
}

@media (min-width: 768px){
	body.products_list .unit h2{
		min-height: 4.5em;/*3行*/
	}
}

@media (min-width: 1200px){
	.unit:nth-child(4n+1){
		clear: both;
	}
}
@media (min-width: 992px) and (max-width: 1199px){
	.unit:nth-child(3n+1){
		clear: both;
	}
}

@media (max-width: 768px){
	.unit:nth-child(2n+1){
		clear: both;
	}
}
body.products_list .unit h2 span.gray{
	color: #888;
}
body.products_list .unit h2 span.product_num{
	font-size: 1rem;
}

body.products_list .unit .product_lead{
	font-size: 14px;
}
@media (min-width: 1200px) {
    .main-section .container {
	width: 90%;
	margin-left: 5%;
	margin-right: 5%;
   }
}

body.products_list .unit .photo{
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f5f5f5;
}

body.products_list .unit .photo a{
	display: block;
	width: 100%;
	height: 100%;
}

body.products_list .unit .photo img{
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}


/*絞り込み検索*/
.search-box{
	border: 1px solid #888;
	padding: 15px 10px 10px;
	background-color: #fff;
}
.search-box .filter-title {
    font-family: "NotoSans-B";
}



.filter-group{/*トグルグループ*/
	font-size: 15px;
	border-color: inherit;
	overflow-anchor: none;
	border-bottom: 0;
	border-top: 1px solid #d9d9d9;
	padding: 5px 0 0 0;
	text-align: left;
}

.filter-content {
	padding: 0 0 1.5rem;
	display: none;
}
.filter-content:last-child {
	padding-bottom: 0px;
}

.filter-title {
	margin: 0 0 5px 0;
}

.filter-title span {
	display:block;
	position:relative;
	cursor:pointer;
	padding: 1px 0;
	font-weight: 300;
	font-size: 15px;
	line-height: 1.5;
}
.filter-title span:after {
	content: "";
	display: block;
	border-top: 1px solid #2b2b2b;
	border-right: 1px solid #2b2b2b;
	content: "";
	display: block;
	width: 13px;
	height: 13px;
	position: absolute;
	top: 6px;
	bottom: 0;
	right: 8px;
	margin: auto 0;
	transform: rotate(135deg);
	transition: transform 0.3s ease;
	transform-origin: 75% 25%;
}

.filter-title span.selected:after {
	transform: rotate(-45deg);
}


/*カスタムチェックボックス*/
.cs-cb {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  font-size: 15px;
  gap: 8px;
}

/* 元checkbox隠す */
.cs-cb input {
  position: absolute;
  opacity: 0;
}

/* ボックス */
.checkmark {
  width: 20px !important;
  height: 20px !important;
  border: 1px solid #666;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
  vertical-align: top;
}

/* ホバー */
.cs-cb:hover .checkmark {
  border-color: #000;
}

/* チェック時 */
.cs-cb input:checked + .checkmark {
  background-color: #000;
  border-color: #000;
}

/* チェックマーク */
.cs-cb input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* テキスト変化（おすすめ） */
.cs-cb input:checked ~ .label-text {
	text-align: left;	
	vertical-align: top;
}



.search-box button{
	background-color: #888;
	width: 100% !important;
}

.search-box .search_btn{
	font-size: 1.1rem;
	line-height: 1.8rem;
	padding: 0px 10px;
	font-family: "NotoSans-SB";
	font-weight: 600;
	text-transform: none;
	color: #fff;
	background-color: #888;
	border: 1px solid #bbb;
	border-radius: 5px !important;
	opacity: 0.9;
	filter: alpha(opacity = 90);
	vertical-align: middle;
	-webkit-transition: all 150ms ease-out;
	-moz-transition: all 150ms ease-out;
	-o-transition: all 150ms ease-out;
	-ms-transition: all 150ms ease-out;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	transition: all 150ms ease-out;
	display: inline-block;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
}
.search-box .search_btn:hover{
	background-color:#d8d52f ;
	border:#d8d52f ;
	opacity: 0.9;
	filter: alpha(opacity = 90);
}

#activeFilters {
  visibility: hidden;
	display: none;
}


/*ページャー*/
.archive-pagination {
	clear: both;
	text-align: center;
	margin: 40px 0;
}
.nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 40px;
}

.archive-pagination .page-numbers {
	display: inline-block;
	padding: 8px 12px;
	min-width: 40px;
	text-align: center;
	box-sizing: border-box;
}
.archive-pagination li {
	display: inline-block;
	border: 1px solid #ccc;
}

.archive-pagination li .current {
	display: block;
	padding: 8px 12px;
	background: #333;
	color: #fff;
}

/* リンク切れのアイコン対策 */
img.custom-broken-img {
  /* 1. 位置の基準を「画像そのもの」に限定する */
  position: relative; 
  display: inline-block; /* 縦横のサイズを持てるようにする */
  
  /* 2. リンク切れ時にエリアを確保するための最小サイズ */
  min-width: 150px;  /* アイコンや文字が入る最低限の幅 */
  min-height: 100px; /* ★重要：これによって下の文字が下に押し下げられます */
  
  /* 3. 周りの要素との余白（必要に応じて調整してください） */
  margin-bottom: 15px; 
  vertical-align: bottom;
}

/* リンク切れの背景（元の破れアイコンを隠す） */
img::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f5f5f5; /* グレーの背景で塗りつぶす */
  border: 1px dashed #ccc;
  border-radius: 4px;
}

/* リンク切れの代替テキスト・アイコン */
img::after {
  content: "Image could not be loaded."; /* 好きな文字や絵文字に */
  display: block;
  font-size: 13px;
  color: #666;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
@media (max-width: 640px) {
	.row.single-product{
		margin-left: -10px;
		margin-right: -10px;
	}
}