﻿/* -----------------------
	共通スタイル
------------------------*/
.g-sec{padding: 100px 0;}
.g-cont-inner{
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 10px;
}

.g-common-head{text-align: center;}
.g-common-head h2{
	font-size: 26px;
	font-weight: 600;
	margin: 0;
}

.g-common-head h2 span{
	display: block;
	font-size: 14px;
	font-weight: 400;
	color: #999;	
}

/* ボタン */
.g-common-btn{
  margin-top: 38px;
  width: 100%;
}
.g-common-btn a{
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 320px;
	height: 50px;
	border-radius: 50px;
	margin: 0 auto;
	background: #000;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
}

.g-common-btn a:after{
	position: absolute;
    content: "";
    right: 30px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: solid 2px #fff;
    border-bottom: solid 2px #fff;
    border-radius: 1px;
	transform: translate(0, -50%) rotate(-45deg);	
}

.g-common-btn a:hover{
	opacity: 0.8;
    transition: all 0.1s;
	text-decoration: none;
}

/* ブランドタブ */
.g-common-tab{
	display: flex;
  width:500px;
  margin: 20px auto 0;
	background: #fff;
	border: solid 1px #ddd;
	border-radius: 5px;  
  padding: 4px;
}

.sec-category .g-common-tab{width: 746px;}
.g-common-tab .g-common-tab-item{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
  flex: 1;
	border-radius: 5px;
	min-height: 32px;
	cursor: pointer;
	padding: 0px 1px;
  font-size: 14px;
  font-weight: 400;
}

.g-common-tab .g-common-tab-item.active{
  background: #FF0000;
  color: #fff;
  font-weight: 600;
}

.g-common-tab-content{margin-top: 30px;}

.g-common-tab-label,
.u-tab-panel{display: none;}
.g-common-tab-label.active,
.u-tab-panel.active{display: block;}


/* サブタブ */
.g-common-sub-tab{
  max-width: 1050px;
  width: 100%;
  margin-inline: auto;
	display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 25px;
  padding-block: 10px;
}

.g-common-sub-tab.g-common-sub-tab-3col .g-tab-list{width: calc(100% / 3);}
.g-common-sub-tab.g-common-sub-tab-2col .g-tab-list{width: calc(100% / 2);}
.g-common-sub-tab .g-tab-list{
	font-size: 12px;
	font-weight: 400;
	cursor: pointer;
  padding-block: 2px;
  border-bottom: 1px solid transparent;
}

.g-common-sub-tab .g-tab-list.active{
  font-weight: 700;
  border-color: currentColor;
}

/* カテゴリ */
.g-common-category-list{
	display: flex;
	flex-wrap: wrap;
	gap: 21px 25px;
}

.g-common-category-list li{
	width: calc(100% / 7 - 22px);
	min-width: 140px;
}

.g-common-category-list li a{text-decoration: none;}
.g-common-category-list li a:hover{
	opacity: 0.8;
  transition: all 0.1s;	
}

.g-common-category-list li img{border-radius: 8px;}
.g-common-category-list li span{
	margin-top: 5px;
	display: block;
	font-size: 12px;
	text-align: center;
}
