@charset "UTF-8";

/*===============================

定義

================================*/
:root {
    --max-width-main: 1200px;
    --font-family-main: "Noto Sans JP", "Google Sans Flex", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
    --font-family-en: "Poppins", sans-serif;
    --font-family-number: "Google Sans", sans-serif;
    --color-1: #ffebca;
    --color-2: #e66700;
    --color-3: #ffffff;
    --color-4: #BA1117;
    --color-5: #DB5800;
    --color-6: #CFA242;
    --color-bg: #e66700;
    --spacing-ss: 10px;
    --spacing-s: 20px;
    --spacing-m: 40px;
    --spacing-l: 80px;
    --spacing-ll: 140px;
    --spacing-lll: 280px;
}

@media (max-width:768px) {
    :root {
        --max-width-main: 100%;
        --max-width-inner: 95%;
        --spacing-ss: 5px;
        --spacing-s: 10px;
        --spacing-m: 20px;
        --spacing-l: 30px;
        --spacing-ll: 80px;
        --spacing-lll: 160px;
    }
}

/*===============================

base

================================*/
body {
    max-width: 100%;
    background: var(--color-1);
    font-family: var(--font-family-main);
    font-size: 17px;
    line-height: 1.5;
    color: #000000;
}

/* @media (max-width:1200px) {
    body {
        max-width: var(--font-family-main);
        overflow-x: auto;
    }
} */

@media (max-width:768px) {
    body {
        overflow-x: hidden;
        font-size: 13px;
    }
}

h1 {
    font-weight: normal;
    font-size: 1.1rem;
}

@media (max-width:768px) {
    h1 {
        font-size: 0.8rem;
    }
}

img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
}

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

a:hover,
.btn:hover {
    transition: 0.2s;

    -webkit-transition: 0.2s;
}

/*===============================

    共通
    
================================*/
/* =====================
   section container
===================== */
section {
    position: relative;
    min-width: var(--max-width-main);
    margin: 0 auto;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width-main);
    margin: 0 auto;
    padding: var(--spacing-m);
}

/* =====================
   section header
===================== */
.section-header {
    margin: var(--spacing-l) 0 var(--spacing-m);
    text-align: center;
}

.section-header__title {
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    letter-spacing: 0.05em;
    color: var(--color-2);
}

.section-header__subtitle {
    margin-bottom: var(--spacing-ss);
    font-family: var(--font-family-en);
    font-weight: 400;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--color-2);
}

/* =====================
   product-list
===================== */
/* 共通スタイル */
.product-list {
    margin-bottom: var(--spacing-m);
}

.product-card__copy {
    margin-bottom: 10px;
    font-weight: 500;
    font-size: clamp(0.8rem, 0.8rem + 0.7vw, 1.3rem);
    line-height: 1.2;
    text-align: center;
}



.product-card__meta {
    margin-bottom: var(--spacing-s);
}

.product-card__brand {
    font-size: clamp(0.65rem, 0.65rem + 0.3vw, 1.1rem);
    margin-top: var(--spacing-ss);
}

.product-card__name {
    margin-bottom: var(--spacing-ss);
    font-size: clamp(0.85rem, 0.85rem + 0.4vw, 1.3rem);
    line-height: 1.2;
}

.product-card__price-area {
    display: flex;
    align-items: baseline;
}

.product-card__price {
    font-family: var(--font-family-number);
    line-height: 1;
}

.product-card__price-unit {
    line-height: 1;
}

.product-card__shipping {
    line-height: 1;
}

/* === product-list--typeA === */
.product-list--typeA {
    display: grid;
    margin-bottom: var(--spacing-m);

    grid-template-columns: repeat(4, 1fr);
    gap: 70px 40px;
}

@media (max-width:768px) {
    .product-card__name {
        margin-bottom: 10px;
    }

    .product-list--typeA {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 20px;
    }
}

.product-list--typeA li {
    color: var(--color-3);
}

.product-list--typeA .product-card__meta {
    font-size: 1.1rem;
}

.product-list--typeA .product-card__price {
    font-size: clamp(1.3rem, 1.3rem + 0.8vw, 2rem);
}

.product-list--typeA .product-card__price-unit {
    margin-left: 2px;
    font-size: clamp(0.9rem, 0.9rem + 0.3vw, 1.2rem);
}

.product-list--typeA .product-card__shipping {
    margin-left: 10px;
    font-size: clamp(0.9rem, 0.9rem + 0.3vw, 1.2rem);
}

/* === product-list--typeB === */
.product-list--typeB {
    display: grid;
    margin-bottom: var(--spacing-m);

    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

@media (max-width:768px) {
    .product-list--typeB {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-list--typeA .product-card__shipping {
        font-size: 0.75rem;
    }

}

.product-list--typeB .product-card__name {
    font-size: clamp(0.8rem, 0.8rem + 0.8vw, 1.1rem);
}

.product-list--typeB .product-card__price {
    font-size: clamp(1rem, 1rem + 0.8vw, 1.5rem);
    color: var(--color-5);
}

.product-list--typeB .product-card__price-unit {
    font-size: 1rem;
}

.product-list--typeB .product-card__shipping {
    margin-left: 10px;
    color: var(--color-5);
}

/*===============================

    header
    
================================*/
.header__container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--spacing-ss) var(--spacing-s);

    gap: 16px;
}

@media (max-width: 767px) {
    .header__container {
        display: block;
        padding: 20px 0 10px;
    }
}

/* =====================
   サイトロゴ
===================== */
.header__logo {
    height: 15px;
    text-align: center;
}

@media (max-width: 767px) {
 .header__logo {
        width: 50%;
        padding-left: 15px;
        margin: 0 auto 25px;
    }

    .head_info{
        padding: 0 10px
    }
}

.header__title {
    display: block;
    margin-top: 5px;
    font-size: 0.7rem;
    letter-spacing: 0.05rem;
}


/* =====================
   エンブレム
===================== */
.header__emblem {
    width: 500px;
}

@media (max-width: 767px) {
    .header__emblem {
        width: 90%;
        margin: 0 auto;
    }
}

/* =====================
   ナビゲーション
===================== */
.header__nav {
    margin-left: 10px;
}

.header__nav-list {
    /* display: flex;
    list-style: none;
    gap: 24px; */
    display: none;
}

/* =====================
   ハンバーガーメニュー
===================== */
@media (max-width: 767px) {
    .header__nav {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        z-index: 1000;
        opacity: 0;
        margin-left: 0;
        background: var(--color-2);
        transition: opacity 0.4s ease;
        pointer-events: none;

        inset: 0;
    }

    .header__nav.is-open {
        opacity: 6;
        pointer-events: auto;
    }

    .header__nav-list {
        display: flex;
        flex-direction: column;
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;

        gap: 2.5rem;
    }

    .header__nav-item a {
        font-weight: 500;
        font-size: 1.5rem;
        text-decoration: none;
        color: #000000;
        color: var(--color-3);
    }
}

.header__hamburger {
    display: none;
}

@media (max-width: 767px) {
    .header__hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 6px;
        background: #000;
        cursor: pointer;
        gap: 6px;
        z-index: 100001 !important;
        /* メニューよりも必ず上に配置 */
    }

    .header__hamburger span {
        display: block;
        width: 28px;
        height: 2px;
        background: #ffffff;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }

    .header__hamburger.is-open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: var(--color-3);
    }

    .header__hamburger.is-open span:nth-child(2) {
        opacity: 0;
    }

    .header__hamburger.is-open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background: var(--color-3);
    }

    /* transitionを外してリサイズ時に即非表示 */
    .header__nav {
        opacity: 0;
        transition: none;
        pointer-events: none;
    }

    .header__nav-item::after {
        content: ">";
        font-size: 1.2rem;
        margin-left: 15px;
        font-family: sans-serif;
        color: #ffffff;
        transition: transform 0.2s ease;
    }


    .header__nav-item a {
        font-size: 1.2rem;
        text-decoration: none;

    }
}

/*===============================

    main
    
================================*/


/* =====================

   kv
   
===================== */
.kv {
    position: relative;
    top: -75px;
    height: 1000px;
}

@media (max-width: 768px) {
    .kv {
        top: 0;
       height: 672px; /* タイトル画像の下端まで含める */
    overflow: clip; /* KV内の独立スクロールを作らない */
    }
}

.kv .container {
    position: relative;
    width: 100%;
    max-width: 2500px;
    height: 100%;
    margin: 0 auto;
    padding: 0;
}

/* === kv__slider === */
.kv__slider {
    position: absolute;
    height: 100%;
    overflow: hidden;
}

.kv__left {
    top: 90px;
    left: 0;
    width: 65%;
    height: 900px;
    border-radius: 0 6rem 0 0;
}

@media (max-width:768px) {
    .kv__left {
        top: 0;
        width: 100%;
        height:420px;
    }
}

.kv__right {
    top: 0;
    right: 0;
    width: 30%;
    height: 550px;
    border-radius: 0 0 0 6rem;
}

@media (max-width:768px) {
    .kv__right {
    display: none;
    }
}

.kv__slider img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0;
    transform: scale(1.08);
    /* 初期状態はズームアップ */
    width: 100%;
    height: 100%;
    transition: opacity 2s ease, transform 8s ease;

    object-fit: cover;
}

.kv__slider img.is-active {
    z-index: 1;
    opacity: 1;
}

.kv__slider img.is-active.is-zooming {
    transform: scale(1);
    /* カーテン開いた後にこれが付与されてズーム開始 */
}

.kv__slider img.is-prev {
    z-index: 0;
    opacity: 0;
}

/* === kv__slider カーテン演出 === */
.kv__curtain {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transform: translateY(0);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: var(--color-1);
    transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
    pointer-events: none;
}

.kv__curtain.is-open {
    transform: translateY(-100%);
}

/* === kv__title === */
.kv__title {
    position: absolute;
    top: 610px;
    right: 0;
    z-index: 1;
    width: 32%;
    text-align: center;
}

.kv__img {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

@media (max-width:1300px) {
    .kv__title {
        top: 600px;
    }
}

@media (max-width:768px) {
.kv__title {
        top: 440px;
        left: 50%;
        right: auto; /* ← 右側の指定をリセット */
        transform: translateX(-50%);
        width:75%; /* スマホでの占有幅を少し広げて調整 */
        max-width: 320px; /* スマホでの最大幅 */
    }


    .kv__img {
        width: 100%;
    }
}

/* =====================

   導入

===================== */
.intro__content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: var(--spacing-l);

    gap: 80px;
}

@media (max-width:768px) {
    .intro__content {
        display: block;
    }
}

/* === intro__lead === */
.intro__lead {
    font-weight: 400;
    font-weight: 500;
    font-size: 2rem;
    line-height: 2;
    letter-spacing: 0.15em;
    writing-mode: vertical-rl;

    text-orientation: upright;
}

@media (max-width:768px) {
    .intro__lead {
      display: none;
    }
}

/* === intro__text === */
.intro__text {
    max-width: 600px;
    font-size: clamp(0.9rem, 0.9rem + 0.3vw, 1.1rem);
    line-height: 1.8;
}

@media (max-width:768px) {
    .intro__text {
        max-width: 100%;
        margin-bottom: 50px;
    }
}

/* === intro__nav === */
.intro__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: var(--max-width-main);
    margin: 0 auto;
    padding: var(--spacing-m);

}





.intro__nav li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 24px 8px;
    border-radius: 6px;
    background: var(--color-2);
    font-size: clamp(1rem, 1rem + 0.5vw, 1.3rem);
    color: var(--color-1);
    position: relative;
}

.intro__nav li a::after {
    content: ">";
    margin-left: 12px;
    font-size: 1.1rem;
    font-family: sans-serif;
    color: #ffffff;
    line-height: 1;
    transition: transform 0.2s ease;
}

@media (max-width:768px) {
    .intro__nav {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 0;
        margin-bottom: var(--spacing-l);
    }

    .intro__nav li {
        width: 100%;
    }

    .intro__nav li a {
        padding: 16px 3px;
        font-size: 15px;
    }

    .intro__nav li a::after {
        display: none;
    }
}


/* === 右側に縦並び固定された時（.is-fixed） === */
.intro__nav.is-fixed {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9999;

    /* 縦並びレイアウトへ強制変更 */
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
    width: auto;
    margin: 0;
    padding: 12px 10px;

    /* 外枠・背景デザイン */
    background: rgba(255, 255, 255, 0.95);

    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

    animation: slideInRight 0.5s ease-out forwards;
}

.intro__nav.is-fixed::before {
    content: "MENU";
    display: block;
    text-align: center;
    font-family: serif;
    /* お好みのフォント（明朝体風にする場合） */
    font-size: clamp(0.9rem, 0.9rem + 0.3vw, 1.1rem);
    letter-spacing: 2px;
    margin-bottom: 0;
    color: #000;
}

/* 固定時の要素リセット */
.intro__nav.is-fixed li {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
}

.intro__nav.is-fixed li a::after {
    display: none !important;
}

/* 固定時のボタンデザイン */
.intro__nav.is-fixed li a {
    display: block;
    padding: 20px 15px;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    border-radius: 4px;
    background-color: var(--color-4);
    transition: all 0.2s ease;
}

/* 固定時のホバー効果 */
.intro__nav.is-fixed li a:hover {
    background-color: var(--color-2);
    color: #ffffff;
    border-color: var(--color-2);
}

/* 真横スライドインのアニメーション（拡大縮小なし） */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(100%);
        /* 完全に右の画面外 */
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
        /* 定位置 */
    }
}

/* スマホ表示では固定表示を非表示 */
@media (max-width: 768px) {
    .intro__nav.is-fixed {
        display: none !important;
    }
}

/* =====================

   お知らせ

===================== */
.info,
.info .container {
    background: var(--color-bg);
}

/* =====================
   キャンペーン
===================== */
.info__campaign {
    width: 95%;
    margin: 0 auto var(--spacing-m);
    padding: var(--spacing-s);
    border-radius: 15px;
    background: var(--color-3);
    text-align: center;
}

.info__heading {
    margin-bottom: var(--spacing-s);
    font-weight: 700;
    font-size: 2rem;
    color: var(--color-2);
}

@media (max-width:768px) {
    .info__heading {
        font-size: 1.3rem;
    }
}

/* === swiper === */
.info__slider-wrap {
    position: relative;
}

/* リロード時のチラつき防止 */
.info__swiper {
    width: 100%;
    height: 100px;
    overflow: hidden;
}

@media (max-width:768px) {
    .info__swiper {
        height: auto;
    }
}

.info__swiper .swiper-slide img {
    width: 100%;
    height: auto;
}

/* 矢印とドット */
.info__swiper-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;

    gap: 60px;
}

.swiper-button-prev,
.swiper-button-next {
    position: static;
}

/* 矢印の色など */
.swiper-button-next:after,
.swiper-button-prev:after {
    font-weight: 800;
    font-size: 20px;
    color: var(--color-2);
}

.info__swiper .swiper-pagination {
    position: static;
    width: auto;
}

/* ドットの位置と色 */
.swiper-pagination-bullet {
    position: relative;
    bottom: 5px;
}

.swiper-pagination-bullet-active {
    background: var(--color-2);
}

/* =====================
   ガイド
===================== */
.info__guide {
    width: 95%;
    margin: 0 auto var(--spacing-m);
    padding: var(--spacing-m) var(--spacing-s);
    border-radius: 15px;
    background: var(--color-3);
}

.info__guide a {
    text-decoration: underline;
    color: var(--color-2);
}

.info__guide a:hover {
    text-decoration: none;
}

/* =====================

   ランキング

===================== */
.ranking__list {
    display: grid;
    margin-bottom: var(--spacing-l);

    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

@media (max-width:768px) {
    .ranking__list {
        margin-bottom: calc(var(--spacing-l) + 15px);

        grid-template-columns: repeat(2, 1fr);
    }
}

.ranking__item img {
    margin-bottom: var(--spacing-ss);
}

.ranking__catch {
    margin-bottom: 5px;
    font-weight: 700;
}

.ranking__price-area {
    display: flex;
    align-items: center;
    color: var(--color-5);
}

.ranking__price {
    margin-right: 10px;
    font-family: var(--font-family-number);
    font-size: clamp(1.5rem, 1.8vw, 1.6rem);
}

.ranking__price-unit {
    font-size: 0.9rem;
}

.ranking__shipping {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
}

/* === ランキング 順位 === */
/* カウンターの初期化 */
.ranking__list {
    counter-reset: ranking;
}

.ranking__item {
    position: relative;
    counter-increment: ranking;
}

/* 順位バッジ共通 */
.ranking__item a::before {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 1;
    content: counter(ranking);
    width: 36px;
    height: 36px;
    border-radius: 50px;
    /* 4位以下 */
    background: var(--color-2);
    font-weight: bold;
    color: #ffffff;
}

/* 1〜3位　リボン（ブックマーク）形 */
.ranking__item:nth-child(-n+3) a::before {
    /* 上揃え */
    align-items: flex-start;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
    top: 0;
    left: 7px;
    width: 36px;
    height: 40px;
    /* 上からの余白で微調整 */
    padding-top: 10px;
    border-radius: 0;
}

/* 1位 */
.ranking__item:nth-child(1) a::before {
    background: #c8a800;
}

/* 2位 */
.ranking__item:nth-child(2) a::before {
    background: #9aa0a6;
}

/* 3位 */
.ranking__item:nth-child(3) a::before {
    background: #a0522d;
}

/* =====================
   キーワード
===================== */
.keywords {
    margin: 0 auto var(--spacing-m);
    padding: var(--spacing-m) var(--spacing-s);
    border-radius: 10px;
    background: var(--color-3);
    text-align: center;
}

.keywords__title {
    margin-bottom: var(--spacing-m);
    font-weight: 500;
    font-size: 2rem;
    color: var(--color-2);
}

@media (max-width:768px) {
    .keywords__title {
        font-size: 1.3rem;
    }
}

.keywords__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--spacing-s);

    gap: 20px 10px;
}

.keywords__item a {
    padding: 4px 20px;
    border: 1px solid var(--color-2);
    border-radius: 999px;
    color: var(--color-2);
    white-space: nowrap;
}

@media (max-width:768px) {
    .keywords__item a {
        padding: 4px 10px;
    }
}


/* カテゴリーリスト（横並び） */
.category-nav {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto var(--spacing-l);
    padding: 0;
    gap: 30px;
}

@media (max-width: 768px) {
    .category-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
        margin: 12% auto;
    }
}

.category-nav__item {
    flex: 1;
    max-width: 240px;
    text-align: center;
}

@media (max-width: 768px) {
    .category-nav__item {
        max-width: 100%;
        margin: 0 auto;
    }
}

.category-nav__item a {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.category-nav__item a:hover {
    transform: translateY(-6px);
}

/* 正方形画像をきれいな円形にするCSS */
.category-nav__img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* 正方形（1:1）に保つ */
    margin: 0 auto 15px;
    border-radius: 50%;
    /* 正円にする */
    overflow: hidden;
    background: #ffffff;
}

.category-nav__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像の比率を崩さず円形内に収める */
    display: block;
    border-radius: 50%;
}

/* テキスト（白文字＋矢印） */
.category-nav__text {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: clamp(1rem, 1.2vw, 1.3rem);
    color: var(--color-1);
    line-height: 1;
    letter-spacing: 0.03em;
}

.category-nav__text span {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    font-size: 0.85em;
    /* 矢印のサイズ感調整 */
    font-family: sans-serif;
    transform: translateY(-0.05em);
    /* 微細な位置調整（必要に応じて調整） */
}



/* =====================

早割

===================== */


#sale {
    background: var(--color-4);
}

#sale .section-header,
#sale .section-header__subtitle,
#sale .section-header__title {
    color: var(--color-3);
}



#sale .btn-primary {
    background: var(--color-2);
    border: var(--color-2);
    color: var(--color-3);
}

#sale .btn-primary:hover {
    opacity: 0.8;
}

#sale .btn-favorite {
    border: 2px solid var(--color-2);
}

#sale .btn-heart {
    color: var(--color-2);
}

#sale .btn-favorite:hover {
    background: var(--color-1);
}


#sale .product-card__image {
    padding: 8px 8px 10px;
}

.sale_item__kaiyu {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 0;
    font-size: 1.5rem;
    background: #FFFC40;
    max-width: 800px;
    width: 90%;
    text-align: center;
    border: 1px solid #FFFC40;
    border-radius: 10px;
    margin: 0 auto var(--spacing-l);

}

.sale_item__kaiyu::after {
    content: ">";
    font-size: 1.5rem;
    font-family: sans-serif;
    color: #000;
    margin-left: 15px;
    transition: transform 0.2s ease;
}

.sale_item__kaiyu:hover {
    filter: brightness(0.9);
}

#sale .product-list--typeA {
    gap: 40px 30px;
}

#sale .product-list--typeA li {
    background: #fff;
}

#sale .product-card__meta {
    padding: 5px 7px 0;
    color: #000;
}


#sale .product-card__actions {
    padding: 0 7px 10px;
}


#sale .product-card {
    position: relative;
    overflow: hidden;
    /* 角丸などの指定がある場合のはみ出し防止 */
}

/* 割引帯全体のスタイル */
.card-discount-tag {
    width: 100%;
    background-color: #FFFC40;
    /* 鮮やかな黄色 */
    color: #cc0000;
    /* 赤色テキスト */
    font-weight: bold;
    font-size: clamp(0.9rem, 0.9rem + 0.4vw, 1.2rem);
    text-align: center;
    padding: 6px 4px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    box-sizing: border-box;
}

/* 数字（「97」など）を太く大きく強調 */
.card-discount-tag__num {
    font-family: var(--font-family-number, sans-serif);
    font-size: clamp(1.4rem, 1.4rem + 0.7vw, 1.9rem);
    font-weight: 800;
    margin: 0 1px;
    vertical-align: baseline;
}

#sale .product-list--typeA .product-card__price-area {
    color: var(--color-4)
}

/* =====================
スマホ対応 (768px以下)
===================== */
@media (max-width: 768px) {

    #sale .container {
        padding: var(--spacing-m) 10px;
    }



    #sale .product-list--typeA {
        gap: 35px 15px;
    }





    .sale_item__kaiyu {
        padding: var(--spacing-s);
        font-size: 1.1rem;

    }

    .card-discount-tag {
        padding: 4px 2px;
        font-size: 0.7rem;
    }

    .card-discount-tag__num {
        font-size: 1.2rem;
    }


}




/* =====================

   タイプ別で選ぶ

===================== */
.type,
.type .container {
    background: var(--color-bg);
}

.type .section-header,
.type .section-header__title,
.type .section-header__subtitle {
    color: var(--color-1);
}

.type .section-header__title {
    margin-bottom: var(--spacing-s);
}

/* =====================
   タイプ別ナビゲーション
===================== */
.type__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 950px;
    margin: 0 auto var(--spacing-l);

    gap: 16px;
}

@media (max-width:768px) {
    .type__nav {
        width: 100%;
        margin-bottom: calc(var(--spacing-l) + 30px);
    }
}

.type__nav-item {
    /* 4列、gap3つ分を引く */
    width: calc((100% - 16px * 3) / 4);
}

@media (max-width:768px) {
    .type__nav-item {
        width: calc((100% - 16px) / 2);
    }
}

.type__nav-item a {
    display: block;
    padding: 10px 10px 15px;
    border-radius: 6px;
    background: var(--color-3);
    line-height: 1.3;
    color: #000000;
    text-align: center;
}

@media (max-width:768px) {
    .type__nav-item a {
        padding: 5px 5px 10px;
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

.type__nav-img {
    width: 200px;
    height: 150px;
    margin-bottom: 10px;
    overflow: hidden;
}

@media (max-width:768px) {
    .type__nav-img {
        width: 100%;
        height: 100px;
    }
}

.type__nav-img img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.type__nav-text {
    font-weight: 500;
    font-size: clamp(0.9rem, 0.9rem + 0.3vw, 1.2rem);
}

/* =====================
   タイプ別 header
===================== */
.type-detail {
    width: 100%;
    margin-bottom: calc(var(--spacing-ll) + 70px);
}

.type-detail:last-child {
    margin-bottom: var(--spacing-ll);
}

.type-detail__header {
    display: flex;
    min-height: 480px;
    margin-bottom: var(--spacing-l);
}

@media (max-width: 1200px) {
    .type-detail__header {
        overflow: hidden;
    }
}

@media (max-width:768px) {
.type-detail{
    margin-bottom: var(--spacing-ll);
}

    .type-detail__header {
        display: block;
        min-height: auto;
        margin-bottom: 40px;
        overflow: initial;
    }
}

/* 偶数のtype-detail */
.type-detail:nth-child(even) .type-detail__header {
    flex-direction: row-reverse;
}

@media (max-width:768px) {
    .type-detail:nth-child(even) .type-detail__header {
        flex-direction: row;
    }
}

/* === type-detail__headerの画像 カーテン演出 === */
.type-detail__image-wrap {
    display: block;
    flex-shrink: 0;
    position: relative;
    height: 480px;
    /* 固定の -400px ではなく、画面幅に応じたマイナス値に調整する */
    left: -18vw;
    margin-right: -15vw;
    overflow: hidden;
}

.type-detail__image-wrap::after {
    clip-path: inset(0 0 0 0);
    /* 上下左右のクリップ */
    position: absolute;
    top: -2px;
    left: -2px;
    z-index: 1;
    content: "";
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    /* 上下分を足す */
    background: var(--color-bg) repeat center;
    transition: clip-path 1s cubic-bezier(0.76, 0, 0.24, 1);
}

.type-detail__image-wrap.is-open::after {
    clip-path: inset(0 0 100% 0);
    /* 下から削っていく */
}



@media (max-width: 768px) {
    .type-detail__image-wrap {
        left: 0;
        height: 350px;
        margin-right: 0;
    }
}

/* 偶数のtype-detail */
.type-detail:nth-child(even) .type-detail__header .type-detail__image-wrap {
    position: relative;
    right: -18vw;
    left: auto;
    margin-right: auto;
    margin-left: -15vw;
}

@media (max-width: 768px) {
    .type-detail:nth-child(even) .type-detail__header .type-detail__image-wrap {
        right: 0;
        left: auto;
        margin-right: 0;
        margin-left: 0;
    }
}

.type-detail__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* vwで連動するため、基本はセンターで綺麗に収まります */
    border-radius: 0 3rem 0 0;
}





@media (max-width: 768px) {
    .type-detail__image {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;
        /* ← スマホでは常に画像の中央を表示 */
    }
}

.type-detail:nth-child(even) .type-detail__header .type-detail__image {
    border-radius: 3rem 0 0 0;
}

.type-detail__header-body {
    position: relative;
    padding: 150px 0 0;
    font-weight: 600;
    color: var(--color-3);
    max-width: 500px;
    width: 80%;
    margin: 0 auto;
}

@media (max-width:768px) {
    .type-detail__header-body {
        width: 100%;
        padding: 70px 10px 0;
    }
}

.type-detail__catch {
    position: absolute;
    top: 100px;
    left: 0;
    transform: rotate(-10deg);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    background: var(--color-3);
    margin-bottom: 0;
    padding: 0 10px;
    color: var(--color-2);
}

@media (max-width:768px) {
    .type-detail__catch {
        top: 30px;
        left: 20px;
        transform: rotate(-8deg);
    }
}

.type-detail__title {
    margin: var(--spacing-ss) auto;
    font-size: clamp(1.9rem, 2rem + 2vw, 3.5rem);
    line-height: 1.3;
    letter-spacing: 0.05em;

}

@media (max-width:768px) {
    .type-detail__title {
        margin-bottom: calc(var(--spacing-s) + 10px);
        text-align: center;
    }
}

.type-detail__text {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.6;

}




/* =====================
   タイプ別 目玉商品 featured-product
===================== */
.featured-product {
    display: flex;
    margin-bottom: calc(var(--spacing-l) + 10px);

    gap: 50px;
}

@media (max-width:768px) {
    .featured-product {
        display: block;
        margin-bottom: var(--spacing-ll);
    }
}

/* 偶数のfeatured-productのみ逆にする */
.featured-product:nth-child(even) {
    flex-direction: row-reverse;
}

@media (max-width:768px) {
    .featured-product:nth-child(even) {
        flex-direction: row;
    }
}

.featured-product__image {
    width: 560px;
    margin-bottom: var(--spacing-s);
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

@media (max-width:768px) {
    .featured-product__image {
        width: 100%;
    }
}

.featured-product__info {
    width: calc(100% - 560px);
    padding-top: 70px;
}

@media (max-width:768px) {
    .featured-product__info {
        position: relative;
        width: 100%;
        padding-top: 1dvh;
    }
}

.featured-product__info {
    display: block;
    margin-bottom: var(--spacing-ss);
    color: var(--color-3);
}

.featured-product__catch {
    margin-bottom: var(--spacing-s);
    font-weight: 600;
    font-size: clamp(1.7rem, 1.7rem + 0.7vw, 2.5rem);
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.featured-product__desc {
    width: 90%;
    margin-bottom: var(--spacing-m);
    font-size: clamp(0.9rem, 1rem + 0.5vw, 1.1rem);
    line-height: 1.6;
}

@media (max-width:768px) {

    .featured-product__catch {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .featured-product__desc {
        width: 100%;
        margin-bottom: var(--spacing-l);
        font-size: 1rem;
    }
}

.featured-product__brand {
    margin-bottom: 5px;
    font-size: clamp(0.9rem, 0.9rem + 0.3vw, 1.2rem);
    line-height: 1;
    display: inline-block;
    border-bottom: 1px solid #ffffff;
    padding: 5px 0;

}

.featured-product__name {
    margin-bottom: 10px;
    font-size: clamp(1.2rem, 1.2rem + 0.5vw, 1.5rem);
    line-height: 1.4;
}

.featured-product__price-area {
    display: flex;
    align-items: flex-end;
    margin-bottom: var(--spacing-s);

    gap: 10px;
}



.featured-product__price {
    font-family: var(--font-family-number);
    font-size: clamp(2rem, 2rem + 0.8vw, 2.8rem);
    line-height: 1;
}

.featured-product__price-unit {
    display: inline-block;
    margin-left: 3px;
    font-size: clamp(1.3rem, 1.3rem + 0.2vw, 1.5rem);
}

.featured-product__shipping {
    font-size: clamp(1.3rem, 1.3rem + 0.2vw, 1.5rem);
    letter-spacing: 0.05em;

}

@media (max-width:768px) {

    .featured-product__name {
        font-size: 1.2rem;
    }

    .featured-product__price-area {
        margin-bottom: calc(var(--spacing-s) + 8px);
    }

    .featured-product__shipping {
        font-size: 1rem;
    }
}


/* === 商品ページを見るボタン　/　お気に入りボタン === */
.featured-product__actions,
.product-card__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 16px;
}

@media (max-width:768px) {

    .featured-product__actions,
    .product-card__actions {
        gap: 10px;
    }
}

/* === 商品ページを見るボタン === */
/* 共通 */
.btn-primary {
    display: inline-block;
    flex: auto;
    border: 1px solid var(--color-1);
    border-radius: 10px;
    background: var(--color-1);
    line-height: 1;
    text-decoration: none;
    color: var(--color-2);
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary:hover {
    background: var(--color-5);
    color: #ffffff;
}

/* featured-product__actions */
.featured-product__btn {
    padding: 15px 30px;
    font-size: 1.3rem;
}

/* featured-card__actions　 */
.product-card__btn {
    padding: 15px 10px;
    font-size: 1.1rem;
}

@media (max-width:768px) {

    .featured-product__btn {
        font-size: 1rem;
    }


    .product-card__btn {
        padding: 10px 5px;
        font-size: 0.75rem;
        border-radius: 5px;
    }
}

/* === 　お気に入りボタン === */
/* 共通 */
.btn-favorite {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--color-1);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-heart {
    line-height: 1;
    color: var(--color-1);
    transition: color 0.3s ease;
}

.btn-favorite:hover,
.btn-heart.is-active {
    background: var(--color-4);
}

/* featured-product__favorite */
.featured-product__favorite {
    width: 50px;
    height: 50px;
}

.featured-product__heart {
    font-size: 25px;
}

/* product-card__favorite */
.product-card__favorite {
    width: 40px;
    height: 40px;
}

@media (max-width:768px) {
    .featured-product__favorite {
        width: 40px;
        height: 40px;
    }



    .product-card__favorite {
        width: 35px;
        height: 35px;
    }
}

.product-card__heart {
    font-size: 20px;
}

@media (max-width:768px) {

    .featured-product__heart {
        font-size: 20px;
    }

    .product-card__heart {
        font-size: 15px;
    }
}

/* =====================

   予算で選ぶ

===================== */
/* === budget-nav === */
.budget-nav {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    /* 折り返しを許可 */
    max-width: var(--max-width-main, 1000px);
    /* 4列用に少し幅を広げる（または任意のサイズ） */
    width: 100%;
    margin: 0 auto var(--spacing-l);
    gap: 20px;
    list-style: none;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width:768px) {
    .budget-nav {
        width: 90%;
    }
}

.budget-nav li {
    display: flex;
    /* gap分の幅（20px * 3箇所 = 60px）を引いて4等分 */
    width: calc((100% - 80px) / 5);
    text-align: center;
    box-sizing: border-box;
}

.budget-nav li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px 10px;
    border-radius: 6px;
    background: var(--color-2);
    font-size: clamp(1rem, 1rem + 0.5vw, 1.2rem);
    color: var(--color-1);
}

/* === budget-section === */
.budget-section {
    margin-bottom: var(--spacing-l);
}

@media (max-width:768px) {
    .budget-section {
        margin-bottom: calc(var(--spacing-l) + 30px);
    }

    .budget-nav {
        gap: 12px;
        /* スマホ用に隙間を調整 */
        padding: 0;
        width: 100%;
        margin-bottom: var(--spacing-ll);
    }

    .budget-nav li {
        /* gap分の幅（12px * 1箇所 = 12px）を引いて2等分 */
        width: calc((100% - 12px) / 2);
    }

    .budget-nav li a {
        padding: 18px 10px;
        /* スマホ用に上下余白をスリムに */
    }
}



.budget-section__title {
    margin-bottom: var(--spacing-m);
    font-weight: 600;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    color: var(--color-2);
    text-align: center;
}




/*===============================

    footer
    
================================*/
.footer {
    min-width: var(--max-width-main);
    background: var(--color-3);
}

.footer__inner {
    width: 100%;
}

/* =====================

   他の特集

===================== */
.other-content {
    width: 70%;
    margin: 0 auto -50px;
    padding-top: var(--spacing-m);
}

@media (max-width:768px) {
    .other-content {
        width: 90%;
        margin-bottom: 0;
    }
}

.other-content__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin: 0 auto var(--spacing-l);

    gap: 20px 16px;
}

.other-content__item {
    /*  3列、gap2つ分を引く */
    width: calc((100% - 16px * 2) / 3);
}

@media (max-width:768px) {
    .other-content__item {
        width: calc((100% - 16px) / 2);
    }
}

.other-content__image {
    margin-bottom: var(--spacing-ss);
}

.other-content__text {
    font-size: clamp(0.8rem, 2vw, 1rem);
}

.other-content__name {
    font-weight: 800;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

/* =====================

    iframe footer

===================== */
.sp_footer {
    display: none;
}

@media (max-width:767px) {
    .pc_footer {
        display: none;
    }

    .sp_footer {
        display: block;
    }
}

/* =====================

    トップへ戻るボタン

===================== */
#topBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9;
    opacity: 0;
    width: 48px;
    height: 48px;
    border: 2px solid var(--color-1);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    background: var(--color-2);
    font-size: 20px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    pointer-events: none;
}


@media (max-width:767px) {
    #topBtn {
        right: 10px;
        bottom: 10px;
        width: 40px;
        height: 40px;
    }
}

#topBtn .material-symbols-outlined {
    font-size: 24px;
    color: var(--color-1);
}

#topBtn.visible {
    opacity: 1;
    pointer-events: auto;
}

#topBtn:hover {
    transform: scale(1.08);
}

#topBtn:active {
    transform: scale(0.95);
}


.budget_item__kaiyu {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 0;
    font-size: 1.5rem;
    background: var(--color-4);
    max-width: 800px;
    width: 90%;
    text-align: center;
    border: 1px solid var(--color-4);
    border-radius: 10px;
    margin: 0 auto var(--spacing-ll);
    color: #fff;
}

.budget-section:last-of-type .budget_item__kaiyu {
    margin-bottom: var(--spacing-s);
}

.budget_item__kaiyu::after {
    content: ">";
    font-size: 1.5rem;
    font-family: sans-serif;
    color: #ffffff;
    margin-left: 15px;
    transition: transform 0.2s ease;
}

.budget_item__kaiyu:hover {
    filter: brightness(0.85);
}

/* =====================
スマホ対応 (768px以下)
===================== */
@media (max-width: 768px) {

    .budget_item__kaiyu {
        padding: var(--spacing-s);
        font-size: 1.1rem;
    }

    .section {
        min-width: 100%;
    }

    .footer {
        min-width: 100%;
    }

}

/* デバッグ用：画面からはみ出している要素の輪郭を赤枠で表示する
* {
    outline: 1px solid red !important;
} */