/* -------- リセットCSS -------- */
body,
menu,
div{
    margin: 0;
    padding: 0;
    display: block;
    box-sizing: border-box;
}
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;700&display=swap');
/* ボディー */
body{
    background-color: #E8E2D8;
    font-family: 'M PLUS 1p', sans-serif;
}
/* ヘッダー */
header{
    background-color: #F5F1EC;
    color: #4A433D;
}
.header{
    background-color: #F5F1EC;
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0; /* full width にするためセンタリングを解除 */
    position: relative;
}
/* ヘッダー画像 */
.header img{
    width: 100%;
    height: 350px;
    display: block;
}

/* ヘッダータイトル（画像上に重ねる） */
.site-title{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #F5F1EC;
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    font-family: 'M PLUS 1p', sans-serif;
    white-space: nowrap;
    max-width: 92%;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* メニュー */
menu{
    background-color: #F5F1EC;
}
.menu{
    background-color: #F5F1EC;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;/* センタリング */
    display: flex;        /* 追加：子要素（ボタン）を横並びにする */
}
.menu-item{
    position: relative;
    flex: 1;
}
.menu-item > a{
    display: block;
    background-color:#4A433D;
    color: white;
    text-decoration: none;
    padding: 8px;
    transition: background-color 0.25s, box-shadow 0.25s;
    text-align: center;
}
/* ホバーで光る（メインメニュー） */
.menu-item:hover > a,
.menu-item > a:focus{
    background-color:#B8ADA3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 0 10px rgba(255,255,255,0.06) inset;
}

.menu .button-on{
    background-color: #4A433D;
}

/* ドロップダウン */
.dropdown{
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    display: none;
    flex-direction: column;
    background-color: #4A433D;
    border-radius: 0;
    overflow: hidden;
    z-index: 20;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{
    display: flex;
}
.dropdown a{
    padding: 8px 14px;
    color: white;
    text-decoration: none;
    display: block;
    text-align: left;
    white-space: nowrap;
    transition: background-color 0.25s, transform 0.08s;
}
.dropdown a:hover,
.dropdown a:focus{
    background-color: #B8ADA3;
    transform: translateX(4px);
}

/* コンテンツ */
.content-section{
    background-color: #B8ADA3;
}
.content{
    background-color: #F5F1EC;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;/* センタリング */
    padding: 20px;
    color: #4A433D;
}
.honmon{
    background-color:#FAF8F5;
    padding: 40px;
    border-radius: 0px;
    color: #4A433D;
}

/* .content-section 内の見出しを統一 (h2〜h6) */
.content-section .content h2,
.content-section .content h3,
.content-section .content h4,
.content-section .content h5,
.content-section .content h6{
    font-size: 28px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
    color: #4A433D;
}

/* .content-section 内の本文(.honmon)のフォントを統一 */
.content-section .content .honmon{
    font-size: 16px;
    line-height: 1.6;
}

/* ===== ZOZOTOWN 商品カルーセル（スライダー）スタイル ===== */

/* カルーセル全体を包むコンテナ */
.carousel-container{
    position: relative;              /* ボタンを絶対位置で配置するための基準 */
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    overflow: hidden;
}

/* 商品が並ぶレール（複数の商品を横に並べる）*/
.carousel-track{
    display: flex;                   /* スライド単位で横に並べる */
    transition: transform 0.4s ease;
    border-radius: 16px;            /* 角丸 */
    width: 100%;
}

/* 1つのスライド（2商品をまとめて表示） */
.carousel-slide{
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 2px;
    width: 100%;
    box-sizing: border-box;
}

/* 1つの商品カード */
.carousel-item{
    display: block;
    color: #4A433D;
    text-decoration: none;
    min-width: 0;
}

/* 非表示になっているスライド */
.carousel-item.hidden{
    display: none;
}

/* 商品カード（画像+テキスト） */
.product-item{
    display: flex;                   /* 画像とテキストを横並び */
    align-items: center;             /* 高さの中央に揃える */
    gap: 14px;                       /* 画像とテキスト間の間隔 */
    width: 100%;
    min-width: 0;
    height: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;       /* 白背景 */
    padding: 14px;
    border-radius: 16px;
    border: 1px solid #e1ddd8;
}

/* 商品画像 */
.product-item img{
    width: 128px;
    height: 128px;
    object-fit: cover;               /* 正方形で画像をクロップ */
    border-radius: 14px;             /* 画像の角丸 */
    flex-shrink: 0;                  /* 画像のサイズを固定（縮まない） */
}

/* 商品情報エリア（商品名とブランド名） */
.product-info{
    display: flex;                   /* 上下に積み重ねる */
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

/* 商品名（大きく表示） */
.product-label{
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;                /* 太字 */
    word-break: break-word;
}

/* ブランド名（小さく薄く表示） */
.product-source{
    margin: 0;
    font-size: 14px;
    color: #6b635c;                  /* グレーっぽい色 */
}

/* 左右の矢印ボタン */
.carousel-btn{
    position: absolute;              /* 絶対位置（画像の上に浮かす） */
    top: 50%;                        /* 高さの中央 */
    transform: translateY(-50%);     /* 中央に調整 */
    background-color: rgba(255, 255, 255, 0.85);  /* 半透明の白 */
    color: #4A433D;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;              /* 円形 */
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.45s;  /* ホバー時のアニメーション */
    z-index: 10;                     /* 商品より上に表示 */
}

/* マウスホバー時のボタン */
.carousel-btn:hover{
    background-color: rgba(255, 255, 255, 1);  /* 不透明な白にする */
}

/* 左矢印ボタン（前の商品へ） */
.carousel-btn-prev{
    left: 8px;                       /* 左から8px */
}

/* 右矢印ボタン（次の商品へ） */
.carousel-btn-next{
    right: 8px;                      /* 右から8px */
}

/* スライド位置を示すドット（点）のコンテナ */
.carousel-dots{
    display: flex;                   /* 左から右に並べる */
    justify-content: center;         /* 中央に配置 */
    gap: 8px;                        /* 点と点の間隔 */
    margin-top: 12px;
}

/* 1つのドット（小さい点） */
.carousel-dot{
    width: 10px;
    height: 10px;
    border-radius: 50%;              /* 円形 */
    background-color: #ccc;          /* グレー */
    cursor: pointer;
    transition: background-color 0.25s;  /* クリック時のアニメーション */
}

/* 現在表示中のスライドを示すドット（強調表示） */
.carousel-dot.active{
    background-color: #4A433D;       /* 濃い色でハイライト */
}

/* デザイナータグ */
.mt0{
    margin-top: 0;
}

/* レスポンシブ YouTube 埋め込み */
.video-container{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}
.video-container iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    border: 0;
}
