@charset "shift_jis";
/* CSS Document */
/*-----------------------------------------------*/
/*ベース*/
/*-----------------------------------------------*/
#c_metal{
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    text-align: center;
	padding-bottom: 1%;
	color:#222;
}
#c_metal .pc_none{
    display: none !important;
}
#c_metal img{
    width: 100%;
    height: auto;
}
#c_metal a{
    display: block;
    position: relative;
}  
#c_metal a:hover{
    opacity: 0.9;
    color:#222 !important;
} 

/*-----------------------------------------------*/
/*全体枠*/
/*-----------------------------------------------*/
#c_metal .inner{
    max-width: 900px;
    margin: 0 auto ;
    background: #fff;
}

#c_metal section#point{
    margin-bottom: 3%;
}
#c_metal .bg{
    background: #f4f4f4;
    padding:2% 3% 3% 3%;
}
/* -------------------------------- */
/* タイトルここから */
/* -------------------------------- */
#c_metal .title {
    margin:2rem 0 1rem;
}
#c_metal .title h2 {
    position: relative;
    color: #5b5152;
    font-size: 2.3rem;
}

#c_metal .title h2.ribbon1 {
    display: inline-block;
    position: relative;
    height: 50px;
    line-height: 50px;
    text-align: center;
    padding: 0 30px;
    font-size: 18px;
    background: #7ebda6;
    color: #FFF;
    box-sizing: border-box;
    width: 70%;
}


#c_metal .title h2.ribbon1:before, #c_metal .title h2.ribbon1:after {
    position: absolute;
    content: '';
    width: 0px;
    height: 0px;
    z-index: 1;
}

#c_metal .title h2.ribbon1:before {
    top: 0;
    left: 0;
    border-width: 25px 0px 25px 15px;
    border-color: transparent transparent transparent #faf7f2;
    border-style: solid;
}

#c_metal .title h2.ribbon1:after {
    top: 0;
    right: 0;
    border-width: 25px 15px 25px 0px;
    border-color: transparent #faf7f2 transparent transparent;
    border-style: solid;
}

#c_metal .title h3 {
    margin: 0 ;
}

/* -------------------------------- */
/* イチオシ商品ここから */
/* -------------------------------- */
#c_metal .other .title {
    margin: 1rem 0 1rem;
}
#c_metal .other {
    background: #f27340;
    padding: .5rem 1rem 1rem;
    border-radius:10px;
    margin:2rem 0 0;
}
#c_metal .other img {
    border-radius: 5px;
}
#c_metal .other h2 {
    color: #fff;
}
#c_metal .other .parent {
    display: flex;
    gap: 1rem;
    width: 100%;
    margin:.5rem 0 ;
}
#c_metal .other .scroll {
    overflow-x: scroll;
    scrollbar-color: #fff #dd6232;
}
#c_metal .other .scroll .parent li  {
    flex: 0 0 auto; 
    width: 230px;
    box-sizing: border-box; 
    background-color: #fff;
    border-radius: 10px;
}
#c_metal .parent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem auto 0;
}
#c_metal .parent > li {
    width: 100%;
}
#c_metal .parent > li a {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
    background-color: #fff;
    padding: .5rem;
    border-radius: 5px;
}
.parent .item_price {
    font-family: Lato, 'Noto Sans JP', sans-serif, 'メイリオ';
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.3em;
    margin: .5rem 0 ;
}
/* -------------------------------- */
/* 商品 */
/* -------------------------------- */
#c_metal .thumbnail img {
    border-radius: 5px;
}
#c_metal .midashi {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}
#c_metal .m10 {
    margin:2rem 0 0;
}

/*-----------------------------------------------*/
/*タブ切り替え*/
/*-----------------------------------------------*/
#c_metal .tab-wrap {
   background-color: #f3f3f3;
}
#c_metal .tab-wrap >ul {
   display: flex;
   border-bottom: 3px solid #8aa9bd;
   flex-wrap: nowrap;
   gap: 1%;
}
/* 初期状態：すべて非表示 */
.tab-contents {
    display: none;
  }
  
  /* 各タブに対応する表示制御 */
  #metal-1:checked ~ .tab-contents.metal_1,
  #metal-2:checked ~ .tab-contents.metal_2,
  #metal-3:checked ~ .tab-contents.metal_3,
  #metal-4:checked ~ .tab-contents.metal_4,
  #metal-5:checked ~ .tab-contents.metal_5 {
    display: block;
  }

.tab-btn5 .tab-label{
    padding: 10px 0 12px 0;
    text-align: center;
    list-style: none;
    cursor: pointer;
    font-size: 16px;
    background: #c7c7c7;
    color: #fff;
    transition: 0.3s all;
    height:43px;
    margin-top:10px;
    border-radius: 4px 4px 0 0;
    display: block;
  }
.tab-btn5 .tab-label:hover {
    background: #8aa9bd;
}

  #metal-1:checked ~ .tab-btn5 .tab-label.item-1,
  #metal-2:checked ~ .tab-btn5 .tab-label.item-2,
  #metal-3:checked ~ .tab-btn5 .tab-label.item-3,
  #metal-4:checked ~ .tab-btn5 .tab-label.item-4,
  #metal-5:checked ~ .tab-btn5 .tab-label.item-5 {
    background: #8aa9bd;
    color: #fff;
    height:51px;
    margin-top:2px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

#c_metal .tab-btn:first-child{
    margin-left:0;
}
#c_metal .tab .tab-content li {
    background: #f3f3f3;
}


