/* ==============================
  Cushion Table Cart Page
  元サイトのカート色味・3/2/1列レイアウト
============================== */

.pop-page-wrap{
  background: var(--base-offwhite);
}

.pop-page{
  --white:#fff;
  --card:#f1f1f1;
  --text:#202020;
  --sub:#555;
  --teal:#08beb8;
  --red:#e93535;
  --line:#dcdcdc;
  --gray:#d7d7d7;

  position:relative;
  overflow:hidden;
  color:var(--text);
  font-family:"Zen Kaku Gothic New","Noto Sans JP","Yu Gothic",sans-serif;
  padding:60px 20px 0;
}

.pop-page *,
.pop-page *::before,
.pop-page *::after{
  box-sizing:border-box;
}

.pop-page img{
  display:block;
  max-width:100%;
}

.pop-page a{
  color:inherit;
  text-decoration:none;
}

/* HERO */
.pop-hero,
.cart-layout,
.pop-cta{
  position:relative;
  z-index:2;
  width:min(1180px,100%);
  margin-inline:auto;
}

.pop-hero{
  padding:56px 0 44px;
  text-align:center;
}

.pop-hero-en{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  margin:0 0 16px;
  color:var(--teal);
  font-size:18px;
  line-height:1;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.pop-hero-en span{
  display:block;
  width:86px;
  height:3px;
  background:var(--teal);
  border-radius:999px;
}

.pop-hero h1{
  margin:0 0 18px;
  color:#111;
  font-size:clamp(36px,3.5vw,58px);
  line-height:1.25;
  font-weight:900;
  letter-spacing:.06em;
}

.pop-hero-text > p:last-child{
  max-width:820px;
  margin:0 auto;
  color:#444;
  font-size:15px;
  line-height:2;
  font-weight:800;
}

/* CATEGORY */
.cart-layout{
  padding-bottom:90px;
}

.cart-category{
  margin-bottom:58px;
}

.cart-heading{
  margin:0 0 34px;
  text-align:center;
}

.cart-heading p{
  margin:0 0 10px;
  color:var(--teal);
  font-size:18px;
  line-height:1;
  font-weight:900;
  letter-spacing:.06em;
}

.cart-heading h2{
  margin:0;
  color:#202020;
  font-size:clamp(30px,4vw,48px);
  line-height:1.35;
  font-weight:900;
  letter-spacing:.04em;
}

/* PC 3 columns / iPad 2 columns / SP 1 column */
.cart-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:34px;
}

/* CARD */
.cart-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  background:var(--card);
  border-radius:20px;
  padding:16px;
  overflow:hidden;
}

.cart-card-head{
  display:grid;
  grid-template-columns:58px 1fr;
  gap:14px;
  align-items:start;
  min-height:78px;
  margin-bottom:14px;
}

.cart-card-head span{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  background:#fff;
  color:#111;
  font-size:20px;
  line-height:1;
  font-weight:900;
}

.cart-card-head h3{
  margin:0;
  color:#111;
  font-size:17px;
  line-height:1.45;
  font-weight:900;
  letter-spacing:.02em;
}

.cart-img{
  display:grid;
  place-items:center;
  width:100%;
  aspect-ratio:1.33/1;
  margin-bottom:16px;
  background:#fff;
  overflow:hidden;
}

.cart-img img{
  width:90%;
  height:100%;
  object-fit:contain;
  object-position:center;
}

.cart-info{
  margin-top:auto;
}

.cart-material{
  margin:0 0 12px;
  color:#222;
  font-size:13px;
  line-height:1.65;
  font-weight:800;
}

.cart-spec{
  margin:0 0 12px;
  padding:12px 10px;
  background:var(--gray);
  border-radius:6px;
  color:#111;
  text-align:center;
  font-size:13px;
  line-height:1.55;
  font-weight:900;
}

.cart-price{
  margin:0 0 10px;
  padding:12px 10px;
  background:#fff;
  border:1px solid var(--line);
  color:#111;
  text-align:center;
  font-size:15px;
  line-height:1.5;
  font-weight:900;
}

.cart-note{
  margin:0 0 12px;
  color:var(--red);
  text-align:center;
  font-size:13px;
  line-height:1.7;
  font-weight:900;
}

/* CART FORM */
.cart-form{
  display:grid;
  grid-template-columns:56px 1fr;
  gap:8px;
  align-items:center;
  margin-top:12px;
}

.cart-form input{
  width:100%;
  height:34px;
  border:1px solid #ddd;
  background:#fff;
  color:#222;
  text-align:center;
  font-size:13px;
  font-weight:800;
}

.cart-form button{
  width:100%;
  min-height:36px;
  border:0;
  background:#009ad6;
  color:#fff;
  font-size:13px;
  line-height:1;
  font-weight:900;
  cursor:pointer;
  transition:.2s;
}

.cart-form button::before{
  content:"🛒";
  margin-right:6px;
}

.cart-form button:hover{
  filter:brightness(.95);
  transform:translateY(1px);
}

/* CTA */
.pop-cta{
  margin-bottom:70px;
  padding:40px 24px;
  background:var(--teal);
  color:#fff;
  text-align:center;
  border-radius:28px;
  box-shadow:0 18px 45px rgba(1,200,189,.22);
}

.pop-cta h2{
  margin:0 0 12px;
  font-size:clamp(24px,4vw,36px);
  font-weight:900;
}

.pop-cta p{
  margin:0 0 24px;
  font-size:14px;
  line-height:1.9;
  font-weight:800;
}

.pop-cta a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:230px;
  min-height:48px;
  padding:12px 28px;
  background:#fff;
  color:#08aaa4;
  border-radius:999px;
  font-size:14px;
  font-weight:900;
}

/* iPad: 2 columns */
@media(max-width:1024px){
  .cart-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px;
  }
}

/* Mobile: 1 column */
@media(max-width:640px){
  .pop-page{
    padding:34px 12px 0;
  }

  .pop-hero{
    padding:44px 0 34px;
  }

  .pop-hero-en{
    gap:12px;
    font-size:15px;
  }

  .pop-hero-en span{
    width:42px;
    height:3px;
  }

  .pop-hero h1{
    font-size:30px;
  }

  .pop-hero-text > p:last-child{
    text-align:left;
    font-size:13px;
  }

  .cart-heading{
    margin-bottom:24px;
  }

  .cart-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .cart-card{
    padding:14px;
    border-radius:18px;
  }

  .cart-card-head{
    grid-template-columns:50px 1fr;
    min-height:auto;
  }

  .cart-card-head span{
    width:50px;
    height:50px;
    font-size:17px;
  }

  .cart-card-head h3{
    font-size:16px;
  }

  .pop-cta{
    border-radius:22px;
    padding:32px 18px;
  }
}

/* ===============================
  SVG decoration
  urethanemat と同じレイアウト・下からポワン
  ※カードやカートのレイアウトは変更しない
=============================== */

.pop-page-wrap{
  position:relative;
  overflow:hidden;
}

.pop-page{
  position:relative;
  overflow:visible;
  isolation:isolate;
}

.pop-hero,
.cart-layout,
.pop-cta{
  position:relative;
  z-index:2;
}

.pop-page-wrap .ps_object1,
.pop-page-wrap .ps_object2,
.pop-page-wrap .ps_object3,
.pop-page-wrap .ps_object4{
  position:absolute;
  height:auto;
  max-width:none;
  object-fit:contain;
  pointer-events:none;
  z-index:-1;
  opacity:0;
  animation:matSvgPoyonUp 2s cubic-bezier(.19,1,.22,1) forwards;
  will-change:transform, opacity;
}

/* ---------- PC：urethanemat基準 ---------- */
.pop-page-wrap .ps_object1{
  width:20%;
  top:0;
  left:0;
  animation-delay:.2s;
}

.pop-page-wrap .ps_object2{
  width:10vw;
  top:10%;
  right:0;
  animation-delay:.45s;
}

.pop-page-wrap .ps_object3{
  width:20vw;
  top:0;
  right:0;
  animation-delay:.7s;
}

.pop-page-wrap .ps_object4{
  width:20vw;
  right:0;
  bottom:0;
  animation-delay:.95s;
}

@keyframes matSvgPoyonUp{
  0%{
    opacity:0;
    transform:translateY(90px) scale(.82);
  }

  60%{
    opacity:1;
    transform:translateY(-12px) scale(1.04);
  }

  80%{
    transform:translateY(5px) scale(.98);
  }

  100%{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

/* ---------- Tablet ---------- */
@media(max-width:1024px){
  .pop-page-wrap .ps_object1{
  width:50vw;
  top:0;
  left:0;
  animation-delay:.2s;
}

.pop-page-wrap .ps_object2{
  width:10vw;
  top:10%;
  right:0;
  animation-delay:.45s;
}

.pop-page-wrap .ps_object3{
  width:20vw;
  top:0;
  right:0;
  animation-delay:.7s;
}

.pop-page-wrap .ps_object4{
  width:20vw;
  right:0;
  bottom:0;
  animation-delay:.95s;
}
}

/* ---------- Mobile ---------- */
@media(max-width:767px){
  .pop-page-wrap .ps_object1{
  width:50vw;
  top:0;
  left:0;
  animation-delay:.2s;
}

.pop-page-wrap .ps_object2{
  width:10vw;
  top:10%;
  right:0;
  animation-delay:.45s;
}

.pop-page-wrap .ps_object3{
  width:20vw;
  top:0;
  right:0;
  animation-delay:.7s;
}

.pop-page-wrap .ps_object4{
  width:20vw;
  right:0;
  bottom:0;
  animation-delay:.95s;
}
}
/* ==========================
   Order Button
========================== */

.cart-order-btn{
    width:100%;
    max-width:250px;   /* ←350→250に */
    height:56px;       /* ←84→56 */

    display:flex;
    align-items:center;
    justify-content:space-between;

    background:#fff;
    border:3px solid #2c2c2c;
    border-radius:999px;

    color:#2c2c2c;
    text-decoration:none;
    overflow:hidden;

    transition:.3s;
}

.cart-order-text{
    flex:1;
    text-align:center;
    font-size:18px;    /* ←34→18 */
    font-weight:900;
    letter-spacing:.08em;
}

.cart-order-icon{
    width:52px;        /* ←78→52 */
    height:100%;
    border-left:3px solid #2c2c2c;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:.3s;
}

.cart-order-icon svg{
    width:20px;
    height:20px;
}

/* Hover */

.cart-order-btn:hover{
    background:#2c2c2c;
    color:#fff;
}

.cart-order-btn:hover .cart-order-icon{
    border-left-color:#fff;
}

/* スマホ */

@media(max-width:767px){

    .cart-order-btn{
        max-width:210px;
        height:50px;
    }

    .cart-order-text{
        font-size:16px;
    }

    .cart-order-icon{
        width:46px;
    }

    .cart-order-icon svg{
        width:18px;
        height:18px;
    }

}
.cart-order-btn{
    display:flex;
    align-items:center;
    justify-content:space-between;

    width:100%;
    max-width:250px;
    height:56px;

    margin:18px auto 0;   /* ← 真ん中にする */

    background:#fff;
    border:3px solid #2c2c2c;
    border-radius:999px;

    color:#2c2c2c;
    text-decoration:none;
    overflow:hidden;

    transition:.3s;
}
.breadcrumb_link_text a{
 color:var(--base-gray);
}
/* ==========================
   ALL ITEM 見出し
========================== */

.vaultingbox-products-inner{
    text-align:center;
    margin-bottom: 100px;
}

.vaultingbox-products-en{
    margin:0 0 12px;
    color:var(--main);
    font-size:2rem;
    line-height:1;
    font-weight:900;
    letter-spacing:.08em;
    color: #08beb8;
    display:flex;
    justify-content:center;
    align-items:center;
}

.vaultingbox-products-title{
    margin:0 0 60px;
    color:#222;
    font-size:clamp(30px,4vw,48px);
    line-height:1.42;
    font-weight:900;
    letter-spacing:.04em;
}

/* =========================================================
   TABLE FIRST VIEW ONLY
   PC：左に文字、右に画像
   ※ファーストビュー以外には影響しません
========================================================= */

.pop-page .table-fv{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:58px;
  align-items:center;
  width:min(1180px,100%);
  margin-inline:auto;
  padding:56px 0 44px;
  text-align:left;
}

.pop-page .table-fv-text{
  min-width:0;
}

.pop-page .table-fv .pop-hero-en{
  justify-content:flex-start;
}

.pop-page .table-fv .pop-hero-text > p:last-child{
  max-width:none;
  margin:0;
}

.pop-page .table-fv-image{
  overflow:hidden;
  aspect-ratio:4 / 3;
  margin:0;
  padding:20px;
  background:#fff;
  border-radius:30px;
  box-shadow:0 18px 38px rgba(70,50,20,.12);
}

.pop-page .table-fv-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:#fff;
  border-radius:22px;
}

@media(max-width:1024px){
  .pop-page .table-fv{
    grid-template-columns:1fr;
    gap:36px;
    text-align:center;
  }

  .pop-page .table-fv .pop-hero-en{
    justify-content:center;
  }

  .pop-page .table-fv .pop-hero-text > p:last-child{
    max-width:820px;
    margin:0 auto;
  }

  .pop-page .table-fv-image{
    width:min(620px,100%);
    margin:0 auto;
  }
}

@media(max-width:640px){
  .pop-page .table-fv{
    gap:28px;
    padding:44px 0 34px;
  }

  .pop-page .table-fv .pop-hero-text > p:last-child{
    text-align:left;
  }

  .pop-page .table-fv-image{
    width:100%;
    padding:12px;
    border-radius:22px;
  }

  .pop-page .table-fv-image img{
    border-radius:16px;
  }
}
