@charset "Shift_JIS";
/* CSS Document */
/*==============================================
共通 ここから
================================================*/

/* パンくず削除 */
#pankuzu {
    display: none;
}
.header-info-red {
    display: none !important;
}
a {
    display: block;
}

/* br用クラス */
.smp-none {
    display: none;
}

/* フッター余白削除 */
footer {
    margin-top: 0 !important;
}
footer .bottom {
    margin-top: 0 !important;
}

/* 価格プロ リセット */
.buy_price>ol, .buy_price>ul {
    margin: 0;
}
.buy_price>ol .spesicalprice, .buy_price>ul .spesicalprice,.buy_price>ul .intax {
    display: none;
}

/* 変数指定 */
:root {
    /* 共通フォントサイズ(ディスプレイが390px時に14pxとなる) ※.contentsの中の要素のみ */
    --font-size-text: 3.6cqw;

    /* 使用カラー */
    --color-orange: #db1d4e;

    /* アクティブ時のカラー */
    --color-active: #2589d0;

    /* テキストカラー */
    --color-main: #222;

    /* 横の余白 */
    --margin-space-beside: 1em;

    /* 縦の余白 */
    --margin-space-vertical: 1em;
    /* 幅 */
    --margin-space-vertical: 1em;
}

#sleep-fair .smp_none {
    display: none;
}
/*==============================================
共通 ここまで
================================================*/

/*==============================================
sleep-fair 共通 STR
================================================*/

#sleep-fair {
    font-size: var(--font-size-text);
    background: #012480;
    color: var(--color-main);
}

#sleep-fair * {
    box-sizing: border-box;

    /* 要素全てに同じフォントサイズを指定 */
    font-size: var(--font-size-text);
}
#sleep-fair a {
    display: block;
}
#sleep-fair span {
    font-size: 1em;
    line-height: 1;
}
#sleep-fair img {
    width: 100%;
    height: auto;
    display: block;
}
#sleep-fair svg {
    width: 100%;
}
#sleep-fair .sleep-fair_section {
    width: 100%;
    position: relative;
    overflow: hidden;
   /*  padding: 1em 0; */
}

/* マーカー */
span.marker {
    background: linear-gradient(transparent 60%, #ffe4d2 40%);
    font-weight: bold;
    color: #ff3500;
    line-height: 1;
    font-size: 1em;
}
#sleep-fair .contents {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    /* コンテナクエリを指定 */
    container-type: inline-size;  /* または size */

    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    background-color: #204ba6;
}
#sleep-fair .sleep-fair-block {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-bottom: 1em;
}

/* 共通見出し */
#sleep-fair .sleep-fair_section .section-title {
    margin: 0 auto calc(var(--margin-space-vertical) / 2);
    text-align: center;
    display: flex;
    justify-content: center;
    color: #fff;
    line-height: 1;
    gap: .4em;
    justify-content: space-between;
    padding: 0 .5em;
    align-items: center;
}
#sleep-fair .sleep-fair_section .section-title.center {
    justify-content: center;
}
#sleep-fair .sleep-fair_section .section-title__text {
    position: relative;
    z-index: 100;
    color: #2b2a12;
}
#sleep-fair h1 {
    width: 100%;
    position: relative;
}

/* 商品タイトル */
#sleep-fair h2 {
    position: relative;
    padding-top: .2em;
    font-size: 1.2em;
    color: #ffffff;
}
#sleep-fair .item-title-wrapper {
    text-align: center;
}
#sleep-fair .item-icon {
    display: inline-block;
    padding: .2em 1em;
    background-color: #000e59;
    border-radius: 50em;
    color: #fff;
}

#sleep-fair .sleep-fair-block h3{
    color: #ffffff;
    text-align: center;
    font-size: 1.2em;
}

/*==============================================
sleep-fair-contents 全体枠 STR
================================================*/
#sleep-fair .contents{
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
#sleep-fair .contents-inner{
    padding:0 1em;
}

/*==============================================
sleep-fair-top 看板 STR
================================================*/
#sleep-fair .title_top {
    position: absolute;
    top: 0%;
    right: 0;
    width: 100%;
}
#sleep-fair .sleep-fair_section.top .day-area {
    background: #fff;
    text-align: center;
    font-weight: bold;
    color: #0c308e;
}
#sleep-fair .sleep-fair_section.top .coupon_text{
    font-size: 1.4em;
    font-weight: 800;
    color: #ff0;
    text-align: center;
    margin: .5em 0;
}
/* 誘導矢印 */
#sleep-fair .cp_arrows {
  position: relative;
  display: flex;
  height: 50px;/*画面いっぱいにする場合100vh*/
  justify-content: center;
  align-items: center;
}
#sleep-fair .cp_arrows .cp_arrow {/*矢印を配置するベースの設定*/
  position: absolute;
  top: 50%;/*着地点(cp_arrowsの高さの50%)*/
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 10px;
  opacity: 0;
}
#sleep-fair .cp_arrows .cp_arrow:first-child {
  animation: arrow-move08 2s ease-in-out infinite;
}
#sleep-fair .cp_arrows .cp_arrow:nth-child(2)  {
  animation: arrow-move08 2s 1s ease-in-out infinite;
}
#sleep-fair .cp_arrows .cp_arrow:before,
#sleep-fair .cp_arrows .cp_arrow:after { /*矢印全体の設定*/
  position: absolute;
  content: '';
  top: 0;
  width: 19px;
  height: 3px;
  background: #fff;
}
#sleep-fair .cp_arrows .cp_arrow:before { /*矢印左の線の位置と傾斜*/
  left: 3px;
  transform: rotate(30deg);
}
#sleep-fair .cp_arrows .cp_arrow:after { /*矢印左の線の位置と傾斜*/
  right: 3px;
  transform: rotate(-30deg);
}
@keyframes arrow-move08 {
    0% { opacity: 0; top: 20%; /*スタート地点(cp_arrowsの高さの40%)*/}
   70% { opacity: 1;}
  100% { opacity: 0;}
}

/*==============================================
sleep-fair タイトル STR
================================================*/
#sleep-fair .sleep-fair_section.banner{
    background-color: #ffffff;
}

/*==============================================
sleep-fair 商品 STR
================================================*/

/* 商品共通CSS */
#sleep-fair .sleep-fair_section .sleep-fair-item-wrap {
    margin: 1em 1em 3em;
}
#sleep-fair .sleep-fair_section .sleep-fair-item-inner {
    display: flex;
    margin: 0 auto;
    gap: 10px;
    overflow-x: scroll;
    padding-bottom: 1em;
}

#sleep-fair .sleep-fair_section .sleep-fair-item {
    background-color: #FFF;
    border-radius: 10px;
}

/* 商品：キャッチコピー */
#sleep-fair .sleep-fair_section .sleep-fair-item__copy {
    font-size: .9em;
    padding: .9em 0 .8em .8em;
    white-space: nowrap;
}
#sleep-fair .sleep-fair_section .sleep-fair-item__copy span {
    font-size: 1.2em;
    padding-right: .1em;
}
/* 商品：サムネ */
#sleep-fair .sleep-fair_section .sleep-fair-item__thum {
    width: 100%;
    overflow: hidden;
}
#sleep-fair .sleep-fair_section .sleep-fair-item__thum img{
    width: 200px;
    border-radius: 10px 10px 0 0;
}

/* 商品：サムネより下のインナー */
#sleep-fair .sleep-fair_section .sleep-fair-item__inner {
    padding: .5em;
    display: flex;
    flex-direction: column;
    gap: .2em;
}

/* 商品：在庫数 */
#sleep-fair .sleep-fair_section .sleep-fair-item__zaiko {
    line-height: 1;
    font-size: 1em;
    padding-bottom: .1em;
}
#sleep-fair .sleep-fair_section .sleep-fair-item__zaiko .num {
    font-size: 1.3em;
    font-weight: 600;
    padding: 1em 0;
}

/* 商品：商品名 */
#sleep-fair .sleep-fair_section .sleep-fair-item__name {
    color: #222;
    height: 3.7em;
    display: flex;
    padding: .3em .5em;
    background-color: #fbf8f8;
}
#sleep-fair .sleep-fair_section .sleep-fair-item__name__h4 {
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

/* 商品：価格 */
#sleep-fair .sleep-fair_section .sleep-fair-item__price {
    font-size: 1.5em;
    display: flex;
    align-items: baseline;
    gap: .3em;
    margin-bottom: 0;
}
#sleep-fair .sleep-fair_section .sleep-fair-item__price .main-price,
#sleep-fair .sleep-fair_section .sleep-fair-item__price .sub-price {
    position: relative;
    line-height: 1;
    font-family: 'Lato', 'Noto Sans JP', 'Yu Gothic black', sans-serif, 'メイリオ';
    font-weight: 700;
}
#sleep-fair .sleep-fair_section .sleep-fair-item__price .main-price {
    font-size: 1.1em;
    color: #eb0012;
}
#sleep-fair .sleep-fair_section .sleep-fair-item__price .main-price::first-letter,
#sleep-fair .sleep-fair_section .sleep-fair-item__price .sub-price::first-letter {
    font-size: .8em;
}
#sleep-fair .sleep-fair_section .sleep-fair-item__price .sub-price {
    font-size: .7em;
    color: #a1a1a1;
}
#sleep-fair .sleep-fair_section .sleep-fair-item__price .sub-price::after {
    content: '';
    width: 100%;
    height: 1px;
    background-color: #a1a1a1;
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
}
/* 販促アイコン */
#sleep-fair .sleep-fair_section .sleep-fair-item__zaiko {
    display: flex;
    gap: .3em;
}
#sleep-fair .sleep-fair_section .sleep-fair-item__promo .promo-icon {
    /* background-color: #db1d4e; */
    color: #db1d4e;
    line-height: 1.3em;
    padding: 0 .3em;
    display: inline-block;
    align-items: center;
    /* height: 3.2em; */
    font-size: .8em;
    text-align: center;
    border: 2px solid #db1d4e;

    /* 販促が空の場合でも高さが合うように */
    /* height: 3.2em;
    text-align: center; */
}

#sleep-fair .sleep-fair_section .sleep-fair-item__zaiko .outlet-icon {
    color: #d96702;
}

/* 詳細はこちら */
#sleep-fair .sleep-fair_section .sleep-fair-item__link {
    color: var(--color-active);
    font-size: .9em;
    display: flex;
    align-items: center;
    line-height: 1;
    transition: .3s;
    line-height: 1;
}

#sleep-fair .sleep-fair_section.item .btn-wrapper {
    text-align: center;
    height: 5em;
}
#sleep-fair .sleep-fair_section.item .btn,
#sleep-fair .sleep-fair_section.item a.btn,
#sleep-fair .sleep-fair_section.item button.btn {
    font-size: 1em;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #fff;
    border-radius: 0.5rem;
}
#sleep-fair .sleep-fair_section.item a.btn-border-shadow--radius {
    border-radius: 100vh;
}
#sleep-fair .sleep-fair_section.item a.btn-border-shadow {
    padding: calc(1.5rem - 12px) 2rem 1.5rem;
    background: #00105b;
}
#sleep-fair .sleep-fair_section.item a.btn-border-shadow:before {
    position: absolute;
    top: -11px;
    left: -11px;
    width: 100%;
    height: 100%;
    content: "";
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    border-radius: 0.5rem;
}
#sleep-fair .sleep-fair_section.item a.btn-border-shadow--radius:before {
    border-radius: 100vh;
}
#sleep-fair .sleep-fair_section.item a.btn-border-shadow:hover {
    padding: calc(1.5rem - 6px) 2rem;
    color: #fff!important;

}
#sleep-fair .sleep-fair_section.item a.btn-border-shadow:hover:before {
    top: 0;
    left: 0;
}

/*==============================================
#sleep-fair 特集 STR
================================================*/
#sleep-fair .sleep-fair_section.event{
    background: var(--color-black)
}

/* 特集共通CSS */
#sleep-fair .sleep-fair_section .sleep-fair-event-wrap {
    margin: 1em;
}

#sleep-fair .sleep-fair_section .sleep-fair-event-inner {
    display: flex;
    margin: 0 auto;
    gap: 10px;
    overflow-x: scroll;
    padding-bottom: .9em;
}

#sleep-fair .sleep-fair_section .sleep-fair-event {
    border: 3px solid #fff;
}

/* 商品：サムネ */
#sleep-fair .sleep-fair_section .sleep-fair-event__thum {
    width: 100%;
    overflow: hidden;
}
#sleep-fair .sleep-fair_section .sleep-fair__thum img {
    width: 200px;
}

/*==============================================
sleep-fair-coupon クーポン STR
================================================*/
#sleep-fair .sleep-fair_section.coupon .sleep-fair-coupon-inner{
    margin: 1em;
}
#sleep-fair .sleep-fair_section.coupon .sleep-fair-coupon-inner a{
    margin-bottom: .5em;
}
#sleep-fair .sleep-fair_section.coupon h2 {
    color: #ff0;
    margin-top: 1em;
}

/*==============================================
sleep-fair-list カテゴリ STR
================================================*/
#sleep-fair .sleep-fair_section.list {
    background-color: #f7f7f7;
    padding: var(--margin-space-vertical) 0;
}

#sleep-fair .sleep-fair_section .list-category {
    display: flex;
    gap: 2%;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 var(--margin-space-beside);
    margin: 0 auto;
}
#sleep-fair .sleep-fair_section .list-category__item {
    position: relative;
    width: 49%;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0 .2em;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    margin-top: .8em;
    background-color: #FFF;
    font-size: 1em;
    height: 5em;
    gap: .3em;
}
#sleep-fair .sleep-fair_section .list-category__item.other {
    padding-left: 4.5em;
}

#sleep-fair .sleep-fair_section .list-category__item:nth-of-type(1),
#sleep-fair .sleep-fair_section .list-category__item:nth-of-type(2) {
    margin-top: 0;
}
#sleep-fair .sleep-fair_section .list-category__item .img {
    width: 3.8em;
}
#sleep-fair .sleep-fair_section .list-category__item .new-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 3em;
}

/*==============================================
sleep-fair-list カテゴリ END
================================================*/

/*==============================================
sleep-fair-list 右下アンカー STR
================================================*/
#sleep-fair .fixed-anchor .update{
    position: absolute;
    top: -35px;
    left: -5%;
    z-index: 1;
    width: 85px;
}

#sleep-fair .fixed-anchor{
    position: fixed;
    right: 0.7em;
    width: 6em;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 49;
    bottom: 9.6em;
}
/*------------------------------------------*/
/*カテゴリ矢印*/
/*-----------------------------------------------*/
#category-list .col_4 a::after{
    position: absolute;
    display: inline-block;
    vertical-align: middle;
    content: "";
    width: .5em;
    height: .5em;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    top: 0;
    bottom: 0;
    right: 8%;
    margin: auto;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transition: all .3s ease 0s;
}
#category_anchor .col_4 .text{
    font-size: 2.6vw;
}

/*-----------------------------------------------*/
/*ライトナビ*/
/*-----------------------------------------------*/
#sleep-fair .nav_wrap {
    position:fixed;
    z-index: 50;
	bottom: 0;
	right:-200%;
    width: 53%;
    height: 100vh;
    transition: 0.5s all;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background:rgb(176 29 16 / 97%);
}
#sleep-fair .nav_wrap .zaburou {
    position: absolute;
    width: 8em;
    transform: translate(4.8em, -12em);
}
#sleep-fair .nav_wrap::-webkit-scrollbar{display:none;}

#sleep-fair .nav_wrap.panelactive {
	right: 0;
}
#sleep-fair .nav_wrap.panelactive .nav_inner {
    position: fixed;
    z-index: 999;
    width: 53%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
	display: flex;
	justify-content: center;
	align-items: center;
    margin-top: 2em;
}
/*内容*/
#sleep-fair .nav_wrap ul {
    position: absolute;
    z-index: 999;
    width:94%;
}

/**********▼ PC・SMP共通 数値変更のみ▼**********/
#sleep-fair .nav_wrap ul li a {
    position: relative;
    display: flex;
    align-items: center;
    padding:1em;
    color: #fadfac;
    border-bottom: 1px dashed #fadfac;
    line-height: 1.3em;
    text-align: left;
    justify-content: flex-start;
    transition: all 0.3s;
}
/**********▲ PC・SMP共通 数値変更のみ▲**********/
/*丸ボタン*/
#sleep-fair .cate_nav_fixed {
    position: fixed;
    bottom: 17vw;
    right: 5vw;
    display: flex;
    border-radius: 90px;
    height: 16vw;
    width: 16vw;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #222222c7;
}
#sleep-fair .navigation{
    width: 100%;
    height: 100%;
}
#sleep-fair .toggle {
	position: relative;
	z-index: 9999;
	top: 0;
	right: 0;
    width: 100%;
    height: 100%;
	cursor: pointer;
	display: block;
}
#sleep-fair .toggle span,
#sleep-fair .toggle span:before,
#sleep-fair .toggle span:after {
    content: '';
    display: block;
    height: 0.3vw;
    width: 7vw;
    border-radius: 3px;
    background-color: #fff;
    position: absolute;
    transition: 0.5s all;
}
#sleep-fair .toggle span{
    top: 2.3em;
    left: calc(50% - 20%);
}
#sleep-fair .toggle span:before {bottom: 7px;}
#sleep-fair .toggle span::after {top: 7px;}
#sleep-fair .toggle.active span {background-color: rgba(255, 255, 255, 0);}
#sleep-fair .toggle.active span:before{
    bottom: 0;
    transform: rotate(45deg);
}
#sleep-fair .toggle.active span:after{
    top: 0;
    transform: rotate(-45deg);
}
#sleep-fair .navigation span.txt{
    font-size:2.9vw;
    color:#fff;
    top: 3.1vw;
    position: absolute;
    left: 0;
    right: 0;
}