﻿#tblLayout {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  line-height: 1;
}

img {
  height: auto;
  max-width: 100%;
  width: 100%;
}

.inner {
  padding: 0 1.2rem;
}

/* コンテンツ全体のラッパー */
.page-wrap {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: 140rem;
  margin: 0 auto;
}

/* 全画面固定背景 */
.wrapper-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url("/Contents/ImagesPkg/portal/p-fandom/bg_black.png") center center / cover no-repeat;
  background-position: fixed;
  z-index: -1;
  pointer-events: none;
}


/* 3カラムのコンテナ設定 */
.container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(1.6rem, 4vw, 6rem);
  max-width: 140rem;
  margin: 0 auto;
  padding: 0 2rem;
  align-items: flex-start;
  box-sizing: border-box;
}

/* 左右カラムの共通設定 */
.left-col {
  flex: 1 1 25rem;
  max-width: 45rem;
  min-width: 15rem;
  width: auto;
  margin-top: 10rem;
  box-sizing: border-box;
  position: sticky;
  top: 26rem;
  padding: 0 4rem;
}

.right-col {
  flex: 1 1 25rem;
  max-width: 45rem;
  min-width: 15rem;
  width: auto;
  margin-top: 10rem;
  box-sizing: border-box;
  position: sticky;
  top: 26rem;
}

h2.right-col-ttl {
  font-size: 2rem;
  color: #fff;
  text-align: center;
  font-weight: bold;
  margin-bottom: 3.7rem;
}

.right-col h3 {
  margin-bottom: 3rem;
}

.menu_hd {
  margin-bottom: 2.2rem;
}

.right-col .category-menu {
  max-width: 60%;
  width: 100%;
  margin: 0 auto;
}

.right-col .category-menu a {
  display: block;
  margin-bottom: 1rem;
}

.right-col .category-menu a.is-active {
  opacity: .7;
}

/* 中央カラムの設定 */
.center-col {
  flex: 2 1 30rem;
  max-width: 46rem;
  min-width: 28rem;
  width: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 1);
  padding-bottom: 4rem;
}
/* ボタン・メニューのデザイン装飾 */
.anchor-link {
  max-width: 27.5rem;
  width: 100%;
  margin: 0 auto 1rem;
  display: block;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.anchor-link:hover {
  opacity: .6;
}

/* ▼ アクティブ（該当エリア到達時）の点灯スタイル ▼ */
.category-menu .anchor-link.is-active,
.center-menu .anchor-link.is-active,
.center-menu .center-anchor-link.is-active {
opacity: .6;
}

.center-menu {
  --menu-sticky-top: 5.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fff;
  margin: 1rem 0;
  z-index: 10;
}


.center-menu .anchor-link {
  margin-bottom: 0;
}

.product-card {
  color: #fff;
  position: relative;
}

.product-card+.product-card {
  margin-top: 4rem;
}

.product-card .itemTitle {
  margin-bottom: 1.5rem;
}

.product-card__menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  background: #fff;
  padding: 0 1.2rem;
  margin: 3.5rem 0;
  z-index: 10;
}

.product-card__menu a {
  display: block;
  width: calc(50% - .5rem);
}

.product-card__item .outWrap {
  position: relative;
}

.product-card__item .outWrap .contentBox {
  
  padding-bottom: 4.4rem;
  border-bottom: .7rem solid #D4E8BD
}

.product-card__item .anchor-box {
  top: -1.5rem;
}

.anchor-box {
  position: absolute;
  top: 0;
  z-index: -1;
  pointer-events: none;
}

.product-card__item {
  position: relative;
}

.product-card__item .item-head {
  padding: 1rem 0;
  margin-bottom: 1rem;
}


/* モーダルを開くボタン */
.modal-open {
    cursor: pointer;
}

/* モーダル本体の指定 + モーダル外側の背景の指定 */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 50%);
    padding: 4rem 2rem;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    box-sizing: border-box;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.5);
}

/* モーダル本体の擬似要素の指定 */
.modal-container:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

/* モーダル本体に「active」クラス付与した時のスタイル */
.modal-container.active {
    opacity: 1;
    visibility: visible;
}

/* モーダル枠の指定 */
.modal-body {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    max-width: 36rem;
    width: 90%;
    /* overflow-y: auto; */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain; 
}

/* モーダルを閉じるボタンの指定 */
.modal-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -4rem;
    right: -4rem;
    width: 4rem;
    height: 4rem;
    font-size: 4rem;
    color: #fff;
    cursor: pointer;
}

/* モーダル内のコンテンツの指定 */
.modal-content {
    text-align: left;
}

.modalBox+.modalBox {
    margin-top: 1rem;
}

.modalBox {
    margin-top: 1rem;
    width: 100%;
    background: #fff;
    padding: 2rem;
    border: .4rem solid #707070;
}

p.modalTxt {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #000;
}

.modalBox a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E8BA4E;
  color: #000;
  font-size: 1.4rem;
  padding: 1rem;
  max-width: 20rem;
  width: 100%;
  margin: 1rem auto;
}

p.price {
    /* padding: .5rem; */
    color: #000;
}

.modal_text {
    width: 100%;
}

p.modal-tit {
    background: #fff;
    color: #fff;
    padding: .7rem .5rem;
}

.modal-tit {
    display: none;
}

p.modal_text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.6rem;
}

/* ====== 目玉商品 ====== */
.arecomendation {
    margin-top: 2rem;
}

.arecomendation > li {
    position: relative;
    border-bottom: .3rem solid rgba(209, 160, 53, 0.6);
}

.contentItem {
    background: #fff;
    overflow: hidden;
    padding: 2rem 1rem;
    display: block;
    position: relative;
}

.contentItem .headBox span {
    display: inline-block;
    position: relative;
    z-index: 2;
    line-height: 1.2;
    width: 100%;
    font-size: 1.6rem;
    font-weight: 700;
    color: #774343;
}

.contentItem .imageBox {
    position: relative;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contentItem .infoBox .info_txt {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.14;
    word-break: break-all;
}

.contentItem .infoBox .info_txt small {
    font-size: 1.6rem;
}

.contentItem .infoBox .info_name {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.42;
}

.contentItem .infoBox .info_txt.largeRed {
    color: #FF0000;
    font-size: 5rem;
}

.underline {
    text-decoration: underline;
}

.contentItem .infoBox .info_note {
    font-size: 1.2rem;
}

.contentItem .infoBox dl {
    display: flex;
    align-items: flex-end;
}

.contentItem .infoBox dt {
    width: 2.2em;
    font-size: 1.6rem;
    font-weight: 700;
    white-space: nowrap;
}

.contentItem .infoBox dd {
    width: calc(100% - 2.2em);
}

/*.contentItem .infoBox .priceDl01 {
    color: #FF0000;
}*/

.contentItem .infoBox .priceDl01 dt {
    padding-bottom: .4rem;
}

.contentItem .infoBox .priceDl02 dt {
    font-size: 1.8rem;
    /* padding-bottom: .2rem; */
}

.contentItem .infoBox .priceDl01 dd {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2.5px;
    font-family: "Roboto", sans-serif;
}

.contentItem .infoBox .priceDl01 dd small {
    font-size: 2rem;
}

.contentItem .infoBox .priceDl02 {
    margin-top: .5rem;
}

.contentItem .infoBox .priceDl02 dd {
    font-size: 2.4rem;
    line-height: 1;
    font-weight: 700;
    font-family: "Roboto", sans-serif;
}

.contentItem .infoBox .priceDl02 dd small {
    font-size: 1.8rem;
}

.contentItem .priceBox {
    margin-top: 3rem;
}

.contentItem .priceBox {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.pricePoint {
    padding: .5rem ;
    background: #FB0001;
    color: #fff;
    font-size: 1.6rem;
    text-align: center;
    width: 8rem;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.pricePoint strong {
    display: block;
    font-size: 2rem;
}

.priceCont {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.contentItem .priceBox .priceImage {
    width: 50%;
    margin-top: 2rem;
}


.product-card__item+.product-card__item {
  margin-top: 3rem;
}

.contLinksList {
  position: relative;
}

.outWrap .contLinksList .contentItem {
  padding: 0;
}

.contentBox {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

ul.contentBox li {
  width: 50%;
  position: relative;
}

ul.contentBox li a {
  display: block;
  padding: .5rem;
}

.contentBox > li::before {
  content: "";
  position: absolute;
  left: .5rem;
  bottom: 0;
  z-index: 1;
  width: calc(100% - 1rem);
  height: .1rem;
  background: #707070;
}

.contentBox > li::after {
  content: "";
  position: absolute;
  right: 0;
  top: .5rem;
  z-index: 1;
  width: .1rem;
  height: calc(100% - 1rem);
  background: #707070;
}

.contentBox > li:nth-child(2n)::after,
.contentBox > li:nth-last-child(1)::before,
.contentBox > li:nth-last-child(2)::before {
  content: unset;
}

.yen-symbol {
  font-size: 1.2rem;
  /* 任意のサイズに変更 */
  margin-left: 1.25px;
}

.commonItem.commonItem--ranking {
  background: #fff;
  padding: .5rem;
  /* border: 1px solid #707070; */
}

.commonItem-list__ranking-img {
  /* border-bottom: solid .1rem #000; */
  padding-bottom: .5rem;
}

.commonItem__txt {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.commonItem__txt {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.commonItem__name {
  margin: .8rem 0 1em;
}

.commonItem__price {
  display: flex;
  align-items: center;
  justify-content: left;
  margin-top: 1rem;
}

.commonItem__price dt {
 /* color: red;*/
  font-size: 1.2rem;
  width: 2.8rem;
}

.commonItem__price dd {
  font-size: 3.3rem;
  /*color: red;*/
  font-weight: 600;
  letter-spacing: -2.5px;
  margin-left: -3px;
}

.commonItem__tax-included {
  display: flex;
  margin-top: .3rem;
}

.commonItem__tax-included dt {
  width: 2.8rem;
}

.commonItem__tax-included dd {
  width: calc(100% - 2.8rem);
}

.commonItem__price dd.price-size {
  font-size: 1.6rem;
  letter-spacing: -.1rem;
}

/* カテゴリからさがす */
.product-card__list {
  position: relative;
  padding-bottom: 2.5rem;
}

.product-card__links {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}

.note-p li {
  font-size: 1.2rem;
  text-indent: -1em;
  margin-left: 1em;
  display: block;
  color: #000;
  font-weight: 700;
}


.onlineBtn {
  background: #fff;
  padding: 4.5rem 0;
}

.onlineBtn a {
  display: block;
  max-width: 20%;
  width: 100%;
  margin: 0 auto;
}

.onlineBtn img {
  width: 100%;
  height: auto;
}
.center-menu-slot { margin: 1rem 0; }
  .center-menu      { margin: 0; } 
@media (min-width: 768px) {
  .navBox.sticky {
    position: relative !important;
    top: auto !important;
    z-index: 20;
  }
}

/* --- スマホ用レスポンシブ対応 --- */
@media (max-width: 767px) {
  .container {
    display: block;
    background: #000;
    padding: 0;
  }

  /* 全画面固定背景 */
  .wrapper-bg {
    display: none;
  }

  /* 左右カラムを消す */
  .left-col,
  .right-col {
    display: none;
  }

  /* 中央を全幅にする */
  .center-col {
    max-width: 100%;
    min-width: 0;
    flex-basis: 100%;
  }

  .center-menu {
    position: relative;
    width: 100%;
  }

  .center-menu {
  grid-template-columns: repeat(3, minmax(0, 1fr));  /* 列が画像より小さくなれるように */
  box-sizing: border-box;
  }

  .center-menu .center-anchor-link {
  display: block;
  min-width: 0;
  }

  .center-menu .center-anchor-link img {
  display: block;
  width: 100%;
  height: auto;
  }
  .center-menu.is-fixed {
  position: fixed;
  left: 0;
  right: 0;
  margin: 0;
  width:auto;
  top: var(--menu-sticky-top, 5.5rem);
  z-index: 999;
  transition: transform 0.7s ease-out, opacity 0.7s ease-out;
  padding: 0;
  }

  .center-menu.is-fixed.is-hidden {
  transform: translateY(calc(-100% - var(--menu-sticky-top, 5.5rem)));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.7s ease-in, opacity 0.7s ease-in;
  }


  .center-menu.no-transition {
  transition: none !important;
  }

    .anchor-link:hover {
      opacity: 1;
    }

  .product-card {
    padding: 0;
  }

  .anchor-box {
    top: 0;
  }

  .modal-close {
      top: -1.6rem;
      right: -.4rem;
  }

  .modal-body {
      width: 98%;
      top: 4%;
  }

  .modal-content {
      padding: 2vw 2vw 4vw;
  }

  p.price {
      font-size: 1.4rem;
  }

  .modalBox a {
      padding: .3rem;
  }

  .onlineBtn a {
    max-width: 60%;
    width: 100%;
  }
  
}

    @media (prefers-reduced-motion: reduce) {
      .center-menu.is-fixed { transition: none; }
    }
