body * {
    font-size: 1rem;
    font-family: "Zen Kaku Gothic New";
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.5;
}

.blackfriday {
    height: 40px;
    width: 100%;
    object-fit: contain;
    padding: 8px 0;
    background-color: black;
    overflow-y: hidden;
}


header {
    height: 110px;
    width: 100%;
    overflow-y: hidden;
}

.header_menu {
    height: 70px;
    width: 100%;
    box-shadow: 1px 0 5px 1px #dddddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_logo {
    padding: 0 20px;
}

.header_img {
    height: 18px;
    width: 18.3px;
}

li {
    list-style: none;
}

.header_menu ul {
    display: flex;
}

.header_menu ul li {
    display: flex;
    flex-flow: column;
}

.header_container li button {
    display: flex;
    border: none;
    background-color: white;
    flex-direction: column;
    cursor: pointer;
}

.header_text {
    font-size: 10px;
    color: #333;
}

.header_container li {
    align-items: center;
    margin-right: 24px;
    width: 52px;
    white-space: nowrap;
}

/* ヘッダー、ここからメイン */
/* メインヘッダー */
.main_header {
    height: 50px;
    background-color: #fafafa;
    flex-direction: column;
    justify-content: center;
    color: #333;
}

.main_header ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    /* gapを0に */
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #fafafa;
}

.main_header li {
    display: flex;
    flex: none;
    height: 100%;
}

.main_header li button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none;
    background-color: #fafafa;
    height: 100%;
    padding: 0 90px;
    /* 左右の余白 */
    border-right: 1px solid #d4d2cf;
    cursor: pointer;
    color: #333;
}

.main_header li:first-child button {
    border-left: 1px solid #d4d2cf;
    /* 最初のボタンだけ左線 */
}

.main_header li button span {
    display: block;
    line-height: 1.2;
}

.main_header li button span:first-child {
    font-size: 12px;
    font-weight: 500;
}

.main_header_text {
    font-size: 12px;
}

.main_header_news li {
    text-align: center;
    display: flex;
    justify-content: center;
    background-color: #ececec;
    margin: 5px auto;
}

.main_header_news ul {
    margin: 0;
    padding: 0;
    height: 63px;
}

.main_header_news a {
    color: #45433e;
    text-decoration: none;
    color: #333;
    font-size: 13px;
}

.main_header_news {
    text-align: center;
    display: flex;
    justify-content: center;
    background-color: #ececec;
}

a {
    text-decoration: none;
    color: #333;
    font-size: 13px;
}

/* スライダー画像 */

/* スライダー画像 */
.slider {
    width: 100%;
    margin-bottom: 63px;
    padding-bottom: 25px;
    /* ← ドット用のスペースを追加 */
    overflow: visible;
    /* ← overflow-y: hiddenを削除 */
    background-color: #fafafa;
}

.slider li {
    height: 520px;
    /* ← li要素に高さを指定 */
    background-color: #fafafa;
}

.slider img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    background-color: #fafafa;
}

/* Slickのドットをカスタマイズ */
.slick-dots {
    bottom: -40px;
    /* ← 画像の下にドットを配置 */
    background-color: #fafafa;
}

.slick-dots li button:before {
    font-size: 12px;
    /* ← ドットのサイズ */
    color: #999;
    /* ← 非アクティブのドットの色 */
    padding: 0;
    margin: 0;
}

.slick-dots li.slick-active button:before {
    color: #333;
    /* ← アクティブなドットの色 */
    margin: 0;
    padding: 0;
}

.form {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin: 20px;
    background-color: #fafafa;

}

.main_container {
    height: 200px;
    background-color: #fafafa;
    margin: 0;
    padding: 0;
    overflow-y: hidden;
}

.slider_div {
    padding: 0;
    margin: 0;
    background-color: #fafafa;
}

/* style.cssで上書き */
.form input[type="text"] {
    padding: 10px 100px;
    border: 1px solid #ddd;
    background-color: white;
    margin: 0;
    border-radius: 5px 0 0 5px;
}

.form input[type="submit"] {
    padding: 10px 10px;
    border-radius: 0 5px 5px 0;
    margin: 0;
    border: 1px solid #333;
    background-color: #333;
    color: white;
}

.form label {
    margin: 0;
    margin-bottom: 10px;
}

.main_menu {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    gap: 10px;

}

.brand_search a {
    display: flex;
    padding: 12px 10px;
    margin: 0;
    background-color: #333;
    color: white;

}

.category a {
    display: flex;
    border: none;
    padding: 12px 10px;
    margin: 0;
    background-color: #333;
    color: white;
}

.category button {
    width: 163px;
}

.brand_search button {
    width: 163px;
}

.favorite_keyword {
    height: 263px;
    background-color: #ffffff;
    margin-left: 250px;
}

.favorite_keyword h3 {
    padding-top: 45px;
    padding-bottom: 45px;
    padding-left: 50px;
}

.favorite_keyword ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.favorite_keyword ul li {
    list-style: none;
}

.favorite_keyword ul li a {
    display: inline-block;
    /* ← blockではなくinline-block */
    padding: 10px 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.favorite_keyword ul li a:hover {
    background-color: #f0f0f0;
}

.favorite_word {
    font-size: 16px;
    display: inline-flex;
    width: auto;
}

/* ここからWhat's  New再現 */
.what_is_new {
    background-color: #fafafafa;
}

.what_is_new h2 {
    padding-top: 45px;
    margin-left: 300px;
    font-size: 30px;
    color: #45433e;
}

.what_is_new h2 span {
    padding-left: 8px;
    font-size: 14px;
    color: #45433e;
}

.tabs {
    max-width: 1246px;
    margin: 50px auto;
}

.tab-list {
    display: flex;
    padding-bottom: 30px;
}
.tab-list :hover{
    background-color: #333;
    color: #e0e0e0;
}

.tab-item {
    display: flex;
    justify-content: center;
    height: 40px;
    border-radius: 0;
    background-color: #ffffff;
    border: solid 1px #fafafa;
    border-bottom: solid 1px black;
    flex-basis: 14%;
    cursor: pointer;
    align-items: center;
    text-align: center;
}

.tab-content {
    background-color: #f5f5f5;
    border: solid 1px #d3d2cf;
    max-height: 410px;
    overflow-y: auto;
}

.tab-panel {
    display: none;
}

.tab-item.active {
    background-color: #333;
    color: #e0e0e0;
    font-weight: bold;
}

.tab-panel.active {
    display: grid;
    padding: 3%;
    grid-template-columns: 2fr 2fr;
    gap: 10px;
}

.contents {
    display: flex;
    gap: 15px;
    padding: 15px;
    /* border-bottom: 1px solid #e0e0e0; */
    align-items: flex-start; /* 上揃え */
}

.contents img {
    width: 160px;
    height: 160px;
    flex-shrink: 0; /* ← これが重要!画像が縮まないようにする */
    object-fit: cover;
}

.contents div {
    flex: 1; /* テキスト部分が残りのスペースを使う */
}

.contents p:first-child {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
}

.contents p:last-child {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}
/* ブランド紹介の場所 */
/* ブランド紹介の全体 */
.brand_introduction {
    background-color: #fafafa;
    padding: 60px 0;
}

.brand_introduction h3 {
    font-size: 30px;
    margin-left: 300px;
    padding-top: 45px;
    padding-bottom: 20px;
    color: #45433e;
}

.brand_introduction h3 span {
    padding-left: 8px;
    font-size: 14px;
    color: #45433e;
}

.brand_introduction h4 {
    font-size: 23px;
    margin-left: 320px;
    padding-top: 50px;
    padding-bottom: 30px;
    color: #45433e;
}

.brand_introduction h4 span {
    padding-left: 8px;
    font-size: 14px;
    color: #45433e;
}

/* グリッドレイアウトの基本 */
.brand_grid {
    display: grid;
    gap: 15px;
    max-width: 1300px;
    margin: 0 auto 20px;
    padding: 0 50px;
}

/* PRESTIGE 1段目: 4カラム */
.brand_grid.prestige {
    grid-template-columns: repeat(4, 1fr);
}

/* PRESTIGE 2段目: 6カラム(小さめ) */
.brand_grid.prestige_second {
    grid-template-columns: repeat(6, 1fr);
}

/* PREMIUM 1段目: 3カラム */
.brand_grid.premium {
    grid-template-columns: repeat(3, 1fr);
}

/* PREMIUM 2段目・3段目: 4カラム */
.brand_grid.premium_row2,
.brand_grid.premium_row3 {
    grid-template-columns: repeat(4, 1fr);
}

/* PREMIUM 4段目: 3カラム */
.brand_grid.premium_row4 {
    grid-template-columns: repeat(3, 1fr);
}

/* ブランドアイテム - 細長い長方形 */
.brand_item {
    background-color: white;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow-y: hidden;
}

.brand_item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.brand_item img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 背景色の異なるブランド(PRESTIGEの1段目) */
.brand_dark {
    background-color: #081f2c;
}

.brand_white {
    background-color: #ffffff;
}

.brand_gold {
    background-color: #ac9751;
}

.brand_black {
    background-color: #000000;
}

/* ボタン */
.brand_more_btn {
    text-align: center;
    margin-top: 50px;
    padding-bottom: 60px;
}

.brand_more_btn button {
    padding: 15px 60px;
    border: 2px solid #333;
    background-color: white;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Zen Kaku Gothic New";
}

.brand_more_btn button:hover {
    background-color: #333;
    color: white;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .brand_grid.prestige {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brand_grid.prestige_second {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .brand_grid.premium,
    .brand_grid.premium_row4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brand_grid.premium_row2,
    .brand_grid.premium_row3 {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* フッター */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer_container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

/* メインフッター */
.footer_main {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #555;
}

.footer_column h5 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.footer_column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_column ul li {
    margin-bottom: 12px;
}

.footer_column ul li a {
    color: #ccc;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer_column ul li a:hover {
    color: #fff;
}

/* サブフッター */
.footer_sub {
    padding: 30px 0;
    border-bottom: 1px solid #555;
}

.footer_sub ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.footer_sub ul li a {
    color: #ccc;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer_sub ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

/* コピーライト */
.footer_bottom {
    text-align: center;
    padding-top: 30px;
}

.footer_bottom p {
    color: #999;
    font-size: 12px;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .footer_main {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer_container {
        padding: 0 20px;
    }

    .footer_main {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer_sub ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 40px 0 20px;
    }

    .footer_main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer_column h5 {
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    .brand_grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
    
    .brand_introduction h3,
    .brand_introduction h4 {
        margin-left: 20px;
        font-size: 24px;
    }
    
    .brand_item {
        padding: 15px 20px;
        height: 80px;
    }
    
    .brand_item img {
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .brand_grid {
        grid-template-columns: 1fr;
    }
}