@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

  /*類似商品を探すホバーボタン*/

.fs-c-productActionButton button.fs-c-button--addToCart--detail span.fs-c-button__label::before {
    content: "";
    background-image: url(//malto.itembox.design/item/lupe.png);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}



element.style {
}
.fs-c-productActionButton button.fs-c-button--addToCart--detail span.fs-c-button__label {
    position: relative;
    padding-left: 36px;
}


.fs-c-productActionButton button.fs-c-button--addToCart--detail {
    background: #F8931F;
    border-radius: 8px;
    border: none;
    margin: 0;
    width: 100%;
    height: 60px;
color: #ffffff;
font-size: 18px;
}

element.style {
    display: block;
}
.fs-c-productActionButton.floating-add-to-cart {
    position: fixed;
    bottom: 50px;
    margin-top: 0;
    width: calc(100% - 16px);
    display: none;
    z-index: 1; 
display: block;
right: 8px;
}

@media(max-width:1022px){
    .pc{
        display: none !important;
    }
}
@media(min-width:1023px){
    .sp{
        display: none !important;
    }
}


/* カテゴリー */
.top-cat-list2 {
  display: flex;
  flex-wrap: wrap;
}
.top-cat-list2 li {
  width: calc(100% / 2);
  line-height: 1.2;
}
.top-cat-list2 li a {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.top-cat-list2 li a img {
  flex-shrink: 0;
  width: 80px;
  margin-right: 5px;
}
.top-cat-list2 li a span {
  font-size: 10px;
  line-height: 1.2;
}

.top-cat-antieques {
    padding: 0 8px;
}

.top-cat-antieques .t-section__title span {
  margin-bottom: 5px;
}
.top-cat-antieques .top-cat-list2 {
  margin-bottom: 0px;
  padding-left: 0px;
}
.top-cat-antieques .top-cat-list2 li {
  width: calc(100% / 5);
  padding: 0 1.7%;
  margin-bottom: 16px;
  box-sizing: border-box;
  line-height: 1.2;
  list-style-type: none;
  padding-left: 0;
}
.top-cat-antieques .top-cat-list2 li a {
  display: block;
  text-align: center;
}
.top-cat-antieques .top-cat-list2 li a img {
  display: block;
  max-width: 68px;
  width: auto;
  margin: 0 auto 7px;
}
.top-cat-antieques .top-cat-list2 li a span {
  font-size: 9px;
  line-height: 1.2;
}


/* カテゴリー2 */
.top-cat-list3 {
  display: flex;
  flex-wrap: wrap;

}
.top-cat-list3 li {
  width: calc(100% / 2);
  line-height: 1.2;
}
.top-cat-list3 li a {
  display: flex;
  align-items: center;
  text-decoration: none;

}
.top-cat-list3 li a img {
  flex-shrink: 0;
  width: 80px;
  margin-right: 5px;
}
.top-cat-list3 li a span {
  font-size: 10px;
  line-height: 1.2;
}
.top-cat-antieques .t-section__title span {
  margin-bottom: 5px;
}
.top-cat-antieques .top-cat-list3 {
  margin-bottom: 0px;
  padding-left: 0px;
}
.top-cat-antieques .top-cat-list3 li {
  width: calc(100% / 3);
  padding: 0 1.7%;
  margin-bottom: 16px;
  box-sizing: border-box;
  line-height: 1.2;
  list-style-type: none;
  padding-left: 0;
}
.top-cat-antieques .top-cat-list3 li a {
  display: block;
  text-align: center;
}
.top-cat-antieques .top-cat-list3 li a img {
  display: block;
  max-width: 68px;
  width: auto;
  margin: 0 auto 7px;
}
.top-cat-antieques .top-cat-list3 li a span {
  font-size: 9px;
  line-height: 1.2;
}

.t-section2 {
    margin-bottom: 0px;
    padding: 0px;
    line-height: 1.5;
    display: block;
}

.border5 {
  padding: 15px 20px;
  background: #e0edff;
  border-radius: 15px;
  font-size: 20px;
  font-weight: bold;
  line-height: 130%;
}

p.bolder{
  font-weight:bolder;
}


.btn-list {
    text-align: center;
}

.btn-list a {
    position: relative;
    display: inline-block;
    padding: 4px 15px;
    font-size: 15px;
    border: 1px solid #707070;
    background: #fff;
    line-height: 1.2;
}

.t-section__title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
    padding: 0 12px 3px;
    background: linear-gradient(transparent 67%, #E8E8E8 0%);
}

.list .card-thumb img {
	box-shadow: none;
}


.wp-block-cocoon-blocks-column-right {
  padding: 0 10px;
}
.wp-block-cocoon-blocks-column-left{
  padding: 0 10px;
}
.wp-block-cocoon-blocks-column-center{
  padding: 0 10px;
}

.column-wrap > div > *:first-child {
    margin-bottom: 8px;
}
.article .column-wrap h4 {
    margin-bottom: 5px;
}

.article .column-wrap h2 {
    margin-bottom: 5px;
}
.article .column-wrap h2 {
  margin-top: 0;
}
.article h2 {
    border-top: 1px solid #cddee0;
    border-bottom: 1px solid #cddee0;
}
.article h2 {
    font-size: 18px;
  	background: #ffffff;
}





/* =============
   MALTO New Antiques marquee (SP)
   CSS full overwrite
============= */

.mna{
  margin: 40px 0 24px;
}

/* head */
.mna__head{
  margin: 0 10px 12px;
}

.mna__headline{
  margin: 0;
  font-size: 22px;
  line-height: 0;
  font-weight: 700;
  letter-spacing: .02em;
}

.mna__headline::after{
  content: "";
  display: block;
  height: 7px;
  background: #d9d9d9;
  margin-top: 7px;
}

.mna__lead{
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1;
}

/* frame */
.mna__frame{
  --mna-side: 16px;
  --mna-gap: 12px;
  position: relative;
}

.mna__viewport{
  padding: 0 var(--mna-side);
  overflow: hidden;
  touch-action: pan-y;
}

.mna__track{
  display: flex;
  gap: var(--mna-gap);
  list-style: none;
  padding: 0;
  margin: 0;
  will-change: transform;
  transform: translate3d(0,0,0);
}

.mna__item{
  --mna-item-w: calc((100vw - (var(--mna-side) * 2) - (var(--mna-gap) * 2)) / 3);
  flex: 0 0 var(--mna-item-w);
  min-width: 0;
}

.mna__link{
  display: block;
  color: inherit;
  text-decoration: none;
}

/* square image (no crop) */
.mna__thumb{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2f2f2;
}

.mna__img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* name: 3 lines + ellipsis */
.mna__name{
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.35;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;

  min-height: calc(1.35em * 3);
}

/* price: 1 line */
.mna__price{
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

/* CTA */
.mna__cta{
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.mna__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid #333;
  text-decoration: none;
  color: #111;
  font-size: 13px;
  letter-spacing: .08em;
}

/* arrows */
.mna__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 6px rgba(0,0,0,.15);
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 0;
}

.mna__arrow--prev{ left: 6px; }
.mna__arrow--next{ right: 6px; }

.mna__arrow::before{
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(135deg);
}

.mna__arrow--next::before{
  transform: rotate(-45deg);
}

.mna__frame.is-dragging .mna__arrow{
  opacity: .6;
}

@media (prefers-reduced-motion: reduce){
  .mna__arrow{ display: none; }
}
