@charset "utf-8";

main {
    background-color: #3e2828;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3em;
    text-align: center;
    padding: 50px 0;
    color: #5D3C3C;
}

a {
    text-decoration: none;
    color: #360202;
}


/* ---------------------------------- */
/*products-top (最初のセクション) */
/* ---------------------------------- */
.products-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    height: 100vh;
}

.category {
    padding: 20px;
}




/*new-collectionの設定 */
 .category .side-newimg img {
    aspect-ratio: 2 / 3;
    width: 250px;
}







/* ---------------------------------- */
/* NEW COLLECTION */
/* ---------------------------------- */

.new-collection-section {
    background-color: #95ABB2;
    padding-bottom: 100px;
}

.autumn-collection-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 製品グリッド (Product Grid) - New Collection */
.new-collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}





/* ---------------------------------- */
/* Ranking セクション */
/* ---------------------------------- */

.ranking-box {
    max-width: 350px;
}
.textbox h3,
.textbox p{
    color: #fafafa;
}

/* ---------------------------------- */
/* All Item セクション */
/* ---------------------------------- */
.all-item-section {
    background-color: #D4C0B9;
    padding-bottom: 50px;
}

.all-item-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
}



/* ---------------------------------- */
/* 製品カード共通スタイル */
/* ---------------------------------- */
.product-card {
    background-color: #EFEFEF;
    padding: 10px;
    width: 90%;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    aspect-ratio: 2 / 3;
    max-width: 250px;

}
 
.product-image {

    width: 100%;
    height: 60%;
    background-color: #fff;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
}

.product-image img {

    width: 100%;
    height: 100%;
    object-fit: cover;

}

.product-name {
    font-size: 1rem;
    color: #333;
    padding: 5px 0;
}

.product-name-jp {
    font-size: 0.6rem;
    padding-bottom: 30px;
}

.color {
    font-size: 0.7rem;
    text-align: left;
}

.price {
    font-size: 0.8rem;
}

.bottomtext {
    display: flex;
    justify-content: space-between;

}

.viewmore a{
    font-weight: bold;
    font-size: 1rem;
    font-family: 'Playfair Display', serif;

}


/* ランキングとオールアイテムの設定 */

#ranking-section,
#all-item-section {
    height: 100vh;
    min-height: 1200px;
    padding: 100px 160px;
}
#all-item-section{
    padding-top: 0
}

#ranking-section {
    padding-top: 100px;
}
#ranking-section h2,
#all-item-section h2{
    font-size: 4rem;
    padding: 30px;
    background: #3e2828;
    color: #D9D9D9;
    text-align: center;
}

.tabBox .tabArea {
    width: 100%;
    height: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}

#ranking-section h2,
#ranking-section a,
#all-item-section h2,
#all-item-section a {
    font-family: "Bodoni Moda", serif;
    font-weight: bold;
}

.tabBox .tabArea .one_tab {
    width: 25%;

}

.tabBox .tabArea .one_tab a {
    display: block;
    text-decoration: none;
    transition-duration: 0.3s;
    text-align: center;
    font-size: 1.4rem;
}

.tabBox .tabArea .one_tab a:hover {
    opacity: 0.7;
    text-decoration: none;
}

.tabBox .tabArea .one_tab .tab_inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    transition-duration: 0.3s;
}

.tabBox .tabArea .one_tab:nth-child(1) .tab_inner {
    background-color: #E3F8FE;
}

.tabBox .tabArea .one_tab:nth-child(2) .tab_inner {
    background-color: #CDC4C4;
}

.tabBox .tabArea .one_tab:nth-child(3) .tab_inner {
    background-color: #D9D9D9;
}

.tabBox .tabArea .one_tab:nth-child(4) .tab_inner {
    background-color: #95ABB2;
}

.tabBox .tabArea .one_tab a.select .tab_inner {
    height: 80px;
}

.contents .tab_main {
    display: none;
    padding: 50px 25px;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    transition-duration: 0.3s;
}

.tab_main.is_show {
    display: block;
}

.tab_main:nth-child(1).is_show {
    background-color: #E3F8FE;
}

.tab_main:nth-child(2).is_show {
    background-color: #CDC4C4;
}

.tab_main:nth-child(3).is_show {
    background-color: #D9D9D9;
}

.tab_main:nth-child(4).is_show {
    background-color: #95ABB2;
}

.ranking-grid,
.allitem-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 90%;
    justify-content: center;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 40px;
    position: relative;
}

#all-other .allitem-grid {
    grid-template-columns: repeat(3, 1fr);
}
.no {
    position: absolute;
    top: 0;
    font-size: 1.4rem;
    font-weight: normal;
}


