/*
Theme Name: CUBIC
Description: CUBIC Template
Author: 管理人
*/

body{
    min-width: 1200px;
    font-size: 16px;
}
.in{
    min-width: 1040px;
    padding: 0 3%;
}
.mob{
    display: none;
}
wrap{
    display: -webkit-flex;
    display: flex;
}


main{
    width: calc(100% - 160px);
}
main#main{
    width: 100%;
}

/*---ヘッダー----------------------------*/
header{
    width: 160px;
    height: 100vh;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-direction: column;
    flex-direction: column;
    padding: 25px 10px;
    text-align: center;
}
.hed_text{
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    margin: 0 auto;
	display: none;
}
.hed_sns{
    margin-bottom: 30px;
}
.hed_sns li + li{
    margin-top: 0.2em;
}




nav.active{
    left: 160px;
}

/*ショッピング関係ボタン*/
.hed_shopbox ul{
    
}

/*---フッター----------------------------*/

.footer{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    min-width: 900px;
}
.foot_nav{
    display: -webkit-flex;
    display: flex;
}
.foot_nav > div{
    margin-right: 5em;
}
.foot_logo{
    text-align: right;
}



/*---ホーム----------------------------*/

/*スライダー----*/

.slider_box {
    min-width: 1040px;
    
}
.slider_box .slick-slide li{
	max-height: 800px;
	height:calc(100vh - 89px);
}
.slider_box .itemlist_textbox{
    position: absolute;
    bottom: 0;
    right: 50px;
    padding: 25px 3% 120px;
    width: 35%;
}

.slider_box .slider-dots {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
}

/*ホームのカテゴリー別の商品一覧ー----*/
.home04_list ul{
    display:grid;
    grid-template-columns: 40% 27% 27%;
    gap: 70px 3%;
}
.home04_list ul li{
    position: relative
}
.home04_list ul li:nth-child(1){
    grid-row: 1 / span 2; 
}
.home04_list ul li:nth-child(1) .itemlist_img{
    padding-top: 155%;
}
.home04_list ul li:nth-child(1) .itemlist_textbox{
    position: absolute;
    right: 0;
    bottom: 0;
}
.home04_list ul li:nth-child(1) ~ li .itemlist_textbox{
    width: 100%;
}



/*---下層ページ----------------------------*/

/*---下層ページヘッダー----------------------------*/

/*シングルページ*/
.content_hed .in{
    flex-wrap: wrap;
}

/*--商品--------------*/
/*--商品一覧--------------*/

.item_list ul::after{
    content: "";
    display: block;
    clear: both;
}
.item_list ul li{
    float: left;
    width: 30%;
    margin-left: 5%;
}
.item_list ul li:nth-child(3n+1){
    margin-left: 0;
}
.item_list ul li:nth-child(3)~li{
    margin-top: 40px;
}
.itemlist_foot{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
}

/*--商品詳細--------------*/
.single_nav{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}
.single_nav .view_all{
    width: 48%;
}
.single_nav .next{
    border-left: 1px solid #000;
}
.singleitem_wrap{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}
.singleitem_wrap .singleitem_main{
    width: 65%;
}
.singleitem_side{
    position: sticky;
    top: 50px;
    right: 30px;
    width: 25%;
    z-index: 1;
    
    height: calc(100svh - 50px);
    overflow-y: auto;
    padding-bottom: 20px;
 }
.singleitem_sidebox{
    background-color: #fff;
}
.item_table table th{
    width: 7em;
}
.item_table table td{
    padding-left: 1em;
}
.item_storys{
    
}
.itemstory_img{
    opacity: 0; 
    transform: translateY(30px); 
    transition: opacity .8s, transform .8s;
}

.itemstory_img.show {
    opacity: 1;
    transform: translateY(0); 
    transition-delay: .8s;
}
.item_storys li:nth-child(2n+2) .item_story{
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.item_story:has(.itemstory_img) .itemstory_text{
    position: relative;
    z-index: 1;
    background-color: #fff;
    padding: 20px 0;
}
.singleitem_sidebox,
.item_sidehed{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.item_sidehed{
    border: 3px solid #000;
    border-bottom: 0;
    padding: 15px 5% 10px;
    margin-bottom: 20px;
}
.item_sidlist{
    padding: 10px 3%;
}
.item_sidprices{
    margin: 1em 0;
    font-size: 0.9em;
}
.item_cart{
    margin-top: 1em;
}

/*ウーコマース商品詳細*/
.single_product .summary{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /*grid-template-rows: repeat(3, 1fr);*/
    gap: 20px;
}
.single_product .summary .product_title{
    grid-column: span 3 / span 3;
}
.single_product .summary .price{
    grid-column: span 2 / span 2;
    grid-row-start: 2;
}
.single_product .summary .woocommerce-product-details__short-description{
    grid-column: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 3;
}
.single_product .summary .variations_form{
    grid-row: span 2 / span 2;
    grid-column-start: 3;
    grid-row-start: 2;
}
.single_product .summary .product_meta{
    grid-column-start: 3;
    grid-row-start: 4;
}


/*--お知らせ----------------------------*/
/*--お知らせ一覧--------------*/








 /*------------------------------------------------------------------------------------*/
/*--固定ページ--------------*/


/*--お買い物ガイド--------------*/
    .dlset dt {
        font-size: 15px;
        font-weight: normal;
        line-height: 1.6;
        width: 17em;
        margin: 0px;
        float: left;
        position: relative;
        padding: 8px 16px;
    }
.dlset dd {
        font-size: 15px;
        line-height: 1.6;
        padding: 8px 16px;
        margin: 0px 0px 0px 16em;
    }

/*お問い合わせ*/
.contact_box{
    padding: 0 50px;
}
.contact_box table th{
    padding: 17px 10px;
}
.contact_box table td{
    padding: 10px; 
}
.contact_box table th{
    width: 12em;
}



