@charset "utf-8";
/* CSS Document */

/* ============ Theme Colors (スプリングギフトver) ============ */
:root {
  --color-bg: #fffeec;        /* 背景： */
  
  --color-primary: #af7b29;   /* メイン： */
  --color-link: #8c6220;      /* ★追加：メインより少し暗めの色（リンク用） */
  --color-heading: #af7b29;   /* 見出し： */
  --color-text: #6D4C41;      /* 本文：茶色 */
  
  --color-accent: #c9a953;    /* アクセント：ゴールド系 */
  --color-red: #a12122;       /* 強調色・価格など */
  
  --color-menu-bg: #fff3ac;   /* メニュー背景： */
  --color-menu-text: #664817; /* メニュー文字： */
}
/* ===================================== */

body {
	margin: 0;
	background-color: var(--color-bg);
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    /*overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;*/
    padding-bottom: 80px;
}
a {
    text-decoration: none;
    color: var(--color-link); /* ★ inherit から var(--color-link) に変更 */
    transition: opacity 0.3s;
}
a:hover {
    opacity: 0.7;
}

/* --- アニメーション --- */
.scroll-fade {
	opacity: 0;
	transform: translateY(30px);
	transition: all 1000ms 0s ease;
}
.fadein {
	opacity: 1;
	transform: translateY(0);
}


/* ============================================
   ▼▼▼ メインビジュアル (FV) ホワイトデー標準 ▼▼▼
   ============================================ */
.fv_pc { width: 100%; background-size: cover; }
.fv_sp { display: none; width: 100vw; background-size: contain; }

/* --- PC設定 --- */
#mainimage {
    width: 100%;
    /* ★画像比率(1500:700)から計算した完璧な高さ */
    height: 46.66vw !important; 
    position: relative;
    overflow: hidden;
}
#mainimage ul {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    margin: 0; padding: 0;
}
#mainimage ul li {
    list-style: none; 
    width: 100% !important; 
    height: 100%;
    position: absolute; top: 0; left: 0;
    z-index: 6; opacity: 0; transition: opacity 1s;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-size: cover !important; 
}
#mainimage ul li.active { z-index: 9; opacity: 1; }

#mainimage .topimage01 { background-image: url("images_sp/title1.jpg") !important; }
#mainimage .topimage02 { background-image: url("images_sp/title2.jpg") !important; }
#mainimage .topimage03 { background-image: url("images_sp/title3.jpg") !important; }

/* ★PC ロゴ位置（ど真ん中）★ */
#mainimage .title,
#mainimage .title.md-layout {
    position: absolute !important;
    top: 50% !important; 
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    z-index: 11 !important;
    width: 100% !important;
    height: 100% !important; 
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
}

/* ★PC 縦長ロゴ専用サイズ★ */
#mainimage .title img {
    height: 120% !important; /* 背景に対して75%の高さ。少し余白を持たせて上品に！ */
    width: auto !important;
    max-width: none !important;
    /* ↓もし背景からロゴを少し浮き立たせたい場合は、下のコメントアウトを外してください */
    /* box-shadow: 0px 5px 15px rgba(0,0,0,0.2); */
}


/* --- SP設定 --- */
#mainimage_sp {
    width: 100%;
    /* ★画像比率(750:600)から計算した完璧な高さ */
    height: 80vw !important; 
    position: relative;
    overflow: hidden;
}
#mainimage_sp ul {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    margin: 0; padding: 0;
}
#mainimage_sp ul li {
    list-style: none; width: 100% !important; height: 100%;
    position: absolute; top: 0; left: 0;
    z-index: 6; opacity: 1 !important; visibility: visible !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-size: cover !important; 
}

#mainimage_sp .topimage01 { background-image: url("images_sp/title_sp1.jpg") !important; }
#mainimage_sp .topimage02 { background-image: url("images_sp/title_sp2.jpg") !important; }
#mainimage_sp .topimage03 { background-image: url("images_sp/title_sp3.jpg") !important; }

/* ★SP ロゴ位置設定（ど真ん中）★ */
#mainimage_sp .title,
#mainimage_sp .title.md-layout {
    position: absolute !important;
    top: 50% !important; 
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    z-index: 11 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
}

/* ★SP 縦長ロゴ専用サイズ★ */
#mainimage_sp .title img {
    height: 120% !important; /* スマホ画面ではしっかり文字が読めるように大きめ(85%)に！ */
    width: auto !important;
    max-width: none !important; 
}

/* ============================================
   ▼▼▼ 共通エリア ▼▼▼
   ============================================ */
.area {
	background-color: var(--color-bg);
	width: 100%; overflow: hidden; position: relative; z-index: 999;
    margin-bottom: 20px; padding: 0;
}
.wrapper {
	max-width: 800px; margin: 0 auto; padding: 10px;
}

/* パララックス用 */
.cd-fixed-bg {
	width: 100%; margin: 0px; padding: 0px;
	background-size: cover; background-repeat: no-repeat;
	min-height: 500px;
	background-position: center center; background-attachment: fixed;
}
.cd-fixed-bg.cd-bg-1 {
    background-image: url("images_sp/wd_cate_back1.jpg");
}
.cd-fixed-bg.cd-bg-2 {
    background-image: url("images_sp/wd_cate_back2.jpg");
}
.nonebg {background-image:none!important;}

/* 見出し */
h1 {
	color: var(--color-heading);
	text-align: center !important;
	font-family: serif; font-size: 42px;
    margin: 40px auto 20px auto; width: 100%;
}
.midashi1 {
	color: var(--color-heading);
	text-align: center;
	font-family: serif; font-size: 28px;
	font-weight: bolder; line-height: 1.5;
}
.line {
	border: 0;
	background-color: var(--color-heading);
	height: 1px; margin: 15px 0; opacity: 0.3;
}
/* 説明文 */
.setsumei {
	text-align: center;
	font-family: serif;
	color: var(--color-text);
	font-size: 18px; line-height: 2;
    margin-bottom: 30px;
}
.image_w {width: 100%; display: block;}


/* ============================================
   ▼▼▼ メニュー（3x3 タイル） ▼▼▼
   ============================================ */
.menu-area {
    margin: 30px auto; max-width: 800px;
}
.tile-menu {
    padding: 0; margin: 0; list-style: none;
    display: flex; flex-wrap: wrap; justify-content: center;
}
.tile-menu li {
    width: 33.33%; box-sizing: border-box;
	flex-grow: 1;/*数が変動しても幅を維持*/
    border: 1px solid #fff;
    background-color: var(--color-menu-bg);
    text-align: center; transition: all 0.3s;
}
.tile-menu li a {
    display: flex; justify-content: center; align-items: center;
    height: 80px;
    color: var(--color-menu-text);
    font-family: serif; font-size: 18px; font-weight: bold;
    text-decoration: none; width: 100%;
}
.tile-menu li:hover { 
    background-color: var(--color-accent);
}
.tile-menu li:hover a {
    color: #ffffff;
}

/* ============================================
   ▼▼▼ PC用 追従サイドメニュー ▼▼▼
   ============================================ */
.menulist2 {
    position: fixed; right: 0; top: 20px;
    width: 180px; z-index: 9999;
    background: rgba(255,255,255,0.95);
    border: 1px solid #ddd;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.1);
    opacity: 0; transition: opacity 0.5s;
    list-style: none; padding: 0;
    border-radius: 8px 0 0 8px; overflow: hidden;
}
.menulist2 li {
    background-color: var(--color-menu-bg);
    border-bottom: 1px solid #fff;
    transition: background 0.3s;
}
.menulist2 li a {
    display: block; padding: 15px 10px;
    color: var(--color-primary);
    font-size: 15px; font-weight: bold;
    text-align: center; 
}
.menulist2 li:hover {
    background-color: var(--color-accent);
}
.menulist2 li:hover a {
    color: #ffffff;
}


/* ============================================
   ▼▼▼ 商品カード ▼▼▼
   ============================================ */
.niretu, .priceList {
    padding: 0; list-style: none;
    display: flex; flex-wrap: wrap; 
    justify-content: flex-start !important;
    align-items: flex-start !important; /* ★追加：カードを上揃えにして、隣の長さに引っ張られないようにする */
    gap: 20px 10px; margin-bottom: 40px !important;
}
.niretu li, .priceList > li {
    width: calc(50% - 5px); box-sizing: border-box; margin: 0;
}
.haikei {
    background-color: #fff; padding: 0 0 10px 0;
    height: auto; /* ★変更：100%からautoへ（中身のテキスト量に合わせてピッタリ止める） */
    display: flex; flex-direction: column;
    border-radius: 8px; overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.item-card-single {
    max-width: 600px; margin: 0 auto 40px auto !important; border: 1px solid #eee;
}
.pname {
    padding: 10px 12px 0; 
    flex-grow: 0; /* ★変更：1から0へ（余白を埋めようと勝手に伸びるのを防ぐ） */
    display: flex; flex-direction: column;
}

/* --- タグ設定 --- */
/* (ここから下はそのまま同じでOKです！) */
.tag-area { margin-bottom: 5px; line-height: 1; text-align: left; }
.tag {
    display: inline-block; padding: 4px 8px !important;
    margin: 0 4px 4px 0; font-size: 12px !important;
    font-family: sans-serif; color: #fff;
    border-radius: 4px; font-weight: bold;
    vertical-align: middle; letter-spacing: 0.05em; line-height: 1;
}
.tag-shipping { background-color: var(--color-red); }
.tag-bag      { background-color: var(--color-primary); } 
.tag-cool     { background-color: #0099b6; }
.tag-limited  { background-color: #e14586; }

.item-name {
    font-family: serif; font-size: 16px; font-weight: 600;
    line-height: 1.4; color: #333;
    margin-bottom: 2px !important; min-height: 2.8em;
}
.item-price {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 17px; color: var(--color-red);
    font-weight: bold; margin-bottom: 5px; letter-spacing: 0.05em; margin-top: auto;
}
.item-price span {
    font-size: 11px; color: #888; font-weight: normal; margin-left: 2px;
}
.review-box {
    padding: 0 12px; margin-top: auto; font-size: 13px;
    display: flex !important; align-items: center; flex-wrap: wrap; gap: 5px;
}
.review { color: var(--color-primary); font-weight: bold; line-height: 1; }
#dot { border-bottom: 1px dotted; }
.niretu .review.pc, .priceList .review.pc { display: none !important; }
.item-card-single .review.pc { display: block !important; margin-right: 5px; }

.star5_rating{
    position: relative; z-index: 0; display: inline-block;
    white-space: nowrap; color: #CCCCCC; line-height: 1;
}
.star5_rating:before, .star5_rating:after{ content: '★★★★★'; font-size: 14px; }
.star5_rating:after{
    position: absolute; z-index: 1; top: 0; left: 0;
    overflow: hidden; white-space: nowrap; color: #C5A059;
}
.star5_rating[data-rate="5"]:after{ width: 100%; }
.star5_rating[data-rate="4.5"]:after{ width: 90%; }
.star5_rating[data-rate="4.6"]:after{ width: 92%; }
.star5_rating[data-rate="4.7"]:after{ width: 94%; }
.star5_rating[data-rate="4.8"]:after{ width: 96%; }
.star5_rating[data-rate="4.9"]:after{ width: 98%; }
.star5_rating[data-rate="4.0"]:after{ width: 80%; }

.psetumei {
    padding: 0 12px; text-align: left;
    color: var(--color-text);
    font-size: 13px; line-height: 1.5; margin: 8px 0;
}
/* ============================================
   価格フィルタボタン
   ============================================ */
.priceFilter {
    display: flex; flex-wrap: wrap; justify-content: center !important;
    gap: 8px; margin-bottom: 30px; margin-left: auto; margin-right: auto;
}
.priceFilter li { list-style: none; margin: 0; }
.priceFilter button {
    padding: 10px 15px; font-size: 14px;
    background: #fff;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 5px; cursor: pointer; min-width: 108px;
    transition: background-color 0.3s, color 0.3s;
}
.priceFilter button.active, .priceFilter button:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ============================================
   ランキング
   ============================================ */
.rankingList {
    display: flex; flex-wrap: wrap; justify-content: space-between;
    gap: 15px 10px; padding: 0; margin: 0; list-style: none;
}
.rankCard {
    background: #fff; border-radius: 8px; overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative; width: calc(50% - 5px);
}
.rankCard:first-child { width: 100% !important; margin-bottom: 10px; }
.rankCard:first-child img { width: 100%; height: auto; }
.rankBadge {
    position: absolute; top: 0; left: 0; width: 45px; height: 45px;
    background: var(--color-accent); border-bottom-right-radius: 50%; z-index: 10;
}
.rankBadge span {
    position: absolute; top: 10px; left: 14px;
    color: #fff; font-size: 18px; font-weight: bold;
}
.rankTitle {
    font-size: 14px; font-weight: bold; padding: 10px; margin: 0;
    color: var(--color-primary); line-height: 1.4;
}

/* ============================================
   レスポンシブ (SP)
   ============================================ */
@media screen and (max-width: 768px) {
    .fv_pc { display: none; }
    .fv_sp { display: block; }
    
    h1 { font-size: 28px; margin: 20px auto; }
    .midashi1 { font-size: 20px; }
    
    /* テキスト中央揃え */
    .setsumei { 
        font-size: 14px; line-height: 1.8;
        padding: 0 15px; 
        text-align: center !important; 
    }
    
    .menulist2 { display: none !important; }
    
    .niretu li, .priceList > li {
        width: calc(50% - 5px) !important; margin-bottom: 10px;
    }
    
    .rankCard { width: calc(50% - 5px) !important; }
    .rankCard:first-child { width: 100% !important; }

    .pname { padding: 8px 8px 0; }
    .item-name { font-size: 12px; min-height: 3.8em; }
    .item-price { font-size: 15px; }
    .tag { font-size: 11px !important; padding: 4px 6px !important; margin-bottom: 3px; }
    .psetumei, .line { display: none; }
    .review-box { display: flex !important; padding: 0 8px 8px; }
    .review.pc { display: none !important; }
    
    /* SP用 下部固定メニュー */
    .mobile-fixed-nav {
        display: block !important; position: fixed;
        bottom: 0; left: 0; width: 100%;
        background: #fff; z-index: 99999;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-nav-list {
        display: flex; overflow-x: auto; white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding: 0; margin: 0; list-style: none;
    }
    .mobile-nav-list li {
        flex: 0 0 auto; width: 22%;
        text-align: center; border-right: 1px solid #eee;
    }
    .mobile-nav-list li a {
        display: block; padding: 12px 0;
        font-size: 11px;
        color: var(--color-primary);
        font-weight: bold; text-decoration: none;
        display: flex; flex-direction: column; align-items: center;
    }
    .mobile-nav-list li a::before {
        content: ""; display: block;
        width: 6px; height: 6px;
        background: var(--color-menu-bg); border-radius: 50%;
        margin-bottom: 4px;
    }
    .title.wow {
        animation: none !important; 
        opacity: 1 !important;      
        visibility: visible !important;
    }
    
    /* パララックス解除 (スマホで見やすくするため) */
    .cd-fixed-bg {
        background-attachment: scroll;
        background-size: cover;
    }
}
.mobile-fixed-nav { display: none; }

/* 売切表示 */
.soldout { position: relative; pointer-events: none; }
.soldout::after {
    content: "SOLD OUT";
    position: absolute;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(100,100,100,0.8);
    color: #fff;
    padding: 8px 15px;
    font-size: 14px; font-weight: bold; letter-spacing: 2px; z-index: 10;
}
.soldout img { opacity: 0.5; }

/* ============================================
   ▼▼▼ PCのみ：2列リストの幅をシングル商品（600px）に合わせる ▼▼▼
   ============================================ */
@media screen and (min-width: 769px) {
    .niretu {
        max-width: 600px !important; 
        margin: 0 auto;   
    }
}