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

/* ============ Theme Colors (母の日ver) ============ */
:root{
  --color-bg:#EBEFF2;      /* 背景：薄いグレー/水色系 */
  
  --color-primary:#d93d58; /* メイン：濃いピンク/赤 */
  --color-heading:#d93d58; /* 見出し：濃いピンク/赤 */
  --color-text:#6D4C41;    /* 本文：茶色 */
  
  --color-accent:#f4a6b6;  /* アクセント：明るいピンク */
  --color-red:#bf0000;     /* 強調色 */
  --color-pink:#e65f78;    /* タグ色 */
  
  --color-menu-bg:#d93d58;   /* メニュー背景：濃いピンク */
  --color-menu-text:#ffffff; /* メニュー文字：白 */
}
/* ===================================== */

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: inherit;
    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%;
    height: 950px; /* 画像に合わせて調整 */
    position: relative;
    overflow: hidden;
}
#mainimage ul {
    position: absolute; top: -16px; left: -11%; width: 100%;
    margin: 0; padding: 0;
}
#mainimage ul li {
    list-style: none; width: 110%;
    position: absolute; top: 0; right: -10%;
    z-index: 6; opacity: 0; transition: opacity 1s;
}
#mainimage ul li.active { z-index: 9; opacity: 1; }

/* PC画像定義 */
#mainimage .topimage01 { 
    width: 100%; height: 960px;
    background: url("images/title.jpg") center top no-repeat;
    background-size: cover; 
}

/* PC ロゴ位置（左寄せ） */
#mainimage .title {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11; text-align: center;
}
#mainimage .title.md-layout {
    top: 50%; left: 5%;
    transform: translateY(-50%);
    text-align: left; width: auto;
}
#mainimage .title.md-layout img { max-width: 450px; }


/* --- SP設定 --- */
#mainimage_sp {
    width: 100%;
    /* 画像を縦長に見せるための高さ (180vw = 横幅の1.8倍) */
    height: 180vw; 
    position: relative;
    overflow: hidden;
}

#mainimage_sp ul {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%;
    
    /* ★★★ ここが抜けていました！！ ★★★ */
    /* これがないと中身が高さ0になって消えます！ */
    height: 100%; 
    
    margin: 0; 
    padding: 0;
}

#mainimage_sp ul li {
    list-style: none; 
    width: 100%;
    height: 100%; /* 親のulに合わせて高さを確保 */
    position: absolute; 
    top: 0; 
    left: 0;
    z-index: 6; 
    opacity: 1 !important; 
    visibility: visible !important;
}

/* SP画像定義 */
#mainimage_sp .topimage01 { 
    width: 100%; 
    height: 100%; 
    /* 背景画像 */
    background: url("images/title_sp.jpg") no-repeat;
    /* 位置：上基準 */
    background-position: top center; 
    /* サイズ：埋める */
    background-size: cover; 
}

/* --- SP ロゴ位置設定 --- */
#mainimage_sp .title {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11; width: 90%; text-align: center;
}

/* 母の日専用：上寄せ */
#mainimage_sp .title.md-layout {
    /* ロゴを置きたい位置（上から20%くらい） */
    top: 1%; 
    left: 50%;
    transform: translateX(-50%);
}
#mainimage_sp .title.md-layout img {
    width: 80%; 
    max-width: 400px; 
}

.fvimage { opacity: 0; transition: all 3000ms 0s ease; }


/* ============================================
   ▼▼▼ 共通エリア ▼▼▼
   ============================================ */
.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: 100%; background-repeat: no-repeat;
	min-height: 500px;
	background-position: center center; background-attachment: fixed;
}
.cd-fixed-bg.cd-bg-1 {
    background-image: url("images/md_cate_back1.jpg");
}

/* 2枚目のパララックス背景画像 */
.cd-fixed-bg.cd-bg-2 {
    background-image: url("images/md_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;
    border: 1px solid #fff;
}
.tile-menu li {
    width: 33.33%; box-sizing: border-box;
    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;
    text-decoration: none; width: 100%;
}
.tile-menu li:hover { opacity: 0.8; }

/* ============================================
   ▼▼▼ 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 a {
    display: block; padding: 15px 10px;
    color: var(--color-primary);
    font-size: 15px; font-weight: bold;
    border-bottom: 1px solid #eee;
    text-align: center; transition: background 0.3s;
}
.menulist2 li a:hover {
    background-color: var(--color-bg);
    color: var(--color-primary);
}


/* ============================================
   ▼▼▼ 商品カード ▼▼▼
   ============================================ */
.niretu, .priceList {
    padding: 0; list-style: none;
    display: flex; flex-wrap: wrap; justify-content: 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: 100%; 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: 1; display: flex; flex-direction: column;
}

/* --- タグ設定 --- */
.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: #1E204D; }
.tag-cool     { background-color: #0099b6; }
.tag-ribbon   { background-color: var(--color-accent); }
.tag-limited  { background-color: var(--color-pink); }
/* 母の日専用 */
.tag-mothers-tag   { background-color: #E66E77; }
.tag-mothers-noshi { background-color: #E14F74; }
.tag-kfh-noshi     { background-color: #D2373F; }
.tag-flower-edition { background-color: #ff69b4; }

.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.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; }
.priceFilter button {
    padding: 10px 15px; font-size: 14px;
    background: #fff;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 30px; cursor: pointer; min-width: 100px;
}
.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: 40px; height: 40px;
    background: #c9a953; border-bottom-right-radius: 50%; z-index: 10;
}
.rankBadge span {
    position: absolute; top: 8px; left: 12px;
    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: #ddd; border-radius: 50%;
        margin-bottom: 4px;
    }
    .title.wow {
        animation: none !important; /* アニメーション無効 */
        opacity: 1 !important;      /* 透明にせず最初から表示 */
        visibility: visible !important;
    }
	
}
.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;   /* 中央寄せ */
    }
}